@font-face {
  font-family: "Playfair Display";
  src: url(../fonts/PlayfairDisplay-VariableFont_wght.ttf);
  font-display: swap;
}
:root {
  --primary: #2b5e3b;
  --primary-dark: #1e452a;
  --secondary: #d4a373;
  --accent: #e9c46a;
  --text-dark: #1e1e1e;
  --text-light: #555;
  --bg-light: #f9f7f3;
  --white: #fff;
  --border-radius-card: 16px;
  --border-radius-btn: 40px;
  --shadow-sm: 0 4px 12px rgba(0,0,0,0.05);
  --shadow-md: 0 8px 24px rgba(0,0,0,0.08);
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-heading: 'Playfair Display', serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font-body);
  color: var(--text-dark);
  background-color: var(--white);
  line-height: 1.5;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}

main {
  flex: 1;
}

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: var(--border-radius-btn);
  font-weight: 600;
  transition: all 0.2s;
  border: none;
  cursor: pointer;
  font-size: 1rem;
}

.btn--primary {
  background: linear-gradient(145deg, var(--primary), var(--primary-dark));
  color: var(--white);
  box-shadow: 0 8px 20px rgba(43,94,59,0.25);
}

.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(43,94,59,0.3);
}

.btn--large {
  padding: 16px 36px;
  font-size: 1.1rem;
}

.btn--block {
  width: 100%;
}

.section-title {
  font-size: clamp(2rem, 5vw, 2.8rem);
  margin-bottom: 48px;
  text-align: center;
  position: relative;
}

.section-title--left {
  text-align: left;
}

.header {
  padding: 16px 0;
  border-bottom: 1px solid rgba(0,0,0,0.05);
  background: var(--white);
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(8px);
  background: rgba(255,255,255,0.9);
}

.header__container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo a {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--primary-dark);
}

.logo img {
  width: 50px;
  height: 50px;
  object-fit: contain;
}

.nav__list {
  display: flex;
  list-style: none;
  gap: 32px;
}

.nav__link {
  font-weight: 500;
  transition: color 0.2s;
}

.nav__link:hover {
  color: var(--primary);
}

.header__notice {
  background: var(--bg-light);
  padding: 6px 14px;
  border-radius: 30px;
  font-size: 0.8rem;
  color: var(--text-light);
  border: 1px solid #e0ddd6;
  margin-left: 20px;
  white-space: nowrap;
}

.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.burger__line {
  width: 24px;
  height: 2px;
  background: var(--text-dark);
  transition: 0.2s;
}

.hero {
  padding: 40px 0 60px;
  background: linear-gradient(135deg, #fbf9f5 0%, #fff 100%);
}

.hero__container {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 32px;
  align-items: center;
}

.hero__form-col {
  background: var(--white);
  border-radius: 24px;
  box-shadow: var(--shadow-md);
  padding: 24px 20px;
  border: 1px solid #eee;
}

.mini-form-card__title {
  font-size: 1.5rem;
  margin-bottom: 20px;
  color: var(--primary-dark);
}

.order-form .form-group {
  margin-bottom: 16px;
}

.order-form input:not([type="checkbox"]),
.order-form select {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid #e2e2e2;
  border-radius: 40px;
  font-family: inherit;
  font-size: 1rem;
  transition: border 0.2s, box-shadow 0.2s;
  background: var(--white);
}

.order-form input:focus,
.order-form select:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(43,94,59,0.1);
}

.form-group--qty {
  display: flex;
  align-items: center;
  gap: 12px;
}

.form-group--qty label {
  font-weight: 500;
}

.form-group--qty input {
  width: 80px;
}

.custom-checkbox {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  font-size: 0.9rem;
}

.custom-checkbox input {
  display: none;
}

.checkmark {
  width: 20px;
  height: 20px;
  border: 2px solid #ccc;
  border-radius: 4px;
  position: relative;
  transition: all 0.2s;
}

.custom-checkbox input:checked + .checkmark {
  background: var(--primary);
  border-color: var(--primary);
}

.custom-checkbox input:checked + .checkmark::after {
  content: "\f00c";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  font-size: 12px;
  color: white;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.hero__usp {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 20px;
  justify-content: space-around;
}

.usp-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.9rem;
  color: var(--text-light);
}

.usp-item i {
  color: var(--primary);
}

.hero__title {
  font-size: clamp(2.2rem, 5vw, 3.2rem);
  margin-bottom: 20px;
}

.hero__subtitle {
  font-size: 1.2rem;
  color: var(--text-light);
  margin-bottom: 24px;
}

.hero__price {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.price-old {
  font-size: 1.2rem;
  text-decoration: line-through;
  color: #999;
}

.price-new {
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--primary-dark);
}

.price-badge {
  background: var(--accent);
  padding: 4px 12px;
  border-radius: 20px;
  font-weight: 600;
  font-size: 0.9rem;
}

.hero__payment {
  margin-top: 20px;
  display: flex;
  gap: 16px;
  color: #666;
  font-size: 1.5rem;
}

.product-gallery {
  background: var(--white);
  padding: 16px;
  border-radius: 24px;
  box-shadow: var(--shadow-sm);
}

.gallery-main {
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 1/1;
  margin-bottom: 16px;
}

.gallery-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.2s;
}

.gallery-thumbs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

.thumb {
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  border: 2px solid transparent;
  transition: border 0.2s;
  aspect-ratio: 1/1;
}

.thumb.active {
  border-color: var(--primary);
}

.thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.features {
  padding: 60px 0;
  background: var(--bg-light);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.feature-card {
  background: var(--white);
  padding: 32px 24px;
  border-radius: var(--border-radius-card);
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s;
}

.feature-card:hover {
  transform: translateY(-6px);
}

.feature-icon {
  font-size: 2.5rem;
  color: var(--secondary);
  margin-bottom: 20px;
}

.feature-card h3 {
  margin-bottom: 12px;
}

.how-it-works {
  padding: 60px 0;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.step {
  text-align: center;
  padding: 24px;
}

.step-number {
  width: 56px;
  height: 56px;
  background: var(--primary);
  color: white;
  font-size: 1.8rem;
  font-weight: 700;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.testimonials {
  padding: 60px 0;
  background: var(--bg-light);
}

.review-card {
  background: var(--white);
  padding: 28px;
  border-radius: 24px;
  box-shadow: var(--shadow-sm);
  height: 100%;
}

.review-rating {
  color: #f4b740;
  font-size: 1.2rem;
  margin-bottom: 16px;
}

.review-text {
  font-size: 1rem;
  margin-bottom: 24px;
  font-style: italic;
}

.review-author {
  display: flex;
  align-items: center;
  gap: 14px;
}

.avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
}

.reviews-swiper {
  padding-bottom: 40px;
}

.swiper-pagination-bullet-active {
  background: var(--primary) !important;
}

.faq {
  padding: 60px 0;
}

.faq-grid {
  display: grid;
  gap: 16px;
  max-width: 900px;
  margin: 0 auto;
}

.faq-item {
  background: var(--white);
  border-radius: 40px;
  padding: 8px 20px;
  box-shadow: var(--shadow-sm);
  border: 1px solid #eee;
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 0;
  font-weight: 600;
  cursor: pointer;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  padding: 0 0 0 0;
  color: var(--text-light);
}

.faq-item.active .faq-answer {
  max-height: 120px;
  padding-bottom: 16px;
}

.faq-item.active .fa-plus {
  transform: rotate(45deg);
}

.contact-location {
  padding: 60px 0;
  background: linear-gradient(to bottom, #fff, var(--bg-light));
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}

.info-block {
  display: flex;
  gap: 16px;
  margin-bottom: 24px;
}

.info-block i {
  font-size: 1.5rem;
  color: var(--primary);
  width: 32px;
}

.map-container {
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.footer {
  background: #1e2a2a;
  color: #ddd;
  margin-top: auto;
  padding: 48px 0 24px;
  font-size: 0.95rem;
}

.footer a {
  color: #ddd;
  transition: color 0.2s;
}

.footer a:hover {
  color: var(--accent);
}

.footer__top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 24px;
  border-bottom: 1px solid #3a4a4a;
  margin-bottom: 24px;
}

.footer__logo a {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.5rem;
  font-weight: 600;
  color: white;
}

.footer__logo img {
  width: 50px;
  height: 50px;
}

.footer__legal {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
}

.footer__middle {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 30px;
  padding-bottom: 24px;
  border-bottom: 1px solid #3a4a4a;
  margin-bottom: 20px;
}

.footer__contacts p {
  margin-bottom: 6px;
}

.disclaimer-text {
  font-size: 0.85rem;
  color: #aaa;
  line-height: 1.5;
}

.footer__bottom {
  text-align: center;
  color: #aaa;
  font-size: 0.85rem;
}

.legal-page {
  max-width: 900px;
  margin: 60px auto;
  padding: 0 24px;
}

.legal-page h1 {
  font-size: 2.5rem;
  margin-bottom: 32px;
  color: var(--primary-dark);
}

.legal-page p {
  margin-bottom: 20px;
  line-height: 1.7;
  color: var(--text-dark);
}

.legal-page b {
  color: var(--primary-dark);
  font-weight: 600;
}

.legal-page a {
  color: var(--primary);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.legal-page a:hover {
  color: var(--primary-dark);
}

.thanks-section {
  padding: 100px 0;
  text-align: center;
}

.thanks-section i {
  font-size: 5rem;
  color: var(--primary);
  margin-bottom: 24px;
}

.thanks-section h1 {
  font-size: 2.5rem;
  margin-bottom: 16px;
}

.thanks-section p {
  font-size: 1.2rem;
  margin-bottom: 32px;
}

@media (max-width: 1024px) {
  .hero__container {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }
  .hero__form-col {
    grid-column: 1/-1;
    max-width: 500px;
    margin: 0 auto;
  }
}

@media (max-width: 768px) {
  .container {
    padding: 0 16px;
  }
  .header__notice {
    display: none;
  }
  .nav {
    position: fixed;
    top: 80px;
    left: 0;
    right: 0;
    background: white;
    padding: 24px;
    box-shadow: 0 20px 30px rgba(0,0,0,0.1);
    transform: translateY(-150%);
    transition: transform 0.3s;
    z-index: 99;
  }
  .nav.active {
    transform: translateY(0);
  }
  .nav__list {
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }
  .burger {
    display: flex;
  }
  .hero__container {
    grid-template-columns: 1fr;
  }
  .features-grid,
  .steps-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .footer__middle {
    grid-template-columns: 1fr;
  }
  .footer__top {
    flex-direction: column;
    gap: 20px;
  }
  .footer__legal {
    justify-content: center;
  }
  .section-title {
    margin-bottom: 32px;
  }
  .legal-page {
    margin: 40px auto;
  }
  .legal-page h1 {
    font-size: 2rem;
  }
}