/* ============================================================================
   Asesores y Administradores de PH · styles.css
   Sigue DESIGN.md (contrato) y docs/identidad-web.md (identidad intocable).
   Índice: 1 Tokens · 2 Base · 3 Tipografía · 4 Layout · 5 Botones y enlaces
           6 Header · 7 Footer · 8 WhatsApp flotante · 9 Tarjetas · 10 Formularios
           11 Placeholders · 12 Decoración de marca · 13 Utilidades · 14 Movimiento
           15+ Secciones por página
   ========================================================================== */

/* 1. Tokens ---------------------------------------------------------------- */
:root {
  --cielo:   #34AAF2;
  --azul:    #3572C2;
  --indigo:  #3C4C99;
  --noche:   #0F1E3D;
  --ambar:   #E3A72F;
  --ambar-hover: #EDB547;  /* tono claro del Ámbar, solo para hover del CTA */
  --marfil:       #E9ECF1;  /* titulares sobre oscuro */
  --plata:        #AEB6C2;  /* texto corrido sobre oscuro */
  --line-dark:    #26375C;  /* bordes sobre oscuro */
  --noche-raised: #172A52;  /* superficie elevada sobre oscuro */

  --surface:         #F5F6F8;
  --surface-raised:  #FFFFFF;
  --surface-tint:    #E3F2FC;
  --surface-inverse: #0F1E3D;
  --ink:             #0F1E3D;
  --ink-body:        #4A5466;
  --ink-accent:      #3C4C99;
  --on-ambar:        #0F1E3D;
  --on-azul:         #FFFFFF;
  --line:            #DDE2EA;
  --arc:             var(--azul);
  --link:            var(--indigo);
  --btn2-border:     var(--azul);
  --btn2-text:       var(--indigo);

  --font-display: "Montserrat", system-ui, sans-serif;
  --font-text:    "Open Sans", system-ui, sans-serif;

  --space-1: 8px; --space-2: 16px; --space-4: 32px; --space-6: 48px;
  --space-section: clamp(64px, 9vw, 120px);
  --radius-sm: 8px; --radius-md: 16px; --radius-pill: 999px;
  --container: 1200px;
  --header-h: 76px;
  --shadow-card: 0 8px 24px rgba(15, 30, 61, .08);
  --ease-out: cubic-bezier(.23, 1, .32, 1);
}

.is-dark {
  --surface:        #0F1E3D;
  --surface-raised: var(--noche-raised);
  --surface-tint:   #1B3463;
  --ink:            var(--marfil);
  --ink-body:       var(--plata);
  --ink-accent:     #34AAF2;
  --line:           var(--line-dark);
  --arc:            var(--cielo);
  --link:           var(--cielo);
  --btn2-border:    var(--cielo);
  --btn2-text:      var(--cielo);
  background: var(--surface);
  color: var(--ink-body);
}
.is-tint { background: var(--surface-tint); }
.is-white { background: var(--surface-raised); }

/* 2. Base ------------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0; background: var(--surface); color: var(--ink-body);
  font-family: var(--font-text); font-size: 1.0625rem; line-height: 1.65;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
p { margin: 0 0 1em; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; }
button { font: inherit; }
:focus-visible { outline: 3px solid var(--cielo); outline-offset: 3px; }
::selection { background: var(--surface-tint); color: var(--noche); }

.skip-link {
  position: absolute; left: 16px; top: -100px; z-index: 100;
  background: var(--ambar); color: var(--on-ambar); padding: 12px 20px; border-radius: var(--radius-pill);
  font-family: var(--font-display); font-weight: 700; text-decoration: none;
}
.skip-link:focus { top: 12px; }

/* 3. Tipografía ------------------------------------------------------------ */
.h1, .h2, .h3, h1, h2, h3 { font-family: var(--font-display); color: var(--ink); margin: 0; text-wrap: balance; }
.h1 { font-size: clamp(2.25rem, 5vw, 3.5rem); line-height: 1.1; font-weight: 800; letter-spacing: -0.01em; }
.h2 { font-size: clamp(1.75rem, 3.2vw, 2.5rem); line-height: 1.15; font-weight: 800; }
.h3 { font-size: 1.375rem; line-height: 1.3; font-weight: 700; }
.label {
  display: block; margin: 0 0 16px;
  font-family: var(--font-display); font-size: .8125rem; line-height: 1.4; font-weight: 700;
  text-transform: uppercase; letter-spacing: .08em; color: var(--ink-accent);
}
.key { color: var(--ink-accent); }
.key-italic { font-style: italic; font-weight: 800; }
.lead { font-size: 1.125rem; max-width: 60ch; }
.prose { max-width: 68ch; }
.small { font-size: .875rem; line-height: 1.5; }
.figure-num { font-family: var(--font-display); font-weight: 800; font-size: clamp(2.5rem, 5vw, 4rem); line-height: 1; color: var(--ink-accent); }
.is-dark .figure-num { color: var(--ambar); }

/* 4. Layout ---------------------------------------------------------------- */
.container { width: min(100% - 32px, var(--container)); margin-inline: auto; }
@media (min-width: 768px) { .container { width: min(100% - 64px, var(--container)); } }
.section { padding-block: var(--space-section); }
.section-head { max-width: 720px; margin-bottom: clamp(32px, 5vw, 56px); }
.section-head.is-center { margin-inline: auto; text-align: center; }
.section-head .lead { margin: 16px 0 0; }
.section-head.is-center .lead { margin-inline: auto; }
.section-foot { margin-top: clamp(32px, 4vw, 48px); }
.grid { display: grid; gap: 24px; }
@media (min-width: 640px) { .grid-2 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) {
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
}
@media (min-width: 640px) and (max-width: 899px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }

/* 5. Botones y enlaces ----------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 14px 28px; border-radius: var(--radius-pill);
  font-family: var(--font-display); font-weight: 700; font-size: 1rem; line-height: 1.2; text-align: center;
  text-decoration: none; cursor: pointer; border: 2px solid transparent; background: none;
  transition: transform .2s var(--ease-out), background-color .2s ease, color .2s ease, border-color .2s ease;
  -webkit-tap-highlight-color: transparent;
}
.btn:active { transform: scale(.97); }
.btn svg { width: 20px; height: 20px; flex: none; }
.btn-cta { background: var(--ambar); color: var(--on-ambar); }
.btn-secondary { border-color: var(--btn2-border); color: var(--btn2-text); }
@media (hover: hover) {
  .btn-cta:hover { background: var(--ambar-hover); }
  .btn-secondary:hover { background: rgba(53, 114, 194, .08); }
  .is-dark .btn-secondary:hover { background: rgba(52, 170, 242, .1); }
}
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }
@media (max-width: 480px) { .btn-row .btn { width: 100%; } }

.text-link {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px;
  color: var(--link); font-family: var(--font-display); font-weight: 700; text-decoration: none;
}
.text-link svg { width: 18px; height: 18px; flex: none; transition: transform .2s var(--ease-out); }
@media (hover: hover) { .text-link:hover { text-decoration: underline; text-underline-offset: 4px; } .text-link:hover svg { transform: translateX(4px); } }
.prose a { color: var(--link); font-weight: 600; text-underline-offset: 3px; }

/* 6. Header (Propuesta B) -------------------------------------------------- */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--noche); }
.site-header .container { display: flex; align-items: center; gap: 24px; min-height: var(--header-h); }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--marfil); min-height: 44px; }
.brand img { width: 38px; height: auto; }
.brand-name { font-family: var(--font-display); font-weight: 800; font-size: .875rem; line-height: 1.2; }
.brand-name small { display: block; font-weight: 700; font-size: .6875rem; color: var(--plata); }
.nav { margin-left: auto; display: flex; align-items: center; gap: 4px; }
.nav a:not(.btn) {
  color: var(--plata); text-decoration: none; font-family: var(--font-display); font-weight: 700; font-size: .9375rem;
  padding: 10px 14px; border-radius: var(--radius-pill); transition: color .2s ease, background-color .2s ease;
}
.nav a:not(.btn)[aria-current="page"] { color: var(--marfil); background: var(--noche-raised); }
@media (hover: hover) { .nav a:not(.btn):hover { color: var(--marfil); } }
.nav .btn { margin-left: 12px; min-height: 44px; padding: 10px 22px; font-size: .9375rem; }
.nav .btn.is-quiet { background: transparent; border-color: var(--line-dark); color: var(--marfil); }
.menu-btn {
  display: none; margin-left: auto; width: 44px; height: 44px; border: 0; border-radius: var(--radius-pill);
  background: var(--noche-raised); color: var(--marfil); cursor: pointer; place-items: center;
}
.menu-btn .i-close { display: none; }
.menu-btn[aria-expanded="true"] .i-open { display: none; }
.menu-btn[aria-expanded="true"] .i-close { display: block; }
@media (max-width: 1023px) {
  .menu-btn { display: grid; }
  .nav {
    position: absolute; inset: var(--header-h) 0 auto 0; flex-direction: column; align-items: stretch; gap: 0;
    padding: 8px 16px 24px; background: var(--noche); border-bottom: 1px solid var(--line-dark);
    display: none; max-height: calc(100dvh - var(--header-h)); overflow-y: auto;
  }
  .nav.is-open { display: flex; animation: menuIn .2s var(--ease-out); }
  .nav a:not(.btn) { padding: 14px 4px; border-radius: 0; border-bottom: 1px solid var(--line-dark); background: none !important; }
  .nav a:not(.btn)[aria-current="page"] { color: var(--cielo); }
  .nav .btn { margin: 20px 0 0; }
}
@keyframes menuIn { from { opacity: 0; transform: translateY(-8px); } }
@media (max-width: 480px) { .brand-name small { display: none; } }

/* 7. Footer ---------------------------------------------------------------- */
.site-footer { padding-block: clamp(56px, 7vw, 88px) 32px; border-top: 1px solid var(--line-dark); }
.footer-grid { display: grid; gap: 40px; grid-template-columns: 1fr; }
@media (min-width: 768px) { .footer-grid { grid-template-columns: 1.3fr 1fr 1fr; } }
@media (min-width: 1024px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }
.footer-brand img { width: 180px; margin-bottom: 20px; }
.footer-brand p { margin: 0 0 4px; font-size: .9375rem; }
.footer-brand .legal-name { color: var(--marfil); font-family: var(--font-display); font-weight: 700; }
.footer-col h2 { font-size: .8125rem; letter-spacing: .08em; text-transform: uppercase; color: var(--cielo); margin-bottom: 16px; }
.footer-col ul { list-style: none; display: grid; gap: 2px; }
.footer-col a, .footer-col .item {
  display: inline-flex; align-items: center; gap: 10px; min-height: 40px;
  color: var(--plata); text-decoration: none; font-size: .9375rem; line-height: 1.4;
}
.footer-col svg { width: 18px; height: 18px; flex: none; stroke: var(--cielo); }
@media (hover: hover) { .footer-col a:hover { color: var(--marfil); } }
.footer-bottom {
  margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line-dark);
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px 24px; justify-content: space-between; font-size: .875rem;
}
.footer-bottom a { color: var(--plata); }

/* 8. WhatsApp flotante ----------------------------------------------------- */
.wa-float {
  position: fixed; right: 16px; bottom: 16px; z-index: 40;
  width: 56px; height: 56px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--noche); border: 2px solid var(--cielo); color: var(--cielo);
  box-shadow: 0 6px 16px rgba(15, 30, 61, .18);
  transition: transform .2s var(--ease-out);
}
.wa-float svg { width: 26px; height: 26px; }
.wa-float:active { transform: scale(.95); }
@media (hover: hover) { .wa-float:hover { transform: translateY(-2px); } }
.wa-float .pending-dot {
  position: absolute; top: -4px; right: -4px; width: 16px; height: 16px; border-radius: 50%;
  background: var(--surface-tint); border: 2px dashed var(--indigo);
}
@media (min-width: 1024px) { .wa-float { right: 24px; bottom: 24px; } }

/* 9. Tarjetas -------------------------------------------------------------- */
.card {
  background: var(--surface-raised); border: 1px solid var(--line); border-radius: var(--radius-md);
  padding: clamp(24px, 3vw, 32px); box-shadow: var(--shadow-card);
}
.card .icon { width: 28px; height: 28px; stroke: var(--ink-accent); margin-bottom: 20px; }
.card .h3 { margin-bottom: 10px; }
.card p:last-child { margin-bottom: 0; }
.is-dark .card { box-shadow: none; }
.icon-line { fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }

/* 10. Formularios ---------------------------------------------------------- */
.form { display: grid; gap: 20px; }
.form-row { display: grid; gap: 20px; }
@media (min-width: 640px) { .form-row.cols-2 { grid-template-columns: 1fr 1fr; } }
.field { display: grid; gap: 8px; align-content: start; }
.field label, .field legend { font-family: var(--font-display); font-weight: 700; font-size: .875rem; color: var(--ink); }
.field .hint { font-size: .875rem; color: var(--ink-body); margin: 0; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 48px; padding: 12px 14px;
  background: #fff; color: var(--noche); border: 1px solid var(--azul); border-radius: var(--radius-sm);
  font-family: var(--font-text); font-size: 1rem; line-height: 1.4;
  transition: border-color .2s ease;
}
.field textarea { min-height: 120px; resize: vertical; }
.field select { appearance: none; background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%233C4C99' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'><path d='M6 9l6 6 6-6'/></svg>"); background-repeat: no-repeat; background-position: right 12px center; padding-right: 40px; }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { border-color: var(--azul); }
.field .error { display: none; align-items: flex-start; gap: 8px; font-size: .875rem; color: var(--noche); font-weight: 600; margin: 0; }
.field .error svg { width: 18px; height: 18px; flex: none; margin-top: 1px; }
.field.has-error input, .field.has-error select, .field.has-error textarea { border: 2px solid var(--noche); }
.field.has-error .error { display: flex; }
.check, .field label.check { display: flex; gap: 12px; align-items: flex-start; font-family: var(--font-text); font-weight: 400; font-size: .9375rem; color: var(--ink-body); line-height: 1.5; }
.check input { width: 22px; height: 22px; margin: 2px 0 0; accent-color: var(--azul); flex: none; }
.check a { color: var(--link); font-weight: 600; }

/* 11. Placeholders --------------------------------------------------------- */
.photo-ph {
  position: relative; display: grid; place-items: center; text-align: center;
  background: repeating-linear-gradient(135deg, transparent 0 14px, rgba(53, 114, 194, .06) 14px 15px), #E3F2FC;
  border: 2px dashed var(--azul); color: var(--indigo); padding: 24px; overflow: hidden;
  border-radius: var(--radius-md);
}
.is-dark .photo-ph { background: repeating-linear-gradient(135deg, transparent 0 14px, rgba(52, 170, 242, .07) 14px 15px), #1B3463; border-color: var(--cielo); color: var(--cielo); }
.photo-ph svg { width: 32px; height: 32px; margin: 0 auto 10px; }
.photo-ph p { margin: 0; font-family: var(--font-display); font-weight: 700; font-size: .8125rem; line-height: 1.45; max-width: 24ch; }
.photo-ph small { display: block; margin-top: 6px; font-size: .75rem; color: var(--ink-body); font-weight: 400; font-family: var(--font-text); }

.video-ph {
  --ratio: 9 / 16;
  position: relative; aspect-ratio: var(--ratio); width: 100%;
  background: var(--noche); color: var(--cielo);
  border: 2px dashed var(--cielo); border-radius: var(--radius-md);
  display: grid; place-items: center; padding: 20px; text-align: center;
  cursor: pointer; overflow: hidden;
}
.video-ph[data-ratio="16:9"] { --ratio: 16 / 9; }
.video-ph .play { width: 64px; height: 64px; margin: 0 auto 14px; transition: transform .25s var(--ease-out); }
@media (hover: hover) { .video-ph:hover .play { transform: scale(1.06); } }
.video-ph .vlabel { display: block; font-family: var(--font-display); font-weight: 700; font-size: .75rem; letter-spacing: .08em; text-transform: uppercase; color: var(--marfil); line-height: 1.5; }
.video-ph .vlabel b { color: var(--cielo); }
.video-ph .vdesc { display: block; margin-top: 6px; font-family: var(--font-text); font-size: .8125rem; color: var(--plata); text-transform: none; letter-spacing: 0; font-weight: 400; }
.video-ph .vmsg { display: block; margin-top: 12px; font-size: .8125rem; color: var(--ambar); font-weight: 600; min-height: 1.2em; }
.video-real { width: 100%; border-radius: var(--radius-md); background: var(--noche); }

.pending {
  display: inline-flex; align-items: center; gap: 6px; white-space: nowrap;
  font-family: var(--font-display); font-weight: 700; font-size: .6875rem; letter-spacing: .06em; font-style: normal;
  text-transform: uppercase; color: var(--ink-accent); line-height: 1.4;
  border: 1px dashed currentColor; border-radius: var(--radius-pill); padding: 2px 10px; vertical-align: middle;
}
.pending-block {
  border: 2px dashed var(--azul); border-radius: var(--radius-md); padding: 20px 24px;
  background: rgba(227, 242, 252, .6); color: var(--indigo); font-size: .9375rem;
}
.is-dark .pending-block { border-color: var(--cielo); background: rgba(27, 52, 99, .6); color: var(--cielo); }
.pending-block strong { font-family: var(--font-display); }

/* 12. Decoración de marca -------------------------------------------------- */
/* Columnas: pilares del símbolo (16 px, punta diagonal) */
.pillars { display: flex; align-items: flex-end; gap: 8px; color: var(--arc); }
.pillars span { display: block; width: 16px; background: currentColor; clip-path: polygon(0 12px, 100% 0, 100% 100%, 0 100%); }
.pillars span:nth-child(n+4) { clip-path: polygon(0 0, 100% 12px, 100% 100%, 0 100%); }
.pillars span:nth-child(3) { clip-path: polygon(50% 0, 100% 12px, 100% 100%, 0 100%, 0 12px); }
.pillars span:nth-child(1), .pillars span:nth-child(5) { height: 32px; }
.pillars span:nth-child(2), .pillars span:nth-child(4) { height: 52px; }
.pillars span:nth-child(3) { height: 76px; }
.pillar-bullet { display: inline-block; width: 8px; height: 14px; background: var(--azul); clip-path: polygon(0 4px, 100% 0, 100% 100%, 0 100%); flex: none; }

/* Arco: fragmento del círculo del logo (6 px), abierto arriba */
.arch { position: relative; aspect-ratio: 4 / 5; max-width: 440px; margin-inline: auto; }
.arch-ring { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; aspect-ratio: 1; overflow: visible; pointer-events: none; }
.arch-ring circle { fill: none; stroke: var(--arc); stroke-width: 6; }
.arch .photo-ph, .arch .arch-photo {
  position: absolute; left: 50%; bottom: 7%; transform: translateX(-50%);
  width: 60%; height: 90%; border-radius: 999px 999px var(--radius-md) var(--radius-md); object-fit: cover;
}

/* 13. Utilidades ----------------------------------------------------------- */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.center { text-align: center; }
.mt-0 { margin-top: 0; }

/* 14. Movimiento ----------------------------------------------------------- */
/* Red de seguridad: el contenido nunca depende del JS para verse. GSAP oculta
   solo cuando arranca; a los 6 s main.js muestra lo que siga oculto. */
.reveal[data-split] { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  html { scroll-behavior: auto; }
}

/* 15. Componentes de sección compartidos ----------------------------------- */
.inline-link { color: var(--link); font-weight: 600; text-underline-offset: 3px; }
.tag {
  display: inline-flex; align-items: center; min-height: 26px; padding: 3px 12px; border-radius: var(--radius-pill);
  font-family: var(--font-display); font-weight: 700; font-size: .75rem; letter-spacing: .04em; line-height: 1.3;
}
.tag-phclara { background: var(--azul); color: #fff; }
.tag-preparados { background: var(--ambar); color: var(--noche); }
.tag-gestion { background: var(--cielo); color: var(--noche); }
.tag-convivencia { background: var(--noche); color: var(--marfil); }
.tag-dalacara { background: transparent; color: var(--ink-body); border: 1px solid var(--plata); }

/* Pasos numerados (sí son secuencia) */
.steps { list-style: none; display: grid; gap: 24px; }
@media (min-width: 900px) { .steps { grid-template-columns: repeat(5, 1fr); gap: 20px; } }
.steps li { position: relative; padding-top: 20px; border-top: 2px solid var(--line); }
.steps .step-num {
  display: grid; place-items: center; width: 40px; height: 40px; margin-bottom: 16px; border-radius: 50%;
  background: var(--noche); color: var(--cielo); font-family: var(--font-display); font-weight: 800; font-size: 1rem;
}
.steps .h3 { font-size: 1.125rem; margin-bottom: 8px; }
.steps p { font-size: .9375rem; margin: 0; }
@media (max-width: 899px) {
  .steps li { display: grid; grid-template-columns: 40px 1fr; column-gap: 16px; padding-top: 16px; }
  .steps .step-num { grid-row: span 2; margin: 0; }
}

/* Acordeón de preguntas */
.faq-wrap .faq, .faq-wrap .section-head { max-width: 880px; }
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  min-height: 64px; padding: 16px 0; font-family: var(--font-display); font-weight: 700; font-size: 1.0625rem; color: var(--ink);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary svg { width: 22px; height: 22px; flex: none; color: var(--indigo); transition: transform .2s var(--ease-out); }
.faq details[open] summary svg { transform: rotate(45deg); }
.faq-body { padding: 0 40px 20px 0; }
.faq-body p { margin: 0; }
@media (prefers-reduced-motion: no-preference) {
  .faq details[open] .faq-body { animation: faqIn .2s var(--ease-out); }
}
@keyframes faqIn { from { opacity: 0; transform: translateY(-4px); } }

/* 16. Inicio ----------------------------------------------------------------- */
/* Hero (Propuesta A) */
.hero { padding-block: clamp(48px, 7vw, 96px) 0; overflow: hidden; }
.hero-grid {
  display: grid; gap: 32px; align-items: center;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  grid-template-areas: "text media" "actions media";
}
.hero-text { grid-area: text; align-self: end; }
.hero-media { grid-area: media; }
.hero-actions { grid-area: actions; align-self: start; }
.hero .label { color: var(--cielo); margin-bottom: 20px; }
.hero .h1 { margin-bottom: 24px; }
.hero .lead { color: var(--plata); margin: 0; }
.hero .arch { max-width: 440px; }

.facts { position: relative; margin-top: clamp(112px, 10vw, 144px); border-top: 1px solid var(--line-dark); }
.facts-pillars { position: absolute; left: 0; bottom: 100%; }
.facts ul { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); }
.facts li { padding: 28px 28px 36px 0; }
.facts li + li { padding-left: 28px; border-left: 1px solid var(--line-dark); }
.facts .anchor { display: block; margin-bottom: 6px; font-family: var(--font-display); font-weight: 700; font-size: .9375rem; color: var(--cielo); }
.facts p { margin: 0; color: var(--marfil); font-family: var(--font-display); font-weight: 700; font-size: 1.0625rem; line-height: 1.45; }

@media (max-width: 959px) {
  .hero-grid { grid-template-columns: 1fr; grid-template-areas: "text" "media" "actions"; gap: 28px; }
  .hero-media { width: 220px; margin-inline: auto; }
  .facts { margin-top: 104px; }
  .facts ul { grid-template-columns: 1fr; }
  .facts li, .facts li + li { padding: 20px 0; border-left: 0; }
  .facts li + li { border-top: 1px solid var(--line-dark); }
}

/* Lo que su consejo merece */
.answers { display: grid; gap: 32px; }
@media (min-width: 900px) { .answers { grid-template-columns: repeat(3, 1fr); gap: 48px; } }
.answer { padding-top: 24px; border-top: 2px solid var(--azul); }
.answer svg { width: 28px; height: 28px; color: var(--indigo); margin-bottom: 16px; }
.answer .h3 { margin-bottom: 10px; }
.answer p { margin: 0; }

.service-card .pending, .commit .pending { margin-top: 4px; }
.commit-rule { margin: 0; font-family: var(--font-display); font-weight: 700; color: var(--ink-accent); font-size: 1.125rem; }

/* Preparados (adelanto) */
.prep-grid { display: grid; gap: 40px; align-items: center; grid-template-columns: 1fr; }
@media (min-width: 900px) { .prep-grid { grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: 72px; } }
.prep .lead { color: var(--plata); margin: 20px 0 16px; }
.prep-video { width: 100%; max-width: 300px; margin-inline: auto; }
@media (max-width: 899px) { .prep-video { max-width: 220px; } }

/* Quién da la cara (Propuesta B + valores de C) */
.face-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(40px, 6vw, 96px); align-items: center; }
.portrait { position: relative; max-width: 440px; padding-right: 22%; }
.portrait .frame { position: relative; aspect-ratio: 3 / 4; }
.portrait .frame::before {
  content: ""; position: absolute; inset: -18px -18px 45% -18px;
  border: 6px solid var(--azul); border-bottom: 0; border-radius: 999px 999px 0 0;
  -webkit-mask: linear-gradient(#000 60%, transparent); mask: linear-gradient(#000 60%, transparent);
}
.portrait .photo-ph, .portrait .portrait-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border-radius: 999px 999px var(--radius-md) var(--radius-md); }
.portrait .v1 { position: absolute; right: 0; bottom: -6%; width: 40%; box-shadow: var(--shadow-card); border-radius: var(--radius-md); }
.portrait .v1 .video-ph { padding: 12px; }
.portrait .v1 .play { width: 44px; height: 44px; margin-bottom: 10px; }
.portrait .v1 .vlabel { font-size: .6875rem; }
.portrait .v1 .vdesc { font-size: .75rem; }
.face-copy .h2 { margin-bottom: 24px; max-width: 18ch; }
.who { margin: 0 0 24px; font-size: 1.125rem; }
.who strong { display: block; margin-bottom: 4px; font-family: var(--font-display); font-weight: 800; font-size: clamp(1.5rem, 2.4vw, 2rem); line-height: 1.2; color: var(--ink); }
.who strong .pending { vertical-align: middle; }
.quote { margin: 0 0 28px; }
.quote p { margin: 0 0 8px; font-family: var(--font-display); font-style: italic; font-weight: 800; font-size: 1.25rem; line-height: 1.4; color: var(--ink-accent); max-width: 34ch; }
.credentials { list-style: none; display: grid; gap: 12px; margin-bottom: 32px; max-width: 52ch; }
.credentials li { display: flex; gap: 14px; align-items: flex-start; }
.credentials .pillar-bullet { margin-top: 7px; }
.face-actions { align-items: center; }

.values { margin-top: clamp(64px, 8vw, 104px); padding-top: 40px; border-top: 1px solid var(--line); text-align: center; }
.values .h3 { margin-bottom: 32px; }
.values-list { list-style: none; margin: 0 auto; max-width: 760px; display: flex; flex-wrap: wrap; justify-content: center; gap: 24px 16px; }
.values-list li {
  flex: 0 0 calc(20% - 13px); display: flex; flex-direction: column; align-items: center; gap: 14px;
  font-family: var(--font-display); font-weight: 700; font-size: 1rem; color: var(--ink);
}
.values-list .pillar { display: block; width: 16px; height: 56px; background: var(--azul); clip-path: polygon(0 10px, 100% 0, 100% 100%, 0 100%); }
@media (max-width: 959px) {
  .face-grid { grid-template-columns: 1fr; }
  .portrait { margin-inline: auto; width: 100%; max-width: 380px; }
  .portrait .frame::before { inset: -10px -10px 45% -10px; }
}
@media (max-width: 600px) {
  .values-list li { flex-basis: calc(33.333% - 11px); font-size: .875rem; }
}

/* Cifras y reseñas */
.figure .figure-num { margin: 0 0 8px; min-height: 1em; }
.figure .figure-num .pending { font-size: .75rem; }
.figure-label { margin: 0; font-family: var(--font-display); font-weight: 700; color: var(--ink); }
.reviews-ph { display: flex; gap: 16px; align-items: flex-start; margin-top: 24px; }
.reviews-ph svg { flex: none; margin-top: 2px; }

/* Blog (tarjetas) */
.post-card { display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }
.post-card .h3 { font-size: 1.1875rem; }
.post-meta { margin: auto 0 0; font-size: .875rem; color: var(--ink-body); }

/* CTA final */
.cta-grid { display: grid; gap: 40px; align-items: center; }
@media (min-width: 960px) { .cta-grid { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 72px; } }
.cta-final .lead { color: var(--plata); margin: 20px 0 12px; }
.cta-final .inline-link { color: var(--cielo); }
.cta-form { --ink: #0F1E3D; --ink-body: #4A5466; --link: var(--indigo); background: #fff; border: 0; }
.cta-form .btn { width: 100%; }
.form-note { margin: -8px 0 0; text-align: center; color: #4A5466; }
.footer-bottom a { display: inline-flex; align-items: center; min-height: 44px; }

/* 17. Páginas internas: hero corto, chips, banda de CTA ---------------------- */
.page-hero { padding-block: clamp(56px, 8vw, 104px) clamp(48px, 6vw, 80px); }
.page-hero .label { color: var(--cielo); margin-bottom: 20px; }
.page-hero .h1 { max-width: 22ch; margin-bottom: 20px; }
.page-hero .lead { color: var(--plata); margin: 0; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 32px; }
.chips a {
  display: inline-flex; align-items: center; min-height: 44px; padding: 8px 18px; border-radius: var(--radius-pill);
  border: 1px solid var(--line-dark); color: var(--marfil); text-decoration: none;
  font-family: var(--font-display); font-weight: 700; font-size: .875rem;
  transition: border-color .2s ease, background-color .2s ease;
}
@media (hover: hover) { .chips a:hover { border-color: var(--cielo); background: var(--noche-raised); } }

.cta-band { padding-block: clamp(56px, 7vw, 88px); }
.cta-band-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px 48px; }
.cta-band .h2 { max-width: 22ch; }
.cta-band .lead { color: var(--plata); margin: 12px 0 0; }

/* 18. Servicios -------------------------------------------------------------- */
.service-grid { display: grid; gap: 40px; align-items: start; }
@media (min-width: 960px) { .service-grid { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 72px; } }
.service-icon { width: 40px; height: 40px; color: var(--indigo); margin-bottom: 20px; }
.service-intro .h2 { margin-bottom: 16px; }
.service-intro .lead { margin-bottom: 28px; }
.mini-title { font-family: var(--font-display); font-weight: 700; font-size: 1rem; color: var(--ink); margin: 0 0 8px; }
.service-intro p { max-width: 60ch; }
.includes .h3 { margin-bottom: 16px; }
.check-list { list-style: none; display: grid; gap: 10px; margin-bottom: 20px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; color: var(--ink); }
.check-list svg { width: 20px; height: 20px; flex: none; margin-top: 3px; color: var(--azul); stroke-width: 2.25; }
.includes-note { margin: 0 0 12px; }
.service-video { width: 100%; max-width: 220px; margin: 32px 0 0; }
@media (max-width: 959px) { .service-video { margin-inline: auto; } }
.type-card { display: flex; flex-direction: column; }
.type-card .icon { margin-bottom: 16px; }
.type-card .small { margin: 8px 0 0; }
.coverage { border: 2px solid var(--azul); }
.grid > * { min-width: 0; }
.small .pending, p .pending { white-space: normal; text-align: left; }

/* 19. Preparados ------------------------------------------------------------- */
.page-hero .tag { margin-bottom: 20px; }

/* Línea de tiempo: línea Azul con pilares como nodos */
.timeline { list-style: none; position: relative; display: grid; gap: 0; max-width: 820px; }
.timeline::before { content: ""; position: absolute; left: 7px; top: 8px; bottom: 8px; width: 2px; background: var(--line); }
.timeline li { position: relative; padding: 0 0 40px 48px; }
.timeline li:last-child { padding-bottom: 0; }
.timeline li::before {
  content: ""; position: absolute; left: 0; top: 2px; width: 16px; height: 24px; background: var(--azul);
  clip-path: polygon(0 6px, 100% 0, 100% 100%, 0 100%);
}
.timeline li:first-child::before { background: var(--indigo); }
.tl-date { margin: 0 0 6px; font-family: var(--font-display); font-weight: 700; font-size: .9375rem; color: var(--indigo); }
.timeline .h3 { margin-bottom: 8px; }
.timeline p:not(.tl-date) { margin: 0; max-width: 60ch; }
.timeline .text-link { margin-top: 4px; }
@media (min-width: 900px) {
  .timeline li { display: grid; grid-template-columns: 220px 1fr; column-gap: 32px; padding-left: 48px; }
  .timeline .tl-date { grid-row: span 3; padding-top: 4px; }
}

/* Fila de videos verticales: en móvil se desliza de lado */
.video-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; max-width: 900px; }
.video-item { margin: 0; }
.video-item figcaption { margin-top: 14px; font-size: .9375rem; color: var(--plata); }
@media (max-width: 767px) {
  .video-row {
    grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 72%;
    overflow-x: auto; scroll-snap-type: x mandatory; gap: 16px; padding-bottom: 12px;
    margin-inline: -16px; padding-inline: 16px; scroll-padding-inline: 16px;
  }
  .video-item { scroll-snap-align: start; }
}

/* Lo que debe tener listo */
.ready .icon { margin-bottom: 16px; }

/* 20. Nosotros --------------------------------------------------------------- */
.hero-about { padding-bottom: var(--space-section); }
.name-check { margin: 12px 0 0; min-height: 1px; }
.name-check:empty { display: none; }
.story-grid { display: grid; gap: 40px; align-items: center; }
@media (min-width: 900px) { .story-grid { grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: 72px; } }
.story-copy .lead { margin: 16px 0 28px; }
.story-video { width: 100%; max-width: 280px; margin-inline: auto; }
@media (max-width: 899px) { .story-video { max-width: 220px; } }
.value-cards { list-style: none; display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
@media (max-width: 600px) { .value-cards { grid-template-columns: 1fr 1fr; gap: 12px; } .value-card { padding: 20px; } }
.value-card .pillar { display: block; width: 16px; height: 40px; background: var(--azul); clip-path: polygon(0 10px, 100% 0, 100% 100%, 0 100%); margin-bottom: 20px; }
.value-card .h3 { margin-bottom: 8px; }
.value-card p { margin: 0; font-size: .9375rem; }
.event-card .icon { margin-bottom: 16px; }
.event-card .tl-date { margin: 0 0 6px; }
.event-card .h3 { margin-bottom: 8px; }
.team-ph { display: flex; gap: 16px; align-items: flex-start; max-width: 720px; }
.team-ph svg { flex: none; margin-top: 2px; }

/* 21. Solicitar propuesta ---------------------------------------------------- */
.page-hero-compact { padding-block: clamp(48px, 6vw, 80px) clamp(40px, 5vw, 64px); }
.form-layout { display: grid; gap: 40px; align-items: start; }
@media (min-width: 1024px) { .form-layout { grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: 56px; } }
.proposal-form { gap: 24px; }
.form-group { border: 0; margin: 0; padding: 0; display: grid; gap: 20px; min-width: 0; }
.form-group + .form-group { margin-top: 12px; }
.form-group legend { float: left; width: 100%; }
.form-group legend + * { clear: both; }
.form-group legend { padding: 0; margin-bottom: 20px; }
.req { color: var(--indigo); font-weight: 800; }
.proposal-form .btn { width: 100%; }
@media (min-width: 640px) { .proposal-form .btn { width: auto; justify-self: start; } .proposal-form .form-note { text-align: left; } }

.after { position: sticky; top: calc(var(--header-h) + 24px); background: var(--surface-tint); border-radius: var(--radius-md); padding: clamp(24px, 3vw, 32px); }
.after .h3 { margin-bottom: 20px; }
.after-steps { list-style: none; display: grid; gap: 18px; margin-bottom: 24px; }
.after-steps li { display: flex; gap: 14px; align-items: flex-start; }
.after-steps .step-num {
  display: grid; place-items: center; flex: none; width: 32px; height: 32px; border-radius: 50%;
  background: var(--noche); color: var(--cielo); font-family: var(--font-display); font-weight: 800; font-size: .875rem;
}
.after-steps strong { display: block; font-family: var(--font-display); color: var(--ink); margin-bottom: 2px; }
.after-steps p { margin: 0; font-size: .9375rem; }
.after-time { display: flex; gap: 10px; align-items: flex-start; margin: 0; padding-top: 20px; border-top: 1px solid rgba(53, 114, 194, .25); font-size: .9375rem; }
.after-time svg { flex: none; color: var(--indigo); margin-top: 2px; }
@media (max-width: 1023px) { .after { position: static; } }

.contact-grid { display: grid; gap: 40px; align-items: start; }
@media (min-width: 960px) { .contact-grid { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 64px; } }
.contact-list { list-style: none; display: grid; gap: 20px; margin-top: 28px; }
.contact-list li { display: flex; gap: 14px; align-items: flex-start; }
.contact-list svg { width: 22px; height: 22px; flex: none; color: var(--indigo); margin-top: 2px; }
.contact-list strong { display: block; font-family: var(--font-display); color: var(--ink); }
.contact-list a { color: var(--link); font-weight: 600; text-underline-offset: 3px; }
.map { aspect-ratio: 4 / 3; border-radius: var(--radius-md); overflow: hidden; border: 1px solid var(--line); background: var(--surface-tint); }
.map-facade { height: 100%; display: grid; place-content: center; justify-items: center; gap: 14px; padding: 24px; text-align: center; }
.map-facade > svg { width: 36px; height: 36px; color: var(--indigo); }
.map-facade p { margin: 0; color: var(--ink); }
.map-facade .small { color: var(--ink-body); max-width: 36ch; }
.map-frame { width: 100%; height: 100%; border: 0; display: block; }
/* En la página de propuesta el formulario ya abre WhatsApp: el botón flotante sobra */
body:has(.proposal-form) .wa-float { display: none; }

/* 22. Blog ------------------------------------------------------------------- */
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 32px; }
.filter {
  min-height: 44px; padding: 8px 18px; border-radius: var(--radius-pill); cursor: pointer;
  border: 1px solid var(--azul); background: #fff; color: var(--ink);
  font-family: var(--font-display); font-weight: 700; font-size: .875rem;
  transition: background-color .2s ease, border-color .2s ease, color .2s ease, transform .2s var(--ease-out);
}
.filter:active { transform: scale(.97); }
@media (hover: hover) { .filter:hover { border-color: var(--azul); } }
.filter.is-active { background: var(--noche); border-color: var(--noche); color: var(--marfil); }
.post-card .status { font-family: var(--font-display); font-weight: 700; color: var(--ink-accent); }
.post-card[hidden] { display: none; }
.empty-state { padding: 32px; border: 2px dashed var(--line); border-radius: var(--radius-md); text-align: center; }
.empty-state p { margin: 0 0 16px; }
.empty-state .btn-row { justify-content: center; }

/* Artículo */
.post-head { padding-block: clamp(40px, 6vw, 72px); }
.post-container { }
.post-head .tag { margin: 20px 0 16px; }
.post-head .h1 { max-width: 24ch; margin-bottom: 20px; }
.post-byline { display: flex; flex-wrap: wrap; gap: 6px 10px; margin: 0; color: var(--plata); font-size: .9375rem; }
.post-byline strong { color: var(--marfil); }
.breadcrumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 4px 8px; font-size: .875rem; }
.breadcrumbs li { display: flex; align-items: center; gap: 8px; color: var(--plata); }
.breadcrumbs li + li::before { content: "/"; color: var(--plata); }
.breadcrumbs a { color: var(--cielo); text-decoration: none; min-height: 32px; display: inline-flex; align-items: center; }
@media (hover: hover) { .breadcrumbs a:hover { text-decoration: underline; } }
.breadcrumbs [aria-current] { color: var(--marfil); }

.post-layout { display: grid; gap: 32px; padding-block: clamp(40px, 6vw, 72px); }
@media (min-width: 1024px) { .post-layout { grid-template-columns: 240px minmax(0, 1fr); gap: 64px; } }
.toc { align-self: start; padding: 20px 24px; border-radius: var(--radius-md); background: var(--surface-tint); }
@media (min-width: 1024px) { .toc { position: sticky; top: calc(var(--header-h) + 24px); } }
.toc-title { margin: 0 0 10px; font-family: var(--font-display); font-weight: 700; font-size: .8125rem; letter-spacing: .08em; text-transform: uppercase; color: var(--indigo); }
.toc ol { padding-left: 18px; display: grid; gap: 4px; }
.toc a { color: var(--ink); text-decoration: none; font-size: .9375rem; display: inline-block; padding: 6px 0; }
@media (hover: hover) { .toc a:hover { color: var(--indigo); text-decoration: underline; } }

.post-body { max-width: 68ch; }
.post-body h2 { font-size: clamp(1.5rem, 2.6vw, 1.875rem); line-height: 1.2; font-weight: 800; margin: 48px 0 16px; scroll-margin-top: calc(var(--header-h) + 24px); }
.post-body > ul { padding-left: 22px; margin: 0 0 1em; display: grid; gap: 6px; }
.post-intro { font-size: 1.1875rem; line-height: 1.6; color: var(--ink); }

.law-box { margin: 32px 0; padding: 24px 28px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-md); box-shadow: var(--shadow-card); }
.law-title { display: flex; align-items: center; gap: 10px; margin: 0 0 12px; font-family: var(--font-display); font-weight: 800; color: var(--indigo); }
.law-box blockquote { margin: 0 0 8px; }
.law-box blockquote p { margin: 0; font-style: italic; color: var(--ink); }
.law-source { margin: 0 0 12px; font-size: .875rem; font-weight: 600; color: var(--indigo); }
.law-plain { margin: 0; }

.mid-cta { margin: 32px 0; padding: 20px 24px; border-radius: var(--radius-md); background: var(--surface-tint); }
.mid-cta p { margin: 0 0 4px; color: var(--ink); }

.share { margin-top: 56px; padding-top: 32px; border-top: 1px solid var(--line); }
.share .h3 { margin-bottom: 16px; }
.share-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.share-actions .btn { min-height: 44px; padding: 10px 20px; font-size: .9375rem; }
.share-status { margin: 12px 0 0; color: var(--indigo); font-weight: 600; }
@media (max-width: 480px) { .share-actions .btn { width: 100%; } }

/* Guardar en PDF / imprimir: solo el artículo */
@media print {
  .site-header, .site-footer, .wa-float, .toc, .share, .mid-cta, .cta-band, .section.is-white, .skip-link { display: none !important; }
  body { background: #fff; color: #000; font-size: 12pt; }
  .post-head { background: #fff !important; padding: 0 0 12pt; }
  .post-head .h1, .post-byline, .post-byline strong, .breadcrumbs li, .breadcrumbs [aria-current] { color: #000 !important; }
  .post-layout { display: block; padding: 0; }
  .post-body { max-width: none; }
  .law-box { box-shadow: none; border: 1px solid #999; }
  a { color: #000; }
}

/* 23. Legal y 404 ------------------------------------------------------------ */
.legal-layout { display: grid; gap: 32px; }
.legal-warning { max-width: 68ch; }
.legal h2:first-child { margin-top: 0; }
.legal-data { list-style: none; padding: 0 !important; }
.legal .pending { margin-right: 6px; }
.not-found { min-height: calc(100vh - var(--header-h)); display: grid; align-items: center; }
.not-found .pillars { margin-bottom: 32px; }
.not-found .lead { margin-bottom: 32px; }
.not-found-links { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 28px; margin-top: 32px; }

/* 24. Superficies del navegador ---------------------------------------------- */
html { scrollbar-color: var(--azul) var(--surface); }
input, textarea { caret-color: var(--azul); }
.figure-num, .step-num, .tl-date, .facts .anchor { font-variant-numeric: tabular-nums lining-nums; }
a { text-underline-offset: 3px; }

/* 25. Entrada del hero en CSS (DESIGN.md §7: 350 ms, sube 12 px, escalonado 60 ms) */
@media (prefers-reduced-motion: no-preference) {
  [data-hero-reveal] { animation: heroIn .35s cubic-bezier(.25, .46, .45, .94) both; }
  .hero-text > [data-hero-reveal]:nth-child(2), .page-hero .container > [data-hero-reveal]:nth-child(2) { animation-delay: .06s; }
  .hero-text > [data-hero-reveal]:nth-child(3), .page-hero .container > [data-hero-reveal]:nth-child(3) { animation-delay: .12s; }
  .hero-text > [data-hero-reveal]:nth-child(4), .page-hero .container > [data-hero-reveal]:nth-child(4),
  .hero-actions[data-hero-reveal] { animation-delay: .18s; }
  [data-hero-arch] { animation: archIn .6s cubic-bezier(.22, .61, .36, 1) .15s both; }
}
/* opacidad .01 y no 0: Chrome no cuenta como pintado un elemento con opacidad 0 (retrasa el LCP) */
@keyframes heroIn { from { opacity: .01; transform: translateY(12px); } }
@keyframes archIn { from { opacity: .01; transform: scale(.96); } }

/* 26. Pantallas muy angostas (< 360 px): que nada se corra de lado */
.h1, .h2, .h3, h1, h2, h3 { overflow-wrap: break-word; hyphens: auto; }
@media (max-width: 959px) { .hero-grid { grid-template-columns: minmax(0, 1fr); } .hero-media { width: min(220px, 100%); } }
@media (max-width: 359px) {
  .h1, .headline { font-size: 1.875rem; }
  .h2 { font-size: 1.5rem; }
  .label { letter-spacing: .04em; }
  .brand-name { font-size: .8125rem; }
}
/* Las columnas de grilla nunca se estiran por contenido largo (el min-width: auto de grid causa desbordes) */
[class*="-grid"] > *, .form-layout > *, .post-layout > *, .value-cards > *, .grid > *, .form-row > * { min-width: 0; }
.pending { white-space: normal; max-width: 100%; }
.footer-brand p, .footer-col a, .footer-col .item { overflow-wrap: anywhere; }
@media (max-width: 420px) { .value-cards { grid-template-columns: minmax(0, 1fr); } }
