/* ==========================================================
   MAG Nails & Beauty Shop
   ========================================================== */
:root {
  --ink: #161616;
  --ink-soft: #4a4646;
  --paper: #faf7f4;
  --paper-2: #f3ece6;
  --blush: #ecd3cc;
  --rose: #c98d88;
  --champagne: #d9c4a3;
  --line: rgba(22, 22, 22, .14);

  --f-logo: "Josefin Sans", "Montserrat", sans-serif;
  --f-sans: "Montserrat", system-ui, sans-serif;
  --f-serif: "Cormorant Garamond", Georgia, serif;

  --ease: cubic-bezier(.22, 1, .36, 1);
  --ease-in-out: cubic-bezier(.76, 0, .24, 1);
  --gutter: clamp(16px, 5vw, 64px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--f-sans);
  font-weight: 400;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
body.is-loading { overflow: hidden; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
em { font-family: var(--f-serif); font-style: italic; font-weight: 400; color: var(--rose); }
::selection { background: var(--ink); color: var(--paper); }

/* ---------- Logo (shared) ---------- */
.lg-mag   { font-family: var(--f-logo); font-weight: 300; font-size: 190px; fill: currentColor; }
.lg-nails { font-family: var(--f-sans); font-weight: 300; font-size: 64px; fill: currentColor; }
.lg-shop  { font-family: var(--f-sans); font-weight: 700; font-size: 36px; letter-spacing: 2px; fill: currentColor; }
.lg-strike, .lg-tail, .lg-box { fill: none; stroke: currentColor; stroke-linecap: square; }
.lg-strike { stroke-width: 2.5; }
.lg-tail   { stroke-width: 6; }
.lg-box    { stroke-width: 3; }

/* logo drawing animation (on .logo-anim after JS inlines the paths) */
.logo-anim .lg-strike, .logo-anim .lg-tail, .logo-anim .lg-box {
  stroke-dasharray: var(--len, 1200);
  stroke-dashoffset: var(--len, 1200);
}
.logo-anim .lg-mag, .logo-anim .lg-nails, .logo-anim .lg-shop {
  opacity: 0;
  transform: translateY(24px);
  transform-box: fill-box;
}
.logo-anim.is-drawn .lg-mag   { animation: logoRise 1.1s var(--ease) forwards; }
.logo-anim.is-drawn .lg-nails { animation: logoRise 1s var(--ease) .35s forwards; }
.logo-anim.is-drawn .lg-strike{ animation: draw .9s var(--ease-in-out) .55s forwards; }
.logo-anim.is-drawn .lg-tail  { animation: draw .9s var(--ease-in-out) .75s forwards; }
.logo-anim.is-drawn .lg-box   { animation: draw 1.3s var(--ease-in-out) 1.05s forwards; }
.logo-anim.is-drawn .lg-shop  { animation: logoRise .9s var(--ease) 1.6s forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes logoRise { to { opacity: 1; transform: none; } }

/* ---------- Preloader ---------- */
.loader {
  position: fixed; inset: 0; z-index: 100;
  display: grid; place-content: center; gap: 28px;
  background: var(--ink); color: var(--paper);
  transition: transform 1s var(--ease-in-out) .1s;
}
.loader__logo { width: min(420px, 74vw); }
.loader__bar { height: 1px; background: rgba(255,255,255,.15); overflow: hidden; }
.loader__bar span { display: block; height: 100%; background: var(--blush); transform-origin: left; transform: scaleX(0); animation: load 2.1s var(--ease-in-out) forwards; }
@keyframes load { to { transform: scaleX(1); } }
.loader.is-done { transform: translateY(-100%); }

/* ---------- UI chrome ---------- */
.scroll-progress {
  position: fixed; top: 0; left: 0; right: 0; height: 2px; z-index: 60;
  background: var(--rose); transform-origin: left; transform: scaleX(0);
}
.cursor, .cursor-ring { display: none; }
@media (hover: hover) and (pointer: fine) {
  .cursor, .cursor-ring {
    display: block; position: fixed; top: 0; left: 0; z-index: 90;
    pointer-events: none; border-radius: 50%;
    transform: translate(-100px, -100px);
  }
  .cursor { width: 6px; height: 6px; margin: -3px 0 0 -3px; background: var(--ink); }
  .cursor-ring {
    width: 36px; height: 36px; margin: -18px 0 0 -18px;
    border: 1px solid var(--ink); opacity: .35;
    transition: width .35s var(--ease), height .35s var(--ease), margin .35s var(--ease), opacity .35s, background .35s;
  }
  .cursor-ring.is-hover { width: 64px; height: 64px; margin: -32px 0 0 -32px; opacity: 1; background: rgba(201,141,136,.15); border-color: var(--rose); }
}

/* ---------- Buttons ---------- */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center;
  padding: 16px 30px; border: 1px solid var(--ink); border-radius: 0;
  background: var(--ink); color: var(--paper);
  font-size: 12px; font-weight: 500; letter-spacing: .18em; text-transform: uppercase;
  overflow: hidden; isolation: isolate;
  transition: color .5s var(--ease), transform .3s var(--ease);
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--blush); transform: translateY(101%);
  transition: transform .5s var(--ease);
}
.btn:hover { color: var(--ink); }
.btn:hover::before { transform: none; }
.btn--ghost { background: transparent; color: var(--ink); }
.btn--small { padding: 11px 20px; font-size: 11px; }
.btn--full { width: 100%; grid-column: 1 / -1; }

.eyebrow {
  margin: 0 0 14px; font-size: 11px; font-weight: 500;
  letter-spacing: .3em; text-transform: uppercase; color: var(--rose);
}

/* ---------- Nav ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: 22px var(--gutter);
  transition: padding .4s var(--ease), background .4s, box-shadow .4s, transform .5s var(--ease);
}
.nav.is-scrolled { padding-top: 12px; padding-bottom: 12px; background: rgba(250,247,244,.86); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); box-shadow: 0 1px 0 var(--line); }
.nav.is-hidden { transform: translateY(-100%); }
.nav__brand svg { width: 132px; transition: width .4s var(--ease); }
.nav.is-scrolled .nav__brand svg { width: 108px; }
.nav__links { display: flex; align-items: center; gap: clamp(18px, 3vw, 40px); }
.nav__links a:not(.btn) {
  position: relative; font-size: 12px; font-weight: 500; letter-spacing: .18em; text-transform: uppercase;
}
.nav__links a:not(.btn)::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 1px; background: currentColor;
  transform: scaleX(0); transform-origin: right; transition: transform .45s var(--ease);
}
.nav__links a:not(.btn):hover::after { transform: scaleX(1); transform-origin: left; }
.nav__toggle { display: none; }

@media (max-width: 820px) {
  .nav__toggle {
    display: grid; gap: 7px; width: 44px; height: 44px; place-content: center;
    background: none; border: 0; z-index: 2;
  }
  .nav__toggle span { display: block; width: 26px; height: 1.5px; background: var(--ink); transition: transform .45s var(--ease), background .3s; }
  .nav.is-open .nav__toggle span { background: var(--paper); }
  .nav.is-open .nav__toggle span:first-child { transform: translateY(4.25px) rotate(45deg); }
  .nav.is-open .nav__toggle span:last-child { transform: translateY(-4.25px) rotate(-45deg); }
  .nav__links {
    position: fixed; inset: 0; flex-direction: column; justify-content: center; gap: 28px;
    background: var(--ink); color: var(--paper);
    clip-path: circle(0% at calc(100% - 44px) 44px);
    transition: clip-path .8s var(--ease-in-out);
  }
  .nav.is-open .nav__links { clip-path: circle(150% at calc(100% - 44px) 44px); }
  .nav__links a:not(.btn) { font-family: var(--f-serif); font-size: 40px; letter-spacing: 0; text-transform: none; opacity: 0; transform: translateY(20px); transition: opacity .5s, transform .6s var(--ease); }
  .nav.is-open .nav__links a { opacity: 1; transform: none; }
  .nav.is-open .nav__links a:nth-child(1) { transition-delay: .25s; }
  .nav.is-open .nav__links a:nth-child(2) { transition-delay: .32s; }
  .nav.is-open .nav__links a:nth-child(3) { transition-delay: .39s; }
  .nav.is-open .nav__links a:nth-child(4) { transition-delay: .46s; }
  .nav__links .btn { background: var(--paper); color: var(--ink); border-color: var(--paper); }
  .nav.is-open .nav__brand { color: var(--paper); position: relative; z-index: 2; }
}

/* ---------- Hero ---------- */
.video-hero { position: relative; height: 100vh; height: 100svh; background: var(--ink); overflow: hidden; }
.video-hero__video { display: block; width: 100%; height: 100%; object-fit: cover; }

.hero {
  position: relative;
  display: grid; place-items: center;
  padding: clamp(90px, 12vw, 150px) var(--gutter) clamp(110px, 12vw, 150px);
  overflow: hidden; text-align: center;
}
.hero__inner { position: relative; z-index: 1; max-width: 880px; }
.hero__logo { width: min(640px, 100%); margin: 0 auto 36px; }
.hero__title {
  margin: 0 auto 18px; max-width: 18ch; text-wrap: balance;
  font-family: var(--f-serif); font-weight: 400; line-height: 1.05;
  font-size: clamp(38px, 6vw, 76px);
}
.hero__sub { margin: 0 auto 36px; max-width: 46ch; color: var(--ink-soft); font-size: clamp(15px, 1.6vw, 17px); }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }
.hero__eyebrow, .hero__sub, .hero__cta { opacity: 0; transform: translateY(20px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.is-ready .hero__eyebrow { opacity: 1; transform: none; transition-delay: .1s; }
.is-ready .hero__sub     { opacity: 1; transform: none; transition-delay: 1.9s; }
.is-ready .hero__cta     { opacity: 1; transform: none; transition-delay: 2.1s; }

.hero__blobs { position: absolute; inset: 0; pointer-events: none; }
.blob { position: absolute; border-radius: 50%; filter: blur(60px); opacity: .7; will-change: transform; }
.blob--1 { width: 46vmax; height: 46vmax; top: -18vmax; right: -14vmax; background: radial-gradient(circle, var(--blush), transparent 68%); animation: float 16s ease-in-out infinite; }
.blob--2 { width: 38vmax; height: 38vmax; bottom: -16vmax; left: -12vmax; background: radial-gradient(circle, var(--champagne), transparent 68%); animation: float 20s ease-in-out infinite reverse; opacity: .55; }
.blob--3 { width: 18vmax; height: 18vmax; top: 30%; left: 12%; background: radial-gradient(circle, #f2dcd6, transparent 70%); animation: float 12s ease-in-out infinite; }
@keyframes float {
  0%, 100% { translate: 0 0; scale: 1; }
  33% { translate: 3vmax -2vmax; scale: 1.06; }
  66% { translate: -2vmax 2vmax; scale: .96; }
}

.badge {
  position: absolute; left: var(--gutter); bottom: 60px; z-index: 2;
  width: 120px; height: 120px; display: grid; place-items: center;
  opacity: 0; transform: scale(.6); transition: opacity 1s, transform 1s var(--ease);
}
.is-ready .badge { opacity: 1; transform: none; transition-delay: 2.4s; }
.badge svg { position: absolute; inset: 0; animation: spin 18s linear infinite; }
.badge text { font-size: 15.5px; font-weight: 500; letter-spacing: 3px; fill: var(--ink); }
.badge__dot {
  width: 46px; height: 46px; display: grid; place-items: center; border-radius: 50%;
  background: var(--ink); color: var(--paper); transition: transform .5s var(--ease), background .3s;
}
.badge:hover .badge__dot { transform: scale(1.2) rotate(90deg); background: var(--rose); }
@keyframes spin { to { rotate: 360deg; } }

.hero__scroll { position: absolute; left: 50%; bottom: 24px; width: 1px; height: 54px; background: var(--line); overflow: hidden; }
.hero__scroll span { position: absolute; inset: 0; background: var(--ink); animation: scrollLine 2.2s var(--ease-in-out) infinite; }
@keyframes scrollLine { 0% { transform: translateY(-100%); } 60%, 100% { transform: translateY(100%); } }

@media (max-width: 820px) {
  .badge { width: 92px; height: 92px; bottom: 28px; }
  .badge__dot { width: 36px; height: 36px; }
  .hero__scroll { display: none; }
}

/* ---------- Marquee ---------- */
.marquee { overflow: hidden; background: var(--ink); color: var(--paper); padding: 22px 0; }
.marquee__track { display: flex; width: max-content; align-items: center; gap: 36px; animation: marquee 32s linear infinite; }
.marquee span { font-family: var(--f-serif); font-size: clamp(26px, 3.6vw, 44px); font-style: italic; white-space: nowrap; }
.marquee i { font-style: normal; color: var(--blush); font-size: 18px; }
.marquee:hover .marquee__track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(calc(-50% - 18px)); } }

/* ---------- Sections ---------- */
.section { padding: clamp(80px, 12vw, 150px) var(--gutter); }
.section__head { max-width: 760px; margin: 0 auto clamp(40px, 6vw, 70px); text-align: center; }
.section__title {
  margin: 0; font-family: var(--f-serif); font-weight: 400; line-height: 1.05;
  font-size: clamp(40px, 6vw, 72px); text-wrap: balance;
}
.section__lead { margin: 18px auto 0; max-width: 48ch; color: var(--ink-soft); }

/* split-text reveal */
.split .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
.split .w > span { display: inline-block; transform: translateY(110%); transition: transform 1.1s var(--ease); transition-delay: calc(var(--i) * 70ms); }
.split.is-in .w > span { transform: none; }
.hero__title.split .w > span { transition-delay: calc(1.3s + var(--i) * 80ms); }
.hero__title.split.is-in .w > span { transform: translateY(110%); }
.is-ready .hero__title.split.is-in .w > span { transform: none; }

/* generic reveal */
.reveal { opacity: 0; transform: translateY(40px); transition: opacity 1s var(--ease), transform 1.1s var(--ease); transition-delay: calc(var(--d, 0) * 90ms); }
.reveal.is-in { opacity: 1; transform: none; }

/* ---------- Services ---------- */
.tabs { position: relative; display: flex; justify-content: center; gap: 6px; margin: 0 auto 50px; width: max-content; max-width: 100%; border-bottom: 1px solid var(--line); }
.tab { position: relative; background: none; border: 0; padding: 12px clamp(14px, 3vw, 28px); font-size: 12px; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: var(--ink-soft); transition: color .3s; }
.tab.is-active { color: var(--ink); }
.tabs__indicator { position: absolute; bottom: -1px; left: 0; height: 2px; background: var(--ink); transition: transform .6s var(--ease), width .6s var(--ease); }
.menu { display: none; max-width: 820px; margin: 0 auto; }
.menu.is-active { display: block; }
.menu__item {
  display: flex; align-items: baseline; gap: 16px;
  padding: 24px 12px; border-bottom: 1px solid var(--line);
  position: relative; transition: padding .5s var(--ease);
  opacity: 0; transform: translateY(20px);
}
.menu.is-shown .menu__item { animation: itemIn .8s var(--ease) forwards; animation-delay: calc(var(--i) * 80ms); }
@keyframes itemIn { to { opacity: 1; transform: none; } }
.menu__item::before {
  content: ""; position: absolute; inset: 0; z-index: -1; background: var(--paper-2);
  transform: scaleY(0); transform-origin: bottom; transition: transform .5s var(--ease);
}
.menu__item:hover { padding-left: 24px; padding-right: 24px; }
.menu__item:hover::before { transform: scaleY(1); }
.menu__item h3 { margin: 0 0 2px; font-family: var(--f-serif); font-weight: 500; font-size: clamp(22px, 2.6vw, 28px); line-height: 1.2; }
.menu__item p { margin: 0; font-size: 14px; color: var(--ink-soft); }
.menu__dots { flex: 1; min-width: 20px; border-bottom: 1px dotted rgba(22,22,22,.3); transform: translateY(-6px); }
.menu__item b { font-weight: 500; font-size: 16px; letter-spacing: .04em; white-space: nowrap; transition: color .3s; }
.menu__item:hover b { color: var(--rose); }
@media (max-width: 560px) {
  .menu__item { flex-wrap: wrap; gap: 6px 16px; }
  .menu__item > div { flex: 1 1 100%; }
  .menu__dots { display: none; }
}

/* ---------- Gallery: CSS nails ---------- */
.gallery { background: var(--paper-2); }
.nails { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(20px, 4vw, 48px); max-width: 1000px; margin: 0 auto; }
@media (max-width: 720px) { .nails { grid-template-columns: repeat(2, 1fr); } }
.nail { margin: 0; text-align: center; perspective: 600px; }
.nail__tip {
  --c1: #f3d9d3; --c2: #e7bcb4;
  position: relative; margin: 0 auto 16px; width: min(120px, 70%); aspect-ratio: 5 / 8;
  border-radius: 50% 50% 46% 46% / 62% 62% 38% 38%;
  background: linear-gradient(165deg, var(--c1), var(--c2));
  box-shadow: 0 20px 40px -18px rgba(22,22,22,.35), inset 0 -10px 20px rgba(0,0,0,.06);
  overflow: hidden; transition: transform .7s var(--ease), box-shadow .7s var(--ease);
  animation: bob 6s ease-in-out infinite; animation-delay: calc(var(--d) * -.7s);
}
.nail__tip::after { /* gloss + sweeping shine */
  content: ""; position: absolute; inset: -20% -60%;
  background: linear-gradient(105deg, transparent 40%, rgba(255,255,255,.75) 50%, transparent 60%);
  transform: translateX(-60%); transition: transform 1.1s var(--ease);
}
.nail__tip::before { content: ""; position: absolute; top: 10%; left: 18%; width: 18%; height: 38%; border-radius: 50%; background: rgba(255,255,255,.45); filter: blur(3px); }
.nail:hover .nail__tip { transform: translateY(-12px) rotateX(10deg) rotateY(-8deg); box-shadow: 0 34px 50px -20px rgba(22,22,22,.45); animation-play-state: paused; }
.nail:hover .nail__tip::after { transform: translateX(60%); }
.nail figcaption { font-size: 11px; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: var(--ink-soft); }
@keyframes bob { 0%,100% { translate: 0 0; } 50% { translate: 0 -6px; } }

.nail--french { --c1: #f6e3de; --c2: #efcfc8; }
.nail--french { background: linear-gradient(#fff 0 0) top / 100% 26% no-repeat, linear-gradient(165deg, var(--c1), var(--c2)); }
.nail--chrome { background: conic-gradient(from 200deg at 40% 40%, #f7f1ee, #d9cfd6, #fff, #e6d9d3, #cfc6cf, #f7f1ee); }
.nail--ombre  { background: linear-gradient(180deg, #fff 0%, #f6dcd6 55%, #e9bfb7 100%); }
.nail--red    { --c1: #c4243a; --c2: #7f0f22; }
.nail--black  { --c1: #3a3434; --c2: #0d0d0d; }
.nail--nude   { --c1: #e8c6ad; --c2: #c99f86; }
.nail--marble {
  background:
    radial-gradient(ellipse 60% 8% at 30% 40%, rgba(40,40,40,.25), transparent 70%),
    radial-gradient(ellipse 50% 6% at 70% 65%, rgba(40,40,40,.2), transparent 70%),
    radial-gradient(ellipse 40% 5% at 45% 80%, rgba(180,150,110,.5), transparent 70%),
    linear-gradient(160deg, #fbfaf8, #e9e5e2);
}
.nail--glitter {
  background:
    radial-gradient(circle at 20% 30%, #fff 0 1.5px, transparent 2px) 0 0 / 14px 14px,
    radial-gradient(circle at 60% 70%, #fff6e0 0 1px, transparent 1.6px) 0 0 / 10px 10px,
    linear-gradient(165deg, #e8d3ae, #b8955f);
  animation: bob 6s ease-in-out infinite, sparkle 2.5s linear infinite;
}
@keyframes sparkle { to { background-position: 14px 14px, -10px 10px, 0 0; } }

/* ---------- About ---------- */
.about { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 8vw, 120px); align-items: center; max-width: 1200px; margin: 0 auto; }
@media (max-width: 860px) { .about { grid-template-columns: 1fr; } }
.about__visual { position: relative; }
.about__frame {
  position: relative; aspect-ratio: 4 / 5; display: grid; place-items: center;
  padding: 12%; background: var(--ink); color: var(--paper); overflow: hidden;
}
.about__frame::before {
  content: ""; position: absolute; inset: 14px; border: 1px solid rgba(255,255,255,.18);
}
.about__frame::after {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(circle at var(--mx, 50%) var(--my, 50%), rgba(236,211,204,.25), transparent 45%);
}
.about__ring {
  position: absolute; width: 42%; aspect-ratio: 1; right: -8%; bottom: -8%;
  border: 1px solid var(--rose); border-radius: 50%; z-index: -1;
  animation: float 14s ease-in-out infinite;
}
.about__text .section__title { margin-bottom: 24px; }
.about__text > p { color: var(--ink-soft); }
.features { list-style: none; padding: 0; margin: 30px 0 0; display: grid; gap: 14px; }
.features li { display: flex; gap: 14px; align-items: center; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.features span { color: var(--rose); }

/* ---------- Process ---------- */
.process { background: var(--ink); color: var(--paper); }
.process .eyebrow { color: var(--blush); }
.steps { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; max-width: 1100px; margin: 0 auto; }
.steps__line { position: absolute; top: 28px; left: 12.5%; right: 12.5%; height: 1px; background: rgba(255,255,255,.15); }
.steps__line span { position: absolute; inset: 0; background: var(--blush); transform-origin: left; transform: scaleX(var(--p, 0)); }
.step { position: relative; text-align: center; }
.step b {
  display: grid; place-items: center; width: 56px; height: 56px; margin: 0 auto 22px;
  border: 1px solid rgba(255,255,255,.35); border-radius: 50%; background: var(--ink);
  font-family: var(--f-serif); font-size: 24px; font-weight: 400;
  transition: background .5s, color .5s, border-color .5s, transform .5s var(--ease);
}
.step.is-lit b { background: var(--blush); color: var(--ink); border-color: var(--blush); transform: scale(1.08); }
.step h3 { margin: 0 0 8px; font-family: var(--f-serif); font-weight: 400; font-size: 28px; }
.step p { margin: 0 auto; max-width: 22ch; font-size: 14px; color: rgba(250,247,244,.7); }
@media (max-width: 820px) {
  .steps { grid-template-columns: 1fr; gap: 44px; }
  .steps__line { top: 0; bottom: 0; left: 50%; right: auto; width: 1px; height: auto; }
  .steps__line span { transform-origin: top; transform: scaleY(var(--p, 0)); }
  .step { background: var(--ink); padding: 8px 0; }
}

/* ---------- Booking ---------- */
.book__card {
  display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(30px, 6vw, 80px);
  max-width: 1150px; margin: 0 auto; padding: clamp(28px, 6vw, 70px);
  background: #fff; box-shadow: 0 40px 80px -50px rgba(22,22,22,.35);
}
@media (max-width: 860px) { .book__card { grid-template-columns: 1fr; } }
.book__intro .section__title { margin-bottom: 20px; }
.book__intro p:not(.eyebrow) { color: var(--ink-soft); }
.book__phone { margin: 12px 0 0; font-family: var(--f-serif); font-size: 28px; line-height: 1.6; }
.book__phone a { border-bottom: 1px solid var(--rose); }

.form { display: grid; grid-template-columns: 1fr 1fr; gap: 26px 22px; align-content: start; }
@media (max-width: 560px) { .form { grid-template-columns: 1fr; } }
.field { position: relative; }
.field--full { grid-column: 1 / -1; }
.field input, .field select, .field textarea {
  width: 100%; padding: 22px 0 10px; border: 0; border-bottom: 1px solid var(--line);
  background: transparent; font: inherit; font-size: 16px; color: var(--ink);
  border-radius: 0; outline: none; resize: vertical; appearance: none; -webkit-appearance: none;
}
.field--select::after { content: "⌄"; position: absolute; right: 2px; bottom: 12px; pointer-events: none; color: var(--ink-soft); }
.field label {
  position: absolute; left: 0; top: 20px; font-size: 15px; color: var(--ink-soft);
  pointer-events: none; transform-origin: left; transition: transform .4s var(--ease), color .3s;
}
.field input:focus + label, .field input:not(:placeholder-shown) + label,
.field textarea:focus + label, .field textarea:not(:placeholder-shown) + label,
.field select:focus + label, .field select:valid + label, .field label.is-fixed {
  transform: translateY(-20px) scale(.78); color: var(--rose);
}
.field::before { /* animated focus line */
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--ink);
  transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease);
}
.field:focus-within::before { transform: scaleX(1); }
.field.is-invalid::before { transform: scaleX(1); background: #b3261e; }
.form__status { grid-column: 1 / -1; margin: 0; min-height: 1.5em; font-size: 14px; color: var(--rose); }

/* ---------- Visit ---------- */
.visit { padding-top: 0; }
.visit__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; max-width: 1100px; margin: 0 auto; }
@media (max-width: 820px) { .visit__grid { grid-template-columns: 1fr; } }
.visit__block { padding: 34px 28px; border: 1px solid var(--line); text-align: center; transition: border-color .4s, transform .5s var(--ease); }
.visit__block:hover { border-color: var(--ink); transform: translateY(-6px); }
.visit__block h3 { margin: 0 0 14px; font-size: 11px; font-weight: 500; letter-spacing: .3em; text-transform: uppercase; color: var(--rose); }
.visit__block p { margin: 0; line-height: 1.9; }
.visit__block a { background: linear-gradient(currentColor 0 0) left bottom / 0 1px no-repeat; transition: background-size .45s var(--ease); }
.visit__block a:hover { background-size: 100% 1px; }
.hours { list-style: none; padding: 0; margin: 0; display: grid; gap: 4px; }
.hours li { display: flex; justify-content: space-between; gap: 12px; font-size: 14px; }
.hours li.is-today { font-weight: 700; }

/* ---------- Footer ---------- */
.footer { display: grid; justify-items: center; gap: 18px; padding: 70px var(--gutter) 40px; background: var(--ink); color: var(--paper); text-align: center; }
.footer__logo { width: min(260px, 70vw); }
.footer p { margin: 0; font-size: 12px; letter-spacing: .15em; text-transform: uppercase; opacity: .6; }
.footer__top { display: grid; place-items: center; width: 48px; height: 48px; border: 1px solid rgba(255,255,255,.3); border-radius: 50%; transition: background .3s, color .3s; }
.footer__top:hover { background: var(--paper); color: var(--ink); }

/* ---------- WhatsApp ---------- */
.btn svg { width: 20px; height: 20px; margin-right: 10px; flex: none; }
.btn--wa { background: #1f9e55; border-color: #1f9e55; }
.book__wa {
  display: inline-flex; align-items: center; gap: 10px; margin-top: 18px;
  font-size: 12px; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; color: #1f9e55;
}
.book__wa svg { width: 22px; height: 22px; transition: transform .5s var(--ease); }
.book__wa:hover svg { transform: rotate(-12deg) scale(1.15); }

.wa-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 55;
  display: grid; place-items: center; width: 58px; height: 58px; border-radius: 50%;
  background: #25d366; color: #fff; box-shadow: 0 12px 30px -8px rgba(0,0,0,.35);
  opacity: 0; transform: translateY(30px) scale(.6); pointer-events: none;
  transition: opacity .5s, transform .6s var(--ease);
}
.wa-float.is-visible { opacity: 1; transform: none; pointer-events: auto; }
.wa-float svg { width: 30px; height: 30px; }
.wa-float::before { /* soft pulse */
  content: ""; position: absolute; inset: 0; border-radius: 50%; background: #25d366; z-index: -1;
  animation: waPulse 2.4s ease-out infinite;
}
.wa-float:hover { transform: scale(1.08); }
@keyframes waPulse { from { transform: scale(1); opacity: .5; } to { transform: scale(1.7); opacity: 0; } }
.nav.is-open ~ .wa-float { opacity: 0; pointer-events: none; }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; transition-delay: 0s !important; animation-delay: 0s !important; }
  html { scroll-behavior: auto; }
}
