/* =============================================================
   1. Tokens
   ============================================================= */
:root {
  --cream:      #FAF7F2;
  --cream-2:    #F0EAE0;
  --petrol:     #1A3142;
  --petrol-2:   #243F54;
  --petrol-3:   #2E4F6B;
  --terra:      #C99B6E;
  --terra-2:    #B0855A;
  --terra-pale: #F5EEE5;
  --clinic:     #6B7C7A;
  --white:      #FFFFFF;
  --ink:        #1A1714;
  --ink-soft:   #3A3430;
  --ink-mute:   #7A746E;
  --line:       rgba(26,49,66,.10);
  --line-light: rgba(250,247,242,.12);

  --f-display: 'Anton', Impact, 'Arial Narrow', sans-serif;
  --f-serif:   'Instrument Serif', Georgia, serif;
  --f-body:    'Inter', system-ui, sans-serif;
  --f-mono:    'JetBrains Mono', ui-monospace, monospace;

  --gutter:    clamp(1.25rem, 4vw, 2.5rem);
  --max-w:     1160px;
  --section-v: clamp(5rem, 10vw, 9rem);
  --r-sm:      8px;
  --r-md:      16px;
  --r-lg:      24px;
  --ease-out:    cubic-bezier(0.16, 1, 0.3, 1);
  --ease-soft:   cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* =============================================================
   2. Reset & base
   ============================================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  font-family: var(--f-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
  overscroll-behavior-y: none;
}
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; padding: 0; }
a { color: inherit; text-decoration: none; }
address { font-style: normal; }
p { text-wrap: pretty; }
h1, h2, h3, h4 {
  font-family: var(--f-body);
  font-style: normal;
  text-wrap: balance;
  line-height: 1.12;
  letter-spacing: -0.02em;
}
::selection { background: var(--terra); color: #fff; }
:focus-visible {
  outline: 2px solid var(--terra);
  outline-offset: 3px;
  border-radius: var(--r-sm);
}

/* =============================================================
   3. Utilities
   ============================================================= */
.skip-link {
  position: fixed; top: -100px; left: 1rem;
  padding: .6rem 1.25rem;
  background: var(--cream); color: var(--petrol);
  z-index: 9999; border-radius: var(--r-sm); font-weight: 500;
  transition: top .2s;
}
.skip-link:focus { top: 1rem; }
.container {
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* =============================================================
   4. Typography helpers
   ============================================================= */
.section-kicker {
  font-family: var(--f-mono);
  font-size: .7rem;
  font-weight: 500;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--terra);
  margin-bottom: .875rem;
  display: flex;
  align-items: center;
  gap: .5rem;
}
.section-kicker--light { color: rgba(250,247,242,.55); }

.section-title {
  font-family: var(--f-serif);
  font-style: italic;
  font-size: clamp(2.25rem, 4.5vw, 3.5rem);
  font-weight: 400;
  line-height: 1.08;
  margin-bottom: 1rem;
  color: var(--ink);
  letter-spacing: -.02em;
}
.section-title--light { color: var(--cream); }

.section-sub {
  font-size: 1.0625rem;
  font-family: var(--f-body);
  font-style: normal;
  color: var(--ink-mute);
  max-width: 54ch;
  line-height: 1.7;
}
.section-header { margin-bottom: clamp(2.5rem, 5vw, 4rem); }

/* =============================================================
   5. Buttons
   ============================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .9rem 1.875rem;
  border-radius: 100px;
  font-family: var(--f-body);
  font-style: normal;
  font-size: .9375rem;
  font-weight: 500;
  letter-spacing: -.01em;
  transition: transform .2s var(--ease-out), box-shadow .2s var(--ease-out), background .2s, color .2s;
  cursor: pointer;
  white-space: nowrap;
  line-height: 1;
}
.btn:hover  { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn-primary { background: var(--terra); color: #fff; }
.btn-primary:hover { background: var(--terra-2); box-shadow: 0 8px 28px rgba(201,155,110,.32); }

.btn-ghost-light {
  background: rgba(255,255,255,.10);
  color: var(--cream);
  border: 1px solid rgba(255,255,255,.22);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.btn-ghost-light:hover { background: rgba(255,255,255,.18); }

.btn-nav {
  padding: .625rem 1.25rem;
  background: var(--terra);
  color: #fff;
  font-size: .875rem;
  display: none;
}
.btn-nav:hover { background: var(--terra-2); box-shadow: 0 4px 16px rgba(201,155,110,.28); }

.btn-sm { padding: .7rem 1.5rem; font-size: .875rem; }
.btn-ig { padding: 1rem 2rem; font-size: 1rem; gap: .75rem; }

.btn-submit { position: relative; overflow: hidden; align-self: flex-start; }
.btn-submit-text, .btn-submit-arrow { transition: opacity .25s, transform .25s; }
.btn-submit-ok {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center; gap: .5rem;
  background: #15803d;
  font-size: .875rem; color: #fff;
  opacity: 0; transform: translateY(110%);
  transition: opacity .3s var(--ease-out), transform .3s var(--ease-out);
}
.btn-submit.is-sent .btn-submit-ok { opacity: 1; transform: none; }
.btn-submit.is-sent .btn-submit-text,
.btn-submit.is-sent .btn-submit-arrow { opacity: 0; }

/* =============================================================
   6. NAV
   ============================================================= */
.nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 100; padding: 1.25rem 0;
  transition: background .35s var(--ease-soft), box-shadow .35s var(--ease-soft), padding .35s;
}
.nav.is-solid {
  background: rgba(26,49,66,.97);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 var(--line-light);
  padding: .875rem 0;
}
.nav-inner {
  max-width: var(--max-w); margin-inline: auto;
  padding-inline: var(--gutter);
  display: flex; align-items: center; gap: 1.5rem;
}
.nav-logo { display: flex; flex-direction: row; align-items: center; gap: .625rem; flex-shrink: 0; }
.nav-logo-img { width: 36px; height: 36px; border-radius: 8px; flex-shrink: 0; display: block; }
.nav-logo-text { display: flex; flex-direction: column; gap: .15rem; }
.nav-logo-name {
  font-family: var(--f-body);
  font-style: normal;
  font-size: 1.0625rem; font-weight: 600;
  color: var(--cream); letter-spacing: -.01em; line-height: 1;
}
.nav-logo-sub {
  font-family: var(--f-mono);
  font-size: .575rem;
  color: rgba(250,247,242,.45);
  letter-spacing: .15em; text-transform: uppercase; line-height: 1;
}
.nav-links { display: none; list-style: none; gap: 2rem; margin-left: auto; }
.nav-links a {
  font-size: .875rem; color: rgba(250,247,242,.72); font-weight: 400;
  position: relative; padding-bottom: 2px;
  transition: color .2s;
}
.nav-links a::after {
  content: ''; position: absolute; bottom: -2px; left: 0;
  width: 0; height: 1px; background: var(--terra);
  transition: width .3s var(--ease-out);
}
.nav-links a:hover { color: var(--cream); }
.nav-links a:hover::after { width: 100%; }

.nav-hamburger {
  margin-left: auto; display: flex; flex-direction: column;
  gap: 5px; width: 28px; padding: 4px 0; flex-shrink: 0;
}
.nav-hamburger span {
  display: block; height: 1.5px; background: var(--cream);
  border-radius: 1px; transition: transform .3s var(--ease-out), opacity .3s;
}
.nav-hamburger.is-open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-hamburger.is-open span:nth-child(2) { opacity: 0; }
.nav-hamburger.is-open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

.nav-mobile {
  max-height: 0; overflow: hidden;
  transition: max-height .45s var(--ease-out);
  background: rgba(26,49,66,.98);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
}
.nav-mobile.is-open { max-height: 400px; }
.nav-mobile-links {
  list-style: none; padding: .75rem var(--gutter) 1.75rem;
  display: flex; flex-direction: column;
}
.nav-mobile-links a {
  display: block; padding: .875rem 0;
  color: rgba(250,247,242,.72); font-size: 1rem;
  border-bottom: 1px solid var(--line-light);
  transition: color .2s, padding-left .2s;
}
.nav-mobile-links a:hover { color: var(--cream); padding-left: .5rem; }
.nav-mobile-cta { color: var(--terra) !important; font-weight: 500; }

/* =============================================================
   7. HERO
   ============================================================= */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh;
  background: var(--petrol); overflow: clip; display: flex; align-items: center;
}
.hero-inner {
  position: relative; z-index: 2;
  display: flex; flex-direction: column; align-items: flex-start; gap: 2.5rem;
  padding-top: clamp(7rem, 14vw, 9rem);
  padding-bottom: clamp(3rem, 7vw, 5rem);
  padding-inline: var(--gutter);
  width: 100%; max-width: var(--max-w); margin-inline: auto;
}
.hero-content { flex: 1; max-width: 600px; }

.hero-kicker {
  display: flex; align-items: center; gap: .625rem;
  font-family: var(--f-mono);
  font-size: .68rem; font-weight: 500;
  letter-spacing: .18em; text-transform: uppercase;
  color: rgba(250,247,242,.55);
  margin-bottom: 1.625rem;
  animation: heroFadeUp .8s var(--ease-out) .1s both;
}
.hero-kicker-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--terra); flex-shrink: 0;
  animation: pulse 2.8s ease-in-out infinite;
}
@keyframes pulse {
  0%,100% { opacity: 1; transform: scale(1); }
  50%      { opacity: .5; transform: scale(1.4); }
}

.hero-title {
  font-family: var(--f-display);
  font-style: normal; font-weight: 400;
  font-size: clamp(3rem, 8vw, 6.25rem);
  text-transform: uppercase;
  letter-spacing: -0.01em; line-height: .95;
  color: var(--cream);
  margin-bottom: 1.5rem;
  animation: heroFadeUp .9s var(--ease-out) .25s both;
}
.hero-title em {
  font-family: var(--f-serif);
  font-style: italic; font-weight: 400;
  font-size: .88em;
  text-transform: none;
  color: var(--terra);
  letter-spacing: -.025em;
}

.hero-sub {
  font-family: var(--f-body); font-style: normal;
  font-size: clamp(.9375rem, 1.5vw, 1.0625rem);
  color: rgba(250,247,242,.68); line-height: 1.75;
  max-width: 46ch; margin-bottom: 2.5rem;
  animation: heroFadeUp .9s var(--ease-out) .4s both;
}
.hero-actions {
  display: flex; flex-wrap: wrap; gap: 1rem;
  margin-bottom: 3rem;
  animation: heroFadeUp .9s var(--ease-out) .55s both;
}
.hero-meta {
  display: flex; flex-wrap: wrap; gap: 1.25rem; align-items: center;
  padding-top: 2rem; border-top: 1px solid var(--line-light);
  animation: heroFadeUp .9s var(--ease-out) .7s both;
}
.hero-meta-item { display: flex; flex-direction: column; gap: .1rem; }
.hero-meta-label {
  font-family: var(--f-mono);
  font-size: .6rem; text-transform: uppercase;
  letter-spacing: .16em; color: rgba(250,247,242,.4);
}
.hero-meta-value {
  font-family: var(--f-body); font-style: normal;
  font-size: .9375rem; font-weight: 500; color: var(--cream);
}
.hero-meta-sep { width: 1px; height: 2.25rem; background: var(--line-light); flex-shrink: 0; }

.hero-portrait {
  position: relative; width: 100%; max-width: 340px;
  aspect-ratio: 3/4;
  border-radius: var(--r-lg) var(--r-lg) 0 0;
  overflow: hidden; background: var(--petrol-2);
  align-self: flex-end;
  animation: heroFadeUp .9s var(--ease-out) .35s both;
  flex-shrink: 0;
}
.hero-portrait-placeholder {
  position: absolute; inset: 0;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 1.25rem;
  color: rgba(250,247,242,.38); padding: 2rem; text-align: center; z-index: 1;
}
.hero-portrait-placeholder svg { width: 72px; height: 72px; }
.hero-portrait-placeholder p { font-size: .8125rem; line-height: 1.6; opacity: .6; }
.hero-portrait-placeholder code {
  font-family: var(--f-mono); color: var(--terra);
  font-size: .75rem; display: block; margin-top: .25rem;
}
.hero-portrait-img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: center top;
  z-index: 2; transition: opacity .4s;
}
.hero-grain {
  position: absolute; inset: 0; z-index: 1;
  pointer-events: none; opacity: .04;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 512 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 256px;
}
@keyframes heroFadeUp {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: none; }
}

/* =============================================================
   8. ABOUT / FILOSOFÍA
   ============================================================= */
.about { padding-block: var(--section-v); background: var(--cream); }
.about-quote {
  text-align: center; max-width: 680px;
  margin-inline: auto; margin-bottom: clamp(3rem, 6vw, 5rem);
  padding-inline: var(--gutter);
}
.about-blockquote {
  font-family: var(--f-serif);
  font-size: clamp(1.5rem, 3.5vw, 2.375rem);
  font-weight: 400; font-style: italic;
  line-height: 1.32; color: var(--petrol);
  letter-spacing: -.025em;
}
.about-cite {
  display: block; margin-top: 1.25rem;
  font-family: var(--f-mono); font-size: .7rem; font-style: normal;
  color: var(--ink-mute); letter-spacing: .16em; text-transform: uppercase;
}
.about-pillars {
  display: grid; grid-template-columns: 1fr; gap: 1.25rem;
  max-width: var(--max-w); margin-inline: auto; padding-inline: var(--gutter);
}
.about-pillar {
  padding: 2rem 1.75rem;
  background: var(--white); border-radius: var(--r-md);
  border: 1px solid var(--line);
  transition: box-shadow .3s var(--ease-out), transform .3s var(--ease-out);
}
.about-pillar:hover { box-shadow: 0 8px 32px rgba(26,49,66,.08); transform: translateY(-3px); }
.about-pillar-num {
  font-family: var(--f-display); font-style: normal;
  font-size: 2.5rem; font-weight: 400; line-height: 1;
  margin-bottom: 1rem; color: var(--terra); letter-spacing: -.01em;
}
.about-pillar-title {
  font-family: var(--f-body); font-style: normal;
  font-size: 1.0625rem; font-weight: 600;
  color: var(--petrol); margin-bottom: .625rem;
  letter-spacing: -.01em;
}
.about-pillar p { font-size: .9375rem; color: var(--ink-soft); line-height: 1.7; }
.about-pillars .about-pillar:nth-child(2) { transition-delay: 80ms; }
.about-pillars .about-pillar:nth-child(3) { transition-delay: 160ms; }

/* =============================================================
   9. ESPECIALIDADES
   ============================================================= */
.specialties { padding-block: var(--section-v); background: var(--cream-2); }
.specialties-grid { display: grid; grid-template-columns: 1fr; gap: 1.125rem; }
.spec-card {
  background: var(--white); border-radius: var(--r-md);
  border: 1px solid var(--line); padding: 1.75rem;
  transition: transform .3s var(--ease-out), box-shadow .3s var(--ease-out), border-color .3s;
  will-change: transform; transform-style: preserve-3d;
  overflow: hidden;
}
.spec-card-photo {
  display: block;
  width: calc(100% + 3.5rem);
  margin: -1.75rem -1.75rem 1.5rem;
  height: 148px;
  object-fit: cover;
  border-radius: 0;
  transition: transform .5s var(--ease-out);
}
.spec-card:hover .spec-card-photo { transform: scale(1.04); }
.spec-card:hover {
  box-shadow: 0 14px 44px rgba(26,49,66,.10);
  border-color: rgba(201,155,110,.28);
}
.spec-card-icon {
  width: 44px; height: 44px; color: var(--terra);
  margin-bottom: 1.25rem;
  transition: transform .35s var(--ease-bounce);
}
.spec-card:hover .spec-card-icon { transform: scale(1.1) rotate(-3deg); }
.spec-card-title {
  font-family: var(--f-body); font-style: normal;
  font-size: 1.0625rem; font-weight: 600;
  color: var(--petrol); margin-bottom: .625rem;
  line-height: 1.25; letter-spacing: -.01em;
}
.spec-card-desc { font-size: .9rem; color: var(--ink-mute); line-height: 1.7; }
.spec-card-wide {
  background: var(--white); border-radius: var(--r-md);
  border: 1px solid rgba(201,155,110,.22);
  padding: 1.75rem; margin-top: 1.125rem;
  background: linear-gradient(135deg, rgba(201,155,110,.05) 0%, rgba(201,155,110,.01) 100%);
}
.spec-card-wide-inner { display: flex; gap: 1.5rem; align-items: flex-start; }
.spec-card-wide-inner .spec-card-icon { flex-shrink: 0; margin-bottom: 0; }
.spec-card-wide-text { flex: 1; }
.specialties-grid .spec-card:nth-child(2) { transition-delay: 60ms; }
.specialties-grid .spec-card:nth-child(3) { transition-delay: 120ms; }
.specialties-grid .spec-card:nth-child(4) { transition-delay: 60ms; }
.specialties-grid .spec-card:nth-child(5) { transition-delay: 120ms; }
.specialties-grid .spec-card:nth-child(6) { transition-delay: 180ms; }

/* =============================================================
   10. ECOGRAFÍA DIFERENCIAL
   ============================================================= */
.differentiator { background: var(--petrol); overflow: clip; }
.differentiator-inner { display: flex; flex-direction: column; min-height: 560px; }
.differentiator-img-wrap { position: relative; flex: 1; min-height: 260px; overflow: hidden; }
.differentiator-img {
  width: 100%; height: 100%; object-fit: cover;
  filter: brightness(.48) saturate(.6);
  transition: transform .7s var(--ease-soft);
}
.differentiator:hover .differentiator-img { transform: scale(1.03); }
.differentiator-img-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to right, transparent 0%, rgba(26,49,66,.55) 65%, var(--petrol) 100%);
  pointer-events: none;
}
.differentiator-content {
  padding: clamp(3rem, 6vw, 5rem) var(--gutter);
  max-width: 600px; margin-inline: auto; width: 100%;
}
.differentiator-text {
  color: rgba(250,247,242,.7); font-family: var(--f-body); font-style: normal;
  font-size: .9375rem; line-height: 1.8; margin-bottom: 1.25rem;
}
.differentiator-list { list-style: none; display: flex; flex-direction: column; gap: .75rem; margin-top: 2rem; }
.differentiator-list li {
  color: var(--cream); font-family: var(--f-body); font-style: normal;
  font-size: .9375rem; display: flex; align-items: center; gap: .75rem; line-height: 1.4;
}
.differentiator-list li::before {
  content: ''; width: 6px; height: 6px;
  border-radius: 50%; background: var(--terra); flex-shrink: 0;
}

/* =============================================================
   11. CURRICULUM / FORMACIÓN
   ============================================================= */
.curriculum { padding-block: var(--section-v); background: var(--cream); }
.timeline { position: relative; padding-left: 1.5rem; max-width: 720px; }
.timeline::before {
  content: ''; position: absolute; left: 0; top: 8px; bottom: 8px;
  width: 1px; background: var(--line);
}
.timeline-item { position: relative; padding-left: 2rem; padding-bottom: 2.75rem; }
.timeline-item:last-child { padding-bottom: 0; }
.timeline-marker {
  position: absolute; left: -1.625rem; top: 7px;
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--cream-2); border: 2px solid var(--cream); box-sizing: border-box;
}
.timeline-marker--gold {
  background: var(--terra); border-color: var(--cream);
  width: 12px; height: 12px; left: -1.75rem; top: 6px;
}
.timeline-marker--active {
  background: var(--terra); border-color: var(--cream);
  width: 12px; height: 12px; left: -1.75rem; top: 6px;
  box-shadow: 0 0 0 4px rgba(201,155,110,.20);
}
.timeline-tag {
  font-family: var(--f-mono); font-size: .68rem; font-weight: 500;
  letter-spacing: .18em; text-transform: uppercase;
  color: var(--clinic); display: block; margin-bottom: .5rem;
}
.timeline-tag--gold  { color: var(--terra); }
.timeline-tag--active { color: var(--terra); }
.timeline-title {
  font-family: var(--f-body); font-style: normal;
  font-size: 1.125rem; font-weight: 600;
  color: var(--petrol); margin-bottom: .625rem;
  line-height: 1.25; letter-spacing: -.01em;
}
.timeline-body {
  font-size: .9375rem; color: var(--ink-mute);
  line-height: 1.7; max-width: 58ch;
}
.timeline-item:nth-child(2) { transition-delay: 100ms; }
.timeline-item:nth-child(3) { transition-delay: 200ms; }
.timeline-item:nth-child(4) { transition-delay: 300ms; }

/* =============================================================
   12. CONSULTAS
   ============================================================= */
.clinics { padding-block: var(--section-v); background: var(--cream-2); }
.clinics-grid { display: grid; grid-template-columns: 1fr; gap: 2rem; }
.clinic-card {
  background: var(--white); border-radius: var(--r-lg);
  border: 1px solid var(--line); overflow: hidden;
  box-shadow: 0 2px 16px rgba(26,49,66,.05);
  transition: box-shadow .3s var(--ease-out), transform .3s var(--ease-out);
}
.clinic-card:hover { box-shadow: 0 8px 36px rgba(26,49,66,.10); transform: translateY(-2px); }
.clinic-card-head { padding: 1.75rem 1.75rem 1.25rem; border-bottom: 1px solid var(--line); }
.clinic-name {
  font-family: var(--f-body); font-style: normal;
  font-size: 1.125rem; font-weight: 600;
  color: var(--petrol); line-height: 1.3; margin-bottom: .4rem;
  letter-spacing: -.01em;
}
.clinic-name-sub { font-weight: 400; }
.clinic-area {
  font-family: var(--f-mono); font-size: .66rem; font-weight: 500;
  color: var(--clinic); letter-spacing: .16em; text-transform: uppercase;
}
.clinic-team {
  display: inline-block; margin-top: .35rem;
  font-family: var(--f-mono); font-size: .63rem; font-weight: 500;
  color: var(--terra); letter-spacing: .13em; text-transform: uppercase;
  background: rgba(201,155,110,.08); border: 1px solid rgba(201,155,110,.22);
  border-radius: 4px; padding: .15em .55em;
}
.clinic-info {
  padding: 1.25rem 1.75rem; display: flex; flex-direction: column;
  gap: .9rem; border-bottom: 1px solid var(--line);
}
.clinic-row {
  display: flex; align-items: flex-start; gap: .75rem;
  font-size: .9rem; color: var(--ink-soft); line-height: 1.5;
}
.clinic-row svg { width: 16px; height: 16px; flex-shrink: 0; color: var(--terra); margin-top: 2px; }
.clinic-phone {
  color: var(--terra);
  text-decoration: underline; text-decoration-color: transparent;
  text-underline-offset: 2px; transition: text-decoration-color .2s;
}
.clinic-phone:hover { text-decoration-color: var(--terra); }
.clinic-map { aspect-ratio: 16/9; }
.clinic-map iframe { width: 100%; height: 100%; border: none; display: block; }
.clinic-card-foot { padding: 1.25rem 1.75rem; }
.clinics-grid .clinic-card:nth-child(2) { transition-delay: 100ms; }

/* =============================================================
   13. INSTAGRAM CTA
   ============================================================= */
.ig-cta { padding-block: var(--section-v); background: var(--petrol-2); }
.ig-cta-inner { display: flex; flex-direction: column; gap: 3rem; align-items: flex-start; }
@media (min-width: 540px) {
  .ig-cta-inner { flex-direction: row; align-items: flex-start; }
  .ig-feed { width: min(340px, 100%); }
}
.ig-cta-text { max-width: 520px; }
.ig-cta-desc {
  color: rgba(250,247,242,.68); font-family: var(--f-body); font-style: normal;
  font-size: .9375rem; line-height: 1.75; margin-bottom: 2.25rem; max-width: 48ch;
}
.ig-feed { width: min(380px, 100%); }
.ig-feed-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3px;
  border-radius: var(--r-md);
  overflow: hidden;
}
.ig-feed-item {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
  display: block;
  background: var(--petrol-3);
}
.ig-feed-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .45s var(--ease-soft), filter .45s var(--ease-soft);
  filter: brightness(.92) saturate(.9);
}
.ig-feed-hover {
  position: absolute; inset: 0;
  background: rgba(26,49,66,.55);
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  opacity: 0;
  transition: opacity .3s var(--ease-out);
}
.ig-feed-item:hover img {
  transform: scale(1.07);
  filter: brightness(.75) saturate(1.1);
}
.ig-feed-item:hover .ig-feed-hover { opacity: 1; }

/* Placeholder shimmer while images load */
.ig-feed-item::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(110deg, var(--petrol-3) 30%, var(--petrol-2) 50%, var(--petrol-3) 70%);
  background-size: 200% 100%;
  animation: igShimmer 1.6s ease-in-out infinite;
  z-index: 0;
}
.ig-feed-item img { position: relative; z-index: 1; }
.ig-feed-hover { z-index: 2; }
@keyframes igShimmer {
  0%   { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* =============================================================
   14. CONTACTO
   ============================================================= */
.contact { padding-block: var(--section-v); background: var(--cream); }
.contact-grid { display: grid; grid-template-columns: 1fr; gap: clamp(3rem, 7vw, 5rem); }
.contact-desc { color: var(--ink-mute); line-height: 1.7; margin-bottom: 2.25rem; max-width: 40ch; }
.contact-links { display: flex; flex-direction: column; gap: .15rem; }
.contact-link {
  display: flex; flex-direction: column; gap: .1rem;
  padding: 1rem 0; border-bottom: 1px solid var(--line);
  transition: padding-left .25s var(--ease-out);
}
.contact-link:hover { padding-left: .5rem; }
.contact-link-label {
  font-family: var(--f-mono); font-size: .68rem; font-weight: 500;
  text-transform: uppercase; letter-spacing: .16em; color: var(--ink-mute);
}
.contact-link-value {
  font-family: var(--f-body); font-style: normal;
  font-size: 1.125rem; font-weight: 600;
  color: var(--terra); letter-spacing: -.01em;
}
.contact-form { display: flex; flex-direction: column; gap: 1.25rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-group { display: flex; flex-direction: column; gap: .5rem; }
.form-label {
  font-family: var(--f-body); font-size: .8125rem; font-weight: 500;
  color: var(--ink-soft); letter-spacing: .01em;
}
.form-input {
  width: 100%; padding: .875rem 1rem;
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--r-sm); font: inherit; font-size: .9375rem; color: var(--ink);
  transition: border-color .2s, box-shadow .2s;
  appearance: none; -webkit-appearance: none;
}
.form-input::placeholder { color: var(--ink-mute); }
.form-input:focus {
  outline: none; border-color: var(--terra);
  box-shadow: 0 0 0 3px rgba(201,155,110,.14);
}
.form-textarea { resize: vertical; min-height: 120px; line-height: 1.6; }
.form-select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none'%3E%3Cpath d='M5 7.5l5 5 5-5' stroke='%237A746E' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 12px center;
  background-size: 20px; padding-right: 2.5rem; cursor: pointer;
}
.form-note { font-size: .8125rem; color: var(--ink-mute); line-height: 1.5; }

/* =============================================================
   15. FOOTER
   ============================================================= */
.footer { background: var(--petrol); padding-block: 3rem; border-top: 1px solid var(--line-light); }
.footer-inner { display: flex; flex-direction: column; gap: 2rem; align-items: flex-start; }
.footer-logo-wrap { display: flex; align-items: center; gap: .75rem; }
.footer-logo-img { width: 40px; height: 40px; border-radius: 9px; flex-shrink: 0; opacity: .9; }
.footer-name {
  font-family: var(--f-body); font-style: normal;
  font-size: 1.0625rem; font-weight: 600;
  color: var(--cream); letter-spacing: -.01em;
}
.footer-sub {
  font-family: var(--f-mono); font-size: .63rem;
  color: rgba(250,247,242,.4); margin-top: .25rem;
  letter-spacing: .15em; text-transform: uppercase;
}
.footer-links { display: flex; flex-wrap: wrap; gap: 1.5rem; }
.footer-links a { font-size: .875rem; color: rgba(250,247,242,.58); transition: color .2s; }
.footer-links a:hover { color: var(--cream); }
.footer-legal { color: rgba(250,247,242,.32); font-size: .8rem; line-height: 1.5; }
.footer-legal a {
  color: rgba(250,247,242,.32);
  text-decoration: underline; text-underline-offset: 2px;
  text-decoration-color: transparent;
  transition: color .2s, text-decoration-color .2s;
}
.footer-legal a:hover { color: rgba(250,247,242,.58); text-decoration-color: rgba(250,247,242,.58); }

/* =============================================================
   16. CUSTOM CURSOR
   ============================================================= */

/* =============================================================
   17. REVEAL ANIMATIONS
   ============================================================= */
.reveal {
  opacity: 0; transform: translateY(28px);
  transition: opacity .75s var(--ease-out), transform .75s var(--ease-out);
}
.reveal.is-visible { opacity: 1; transform: none; }
.reveal[data-split] { opacity: 1; transform: none; }

/* =============================================================
   18. RESPONSIVE — mobile-first
   ============================================================= */
@media (min-width: 540px) {
  .about-pillars    { grid-template-columns: 1fr 1fr; }
  .specialties-grid { grid-template-columns: 1fr 1fr; }
  .ig-cta-inner     { flex-direction: row; align-items: flex-start; }
  .ig-preview-grid  { width: 200px; }
}

@media (min-width: 720px) {
  .nav-links    { display: flex; }
  .btn-nav      { display: inline-flex; }
  .nav-hamburger { display: none; }

  .hero-inner { flex-direction: row; align-items: flex-end; gap: 3rem; }
  .hero-portrait {
    width: clamp(280px, 36vw, 400px);
    max-width: none; aspect-ratio: 3/4; align-self: flex-end;
  }

  .about-pillars    { grid-template-columns: repeat(3, 1fr); }
  .specialties-grid { grid-template-columns: repeat(3, 1fr); }

  .differentiator-inner { flex-direction: row; min-height: 620px; }
  .differentiator-img-wrap { flex: 1; min-height: 100%; }
  .differentiator-content {
    flex: 1; padding: clamp(3rem, 6vw, 6rem) clamp(2.5rem, 5vw, 5rem);
    display: flex; flex-direction: column; justify-content: center;
    margin: 0; max-width: none;
  }

  .clinics-grid  { grid-template-columns: 1fr 1fr; }
  .contact-grid  { grid-template-columns: 1fr 1.65fr; }
  .footer-inner  { flex-direction: row; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1.5rem; }
}

@media (min-width: 960px) {
  .hero-portrait { width: clamp(320px, 38vw, 440px); }
}

/* =============================================================
   19. Reduced-motion — gate intrusive effects only
   ============================================================= */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-kicker-dot { animation: none; }
  .hero-title, .hero-sub, .hero-actions, .hero-meta,
  .hero-portrait, .hero-kicker { animation: none; opacity: 1; transform: none; }
}
