.policy,
.success {
  padding-block: 130px 60px;
  min-height: 92vh;
}

.success__text {
  margin-bottom: 30px;
}

.policy__title,
.success__title {
  font-weight: 700;
  font-size: 40px;
  line-height: 100%;
  letter-spacing: 0%;
  vertical-align: middle;

  margin-bottom: 30px;
}

.policy__text {
  font-weight: 400;
  font-size: 18px;
  line-height: 130%;
  letter-spacing: 0%;
}

.policy__text h2,
.policy__text p,
.policy__text ul {
  margin-block: 14px;
}

.policy__text ul {
  padding-left: 20px;
}

.policy__link {
  color: #fff;
}

h1,
h2,
h3,
h4 {
  word-break: break-word;
}

html {
  scroll-behavior: smooth;
}

.container {
  margin: 0 auto;
  max-width: 1200px;
  padding-inline: 20px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

@import url("https://fonts.googleapis.com/css2?family=Raleway:wght@300;400;500;600;700&display=swap");

/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Raleway", sans-serif;
  line-height: 1.6;
  color: #333;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Cookie Popup */
.cookie-popup {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 10000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.cookie-popup.show {
  opacity: 1;
  visibility: visible;
}

.cookie-content {
  background: white;
  padding: 40px;
  border-radius: 20px;
  max-width: 600px;
  margin: 20px;
  text-align: center;
}

.cookie-content h2 {
  font-size: 2rem;
  margin-bottom: 20px;
  color: #333;
}

.cookie-content p {
  margin-bottom: 30px;
  color: #666;
  line-height: 1.6;
}

.cookie-content a {
  color: #1db584;
  text-decoration: none;
}

.cookie-buttons {
  display: flex;
  gap: 15px;
  justify-content: center;
}

.btn-cookie {
  padding: 15px 30px;
  border: none;
  border-radius: 10px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: "Raleway", sans-serif;
}

.btn-cookie.accept {
  background: #1db584;
  color: white;
}

.btn-cookie.decline {
  background: #1db584;
  color: white;
}

.btn-cookie:hover {
  transform: translateY(-2px);
}

/* Header */
.header {
  background: #1db584;
  padding: 15px 0;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.nav-brand a {
  color: white;
  font-size: 1.8rem;
  font-weight: 700;
  text-decoration: none;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 30px;
}

.nav-menu a {
  color: white;
  text-decoration: none;
  font-weight: 500;
  transition: opacity 0.3s ease;
}

.nav-menu a:hover {
  opacity: 0.8;
}

.burger-menu {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 4px;
}

.burger-menu span {
  width: 25px;
  height: 3px;
  background: white;
  transition: all 0.3s ease;
}

/* Hero Section */
.hero {
  background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)),
    url("../img/bg-1.png");
  background-size: cover;
  background-position: center;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
  padding: 120px 20px 80px;
}

.hero-content {
  max-width: 800px;
}

.hero h1 {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 30px;
  line-height: 1.2;
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 40px;
  line-height: 1.6;
}

.btn-primary {
  display: inline-block;
  background: white;
  color: #1db584;
  padding: 18px 40px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1rem;
  transition: all 0.3s ease;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

/* About Section */
.about {
  padding: 100px 0;
  background: #f8f9fa;
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-image img {
  width: 100%;
  border-radius: 20px;
}

.about-text {
  background: white;
  padding: 40px;
  border-radius: 20px;
  border: 3px solid #1db584;
}

.about-text h2 {
  font-size: 2.5rem;
  color: #333;
  margin-bottom: 25px;
  line-height: 1.2;
}

.about-text p {
  font-size: 1.1rem;
  color: #666;
  line-height: 1.7;
}

/* Services Section */
.services {
  padding: 100px 0;
  background: white;
}

.services h2 {
  text-align: center;
  font-size: 3rem;
  color: #333;
  margin-bottom: 60px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 40px;
}

.service-card {
  background: white;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.service-card:hover {
  transform: translateY(-10px);
}

.service-image {
  height: 200px;
  overflow: hidden;
}

.service-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.service-card h3 {
  color: #1db584;
  font-size: 1.5rem;
  margin: 25px 25px 15px;
}

.service-card p {
  color: #666;
  margin: 0 25px 25px;
  line-height: 1.6;
}

/* Reviews Section */
.reviews {
  padding: 100px 0;
  background: #f8f9fa;
}

.reviews h2 {
  text-align: center;
  font-size: 3rem;
  color: #333;
  margin-bottom: 60px;
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.review-card {
  background: #1db584;
  color: white;
  padding: 30px;
  border-radius: 20px;
}

.review-card h4 {
  font-size: 1.2rem;
  margin-bottom: 15px;
  font-weight: 600;
}

.review-card p {
  line-height: 1.6;
  font-style: italic;
}

/* Polish Section */
.polish-section {
  padding: 100px 0;
  background: white;
}

.polish-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.polish-text {
  background: white;
  padding: 40px;
  border-radius: 20px;
  border: 3px solid #1db584;
}

.polish-text h2 {
  font-size: 2.5rem;
  color: #333;
  margin-bottom: 25px;
  line-height: 1.2;
}

.polish-text p {
  font-size: 1.1rem;
  color: #666;
  line-height: 1.7;
  margin-bottom: 20px;
}

.polish-text ul {
  margin: 20px 0;
  padding-left: 20px;
}

.polish-text li {
  color: #666;
  margin-bottom: 10px;
  line-height: 1.6;
}

.polish-image img {
  width: 100%;
  border-radius: 20px;
}

/* FAQ Section */
.faq {
  padding: 100px 0;
  background: #f8f9fa;
}

.faq h2 {
  text-align: center;
  font-size: 3rem;
  color: #333;
  margin-bottom: 60px;
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
  gap: 30px;
}

.faq-item {
  background: #1db584;
  color: white;
  padding: 30px;
  border-radius: 20px;
}

.faq-item h3 {
  font-size: 1.3rem;
  margin-bottom: 15px;
  font-weight: 600;
}

.faq-item p {
  line-height: 1.6;
}

/* Contact Section */
.contact {
  background: 
    url("../img/bg-1.png");
  background-size: cover;
  background-position: center;
  padding: 100px 0;
}

.contact-form {
  max-width: 500px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-form input {
  padding: 18px 25px;
  border: none;
  border-radius: 50px;
  font-size: 1rem;
  font-family: "Raleway", sans-serif;
  background: rgba(255, 255, 255, 0.9);
  color: #333;
}

.contact-form input::placeholder {
  color: #666;
}

.contact-form button {
  padding: 18px 25px;
  border: none;
  border-radius: 50px;
  background: white;
  color: #1db584;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: "Raleway", sans-serif;
}

.contact-form button:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

/* Footer */
.footer {
  background: #333;
  color: white;
  padding: 30px 0;
  text-align: center;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 30px;
}

.footer-links a {
  color: white;
  text-decoration: none;
  transition: opacity 0.3s ease;
}

.footer-links a:hover {
  opacity: 0.8;
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .burger-menu {
    display: flex;
  }

  .nav-menu {
    position: fixed;
    top: 70px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 70px);
    background: #1db584;
    flex-direction: column;
    justify-content: start;
    align-items: center;
    padding-top: 50px;
    transition: left 0.3s ease;
  }

  .nav-menu.active {
    left: 0;
  }

  .burger-menu.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }

  .burger-menu.active span:nth-child(2) {
    opacity: 0;
  }

  .burger-menu.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
  }

  .hero h1 {
    font-size: 2.5rem;
  }

  .hero p {
    font-size: 1rem;
  }

  .about-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .polish-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .polish-content .polish-image {
    order: -1;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .reviews-grid {
    grid-template-columns: 1fr;
  }

  .faq-grid {
    grid-template-columns: 1fr;
  }

  .footer-links {
    flex-direction: column;
    gap: 15px;
  }

  .cookie-content {
    padding: 30px 20px;
    margin: 20px;
  }

  .cookie-buttons {
    flex-direction: column;
  }

  .btn-cookie {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .hero {
    padding: 100px 15px 60px;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .container {
    padding: 0 15px;
  }

  .about-text,
  .polish-text {
    padding: 25px;
  }

  .about-text h2,
  .polish-text h2 {
    font-size: 2rem;
  }

  .services h2,
  .reviews h2,
  .faq h2 {
    font-size: 2.5rem;
  }
}
