/* ═══════════════════════════════════════════
   GLOW Nail Studio — styles
   Brand: cream #F4F2E9 + cobalt #1E5BA8
   Type:  Playfair Display (headings) / Inter (body)
   ═══════════════════════════════════════════ */

:root {
  /* Brand colors */
  --cream:        #F4F2E9;
  --cream-card:   #FBFAF4;
  --cream-deep:   #ECE7D8;
  --blue:         #1E5BA8;
  --blue-deep:    #17497F;
  --blue-soft:    #6E97C6;
  --ink:          #1C2330;
  --ink-soft:     #4E5666;
  --line:         #E2DCCC;
  --white:        #FFFFFF;
  --wa:           #25D366;
  --danger:       #C0392B;

  /* Type */
  --serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --sans:  'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;

  /* Shape & shadow */
  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 24px;
  --shadow-sm: 0 2px 10px rgba(28,35,48,.06);
  --shadow-md: 0 14px 40px -18px rgba(28,35,48,.28);
  --shadow-lg: 0 30px 70px -30px rgba(23,73,127,.40);

  --maxw: 1180px;
  --ease: cubic-bezier(.22,.61,.36,1);
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 82px; }
body {
  font-family: var(--sans);
  background: var(--cream);
  color: var(--ink);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; padding: 0; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 4px; }

.container {
  width: 100%; max-width: var(--maxw); margin-inline: auto;
  padding-inline: clamp(20px, 5vw, 48px);
  padding-left: max(clamp(20px, 5vw, 48px), env(safe-area-inset-left));
  padding-right: max(clamp(20px, 5vw, 48px), env(safe-area-inset-right));
}

/* ── Brand wordmark ── */
.brand-mark {
  font-family: var(--serif);
  font-weight: 600;
  letter-spacing: .14em;
  color: var(--blue);
  line-height: 1;
}
.brand-sub {
  font-family: var(--sans);
  text-transform: uppercase;
  letter-spacing: .42em;
  font-size: .58rem;
  color: var(--blue-soft);
  font-weight: 500;
}

/* ════ HEADER ════ */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(244,242,233,.82);
  backdrop-filter: saturate(140%) blur(12px);
  -webkit-backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, box-shadow .3s, background .3s;
}
.site-header.scrolled {
  border-color: var(--line);
  box-shadow: var(--shadow-sm);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; min-height: 70px; }
.brand { display: flex; flex-direction: column; gap: 3px; line-height: 1; }
.brand .brand-mark { font-size: 1.5rem; }

.nav-links { display: flex; align-items: center; gap: clamp(18px, 2.6vw, 34px); }
.nav-links a:not(.nav-cta) {
  font-size: .94rem; font-weight: 500; color: var(--ink-soft);
  position: relative; padding: 4px 0; transition: color .2s;
}
.nav-links a:not(.nav-cta)::after {
  content: ''; position: absolute; left: 0; bottom: -2px; height: 1.5px; width: 0;
  background: var(--blue); transition: width .25s var(--ease);
}
.nav-links a:not(.nav-cta):hover { color: var(--blue); }
.nav-links a:not(.nav-cta):hover::after { width: 100%; }
.nav-links a:not(.nav-cta).active { color: var(--blue); }
.nav-links a:not(.nav-cta).active::after { width: 100%; }

.nav-toggle { display: none; width: 44px; height: 44px; flex-direction: column; justify-content: center; gap: 5px; align-items: center; }
.nav-toggle span { width: 24px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .3s, opacity .25s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ════ BUTTONS ════ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-weight: 600; font-size: .96rem; letter-spacing: .01em;
  padding: 14px 28px; border-radius: 999px;
  transition: transform .2s var(--ease), background .25s, box-shadow .25s, color .25s;
  white-space: nowrap; will-change: transform;
}
.btn-sm { padding: 9px 20px; font-size: .88rem; }
.btn-block { width: 100%; }
.btn-primary { background: var(--blue); color: var(--white); box-shadow: 0 10px 24px -12px rgba(30,91,168,.8); }
.btn-primary:hover { background: var(--blue-deep); transform: translateY(-2px); box-shadow: 0 16px 30px -12px rgba(30,91,168,.7); }
.btn-primary:active { transform: translateY(0); }
.btn-ghost { background: transparent; color: var(--blue); box-shadow: inset 0 0 0 1.5px var(--blue); }
.btn-ghost:hover { background: var(--blue); color: var(--white); transform: translateY(-2px); }
.btn-wa { background: var(--wa); box-shadow: 0 10px 24px -12px rgba(37,211,102,.9); }
.btn-wa:hover { background: #1ebe59; box-shadow: 0 16px 30px -12px rgba(37,211,102,.8); }
.wa-ico { width: 20px; height: 20px; }

/* ════ SECTIONS ════ */
.section { padding: clamp(64px, 9vw, 120px) 0; }
.section-head { max-width: 640px; margin: 0 auto clamp(40px, 6vw, 64px); text-align: center; }
.kicker {
  text-transform: uppercase; letter-spacing: .28em; font-size: .74rem; font-weight: 600;
  color: var(--blue); margin-bottom: 14px;
}
.kicker-light { color: var(--blue-soft); }
h2 { font-family: var(--serif); font-weight: 600; font-size: clamp(2rem, 4.5vw, 3.1rem); line-height: 1.08; letter-spacing: -.01em; }
.section-lead { margin-top: 16px; color: var(--ink-soft); font-size: 1.05rem; }

/* ════ HERO ════ */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(120% 90% at 50% -10%, #FFFDF6 0%, var(--cream) 55%);
  text-align: center;
  padding: clamp(70px, 13vw, 140px) 0 clamp(70px, 11vw, 120px);
}
/* hero video background (boomerang loop) */
.hero-video-wrap { position: absolute; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; }
.hero-video { width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 1s var(--ease); }
.hero-video.ready { opacity: 1; }
.hero-video-overlay {
  position: absolute; inset: 0;
  background:
    radial-gradient(120% 90% at 50% 0%, rgba(255,253,246,.42), rgba(244,242,233,.54) 60%, rgba(244,242,233,.68)),
    linear-gradient(to bottom, rgba(244,242,233,.10), rgba(244,242,233,.50));
}

.hero-inner { position: relative; z-index: 2; max-width: 760px; }
.hero-eyebrow {
  text-transform: uppercase; letter-spacing: .34em; font-size: .76rem; font-weight: 600;
  color: var(--blue-soft); margin-bottom: 26px;
}
.hero-logo { display: flex; flex-direction: column; align-items: center; gap: 6px; line-height: .9; margin-bottom: 22px; }
.hero-logo-main {
  font-family: var(--serif); font-weight: 600;
  font-size: clamp(4.5rem, 18vw, 11rem); letter-spacing: .04em; line-height: .82;
  /* shimmering "glow" sweep across the wordmark */
  background-image: linear-gradient(
    100deg,
    var(--blue) 0%, var(--blue) 38%,
    #8FB6E4 46%, #EAF3FF 50%, #8FB6E4 54%,
    var(--blue) 62%, var(--blue) 100%
  );
  background-size: 300% 100%;
  background-position: 130% 0;
  -webkit-background-clip: text; background-clip: text;
  color: transparent; -webkit-text-fill-color: transparent;
  animation: glow-sweep 5.5s ease-in-out 1.2s infinite;
}
@keyframes glow-sweep {
  0%   { background-position: 130% 0; }
  45%  { background-position: -30% 0; }
  100% { background-position: -30% 0; }
}
.hero-logo-sub {
  text-transform: uppercase; letter-spacing: .6em; font-size: clamp(.7rem, 2vw, 1rem);
  color: var(--blue); font-weight: 500; padding-left: .6em;
}
.hero-tagline { font-family: var(--serif); font-style: italic; font-size: clamp(1.2rem, 3.2vw, 1.7rem); color: var(--ink); margin-bottom: 18px; }
.hero-text { max-width: 540px; margin: 0 auto 34px; color: var(--ink-soft); font-size: 1.08rem; }
.hero-text strong { color: var(--ink); font-weight: 600; }
.hero-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.hero-badges {
  display: flex; justify-content: center; gap: clamp(24px, 6vw, 64px); flex-wrap: wrap;
  margin-top: 48px; padding-top: 10px;
}
.hero-badges li { font-size: .9rem; color: var(--ink-soft); display: flex; flex-direction: column; gap: 2px; }
.hero-badges span { font-family: var(--serif); font-size: 1.9rem; font-weight: 600; color: var(--blue); line-height: 1; }
.hero-glow {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    radial-gradient(40% 50% at 12% 18%, rgba(30,91,168,.07), transparent 70%),
    radial-gradient(36% 46% at 88% 30%, rgba(30,91,168,.06), transparent 70%);
}

/* botanical line-art decorations */
.hero-deco { position: absolute; inset: 0; z-index: 1; pointer-events: none; color: var(--blue); }
.deco { position: absolute; bottom: -10px; width: clamp(120px, 16vw, 220px); height: auto; opacity: .1; }
.deco-l { left: 1vw; transform: rotate(-4deg); }
.deco-r { right: 1vw; transform: scaleX(-1) rotate(-4deg); }
@media (max-width: 720px) { .deco { opacity: .07; width: 96px; } }

/* twinkling sparkles */
.hero-sparkles { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.spark { position: absolute; width: 22px; height: 22px; fill: var(--blue); opacity: 0; transform-origin: center;
  animation: twinkle 4s ease-in-out infinite; }
.spark.s1 { top: 22%; left: 12%; width: 26px; animation-delay: .2s; }
.spark.s2 { top: 30%; right: 14%; width: 18px; fill: var(--blue-soft); animation-delay: 1.4s; }
.spark.s3 { top: 64%; left: 18%; width: 14px; fill: var(--blue-soft); animation-delay: 2.3s; }
.spark.s4 { top: 16%; right: 28%; width: 12px; animation-delay: 3s; }
.spark.s5 { bottom: 20%; right: 20%; width: 20px; animation-delay: .8s; }
@keyframes twinkle {
  0%, 100% { opacity: 0; transform: scale(.4) rotate(0deg); }
  50%      { opacity: .55; transform: scale(1) rotate(45deg); }
}

/* ════ SERVICES ════ */
.services-grid {
  display: grid; gap: 20px;
  grid-template-columns: repeat(auto-fit, minmax(248px, 1fr));
}
.service-card {
  background: var(--cream-card); border: 1px solid var(--line); border-radius: var(--r-md);
  padding: 32px 28px; box-shadow: var(--shadow-sm);
  transition: transform .3s var(--ease), box-shadow .3s, border-color .3s;
}
.service-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: var(--blue-soft); }
.service-ico {
  display: inline-flex; align-items: center; justify-content: center;
  width: 56px; height: 56px; border-radius: 14px;
  background: rgba(30,91,168,.09); color: var(--blue); margin-bottom: 20px;
}
.service-ico svg { width: 30px; height: 30px; }
.service-card h3 { font-family: var(--serif); font-size: 1.4rem; font-weight: 600; margin-bottom: 8px; }
.service-card p { color: var(--ink-soft); font-size: .96rem; margin-bottom: 16px; }
.service-from {
  display: inline-block; font-weight: 600; font-size: .82rem; color: var(--blue);
  background: rgba(30,91,168,.08); padding: 5px 14px; border-radius: 999px;
}

/* ════ GALLERY ════ */
.filters { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-bottom: 36px; }
.filter {
  padding: 9px 22px; border-radius: 999px; font-size: .9rem; font-weight: 500;
  color: var(--ink-soft); background: var(--cream-card); border: 1px solid var(--line);
  transition: all .22s var(--ease);
}
.filter:hover { color: var(--blue); border-color: var(--blue-soft); }
.filter.is-active { background: var(--blue); color: var(--white); border-color: var(--blue); }

.gallery-grid {
  display: grid; gap: 14px;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-flow: dense;
}
.g-item {
  position: relative; overflow: hidden; border-radius: var(--r-sm);
  cursor: pointer; background: var(--cream-deep); aspect-ratio: 3 / 4;
  box-shadow: var(--shadow-sm);
  transition: opacity .4s var(--ease), transform .4s var(--ease);
}
.g-item.tall { grid-row: span 2; aspect-ratio: 3 / 5; }
.g-item img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .6s var(--ease);
}
.g-item:hover img { transform: scale(1.07); }
.g-item::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(23,73,127,.4), transparent 45%);
  opacity: 0; transition: opacity .3s;
}
.g-item:hover::after { opacity: 1; }
.g-item .g-tag {
  position: absolute; left: 12px; bottom: 12px; z-index: 2;
  color: #fff; font-size: .78rem; font-weight: 600; letter-spacing: .02em;
  opacity: 0; transform: translateY(6px); transition: all .3s var(--ease);
  text-shadow: 0 1px 6px rgba(0,0,0,.4);
}
.g-item:hover .g-tag { opacity: 1; transform: translateY(0); }
.g-item.is-hidden { display: none; }

/* ════ PRICING ════ */
.price-cards { display: grid; gap: 24px; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); max-width: 980px; margin-inline: auto; }
.price-card {
  background: var(--cream-card); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: clamp(28px, 4vw, 44px); box-shadow: var(--shadow-sm);
}
.price-card-title {
  font-family: var(--serif); font-size: 1.7rem; font-weight: 600; color: var(--blue);
  padding-bottom: 18px; margin-bottom: 10px; border-bottom: 2px solid var(--line);
}
.price-sub {
  text-transform: uppercase; letter-spacing: .2em; font-size: .76rem; font-weight: 700;
  color: var(--ink-soft); margin: 26px 0 6px;
}
.price-list li {
  display: flex; align-items: baseline; gap: 8px; padding: 14px 0;
  border-bottom: 1px dashed var(--line);
}
.price-list-compact li { padding: 10px 0; }
.price-list li:last-child { border-bottom: none; }
.price-name { font-weight: 500; color: var(--ink); flex-shrink: 1; }
.price-name small { display: block; font-weight: 400; font-size: .8rem; color: var(--ink-soft); margin-top: 3px; line-height: 1.4; }
.price-dots { flex: 1; border-bottom: 1px dotted var(--blue-soft); transform: translateY(-3px); min-width: 16px; opacity: .5; }
.price-val { font-family: var(--serif); font-weight: 600; font-size: 1.12rem; color: var(--blue); white-space: nowrap; font-variant-numeric: tabular-nums; }
.price-note { margin-top: 28px; padding-top: 22px; border-top: 2px solid var(--line); display: flex; flex-direction: column; gap: 16px; align-items: flex-start; }
.price-note p { color: var(--ink-soft); font-size: .92rem; }

/* ════ BOOKING ════ */
.booking { background: linear-gradient(165deg, var(--blue) 0%, var(--blue-deep) 100%); color: #fff; }
.booking-inner { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(32px, 5vw, 64px); align-items: start; }
.booking-aside h2 { color: #fff; }
.booking-aside > p { color: rgba(255,255,255,.82); margin-top: 16px; font-size: 1.04rem; }
.booking-points { margin: 28px 0; display: flex; flex-direction: column; gap: 14px; }
.booking-points li { display: flex; align-items: flex-start; gap: 12px; color: rgba(255,255,255,.9); font-size: .98rem; }
.booking-points svg { width: 20px; height: 20px; flex-shrink: 0; margin-top: 2px; color: #BBD3EE; }
.contact-direct { display: inline-block; color: #fff; font-weight: 600; border-bottom: 1.5px solid rgba(255,255,255,.5); padding-bottom: 2px; transition: border-color .2s; }
.contact-direct:hover { border-color: #fff; }

.booking-form {
  background: var(--cream-card); border-radius: var(--r-lg); padding: clamp(26px, 4vw, 40px);
  box-shadow: var(--shadow-lg); color: var(--ink);
}
.field { margin-bottom: 18px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field-row .field { min-width: 0; }
.field label { display: block; font-size: .86rem; font-weight: 600; color: var(--ink); margin-bottom: 7px; }
.req { color: var(--danger); }
.field input, .field select, .field textarea {
  width: 100%; min-width: 0; max-width: 100%; font-family: inherit; font-size: 1rem; color: var(--ink);
  background: var(--white); border: 1.5px solid var(--line); border-radius: var(--r-sm);
  padding: 12px 14px; min-height: 48px; transition: border-color .2s, box-shadow .2s;
}
.field textarea { min-height: auto; resize: vertical; }
/* normalize native date/time inputs so they obey width on mobile (iOS Safari fix) */
.field input[type="date"],
.field input[type="time"] {
  -webkit-appearance: none; appearance: none;
}
.field input[type="date"]::-webkit-date-and-time-value,
.field input[type="time"]::-webkit-date-and-time-value { text-align: left; }
.field input[type="date"]::-webkit-calendar-picker-indicator,
.field input[type="time"]::-webkit-calendar-picker-indicator { margin-left: auto; opacity: .55; }
.field input::placeholder, .field textarea::placeholder { color: #9aa1ad; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(30,91,168,.14);
}
.field.invalid input, .field.invalid select { border-color: var(--danger); }
.field-hint { color: var(--ink-soft); font-size: .78rem; margin-top: 6px; }
.field-error { color: var(--danger); font-size: .8rem; margin-top: 6px; min-height: 0; }
.field-error:empty { margin-top: 0; }
.field.invalid .field-error::before { content: '⚠ '; }
.form-hint { font-size: .82rem; color: var(--ink-soft); text-align: center; margin-top: 12px; }
.form-status { text-align: center; font-size: .9rem; margin-top: 10px; font-weight: 500; min-height: 1.2em; }
.form-status.ok { color: #1a7a40; }

/* booking CTA card (in the section) */
.booking-cta { display: flex; }
.booking-cta-card {
  width: 100%; align-self: center;
  background: var(--cream-card); border-radius: var(--r-lg);
  padding: clamp(30px, 4vw, 48px); box-shadow: var(--shadow-lg); color: var(--ink);
  text-align: center;
}
.booking-cta-ico {
  display: inline-flex; align-items: center; justify-content: center;
  width: 64px; height: 64px; border-radius: 18px;
  background: rgba(30,91,168,.10); color: var(--blue); margin-bottom: 18px;
}
.booking-cta-ico svg { width: 34px; height: 34px; }
.booking-cta-card h3 { font-family: var(--serif); font-size: 1.6rem; font-weight: 600; margin-bottom: 8px; }
.booking-cta-card p { color: var(--ink-soft); font-size: 1rem; margin-bottom: 22px; }

/* ════ BOOKING MODAL ════ */
.modal { position: fixed; inset: 0; z-index: 300; display: none; }
.modal.open { display: flex; align-items: center; justify-content: center; padding: clamp(12px, 4vw, 32px); }
.modal-overlay { position: absolute; inset: 0; background: rgba(18,24,34,.55); backdrop-filter: blur(5px); -webkit-backdrop-filter: blur(5px); animation: modal-fade .25s var(--ease); }
.modal-dialog {
  position: relative; z-index: 1; width: 100%; max-width: 540px;
  max-height: 92dvh; overflow: hidden;
  background: var(--cream-card); border-radius: var(--r-lg);
  box-shadow: 0 40px 90px -30px rgba(0,0,0,.5);
  animation: modal-in .32s var(--ease);
}
.modal-scroll {
  max-height: 92dvh; overflow-y: auto; overflow-x: hidden;
  overscroll-behavior: contain; -webkit-overflow-scrolling: touch;
  padding: clamp(26px, 4vw, 42px);
  scrollbar-width: none;        /* Firefox */
  -ms-overflow-style: none;     /* old Edge/IE */
}
.modal-scroll::-webkit-scrollbar { width: 0; height: 0; display: none; } /* Chrome/Safari/Edge */
.modal-close {
  position: absolute; top: 14px; right: 14px; z-index: 3;
  width: 40px; height: 40px; border-radius: 50%; font-size: 1.7rem; line-height: 1;
  color: var(--ink-soft); background: var(--cream-deep);
  box-shadow: 0 2px 12px rgba(28,35,48,.16);
  display: flex; align-items: center; justify-content: center;
  transition: background .2s, color .2s, transform .2s;
}
.modal-close:hover { background: var(--blue); color: #fff; transform: rotate(90deg); }
.modal-head { margin-bottom: 20px; padding-right: 36px; }
.modal-head .kicker { margin-bottom: 8px; }
.modal-head h2 { font-size: clamp(1.6rem, 4vw, 2.1rem); }
.modal-sub { color: var(--ink-soft); font-size: .96rem; margin-top: 8px; }
/* form inside modal: no double card */
.modal .booking-form { background: none; box-shadow: none; border-radius: 0; padding: 0; }

@keyframes modal-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes modal-in { from { opacity: 0; transform: translateY(18px) scale(.98); } to { opacity: 1; transform: none; } }
body.modal-open { overflow: hidden; }

/* ════ CONTACTS ════ */
.contacts-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(28px, 4vw, 56px); align-items: stretch; }
.contacts-list { display: flex; flex-direction: column; gap: 24px; margin-bottom: 32px; }
.contacts-list li { display: flex; gap: 16px; align-items: flex-start; }
.c-ico { display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; border-radius: 12px; background: rgba(30,91,168,.09); color: var(--blue); flex-shrink: 0; }
.c-ico svg { width: 24px; height: 24px; }
.contacts-list h3 { font-size: .82rem; text-transform: uppercase; letter-spacing: .14em; color: var(--ink-soft); font-weight: 700; margin-bottom: 4px; }
.contacts-list p { font-size: 1.08rem; color: var(--ink); font-weight: 500; }
.contacts-list a:hover { color: var(--blue); }
.contacts-map { position: relative; border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-md); min-height: 340px; border: 1px solid var(--line); background: var(--cream-deep); }
.map-canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: none; }
.map-canvas.active { display: block; }
.contacts-map.has-map .map-fallback { display: none; }

/* fallback "map" card */
.map-fallback { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 18px; padding: 28px; text-align: center; }
.map-grid {
  position: absolute; inset: 0; opacity: .5;
  background-image:
    linear-gradient(rgba(30,91,168,.10) 1px, transparent 1px),
    linear-gradient(90deg, rgba(30,91,168,.10) 1px, transparent 1px),
    radial-gradient(120% 120% at 70% 20%, rgba(30,91,168,.06), transparent 60%);
  background-size: 38px 38px, 38px 38px, 100% 100%;
}
.map-pin { position: relative; z-index: 1; color: var(--blue); filter: drop-shadow(0 8px 10px rgba(30,91,168,.35)); animation: pin-bob 2.6s var(--ease) infinite; }
.map-pin svg { width: 52px; height: 52px; }
@keyframes pin-bob { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-7px); } }
.map-card { position: relative; z-index: 1; background: var(--cream-card); border: 1px solid var(--line); border-radius: var(--r-md); padding: 18px 22px; box-shadow: var(--shadow-sm); }
.map-card-name { font-family: var(--serif); font-size: 1.25rem; font-weight: 600; color: var(--blue); }
.map-card-addr { color: var(--ink-soft); font-size: .95rem; margin: 4px 0 14px; }
.map-card-actions { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.btn-2gis { background: #19AA1E; color: #fff; box-shadow: 0 10px 24px -12px rgba(25,170,30,.8); }
.btn-2gis:hover { background: #138a17; transform: translateY(-2px); }

/* ════ FOOTER ════ */
.site-footer { background: var(--ink); color: rgba(255,255,255,.7); padding: 48px 0; padding-bottom: max(48px, calc(env(safe-area-inset-bottom) + 24px)); }
.footer-inner { display: flex; flex-direction: column; align-items: center; gap: 22px; text-align: center; }
.footer-brand { display: flex; flex-direction: column; gap: 4px; }
.footer-brand .brand-mark { color: #fff; font-size: 1.7rem; }
.footer-brand .brand-sub { color: var(--blue-soft); }
.footer-nav { display: flex; gap: 26px; flex-wrap: wrap; justify-content: center; }
.footer-nav a { font-size: .92rem; color: rgba(255,255,255,.7); transition: color .2s; }
.footer-nav a:hover { color: #fff; }
.footer-copy { font-size: .82rem; color: rgba(255,255,255,.45); }

/* ════ FLOATING WA ════ */
.fab-wa {
  position: fixed; z-index: 90;
  right: max(20px, env(safe-area-inset-right));
  bottom: max(20px, env(safe-area-inset-bottom));
  width: 56px; height: 56px; border-radius: 50%; background: var(--wa); color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 10px 30px -8px rgba(37,211,102,.7);
  transition: transform .25s var(--ease), box-shadow .25s, opacity .25s var(--ease);
  animation: fab-pop .4s var(--ease) .8s backwards;
}
.fab-wa:hover { transform: scale(1.08); }
.fab-wa.hidden { opacity: 0; transform: scale(0); pointer-events: none; }
.fab-wa svg { width: 30px; height: 30px; }
@keyframes fab-pop { from { transform: scale(0); opacity: 0; } to { transform: scale(1); opacity: 1; } }

/* ════ LIGHTBOX ════ */
.lightbox {
  position: fixed; inset: 0; z-index: 200; display: none;
  align-items: center; justify-content: center;
  background: rgba(18,24,34,.92); backdrop-filter: blur(4px);
  padding: 20px;
}
.lightbox.open { display: flex; animation: lb-fade .25s var(--ease); }
@keyframes lb-fade { from { opacity: 0; } to { opacity: 1; } }
.lb-img { max-width: min(92vw, 720px); max-height: 86vh; border-radius: var(--r-md); box-shadow: 0 30px 80px rgba(0,0,0,.5); object-fit: contain; }
.lb-close, .lb-nav {
  position: absolute; color: #fff; background: rgba(255,255,255,.12);
  width: 50px; height: 50px; border-radius: 50%; font-size: 1.6rem; line-height: 1;
  display: flex; align-items: center; justify-content: center; transition: background .2s;
}
.lb-close:hover, .lb-nav:hover { background: rgba(255,255,255,.28); }
.lb-close { top: 22px; right: 22px; font-size: 2rem; }
.lb-nav { top: 50%; transform: translateY(-50%); font-size: 2.4rem; }
.lb-prev { left: 22px; }
.lb-next { right: 22px; }

/* ════ REVEAL ANIMATION ════ */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.visible { opacity: 1; transform: none; }

/* ════ RESPONSIVE ════ */
@media (max-width: 1024px) {
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 860px) {
  .booking-inner { grid-template-columns: 1fr; }
  .contacts-grid { grid-template-columns: 1fr; }
  .contacts-map { min-height: 300px; }

  .nav-toggle { display: flex; }
  .nav-links {
    position: fixed; inset: 70px 0 auto 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--cream-card); border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-md);
    padding: 8px 0 18px; transform: translateY(-130%);
    transition: transform .35s var(--ease); z-index: 99;
  }
  .nav-links.open { transform: translateY(0); }
  .nav-links a:not(.nav-cta) { padding: 14px clamp(20px,5vw,48px); font-size: 1.05rem; }
  .nav-links a:not(.nav-cta)::after { display: none; }
  .nav-cta { margin: 12px clamp(20px,5vw,48px) 0; text-align: center; }
}
@media (max-width: 620px) {
  .gallery-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .g-item.tall { grid-row: span 1; aspect-ratio: 3 / 4; }
  .field-row { grid-template-columns: 1fr; gap: 0; }
  .hero-badges { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px 10px; }
  .hero-badges li { font-size: .82rem; }
  .hero-badges span { font-size: 1.55rem; }
  .btn { width: 100%; }
  .hero-actions .btn { width: 100%; }
  .price-note .btn, .booking-form .btn { width: 100%; }
  .footer-nav { gap: 16px 20px; }
}

/* ════ REDUCED MOTION ════ */
@media (prefers-reduced-motion: reduce) {
  * { animation-duration: .001ms !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}
