/* ============================================================================
   MAMA'S GIRLS HOSTEL — site.css
   Dark "liquid glass" iOS-grade UI. One accent family: champagne gold + rose.
   ========================================================================== */

/* ---------- tokens ---------- */
:root {
  --ink-950: #04050a;
  --ink-900: #07080e;
  --ink-850: #0b0c14;
  --ink-800: #10111b;

  --text: #f5f2ee;
  --text-dim: rgba(245, 242, 238, 0.66);
  --text-faint: rgba(245, 242, 238, 0.42);

  --gold-100: #f6e3c8;
  --gold-300: #e8c39a;
  --gold-500: #cfa672;
  --rose-300: #eaa9a9;
  --rose-500: #d98b8b;

  --glass: rgba(255, 255, 255, 0.055);
  --glass-2: rgba(255, 255, 255, 0.085);
  --glass-3: rgba(255, 255, 255, 0.12);
  --stroke: rgba(255, 255, 255, 0.12);
  --stroke-2: rgba(255, 255, 255, 0.2);
  --inner: inset 0 1px 0 rgba(255, 255, 255, 0.16), inset 0 -1px 0 rgba(0, 0, 0, 0.28);

  --blur: saturate(180%) blur(22px);
  --blur-strong: saturate(200%) blur(34px);

  --shadow-1: 0 1px 2px rgba(0, 0, 0, 0.4), 0 12px 32px -12px rgba(0, 0, 0, 0.7);
  --shadow-2: 0 2px 6px rgba(0, 0, 0, 0.45), 0 34px 70px -28px rgba(0, 0, 0, 0.85);
  --glow-gold: 0 0 0 1px rgba(232, 195, 154, 0.28), 0 18px 60px -22px rgba(232, 195, 154, 0.45);

  --r-sm: 12px;
  --r-md: 18px;
  --r-lg: 26px;
  --r-xl: 34px;

  --spring: cubic-bezier(0.16, 1, 0.3, 1);
  --spring-in: cubic-bezier(0.34, 1.56, 0.64, 1);
  --ease: cubic-bezier(0.4, 0, 0.2, 1);

  --pad: clamp(1.15rem, 4.4vw, 2.5rem);
  --maxw: 1240px;
  --nav-h: 66px;

  --font: "Manrope", -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI Variable",
          "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 26px);
}

body {
  margin: 0;
  background: var(--ink-950);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.62;
  font-weight: 400;
  letter-spacing: -0.005em;
  overflow-x: hidden;
  min-height: 100svh;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* ---------- atmospheric background (never a flat purple gradient) --------- */
.bg { position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }

.bg::before {
  content: "";
  position: absolute; inset: -20%;
  background:
    radial-gradient(46% 38% at 18% 8%, rgba(232, 195, 154, 0.20), transparent 62%),
    radial-gradient(40% 34% at 84% 18%, rgba(233, 163, 163, 0.16), transparent 64%),
    radial-gradient(52% 46% at 50% 108%, rgba(207, 166, 114, 0.14), transparent 68%),
    linear-gradient(180deg, #07080e 0%, #04050a 46%, #05060c 100%);
  animation: aurora 34s var(--ease) infinite alternate;
}

.bg::after {
  content: "";
  position: absolute; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)' opacity='0.5'/%3E%3C/svg%3E");
  opacity: 0.05;
  mix-blend-mode: overlay;
}

@keyframes aurora {
  0%   { transform: translate3d(-2%, -1%, 0) scale(1.02); }
  50%  { transform: translate3d(2%, 1.4%, 0) scale(1.06); }
  100% { transform: translate3d(-1%, 2%, 0) scale(1.03); }
}

.grain-line {
  position: fixed; left: 0; right: 0; top: 0; height: 1px; z-index: 60;
  background: linear-gradient(90deg, transparent, rgba(232, 195, 154, 0.6), transparent);
  opacity: 0.5;
}

/* ---------- scroll progress ---------- */
.progress {
  position: fixed; top: 0; left: 0; height: 2px; width: 100%; transform-origin: 0 50%;
  transform: scaleX(0); z-index: 70;
  background: linear-gradient(90deg, var(--gold-300), var(--rose-300), var(--gold-500));
  box-shadow: 0 0 18px rgba(232, 195, 154, 0.55);
  transition: transform 0.12s linear;
}

/* ---------- nav ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  height: var(--nav-h);
  display: flex; align-items: center;
  padding: 0 var(--pad);
  transition: background 0.5s var(--ease), box-shadow 0.5s var(--ease), border-color 0.5s var(--ease);
  border-bottom: 1px solid transparent;
}
.nav.is-stuck {
  background: rgba(7, 8, 14, 0.62);
  -webkit-backdrop-filter: var(--blur-strong);
  backdrop-filter: var(--blur-strong);
  border-bottom-color: var(--stroke);
  box-shadow: 0 18px 40px -30px rgba(0, 0, 0, 0.9);
}
.nav__inner {
  width: 100%; max-width: var(--maxw); margin: 0 auto;
  display: flex; align-items: center; gap: 1rem;
}
.nav__brand { display: flex; align-items: center; gap: 0.6rem; text-decoration: none; color: var(--text); }
.nav__logo { width: 34px; height: 34px; filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.6)); }
.nav__word { display: flex; flex-direction: column; line-height: 1.05; }
.nav__word b { font-size: 0.82rem; font-weight: 800; letter-spacing: 0.16em; text-transform: uppercase; }
.nav__word span { font-size: 0.56rem; letter-spacing: 0.34em; text-transform: uppercase; color: var(--gold-300); }
.nav__links { margin-left: auto; display: flex; align-items: center; gap: 0.15rem; }
.nav__link {
  position: relative; text-decoration: none; color: var(--text-dim);
  font-size: 0.82rem; font-weight: 600; letter-spacing: 0.02em;
  padding: 0.5rem 0.8rem; border-radius: 999px;
  transition: color 0.3s var(--ease), background 0.3s var(--ease);
}
.nav__link:hover { color: var(--text); background: var(--glass); }
.nav__link.is-active { color: var(--ink-950); background: linear-gradient(180deg, var(--gold-100), var(--gold-300)); font-weight: 700; }
.nav__cta { margin-left: 0.5rem; }

.burger {
  margin-left: auto; display: none;
  width: 44px; height: 44px; border-radius: 14px;
  border: 1px solid var(--stroke); background: var(--glass);
  -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur);
  box-shadow: var(--inner);
  color: var(--text); cursor: pointer;
  align-items: center; justify-content: center;
  transition: transform 0.34s var(--spring-in), background 0.3s var(--ease);
}
.burger:active { transform: scale(0.92); }
.burger span { display: block; width: 17px; height: 1.6px; background: currentColor; border-radius: 2px; transition: transform 0.4s var(--spring), opacity 0.3s var(--ease); }
.burger span + span { margin-top: 4.5px; }
body.menu-open .burger span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
body.menu-open .burger span:nth-child(2) { opacity: 0; }
body.menu-open .burger span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* mobile sheet menu */
.sheetmenu {
  position: fixed; inset: 0; z-index: 49;
  display: grid; align-content: start; gap: 0.3rem;
  padding: calc(var(--nav-h) + 18px) var(--pad) var(--pad);
  background: rgba(6, 7, 12, 0.78);
  -webkit-backdrop-filter: var(--blur-strong); backdrop-filter: var(--blur-strong);
  opacity: 0; visibility: hidden; transform: translateY(-12px);
  transition: opacity 0.45s var(--ease), transform 0.55s var(--spring), visibility 0.45s;
}
body.menu-open .sheetmenu { opacity: 1; visibility: visible; transform: none; }
.sheetmenu a {
  text-decoration: none; color: var(--text);
  font-size: 1.42rem; font-weight: 700; letter-spacing: -0.01em;
  padding: 0.85rem 0.2rem; border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  transform: translateY(14px); opacity: 0;
  transition: transform 0.6s var(--spring), opacity 0.5s var(--ease), color 0.3s;
}
body.menu-open .sheetmenu a { transform: none; opacity: 1; transition-delay: calc(var(--i, 0) * 55ms + 90ms); }
.sheetmenu a:active { color: var(--gold-300); }

/* ---------- layout ---------- */
.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--pad); }
section { position: relative; padding: clamp(4rem, 9vw, 7.5rem) 0; }
.section-head { max-width: 62ch; margin-bottom: clamp(1.8rem, 4vw, 3rem); }
.eyebrow {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-size: 0.68rem; font-weight: 700; letter-spacing: 0.32em; text-transform: uppercase;
  color: var(--gold-300);
}
.eyebrow::before { content: ""; width: 26px; height: 1px; background: linear-gradient(90deg, var(--gold-300), transparent); }
h1, h2, h3 { margin: 0; font-weight: 800; letter-spacing: -0.03em; line-height: 1.06; text-wrap: balance; }
h2 { font-size: clamp(1.9rem, 5.2vw, 3.15rem); }
h3 { font-size: clamp(1.2rem, 3.2vw, 1.6rem); font-weight: 750; }
p { margin: 0.85rem 0 0; color: var(--text-dim); max-width: 68ch; }
.lede { font-size: clamp(1rem, 2.4vw, 1.14rem); color: var(--text-dim); }

/* ---------- glass primitives ---------- */
.glass {
  position: relative;
  background: var(--glass);
  border: 1px solid var(--stroke);
  border-radius: var(--r-lg);
  -webkit-backdrop-filter: var(--blur);
  backdrop-filter: var(--blur);
  box-shadow: var(--shadow-1), var(--inner);
  overflow: hidden;
}
/* pointer-tracked specular highlight */
.glass::after {
  content: "";
  position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), rgba(255, 255, 255, 0.10), transparent 62%);
  opacity: 0; transition: opacity 0.5s var(--ease);
}
.glass.is-lit::after { opacity: 1; }

/* ---------- buttons ---------- */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 0.55rem;
  padding: 0.86rem 1.45rem; border-radius: 999px;
  font-family: inherit; font-size: 0.9rem; font-weight: 700; letter-spacing: 0.01em;
  text-decoration: none; cursor: pointer; overflow: hidden; isolation: isolate;
  border: 1px solid var(--stroke-2); color: var(--text); background: var(--glass-2);
  -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur);
  box-shadow: var(--shadow-1), var(--inner);
  transition: transform 0.36s var(--spring-in), box-shadow 0.4s var(--ease),
              background 0.35s var(--ease), color 0.3s var(--ease), border-color 0.3s var(--ease);
  -webkit-tap-highlight-color: transparent;
}
.btn::before {
  content: ""; position: absolute; top: 0; bottom: 0; left: -60%; width: 45%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.34), transparent);
  transform: skewX(-18deg); opacity: 0; z-index: -1;
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-2), var(--inner); }
.btn:hover::before { opacity: 1; animation: sheen 0.9s var(--ease); }
.btn:active { transform: scale(0.965) translateY(0); }
.btn:focus-visible { outline: 2px solid var(--gold-300); outline-offset: 3px; }
@keyframes sheen { from { left: -60%; } to { left: 120%; } }

.btn--gold {
  background: linear-gradient(180deg, var(--gold-100), var(--gold-300) 62%, var(--gold-500));
  color: #2a1c0d; border-color: rgba(255, 255, 255, 0.42);
  box-shadow: var(--glow-gold), var(--inner), var(--shadow-1);
}
.btn--gold:hover { box-shadow: 0 0 0 1px rgba(232, 195, 154, 0.4), 0 24px 60px -20px rgba(232, 195, 154, 0.6), var(--inner); }
.btn--ghost { background: rgba(255, 255, 255, 0.04); }
.btn--sm { padding: 0.6rem 1.05rem; font-size: 0.8rem; }
.btn--block { width: 100%; }

.chiprow { display: flex; flex-wrap: wrap; gap: 0.45rem; }
.chip {
  display: inline-flex; align-items: center; gap: 0.4rem;
  padding: 0.4rem 0.78rem; border-radius: 999px;
  font-size: 0.74rem; font-weight: 600; letter-spacing: 0.01em; color: var(--text-dim);
  border: 1px solid rgba(255, 255, 255, 0.1); background: rgba(255, 255, 255, 0.045);
  transition: color 0.3s var(--ease), border-color 0.3s var(--ease), background 0.3s var(--ease), transform 0.3s var(--spring-in);
}
.chip svg { width: 14px; height: 14px; color: var(--gold-300); flex: none; }
.chip:hover { color: var(--text); border-color: rgba(232, 195, 154, 0.4); background: rgba(232, 195, 154, 0.08); transform: translateY(-1px); }

/* ---------- hero ---------- */
.hero {
  min-height: 100svh; display: grid; align-items: center;
  padding-top: calc(var(--nav-h) + 4vh); padding-bottom: 6vh;
  position: relative; overflow: hidden;
}
.hero__orb {
  position: absolute; border-radius: 50%; pointer-events: none;
  filter: blur(2px); opacity: 0.5;
  background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.28), rgba(232, 195, 154, 0.10) 45%, transparent 70%);
  border: 1px solid rgba(255, 255, 255, 0.14);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  animation: float 17s var(--ease) infinite alternate;
}
.hero__orb--a { width: clamp(120px, 20vw, 230px); aspect-ratio: 1; top: 12%; right: 6%; }
.hero__orb--b { width: clamp(72px, 11vw, 128px); aspect-ratio: 1; bottom: 16%; left: 4%; animation-duration: 22s; animation-direction: alternate-reverse; }
.hero__orb--c { width: clamp(48px, 7vw, 86px); aspect-ratio: 1; top: 30%; left: 16%; animation-duration: 26s; }
@keyframes float {
  0%   { transform: translate3d(0, 0, 0) rotate(0deg); }
  100% { transform: translate3d(-26px, 30px, 0) rotate(12deg); }
}

.hero__inner { position: relative; z-index: 2; max-width: 68rem; }
.hero__logo { width: clamp(74px, 13vw, 108px); height: auto; margin-bottom: 1.4rem; filter: drop-shadow(0 18px 40px rgba(0, 0, 0, 0.7)); }
.hero h1 { font-size: clamp(2.65rem, 8.6vw, 5.4rem); font-weight: 800; letter-spacing: -0.045em; }
.hero h1 .line { display: block; overflow: hidden; }
.hero h1 .line > span { display: block; }
.hero__tag {
  margin-top: 1rem; font-size: clamp(0.68rem, 2.6vw, 0.92rem);
  letter-spacing: 0.42em; text-transform: uppercase; color: var(--gold-300); font-weight: 600;
}
.hero__sub { margin-top: 1.35rem; max-width: 46ch; font-size: clamp(0.98rem, 2.5vw, 1.12rem); color: var(--text-dim); }
.hero__cta { margin-top: 2.1rem; display: flex; flex-wrap: wrap; gap: 0.7rem; align-items: center; }
.hero__meta { margin-top: 2.4rem; display: flex; flex-wrap: wrap; gap: 0.5rem 1.6rem; color: var(--text-faint); font-size: 0.78rem; letter-spacing: 0.06em; text-transform: uppercase; }
.hero__meta b { color: var(--text); font-weight: 700; }

.scrollcue {
  position: absolute; left: 50%; bottom: 22px; transform: translateX(-50%);
  display: grid; justify-items: center; gap: 0.5rem; z-index: 2;
  color: var(--text-faint); font-size: 0.6rem; letter-spacing: 0.32em; text-transform: uppercase;
}
.scrollcue i {
  display: block; width: 1px; height: 42px;
  background: linear-gradient(180deg, var(--gold-300), transparent);
  animation: cue 2.4s var(--ease) infinite;
}
@keyframes cue { 0%, 100% { opacity: 0.25; transform: scaleY(0.6); } 50% { opacity: 1; transform: scaleY(1); } }

/* ---------- marquee ---------- */
.marquee {
  position: relative; overflow: hidden; padding: 1.05rem 0;
  border-top: 1px solid var(--stroke); border-bottom: 1px solid var(--stroke);
  background: rgba(255, 255, 255, 0.022);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee__track { display: flex; gap: 2.6rem; width: max-content; animation: slide 42s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__item { display: flex; align-items: center; gap: 0.55rem; color: var(--text-dim); font-size: 0.8rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; white-space: nowrap; }
.marquee__item svg { width: 16px; height: 16px; color: var(--gold-300); }
@keyframes slide { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------- branch cards ---------- */
.branches { display: grid; gap: clamp(1rem, 2.6vw, 1.5rem); grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); }
.branch { display: flex; flex-direction: column; padding: 0; transition: transform 0.6s var(--spring), box-shadow 0.6s var(--ease), border-color 0.4s var(--ease); }
.branch:hover { transform: translateY(-6px); border-color: var(--stroke-2); box-shadow: var(--shadow-2), var(--inner); }
.branch__media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: linear-gradient(150deg, #14161f, #0a0b12); }
.branch__media img { width: 100%; height: 100%; object-fit: cover; display: block; transform: scale(1.03); transition: transform 1.1s var(--spring), filter 0.6s var(--ease); filter: saturate(0.94) brightness(0.86); }
.branch:hover .branch__media img { transform: scale(1.08); filter: saturate(1.02) brightness(0.96); }
.branch__media--empty { display: grid; place-items: center; }
.branch__media--empty span { font-size: 0.68rem; letter-spacing: 0.28em; text-transform: uppercase; color: var(--text-faint); }
.branch__badge {
  position: absolute; top: 0.85rem; left: 0.85rem;
  padding: 0.34rem 0.7rem; border-radius: 999px; font-size: 0.63rem; font-weight: 800; letter-spacing: 0.22em; text-transform: uppercase;
  color: #2a1c0d; background: linear-gradient(180deg, var(--gold-100), var(--gold-300));
  box-shadow: var(--shadow-1);
}
.branch__body { padding: 1.25rem 1.35rem 1.5rem; display: flex; flex-direction: column; gap: 0.75rem; flex: 1; }
.branch__area { font-size: 0.72rem; letter-spacing: 0.24em; text-transform: uppercase; color: var(--gold-300); font-weight: 700; }
.branch__addr { color: var(--text-dim); font-size: 0.92rem; margin: 0; }
.branch__actions { margin-top: auto; padding-top: 1rem; display: flex; gap: 0.5rem; flex-wrap: wrap; }

/* ---------- facilities ---------- */
.facilities { display: grid; gap: 0.7rem; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }
.facility {
  padding: 1.1rem 1.1rem 1.2rem; border-radius: var(--r-md);
  display: flex; flex-direction: column; gap: 0.5rem;
  transition: transform 0.5s var(--spring), border-color 0.35s var(--ease), background 0.35s var(--ease);
}
.facility:hover { transform: translateY(-4px); border-color: rgba(232, 195, 154, 0.34); background: rgba(232, 195, 154, 0.055); }
.facility__ico {
  width: 40px; height: 40px; border-radius: 13px; display: grid; place-items: center;
  background: linear-gradient(160deg, rgba(232, 195, 154, 0.22), rgba(232, 195, 154, 0.06));
  border: 1px solid rgba(232, 195, 154, 0.26); color: var(--gold-100);
  box-shadow: var(--inner);
}
.facility__ico svg { width: 20px; height: 20px; }
.facility b { font-size: 0.94rem; font-weight: 700; letter-spacing: -0.01em; }
.facility span { font-size: 0.8rem; color: var(--text-faint); }

/* ---------- video wall ---------- */
.videos { display: grid; gap: clamp(0.9rem, 2.4vw, 1.4rem); grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.video { position: relative; border-radius: var(--r-lg); overflow: hidden; cursor: pointer; background: #0a0b12; }
.video__media { position: relative; aspect-ratio: 16 / 9; overflow: hidden; }
.video__media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 1.1s var(--spring), filter 0.5s var(--ease); filter: brightness(0.82) saturate(0.95); }
.video:hover .video__media img { transform: scale(1.05); filter: brightness(0.95) saturate(1.05); }
.video__play {
  position: absolute; inset: 0; margin: auto; width: 66px; height: 66px; border-radius: 50%;
  display: grid; place-items: center; color: #2a1c0d;
  background: linear-gradient(180deg, var(--gold-100), var(--gold-300));
  box-shadow: 0 18px 44px -14px rgba(232, 195, 154, 0.7), var(--inner);
  transition: transform 0.55s var(--spring-in);
}
.video:hover .video__play { transform: scale(1.09); }
.video__play svg { width: 22px; height: 22px; margin-left: 3px; }
.video__meta { position: absolute; left: 0; right: 0; bottom: 0; padding: 2.6rem 1.1rem 1rem; background: linear-gradient(0deg, rgba(4, 5, 10, 0.94), transparent); }
.video__meta b { display: block; font-size: 0.95rem; font-weight: 700; }
.video__meta span { font-size: 0.72rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold-300); }
.video iframe { width: 100%; aspect-ratio: 9 / 16; max-height: 76svh; border: 0; display: block; background: #000; }
.video--wide iframe { aspect-ratio: 16 / 9; max-height: none; }
.video__ext { display: inline-flex; align-items: center; gap: 0.4rem; margin: 0.7rem 0 0; font-size: 0.78rem; color: var(--text-faint); text-decoration: none; }
.video__ext:hover { color: var(--gold-300); }
.video--soon { display: grid; place-items: center; aspect-ratio: 16 / 9; text-align: center; padding: 1.5rem; }
.video--soon div { display: grid; gap: 0.35rem; }
.video--soon b { font-size: 0.86rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--text-faint); }
.video--soon span { font-size: 0.8rem; color: var(--text-faint); }

/* ---------- maps ---------- */
.maps { display: grid; gap: clamp(0.9rem, 2.4vw, 1.4rem); grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.mapcard { padding: 0; overflow: hidden; }
.mapcard__head { padding: 1.1rem 1.25rem; display: flex; align-items: baseline; gap: 0.6rem; border-bottom: 1px solid rgba(255, 255, 255, 0.07); }
.mapcard__head b { font-size: 0.98rem; }
.mapcard__head span { margin-left: auto; font-size: 0.66rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold-300); }
.mapcard iframe { width: 100%; height: 260px; border: 0; display: block; filter: grayscale(0.9) invert(0.92) contrast(0.92) saturate(0.6); }
.mapcard__foot { padding: 0.85rem 1.25rem 1.15rem; display: flex; gap: 0.5rem; flex-wrap: wrap; align-items: center; }
.mapcard__foot p { margin: 0; font-size: 0.84rem; color: var(--text-faint); }

/* ---------- contact ---------- */
.contact { display: grid; gap: clamp(1rem, 2.6vw, 1.5rem); grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.contactcard { padding: 1.5rem 1.4rem; display: flex; flex-direction: column; gap: 0.7rem; }
.contactcard__ico { width: 46px; height: 46px; border-radius: 15px; display: grid; place-items: center; background: var(--glass-2); border: 1px solid var(--stroke); color: var(--gold-100); }
.contactcard__ico svg { width: 22px; height: 22px; }
.contactcard b { font-size: 0.72rem; letter-spacing: 0.26em; text-transform: uppercase; color: var(--gold-300); font-weight: 700; }
.contactcard a { color: var(--text); text-decoration: none; font-size: 1rem; font-weight: 600; word-break: break-word; }
.contactcard a:hover { color: var(--gold-300); }
.contactcard small { color: var(--text-faint); font-size: 0.78rem; }

.cta-band { margin-top: clamp(1.4rem, 4vw, 2.4rem); padding: clamp(1.6rem, 5vw, 3rem); text-align: center; }
.cta-band h2 { font-size: clamp(1.6rem, 4.6vw, 2.6rem); }
.cta-band .btnrow { margin-top: 1.5rem; display: flex; gap: 0.7rem; justify-content: center; flex-wrap: wrap; }

/* ---------- branch sheet (iOS-style modal) ---------- */
.sheet-backdrop {
  position: fixed; inset: 0; z-index: 80; background: rgba(3, 4, 8, 0.66);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  opacity: 0; visibility: hidden; transition: opacity 0.45s var(--ease), visibility 0.45s;
}
.sheet-backdrop.is-open { opacity: 1; visibility: visible; }
.sheet {
  position: fixed; z-index: 81; left: 50%; bottom: 0; transform: translate(-50%, 104%);
  width: min(1080px, 100%); max-height: 92svh; overflow: hidden; display: flex; flex-direction: column;
  border-radius: var(--r-xl) var(--r-xl) 0 0;
  background: linear-gradient(180deg, rgba(22, 24, 33, 0.86), rgba(9, 10, 16, 0.92));
  -webkit-backdrop-filter: var(--blur-strong); backdrop-filter: var(--blur-strong);
  border: 1px solid var(--stroke-2); border-bottom: 0;
  box-shadow: 0 -30px 90px -30px rgba(0, 0, 0, 0.95), var(--inner);
  transition: transform 0.72s var(--spring);
}
.sheet.is-open { transform: translate(-50%, 0); }
.sheet__grip { width: 42px; height: 4px; border-radius: 999px; background: rgba(255, 255, 255, 0.26); margin: 0.7rem auto 0.2rem; flex: none; }
.sheet__head { padding: 0.7rem 1.5rem 1rem; display: flex; align-items: center; gap: 0.8rem; flex: none; }
.sheet__head h3 { flex: 1; min-width: 0; }
.sheet__close {
  width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--stroke); background: var(--glass-2);
  color: var(--text); cursor: pointer; display: grid; place-items: center; flex: none;
  transition: transform 0.4s var(--spring-in), background 0.3s;
}
.sheet__close:active { transform: scale(0.9); }
.sheet__close svg { width: 16px; height: 16px; }
.sheet__body { padding: 0 1.5rem 2rem; overflow-y: auto; overscroll-behavior: contain; }
.sheet__body h4 { margin: 1.5rem 0 0.6rem; font-size: 0.72rem; letter-spacing: 0.26em; text-transform: uppercase; color: var(--gold-300); }
.sheet__grid { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.sheet__addr { display: flex; align-items: flex-start; gap: 0.6rem; color: var(--text-dim); font-size: 0.95rem; }
.sheet__addr svg { width: 18px; height: 18px; color: var(--gold-300); flex: none; margin-top: 3px; }
.sheet iframe { border: 0; border-radius: var(--r-md); width: 100%; }
.sheet .mapcard iframe { border-radius: 0; }

/* ---------- reveal animations ---------- */
[data-reveal] {
  opacity: 0; transform: translate3d(0, 26px, 0) scale(0.985); filter: blur(10px);
  transition: opacity 0.9s var(--ease), transform 1s var(--spring), filter 0.9s var(--ease);
  transition-delay: var(--d, 0ms);
  will-change: transform, opacity, filter;
}
[data-reveal].is-in { opacity: 1; transform: none; filter: none; }
.hero [data-reveal] { animation: heroIn 1.15s var(--spring) both; animation-delay: var(--d, 0ms); }
@keyframes heroIn {
  from { opacity: 0; transform: translate3d(0, 34px, 0) scale(0.97); filter: blur(14px); }
  to   { opacity: 1; transform: none; filter: none; }
}

/* ---------- footer ---------- */
footer { padding: 3rem 0 2.4rem; border-top: 1px solid var(--stroke); margin-top: clamp(2rem, 6vw, 4rem); }
.foot { display: flex; flex-wrap: wrap; gap: 1.2rem 2rem; align-items: center; justify-content: space-between; }
.foot__brand { display: flex; align-items: center; gap: 0.7rem; }
.foot__brand img { width: 40px; height: 40px; }
.foot__brand b { display: block; font-size: 0.82rem; letter-spacing: 0.14em; text-transform: uppercase; }
.foot__brand span { font-size: 0.68rem; color: var(--text-faint); letter-spacing: 0.18em; text-transform: uppercase; }
.foot nav { display: flex; gap: 1rem; flex-wrap: wrap; }
.foot nav a { color: var(--text-dim); text-decoration: none; font-size: 0.82rem; }
.foot nav a:hover { color: var(--gold-300); }
.foot__legal { margin-top: 1.6rem; color: var(--text-faint); font-size: 0.74rem; display: flex; gap: 1rem; flex-wrap: wrap; }

/* ---------- utilities ---------- */
.skip { position: absolute; left: -999px; top: 0; background: var(--gold-300); color: #2a1c0d; padding: 0.6rem 1rem; border-radius: 0 0 12px 0; z-index: 100; font-weight: 700; }
.skip:focus { left: 0; }
.sr { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.no-scroll { overflow: hidden; }

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  .nav__links { display: none; }
  .burger { display: flex; }
  .nav__cta { display: none; }
}
@media (max-width: 560px) {
  :root { --nav-h: 60px; }
  .hero__meta { gap: 0.4rem 1.1rem; font-size: 0.7rem; }
  .sheet { max-height: 94svh; width: 100%; border-radius: var(--r-lg) var(--r-lg) 0 0; }
  .sheet__head, .sheet__body { padding-left: 1.15rem; padding-right: 1.15rem; }
  .glass::after { display: none; }
}
@media (min-width: 901px) { .sheetmenu { display: none; } }

/* ---------- reduced motion: content must never depend on animation ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
  [data-reveal] { opacity: 1 !important; transform: none !important; filter: none !important; }
  .marquee__track { animation: none; }
}
