/* Generated by node scripts/build-styles.mjs. Edit the source files. */
/* Source: assets/fonts/font-faces.css */
/* Local Google Fonts; licenses and provenance in assets/fonts/. */
@font-face {
  font-family: 'Instrument Serif';
  font-style: italic;
  font-weight: 400;
  font-display: optional;
  src: url(/assets/fonts/instrument-serif-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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Instrument Serif';
  font-style: italic;
  font-weight: 400;
  font-display: optional;
  src: url(/assets/fonts/instrument-serif-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;
}
@font-face {
  font-family: 'Inter Tight';
  font-style: normal;
  font-weight: 400 800;
  font-display: optional;
  src: url(/assets/fonts/inter-tight-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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Inter Tight';
  font-style: normal;
  font-weight: 400 800;
  font-display: optional;
  src: url(/assets/fonts/inter-tight-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;
}
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 400 600;
  font-display: optional;
  src: url(/assets/fonts/jetbrains-mono-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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 400 600;
  font-display: optional;
  src: url(/assets/fonts/jetbrains-mono-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;
}
@font-face {
  font-family: 'Outfit';
  font-style: normal;
  font-weight: 300 800;
  font-display: optional;
  src: url(/assets/fonts/outfit-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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Outfit';
  font-style: normal;
  font-weight: 300 800;
  font-display: optional;
  src: url(/assets/fonts/outfit-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;
}

/* Source: styles.css */
/* ═══════════════════════════════════════════
   Dr. Ojos — Editorial Design System v2
   ═══════════════════════════════════════════ */

/* ---------- Design Tokens ---------- */
:root {
  --paper:        #FFFFFF;
  --paper-deep:   #F8FAFC;
  --ink:          #0F172A;
  --ink-soft:     #334155;
  --ink-muted:    #64748B;
  --rule:         #E2E8F0;
  --rule-soft:    #F1F5F9;
  --amber:        #2563EB;
  --amber-ink:    #1E3A8A;
  --hero-accent:  #b08a22;
  --hero-cover-accent: #d4af37;

  --serif: "Instrument Serif", "Times New Roman", serif;
  --sans:  "Inter Tight", "Outfit", -apple-system, system-ui, sans-serif;
  --mono:  "JetBrains Mono", ui-monospace, monospace;

  --pad: clamp(20px, 3vw, 40px);
}


/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
  font-feature-settings: "ss01", "cv11";
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
/* Warm homepage palette sampled from the supplied visual reference. */
.home-page {
  --paper: #fcfbf7;
  --paper-deep: #f1eee9;
  --rule: #e4dfd7;
  --rule-soft: #eeeae3;
  --soft-button-text: #6d6a65;
  --soft-button-hover: #e8e3db;
  --soft-button-icon: #0a0a0c;
  --soft-button-surface: linear-gradient(180deg, #f8f5f0 0%, #f1eee9 50%, #ebe6de 100%);
  --soft-button-shadow: 0 2px 2px rgba(104, 85, 58, .12), 0 8px 18px rgba(104, 85, 58, .09);
  --soft-button-relief: inset 0 1px 1px rgba(255, 255, 255, .95), inset 0 -1px 1px rgba(104, 85, 58, .12);
  --soft-button-pressed: inset 0 2px 4px rgba(104, 85, 58, .16), inset 0 -1px 0 rgba(255, 255, 255, .7);
  --reserve-button-surface: linear-gradient(180deg, #515155 0%, #303034 38%, #171719 100%);
  --reserve-button-relief: inset 0 1px 1px rgba(255, 255, 255, .32), inset 0 -2px 2px rgba(0, 0, 0, .35);
  --reserve-button-shadow: 0 3px 2px rgba(20, 18, 16, .22), 0 10px 22px rgba(35, 29, 23, .2);
  --reserve-button-pressed: inset 0 3px 6px rgba(0, 0, 0, .45), inset 0 -1px 0 rgba(255, 255, 255, .16);
}
.home-page::before { display: none; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { font: inherit; cursor: pointer; background: none; border: 0; color: inherit; }

/* Subtle glow (replaced paper grain) */
body::before {
  content: "";
  position: fixed; inset: 0;
  pointer-events: none; z-index: 1;
  background-image:
    radial-gradient(1200px 800px at 10% -10%, rgba(37, 99, 235, 0.03), transparent 60%),
    radial-gradient(900px 700px at 110% 20%, rgba(37, 99, 235, 0.02), transparent 60%);
  mix-blend-mode: normal;
}

/* ---------- Utility classes ---------- */
.mono {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--ink-muted);
}
.serif {
  font-family: var(--sans);
  font-weight: 400;
  letter-spacing: -.01em;
}
.it {
  font-family: var(--serif);
  font-style: italic;
  color: var(--ink-soft);
}
em, i { font-family: var(--serif); }

/* ---------- Shell ---------- */
.wrap {
  max-width: 1360px;
  margin: 0 auto;
  padding: 0 var(--pad);
  position: relative;
  z-index: 2;
}
section { position: relative; z-index: 2; }

/* ═══════════════════════════════════════════
   TOP BAR
   ═══════════════════════════════════════════ */
.topbar {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--paper) 85%, transparent);
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  border-bottom: 1px solid var(--rule);
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.03);
}
.topbar-inner {
  max-width: 1360px; margin: 0 auto; padding: 14px var(--pad);
  display: grid; grid-template-columns: 1fr auto 1fr;
  align-items: center; gap: 24px;
}
.mark {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--sans); font-size: 22px; letter-spacing: -.01em;
}
.mark svg { flex: none; }
.mark em { font-style: italic; color: var(--ink-muted); }
.topnav { display: flex; gap: 28px; justify-content: center; }
.topnav a {
  font-size: 13.5px; color: var(--ink-soft);
  position: relative; padding: 6px 2px;
  transition: color .2s;
}
.topnav a:hover { color: var(--ink); }
.topnav a::after {
  content: ""; position: absolute;
  left: 0; right: 0; bottom: 0; height: 1px;
  background: var(--ink);
  transform: scaleX(0); transform-origin: left;
  transition: transform .35s cubic-bezier(.2,.8,.2,1);
}
.topnav a:hover::after { transform: scaleX(1); }
.top-right {
  display: flex; gap: 10px;
  justify-content: flex-end; align-items: center;
}

/* Hamburger */
.hamburger {
  display: none;
  width: 28px; height: 20px;
  position: relative; z-index: 60;
  flex-direction: column; justify-content: space-between;
}
.hamburger span {
  display: block; width: 100%; height: 2px;
  background: var(--ink);
  transition: transform .3s, opacity .2s;
}
.hamburger.open span:nth-child(1) { transform: translateY(9px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }

/* Mobile nav — accordion dropdown */
.mobile-nav {
  position: absolute;
  top: 100%; left: 0; right: 0;
  z-index: 55;
  background: var(--paper);
  border-bottom: 1px solid transparent;
  max-height: 0;
  pointer-events: none;
  overflow: hidden;
  transition: max-height .35s ease, opacity .25s, border-bottom .35s ease;
  opacity: 0;
}
.mobile-nav.open {
  max-height: 400px;
  pointer-events: auto;
  border-bottom: 1px solid var(--rule);
  opacity: 1;
}
.mobile-nav nav {
  display: flex; flex-direction: column;
  padding: 12px 18px 20px;
  gap: 6px;
}
.mobile-nav a {
  font-family: var(--sans); font-size: 15px;
  font-weight: 500;
  padding: 10px 0;
  border-bottom: 1px solid var(--rule-soft);
  transition: color .2s;
}
.mobile-nav a:last-child { border-bottom: 0; }

/* ---------- Pill buttons ---------- */
.pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 20px; border-radius: 999px;
  font-size: 13.5px; font-weight: 500;
  border: 1px solid transparent;
  background: #FF6B00; color: #ffffff;
  box-shadow: 0 4px 12px rgba(255, 107, 0, 0.3);
  transition: all .3s cubic-bezier(.2,.8,.2,1);
}
.pill:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(255, 107, 0, 0.45);
  background: #E66000;
}
.pill.ghost {
  background: transparent; color: var(--ink);
  border: 1px solid var(--rule);
  box-shadow: none;
}
.pill.ghost:hover {
  background: var(--paper-deep); color: var(--ink);
  border-color: var(--ink-soft);
  transform: translateY(-1px);
}
.pill .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(255,255,255,0.3);
}
.top-right > .pill {
  background: #000000;
  border-color: #000000;
  box-shadow: 0 4px 12px rgba(15, 23, 42, .2);
}
.top-right > .pill:hover {
  background: #242424;
  border-color: #242424;
  box-shadow: 0 6px 16px rgba(15, 23, 42, .28);
}

/* ═══════════════════════════════════════════
   HERO
   ═══════════════════════════════════════════ */
.hero {
  padding: clamp(28px,4vw,56px) 0 clamp(32px,4vw,52px);
  background: var(--paper);
  font-family: "Inter Tight", var(--sans);
}
.hero-meta {
  display: flex; justify-content: space-between;
  gap: 16px; margin-bottom: clamp(18px,2.4vw,32px);
  flex-wrap: wrap;
}
.hero-grid {
  display: grid; grid-template-columns: 1.05fr .95fr;
  gap: clamp(24px,4vw,64px); align-items: end;
}
.hero-title {
  font-family: "Inter Tight", var(--sans);
  font-size: clamp(52px, 8vw, 124px);
  line-height: .92;
  letter-spacing: -.045em;
  font-weight: 500;
  max-width: 11ch;
}
.hero-title .it {
  font-family: inherit;
  font-style: normal;
  font-weight: 400;
  color: #52525b;
}
.hero-title .sans {
  font-family: inherit;
  font-weight: 700;
  letter-spacing: inherit;
  color: var(--hero-accent);
}
.hero-title .accent { color: inherit; }
.hero-lede {
  margin-top: 20px; max-width: 48ch;
  font-family: "Inter Tight", var(--sans);
  font-size: clamp(15px,1.25vw,18px);
  color: var(--ink-soft);
}
.hero-lede b { color: var(--ink); font-weight: 600; }
.hero-cta {
  margin-top: 24px;
  display: flex; gap: 12px; flex-wrap: wrap;
}
.hero-cta .pill {
  padding: 14px 22px;
  font-family: "Inter Tight", var(--sans);
  font-size: 14px;
  font-weight: 500;
}
.hero-cta .pill:not(.ghost) {
  background: #000000;
  border-color: #000000;
  box-shadow: 0 4px 12px rgba(15, 23, 42, .2);
}
.hero-cta .pill:not(.ghost):hover {
  background: #242424;
  border-color: #242424;
  box-shadow: 0 6px 16px rgba(15, 23, 42, .28);
}
.hero-cta .pill.ghost {
  border: 1.5px solid #94A3B8;
  justify-content: space-between;
  text-align: right;
}
.hero-cta .pill.ghost .dot {
  background: #71717a;
  box-shadow: 0 0 0 3px rgba(113, 113, 122, .14);
}
.hero-cta .pill.ghost .cta-label {
  margin-left: auto;
  text-align: right;
}
.hero-cta .pill.ghost:hover {
  border-color: #475569;
}
.hero-stats {
  margin-top: 28px;
  display: grid; grid-template-columns: repeat(3,1fr); gap: 16px;
  border-top: 1px solid var(--rule);
  padding-top: 18px; max-width: 620px;
}
.hero-stats .n {
  font-family: "Inter Tight", var(--sans);
  font-size: 34px; line-height: 1;
  letter-spacing: -.02em;
}
.hero-stats .l {
  font-family: "Inter Tight", var(--sans);
  font-size: 12.5px; color: var(--ink-muted); margin-top: 6px;
}

/* Hero visual */
.hero-visual {
  position: relative; align-self: stretch;
  display: flex; align-items: flex-end; justify-content: center;
}
.portrait {
  position: relative; width: 100%; max-width: 400px;
  aspect-ratio: 4/5;
  background: transparent; overflow: visible;
  display: flex; align-items: flex-end; justify-content: center;
  transform: translateX(30px) translateY(-6px) scale(1.1);
  transform-origin: bottom center;
}
.portrait img {
  width: 100%; height: 100%;
  object-fit: contain; object-position: bottom;
  filter: contrast(1.02) saturate(.95)
    drop-shadow(0 30px 40px rgba(23,22,20,.25));
  mix-blend-mode: multiply;
  -webkit-mask-image: linear-gradient(to bottom, black 80%, transparent 98%);
  mask-image: linear-gradient(to bottom, black 80%, transparent 98%);
}
.portrait::before {
  content: ""; position: absolute;
  inset: auto 0 0 0; height: 40%; z-index: -1;
  background: radial-gradient(ellipse at 50% 100%, rgba(23,22,20,.15) 0%, transparent 70%);
  filter: blur(20px);
}
.portrait-tag {
  position: absolute; top: 16px; left: 16px;
  display: flex; align-items: center; gap: 8px;
  padding: 7px 12px; border-radius: 999px;
  background: var(--paper); color: var(--ink);
  font-size: 11.5px; font-weight: 600; letter-spacing: .01em;
  box-shadow: 0 10px 30px -10px rgba(23,22,20,.3);
}
.portrait-tag .pulse {
  width: 7px; height: 7px; border-radius: 50%;
  background: #2aa858; position: relative;
}
.portrait-tag .pulse::after {
  content: ""; position: absolute; inset: -4px;
  border-radius: 50%; border: 1px solid #2aa858;
  opacity: 0; animation: ping 2.2s infinite;
}
@keyframes ping {
  0% { transform: scale(.7); opacity: .8; }
  80%,100% { transform: scale(1.6); opacity: 0; }
}

/* Iris mark & corner labels */
.iris-mark { position: absolute; pointer-events: none; }
.iris-mark circle { fill: none; stroke: var(--ink); stroke-width: .6; }
.corner {
  position: absolute;
  font-family: var(--mono); font-size: 10px;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--ink-muted);
}

/* IG stat link */
.stat-ig { display: block; cursor: pointer; transition: color .2s; }
.stat-ig:hover .n { color: var(--amber); }
.stat-ig .l { display: flex; align-items: center; }

/* Cover overlay — hidden on desktop, shown on mobile */
.cover-overlay { display: none; }

/* ═══════════════════════════════════════════
   MARQUEE STRIP
   ═══════════════════════════════════════════ */
.strip {
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  padding: 18px 0; overflow: hidden;
  background: var(--paper-deep);
}
.strip-track {
  display: flex; gap: 56px;
  animation: scroll 40s linear infinite;
  white-space: nowrap;
}
.strip-track span {
  font-family: var(--sans); font-style: normal; font-weight: 400;
  letter-spacing: -.02em;
  font-size: 22px; color: var(--ink-soft);
  display: inline-flex; align-items: center; gap: 56px;
}
.strip-track span::after {
  content: ""; width: 6px; height: 6px;
  border-radius: 50%; background: var(--amber);
  display: inline-block;
}
@keyframes scroll { to { transform: translateX(-50%); } }

/* ═══════════════════════════════════════════
   SERVICES
   ═══════════════════════════════════════════ */
.services { padding: clamp(80px,9vw,140px) 0; }
.sec-head {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 48px; align-items: end;
  margin-bottom: 64px;
}
.sec-head h2 {
  font-family: var(--sans); font-weight: 500;
  font-size: clamp(40px,6vw,88px);
  line-height: .95; letter-spacing: -.045em;
  max-width: 16ch;
}
.sec-head h2 .it { font-family: inherit; font-weight: 400; font-style: normal; color: #52525b; }
.sec-head p { max-width: 42ch; color: var(--ink-soft); font-size: 17px; }
.section-intro {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.srv {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; border: 0;
}
.srv-card {
  border: 1px solid var(--rule); border-radius: 40px; padding: 48px;
  display: flex; flex-direction: column; gap: 24px;
  transition: all 0.5s cubic-bezier(0.2,0.8,0.2,1);
  position: relative; overflow: hidden;
  min-height: 480px; box-shadow: 0 4px 24px rgba(15,23,42,0.02);
  cursor: pointer;
}
.srv-card:nth-child(1) { background: #e4e4e7; }
.srv-card:nth-child(2) { background: #fff8f0; }
.srv-card:nth-child(3) { background: #E0F0FF; }
.srv-card:hover {
  transform: translateY(-8px) scale(1.01);
  box-shadow: 0 32px 64px rgba(15,23,42,0.08);
  border-color: var(--ink-muted);
}
.srv-card:hover .srv-diagram .ring { stroke: var(--amber); }
.srv-card:hover .srv-num { color: var(--amber); }
.srv-card:hover .srv-title .it { color: var(--amber); }
.srv-card:hover .srv-body { color: var(--ink); }

.srv-num { font-family: var(--sans); font-size: 14px; font-weight: 600; letter-spacing: 0.1em; color: var(--ink-muted); text-transform: uppercase; transition: color 0.3s; }
.srv-title { font-family: var(--sans); font-size: 42px; font-weight: 560; letter-spacing: -0.04em; line-height: 1.1; color: var(--ink); margin-top: auto; }
.srv-title .it { font-family: inherit; font-style: normal; font-weight: 400; color: #52525b; transition: color 0.3s; }
.srv-body { font-size: 18px; color: var(--ink-soft); max-width: 40ch; line-height: 1.6; transition: color 0.3s; }
.srv-foot { margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--rule-soft); display: flex; justify-content: space-between; align-items: center; transition: border-color 0.3s; }
.srv-card:hover .srv-foot { border-color: var(--rule); }
.srv-tags { font-size: 14px; font-weight: 600; color: var(--ink-muted); }
.srv-arrow { width: 48px; height: 48px; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; transition: transform 0.4s cubic-bezier(0.2,0.8,0.2,1); }
.srv-card:hover .srv-arrow { transform: translate(4px,-4px) scale(1.1); background: var(--amber); }
.srv-diagram { position: absolute; top: 40px; right: 40px; width: 100px; height: 100px; opacity: 0.6; }
.srv-diagram .ring { fill: none; stroke: var(--ink-muted); stroke-width: 0.8; transition: stroke 0.3s; }

/* ═══════════════════════════════════════════
   PULL QUOTE
   ═══════════════════════════════════════════ */
.pull {
  padding: clamp(80px,10vw,160px) 0;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  background: #686868; color: var(--paper);
  position: relative; overflow: hidden;
}
.pull .wrap {
  display: grid; grid-template-columns: auto 1fr;
  gap: 48px; align-items: center;
}
.pull-quote {
  font-family: var(--sans); font-weight: 800;
  font-size: clamp(36px,5.2vw,78px);
  line-height: 1.02; letter-spacing: -.03em;
  max-width: 22ch;
}
.pull-quote .it {
  font-family: var(--serif); font-weight: 400;
  font-style: italic;
  color: #f1f1f1;
}
.pull-attr {
  font-family: var(--mono); font-size: 11px;
  letter-spacing: .14em; text-transform: uppercase;
  color: #f1f1f1;
  writing-mode: vertical-rl; transform: rotate(180deg);
  align-self: start; padding-top: 8px;
}
.pull-eye {
  position: absolute; right: -80px; top: 50%;
  transform: translateY(-50%);
  width: 520px; height: 520px;
  pointer-events: none; opacity: .5;
}
.pull-eye circle { fill: none; stroke: var(--paper); stroke-width: .5; }

/* ═══════════════════════════════════════════
   CLINICS / BOOKING
   ═══════════════════════════════════════════ */
.booking { padding: clamp(80px,9vw,140px) 0; background: var(--paper); }
.tabs {
  display: flex; gap: 8px; flex-wrap: wrap;
  margin: 36px 0 28px; padding-bottom: 28px;
  border-bottom: 1px solid var(--rule);
}
.tab {
  padding: 10px 16px; border-radius: 999px;
  font-size: 13px; color: var(--ink-soft);
  border: 1px solid var(--rule);
  background: transparent;
  transition: all .2s;
}
.tab:hover { border-color: var(--ink); color: var(--ink); }
.tab.active {
  background: var(--ink); color: var(--paper);
  border-color: var(--ink);
}
.tab-count {
  font-family: var(--mono); font-size: 10.5px;
  opacity: .6; margin-left: 6px;
}

.clinics {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0;
  border-top: 1px solid var(--rule);
}
.clinic {
  border-right: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  padding: 28px 24px;
  display: flex; flex-direction: column; gap: 14px;
  min-height: 420px;
  transition: background .3s, opacity .3s;
}
.clinic:last-child { border-right: 0; }
.clinic.dim { opacity: .25; }
.clinic.iopa-clinic {
  background: linear-gradient(180deg, rgba(226, 239, 255, .94), rgba(246, 250, 255, .96));
  border-color: rgba(49, 116, 210, .22);
  box-shadow: inset 0 3px 0 rgba(49, 116, 210, .32);
}
.clinic.redsalud-clinic {
  background: linear-gradient(180deg, rgba(232, 246, 238, .92), rgba(248, 253, 250, .96));
  border-color: rgba(55, 138, 94, .22);
  box-shadow: inset 0 3px 0 rgba(55, 138, 94, .32);
}
.clinic-num {
  font-family: var(--mono); font-size: 10.5px;
  color: var(--ink-muted); letter-spacing: .12em;
}
.clinic-name {
  font-family: var(--sans); font-size: 28px; font-weight: 700;
  line-height: 1.05; letter-spacing: -.02em;
  margin-top: 4px;
}
.clinic-name span {
  font-family: var(--serif); font-weight: 400;
}
.clinic-addr {
  font-size: 14px; color: var(--ink-soft); line-height: 1.5;
}
.clinic-addr a {
  border-bottom: 1px solid var(--rule);
  transition: border-color .2s;
}
.clinic-addr a:hover { border-color: var(--ink); }
.clinic-metro {
  font-family: var(--mono); font-size: 12.5px; font-weight: 600;
  color: var(--ink-soft);
  letter-spacing: .06em; text-transform: uppercase;
  display: inline-flex; align-items: center; gap: 6px;
}
.clinic-metro::before {
  content: ""; width: 8px; height: 8px;
  border-radius: 1px;
  background: #d63c32;
  transform: rotate(45deg);
}
.clinic-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}
.clinic-heading .clinic-name { min-width: 0; }
.clinic-call {
  width: 36px;
  height: 36px;
  flex: 0 0 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  background: #000000;
  border: 1px solid #000000;
  border-radius: 50%;
  margin-top: 4px;
  transition: color .2s, background .2s, border-color .2s, transform .2s;
}
.clinic-call:hover {
  color: #ffffff;
  background: #242424;
  border-color: #242424;
  transform: translateY(-1px);
}
.clinic-call svg { flex: none; }
.clinic-availability {
  display: block;
  text-align: center;
  color: var(--amber-ink);
  font-family: var(--mono);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: .02em;
  white-space: nowrap;
}
.clinic-schedule {
  display: grid;
  gap: 8px;
  width: 194px;
  align-self: flex-end;
}
.clinic-schedule-title {
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: .13em;
  text-transform: uppercase;
  text-align: right;
  color: var(--ink-muted);
}
.clinic-schedule-tags {
  display: grid;
  grid-template-columns: repeat(2, 94px);
  justify-content: end;
  gap: 6px;
}
.clinic-schedule-tags:not(.clinic-schedule-tags--dense) .schedule-chip:only-child {
  grid-column: 2;
}
.clinic.redsalud-clinic .clinic-schedule-tags {
  grid-template-columns: 1fr 94px;
}
.clinic.redsalud-clinic .schedule-chip {
  grid-column: 2;
}
.schedule-chip {
  width: 94px;
  min-width: 94px;
  min-height: 34px;
  padding: 6px 7px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 3px;
  color: #6B98DA;
  background: #FFFFFF;
  border: 1px solid #BFD5F5;
  border-radius: 8px;
  box-shadow: 0 3px 10px rgba(37, 99, 235, .07);
  font-family: var(--sans);
  line-height: 1;
  white-space: nowrap;
}
.schedule-chip strong {
  overflow: hidden;
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: -.01em;
  text-transform: uppercase;
  text-overflow: ellipsis;
  color: #6B98DA;
}
.schedule-chip > span {
  flex: none;
  font-family: var(--mono);
  font-size: 8.5px;
  font-weight: 700;
  letter-spacing: .04em;
  color: #2563EB;
}
.schedule-chip--am,
.schedule-chip--pm,
.schedule-chip--full {
  color: #6B98DA;
  background: #FFFFFF;
  border-color: #BFD5F5;
}

/* Shared desktop contract for current and future clinic schedule tags. */
@media (min-width: 641px) {
  .clinic:not(.sobrecupo) .c-btn {
    font-size: 16px;
    font-weight: 700;
  }
  .clinic-schedule {
    align-self: flex-start;
  }
  .clinic-schedule-title {
    text-align: left;
  }
  .clinic-schedule-tags {
    justify-content: start;
  }
  .clinic-schedule-tags:not(.clinic-schedule-tags--dense) .schedule-chip:only-child {
    grid-column: 1;
  }
  .clinic.redsalud-clinic .clinic-schedule-tags {
    grid-template-columns: repeat(2, 94px);
  }
  .clinic.redsalud-clinic .schedule-chip {
    grid-column: 1;
  }
  .clinic-schedule-tags--dense .schedule-chip {
    padding-inline: 8px;
  }
  .clinic-schedule-tags--dense .schedule-chip strong {
    font-size: 11px;
  }
}
.clinic-hours {
  font-size: 12px; color: var(--ink-muted);
  display: flex; justify-content: space-between;
}
.clinic-actions {
  margin-top: auto;
  display: flex; flex-direction: column; gap: 8px;
  padding-top: 16px;
  border-top: 1px solid var(--rule-soft);
}
.clinic:not(.sobrecupo) .clinic-actions {
  transform: translateY(4px);
}
.c-btn {
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 14px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 15px; font-weight: 700;
  background: #000000; color: #ffffff;
  transition: transform .25s, background .2s, box-shadow .2s;
  box-shadow: 0 4px 12px rgba(15, 23, 42, .2);
}
.c-btn:hover {
  transform: translateX(2px);
  background: #242424;
  box-shadow: 0 6px 16px rgba(15, 23, 42, .28);
}
.c-btn svg { flex: none; }

/* ── Sobrecupo card — highlighted ── */
.clinic.sobrecupo {
  background: #ffffff;
  padding: 28px 24px;
  min-height: auto;
  position: relative;
  transition: background .3s, opacity .3s;
}
.sobrecupo-logo {
  margin-bottom: 8px;
}
.sobrecupo-logo img {
  height: 36px;
  width: auto;
}
.clinic.sobrecupo .clinic-name {
  font-size: 24px;
}
.clinic.sobrecupo .clinic-metro::before {
  background: #ff3131;
  border-radius: 50%;
  transform: none;
}
.clinic.sobrecupo .clinic-actions {
  border-top: none;
  padding-top: 8px;
}
.sobrecupo-btn {
  background: #1a1816 !important;
  color: #fff !important;
  border-color: #1a1816 !important;
  border-radius: 999px;
  width: calc(25% - 36px);
  align-self: flex-start;
}

/* ═══════════════════════════════════════════
   ABOUT
   ═══════════════════════════════════════════ */
.about {
  padding: clamp(80px,9vw,140px) 0;
  border-top: 1px solid var(--rule);
}
.about-grid {
  display: grid; grid-template-columns: .8fr 1.2fr;
  gap: 64px; align-items: start;
}
.about-img { position: relative; }
.about-img img {
  width: 100%; height: auto; aspect-ratio: 3/4;
  object-fit: cover; object-position: top;
  border-radius: 2px;
  filter: grayscale(.1) contrast(1.02);
}
.about-img figcaption {
  margin-top: 12px;
  font-family: var(--mono); font-size: 10.5px;
  color: var(--ink-muted);
  letter-spacing: .1em; text-transform: uppercase;
  display: flex; justify-content: space-between;
}
.about-body h2 {
  font-family: var(--sans); font-weight: 500;
  font-size: clamp(40px,5.5vw,80px);
  line-height: .95; letter-spacing: -.045em;
  max-width: 14ch;
}
.about-body h2 .it { font-family: inherit; font-weight: 400; font-style: normal; color: #52525b; }
.about-body .lead {
  margin: 28px 0 40px;
  font-size: 19px; color: var(--ink-soft);
  max-width: 52ch; line-height: 1.55;
}
.timeline {
  display: grid; gap: 0;
  border-top: 1px solid var(--rule);
}
.t-row {
  display: grid; grid-template-columns: 100px 1fr auto;
  gap: 24px; padding: 16px 0;
  border-bottom: 1px solid var(--rule-soft);
  align-items: baseline;
}
.t-year {
  font-family: var(--mono); font-size: 12px;
  color: var(--ink-muted); letter-spacing: .06em;
}
.t-title {
  font-family: var(--sans); font-size: 22px;
  letter-spacing: -.01em;
}
.t-meta { font-size: 13px; color: var(--ink-muted); }

/* ═══════════════════════════════════════════
   BLOG — home editorial preview
   ═══════════════════════════════════════════ */
.blog-home {
  padding: clamp(78px, 9vw, 132px) 0;
  background: var(--paper-deep);
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}
.blog-home-head { align-items: end; }
.blog-home-kicker {
  display: block;
  margin-bottom: 17px;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--amber);
}
.blog-home-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border: 1px solid var(--rule);
  background: var(--paper);
}
.blog-home-card {
  min-height: 320px;
  padding: clamp(22px, 2.2vw, 30px);
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 16px;
  border-right: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  transition: background .28s ease, color .28s ease;
}
.blog-home-card:nth-child(2n) { border-right: 0; }
.blog-home-card:nth-last-child(-n + 2) { border-bottom: 0; }
.blog-home-card:hover { background: var(--ink); color: var(--paper); }
.blog-home-card:hover p,
.blog-home-card:hover .blog-home-index,
.blog-home-card:hover .blog-home-topic,
.blog-home-card:hover .blog-home-meta { color: rgba(255,255,255,.7); }
.blog-home-card:hover .blog-home-arrow {
  color: var(--ink);
  background: var(--paper);
  transform: translate(2px, -2px);
}
.blog-home-index,
.blog-home-topic,
.blog-home-meta {
  font-family: var(--mono);
  text-transform: uppercase;
  letter-spacing: .09em;
  color: var(--ink-muted);
}
.blog-home-index { font-size: 11px; }
.blog-home-topic {
  display: block;
  margin-bottom: 10px;
  font-size: 10.5px;
  color: var(--amber);
}
.blog-home-card h3 {
  max-width: 22ch;
  font-family: var(--sans);
  font-weight: 400;
  font-size: clamp(28px, 2.35vw, 34px);
  line-height: 1;
  letter-spacing: -.025em;
}
.blog-home-card p {
  max-width: 54ch;
  margin-top: 10px;
  color: var(--ink-soft);
  font-size: 13.5px;
  line-height: 1.5;
}
.blog-home-meta {
  padding-top: 10px;
  border-top: 1px solid currentColor;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 10px;
}
.blog-home-arrow {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border: 1px solid var(--rule);
  border-radius: 50%;
  font-family: var(--sans);
  font-size: 17px;
  color: var(--ink);
  transition: transform .25s, background .25s;
}
.blog-home-all {
  display: inline-flex;
  gap: 12px;
  align-items: center;
  margin-top: 26px;
  padding-bottom: 4px;
  border-bottom: 1px solid var(--ink);
  font-size: 13.5px;
  font-weight: 600;
}

/* ═══════════════════════════════════════════
   SOCIAL (Instagram + reviews)
   ═══════════════════════════════════════════ */
.social {
  padding: clamp(44px,5vw,72px) 0;
  background: var(--paper-deep);
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}
.social-grid {
  display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 0;
  border: 1px solid var(--rule);
  background: var(--paper);
}
.social-card {
  padding: 26px 24px;
  display: flex; flex-direction: column; gap: 13px;
  min-height: 310px;
  border-right: 1px solid var(--rule);
  transition: background .4s, color .3s;
  position: relative; overflow: hidden;
}
.social-card:last-child { border-right: 0; }
.social-card:hover { background: var(--ink); color: var(--paper); }
.social-card:hover .mono { color: color-mix(in srgb, var(--paper) 55%, transparent); }
.social-card:hover .social-copy { color: color-mix(in srgb, var(--paper) 75%, transparent); }
.social-card:hover .social-lbl { color: color-mix(in srgb, var(--paper) 60%, transparent); }
.social-card:hover .social-foot { border-color: color-mix(in srgb, var(--paper) 20%, transparent); }
.social-card:hover .social-stat { border-color: color-mix(in srgb, var(--paper) 20%, transparent); }
.social-card:hover .social-unit { color: color-mix(in srgb, var(--paper) 55%, transparent); }
.social-head {
  display: flex; justify-content: space-between; align-items: center;
}
.social-head > svg { width: 18px; height: 18px; }
.social-card.gg .social-head > svg { filter: grayscale(1); }
.social-card.gg .social-stat > span:first-child,
.social-card.dc .social-stat > span:first-child {
  color: var(--ink-soft) !important;
}
.social-card:hover .social-stat > span:first-child {
  color: var(--paper) !important;
}
.social-big {
  font-family: var(--sans); font-weight: 400;
  font-size: clamp(38px,4.2vw,62px);
  line-height: .95; letter-spacing: -.035em;
  margin-top: 2px;
}
.social-stat {
  display: flex; align-items: center; gap: 14px;
  padding: 10px 0;
  border-top: 1px solid var(--rule-soft);
  border-bottom: 1px solid var(--rule-soft);
}
.social-num {
  font-family: var(--sans); font-size: 28px;
  letter-spacing: -.02em; line-height: 1;
}
.social-unit { color: var(--ink-muted); font-size: .7em; }
.social-lbl {
  font-family: var(--mono); font-size: 11px;
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--ink-muted);
}
.social-copy {
  color: var(--ink-soft); font-size: 13.5px;
  line-height: 1.45; max-width: 44ch;
}
.social-foot {
  margin-top: auto;
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 11px;
  border-top: 1px solid var(--rule-soft);
  font-family: var(--mono); font-size: 10px;
  letter-spacing: .1em; text-transform: uppercase;
}

/* ═══════════════════════════════════════════
   PATIENT TESTIMONIALS (SEO/GEO/AEO)
   ═══════════════════════════════════════════ */
.testimonials {
  padding: clamp(60px,7vw,100px) 0;
  background: var(--paper);
}
.testimonial-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px;
}
.testimonial-card {
  padding: 32px 28px;
  border: 1px solid var(--rule);
  border-radius: 20px;
  display: flex; flex-direction: column; gap: 16px;
  transition: all .4s cubic-bezier(.2,.8,.2,1);
  background: var(--paper);
}
.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(15,23,42,0.06);
  border-color: var(--ink-muted);
}
.testimonial-stars {
  color: var(--amber);
  font-size: 18px;
  letter-spacing: 2px;
}
.testimonial-text {
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.55;
  color: var(--ink-soft);
  flex: 1;
}
.testimonial-text strong {
  color: var(--ink);
  font-weight: 600;
}
.testimonial-source {
  display: flex; flex-direction: column; gap: 4px;
  padding-top: 14px;
  border-top: 1px solid var(--rule-soft);
  font-size: 13px;
}
.testimonial-source span:first-child {
  font-weight: 600;
  color: var(--ink);
}
.testimonial-platform {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: .08em;
  color: var(--ink-muted);
}

/* ═══════════════════════════════════════════
   FAQ
   ═══════════════════════════════════════════ */
.faq { padding: clamp(80px,9vw,140px) 0; }
.faq-grid {
  display: grid; grid-template-columns: .8fr 1.2fr;
  gap: 64px; align-items: start;
}
.faq-grid h2 {
  font-family: var(--sans); font-weight: 500;
  font-size: clamp(40px,5.5vw,76px);
  line-height: .95; letter-spacing: -.045em;
  max-width: 12ch;
  position: sticky; top: 100px;
}
.faq-grid h2 .it { font-family: inherit; font-weight: 400; font-style: normal; color: #52525b; }
.faq-list { border-top: 1px solid var(--rule); }
details {
  border-bottom: 1px solid var(--rule-soft);
  padding: 20px 0;
}
details summary {
  list-style: none; cursor: pointer;
  display: flex; justify-content: space-between;
  gap: 16px; align-items: baseline;
  font-family: var(--sans); font-size: 23px;
  letter-spacing: -.01em; line-height: 1.25;
  transition: color .2s;
}
details summary::-webkit-details-marker { display: none; }
details summary:hover { color: var(--ink-soft); }
details .plus {
  font-family: var(--mono); font-size: 20px; font-weight: 400;
  color: var(--ink-muted);
  transition: transform .3s, color .2s;
  flex: none;
}
details[open] .plus { transform: rotate(45deg); color: var(--ink); }
details p {
  margin-top: 14px; max-width: 62ch;
  color: var(--ink-soft); font-size: 15.5px; line-height: 1.65;
}

/* ═══════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════ */
footer {
  padding: clamp(60px,7vw,100px) 0 40px;
  border-top: 1px solid var(--rule);
}
.foot-top {
  display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px; padding-bottom: 60px;
  border-bottom: 1px solid var(--rule-soft);
}
.foot-top h3 {
  font-family: var(--mono); font-size: 11px;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--ink-muted); margin-bottom: 14px; font-weight: 500;
}
.foot-top a {
  display: block; font-size: 14px;
  color: var(--ink-soft); padding: 3px 0;
  transition: color .2s;
}
.foot-top a:hover { color: var(--ink); }
.foot-mark {
  font-family: var(--sans); font-size: 32px;
  letter-spacing: -.01em;
}
.foot-mark em { color: var(--ink-muted); }
.footer-trust {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  padding: 22px 0;
  border-bottom: 1px solid var(--rule-soft);
}
.footer-trust > div {
  padding-right: 18px;
  border-right: 1px solid var(--rule-soft);
}
.footer-trust > div + div { padding-left: 18px; }
.footer-trust > div:nth-child(3) { border-right: 0; }
.trust-label {
  display: block;
  margin-bottom: 7px;
  font-family: var(--mono);
  font-size: 10.5px;
  color: var(--ink-muted);
  letter-spacing: .08em;
  text-transform: uppercase;
}
.footer-trust strong {
  display: block;
  font-size: 13.5px;
  line-height: 1.35;
  color: var(--ink-soft);
}
.footer-trust strong a {
  color: inherit;
  text-decoration: underline;
  text-decoration-color: rgba(14, 13, 20, .28);
  text-underline-offset: 3px;
}
.footer-trust strong a:hover,
.footer-trust strong a:focus-visible {
  text-decoration-color: currentColor;
}
.footer-trust p {
  grid-column: 1 / -1;
  margin: 14px 0 0;
  padding-top: 14px;
  border-top: 1px solid var(--rule-soft);
  color: var(--ink-muted);
  font-size: 12.5px;
  line-height: 1.55;
}
.foot-bot {
  display: flex; justify-content: space-between;
  padding-top: 28px; font-size: 12.5px;
  color: var(--ink-muted); flex-wrap: wrap; gap: 16px;
}
.foot-giant {
  font-family: var(--sans);
  font-size: clamp(100px,22vw,340px);
  line-height: .8; letter-spacing: -.04em;
  margin-top: 60px;
  color: transparent;
  -webkit-text-stroke: 1px var(--rule);
  white-space: nowrap; overflow: hidden;
}

/* ═══════════════════════════════════════════
   FLOATING RESERVE
   ═══════════════════════════════════════════ */
.floater {
  position: fixed; bottom: 24px; right: 24px; z-index: 60;
  transform: translateY(calc(100% + 40px));
  transition: transform .5s cubic-bezier(.2,.8,.2,1);
}
.floater.on { transform: translateY(0); }
.floater .pill {
  box-shadow: 0 20px 40px -15px rgba(23,22,20,.45);
}

/* ═══════════════════════════════════════════
   RESPONSIVE — TABLET (≤980px)
   ═══════════════════════════════════════════ */
@media (max-width: 980px) {
  .hero-grid,
  .sec-head,
  .about-grid,
  .faq-grid,
  .pull .wrap,
  .social-grid {
    grid-template-columns: 1fr; gap: 32px;
  }
  .social-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0;
  }
  .social-card {
    padding: 20px 18px;
    gap: 11px;
    border-right: 1px solid var(--rule);
    border-bottom: 0;
    min-height: 290px;
  }
  .social-card:last-child { border-right: 0; }
  .hero-title { font-size: 68px; }
  .srv, .clinics { grid-template-columns: 1fr 1fr; }
  .clinic:nth-child(2), .srv-card:nth-child(2) { border-right: 0; }
  .clinic.sobrecupo {
    grid-column: 1 / -1;
    margin: 12px 0 0;
  }
  .sobrecupo-btn { width: calc(50% - 24px); }
  .foot-top { grid-template-columns: 1fr 1fr; }
  .topnav { display: none; }
  .hamburger { display: flex; }
  .topbar-inner { grid-template-columns: 1fr auto; gap: 12px; }
  .pull-eye { display: none; }
  .faq-grid h2 { position: static; }
  .portrait { max-width: 360px; margin: 0 auto; }
  .iris-mark, .corner { display: none; }
  .testimonial-grid { grid-template-columns: repeat(2, 1fr); }
  .blog-home-card { min-height: 320px; }
}

/* ═══════════════════════════════════════════
   RESPONSIVE — MOBILE (≤640px)
   Mobile-native design: not just a collapsed
   desktop, but a purpose-built mobile experience.
   ═══════════════════════════════════════════ */
@media (max-width: 640px) {
  :root { --pad: 18px; }

  /* ── Top bar ── */
  .mark em { display: none; }
  .mark { font-size: 17px; }
  .top-right .pill.ghost { display: none; }
  .top-right > .pill { font-size: 11px; padding: 7px 12px; }

  /* ── Hero — magazine cover ── */
  .hero {
    padding: 0 !important;
  }
  .hero .wrap { padding: 0; }
  .hero-meta { display: none !important; }
  .hero-grid {
    display: flex !important;
    flex-direction: column-reverse !important;
    gap: 0 !important;
  }

  /* Desktop h1 hidden on mobile — replaced by cover overlay title */
  .hero-title { display: none; }

  /* Portrait becomes full-bleed cover */
  .hero-visual {
    width: 100%; order: 2;
  }
  .portrait {
    max-width: 100% !important;
    margin: 0 !important;
    aspect-ratio: auto !important;
    height: clamp(292px, 80vw, 324px);
    border-radius: 0 !important;
    overflow: hidden;
    background:
      radial-gradient(ellipse at 50% 28%, rgba(255,255,255,.34) 0%, rgba(255,255,255,0) 56%),
      linear-gradient(180deg, #f4f4f5 0%, #e4e4e7 48%, #d4d4d8 100%);
    position: relative;
    transform: none !important;
  }
  .portrait img {
    width: 108%; max-width: none; height: 100%;
    flex: 0 0 auto;
    object-fit: cover;
    object-position: 50% 0;
    filter: grayscale(1) contrast(1.02) !important;
    transform: translateX(28%);
    mix-blend-mode: normal !important;
    border-radius: 0;
    -webkit-mask-image: none !important;
    mask-image: none !important;
  }
  .portrait::before { display: none; }
  .portrait::after {
    content: "";
    position: absolute; inset: 0;
    background: linear-gradient(
      180deg,
      rgba(24, 24, 27, .34) 0%,
      rgba(24, 24, 27, .12) 14%,
      rgba(24, 24, 27, 0) 32%,
      rgba(24, 24, 27, 0) 50%,
      rgba(24, 24, 27, .10) 62%,
      rgba(24, 24, 27, .44) 80%,
      rgba(24, 24, 27, .88) 100%
    );
    pointer-events: none;
  }

  /* Hide desktop tag, show cover overlay on mobile */
  .portrait-tag { display: none !important; }
  .cover-overlay {
    display: flex !important;
    flex-direction: column;
    position: absolute; inset: 0; z-index: 3;
    padding: 12px 18px 16px;
    color: var(--paper);
    pointer-events: none;
  }

  /* Cover — top corners */
  .cover-top {
    display: flex; justify-content: space-between;
    align-items: center;
    pointer-events: auto;
  }
  .cover-corner-l, .cover-corner-r {
    font-family: var(--mono); font-size: 9.5px;
    letter-spacing: .12em; text-transform: uppercase;
    color: rgba(244,239,231,.85);
    display: flex; align-items: center; gap: 6px;
  }
  .cover-corner-l .pulse {
    width: 6px; height: 6px; border-radius: 50%;
    background: var(--amber);
  }

  /* Cover — eyebrow divider */
  .cover-eyebrow {
    display: flex; align-items: center; gap: 12px;
    margin-top: 0;
    font-family: var(--mono); font-size: 9.5px;
    letter-spacing: .12em; text-transform: uppercase;
    color: rgba(244,239,231,.7);
    margin-bottom: auto;
  }
  .cover-rule {
    flex: 1;
    height: 1px;
    background: rgba(244,239,231,.3);
  }

  /* Cover — title & signature */
  .cover-bottom { pointer-events: auto; }
  .cover-title {
    font-family: "Inter Tight", var(--sans); font-weight: 700;
    font-size: clamp(42px, 13.2vw, 52px); line-height: .92;
    letter-spacing: -.045em;
    color: var(--hero-cover-accent);
    margin: 0 0 0 8px;
  }
  .cover-title em {
    font-family: inherit; font-weight: 400;
    font-style: normal;
    color: #e4e4e7;
  }
  .cover-dot {
    display: inline-block;
    width: 14px; height: 14px;
    border-radius: 50%;
    background: var(--amber);
    margin-left: 4px;
    transform: translateY(-38px);
  }
  .cover-sig {
    display: flex; justify-content: space-between;
    align-items: baseline;
    margin-top: 10px; padding-top: 8px;
    border-top: 1px solid rgba(244,239,231,.25);
  }
  .cover-sig-name {
    font-family: var(--serif); font-style: italic;
    font-size: 15px; color: var(--paper);
  }
  .cover-sig-role {
    font-family: var(--mono); font-size: 9.5px;
    letter-spacing: .1em; text-transform: uppercase;
    color: rgba(244,239,231,.55);
  }

  /* Copy section below cover */
  .hero-copy {
    padding: 18px 18px 10px;
    order: 1;
  }
  .hero-lede {
    font-size: 14px; margin-top: 0; max-width: none;
    line-height: 1.45;
  }
  .hero-cta {
    margin-top: 16px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }
  .hero-cta .pill {
    padding: 11px 13px; font-size: 12.5px;
    justify-content: space-between;
    border-radius: 999px;
    width: 100%;
  }

  /* Stats strip below hero */
  .hero-stats {
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 0; max-width: 100%;
    margin-top: 16px; padding-top: 0;
    border-top: 1px solid var(--rule-soft);
    border-bottom: 1px solid var(--rule-soft);
  }
  .hero-stats > div,
  .hero-stats > a {
    padding: 12px 10px;
    border-right: 1px solid var(--rule-soft);
    display: block;
  }
  .hero-stats > div:last-child,
  .hero-stats > a:last-child { border-right: 0; }
  .hero-stats .n { font-size: 26px; }
  .hero-stats .l {
    margin-top: 5px; max-width: none; text-align: left;
    font-family: "Inter Tight", var(--sans); font-size: 8.5px;
    letter-spacing: .08em; text-transform: uppercase;
  }


  /* ── Strip ── */
  .strip-track span { font-size: 17px; }

  /* ── Section heads ── */
  .services { padding: 40px 0; }
  .sec-head { margin-bottom: 16px; gap: 12px; }
  .sec-head h2 { font-size: 36px; line-height: .98; }
  .sec-head p { font-size: 13.5px; line-height: 1.55; }

  /* ── Blog preview ── */
  .blog-home { padding: 44px 0; }
  .blog-home-head { margin-bottom: 24px; }
  .blog-home-kicker { margin-bottom: 12px; font-size: 9.5px; }
  .blog-home-grid { grid-template-columns: 1fr; }
  .blog-home-card {
    min-height: 0;
    padding: 18px 16px;
    gap: 14px;
    border-right: 0;
    border-bottom: 1px solid var(--rule);
  }
  .blog-home-card:nth-last-child(2) { border-bottom: 1px solid var(--rule); }
  .blog-home-card:last-child { border-bottom: 0; }
  .blog-home-topic { margin-bottom: 10px; font-size: 9.5px; }
  .blog-home-card h3 { max-width: 20ch; font-size: 27px; line-height: 1.02; }
  .blog-home-card p { margin-top: 10px; font-size: 12.5px; line-height: 1.5; }
  .blog-home-meta { padding-top: 12px; }
  .blog-home-arrow { width: 28px; height: 28px; font-size: 15px; }
  .blog-home-all { margin-top: 22px; font-size: 12.5px; }

  /* ── Services — mobile rounded cards ── */
  .srv { grid-template-columns: 1fr !important; border-top: 0; gap: 10px; }
  .srv-card {
    border: 1px solid var(--rule-soft) !important;
    border-radius: 14px;
    padding: 16px 16px 14px;
    min-height: auto !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 6px;
    background: color-mix(in srgb, var(--paper) 50%, #fff);
    position: relative;
  }
  .srv-card:last-child { border-right: 1px solid var(--rule-soft) !important; }
  .srv-diagram {
    position: absolute; top: 16px; right: 16px;
    width: 36px; height: 36px;
  }
  .srv-num { font-size: 10px; margin-bottom: 4px; }
  .srv-title { font-size: 20px; margin-top: 0; line-height: 1.1; max-width: 75%; }
  .srv-body { font-size: 12.5px; line-height: 1.5; margin-top: 6px; max-width: 100%; }
  .srv-foot {
    margin-top: 10px; padding-top: 10px;
    display: flex;
  }
  .srv-tags { font-size: 9.5px; }
  .srv-arrow { width: 28px; height: 28px; }

  /* ── Pull quote ── */
  .pull { padding: 40px 0; }
  .pull .wrap {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .pull-attr {
    writing-mode: horizontal-tb;
    transform: none;
    margin-bottom: 16px;
    align-self: auto;
    padding-top: 0;
  }
  .pull-quote { font-size: 30px; line-height: 1.05; }

  /* ── Clinics — compact row list ── */
  .tabs {
    margin: 14px 0 6px; padding: 0 0 6px;
    border-bottom: none;
    overflow-x: auto; flex-wrap: nowrap;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    gap: 6px;
  }
  .tabs::-webkit-scrollbar { display: none; }
  .tab {
    flex-shrink: 0; padding: 8px 14px;
    font-size: 12px; white-space: nowrap;
  }
  .tab-count { display: none; }
  .booking { padding: 40px 0; }
  .clinics {
    grid-template-columns: 1fr !important;
    border-top: 0;
  }
  .clinic {
    border-right: 0; border-left: 0;
    border-bottom: 1px solid var(--rule-soft);
    padding: 20px 0;
    min-height: auto;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 164px;
    grid-template-rows: repeat(4, auto);
    gap: 5px 12px;
    align-items: start;
  }
  .clinic.iopa-clinic {
    margin: 0 calc(-1 * var(--pad));
    padding: 18px var(--pad);
    border: 0;
    border-bottom: 1px solid rgba(49, 116, 210, .18);
    border-radius: 0;
    background: linear-gradient(180deg, rgba(226, 239, 255, .94), rgba(246, 250, 255, .96));
    box-shadow: inset 0 3px 0 rgba(49, 116, 210, .26);
  }
  .clinic.redsalud-clinic {
    margin: 0 calc(-1 * var(--pad));
    padding: 18px var(--pad);
    border: 0;
    border-bottom: 1px solid rgba(55, 138, 94, .18);
    border-radius: 0;
    background: linear-gradient(180deg, rgba(232, 246, 238, .92), rgba(248, 253, 250, .96));
    box-shadow: inset 0 3px 0 rgba(55, 138, 94, .26);
  }
  .clinic:last-child { border-bottom: 0; }
  .clinic-num { display: none; }

  /* Sobrecupo mobile — match regular clinic rows */
  .clinic.sobrecupo {
    display: grid;
    grid-template-columns: 1fr auto;
    grid-template-rows: auto auto auto;
    gap: 4px 14px;
    align-items: start;
    padding: 18px 0;
    margin: 0 calc(-1 * var(--pad));
    padding: 18px var(--pad);
    border-radius: 0;
    border: none !important;
    border-bottom: 1px solid var(--rule-soft) !important;
    background: #ffffff;
    box-shadow: none;
    min-height: auto;
  }
  .clinic.sobrecupo:hover {
    box-shadow: none;
    transform: none;
  }
  .sobrecupo-logo {
    grid-column: 1 / -1;
    grid-row: 1;
    margin-bottom: 4px;
  }
  .sobrecupo-logo img {
    height: 22px;
  }
  .clinic.sobrecupo .clinic-name {
    font-size: 20px;
    grid-column: 1;
    grid-row: 2;
  }
  .clinic.sobrecupo .clinic-addr {
    grid-column: 1;
    grid-row: 3;
    font-size: 12.5px;
  }
  .clinic.sobrecupo .clinic-metro {
    grid-column: 1;
    grid-row: 4;
    font-size: 10px;
    margin-top: 4px;
  }
  .clinic.sobrecupo .clinic-actions {
    grid-column: 2;
    grid-row: 2 / 5;
    align-self: center;
    border-top: 0;
    padding-top: 0;
    padding-bottom: 0;
    margin-top: 0;
  }
  .clinic.sobrecupo .c-btn svg { display: none; }
  .sobrecupo-btn { width: auto; }
  .clinic-name {
    font-size: 20px;
    grid-column: 1;
    grid-row: 1;
  }
  .clinic-addr {
    grid-column: 1;
    grid-row: 2;
    font-size: 12.5px;
    line-height: 1.45;
  }
  .clinic-metro {
    grid-column: 1;
    grid-row: 3;
    font-size: 11.5px;
    margin-top: 5px;
  }
  .clinic-heading {
    display: contents;
  }
  .clinic-heading .clinic-name {
    grid-column: 1;
    grid-row: 1;
  }
  .clinic-hours { display: none; }
  .clinic:not(.sobrecupo) .clinic-actions {
    display: contents;
    margin-top: 0;
    padding-top: 0;
    padding-bottom: 0;
    border-top: 0;
    transform: none !important;
  }
  .clinic-schedule {
    grid-column: 2;
    grid-row: 1 / 4;
    align-self: start;
    justify-self: end;
    width: 193px;
    gap: 6px;
    margin-top: 1px;
  }
  .clinic-schedule-title {
    font-size: 8.5px;
    letter-spacing: .1em;
    text-align: right;
  }
  .clinic-schedule-tags {
    gap: 5px;
  }
  .schedule-chip {
    min-height: 25px;
    padding: 3px 5px;
    gap: 2px;
    border-radius: 6px;
  }
  .schedule-chip strong {
    font-size: 9.5px;
  }
  .schedule-chip > span {
    font-size: 7.5px;
  }
  .clinic-heading .clinic-call {
    grid-row: 4;
    align-self: center;
    justify-self: end;
    width: 38px;
    height: 38px;
    flex-basis: 38px;
    margin-top: 10px;
  }
  .clinic:not(.sobrecupo) .c-btn {
    grid-column: 2;
    grid-row: 4;
    align-self: center;
    justify-self: end;
    min-width: 132px;
    width: 132px;
    height: 38px;
    min-height: 38px;
    margin-top: 10px;
    justify-content: center;
  }
  .clinic.iopa-clinic,
  .clinic.clinic-2020 {
    grid-template-columns: minmax(0, 1fr) 38px 132px;
    column-gap: 8px;
  }
  .clinic.iopa-clinic .clinic-heading .clinic-call,
  .clinic.clinic-2020 .clinic-heading .clinic-call {
    grid-column: 2;
  }
  .clinic.iopa-clinic .clinic-schedule,
  .clinic.clinic-2020 .clinic-schedule {
    grid-column: 2 / 4;
  }
  .clinic.iopa-clinic .c-btn,
  .clinic.clinic-2020 .c-btn {
    grid-column: 3;
  }
  .c-btn {
    padding: 8px 16px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 700;
    white-space: nowrap;
  }
  .c-btn svg { display: none; }

  /* ── About ── */
  .about { padding: 40px 0; }
  .about-grid { gap: 0; }
  .about-img {
    height: 380px;
    border-radius: 16px;
    grid-area: 1 / 1 / 3 / 2;
    overflow: hidden;
    position: relative;
  }
  .about-img img {
    height: 100%; width: 100%;
    object-position: top;
    border-radius: 0;
  }
  .about-img::after {
    content: ""; position: absolute; inset: 0;
    background: linear-gradient(to bottom, transparent 40%, rgba(26,24,22,.8) 100%);
    pointer-events: none;
  }

  .about-body { display: contents; }
  .about-body h2 {
    grid-area: 2 / 1 / 3 / 2;
    align-self: end;
    font-size: 36px;
    padding: 24px;
    margin: 0;
    color: var(--paper);
    z-index: 2;
  }
  .about-body h2 .it { color: rgba(255,255,255,.8); }
  .about-body .lead {
    font-size: 14px;
  }
  .about-body .lead:first-of-type {
    grid-area: 3 / 1 / 4 / 2;
    margin: 24px 0 0;
  }
  .about-body .lead:nth-of-type(2) {
    grid-area: 4 / 1 / 5 / 2;
    margin: 14px 0 24px;
  }
  .timeline { grid-area: 5 / 1 / 6 / 2; }

  .t-row {
    grid-template-columns: auto 1fr;
    gap: 16px; padding: 12px 0;
  }
  .t-year { font-size: 10px; font-weight: 500; }
  .t-title { font-size: 17px; }
  .t-meta { grid-column: 2; font-size: 11px; }

  /* ── Social — compact proof cards ── */
  .social { padding: 24px 0; }
  .social-grid {
    grid-template-columns: 1fr;
    border: 0; background: transparent;
    gap: 8px;
  }
  .social-card {
    border: 1px solid var(--rule);
    border-radius: 12px; border-right: 1px solid var(--rule) !important;
    padding: 15px 16px;
    min-height: auto;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas:
      "head head"
      "value stat"
      "copy copy"
      "foot foot";
    gap: 9px 14px;
    background: color-mix(in srgb, var(--paper) 72%, #fff);
  }
  .social-head { grid-area: head; }
  .social-big {
    grid-area: value;
    align-self: center;
    min-width: 0;
    font-size: 34px;
  }
  .social-stat {
    grid-area: stat;
    align-self: center;
    flex-direction: column;
    align-items: flex-end;
    gap: 4px;
    padding: 0;
    border: 0;
  }
  .social-stat > span:first-child { gap: 1px !important; }
  .social-stat svg { width: 13px; height: 13px; }
  .social-num { font-size: 22px; }
  .social-lbl { font-size: 8px; text-align: right; }
  .social-copy { grid-area: copy; font-size: 12px; line-height: 1.4; }
  .social-foot { grid-area: foot; padding-top: 9px; font-size: 9px; }

  /* ── Testimonials ── */
  .testimonials { padding: 40px 0; }
  .testimonial-grid { grid-template-columns: 1fr !important; gap: 12px; }
  .testimonial-card {
    border-radius: 14px;
    padding: 20px 18px;
  }
  .testimonial-text { font-size: 15px; }
  .testimonial-stars { font-size: 15px; }

  /* ── FAQ ── */
  .faq { padding: 40px 0; }
  .faq-grid { gap: 20px; }
  .faq-grid h2 {
    font-size: 36px;
    position: static;
  }
  details summary {
    font-size: 17px;
    line-height: 1.25;
    align-items: center;
  }
  details summary .plus {
    font-size: 18px;
    color: var(--amber);
  }
  details p { font-size: 13.5px; }

  /* ── Footer — dark editorial mobile ── */
  .foot-top { grid-template-columns: 1fr; gap: 28px; }
  footer { padding: 0; border-top: 0; }
  footer .wrap {
    background: var(--ink); color: var(--paper);
    padding: 32px 18px 90px;
    max-width: 100%;
  }
  .foot-mark { color: var(--paper); }
  .foot-mark em { color: rgba(244,239,231,.55); }
  .foot-top { border-bottom-color: rgba(244,239,231,.18); padding-bottom: 28px; }
  .foot-top h3 { color: rgba(244,239,231,.55); }
  .foot-top a { color: rgba(244,239,231,.7); }
  .foot-top a:hover { color: var(--paper); }
  .footer-trust {
    grid-template-columns: 1fr;
    border-bottom-color: rgba(244,239,231,.18);
    padding: 18px 0;
  }
  .footer-trust > div,
  .footer-trust > div + div {
    padding: 12px 0;
    border-right: 0;
    border-bottom: 1px solid rgba(244,239,231,.12);
  }
  .footer-trust > div:nth-child(3) { border-bottom: 0; }
  .footer-trust strong { color: rgba(244,239,231,.82); }
  .footer-trust p {
    color: rgba(244,239,231,.58);
    border-top-color: rgba(244,239,231,.14);
    font-size: 12px;
  }
  .foot-bot {
    color: rgba(244,239,231,.55);
    padding-top: 18px;
  }
  footer .foot-giant {
    font-size: 54px;
    -webkit-text-stroke-color: rgba(244,239,231,.18);
    margin-top: 32px;
    color: transparent;
  }

  /* No floating reserve control on mobile. */
  .floater { display: none; }
}

/* ═══════════════════════════════════════════
   2026-09-09 — approved header, hero and booking direction
   Local implementation; scoped to the original homepage.
   ═══════════════════════════════════════════ */

/* Header signature */
.topbar .mark {
  gap: 11px;
  min-width: max-content;
  font-family: "Inter Tight", var(--sans);
  line-height: 1;
}
.topbar .mark-eye {
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
}
.topbar .mark-copy {
  display: grid;
  gap: 4px;
}
.topbar .mark-copy strong {
  font-size: 18px;
  font-weight: 500;
  letter-spacing: -.025em;
}
.topbar .mark-copy small {
  color: #71717a;
  font-size: 9px;
  font-weight: 500;
  letter-spacing: .2em;
  text-transform: uppercase;
}

/* Booking module */
.booking.booking-modern {
  padding: clamp(64px, 7vw, 96px) 0;
  background: var(--paper);
}
.booking-modern .wrap {
  max-width: 1220px;
}
.booking-modern .sec-head {
  align-items: end;
  gap: 36px;
}
.booking-modern .booking-eyebrow {
  display: block;
  margin-bottom: 11px;
  color: #52525b;
  font-family: "Inter Tight", var(--sans);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .17em;
  text-transform: uppercase;
}
.booking-modern .sec-head :is(h1, h2) {
  max-width: 12ch;
  font-family: "Inter Tight", var(--sans);
  font-size: clamp(34px, 4vw, 52px);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -.045em;
}
.booking-modern .sec-head :is(h1, h2) .it {
  font-family: inherit;
  font-weight: 400;
  font-style: normal;
  color: #52525b;
}
.booking-modern .sec-head p {
  color: #52525b;
  font-family: "Inter Tight", var(--sans);
  font-size: 15px;
  line-height: 1.6;
}
.booking-modern .tabs {
  margin: 26px 0 22px;
  padding: 0;
  gap: 8px;
  border: 0;
}
.booking-modern .tab {
  min-height: 42px;
  padding: 0 16px;
  border: 1px solid #d4d4d8;
  border-radius: 999px;
  background: #ffffff;
  color: #52525b;
  font-family: "Inter Tight", var(--sans);
  font-size: 12px;
  font-weight: 500;
}
.booking-modern .tab:hover {
  border-color: #a1a1aa;
  color: #18181b;
  transform: translateY(-1px);
}
.booking-modern .tab.active {
  border-color: #18181b;
  background: #18181b;
  color: #ffffff;
}
.booking-modern .tab-count {
  color: inherit;
  font-family: inherit;
  font-size: 10px;
  font-weight: 500;
}
/* Give booking the strongest elevation in the homepage action hierarchy. */
.home-page :is(.top-right, .hero-cta) > .pill:not(.ghost) {
  background: var(--reserve-button-surface);
  border-color: #272729;
  color: var(--paper);
  font-weight: 600;
  box-shadow: var(--reserve-button-relief), var(--reserve-button-shadow);
  transition: background .2s ease, box-shadow .2s ease, transform .2s ease;
}
.home-page :is(.top-right, .hero-cta) > .pill:not(.ghost):focus-visible {
  outline: 2px solid #71644d;
  outline-offset: 4px;
}
.home-page .pill.ghost,
.home-page .booking-modern .tab:not(.active) {
  background: var(--soft-button-surface);
  border-color: rgba(104, 85, 58, .08);
  color: var(--soft-button-text);
  box-shadow: var(--soft-button-relief), var(--soft-button-shadow);
  transition: background .2s ease, color .2s ease, box-shadow .2s ease, transform .2s ease;
}
.home-page .pill.ghost:hover,
.home-page .booking-modern .tab:not(.active):hover {
  color: #514e47;
}
@media (hover: hover) and (pointer: fine) {
  .home-page :is(.top-right, .hero-cta) > .pill:not(.ghost):hover {
    transform: translateY(-2px);
    box-shadow: var(--reserve-button-relief), 0 4px 3px rgba(20, 18, 16, .22), 0 14px 26px rgba(35, 29, 23, .24);
  }
  .home-page .pill.ghost:hover,
  .home-page .booking-modern .tab:not(.active):hover {
    transform: translateY(-2px);
    box-shadow: var(--soft-button-relief), 0 3px 3px rgba(104, 85, 58, .12), 0 11px 22px rgba(104, 85, 58, .13);
  }
}
.home-page :is(.top-right, .hero-cta) > .pill:not(.ghost):active {
  background: #242426;
  box-shadow: var(--reserve-button-pressed), 0 2px 4px rgba(20, 18, 16, .16);
  transform: translateY(1px);
}
.home-page .pill.ghost:active,
.home-page .booking-modern .tab:not(.active):active {
  background: var(--soft-button-hover);
  box-shadow: var(--soft-button-pressed), 0 1px 2px rgba(104, 85, 58, .08);
  transform: translateY(1px);
}
.home-page .pill.ghost:focus-visible,
.home-page .booking-modern .tab:focus-visible {
  outline: 2px solid var(--soft-button-icon);
  outline-offset: 3px;
}
.booking-modern .clinics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: 1fr;
  gap: 10px;
  border: 0;
}
.booking-modern .clinic {
  min-width: 0;
  min-height: 318px;
  padding: 20px 20px 12px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  border: 1px solid #e4e4e7;
  border-radius: 22px;
  background: #ffffff;
  box-shadow: 0 12px 32px rgba(24, 24, 27, .045);
  transition: border-color .2s, box-shadow .2s, transform .2s, opacity .2s;
}
.booking-modern .clinic:hover {
  border-color: #d4d4d8;
  box-shadow: 0 18px 42px rgba(24, 24, 27, .075);
  transform: translateY(-1px);
}
.booking-modern .clinic.dim {
  display: none;
}
.booking-modern .clinic.iopa-clinic,
.booking-modern .clinic.redsalud-clinic {
  border-color: #d4d4d8;
  background: #fafafa;
  box-shadow: 0 12px 32px rgba(24, 24, 27, .05);
}
.booking-modern .clinic-num {
  color: #71717a;
  font-family: "JetBrains Mono", var(--mono);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.booking-modern .clinic-name {
  margin-top: 5px;
  font-family: "Inter Tight", var(--sans);
  font-size: 22px;
  font-weight: 560;
  line-height: 1.02;
  letter-spacing: -.04em;
}
.booking-modern .clinic-name span {
  color: #52525b !important;
  font-family: inherit;
  font-size: .92em;
  font-weight: 400;
  font-style: normal !important;
}
.booking-modern .clinic-addr {
  margin-top: 8px;
  color: #52525b;
  font-family: "Inter Tight", var(--sans);
  font-size: 13px;
}
.booking-modern .clinic-addr a {
  border-bottom-color: #e4e4e7;
}
.booking-modern .clinic-metro {
  color: #3f3f46;
  font-family: "Inter Tight", var(--sans);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: .14em;
}
.booking-modern .clinic-metro::before {
  display: none;
}
.booking-modern .clinic-call {
  width: 42px;
  height: 42px;
  flex-basis: 42px;
  margin-top: 0;
  border-color: #18181b;
  background: #18181b;
  color: #ffffff;
  box-shadow: 0 8px 18px rgba(24, 24, 27, .16);
}
.booking-modern .clinic-actions,
.booking-modern .clinic:not(.sobrecupo) .clinic-actions {
  margin-top: auto;
  padding-top: 14px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-end;
  gap: 11px;
  border-top: 1px solid #e4e4e7;
  transform: none;
}
.booking-modern .clinic-buttons {
  display: flex;
  align-items: center;
  gap: 8px;
}
.booking-modern .clinic-buttons .clinic-call {
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  margin: 0;
}
.booking-modern .clinic.has-call .clinic-buttons .c-btn {
  flex: 1;
  min-width: 0;
}
.booking-modern .clinic-schedule {
  width: 100%;
  max-width: none;
  align-self: auto;
  gap: 8px;
}
.booking-modern .clinic-schedule-title {
  color: #71717a;
  font-family: "Inter Tight", var(--sans);
  font-size: 8px;
  font-weight: 600;
  letter-spacing: .14em;
  text-align: left;
}
.booking-modern .clinic-schedule-tags,
.booking-modern .clinic.redsalud-clinic .clinic-schedule-tags {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
}
.booking-modern .clinic-schedule-tags:not(.clinic-schedule-tags--dense) .schedule-chip:only-child,
.booking-modern .clinic.redsalud-clinic .schedule-chip {
  grid-column: auto;
}
.booking-modern .clinic.iopa-clinic .clinic-schedule-tags .schedule-chip:only-child,
.booking-modern .clinic.clinic-2020 .clinic-schedule-tags .schedule-chip:only-child {
  grid-column: 2;
}
.booking-modern .schedule-chip,
.booking-modern .schedule-chip--am,
.booking-modern .schedule-chip--pm,
.booking-modern .schedule-chip--full {
  width: 100%;
  min-width: 0;
  min-height: 28px;
  padding: 0 9px;
  display: inline-flex;
  justify-content: center;
  gap: 7px;
  border: 0;
  border-radius: 999px;
  background: #bae6fd;
  box-shadow: none;
  color: #0c4a6e;
  text-align: center;
}
.booking-modern .schedule-chip strong {
  color: #0c4a6e;
  font-family: "Inter Tight", var(--sans);
  font-size: 9px;
  font-weight: 550;
  text-transform: none;
}
.booking-modern .schedule-chip > span {
  color: #075985;
  font-family: "Inter Tight", var(--sans);
  font-size: 9px;
  font-weight: 500;
}
@media (min-width: 641px) {
  .booking-modern .clinic-schedule-tags,
  .booking-modern .clinic.redsalud-clinic .clinic-schedule-tags {
    grid-template-columns: repeat(2, max-content);
    justify-content: end;
  }
  .booking-modern .schedule-chip {
    width: auto;
    justify-self: end;
    padding-inline: 10px;
    gap: 5px;
  }
  .booking-modern .clinic.iopa-clinic .clinic-schedule-tags .schedule-chip:only-child,
  .booking-modern .clinic.clinic-2020 .clinic-schedule-tags .schedule-chip:only-child {
    grid-column: 2;
  }
}
.booking-modern .c-btn,
.booking-modern .clinic:not(.sobrecupo) .c-btn {
  width: 100%;
  min-width: 0;
  min-height: 44px;
  padding: 0 15px;
  flex: 0 0 auto;
  border: 0;
  border-radius: 999px;
  background: #b94300;
  color: #ffffff;
  box-shadow: 0 10px 22px rgba(255, 107, 26, .2);
  font-family: "Inter Tight", var(--sans);
  font-size: 12px;
  font-weight: 550;
}
.booking-modern .c-btn:hover {
  background: #9b3800;
  box-shadow: 0 13px 26px rgba(255, 107, 26, .25);
  transform: translateY(-1px);
}
.booking-modern .clinic:not(.sobrecupo) .c-btn {
  min-height: 48px;
  font-size: 16px;
  font-weight: 650;
  line-height: 1.25;
}
.booking-modern .c-btn:focus-visible {
  outline: 3px solid var(--ink);
  outline-offset: 3px;
}
.booking-modern .clinic.sobrecupo {
  grid-column: 1 / -1 !important;
  min-height: 72px;
  padding: 14px 18px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px 18px;
  border-radius: 18px;
  background: #f4f4f5;
  box-shadow: none;
}
.booking-modern .clinic.sobrecupo .sobrecupo-logo,
.booking-modern .clinic.sobrecupo .clinic-addr,
.booking-modern .clinic.sobrecupo .clinic-metro {
  display: none;
}
.booking-modern .clinic.sobrecupo .clinic-name {
  grid-column: 1;
  grid-row: 1;
  margin: 0;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.35;
  letter-spacing: -.015em;
}
.booking-modern .clinic.sobrecupo .clinic-name br {
  display: none;
}
.booking-modern .clinic.sobrecupo .clinic-name span {
  margin-left: .25em;
  font-size: inherit;
}
.booking-modern .clinic.sobrecupo .clinic-actions {
  grid-column: 2;
  grid-row: 1;
  margin: 0;
  padding: 0;
  border: 0;
}
.booking-modern .clinic.sobrecupo .sobrecupo-btn {
  width: auto;
  min-width: 0;
  min-height: 40px;
  background: #18181b !important;
  color: #ffffff !important;
  box-shadow: none;
}

@media (max-width: 980px) {
  .booking-modern .clinics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .topbar .mark-eye {
    width: 30px;
    height: 30px;
    flex-basis: 30px;
  }
  .topbar .mark-copy {
    gap: 3px;
  }
  .topbar .mark-copy strong {
    font-size: 15px;
  }
  .topbar .mark-copy small {
    font-size: 7.5px;
    letter-spacing: .18em;
  }

  .booking.booking-modern {
    padding: 42px 0;
  }
  .booking-modern .sec-head {
    display: block;
  }
  .booking-modern .booking-eyebrow {
    margin-bottom: 8px;
  }
  .booking-modern .sec-head :is(h1, h2) {
    max-width: none;
    font-size: 30px;
  }
  .booking-modern .sec-head p {
    margin-top: 12px;
    font-size: 13px;
  }
  .booking-modern .tabs {
    margin: 18px 0 12px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    overflow: visible;
    gap: 7px;
  }
  .booking-modern .tab {
    min-width: 0;
    min-height: 40px;
    padding: 0 6px;
    font-size: 10px;
  }
  .booking-modern .tab-count {
    display: inline;
    margin-left: 4px;
    font-size: 8px;
  }
  .booking-modern .clinics {
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 8px;
  }
  .booking-modern .clinic,
  .booking-modern .clinic.iopa-clinic,
  .booking-modern .clinic.redsalud-clinic {
    position: relative;
    min-height: 0;
    margin: 0;
    padding: 16px 16px 12px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 150px;
    grid-template-rows: repeat(3, auto);
    align-items: start;
    gap: 5px 12px;
    border: 1px solid #e4e4e7;
    border-radius: 16px;
    background: #ffffff;
    box-shadow: none;
    contain: layout paint;
  }
  .booking-modern .clinic.iopa-clinic {
    grid-template-columns: minmax(0, 1fr) 150px;
    background: #ffffff;
  }
  .booking-modern .clinic.clinic-2020 {
    grid-template-columns: minmax(0, 1fr) 150px;
  }
  .booking-modern .clinic-num {
    display: none;
  }
  .booking-modern .clinic-heading {
    min-width: 0;
    display: block;
    grid-column: 1;
    grid-row: 1;
  }
  .booking-modern .clinic-name,
  .booking-modern .clinic-heading .clinic-name {
    display: block;
    grid-column: 1;
    grid-row: 1;
    margin: 0;
    font-size: 19px;
  }
  .booking-modern .clinic-addr {
    display: block;
    grid-column: 1;
    grid-row: 2;
    margin: 2px 0 0;
    font-size: 11.5px;
    line-height: 1.38;
  }
  .booking-modern .clinic-metro {
    grid-column: 1;
    grid-row: 3;
    display: inline-flex;
    margin-top: 3px;
    font-size: 8px;
  }
  .booking-modern .clinic-actions,
  .booking-modern .clinic:not(.sobrecupo) .clinic-actions {
    min-width: 0;
    grid-column: 2;
    grid-row: 1 / 4;
    align-self: stretch;
    display: grid;
    grid-template-rows: auto 1fr auto;
    gap: 0;
    margin: 0;
    padding: 0;
    border: 0;
  }
  .booking-modern .clinic-schedule {
    grid-column: 1;
    grid-row: 1;
    width: 100%;
    max-width: none;
    margin: 0;
    align-self: start;
    justify-self: stretch;
    gap: 6px;
  }
  .booking-modern .clinic.iopa-clinic .clinic-schedule,
  .booking-modern .clinic.clinic-2020 .clinic-schedule {
    grid-column: 1;
    width: 100%;
    max-width: none;
  }
  .booking-modern .clinic-schedule-title {
    font-size: 7.5px;
    text-align: right;
  }
  .booking-modern .clinic-schedule-tags,
  .booking-modern .clinic.redsalud-clinic .clinic-schedule-tags {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 4px;
  }
  .booking-modern .schedule-chip,
  .booking-modern .schedule-chip--am,
  .booking-modern .schedule-chip--pm,
  .booking-modern .schedule-chip--full {
    width: 100%;
    min-height: 25px;
    padding: 0 6px;
    gap: 3px;
  }
  .booking-modern .schedule-chip strong,
  .booking-modern .schedule-chip > span {
    font-size: 7.5px;
  }
  .booking-modern .c-btn,
  .booking-modern .clinic:not(.sobrecupo) .c-btn {
    grid-column: 1;
    grid-row: 3;
    align-self: end;
    justify-self: end;
    width: 118px;
    min-width: 118px;
    height: 44px;
    min-height: 44px;
    margin: 8px 0 0;
    padding: 0 12px;
  }
  .booking-modern .clinic.iopa-clinic .c-btn,
  .booking-modern .clinic.clinic-2020 .c-btn {
    grid-column: 1;
    width: 118px;
    min-width: 118px;
  }
  .booking-modern .clinic-buttons {
    grid-column: 1;
    grid-row: 3;
    width: 162px;
    align-self: end;
    justify-self: end;
    margin-top: 8px;
  }
  .booking-modern .clinic-buttons .clinic-call {
    width: 36px;
    height: 36px;
    flex-basis: 36px;
  }
  .booking-modern .clinic.has-call .clinic-buttons .c-btn {
    flex: 0 0 118px;
    margin: 0;
  }
  .booking-modern .c-btn svg {
    display: block;
  }
  .booking-modern .clinic.sobrecupo {
    margin: 0;
    padding: 15px 16px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 118px;
    grid-template-rows: auto auto;
    gap: 8px 12px;
    align-items: center;
    border: 1px solid #e4e4e7 !important;
    border-radius: 16px;
    background: #ffffff;
  }
  .booking-modern .clinic.sobrecupo .sobrecupo-logo {
    grid-column: 1;
    grid-row: 1;
    display: flex;
    align-items: center;
    min-width: 0;
    margin: 0;
  }
  .booking-modern .clinic.sobrecupo .sobrecupo-logo img {
    display: block;
    width: min(132px, 100%);
    height: auto;
  }
  .booking-modern .clinic.sobrecupo .clinic-name {
    grid-column: 1;
    grid-row: 2;
    font-size: 12px;
  }
  .booking-modern .clinic.sobrecupo .clinic-name br {
    display: block;
  }
  .booking-modern .clinic.sobrecupo .clinic-name span {
    display: inline-block;
    margin-left: 0;
  }
  .booking-modern .clinic.sobrecupo .clinic-actions {
    grid-column: 2;
    grid-row: 1 / 3;
    align-self: center;
    display: flex;
  }
  .booking-modern .clinic.sobrecupo .sobrecupo-btn {
    width: 118px;
    min-width: 118px;
    height: 36px;
    min-height: 36px;
    margin: 0;
    position: relative;
    justify-content: center;
    background: #18181b !important;
    font-size: 10px;
  }
  .booking-modern .clinic.sobrecupo .sobrecupo-btn svg {
    position: absolute;
    right: 12px;
  }
}

@media (max-width: 360px) {
  .booking-modern .clinic,
  .booking-modern .clinic.iopa-clinic,
  .booking-modern .clinic.redsalud-clinic,
  .booking-modern .clinic.clinic-2020 {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: repeat(4, auto);
  }
  .booking-modern .clinic-name,
  .booking-modern .clinic-heading .clinic-name,
  .booking-modern .clinic-addr,
  .booking-modern .clinic-metro {
    grid-column: 1 / -1;
  }
  .booking-modern .clinic-schedule,
  .booking-modern .clinic.iopa-clinic .clinic-schedule,
  .booking-modern .clinic.clinic-2020 .clinic-schedule {
    grid-column: 1 / -1;
    grid-row: 1;
    width: 100%;
    max-width: none;
    margin-top: 7px;
  }
  .booking-modern .clinic-actions,
  .booking-modern .clinic:not(.sobrecupo) .clinic-actions {
    grid-column: 1;
    grid-row: 4;
    grid-template-columns: minmax(0, 1fr) 118px;
    grid-template-rows: auto auto;
    gap: 8px;
  }
  .booking-modern .c-btn,
  .booking-modern .clinic:not(.sobrecupo) .c-btn,
  .booking-modern .clinic.iopa-clinic .c-btn,
  .booking-modern .clinic.clinic-2020 .c-btn {
    grid-column: 2;
    grid-row: 2;
  }
  .booking-modern .clinic-buttons {
    grid-column: 1 / -1;
    grid-row: 2;
    margin-top: 0;
  }
}

/* Mobile-only section disclosures. Their wrappers use display: contents on larger
   screens, so the existing desktop layout and section surfaces remain unchanged. */
.mobile-section-trigger { display: none; }
.mobile-section-shell,
.mobile-section-panel,
.mobile-section-inner { display: contents; }

@media (min-width: 641px) {
  .services { padding: 64px 0; }
  .services .sec-head h2 { font-size: clamp(36px, 4vw, 52px); }
  .srv { gap: 16px; }
  .srv-card {
    min-height: 0;
    padding: 24px;
    gap: 14px;
    border-radius: 22px;
  }
  .srv-card:hover { transform: translateY(-3px); }
  .srv-num { min-height: 30px; padding-right: 42px; font-size: 10px; }
  .srv-title { margin-top: 0; font-size: 28px; font-weight: 500; }
  .srv-body { font-size: 14.5px; line-height: 1.5; }
  .srv-foot { margin-top: auto; padding-top: 16px; gap: 12px; }
  .srv-tags { font-size: 10px; }
  .srv-arrow { width: 32px; height: 32px; flex: none; }
  .srv-diagram { top: 22px; right: 22px; width: 40px; height: 40px; opacity: .45; }
}

@media (min-width: 981px) {
  .hero-grid {
    grid-template-columns: .95fr 1.05fr;
    gap: 32px;
    align-items: center;
  }
  .hero-visual { min-width: 0; justify-content: flex-end; }
  .portrait {
    max-width: 620px;
    aspect-ratio: 560 / 540;
    transform: none;
  }
  .hero-visual .iris-mark { display: none; }
}

@media (max-width: 640px) {
  html.is-mobile-reveal-scrolling {
    scroll-behavior: auto;
    overflow-anchor: none;
  }
  .strip { display: none; }
  .hero .hero-cta { display: none; }

  .mobile-disclosure.mobile-disclosure-ready {
    --mobile-panel-bg: var(--paper);
    padding: 9px 0 !important;
    overflow: visible;
    border: 0 !important;
    background: var(--paper) !important;
    color: var(--ink);
  }
  .mobile-disclosure.mobile-disclosure-ready + .mobile-disclosure { border-top: 0; }
  .mobile-disclosure.mobile-disclosure-ready .mobile-section-shell {
    width: auto;
    margin-block: 0;
    margin-inline: max(34px, calc(50% - 144px));
    display: block;
    overflow: clip;
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 999px;
    background: #454549;
    box-shadow: 0 7px 20px rgba(24,24,27,.12);
    transform: translateZ(0);
    transition:
      margin-left .42s cubic-bezier(.32, .72, 0, 1),
      margin-right .42s cubic-bezier(.32, .72, 0, 1),
      border-radius .38s cubic-bezier(.32, .72, 0, 1),
      box-shadow .3s ease;
  }
  .mobile-disclosure.mobile-disclosure-ready:is(.is-open, .is-closing) .mobile-section-shell {
    margin-inline: 8px;
    border-radius: 22px;
    box-shadow: 0 18px 46px rgba(24,24,27,.18);
  }
  .mobile-section-trigger {
    --press-wave-color: 176, 138, 70;
    position: relative;
    overflow: hidden;
    isolation: isolate;
    width: 100%;
    min-height: 58px;
    padding: 0 18px 0 21px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    color: #fafafa;
    background: #454549;
    border-radius: inherit;
    font-family: "Inter Tight", var(--sans);
    font-size: 17px;
    font-weight: 500;
    letter-spacing: -.025em;
    line-height: 1.1;
    text-align: left;
    scroll-margin-top: 78px;
    -webkit-tap-highlight-color: transparent;
    transition: background .24s ease, border-radius .36s cubic-bezier(.32, .72, 0, 1);
  }
  .mobile-disclosure:is(.is-open, .is-closing) .mobile-section-trigger {
    border-radius: 22px 22px 0 0;
  }
  .mobile-section-trigger:active { background: #3b3b3f; }
  .mobile-section-trigger:focus-visible {
    outline: 2px solid #ffffff;
    outline-offset: -5px;
  }
  .mobile-section-title {
    position: relative;
    z-index: 1;
    pointer-events: none;
  }
  .mobile-section-ripple {
    position: absolute;
    z-index: 0;
    border-radius: 50%;
    pointer-events: none;
    background: radial-gradient(circle, rgba(var(--press-wave-color), .12) 0%, rgba(var(--press-wave-color), .3) 42%, rgba(var(--press-wave-color), .5) 58%, rgba(var(--press-wave-color), 0) 72%);
    transform: translate(-50%, -50%) scale(0);
    opacity: 0;
  }
  .mobile-section-icon {
    position: relative;
    z-index: 1;
    pointer-events: none;
    width: 28px;
    height: 28px;
    flex: 0 0 28px;
    border-radius: 50%;
    background: rgba(255,255,255,.1);
    transition: background .24s ease;
  }
  .mobile-section-cross {
    position: absolute;
    inset: 0;
    transform: rotate(0deg);
    transition: transform .72s cubic-bezier(.34, 1.35, .3, 1);
  }
  .mobile-section-cross::before,
  .mobile-section-cross::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    width: 12px;
    height: 1.5px;
    border-radius: 2px;
    background: currentColor;
    transform: translate(-50%, -50%);
  }
  .mobile-section-cross::after { transform: translate(-50%, -50%) rotate(90deg); }
  .mobile-section-trigger[aria-expanded="true"] .mobile-section-cross {
    transform: rotate(225deg);
  }
  .mobile-section-trigger[aria-expanded="true"] .mobile-section-icon {
    background: rgba(255,255,255,.16);
  }
  .home-page .booking.mobile-disclosure-ready .mobile-section-shell {
    background: #171719;
    border-color: #272729;
    box-shadow: var(--reserve-button-shadow);
  }
  .home-page .booking.mobile-disclosure-ready .mobile-section-trigger {
    --press-wave-color: 250, 226, 180;
    min-height: 64px;
    font-size: 18px;
    font-weight: 600;
    color: var(--paper);
    background: var(--reserve-button-surface);
    box-shadow: var(--reserve-button-relief);
    transition: background .2s ease, box-shadow .2s ease, border-radius .36s cubic-bezier(.32, .72, 0, 1);
  }
  .home-page .booking.mobile-disclosure-ready .mobile-section-trigger:active {
    background: #242426;
    box-shadow: var(--reserve-button-pressed);
  }
  .home-page .booking.mobile-disclosure-ready .mobile-section-trigger:focus-visible {
    outline-color: var(--paper);
  }
  .home-page .booking.mobile-disclosure-ready .mobile-section-icon {
    width: 32px;
    height: 32px;
    flex-basis: 32px;
    background: linear-gradient(155deg, #fcfbf7, #ddd5c8);
    color: #171719;
    box-shadow: inset 0 1px 1px rgba(255, 255, 255, .9), 0 2px 4px rgba(0, 0, 0, .3);
  }
  .mobile-disclosure.mobile-disclosure-ready:not(.booking) .mobile-section-shell {
    border-color: rgba(104, 85, 58, .08);
    background: var(--paper-deep);
    box-shadow: var(--soft-button-shadow);
  }
  .mobile-disclosure.mobile-disclosure-ready:not(.booking) .mobile-section-trigger {
    color: var(--soft-button-text);
    background: var(--soft-button-surface);
    box-shadow: var(--soft-button-relief);
    transition: background .2s ease, box-shadow .2s ease, border-radius .36s cubic-bezier(.32, .72, 0, 1);
  }
  .mobile-disclosure.mobile-disclosure-ready:not(.booking) .mobile-section-trigger:active {
    background: var(--soft-button-hover);
    box-shadow: var(--soft-button-pressed);
  }
  .mobile-disclosure.mobile-disclosure-ready:not(.booking) .mobile-section-trigger:focus-visible {
    outline-color: var(--soft-button-icon);
  }
  .mobile-disclosure.mobile-disclosure-ready:not(.booking) .mobile-section-icon {
    background: linear-gradient(160deg, #303033, var(--soft-button-icon) 70%);
    color: var(--paper-deep);
    box-shadow: inset 0 1px 1px rgba(255, 255, 255, .22), 0 2px 3px rgba(10, 10, 12, .2);
  }
  .mobile-disclosure.mobile-disclosure-ready:not(.booking) .mobile-section-trigger[aria-expanded="true"] .mobile-section-icon {
    background: linear-gradient(160deg, #303033, var(--soft-button-icon) 70%);
  }
  .mobile-disclosure.mobile-disclosure-ready .mobile-section-panel {
    height: 0;
    display: block;
    overflow: hidden;
    visibility: hidden;
    pointer-events: none;
    background: var(--mobile-panel-bg);
    border-top: 1px solid rgba(24,24,27,.08);
  }
  .mobile-disclosure.mobile-disclosure-ready .mobile-section-panel[hidden] {
    display: none !important;
  }
  .mobile-disclosure.mobile-disclosure-ready:is(.is-open, .is-closing) .mobile-section-panel {
    visibility: visible;
  }
  .mobile-disclosure.mobile-disclosure-ready.is-content-open .mobile-section-panel {
    pointer-events: auto;
  }
  .mobile-disclosure.mobile-disclosure-ready .mobile-section-inner {
    width: calc(100vw - 18px);
    max-width: calc(100vw - 18px);
    min-height: 0;
    display: block;
    overflow: hidden;
    visibility: hidden;
    opacity: 0;
    transform: translateY(-6px);
    color: var(--ink);
    background: var(--mobile-panel-bg);
    transition:
      opacity .18s ease,
      transform .28s cubic-bezier(.4, 0, 1, 1);
  }
  .mobile-disclosure.mobile-disclosure-ready.is-content-open .mobile-section-inner {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
    transition:
      opacity .34s ease .05s,
      transform .48s cubic-bezier(.22, .61, .36, 1);
  }
  .mobile-disclosure.mobile-disclosure-ready .mobile-section-inner > .wrap {
    padding-top: 30px;
    padding-bottom: 34px;
  }
  .blog-home.mobile-disclosure-ready,
  .social.mobile-disclosure-ready { --mobile-panel-bg: var(--paper-deep); }
  .about.mobile-disclosure-ready .mobile-section-inner > .wrap { padding-top: 18px; }
  .faq.mobile-disclosure-ready { padding-bottom: 8px !important; }
  .faq.mobile-disclosure-ready .mobile-section-inner > .wrap { padding-top: 28px; }

  main > .hero-stats {
    max-width: none;
    margin: 12px 18px 22px;
    background: var(--paper);
  }
  main > .mobile-footer-note {
    margin: 0;
    padding: 30px 0 32px;
    border-top: 0;
    border-bottom-color: rgba(255,255,255,.14);
    background: #59595d;
  }
  main > .mobile-footer-note .wrap { gap: 0; }
  main > .mobile-footer-note .pull-attr {
    margin-bottom: 12px;
    font-size: 9.5px;
  }
  main > .mobile-footer-note .pull-quote {
    max-width: 13ch;
    font-size: 26px;
    font-weight: 600;
    line-height: 1.08;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .home-page :is(.top-right, .hero-cta) > .pill:not(.ghost),
  .home-page .pill.ghost,
  .home-page .booking-modern .tab {
    transform: none !important;
    transition: none !important;
  }
  .mobile-section-shell,
  .mobile-section-panel,
  .mobile-section-inner,
  .mobile-section-trigger,
  .mobile-section-icon,
  .mobile-section-cross {
    transition: none !important;
  }
  .mobile-section-ripple { display: none !important; }
}

/* Keep filter state authoritative after responsive card layout rules. */
.booking-modern .clinic.dim {
  display: none;
}

/* Light neutral footer. */
.site-footer {
  --ink: #27272a;
  --ink-soft: #3f3f46;
  --ink-muted: #52525b;
  --rule: #a1a1aa;
  --rule-soft: #bcbcc2;
  background: #e8e8eb;
  color: var(--ink);
}
.site-footer > .wrap { background: transparent; }
.site-footer .foot-mark { color: var(--ink); }
.site-footer :is(.foot-mark em, .foot-top h3, .foot-bot, .footer-trust p) {
  color: var(--ink-muted);
}
.site-footer :is(.foot-top a, .footer-trust strong) { color: var(--ink-soft); }
.site-footer .foot-top a:hover { color: var(--ink); }
.site-footer .footer-trust strong a { text-decoration-color: #8f8f98; }
.site-footer .foot-giant { -webkit-text-stroke-color: var(--rule); }

@media (max-width: 640px) {
  .site-footer {
    --ink-soft: #3f3f46;
    --ink-muted: #52525b;
    border-top: 1px solid rgba(39,39,42,.14);
    background: #e8e8eb;
  }
  .site-footer > .wrap {
    padding: 18px 18px calc(24px + env(safe-area-inset-bottom));
  }
  .site-footer .foot-top { display: none; }
  .site-footer .footer-trust {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
    column-gap: 14px;
    padding: 12px 0;
    border-bottom-color: rgba(39,39,42,.14);
  }
  .site-footer .footer-trust > div,
  .site-footer .footer-trust > div + div {
    padding: 8px 0;
    border: 0;
  }
  .site-footer .footer-trust > div:first-child {
    grid-column: 1 / -1;
    padding-top: 0;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(39,39,42,.14);
  }
  .site-footer .footer-trust > div:nth-child(2) {
    padding-right: 10px;
    border-right: 1px solid rgba(39,39,42,.14);
  }
  .site-footer .trust-label {
    margin-bottom: 4px;
    font-size: 9.5px;
  }
  .site-footer .footer-trust strong {
    font-size: 12.25px;
    line-height: 1.3;
  }
  .site-footer .footer-trust p {
    margin-top: 8px;
    padding-top: 10px;
    border-top-color: rgba(39,39,42,.14);
    font-size: 11.5px;
    line-height: 1.45;
  }
  .site-footer .foot-bot {
    display: grid;
    gap: 3px;
    padding-top: 12px;
    font-size: 11px;
  }
  .site-footer .foot-giant { display: none; }
}

/* Clear professional heading on both mobile and desktop. */
.hero .hero-heading { display: block; max-width: 34ch; margin: 24px 0 0; font-family: var(--sans); font-size: clamp(19px, 1.7vw, 25px); line-height: 1.25; font-weight: 600; letter-spacing: -.025em; color: var(--ink); }
.hero-heading + .hero-lede { margin-top: 12px; }
.footer-location { color: inherit; text-decoration: underline; text-underline-offset: 4px; }
.footer-location:focus-visible, .professional-links a:focus-visible { outline: 2px solid var(--amber); outline-offset: 4px; }
.about-img picture { display: block; width: 100%; height: 100%; }
.professional-links { display: grid; gap: 10px; margin: 22px 0; font-size: 14px; line-height: 1.6; }
.professional-links a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 640px) { .hero .hero-heading { margin-top: 16px; font-size: 20px; } }

.telemedicine-info-link { text-decoration: underline; text-underline-offset: 3px; }

/* Text references stay readable without fixed social counters. */
.hero-stats .n-label { font-size: clamp(16px, 2.2vw, 24px); line-height: 1.2; }
.social-big.social-word { font-size: clamp(32px, 3.4vw, 48px); overflow-wrap: anywhere; }

/* Phone-only markup for the mobile homepage (assets/home-mobile.css shows it). */
.m-only { display: none; }

/* Opinions heading: a real h2, styled as the small section label. */
.social-title {
  margin: 0 0 16px;
  color: var(--ink-muted);
  font: 500 11px/1.3 var(--mono);
  letter-spacing: .12em;
  text-transform: uppercase;
}
@media (max-width: 640px) { .social-title { margin-bottom: 10px; } }

/* The hero h1 carries the specialty and city: balance its two lines. */
.hero .hero-heading { text-wrap: balance; }

/* FAQ answers link to guides and local pages: make those links visible. */
.faq-list p a { text-decoration: underline; text-underline-offset: 3px; }

/* Key facts under the timeline: a short, quotable profile. */
.about-facts { margin: 36px 0 0; }
.about-facts h3 { margin: 0 0 12px; color: var(--ink-muted); font: 500 11px/1.3 var(--mono); letter-spacing: .12em; text-transform: uppercase; }
.about-facts dl { margin: 0; border-top: 1px solid var(--rule); }
.about-facts dl > div { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 24px; padding: 12px 0; border-bottom: 1px solid var(--rule-soft); align-items: baseline; }
.about-facts dt { color: var(--ink-muted); font-family: var(--mono); font-size: 12px; letter-spacing: .06em; }
.about-facts dd { margin: 0; color: var(--ink-soft); font-size: 15px; line-height: 1.5; }
.about-facts a { text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 640px) {
  .about-facts { margin: 18px 0 0; }
  .about-facts dl > div { grid-template-columns: 104px minmax(0, 1fr); gap: 10px; padding: 10px 0; }
  .about-facts dd { font-size: 13.5px; }
}

/* Hero credential line: who he is, in one quotable sentence under the greeting. */
.hero .hero-credential { max-width: 52ch; margin: 12px 0 0; color: var(--ink-muted); font-size: 13.5px; line-height: 1.5; }

/* Ojoz: acceso secundario en el hero, bajo «Reservar hora». Superficie crema como los botones suaves; el ojo animado lo identifica. */
.hero-ojoz {
  margin-top: 14px;
  display: inline-flex; align-items: center; gap: 12px;
  padding: 7px 18px 7px 7px; border-radius: 999px;
  background: var(--soft-button-surface, #f4f1ec);
  border: 1px solid rgba(104, 85, 58, .08);
  box-shadow: var(--soft-button-relief, none), var(--soft-button-shadow, 0 4px 12px rgba(15, 23, 42, .08));
  color: var(--ink); text-decoration: none;
  font-family: "Inter Tight", var(--sans);
  transition: transform .2s ease, box-shadow .2s ease;
}
.hero-ojoz-eye { display: inline-grid; flex: none; width: 36px; height: 36px; }
.hero-ojoz-text { display: grid; gap: 2px; line-height: 1.15; text-align: left; }
.hero-ojoz-text strong { font-size: 14px; font-weight: 600; letter-spacing: -.01em; }
.hero-ojoz-text small { font-family: var(--mono); font-size: 10px; font-weight: 500; letter-spacing: .04em; text-transform: uppercase; color: #0b7a83; }
.hero-ojoz-arrow { margin-left: 4px; color: #0b7a83; font-size: 16px; transition: transform .2s ease; }
@media (hover: hover) and (pointer: fine) {
  .hero-ojoz:hover { transform: translateY(-2px); box-shadow: var(--soft-button-relief, none), 0 3px 3px rgba(104, 85, 58, .12), 0 11px 22px rgba(104, 85, 58, .13); }
  .hero-ojoz:hover .hero-ojoz-arrow { transform: translateX(3px); }
}
.hero-ojoz:active { transform: translateY(1px); }
.hero-ojoz:focus-visible { outline: 2px solid var(--soft-button-icon, #0a0a0c); outline-offset: 3px; }
@media (max-width: 640px) { .hero .hero-ojoz { display: none; } }

/* Source: reserva/telemedicina.css */
/* Shared booking option and the telemedicine request form. */
.telemedicine-option {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  margin-top: 12px;
  padding: 16px;
  border: 1px solid #cbdcf2;
  border-radius: 16px;
  background: #f1f6fc;
  font-family: "Inter Tight", var(--sans);
}
.telemedicine-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  flex: none;
  border: 1px solid #d8e5f5;
  border-radius: 14px;
  color: #254f87;
  background: #ffffff;
}
.telemedicine-option > .telemedicine-icon { width: 34px; height: 34px; border-radius: 10px; }
.telemedicine-option > .telemedicine-icon svg { width: 20px; height: 20px; }
.telemedicine-option-heading { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; }
.telemedicine-option-heading :is(h2, h3) {
  margin: 0;
  font-size: 18px;
  font-weight: 550;
  line-height: 1.2;
  letter-spacing: -.035em;
}
.telemedicine-tag {
  display: inline-block;
  padding: 3px 9px;
  border-radius: 999px;
  color: #35577e;
  background: #e0ebf8;
  font-size: 10px;
  font-weight: 600;
  line-height: 1.5;
}
.telemedicine-option .telemedicine-tag { padding: 2px 7px; font-size: 9px; }
.telemedicine-option-copy p { max-width: 58ch; margin-top: 4px; color: #475569; font-size: 12px; line-height: 1.4; }
.telemedicine-prices {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  max-width: 340px;
  margin-top: 16px;
}
.telemedicine-prices > div { padding: 10px 12px; border: 1px solid #d8e5f5; border-radius: 10px; background: #ffffff; }
.telemedicine-prices dt { color: #475569; font-size: 11px; line-height: 1.4; }
.telemedicine-prices dd { margin-top: 4px; color: #254f87; font-size: 20px; font-weight: 600; letter-spacing: -.025em; line-height: 1.2; }
.telemedicine-intro .telemedicine-prices { max-width: none; margin-top: 24px; }
.telemedicine-option .telemedicine-prices { max-width: 300px; margin-top: 9px; gap: 14px; }
.telemedicine-option .telemedicine-prices > div { display: flex; flex-direction: column; padding: 0; border: 0; border-radius: 0; background: none; }
.telemedicine-option .telemedicine-prices dd { margin-top: auto; padding-top: 2px; font-size: 16px; }
.telemedicine-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 46px;
  padding: 11px 20px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: #254f87;
  color: #ffffff;
  font: 500 13px/1.4 "Inter Tight", var(--sans);
  text-align: center;
  cursor: pointer;
  transition: background .2s;
}
.telemedicine-button svg { flex: none; }
.telemedicine-option > .telemedicine-button { min-height: 44px; padding: 8px 14px; gap: 8px; font-size: 12px; }
.telemedicine-button:hover { background: #193a68; }
.telemedicine-button:disabled { background: #e2e8f0; color: #475569; cursor: not-allowed; }
.telemedicine-button--secondary { background: #ffffff; color: #334155; border-color: #cbd5e1; }
.telemedicine-button--secondary:hover { background: #f1f5f9; }
.telemedicine-button--raised {
  min-height: 54px;
  border-color: #080808;
  background: linear-gradient(180deg, #333333 0%, #141414 48%, #080808 100%);
  color: #ffffff;
  font-size: 14px;
  font-weight: 600;
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 20%), 0 4px 0 #000000, 0 9px 18px rgb(0 0 0 / 18%);
  transition: transform .15s ease, box-shadow .15s ease;
}
.telemedicine-button--raised:hover:not(:disabled) {
  background: linear-gradient(180deg, #3c3c3c 0%, #1c1c1c 48%, #101010 100%);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 24%), 0 5px 0 #000000, 0 11px 20px rgb(0 0 0 / 20%);
  transform: translateY(-1px);
}
.telemedicine-button--raised:active:not(:disabled) {
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 15%), 0 1px 0 #000000, 0 3px 8px rgb(0 0 0 / 16%);
  transform: translateY(3px);
}
.telemedicine-button--raised:disabled {
  border-color: #242424;
  background: linear-gradient(180deg, #292929, #171717);
  color: #a1a1aa;
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 10%), 0 2px 0 #0a0a0a, 0 4px 8px rgb(0 0 0 / 10%);
}
.telemedicine-option a:focus-visible,
.telemedicine-page :is(a, button, input, select, [tabindex="-1"]):focus-visible {
  outline: 3px solid #2563eb;
  outline-offset: 4px;
}

/* The two alternative booking paths share one balanced desktop row. */
.booking-extras {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: stretch;
  gap: 10px;
  margin-top: 12px;
}
@media (min-width: 641px) {
  .booking-extras > :is(.clinic.sobrecupo, .telemedicine-option) {
    width: 100%;
    min-width: 0;
    min-height: 162px;
    height: 100%;
    margin: 0;
    padding: 18px;
    border-radius: 18px;
    box-shadow: none;
  }
  .booking-modern .booking-extras .clinic.sobrecupo {
    grid-column: auto !important;
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-rows: auto auto auto;
    align-items: center;
    gap: 5px 18px;
    border: 1px solid #dedee3;
    background: #f6f6f7;
  }
  .booking-modern .booking-extras .clinic.sobrecupo .sobrecupo-logo {
    grid-column: 1;
    grid-row: 1;
    display: flex;
    align-items: center;
    margin: 0 0 5px;
  }
  .booking-modern .booking-extras .clinic.sobrecupo .sobrecupo-logo img {
    width: min(136px, 100%);
    height: auto;
  }
  .booking-modern .booking-extras .clinic.sobrecupo .clinic-name {
    grid-column: 1;
    grid-row: 2;
    margin: 0;
    font-size: 17px;
    line-height: 1.18;
  }
  .booking-modern .booking-extras .clinic.sobrecupo .clinic-name br {
    display: block;
  }
  .booking-modern .booking-extras .clinic.sobrecupo .clinic-name span {
    display: inline-block;
    margin: 2px 0 0;
    font-size: .94em;
  }
  .booking-modern .booking-extras .clinic.sobrecupo .clinic-addr {
    grid-column: 1;
    grid-row: 3;
    display: block;
    margin: 2px 0 0;
    color: #52525b;
    font-size: 12px;
  }
  .booking-modern .booking-extras .clinic.sobrecupo .clinic-metro {
    display: none;
  }
  .booking-modern .booking-extras .clinic.sobrecupo .clinic-actions {
    grid-column: 2;
    grid-row: 1 / 4;
    align-self: center;
    margin: 0;
    padding: 0;
    border: 0;
  }
  .booking-modern .booking-extras .clinic.sobrecupo .sobrecupo-btn {
    width: 142px;
    min-width: 142px;
    min-height: 44px;
    justify-content: center;
  }
  .booking-extras > .telemedicine-option {
    grid-template-columns: 38px minmax(0, 1fr) auto;
    gap: 15px;
    border-color: #cbdcf2;
    background: #f1f6fc;
  }
  .booking-extras > .telemedicine-option > .telemedicine-icon {
    width: 38px;
    height: 38px;
    border-radius: 11px;
  }
  .booking-extras > .telemedicine-option .telemedicine-prices {
    max-width: 320px;
  }
  .booking-extras > .telemedicine-option > .telemedicine-button {
    width: 118px;
    min-width: 118px;
    min-height: 44px;
  }
}
.telemedicine-main { max-width: 1100px; margin-inline: auto; padding: 52px var(--pad) 72px; }
.telemedicine-back { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; color: #475569; font-size: 13px; }
.telemedicine-page :is(#solicitud, #booking-options, #after-hours-form-title) { scroll-margin-top: 100px; }
.telemedicine-layout { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 64px; align-items: start; margin-top: 28px; }
.telemedicine-continuation { display: grid; gap: 24px; min-width: 0; }
.telemedicine-booking-options { padding: 28px; border: 1px solid #cbdcf2; border-radius: 24px; background: #f1f6fc; }
.telemedicine-booking-options p { color: #475569; font-size: 13px; line-height: 1.65; }
.telemedicine-booking-actions { display: grid; gap: 16px; }
.telemedicine-booking-actions .telemedicine-button { width: 100%; }
.telemedicine-booking-options .telemedicine-booking-help { margin-top: 18px; font-size: 12px; }
.telemedicine-intro .telemedicine-icon { width: 56px; height: 56px; margin-bottom: 24px; background: #f1f6fc; }
.telemedicine-eyebrow { display: block; color: #475569; font-size: 10px; font-weight: 600; text-transform: uppercase; letter-spacing: .16em; }
.telemedicine-request-heading { margin: 14px 0 18px; font-size: clamp(30px, 3.5vw, 42px); font-weight: 500; letter-spacing: -.045em; line-height: 1.08; }
.telemedicine-request-heading span { color: #254f87; }
.telemedicine-intro > p { color: #475569; font-size: 15px; line-height: 1.65; }
.telemedicine-dialog-open { overflow: hidden; }
.telemedicine-dialog {
  position: fixed;
  inset: 0;
  width: min(520px, calc(100% - 32px));
  max-height: calc(100dvh - 32px);
  margin: auto;
  padding: 28px;
  overflow-y: auto;
  overscroll-behavior: contain;
  border: 1px solid #e2e8f0;
  border-radius: 24px;
  background: #ffffff;
  color: #0f172a;
  box-shadow: 0 24px 80px rgb(15 23 42 / 22%);
  font-family: "Inter Tight", var(--sans);
}
.telemedicine-dialog::backdrop { background: rgb(15 23 42 / 48%); }
.telemedicine-dialog-close {
  position: absolute;
  top: 12px;
  right: 12px;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: #475569;
  cursor: pointer;
}
.telemedicine-dialog-close:hover { background: #f1f5f9; }
.telemedicine-dialog-continue { width: 100%; margin-top: 24px; }
.telemedicine-info h2 { margin: 0 0 20px; padding-right: 36px; font-size: 23px; font-weight: 550; letter-spacing: -.025em; line-height: 1.25; }
.telemedicine-info p { color: #475569; font-size: 13px; line-height: 1.65; }
.telemedicine-info p + p { margin-top: 12px; }
.telemedicine-form-card { min-width: 0; padding: 28px; border: 1px solid #e2e8f0; border-radius: 24px; background: #ffffff; }
.telemedicine-preview-note { margin-bottom: 24px; padding: 14px 16px; border-radius: 12px; background: #f1f6fc; color: #334155; font-size: 12px; line-height: 1.55; }
.telemedicine-preview-note strong { display: block; margin-bottom: 3px; font-weight: 600; }
.telemedicine-form-card h2 { margin-bottom: 6px; font-size: 23px; font-weight: 550; letter-spacing: -.025em; line-height: 1.25; }
.telemedicine-form-card > h2 { margin-bottom: 20px; }
.telemedicine-form-card h3 { margin-bottom: 6px; font-size: 18px; font-weight: 550; letter-spacing: -.025em; line-height: 1.25; }
.telemedicine-form-help { margin-bottom: 24px; color: #64748b; font-size: 12px; }
.telemedicine-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 14px; }
.telemedicine-honeypot { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.telemedicine-field { display: flex; flex-direction: column; min-width: 0; gap: 7px; }
.telemedicine-field--full { grid-column: 1 / -1; }
.telemedicine-field label { font-size: 13px; font-weight: 550; }
.telemedicine-field label span { color: #64748b; font-size: 11px; font-weight: 400; }
.telemedicine-field :is(input, select) {
  width: 100%;
  min-width: 0;
  min-height: 48px;
  padding: 11px 12px;
  border: 1px solid #cbd5e1;
  border-radius: 10px;
  color: #0f172a;
  background: #ffffff;
  font: 400 16px/1.4 "Inter Tight", var(--sans);
}
.telemedicine-field input::placeholder { color: #64748b; }
.telemedicine-field small { color: #64748b; font-size: 11px; line-height: 1.5; }
.telemedicine-consent { display: flex; align-items: flex-start; gap: 10px; margin: 22px 0; padding-block: 4px; font-size: 12px; line-height: 1.55; cursor: pointer; }
.telemedicine-consent input { width: 18px; height: 18px; margin-top: 1px; flex: none; accent-color: #254f87; }
.telemedicine-information-check { padding: 16px; margin-top: 22px; border: 1px solid #cbdcf2; border-radius: 12px; background: #f1f6fc; }
.telemedicine-information-check .telemedicine-consent { margin: 12px 0 0; padding: 0; }
.telemedicine-info .telemedicine-information-hint { font-size: 12px; }
.telemedicine-form-card .telemedicine-button { width: 100%; }
.telemedicine-review-list { margin: 22px 0; }
.telemedicine-review-list > div { padding-block: 12px; border-bottom: 1px solid #e2e8f0; }
.telemedicine-review-list dt { color: #64748b; font-size: 11px; }
.telemedicine-review-list dd { margin-top: 3px; font-size: 15px; overflow-wrap: anywhere; }
.telemedicine-review-notice { margin: 20px 0; color: #475569; font-size: 13px; line-height: 1.6; }
.telemedicine-review-actions { display: flex; flex-direction: column; gap: 10px; }
#send-status:empty { display: none; }
#send-status[data-error="true"] { color: #9f1239; }
#success-reference { overflow-wrap: anywhere; }
.telemedicine-page [hidden] { display: none !important; }

@media (max-width: 800px) {
  .telemedicine-option { gap: 12px; padding: 14px; }
  .telemedicine-layout { gap: 32px; }
  .telemedicine-form-card { padding: 22px; }
}
@media (max-width: 640px) {
  .booking-extras {
    grid-template-columns: minmax(0, 1fr);
    gap: 8px;
    margin-top: 8px;
  }
  .booking-extras > :is(.clinic.sobrecupo, .telemedicine-option) {
    min-height: 0;
    height: auto;
  }
  .telemedicine-option { grid-template-columns: minmax(0, 1fr) auto; }
  .telemedicine-icon { width: 42px; height: 42px; border-radius: 12px; }
  .telemedicine-option > .telemedicine-icon { display: none; }
  .telemedicine-option-heading { gap: 6px 8px; }
  .telemedicine-option > .telemedicine-button { grid-column: 2; grid-row: 1; width: auto; justify-self: end; }
  .telemedicine-main { padding-top: 20px; padding-bottom: 40px; }
  .telemedicine-layout { grid-template-columns: minmax(0, 1fr); gap: 26px; margin-top: 18px; }
  .telemedicine-intro .telemedicine-icon { display: none; }
  .telemedicine-request-heading { max-width: 18ch; margin-top: 12px; font-size: 32px; }
  .telemedicine-intro > p { font-size: 14px; }
  .telemedicine-dialog { padding: 24px 20px; border-radius: 18px; }
  .telemedicine-form-card { padding: 20px; border-radius: 18px; }
  .telemedicine-booking-options { padding: 20px; border-radius: 18px; }
  .telemedicine-fields { grid-template-columns: minmax(0, 1fr); }
}
@media (prefers-reduced-motion: reduce) {
  .telemedicine-button { transition: none; }
}
