/* =============================================================
   Centro Odontológico Integral — diseño público
   Estética: premium minimal, motion sutil, paleta clínica cálida
   ============================================================= */

:root {
  --crema: #FAF8F4;
  --blanco: #FFFFFF;
  --tinta: #0F2E2B;
  --petroleo: #14524A;
  --petroleo-osc: #0C3B35;
  --petroleo-hover: #1B6B60;
  --menta: #E3F0EA;
  --menta-suave: #F2F8F5;
  --oro: #C8A24B;
  --oro-suave: #F4EBD7;
  --gris-tx: #5A6E69;
  --linea: #E6E2D8;
  --error: #B4472F;
  --ok: #2F7D4F;

  --f-display: "Fraunces", Georgia, serif;
  --f-ui: "Instrument Sans", system-ui, -apple-system, sans-serif;

  --r-card: 22px;
  --r-pill: 999px;
  --sombra: 0 10px 34px rgba(15, 46, 43, .09);
  --sombra-hover: 0 18px 44px rgba(15, 46, 43, .16);
  --ease: cubic-bezier(.22, .8, .3, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--f-ui);
  color: var(--tinta);
  background: var(--crema);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }

h1, h2, h3 { font-family: var(--f-display); font-weight: 500; line-height: 1.12; letter-spacing: -.01em; }
h1 { font-size: clamp(2.4rem, 5.4vw, 4.2rem); }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.7rem); }
h1 em, h2 em { font-style: italic; color: var(--petroleo); }

.wrap { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.wrap-angosto { max-width: 880px; }
.centrado { text-align: center; margin-top: 40px; }

.skip {
  position: absolute; left: -9999px; top: 0; background: var(--tinta); color: #fff;
  padding: 10px 18px; border-radius: 0 0 12px 0; z-index: 200;
}
.skip:focus { left: 0; }

/* honeypot */
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }

/* ---------- botones ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 12px 24px; border-radius: var(--r-pill);
  font-weight: 600; font-size: .95rem; line-height: 1.2;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s, color .25s, border-color .25s;
  will-change: transform;
}
.btn:active { transform: scale(.97); }
.btn-solid { background: var(--petroleo); color: #fff; box-shadow: 0 6px 18px rgba(20, 82, 74, .28); }
.btn-solid:hover { background: var(--petroleo-hover); transform: translateY(-2px); box-shadow: 0 12px 26px rgba(20, 82, 74, .34); }
.btn-ghost { border: 1.5px solid var(--linea); background: var(--blanco); color: var(--tinta); }
.btn-ghost:hover { border-color: var(--petroleo); color: var(--petroleo); transform: translateY(-2px); }
.btn-luz { background: var(--crema); color: var(--tinta); }
.btn-luz:hover { background: #fff; transform: translateY(-2px); }
.btn-lg { padding: 15px 30px; font-size: 1.02rem; }
.btn-mini { padding: 8px 16px; font-size: .82rem; background: var(--menta); color: var(--petroleo-osc); }
.btn-mini:hover { background: var(--petroleo); color: #fff; }
.btn-mini-ghost { background: transparent; border: 1.5px solid var(--linea); }

/* ---------- topbar ---------- */
.topbar {
  position: sticky; top: 0; z-index: 100;
  background: rgba(250, 248, 244, .88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, box-shadow .3s;
}
.topbar.abajo { border-color: var(--linea); box-shadow: 0 4px 24px rgba(15, 46, 43, .06); }
.topbar-in { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: 76px; }

.brand { display: flex; align-items: center; gap: 11px; }
.brand-ico {
  width: 46px; height: 46px; border-radius: 14px;
  background: var(--petroleo); color: #fff;
  display: grid; place-items: center;
  transition: transform .35s var(--ease);
}
.brand:hover .brand-ico { transform: rotate(-8deg) scale(1.05); }
.brand-tx { display: flex; flex-direction: column; line-height: 1.1; }
.brand-tx strong { font-family: var(--f-display); font-weight: 600; font-size: 1.02rem; }
.brand-tx em { font-style: italic; font-family: var(--f-display); color: var(--petroleo); font-size: .92rem; }

.nav { display: flex; gap: 26px; font-weight: 500; font-size: .93rem; }
.nav a { position: relative; padding: 6px 0; color: var(--gris-tx); transition: color .25s; }
.nav a::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 2px; width: 0;
  background: var(--oro); border-radius: 2px; transition: width .3s var(--ease);
}
.nav a:hover, .nav a.on { color: var(--tinta); }
.nav a:hover::after, .nav a.on::after { width: 100%; }

.topbar-cta { display: flex; align-items: center; gap: 14px; }
.burger { display: none; flex-direction: column; gap: 5px; padding: 8px; }
.burger span { width: 22px; height: 2px; background: var(--tinta); border-radius: 2px; transition: transform .3s var(--ease), opacity .3s; }
.burger.x span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.x span:nth-child(2) { opacity: 0; }
.burger.x span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- hero ---------- */
.hero { padding: 64px 0 40px; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .82rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase;
  color: var(--petroleo); margin-bottom: 18px;
}
.eyebrow-luz { color: var(--oro); }

.hero-p { font-size: 1.13rem; color: var(--gris-tx); margin: 22px 0 30px; max-width: 34rem; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }

.hero-avales { display: flex; gap: 38px; margin-top: 44px; }
.hero-avales div { display: flex; flex-direction: column; }
.hero-avales strong { font-family: var(--f-display); font-size: 1.9rem; color: var(--petroleo); }
.hero-avales span { font-size: .85rem; color: var(--gris-tx); }

.hero-media { position: relative; max-width: 470px; margin-left: auto; }
.hero-retrato {
  position: relative;
  border-radius: 30px; overflow: hidden; box-shadow: var(--sombra);
  aspect-ratio: 4 / 4.5;
}
.hero-retrato img { width: 100%; height: 100%; object-fit: cover; object-position: center 22%; transition: transform 6s var(--ease); }
.hero-media:hover .hero-retrato img { transform: scale(1.05); }
.hero-retrato figcaption {
  position: absolute; right: 16px; bottom: 16px; max-width: min(280px, calc(100% - 32px));
  padding: 14px 20px; border-radius: 18px;
  background: rgba(255, 255, 255, .94);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 8px 24px rgba(15, 46, 43, .18);
  display: flex; flex-direction: column; gap: 2px;
}
.hero-retrato figcaption::before {
  content: ""; position: absolute; left: 0; top: 14px; bottom: 14px;
  width: 3px; border-radius: 3px; background: var(--oro);
}
.hero-retrato figcaption strong { font-family: var(--f-display); font-size: 1.18rem; line-height: 1.2; padding-left: 12px; }
.hero-retrato figcaption span { font-size: .8rem; color: var(--gris-tx); padding-left: 12px; }
.hero-foto-b {
  position: absolute; left: -46px; bottom: -34px; width: 200px; aspect-ratio: 1;
  border-radius: 24px; overflow: hidden; border: 6px solid var(--crema); box-shadow: var(--sombra);
  z-index: 2;
}
.hero-foto-b img { width: 100%; height: 100%; object-fit: cover; }
.hero-chip {
  position: absolute; top: 22px; right: -14px;
  display: flex; align-items: center; gap: 12px;
  background: var(--blanco); border-radius: 18px; padding: 13px 18px;
  box-shadow: var(--sombra); color: var(--petroleo);
  animation: flotar 5s ease-in-out infinite;
}
.hero-chip div { display: flex; flex-direction: column; line-height: 1.25; }
.hero-chip strong { font-size: .9rem; color: var(--tinta); }
.hero-chip span { font-size: .78rem; color: var(--gris-tx); }
@keyframes flotar { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

/* ---------- secciones ---------- */
.seccion { padding: 84px 0; }
.sec-crema { background: var(--menta-suave); }
.sec-oscura { background: var(--petroleo-osc); color: #fff; }
.sec-oscura h2 em { color: var(--oro); }
.sec-oscura p { color: rgba(255, 255, 255, .75); }

.sec-head { max-width: 640px; margin-bottom: 48px; }
.sec-head p { color: var(--gris-tx); margin-top: 14px; font-size: 1.05rem; }
.sec-oscura .sec-head p { color: rgba(255, 255, 255, .75); }
.sec-head-row { max-width: none; display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; }

/* ---------- servicios (categorías) ---------- */
.cat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 22px; }
.cat-card {
  background: var(--blanco); border-radius: var(--r-card); padding: 30px 28px;
  border: 1px solid var(--linea);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s;
}
.cat-card:hover { transform: translateY(-6px); box-shadow: var(--sombra-hover); border-color: transparent; }
.cat-ico {
  width: 54px; height: 54px; border-radius: 16px;
  background: var(--menta); color: var(--petroleo);
  display: grid; place-items: center; margin-bottom: 18px;
  transition: background .3s, color .3s, transform .35s var(--ease);
}
.cat-card:hover .cat-ico { background: var(--petroleo); color: #fff; transform: rotate(-6deg); }
.cat-card h3 { font-size: 1.25rem; margin-bottom: 12px; }
.cat-card ul { display: flex; flex-direction: column; gap: 6px; margin-bottom: 18px; }
.cat-card li { color: var(--gris-tx); font-size: .92rem; padding-left: 16px; position: relative; }
.cat-card li::before { content: "·"; position: absolute; left: 4px; color: var(--oro); font-weight: 700; }

.link-mas { display: inline-flex; align-items: center; gap: 7px; font-weight: 600; color: var(--petroleo); font-size: .93rem; transition: gap .25s var(--ease); }
.link-mas:hover { gap: 12px; }

/* ---------- pasos ---------- */
.pasos-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.paso-card {
  background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .14);
  border-radius: var(--r-card); padding: 34px 28px;
  transition: transform .35s var(--ease), background .35s;
}
.paso-card:hover { transform: translateY(-6px); background: rgba(255, 255, 255, .1); }
.paso-num {
  font-family: var(--f-display); font-style: italic; font-size: 2.6rem; color: var(--oro);
  display: block; margin-bottom: 12px; line-height: 1;
}
.paso-card h3 { font-size: 1.2rem; margin-bottom: 10px; color: #fff; }
.paso-card p { font-size: .95rem; }

/* ---------- dirección médica ---------- */
.directora-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center; }
.directora-bio { color: var(--gris-tx); font-size: 1.05rem; }
.directora-creds { display: flex; flex-wrap: wrap; gap: 8px; margin: 22px 0 26px; }
.firma {
  display: flex; flex-direction: column; gap: 2px;
  padding: 16px 0 22px; border-top: 1px solid var(--linea);
}
.firma-nombre { font-family: var(--f-display); font-style: italic; font-size: 1.5rem; color: var(--petroleo); }
.firma-rol { font-size: .85rem; color: var(--gris-tx); }

.directora-quote {
  position: relative; background: var(--blanco);
  border-radius: var(--r-card); padding: 44px 38px 34px;
  box-shadow: var(--sombra); border: 1px solid var(--linea);
}
.directora-quote .q-mark {
  position: absolute; top: 2px; left: 26px;
  font-family: var(--f-display); font-size: 6rem; line-height: 1; color: var(--oro); opacity: .35;
}
.directora-quote blockquote {
  position: relative; font-family: var(--f-display); font-style: italic;
  font-size: 1.42rem; line-height: 1.38; color: var(--tinta);
}
.directora-quote figcaption {
  margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--linea);
  font-size: .86rem; font-weight: 600; color: var(--petroleo);
}

.pro-badge {
  position: absolute; top: 14px; left: 14px; z-index: 2;
  background: var(--oro); color: var(--tinta);
  font-size: .7rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase;
  padding: 5px 12px; border-radius: var(--r-pill);
}

/* ---------- equipo ---------- */
.equipo-rail {
  display: grid; grid-auto-flow: column; grid-auto-columns: minmax(240px, 1fr);
  gap: 20px; overflow-x: auto; padding-bottom: 12px;
  scroll-snap-type: x mandatory;
}
.equipo-rail::-webkit-scrollbar { height: 8px; }
.equipo-rail::-webkit-scrollbar-thumb { background: var(--linea); border-radius: 4px; }

.pro-card {
  scroll-snap-align: start;
  background: var(--blanco); border-radius: var(--r-card); overflow: hidden;
  border: 1px solid var(--linea);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.pro-card:hover { transform: translateY(-6px); box-shadow: var(--sombra-hover); }
.pro-card figure { position: relative; aspect-ratio: 4 / 4.6; overflow: hidden; }
.pro-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.pro-card:hover img { transform: scale(1.06); }
.pro-info { padding: 18px 20px 22px; }
.pro-info h3 { font-size: 1.08rem; }
.pro-info > span { font-size: .85rem; color: var(--gris-tx); display: block; margin: 4px 0 10px; }
.pro-cta { font-style: normal; display: inline-flex; align-items: center; gap: 6px; font-size: .86rem; font-weight: 600; color: var(--petroleo); }

/* ---------- equipo (página) ---------- */
.equipo-lista { display: flex; flex-direction: column; gap: 56px; }
.pro-ficha {
  display: grid; grid-template-columns: 380px 1fr; gap: 48px; align-items: center;
  background: var(--blanco); border-radius: 28px; padding: 36px; border: 1px solid var(--linea);
}
.pro-ficha-inv { grid-template-columns: 1fr 380px; }
.pro-ficha-inv figure { order: 2; }
.pro-ficha figure { position: relative; border-radius: 20px; overflow: hidden; aspect-ratio: 4 / 4.4; }
.pro-ficha img { width: 100%; height: 100%; object-fit: cover; }
.pro-ficha-tx h2 { margin-bottom: 6px; }
.pro-mat { font-size: .85rem; color: var(--gris-tx); margin-bottom: 12px; }
.pro-ficha-tx > p { color: var(--gris-tx); }
.pro-servs { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 24px; }
.chip {
  background: var(--menta); color: var(--petroleo-osc);
  border-radius: var(--r-pill); padding: 6px 14px; font-size: .82rem; font-weight: 500;
}

/* ---------- clínica ---------- */
.clinica-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: center; }
.checks { display: flex; flex-direction: column; gap: 12px; margin-top: 24px; }
.checks li { display: flex; align-items: center; gap: 12px; color: var(--tinta); font-weight: 500; }
.checks svg { color: var(--ok); flex-shrink: 0; }
.clinica-fotos { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.clinica-fotos img {
  border-radius: 20px; aspect-ratio: 4 / 3.1; object-fit: cover; width: 100%;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.clinica-fotos img:hover { transform: scale(1.03); box-shadow: var(--sombra-hover); }
.clinica-fotos img:nth-child(2) { margin-top: 28px; }
.clinica-fotos img:nth-child(3) { margin-top: -28px; }

/* ---------- planes ---------- */
.planes-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; align-items: stretch; }
.plan-card {
  position: relative; background: var(--blanco); border: 1px solid var(--linea);
  border-radius: var(--r-card); padding: 34px 30px;
  display: flex; flex-direction: column;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.plan-card:hover { transform: translateY(-6px); box-shadow: var(--sombra-hover); }
.plan-destacado { border: 2px solid var(--petroleo); box-shadow: var(--sombra); }
.plan-tag {
  position: absolute; top: -13px; left: 28px;
  background: var(--oro); color: var(--tinta);
  font-size: .76rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase;
  padding: 5px 14px; border-radius: var(--r-pill);
}
.plan-card h3 { font-size: 1.35rem; }
.plan-desc { color: var(--gris-tx); font-size: .93rem; margin: 8px 0 18px; }
.plan-precio { font-family: var(--f-display); font-size: 2.4rem; color: var(--petroleo); margin-bottom: 20px; }
.plan-precio span { font-size: 1rem; color: var(--gris-tx); font-family: var(--f-ui); }
.plan-card ul { display: flex; flex-direction: column; gap: 10px; margin-bottom: 28px; flex: 1; }
.plan-card li { display: flex; gap: 10px; align-items: flex-start; font-size: .93rem; color: var(--gris-tx); }
.plan-card li svg { color: var(--ok); flex-shrink: 0; margin-top: 3px; }
.plan-card .btn { justify-content: center; }

/* ---------- tarifario ---------- */
.tarifa-bloque { margin-bottom: 48px; }
.tarifa-bloque h2 { font-size: 1.5rem; margin-bottom: 18px; padding-left: 14px; border-left: 4px solid var(--oro); }
.tarifa-tabla { background: var(--blanco); border: 1px solid var(--linea); border-radius: var(--r-card); overflow: hidden; }
.tarifa-fila {
  display: grid; grid-template-columns: 1fr 110px 150px 110px; gap: 18px; align-items: center;
  padding: 18px 24px; border-bottom: 1px solid var(--linea);
  transition: background .25s;
}
.tarifa-fila:last-child { border-bottom: 0; }
.tarifa-fila:hover { background: var(--menta-suave); }
.tarifa-serv { display: flex; flex-direction: column; }
.tarifa-serv strong { font-weight: 600; }
.tarifa-serv span { font-size: .85rem; color: var(--gris-tx); }
.tarifa-dur { display: flex; align-items: center; gap: 6px; font-size: .85rem; color: var(--gris-tx); white-space: nowrap; }
.tarifa-precio { font-family: var(--f-display); font-size: 1.15rem; color: var(--petroleo); text-align: right; white-space: nowrap; }
.tarifa-nota {
  margin-top: 40px; background: var(--oro-suave); border-radius: var(--r-card);
  padding: 22px 28px; display: flex; align-items: center;
}
.tarifa-nota p { display: flex; align-items: center; gap: 12px; color: var(--tinta); font-weight: 500; }

/* ---------- testimonios ---------- */
.testi-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 22px; }
.testi-card {
  background: var(--blanco); border: 1px solid var(--linea); border-radius: var(--r-card);
  padding: 28px; display: flex; flex-direction: column; gap: 14px;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.testi-card:hover { transform: translateY(-5px); box-shadow: var(--sombra-hover); }
.estrellas { color: var(--oro); letter-spacing: 3px; font-size: 1.05rem; }
.testi-q { font-size: .98rem; color: var(--tinta); font-style: normal; flex: 1; }
.testi-autor { display: flex; align-items: center; gap: 12px; }
.testi-ini {
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--menta); color: var(--petroleo-osc);
  display: grid; place-items: center; font-weight: 700; font-size: .92rem;
}
.testi-autor strong { display: block; font-size: .93rem; }
.testi-autor em { font-style: normal; font-size: .82rem; color: var(--gris-tx); }

/* ---------- blog ---------- */
.blog-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 22px; }
.blog-bloque { margin-bottom: 48px; }
.blog-cat-t { font-size: 1.4rem; margin-bottom: 18px; padding-left: 14px; border-left: 4px solid var(--oro); }
.art-card {
  background: var(--blanco); border: 1px solid var(--linea); border-radius: var(--r-card);
  overflow: hidden; display: flex; flex-direction: column;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.art-card:hover { transform: translateY(-6px); box-shadow: var(--sombra-hover); }
.art-cover {
  aspect-ratio: 16 / 9; background-size: cover; background-position: center;
  position: relative; display: flex; align-items: flex-end; padding: 16px;
}
.art-tag {
  background: rgba(250, 248, 244, .92); color: var(--tinta);
  font-size: .75rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase;
  padding: 5px 12px; border-radius: var(--r-pill);
}
.art-body { padding: 22px 24px 26px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.art-cat { font-size: .78rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--petroleo); }
.art-body h3 { font-size: 1.18rem; }
.art-body p { font-size: .92rem; color: var(--gris-tx); flex: 1; }
.art-fecha { font-size: .8rem; color: var(--gris-tx); }

/* artículo */
.art-hero { background-size: cover; background-position: center; color: #fff; padding: 90px 0 70px; }
.art-hero h1 { color: #fff; margin: 14px 0; }
.art-volver { display: inline-block; margin-bottom: 22px; color: rgba(255,255,255,.85); font-weight: 500; font-size: .9rem; }
.art-volver:hover { color: #fff; }
.art-cat-luz { background: rgba(250,248,244,.92); color: var(--tinta); font-size: .75rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; padding: 5px 12px; border-radius: var(--r-pill); }
.art-meta { color: rgba(255,255,255,.75); font-size: .9rem; }
.art-contenido { padding: 56px 24px 80px; }
.art-bajada { font-size: 1.25rem; font-family: var(--f-display); color: var(--petroleo-osc); margin-bottom: 28px; }
.art-contenido p { margin-bottom: 20px; color: #33443F; font-size: 1.04rem; }
.art-contenido h2 { font-size: 1.5rem; margin: 36px 0 16px; }
.art-contenido ul { margin: 0 0 20px 4px; display: flex; flex-direction: column; gap: 8px; }
.art-contenido ul li { padding-left: 22px; position: relative; color: #33443F; }
.art-contenido ul li::before { content: "—"; position: absolute; left: 0; color: var(--oro); }
.art-cta {
  margin-top: 48px; background: var(--menta-suave); border-radius: var(--r-card);
  padding: 34px; text-align: center;
}
.art-cta h3 { font-size: 1.3rem; margin-bottom: 6px; }
.art-cta p { margin-bottom: 18px; }

/* ---------- contacto ---------- */
.contacto-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.contacto-datos { margin-top: 28px; display: flex; flex-direction: column; gap: 14px; }
.contacto-datos p { display: flex; align-items: center; gap: 12px; color: rgba(255,255,255,.85); }

.form-card {
  background: var(--blanco); border-radius: var(--r-card); padding: 32px;
  display: flex; flex-direction: column; gap: 18px;
  box-shadow: var(--sombra); color: var(--tinta);
}
.form-card label { display: flex; flex-direction: column; gap: 7px; font-weight: 600; font-size: .88rem; flex: 1; }
.form-card input, .form-card textarea {
  font: inherit; padding: 12px 16px; border-radius: 14px;
  border: 1.5px solid var(--linea); background: var(--crema);
  transition: border-color .25s, box-shadow .25s;
}
.form-card input:focus, .form-card textarea:focus {
  outline: none; border-color: var(--petroleo); box-shadow: 0 0 0 4px rgba(20, 82, 74, .12);
}
.form-row { display: flex; gap: 16px; }
.form-row-btn { align-items: flex-end; }

.flash { padding: 13px 18px; border-radius: 14px; font-weight: 500; font-size: .92rem; }
.flash-ok { background: #E5F3EA; color: var(--ok); }
.flash-error { background: #F8E7E1; color: var(--error); }

/* ---------- wizard turnos ---------- */
.wizard-page { padding: 56px 0 90px; }
.wizard-page .sec-head { margin-bottom: 32px; }

.rail {
  display: flex; gap: 6px; margin-bottom: 36px;
  counter-reset: rail; list-style: none; flex-wrap: wrap;
}
.rail li {
  display: flex; align-items: center; gap: 8px;
  font-size: .86rem; font-weight: 600; color: var(--gris-tx);
  padding: 9px 16px; border-radius: var(--r-pill);
  background: var(--blanco); border: 1.5px solid var(--linea);
  transition: all .3s var(--ease);
}
.rail li span {
  width: 22px; height: 22px; border-radius: 50%; font-size: .75rem;
  background: var(--linea); color: var(--gris-tx);
  display: grid; place-items: center; transition: all .3s;
}
.rail li.rail-on { border-color: var(--petroleo); color: var(--petroleo-osc); }
.rail li.rail-on span { background: var(--petroleo); color: #fff; }
.rail li.rail-done { border-color: var(--ok); color: var(--ok); }
.rail li.rail-done span { background: var(--ok); color: #fff; }

.paso { display: none; animation: aparecer .45s var(--ease); }
.paso-on { display: block; }
@keyframes aparecer { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

.wz-cat { margin-bottom: 30px; }
.wz-cat-t { font-size: 1.2rem; margin-bottom: 14px; padding-left: 12px; border-left: 4px solid var(--oro); }
.wz-servicios { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 14px; }
.wz-serv {
  text-align: left; background: var(--blanco); border: 1.5px solid var(--linea);
  border-radius: 18px; padding: 18px 20px;
  display: flex; flex-direction: column; gap: 6px;
  transition: all .3s var(--ease);
}
.wz-serv:hover { border-color: var(--petroleo); transform: translateY(-3px); box-shadow: var(--sombra); }
.wz-serv-t { font-weight: 600; font-size: 1rem; }
.wz-serv-d { font-size: .85rem; color: var(--gris-tx); }
.wz-serv-meta { display: flex; align-items: center; gap: 6px; font-size: .84rem; color: var(--gris-tx); margin-top: 4px; }
.wz-serv-meta strong { color: var(--petroleo); }

.wz-resumen {
  background: var(--menta-suave); border-radius: 16px; padding: 14px 20px;
  font-size: .92rem; margin-bottom: 24px; color: var(--petroleo-osc);
  display: flex; flex-wrap: wrap; gap: 6px 18px;
}
.wz-resumen strong { font-weight: 700; }

.wz-pros { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 16px; margin-bottom: 24px; }
.wz-pro {
  display: flex; align-items: center; gap: 14px; text-align: left;
  background: var(--blanco); border: 1.5px solid var(--linea); border-radius: 18px; padding: 14px 16px;
  transition: all .3s var(--ease);
}
.wz-pro:hover { border-color: var(--petroleo); transform: translateY(-3px); box-shadow: var(--sombra); }
.wz-pro img { width: 62px; height: 62px; border-radius: 50%; object-fit: cover; }
.wz-pro-tx { display: flex; flex-direction: column; }
.wz-pro-tx strong { font-size: .96rem; }
.wz-pro-tx span { font-size: .82rem; color: var(--gris-tx); }

.week-nav { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 18px; }
.week-nav .btn { padding: 9px 16px; }
.week-nav .btn[disabled] { opacity: .35; pointer-events: none; }

.dias-strip { display: grid; grid-template-columns: repeat(7, 1fr); gap: 8px; margin-bottom: 22px; }
.dia-btn {
  display: flex; flex-direction: column; align-items: center; gap: 2px;
  padding: 12px 4px; border-radius: 14px; background: var(--blanco);
  border: 1.5px solid var(--linea); font-weight: 600; font-size: .82rem;
  transition: all .25s var(--ease);
}
.dia-btn em { font-style: normal; font-family: var(--f-display); font-size: 1.2rem; }
.dia-btn small { font-weight: 500; color: var(--gris-tx); font-size: .72rem; }
.dia-btn:not([disabled]):hover { border-color: var(--petroleo); transform: translateY(-2px); }
.dia-btn.on { background: var(--petroleo); border-color: var(--petroleo); color: #fff; }
.dia-btn.on small { color: rgba(255,255,255,.75); }
.dia-btn[disabled] { opacity: .38; cursor: not-allowed; }

.horas-grid { display: flex; flex-wrap: wrap; gap: 10px; min-height: 60px; }
.hora-btn {
  padding: 10px 18px; border-radius: var(--r-pill);
  background: var(--blanco); border: 1.5px solid var(--linea);
  font-weight: 600; font-size: .92rem;
  transition: all .22s var(--ease);
}
.hora-btn:hover { border-color: var(--petroleo); color: var(--petroleo); transform: translateY(-2px); }
.wz-nota { color: var(--gris-tx); font-size: .92rem; }
.wz-error { color: var(--error); font-weight: 600; font-size: .92rem; }
.wz-volver { margin-top: 26px; }

.ticket {
  background: var(--blanco); border-radius: 26px; padding: 44px;
  text-align: center; box-shadow: var(--sombra);
  max-width: 560px; margin: 0 auto;
}
.ticket-check {
  width: 74px; height: 74px; border-radius: 50%; margin: 0 auto 20px;
  background: #E5F3EA; color: var(--ok); display: grid; place-items: center;
  animation: pop .5s var(--ease);
}
@keyframes pop { 0% { transform: scale(.4); opacity: 0; } 70% { transform: scale(1.12); } 100% { transform: scale(1); opacity: 1; } }
.ticket h2 { margin-bottom: 16px; }
.ticket-datos {
  background: var(--menta-suave); border-radius: 16px; padding: 20px;
  margin-bottom: 18px; text-align: left; display: flex; flex-direction: column; gap: 8px;
}
.ticket-datos div { display: flex; justify-content: space-between; gap: 16px; font-size: .95rem; }
.ticket-datos dt { color: var(--gris-tx); }
.ticket-datos dd { font-weight: 600; text-align: right; }
.ticket .btn { margin-top: 10px; }
.ticket-warn h2 { color: var(--error); }
.ticket-warn p { margin-bottom: 20px; color: var(--gris-tx); }

/* ---------- mis turnos ---------- */
.mt-lista { margin-top: 28px; display: flex; flex-direction: column; gap: 14px; }
.mt-item {
  background: var(--blanco); border: 1px solid var(--linea); border-radius: 18px;
  padding: 20px 24px; display: flex; align-items: center; justify-content: space-between; gap: 18px;
  animation: aparecer .4s var(--ease);
}
.mt-item-tx strong { display: block; }
.mt-item-tx span { font-size: .88rem; color: var(--gris-tx); }
.mt-cancelar { color: var(--error); font-weight: 600; font-size: .88rem; }
.mt-cancelar:hover { text-decoration: underline; }

/* ---------- footer ---------- */
.footer { background: var(--tinta); color: rgba(255,255,255,.8); padding: 64px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1.2fr; gap: 48px; padding-bottom: 44px; border-bottom: 1px solid rgba(255,255,255,.12); }
.f-col h4 { color: #fff; font-family: var(--f-display); font-size: 1.05rem; margin-bottom: 16px; }
.f-col a { display: block; padding: 4px 0; font-size: .92rem; transition: color .25s, transform .25s var(--ease); }
.f-col a:hover { color: var(--oro); transform: translateX(4px); }
.f-brand p { font-size: .92rem; margin-top: 14px; max-width: 30rem; }
.f-dir { font-size: .82rem !important; color: rgba(255,255,255,.55); }
.brand-f .brand-tx strong { color: #fff; }
.brand-f .brand-tx em { color: var(--oro); }
.brand-f .brand-ico { background: rgba(255,255,255,.12); }
.f-col p { display: flex; align-items: center; gap: 10px; font-size: .9rem; padding: 4px 0; }
.f-social { display: flex; gap: 12px; margin-top: 16px; }
.f-social a {
  width: 42px; height: 42px; border-radius: 12px;
  background: rgba(255,255,255,.1); display: grid; place-items: center;
  transition: background .25s, transform .25s var(--ease);
}
.f-social a:hover { background: var(--petroleo); transform: translateY(-3px); }
.f-legal {
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding-top: 24px; font-size: .84rem; color: rgba(255,255,255,.55); flex-wrap: wrap;
}
.f-ditto a { color: rgba(255,255,255,.8); }
.f-ditto a:hover { color: var(--oro); }
.f-ditto strong { letter-spacing: .02em; }

/* ---------- whatsapp flotante ---------- */
.wa-flot {
  position: fixed; right: 22px; bottom: 22px; z-index: 90;
  width: 58px; height: 58px; border-radius: 50%;
  background: #25D366; color: #fff; display: grid; place-items: center;
  box-shadow: 0 10px 26px rgba(37, 211, 102, .4);
  transition: transform .3s var(--ease);
}
.wa-flot:hover { transform: scale(1.1) rotate(-6deg); }

/* ---------- reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.visto { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ---------- responsive ---------- */
@media (max-width: 1020px) {
  .hero-grid, .clinica-grid, .contacto-grid, .directora-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-media { max-width: 420px; margin: 0 auto; }
  .hero-foto-b { left: 10px; }
  .pasos-grid { grid-template-columns: 1fr; }
  .pro-ficha, .pro-ficha-inv { grid-template-columns: 1fr; gap: 24px; }
  .pro-ficha-inv figure { order: 0; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .tarifa-fila { grid-template-columns: 1fr auto; grid-template-rows: auto auto; }
  .tarifa-dur { display: none; }
}

@media (max-width: 780px) {
  .nav {
    position: fixed; inset: 76px 0 auto 0; z-index: 99;
    flex-direction: column; gap: 0;
    background: var(--crema); border-bottom: 1px solid var(--linea);
    padding: 12px 24px 20px;
    transform: translateY(-130%); transition: transform .4s var(--ease);
  }
  .nav.abierto { transform: none; }
  .nav a { padding: 12px 0; font-size: 1.05rem; }
  .burger { display: flex; }
  .topbar-cta .btn { padding: 10px 16px; font-size: .85rem; }
  .hero { padding-top: 36px; }
  .hero-avales { gap: 22px; flex-wrap: wrap; }
  .hero-retrato { aspect-ratio: 4 / 4.2; }
  .hero-foto-b { display: none; }
  .directora-quote { padding: 40px 26px 28px; }
  .directora-quote blockquote { font-size: 1.22rem; }
  .seccion { padding: 60px 0; }
  .form-row { flex-direction: column; }
  .dias-strip { grid-template-columns: repeat(7, minmax(44px, 1fr)); gap: 5px; }
  .ticket { padding: 30px 22px; }
  .hero-chip { right: 8px; }
}
