@font-face {
  font-family: "Playfair Display";
  src: url(../fonts/PlayfairDisplay-VariableFont_wght.ttf);
  font-display: swap;
}
:root {
  --primary: #2c3e50;
  --primary-light: #3e5a70;
  --accent: #b76e2e;
  --accent-soft: #d49a6a;
  --bg-light: #f9f6f2;
  --text-dark: #1e1e1e;
  --text-soft: #4a4a4a;
  --border-light: #e0d6cc;
  --white: #ffffff;
  --shadow-sm: 0 8px 20px rgba(0,0,0,0.04);
  --shadow-md: 0 15px 30px rgba(0,0,0,0.06);
  --radius-card: 18px;
  --radius-btn: 40px;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-heading: 'Playfair Display', serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font-body);
  background: var(--white);
  color: var(--text-dark);
  line-height: 1.5;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  scroll-behavior: smooth;
  overflow-x: hidden;
}

section {
  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;
}

h1 { font-size: clamp(2.2rem, 6vw, 3.6rem); }
h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); margin-bottom: 1.5rem; }
h3 { font-size: 1.4rem; margin-bottom: 0.5rem; }

a {
  text-decoration: none;
  color: inherit;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  border-radius: var(--radius-card);
}

button {
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: var(--radius-btn);
  font-weight: 600;
  transition: all 0.2s;
  border: 1px solid transparent;
}

.btn--primary {
  background: var(--primary);
  color: white;
  box-shadow: 0 8px 16px rgba(44,62,80,0.15);
}
.btn--primary:hover {
  background: var(--primary-light);
  transform: translateY(-2px);
}

.btn--block {
  width: 100%;
  justify-content: center;
}

.header {
  padding: 16px 24px;
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(8px);
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid var(--border-light);
}

.header__container {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.logo a {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.5rem;
}

.logo img {
  width: 50px;
  height: 50px;
  border-radius: 12px;
}

.header__notice {
  font-size: 0.9rem;
  color: var(--text-soft);
  background: var(--bg-light);
  padding: 6px 14px;
  border-radius: 40px;
}

.nav__list {
  display: flex;
  gap: 32px;
  list-style: none;
  font-weight: 500;
}
.nav__list a:hover { color: var(--accent); }

.mobile-toggle {
  display: none;
  font-size: 1.8rem;
  color: var(--primary);
}

.hero {
  padding: 48px 24px 64px;
  background: linear-gradient(145deg, #fefcf9 0%, #f5ede3 100%);
}
.hero__grid {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.hero__content { display: flex; flex-direction: column; gap: 20px; }
.hero__title { margin-bottom: 0; }
.hero__subtitle { font-size: 1.2rem; color: var(--text-soft); }
.hero__price { display: flex; align-items: center; gap: 16px; }
.price { font-size: 2.4rem; font-weight: 700; color: var(--primary); }
.price__old { font-size: 1.3rem; color: #a0a0a0; text-decoration: line-through; }
.hero__actions { display: flex; align-items: center; flex-wrap: wrap; gap: 24px; }
.hero__badge { display: flex; align-items: center; gap: 8px; background: white; padding: 8px 16px; border-radius: 40px; box-shadow: var(--shadow-sm); }
.hero__faq-mini { margin-top: 12px; }
.faq-accordion--hero { background: rgba(255,255,255,0.5); backdrop-filter: blur(4px); border-radius: 24px; padding: 8px; }

.features { padding: 64px 0; }
.features__grid {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 24px;
}
.feature-card {
  background: var(--bg-light);
  padding: 28px 20px;
  border-radius: var(--radius-card);
  text-align: center;
}
.feature-card__icon { font-size: 2.4rem; color: var(--accent); margin-bottom: 16px; }

.gallery { padding: 48px 0; background: var(--white); }
.gallery__layout {
  display: grid;
  grid-template-columns: 7fr 1fr;
  gap: 24px;
  align-items: start;
}
.gallery__main img {
  width: 100%;
  aspect-ratio: 1/1;
  border-radius: 24px;
  box-shadow: var(--shadow-md);
}
.gallery__thumbnails {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-height: 100%;
  overflow-y: auto;
}
.gallery__thumb {
  cursor: pointer;
  border-radius: 16px;
  overflow: hidden;
  border: 2px solid transparent;
  transition: border 0.2s;
  width: 100%;
  max-width: 150px;
}
.gallery__thumb.active { border-color: var(--accent); }
.gallery__thumb img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.how-it-works { padding: 64px 0; background: var(--bg-light); }
.steps {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 24px;
}
.step { text-align: center; }
.step__number {
  width: 48px; height: 48px;
  background: var(--primary);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  font-weight: bold;
  font-size: 1.5rem;
}

.testimonials { padding: 64px 0; }
.testimonials__grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 24px;
}
.testimonial-card {
  background: white;
  padding: 28px;
  border-radius: 28px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
}
.testimonial__stars { color: #f5b342; margin-bottom: 16px; }
.testimonial__text { font-style: italic; margin-bottom: 16px; }
.testimonial__author { font-weight: 600; }

.order { padding: 64px 0; }
.order__card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  background: linear-gradient(135deg, #2c3e50 0%, #1a2a38 100%);
  color: white;
  border-radius: 48px;
  padding: 48px 40px;
}
.section-title--light { color: white; }
.order__lead { font-size: 1.2rem; opacity: 0.9; margin-bottom: 24px; }
.order__features { list-style: none; }
.order__features li { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.order-form {
  background: white;
  border-radius: 32px;
  padding: 32px;
  color: var(--text-dark);
}
.form-group { margin-bottom: 20px; }
.form-group label { margin-bottom: 6px; font-weight: 500; }
.form-group input, .form-group select {
  width: 100%;
  padding: 14px 16px;
  border: 1.5px solid var(--border-light);
  border-radius: 24px;
  font-size: 1rem;
  transition: border 0.2s, box-shadow 0.2s;
}
.form-group input:focus, .form-group select:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(44,62,80,0.1);
}
.checkbox-label {
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
}
.checkbox-label input {
  position: absolute;
  opacity: 0;
  width: 0;
}
.checkmark {
  width: 22px; height: 22px;
  background: white;
  border: 2px solid var(--border-light);
  border-radius: 6px;
  transition: 0.1s;
}
.checkbox-label input:checked + .checkmark {
  background: var(--primary);
  border-color: var(--primary);
  position: relative;
}
.checkbox-label input:checked + .checkmark::after {
  content: '\f00c';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  color: white;
  font-size: 14px;
  display: flex;
  justify-content: center;
}

.faq-extended { padding: 48px 0 64px; }
.faq-grid {
  display: grid;
  grid-template-columns: repeat(2,1fr);
  gap: 20px;
}
.faq-item {
  background: var(--bg-light);
  border-radius: 24px;
  padding: 8px 20px;
}
.faq-item summary {
  padding: 18px 0;
  font-weight: 600;
  display: flex;
  justify-content: space-between;
  cursor: pointer;
  list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item p { padding-bottom: 18px; color: var(--text-soft); }

.footer {
  background: #1a1e22;
  color: #ddd;
  margin-top: auto;
  padding: 48px 24px 24px;
  font-size: 0.95rem;
}
.footer__container {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.5fr 0.8fr 1fr;
  gap: 40px;
}
.footer__brand .logo a { color: white; }
.footer__disclaimer { margin-top: 20px; color: #aaa; font-size: 0.9rem; max-width: 400px; }
.footer__links h4, .footer__contacts h4 { color: white; margin-bottom: 16px; }
.footer__links ul { list-style: none; }
.footer__links li { margin-bottom: 10px; }
.footer__links a { color: #bbb; transition: color 0.2s; }
.footer__links a:hover { color: var(--accent-soft); }
.footer__contacts p { margin-bottom: 8px; }
.footer__bottom {
  border-top: 1px solid #333;
  margin-top: 40px;
  padding-top: 24px;
  text-align: center;
  color: #999;
}

.back-to-top {
  position: fixed;
  bottom: 24px; right: 24px;
  width: 48px; height: 48px;
  background: var(--primary);
  color: white;
  border-radius: 30px;
  box-shadow: var(--shadow-md);
  opacity: 0;
  visibility: hidden;
  transition: 0.2s;
  z-index: 99;
}
.back-to-top.show { opacity: 1; visibility: visible; }

@media (max-width: 900px) {
  .nav { display: none; }
  .nav.show { display: block; position: absolute; top: 80px; left: 0; width: 100%; background: white; padding: 24px; box-shadow: var(--shadow-md); }
  .nav__list { flex-direction: column; align-items: center; }
  .mobile-toggle { display: block; }
  .hero__grid { grid-template-columns: 1fr; }
  .features__grid { grid-template-columns: repeat(2,1fr); }
  .steps { grid-template-columns: repeat(2,1fr); }
  .testimonials__grid { grid-template-columns: 1fr; }
  .order__card { grid-template-columns: 1fr;padding: 40px 16px; }
  .footer__container { grid-template-columns: 1fr; gap: 32px; }
  .gallery__layout { grid-template-columns: 1fr; }
  .gallery__thumbnails {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: flex-start;
  }
  .gallery__thumb {
    max-width: 100px;
  }
  .faq-grid { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .features__grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .header__container { justify-content: center; }
  .header__notice { order: 3; }
}

