/* Odontología Córdoba — estilos. Tokens en 3 capas: primitivos → semánticos → componentes. */

/* ---------- Fuentes (OFL, locales, subset latino) ---------- */
@font-face { font-family: 'Urbanist'; src: url('/fonts/urbanist-latin-wght-normal.woff2') format('woff2'); font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: 'Urbanist'; src: url('/fonts/urbanist-latin-wght-italic.woff2') format('woff2'); font-weight: 100 900; font-style: italic; font-display: swap; }
@font-face { font-family: 'Figtree'; src: url('/fonts/figtree-latin-wght-normal.woff2') format('woff2'); font-weight: 300 900; font-style: normal; font-display: swap; }
/* shortcut: métricas de fallback aproximadas a ojo; medir CLS de fuentes en la Entrega 3 y ajustar. */
@font-face { font-family: 'Urbanist Fallback'; src: local('Arial'); size-adjust: 96%; ascent-override: 98%; descent-override: 26%; }
@font-face { font-family: 'Figtree Fallback'; src: local('Arial'); size-adjust: 100%; ascent-override: 95%; descent-override: 25%; }

:root {
  /* Primitivos (del logo y las piezas de Instagram) */
  --magenta-500: #c3388b;   /* marca. Blanco encima: 4.9:1 (AA) */
  --magenta-600: #a72d76;   /* hover. Blanco encima: 6.3:1 */
  --magenta-700: #8e2465;   /* texto magenta sobre claros: 7.7:1 sobre blanco */
  --plum-700: #7e2a6c;      /* trazo real del logo SVG */
  --violet-900: #3a2152;
  --violet-800: #4b2a6b;    /* texto principal: 11.6:1 sobre blanco */
  --violet-600: #6b5a7e;    /* texto secundario: 6.3:1 sobre blanco, 5.4:1 sobre lila */
  --gray-logo: #abadaa;     /* solo líneas y bordes, nunca texto */
  --lilac-100: #f8f6fb;
  --lilac-200: #f0e8f3;
  --lilac-300: #ede5f2;
  --lavender-400: #d7c9e2;
  --white: #fff;

  /* Semánticos */
  --bg: var(--white);
  --bg-soft: var(--lilac-100);
  --bg-tint: var(--lilac-200);
  --text: var(--violet-800);
  --text-strong: var(--violet-900);
  --text-muted: var(--violet-600);
  --accent: var(--magenta-500);
  --accent-ink: var(--magenta-700);
  --border: var(--lavender-400);
  --focus: var(--magenta-700);

  /* Componentes */
  --radius-card: 24px;
  --radius-lg: 28px;
  --shadow: 0 1px 2px rgb(75 42 107 / 6%), 0 12px 32px -12px rgb(75 42 107 / 18%);
  --btn-bg: var(--accent);
  --btn-bg-hover: var(--magenta-600);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --header-h: 72px;

  --font-title: 'Urbanist', 'Urbanist Fallback', system-ui, sans-serif;
  --font-body: 'Figtree', 'Figtree Fallback', system-ui, sans-serif;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 12px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body { margin: 0; font: 400 clamp(1rem, .96rem + .2vw, 1.0625rem)/1.6 var(--font-body); color: var(--text); background: var(--bg); overflow-x: clip; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--accent-ink); text-underline-offset: 3px; }
h1, h2, h3 { font-family: var(--font-title); color: var(--text-strong); line-height: 1.1; margin: 0; letter-spacing: -.01em; }
h1 em, h2 em { font-style: italic; color: var(--accent); font-weight: inherit; }
p { margin: 0; }
ul, ol { list-style: none; margin: 0; padding: 0; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 6px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--white); padding: 10px 16px; border-radius: 999px; box-shadow: var(--shadow); }
.skip:focus { top: 12px; }
.wrap { width: min(100% - 2 * clamp(20px, 5vw, 40px), 1180px); margin-inline: auto; }
.muted { color: var(--text-muted); }
.center { display: flex; justify-content: center; margin-top: 36px; }
.pending { display: inline-block; font: 600 .78em/1.5 var(--font-body); color: #5c4300; background: #fff1c2; border: 1px dashed #c99700; border-radius: 6px; padding: 0 .45em; letter-spacing: 0; font-style: normal; }
.env-banner { background: var(--violet-900); color: var(--white); font-size: .8rem; text-align: center; padding: 6px 12px; }

/* ---------- Botones ---------- */
.btn { --icon: 40px; display: inline-flex; align-items: center; gap: 14px; min-height: 52px; padding: 6px 6px 6px 22px; border-radius: 999px; background: var(--btn-bg); color: var(--white); font: 600 1rem/1.2 var(--font-body); white-space: nowrap; text-decoration: none; border: 1.5px solid transparent; transition: background-color .18s var(--ease), transform .18s var(--ease); -webkit-tap-highlight-color: transparent; }
.btn-icon { display: grid; place-items: center; width: var(--icon); height: var(--icon); flex: none; border-radius: 50%; background: var(--white); color: var(--accent); }
.btn-icon svg { width: 20px; height: 20px; transition: transform .18s var(--ease); }
.btn:hover { background: var(--btn-bg-hover); transform: translateY(-2px); }
.btn:hover .btn-icon svg { transform: translateX(2px) rotate(-8deg); }
.btn:active { transform: translateY(0) scale(.98); }
.btn-sm { --icon: 32px; min-height: 44px; padding-left: 16px; font-size: .95rem; gap: 10px; }
.btn-sm .btn-icon svg { width: 17px; height: 17px; }
.btn-ghost { background: transparent; color: var(--text-strong); border-color: var(--border); }
.btn-ghost .btn-icon { background: var(--bg-tint); color: var(--accent-ink); }
.btn-ghost:hover { background: var(--white); }
.btn-outline { background: var(--white); color: var(--accent-ink); border-color: var(--border); }
.btn-outline .btn-icon { background: var(--accent); color: var(--white); }
.btn-outline:hover { background: var(--bg-tint); }
.btn-light { background: var(--white); color: var(--accent-ink); }
.btn-light .btn-icon { background: var(--accent); color: var(--white); }
.btn-light:hover { background: var(--lilac-200); }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgb(255 255 255 / 88%); backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s; }
.site-header.is-compact { border-color: var(--lilac-300); box-shadow: 0 6px 24px -18px rgb(75 42 107 / 45%); }
.header-in { display: flex; align-items: center; gap: 12px; min-height: var(--header-h); }
.brand img { width: 132px; height: auto; transform-origin: left center; transition: transform .25s var(--ease); }
.is-compact .brand img { transform: scale(.9); }
.header-in > .btn { margin-left: auto; }
.menu-btn { display: grid; place-items: center; width: 44px; height: 44px; border: 1.5px solid var(--border); border-radius: 50%; background: var(--white); color: var(--text-strong); cursor: pointer; }
.bars, .bars::before, .bars::after { display: block; width: 18px; height: 2px; border-radius: 2px; background: currentColor; transition: transform .2s var(--ease), opacity .2s; }
.bars { position: relative; }
.bars::before, .bars::after { content: ''; position: absolute; left: 0; }
.bars::before { top: -6px; }
.bars::after { top: 6px; }
[aria-expanded='true'] .bars { background: transparent; }
[aria-expanded='true'] .bars::before { transform: translateY(6px) rotate(45deg); }
[aria-expanded='true'] .bars::after { transform: translateY(-6px) rotate(-45deg); }
.nav { display: none; }
.nav[data-open] { display: block; position: absolute; top: 100%; left: 0; right: 0; background: var(--white); border-bottom: 1px solid var(--lilac-300); box-shadow: 0 24px 40px -24px rgb(75 42 107 / 40%); padding: 8px clamp(20px, 5vw, 40px) 20px; }
.nav a { display: flex; align-items: center; min-height: 52px; color: var(--text-strong); font-weight: 600; text-decoration: none; border-bottom: 1px solid var(--lilac-200); }
@media (min-width: 900px) {
  .brand img { width: 168px; }
  .nav, .nav[data-open] { display: block; position: static; margin-left: auto; padding: 0; background: none; border: 0; box-shadow: none; }
  .nav ul { display: flex; gap: 4px; }
  .nav a { min-height: 44px; padding: 0 14px; border: 0; border-radius: 999px; font-weight: 500; transition: background-color .15s; }
  .nav a:hover { background: var(--bg-tint); }
  .header-in > .btn { margin-left: 8px; }
  .menu-btn { display: none; }
}

/* ---------- Motivo: líneas del diente ---------- */
.tooth-line path, .waves path { fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; }
.tooth-line path { stroke-width: 3.2; }
.waves { position: absolute; inset: 0; width: 100%; height: 100%; color: var(--accent); opacity: .16; pointer-events: none; }
.waves path { stroke-width: 1.2; vector-effect: non-scaling-stroke; }
@media (prefers-reduced-motion: no-preference) {
  .waves path { stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw 2.6s var(--ease) forwards; }
  .waves path:nth-child(2) { animation-delay: .12s; } .waves path:nth-child(3) { animation-delay: .24s; } .waves path:nth-child(4) { animation-delay: .36s; } .waves path:nth-child(5) { animation-delay: .48s; } .waves path:nth-child(6) { animation-delay: .6s; }
  .js .draw path { stroke-dasharray: 1; stroke-dashoffset: 1; }
  .js .is-in .draw path, .js .draw.is-in path { animation: draw 1.6s var(--ease) .2s forwards; }
}
@keyframes draw { to { stroke-dashoffset: 0; } }

/* ---------- Placeholder de foto ---------- */
.ph { position: relative; display: grid; place-items: center; width: 100%; height: 100%; min-height: 200px; overflow: hidden; border-radius: inherit; background: radial-gradient(120% 90% at 85% 10%, rgb(195 56 139 / 12%), transparent 55%), linear-gradient(150deg, var(--lilac-200), var(--white) 70%); color: var(--accent); }
.ph-tooth { width: min(38%, 140px); opacity: .55; }
.ph-label { position: absolute; left: 14px; bottom: 14px; right: 14px; font-size: .78rem; font-weight: 600; color: var(--text-muted); }
@media (prefers-reduced-motion: no-preference) {
  .kenburns > :first-child { animation: kenburns 20s ease-in-out infinite alternate; }
}
@keyframes kenburns { from { transform: scale(1); } to { transform: scale(1.04); } }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding: clamp(28px, 6vw, 72px) 0 clamp(36px, 5vw, 56px); background: radial-gradient(60% 70% at 100% 0%, rgb(195 56 139 / 10%), transparent 70%), linear-gradient(180deg, var(--lilac-100), var(--white)); }
.hero-grid { position: relative; display: grid; gap: 32px; align-items: center; }
.eyebrow { font: 700 .78rem/1.4 var(--font-body); letter-spacing: .12em; text-transform: uppercase; color: var(--accent-ink); margin-bottom: 14px; }
.hero h1 { font-size: clamp(2.3rem, 1.4rem + 4.4vw, 4.3rem); font-weight: 700; letter-spacing: -.025em; }
.hero .lead { margin-top: 18px; font-size: clamp(1.06rem, 1rem + .35vw, 1.25rem); max-width: 34ch; color: var(--text); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.fineprint { margin-top: 18px; font-size: .92rem; color: var(--text-muted); }
.hero-media { position: relative; }
.hero-photo { overflow: hidden; aspect-ratio: 4 / 3.6; border-radius: var(--radius-lg); box-shadow: var(--shadow); background: var(--lilac-200); }
.hero-photo img, .bento-photo img, .map-photo img, .member-photo img { width: 100%; height: 100%; object-fit: cover; }
.hero-photo img { object-position: 50% 20%; }
.hero-photo picture, .bento-photo picture { display: block; height: 100%; }
.float-card { position: absolute; left: 14px; bottom: -18px; display: flex; align-items: center; gap: 12px; padding: 10px 18px 10px 10px; background: var(--white); border-radius: 999px; box-shadow: var(--shadow); }
.float-card p { display: grid; font-size: .85rem; line-height: 1.3; }
.float-card strong { color: var(--text-strong); font-size: .95rem; }
.float-card span { color: var(--text-muted); }
.facts { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 52px; padding-top: 24px; border-top: 1px solid var(--lavender-400); }
.facts strong { display: block; font: 700 clamp(1.7rem, 1.2rem + 2.4vw, 2.8rem)/1 var(--font-title); color: var(--text-strong); }
.facts span { display: block; margin-top: 6px; font-size: .86rem; line-height: 1.35; color: var(--text-muted); }
@media (min-width: 900px) {
  .hero-grid { grid-template-columns: 1.1fr .9fr; gap: 56px; }
  .hero-photo { aspect-ratio: 4 / 4.2; }
  .float-card { left: -28px; bottom: 36px; }
}

/* ---------- Secciones ---------- */
.section { position: relative; padding: clamp(64px, 9vw, 112px) 0; scroll-margin-top: var(--header-h); }
.section-lilac { background: var(--bg-soft); }
.section-head { max-width: 640px; margin-bottom: clamp(28px, 4vw, 48px); }
.section-head h2 { font-size: clamp(1.9rem, 1.3rem + 2.6vw, 3rem); font-weight: 700; letter-spacing: -.02em; }
.section-head .lead { margin-top: 14px; font-size: 1.08rem; color: var(--text-muted); }
.card { position: relative; overflow: hidden; display: flex; flex-direction: column; gap: 10px; padding: 24px; background: var(--white); border: 1px solid var(--lilac-300); border-radius: var(--radius-card); box-shadow: var(--shadow); }
.card-lilac { background: var(--lilac-300); border-color: transparent; }
.card-soft { background: var(--lilac-100); }
.card-brand { background: linear-gradient(150deg, var(--magenta-500), var(--plum-700)); color: var(--white); border-color: transparent; }
.card-brand .card-title, .card-brand .card-kicker, .card-brand .link { color: var(--white); }
.card-kicker { font-size: .78rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--accent-ink); }
.card-title { font: 700 1.3rem/1.2 var(--font-title); color: var(--text-strong); }
.link { display: inline-flex; align-items: center; gap: 6px; margin-top: auto; padding-top: 6px; min-height: 44px; font-weight: 600; text-decoration: none; }
.link svg { width: 18px; height: 18px; transition: transform .18s var(--ease); }
.link:hover svg { transform: translate(2px, -2px); }
.card-tooth { position: absolute; right: -22px; top: -22px; width: 110px; opacity: .22; color: var(--white); }

/* Avatares superpuestos */
.avatars { display: flex; }
.avatars li + li { margin-left: -10px; }
.avatar { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 3px solid var(--white); font: 700 1.05rem/1 var(--font-title); color: var(--white); background: var(--magenta-500); }
.avatar-micaela { background: var(--plum-700); }
.avatar-simon { background: var(--violet-800); }

/* Bento */
.bento { display: grid; gap: 14px; }
.bento > div { border-radius: var(--radius-card); min-height: 200px; }
.bento-a, .bento-b { overflow: hidden; box-shadow: var(--shadow); }
@media (max-width: 639px) { .bento { grid-template-columns: 1fr 1fr; } .bento-photo { aspect-ratio: 3 / 4; } .bento > .card { grid-column: 1 / -1; min-height: 0; } .bento-a .ph-label, .bento-b .ph-label { font-size: .7rem; } }
@media (min-width: 640px) {
  .bento { grid-template-columns: 1fr 1fr; grid-template-areas: 'a b' 'a c' 'd e' 'f f'; }
}
@media (min-width: 1000px) {
  .bento { grid-template-columns: 1.1fr 1fr 1fr 1fr; grid-template-rows: 250px 230px; grid-template-areas: 'a b c d' 'a e e f'; }
}
@media (min-width: 640px) {
  .bento-a { grid-area: a; } .bento-b { grid-area: b; } .bento-c { grid-area: c; } .bento-d { grid-area: d; } .bento-e { grid-area: e; } .bento-f { grid-area: f; }
}

/* Tratamientos */
.services { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); counter-reset: s; }
.service { display: flex; flex-direction: column; gap: 10px; padding: 26px; background: var(--white); border: 1px solid var(--lilac-300); border-radius: var(--radius-card); box-shadow: var(--shadow); transition: transform .2s var(--ease); }
.service:hover { transform: translateY(-3px); }
.service-n { font: 600 1rem/1 var(--font-title); color: var(--accent-ink); width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; background: var(--bg-tint); }
.service h3 { font-size: 1.35rem; margin-top: 8px; }
.service p { color: var(--text-muted); }
.service .btn { margin-top: auto; align-self: flex-start; white-space: normal; }
.service p + .btn { margin-top: 14px; }

/* Caso real: antes/después */
.case { display: grid; gap: 36px; align-items: center; }
@media (min-width: 900px) { .case { grid-template-columns: 1fr 1fr; gap: 64px; } }
.ba { --pos: 50%; position: relative; aspect-ratio: 4 / 3; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); background: var(--lilac-200); }
.ba-layer { position: absolute; inset: 0; }
.ba-layer img { width: 100%; height: 100%; object-fit: cover; }
.ba-layer .ph { border-radius: 0; }
.ba .ph-label { display: none; }
.ba-before { clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.ba-before .ph { background: linear-gradient(150deg, var(--lavender-400), var(--lilac-200)); }
.ba-tag { position: absolute; top: 14px; padding: 4px 12px; border-radius: 999px; background: rgb(255 255 255 / 92%); font-size: .8rem; font-weight: 700; color: var(--text-strong); }
.ba-tag-before { left: 14px; }
.ba-tag-after { right: 14px; }
.ba-handle { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 3px; margin-left: -1.5px; background: var(--white); pointer-events: none; }
.ba-handle::after { content: ''; position: absolute; top: 50%; left: 50%; width: 44px; height: 44px; margin: -22px 0 0 -22px; border-radius: 50%; background: var(--white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238e2465' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m9 7-5 5 5 5M15 7l5 5-5 5'/%3E%3C/svg%3E") center / 22px no-repeat; box-shadow: var(--shadow); }
.ba-range { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; touch-action: pan-y; }
.ba:has(.ba-range:focus-visible) { outline: 3px solid var(--focus); outline-offset: 3px; }
.case-copy .section-head { margin-bottom: 22px; }
.case-list { display: grid; gap: 14px; margin: 0 0 20px; }
.case-list div { padding-bottom: 14px; border-bottom: 1px solid var(--lilac-300); }
.case-list dt { font-size: .8rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--accent-ink); }
.case-list dd { margin: 4px 0 0; color: var(--text-strong); }
.note { font-size: .9rem; color: var(--text-muted); margin-bottom: 22px; }

/* Equipo */
.team { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); }
.member { overflow: hidden; background: var(--white); border: 1px solid var(--lilac-300); border-radius: var(--radius-card); box-shadow: var(--shadow); }
picture.member-photo { display: block; }
.member-photo.ph { height: auto; min-height: 0; }
.member-photo { aspect-ratio: 16 / 11; width: 100%; object-fit: cover; border-radius: 0; }
.monogram { font: 700 4.5rem/1 var(--font-title); color: var(--accent); opacity: .8; }
.member-body { display: grid; gap: 6px; padding: 22px 24px 26px; }
.member h3 { font-size: 1.35rem; }
.member-role { font-weight: 600; color: var(--accent-ink); }
.member-meta { font-size: .9rem; color: var(--text-muted); }

/* Obras sociales */
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { --icon: 26px; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 6px 8px 6px 16px; border-radius: 999px; background: var(--white); border: 1.5px solid var(--border); color: var(--text-strong); font-weight: 600; text-decoration: none; transition: border-color .15s, transform .15s var(--ease); }
.chip .btn-icon { background: var(--bg-tint); color: var(--accent-ink); }
.chip .btn-icon svg { width: 14px; height: 14px; }
.chip:hover { border-color: var(--accent); transform: translateY(-2px); }
.callout { display: inline-flex; align-items: center; gap: 10px; margin-top: 22px; padding: 12px 18px; border-radius: 16px; background: var(--lilac-200); font-weight: 600; color: var(--text-strong); }
.callout svg { width: 22px; height: 22px; flex: none; color: var(--accent); }
.insurance-other { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-top: 28px; padding: 22px 24px; border-radius: var(--radius-card); border: 1.5px dashed var(--border); }

/* Cómo pedir turno */
.section-brand { overflow: hidden; background: linear-gradient(140deg, var(--plum-700), var(--magenta-600) 70%, var(--magenta-500)); color: var(--white); }
.section-brand .waves { color: var(--white); opacity: .18; }
.section-brand h2, .section-brand h3 { color: var(--white); }
.section-brand h2 em { color: #ffd9ee; }
.section-brand .eyebrow { color: #ffd9ee; }
.steps { position: relative; display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); }
.step { padding: 26px; border-radius: var(--radius-card); background: rgb(255 255 255 / 10%); border: 1px solid rgb(255 255 255 / 22%); }
.step-n { display: grid; place-items: center; width: 44px; height: 44px; margin-bottom: 14px; border-radius: 50%; background: var(--white); color: var(--accent-ink); font: 700 1.2rem/1 var(--font-title); }
.step h3 { font-size: 1.25rem; margin-bottom: 6px; }
.step p { color: rgb(255 255 255 / 92%); }

/* FAQ */
.faq-wrap { max-width: 820px; }
.faq { display: grid; gap: 10px; }
.faq details { background: var(--white); border: 1px solid var(--lilac-300); border-radius: 18px; }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 60px; padding: 14px 20px; font-weight: 600; color: var(--text-strong); cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; flex: none; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--bg-tint); color: var(--accent-ink); font: 500 1.3rem/1 var(--font-title); transition: transform .2s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 20px 20px; color: var(--text-muted); }

/* Contacto */
.contact { display: grid; gap: 36px; }
@media (min-width: 900px) { .contact { grid-template-columns: 1fr 1fr; gap: 56px; align-items: stretch; } }
.info { display: grid; gap: 18px; margin-bottom: 28px; }
.info li { display: flex; gap: 14px; align-items: flex-start; }
.info li > svg { flex: none; width: 44px; height: 44px; padding: 11px; border-radius: 50%; background: var(--white); color: var(--accent); border: 1px solid var(--lilac-300); }
.info div { display: grid; gap: 2px; }
.info strong { color: var(--text-strong); }
.map { position: relative; overflow: hidden; display: grid; align-items: end; min-height: 360px; padding: 20px; border-radius: var(--radius-lg); background: radial-gradient(80% 80% at 70% 20%, rgb(195 56 139 / 14%), transparent 60%), linear-gradient(160deg, var(--lilac-300), var(--white)); border: 1px solid var(--lilac-300); }
.map-photo { position: absolute; inset: 0; }
.member-photo img { object-position: 50% 15%; }
.map-card { position: relative; display: flex; flex-wrap: wrap; align-items: center; gap: 14px; padding: 16px; background: var(--white); border-radius: 20px; box-shadow: var(--shadow); }
.map-card p { display: grid; flex: 1 1 160px; }
.map-card strong { color: var(--text-strong); }
.map-pin { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--accent); color: var(--white); }
.map-pin svg { width: 22px; height: 22px; }

/* Footer */
.footer { padding: 48px 0 40px; border-top: 1px solid var(--lilac-300); }
.footer-in { display: grid; gap: 22px; }
.footer-in img[alt='Odontología Córdoba'] { width: 150px; margin-bottom: 10px; }
.footer-team { display: grid; gap: 4px; font-size: .92rem; }
.footer-legal { font-size: .85rem; }
.credit { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-size: .82rem; color: var(--text-muted); text-decoration: none; }
@media (min-width: 900px) { .footer-in { grid-template-columns: 1.2fr 1fr; } .footer-legal, .credit { align-self: end; } .credit { justify-self: end; } }

/* CTA fijo móvil */
.sticky-cta { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; padding: 10px clamp(16px, 5vw, 40px) calc(10px + env(safe-area-inset-bottom)); background: rgb(255 255 255 / 94%); backdrop-filter: blur(10px); border-top: 1px solid var(--lilac-300); transform: translateY(110%); visibility: hidden; transition: transform .3s var(--ease), visibility 0s .3s; }
.sticky-cta.is-visible { transform: none; visibility: visible; transition: transform .3s var(--ease); }
.sticky-cta .btn { width: 100%; justify-content: space-between; }
@media (max-width: 899px) { body { padding-bottom: calc(76px + env(safe-area-inset-bottom)); } }
@media (min-width: 900px) { .sticky-cta { display: none; } }

/* Entradas al hacer scroll (solo con JS y sin reduced motion; el hero no se anima) */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .55s var(--ease), transform .55s var(--ease); transition-delay: var(--d, 0s); }
  .js .reveal.is-in { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation: none !important; }
}

.notfound { display: grid; gap: 20px; justify-items: start; padding: 80px 0; }
