@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@500;600;700&family=Lora:wght@400;500;600;700&display=swap');

/* ===== White Valley Hotels & Resorts — фирменная тема гостевого сайта =====
   Источник: brand-brief.md (реальные данные с whitevalleyhotels.com)
   Цвета: тёмная бирюза #0A738C (основной), бежевый #B8AD97 (акцент), серые #54595F/#7A7A7A
   Шрифты: Playfair Display (заголовки), Lora (текст/UI)
   Визуальный язык обновлён под референс Stitch: мягкие многослойные тени, крупные скругления, pill-кнопки/бейджи */

:root {
  --ink: #2b2e33;
  --ink-soft: #7a7a7a;
  --ink-faint: #a7a7a7;
  --bg: #f7f6f3;
  --surface: #ffffff;
  --line: #e6e2d8;

  --primary: #0a738c;
  --primary-dark: #09677d;
  --primary-soft: #e3f0f2;

  --accent: #b8ad97;
  --accent-dark: #9c8f74;
  --accent-soft: #f3efe6;

  --included: #4a8a5a;
  --included-soft: #eaf3ec;
  --paid: #9c8f74;
  --paid-soft: #f3efe6;

  --radius-xl: 28px; --radius-lg: 22px; --radius-md: 16px; --radius-sm: 10px;
  --shadow-sm: 0 1px 2px rgba(10,26,61,0.04), 0 3px 8px rgba(10,26,61,0.06);
  --shadow: 0 2px 6px rgba(10,26,61,0.05), 0 14px 32px rgba(10,26,61,0.09);
  --shadow-lg: 0 4px 10px rgba(10,26,61,0.08), 0 30px 64px rgba(10,26,61,0.18);
  --sp-1:4px;--sp-2:8px;--sp-3:12px;--sp-4:16px;--sp-5:20px;--sp-6:24px;--sp-7:32px;--sp-8:48px;--sp-9:64px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin:0; background:var(--bg); color:var(--ink); font-family:"Lora",Georgia,serif; line-height:1.6; -webkit-font-smoothing:antialiased; }
img, svg { max-width:100%; display:block; }
a { color:inherit; }
h1,h2,h3,h4 { margin:0; font-family:"Playfair Display",Georgia,serif; font-weight:600; letter-spacing:0; }
p { margin:0; }
* { min-width:0; }

.container { max-width:1280px; margin:0 auto; padding:0 var(--sp-7); }
@media (max-width:680px){ .container{ padding:0 var(--sp-4);} }

.topnav { position: sticky; top:0; z-index:50; background: rgba(255,255,255,0.96); backdrop-filter: blur(8px); border-bottom:1px solid var(--line); }
.topnav .container { display:flex; align-items:center; justify-content:space-between; height:82px; gap: var(--sp-6); }
.brand { display:flex; align-items:center; gap:12px; }
.brand .mark { background:#0a738c; border-radius:8px; padding:8px 12px; display:flex; align-items:center; flex-shrink:0; }
.brand .mark img { height:26px; }
.nav-links { display:flex; gap:var(--sp-6); font-weight:500; font-size:13.5px; letter-spacing:.02em; }
.nav-links a { text-decoration:none; padding:10px 0; border-bottom:2px solid transparent; color:var(--ink-soft); white-space:nowrap; }
.nav-links a.active,.nav-links a:hover { color:var(--primary); border-color:var(--accent); }
.nav-right { display:flex; align-items:center; gap:var(--sp-3); flex-shrink:0; }
.lang-switch { display:flex; align-items:center; gap:6px; font-size:12.5px; font-weight:600; color:var(--ink-soft); border:1.5px solid var(--line); border-radius:999px; padding:6px 12px; white-space:nowrap; }
.avatar { width:40px; height:40px; border-radius:50%; flex-shrink:0; background:var(--primary-soft); color:var(--primary-dark); display:flex; align-items:center; justify-content:center; font-weight:700; font-size:13px; }
@media (max-width:980px){ .nav-links{ display:none; } }

.btn { display:inline-flex; align-items:center; justify-content:center; gap:8px; padding:13px 24px; border-radius:999px; font-weight:600; font-size:14px; font-family:"Lora",serif; border:none; cursor:pointer; text-decoration:none; white-space:nowrap; transition:transform .12s ease, box-shadow .12s ease, background .12s ease; }
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: scale(0.97); }
.btn-primary { background:var(--primary); color:#fff; box-shadow:0 8px 20px rgba(10,115,140,0.28); }
.btn-primary:hover { background:var(--primary-dark); }
.btn-accent { background:var(--accent); color:#3a3226; box-shadow:0 8px 20px rgba(184,173,151,0.35); }
.btn-accent:hover { background:var(--accent-dark); color:#fff; }
.btn-outline { background:#fff; border:1.5px solid var(--line); color:var(--ink); }
.btn-outline:hover { border-color:var(--ink); }
.btn-light { background:rgba(255,255,255,0.16); border:1.5px solid rgba(255,255,255,0.5); color:#fff; }
.btn-light:hover { background:rgba(255,255,255,0.26); }
.btn-sm { padding:9px 16px; font-size:13px; }
.btn-block { width:100%; }

.badge { display:inline-flex; align-items:center; gap:4px; white-space:nowrap; padding:5px 12px; border-radius:999px; font-size:10.5px; font-weight:700; text-transform:uppercase; letter-spacing:.04em; font-family:"Lora",serif; }
.badge-included { background:var(--included-soft); color:var(--included); }
.badge-paid { background:var(--paid-soft); color:#7a6a4a; }
.badge-neutral { background:#eee; color:var(--ink-soft); }

.card { background:var(--surface); border-radius:var(--radius-lg); box-shadow:var(--shadow); overflow:hidden; transition:transform .15s ease, box-shadow .15s ease; border:1px solid var(--line); display:flex; flex-direction:column; height:100%; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.card-body { padding: var(--sp-5); display:flex; flex-direction:column; flex:1; }
.card-title { font-family:"Playfair Display",serif; font-size:16.5px; font-weight:600; margin-bottom:6px; line-height:1.3; }
.card-meta { font-size:13px; color:var(--ink-soft); margin-bottom:10px; }
.card-foot { display:flex; align-items:center; justify-content:space-between; gap:10px; margin-top:auto; padding-top:var(--sp-4); }
.price { font-family:"Playfair Display",serif; font-size:17px; font-weight:600; white-space:nowrap; }

.photo { height:168px; flex-shrink:0; background-size:cover; background-position:center; position:relative; }
.photo > .badge { position:absolute; top:10px; left:10px; box-shadow:0 2px 8px rgba(0,0,0,.18); }
.photo-sea      { background: linear-gradient(180deg,rgba(0,0,0,.05),rgba(0,0,0,.35)), url('assets/photos/hero.webp') center/cover; }
.photo-dive     { background: linear-gradient(180deg,rgba(0,0,0,.05),rgba(0,0,0,.35)), url('assets/photos/diving.jpg') center/cover; }
.photo-pool     { background: linear-gradient(180deg,rgba(0,0,0,.05),rgba(0,0,0,.35)), url('assets/photos/aquapark.webp') center/cover; }
.photo-kids     { background: linear-gradient(180deg,rgba(0,0,0,.05),rgba(0,0,0,.35)), url('assets/photos/kids.webp') center/cover; }
.photo-billiard { background: linear-gradient(180deg,rgba(0,0,0,.05),rgba(0,0,0,.35)), url('assets/photos/billiard.webp') center/cover; }
.photo-bar      { background: linear-gradient(180deg,rgba(0,0,0,.05),rgba(0,0,0,.35)), url('assets/photos/dining.webp') center/cover; }
.photo-map      { background: linear-gradient(180deg,rgba(0,0,0,.05),rgba(0,0,0,.35)), url('assets/photos/hero.webp') center/cover; }
.photo-room     { background: linear-gradient(180deg,rgba(0,0,0,.05),rgba(0,0,0,.35)), url('assets/photos/hero.webp') center/cover; }

.grid { display:grid; gap: var(--sp-6); }
.grid-2 { grid-template-columns: repeat(2,1fr); }
.grid-3 { grid-template-columns: repeat(3,1fr); }
.grid-4 { grid-template-columns: repeat(4,1fr); }
@media (max-width:1080px){ .grid-3,.grid-4 { grid-template-columns: repeat(2,1fr);} }
@media (max-width:680px){ .grid-2,.grid-3,.grid-4 { grid-template-columns: 1fr; gap: var(--sp-4);} }

.hero { border-radius: var(--radius-xl); background: linear-gradient(120deg, rgba(5,46,56,.68) 0%, rgba(10,115,140,.55) 55%, rgba(79,184,201,.45) 130%), url('assets/photos/hero.webp') center/cover; color:#fff; padding: var(--sp-9) var(--sp-8); position:relative; overflow:hidden; }
.hero-glow { position:absolute; border-radius:50%; filter:blur(2px); pointer-events:none; }
.hero-glow.g1 { width:340px; height:340px; right:-100px; top:-120px; background: rgba(255,255,255,0.10); }
.hero-glow.g2 { width:220px; height:220px; left:-60px; bottom:-100px; background: rgba(184,173,151,0.35); }
.hero-content { position:relative; z-index:1; }
.hero-eyebrow { font-family:"Lora",serif; font-size:12.5px; font-weight:600; text-transform:uppercase; letter-spacing:.14em; opacity:.85; margin-bottom:var(--sp-3); }
.hero h1 { font-size: clamp(24px,3.4vw,38px); max-width:640px; margin-bottom:var(--sp-3); line-height:1.2; }
.hero p.lead { font-family:"Lora",serif; font-size:15.5px; max-width:560px; opacity:.92; margin-bottom:var(--sp-6); }
.hero-stats { display:flex; gap:var(--sp-3); flex-wrap:wrap; margin-top:var(--sp-2); }
.hero-stat { background: rgba(255,255,255,0.14); border:1px solid rgba(255,255,255,0.28); border-radius:999px; padding:8px 16px; font-size:13px; font-weight:600; white-space:nowrap; }
@media (max-width:680px){ .hero{ padding: var(--sp-7) var(--sp-5); border-radius: var(--radius-lg);} }

.section { padding: var(--sp-8) 0; }
.section-head { display:flex; align-items:flex-end; justify-content:space-between; gap:var(--sp-4); margin-bottom:var(--sp-6); flex-wrap:wrap; }
.section-head h2 { font-size:24px; }
.section-head .subtitle { color:var(--ink-soft); font-size:14px; margin-top:6px; }
.page-title { font-size: clamp(24px,3vw,32px); margin-bottom:6px; }

.chip-row { display:flex; gap:var(--sp-2); flex-wrap:wrap; }
.chip { padding:9px 18px; border-radius:999px; border:1.5px solid var(--line); font-size:13px; font-weight:600; color:var(--ink-soft); cursor:pointer; background:#fff; white-space:nowrap; }
.chip.active { background: var(--primary); color:#fff; border-color:var(--primary); }

.footer { background:#0a1a3d; color: rgba(255,255,255,0.72); padding: var(--sp-8) 0 var(--sp-5); margin-top: var(--sp-7); }
.footer .container { display:flex; justify-content:space-between; flex-wrap:wrap; gap: var(--sp-7); }
.footer h4 { color:#fff; font-family:"Playfair Display",serif; font-size:14.5px; margin-bottom:var(--sp-4); }
.footer ul { list-style:none; margin:0; padding:0; font-size:13px; }
.footer li { margin-bottom:8px; }
.footer-bottom { border-top:1px solid rgba(255,255,255,0.12); margin-top:var(--sp-7); padding-top:var(--sp-4); font-size:12px; color: rgba(255,255,255,0.5); }
.footer-bottom .container { justify-content:space-between; flex-wrap:wrap; gap:var(--sp-2); }

.flex{display:flex;} .items-center{align-items:center;} .justify-between{justify-content:space-between;} .flex-wrap{flex-wrap:wrap;}
.gap-8{gap:8px;} .gap-12{gap:12px;} .gap-16{gap:16px;} .gap-24{gap:24px;}
.muted{color:var(--ink-soft);} .small{font-size:13px;}
.mt-8{margin-top:8px;} .mt-16{margin-top:16px;} .mt-24{margin-top:24px;} .mt-32{margin-top:32px;}
.mb-8{margin-bottom:8px;} .mb-16{margin-bottom:16px;} .mb-24{margin-bottom:24px;}

.mock-frame-label { max-width:1280px; margin:0 auto; padding:14px 32px 0; display:flex; align-items:center; justify-content:space-between; gap:var(--sp-4); flex-wrap:wrap; font-family:"Lora",serif; }
.mock-frame-label .tag { display:inline-flex; align-items:center; gap:8px; font-size:11px; font-weight:800; text-transform:uppercase; letter-spacing:.05em; color:var(--ink-faint); }
.mock-frame-label .tag .dot { width:7px; height:7px; border-radius:50%; background:var(--accent); }
.mock-frame-label a { font-size:12.5px; font-weight:700; color:var(--primary); text-decoration:none; }

/* Мобильный телефонный кадр */
.phone-stage { display:flex; flex-wrap:wrap; gap:var(--sp-8); justify-content:center; padding:var(--sp-8) var(--sp-6) var(--sp-9); background:var(--bg); }
.phone { width:375px; height:812px; border-radius:46px; background:#111; padding:14px; box-shadow: var(--shadow-lg); flex-shrink:0; position:relative; }
.phone-screen { width:100%; height:100%; background:var(--surface); border-radius:34px; overflow-y:auto; overflow-x:hidden; position:relative; font-family:"Lora",serif; }
.phone-notch { position:absolute; top:14px; left:50%; transform:translateX(-50%); width:120px; height:24px; background:#111; border-radius:0 0 16px 16px; z-index:30; }
.status-bar { display:flex; align-items:center; justify-content:space-between; padding:14px 22px 4px; font-size:13px; font-weight:700; }
.m-container { padding:0 18px; }
.m-topbar { display:flex; align-items:center; justify-content:space-between; padding:10px 18px 14px; }
.m-hero { border-radius: var(--radius-lg); background: linear-gradient(120deg, rgba(5,46,56,.68) 0%, rgba(10,115,140,.55) 55%, rgba(79,184,201,.45) 130%), url('assets/photos/hero.webp') center/cover; color:#fff; padding:22px; position:relative; overflow:hidden; }
.m-hero::before { content:''; position:absolute; width:140px; height:140px; border-radius:50%; background:rgba(255,255,255,.14); top:-50px; right:-30px; pointer-events:none; }
.m-hero::after { content:''; position:absolute; width:110px; height:110px; border-radius:50%; background:rgba(0,0,0,.10); bottom:-40px; left:-20px; pointer-events:none; }
.m-hero > * { position:relative; z-index:1; }
.m-hero h1 { font-size:19px; margin-bottom:6px; }
.m-hero p { font-size:13px; opacity:.92; }
.m-section { padding:20px 0; }
.m-section-title { font-family:"Playfair Display",serif; font-size:15px; font-weight:600; margin-bottom:12px; }
.m-grid-2 { display:grid; grid-template-columns:1fr 1fr; gap:12px; }
.m-card { background:#fff; border:1px solid var(--line); border-radius:var(--radius-md); overflow:hidden; box-shadow: var(--shadow-sm); transition: transform .12s ease, box-shadow .12s ease; }
.m-card:active { transform: scale(0.97); }
.m-card .photo { height:96px; font-size:26px; }
.m-card .card-body { padding:12px; }
.m-card .card-title { font-size:13px; margin-bottom:3px; }
.m-card .card-meta { font-size:11px; margin-bottom:6px; }
.m-list-card { display:flex; gap:12px; background:#fff; border:1px solid var(--line); border-radius:var(--radius-md); padding:12px; margin-bottom:12px; align-items:center; }
.m-list-card .thumb { width:56px; height:56px; border-radius:10px; flex-shrink:0; display:flex; align-items:center; justify-content:center; font-size:22px; color:#fff; }
.tabbar { position:sticky; bottom:0; left:0; right:0; background:#fff; border-top:1px solid var(--line); display:flex; justify-content:space-around; align-items:center; padding:10px 8px 10px; z-index:20; }
.tabbar .tab { display:flex; flex-direction:column; align-items:center; gap:4px; font-size:10px; font-weight:700; color:var(--ink-faint); flex:1; text-decoration:none; }
.tabbar .tab .ic { font-size:21px; padding:4px 14px; border-radius:999px; transition: background .15s ease; }
.tabbar .tab .ic svg { width:21px; height:21px; display:block; }
.tabbar .tab.active { color:var(--primary); }
.tabbar .tab.active .ic { background: var(--primary-soft); }
.pay-opt svg { width:16px; height:16px; vertical-align:-3px; margin-right:2px; }
.phone-caption { text-align:center; font-weight:600; font-family:"Playfair Display",serif; font-size:14px; color:var(--ink-soft); margin-top:var(--sp-4); }

.map-fab { position:absolute; bottom:14px; right:14px; width:40px; height:40px; border-radius:50%; background:#fff; border:none; box-shadow:var(--shadow); display:flex; align-items:center; justify-content:center; cursor:pointer; color:var(--ink); padding:0; z-index:2; }
.map-fab svg { width:19px; height:19px; }
.map-fab:active { transform:scale(0.92); }
