/* latin-ext */
@font-face {
  font-family: 'Instrument Sans';
  font-style: normal;
  font-weight: 400 700;
  font-stretch: 75% 100%;
  font-display: swap;
  src: url(/fonts/instrument-sans-normal-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Instrument Sans';
  font-style: normal;
  font-weight: 400 700;
  font-stretch: 75% 100%;
  font-display: swap;
  src: url(/fonts/instrument-sans-normal-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'Newsreader';
  font-style: italic;
  font-weight: 300 600;
  font-display: swap;
  src: url(/fonts/newsreader-italic-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Newsreader';
  font-style: italic;
  font-weight: 300 600;
  font-display: swap;
  src: url(/fonts/newsreader-italic-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'Newsreader';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url(/fonts/newsreader-normal-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Newsreader';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url(/fonts/newsreader-normal-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Clínica Rivero · entrance (choose a specialty) + the two specialty pages.
   Porcelain-and-forest palette, Newsreader + Instrument Sans. Single look on purpose: light sections with dark stage moments. */
:root {
  --mist: #E1E5DF; --bone: #EDEDE8; --paper: #F8F8F4;
  --ink: #15211C; --ink-2: #56625C; --line: rgba(21, 33, 28, .14);
  --forest: #15302A; --deep: #0F201B; --leaf: #3A7357; --mint: #A8CDB8;
  --serif: "Newsreader", "Iowan Old Style", Georgia, serif;
  --sans: "Instrument Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --g: clamp(16px, 4vw, 56px);
  --gl: max(var(--g), env(safe-area-inset-left, 0px));
  --gr: max(var(--g), env(safe-area-inset-right, 0px));
  --ease: cubic-bezier(.16, 1, .3, 1);
  color-scheme: light;
}
html { background: var(--deep); }
body { margin: 0; background: var(--bone); color: var(--ink); font: 400 16px/1.6 var(--sans); -webkit-font-smoothing: antialiased; }
body[data-view="inicio"] { overflow: hidden; height: 100%; }
img { max-width: 100%; display: block; }
h1, h2, h3, h4 { margin: 0; font-weight: 400; text-wrap: balance; }
p, ul, ol, figure, blockquote, dl, dd { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
em { font-style: italic; }
:focus-visible { outline: 2px solid var(--leaf); outline-offset: 3px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { padding-left: var(--gl); padding-right: var(--gr); }
.kicker { font: 600 12.5px/1 var(--sans); letter-spacing: .08em; text-transform: uppercase; color: var(--leaf); }
.h2 { font: 360 clamp(38px, 5.2vw, 78px)/1 var(--serif); letter-spacing: -.03em; font-variation-settings: "opsz" 72; }
.h2 em { color: var(--leaf); }
.lede { font-size: clamp(16px, 1.25vw, 18.5px); color: var(--ink-2); max-width: 56ch; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 14px 22px; border-radius: 999px; background: var(--forest); color: var(--paper); font: 600 14.5px/1 var(--sans); border: 0; cursor: pointer; transition: transform .4s var(--ease), background .3s; white-space: nowrap; }
.btn:hover { transform: translateY(-2px); }
.btn.light { background: var(--paper); color: var(--forest); }
.btn.ghost { background: transparent; color: inherit; box-shadow: inset 0 0 0 1.3px currentColor; }

/* ---------- top bar ---------- */
.top {
  position: fixed; top: 0; left: 0; right: 0; z-index: 30;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: calc(14px + env(safe-area-inset-top, 0px)) var(--gr) 14px var(--gl); color: var(--paper);
  transition: background .5s, color .5s, transform .6s var(--ease), box-shadow .5s;
}
.brand { display: flex; align-items: center; gap: 10px; flex: none; }
.brand img { filter: brightness(0) invert(1); transition: filter .5s; }
.brand span { font: 420 21px/1 var(--serif); }
.pnav { display: none; gap: 26px; font: 500 14.5px/1 var(--sans); }
.pnav a { opacity: .85; padding: 8px 0; }
.pnav a:hover { opacity: 1; }
.top-r { display: flex; align-items: center; gap: 10px; }
.call, .switch, .book { font: 600 13.5px/1 var(--sans); padding: 11px 16px; border-radius: 999px; white-space: nowrap; }
.call { background: rgba(10, 22, 18, .38); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .35); }
.switch { display: none; box-shadow: inset 0 0 0 1.3px currentColor; }
.switch::after { content: " →"; }
.book { display: none; background: var(--paper); color: var(--forest); }
body:not([data-view="inicio"]) .pnav, body:not([data-view="inicio"]) .switch, body:not([data-view="inicio"]) .book { display: flex; }
body:not([data-view="inicio"]) .call { display: none; }
.top.solid { background: rgba(248, 248, 244, .9); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); color: var(--ink); box-shadow: 0 1px 0 var(--line); }
.top.solid .brand img { filter: none; }
.top.solid .book { background: var(--forest); color: var(--paper); }
.top.hide { transform: translateY(-110%); }
@media (max-width: 1020px) { body:not([data-view="inicio"]) .pnav { display: none; } }
@media (max-width: 560px) { .call, body:not([data-view="inicio"]) .book { display: none; } .brand span { font-size: 19px; } }

/* =========================================================
   ENTRANCE (A2 · Los doctores)
   ========================================================= */
.entrada { position: fixed; inset: 0; z-index: 20; transition: opacity .55s ease; }
.entrada.out { opacity: 0; pointer-events: none; }
.v-e { display: flex; background: #0E1B17; }
.dr { position: relative; flex: 1 1 0; min-width: 0; overflow: hidden; color: var(--paper); transition: flex-grow 1s var(--ease); isolation: isolate; }
.dr-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: var(--bp, 50% 50%); transform: scaleX(-1) scale(1.06); transition: transform 1.8s var(--ease), filter .9s; z-index: 0; }
.dr:first-child .dr-bg { filter: blur(3px) saturate(.75) contrast(.85) brightness(.55); }
.dr + .dr .dr-bg { filter: blur(3px) saturate(.6) contrast(.8) brightness(.6); }
.dr:first-child { background: #12261F; --aura: 255, 244, 226; --dx: 29%; --db: -26%; }
.dr + .dr { --aura: 196, 232, 214; --dx: 71%; }
.dr-glow, .aura {
  position: absolute; left: var(--dx, 50%); top: 0; bottom: 0; width: min(78%, 680px); transform: translateX(-50%); z-index: 1; pointer-events: none; transition: opacity .9s;
  background: radial-gradient(ellipse 50% 36% at 50% var(--ay, 52%), rgba(var(--aura), .62), rgba(var(--aura), .2) 50%, rgba(var(--aura), 0) 100%);
}
.dr-glow::before, .aura::before {
  content: ""; position: absolute; left: -30%; right: -30%; top: 0; bottom: 0;
  background: conic-gradient(from 158deg at 50% -6%, rgba(var(--aura), 0) 0deg, rgba(var(--aura), .3) 15deg, rgba(var(--aura), .4) 22deg, rgba(var(--aura), .3) 29deg, rgba(var(--aura), 0) 44deg);
  -webkit-mask-image: linear-gradient(180deg, #000 0%, rgba(0, 0, 0, .6) 55%, transparent 90%); mask-image: linear-gradient(180deg, #000 0%, rgba(0, 0, 0, .6) 55%, transparent 90%);
}
.dr-word {
  position: absolute; left: 0; right: 0; top: var(--wy, 36%); z-index: 2; text-align: center; white-space: nowrap; pointer-events: none;
  font: 360 100px/.9 var(--serif); letter-spacing: -.04em; font-variation-settings: "opsz" 72; color: var(--paper);
}
.dr-over, .ph-over { z-index: 4; color: transparent !important; -webkit-text-stroke: max(1px, .007em) rgba(248, 248, 244, .6); -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat; }
.dr-doc {
  position: absolute; left: var(--dx, 50%); top: var(--dt, auto); bottom: var(--db, -33%); z-index: 3; height: var(--dh, 116%); width: auto; max-width: none;
  transform: translateX(-50%) scale(var(--ds, 1)); transform-origin: 50% 100%; transition: transform 1.1s var(--ease), filter .9s;
  filter: drop-shadow(0 30px 40px rgba(6, 14, 11, .45));
}
.dr::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 40%; z-index: 4; pointer-events: none; background: linear-gradient(180deg, rgba(14, 30, 25, 0) 0%, rgba(14, 30, 25, .8) 60%, rgba(14, 30, 25, .95) 100%); }
.dr + .dr::after { background: linear-gradient(180deg, rgba(16, 36, 30, 0) 0%, rgba(16, 36, 30, .85) 55%, rgba(16, 36, 30, .97) 100%); }
.dr-txt { position: absolute; bottom: 0; z-index: 5; width: 44%; box-sizing: border-box; padding-bottom: calc(clamp(56px, 9vh, 96px) + env(safe-area-inset-bottom, 0px)); transition: opacity .4s; }
.dr:first-child .dr-txt { right: 0; text-align: right; padding-right: clamp(28px, 3.4vw, 56px); }
.dr + .dr .dr-txt { left: 0; text-align: left; padding-left: clamp(28px, 3.4vw, 56px); }
.dr-who { font-size: 15px; }
.dr-who b { font-weight: 600; }
.dr-who i { font-style: normal; }
.dr-tag { font: italic 360 clamp(20px, 1.9vw, 28px)/1.2 var(--serif); margin-top: 6px; text-wrap: balance; }
.enter { display: inline-flex; white-space: nowrap; margin-top: 18px; padding: 13px 22px; border-radius: 999px; background: var(--paper); color: var(--forest); font: 600 14.5px/1 var(--sans); }
.dr::before { content: ""; position: absolute; top: 0; bottom: 0; right: 0; width: 1px; z-index: 6; background: rgba(255, 255, 255, .28); }
.dr + .dr::before { display: none; }
.seam { position: absolute; left: 50%; top: calc(72px + env(safe-area-inset-top, 0px)); transform: translateX(-50%); z-index: 8; text-align: center; color: var(--paper); pointer-events: none; padding: 10px 18px 12px; border-radius: 999px; background: rgba(12, 24, 20, .5); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); transition: opacity .4s; }
.seam img { width: 34px; margin: 0 auto 4px; filter: brightness(0) invert(1); opacity: .9; }
.seam p { font: italic 360 17px/1 var(--serif); white-space: nowrap; }
/* chosen half opens to the full screen before the page takes over */
.v-e.go .dr-txt, .v-e.go .seam { opacity: 0; }
.v-e.go .dr.chosen { flex-grow: 60; }
@media (hover: hover) and (min-width: 761px) {
  .v-e:not(.go) .dr:hover { flex-grow: 1.45; }
  .dr:hover .dr-bg { transform: scaleX(-1) scale(1.02); }
  .dr:hover .dr-doc { --ds: 1.03; }
  .v-e:not(.go):has(.dr:hover) .dr:not(:hover) .dr-bg { filter: blur(3px) grayscale(.8) contrast(.75) brightness(.5); }
  .v-e:not(.go):has(.dr:hover) .dr:not(:hover) .dr-doc { filter: grayscale(.5) drop-shadow(0 30px 40px rgba(6, 14, 11, .45)); }
  .v-e:not(.go):has(.dr:hover) .dr:not(:hover) .dr-glow { opacity: .4; }
}
@media (min-width: 761px) and (max-height: 600px) { .dr-tag { display: none; } .dr-txt { padding-bottom: calc(40px + env(safe-area-inset-bottom, 0px)); } .enter { margin-top: 12px; } }
@media (max-width: 760px) {
  .v-e { flex-direction: column; }
  .v-e.go .dr.chosen { flex-grow: 1; }
  .dr { --wy: 16px; --dt: 88px; --db: auto; --dh: 132%; }
  .dr:first-child { --wy: calc(62px + env(safe-area-inset-top, 0px)); --dt: calc(134px + env(safe-area-inset-top, 0px)); --dh: 142%; --dx: 27%; --bp: 30% 40%; }
  .dr + .dr { --dx: 73%; --bp: 35% 60%; }
  .dr-doc { transform-origin: 50% 0; }
  .dr-glow { width: 82%; --ay: 62%; }
  .dr::after { height: 42%; }
  .dr-txt { width: 50%; padding-bottom: 18px; }
  .dr:first-child .dr-txt { padding-right: var(--gr); }
  .dr + .dr .dr-txt { padding-left: var(--gl); padding-bottom: calc(22px + env(safe-area-inset-bottom, 0px)); }
  .dr-who { font-size: 13.5px; line-height: 1.35; }
  .dr-who b { display: block; }
  .dr-who i { display: none; }
  .dr-tag { font-size: 19px; }
  .enter { margin-top: 12px; padding: 11px 18px; font-size: 13.5px; }
  .enter .lg { display: none; }
  .dr::before { top: auto; left: 0; width: auto; height: 1px; }
  .seam { display: none; }
}

/* =========================================================
   SPECIALTY PAGE
   ========================================================= */
.pg { animation: pgIn .7s ease both; }
@keyframes pgIn { from { opacity: 0; } to { opacity: 1; } }
.pg section { position: relative; }
.pg[data-area="odontologia"] { --aura: 255, 244, 226; --dx: 27%; --side: right; }
.pg[data-area="podologia"] { --aura: 196, 232, 214; --dx: 73%; --side: left; }

/* 1 · page hero: the same stage as the entrance half, now full screen */
.ph { height: 100vh; height: 100svh; min-height: 600px; overflow: hidden; background: #12261F; color: var(--paper); isolation: isolate; }
.ph-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scaleX(-1) scale(1.06); filter: blur(3px) saturate(.75) contrast(.85) brightness(.55); z-index: 0; }
.pg[data-area="podologia"] .ph-bg { filter: blur(3px) saturate(.6) contrast(.8) brightness(.6); }
.ph .aura { width: min(56%, 820px); }
.ph-word { position: absolute; left: 0; right: 0; top: 39%; z-index: 2; text-align: center; white-space: nowrap; pointer-events: none; font: 360 100px/.9 var(--serif); letter-spacing: -.04em; font-variation-settings: "opsz" 72; color: var(--paper); will-change: transform; }
.ph-doc { position: absolute; left: var(--dx); bottom: -30%; z-index: 3; height: 118%; width: auto; max-width: none; transform: translateX(-50%); transform-origin: 50% 100%; filter: drop-shadow(0 30px 40px rgba(6, 14, 11, .45)); will-change: transform; }
.ph::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 46%; z-index: 4; pointer-events: none; background: linear-gradient(180deg, rgba(14, 30, 25, 0) 0%, rgba(14, 30, 25, .82) 58%, rgba(14, 30, 25, .97) 100%); }
.ph-copy { position: absolute; bottom: 0; z-index: 5; width: min(44%, 600px); box-sizing: border-box; padding-bottom: clamp(40px, 8vh, 88px); }
.pg[data-area="odontologia"] .ph-copy { right: var(--gr); }
.pg[data-area="podologia"] .ph-copy { left: var(--gl); }
.ph-copy .kicker { color: var(--mint); }
.ph h1 { font: italic 360 clamp(34px, 3.6vw, 58px)/1.02 var(--serif); letter-spacing: -.02em; margin-top: 14px; }
.ph-lede { margin-top: 14px; font-size: clamp(15.5px, 1.15vw, 17.5px); color: rgba(248, 248, 244, .82); max-width: 46ch; }
.ph-ctas { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.ph-facts { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 22px; font-size: 13.5px; color: rgba(248, 248, 244, .7); }
.ph-facts b { color: var(--paper); font-weight: 600; }

/* 2 · intro: the doctor's own words, then the real room opens from an arch to the full width */
.pi { background: var(--bone); padding: clamp(80px, 12vw, 170px) 0 clamp(60px, 8vw, 110px); }
.pi-head { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 90px); align-items: end; }
.pi-head .h2 { margin-top: 16px; }
.pi-bio p { color: var(--ink-2); font-size: clamp(16px, 1.2vw, 18px); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.chips li { padding: 9px 14px; border-radius: 999px; background: var(--paper); box-shadow: inset 0 0 0 1px var(--line); font-size: 14px; font-weight: 500; }
.pi-fig { margin-top: clamp(50px, 7vw, 100px); }
.pi-frame { height: min(86vh, 56.25vw); min-height: 300px; overflow: hidden; clip-path: inset(0 var(--ix, 18%) 0 var(--ix, 18%) round var(--ir, 400px) var(--ir, 400px) 24px 24px); will-change: clip-path; }
.pi-frame img { width: 100%; height: 100%; object-fit: cover; transform: scale(var(--is, 1.12)); }
.pi-fig figcaption { margin-top: 14px; font-size: 13.5px; color: var(--ink-2); }

/* 3 · treatments: an arch on the left shows the treatment nearest the middle of the screen */
.pt { background: var(--paper); padding: clamp(80px, 10vw, 150px) 0; }
.pt-head { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 90px); align-items: end; margin-bottom: clamp(40px, 6vw, 80px); }
.pt-head .h2 { margin-top: 16px; }
.pt-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1fr); gap: clamp(28px, 6vw, 110px); align-items: start; }
.pt-arch { position: sticky; top: 14vh; }
.arch { position: relative; aspect-ratio: 4 / 5; max-height: 72vh; border-radius: 999px 999px 22px 22px; overflow: hidden; background: var(--mist); }
.arch img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.06); transition: opacity .7s ease, transform 1.4s var(--ease); }
.arch img.on { opacity: 1; transform: none; }
.arch-cap { margin-top: 14px; font-size: 14px; color: var(--ink-2); min-height: 1.6em; }
.rows li { padding: clamp(26px, 3.4vw, 44px) 0; border-top: 1px solid var(--line); opacity: .4; transition: opacity .5s; }
.rows li:last-child { border-bottom: 1px solid var(--line); }
.rows li.on { opacity: 1; }
.rows .thumb { display: none; }
.rows h3 { font: 380 clamp(28px, 2.6vw, 40px)/1.05 var(--serif); letter-spacing: -.02em; }
.rows p { margin-top: 12px; color: var(--ink-2); max-width: 52ch; }
.ask { display: inline-flex; margin-top: 16px; font: 600 14px/1 var(--sans); color: var(--leaf); padding-bottom: 4px; box-shadow: inset 0 -1.3px 0 currentColor; }

/* 4 · team: everyone rises from behind the counter as the section arrives */
.pe { background: var(--mist); padding: clamp(80px, 10vw, 150px) 0 0; overflow: hidden; }
.pe-head { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 90px); align-items: end; }
.pe-head .h2 { margin-top: 16px; }
.pe-info { min-height: 190px; margin-top: clamp(36px, 5vw, 64px); max-width: 760px; }
.pe-info .t-role { font: 600 13px/1 var(--sans); letter-spacing: .06em; text-transform: uppercase; color: var(--leaf); }
.pe-info .t-name { font: 380 clamp(26px, 2.6vw, 38px)/1.1 var(--serif); margin-top: 10px; }
.pe-info .t-quote { margin-top: 10px; color: var(--ink-2); font: italic 360 clamp(17px, 1.3vw, 20px)/1.45 var(--serif); }
.pe-info .swap { animation: swap .6s var(--ease) both; }
@keyframes swap { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.lineup { position: relative; margin-top: 24px; padding: 0 var(--gr) 0 var(--gl); }
.track { position: relative; display: flex; justify-content: center; align-items: flex-end; }
.lineup button { position: relative; flex: 0 1 auto; margin: 0 -1.2vw; padding: 0; border: 0; background: none; cursor: pointer; transform: translateY(75%); transition: transform 1.1s var(--ease) var(--d, 0ms), filter .5s, opacity .5s; }
.pe.up .lineup button { transform: none; }
.t-count { display: none; }
.lineup button img { height: min(420px, calc((100vw - 120px) / 4.4)); width: auto; max-width: none; transition: transform .6s var(--ease); transform-origin: 50% 100%; }
.lineup button:not(.on) { filter: grayscale(.85) brightness(.92); opacity: .82; }
.lineup button.on { z-index: 2; }
.lineup button.on img { transform: scale(1.04); }
.lineup button:hover { filter: none; opacity: 1; }
.counter { position: relative; z-index: 3; height: clamp(70px, 9vw, 120px); background: var(--forest); display: grid; place-items: center; box-shadow: 0 -1px 0 rgba(255, 255, 255, .4) inset; }
.counter::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 10px; background: linear-gradient(180deg, #FFFFFF, #DDE3DD); }
.counter img { width: 46px; filter: brightness(0) invert(1); opacity: .85; margin-top: 8px; }
.pe-nav { display: none; }

/* 7b · La Palma: the island model tilts in out of the dark and the pin lands on Santa Cruz */
.pl { height: 230vh; background: var(--deep); color: var(--paper); --aura: 214, 236, 224; --dx: 50%; }
.pl-stage { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; isolation: isolate; }
.pl .aura { width: min(70%, 900px); --ay: 50%; }
.pl-word { position: absolute; left: 0; right: 0; top: 50%; z-index: 1; margin: 0; text-align: center; white-space: nowrap; pointer-events: none; font: 360 100px/.9 var(--serif); letter-spacing: -.04em; font-variation-settings: "opsz" 72; color: rgba(168, 205, 184, .32); transform: translateY(-50%); }
.pl-over { z-index: 4; color: transparent; -webkit-text-stroke: max(1px, .006em) rgba(21, 48, 42, .55); -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat; opacity: 0; }
.pl-isle { position: absolute; left: 50%; top: 50%; z-index: 3; height: min(76vh, 760px); aspect-ratio: 685 / 1084; margin: calc(min(76vh, 760px) / -2) 0 0 calc(min(76vh, 760px) * 685 / 1084 / -2); transform-origin: 50% 60%; will-change: transform; opacity: 0; }
.pl-isle img { width: 100%; height: 100%; filter: drop-shadow(0 26px 30px rgba(0, 0, 0, .45)); }
.pl-shadow { position: absolute; left: 50%; top: 50%; z-index: 2; width: min(46vh, 460px); height: 70px; margin-top: calc(min(76vh, 760px) / 2 - 30px); border-radius: 50%; background: radial-gradient(closest-side, rgba(0, 0, 0, .55), rgba(0, 0, 0, 0)); transform: translateX(-50%); }
.pl-pin { position: absolute; left: 80%; top: 44%; width: 0; height: 0; }
.pl-pin i { position: absolute; left: -9px; top: -9px; width: 18px; height: 18px; border-radius: 50%; background: var(--leaf); box-shadow: 0 0 0 3px var(--paper), 0 6px 14px rgba(0, 0, 0, .35); opacity: 0; transform: translateY(-90px) scale(.6); transition: transform .7s cubic-bezier(.3, 1.6, .5, 1), opacity .3s; }
.pl-pin i::after { content: ""; position: absolute; inset: -3px; border-radius: 50%; border: 2px solid var(--paper); opacity: 0; }
.pl-tag { position: absolute; left: 22px; bottom: 16px; display: grid; gap: 2px; padding: 10px 14px 11px; border-radius: 14px; background: var(--paper); color: var(--ink); white-space: nowrap; box-shadow: 0 14px 30px rgba(0, 0, 0, .3); opacity: 0; transform: translateY(10px); transition: opacity .5s .35s, transform .7s var(--ease) .35s; }
.pl-tag b { font: italic 420 19px/1.1 var(--serif); }
.pl-tag small { font-size: 12.5px; color: var(--ink-2); }
.pl.landed .pl-pin i { opacity: 1; transform: none; }
.pl.landed .pl-pin i::after { animation: ripple 1.8s ease-out .5s infinite; }
.pl.landed .pl-tag { opacity: 1; transform: none; }
@keyframes ripple { from { opacity: .9; transform: scale(1); } to { opacity: 0; transform: scale(3.4); } }
.pl-cap { position: absolute; left: var(--gl); right: var(--gr); bottom: calc(34px + env(safe-area-inset-bottom, 0px)); z-index: 5; text-align: center; font-size: 15px; color: rgba(248, 248, 244, .78); opacity: 0; }

/* 5 · why us + the real clinic sliding past with the scroll */
.pw { background: var(--forest); color: var(--paper); padding: clamp(80px, 10vw, 150px) 0 clamp(60px, 8vw, 110px); overflow: hidden; }
.pw .kicker { color: var(--mint); }
.pw .h2 { margin-top: 16px; max-width: 16ch; }
.pw .h2 em { color: var(--mint); }
.pw .lede { color: rgba(248, 248, 244, .75); margin-top: 18px; }
.reasons { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(20px, 3vw, 44px); margin-top: clamp(40px, 6vw, 80px); }
.reasons li { position: relative; padding: 26px 24px 28px; border-radius: 22px; background: linear-gradient(160deg, rgba(255, 255, 255, .1), rgba(255, 255, 255, .025) 60%); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .16), inset 0 0 0 1px rgba(255, 255, 255, .07), 0 24px 44px -24px rgba(0, 0, 0, .55); transition: transform .5s var(--ease), box-shadow .5s; }
.reasons li::before { content: ""; display: block; width: 34px; height: 3px; border-radius: 2px; background: var(--mint); margin-bottom: 20px; }
.reasons li:hover { transform: translateY(-4px); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .2), inset 0 0 0 1px rgba(255, 255, 255, .1), 0 30px 54px -24px rgba(0, 0, 0, .65); }
.reasons h3 { font: 380 clamp(22px, 1.8vw, 27px)/1.15 var(--serif); }
.reasons p { margin-top: 10px; color: rgba(248, 248, 244, .72); font-size: 15px; }
.strip-w { margin-top: clamp(50px, 7vw, 100px); padding-block: 6px 30px; }
.strip { display: flex; gap: clamp(12px, 1.6vw, 24px); width: max-content; will-change: transform; touch-action: pan-y; cursor: grab; user-select: none; -webkit-user-select: none; }
.strip:active { cursor: grabbing; }
.strip figure { flex: none; width: clamp(260px, 32vw, 520px); }
.strip figure.tall { width: clamp(180px, 20vw, 330px); }
.strip .ph2 { aspect-ratio: 3 / 2; overflow: hidden; border-radius: 20px; box-shadow: 0 0 0 1px rgba(255, 255, 255, .08), 0 26px 46px -22px rgba(0, 0, 0, .6); }
.strip figure.tall .ph2 { aspect-ratio: 2 / 3; }
.strip img { width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.strip figcaption { margin-top: 10px; font-size: 13.5px; color: rgba(248, 248, 244, .7); }
.strip { align-items: flex-end; }

/* 6 · reviews */
.po { background: var(--bone); padding: clamp(90px, 12vw, 170px) 0 clamp(70px, 9vw, 120px); overflow: hidden; }
.statement { font: 360 clamp(40px, 6.6vw, 104px)/1 var(--serif); letter-spacing: -.035em; max-width: 14ch; }
.statement em { color: var(--leaf); }
.statement .w { transition: opacity .2s; }
.score { display: flex; gap: clamp(20px, 3vw, 44px); align-items: center; flex-wrap: wrap; margin-top: clamp(36px, 5vw, 60px); padding: clamp(22px, 2.6vw, 34px) clamp(22px, 3vw, 40px); border-radius: 26px; width: fit-content; max-width: 100%; box-sizing: border-box;
  background: linear-gradient(180deg, #FFFFFF, #FAFAF7); border: 1px solid rgba(21, 33, 28, .07);
  box-shadow: inset 0 1px 0 #FFFFFF, 0 1px 2px rgba(21, 33, 28, .06), 0 14px 30px -10px rgba(21, 48, 42, .16), 0 40px 70px -40px rgba(21, 48, 42, .35); }
.score-num { display: grid; justify-items: start; gap: 8px; }
.score .big { font: 360 clamp(64px, 7vw, 100px)/.85 var(--serif); letter-spacing: -.03em; color: var(--ink); }
.stars, .rv-st { display: flex; gap: 3px; }
.stars i, .rv-st i { width: 20px; height: 20px; background: linear-gradient(180deg, #FFD34D, #F5B301); clip-path: polygon(50% 0, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%); }
.score-src { font-size: 13.5px; font-weight: 600; color: var(--ink-2); }
.score > div:last-child { max-width: 40ch; }
.score p { color: var(--ink-2); }
.score .link { display: inline-flex; margin-top: 12px; font-weight: 600; color: var(--leaf); box-shadow: inset 0 -1.3px 0 currentColor; padding-bottom: 3px; }
.rv-rows { display: grid; gap: 18px; margin-top: clamp(40px, 6vw, 70px); padding-block: 6px 40px; }
.rv-row { display: flex; align-items: flex-start; gap: 18px; width: max-content; will-change: transform; touch-action: pan-y; user-select: none; -webkit-user-select: none; }
.rv { position: relative; width: clamp(290px, 27vw, 390px); flex: none; display: flex; flex-direction: column; gap: 14px; padding: 22px 22px 24px; border-radius: 22px; box-sizing: border-box;
  background: linear-gradient(180deg, #FFFFFF, #FBFBF8); border: 1px solid rgba(21, 33, 28, .07);
  box-shadow: inset 0 1px 0 #FFFFFF, 0 1px 2px rgba(21, 33, 28, .06), 0 10px 22px -8px rgba(21, 48, 42, .14), 0 30px 54px -30px rgba(21, 48, 42, .32); }
.rv::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; background: linear-gradient(135deg, rgba(255, 255, 255, .95), rgba(255, 255, 255, 0) 38%); opacity: .55; }
.rv-top { display: flex; align-items: flex-start; gap: 12px; }
.av { flex: none; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; color: #FFFFFF; font: 600 17px/1 var(--sans); box-shadow: inset 0 -2px 0 rgba(0, 0, 0, .12); }
.rv-who { min-width: 0; display: grid; gap: 2px; }
.rv-who b { font: 600 15px/1.25 var(--sans); color: var(--ink); }
.rv-who small { font-size: 12.5px; color: var(--ink-2); }
.rv-area { margin-left: auto; flex: none; padding: 5px 10px; border-radius: 999px; font: 600 11.5px/1 var(--sans); letter-spacing: .02em; color: var(--leaf); background: rgba(58, 115, 87, .1); }
.rv-st i { width: 17px; height: 17px; }
.rv-tx { font-size: 15.5px; line-height: 1.55; color: var(--ink); }

/* 7 · FAQ */
.pf { background: var(--paper); padding: clamp(80px, 10vw, 150px) 0; }
.pf-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(28px, 6vw, 110px); align-items: start; }
.pf .h2 { margin-top: 16px; }
.pf .lede { margin-top: 18px; }
.qa { display: grid; gap: 12px; }
.qa details { border-radius: 20px; padding: 0 clamp(18px, 2vw, 26px); background: #FFFFFF; border: 1px solid rgba(21, 33, 28, .07); box-shadow: 0 1px 2px rgba(21, 33, 28, .05), 0 12px 26px -16px rgba(21, 48, 42, .22); transition: box-shadow .4s; }
.qa details[open] { box-shadow: 0 1px 2px rgba(21, 33, 28, .05), 0 22px 40px -20px rgba(21, 48, 42, .32); }
.qa summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 20px 0; font: 380 clamp(19px, 1.6vw, 24px)/1.25 var(--serif); }
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after { content: "+"; flex: none; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: rgba(58, 115, 87, .1); font: 400 22px/1 var(--sans); color: var(--leaf); transition: transform .4s var(--ease), background .3s, color .3s; }
.qa details[open] summary::after { background: var(--forest); color: var(--paper); }
.qa details[open] summary::after { transform: rotate(45deg); }
.qa details p { padding: 0 0 22px; color: var(--ink-2); max-width: 62ch; }

/* 8 · contact + appointment */
.pc { background: var(--deep); color: var(--paper); padding: clamp(80px, 10vw, 150px) 0; }
.pc-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(36px, 6vw, 110px); align-items: start; }
.pc .kicker { color: var(--mint); }
.pc .h2 { margin-top: 16px; }
.pc .h2 em { color: var(--mint); }
.pc .lede { color: rgba(248, 248, 244, .75); margin-top: 18px; }
.status { display: inline-flex; align-items: center; gap: 10px; margin-top: 26px; font-size: 14.5px; font-weight: 500; padding: 10px 16px; border-radius: 999px; background: rgba(248, 248, 244, .08); }
.status::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #C9A35A; }
.status.open::before { background: #7FD19B; }
.facts { display: grid; gap: 20px; margin-top: 30px; }
.facts dt { font: 600 12.5px/1 var(--sans); letter-spacing: .08em; text-transform: uppercase; color: var(--mint); }
.facts dd { margin-top: 8px; font-size: 16.5px; line-height: 1.55; }
.llegar { margin-top: 26px; display: grid; gap: 8px; color: rgba(248, 248, 244, .75); font-size: 15px; }
.llegar li { padding-left: 18px; position: relative; }
.llegar li::before { content: ""; position: absolute; left: 0; top: .7em; width: 8px; height: 1px; background: var(--mint); }
.pc .ctas { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.form { background: var(--paper); color: var(--ink); border-radius: 24px; padding: clamp(22px, 3vw, 40px); display: grid; gap: 16px; }
.form h3 { font: 380 clamp(26px, 2.3vw, 34px)/1.1 var(--serif); }
.form .f2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form label { display: grid; gap: 6px; font-size: 13.5px; font-weight: 600; }
.form label b, .form legend b { color: var(--leaf); }
.form input:not([type="radio"]):not([type="checkbox"]), .form textarea { font: 400 16px/1.4 var(--sans); padding: 12px 14px; border-radius: 12px; border: 1px solid var(--line); background: #FFFFFF; color: var(--ink); width: 100%; box-sizing: border-box; }
.form .bad { border-color: #B4483C !important; }
.seg { border: 0; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.seg legend { font-size: 13.5px; font-weight: 600; margin-bottom: 8px; padding: 0; }
.seg label { display: inline-flex; }
.seg input { position: absolute; opacity: 0; pointer-events: none; }
.seg span { padding: 10px 14px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--line); font-weight: 500; cursor: pointer; }
.seg input:checked + span { background: var(--forest); color: var(--paper); box-shadow: none; }
.seg input:focus-visible + span { outline: 2px solid var(--leaf); outline-offset: 2px; }
.seg.bad span { box-shadow: inset 0 0 0 1px #B4483C; }
.form .check { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; color: var(--ink-2); }
.form .check input { margin-top: 3px; accent-color: var(--forest); }
.form .check a { text-decoration: underline; }
.err { color: #B4483C; font-size: 14px; font-weight: 500; }
.small { font-size: 13px; color: var(--ink-2); }
.form .btn { justify-self: start; }

/* 9 · the other specialty */
.px { position: relative; display: block; height: min(80vh, 720px); min-height: 460px; overflow: hidden; background: #12261F; color: var(--paper); isolation: isolate; }
.px-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scaleX(-1) scale(1.06); filter: blur(4px) saturate(.6) brightness(.45); transition: transform 1.6s var(--ease), filter .8s; }
.px:hover .px-bg { transform: scaleX(-1) scale(1.02); filter: blur(3px) saturate(.7) brightness(.55); }
.px-doc { position: absolute; bottom: -40%; height: 120%; width: auto; max-width: none; left: var(--px, 72%); transform: translateX(-50%); z-index: 2; transition: transform 1.2s var(--ease); filter: drop-shadow(0 30px 40px rgba(6, 14, 11, .45)); }
.px:hover .px-doc { transform: translateX(-50%) translateY(-3%); }
.px .aura { --dx: var(--px, 72%); z-index: 1; }
.px-txt { position: absolute; top: 50%; transform: translateY(-50%); z-index: 3; width: min(50%, 640px); }
.px-txt .kicker { color: var(--mint); }
.px-txt h2 { font: 360 clamp(46px, 7vw, 116px)/.95 var(--serif); letter-spacing: -.035em; margin-top: 14px; }
.px-txt p { margin-top: 14px; font: italic 360 clamp(20px, 1.8vw, 26px)/1.3 var(--serif); color: rgba(248, 248, 244, .85); }
.px-txt .enter { margin-top: 24px; }
.pg[data-area="odontologia"] .px { --px: 72%; --aura: 196, 232, 214; }
.pg[data-area="odontologia"] .px-txt { left: var(--gl); }
.pg[data-area="podologia"] .px { --px: 28%; --aura: 255, 244, 226; }
.pg[data-area="podologia"] .px-txt { right: var(--gr); text-align: right; }

/* footer */
.foot { background: var(--deep); color: var(--paper); padding: clamp(60px, 8vw, 110px) 0 calc(30px + env(safe-area-inset-bottom, 0px)); }
.foot-word { font: 360 clamp(36px, 5vw, 76px)/1 var(--serif); letter-spacing: -.03em; }
.foot-word em { color: var(--mint); }
.foot-cols { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; margin-top: clamp(40px, 6vw, 70px); font-size: 14.5px; line-height: 1.7; color: rgba(248, 248, 244, .75); }
.foot-cols b { color: var(--paper); font-weight: 600; }
.foot-cols a:hover { color: var(--paper); }
.foot-small { margin-top: 40px; font-size: 13px; color: rgba(248, 248, 244, .5); }

/* floating appointment button on phones */
.fab { position: fixed; right: max(16px, env(safe-area-inset-right, 0px)); bottom: calc(16px + env(safe-area-inset-bottom, 0px)); z-index: 25; padding: 15px 22px; border-radius: 999px; background: var(--forest); color: var(--paper); font: 600 15px/1 var(--sans); box-shadow: 0 12px 30px rgba(10, 22, 18, .3); opacity: 0; transform: translateY(20px); pointer-events: none; transition: opacity .4s, transform .5s var(--ease); }
.fab.show { opacity: 1; transform: none; pointer-events: auto; }
@media (min-width: 761px) { .fab { display: none; } }
/* WhatsApp bubble: always there on a specialty page, bottom right */
.wa { position: fixed; right: max(18px, env(safe-area-inset-right, 0px)); bottom: calc(18px + env(safe-area-inset-bottom, 0px)); z-index: 26; width: 60px; height: 60px; border-radius: 50%; display: grid; place-items: center;
  background: radial-gradient(circle at 30% 25%, #4BE07F, #25D366 55%, #1EB457); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .35), 0 10px 24px -6px rgba(18, 140, 70, .55), 0 2px 6px rgba(0, 0, 0, .18);
  transition: transform .4s var(--ease), box-shadow .4s; animation: waIn .7s var(--ease) .6s both; }
.wa svg { width: 32px; height: 32px; }
.wa-b { fill: none; stroke: #FFFFFF; stroke-width: 2.2; stroke-linejoin: round; }
.wa-p { fill: #FFFFFF; }
.wa:hover { transform: translateY(-3px) scale(1.04); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .35), 0 16px 30px -8px rgba(18, 140, 70, .6), 0 2px 6px rgba(0, 0, 0, .18); }
.wa-tip { position: absolute; right: 72px; top: 50%; padding: 10px 14px; border-radius: 14px 14px 4px 14px; background: #FFFFFF; color: var(--ink); font: 600 14px/1 var(--sans); white-space: nowrap; box-shadow: 0 10px 26px -8px rgba(21, 48, 42, .35); opacity: 0; transform: translate(8px, -50%); pointer-events: none; animation: waTip 5s ease 2.2s both; }
.wa:hover .wa-tip { opacity: 1; transform: translate(0, -50%); animation: none; transition: opacity .3s, transform .3s; }
@keyframes waIn { from { opacity: 0; transform: scale(.6) translateY(20px); } to { opacity: 1; transform: none; } }
@keyframes waTip { 0% { opacity: 0; transform: translate(8px, -50%); } 10%, 80% { opacity: 1; transform: translate(0, -50%); } 100% { opacity: 0; transform: translate(8px, -50%); } }
body[data-view="inicio"] .wa { display: none; }
@keyframes waTipUp { 0% { opacity: 0; transform: translateY(8px); } 10%, 80% { opacity: 1; transform: none; } 100% { opacity: 0; transform: translateY(8px); } }
@media (max-width: 760px) {
  .wa { width: 56px; height: 56px; right: max(16px, env(safe-area-inset-right, 0px)); bottom: calc(16px + env(safe-area-inset-bottom, 0px)); }
  .wa-tip { right: 0; top: auto; bottom: 68px; border-radius: 14px 14px 4px 14px; transform: translateY(8px); animation-name: waTipUp; }
  .wa:hover .wa-tip { transform: none; }
  .fab { right: calc(max(16px, env(safe-area-inset-right, 0px)) + 66px); bottom: calc(20px + env(safe-area-inset-bottom, 0px)); padding: 14px 20px; box-shadow: 0 0 0 1.5px rgba(248, 248, 244, .55), 0 10px 24px -8px rgba(0, 0, 0, .4); }
}

/* ---------- phones ---------- */
@media (max-width: 860px) {
  .pi-head, .pt-head, .pe-head, .pf-grid, .pc-grid { grid-template-columns: 1fr; }
  .reasons { grid-template-columns: 1fr 1fr; }
  .foot-cols { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .ph { min-height: 560px; }
  .ph-word { top: calc(70px + env(safe-area-inset-top, 0px)); }
  .ph-doc { top: calc(150px + env(safe-area-inset-top, 0px)); bottom: auto; height: 104%; transform-origin: 50% 0; }
  .pg[data-area="odontologia"] { --dx: 30%; }
  .pg[data-area="podologia"] { --dx: 70%; }
  .ph .aura { width: 90%; --ay: 45%; }
  .ph::after { height: 62%; }
  .ph-copy { left: var(--gl) !important; right: var(--gr) !important; width: auto; text-align: left; padding-bottom: calc(28px + env(safe-area-inset-bottom, 0px)); }
  .ph h1 { font-size: 36px; }
  .ph-copy .kicker, .ph-lede, .ph-facts { display: none; }
  .ph-ctas { flex-wrap: nowrap; margin-top: 18px; }
  .ph-ctas .lg { display: none; }
  .ph::after { height: 44%; }
  .pi-frame { height: 62vw; min-height: 240px; }
  .pt-grid { grid-template-columns: 1fr; }
  .pt-arch { display: none; }
  .rows li { opacity: 1; }
  .rows .thumb { display: block; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 30%; border-radius: 40% 40% 16px 16px / 16% 16% 16px 16px; margin-bottom: 20px; }
  /* team carousel: a loop, the person in the middle in colour, neighbours faded at both sides; name right under the person */
  .pe { display: flex; flex-direction: column; }
  .pe > .wrap { display: contents; }
  .pe-head { padding: 0 var(--gr) 0 var(--gl); }
  .lineup { order: 1; position: relative; height: 350px; padding: 0; overflow: hidden; margin-top: 18px; touch-action: pan-y; }
  .track { position: absolute; inset: 0; transition: transform 1s var(--ease); }
  .pe:not(.up) .track { transform: translateY(80%); }
  .lineup button { position: absolute; left: 50%; bottom: 0; margin: 0; transition: transform .7s var(--ease), opacity .5s, filter .5s; }
  .lineup button img { height: 300px; }
  .lineup button:not(.on) { opacity: .4; filter: grayscale(1); }
  .lineup button:not(.on) img { transform: scale(.8); }
  .lineup button.on img { transform: none; }
  .lineup button:hover { opacity: .4; }
  .lineup button.on:hover { opacity: 1; }
  .counter { display: none; }
  .pe-info { order: 2; position: relative; z-index: 3; margin: 0; max-width: none; min-height: 290px; padding: 26px var(--gr) 44px var(--gl); background: var(--forest); color: var(--paper); text-align: center; display: grid; grid-template-columns: 46px minmax(0, 1fr) 46px; gap: 8px 10px; align-items: center; align-content: start; }
  .pe-info::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 8px; background: linear-gradient(180deg, #FFFFFF, #DDE3DD); }
  .t-plate { min-width: 0; }
  .pe-info .t-name { margin-top: 8px; font-size: 27px; }
  .pe-info .t-role { color: var(--mint); }
  .pe-info .t-quote { grid-column: 1 / -1; margin-top: 12px; color: rgba(248, 248, 244, .8); }
  .t-count { grid-column: 1 / -1; display: block; margin-top: 8px; font-size: 13px; letter-spacing: .08em; color: rgba(248, 248, 244, .55); font-variant-numeric: tabular-nums; }
  .pe-nav { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; border: 0; background: rgba(248, 248, 244, .1); color: var(--paper); cursor: pointer; box-shadow: inset 0 0 0 1px rgba(248, 248, 244, .3); }
  .pe-nav svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
  .pe-nav:active { background: rgba(248, 248, 244, .22); }
  /* island: word on top, island below it */
  .pl { height: 200vh; }
  .pl-word { top: calc(96px + env(safe-area-inset-top, 0px)); transform: none !important; }
  .pl-isle { height: min(58vh, 520px); margin: calc(min(58vh, 520px) / -2 + 36px) 0 0 calc(min(58vh, 520px) * 685 / 1084 / -2); }
  .pl-shadow { width: 60vw; margin-top: calc(min(58vh, 520px) / 2 + 6px); }
  .pl-tag { left: auto; right: 22px; }
  .pl-tag b { font-size: 17px; }
  .pl-cap { font-size: 14px; bottom: calc(88px + env(safe-area-inset-bottom, 0px)); }
  .reasons { grid-template-columns: 1fr; gap: 12px; }
  .reasons li { padding: 22px 20px 24px; }
  .strip figure { width: 76vw; }
  .strip figure.tall { width: 46vw; }
  .rv { width: 82vw; max-width: 330px; }
  .score { width: 100%; }
  .form .f2 { grid-template-columns: 1fr; }
  .px { height: 560px; }
  .px-doc { height: 92%; bottom: -30%; }
  .pg[data-area="odontologia"] .px { --px: 74%; }
  .pg[data-area="podologia"] .px { --px: 26%; }
  .px-txt { top: auto; bottom: 40px; transform: none; width: auto; left: var(--gl) !important; right: var(--gr) !important; text-align: left !important; }
  .px::after { content: ""; position: absolute; inset: 40% 0 0 0; z-index: 2; background: linear-gradient(180deg, rgba(14, 30, 25, 0), rgba(14, 30, 25, .9) 60%); }
  .foot-cols { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
