/* =========================================================
   Isabel Estropá · Fisioterapia
   ========================================================= */

:root {
  --teal: #32667b;
  --teal-600: #285a6d;
  --teal-700: #1d4757;
  --teal-800: #143642;
  --teal-900: #0d2730;
  --mint: #dcefe6;
  --mint-2: #a9d3c4;
  --sand: #f5f1ea;
  --sand-2: #ebe4d8;
  --ink: #10262e;
  --ink-soft: #4a5f66;
  --line-dark: rgba(16, 38, 46, .14);
  --line-light: rgba(220, 239, 230, .16);

  --f-sans: "Outfit", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-serif: "Fraunces", Georgia, serif;

  --ease: cubic-bezier(.22, 1, .36, 1);
  --ease-io: cubic-bezier(.76, 0, .24, 1);
  --gutter: clamp(20px, 4vw, 64px);
  --radius: 28px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--f-sans);
  font-weight: 300;
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--sand);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  overflow-x: clip;
}
body.is-loading { overflow: hidden; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
em { font-family: var(--f-serif); font-style: italic; font-weight: 300; }
h1, h2, h3 { margin: 0; font-weight: 400; }
p { margin: 0; }
ul, ol { list-style: none; margin: 0; padding: 0; }
::selection { background: var(--teal); color: var(--mint); }
:focus-visible { outline: 2px solid var(--mint-2); outline-offset: 4px; border-radius: 6px; }

.container { width: 100%; max-width: 1440px; margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: clamp(96px, 14vw, 200px) 0; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 13px; font-weight: 500; letter-spacing: .22em; text-transform: uppercase;
  color: var(--mint-2);
}
.eyebrow--dark { color: var(--teal); }
.eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--mint-2); box-shadow: 0 0 0 0 rgba(169,211,196,.6); animation: ping 2.4s infinite; }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(169,211,196,.6); } 70%,100% { box-shadow: 0 0 0 12px rgba(169,211,196,0); } }

.display {
  font-size: clamp(40px, 6.2vw, 96px);
  line-height: 1.02;
  letter-spacing: -.035em;
  font-weight: 300;
}
.display em { color: var(--teal); }
.display--light { color: var(--mint); }
.display--light em { color: var(--mint-2); }

/* ---------- Buttons ---------- */
.btn {
  --bg: var(--mint); --fg: var(--teal-900);
  position: relative; display: inline-flex; align-items: center; gap: 14px;
  height: 60px; padding: 0 30px; border-radius: 999px;
  font-size: 16px; font-weight: 500; letter-spacing: .01em;
  color: var(--fg); background: var(--bg);
  overflow: hidden; isolation: isolate;
  transition: color .5s var(--ease), transform .4s var(--ease);
  will-change: transform;
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--teal); border-radius: inherit;
  transform: translateY(101%); transition: transform .6s var(--ease);
}
.btn:hover::before { transform: translateY(0); }
.btn:hover { color: var(--mint); }
.btn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.6; transition: transform .5s var(--ease); }
.btn:hover svg { transform: translateX(4px); }
.btn--light { --bg: var(--mint); --fg: var(--teal-900); }
.btn--ghost { --bg: transparent; --fg: var(--mint); box-shadow: inset 0 0 0 1px rgba(220,239,230,.35); }
.btn--ghost::before { background: var(--mint); }
.btn--ghost:hover { color: var(--teal-900); }
.btn--pill { height: 48px; padding: 0 22px; font-size: 15px; }

/* =========================================================
   INTRO
   ========================================================= */
.intro {
  position: fixed; inset: 0; z-index: 1000;
  display: grid; place-items: center;
  background: radial-gradient(120% 90% at 50% 40%, #3a7186 0%, var(--teal) 45%, #2a5a6d 100%);
  color: var(--mint);
  --r: 0px; --cx: 50%; --cy: 50%;
}
.intro.is-opening {
  -webkit-mask: radial-gradient(circle at var(--cx) var(--cy), transparent var(--r), #000 calc(var(--r) + 1px));
          mask: radial-gradient(circle at var(--cx) var(--cy), transparent var(--r), #000 calc(var(--r) + 1px));
}
.intro.is-done { display: none; }
.intro__grain {
  position: absolute; inset: 0; opacity: .12; pointer-events: none; mix-blend-mode: overlay;
  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='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.intro__stage { position: relative; display: flex; flex-direction: column; align-items: center; width: min(78vw, 620px); }
.intro__mark { width: 100%; height: auto; overflow: visible; transform-origin: 0 0; }
.intro__glow { filter: drop-shadow(0 6px 14px rgba(8, 30, 38, .35)); }
.intro__circle, .intro__wave {
  fill: none; stroke: var(--mint); stroke-linecap: round;
  stroke-dasharray: 1; stroke-dashoffset: 1;
}
.intro__circle { stroke-width: 7; }
.intro__wave { stroke-width: 10; }
.intro__spark { fill: #fff; opacity: 0; filter: drop-shadow(0 0 10px #fff) drop-shadow(0 0 24px var(--mint-2)); }

.intro__name {
  margin-top: clamp(14px, 3vw, 28px);
  font-size: clamp(34px, 7vw, 66px); font-weight: 400; letter-spacing: -.01em; line-height: 1;
  white-space: nowrap;
}
.intro__name .ch { display: inline-block; opacity: 0; transform: translateY(.5em); filter: blur(8px); }
.intro__name .ch.sp { width: .28em; }
.intro__role {
  margin-top: clamp(10px, 2vw, 18px);
  font-size: clamp(12px, 2vw, 19px); letter-spacing: .5em; text-transform: uppercase; font-weight: 300;
  opacity: 0; padding-left: .5em;
}
.intro__skip {
  position: absolute; bottom: 28px; right: 28px;
  font: 500 12px var(--f-sans); letter-spacing: .2em; text-transform: uppercase;
  color: rgba(220,239,230,.6); background: none; border: 0; cursor: pointer; padding: 8px;
}
.intro__skip:hover { color: var(--mint); }

/* =========================================================
   CURSOR & PROGRESS
   ========================================================= */
.cursor { position: fixed; inset: 0; pointer-events: none; z-index: 900; display: none; }
@media (hover: hover) and (pointer: fine) { .cursor { display: block; } }
.cursor__dot, .cursor__ring { position: absolute; top: 0; left: 0; border-radius: 50%; will-change: transform; }
.cursor__dot { width: 6px; height: 6px; margin: -3px 0 0 -3px; background: var(--teal); mix-blend-mode: difference; background: #fff; }
.cursor__ring {
  width: 40px; height: 40px; margin: -20px 0 0 -20px;
  border: 1px solid rgba(255,255,255,.7); mix-blend-mode: difference;
  display: grid; place-items: center;
  transition: width .45s var(--ease), height .45s var(--ease), margin .45s var(--ease), background .45s var(--ease), border-color .45s;
}
.cursor.is-hover .cursor__ring { width: 72px; height: 72px; margin: -36px 0 0 -36px; background: rgba(255,255,255,.9); border-color: transparent; }
.cursor.is-label .cursor__ring { width: 96px; height: 96px; margin: -48px 0 0 -48px; background: var(--mint); mix-blend-mode: normal; border-color: transparent; }
.cursor__label { font-size: 13px; font-weight: 500; letter-spacing: .08em; color: var(--teal-900); opacity: 0; transition: opacity .3s; }
.cursor.is-label .cursor__label { opacity: 1; }
.cursor.is-label .cursor__dot { opacity: 0; }

.progress { position: fixed; top: 0; left: 0; right: 0; height: 2px; z-index: 950; pointer-events: none; }
.progress span { display: block; height: 100%; background: var(--mint-2); transform-origin: 0 50%; transform: scaleX(0); }

/* =========================================================
   NAV
   ========================================================= */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 800;
  display: flex; align-items: center; gap: 32px;
  padding: 22px var(--gutter);
  color: var(--mint);
  transition: transform .6s var(--ease), padding .5s var(--ease), color .4s;
}
.nav::before {
  content: ""; position: absolute; inset: 10px clamp(10px, 2vw, 24px); z-index: -1;
  border-radius: 999px; background: rgba(13, 39, 48, .55);
  backdrop-filter: blur(18px) saturate(140%); -webkit-backdrop-filter: blur(18px) saturate(140%);
  box-shadow: inset 0 0 0 1px rgba(220,239,230,.08);
  opacity: 0; transform: scale(.98); transition: opacity .5s var(--ease), transform .5s var(--ease);
}
.nav.is-scrolled { padding-top: 18px; padding-bottom: 18px; }
.nav.is-scrolled::before { opacity: 1; transform: none; }
.nav.is-hidden { transform: translateY(-120%); }
body.is-loading .nav { transform: translateY(-120%); }

.nav__brand { display: flex; align-items: center; gap: 12px; margin-right: auto; padding-left: 6px; }
.nav__mark { width: 46px; height: 32px; color: var(--mint); transition: transform .8s var(--ease); }
.nav__brand:hover .nav__mark { transform: rotate(-8deg) scale(1.06); }
.nav__word { display: flex; flex-direction: column; font-size: 17px; font-weight: 400; line-height: 1.1; }
.nav__word small { font-size: 9.5px; letter-spacing: .38em; text-transform: uppercase; opacity: .7; margin-top: 4px; }

.nav__links { display: flex; gap: 6px; }
.nav__links a {
  position: relative; padding: 10px 16px; font-size: 15px; font-weight: 400;
  border-radius: 999px; transition: background .3s;
}
.nav__links a::after {
  content: ""; position: absolute; left: 16px; right: 16px; bottom: 6px; height: 1px; background: currentColor;
  transform: scaleX(0); transform-origin: right; transition: transform .5s var(--ease);
}
.nav__links a:hover::after, .nav__links a.is-active::after { transform: scaleX(1); transform-origin: left; }
.nav__cta { margin-right: 4px; }

.nav__burger {
  display: none; width: 48px; height: 48px; border-radius: 50%; border: 0; cursor: pointer;
  background: var(--mint); position: relative; margin-right: 4px;
}
.nav__burger span { position: absolute; left: 15px; right: 15px; height: 1.5px; background: var(--teal-900); transition: transform .5s var(--ease), top .5s var(--ease); }
.nav__burger span:nth-child(1) { top: 20px; }
.nav__burger span:nth-child(2) { top: 27px; }
body.menu-open .nav__burger span:nth-child(1) { top: 23.5px; transform: rotate(45deg); }
body.menu-open .nav__burger span:nth-child(2) { top: 23.5px; transform: rotate(-45deg); }

.menu {
  position: fixed; inset: 0; z-index: 790; background: var(--teal-900); color: var(--mint);
  display: flex; flex-direction: column; justify-content: space-between;
  padding: 120px var(--gutter) 40px;
  clip-path: circle(0% at calc(100% - 48px) 44px);
  transition: clip-path .9s var(--ease-io);
  visibility: hidden;
}
body.menu-open .menu { clip-path: circle(150% at calc(100% - 48px) 44px); visibility: visible; }
.menu__links { display: flex; flex-direction: column; gap: 6px; }
.menu__links a {
  display: flex; align-items: baseline; gap: 16px;
  font-size: clamp(42px, 12vw, 72px); line-height: 1.1; letter-spacing: -.03em;
  opacity: 0; transform: translateY(30px); transition: opacity .6s, transform .8s var(--ease);
}
.menu__links a i { font-style: normal; font-size: 13px; letter-spacing: .1em; color: var(--mint-2); }
body.menu-open .menu__links a { opacity: 1; transform: none; }
body.menu-open .menu__links a:nth-child(2) { transition-delay: .06s; }
body.menu-open .menu__links a:nth-child(3) { transition-delay: .12s; }
body.menu-open .menu__links a:nth-child(4) { transition-delay: .18s; }
.menu__links a:nth-child(1) { transition-delay: .3s; }
.menu__foot { display: flex; flex-direction: column; gap: 6px; color: var(--mint-2); font-size: 16px; }

/* =========================================================
   HERO
   ========================================================= */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh;
  display: flex; flex-direction: column; justify-content: center;
  padding: 140px 0 120px;
  background:
    radial-gradient(70% 65% at 82% 22%, rgba(220,239,230,.20) 0%, transparent 62%),
    radial-gradient(60% 60% at 8% 92%, rgba(169,211,196,.16) 0%, transparent 60%),
    linear-gradient(165deg, #5a8b9b 0%, #4a7d8e 45%, #3f7183 100%);
  color: var(--mint);
  overflow: hidden;
}
.hero__waves { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .9; }
.hero__orb {
  position: absolute; width: 60vmax; height: 60vmax; right: -18vmax; top: -12vmax; border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, rgba(169,211,196,.18), transparent 60%);
  filter: blur(20px); pointer-events: none;
  animation: drift 18s ease-in-out infinite alternate;
}
@keyframes drift { to { transform: translate(-6vmax, 8vmax) scale(1.1); } }

.hero__inner { position: relative; z-index: 2; width: 100%; max-width: 1440px; margin: 0 auto; padding: 0 var(--gutter); }
.hero__eyebrow { margin-bottom: clamp(24px, 4vw, 44px); }
.hero__title {
  font-size: clamp(56px, 11.5vw, 188px);
  line-height: .92; letter-spacing: -.05em; font-weight: 300;
}
.hero__title .line { display: block; overflow: hidden; padding-bottom: .06em; }
.hero__title .line > span { display: inline-block; transform: translateY(110%); }
.hero__title em { color: var(--mint-2); padding-right: .05em; }
.hero__title .line:nth-child(2) { padding-left: clamp(0px, 9vw, 160px); }
.hero__bottom {
  display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 32px;
  margin-top: clamp(36px, 5vw, 64px);
}
.hero__lead { max-width: 440px; font-size: clamp(17px, 1.45vw, 20px); color: rgba(220,239,230,.78); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }

.hero__eyebrow, .hero__lead, .hero__actions, .hero__bar { opacity: 0; transform: translateY(24px); }
body.is-ready .hero__title .line > span { transform: none; transition: transform 1.4s var(--ease); }
body.is-ready .hero__title .line:nth-child(2) > span { transition-delay: .1s; }
body.is-ready .hero__eyebrow,
body.is-ready .hero__lead,
body.is-ready .hero__actions,
body.is-ready .hero__bar { opacity: 1; transform: none; transition: opacity 1.2s var(--ease), transform 1.2s var(--ease); }
body.is-ready .hero__lead { transition-delay: .35s; }
body.is-ready .hero__actions { transition-delay: .45s; }
body.is-ready .hero__bar { transition-delay: .6s; }

.hero__mark {
  position: absolute; z-index: 1; right: -6vw; top: 50%;
  width: min(62vw, 900px); aspect-ratio: 835 / 570;
  transform: translateY(-50%); color: rgba(220,239,230,.07);
  pointer-events: none;
}
.hero__mark svg { width: 100%; height: 100%; }

.hero__bar {
  position: absolute; z-index: 2; left: 0; right: 0; bottom: 0;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 26px var(--gutter);
  border-top: 1px solid var(--line-light);
  font-size: 14px; color: rgba(220,239,230,.75);
}
.hero__addr:hover { color: var(--mint); }
.hero__scroll { display: flex; align-items: center; gap: 12px; letter-spacing: .2em; text-transform: uppercase; font-size: 12px; }
.hero__scroll i { position: relative; width: 1px; height: 36px; background: rgba(220,239,230,.2); overflow: hidden; }
.hero__scroll i::after { content: ""; position: absolute; left: 0; top: -40%; width: 100%; height: 40%; background: var(--mint); animation: scrollcue 2s var(--ease-io) infinite; }
@keyframes scrollcue { to { top: 100%; } }

.status { display: inline-flex; align-items: center; gap: 10px; }
.status__dot { width: 8px; height: 8px; border-radius: 50%; background: rgba(220,239,230,.4); }
.status.is-open .status__dot { background: #7ee0a8; box-shadow: 0 0 0 0 rgba(126,224,168,.6); animation: ping-g 2s infinite; }
.status.is-open .status__text { color: #9ee8bd; }
@keyframes ping-g { 0% { box-shadow: 0 0 0 0 rgba(126,224,168,.55); } 70%,100% { box-shadow: 0 0 0 10px rgba(126,224,168,0); } }
.status__hours { color: var(--mint); }

/* =========================================================
   MARQUEE
   ========================================================= */
.marquee {
  background: var(--mint); color: var(--teal-900); overflow: hidden;
  padding: clamp(20px, 3vw, 36px) 0; border-bottom: 1px solid var(--line-dark);
}
.marquee__track { display: flex; width: max-content; animation: marquee 32s linear infinite; }
.marquee__group { display: flex; align-items: center; flex-shrink: 0; }
.marquee__group span { font-size: clamp(34px, 5.6vw, 84px); font-weight: 300; letter-spacing: -.03em; line-height: 1; padding: 0 clamp(18px, 2.5vw, 40px); white-space: nowrap; }
.marquee__group em { color: var(--teal); }
.marquee__group b { font-weight: 300; font-size: clamp(18px, 2.4vw, 32px); color: var(--teal); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* =========================================================
   ABOUT
   ========================================================= */
.about__grid { display: grid; grid-template-columns: 1fr 2.6fr; gap: clamp(40px, 6vw, 120px); }
.about__label { display: flex; flex-direction: column; gap: 48px; }
.about__badge { position: relative; width: 170px; height: 170px; }
.about__ring { position: absolute; inset: 0; width: 100%; height: 100%; animation: spin 24s linear infinite; }
.about__ring text { font-size: 13.4px; letter-spacing: .18em; text-transform: uppercase; fill: var(--teal); font-weight: 500; }
.about__badge-mark { position: absolute; left: 50%; top: 50%; width: 92px; height: 63px; transform: translate(-50%, -50%); color: var(--teal); }
@keyframes spin { to { transform: rotate(360deg); } }

.about__body .display { max-width: 15ch; }
.about__cols { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; margin-top: clamp(48px, 6vw, 80px); color: var(--ink-soft); font-size: 18px; max-width: 900px; }
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: clamp(56px, 7vw, 96px); border-top: 1px solid var(--line-dark); }
.pillars li { display: flex; flex-direction: column; gap: 6px; padding: 28px 28px 0 0; }
.pillars li + li { padding-left: 28px; border-left: 1px solid var(--line-dark); }
.pillars__n { font-family: var(--f-serif); font-style: italic; color: var(--teal); }
.pillars strong { font-size: 24px; font-weight: 400; letter-spacing: -.01em; }
.pillars span:last-child { color: var(--ink-soft); font-size: 16px; }

[data-words] .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
[data-words] .w > span { display: inline-block; transform: translateY(105%); transition: transform 1.1s var(--ease); }
[data-words].is-in .w > span { transform: none; }

[data-reveal] { opacity: 0; transform: translateY(40px); transition: opacity 1.1s var(--ease), transform 1.1s var(--ease); }
[data-reveal].is-in { opacity: 1; transform: none; }

/* =========================================================
   TREATMENTS (horizontal pinned)
   ========================================================= */
.treat { position: relative; background: var(--teal-900); color: var(--mint); }
.treat__sticky { position: sticky; top: 0; height: 100vh; height: 100svh; display: flex; flex-direction: column; justify-content: center; overflow: hidden; padding: 110px 0 60px; }
.treat__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px 40px; margin-bottom: clamp(28px, 4vh, 56px); }
.treat__head .eyebrow { width: 100%; }
.treat__head .display { font-size: clamp(40px, 5.4vw, 84px); }
.treat__counter { font-size: 15px; color: rgba(220,239,230,.55); letter-spacing: .1em; font-variant-numeric: tabular-nums; }
.treat__current { color: var(--mint); font-size: 28px; }

.treat__rail { width: 100%; }
.treat__track { display: flex; gap: clamp(16px, 2vw, 28px); padding: 0 var(--gutter); width: max-content; will-change: transform; }

.card {
  position: relative; flex: 0 0 auto; width: min(76vw, 520px); height: min(58vh, 560px); min-height: 440px;
  display: flex; flex-direction: column; border-radius: var(--radius); overflow: hidden;
  background: linear-gradient(160deg, rgba(50,102,123,.55), rgba(20,54,66,.65));
  box-shadow: inset 0 0 0 1px var(--line-light);
  transition: transform .8s var(--ease), box-shadow .5s;
}
.card::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: radial-gradient(400px circle at var(--mx, 50%) var(--my, 0%), rgba(220,239,230,.12), transparent 50%);
  opacity: 0; transition: opacity .4s;
}
.card:hover::after { opacity: 1; }
.card:hover { box-shadow: inset 0 0 0 1px rgba(220,239,230,.32); }
.card__body { padding: 0 clamp(26px, 3vw, 40px) clamp(26px, 3vw, 40px); }
.card__n { font-family: var(--f-serif); font-style: italic; color: var(--mint-2); font-size: 18px; }
.card h3 { font-size: clamp(30px, 3vw, 42px); letter-spacing: -.03em; margin: 4px 0 12px; line-height: 1.05; }
.card p { color: rgba(220,239,230,.72); font-size: 16px; line-height: 1.55; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.tags li { font-size: 13px; padding: 6px 12px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--line-light); color: rgba(220,239,230,.85); }

/* card with a real photo */
.card__photo { position: absolute; inset: 0; margin: 0; overflow: hidden; }
.card__photo picture, .card__photo img { display: block; width: 100%; height: 100%; }
.card__photo img { object-fit: cover; object-position: 50% 20%; transform: scale(1.03); transform-origin: 50% 0; transition: transform 1.4s var(--ease); }
.card__photo::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(13,39,48,0) 34%, rgba(13,39,48,.55) 52%, rgba(13,39,48,.9) 72%, rgba(13,39,48,.96) 100%);
}
.card--photo { justify-content: flex-end; }
.card--photo .card__body { position: relative; z-index: 1; }
.card--photo p { color: rgba(220,239,230,.85); }
.card--photo:hover .card__photo img { transform: scale(1.1); }
.card--vestibular .card__photo img { object-position: 50% 8%; }
.card--needle .card__photo img { object-position: 55% 78%; }
.card--atm .card__photo img { object-position: 45% 12%; }
.card--neuro .card__photo img { object-position: 45% 14%; }
.card--exercise .card__photo img { object-position: 58% 50%; }
/* product shot on white: panel at the top, text below */
.card--product .card__photo { bottom: auto; height: 50%; background: #fefefe; }
.card--product .card__photo img { object-fit: contain; object-position: 50% 60%; padding: 6% 8% 2%; transform: none; }
.card--product .card__photo::after { display: none; }
.card--product:hover .card__photo img { transform: scale(1.04); }

.card--cta { justify-content: flex-end; background: var(--mint); color: var(--teal-900); box-shadow: none; }
.card--cta .eyebrow { color: var(--teal); }
.card--cta h3 { font-size: clamp(30px, 3vw, 44px); margin: 18px 0 32px; }
.card--cta .btn { --bg: var(--teal-900); --fg: var(--mint); }
.card--cta .btn::before { background: var(--teal); }


.treat__bar { position: absolute; left: var(--gutter); right: var(--gutter); bottom: 34px; height: 1px; background: var(--line-light); }
.treat__bar span { display: block; height: 100%; background: var(--mint); transform-origin: 0 50%; transform: scaleX(0); }

/* "Leer más" on treatment cards */
.card__more {
  display: inline-flex; align-items: center; gap: 10px; margin-top: 18px;
  padding: 9px 16px 9px 18px; border: 0; border-radius: 999px; cursor: pointer;
  font: 500 14px var(--f-sans); letter-spacing: .02em; color: var(--teal-900); background: var(--mint);
  transition: background .3s, transform .4s var(--ease);
}
.card__more:hover { background: #fff; }
.card__more i { position: relative; width: 12px; height: 12px; }
.card__more i::before, .card__more i::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1.5px; margin-top: -.75px; background: currentColor; }
.card__more i::after { transform: rotate(90deg); }

.card__panel {
  position: absolute; inset: 0; z-index: 3; overflow-y: auto; overscroll-behavior: contain;
  padding: clamp(28px, 3vw, 40px); padding-top: clamp(56px, 5vw, 64px);
  border-radius: inherit; color: var(--mint);
  background: linear-gradient(170deg, #1f4d5e 0%, var(--teal-800) 55%, var(--teal-900) 100%);
  opacity: 0; transform: translateY(16px); transition: opacity .45s var(--ease), transform .55s var(--ease);
}
.card__panel[hidden] { display: none; }
.card__panel.is-open { opacity: 1; transform: none; }
.card__panel h4 { font-size: clamp(26px, 2.4vw, 34px); font-weight: 400; letter-spacing: -.02em; line-height: 1.1; margin: 0 0 18px; }
.card__panel-text { display: grid; gap: 14px; }
.card__panel-text p { font-size: 15.5px; line-height: 1.6; color: rgba(220,239,230,.86); }
.card__panel-close {
  position: absolute; top: 16px; right: 16px; width: 40px; height: 40px; border-radius: 50%; border: 0; cursor: pointer;
  display: grid; place-items: center; background: rgba(220,239,230,.12); color: var(--mint); transition: background .3s, color .3s;
}
.card__panel-close:hover { background: var(--mint); color: var(--teal-900); }
.card__panel-close svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.6; }
.card__panel::-webkit-scrollbar { width: 6px; }
.card__panel::-webkit-scrollbar-thumb { background: rgba(220,239,230,.25); border-radius: 3px; }

/* =========================================================
   MÁS TRATAMIENTOS (accordion)
   ========================================================= */
.more { background: #fbf9f5; }
.more__grid { display: grid; grid-template-columns: 1fr 1.35fr; gap: clamp(40px, 6vw, 110px); align-items: start; }
.more__head { position: sticky; top: 120px; display: flex; flex-direction: column; gap: 22px; }
.more__head .display { font-size: clamp(40px, 5vw, 76px); }
.more__lead { color: var(--ink-soft); font-size: 17px; max-width: 44ch; }
.acc { border-top: 1px solid var(--line-dark); interpolate-size: allow-keywords; }
.acc__item { border-bottom: 1px solid var(--line-dark); }
.acc__item summary {
  list-style: none; cursor: pointer; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 4px 24px;
  padding: clamp(22px, 2.6vw, 32px) 0;
}
.acc__item summary::-webkit-details-marker { display: none; }
.acc__title { font-size: clamp(26px, 2.8vw, 40px); letter-spacing: -.03em; line-height: 1.1; transition: color .3s, transform .5s var(--ease); }
.acc__sub { grid-row: 2; font-size: 14px; color: var(--ink-soft); }
.acc__icon {
  grid-row: 1 / span 2; grid-column: 2; position: relative; width: 48px; height: 48px; border-radius: 50%;
  box-shadow: inset 0 0 0 1px var(--line-dark); transition: background .35s, box-shadow .35s, transform .5s var(--ease);
}
.acc__icon::before, .acc__icon::after { content: ""; position: absolute; left: 50%; top: 50%; width: 14px; height: 1.5px; margin: -.75px 0 0 -7px; background: var(--teal-900); transition: background .35s; }
.acc__icon::after { transform: rotate(90deg); }
.acc__item summary:hover .acc__title { color: var(--teal); }
.acc__item summary:hover .acc__icon { box-shadow: inset 0 0 0 1px var(--teal); }
.acc__item[open] .acc__icon { background: var(--teal-900); transform: rotate(45deg); box-shadow: none; }
.acc__item[open] .acc__icon::before, .acc__item[open] .acc__icon::after { background: var(--mint); }
.acc__item[open] .acc__title { color: var(--teal); }
.acc__item::details-content { block-size: 0; overflow: hidden; transition: block-size .55s var(--ease), content-visibility .55s allow-discrete; }
.acc__item[open]::details-content { block-size: auto; }
.acc__body { display: grid; gap: 14px; padding: 0 72px clamp(26px, 3vw, 36px) 0; color: var(--ink-soft); font-size: 17px; max-width: 70ch; }

/* =========================================================
   METHOD
   ========================================================= */
.method { background: var(--sand); }
.method__head { display: flex; flex-direction: column; gap: 24px; max-width: 900px; }
.method__steps { position: relative; margin-top: clamp(64px, 8vw, 120px); }
.method__line { position: absolute; left: 0; right: 0; top: -40px; width: 100%; height: 160px; overflow: visible; pointer-events: none; }
.method__line path { fill: none; stroke: var(--teal); stroke-width: 1.5; vector-effect: non-scaling-stroke; stroke-dasharray: 1; stroke-dashoffset: 1; }
.method__steps ol { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(24px, 3vw, 48px); padding-top: 150px; }
.method__steps li { position: relative; }
.method__steps li::before {
  content: ""; position: absolute; top: -34px; left: 0; width: 14px; height: 14px; border-radius: 50%;
  background: var(--sand); box-shadow: inset 0 0 0 1.5px var(--teal);
}
.step__n { display: block; font-family: var(--f-serif); font-style: italic; font-size: clamp(56px, 6vw, 92px); line-height: 1; color: var(--teal); opacity: .22; margin-bottom: 14px; }
.method__steps h3 { font-size: 24px; letter-spacing: -.01em; margin-bottom: 10px; }
.method__steps p { color: var(--ink-soft); font-size: 16px; }

/* =========================================================
   AREAS
   ========================================================= */
.areas { background: var(--sand); padding-top: 0; }
.areas__head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 40px; }
.areas__preview { width: 90px; height: 62px; color: var(--teal); opacity: .5; }
.areas__preview svg { width: 100%; height: 100%; }
.areas__list { border-top: 1px solid var(--line-dark); }
.areas__list li {
  position: relative; display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: clamp(22px, 3vw, 36px) 0; border-bottom: 1px solid var(--line-dark);
  overflow: hidden; isolation: isolate;
}
.areas__list li::before {
  content: ""; position: absolute; inset: 0; z-index: -1; background: var(--teal);
  transform: scaleY(0); transform-origin: bottom; transition: transform .6s var(--ease);
}
.areas__list li span {
  font-size: clamp(28px, 4.4vw, 64px); letter-spacing: -.035em; line-height: 1.05;
  transition: transform .6s var(--ease), color .4s;
}
.areas__list li i { font-style: normal; font-size: 15px; color: var(--ink-soft); text-align: right; transition: color .4s, transform .6s var(--ease); }
@media (hover: hover) {
  .areas__list li:hover::before { transform: scaleY(1); }
  .areas__list li:hover span { color: var(--mint); transform: translateX(24px); }
  .areas__list li:hover i { color: var(--mint-2); transform: translateX(-24px); }
}

/* =========================================================
   STATEMENT
   ========================================================= */
.statement {
  position: relative; overflow: hidden;
  background: var(--teal); color: var(--mint);
  padding: clamp(120px, 18vw, 260px) var(--gutter);
  display: grid; place-items: center;
}
.statement__mark { position: absolute; width: min(120vw, 1500px); aspect-ratio: 835 / 570; color: rgba(220,239,230,.08); left: 50%; top: 50%; transform: translate(-50%, -50%); }
.statement__mark svg { width: 100%; height: 100%; }
.statement__text {
  position: relative; max-width: 1200px; text-align: center;
  font-size: clamp(36px, 5.8vw, 92px); line-height: 1.05; letter-spacing: -.04em; font-weight: 300;
}
.statement__text .w { opacity: .16; transition: opacity .3s linear; }
.statement__text .w.on { opacity: 1; }

/* =========================================================
   CONTACT
   ========================================================= */
.contact { background: var(--teal-900); color: var(--mint); padding: clamp(96px, 12vw, 180px) 0 clamp(80px, 10vw, 140px); }
.contact__title { display: flex; flex-direction: column; margin: 28px 0 clamp(56px, 7vw, 96px); font-weight: 300; }
.contact__title > span { font-size: clamp(64px, 13vw, 210px); line-height: .9; letter-spacing: -.055em; }
.contact__phone {
  align-self: flex-start; font-family: var(--f-serif); font-style: italic; font-weight: 300;
  font-size: clamp(32px, 6vw, 96px); letter-spacing: -.03em; line-height: 1.1; color: var(--mint-2);
  background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat;
  transition: background-size .8s var(--ease), color .3s;
}
.contact__phone:hover { background-size: 100% 1px; color: var(--mint); }
.contact__grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line-light); }
.info { padding: 32px 28px 32px 0; display: flex; flex-direction: column; gap: 12px; }
.info + .info { padding-left: 28px; border-left: 1px solid var(--line-light); }
.info__k { font-size: 12px; letter-spacing: .22em; text-transform: uppercase; color: var(--mint-2); font-weight: 500; }
.info__v { font-size: clamp(19px, 1.6vw, 24px); line-height: 1.35; font-weight: 300; }
a.info__v:hover { color: #fff; }
.hours { display: flex; flex-direction: column; margin: 2px 0 6px; font-size: 15px; line-height: 1.35; }
.hours > div { display: flex; justify-content: space-between; gap: 12px; padding: 7px 0; border-bottom: 1px solid var(--line-light); }
.hours dt { color: rgba(220,239,230,.7); }
.hours dd { margin: 0; text-align: right; font-variant-numeric: tabular-nums; }
.hours .is-today dt, .hours .is-today dd { color: #fff; font-weight: 400; }
.hours .is-today dt::after { content: " · hoy"; color: var(--mint-2); font-size: 12px; letter-spacing: .06em; }
.status--inline { font-size: 14px; color: rgba(220,239,230,.7); }
.info--actions { justify-content: center; gap: 12px; }
.info--actions .btn { justify-content: space-between; }

.map { position: relative; margin-top: clamp(40px, 5vw, 72px); height: clamp(320px, 42vw, 520px); border-radius: var(--radius); overflow: hidden; background: var(--teal-800); }
.map iframe { width: 100%; height: 100%; border: 0; filter: grayscale(1) contrast(1.05) brightness(.9); opacity: .9; }
.map::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: var(--teal); mix-blend-mode: color; opacity: .55; }
.map__pin { position: absolute; left: 50%; top: 50%; width: 84px; height: 84px; margin: -42px 0 0 -42px; border-radius: 50%; background: var(--teal-900); display: grid; place-items: center; box-shadow: 0 0 0 10px rgba(13,39,48,.25), 0 18px 40px rgba(0,0,0,.35); pointer-events: none; z-index: 1; color: var(--mint); }
.map__pin svg { width: 58px; height: 40px; }
.map__pin::before { content: ""; position: absolute; inset: -10px; border-radius: 50%; border: 1px solid var(--mint-2); animation: pin 2.6s var(--ease) infinite; }
@keyframes pin { from { transform: scale(.9); opacity: .9; } to { transform: scale(2.2); opacity: 0; } }

/* =========================================================
   FOOTER
   ========================================================= */
.footer { background: var(--teal-900); color: var(--mint); padding: 0 0 32px; overflow: hidden; }
.footer__top { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 40px 0; border-top: 1px solid var(--line-light); }
.footer__brand svg { width: 76px; height: 52px; color: var(--mint); }
.footer__nav { display: flex; flex-wrap: wrap; gap: 8px 32px; font-size: 15px; color: rgba(220,239,230,.75); }
.footer__nav a:hover { color: var(--mint); }
.footer__up { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; box-shadow: inset 0 0 0 1px var(--line-light); transition: background .4s, color .4s; }
.footer__up:hover { background: var(--mint); color: var(--teal-900); }
.footer__up svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.6; }
.footer__word {
  font-size: clamp(56px, 15.2vw, 250px); line-height: .85; letter-spacing: -.06em; white-space: nowrap; text-align: center;
  background: linear-gradient(180deg, var(--mint) 0%, rgba(220,239,230,.08) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  margin: 20px 0 40px;
}
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 32px; font-size: 13px; color: rgba(220,239,230,.55); }
.footer__bottom a:hover { color: var(--mint); }

/* =========================================================
   SOBRE MÍ
   ========================================================= */
.me { background: #fbf9f5; overflow: hidden; }
.me__grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(48px, 7vw, 128px); align-items: center; }

.me__media { position: relative; padding: 0 0 clamp(60px, 9vw, 130px) 0; }
.me__photo { margin: 0; overflow: hidden; border-radius: var(--radius); background: var(--sand-2); }
.me__photo picture, .me__photo img { display: block; width: 100%; height: 100%; }
.me__photo img { object-fit: cover; transform: scale(1.08); transform-origin: 50% 0; will-change: transform; }
.me__photo--main { width: 80%; aspect-ratio: 4 / 5; }
.me__photo--main img { object-position: 30% 0; }
.me__photo--side {
  position: absolute; right: 0; bottom: 0; width: 56%; aspect-ratio: 1290 / 884;
  box-shadow: 0 0 0 clamp(8px, 1vw, 14px) #fbf9f5, 0 30px 60px -20px rgba(16, 38, 46, .35);
}
.me__photo--side img { object-position: 40% 50%; }

/* clip reveal for photos */
[data-clip] { clip-path: inset(100% 0 0 0 round var(--radius)); transition: clip-path 1.6s var(--ease-io); }
.is-in > [data-clip] { clip-path: inset(0 0 0 0 round var(--radius)); }
.me__photo--side[data-clip] { transition-delay: .25s; }

.me__seal {
  position: absolute; z-index: 2; left: 68%; top: 8%;
  width: clamp(110px, 11vw, 160px); aspect-ratio: 1; border-radius: 50%;
  background: var(--teal); color: var(--mint);
  box-shadow: 0 20px 40px -14px rgba(16, 38, 46, .5);
  display: grid; place-items: center;
}
.me__seal-ring { position: absolute; inset: 0; width: 100%; height: 100%; animation: spin 22s linear infinite; }
.me__seal-ring text { font-size: 14px; letter-spacing: .2em; text-transform: uppercase; fill: var(--mint); font-weight: 400; }
.me__seal-mark { width: 52%; height: 36%; }

.me__body .display { margin-top: 24px; }
.me__lead { margin-top: clamp(24px, 3vw, 36px); font-size: clamp(20px, 1.8vw, 26px); line-height: 1.45; font-weight: 300; color: var(--ink); max-width: 30ch; }
.me__text { display: grid; gap: 18px; margin-top: 28px; color: var(--ink-soft); font-size: 17px; max-width: 52ch; }
.me__sign { width: min(260px, 60%); height: auto; margin: 36px 0 8px -6px; overflow: visible; }
.me__sign path { fill: none; stroke: var(--teal); stroke-width: 6; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 1; }
.me__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; margin-top: 24px; }
.me__place { font-size: 14px; letter-spacing: .04em; color: var(--ink-soft); }

/* Sobre mí: credentials + vocación / experiencia / formación */
.me__more { margin-top: clamp(72px, 9vw, 130px); }
.creds { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line-dark); border-bottom: 1px solid var(--line-dark); }
.creds li { display: flex; flex-direction: column; gap: 10px; padding: clamp(24px, 3vw, 40px) clamp(16px, 2vw, 28px); }
.creds li + li { border-left: 1px solid var(--line-dark); }
.creds li:first-child { padding-left: 0; }
.creds strong { font-family: var(--f-serif); font-style: italic; font-weight: 300; font-size: clamp(40px, 4.4vw, 64px); line-height: 1; letter-spacing: -.02em; color: var(--teal); }
.creds strong b { font-weight: 300; }
.creds span { font-size: 16px; line-height: 1.4; color: var(--ink); }
.creds small { font-size: 14px; color: var(--ink-soft); }

.me__cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(32px, 4vw, 64px); margin-top: clamp(56px, 7vw, 96px); }
.me__col { display: flex; flex-direction: column; gap: 14px; color: var(--ink-soft); font-size: 16.5px; }
.me__col-n { font-family: var(--f-serif); font-style: italic; color: var(--teal); font-size: 18px; }
.me__col h3 { font-size: clamp(26px, 2.2vw, 32px); letter-spacing: -.02em; color: var(--ink); margin-bottom: 4px; }
.me__col em { color: var(--teal); font-size: 1.06em; }
.training { display: flex; flex-direction: column; border-top: 1px solid var(--line-dark); margin: 4px 0; }
.training li { position: relative; padding: 12px 0 12px 26px; border-bottom: 1px solid var(--line-dark); color: var(--ink); font-size: 15.5px; line-height: 1.45; }
.training li::before { content: ""; position: absolute; left: 2px; top: 20px; width: 12px; height: 1.5px; background: var(--teal); }

.btn--dark { --bg: var(--teal-900); --fg: var(--mint); }
.btn--dark::before { background: var(--teal); }

@media (max-width: 900px) {
  .me__grid { grid-template-columns: 1fr; }
  .me__media { max-width: 560px; }
  .me__seal { left: auto; right: 4%; top: 6%; }
  .creds { grid-template-columns: 1fr 1fr; }
  .creds li:nth-child(3) { padding-left: 0; border-left: 0; }
  .creds li:nth-child(n+3) { border-top: 1px solid var(--line-dark); }
  .me__cols { grid-template-columns: 1fr; }
  .more__grid { grid-template-columns: 1fr; }
  .more__head { position: static; }
  .acc__body { padding-right: 0; }
}
@media (prefers-reduced-motion: reduce) {
  [data-clip] { clip-path: none; }
  .me__photo img { transform: none; }
  .me__sign path { stroke-dashoffset: 0; }
}

/* =========================================================
   GALERÍA (galeria.html)
   ========================================================= */
.page-hero {
  position: relative; overflow: hidden; color: var(--mint);
  padding: clamp(150px, 18vw, 220px) 0 clamp(70px, 9vw, 120px);
  background:
    radial-gradient(70% 65% at 82% 22%, rgba(220,239,230,.20) 0%, transparent 62%),
    radial-gradient(60% 60% at 8% 92%, rgba(169,211,196,.16) 0%, transparent 60%),
    linear-gradient(165deg, #5a8b9b 0%, #4a7d8e 45%, #3f7183 100%);
}
.page-hero__mark { position: absolute; right: -8vw; top: 50%; width: min(70vw, 900px); aspect-ratio: 835 / 570; transform: translateY(-45%); color: rgba(220,239,230,.10); pointer-events: none; }
.page-hero__mark svg { width: 100%; height: 100%; }
.page-hero .container { position: relative; }
.page-hero__title { margin-top: 24px; font-size: clamp(52px, 9vw, 140px); line-height: .95; letter-spacing: -.045em; font-weight: 300; }
.page-hero__title em { color: var(--mint-2); letter-spacing: -.015em; }
.page-hero__lead { margin-top: 28px; max-width: 46ch; font-size: clamp(17px, 1.45vw, 20px); color: rgba(220,239,230,.85); }
.page-hero__in { opacity: 0; transform: translateY(28px); animation: rise 1.2s var(--ease) forwards; }
.page-hero__title.page-hero__in { animation-delay: .1s; }
.page-hero__lead.page-hero__in { animation-delay: .25s; }
@keyframes rise { to { opacity: 1; transform: none; } }

.gallery { background: var(--sand); padding-top: clamp(56px, 7vw, 96px); }
.gallery__filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: clamp(32px, 4vw, 56px); }
.chip {
  font: 400 15px var(--f-sans); padding: 10px 20px; border-radius: 999px; cursor: pointer;
  color: var(--ink); background: transparent; border: 0; box-shadow: inset 0 0 0 1px var(--line-dark);
  transition: background .3s, color .3s, box-shadow .3s;
}
.chip:hover { box-shadow: inset 0 0 0 1px var(--teal); }
.chip.is-active { background: var(--teal-900); color: var(--mint); box-shadow: none; }

.gallery__grid { columns: 3 320px; column-gap: clamp(14px, 1.6vw, 24px); }
.g-item { margin: 0 0 clamp(14px, 1.6vw, 24px); break-inside: avoid; transition: opacity .5s var(--ease), transform .5s var(--ease); }
.g-item.is-hidden { display: none; }
.g-item__btn {
  position: relative; display: block; width: 100%; padding: 0; border: 0; cursor: zoom-in;
  border-radius: 22px; overflow: hidden; background: var(--sand-2);
}
.g-item__btn img { display: block; width: 100%; height: auto; transition: transform 1.2s var(--ease); }
.g-item__btn:hover img { transform: scale(1.05); }
.g-item figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 48px 20px 18px; color: var(--mint); text-align: left; font-size: 16px;
  background: linear-gradient(180deg, transparent, rgba(13,39,48,.75));
  opacity: 0; transform: translateY(10px); transition: opacity .5s var(--ease), transform .5s var(--ease);
}
.g-item figcaption i { font-style: normal; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--mint); color: var(--teal-900); font-size: 20px; }
.g-item__btn:hover figcaption, .g-item__btn:focus-visible figcaption { opacity: 1; transform: none; }
@media (hover: none) { .g-item figcaption { opacity: 1; transform: none; } .g-item figcaption i { display: none; } }

.gallery-cta { background: var(--teal-900); padding: clamp(80px, 10vw, 140px) 0; }
.gallery-cta__inner { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 32px; }
.gallery-cta .display { max-width: 14ch; }
.gallery-cta__actions { display: flex; flex-wrap: wrap; gap: 12px; }

.lightbox {
  position: fixed; inset: 0; z-index: 1100; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 12px;
  padding: 24px; background: rgba(10, 31, 38, .94); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  opacity: 0; transition: opacity .35s ease;
}
.lightbox[hidden] { display: none; }
.lightbox.is-open { opacity: 1; }
.lightbox__stage { margin: 0; display: flex; flex-direction: column; align-items: center; gap: 14px; min-width: 0; }
.lightbox__img { max-width: 100%; max-height: calc(100vh - 120px); max-height: calc(100svh - 120px); border-radius: 16px; object-fit: contain; transform: scale(.97); transition: transform .45s var(--ease), opacity .25s; }
.lightbox.is-open .lightbox__img { transform: none; }
.lightbox__img.is-swapping { opacity: 0; }
.lightbox__caption { display: flex; gap: 16px; color: var(--mint); font-size: 15px; }
.lightbox__count { color: rgba(220,239,230,.55); font-variant-numeric: tabular-nums; }
.lightbox__close, .lightbox__nav {
  width: 52px; height: 52px; border-radius: 50%; border: 0; cursor: pointer; display: grid; place-items: center;
  background: rgba(220,239,230,.1); color: var(--mint); transition: background .3s, color .3s;
}
.lightbox__close:hover, .lightbox__nav:hover { background: var(--mint); color: var(--teal-900); }
.lightbox__close svg, .lightbox__nav svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.6; }
.lightbox__close { position: absolute; top: 20px; right: 20px; z-index: 1; }
body.lightbox-open { overflow: hidden; }

@media (max-width: 700px) {
  .gallery__grid { columns: 2 150px; }
  .g-item__btn { border-radius: 16px; }
  .g-item figcaption { opacity: 1; transform: none; padding: 36px 12px 10px; font-size: 13px; line-height: 1.3; background: linear-gradient(180deg, transparent, rgba(13,39,48,.88)); }
  .g-item figcaption i { display: none; }
  .lightbox { grid-template-columns: 1fr; padding: 70px 12px 24px; }
  .lightbox__nav { position: absolute; bottom: 20px; }
  .lightbox__nav--prev { left: calc(50% - 64px); }
  .lightbox__nav--next { right: calc(50% - 64px); }
  .lightbox__img { max-height: calc(100svh - 200px); }
}

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1100px) {
  .nav__links { display: none; }
  .contact__grid { grid-template-columns: 1fr 1fr; }
  .info:nth-child(3) { padding-left: 0; border-left: 0; }
  .info:nth-child(n+3) { border-top: 1px solid var(--line-light); }
}

@media (max-width: 900px) {
  body { font-size: 16px; }
  .nav__cta { display: none; }
  .nav__burger { display: block; }
  .about__grid { grid-template-columns: 1fr; }
  .about__label { flex-direction: row; justify-content: space-between; align-items: center; }
  .about__badge { width: 120px; height: 120px; }
  .about__badge-mark { width: 64px; height: 44px; }
  .about__cols { grid-template-columns: 1fr; gap: 20px; }
  .pillars { grid-template-columns: 1fr; }
  .pillars li, .pillars li + li { padding: 22px 0; border-left: 0; border-bottom: 1px solid var(--line-dark); }

  /* Treatments become a vertical stack */
  .treat__sticky { position: relative; height: auto; padding: 96px 0; }
  .treat__track { flex-direction: column; width: 100%; transform: none !important; }
  .card { width: 100%; height: auto; min-height: 0; }
  .card__photo { position: relative; inset: auto; aspect-ratio: 4 / 5; height: auto; flex: none; }
  .card__photo::after { background: linear-gradient(180deg, rgba(13,39,48,0) 70%, rgba(20,54,66,.7) 92%, #1b4252 100%); }
  .card--photo .card__body { padding-top: 20px; }
  .card--product .card__photo { height: auto; aspect-ratio: 16 / 10; }
  .card--cta { padding-top: 32px; }
  .treat__counter, .treat__bar { display: none; }

  .method__line { display: none; }
  .method__steps ol { grid-template-columns: 1fr 1fr; padding-top: 0; row-gap: 48px; }
  .method__steps li::before { display: none; }

  .areas__list li { flex-direction: column; align-items: flex-start; gap: 6px; }
  .areas__list li i { text-align: left; }

  .hero__mark { right: -30vw; width: 120vw; top: 34%; }
  .hero__bar { flex-wrap: wrap; font-size: 13px; padding-top: 18px; padding-bottom: 18px; }
  .hero__addr { display: none; }
  .hero__bar .status { flex-wrap: wrap; row-gap: 2px; }
  .hero__bar .status__hours { flex-basis: 100%; padding-left: 18px; }
}

@media (max-width: 600px) {
  .nav__word { font-size: 15px; }
  .nav__mark { width: 40px; height: 28px; }
  .hero { padding-top: 120px; }
  .hero__title .line:nth-child(2) { padding-left: 0; }
  .hero__actions { width: 100%; }
  .hero__actions .btn { flex: 1 1 auto; justify-content: center; }
  .method__steps ol { grid-template-columns: 1fr; }
  .contact__grid { grid-template-columns: 1fr; }
  .info, .info + .info { padding: 24px 0; border-left: 0; border-top: 1px solid var(--line-light); }
  .info:first-child { border-top: 0; }
  .footer__top { flex-wrap: wrap; }
  .footer__nav { order: 3; width: 100%; }
  .footer__bottom { flex-direction: column; }
}

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

/* Fraunces italic needs looser tracking than the sans at display sizes */
.hero__title em, .display em, .statement__text em, .marquee__group em { letter-spacing: -.015em; }
.contact__phone { letter-spacing: -.01em; }
