/* ==========================================================================
   Dra. Natacha Ibarrola Díaz — Odontología
   ========================================================================== */

:root {
  --ink: #0f2740;
  --ink-soft: #3d5067;
  --muted: #64768b;

  --primary: #1468b3;
  --primary-600: #0f5596;
  --primary-700: #0b4277;
  --primary-900: #082d52;
  --sky: #4cb1e6;
  --sky-50: #f1f7fd;
  --sky-100: #e1eef9;
  --sky-200: #c7e0f4;

  --wa: #1c9d51;
  --wa-dark: #158043;

  --bg: #fbfcfe;
  --surface: #ffffff;
  --line: #e2eaf2;

  --radius-sm: 12px;
  --radius: 20px;
  --radius-lg: 30px;

  --shadow-sm: 0 1px 2px rgba(15, 39, 64, .05), 0 4px 14px rgba(15, 39, 64, .05);
  --shadow: 0 18px 40px -18px rgba(15, 39, 64, .22);
  --shadow-lg: 0 40px 80px -30px rgba(11, 66, 119, .45);

  --font-head: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --header-h: 76px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* Base ------------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink-soft);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3 { color: var(--ink); margin: 0; line-height: 1.15; }
h1, h2 { font-family: var(--font-head); font-weight: 500; letter-spacing: -.015em; }
h3 { font-size: 1.15rem; font-weight: 700; letter-spacing: -.005em; }
p { margin: 0; }
a { color: var(--primary); }
img, svg, iframe { display: block; max-width: 100%; }
ul, ol { margin: 0; padding: 0; list-style: none; }

svg { width: 1.25em; height: 1.25em; flex-shrink: 0; }

:focus-visible { outline: 3px solid var(--sky); outline-offset: 3px; border-radius: 6px; }

.container { width: 100%; max-width: 1180px; margin-inline: auto; padding-inline: 20px; }

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  background: var(--primary-700); color: #fff; padding: 10px 16px; border-radius: 10px;
  text-decoration: none; font-weight: 600; transition: top .2s;
}
.skip-link:focus { top: 12px; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 16px;
}
.eyebrow::before { content: ""; width: 26px; height: 2px; border-radius: 2px; background: currentColor; opacity: .6; }
.eyebrow--light { color: var(--sky-200); }

.lead { font-size: 1.2rem; line-height: 1.6; color: var(--ink-soft); }

/* Marcador de contenido pendiente */
.pendiente {
  display: inline-flex; align-items: center;
  font-family: var(--font-body);
  font-size: .68rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  line-height: 1.4; white-space: nowrap;
  color: #8a4f00; background: #fff3d6; border: 1px dashed #e0a940;
  padding: 2px 9px; border-radius: 999px; vertical-align: middle;
}

/* Botones --------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font: 600 1rem/1 var(--font-body);
  padding: 15px 22px; border-radius: 999px; border: 1.5px solid transparent;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), background-color .2s, color .2s, border-color .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn--sm { padding: 11px 18px; font-size: .92rem; }
.btn--lg { padding: 17px 26px; font-size: 1.02rem; }

.btn--primary { background: var(--primary); color: #fff; box-shadow: 0 10px 22px -10px rgba(20, 104, 179, .7); }
.btn--primary:hover { background: var(--primary-600); }

.btn--wa { background: var(--wa); color: #fff; box-shadow: 0 12px 26px -12px rgba(28, 157, 81, .75); }
.btn--wa:hover { background: var(--wa-dark); }

.btn--ghost { background: var(--surface); color: var(--primary-700); border-color: var(--sky-200); }
.btn--ghost:hover { border-color: var(--primary); box-shadow: var(--shadow-sm); }

.btn--light { background: #fff; color: var(--primary-700); }
.btn--light:hover { box-shadow: 0 14px 30px -14px rgba(0, 0, 0, .5); }

.btn--outline-light { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .45); }
.btn--outline-light:hover { background: rgba(255, 255, 255, .1); border-color: #fff; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 700; color: var(--primary); text-decoration: none;
}
.link-arrow svg { width: 1.1em; height: 1.1em; transition: transform .2s var(--ease); }
.link-arrow:hover svg { transform: translateX(4px); }

/* Aviso de propuesta ---------------------------------------------------- */
.proposal-banner { background: var(--primary-900); color: #dbe9f6; font-size: .9rem; }
.proposal-banner__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 10px; }
.proposal-banner strong { color: #fff; }
.proposal-banner .pendiente { color: #8a4f00; }
.proposal-banner__close {
  display: grid; place-items: center; width: 32px; height: 32px; flex-shrink: 0;
  background: transparent; border: 0; border-radius: 8px; color: #dbe9f6; cursor: pointer;
}
.proposal-banner__close:hover { background: rgba(255, 255, 255, .1); }
.proposal-banner[hidden] { display: none; }

/* Encabezado ------------------------------------------------------------ */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(251, 252, 254, .82);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: box-shadow .25s, border-color .25s;
}
.site-header.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 6px 24px -14px rgba(15, 39, 64, .25); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: var(--header-h); }

.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); min-width: 0; }
.brand__mark {
  display: grid; place-items: center; width: 44px; height: 44px; flex-shrink: 0;
  border-radius: 14px; color: #fff;
  background: linear-gradient(145deg, #1d7cc9, var(--primary-700));
  box-shadow: 0 8px 18px -8px rgba(11, 66, 119, .8);
}
.brand__mark svg { width: 24px; height: 24px; }
.brand__text { display: flex; flex-direction: column; min-width: 0; }
.brand__name { font-family: var(--font-head); font-size: 1.12rem; font-weight: 500; line-height: 1.2; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.brand__role { font-size: .74rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.brand--light { color: #fff; }
.brand--light .brand__role { color: #9fbfdc; }

.nav { display: flex; align-items: center; gap: 28px; }
.nav__list { display: flex; gap: 26px; }
.nav__list a {
  position: relative; text-decoration: none; color: var(--ink-soft);
  font-size: .96rem; font-weight: 600; padding-block: 6px;
  transition: color .2s;
}
.nav__list a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; border-radius: 2px;
  background: var(--primary); transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease);
}
.nav__list a:hover, .nav__list a.is-active { color: var(--primary-700); }
.nav__list a:hover::after, .nav__list a.is-active::after { transform: scaleX(1); }

.nav-toggle {
  display: none; place-items: center; width: 46px; height: 46px; flex-shrink: 0;
  border: 1px solid var(--line); border-radius: 14px; background: var(--surface); color: var(--ink); cursor: pointer;
}
.nav-toggle svg { width: 22px; height: 22px; }
.nav-toggle__close { display: none; }
.nav-toggle[aria-expanded="true"] .nav-toggle__open { display: none; }
.nav-toggle[aria-expanded="true"] .nav-toggle__close { display: block; }

/* Portada --------------------------------------------------------------- */
.hero {
  position: relative; overflow: hidden;
  padding: clamp(48px, 8vw, 96px) 0 clamp(64px, 9vw, 112px);
  background:
    radial-gradient(900px 500px at 85% 10%, rgba(76, 177, 230, .18), transparent 60%),
    radial-gradient(700px 500px at -10% 90%, rgba(20, 104, 179, .08), transparent 60%),
    var(--bg);
}
.hero__grid { display: grid; grid-template-columns: 1.08fr .92fr; gap: clamp(40px, 6vw, 80px); align-items: center; }

.hero h1 { font-size: clamp(2.5rem, 5.4vw, 4.1rem); margin-bottom: 24px; }
.hero h1 em { font-style: italic; color: var(--primary); }
.hero .lead { max-width: 36ch; margin-bottom: 34px; }

.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 38px; }

.hero__facts { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.hero__facts li { display: inline-flex; align-items: center; gap: 9px; font-size: .95rem; font-weight: 600; color: var(--ink); }
.hero__facts svg { width: 20px; height: 20px; color: var(--primary); }

.hero__visual { position: relative; max-width: 440px; justify-self: center; width: 100%; }
.hero__visual::before {
  content: ""; position: absolute; inset: -6% -10% auto auto; width: 70%; aspect-ratio: 1;
  border-radius: 50%; border: 1.5px dashed var(--sky-200); z-index: 0;
}

.portrait {
  position: relative; z-index: 1; overflow: hidden;
  display: grid; place-items: center; aspect-ratio: 4 / 5;
  border-radius: 220px 220px var(--radius-lg) var(--radius-lg);
  background: linear-gradient(165deg, #2b8ad3 0%, var(--primary-700) 70%, var(--primary-900) 100%);
  box-shadow: var(--shadow-lg);
}
.portrait__watermark { position: absolute; width: 78%; height: auto; aspect-ratio: 1; color: rgba(255, 255, 255, .07); bottom: -10%; right: -14%; }
.portrait__monogram { font-family: var(--font-head); font-size: clamp(4.5rem, 10vw, 6.5rem); font-weight: 400; font-style: italic; color: rgba(255, 255, 255, .92); letter-spacing: .02em; }
.portrait__caption {
  position: absolute; left: 50%; bottom: 22px; transform: translateX(-50%);
  display: inline-flex; align-items: center; gap: 8px; white-space: nowrap;
  font-size: .82rem; font-weight: 600; color: rgba(255, 255, 255, .85);
}
.portrait--soft { background: linear-gradient(165deg, var(--sky-100), var(--sky-200)); box-shadow: var(--shadow); }
.portrait--soft .portrait__monogram { color: var(--primary-700); }
.portrait--soft .portrait__watermark { color: rgba(20, 104, 179, .08); }
.portrait--soft .portrait__caption { color: var(--primary-700); }

.float-card {
  position: absolute; z-index: 2;
  display: flex; align-items: center; gap: 12px; max-width: 250px;
  padding: 14px 18px 14px 14px; border-radius: 18px;
  background: rgba(255, 255, 255, .96); box-shadow: var(--shadow);
  font-size: .9rem; line-height: 1.35; color: var(--ink);
}
.float-card strong { display: block; font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--primary); }
.float-card__icon { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; flex-shrink: 0; background: var(--sky-100); color: var(--primary); }
.float-card__icon svg { width: 22px; height: 22px; }
.float-card--a { left: -12%; top: 18%; }
.float-card--b { right: -10%; bottom: 14%; }

/* Secciones ------------------------------------------------------------- */
.section { padding: clamp(72px, 9vw, 120px) 0; }
.section--tint { background: linear-gradient(180deg, var(--sky-50), #f7fbfe); }

.section__head { max-width: 680px; margin: 0 auto clamp(40px, 5vw, 64px); text-align: center; }
.section__head h2 { font-size: clamp(2rem, 3.8vw, 2.9rem); margin-bottom: 16px; }
.section__head p:not(.eyebrow) { font-size: 1.1rem; }
.section__head .eyebrow { justify-content: center; }
.section__head--left { text-align: left; margin-inline: 0; }
.section__head--left .eyebrow { justify-content: flex-start; }

/* Enfoque */
.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.feature {
  padding: 30px 26px; border-radius: var(--radius);
  background: var(--surface); border: 1px solid var(--line);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s;
}
.feature:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.feature__icon {
  display: grid; place-items: center; width: 52px; height: 52px; margin-bottom: 22px;
  border-radius: 16px; background: var(--sky-100); color: var(--primary);
}
.feature__icon svg { width: 26px; height: 26px; }
.feature h3 { margin-bottom: 10px; }
.feature p { font-size: .98rem; }

/* Servicios */
.services { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; align-items: stretch; max-width: 920px; margin-inline: auto; }
.service {
  display: flex; flex-direction: column;
  padding: 34px 30px; border-radius: var(--radius-lg);
  background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-sm);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.service:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.service__top { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 26px; }
.service__icon { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 18px; background: var(--sky-100); color: var(--primary); }
.service__icon svg { width: 28px; height: 28px; }
.service h3 { font-family: var(--font-head); font-weight: 500; font-size: 1.55rem; margin-bottom: 12px; }
.service > p { margin-bottom: 22px; }
.service > .service__note {
  margin-top: -8px; padding: 12px 14px; border-radius: var(--radius-sm);
  font-size: .88rem; line-height: 1.5; background: var(--sky-50); color: var(--ink-soft);
}
.service--featured > .service__note { background: rgba(255, 255, 255, .1); color: #e3eefa; }
.service .checklist { margin-bottom: 28px; }
.service .link-arrow { margin-top: auto; }

.price { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: -6px 0 28px; }
.price > div { padding: 12px 14px; border-radius: var(--radius-sm); background: var(--sky-50); border: 1px solid var(--sky-100); }
.price dt { font-size: .74rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.price dd { margin: 2px 0 0; font-family: var(--font-head); font-size: 1.5rem; font-weight: 500; color: var(--ink); font-variant-numeric: tabular-nums; }

.portrait--photo { background: #e6e6e8; }
.portrait--photo img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: 50% 18%; }

.tag {
  display: inline-flex; padding: 6px 12px; border-radius: 999px;
  font-size: .76rem; font-weight: 700; letter-spacing: .04em;
  background: var(--sky-50); color: var(--primary-700); border: 1px solid var(--sky-200);
}
.tag--light { background: rgba(255, 255, 255, .12); color: #fff; border-color: rgba(255, 255, 255, .3); }

.checklist { display: grid; gap: 10px; }
.checklist li { display: flex; align-items: center; gap: 10px; font-weight: 600; color: var(--ink); font-size: .97rem; }
.checklist svg { width: 22px; height: 22px; padding: 4px; border-radius: 50%; background: #e3f4ea; color: var(--wa); }

.service--featured {
  background: linear-gradient(160deg, var(--primary) 0%, var(--primary-700) 100%);
  border-color: transparent; color: #d6e7f7; box-shadow: var(--shadow-lg);
}
.service--featured h3, .service--featured .checklist li { color: #fff; }
.service--featured .service__icon { background: rgba(255, 255, 255, .14); color: #fff; }
.service--featured .checklist svg { background: rgba(255, 255, 255, .16); color: #fff; }
.service--featured .link-arrow { color: #fff; }

.price--light { grid-template-columns: auto; justify-content: start; }
.service--featured .price--light > div { background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .18); }
.service--featured .price--light dt { color: #bcd6ee; }
.service--featured .price--light dd { color: #fff; }

/* Teleodontología */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: stretch; }
.plan {
  display: flex; flex-direction: column; gap: 14px;
  padding: 30px 28px; border-radius: var(--radius-lg);
  background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-sm);
}
.plan__top { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 6px; }
.plan__icon { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 16px; background: var(--sky-100); color: var(--primary); }
.plan__icon svg { width: 26px; height: 26px; }
.plan h3 { font-family: var(--font-head); font-weight: 500; font-size: 1.4rem; line-height: 1.2; }
.plan__meta { display: flex; align-items: center; gap: 8px; font-size: .92rem; font-weight: 600; color: var(--muted); }
.plan__meta svg { width: 18px; height: 18px; }
.plan__price { font-family: var(--font-head); font-size: 2.2rem; font-weight: 500; line-height: 1; color: var(--ink); font-variant-numeric: tabular-nums; }
.plan .checklist { margin: 6px 0 12px; }
.plan .checklist li { align-items: flex-start; font-size: .94rem; line-height: 1.45; }
.plan .checklist svg { margin-top: 1px; }
.plan .btn { margin-top: auto; width: 100%; }

.plan--urgent {
  background: linear-gradient(160deg, var(--primary-700), var(--primary-900));
  border-color: transparent; color: #c9dcee; box-shadow: var(--shadow-lg);
}
.plan--urgent h3, .plan--urgent .plan__price, .plan--urgent .checklist li { color: #fff; }
.plan--urgent .plan__meta { color: #a9c6e2; }
.plan--urgent .plan__icon { background: rgba(255, 190, 140, .16); color: #ffcfa8; }
.plan--urgent .checklist svg { background: rgba(255, 255, 255, .16); color: #fff; }

.pay {
  display: flex; align-items: center; justify-content: space-between; gap: 20px 40px; flex-wrap: wrap;
  margin-top: 28px; padding: 28px 30px; border-radius: var(--radius-lg);
  background: var(--sky-50); border: 1px solid var(--sky-100);
}
.pay__copy { flex: 1 1 420px; min-width: 0; }
.pay__label { font-size: .76rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--primary); margin-bottom: 8px; }
.pay h3 { font-family: var(--font-head); font-weight: 500; font-size: 1.5rem; margin-bottom: 8px; }
.pay strong { color: var(--ink); font-variant-numeric: tabular-nums; }
.pay .btn svg { width: 1.1em; height: 1.1em; }

.scope {
  display: grid; grid-template-columns: 1fr 1fr; gap: 0; margin-top: 28px;
  border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); background: var(--surface);
}
.scope__col { padding: 28px 30px; }
.scope__col--presencial { background: var(--sky-50); border-left: 1px solid var(--line); }
.scope__label { font-size: .76rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--primary); margin-bottom: 14px; }
.scope ul { display: grid; gap: 10px; }
.scope li { display: flex; gap: 12px; align-items: baseline; font-weight: 600; color: var(--ink); font-size: .96rem; }
.scope li::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--sky); flex-shrink: 0; transform: translateY(-1px); }
.scope__col--presencial li::before { background: var(--primary-700); }

.tele-important { margin-top: 20px; font-size: .97rem; text-align: center; }
.tele-important strong { color: var(--ink); }

.alert {
  display: flex; align-items: flex-start; gap: 16px; margin-top: 20px;
  padding: 20px 24px; border-radius: var(--radius);
  background: #fff4ec; border: 1px solid #f3cdb0; color: #6b3416;
}
.alert strong { color: #5a2810; }
.alert__icon { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; flex-shrink: 0; background: #ffe2cc; color: #c2410c; }
.alert__icon svg { width: 22px; height: 22px; }

/* Temor dental */
.calm {
  position: relative; overflow: hidden;
  padding: clamp(72px, 9vw, 112px) 0;
  background:
    radial-gradient(700px 400px at 100% 0%, rgba(76, 177, 230, .28), transparent 60%),
    linear-gradient(160deg, var(--primary-700), var(--primary-900));
  color: #c9dcee;
}
.calm__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 88px); align-items: center; }
.calm h2 { color: #fff; font-size: clamp(2.1rem, 4vw, 3.1rem); margin-bottom: 20px; }
.calm__copy p:not(.eyebrow) { font-size: 1.15rem; margin-bottom: 32px; max-width: 46ch; }
.calm__list { display: grid; gap: 16px; }
.calm__list li {
  display: flex; gap: 18px; align-items: flex-start;
  padding: 22px 24px; border-radius: var(--radius);
  background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12);
}
.calm__list h3 { color: #fff; margin-bottom: 4px; }
.calm__list p { font-size: .98rem; }
.calm__icon { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; flex-shrink: 0; background: rgba(255, 255, 255, .12); color: #fff; }
.calm__icon svg { width: 22px; height: 22px; }

/* Sobre mí */
.about { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(40px, 6vw, 88px); align-items: center; }
.about__photo { max-width: 420px; width: 100%; justify-self: center; }
.about h2 { font-size: clamp(2.1rem, 4vw, 3rem); margin-bottom: 20px; }
.about .lead { margin-bottom: 16px; color: var(--ink); }
.about__copy > p:not(.eyebrow):not(.lead) { margin-bottom: 32px; }

.credentials { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.credentials li {
  display: flex; gap: 14px; align-items: flex-start;
  padding: 18px; border-radius: var(--radius-sm);
  background: var(--sky-50); border: 1px solid var(--sky-100);
}
.credentials svg { width: 24px; height: 24px; color: var(--primary); margin-top: 2px; }
.credentials strong { display: block; color: var(--ink); font-size: .97rem; line-height: 1.35; }
.credentials small { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: 4px; font-size: .86rem; color: var(--muted); }

/* Cómo agendar */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; counter-reset: step; position: relative; }
.step {
  position: relative; padding: 34px 30px; border-radius: var(--radius);
  background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-sm);
}
.step__num {
  display: grid; place-items: center; width: 52px; height: 52px; margin-bottom: 22px;
  border-radius: 50%; font-family: var(--font-head); font-size: 1.5rem; font-weight: 500;
  background: linear-gradient(145deg, #1d7cc9, var(--primary-700)); color: #fff;
  box-shadow: 0 10px 22px -10px rgba(11, 66, 119, .8);
}
.step h3 { margin-bottom: 8px; font-size: 1.2rem; }
.steps__cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-top: 44px; }

/* Ubicación */
.location { display: grid; grid-template-columns: 1fr 1.15fr; gap: 24px; align-items: stretch; }
.location__cards { display: grid; gap: 20px; }
.info-card { padding: 28px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.info-card h3 { display: flex; align-items: center; gap: 12px; font-family: var(--font-head); font-weight: 500; font-size: 1.4rem; margin-bottom: 18px; }
.info-card h3 svg { width: 28px; height: 28px; color: var(--primary); }
.info-card dl { margin: 0; display: grid; gap: 12px; }
.info-card dl > div { display: grid; grid-template-columns: 130px 1fr; gap: 12px; padding-top: 12px; border-top: 1px solid var(--line); }
.info-card dt { display: flex; align-items: center; gap: 8px; font-weight: 700; color: var(--ink); font-size: .93rem; }
.info-card dt svg { width: 18px; height: 18px; color: var(--muted); }
.info-card dd { margin: 0; font-size: .97rem; }
.location__map { min-height: 360px; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow-sm); background: var(--sky-50); }
.location__map iframe { width: 100%; height: 100%; min-height: 360px; border: 0; }

/* Consejos */
.tips { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.tip {
  display: grid; align-content: start; gap: 8px;
  padding: 30px 28px; border-radius: var(--radius);
  background: var(--surface); border: 1px solid var(--line);
}
.tip__icon { display: grid; place-items: center; width: 48px; height: 48px; margin-bottom: 10px; border-radius: 14px; background: var(--sky-100); color: var(--primary); }
.tip__icon svg { width: 24px; height: 24px; }
.tip__stat { font-family: var(--font-head); font-size: 1.9rem; font-weight: 500; line-height: 1.1; color: var(--primary); }
.tip h3 { margin-top: 4px; }
.tip p:not(.tip__stat) { font-size: .98rem; }

.topic {
  display: grid; grid-template-columns: 1.3fr 1fr; gap: clamp(24px, 4vw, 56px); align-items: center;
  margin-top: 24px; padding: clamp(28px, 4vw, 48px); border-radius: var(--radius-lg);
  background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-sm);
}
.topic__copy { display: grid; gap: 14px; justify-items: start; min-width: 0; }
.topic h3 { font-family: var(--font-head); font-weight: 500; font-size: clamp(1.5rem, 2.6vw, 1.9rem); }
.topic strong { color: var(--ink); }
.topic__risks { padding: 26px 28px; border-radius: var(--radius); background: var(--sky-50); border: 1px solid var(--sky-100); }
.topic__label { font-size: .76rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--primary); margin-bottom: 14px; }
.topic__risks ul { display: grid; gap: 10px; }
.topic__risks li { display: flex; align-items: center; gap: 12px; font-weight: 600; color: var(--ink); }
.topic__risks li::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--sky); flex-shrink: 0; }

.explainer { display: grid; gap: 16px; margin-top: 24px; }
.explainer .topic { margin-top: 0; }
.explainer:not(.is-ready) .explainer__tabs { display: none; }
.explainer__tabs { display: flex; flex-wrap: wrap; gap: 8px; }
.explainer__tab {
  padding: 10px 18px; border-radius: 999px; cursor: pointer;
  font: 600 .94rem/1.2 var(--font-body); color: var(--primary-700);
  background: var(--surface); border: 1px solid var(--sky-200);
  transition: background-color .2s, color .2s, border-color .2s;
}
.explainer__tab:hover { border-color: var(--primary); }
.explainer__tab[aria-selected="true"] { background: var(--primary); border-color: var(--primary); color: #fff; }

/* Preguntas frecuentes */
.faq { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.faq .section__head { position: sticky; top: calc(var(--header-h) + 32px); margin-bottom: 0; }
.faq__list { display: grid; gap: 12px; }
.faq__list details {
  border-radius: var(--radius-sm); background: var(--surface); border: 1px solid var(--line);
  transition: box-shadow .25s, border-color .25s;
}
.faq__list details[open] { box-shadow: var(--shadow-sm); border-color: var(--sky-200); }
.faq__list summary {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 20px 22px; cursor: pointer; list-style: none;
  font-weight: 700; color: var(--ink); font-size: 1.02rem;
}
.faq__list summary::-webkit-details-marker { display: none; }
.faq__list summary::after {
  content: ""; flex-shrink: 0; width: 28px; height: 28px; border-radius: 50%;
  background: var(--sky-100) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%231468b3' stroke-width='2.4' stroke-linecap='round' d='M12 6v12M6 12h12'/%3E%3C/svg%3E") center / 14px no-repeat;
  transition: transform .25s var(--ease);
}
.faq__list details[open] summary::after { transform: rotate(45deg); }
.faq__list details p { padding: 0 22px 22px; }

/* Contacto */
.contact {
  display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(32px, 5vw, 64px); align-items: center;
  padding: clamp(36px, 6vw, 72px); border-radius: var(--radius-lg);
  background:
    radial-gradient(600px 360px at 0% 0%, rgba(76, 177, 230, .3), transparent 60%),
    linear-gradient(150deg, var(--primary) 0%, var(--primary-700) 60%, var(--primary-900) 100%);
  color: #d3e5f5; box-shadow: var(--shadow-lg);
}
.contact > * { min-width: 0; }
.contact h2 { color: #fff; font-size: clamp(2.1rem, 4vw, 3rem); margin-bottom: 16px; }
.contact__copy > p:not(.eyebrow) { font-size: 1.12rem; margin-bottom: 30px; max-width: 44ch; }
.contact__actions { display: flex; flex-wrap: wrap; gap: 14px; }
.social { display: flex; align-items: center; gap: 10px; margin-top: 26px; font-size: .9rem; font-weight: 600; color: #9fc6e6; }
.social span { margin-right: 4px; }
.social__link {
  display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px;
  background: rgba(255, 255, 255, .12); color: #fff; transition: background-color .2s, transform .2s var(--ease);
}
.social__link:hover { background: rgba(255, 255, 255, .22); transform: translateY(-2px); }
.social__link svg { width: 20px; height: 20px; }

.contact__list { display: grid; gap: 12px; }
.contact__list a {
  display: flex; align-items: center; gap: 16px; padding: 16px 18px;
  border-radius: var(--radius-sm); text-decoration: none; color: #fff; font-weight: 600;
  background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .14);
  transition: background-color .2s, transform .2s var(--ease);
  overflow-wrap: break-word;
}
.contact__list a:hover { background: rgba(255, 255, 255, .14); transform: translateX(4px); }
.contact__list small { display: block; font-size: .74rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #9fc6e6; }
.contact__icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; flex-shrink: 0; background: rgba(255, 255, 255, .14); }
.contact__icon svg { width: 22px; height: 22px; }

/* Pie ------------------------------------------------------------------- */
.site-footer { background: var(--primary-900); color: #a9c3dc; padding: 72px 0 0; font-size: .95rem; }
.site-footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1.2fr; gap: 40px; padding-bottom: 48px; }
.site-footer__brand p { margin-top: 18px; max-width: 38ch; }
.site-footer h3 { color: #fff; font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 16px; }
.site-footer ul { display: grid; gap: 10px; }
.site-footer a { color: #a9c3dc; text-decoration: none; overflow-wrap: anywhere; }
.site-footer a:hover { color: #fff; }
.site-footer__bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px;
  padding: 22px 20px 100px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: .86rem;
}
.site-footer__bottom p { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }

/* WhatsApp flotante ----------------------------------------------------- */
.wa-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 60;
  display: inline-flex; align-items: center; gap: 10px;
  height: 60px; padding: 0 18px; border-radius: 999px;
  background: var(--wa); color: #fff; text-decoration: none; font-weight: 700;
  box-shadow: 0 16px 34px -12px rgba(28, 157, 81, .8);
  transition: transform .25s var(--ease), background-color .2s;
}
.wa-float:hover { transform: translateY(-3px); background: var(--wa-dark); }
.wa-float svg { width: 28px; height: 28px; }

/* Animaciones de entrada ------------------------------------------------ */
.js [data-reveal] { opacity: 0; transform: translateY(22px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js [data-reveal].is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
}

/* Responsive ------------------------------------------------------------ */
/* Bajo este ancho la columna de contacto es muy angosta para el correo */
@media (max-width: 1180px) {
  .contact { grid-template-columns: 1fr; }
  .plans { grid-template-columns: 1fr; max-width: 600px; margin-inline: auto; }
}

@media (max-width: 1080px) {
  .features { grid-template-columns: repeat(2, 1fr); }
  .float-card--a { left: -4%; }
  .float-card--b { right: -4%; }
}

@media (max-width: 960px) {
  .nav-toggle { display: grid; }
  .nav {
    position: fixed; inset: var(--header-h) 0 auto 0; z-index: 49;
    flex-direction: column; align-items: stretch; gap: 18px;
    padding: 20px 20px 28px;
    background: var(--surface); border-bottom: 1px solid var(--line);
    box-shadow: 0 24px 40px -20px rgba(15, 39, 64, .3);
    transform: translateY(-12px); opacity: 0; visibility: hidden;
    transition: transform .25s var(--ease), opacity .25s, visibility .25s;
  }
  .nav.is-open { transform: none; opacity: 1; visibility: visible; }
  .nav__list { flex-direction: column; gap: 0; }
  .nav__list a { display: block; padding: 14px 4px; font-size: 1.05rem; border-bottom: 1px solid var(--line); }
  .nav__list a::after { display: none; }
  .nav__cta { justify-content: center; padding-block: 15px; }

  .hero__grid, .calm__grid, .about, .location, .faq, .contact { grid-template-columns: 1fr; }
  .hero__visual { max-width: 380px; margin-top: 12px; }
  .services, .steps, .tips { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; }
  .topic { grid-template-columns: 1fr; }
  .explainer { max-width: 560px; margin-inline: auto; }
  .faq .section__head { position: static; }
  .about__photo { max-width: 340px; }
  .site-footer__grid { grid-template-columns: 1fr 1fr; }
  .site-footer__brand { grid-column: 1 / -1; }
}

@media (max-width: 640px) {
  :root { --header-h: 68px; }
  body { font-size: 1rem; }
  .brand__mark { width: 40px; height: 40px; border-radius: 12px; }
  .brand__name { font-size: 1rem; }
  .brand__role { font-size: .68rem; }
  .proposal-banner { font-size: .82rem; }

  .lead { font-size: 1.08rem; }
  .hero__actions .btn, .steps__cta .btn, .contact__actions .btn, .calm .btn { width: 100%; }
  .hero__facts { flex-direction: column; gap: 10px; }
  .hero .portrait { aspect-ratio: 1 / 1; border-radius: 180px 180px var(--radius-lg) var(--radius-lg); }
  .float-card { position: relative; left: auto; right: auto; top: auto; bottom: auto; max-width: none; margin-top: 12px; }
  .float-card--a { margin-top: 16px; }
  .hero__visual::before { display: none; }

  .features { grid-template-columns: 1fr; }
  .credentials { grid-template-columns: 1fr; }
  .pay { padding: 22px; }
  .pay .btn { width: 100%; white-space: normal; }
  .scope { grid-template-columns: 1fr; }
  .scope__col--presencial { border-left: 0; border-top: 1px solid var(--line); }
  .scope__col { padding: 22px; }
  .alert { padding: 18px; }
  .info-card { padding: 22px; }
  .info-card dl > div { grid-template-columns: 1fr; gap: 4px; }
  .location__map, .location__map iframe { min-height: 300px; }
  .site-footer__grid { grid-template-columns: 1fr; }
  .contact { padding: 32px 20px; }
  .contact__list a, .contact__copybtn { gap: 12px; padding: 14px; }
  .contact__icon { width: 38px; height: 38px; }

  .wa-float { right: 16px; bottom: 16px; width: 58px; height: 58px; padding: 0; justify-content: center; }
  .wa-float__label { display: none; }
}

/* Teléfonos angostos: el correo completo cabe en una línea */
@media (max-width: 480px) {
  .contact__list .contact__icon { display: none; }
  .contact__list a { font-size: .875rem; }
}
