/* ============================================================
   1. ПОДКЛЮЧЕНИЕ ШРИФТОВ
   ============================================================ */
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Playfair+Display:ital,wght@0,500;0,600;1,500;1,600&display=swap');


/* ============================================================
   2. ПЕРЕМЕННЫЕ И БАЗОВЫЕ СТИЛИ
   ============================================================ */
:root {
  --ink:         #24322d;
  --muted:       #718078;
  --forest:      #234c3c;
  --forest-deep: #18382e;
  --sage:        #b8c8b0;
  --mint:        #dfe9dc;
  --sand:        #f3f0e8;
  --cream:       #fbfaf6;
  --line:        #d8dfd6;
  --white:       #fff;
  --accent:      #e1a963;

  font-family: 'DM Sans', sans-serif;
  color: var(--ink);
  background: var(--cream);
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--cream);
  line-height: 1.6;
}

.lang-switch__flag, .lang-switch__item {
  font-family: "Twemoji Country Flags", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
}

h1, h2, h3, p {
  margin: 0;
}

h1, h2 {
  font-family: 'Playfair Display', serif;
  font-weight: 500;
  line-height: 1.08;
}

h1 strong {
  font-weight: 600;
}

h1 em,
h2 em {
  color: var(--sage);
  font-style: italic;
}


/* ============================================================
   3. СЕТКА И ОБЩИЕ УТИЛИТЫ
   ============================================================ */
.container {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
}

.section-pad {
  padding: 120px 0;
}

.section-dark {
  background: var(--forest-deep);
  color: var(--white);
}

.section-sand {
  background: var(--sand);
}


/* ============================================================
   4. ШАПКА САЙТА И НАВИГАЦИЯ
   ============================================================ */
.site-header {
  position: fixed;
  top: 0;
  z-index: 20;
  width: 100%;
  padding: 22px 0;
  color: var(--white);
  transition: .3s ease;
}

.site-header.scrolled {
  background: rgba(24, 56, 46, .96);
  padding: 14px 0;
  box-shadow: 0 8px 28px rgba(15, 35, 28, .13);
}

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

/* Логотип */
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  line-height: 1.12;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.brand em {
  font-family: 'Playfair Display', serif;
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 29px;
  height: 29px;
  border: 1px solid rgba(255, 255, 255, .5);
  border-radius: 50%;
  font-size: 14px;
  color: var(--accent);
}

/* Меню */
.main-nav {
  display: flex;
  align-items: center;
  gap: 30px;
  font-size: 13px;
  font-weight: 500;
}

.main-nav > a:not(.button) {
  opacity: .78;
  transition: .2s;
}

.main-nav > a:not(.button):hover {
  opacity: 1;
  color: var(--accent);
}

/* Кнопка-бургер */
.menu-toggle {
  display: none;
  border: 0;
  background: none;
  color: var(--white);
  width: 32px;
  padding: 4px;
}

.menu-toggle span {
  display: block;
  height: 1px;
  background: currentColor;
  margin: 7px 0;
}


/* ============================================================
   5. КНОПКИ И ССЫЛКИ
   ============================================================ */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 13px;
  border: 0;
  border-radius: 2px;
  padding: 15px 23px;
  background: var(--accent);
  color: #2d2b24;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .01em;
  transition: transform .2s, background .2s, box-shadow .2s;
}

.button:hover {
  transform: translateY(-2px);
  background: #edbc79;
  box-shadow: 0 10px 22px rgba(194, 138, 74, .24);
}

.button-small    { padding: 11px 16px; }
.button-primary  { background: var(--accent); }
.button-large    { padding: 18px 28px; }
.button-whatsapp { background: var(--white); color: var(--forest); }

.whatsapp-icon {
  display: inline-grid;
  place-items: center;
  width: 20px;
  height: 20px;
  /* border: 1px solid currentColor; */
  /* border-radius: 50%; */
  font-size: 13px;
}

.text-link {
  color: var(--white);
  font-size: 13px;
  font-weight: 600;
}

.text-link span {
  margin-left: 9px;
  color: var(--accent);
}


.whatsapp-icon svg {
  width: 20px;
  height: 20px;
  display: block;
}



/* ============================================================
   6. ГЛАВНЫЙ ЭКРАН (HERO)
   ============================================================ */
.hero {
  position: relative;
  overflow: hidden;
  padding: 160px 0 90px;
  min-height: 760px;
}

.hero-orb {
  position: absolute;
  border: 1px solid rgba(176, 202, 182, .12);
  border-radius: 50%;
}

.hero-orb-one {
  width: 650px;
  height: 650px;
  right: -240px;
  top: 40px;
}

.hero-orb-two {
  width: 440px;
  height: 440px;
  right: -130px;
  top: 145px;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr .87fr;
  align-items: center;
  gap: 80px;
}

.hero h1 {
  max-width: 630px;
  margin: 25px 0 23px;
  font-size: clamp(46px, 5.4vw, 76px);
  letter-spacing: -.025em;
}

.hero-lead {
  max-width: 455px;
  color: #b4c5ba;
  font-size: 17px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-top: 37px;
}

.hero-note {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-top: 65px;
  color: #91aa9a;
  font-size: 11px;
}

.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #7bb58f;
  box-shadow: 0 0 0 5px rgba(123, 181, 143, .12);
}

/* Визуальная часть hero */
.hero-visual {
  justify-self: end;
  width: min(100%, 445px);
}

.hero-frame {
  position: relative;
  max-width: 410px;
  margin: auto;
}

.hero-frame:before {
  content: '';
  position: absolute;
  inset: -14px 16px 14px -16px;
  border: 1px solid rgba(185, 204, 185, .35);
}

.hero-frame img {
  display: block;
  position: relative;
  width: 100%;
  height: 530px;
  object-fit: cover;
  object-position: center 22%;
  filter: saturate(.78);
}

.price-badge {
  position: absolute;
  left: -34px;
  bottom: 42px;
  padding: 17px 23px;
  background: var(--accent);
  color: #26382e;
}

.price-badge span {
  display: block;
  margin-bottom: 4px;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: .1em;
}

.price-badge strong {
  font-family: 'Playfair Display', serif;
  font-size: 31px;
  font-weight: 500;
}

.price-badge small {
  font-family: 'DM Sans', sans-serif;
  font-size: 12px;
  font-weight: 500;
}

.hero-caption {
  position: absolute;
  right: -24px;
  top: 38px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--white);
  font-size: 11px;
  line-height: 1.4;
}

.caption-line {
  width: 25px;
  height: 1px;
  background: var(--accent);
}

.hero-caption strong {
  font-weight: 500;
  color: var(--accent);
}

.scroll-cue {
  position: absolute;
  bottom: 25px;
  left: 50%;
  display: flex;
  align-items: center;
  gap: 13px;
  color: #778f80;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: .13em;
  transform: translateX(-50%);
}

.scroll-cue span {
  display: block;
  width: 1px;
  height: 35px;
  background: var(--accent);
}


/* ============================================================
   7. ОБЩИЕ ЗАГОЛОВКИ СЕКЦИЙ
   ============================================================ */
.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--forest);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .16em;
  font-weight: 700;
}

.eyebrow span {
  display: inline-block;
  width: 31px;
  height: 1px;
  background: currentColor;
}

.eyebrow-light {
  color: var(--accent);
}
.bottom-eyebrow {
  justify-content: center;
}
.intro h2,
.section-heading h2,
.locations h2,
.faq h2 {
  margin-top: 24px;
  font-size: clamp(39px, 4.4vw, 59px);
  letter-spacing: -.025em;
}

.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  margin-bottom: 54px;
}

.section-heading > p {
  max-width: 295px;
  color: var(--muted);
  font-size: 14px;
}


/* ============================================================
   8. Выбор языка (Language switcher)
   ============================================================ */

/* ----- Language switcher ----- */
.lang-switch {
  position: relative;
  display: inline-block;
  margin-left: 8px;
}

.lang-switch__toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  background: transparent;
  border: 1px solid rgba(185, 204, 185, .35);
  border-radius: 999px;
  color: inherit;
  font: inherit;
  cursor: pointer;
  opacity: 0.85;
  transition: opacity .2s ease, background-color .2s ease;
}

.lang-switch__toggle:hover {
  opacity: 1;
}

.lang-switch__flag {
  font-size: 1.15em;
  line-height: 1;
}

/* Маленькая стрелочка-каретка */
.lang-switch__caret {
  display: inline-block;
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid currentColor;
  transition: transform .2s ease;
}

.lang-switch.is-open .lang-switch__caret {
  transform: rotate(180deg);
}

/* Выпадающее меню */
.lang-switch__menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 160px;
  margin: 0;
  padding: 6px;
  list-style: none;
  background: #fff;
  color: #1a1a1a;
  border-radius: 0;
  box-shadow: 0 12px 32px rgba(0, 0, 0, .18);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity .18s ease, transform .18s ease, visibility .18s;
  z-index: 100;
}

.lang-switch.is-open .lang-switch__menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.lang-switch__item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  border-radius: 2px;
  color: inherit;
  text-decoration: none;
  font-size: .95rem;
  transition: background-color .15s ease;
}

.lang-switch__item:hover {
  background: rgba(0, 0, 0, .06);
}

.lang-switch__item.is-active {
  background: rgba(0, 0, 0, .08);
  font-weight: 600;
}

.lang-switch__item .lang-switch__flag {
  font-size: 1.2em;
}

/* Тёмная тема (для hero / header на тёмном фоне) */
.site-header .lang-switch__menu,
.section-dark .lang-switch__menu {
  background: #1e1e22;
  color: #fff;
}

.site-header .lang-switch__item:hover,
.section-dark .lang-switch__item:hover {
  background: rgba(255, 255, 255, .08);
}

.site-header .lang-switch__item.is-active,
.section-dark .lang-switch__item.is-active {
  background: rgba(255, 255, 255, .12);
}


/* ============================================================
   8. СЕКЦИЯ INTRO
   ============================================================ */
.intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 110px;
}

.intro-copy {
  padding-top: 39px;
  max-width: 490px;
  color: var(--muted);
  font-size: 15px;
}

.intro-copy p {
  margin-bottom: 22px;
}

.intro-copy .large-copy {
  color: var(--ink);
  font-family: 'Playfair Display', serif;
  font-size: 24px;
  line-height: 1.35;
}

.signature {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-top: 33px;
  color: var(--forest);
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: 18px;
}

.signature small {
  font-family: 'DM Sans', sans-serif;
  color: var(--muted);
  font-style: normal;
  font-size: 10px;
}

.signature-line {
  width: 38px;
  height: 1px;
  background: var(--accent);
}


/* ============================================================
   9. СЕКЦИЯ ПРЕИМУЩЕСТВ (FEATURES)
   ============================================================ */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.feature-card {
  position: relative;
  min-height: 290px;
  padding: 30px 27px;
  background: var(--cream);
  border: 1px solid #e2e6df;
  transition: transform .25s, box-shadow .25s;
}

.feature-card:hover {
  transform: translateY(-7px);
  box-shadow: 0 18px 35px rgba(40, 65, 53, .1);
}

.feature-number {
  position: absolute;
  right: 21px;
  top: 20px;
  color: #b3c0b1;
  font-size: 11px;
}

.feature-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 50px;
  border-radius: 50%;
  background: var(--mint);
  color: var(--forest);
  font-size: 25px;
}

.feature-card h3 {
  margin-bottom: 12px;
  font-family: 'Playfair Display', serif;
  font-size: 23px;
  font-weight: 500;
  line-height: 1.18;
}

.feature-card p {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.65;
}


/* ============================================================
   10. СЕКЦИЯ ЛОКАЦИЙ
   ============================================================ */
.locations-grid {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 105px;
  align-items: center;
}

.location-copy > p:not(.eyebrow) {
  max-width: 400px;
  margin-top: 25px;
  color: var(--muted);
  font-size: 15px;
}

.arrow-link {
  display: inline-flex;
  align-items: center;
  gap: 17px;
  margin-top: 31px;
  color: var(--forest);
  font-size: 13px;
  font-weight: 700;
  border-bottom: 1px solid var(--accent);
  padding-bottom: 8px;
}

.arrow-link span {
  color: var(--accent);
  font-size: 18px;
}

.location-list {
  border-top: 1px solid var(--line);
}

.location-item {
  display: grid;
  grid-template-columns: 47px 1fr 20px;
  gap: 22px;
  align-items: center;
  padding: 25px 0;
  border-bottom: 1px solid var(--line);
  transition: padding .25s;
}

.location-item:hover {
  padding-left: 12px;
}

.location-pin {
  color: var(--accent);
  font-size: 11px;
}

.location-item h3 {
  font-family: 'Playfair Display', serif;
  font-size: 20px;
  font-weight: 500;
}

.location-item p {
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
}

.location-arrow {
  color: var(--forest);
  font-size: 18px;
}


/* ============================================================
   11. СЕКЦИЯ FAQ (АККОРДЕОН)
   ============================================================ */
.faq-grid {
  display: grid;
  grid-template-columns: .65fr 1.35fr;
  gap: 110px;
}

.faq-intro {
  max-width: 280px;
  margin-top: 23px;
  color: var(--muted);
  font-size: 14px;
}

.accordion {
  border-top: 1px solid var(--line);
}

.accordion-item {
  border-bottom: 1px solid var(--line);
}

.accordion-item button {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 25px 0;
  border: 0;
  background: none;
  color: var(--ink);
  text-align: left;
  font-family: 'Playfair Display', serif;
  font-size: 21px;
  cursor: pointer;
}

.accordion-item i {
  font-family: 'DM Sans', sans-serif;
  color: var(--accent);
  font-size: 25px;
  font-style: normal;
  font-weight: 400;
  transition: transform .25s;
}

.accordion-item.active i {
  transform: rotate(45deg);
}

.accordion-answer {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows .3s ease;
}

.accordion-answer p {
  overflow: hidden;
  max-width: 650px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

.accordion-item.active .accordion-answer {
  grid-template-rows: 1fr;
}

.accordion-item.active .accordion-answer p {
  padding-bottom: 25px;
}


/* ============================================================
   12. СЕКЦИЯ КОНТАКТОВ
   ============================================================ */
.contact {
  position: relative;
  overflow: hidden;
  text-align: center;
  padding: 115px 0 108px;
}

.contact-shape {
  position: absolute;
  width: 560px;
  height: 560px;
  top: -230px;
  left: 50%;
  border: 1px solid rgba(191, 211, 188, .13);
  border-radius: 50%;
  transform: translateX(-50%);
}

.contact-inner {
  position: relative;
}

.contact h2 {
  margin: 20px 0 18px;
  font-size: clamp(47px, 5vw, 69px);
}

.contact > div > p:not(.eyebrow) {
  max-width: 430px;
  margin: 0 auto 31px;
  color: #adbfaf;
  font-size: 15px;
}

.contact-number {
  margin-top: 22px;
  color: #a5b9aa;
  font-size: 12px;
  letter-spacing: .1em;
}


/* ============================================================
   13. ПОДВАЛ
   ============================================================ */
.footer {
  padding: 30px 0;
  background: #132c24;
  color: #91a698;
}

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

.footer .brand {
  color: var(--white);
  font-size: 10px;
}

.footer .brand em {
  font-size: 14px;
}

.footer .brand-mark {
  width: 25px;
  height: 25px;
  font-size: 12px;
}

.footer p,
.back-top {
  font-size: 11px;
}

.back-top {
  color: var(--accent);
}


/* ============================================================
   14. АДАПТИВ: ПЛАНШЕТ (≤850px)
   ============================================================ */
@media (max-width: 850px) {
  .container {
    width: min(100% - 36px, 600px);
  }

  .section-pad {
    padding: 80px 0;
  }

  /* Шапка */
  .site-header {
    padding: 16px 0;
  }

  .menu-toggle {
    display: block;
  }

  .main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: grid;
    gap: 0;
    padding: 8px 18px 18px;
    background: var(--forest-deep);
    transform: translateY(-20px);
    opacity: 0;
    pointer-events: none;
    transition: .25s;
  }

  .main-nav.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .main-nav > a {
    padding: 14px 0;
  }

  .main-nav .button {
    margin-top: 9px;
  }

  /* Hero */
  .hero {
    padding: 125px 0 75px;
    min-height: 0;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 70px;
  }

  .hero h1 {
    font-size: clamp(44px, 12vw, 68px);
  }

  .hero-lead {
    font-size: 15px;
  }

  .hero-note {
    margin-top: 40px;
  }

  .hero-visual {
    justify-self: center;
    width: min(100%, 420px);
  }

  .hero-frame img {
    height: 450px;
  }

  .scroll-cue {
    display: none;
  }

  /* Сетки секций */
  .intro-grid,
  .locations-grid,
  .faq-grid {
    grid-template-columns: 1fr;
    gap: 45px;
  }

  .intro-copy {
    padding-top: 0;
  }

  .section-heading {
    display: block;
    margin-bottom: 35px;
  }

  .section-heading > p {
    margin-top: 22px;
  }

  /* Преимущества */
  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .feature-card {
    min-height: 260px;
  }

  .feature-icon {
    margin-bottom: 35px;
  }

  .locations-grid,
  .faq-grid {
    gap: 45px;
  }

  /* Подвал */
  .footer-inner {
    gap: 18px;
    flex-wrap: wrap;
  }

  .footer p {
    order: 3;
    width: 100%;
  }
}


/* ============================================================
   15. АДАПТИВ: МОБИЛЬНЫЕ (≤500px)
   ============================================================ */
@media (max-width: 500px) {
  .container {
    width: calc(100% - 32px);
  }

  /* Hero */
  .hero-actions {
    align-items: flex-start;
    flex-direction: column;
    gap: 21px;
  }

  .hero-frame {
    margin-left: 13px;
  }

  .hero-frame img {
    height: 390px;
  }

  .price-badge {
    left: -14px;
    bottom: 24px;
  }

  .hero-caption {
    right: -9px;
  }

  /* Преимущества */
  .feature-grid {
    grid-template-columns: 1fr;
  }

  .feature-card {
    min-height: 220px;
  }

  .feature-icon {
    margin-bottom: 25px;
  }

  /* Локации */
  .location-item {
    grid-template-columns: 33px 1fr 16px;
    gap: 10px;
  }

  .location-item h3 {
    font-size: 18px;
  }

  /* FAQ */
  .accordion-item button {
    font-size: 18px;
    gap: 20px;
  }

  /* Контакты */
  .contact {
    padding: 85px 0;
  }

  .contact h2 {
    font-size: 45px;
  }

  /* Подвал */
  .footer-inner {
    justify-content: center;
    text-align: center;
  }

  .footer .back-top {
    display: none;
  }
}