.policy,
.success,
.contact-section {
  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-bottom: 14px;
}

.policy__link {
  color: #fff;
}

html {
  scroll-behavior: smooth;
}

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

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Briem Hand", cursive;
  line-height: 1.6;
  color: #333;
  background-color: #fff;
}

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

/* Buttons */
.btn {
  display: inline-block;
  padding: 15px 30px;
  text-decoration: none;
  border-radius: 5px;
  font-weight: 600;
  font-size: 16px;
  text-align: center;
  cursor: pointer;
  border: none;
  transition: all 0.3s ease;
  font-family: "Briem Hand", cursive;
}

.btn--primary {
  background-color: #f4d03f;
  color: #333;
}

.btn--primary:hover {
  background-color: #f7dc6f;
  transform: translateY(-2px);
}

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

.header__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-family: Briem Hand;
  font-weight: 900;
  font-size: 18px;
  line-height: 120%;
  letter-spacing: 2px;
  text-align: center;
  text-transform: uppercase;

  color: #fff;

}

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

.nav__link {
  color: white;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.nav__link:hover {
  color: #f4d03f;
}

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

.burger__line {
  width: 25px;
  height: 3px;
  background-color: white;
  transition: all 0.3s ease;
}

/* Hero Section */
.hero {
  padding: 120px 0 80px;
  background-color: #f8f9fa;
}

.hero__title {
  font-size: 2.5rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 60px;
  color: #333;
}

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

.card {
  background: white;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  text-align: center;
}

.card__icon {
  margin-bottom: 20px;
}

.card__icon img {
  width: 280px;
  height: 280px;
  object-fit: contain;
}

.card__title {
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 15px;
  color: #333;
}

.card__text {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #666;
}

/* About Section */
.about {
  padding: 80px 0;
  background-color: #4a5c5a;
  color: white;
}

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

.about__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 10px;
}

.about__title {
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 30px;
}

.about__text {
  margin-bottom: 20px;
  line-height: 1.7;
  color: #e0e0e0;
}

/* Products Section */
.products {
  padding: 80px 0;
  background-color: #f8f9fa;
}

.products__title {
  font-size: 2.2rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 60px;
  color: #333;
}

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

.product {
  background: white;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.product:hover {
  transform: translateY(-5px);
}

.product__image {
  height: 300px;
  overflow: hidden;
}

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

.product__title {
  font-size: 1.2rem;
  font-weight: 600;
  padding: 20px 25px 10px;
  color: #333;
}

.product__features {
  list-style: none;
  padding: 0 25px 20px;
}

.product__features li {
  padding: 3px 0;
  font-size: 0.9rem;
  color: #666;
}

.product__features li:before {
  content: "• ";
  color: #4a5c5a;
  font-weight: bold;
}

.product__price {
  background-color: #4a5c5a;
  color: white;
  padding: 15px 25px;
  font-weight: 600;
  font-size: 1.1rem;
}

/* Contact Section */
.contact {
  padding: 80px 0;
  background-color: #4a5c5a;
  color: white;
}

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

.contact__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 10px;
}

.contact__title {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 25px;
}

.contact__text {
  margin-bottom: 20px;
  line-height: 1.7;
  color: #e0e0e0;
}

.contact__info {
  margin: 30px 0;
  padding: 20px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
}

.contact__info h3 {
  margin-bottom: 15px;
  font-size: 1.2rem;
}

.contact__info p {
  margin-bottom: 8px;
  color: #e0e0e0;
}

/* Form Section */
.form-section {
  padding: 80px 0;
  background-color: #f8f9fa;
}

.form {
  max-width: 500px;
  margin: 0 auto;
  background: white;
  padding: 40px;
  border-radius: 15px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.form__title {
  font-size: 1.8rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 30px;
  color: #4a5c5a;
}

.form__group {
  margin-bottom: 25px;
}

.form__label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
  color: #333;
}

.form__input {
  width: 100%;
  padding: 12px 15px;
  border: 2px solid #e0e0e0;
  border-radius: 5px;
  font-size: 16px;
  font-family: "Briem Hand", cursive;
  transition: border-color 0.3s ease;
}

.form__input:focus {
  outline: none;
  border-color: #4a5c5a;
}

.form__submit {
  width: 100%;
  margin-top: 20px;
}

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

.footer__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.footer__links {
  display: flex;
  gap: 30px;
}

.footer__links a {
  color: #ccc;
  text-decoration: none;
  font-size: 0.9rem;
}

.footer__links a:hover {
  color: white;
}

/* Cookie Popup */
.cookie-popup {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: #4a5c5a;
  padding: 30px;
  z-index: 10000;
  transform: translateY(100%);
  transition: transform 0.3s ease;
}

.cookie-popup.show {
  transform: translateY(0);
}

.cookie-popup__content {
  max-width: 1200px;
  margin: 0 auto;
  color: white;
}

.cookie-popup__title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 15px;
}

.cookie-popup__text {
  margin-bottom: 25px;
  line-height: 1.6;
  color: #e0e0e0;
}

.cookie-popup__accept {
  margin-top: 10px;
}

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

  .nav {
    position: fixed;
    top: 70px;
    left: 0;
    width: 100%;
    height: calc(100vh - 70px);
    background-color: #4a5c5a;
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    z-index: 999;
  }

  .nav.active {
    transform: translateX(0);
  }

  .nav__list {
    flex-direction: column;
    padding: 50px 20px;
    gap: 20px;
  }

  .nav__link {
    font-size: 1.2rem;
    padding: 15px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

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

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

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

/* Mobile Responsive */
@media (max-width: 768px) {
  .hero__title {
    font-size: 1.8rem;
    padding: 0 10px;
  }

  .hero__cards {
    grid-template-columns: 1fr;
    gap: 30px;
  }

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

  .about__image {
    order: 2;
  }

  .about__content {
    order: 1;
  }

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

  .contact__image {
    order: 2;
  }

  .contact__content {
    order: 1;
  }

  .products__grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .footer__inner {
    flex-direction: column;
    text-align: center;
  }

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

  .form {
    margin: 0 20px;
    padding: 30px 20px;
  }

  .cookie-popup {
    padding: 20px;
  }

  .cookie-popup__title {
    font-size: 1.3rem;
  }

  .cookie-popup__text {
    font-size: 0.9rem;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 15px;
  }

  .hero__title {
    font-size: 1.5rem;
  }

  .about__title,
  .contact__title,
  .products__title {
    font-size: 1.8rem;
  }

  .card {
    padding: 20px;
  }

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

  .product {
    margin: 0 10px;
  }
}

/* Smooth animations */
@media (prefers-reduced-motion: no-preference) {
  .card,
  .product {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }

  .card:hover,
  .product:hover {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  }
}
