/* ==========================================================================
   Clínica · sistema visual editorial
   Paleta: crema, salvia, verde teja, coral. Tipografía: Fraunces + Manrope.
   Sin build. Fuentes autoalojadas (OFL).
   ========================================================================== */

/* ------------------------------- Fuentes -------------------------------- */
@font-face {
  font-family: 'Fraunces';
  src: url('/assets/fonts/fraunces-latin.woff2') format('woff2');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2212, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Fraunces';
  src: url('/assets/fonts/fraunces-latin-ext.woff2') format('woff2');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+1EF2-1EFF, U+20A0-20AB, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Manrope';
  src: url('/assets/fonts/manrope-latin.woff2') format('woff2');
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2212, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Manrope';
  src: url('/assets/fonts/manrope-latin-ext.woff2') format('woff2');
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+1EF2-1EFF, U+20A0-20AB, U+2C60-2C7F, U+A720-A7FF;
}

/* ------------------------------- Tokens --------------------------------- */
:root {
  --cream: #f7f2e9;
  --cream-2: #fbf7f0;
  --paper: #fffdf9;
  --sage: #9caa97;
  --sage-soft: #e7ebe1;
  --sage-line: #d5dccd;
  --teja: #2e4a43;
  --teja-ink: #22382f;
  --teja-deep: #1c2e27;
  --coral: #c4644e;
  --coral-deep: #a94f3b;

  --ink: #22302b;
  --muted: #5f6b62;
  --line: #e5ded1;
  --line-strong: #d6ccba;
  --bg: var(--cream);
  --bg-soft: #f1ece2;
  --bg-ink: var(--teja-deep);

  /* compatibilidad con componentes existentes */
  --primary: var(--teja);
  --primary-ink: var(--teja-ink);
  --accent: var(--coral);

  --radius-sm: 12px;
  --radius: 20px;
  --radius-lg: 32px;
  --shadow-sm: 0 1px 2px rgba(34, 48, 43, .05);
  --shadow: 0 24px 50px -30px rgba(34, 48, 43, .35);
  --shadow-lg: 0 44px 90px -54px rgba(34, 48, 43, .45);

  --font: 'Manrope', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --font-display: 'Fraunces', 'Iowan Old Style', Palatino, Georgia, serif;

  --maxw: 1180px;
  --gutter: 22px;
  --section-y: clamp(64px, 8vw, 118px);
}

@media (min-width: 900px) { :root { --gutter: 34px; } }

/* -------------------------------- Reset --------------------------------- */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16.5px;
  line-height: 1.72;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: var(--teja); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--coral) 65%, transparent);
  outline-offset: 3px;
  border-radius: 8px;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--teja-ink);
  line-height: 1.08;
  letter-spacing: -.02em;
  margin: 0 0 .5em;
  text-wrap: balance;
  font-weight: 600;
}
h1 { font-size: clamp(2.4rem, 5.4vw, 4.1rem); font-weight: 500; }
h2 { font-size: clamp(1.75rem, 3.4vw, 2.7rem); font-weight: 500; margin-top: 1.4em; }
h3 { font-size: clamp(1.2rem, 1.8vw, 1.5rem); }
h4 { font-size: 1rem; letter-spacing: 0; }
p { margin: 0 0 1rem; }
ul, ol { padding-left: 1.2rem; }
li { margin: .35rem 0; }
strong { color: var(--teja-ink); }
::selection { background: color-mix(in srgb, var(--sage) 45%, white); color: var(--teja-ink); }

/* -------------------------------- Layout -------------------------------- */
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section-y); position: relative; }
.section--soft { background: var(--bg-soft); }
.section--ink { background: var(--bg-ink); color: #dbe4dd; }
.section--ink h1, .section--ink h2, .section--ink h3 { color: #fbf7f0; }
.section--ink a { color: #f0e6d6; }

.grid { display: grid; gap: 22px; }
.grid > * { min-width: 0; }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 330px), 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 210px), 1fr)); }

.lead { font-size: clamp(1.08rem, 1.5vw, 1.28rem); color: var(--muted); max-width: 64ch; line-height: 1.6; }
.muted { color: var(--muted); }
.section-head { max-width: 70ch; margin-bottom: clamp(26px, 3vw, 40px); }
.section-head .eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font); font-size: 11.5px; font-weight: 700;
  letter-spacing: .16em; text-transform: uppercase; color: var(--sage-deep, #6e7f6a);
  margin-bottom: 12px;
}
.section-head .eyebrow::before {
  content: ""; width: 22px; height: 1px; background: currentColor; opacity: .6;
}
.section-head h2 { margin-top: 0; }
.section-head p { margin-bottom: 0; }

/* Aire orgánico de fondo */
.section--organic { overflow: hidden; }
.section--organic::before {
  content: ""; position: absolute; z-index: 0; pointer-events: none;
  width: 520px; height: 520px; right: -180px; top: -220px; border-radius: 50%;
  background: radial-gradient(circle at center, color-mix(in srgb, var(--sage) 22%, transparent), transparent 68%);
}
.section--organic > .wrap { position: relative; z-index: 1; }

/* ------------------------------- Botones -------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  min-height: 48px; padding: 13px 26px; border-radius: 999px; font-weight: 600; font-size: 15px;
  border: 1px solid transparent; cursor: pointer; line-height: 1; text-align: center;
  transition: transform .2s ease, box-shadow .25s ease, background .2s ease, color .2s ease, border-color .2s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn--primary {
  background: var(--teja); color: var(--cream-2);
  box-shadow: 0 16px 30px -18px color-mix(in srgb, var(--teja) 80%, transparent);
}
.btn--primary:hover { background: var(--teja-deep); }
.btn--ghost { background: transparent; color: var(--teja-ink); border-color: var(--line-strong); }
.btn--ghost:hover { border-color: var(--teja); color: var(--teja); background: var(--paper); }
.btn--wa { background: #1f9d55; color: #fff; }
.btn--wa:hover { background: #178046; }
.btn--coral { background: var(--coral-deep); color: #fff; box-shadow: 0 16px 30px -18px color-mix(in srgb, var(--coral) 80%, transparent); }
.btn--coral:hover { background: #94432f; }
.btn--lg { min-height: 56px; padding: 16px 32px; font-size: 16.5px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin: 0; }
@media (max-width: 560px) {
  .actions { flex-direction: column; align-items: stretch; }
  .actions .btn { width: 100%; }
}

.badge {
  display: inline-flex; align-items: center; gap: 7px; font-size: 11.5px; font-weight: 700;
  padding: 7px 13px; border-radius: 999px; letter-spacing: .07em; text-transform: uppercase;
  background: var(--sage-soft); color: var(--teja-ink);
  border: 1px solid var(--sage-line);
}

/* ------------------------------- Cabecera ------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 80;
  background: color-mix(in srgb, var(--cream) 88%, transparent);
  backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; gap: 18px; min-height: 76px; }
.brand { display: flex; align-items: center; gap: 12px; color: var(--teja-ink); font-family: var(--font-display); font-size: 1.1rem; font-weight: 600; letter-spacing: -.01em; }
.brand img { width: 38px; height: 38px; border-radius: 10px; }
.brand--lockup img { width: auto; height: 46px; border-radius: 0; }
.brand:hover { text-decoration: none; }

.nav { display: flex; align-items: center; gap: 26px; margin-left: auto; }
.nav a { color: var(--muted); font-weight: 600; font-size: 14.5px; padding: 6px 0; position: relative; }
.nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px;
  background: var(--coral); transform: scaleX(0); transform-origin: left; transition: transform .2s ease;
}
.nav a:hover { color: var(--teja-ink); text-decoration: none; }
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }
.header-cta { display: flex; align-items: center; gap: 10px; }

.nav-toggle {
  display: none; margin-left: auto; align-items: center;
  background: transparent; border: 1px solid var(--line-strong); border-radius: 999px;
  padding: 10px 16px; font-weight: 700; font-size: 13px; cursor: pointer; color: var(--teja-ink);
}
.nav-toggle .bars { display: inline-block; width: 16px; height: 2px; background: currentColor; box-shadow: 0 5px 0 currentColor, 0 -5px 0 currentColor; margin-right: 9px; vertical-align: middle; }

@media (max-width: 980px) {
  .header-cta .btn--ghost { display: none; }
  .nav-toggle { display: inline-flex; }
  .nav {
    position: absolute; top: 100%; left: 0; right: 0; margin: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--cream-2); border-bottom: 1px solid var(--line);
    padding: 12px var(--gutter) 22px; box-shadow: var(--shadow);
    display: none;
  }
  .site-header.nav-open .nav { display: flex; }
  .nav a { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 16px; }
  .nav a::after { display: none; }
  .header-cta { margin-left: 8px; }
}

/* -------------------------------- Hero ---------------------------------- */
.hero {
  position: relative; overflow: hidden;
  padding-block: clamp(48px, 6vw, 96px);
  background:
    radial-gradient(900px 420px at 88% -10%, color-mix(in srgb, var(--sage) 26%, transparent), transparent 70%),
    radial-gradient(700px 380px at -8% 8%, color-mix(in srgb, var(--coral) 10%, transparent), transparent 70%),
    linear-gradient(180deg, var(--cream-2), var(--bg));
}
.hero-grid { display: grid; grid-template-columns: 1.02fr .98fr; gap: clamp(28px, 5vw, 68px); align-items: center; }
@media (max-width: 900px) { .hero-grid { grid-template-columns: 1fr; } }
.hero h1 { margin-top: 16px; }
.hero .lead { margin-top: 6px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.hero-points { list-style: none; padding: 0; margin: 26px 0 0; display: flex; flex-wrap: wrap; gap: 10px 22px; }
.hero-points li { display: flex; align-items: center; gap: 8px; font-size: 13.5px; color: var(--muted); }
.hero-points li::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--coral); }

.hero-visual { position: relative; display: grid; place-items: center; }
.hero-visual .illus { width: min(100%, 560px); filter: drop-shadow(0 34px 50px rgba(34,48,43,.16)); }
.hero-visual::before {
  content: ""; position: absolute; inset: 8% 6% -6% 12%; z-index: -1;
  border-radius: 46% 54% 58% 42% / 44% 42% 58% 56%;
  background: color-mix(in srgb, var(--sage-soft) 75%, var(--paper));
}

/* ------------------------------ Trustbar -------------------------------- */
.trustbar { background: var(--teja); color: #e4ece5; font-size: 12.5px; letter-spacing: .01em; }
.trustbar-inner { display: flex; flex-wrap: wrap; gap: 10px 34px; padding-block: 14px; justify-content: center; }
.trust-item { display: flex; align-items: center; gap: 9px; }
.trust-item::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--sage); flex: 0 0 auto; }

/* -------------------------------- Cards --------------------------------- */
.card {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px; box-shadow: var(--shadow-sm);
  transition: transform .2s ease, box-shadow .25s ease, border-color .2s ease;
  display: flex; flex-direction: column; gap: 11px;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--sage-line); }
.card h3 { margin: 0; font-size: 1.28rem; }
.card p { margin: 0; color: var(--muted); font-size: 15px; }
a.card { color: var(--ink); cursor: pointer; }
a.card h3 { color: var(--teja-ink); }
a.card:hover { text-decoration: none; }
.card-cta { margin-top: auto; align-self: flex-start; display: inline-flex; align-items: center; gap: 7px; color: var(--coral-deep); font-weight: 700; font-size: 13.5px; letter-spacing: .01em; }
a.card:hover .card-cta { text-decoration: underline; text-underline-offset: 3px; }

.sol-grid { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); }
.sol-card {
  display: flex; flex-direction: column; gap: 11px; background: var(--paper);
  border: 1px solid var(--line); border-radius: var(--radius); padding: 24px;
  box-shadow: var(--shadow-sm); transition: transform .2s ease, box-shadow .25s ease, border-color .2s ease;
}
.sol-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--sage-line); text-decoration: none; }
.sol-card h3 { margin: 0; font-size: 1.2rem; }
.sol-card p { margin: 0; color: var(--muted); font-size: 14.5px; }

.icon-round {
  width: 48px; height: 48px; border-radius: 14px; display: inline-flex; align-items: center; justify-content: center;
  background: var(--sage-soft); color: var(--teja-ink); border: 1px solid var(--sage-line);
  font-size: 0; /* los iconos SVG dentro se dimensionan solos */
}
.icon-round svg { width: 24px; height: 24px; }

/* --------------------------- Datos / TOC / bloque ----------------------- */
.facts { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); }
.fact { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 18px 20px; }
.fact strong { display: block; font-family: var(--font-display); font-size: 1.12rem; color: var(--teja-ink); font-weight: 600; }
.fact span { font-size: 13px; color: var(--muted); }

.toc { background: var(--sage-soft); border: 1px solid var(--sage-line); border-radius: var(--radius); padding: 20px 24px; margin: 4px 0 24px; }
.toc strong, .toc-title { font-family: var(--font-display); font-weight: 600; font-size: 1.05rem; }
.toc ol { margin: 10px 0 0; padding-left: 20px; }
.toc li { margin: 5px 0; font-size: 14px; }
.toc a { color: var(--teja-ink); }
.toc a:hover { color: var(--coral-deep); }

.svc-block { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 28px; box-shadow: var(--shadow-sm); margin-top: 18px; }
.svc-block h3 { margin-top: 0; }
.svc-block ul { margin: 12px 0; padding-left: 20px; color: var(--muted); }
.svc-block ul li { margin: 5px 0; }
.svc-block .svc-price { font-weight: 700; color: var(--coral-deep); }

.step { position: relative; }
.step-n {
  display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px;
  border-radius: 14px; background: var(--sage-soft); color: var(--teja-ink);
  border: 1px solid var(--sage-line); font-weight: 700; font-family: var(--font-display); font-size: 1.15rem;
}

/* ------------------------------- Proceso -------------------------------- */
.timeline { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); counter-reset: step; }
.timeline .tstep { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; position: relative; }
.timeline .tstep .n {
  display: inline-flex; width: 38px; height: 38px; align-items: center; justify-content: center;
  border-radius: 999px; background: var(--teja); color: var(--cream-2); font-weight: 700; margin-bottom: 10px;
  font-family: var(--font-display);
}

/* ------------------------------ Breadcrumbs ----------------------------- */
.breadcrumbs { font-size: 12.5px; color: var(--muted); margin: 18px 0; letter-spacing: .01em; }
.breadcrumbs a { color: var(--muted); }
.breadcrumbs a:hover { color: var(--teja-ink); }
.breadcrumbs span[aria-current] { color: var(--teja-ink); }

/* ----------------------------- Contact card ----------------------------- */
.contact-card { border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; background: var(--paper); }
@media (min-width: 901px) { .contact-card--sticky { position: sticky; top: 100px; } }

/* --------------------------- Sticky CTA / FAB --------------------------- */
.sticky-cta { display: none; }
@media (max-width: 760px) {
  .sticky-cta {
    display: flex; align-items: center; gap: 8px;
    position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 70;
    padding: 10px 12px; background: color-mix(in srgb, var(--cream-2) 96%, transparent);
    border: 1px solid var(--line); border-radius: 20px;
    box-shadow: var(--shadow);
  }
  .sticky-cta-text { display: flex; flex-direction: column; line-height: 1.15; margin-right: auto; font-size: 12px; }
  .sticky-cta-text span { color: var(--muted); }
  .sticky-cta .btn { padding: 10px 14px; font-size: 13.5px; }
  body { padding-bottom: 86px; }
  .fab-wa { display: none; }
}
.fab-wa {
  position: fixed; right: 22px; bottom: 22px; z-index: 75; background: #1f9d55; color: #fff;
  border-radius: 999px; padding: 14px 22px; font-weight: 700; box-shadow: var(--shadow);
}
.fab-wa:hover { text-decoration: none; transform: translateY(-1px); }

/* -------------------------------- Form ---------------------------------- */
.form { display: grid; gap: 15px; max-width: 580px; }
.field { display: grid; gap: 7px; }
.field label { font-size: 13.5px; font-weight: 600; color: var(--teja-ink); }
.field input, .field textarea, .field select {
  width: 100%; padding: 14px 16px; border: 1px solid var(--line-strong); border-radius: 14px;
  font: inherit; background: var(--paper); color: var(--ink);
  transition: border-color .16s ease, box-shadow .16s ease, background .16s ease;
}
.field input:hover, .field textarea:hover, .field select:hover { border-color: var(--sage); }
.field input:focus, .field textarea:focus, .field select:focus {
  border-color: var(--teja); background: #fff;
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--sage) 30%, transparent); outline: none;
}
.field textarea { min-height: 132px; resize: vertical; }
.field--check { display: flex; gap: 10px; align-items: flex-start; }
.field--check input { width: auto; margin-top: 4px; accent-color: var(--teja); }
.field--check label { font-weight: 400; font-size: 13px; }
.form-note { font-size: 12.5px; color: var(--muted); }
.hidden-hp { position: absolute; left: -9999px; opacity: 0; height: 0; }

/* ------------------------------ Avisos ---------------------------------- */
.notice {
  border-left: 4px solid var(--coral); background: color-mix(in srgb, var(--coral) 8%, var(--paper));
  padding: 16px 20px; border-radius: var(--radius-sm); font-size: 14px; color: var(--ink);
}
.highlight {
  background: linear-gradient(135deg, var(--sage-soft), color-mix(in srgb, var(--cream) 60%, var(--paper)));
  border: 1px solid var(--sage-line); border-radius: var(--radius-lg); padding: clamp(26px, 4vw, 44px);
}

/* -------------------------------- Chips --------------------------------- */
.chips { display: flex; flex-wrap: wrap; gap: 8px; padding: 0; list-style: none; }
.chips li {
  font-size: 12.5px; background: var(--paper); border: 1px solid var(--line);
  padding: 7px 14px; border-radius: 999px; color: var(--muted);
}
.chips a { color: inherit; }
.chips a:hover { color: var(--teja-ink); }

/* --------------------------------- FAQ ---------------------------------- */
.faq details { border-bottom: 1px solid var(--line); padding: 18px 0; }
.faq details:first-of-type { border-top: 1px solid var(--line); }
.faq summary {
  cursor: pointer; font-weight: 600; font-family: var(--font); color: var(--teja-ink);
  list-style: none; display: flex; justify-content: space-between; gap: 18px; align-items: baseline;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--coral); font-size: 1.4rem; line-height: 1; transition: transform .2s ease; }
.faq details[open] summary::after { content: "–"; }
.faq p { margin: 11px 0 0; color: var(--muted); max-width: 72ch; }

/* ------------------------------- Lists ---------------------------------- */
.check-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); }
.check-list li { display: flex; gap: 10px; align-items: flex-start; background: var(--paper); border: 1px solid var(--line); border-radius: 12px; padding: 13px 15px; font-size: 14.5px; }
.check-list li::before { content: ""; width: 8px; height: 8px; margin-top: 8px; border-radius: 50%; background: var(--coral); flex: 0 0 auto; }

.flow { display: grid; gap: 16px; grid-template-columns: 1fr; align-items: center; }
@media (min-width: 760px) { .flow { grid-template-columns: 1fr auto 1fr; } }
.flow .fbox { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.flow .fbox.problem { border-left: 4px solid var(--coral); }
.flow .fbox.solution { border-left: 4px solid var(--teja); }
.flow .arrow { text-align: center; font-size: 24px; color: var(--sage-deep, #6e7f6a); }

.loc-grid { display: grid; gap: 10px; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); }
.loc-grid a { background: var(--paper); border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; font-size: 13.5px; color: var(--ink); }
.loc-grid a:hover { border-color: var(--sage); color: var(--teja); text-decoration: none; }

/* --------------------------- CTA dentro de contenido -------------------- */
.cta-inline {
  display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: space-between;
  background: linear-gradient(135deg, var(--sage-soft), color-mix(in srgb, var(--cream) 55%, var(--paper)));
  border: 1px solid var(--sage-line); border-radius: var(--radius); padding: 22px 24px; margin: 28px 0;
}
.cta-inline strong { display: block; font-family: var(--font-display); font-size: 1.15rem; }
.cta-inline span { color: var(--muted); font-size: 13.5px; }
.cta-actions { display: flex; gap: 10px; flex-wrap: wrap; }

/* ------------------------------- Footer --------------------------------- */
.footer { background: var(--teja-deep); color: #c3d0c6; margin-top: 48px; }
.footer a { color: #c3d0c6; }
.footer a:hover { color: #fff; }
.footer h4 { color: #fbf7f0; font-family: var(--font); font-size: 11.5px; letter-spacing: .16em; text-transform: uppercase; margin: 0 0 14px; }
.footer p { margin: 0 0 8px; font-size: 14px; }
.footer .cols { display: grid; gap: 34px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); padding-block: clamp(44px, 5vw, 68px); }
.footer .legal { border-top: 1px solid rgba(255,255,255,.10); padding-block: 22px; font-size: 12px; color: #8fa193; }
.footer .legal p { margin: 0 0 6px; }

/* ------------------------------ Figuras --------------------------------- */
.figure { margin: 0; }
.figure img { width: 100%; border-radius: var(--radius); border: 1px solid var(--line); object-fit: cover; }
.figure figcaption { font-size: 12.5px; color: var(--muted); margin-top: 8px; }

/* --------------------------- Ilustraciones ------------------------------ */
.illus { display: block; width: 100%; height: auto; }
.illus-card { width: 54px; height: 54px; }
.illus-band { width: min(100%, 420px); margin-inline: auto; }
.illus-frame {
  background: var(--sage-soft); border: 1px solid var(--sage-line);
  border-radius: 46% 54% 56% 44% / 48% 46% 54% 52%;
  padding: clamp(18px, 4vw, 42px);
}

/* --------------------------- Secciones nuevas --------------------------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }
.split--reverse .split-media { order: -1; }
@media (max-width: 860px) { .split--reverse .split-media { order: 0; } }
.split-media { display: grid; place-items: center; }

.principles { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); }
.principle { padding: 24px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); }
.principle h3 { margin: 14px 0 8px; font-size: 1.12rem; }
.principle p { margin: 0; color: var(--muted); font-size: 14px; }

.modality { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); }
.modality .m-item { display: flex; gap: 14px; align-items: flex-start; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.modality .m-item h3 { margin: 0 0 4px; font-size: 1.05rem; }
.modality .m-item p { margin: 0; color: var(--muted); font-size: 14px; }

.post-list { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); }

/* -------------------------------- Util ---------------------------------- */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }
.divider { height: 1px; background: var(--line); border: 0; margin: 0; }

/* --------------------------- Responsive fino ---------------------------- */
@media (max-width: 600px) {
  body { font-size: 16px; }
  h1 { font-size: clamp(2.1rem, 9vw, 2.8rem); }
  h2 { font-size: clamp(1.55rem, 6vw, 2rem); }
  .card, .sol-card, .svc-block { padding: 20px; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; }
  .brand span { display: none; }
  .header-cta .btn--wa { padding: 11px 15px; }
  .trustbar-inner { justify-content: flex-start; gap: 8px 18px; }
  .hero-visual::before { inset: 10% 2% -4% 2%; }
}

/* --------------------- Respeto por movimiento reducido ------------------ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  .card:hover, .sol-card:hover, .btn:hover { transform: none; }
}
