/* Dr. Alfredo Morales · estilo de clínica: claro, cálido, sobrio (crema, nogal, latón y azul marino de marca) */
:root {
  color-scheme: light;
  --bg: #F7F4EE;
  --soft: #EFEAE1;
  --paper: #FFFFFF;
  --ink: #17202F;
  --ink-2: #2E3748;
  --muted: #5A6273;
  --navy: #1E2A44;
  --navy-2: #141C2E;
  --brass: #A9834F;
  --brass-ink: #7A5A2E;
  --wood: #6E4A2C;
  --line: #E3DBCD;
  --wa: #1F7A55;
  --serif: 'Newsreader', 'Iowan Old Style', Georgia, serif;
  --sans: 'Instrument Sans', 'Segoe UI', system-ui, -apple-system, sans-serif;
  --r: 18px;
  --ease: cubic-bezier(.22,.7,.2,1);
  --shadow: 0 1px 2px rgba(23,32,47,.04), 0 12px 32px rgba(23,32,47,.07);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--sans); font-size: 17px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--brass); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3 { font-family: var(--serif); font-weight: 500; letter-spacing: -0.012em; text-wrap: balance; margin: 0; color: var(--ink); }
h1 em, h2 em { font-style: italic; font-weight: 400; color: var(--wood); }
p { margin: 0; }
.muted { color: var(--muted); }
.wrap { max-width: 1200px; margin: 0 auto; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
@media (min-width: 760px) { .wrap { padding-left: 32px; padding-right: 32px; } }
.skip { position: absolute; left: -999px; top: 8px; background: var(--navy); color: #fff; padding: 10px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }
.eyebrow { font-size: 13px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--brass-ink); }

/* Botones */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 46px; padding: 0 20px; border-radius: 10px; font-family: var(--sans); font-weight: 600; font-size: 15.5px; text-decoration: none; border: 1px solid transparent; cursor: pointer; transition: background .2s var(--ease), border-color .2s var(--ease), color .2s var(--ease), transform .2s var(--ease); white-space: nowrap; }
.btn:active { transform: translateY(1px); }
.btn-lg { min-height: 54px; padding: 0 26px; font-size: 16.5px; }
.btn-primary { background: var(--navy); color: #fff; }
.btn-primary:hover { background: #2A3858; }
.btn-line { background: transparent; color: var(--navy); border-color: #C9BFAE; }
.btn-line:hover { border-color: var(--navy); background: rgba(30,42,68,.04); }
.btn-wa { background: var(--wa); color: #fff; }
.btn-wa:hover { background: #18684A; }
.btn-light { background: #fff; color: var(--navy); }
.btn-light:hover { background: #F2EEE6; }
.btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.35); }
.btn-ghost:hover { border-color: #fff; }

/* Barra superior */
.util { background: var(--navy-2); color: #D9DEE8; font-size: 13.5px; }
.util .wrap { display: flex; justify-content: space-between; gap: 16px; padding-block: 8px; }
.util a { color: #fff; text-decoration: none; font-weight: 600; }
.util-right { display: flex; gap: 20px; }
@media (max-width: 860px) { .util .wrap > span:first-child, .util-right > span { display: none; } .util .wrap { justify-content: center; } }

/* Encabezado */
.top { position: sticky; top: 0; z-index: 40; background: rgba(255,255,255,.96); backdrop-filter: saturate(160%) blur(10px); -webkit-backdrop-filter: saturate(160%) blur(10px); border-bottom: 1px solid var(--line); transition: box-shadow .25s var(--ease); }
.top.scrolled { box-shadow: 0 6px 24px rgba(23,32,47,.08); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 18px; min-height: 74px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--navy); min-width: 0; }
.brand .seal { flex: 0 0 auto; color: var(--navy); }
.brand-name { display: block; font-family: var(--serif); font-size: 19px; font-weight: 500; line-height: 1.15; color: var(--ink); white-space: nowrap; }
.brand-sub { display: block; font-size: 13px; color: var(--muted); line-height: 1.3; }
.nav { display: none; gap: 4px; }
.nav a { position: relative; text-decoration: none; color: var(--ink-2); font-size: 15px; font-weight: 500; padding: 10px 12px; border-radius: 8px; }
.nav a:hover { color: var(--navy); background: var(--soft); }
.nav a[aria-current] { color: var(--navy); }
.nav a[aria-current]::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 4px; height: 2px; background: var(--brass); border-radius: 2px; }
@media (min-width: 1080px) { .nav { display: flex; } }
.top-cta { display: flex; align-items: center; gap: 8px; }
.menu { position: relative; }
.menu summary { list-style: none; width: 46px; height: 46px; border-radius: 10px; border: 1px solid var(--line); display: grid; place-content: center; gap: 4px; cursor: pointer; }
.menu summary::-webkit-details-marker { display: none; }
.menu summary span { display: block; width: 18px; height: 2px; background: var(--ink); border-radius: 2px; }
.menu nav { position: absolute; right: 0; top: 54px; background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow); padding: 8px; display: grid; min-width: 240px; }
.menu nav a { text-decoration: none; padding: 12px 14px; border-radius: 8px; font-weight: 500; }
.menu nav a:hover { background: var(--soft); }
@media (min-width: 1080px) { .menu { display: none; } }
@media (max-width: 560px) { .brand-sub, .hide-sm, .top-cta > .btn { display: none; } .brand-name { font-size: 17px; } .top .btn-primary { padding: 0 14px; } .brand .seal { width: 40px; height: 40px; } }

/* Portada */
.hero { padding-block: 40px 56px; }
@media (min-width: 960px) { .hero { padding-block: 72px 88px; } }
.hero-grid { display: grid; gap: 40px; align-items: center; }
@media (min-width: 960px) { .hero-grid { grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr); gap: 64px; } }
.hero h1 { font-size: clamp(38px, 5.4vw, 66px); line-height: 1.04; font-weight: 400; margin-top: 16px; letter-spacing: -0.02em; }
.hero .lead { font-size: 19px; color: var(--ink-2); margin-top: 22px; max-width: 34em; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.ticks { list-style: none; padding: 0; margin: 22px 0 0; display: flex; flex-wrap: wrap; gap: 8px 22px; color: var(--muted); font-size: 15px; }
.ticks li { display: flex; align-items: center; gap: 8px; }
.ticks li::before { content: ""; width: 16px; height: 16px; border-radius: 50%; background: var(--wa) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12l4 4 8-8'/%3E%3C/svg%3E") center / 11px no-repeat; flex: 0 0 auto; }
.hero-photo { margin: 0; position: relative; justify-self: center; width: 100%; max-width: 410px; padding-bottom: 54px; }
@media (max-width: 959px) { .hero-photo { max-width: 360px; } }
.hero-photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 30%; border-radius: 24px; box-shadow: var(--shadow); background: #ECEDEF; }
.plate { position: absolute; left: 22px; right: 22px; bottom: 0; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 16px 18px; box-shadow: 0 18px 40px rgba(23,32,47,.12); display: grid; gap: 2px; }
.plate b { font-family: var(--serif); font-weight: 500; font-size: 19px; }
.plate span { font-size: 14px; color: var(--muted); }
.plate .plate-ced { color: var(--ink-2); }
.plate a { color: var(--navy); }
@media (max-width: 560px) { .plate { left: 10px; right: 10px; } }

/* Franja de confianza */
.trust { background: #fff; border-block: 1px solid var(--line); }
.trust-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 18px; padding-block: 24px; }
@media (min-width: 960px) { .trust-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.trust-grid > div { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; color: var(--muted); line-height: 1.4; }
.trust-grid svg { color: var(--brass-ink); flex: 0 0 auto; margin-top: 1px; }
.trust-grid b { display: block; color: var(--ink); font-size: 15.5px; font-weight: 600; }

/* Secciones */
section { scroll-margin-top: 90px; }
.sec { padding-block: 72px; }
@media (min-width: 960px) { .sec { padding-block: 104px; } }
.soft { background: var(--soft); }
.head { display: grid; gap: 14px; max-width: 46em; margin-bottom: 40px; }
.head h2 { font-size: clamp(31px, 4vw, 48px); line-height: 1.08; font-weight: 400; }
.head p:not(.eyebrow) { color: var(--muted); font-size: 18px; }

/* ¿Te identificas? */
.needs { display: grid; gap: 14px; }
@media (min-width: 720px) { .needs { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1080px) { .needs { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.need { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); padding: 24px 22px 20px; display: grid; gap: 10px; align-content: start; text-decoration: none; color: inherit; transition: border-color .2s var(--ease), box-shadow .2s var(--ease); }
.need:hover { border-color: #C9BFAE; box-shadow: var(--shadow); }
.need q { font-family: var(--serif); font-size: 21px; line-height: 1.25; quotes: "“" "”"; color: var(--ink); }
.need p { color: var(--muted); font-size: 15.5px; }
.need .go { font-weight: 600; font-size: 15px; color: var(--navy); display: inline-flex; gap: 8px; margin-top: 2px; }
.need .go::after { content: "→"; color: var(--brass-ink); }

/* Agenda */
.book { padding-bottom: 72px; }
@media (min-width: 960px) { .book { padding-bottom: 104px; } }
.book-card { background: var(--paper); border: 1px solid var(--line); border-radius: 24px; box-shadow: var(--shadow); display: grid; overflow: hidden; }
@media (min-width: 1000px) { .book-card { grid-template-columns: minmax(0, 1.35fr) minmax(0, .85fr); } }
.book-main { padding: 30px 20px; display: grid; gap: 24px; min-width: 0; }
@media (min-width: 760px) { .book-main { padding: 40px; } }
.book-main h2 { font-size: clamp(28px, 3.4vw, 40px); line-height: 1.1; font-weight: 400; margin: 10px 0 8px; }
.q { border: 0; margin: 0; padding: 0; min-width: 0; }
.q legend { font-weight: 600; font-size: 15px; color: var(--ink); padding: 0; margin-bottom: 12px; }
.opts { display: flex; flex-wrap: wrap; gap: 8px; }
.opt { font: inherit; font-size: 15px; min-height: 44px; padding: 0 16px; border-radius: 10px; border: 1px solid var(--line); background: var(--bg); color: var(--ink); cursor: pointer; display: inline-flex; align-items: center; gap: 8px; text-align: left; transition: all .15s var(--ease); }
.opt:hover { border-color: #BFB4A1; background: #fff; }
.opt[aria-pressed="true"] { background: var(--navy); color: #fff; border-color: var(--navy); }
.opt[aria-pressed="true"]::before { content: "✓"; font-size: 13px; }
.field { display: grid; gap: 8px; max-width: 360px; }
.field label { font-weight: 600; font-size: 15px; }
.field input { font: inherit; min-height: 48px; padding: 0 14px; border-radius: 10px; border: 1px solid var(--line); background: var(--bg); color: var(--ink); }
.field input:focus { outline: 2px solid var(--brass); outline-offset: 1px; background: #fff; }
.book-side { background: var(--navy); color: #E6EAF2; padding: 30px 20px; display: grid; gap: 16px; align-content: start; }
@media (min-width: 760px) { .book-side { padding: 40px 32px; } }
.side-k { font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: #D7C29B; }
.bubble { background: #E7F1EA; color: var(--ink); border-radius: 16px 16px 4px 16px; padding: 16px 18px; font-size: 15.5px; line-height: 1.5; min-height: 116px; }
.bubble b { font-weight: 600; }
.send { width: 100%; min-height: 54px; font-size: 16.5px; }
.send-note { font-size: 13.5px; color: #B9C2D3; }
.reassure { list-style: none; margin: 0; padding: 16px 0 0; border-top: 1px solid rgba(255,255,255,.14); display: grid; gap: 9px; font-size: 14.5px; color: #C9D0DD; }
.reassure li { padding-left: 24px; position: relative; }
.reassure li::before { content: "✓"; position: absolute; left: 0; color: #D7C29B; font-weight: 600; }

.cal-card { background: var(--paper); border: 1px solid var(--line); border-radius: 24px; box-shadow: var(--shadow); padding: 30px 20px; display: grid; gap: 22px; align-items: center; }
@media (min-width: 760px) { .cal-card { padding: 40px; } }
@media (min-width: 1000px) { .cal-card { grid-template-columns: minmax(0, 1.35fr) minmax(0, .85fr); gap: 40px; } }
.cal-card h2 { font-size: clamp(28px, 3.4vw, 40px); line-height: 1.1; font-weight: 400; margin: 10px 0 8px; }
.cal-actions { display: grid; gap: 10px; justify-items: start; }
.cal-actions .btn { width: 100%; }
.small { font-size: 14px; }
.or { display: flex; align-items: center; gap: 14px; color: var(--muted); font-size: 15px; font-weight: 500; margin: 28px 0 18px; }
.or::before, .or::after { content: ""; flex: 1; height: 1px; background: var(--line); }

/* Hospedic */
.gallery { display: grid; gap: 12px; }
.gallery figure { margin: 0; position: relative; border-radius: var(--r); overflow: hidden; background: #E6DFD3; }
.gallery img { width: 100%; height: 100%; object-fit: cover; }
.gallery figcaption { position: absolute; left: 12px; bottom: 12px; background: rgba(255,255,255,.92); color: var(--ink); font-size: 13.5px; font-weight: 600; padding: 6px 12px; border-radius: 999px; }
@media (min-width: 760px) { .gallery { grid-template-columns: 1.5fr 1fr 1fr; height: 460px; } }
@media (max-width: 759px) { .gallery figure { aspect-ratio: 4 / 3; } .gallery .g-main { aspect-ratio: 10 / 9; } }

/* Pasos */
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; counter-reset: s; }
@media (min-width: 900px) { .steps { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
.steps li { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); padding: 22px 20px; display: grid; gap: 8px; align-content: start; }
.steps .n { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--navy); color: #fff; font-weight: 600; font-size: 15px; }
.steps h3 { font-size: 21px; line-height: 1.2; margin-top: 4px; }
.steps p { color: var(--muted); font-size: 15px; }
.belong { display: grid; gap: 32px; margin-top: 56px; align-items: center; }
@media (min-width: 960px) { .belong { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 72px; } }
.quote { font-family: var(--serif); font-size: clamp(28px, 3.6vw, 42px); line-height: 1.15; letter-spacing: -0.015em; color: var(--ink); }
.quote em { color: var(--wood); }
.belong-list, .promise { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.belong-list li, .promise li { padding: 16px 0 16px 30px; border-bottom: 1px solid var(--line); color: var(--muted); font-size: 15.5px; position: relative; }
.belong-list li::before, .promise li::before { content: "✓"; position: absolute; left: 2px; top: 16px; color: var(--brass-ink); font-weight: 700; }
.belong-list b, .promise b { color: var(--ink); }

/* Servicios */
.tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.tab { font: inherit; font-size: 15px; font-weight: 500; min-height: 44px; padding: 0 18px; border-radius: 999px; border: 1px solid var(--line); background: var(--paper); color: var(--ink-2); cursor: pointer; }
.tab:hover { border-color: #BFB4A1; }
.tab[aria-selected="true"] { background: var(--navy); border-color: var(--navy); color: #fff; }
.panel { display: grid; gap: 12px; }
@media (min-width: 720px) { .panel { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1080px) { .panel { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.svc { background: var(--paper); border: 1px solid var(--line); border-radius: 16px; padding: 20px; display: grid; gap: 6px; align-content: start; min-width: 0; text-decoration: none; color: inherit; }
.svc h3 { font-size: 20px; line-height: 1.2; }
.svc p { color: var(--muted); font-size: 15.5px; }
.svc-link:hover { border-color: #BFB4A1; box-shadow: var(--shadow); }
.svc .more { font-size: 14.5px; font-weight: 600; color: var(--navy); margin-top: 4px; }
.svc .more::after { content: " →"; color: var(--brass-ink); }
.svc-cta { margin-top: 22px; display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }

/* Sobre mí */
.about { display: grid; gap: 40px; align-items: start; }
@media (min-width: 960px) { .about { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 72px; } }
.about-photo { margin: 0; }
.about-photo img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; border-radius: 24px; box-shadow: var(--shadow); }
@media (min-width: 960px) { .about-photo { position: sticky; top: 110px; } }
.about-text { display: grid; gap: 16px; min-width: 0; }
.about-text h2 { font-size: clamp(32px, 4vw, 46px); line-height: 1.06; font-weight: 400; }
.about-text > p:not(.eyebrow) { color: var(--ink-2); }
.about-text h3 { font-size: 23px; margin-top: 10px; }
.facts { margin: 8px 0 0; display: grid; border-top: 1px solid var(--line); }
.facts div { display: grid; grid-template-columns: minmax(0, 11em) minmax(0, 1fr); gap: 14px; padding-block: 12px; border-bottom: 1px solid var(--line); font-size: 15.5px; }
.facts dt { font-weight: 600; color: var(--ink); }
.facts dd { margin: 0; color: var(--ink-2); }
.facts a { color: var(--navy); }
@media (max-width: 560px) { .facts div { grid-template-columns: minmax(0, 1fr); gap: 2px; } }

/* Formación */
.learn-top { display: grid; gap: 24px; margin-bottom: 8px; }
@media (min-width: 960px) { .learn-top { grid-template-columns: minmax(0, 1.4fr) minmax(0, .6fr); align-items: end; gap: 56px; } }
.learn-top .head { margin-bottom: 32px; }
.learn-stat { border-left: 3px solid var(--brass); padding-left: 18px; margin-bottom: 40px; }
.learn-stat b { display: block; font-family: var(--serif); font-weight: 400; font-size: clamp(52px, 6vw, 76px); line-height: 1; color: var(--navy); }
.learn-stat span { color: var(--muted); font-size: 15px; }
.group { font-family: var(--sans); font-size: 14px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin: 10px 0 14px; }
.courses { display: grid; gap: 12px; margin-bottom: 28px; }
@media (min-width: 720px) { .courses { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1080px) { .courses { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1180px) { .courses.four { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.course { font: inherit; text-align: left; background: var(--paper); border: 1px solid var(--line); border-radius: 16px; padding: 20px; display: grid; gap: 6px; align-content: start; min-width: 0; color: inherit; cursor: pointer; transition: border-color .2s var(--ease), box-shadow .2s var(--ease); }
.course:hover { border-color: #BFB4A1; box-shadow: var(--shadow); }
.course .org { font-size: 13px; font-weight: 600; color: var(--brass-ink); line-height: 1.35; }
.course b { font-family: var(--serif); font-weight: 500; font-size: 19.5px; line-height: 1.22; }
.course .desc { color: var(--muted); font-size: 15px; }
.course .meta { display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: 13.5px; color: var(--muted); margin-top: 4px; }
.course .view { font-size: 14.5px; font-weight: 600; color: var(--navy); margin-top: 6px; }
.course .view::after { content: " →"; color: var(--brass-ink); }
.note { color: var(--muted); font-size: 14.5px; max-width: 56em; }
dialog.cert { border: 0; padding: 0; border-radius: 18px; width: min(920px, calc(100vw - 24px)); max-height: calc(100vh - 32px); box-shadow: 0 30px 80px rgba(0,0,0,.35); background: #fff; }
dialog.cert::backdrop { background: rgba(20,28,46,.6); }
.cert-head { position: sticky; top: 0; background: #fff; display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 16px 14px 20px; border-bottom: 1px solid var(--line); }
.cert-head b { font-family: var(--serif); font-weight: 500; font-size: 18px; line-height: 1.25; }
.cert-close { font: inherit; font-size: 26px; line-height: 1; width: 42px; height: 42px; border-radius: 10px; border: 1px solid var(--line); background: #fff; cursor: pointer; flex: 0 0 auto; }
.cert-body { padding: 16px; display: grid; gap: 10px; }
.cert-body img { width: 100%; height: auto; border: 1px solid var(--line); border-radius: 8px; }

/* Blog en portada y lista */
.posts { display: grid; gap: 16px; }
@media (min-width: 860px) { .posts { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.post { display: grid; grid-template-rows: auto 1fr; background: var(--paper); border: 1px solid var(--line); border-radius: 20px; overflow: hidden; text-decoration: none; color: inherit; transition: box-shadow .2s var(--ease), border-color .2s var(--ease); }
.post:hover { border-color: #BFB4A1; box-shadow: var(--shadow); }
.cover { position: relative; aspect-ratio: 16 / 7; background: linear-gradient(135deg, #EFE7DA, #E2D6C2); color: var(--navy); display: grid; place-items: center; overflow: hidden; }
.cover::after { content: ""; position: absolute; inset: auto -10% -40% -10%; height: 70%; border-top: 1px solid rgba(110,74,44,.25); border-radius: 50%; }
.cover .big { font-family: var(--serif); font-weight: 400; font-size: clamp(54px, 8vw, 88px); letter-spacing: -0.03em; line-height: 1; }
.cover .big small { font-family: var(--sans); font-size: 15px; font-weight: 600; color: var(--brass-ink); margin-left: 8px; vertical-align: middle; letter-spacing: 0; }
.cover .tagc { position: absolute; left: 16px; top: 14px; font-size: 12.5px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--brass-ink); }
.post-body { padding: 22px; display: grid; gap: 8px; align-content: start; }
.post-body h3, .post-body h2 { font-size: 23px; line-height: 1.2; }
.post-body p { color: var(--muted); font-size: 15.5px; }
.post-meta { font-size: 13px; color: var(--muted); }
.more-row { margin-top: 24px; }

/* Ubicación */
.contact { display: grid; gap: 12px; }
@media (min-width: 960px) { .contact { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.contact-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); padding: 24px; display: grid; gap: 10px; align-content: start; }
.contact-card h3 { font-size: 22px; }
.contact-card p { color: var(--ink-2); font-size: 16px; }
.contact-card a:not(.btn) { color: var(--navy); }
.contact-card .btn { justify-self: start; margin-top: 6px; }
.small-link { font-size: 14.5px; }
.map { margin-top: 12px; border-radius: var(--r); overflow: hidden; border: 1px solid var(--line); background: #E9E3D8; height: 320px; }
@media (min-width: 960px) { .map { height: 400px; } }
.map iframe { width: 100%; height: 100%; border: 0; display: block; }

/* Preguntas */
.faq-wrap { max-width: 920px; }
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 16px; align-items: center; padding-block: 20px; font-family: var(--serif); font-size: 21px; font-weight: 500; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--sans); font-size: 24px; color: var(--brass-ink); flex: 0 0 auto; }
.faq details[open] summary::after { content: "−"; }
.faq details p { padding-bottom: 22px; color: var(--ink-2); max-width: 44em; }

/* Cierre */
.cta-band { background: var(--navy); color: #fff; }
.cta-band .wrap { padding-block: 64px; display: grid; gap: 24px; align-items: center; }
@media (min-width: 960px) { .cta-band .wrap { grid-template-columns: minmax(0, 1.2fr) auto; padding-block: 80px; } }
.cta-band h2 { color: #fff; font-size: clamp(32px, 4vw, 48px); font-weight: 400; line-height: 1.08; }
.cta-band h2 em { color: #E3CFA8; }
.cta-band p { color: #C9D0DD; margin-top: 12px; max-width: 34em; }
.cta-band .cta-row { margin-top: 0; }

/* Pie */
.foot { background: var(--navy-2); color: #B9C2D3; font-size: 14.5px; }
.foot .wrap { padding-block: 56px 120px; display: grid; gap: 30px; }
@media (min-width: 960px) { .foot .wrap { padding-bottom: 56px; } }
.foot-grid { display: grid; gap: 28px; }
@media (min-width: 960px) { .foot-grid { grid-template-columns: 1fr 1.3fr .7fr; gap: 48px; } }
.foot h3 { color: #fff; font-size: 19px; margin-bottom: 8px; }
.foot a { color: #fff; }
.foot-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.legal { border-top: 1px solid rgba(255,255,255,.12); padding-top: 22px; display: grid; gap: 6px; font-size: 13.5px; }
.legal strong { color: #fff; }

/* Barra fija en celular */
.mbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; background: rgba(255,255,255,.97); border-top: 1px solid var(--line); padding: 10px max(12px, env(safe-area-inset-right, 0px)) calc(10px + env(safe-area-inset-bottom, 0px)) max(12px, env(safe-area-inset-left, 0px)); display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px; box-shadow: 0 -8px 24px rgba(23,32,47,.06); }
.mbar .btn { min-height: 50px; }
@media (min-width: 960px) { .mbar { display: none; } }

/* Páginas internas (blog y servicios) */
.page-head { background: #fff; border-bottom: 1px solid var(--line); }
.page-head .wrap { padding-block: 36px 48px; max-width: 900px; }
@media (min-width: 960px) { .page-head .wrap { padding-block: 56px 64px; } }
.crumbs { font-size: 14px; color: var(--muted); display: flex; flex-wrap: wrap; gap: 8px; }
.crumbs a { color: var(--muted); }
.page-head h1 { font-size: clamp(34px, 5vw, 56px); line-height: 1.06; font-weight: 400; margin-top: 18px; letter-spacing: -0.02em; }
.dek { color: var(--ink-2); font-size: 19px; margin-top: 18px; max-width: 38em; }
.byline { display: flex; align-items: center; gap: 14px; margin-top: 26px; padding-top: 20px; border-top: 1px solid var(--line); }
.byline img { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; object-position: 50% 18%; }
.byline b { display: block; font-weight: 600; }
.byline span { display: block; font-size: 14px; color: var(--muted); line-height: 1.45; }
.article { max-width: 760px; margin: 0 auto; padding: 44px 16px 24px; font-size: 18px; line-height: 1.7; }
@media (min-width: 760px) { .article { padding: 60px 32px 24px; } }
.article > * + * { margin-top: 20px; }
.article h2 { font-size: clamp(27px, 3.4vw, 34px); line-height: 1.15; font-weight: 400; margin-top: 48px; }
.article h3 { font-size: 22px; margin-top: 32px; }
.article p, .article li { color: var(--ink-2); }
.article ul, .article ol { padding-left: 1.2em; }
.article li + li { margin-top: 8px; }
.article li::marker { color: var(--brass-ink); }
.article a:not(.btn) { color: var(--navy); text-decoration-color: var(--brass); text-underline-offset: 3px; }
.article strong { color: var(--ink); }
.short { background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--brass); border-radius: 14px; padding: 20px 22px; }
.short .k { font-size: 13px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--brass-ink); display: block; margin-bottom: 6px; }
.short p { color: var(--ink); }
.tbl-wrap { overflow-x: auto; border-radius: 14px; border: 1px solid var(--line); }
.tbl { width: 100%; border-collapse: collapse; background: #fff; font-size: 16px; }
.tbl th, .tbl td { text-align: left; padding: 13px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
.tbl th { font-size: 13px; letter-spacing: .06em; text-transform: uppercase; color: var(--brass-ink); background: #FBF9F5; font-weight: 600; }
.tbl tr:last-child td { border-bottom: 0; }
.tbl td:first-child { font-weight: 600; }
.alert { background: #FFF5F1; border: 1px solid #EFCFC2; border-radius: 14px; padding: 18px 20px; }
.alert b { color: #8A2E16; }
.steps-list { list-style: none; padding: 0 !important; counter-reset: s; display: grid; gap: 10px; }
.steps-list li { counter-increment: s; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 15px 18px 15px 62px; position: relative; margin: 0 !important; }
.steps-list li::before { content: counter(s); position: absolute; left: 16px; top: 14px; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: var(--navy); color: #fff; font-size: 14px; font-weight: 600; }
.cta-box { background: var(--navy); color: #fff; border-radius: 22px; padding: 30px 24px; display: grid; gap: 12px; margin-top: 48px !important; }
.cta-box h2 { margin: 0 !important; color: #fff; font-size: clamp(25px, 3.2vw, 32px); }
.cta-box h2 em { color: #E3CFA8; }
.cta-box p { color: #C9D0DD !important; }
.cta-box .row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 6px; }
.sources { font-size: 15px; border-top: 1px solid var(--line); padding-top: 22px; margin-top: 48px !important; }
.sources h2 { font-size: 22px !important; margin: 0 0 10px !important; }
.sources li { color: var(--muted) !important; }
.disclaimer { font-size: 14.5px; color: var(--muted) !important; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; }
.related { max-width: 760px; margin: 0 auto; padding: 24px 16px 80px; }
@media (min-width: 760px) { .related { padding: 24px 32px 96px; } }
.related h2 { font-size: 26px; font-weight: 400; margin-bottom: 16px; }
.list { padding-block: 48px 96px; }

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
