    :root {
      color-scheme: light;
      --bg: #f2efe7;
      --surface: #e8e5dc;
      --surface-strong: #dedbd0;
      --text: #202b25;
      --muted: #68736a;
      --line: rgba(32,43,37,.16);
      --accent: #a65d3e;
      --accent-strong: #87472f;
      --accent-soft: #ead6c8;
      --pine: #34483d;
      --hero-overlay: linear-gradient(90deg, rgba(14,24,20,.77) 0%, rgba(14,24,20,.48) 48%, rgba(14,24,20,.12) 100%);
      --shadow: 0 22px 60px rgba(28,37,31,.12);
      --card-shadow: 0 12px 35px rgba(28,37,31,.09);
      --radius: 22px;
      
      --glass-bg: rgba(255, 255, 255, 0.12);
      --glass-border: rgba(255, 255, 255, 0.22);
      --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.25);
    }
    html[data-theme="dark"] {
      color-scheme: dark;
      --bg: #17211c;
      --surface: #202d25;
      --surface-strong: #29382f;
      --text: #f0eee6;
      --muted: #b4beb4;
      --line: rgba(240,238,230,.16);
      --accent: #d18a63;
      --accent-strong: #e5a27c;
      --accent-soft: #49372d;
      --pine: #263a30;
      --hero-overlay: linear-gradient(90deg, rgba(7,14,11,.82) 0%, rgba(7,14,11,.57) 48%, rgba(7,14,11,.2) 100%);
      --shadow: 0 22px 60px rgba(0,0,0,.3);
      --card-shadow: 0 12px 35px rgba(0,0,0,.22);

      --glass-bg: rgba(0, 0, 0, 0.35);
      --glass-border: rgba(255, 255, 255, 0.12);
    }
    * { box-sizing: border-box; }
    html { scroll-behavior: smooth; scroll-padding-top: 90px; }
    body { margin: 0; background: var(--bg); color: var(--text); font-family: "Manrope", sans-serif; transition: background .35s ease, color .35s ease; }
    a { color: inherit; text-decoration: none; }
    button { font: inherit; }
    img { display: block; max-width: 100%; }
    .wrap { width: min(1220px, calc(100% - 56px)); margin: 0 auto; }
    .header { position: absolute; z-index: 20; top: 0; left: 0; width: 100%; color: #fff; border-bottom: 1px solid rgba(255,255,255,.22); }
    .header-inner { min-height: 88px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
    .brand { display: inline-flex; align-items: center; gap: 11px; min-width: 190px; }
    .brand-mark { width: 42px; height: 42px; border: 1px solid rgba(255,255,255,.72); border-radius: 50%; display: grid; place-items: center; font-family: "Cormorant Garamond", serif; font-size: 29px; line-height: 1; }
    .brand-name { font-size: 12px; line-height: 1.15; letter-spacing: .2em; font-weight: 800; }
    .brand-name span { display: block; font-size: 9px; letter-spacing: .34em; font-weight: 500; margin-top: 4px; opacity: .78; }
    .nav { display: flex; align-items: center; gap: clamp(18px, 3vw, 42px); }
    .nav a, .header-phone { font-size: 12px; letter-spacing: .09em; text-transform: uppercase; opacity: .9; transition: opacity .2s; }
    .nav a:hover, .header-phone:hover { opacity: .62; }
    .header-right { display: flex; align-items: center; gap: 22px; }
    .header-phone { white-space: nowrap; font-size: 13px; letter-spacing: .02em; text-transform: none; }
    .theme-toggle, .menu-toggle { border: 1px solid rgba(255,255,255,.55); background: rgba(255,255,255,.1); color: #fff; width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; cursor: pointer; transition: background .2s, transform .2s; }
    .theme-toggle:hover, .menu-toggle:hover { background: rgba(255,255,255,.24); transform: rotate(8deg); }
    .theme-toggle svg { width: 18px; height: 18px; }
    .menu-toggle { display: none; }
    .hero { min-height: 790px; min-height: min(850px, 100svh); position: relative; display: flex; align-items: center; overflow: hidden; color: #fff; background: #26372e; }
    .hero-bg { position: absolute; inset: 0; background-image: var(--hero-overlay), url("images/hero.png"); background-size: cover; background-position: center 52%; transform: scale(1.015); }
    .hero-content { position: relative; z-index: 2; width: min(1220px, calc(100% - 56px)); margin: 100px auto 40px; }
    .eyebrow { display: flex; align-items: center; gap: 12px; color: rgba(255,255,255,.82); letter-spacing: .2em; font-size: 10px; font-weight: 700; text-transform: uppercase; margin-bottom: 26px; }
    .eyebrow:before { content: ""; width: 38px; height: 1px; background: #d69a70; }
    h1, h2, h3, p { margin-top: 0; }
    h1 { max-width: 800px; font-size: clamp(42px, 6.2vw, 82px); line-height: .98; letter-spacing: -.055em; font-weight: 800; margin-bottom: 24px; }
    h1 em, h2 em { font-family: "Cormorant Garamond", serif; font-weight: 600; letter-spacing: -.025em; }
    .hero-lead { max-width: 520px; font-size: clamp(16px, 1.8vw, 21px); line-height: 1.55; color: rgba(255,255,255,.86); margin-bottom: 30px; }
    .hero-actions { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; margin-bottom: 45px; }
    .btn { display: inline-flex; align-items: center; justify-content: center; gap: 20px; min-height: 56px; padding: 0 27px; border-radius: 999px; background: #b96e4b; color: #fff; font-size: 12px; letter-spacing: .1em; font-weight: 800; text-transform: uppercase; border: 1px solid #b96e4b; transition: transform .2s, background .2s; }
    .btn:hover { transform: translateY(-3px); background: #9f583b; }
    .btn .arrow { font-size: 19px; font-weight: 400; }
    .hero-secondary { color: #fff; border-bottom: 1px solid rgba(255,255,255,.65); padding: 8px 0; font-size: 13px; }

    /* Стеклянные плашки */
    .hero-stats {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 16px;
      margin-top: 40px;
    }
    .hero-stat {
      background: var(--glass-bg);
      backdrop-filter: blur(14px);
      -webkit-backdrop-filter: blur(14px);
      border: 1px solid var(--glass-border);
      border-radius: 20px;
      padding: 22px 20px;
      box-shadow: var(--glass-shadow);
      display: flex;
      flex-direction: column;
      justify-content: space-between;
      transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1), background 0.3s, border-color 0.3s;
    }
    .hero-stat:hover {
      transform: translateY(-5px);
      background: rgba(255, 255, 255, 0.18);
      border-color: rgba(255, 255, 255, 0.4);
    }
    .hero-stat strong {
      font-size: clamp(26px, 3.2vw, 38px);
      font-weight: 800;
      line-height: 1;
      letter-spacing: -.03em;
      color: #fff;
      margin-bottom: 10px;
      display: block;
    }
    .hero-stat span {
      font-size: 12px;
      line-height: 1.45;
      color: rgba(255, 255, 255, 0.85);
      font-weight: 500;
    }
    .hero-stat-accent {
      background: rgba(185, 110, 75, 0.25);
      border-color: rgba(214, 154, 112, 0.4);
    }
    .hero-stat-accent strong {
      color: #f3d4bd;
    }

    .hero-bottom { display: flex; justify-content: space-between; align-items: end; gap: 20px; margin-top: 50px; }
    .hero-note { display: flex; gap: 12px; align-items: center; font-size: 12px; color: rgba(255,255,255,.8); }
    .hero-note i { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: #d99a71; box-shadow: 0 0 0 5px rgba(217,154,113,.2); }
    .hero-index { color: rgba(255,255,255,.62); font-size: 10px; letter-spacing: .18em; }
    .section { padding: 112px 0; }
    .section-kicker { display: flex; align-items: center; gap: 14px; color: var(--accent); font-size: 10px; font-weight: 800; letter-spacing: .2em; text-transform: uppercase; margin-bottom: 24px; }
    .section-kicker:before { content: ""; width: 28px; height: 1px; background: currentColor; }
    .section-kicker span { margin-left: auto; color: var(--muted); font-weight: 600; letter-spacing: .12em; }
    .section-head { display: grid; grid-template-columns: 1.1fr .7fr; align-items: end; gap: 50px; margin-bottom: 48px; }
    h2 { font-size: clamp(38px, 5.2vw, 66px); line-height: .98; letter-spacing: -.055em; margin-bottom: 0; font-weight: 800; }
    h2 em { color: var(--accent); }
    .section-head > p { max-width: 430px; margin: 0 0 5px auto; color: var(--muted); line-height: 1.8; font-size: 14px; }
    
    .features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
    .feature { min-height: 245px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; position: relative; overflow: hidden; transition: transform .25s, background .35s; }
    .feature:hover { transform: translateY(-6px); }
    .feature-num { color: var(--muted); font-size: 10px; letter-spacing: .14em; }
    .feature-icon { width: 45px; height: 45px; margin: 30px 0 24px; display: grid; place-items: center; border-radius: 50%; background: var(--accent-soft); color: var(--accent); font-size: 21px; }
    .feature h3 { font-size: 17px; margin-bottom: 10px; letter-spacing: -.03em; }
    .feature p { color: var(--muted); font-size: 12px; line-height: 1.7; margin: 0; }

    /* Увеличенный блок галереи (Атмосфера) — Большие фото на десктопе */
    .gallery { background: var(--pine); color: #f4f1e9; }
    .gallery .section-kicker { color: #d79b75; }
    .gallery .section-kicker span { color: rgba(244,241,233,.55); }
    .gallery .section-head > p { color: rgba(244,241,233,.7); }
    
    .gallery-grid {
      display: grid;
      grid-template-columns: repeat(3, minmax(0, 1fr));
      grid-auto-rows: 300px;
      gap: 20px;
    }
    .gallery-item { overflow: hidden; border-radius: 24px; position: relative; background: #53665a; box-shadow: 0 16px 40px rgba(0,0,0,.25); }
    .gallery-item { min-width: 0; }
    .gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2,.7,.2,1); }
    .gallery-item:hover img { transform: scale(1.06); }
    .gallery-item:after { content: ""; position: absolute; inset: 40% 0 0; background: linear-gradient(transparent, rgba(0,0,0,.5)); pointer-events: none; }
    .gallery-caption { position: absolute; z-index: 1; bottom: 24px; left: 24px; font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: #fff; font-weight: 700; }

    /* Мобильная галерея (скрыта на ПК, включается на мобильных) */
    .mobile-gallery-slider { display: none; }

    /* Блок: Домики и характеристики */
    .houses-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
    .house-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: transform .3s, box-shadow .3s; }
    .house-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
    .house-img-wrap { height: 240px; position: relative; overflow: hidden; }
    .house-img-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
    .house-card:hover .house-img-wrap img { transform: scale(1.05); }
    .house-content { padding: 28px; display: flex; flex-direction: column; flex-grow: 1; justify-content: space-between; }
    .house-title { font-size: 22px; font-weight: 800; letter-spacing: -.03em; margin-bottom: 12px; font-family: "Cormorant Garamond", serif; }
    .house-specs { list-style: none; padding: 0; margin: 0 0 24px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 16px 0; }
    .house-specs li { display: flex; justify-content: space-between; font-size: 13px; color: var(--muted); margin-bottom: 10px; }
    .house-specs li:last-child { margin-bottom: 0; }
    .house-specs strong { color: var(--text); font-weight: 600; }
    .house-footer { display: flex; align-items: center; justify-content: space-between; gap: 15px; margin-top: auto; }
    .house-price { font-size: 18px; font-weight: 800; color: var(--accent); }
    .house-price span { font-size: 11px; font-weight: 500; color: var(--muted); display: block; }
    .house-btn { min-height: 44px; padding: 0 20px; font-size: 11px; }

    .about-grid { display: grid; grid-template-columns: .95fr 1fr; gap: clamp(40px, 8vw, 110px); align-items: center; }
    .about-photo { position: relative; min-height: 530px; }
    .about-photo img { position: absolute; inset: 0; width: 88%; height: 92%; object-fit: cover; border-radius: 180px 180px 18px 18px; box-shadow: var(--shadow); }
    .about-photo:after { content: "АРХЫЗ · КЧР"; position: absolute; right: 0; bottom: 0; width: 160px; height: 160px; display: grid; place-items: center; border-radius: 50%; background: var(--accent); color: #fff; font-size: 11px; font-weight: 800; letter-spacing: .14em; border: 8px solid var(--bg); }
    .about-copy h2 { margin-bottom: 25px; }
    .about-copy > p { color: var(--muted); font-size: 14px; line-height: 1.9; max-width: 520px; }
    .about-sign { margin-top: 35px; padding-top: 20px; border-top: 1px solid var(--line); color: var(--muted); font-size: 11px; letter-spacing: .13em; text-transform: uppercase; }
    .about-sign strong { display: block; color: var(--text); font-family: "Cormorant Garamond", serif; font-size: 31px; letter-spacing: 0; text-transform: none; margin-top: 5px; }
    .reviews { background: var(--surface); overflow: hidden; }
    .reviews .section-head { margin-bottom: 42px; }
    .rating-line { display: flex; align-items: center; gap: 12px; margin-top: 18px; color: var(--muted); font-size: 12px; }
    .stars { color: #d18a43; letter-spacing: .14em; font-size: 16px; white-space: nowrap; }
    .orbit-stage { position: relative; min-height: 390px; display: flex; align-items: center; justify-content: center; perspective: 1200px; }
    .orbit-stage:before, .orbit-stage:after { content: ""; position: absolute; border: 1px solid var(--line); border-radius: 50%; width: 620px; height: 260px; transform: rotate(-9deg); pointer-events: none; }
    .orbit-stage:after { width: 760px; height: 330px; transform: rotate(9deg); opacity: .55; }
    .review-card { position: absolute; width: min(590px, 78vw); min-height: 290px; padding: 34px 38px; border-radius: 24px; background: var(--bg); border: 1px solid var(--line); box-shadow: var(--card-shadow); display: flex; flex-direction: column; justify-content: space-between; opacity: 0; transform: translateX(100px) scale(.82) rotateY(-18deg); transition: transform .55s cubic-bezier(.2,.7,.2,1), opacity .55s, background .35s; pointer-events: none; }
    .review-card.active { opacity: 1; transform: translateX(0) scale(1) rotateY(0); z-index: 3; pointer-events: auto; }
    .review-card.prev { opacity: .36; transform: translateX(-74%) scale(.78) rotateY(18deg); z-index: 2; }
    .review-card.next { opacity: .36; transform: translateX(74%) scale(.78) rotateY(-18deg); z-index: 2; }
    .review-top { display: flex; justify-content: space-between; gap: 15px; align-items: start; }
    .review-author { font-weight: 800; font-size: 15px; margin-bottom: 5px; }
    .review-meta { color: var(--muted); font-size: 10px; line-height: 1.6; }
    .review-date { color: var(--muted); font-size: 10px; white-space: nowrap; }
    .review-text { font-size: 13px; line-height: 1.85; color: var(--muted); margin: 26px 0; }
    .review-bottom { display: flex; justify-content: space-between; align-items: center; border-top: 1px solid var(--line); padding-top: 17px; }
    .review-source { font-size: 10px; color: var(--muted); }
    .review-source a { color: var(--accent); border-bottom: 1px solid var(--accent); }
    .orbit-controls { position: relative; z-index: 5; display: flex; justify-content: center; align-items: center; gap: 18px; margin-top: 15px; }
    .round-btn { width: 44px; height: 44px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; color: var(--text); background: var(--bg); cursor: pointer; transition: .2s; }
    .round-btn:hover { background: var(--accent); border-color: var(--accent); color: #fff; }
    .orbit-dots { display: flex; gap: 7px; align-items: center; }
    .orbit-dot { width: 6px; height: 6px; padding: 0; border: 0; border-radius: 20px; background: var(--muted); opacity: .4; cursor: pointer; transition: .25s; }
    .orbit-dot.active { width: 23px; opacity: 1; background: var(--accent); }
    .faq-layout { display: grid; grid-template-columns: .8fr 1.2fr; gap: 90px; }
    .faq-intro h2 { margin-bottom: 22px; }
    .faq-intro p { max-width: 300px; color: var(--muted); line-height: 1.8; font-size: 13px; }
    .faq-list details { border-bottom: 1px solid var(--line); }
    .faq-list summary { list-style: none; cursor: pointer; padding: 23px 0; display: flex; justify-content: space-between; gap: 20px; align-items: center; font-size: 15px; font-weight: 700; }
    .faq-list summary::-webkit-details-marker { display: none; }
    .faq-list summary span { color: var(--accent); font-size: 22px; font-weight: 400; transition: transform .2s; }
    .faq-list details[open] summary span { transform: rotate(45deg); }
    .faq-list details p { color: var(--muted); font-size: 13px; line-height: 1.8; max-width: 650px; padding: 0 35px 20px 0; margin: 0; }
    .contact { background: var(--accent); color: #fff; position: relative; overflow: hidden; }
    .contact:before, .contact:after { content: ""; position: absolute; border: 1px solid rgba(255,255,255,.2); border-radius: 50%; width: 520px; height: 520px; right: -110px; top: -170px; }
    .contact:after { width: 700px; height: 700px; right: -205px; top: -260px; }
    .contact .section-kicker { color: rgba(255,255,255,.75); }
    .contact .section-kicker span { color: rgba(255,255,255,.58); }
    .contact-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr .7fr; gap: 60px; align-items: end; }
    .contact h2 { font-size: clamp(50px, 7vw, 88px); }
    .contact h2 em { color: #f3d4bd; }
    .contact-copy { max-width: 430px; color: rgba(255,255,255,.82); font-size: 14px; line-height: 1.8; margin: 25px 0 30px; }
    .contact .btn { background: #f2e9dd; border-color: #f2e9dd; color: #593a2c; }
    .contact .btn:hover { background: #fff; }
    .contact-details { border-top: 1px solid rgba(255,255,255,.3); padding-top: 22px; }
    .contact-label { color: rgba(255,255,255,.65); font-size: 10px; letter-spacing: .16em; text-transform: uppercase; margin-bottom: 9px; }
    .contact-phone { display: inline-block; font-size: clamp(22px, 3vw, 31px); font-weight: 700; letter-spacing: -.04em; margin-bottom: 25px; }
    .contact-address { color: rgba(255,255,255,.9); font-size: 13px; line-height: 1.7; }
    .contact-address a { border-bottom: 1px solid rgba(255,255,255,.55); }
    .footer { padding: 25px 0; background: var(--bg); color: var(--muted); }
    .footer-inner { display: flex; justify-content: space-between; align-items: center; gap: 20px; font-size: 10px; }
    .footer .brand { color: var(--text); min-width: 0; }
    .footer .brand-mark { border-color: var(--line); }
    .footer .brand-name span { color: var(--muted); }
    .footer-credit a { color: var(--accent); }
    .mobile-cta { display: none; }

    @media (max-width: 900px) {
      .nav { gap: 16px; }
      .nav a { font-size: 10px; }
      .brand { min-width: auto; }
      .header-phone { display: none; }
      .features { grid-template-columns: repeat(2, 1fr); }
      .hero-stats { grid-template-columns: repeat(2, 1fr); gap: 12px; }
      .houses-grid { grid-template-columns: 1fr; }
      
      /* Переключение на мобильный слайдер галереи */
      .gallery-grid { display: none; }
      .mobile-gallery-slider { display: block; position: relative; }
      .mg-track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; -webkit-overflow-scrolling: touch; gap: 12px; padding-bottom: 10px; }
      .mg-track::-webkit-scrollbar { display: none; }
      .mg-slide { flex: 0 0 85%; scroll-snap-align: center; height: 380px; border-radius: 20px; overflow: hidden; position: relative; background: #53665a; box-shadow: 0 10px 25px rgba(0,0,0,0.3); }
      .mg-slide img { width: 100%; height: 100%; object-fit: cover; }
      .mg-slide:after { content: ""; position: absolute; inset: 40% 0 0; background: linear-gradient(transparent, rgba(0,0,0,.5)); }
      .mg-caption { position: absolute; z-index: 1; bottom: 20px; left: 20px; color: #fff; font-size: 11px; font-weight: 700; letter-spacing: .15em; text-transform: uppercase; }
      .mg-dots { display: flex; justify-content: center; gap: 6px; margin-top: 16px; }
      .mg-dot { width: 6px; height: 6px; border-radius: 50%; background: rgba(244,241,233,.3); border: none; padding: 0; transition: .3s; cursor: pointer; }
      .mg-dot.active { width: 20px; border-radius: 4px; background: #d79b75; }

      .about-grid { gap: 40px; }
      .about-photo { min-height: 430px; }
      .faq-layout { gap: 45px; }
    }
    @media (max-width: 650px) {
      .wrap, .hero-content { width: min(100% - 36px, 520px); }
      .header-inner { min-height: 72px; }
      .brand-mark { width: 36px; height: 36px; font-size: 25px; }
      .brand-name { font-size: 10px; }
      .menu-toggle { display: grid; }
      .nav { display: none; position: absolute; top: 71px; left: 0; right: 0; padding: 20px 22px 24px; background: rgba(24,35,29,.97); flex-direction: column; align-items: stretch; gap: 0; }
      .nav.open { display: flex; }
      .nav a { padding: 13px 0; border-bottom: 1px solid rgba(255,255,255,.15); font-size: 12px; }
      .header-right { gap: 10px; }
      .hero { min-height: 780px; min-height: 100svh; align-items: center; }
      .hero-bg { background-position: 58% center; }
      .hero-content { margin-top: 92px; margin-bottom: 35px; }
      .eyebrow { font-size: 9px; margin-bottom: 22px; }
      h1 { font-size: clamp(42px, 12vw, 62px); max-width: 520px; }
      .hero-lead { font-size: 15px; max-width: 380px; }
      .hero-actions { align-items: flex-start; flex-direction: column; gap: 16px; margin-bottom: 30px; }
      .btn { min-height: 53px; font-size: 10px; }
      
      .hero-stats { grid-template-columns: repeat(2, 1fr); gap: 10px; }
      .hero-stat { padding: 16px 14px; border-radius: 16px; }
      .hero-stat strong { font-size: 24px; margin-bottom: 6px; }
      .hero-stat span { font-size: 10px; line-height: 1.35; }
      
      .hero-bottom { margin-top: 40px; }
      .hero-index { display: none; }
      .section { padding: 76px 0; }
      .section-kicker { font-size: 9px; letter-spacing: .14em; }
      .section-kicker span { font-size: 8px; }
      .section-head { display: block; margin-bottom: 32px; }
      .section-head > p { margin: 20px 0 0; font-size: 13px; }
      h2 { font-size: 46px; }
      .features { gap: 10px; }
      .feature { min-height: 220px; padding: 18px; border-radius: 17px; }
      .feature-icon { margin: 23px 0 19px; }
      .feature h3 { font-size: 14px; }
      .feature p { font-size: 11px; }
      
      .mg-slide { height: 340px; flex: 0 0 90%; }
      
      .about-grid { grid-template-columns: 1fr; gap: 38px; }
      .about-photo { min-height: 390px; }
      .about-photo img { width: 90%; height: 92%; }
      .about-photo:after { width: 120px; height: 120px; font-size: 9px; }
      .about-copy > p { font-size: 13px; }
      .orbit-stage { min-height: 465px; perspective: none; }
      .orbit-stage:before { width: 360px; height: 220px; }
      .orbit-stage:after { width: 410px; height: 290px; }
      .review-card { width: calc(100% - 8px); min-height: 365px; padding: 25px 22px; transform: translateX(55px) scale(.9); }
      .review-card.prev, .review-card.next { opacity: 0; transform: translateX(0) scale(.9); }
      .review-date { font-size: 9px; }
      .review-text { font-size: 12px; line-height: 1.75; margin: 22px 0; }
      .faq-layout { grid-template-columns: 1fr; gap: 28px; }
      .faq-intro p { margin-bottom: 0; }
      .faq-list summary { font-size: 13px; padding: 20px 0; }
      .contact-grid { grid-template-columns: 1fr; gap: 38px; }
      .contact-copy { font-size: 13px; }
      .contact-details { max-width: 380px; }
      .footer-inner { flex-wrap: wrap; }
      .footer-inner > span:nth-child(2) { order: 3; width: 100%; }
      .mobile-cta { display: flex; position: fixed; z-index: 30; bottom: 12px; left: 12px; right: 12px; justify-content: center; }
      .mobile-cta a { width: 100%; box-shadow: 0 8px 30px rgba(0,0,0,.25); }
      body { padding-bottom: 72px; }
    }
    @media (prefers-reduced-motion: reduce) {
      *, *:before, *:after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; }
    }
  

/* ==========================================
   COOKIE BANNER — ГОСТЕВОЙ ДОМ «ФЕНИКС»
   ========================================== */

.cookie-banner,
.cookie-settings {
  font-family: "Manrope", sans-serif;
  color: #202b25;
}

.cookie-banner {
  position: fixed;
  z-index: 2147483647;
  left: 24px;
  right: 24px;
  bottom: 24px;
  max-width: 760px;
  margin-left: auto;
  padding: 26px 28px;
  background: #f2efe7;
  border: 1px solid rgba(52, 72, 61, .18);
  border-radius: 22px;
  box-shadow: 0 18px 65px rgba(28, 37, 31, .24);
  display: none;
  animation: cookieAppear .35s ease both;
}

.cookie-banner.is-visible {
  display: block;
}

@keyframes cookieAppear {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.cookie-banner__top {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.cookie-banner__icon {
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #ead6c8;
  color: #a65d3e;
  font-size: 19px;
}

.cookie-banner__title {
  margin: 0;
  color: #202b25;
  font-size: 19px;
  font-weight: 800;
  letter-spacing: -.035em;
}

.cookie-banner__text {
  margin: 0 0 18px;
  color: #68736a;
  font-size: 13px;
  line-height: 1.75;
}

.cookie-banner__links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 20px;
}

.cookie-banner__links a {
  color: #87472f;
  font-size: 11px;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.cookie-banner__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.cookie-btn {
  min-height: 44px;
  padding: 0 17px;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  font-family: inherit;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .025em;
  transition: .2s ease;
}

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

.cookie-btn--primary {
  background: #a65d3e;
  border-color: #a65d3e;
  color: #fff;
}

.cookie-btn--primary:hover {
  background: #87472f;
  border-color: #87472f;
}

.cookie-btn--secondary {
  background: #e8e5dc;
  border-color: #d6d1c5;
  color: #34483d;
}

.cookie-btn--secondary:hover {
  background: #dedbd0;
}

.cookie-btn--outline {
  background: transparent;
  border-color: rgba(52, 72, 61, .35);
  color: #34483d;
}

.cookie-btn--outline:hover {
  background: #e8e5dc;
}

/* Окно индивидуальных настроек */

.cookie-settings {
  position: fixed;
  z-index: 2147483647;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(24, 34, 28, .48);
}

.cookie-settings.is-visible {
  display: flex;
}

.cookie-settings__box {
  width: min(100%, 480px);
  max-height: min(85vh, 680px);
  overflow-y: auto;
  padding: 28px;
  background: #f2efe7;
  border: 1px solid rgba(52, 72, 61, .18);
  border-radius: 22px;
  box-shadow: 0 22px 70px rgba(0, 0, 0, .22);
}

.cookie-settings__title {
  margin: 0 0 10px;
  font-size: 23px;
  font-weight: 800;
  letter-spacing: -.04em;
}

.cookie-settings__intro {
  color: #68736a;
  font-size: 13px;
  line-height: 1.7;
  margin-bottom: 20px;
}

.cookie-option {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
  padding: 16px 0;
  border-top: 1px solid rgba(32, 43, 37, .13);
}

.cookie-option__name {
  display: block;
  margin-bottom: 4px;
  color: #202b25;
  font-size: 13px;
  font-weight: 800;
}

.cookie-option__description {
  display: block;
  color: #68736a;
  font-size: 11px;
  line-height: 1.55;
}

.cookie-option input {
  width: 42px;
  height: 23px;
  flex: 0 0 42px;
  appearance: none;
  background: #c9c8bd;
  border-radius: 20px;
  position: relative;
  cursor: pointer;
  transition: .2s;
}

.cookie-option input:before {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 17px;
  height: 17px;
  background: #fff;
  border-radius: 50%;
  transition: .2s;
}

.cookie-option input:checked {
  background: #a65d3e;
}

.cookie-option input:checked:before {
  transform: translateX(19px);
}

.cookie-option input:disabled {
  opacity: .65;
  cursor: not-allowed;
}

.cookie-settings__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 20px;
}

@media (max-width: 600px) {
  .cookie-banner {
    left: 12px;
    right: 12px;
    bottom: 12px;
    padding: 21px 18px;
    border-radius: 19px;
  }

  .cookie-banner__title {
    font-size: 17px;
  }

  .cookie-banner__text {
    font-size: 12px;
    margin-bottom: 14px;
  }

  .cookie-banner__actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .cookie-btn {
    padding: 0 10px;
    font-size: 10px;
  }

  .cookie-btn--primary {
    grid-column: 1 / -1;
  }

  .cookie-settings__box {
    padding: 22px 18px;
  }

  .cookie-settings__actions {
    display: grid;
    grid-template-columns: 1fr;
  }
}

html[data-theme="dark"] .cookie-banner,
html[data-theme="dark"] .cookie-settings__box {
  background: #202d25;
  color: #f0eee6;
  border-color: rgba(240, 238, 230, .16);
}

html[data-theme="dark"] .cookie-banner__title,
html[data-theme="dark"] .cookie-settings__title,
html[data-theme="dark"] .cookie-option__name {
  color: #f0eee6;
}

html[data-theme="dark"] .cookie-banner__text,
html[data-theme="dark"] .cookie-settings__intro,
html[data-theme="dark"] .cookie-option__description {
  color: #b4beb4;
}

html[data-theme="dark"] .cookie-btn--secondary {
  background: #29382f;
  border-color: rgba(240, 238, 230, .18);
  color: #f0eee6;
}

html[data-theme="dark"] .cookie-btn--outline {
  color: #f0eee6;
  border-color: rgba(240, 238, 230, .3);
}

html[data-theme="dark"] .cookie-banner__links a {
  color: #e5a27c;
}


/* Cookie notice refinements: palette follows the active site theme. */
.cookie-banner, .cookie-settings { z-index: 2147483647 !important; }
.cookie-banner { max-height: min(88vh, 680px); overflow-y: auto; }
.cookie-banner__title, .cookie-settings__title { font-family: "Manrope", sans-serif; }
.cookie-btn:focus-visible, .cookie-banner a:focus-visible, .cookie-settings a:focus-visible,
.cookie-option input:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.cookie-banner__links a:hover { opacity: .78; }
.cookie-settings__box { color: var(--text); }
html[data-theme="dark"] .cookie-option { border-color: rgba(240,238,230,.16); }
@media (max-width: 600px) {
  .cookie-banner { max-height: calc(100dvh - 24px); overflow-y: auto; }
  .cookie-banner__links { gap: 10px 14px; }
  .cookie-banner__links a { line-height: 1.5; }
}

/* =====================================
   СТРАНИЦЫ ПОЛИТИКИ И COOKIE
===================================== */

.legal-page {
    min-height: 100vh;
    padding: 0 24px 40px;
    background: var(--bg, #f7f5f0);
    color: var(--text, #25231f);
    font-family: 'Manrope', sans-serif;
}

.legal-header {
    max-width: 1160px;
    margin: 0 auto;
    min-height: 100px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    border-bottom: 1px solid var(--border, rgba(0,0,0,.12));
}

.legal-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    color: inherit;
    text-decoration: none;
}

.legal-logo-mark {
    width: 43px;
    height: 43px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #b58c69;
    color: #b58c69;
    font-family: 'Cormorant Garamond', serif;
    font-size: 29px;
}

.legal-logo-name {
    font-family: 'Cormorant Garamond', serif;
    font-size: 21px;
    letter-spacing: 1px;
    line-height: 1.1;
}

.legal-logo-name small {
    display: block;
    margin-top: 5px;
    font-family: 'Manrope', sans-serif;
    font-size: 9px;
    letter-spacing: 2px;
}

.legal-back {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 12px 20px;
    border: 1px solid #b58c69;
    color: inherit;
    text-decoration: none;
    font-size: 13px;
    transition: .25s ease;
}

.legal-back:hover {
    background: #b58c69;
    color: #fff;
}

.legal-content {
    max-width: 900px;
    margin: 55px auto 70px;
    padding: 55px 65px;
    background: var(--card, #fff);
    border: 1px solid var(--border, rgba(0,0,0,.08));
    border-radius: 3px;
    box-shadow: 0 15px 50px rgba(0,0,0,.04);
    font-size: 15px;
    line-height: 1.85;
}

.legal-content h1 {
    margin: 0 0 35px;
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(32px, 5vw, 46px);
    font-weight: 500;
    line-height: 1.15;
}

.legal-content h2 {
    margin: 35px 0 15px;
    font-family: 'Cormorant Garamond', serif;
    font-size: 27px;
    font-weight: 500;
    line-height: 1.25;
}

.legal-content h3 {
    margin: 25px 0 12px;
    font-size: 17px;
    font-weight: 600;
}

.legal-content p {
    margin: 0 0 17px;
}

.legal-content ul,
.legal-content ol {
    margin: 0 0 22px;
    padding-left: 25px;
}

.legal-content li {
    margin-bottom: 9px;
    padding-left: 5px;
}

.legal-content a {
    color: #a77d5b;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.legal-footer {
    max-width: 1160px;
    margin: 0 auto;
    padding-top: 25px;
    border-top: 1px solid var(--border, rgba(0,0,0,.12));
    text-align: center;
    font-size: 12px;
    opacity: .65;
}

@media (max-width: 600px) {
    .legal-page {
        padding: 0 15px 25px;
    }

    .legal-header {
        min-height: 80px;
    }

    .legal-logo-mark {
        width: 36px;
        height: 36px;
        font-size: 25px;
    }

    .legal-logo-name {
        font-size: 17px;
    }

    .legal-logo-name small {
        font-size: 8px;
        letter-spacing: 1px;
    }

    .legal-back {
        padding: 10px 12px;
        font-size: 11px;
        white-space: nowrap;
    }

    .legal-content {
        margin: 30px auto 40px;
        padding: 30px 22px;
        font-size: 14px;
        line-height: 1.75;
    }

    .legal-content h1 {
        font-size: 32px;
        margin-bottom: 25px;
    }

    .legal-content h2 {
        font-size: 24px;
    }
}
.footer-legal {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
