:root{
  --bg:#0b1220;
  --bg2:#0f1a2f;
  --card:rgba(255,255,255,.06);
  --card2:rgba(255,255,255,.08);
  --border:rgba(255,255,255,.12);
  --text:rgba(255,255,255,.92);
  --muted:rgba(255,255,255,.72);
  --muted2:rgba(255,255,255,.56);
  --accent:#7ee081;
  --accent2:#58c7ff;
  --danger:#ff6b6b;
  --shadow:0 18px 60px rgba(0,0,0,.45);
  --radius:18px;
  --radius2:26px;
  --container:1120px;
  --focus:0 0 0 4px rgba(126,224,129,.25);

  /* Colorful backgrounds + surfaces (themeable) */
  --bg-base-1:#070c15;
  --bg-base-2:#0b1220;
  --bg-accent-a: rgba(88,199,255,.26);
  --bg-accent-b: rgba(126,224,129,.22);
  --bg-accent-c: rgba(255,183,77,.14);

  --surface: rgba(255,255,255,.06);
  --surface-2: rgba(255,255,255,.10);
  --glass: rgba(7,12,21,.72);
  --glass-2: rgba(7,12,21,.86);
  --glass-border: rgba(255,255,255,.14);

  /* Hero on top of photo (kept readable in both themes) */
  --hero-text: rgba(255,255,255,.96);
  --hero-muted: rgba(255,255,255,.88);
  --hero-kicker: rgba(255,255,255,.86);
  --hero-shadow-1: 0 2px 12px rgba(0,0,0,.45);
  --hero-shadow-2: 0 2px 24px rgba(0,0,0,.55);

  --list-text: rgba(255,255,255,.76);
  --field-label: rgba(255,255,255,.86);
  --placeholder: rgba(255,255,255,.45);
}

html[data-theme="light"]{
  --bg-base-1:#f6fbff;
  --bg-base-2:#eff6ff;
  --bg:#eff6ff;
  --bg2:#e8f3ff;

  --text: rgba(10,18,32,.92);
  --muted: rgba(10,18,32,.68);
  --muted2: rgba(10,18,32,.52);
  --border: rgba(10,18,32,.12);

  --bg-accent-a: rgba(88,199,255,.35);
  --bg-accent-b: rgba(126,224,129,.28);
  --bg-accent-c: rgba(255,183,77,.22);

  --surface: rgba(10,18,32,.05);
  --surface-2: rgba(10,18,32,.08);
  --glass: rgba(255,255,255,.78);
  --glass-2: rgba(255,255,255,.90);
  --glass-border: rgba(10,18,32,.14);
  --shadow: 0 18px 60px rgba(10,18,32,.18);
  --focus: 0 0 0 4px rgba(88,199,255,.22);
  /* keep hero readable on photo */
  --hero-text: rgba(255,255,255,.98);
  --hero-muted: rgba(255,255,255,.90);
  --hero-kicker: rgba(255,255,255,.88);
  --hero-shadow-1: 0 2px 12px rgba(0,0,0,.45);
  --hero-shadow-2: 0 2px 24px rgba(0,0,0,.58);

  --list-text: rgba(10,18,32,.76);
  --field-label: rgba(10,18,32,.86);
  --placeholder: rgba(10,18,32,.45);
}

/* Ensure burger icon has contrast in light theme */
html[data-theme="light"] .burger{color:rgba(10,18,32,.92)}
html[data-theme="light"] .burger::before{
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='26' height='18' viewBox='0 0 26 18'%3E%3Cg fill='none' stroke='rgba(10,18,32,0.88)' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M8 3h16'/%3E%3Cpath d='M8 9h16'/%3E%3Cpath d='M8 15h16'/%3E%3C/g%3E%3Cg fill='rgba(10,18,32,0.88)'%3E%3Ccircle cx='3' cy='3' r='1.6'/%3E%3Ccircle cx='3' cy='9' r='1.6'/%3E%3Ccircle cx='3' cy='15' r='1.6'/%3E%3C/g%3E%3C/svg%3E");
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  font-family:ui-sans-serif,system-ui,-apple-system,"Segoe UI",Roboto,Arial,"Noto Sans","Liberation Sans",sans-serif;
  color:var(--text);
  min-height:100vh;
  display:flex;
  flex-direction:column;
  background:
    radial-gradient(1200px 800px at 18% -10%, var(--bg-accent-a), transparent 60%),
    radial-gradient(900px 700px at 92% 0%, var(--bg-accent-b), transparent 55%),
    radial-gradient(900px 600px at 25% 110%, var(--bg-accent-c), transparent 58%),
    linear-gradient(180deg, var(--bg-base-1), var(--bg-base-2) 36%, var(--bg-base-1) 120%);
  line-height:1.5;
}
main{flex:1 0 auto}
a{color:inherit;text-decoration:none}
a:hover{opacity:.92}

/* Page load: keep page visible by default.
   During loading we fade out only the app shell (header/main/footer) while preloader stays visible. */
body{opacity:1}
body.is-loading .site-header,
body.is-loading main,
body.is-loading .site-footer{opacity:0; transform:translateY(4px)}
body.is-loaded .site-header,
body.is-loaded main,
body.is-loaded .site-footer{opacity:1; transform:none}
.site-header, main, .site-footer{transition:opacity .45s ease, transform .45s ease}
body.is-loading *, body.is-loading *::before, body.is-loading *::after{animation:none !important; transition:none !important}

/* Preloader */
.preloader{
  position:fixed; inset:0; z-index:10000;
  display:grid; place-items:center;
  background:
    radial-gradient(1200px 800px at 18% -10%, var(--bg-accent-a), transparent 60%),
    radial-gradient(900px 700px at 92% 0%, var(--bg-accent-b), transparent 55%),
    radial-gradient(900px 600px at 25% 110%, var(--bg-accent-c), transparent 58%),
    linear-gradient(180deg, var(--bg-base-1), var(--bg-base-2) 36%, var(--bg-base-1) 120%);
  opacity:1;
  transition:opacity .35s ease, visibility .35s ease;
}
.preloader[hidden]{display:none}
.preloader.is-hidden{opacity:0; visibility:hidden; pointer-events:none}
.preloader-inner{display:grid; gap:14px; justify-items:center; text-align:center; padding:18px}
.preloader-logo{width:96px;height:96px; object-fit:contain; filter:drop-shadow(0 18px 40px rgba(0,0,0,.45))}
.preloader-title{font-weight:950; letter-spacing:.2px}
.preloader-sub{color:var(--muted); font-size:13px; max-width:44ch}
.preloader-bar{width:min(360px, 78vw); height:10px; border-radius:999px; border:1px solid rgba(255,255,255,.14); background:rgba(255,255,255,.04); overflow:hidden}
.preloader-bar > span{display:block; height:100%; width:36%; border-radius:999px; background:linear-gradient(90deg, rgba(126,224,129,.15), rgba(126,224,129,.85), rgba(88,199,255,.70)); animation:preloadMove 1.1s ease-in-out infinite alternate}
@keyframes preloadMove{0%{transform:translateX(-10%)} 100%{transform:translateX(170%)}}

/* Reveal on scroll */
[data-reveal]{opacity:0; transform:translateY(14px); filter:blur(2px); transition:opacity .55s ease, transform .55s ease, filter .55s ease}
[data-reveal].is-in{opacity:1; transform:none; filter:none}
[data-reveal=\"fade\"]{transform:none}
[data-reveal=\"fade\"].is-in{opacity:1}
[data-reveal=\"up\"]{transform:translateY(18px)}
[data-reveal=\"up\"].is-in{transform:none}
[data-reveal-delay=\"1\"]{transition-delay:.06s}
[data-reveal-delay=\"2\"]{transition-delay:.12s}
[data-reveal-delay=\"3\"]{transition-delay:.18s}
[data-reveal-delay=\"4\"]{transition-delay:.24s}

/* Reduced motion */
@media (prefers-reduced-motion: reduce){
  html{scroll-behavior:auto}
  *{animation-duration:0.001ms !important; animation-iteration-count:1 !important; transition-duration:0.001ms !important}
}

/* Theme switch (bottom) */
.theme-switch{
  position:fixed;
  right:18px;
  bottom:18px;
  z-index:9999;
  display:flex;
  gap:8px;
  padding:8px;
  border-radius:999px;
  border:1px solid var(--glass-border);
  background:var(--glass-2);
  backdrop-filter:blur(14px);
  box-shadow:0 18px 50px rgba(0,0,0,.25);
}
.site-footer .theme-switch{
  position:static;
  right:auto;
  bottom:auto;
  z-index:auto;
  padding:6px;
  box-shadow:none;
  margin-top:8px;
  justify-content:flex-start;
  width:100%;
  max-width:100%;
  box-sizing:border-box;
  flex-wrap:wrap;
}
.site-footer .footer-links{align-content:start}
.theme-switch button{
  border:1px solid var(--border);
  background:var(--surface);
  color:var(--text);
  border-radius:999px;
  padding:10px 12px;
  font-weight:950;
  cursor:pointer;
  min-width:92px;
}
.site-footer .theme-switch button{
  min-width:0;
  padding:9px 10px;
  font-size:13px;
  flex:1 1 0;
  text-align:center;
}
.theme-switch button[aria-pressed="true"]{
  border-color:rgba(88,199,255,.35);
  background:linear-gradient(180deg, rgba(88,199,255,.22), rgba(126,224,129,.10));
}
.theme-switch button:focus-visible{outline:none; box-shadow:var(--focus)}
@media (max-width: 780px){
  .theme-switch{right:12px; bottom:96px}
  .theme-switch button{min-width:86px; padding:10px 10px}
}

.container{max-width:var(--container);margin:0 auto;padding:0 18px}
.skip-link{
  position:absolute;left:-9999px;top:auto;width:1px;height:1px;overflow:hidden;
}
.skip-link:focus{
  left:18px;top:18px;width:auto;height:auto;z-index:9999;
  background:#0b1a2e;border:1px solid var(--border);padding:10px 12px;border-radius:12px;
  box-shadow:var(--shadow);
}

.site-header{
  position:sticky;top:0;z-index:50;
  background:linear-gradient(180deg, var(--glass-2), rgba(0,0,0,0));
  backdrop-filter:blur(12px);
  border-bottom:1px solid rgba(255,255,255,.08);
}
.side-back{
  position:fixed;
  left:18px;
  top:96px;
  z-index:70;
  display:inline-flex;
  align-items:center;
  gap:10px;
  padding:12px 14px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.14);
  background:var(--glass);
  backdrop-filter:blur(12px);
  color:var(--text);
  font-weight:950;
  letter-spacing:.01em;
  box-shadow:0 16px 40px rgba(0,0,0,.35);
}
.side-back:hover{background:var(--glass-2)}
.side-back:focus-visible{outline:none;box-shadow:var(--focus), 0 16px 40px rgba(0,0,0,.35)}
.header-row{display:flex;gap:14px;align-items:center;justify-content:space-between;padding:14px 0}
.brand{display:flex;align-items:center;gap:10px}
.brand-mark{display:block; width:48px; height:48px; object-fit:contain}
.brand--footer .brand-mark{width:42px; height:42px}
.brand-name{font-weight:800;letter-spacing:.2px}
.nav{display:flex;gap:16px;align-items:center}
.nav a{color:var(--muted);font-weight:600;font-size:14px}
.nav a:hover{color:var(--text)}
.header-actions{display:flex;gap:10px;align-items:center}

.chip{
  display:inline-flex;align-items:center;gap:8px;
  padding:10px 12px;border-radius:999px;
  border:1px solid var(--border);background:var(--surface);
  color:var(--text);font-weight:700;font-size:14px;
}
.btn{
  border:1px solid var(--border);
  background:var(--surface);
  color:var(--text);
  border-radius:999px;
  padding:10px 14px;
  font-weight:800;
  cursor:pointer;
  display:inline-flex;align-items:center;justify-content:center;
  transition:transform .08s ease, background .15s ease, border-color .15s ease;
}
.btn:hover{background:rgba(255,255,255,.06)}
.btn:active{transform:translateY(1px)}
.btn:focus-visible{outline:none;box-shadow:var(--focus)}
.btn-primary{
  border-color:rgba(126,224,129,.42);
  background:linear-gradient(180deg, rgba(126,224,129,.30), rgba(88,199,255,.12));
}
.btn-primary:hover{border-color:rgba(126,224,129,.52)}
.btn-ghost{background:transparent}

.burger{
  display:none;
  gap:6px;
  padding:10px 12px;
  border-radius:14px;
  color:var(--text);
}
/* Real "list" icon (SVG), not characters */
.burger span{display:none}
.burger::before{
  content:"";
  width:26px;
  height:18px;
  display:block;
  background-repeat:no-repeat;
  background-position:center;
  background-size:contain;
  /* Dark theme: white icon */
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='26' height='18' viewBox='0 0 26 18'%3E%3Cg fill='none' stroke='rgba(255,255,255,0.92)' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M8 3h16'/%3E%3Cpath d='M8 9h16'/%3E%3Cpath d='M8 15h16'/%3E%3C/g%3E%3Cg fill='rgba(255,255,255,0.92)'%3E%3Ccircle cx='3' cy='3' r='1.6'/%3E%3Ccircle cx='3' cy='9' r='1.6'/%3E%3Ccircle cx='3' cy='15' r='1.6'/%3E%3C/g%3E%3C/svg%3E");
}

.mobile-nav{
  border-top:1px solid rgba(255,255,255,.08);
  background:rgba(7,12,21,.70);
  backdrop-filter:blur(12px);
}
.mobile-nav-inner{display:grid;gap:10px;padding:12px 0 18px}
.mobile-nav-inner a{
  padding:10px 12px;
  border-radius:12px;
  border:1px solid rgba(255,255,255,.08);
  background:rgba(255,255,255,.03);
  color:rgba(255,255,255,.92);
  font-weight:750;
  display:flex;
  align-items:center;
  justify-content:center;
  text-align:center;
}

/* Hero с фоновой картинкой и анимацией */
.hero{
  position:relative;
  min-height:100vh;
  display:flex;
  align-items:center;
  padding:80px 0 60px;
  overflow:hidden;
}
.hero--full .hero-bg{
  position:absolute;
  inset:-5%;
  background-size:cover;
  background-position:center;
  background-repeat:no-repeat;
  background-color:#0f1a2a;
  background-image:url("../assets/hero-bg.jpg");
  animation:heroZoom 28s ease-in-out infinite alternate;
}
.hero--full .hero-bg::after{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(180deg, rgba(7,12,21,.75) 0%, rgba(7,12,21,.5) 45%, rgba(7,12,21,.82) 100%);
  pointer-events:none;
}
html[data-theme="light"] .hero--full .hero-bg::after{
  background:linear-gradient(180deg, rgba(7,12,21,.68) 0%, rgba(7,12,21,.46) 45%, rgba(7,12,21,.78) 100%);
}
@keyframes heroZoom{
  0%{ transform:scale(1) translate(0, 0) rotate(0deg); }
  100%{ transform:scale(1.08) translate(-1%, -0.5%) rotate(0.1deg); }
}
.hero--full .hero-grid{
  position:relative;
  z-index:2;
  width:100%;
}
.hero-grid{display:grid;grid-template-columns:1fr;gap:24px;align-items:center;max-width:var(--container);margin:0 auto;padding:0 18px}
.hero--full .hero-copy{ max-width:720px; }
.hero-copy{color:var(--hero-text)}
.hero-copy .kicker{display:inline-flex;gap:10px;align-items:center;color:var(--hero-kicker);font-weight:800;font-size:13px;letter-spacing:.14em;text-transform:uppercase;text-shadow:var(--hero-shadow-1)}
.hero-copy h1{margin:10px 0 10px;font-size:clamp(32px, 5vw, 48px);line-height:1.08;letter-spacing:-.02em;color:var(--hero-text);text-shadow:var(--hero-shadow-2)}
.hero-copy .lead{margin:0;color:var(--hero-muted);font-size:18px;max-width:56ch;text-shadow:var(--hero-shadow-1)}
.hero-cta{display:flex;gap:10px;flex-wrap:wrap;margin:18px 0 18px}
.hero .btn{color:var(--hero-text)}
.hero .btn-ghost{border-color:rgba(255,255,255,.22)}
.hero .btn:hover{background:rgba(255,255,255,.08)}
.hero-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin-top:10px}
.stat{
  border:1px solid rgba(255,255,255,.18);
  background:rgba(0,0,0,.25);
  border-radius:16px;
  padding:12px;
  backdrop-filter:blur(8px);
}
.stat-num{font-weight:900}
.stat-label{color:var(--muted);font-size:13px}
.hero .stat-num{color:var(--hero-text); text-shadow:var(--hero-shadow-1)}
.hero .stat-label{color:var(--hero-muted); text-shadow:var(--hero-shadow-1)}
.micro{color:var(--muted2);font-size:13px;margin:12px 0 0}
.hero-copy .micro{color:rgba(255,255,255,.82);text-shadow:0 1px 6px rgba(0,0,0,.32)}
.badge{
  display:inline-flex;align-items:center;justify-content:center;
  border-radius:999px;padding:4px 10px;
  background:rgba(255,255,255,.12);border:1px solid rgba(255,255,255,.2);
  font-weight:900;font-size:12px;margin-right:8px;
}

/* Карточки-ссылки на главной */
.page-links{display:grid;grid-template-columns:repeat(auto-fill, minmax(260px, 1fr));gap:14px;padding:44px 0}
.page-link-card{
  display:block;
  border:1px solid rgba(255,255,255,.12);
  background:linear-gradient(180deg, rgba(255,255,255,.07), rgba(255,255,255,.02));
  border-radius:var(--radius);
  padding:20px;
  transition:transform .2s ease, box-shadow .2s ease;
}
.page-link-card:hover{transform:translateY(-4px);box-shadow:0 12px 40px rgba(0,0,0,.35)}
.page-link-card h3{margin:0 0 8px;font-size:18px}
.page-link-card p{margin:0;color:var(--muted);font-size:14px}
.page-link-card .arr{display:inline-block;margin-left:6px;transition:transform .2s ease}
.page-link-card:hover .arr{transform:translateX(4px)}

.hero-media{display:grid;grid-template-columns:repeat(6,1fr);grid-auto-rows:90px;gap:10px}
.media-card{
  border-radius:var(--radius2);
  border:1px solid rgba(255,255,255,.12);
  background:
    radial-gradient(800px 250px at 10% 10%, rgba(126,224,129,.22), transparent 55%),
    radial-gradient(600px 240px at 90% 40%, rgba(88,199,255,.18), transparent 55%),
    linear-gradient(180deg, rgba(255,255,255,.07), rgba(255,255,255,.02));
  box-shadow:var(--shadow);
  position:relative;
  overflow:hidden;
}
.media-card:after{
  content:"";
  position:absolute;inset:-80px;
  background:conic-gradient(from 180deg, rgba(126,224,129,.12), rgba(88,199,255,.10), rgba(255,255,255,0));
  filter:blur(18px);
  opacity:.55;
}
.media-card--1{grid-column:1 / span 4;grid-row:1 / span 3}
.media-card--2{grid-column:5 / span 2;grid-row:1 / span 2}
.media-card--3{grid-column:5 / span 2;grid-row:3 / span 1}

.section{padding:44px 0}
.section-alt{
  background:linear-gradient(180deg, rgba(255,255,255,.03), rgba(255,255,255,0));
  border-top:1px solid rgba(255,255,255,.06);
  border-bottom:1px solid rgba(255,255,255,.06);
}
.section-head{display:flex;align-items:flex-end;justify-content:space-between;gap:16px;margin-bottom:18px}
.section-head h2{margin:0;font-size:28px;letter-spacing:-.01em}
.section-head p{margin:0;color:var(--muted);max-width:70ch}
.grid-3{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}
.grid-4{display:grid;grid-template-columns:repeat(4,1fr);gap:12px}
.cards .card{height:100%}

.card{
  border:1px solid rgba(255,255,255,.10);
  background:linear-gradient(180deg, var(--surface-2), var(--surface));
  border-radius:var(--radius);
  padding:16px;
  box-shadow:0 8px 30px rgba(0,0,0,.25);
}
.card h3{margin:0 0 8px;font-size:18px}
.card p{margin:0 0 12px;color:var(--muted)}
.list{margin:0;padding-left:18px;color:var(--list-text)}
.list li{margin:6px 0}
.muted{color:var(--muted)}
.cards-compact .card{padding:14px}
.card-mini h3{margin-bottom:6px}
.card-mini p{margin:0}

.card-stay{display:flex;flex-direction:column;gap:10px}
.card-stay-top{display:flex;align-items:baseline;justify-content:space-between;gap:10px}
.card-stay-bottom{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:auto}
.price{display:flex;align-items:baseline;gap:6px}
.price-from,.price-unit{color:var(--muted2);font-weight:700;font-size:12px}
.price-num{font-weight:950;letter-spacing:-.01em}

.note{
  margin-top:16px;
  border:1px dashed rgba(255,255,255,.18);
  border-radius:var(--radius);
  padding:14px;
  display:flex;gap:12px;align-items:flex-start;
  background:rgba(255,255,255,.03);
}
.note-icon{
  width:28px;height:28px;border-radius:10px;
  display:flex;align-items:center;justify-content:center;
  background:rgba(88,199,255,.16);
  border:1px solid rgba(88,199,255,.28);
  font-weight:950;
}
.note p{margin:6px 0 0}

.gallery--pretty{
  display:grid;
  grid-template-columns:repeat(4, minmax(0, 1fr));
  gap:18px;
  align-items:stretch;
}
.gcard{
  margin:0;
  position:relative;
  border-radius:var(--radius2);
  overflow:hidden;
  border:1px solid rgba(255,255,255,.12);
  background:linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.02));
  box-shadow:0 16px 44px rgba(0,0,0,.28);
  transform:translateZ(0);
  transition:transform .22s ease, box-shadow .22s ease, border-color .22s ease, filter .22s ease;
}
.gcard-btn{
  all:unset;
  display:block;
  cursor:pointer;
}
.gcard-img{
  display:block;
  width:100%;
  height:100%;
  aspect-ratio: 4 / 3;
  object-fit:cover;
  filter:saturate(1.02) contrast(1.02);
  transform:scale(1.001);
  transition:transform .28s ease, filter .28s ease;
}
.gcard-cap{
  position:absolute;
  left:0;
  right:0;
  bottom:0;
  padding:10px 12px;
  background:rgba(7,12,21,.66);
  border-top:1px solid rgba(255,255,255,.12);
  color:rgba(255,255,255,.92);
  font-weight:900;
  letter-spacing:.01em;
  text-align:left;
  backdrop-filter:blur(10px);
}
.gcard:hover{
  transform:translateY(-4px);
  border-color:rgba(255,255,255,.18);
  box-shadow:0 22px 64px rgba(0,0,0,.42);
}
.gcard:hover .gcard-img{transform:scale(1.04); filter:saturate(1.08) contrast(1.04)}
.gcard:focus-within{box-shadow:var(--focus), 0 24px 70px rgba(0,0,0,.42); border-color:rgba(126,224,129,.42)}

@media (max-width: 980px){
  .gallery--pretty{grid-template-columns:repeat(2, minmax(0, 1fr))}
}
@media (max-width: 780px){
  .gallery--pretty{grid-template-columns:1fr}
}

.quote blockquote{margin:0 0 10px;font-weight:700}

/* Страница отзывов: текст слева, форма справа */
.reviews-page{padding-bottom:8px}
.reviews-page-title{margin:0 0 20px;font-size:28px;letter-spacing:-.01em}
.reviews-intro-form{
  display:grid;
  grid-template-columns:minmax(260px,1fr) minmax(300px,540px);
  gap:20px 28px;
  align-items:start;
  margin-bottom:4px;
}
.reviews-intro{margin:0;padding:18px 20px;line-height:1.55;color:var(--muted)}
.reviews-intro-form .review-form{margin-top:0;max-width:none;width:100%}
.reviews-toolbar{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:10px 14px;
  margin-top:22px;
  margin-bottom:8px;
}
.reviews-toolbar-label{font-size:0.9rem}
.reviews-filter-chips{display:flex;flex-wrap:wrap;gap:8px}
.rf-chip{
  border:1px solid var(--border);
  background:var(--surface);
  color:var(--text);
  padding:8px 14px;
  border-radius:999px;
  cursor:pointer;
  font:inherit;
  font-size:0.9rem;
}
.rf-chip:hover{border-color:rgba(126,224,129,.35)}
.rf-chip.is-active{
  border-color:rgba(126,224,129,.45);
  background:rgba(126,224,129,.12);
}
.rf-stars{display:flex;gap:2px;flex-wrap:wrap;margin-top:6px;align-items:center}
.rf-star{
  all:unset;
  cursor:pointer;
  font-size:1.75rem;
  line-height:1;
  color:rgba(255,255,255,.22);
  transition:color .12s ease, transform .06s ease;
}
.rf-star:hover{transform:scale(1.08)}
.rf-star.is-on{color:#e9c46a}
html[data-theme="light"] .rf-star{color:rgba(10,18,32,.22)}
html[data-theme="light"] .rf-star.is-on{color:#b8860b}
.rf-stars-hint{margin:8px 0 0}
.review-rating{
  color:#e9c46a;
  letter-spacing:2px;
  font-size:1.05rem;
  margin:0 0 10px;
  font-weight:800;
}
html[data-theme="light"] .review-rating{color:#9a7b0a}

.review-form{
  margin-top:22px;
  padding:18px 20px;
  border-radius:var(--radius2);
  border:1px solid var(--glass-border);
  background:var(--surface);
  max-width:640px;
}
.review-form h3{margin:0 0 12px;font-size:1.15rem}
.review-form .rf-field{margin-bottom:14px}
.review-form .rf-label{display:block;font-size:0.88rem;color:var(--field-label);margin-bottom:6px}
.review-form .rf-input,.review-form .rf-textarea{
  width:100%;box-sizing:border-box;border-radius:var(--radius);border:1px solid var(--border);
  background:var(--bg2);color:var(--text);padding:10px 12px;font:inherit;
}
.review-form .rf-textarea{min-height:120px;resize:vertical}
#recaptcha-widget{margin:12px 0;min-height:78px}
html[data-theme="light"] #recaptcha-widget{
  padding:8px 10px;
  border-radius:12px;
  background:rgba(255,255,255,.65);
  border:1px solid rgba(10,18,32,.08);
  display:inline-block;
  box-sizing:border-box;
}
.review-form-msg{margin-top:10px;font-size:0.92rem}
.review-form-msg.is-ok{color:var(--accent)}
.review-form-msg.is-bad{color:var(--danger)}
.review-form-note{font-size:0.85rem;color:var(--muted);margin-top:10px;line-height:1.4}
.review-form .rf-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:8px}
/* Кнопка «Выбрать файлы» в стиле сайта (как основная кнопка) */
.rf-field--file .rf-file-row{display:flex;flex-wrap:wrap;align-items:center;gap:10px}
.review-form .rf-file-input{
  padding:6px 0;
  border:none;
  background:transparent;
  font:inherit;
  cursor:pointer;
  max-width:100%;
  color:var(--muted);
  font-size:0.9rem;
}
.review-form .rf-file-input::file-selector-button{
  -webkit-appearance:none;
  appearance:none;
  margin-right:12px;
  padding:10px 18px;
  border-radius:999px;
  border:1px solid rgba(126,224,129,.42);
  background:linear-gradient(180deg, rgba(126,224,129,.30), rgba(88,199,255,.12));
  color:var(--text);
  font-weight:800;
  font-size:0.95rem;
  font-family:inherit;
  cursor:pointer;
  transition:transform .08s ease, border-color .15s ease, background .15s ease;
}
.review-form .rf-file-input::file-selector-button:hover{
  border-color:rgba(126,224,129,.52);
}
.review-form .rf-file-input::file-selector-button:active{
  transform:translateY(1px);
}
.review-form .rf-file-input:focus-visible{
  outline:none;
}
.review-form .rf-file-input:focus-visible::file-selector-button{
  box-shadow:var(--focus);
}
/* Safari / старый WebKit */
.review-form .rf-file-input::-webkit-file-upload-button{
  -webkit-appearance:none;
  appearance:none;
  margin-right:12px;
  padding:10px 18px;
  border-radius:999px;
  border:1px solid rgba(126,224,129,.42);
  background:linear-gradient(180deg, rgba(126,224,129,.30), rgba(88,199,255,.12));
  color:var(--text);
  font-weight:800;
  font-size:0.95rem;
  font-family:inherit;
  cursor:pointer;
}
html[data-theme="light"] .review-form .rf-file-input::file-selector-button{
  border-color:rgba(40,167,69,.28);
  background:linear-gradient(180deg, rgba(212,237,218,.98), rgba(126,224,129,.35));
  color:rgba(10,18,32,.92);
}
html[data-theme="light"] .review-form .rf-file-input::-webkit-file-upload-button{
  border-color:rgba(40,167,69,.28);
  background:linear-gradient(180deg, rgba(212,237,218,.98), rgba(126,224,129,.35));
  color:rgba(10,18,32,.92);
}
.rf-file-status{
  margin:8px 0 0;
  font-size:0.86rem;
  line-height:1.35;
  word-break:break-word;
}

/* Список отзывов: одна колонка, читабельный текст на мобиле */
.reviews-list{
  margin-top:18px;
  display:flex;
  flex-direction:column;
  gap:18px;
  max-width:min(900px,100%);
}
.review-card{
  margin:0;
  text-align:left;
}
.review-text{
  overflow-wrap:anywhere;
  word-break:break-word;
  hyphens:auto;
  line-height:1.55;
  font-size:clamp(0.98rem, 2.8vw, 1.05rem);
}
.review-meta{
  margin:14px 0 0;
  padding-top:12px;
  border-top:1px solid rgba(255,255,255,.08);
  font-size:0.92rem;
  line-height:1.45;
}
html[data-theme="light"] .review-meta{border-top-color:rgba(0,0,0,.08)}
.review-photos--strip{
  display:grid;
  grid-template-columns:repeat(auto-fill, minmax(104px, 1fr));
  gap:10px;
  margin:14px 0 0;
  width:100%;
}
.review-photos--strip .gcard{
  box-shadow:0 10px 28px rgba(0,0,0,.22);
}
.review-photos--strip .gcard:hover{
  transform:translateY(-2px);
  box-shadow:0 16px 40px rgba(0,0,0,.32);
}
.review-photos--strip .gcard-img{
  aspect-ratio:1;
  min-height:96px;
}
@media (max-width:520px){
  .review-photos--strip{
    grid-template-columns:repeat(2, minmax(0, 1fr));
    gap:8px;
  }
  .review-card{padding:14px}
}
.reviews-empty{color:var(--muted);padding:16px 0}

html[data-theme="light"] .review-form .rf-input,
html[data-theme="light"] .review-form .rf-textarea{background:rgba(255,255,255,.9)}

.booking{display:grid;grid-template-columns:1fr 1fr;gap:14px;align-items:start}
.booking-copy h2{margin:0 0 10px;font-size:28px}
.booking-points{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:14px}

/* Booking widget */
.book-widget{padding:14px}
.book-top{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:12px;
  align-items:stretch;
}
.book-top-left{
  display:flex;
  flex-direction:column;
  gap:8px;
  min-width:0;
}
.book-field{display:grid;gap:8px}
.book-label{font-weight:900;font-size:13px;color:var(--field-label)}
.book-input{
  width:100%;
  border-radius:16px;
  border:1px solid rgba(255,255,255,.14);
  background:linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.02));
  color:var(--text);
  padding:12px 12px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  cursor:pointer;
  font-weight:850;
}
.book-input:focus-visible{outline:none; box-shadow:var(--focus)}
.book-icon{opacity:.8}
.guest{display:grid;gap:8px}
.guest-row{display:flex;align-items:center;justify-content:space-between;gap:10px}
.guest-title{font-weight:850;color:var(--text)}
.stepper{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:6px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.14);
  background:rgba(255,255,255,.03);
}
.step{
  width:36px;height:36px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.14);
  background:rgba(7,12,21,.35);
  color:var(--text);
  cursor:pointer;
  font-size:18px;
  font-weight:950;
}
.step:focus-visible{outline:none; box-shadow:var(--focus)}
.step-val{min-width:18px;text-align:center;font-weight:950}
.book-field--cabins{margin-top:0}
.book-summary--aside{margin-top:auto;padding-top:4px}
.book-summary--aside .sum-body{margin-top:8px}
.cabin-picks-wrap{
  margin-top:8px;
  padding:14px;
  border-radius:18px;
  border:1px solid rgba(255,255,255,.10);
  background:rgba(0,0,0,.14);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.04);
}
html[data-theme="light"] .cabin-picks-wrap{
  border-color:rgba(10,18,32,.12);
  background:rgba(255,255,255,.55);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.8);
}
.cabin-picks{display:grid;grid-template-columns:repeat(auto-fill,minmax(160px,1fr));gap:12px}
.cabin{
  text-align:left;
  padding:12px 12px;
  min-height:68px;
  border-radius:16px;
  border:1px solid rgba(255,255,255,.16);
  background:rgba(255,255,255,.04);
  color:var(--text);
  cursor:pointer;
  transition:border-color .18s ease, box-shadow .18s ease, background .18s ease, transform .12s ease;
}
html[data-theme="light"] .cabin{
  border-color:rgba(10,18,32,.12);
  background:rgba(255,255,255,.85);
}
.cabin:hover{
  border-color:rgba(255,255,255,.22);
  transform:translateY(-1px);
}
html[data-theme="light"] .cabin:hover{
  border-color:rgba(10,18,32,.18);
}
.cabin[aria-pressed="true"]{
  border-color:rgba(126,224,129,.48);
  box-shadow:0 0 0 3px rgba(126,224,129,.14), 0 12px 32px rgba(0,0,0,.2);
  background:linear-gradient(180deg, rgba(126,224,129,.14), rgba(88,199,255,.08));
}
html[data-theme="light"] .cabin[aria-pressed="true"]{
  background:linear-gradient(180deg, rgba(212,237,218,.65), rgba(239,246,255,.95));
  box-shadow:0 0 0 3px rgba(40,167,69,.2), 0 10px 28px rgba(10,18,32,.08);
}
.cabin-title{font-weight:950;margin-bottom:6px;font-size:1.02rem;letter-spacing:-.01em}
.cabin-sub{font-size:13px;line-height:1.4}

.book-bottom{
  display:block;
  margin-top:12px;
  padding-top:12px;
  border-top:1px solid rgba(255,255,255,.10);
}
.book-summary{min-width:0}
.sum-title{font-weight:950}
.sum-body{margin-top:10px}
.sum-price{font-weight:950;font-size:18px;margin:0 0 4px}
.sum-sub{margin:0}
.book-actions{display:grid;gap:8px;justify-items:stretch;min-width:320px}
.book-confirm{display:grid;gap:8px;width:100%;min-width:0}
.book-confirm .sum-title{margin-bottom:4px}
.book-confirm-actions{display:flex;flex-wrap:wrap;gap:8px}
.book-confirm-actions .btn{flex:1 1 140px}
.book-captcha{margin-top:12px}
#booking-recaptcha-widget{min-height:78px;margin:8px 0}
html[data-theme="light"] #booking-recaptcha-widget{
  padding:8px 10px;
  border-radius:12px;
  background:rgba(255,255,255,.65);
  border:1px solid rgba(10,18,32,.08);
  display:inline-block;
  box-sizing:border-box;
}
.book-captcha-note{margin:6px 0 0;font-size:0.85rem;line-height:1.4}
.book-captcha-note a{color:var(--muted);text-decoration:underline}
.book-captcha-note a:hover{color:var(--text)}
.book-captcha-msg{margin:8px 0 0;font-size:0.88rem;line-height:1.35}
.book-captcha-msg.is-bad{color:var(--danger)}
.book-captcha-msg.is-ok{color:var(--accent)}
[data-bw-wa][aria-disabled="true"],
[data-bw-tg][aria-disabled="true"]{opacity:.48;pointer-events:none;cursor:not-allowed}

/* Booking page: use full width on desktop, nicer layout */
.booking--full{grid-template-columns:1fr}
.booking--full .booking-copy{max-width:1100px}
.booking--full .book-widget{
  max-width:1100px;
  padding:20px 22px;
}
.booking--full .book-top{
  grid-template-columns:minmax(260px,400px) minmax(300px,1fr);
  gap:18px 22px;
  align-items:stretch;
}
.booking--full .book-top-left{gap:12px}
.booking--full .book-field{gap:12px}
.booking--full .book-field:first-child .book-input{margin-top:4px}
.booking--full .book-summary--aside{
  margin-top:auto;
  padding:14px 16px;
  border-radius:16px;
  border:1px solid rgba(255,255,255,.10);
  background:rgba(0,0,0,.12);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.04);
}
html[data-theme="light"] .booking--full .book-summary--aside{
  border-color:rgba(10,18,32,.12);
  background:rgba(255,255,255,.55);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.75);
}
.booking--full .book-summary .sum-body{margin-top:10px}
.booking--full .book-summary .sum-price{font-size:20px}
.booking--full .cabin-picks-wrap{padding:12px 14px}
.booking--full .cabin-picks{
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:10px;
}
.booking--full .cabin{padding:11px 12px}
.booking--full .cabin-title{margin-bottom:4px;font-size:0.98rem}
.booking--full .book-bottom{
  margin-top:20px;
  padding-top:20px;
}
.booking--full .book-captcha{
  display:flex;
  justify-content:center;
  flex-wrap:wrap;
}
.booking--full .book-confirm-actions{justify-content:center}
.booking--full .book-actions{min-width:0}

/* Calendar pop */
.bw-pop{
  position:fixed;
  inset:0;
  z-index:90;
}
.bw-pop[hidden]{display:none}
.bw-backdrop{position:absolute; inset:0; background:rgba(0,0,0,.68)}
.bw-dialog{
  position:relative;
  width:min(720px, calc(100% - 28px));
  margin:10vh auto;
  border-radius:22px;
  border:1px solid rgba(255,255,255,.14);
  background:var(--glass-2);
  backdrop-filter:blur(14px);
  box-shadow:var(--shadow);
  overflow:hidden;
}
.bw-head{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:14px;border-bottom:1px solid rgba(255,255,255,.10)}
.bw-title{font-weight:950}
.bw-x{
  width:44px;height:44px;border-radius:16px;
  border:1px solid rgba(255,255,255,.14);
  background:rgba(255,255,255,.04);
  color:var(--text);
  cursor:pointer;
  font-size:22px;
  line-height:1;
}
.bw-x:focus-visible{outline:none; box-shadow:var(--focus)}
.bw-cal{padding:14px}
.bw-cal-head{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:10px}
.bw-nav{
  width:44px;height:44px;border-radius:16px;
  border:1px solid rgba(255,255,255,.14);
  background:rgba(255,255,255,.04);
  color:var(--text);
  cursor:pointer;
  font-weight:950;
}
.bw-nav:focus-visible{outline:none; box-shadow:var(--focus)}
.bw-month{font-weight:950}
.bw-grid{
  display:grid;
  grid-template-columns:repeat(7, minmax(0, 1fr));
  gap:6px;
}
.bw-wd{
  font-size:12px;
  font-weight:900;
  color:var(--muted2);
  text-align:center;
  padding:6px 0;
}
.bw-day{
  height:42px;
  border-radius:14px;
  border:1px solid rgba(255,255,255,.12);
  background:rgba(255,255,255,.03);
  color:var(--text);
  cursor:pointer;
  font-weight:850;
}
.bw-day.is-other{opacity:.45}
.bw-day.is-free:hover{background:rgba(126,224,129,.10); border-color:rgba(126,224,129,.22)}
.bw-day.is-partial{background:rgba(255,183,77,.10); border-color:rgba(255,183,77,.22)}
.bw-day.is-booked{background:rgba(255,255,255,.02); color:rgba(255,255,255,.45)}
.bw-day:disabled{cursor:not-allowed; opacity:.6}
.bw-day.is-start,
.bw-day.is-end{
  background:linear-gradient(180deg, rgba(126,224,129,.22), rgba(88,199,255,.10));
  border-color:rgba(126,224,129,.42);
}
.bw-day.is-in{
  background:rgba(126,224,129,.10);
  border-color:rgba(126,224,129,.18);
}
html[data-theme="light"] .bw-day.is-booked{
  background:rgba(10,18,32,.08);
  border-color:rgba(10,18,32,.22);
  color:rgba(10,18,32,.38);
}
html[data-theme="light"] .bw-day.is-booked:disabled{
  opacity:1;
}
.bw-help{margin-top:10px}
.bw-foot{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:14px;border-top:1px solid rgba(255,255,255,.10)}

.point{
  border:1px solid rgba(255,255,255,.10);
  border-radius:16px;
  padding:12px;
  background:rgba(255,255,255,.03);
}
.point-title{font-weight:900;margin-bottom:6px}
.form{padding:16px}
.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.field{display:grid;gap:6px}
.field span{font-weight:800;font-size:13px;color:var(--field-label)}
/* reCAPTCHA + honeypot */
.captcha .g-recaptcha{transform-origin:left top}
.hp{
  position:absolute !important;
  left:-9999px !important;
  width:1px !important;
  height:1px !important;
  overflow:hidden !important;
  opacity:0 !important;
  pointer-events:none !important;
}
input,select,textarea{
  width:100%;
  border-radius:14px;
  border:1px solid rgba(255,255,255,.14);
  background:var(--surface);
  color:var(--text);
  padding:10px 12px;
  font:inherit;
}
input::placeholder, textarea::placeholder{color:var(--placeholder)}
input:focus,select:focus,textarea:focus{outline:none;box-shadow:var(--focus);border-color:rgba(126,224,129,.36)}
.field-full{grid-column:1 / -1}
.check{display:flex;gap:10px;align-items:flex-start}
.check input{width:18px;height:18px;margin-top:2px}
.form-actions{display:flex;gap:10px;align-items:center;justify-content:space-between;margin-top:12px}
.form-status{margin:10px 0 0;font-weight:800}
.form-status.ok{color:var(--accent)}
.form-status.bad{color:var(--danger)}

.contacts{display:grid;grid-template-columns:1.05fr .95fr;gap:12px;align-items:stretch}
.contacts-card h2{margin:0 0 12px}
.contacts-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.contacts-strong{font-weight:900}
.map{padding:0;overflow:hidden}
.map-placeholder{
  height:100%;
  min-height:280px;
  display:flex;
  align-items:flex-end;
  padding:16px;
  background:
    radial-gradient(900px 320px at 10% 20%, rgba(88,199,255,.16), transparent 55%),
    radial-gradient(900px 320px at 90% 50%, rgba(126,224,129,.14), transparent 55%),
    linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.02));
  position:relative;
  overflow:hidden;
  isolation:isolate;
}
.map-placeholder::before{
  content:"";
  position:absolute;
  inset:-20px;
  z-index:0;
  opacity:.88;
  /* Видимые «полосы» на светлом фоне: тёмно-серые + зелёные линии (не белые 12% — их не видно) */
  background-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20width%3D%221200%22%20height%3D%22800%22%20viewBox%3D%220%200%201200%20800%22%3E%3Cg%20fill%3D%22none%22%20stroke%3D%22%23475569%22%20stroke-opacity%3D%220.42%22%20stroke-width%3D%225.5%22%20stroke-linecap%3D%22round%22%3E%3Cpath%20d%3D%22M-20%20640%20C%20140%20520%2C%20240%20520%2C%20360%20560%20S%20620%20700%2C%20760%20640%20S%201000%20500%2C%201220%20540%22/%3E%3Cpath%20d%3D%22M-40%20420%20C%20120%20360%2C%20220%20300%2C%20360%20320%20S%20640%20420%2C%20760%20380%20S%201020%20260%2C%201240%20320%22/%3E%3Cpath%20d%3D%22M120%20820%20C%20220%20680%2C%20260%20640%2C%20380%20620%20S%20640%20600%2C%20760%20520%20S%20980%20340%2C%201200%20420%22/%3E%3Cpath%20d%3D%22M60%2080%20C%20240%20180%2C%20260%20220%2C%20340%20260%20S%20520%20360%2C%20660%20320%20S%20900%20180%2C%201140%20220%22/%3E%3C/g%3E%3Cg%20fill%3D%22none%22%20stroke%3D%22%2315803d%22%20stroke-opacity%3D%220.55%22%20stroke-width%3D%222.8%22%20stroke-linecap%3D%22round%22%3E%3Cpath%20d%3D%22M-10%20610%20C%20150%20490%2C%20250%20500%2C%20380%20540%20S%20650%20690%2C%20780%20620%20S%201000%20470%2C%201210%20520%22/%3E%3Cpath%20d%3D%22M-30%20390%20C%20120%20330%2C%20220%20280%2C%20360%20300%20S%20650%20410%2C%20780%20360%20S%201030%20250%2C%201230%20300%22/%3E%3C/g%3E%3C/svg%3E");
  background-size:cover;
  background-position:center;
  filter:blur(0.2px);
  pointer-events:none;
}
/* Тёмная тема: чуть светлее линии на тёмном градиенте карты */
html[data-theme="dark"] .map-placeholder::before{
  opacity:.72;
  filter:blur(0.2px) brightness(1.35) contrast(1.05);
}
.map-placeholder::after{
  content:"";
  position:absolute;
  right:18px;
  top:18px;
  z-index:2;
  width:86px;
  height:86px;
  border-radius:26px;
  background:
    radial-gradient(40px 40px at 55% 35%, rgba(126,224,129,.32), transparent 60%),
    radial-gradient(44px 44px at 45% 55%, rgba(88,199,255,.22), transparent 62%),
    rgba(255,255,255,.04);
  border:1px solid rgba(255,255,255,.14);
  backdrop-filter:blur(10px);
  box-shadow:0 18px 50px rgba(0,0,0,.35);
  -webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64'%3E%3Cpath fill='white' d='M32 58c10-14 18-24 18-34C50 13.85 41.94 6 32 6S14 13.85 14 24c0 10 8 20 18 34zm0-28a6 6 0 1 1 0-12 6 6 0 0 1 0 12z'/%3E%3C/svg%3E");
  -webkit-mask-size:56px 56px;
  -webkit-mask-repeat:no-repeat;
  -webkit-mask-position:center;
  mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64'%3E%3Cpath fill='white' d='M32 58c10-14 18-24 18-34C50 13.85 41.94 6 32 6S14 13.85 14 24c0 10 8 20 18 34zm0-28a6 6 0 1 1 0-12 6 6 0 0 1 0 12z'/%3E%3C/svg%3E");
  mask-size:56px 56px;
  mask-repeat:no-repeat;
  mask-position:center;
  pointer-events:none;
  opacity:.95;
}
.map-content{
  position:relative;
  z-index:1;
  width:100%;
  max-width:100%;
  padding:14px 16px;
  border-radius:18px;
  border:1px solid var(--glass-border);
  background:var(--glass-2);
  backdrop-filter:blur(10px);
  box-shadow:0 8px 32px rgba(0,0,0,.12);
}
html[data-theme="dark"] .map-content{
  background:rgba(7,12,21,.78);
  box-shadow:0 12px 40px rgba(0,0,0,.35);
}
.map-actions{
  margin-top:12px;
  display:flex;
  gap:10px;
  flex-wrap:wrap;
}
/* Карта: все три кнопки при наведении — в «зелёном» стиле как основная */
.map-actions .btn{
  transition:background .15s ease, border-color .15s ease, box-shadow .15s ease, transform .08s ease, background-color .15s ease;
}
.map-actions .btn:hover{
  border-color:rgba(126,224,129,.52);
  background:linear-gradient(180deg, rgba(126,224,129,.30), rgba(88,199,255,.12));
  color:var(--text);
  opacity:1;
}
.map-actions .btn:active{transform:translateY(1px)}
.map-title{font-weight:950;font-size:18px;margin-bottom:6px}

.site-footer{
  padding:26px 0 36px;
  border-top:1px solid rgba(255,255,255,.08);
  background:linear-gradient(180deg, rgba(0,0,0,.06), rgba(0,0,0,.18));
}
.footer-grid{display:grid;grid-template-columns:1.2fr .8fr .8fr;gap:12px;align-items:start}
.brand--footer{margin-bottom:10px}
.footer-links{display:grid;gap:10px}
.footer-links a{color:var(--muted);font-weight:700}
.footer-links a:hover{color:var(--text)}
.footer-contacts{display:flex;gap:10px;flex-wrap:wrap;justify-content:flex-start}

.lightbox, .modal{
  position:fixed;inset:0;z-index:80;
}
.lightbox[hidden], .modal[hidden]{display:none}
.lightbox-backdrop, .modal-backdrop{
  position:absolute;inset:0;
}
.modal-backdrop{background:rgba(0,0,0,.62)}
.lightbox-backdrop{background:rgba(0,0,0,.82)}
.lightbox-dialog{
  position:relative;
  max-width:980px;
  margin:6vh auto;
  width:calc(100% - 36px);
  border-radius:26px;
  border:1px solid rgba(255,255,255,.12);
  background:rgba(7,12,21,.88);
  backdrop-filter:blur(12px);
  box-shadow:var(--shadow);
  overflow:visible;
}
.lightbox{opacity:0; transition:opacity .18s ease}
.lightbox.is-open{opacity:1}
.lightbox-dialog{transform:translateY(10px) scale(.985); transition:transform .22s ease}
.lightbox.is-open .lightbox-dialog{transform:none}
.lightbox-body{
  height:min(70vh,520px);
  background:rgba(0,0,0,.22);
  display:grid;
  grid-template-rows: 1fr auto;
  align-items:center;
  justify-items:center;
  padding:14px;
  border-radius:26px;
  overflow:hidden;
}
.lightbox-img{
  width:100%;
  height:100%;
  max-height:calc(min(70vh,520px) - 64px);
  object-fit:contain;
  border-radius:18px;
  border:1px solid rgba(255,255,255,.10);
  background:rgba(0,0,0,.10);
}
.lightbox-cap{
  width:100%;
  padding:10px 12px;
  border-radius:16px;
  border:1px solid rgba(255,255,255,.12);
  background:rgba(7,12,21,.72);
  backdrop-filter:blur(10px);
  color:rgba(255,255,255,.90);
  font-weight:850;
  position:absolute;
  left:12px;
  right:12px;
  bottom:12px;
  z-index:3;
}
.lightbox-close{
  position:absolute;right:10px;top:10px;
  width:54px;height:54px;border-radius:18px;
  border:1px solid rgba(255,255,255,.12);
  background:rgba(7,12,21,.62);
  color:var(--text);
  font-size:26px;
  cursor:pointer;
  z-index:3;
}
.lightbox-close:focus-visible{outline:none;box-shadow:var(--focus)}
.lightbox-nav{
  position:absolute;
  top:50%;
  transform:translateY(-50%);
  width:54px;
  height:54px;
  border-radius:16px;
  border:1px solid rgba(255,255,255,.14);
  background:rgba(7,12,21,.55);
  color:rgba(255,255,255,.92);
  font-size:34px;
  line-height:1;
  cursor:pointer;
  display:grid;
  place-items:center;
  backdrop-filter:blur(12px);
  z-index:3;
}
.lightbox-prev{left:12px}
.lightbox-next{right:12px}
.lightbox-nav:hover{background:rgba(7,12,21,.68)}
.lightbox-nav:focus-visible{outline:none;box-shadow:var(--focus)}

/* Лайтбокс и подписи карточек галереи — светлая тема (не «чёрный» просмотр) */
html[data-theme="light"] .lightbox-backdrop{
  background:rgba(10,18,32,.38);
}
html[data-theme="light"] .lightbox-dialog{
  border:1px solid var(--glass-border);
  background:rgba(255,255,255,.96);
  backdrop-filter:blur(14px);
  box-shadow:var(--shadow);
}
html[data-theme="light"] .lightbox-body{
  background:linear-gradient(180deg, rgba(246,251,255,.98), rgba(239,246,255,.92));
}
html[data-theme="light"] .lightbox-img{
  border:1px solid rgba(10,18,32,.12);
  background:rgba(255,255,255,.98);
}
html[data-theme="light"] .lightbox-cap{
  border:1px solid rgba(10,18,32,.10);
  background:rgba(255,255,255,.94);
  color:rgba(10,18,32,.92);
  backdrop-filter:blur(10px);
}
html[data-theme="light"] .lightbox-close{
  border:1px solid rgba(10,18,32,.12);
  background:rgba(255,255,255,.94);
  color:rgba(10,18,32,.88);
}
html[data-theme="light"] .lightbox-close:hover{
  background:rgba(255,255,255,1);
  border-color:rgba(10,18,32,.16);
}
html[data-theme="light"] .lightbox-nav{
  border:1px solid rgba(10,18,32,.12);
  background:rgba(255,255,255,.92);
  color:rgba(10,18,32,.88);
}
html[data-theme="light"] .lightbox-nav:hover{
  background:rgba(255,255,255,1);
  border-color:rgba(10,18,32,.16);
}

/* Карточки галереи: полоска подписи не тёмная в светлой теме */
html[data-theme="light"] .gcard{
  border:1px solid rgba(10,18,32,.12);
  background:linear-gradient(180deg, rgba(255,255,255,.98), rgba(246,251,255,.88));
  box-shadow:0 14px 40px rgba(10,18,32,.10);
}
html[data-theme="light"] .gcard:hover{
  border-color:rgba(10,18,32,.16);
  box-shadow:0 20px 56px rgba(10,18,32,.14);
}
html[data-theme="light"] .gcard-cap{
  background:rgba(255,255,255,.94);
  border-top:1px solid rgba(10,18,32,.08);
  color:rgba(10,18,32,.92);
}
html[data-theme="light"] .gcard:focus-within{
  border-color:rgba(40,167,69,.35);
  box-shadow:var(--focus), 0 20px 56px rgba(10,18,32,.12);
}

/* Put navigation arrows outside the dialog frame (desktop) */
@media (min-width: 981px){
  .lightbox-prev{left:-74px}
  .lightbox-next{right:-74px}
  .lightbox-close{right:-74px; top:12px}
  .lightbox-cap{left:0; right:0; bottom:-62px}
}

/* On smaller screens keep arrows inside viewport */
@media (max-width: 980px){
  .lightbox-prev{left:10px}
  .lightbox-next{right:10px}
  .lightbox-close{right:10px; top:10px}
  .lightbox-cap{left:12px; right:12px; bottom:12px}
}

/* Всплывающая новость (внизу слева; ниже баннера cookie по z-index) */
.news-popup{
  position:fixed;
  left:18px;
  bottom:120px;
  z-index:9998;
  max-width:min(380px, calc(100vw - 36px));
  border-radius:var(--radius2);
  border:1px solid var(--glass-border);
  background:var(--glass-2);
  backdrop-filter:blur(14px);
  box-shadow:0 18px 50px rgba(0,0,0,.45);
  opacity:0;
  transform:translateY(18px);
  transition:opacity .38s ease, transform .38s ease;
  pointer-events:auto;
}
.news-popup.is-visible{
  opacity:1;
  transform:translateY(0);
}
.news-popup-close{
  position:absolute;
  top:10px;
  right:10px;
  width:38px;
  height:38px;
  border-radius:12px;
  border:1px solid rgba(255,255,255,.14);
  background:rgba(7,12,21,.45);
  color:var(--text);
  font-size:22px;
  line-height:1;
  cursor:pointer;
  display:flex;
  align-items:center;
  justify-content:center;
  z-index:2;
}
.news-popup-close:focus-visible{outline:none; box-shadow:var(--focus)}
.news-popup-close:hover{border-color:rgba(255,255,255,.28)}
.news-popup-inner{display:flex;flex-direction:column;min-width:0;overflow:hidden;border-radius:inherit}
.news-popup-img{
  width:100%;
  height:auto;
  max-height:220px;
  object-fit:cover;
  display:block;
  vertical-align:top;
}
.news-popup-body{padding:16px 16px 18px;padding-top:14px}
.news-popup-title{margin:0 0 8px;font-size:1.12rem;font-weight:950;letter-spacing:-.02em;padding-right:40px;line-height:1.25}
.news-popup-text{margin:0 0 12px;color:var(--muted);font-size:0.95rem;line-height:1.5}
.news-popup-cta{width:100%;justify-content:center;box-sizing:border-box}
html[data-theme="light"] .news-popup{
  background:rgba(255,255,255,.94);
  border-color:rgba(10,18,32,.12);
}
html[data-theme="light"] .news-popup-close{
  background:rgba(255,255,255,.85);
  border-color:rgba(10,18,32,.12);
}
@media (max-width:560px){
  .news-popup{
    left:12px;
    right:12px;
    bottom:96px;
    max-width:none;
  }
}

.cookie-banner{
  position:fixed;
  left:18px;
  bottom:18px;
  z-index:9999;
  max-width:380px;
  border-radius:18px;
  border:1px solid rgba(255,255,255,.12);
  background:var(--glass-2);
  backdrop-filter:blur(14px);
  box-shadow:0 18px 50px rgba(0,0,0,.4);
  transform:translateY(0);
  transition:transform .35s ease, opacity .35s ease;
  pointer-events:auto;
}
.cookie-banner .btn{ pointer-events:auto; cursor:pointer; }
.cookie-banner[hidden]{
  display:none !important;
}
.cookie-inner{
  display:flex;
  flex-direction:column;
  gap:14px;
  padding:16px 18px;
}
.cookie-content{min-width:0}
.cookie-title{font-weight:950;margin-bottom:6px;font-size:15px}
.cookie-text{font-size:13px;line-height:1.45;color:var(--muted)}
.cookie-text a{color:var(--accent);text-decoration:underline}
.cookie-actions{display:flex;gap:8px;flex-wrap:wrap}

.modal-dialog{
  position:relative;
  max-width:720px;
  margin:9vh auto;
  width:calc(100% - 36px);
  border-radius:26px;
  border:1px solid rgba(255,255,255,.12);
  background:rgba(7,12,21,.76);
  backdrop-filter:blur(12px);
  box-shadow:var(--shadow);
  overflow:hidden;
}
.modal-head{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:16px;border-bottom:1px solid rgba(255,255,255,.10)}
.modal-title{margin:0;font-size:18px}
.modal-body{padding:16px}
.cookie-prefs{display:grid;gap:10px}
.pref{display:flex;gap:10px;align-items:flex-start;padding:12px;border-radius:16px;border:1px solid rgba(255,255,255,.10);background:rgba(255,255,255,.03)}
.pref input{width:18px;height:18px;margin-top:2px}
.modal-actions{display:flex;gap:10px;justify-content:flex-end;padding:16px;border-top:1px solid rgba(255,255,255,.10)}

@media (max-width: 980px){
  .hero-grid{grid-template-columns:1fr;gap:16px}
  .hero-copy h1{font-size:38px}
  .hero-stats{grid-template-columns:1fr 1fr 1fr}
  .booking{grid-template-columns:1fr}
  .contacts{grid-template-columns:1fr}
  .grid-4{grid-template-columns:repeat(2,1fr)}
  .footer-grid{grid-template-columns:1fr}
  .book-top{grid-template-columns:1fr}
  .cabin-picks{grid-template-columns:1fr}
  .book-bottom{flex-direction:column; align-items:stretch}
  .book-actions{min-width:0}
  /* override desktop full-width booking layout */
  .booking--full .book-top{grid-template-columns:1fr}
  .booking--full .book-widget{max-width:none}
  .booking--full .cabin-picks{grid-template-columns:1fr}
  .booking--full .book-summary--aside{margin-top:0}
  .booking--full .book-confirm-actions{justify-content:flex-start}
  .reviews-intro-form{grid-template-columns:1fr}
}

@media (max-width: 780px){
  .nav{display:none}
  .burger{display:inline-flex}
  .header-actions{gap:12px}
  .hero{padding-top:30px}
  .hero-copy h1{font-size:34px}
  .grid-3{grid-template-columns:1fr}
  .hero-stats{grid-template-columns:1fr}
  .section-head{flex-direction:column;align-items:flex-start}
  .reviews-page-title{font-size:24px}
  .form-grid{grid-template-columns:1fr}
  .side-back{left:12px; top:auto; bottom:84px}
  .header-actions .btn-primary{padding:8px 12px; min-height:38px; font-size:14px}
  /* Mobile menu: allow scroll on short screens */
  .mobile-nav{max-height:calc(100svh - 66px); overflow:auto}
}

/* --- Mobile polish (phones) --- */
@media (max-width: 560px){
  .container{padding:0 14px}
  .header-row{gap:10px}
  .brand-name{font-size:16px}
  .brand-mark{width:38px;height:38px}
  .header-actions{gap:8px}
  .chip{display:none}
  .btn{padding:10px 12px}
  .btn-primary{min-height:42px}
  .header-actions .btn-primary{padding:8px 12px; min-height:38px; font-size:14px}

  .hero{min-height:92vh; padding:62px 0 36px}
  .hero-grid{gap:14px}
  .hero-copy .kicker{font-size:12px; letter-spacing:.12em}
  .hero-copy h1{font-size:32px}
  .hero-copy .lead{font-size:16px}
  .hero-cta{gap:8px}
  .hero-cta .btn{width:100%; justify-content:center}
  .hero-stats{gap:10px}
  .stat{padding:12px}

  .section{padding:34px 0}
  .section-head h2{font-size:24px}

  .grid-4{grid-template-columns:1fr}
  .cards{gap:12px}
  .card{padding:14px}

  .booking-points{grid-template-columns:1fr}
  .form-actions{flex-direction:column; align-items:stretch}
  .form-actions .btn{width:100%}

  /* Booking widget: phone layout */
  .book-widget{padding:12px}
  .book-input{padding:12px}
  .guest-row{flex-wrap:wrap; align-items:flex-start}
  .stepper{gap:6px; padding:5px}
  .step{width:34px; height:34px}
  .cabin{padding:10px}
  .book-actions{min-width:0}
  .book-confirm-actions{flex-direction:column}
  .book-confirm-actions .btn{flex:1 1 auto; width:100%}
  .bw-dialog{margin:6vh auto}
  .booking-page .side-back{display:none}

  .contacts-grid{grid-template-columns:1fr}
  .map-placeholder{min-height:220px}

  .footer-contacts{flex-direction:column; align-items:flex-start}
  .footer-contacts .chip{display:inline-flex}
  .footer-links{grid-template-columns:1fr}

  /* Compact mobile menu items so everything fits */
  .mobile-nav-inner{gap:8px; padding:10px 0 14px}
  .mobile-nav-inner a{
    padding:9px 10px;
    border-radius:12px;
    font-size:14px;
    line-height:1.2;
  }
  .mobile-nav-inner .btn{padding:9px 10px; min-height:40px}
}

/* Floating UI should not overlap on mobile */
@media (max-width: 560px){
  .cookie-banner{left:12px; right:12px; bottom:12px; max-width:none}
  .theme-switch{right:12px; bottom:112px}
  /* "Back to home" button: bottom-left (above cookie banner) */
  .side-back{left:12px; right:auto; top:auto; bottom:92px; padding:10px 12px}
}

/* Lightbox: full-screen on phones */
@media (max-width: 560px){
  .lightbox-dialog{
    margin:0;
    width:100%;
    max-width:none;
    border-radius:0;
    border-left:0;
    border-right:0;
  }
  .lightbox-body{border-radius:0; height:100vh; padding:12px}
  .lightbox-img{max-height:calc(100vh - 86px)}
  .lightbox-cap{left:12px; right:12px; bottom:12px}
  .lightbox-close{right:12px; top:12px}
  .lightbox-prev{left:12px}
  .lightbox-next{right:12px}
  .lightbox-nav{width:48px; height:48px; border-radius:16px}
}
