/* HDIC - Plus Jakarta Sans self-hosted (variable, wght 200-800, latin).
   GDPR: never load from Google Fonts CDN. License: OFL 1.1
   (see ../fonts/plus-jakarta-sans/OFL.txt). */

@font-face {
  font-family: "Plus Jakarta Sans";
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url("../fonts/plus-jakarta-sans/PlusJakartaSans-latin-normal.woff2") format("woff2");
}

@font-face {
  font-family: "Plus Jakarta Sans";
  font-style: italic;
  font-weight: 200 800;
  font-display: swap;
  src: url("../fonts/plus-jakarta-sans/PlusJakartaSans-latin-italic.woff2") format("woff2");
}

/* Koenig cards (Ghost editor content on generic page/post templates) */
.kg-width-wide {
  max-width: 920px;
  margin-left: auto;
  margin-right: auto;
}
.kg-width-full {
  width: 100vw;
  margin-left: calc(50% - 50vw);
}
.kg-image {
  max-width: 100%;
  height: auto;
}


/* ============================================================
   hdic-contacto.html · mockup v0.1.0
   contra tokens v0.2.0 · system-docs v1.0.0 · 12/06/2026
   Tokens embebidos desde css/tokens.css (generado, no editado).
   Fuente self-hosted embebida en base64 SOLO para este preview;
   en producción: css/fonts.css con woff2 self-hosted.
   Cero hex fuera de tokens. Motivo firma: lo visible en trazo
   continuo, lo invisible en trazo discontinuo.
   ============================================================ */



:root {
  --hdic-blanco: #FFFFFF;
  --hdic-abeto-50: #F2FDFA;
  --hdic-abeto-100: #E2F4F0;
  --hdic-abeto-200: #CAE7E0;
  --hdic-abeto-300: #AED6CD;
  --hdic-abeto-400: #89BAB0;
  --hdic-abeto-500: #69A498;
  --hdic-abeto-600: #498C7F;
  --hdic-abeto-700: #327569;
  --hdic-abeto-800: #27675C;
  --hdic-abeto-900: #0E4F45;
  --hdic-abeto-950: #05362F;
  --hdic-functional-tinta: #232A33;
  --hdic-functional-gris: #66707C;
  --hdic-functional-lineas: #CBD2D9;
  --hdic-didactic-ambar: #D97B41;
  --hdic-didactic-violeta: #6E56A8;
  --hdic-didactic-azul: #2F6DAE;
  --hdic-didactic-dorado: #B8932E;
  --hdic-surface: #FFFFFF;
  --hdic-surface-tint-subtle: #F2FDFA;
  --hdic-surface-tint: #E2F4F0;
  --hdic-surface-tint-strong: #CAE7E0;
  --hdic-text: #232A33;
  --hdic-text-muted: #66707C;
  --hdic-text-muted-on-tint: #232A33;
  --hdic-text-brand: #0E4F45;
  --hdic-text-inverse: #FFFFFF;
  --hdic-link: #327569;
  --hdic-link-hover: #0E4F45;
  --hdic-link-on-tint-strong: #0E4F45;
  --hdic-accent: #0E4F45;
  --hdic-accent-hover: #27675C;
  --hdic-accent-contrast: #FFFFFF;
  --hdic-border: #CBD2D9;
  --hdic-border-strong: #498C7F;
  --hdic-icon: #498C7F;
  --hdic-depth: #05362F;
  --hdic-font-sans: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --hdic-weight-regular: 400;
  --hdic-weight-medium: 500;
  --hdic-weight-semibold: 600;
  --hdic-weight-bold: 700;
}

/* ---- reset mínimo ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--hdic-font-sans);
  font-weight: var(--hdic-weight-regular);
  font-size: 17px;
  line-height: 1.6;
  color: var(--hdic-text);
  background: var(--hdic-surface);
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--hdic-link); }
a:hover { color: var(--hdic-link-hover); }
:focus-visible { outline: 3px solid var(--hdic-border-strong); outline-offset: 3px; border-radius: 2px; }

/* ---- roles tipográficos (de tokens.css v0.2.0) ---- */
.t-display { font-weight: 700; font-size: clamp(2.5rem, 5vw, 3.5rem); line-height: 1.1; letter-spacing: -0.02em; }
.t-h2 { font-weight: 600; font-size: 29px; line-height: 1.2; letter-spacing: -0.01em; }
.t-h3 { font-weight: 600; font-size: 22px; line-height: 1.35; }
.t-lead { font-weight: 400; font-size: 20px; line-height: 1.55; }
.t-body { font-weight: 400; font-size: 17px; line-height: 1.6; }
.t-body-strong { font-weight: 600; font-size: 17px; line-height: 1.6; }
.t-small { font-weight: 400; font-size: 14px; line-height: 1.5; }
.t-eyebrow { font-weight: 600; font-size: 13px; line-height: 1.4; letter-spacing: 0.08em; text-transform: uppercase; }

/* ---- layout base ---- */
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 24px; }
.prose { max-width: 38em; } /* línea <= 80 caracteres */

/* ---- motivo firma: divisor visible/invisible.
   La mitad izquierda continua (lo visible), la derecha
   discontinua (lo invisible). Decorativo (no controla nada). ---- */
.divisor { display: flex; height: 1px; margin: 0 auto; max-width: 1120px; padding: 0; }
.divisor span:first-child { flex: 1; border-top: 1px solid var(--hdic-functional-lineas); }
.divisor span:last-child { flex: 1; border-top: 1px dashed var(--hdic-functional-lineas); }

/* ---- header ---- */
header {
  border-bottom: 1px solid var(--hdic-functional-lineas);
  background: var(--hdic-surface);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 24px; max-width: 1120px; margin: 0 auto;
}
.logo { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.logo svg { width: 30px; height: 30px; }
.logo .signo { font-weight: 700; font-size: 21px; letter-spacing: 0.02em; color: var(--hdic-text-brand); }
.nav ul { display: flex; gap: 28px; list-style: none; align-items: center; }
.nav ul a { text-decoration: none; color: var(--hdic-text); font-weight: 500; font-size: 15px; white-space: nowrap; }
.nav ul a:hover { color: var(--hdic-text-brand); }
.nav ul a.btn-primary { color: var(--hdic-accent-contrast); }
.nav ul a.btn-primary:hover { color: var(--hdic-accent-contrast); }
.nav ul a.activo { color: var(--hdic-text-brand); font-weight: 600; }

/* ---- botones (componente de tokens) ---- */
.btn {
  display: inline-block; text-decoration: none; cursor: pointer;
  padding: 13px 26px; border-radius: 6px; border: 2px solid transparent;
  font-weight: 600; font-size: 17px; line-height: 1.3;
}
.btn-primary { background: var(--hdic-accent); color: var(--hdic-accent-contrast); }
.btn-primary:hover { background: var(--hdic-accent-hover); color: var(--hdic-accent-contrast); }
.btn-ghost { background: transparent; color: var(--hdic-text-brand); border-color: var(--hdic-accent); }
.btn-ghost:hover { background: var(--hdic-surface-tint-subtle); color: var(--hdic-text-brand); }

/* ---- hero ---- */
.hero { padding: 88px 0 96px; }
.hero .wrap { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 56px; align-items: center; }
.hero .eyebrow { color: var(--hdic-text-muted); margin-bottom: 22px; }
.hero h1 { color: var(--hdic-text-brand); margin-bottom: 20px; }
.hero .sub { color: var(--hdic-text); margin-bottom: 38px; max-width: 24em; }
.hero .ctas { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-symbol { display: flex; justify-content: center; }
.hero-symbol svg { width: min(400px, 100%); height: auto; }

/* draw-in sobrio de las aristas visibles al cargar */
@media (prefers-reduced-motion: no-preference) {
  .hero-symbol .visible-edges {
    stroke-dasharray: 600; stroke-dashoffset: 600;
    animation: dibujar 1.6s ease-out 0.2s forwards;
  }
  .hero-symbol .invisible-edges { opacity: 0; animation: aparecer 0.9s ease-out 1.2s forwards; }
}
@keyframes dibujar { to { stroke-dashoffset: 0; } }
@keyframes aparecer { to { opacity: 1; } }

/* ---- bloque qué es ---- */
.quees { padding: 88px 0; }
.quees .wrap { display: flex; flex-direction: column; align-items: center; text-align: center; }
.quees .eyebrow { color: var(--hdic-text-muted); margin-bottom: 18px; }
.quees p { color: var(--hdic-text); }
.quees .expansion { letter-spacing: 0.14em; }

/* ---- claim (banda tintada subtle) ---- */
.claim { background: var(--hdic-surface-tint-subtle); padding: 84px 0; }
.claim .wrap { max-width: 880px; }
.claim .eyebrow { color: var(--hdic-text-muted); margin-bottom: 22px; }
.claim blockquote {
  font-weight: 600; font-size: clamp(24px, 3vw, 31px); line-height: 1.35;
  letter-spacing: -0.01em; color: var(--hdic-text-brand);
  border-left: 3px solid var(--hdic-accent); padding-left: 28px;
}

/* ---- pilares ---- */
.pilares { padding: 96px 0; }
.pilares .cabecera { text-align: center; margin-bottom: 56px; }
.pilares .cabecera .eyebrow { color: var(--hdic-text-muted); margin-bottom: 14px; }
.pilares .cabecera h2 { color: var(--hdic-text); }
.tarjetas { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-bottom: 48px; }
.tarjeta {
  background: var(--hdic-surface); border: 1px solid var(--hdic-functional-lineas);
  border-radius: 8px; padding: 30px 28px 32px; position: relative;
}
.tarjeta::before {
  content: ""; position: absolute; top: -1px; left: 28px; right: auto;
  width: 56px; height: 4px; border-radius: 0 0 3px 3px;
}
.tarjeta.human::before { background: var(--hdic-didactic-ambar); }
.tarjeta.inner::before { background: var(--hdic-didactic-violeta); }
.tarjeta.digital::before { background: var(--hdic-didactic-azul); }
.tarjeta .rol { color: var(--hdic-text-muted); margin-bottom: 8px; }
.tarjeta h3 { color: var(--hdic-text); margin-bottom: 12px; letter-spacing: 0.04em; }
.tarjeta p { color: var(--hdic-text); font-size: 16px; }
.pilares .bucle { text-align: center; color: var(--hdic-text); max-width: 36em; margin: 0 auto 28px; }
.pilares .enlace-modelo { text-align: center; }
.pilares .enlace-modelo a { font-weight: 600; text-decoration: none; border-bottom: 2px solid var(--hdic-accent); padding-bottom: 2px; color: var(--hdic-text-brand); }
.pilares .enlace-modelo a:hover { color: var(--hdic-link-hover); }

/* ---- frase ancla (banda accent) ---- */
.ancla { background: var(--hdic-accent); padding: 84px 0 88px; }
.ancla .ancla-eyebrow { color: var(--hdic-surface-tint-strong); text-align: center; margin-bottom: 40px; }
.escalera { max-width: 680px; margin: 0 auto 44px; }
.ancla blockquote {
  color: var(--hdic-accent-contrast); text-align: center;
  font-weight: 600; font-size: clamp(24px, 3vw, 33px); line-height: 1.3;
  letter-spacing: -0.015em; max-width: 22em; margin: 0 auto 30px;
}
.ancla-enlace { text-align: center; }
.ancla-enlace a { color: var(--hdic-accent-contrast); font-weight: 600; text-decoration: underline; text-underline-offset: 4px; }
.ancla-enlace a:hover { color: var(--hdic-surface-tint-strong); }

/* ---- diagrama del bucle de pilares ---- */
.bucle-diagrama { max-width: 480px; margin: 0 auto 36px; }

/* ---- cta final ---- */
.ctafinal { padding: 100px 0; text-align: center; }
.ctafinal h2 { color: var(--hdic-text-brand); margin-bottom: 16px; }
.ctafinal p { color: var(--hdic-text); max-width: 32em; margin: 0 auto 36px; }

/* ---- footer ---- */
footer { border-top: 1px solid var(--hdic-functional-lineas); padding: 44px 0 52px; }
footer .wrap { display: flex; justify-content: space-between; gap: 32px; align-items: flex-start; flex-wrap: wrap; }
footer .marca { display: flex; align-items: center; gap: 10px; }
footer .marca svg { width: 24px; height: 24px; }
footer .marca span { font-weight: 700; font-size: 17px; color: var(--hdic-text-brand); letter-spacing: 0.02em; }
footer .legal { color: var(--hdic-text-muted); max-width: 34em; }
footer nav ul { list-style: none; display: flex; flex-direction: column; gap: 8px; }
footer nav a { color: var(--hdic-text-muted); text-decoration: none; font-size: 14px; }
footer nav a:hover { color: var(--hdic-text-brand); text-decoration: underline; }

/* ---- responsive ---- */
.menu-btn { display: none; background: none; border: none; cursor: pointer; padding: 8px; border-radius: 6px; }
.menu-btn svg { width: 26px; height: 26px; }

@media (max-width: 880px) {
  .hero { padding: 56px 0 64px; }
  .hero .wrap { grid-template-columns: 1fr; gap: 44px; }
  .hero-symbol { order: -1; }
  .hero-symbol svg { width: min(220px, 60%); }
  .tarjetas { grid-template-columns: 1fr; }
  .menu-btn { display: block; }
  .nav { flex-wrap: wrap; }
  .nav nav { display: none; width: 100%; }
  header.abierto .nav nav { display: block; }
  .nav ul { flex-direction: column; align-items: stretch; gap: 0; padding: 10px 0 8px; border-top: 1px solid var(--hdic-functional-lineas); margin-top: 14px; }
  .nav ul a { display: block; padding: 12px 4px; font-size: 17px; }
  .nav ul a.btn-primary { display: inline-block; margin-top: 8px; text-align: center; }
}
/* ---- página El Modelo ---- */
.centrado { text-align: center; }
.pagina-cabecera { padding: 80px 0 72px; }
.pagina-cabecera .eyebrow { color: var(--hdic-text-muted); margin-bottom: 18px; }
.pagina-cabecera h1 { color: var(--hdic-text-brand); margin-bottom: 22px; max-width: 16em; }
.pagina-cabecera .prose { color: var(--hdic-text); }

.pilares-detalle { padding: 84px 0 72px; }
.pilares-detalle h2 { margin-bottom: 52px; }
.pilar-bloque {
  display: grid; grid-template-columns: 220px 1fr; gap: 36px;
  padding: 30px 0 30px 28px; border-left: 4px solid var(--hdic-functional-lineas);
  margin-bottom: 8px; max-width: 880px; margin-left: auto; margin-right: auto;
}
.pilar-bloque.human { border-left-color: var(--hdic-didactic-ambar); }
.pilar-bloque.inner { border-left-color: var(--hdic-didactic-violeta); }
.pilar-bloque.digital { border-left-color: var(--hdic-didactic-azul); }
.pilar-bloque .rol { color: var(--hdic-text-muted); margin-bottom: 6px; }
.pilar-bloque h3 { color: var(--hdic-text); letter-spacing: 0.04em; }
.pilar-bloque p { max-width: 36em; }
.pilares-detalle .bucle { margin-top: 40px; color: var(--hdic-text); }

.logica { background: var(--hdic-surface-tint-subtle); padding: 84px 0; }
.logica h2 { margin-bottom: 48px; }
.logica-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; max-width: 980px; margin: 0 auto; }
.logica-card { background: var(--hdic-surface); border: 1px solid var(--hdic-functional-lineas); border-radius: 8px; padding: 32px 30px 34px; }
.logica-card .rol { color: var(--hdic-text-muted); margin-bottom: 8px; }
.logica-card h3 { margin-bottom: 18px; }
.barra-equilibrio { display: flex; height: 14px; border-radius: 7px; overflow: hidden; margin-bottom: 20px; }
.barra-equilibrio span { flex: 1; }
.seg-human { background: var(--hdic-didactic-ambar); }
.seg-inner { background: var(--hdic-didactic-violeta); }
.seg-digital { background: var(--hdic-didactic-azul); }
.proceso-flujo { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-bottom: 20px; font-weight: 700; font-size: 15px; letter-spacing: 0.03em; }
.proceso-flujo .flecha { color: var(--hdic-icon); font-weight: 400; font-size: 18px; }
.proceso-flujo span:not(.flecha) { padding: 6px 12px; border-radius: 6px; border: 1px solid var(--hdic-functional-lineas); color: var(--hdic-functional-tinta); }
.proceso-flujo .paso-h { border-bottom: 3px solid var(--hdic-didactic-ambar); }
.proceso-flujo .paso-i { border-bottom: 3px solid var(--hdic-didactic-violeta); }
.proceso-flujo .paso-d { border-bottom: 3px solid var(--hdic-didactic-azul); }

.dado { padding: 96px 0; }
.dado-grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 64px; align-items: center; }
.dado-symbol svg { width: min(340px, 100%); margin: 0 auto; }
.dado-symbol .leyenda { color: var(--hdic-text-muted); text-align: center; margin-top: 18px; }
.linea-solida, .linea-discontinua, .linea-media { display: inline-block; width: 34px; height: 0; vertical-align: middle; margin-right: 6px; }
.linea-solida { border-top: 2.5px solid var(--hdic-abeto-600); }
.linea-discontinua { border-top: 2.5px dashed var(--hdic-abeto-600); }
.linea-media { border-top: 2.5px dashed var(--hdic-abeto-600); border-image: none; }
.dado .eyebrow { color: var(--hdic-text-muted); margin-bottom: 14px; }
.dado h2 { color: var(--hdic-text-brand); margin-bottom: 22px; }
.dado-cita { border-left: 3px solid var(--hdic-accent); padding-left: 24px; color: var(--hdic-text); margin-bottom: 22px; }

.circulos { background: var(--hdic-surface-tint-subtle); padding: 92px 0; }
.circulos h2 { margin-bottom: 18px; }
.subtitulo-anillos { color: var(--hdic-text-muted); margin-top: 10px; }
.intro-circulos { margin: 18px auto 56px; color: var(--hdic-text); }
.circulos-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; max-width: 1020px; margin: 0 auto; }
.circulos-diagrama svg { width: min(440px, 100%); margin: 0 auto; }
.circulos-leyenda ol { list-style: none; display: flex; flex-direction: column; gap: 10px; margin-bottom: 22px; }
.circulos-leyenda .cnum { display: inline-block; min-width: 38px; font-weight: 700; color: var(--hdic-text-brand); }
.leyenda-trazos { color: var(--hdic-text-muted); margin-bottom: 18px; }
.cierre-circulos { font-weight: 600; }

.ctafinal .enlace-camino { margin-top: 22px; }
.ctafinal .enlace-camino a { font-weight: 600; color: var(--hdic-text-brand); }

@media (max-width: 880px) {
  .pilar-bloque { grid-template-columns: 1fr; gap: 10px; }
  .logica-grid { grid-template-columns: 1fr; }
  .dado-grid { grid-template-columns: 1fr; gap: 40px; }
  .circulos-grid { grid-template-columns: 1fr; gap: 40px; }
}

/* ---- marca de agua del icosaedro en la cabecera ---- */
.pagina-cabecera { position: relative; overflow: hidden; }
.cabecera-marca-agua { position: absolute; top: 50%; right: -180px; transform: translateY(-50%); width: 560px; pointer-events: none; }
.pagina-cabecera .wrap { position: relative; }
@media (max-width: 880px) {
  .cabecera-marca-agua { width: 320px; right: -140px; }
}


/* ---- página El Camino ---- */
.intro-seccion { margin: 18px auto 48px; color: var(--hdic-text); }
.matriz { padding: 84px 0; }
.matriz-diagrama svg { width: min(680px, 100%); margin: 0 auto; }
.aviso-derechos { color: var(--hdic-text-muted); margin-top: 10px; }
.anclas-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; max-width: 980px; margin: 48px auto 0; }
.anclas-grid h3 { margin-bottom: 14px; color: var(--hdic-text-brand); }
.anclas-lista { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.pasos { background: var(--hdic-surface-tint-subtle); padding: 84px 0; }
.pasos-escalera svg { width: min(960px, 100%); margin: 0 auto; }
.cita-camino { text-align: center; font-weight: 600; font-size: clamp(22px, 2.6vw, 28px); line-height: 1.35; letter-spacing: -0.01em; color: var(--hdic-text-brand); max-width: 24em; margin: 36px auto 0; }
.triaje { padding: 92px 0; }
.triaje .tarjetas { margin-top: 44px; }
.tarjeta-triaje { background: var(--hdic-surface); border: 1px solid var(--hdic-functional-lineas); border-radius: 8px; padding: 28px; text-align: center; }
.tarjeta-triaje h3 { color: var(--hdic-text-brand); margin-bottom: 10px; }
.posicionamiento { margin: 40px auto 0; color: var(--hdic-text); }
.fases { background: var(--hdic-surface-tint-subtle); padding: 84px 0 92px; }
.fases-ciclo svg { width: min(960px, 100%); margin: 0 auto -86px; }
.fases-lista { list-style: none; display: grid; grid-template-columns: repeat(7, 1fr); gap: 12px; max-width: 960px; margin: 0 auto; position: relative; }
.fases-lista li { display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; }
.fnum { display: flex; align-items: center; justify-content: center; width: 46px; height: 46px; border-radius: 50%; background: var(--hdic-surface); border: 2.5px solid var(--hdic-accent); color: var(--hdic-text-brand); font-weight: 700; font-size: 15px; }
.fases-lista li:first-child .fnum { background: var(--hdic-accent); color: var(--hdic-accent-contrast); }
.fnombre { font-size: 14px; line-height: 1.35; color: var(--hdic-functional-tinta); font-weight: 500; max-width: 9em; }
.fases .aviso-derechos { margin-top: 34px; }
.firma-ancla { color: var(--hdic-surface-tint-strong); text-align: center; margin-top: 18px; }
@media (max-width: 880px) {
  .anclas-grid { grid-template-columns: 1fr; gap: 32px; }
  .fases-lista { grid-template-columns: repeat(4, 1fr); row-gap: 24px; }
  .fases-ciclo { display: none; }
  .triaje .tarjetas { grid-template-columns: 1fr; }
}


/* ---- página Servicios ---- */
.masterclass { padding: 76px 0 40px; }
.mc-card { background: var(--hdic-surface-tint-subtle); border: 1px solid var(--hdic-functional-lineas); border-radius: 10px; padding: 52px 56px; display: grid; grid-template-columns: 1.3fr 0.7fr; gap: 48px; align-items: center; }
.mc-texto .eyebrow { color: var(--hdic-text-muted); margin-bottom: 10px; }
.mc-texto h2 { color: var(--hdic-text-brand); margin-bottom: 16px; }
.mc-texto .t-lead { margin-bottom: 14px; }
.mc-texto .t-body { margin-bottom: 30px; max-width: 34em; }
.mc-dado svg { width: min(240px, 100%); margin: 0 auto 18px; }
.mc-promesa { text-align: center; color: var(--hdic-text-brand); }
.otros-servicios { padding: 48px 0 90px; }
.servicios-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.servicio-card { background: var(--hdic-surface); border: 1px solid var(--hdic-functional-lineas); border-radius: 8px; padding: 34px 32px; }
.servicio-card .rol { color: var(--hdic-text-muted); margin-bottom: 8px; }
.servicio-card h2 { color: var(--hdic-text); margin-bottom: 14px; }
.servicio-card .btn-card { margin-top: 22px; padding: 10px 20px; font-size: 15px; }
.servicio-card { display: flex; flex-direction: column; align-items: flex-start; }
.servicio-card .btn-card { margin-top: auto; padding-top: 10px; }
.servicio-card p.t-body { margin-bottom: 22px; }
@media (max-width: 880px) {
  .mc-card { grid-template-columns: 1fr; padding: 36px 28px; }
  .servicios-grid { grid-template-columns: 1fr; }
}


/* ---- página Sobre David ---- */
.cabecera-david { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 56px; align-items: center; }
.enlace-personal { margin-top: 28px; }
.foto-marco { aspect-ratio: 4 / 5; max-width: 340px; width: 100%; justify-self: end; background: var(--hdic-surface-tint); border: 1px solid var(--hdic-functional-lineas); border-radius: 10px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; }
.foto-marco svg { width: 90px; }
.foto-marco p { color: var(--hdic-text-muted-on-tint); }
@media (max-width: 880px) { .cabecera-david { grid-template-columns: 1fr; } .foto-marco { justify-self: center; max-width: 260px; } }
.relato { padding: 84px 0 30px; }
.relato + .ctafinal { padding-top: 44px; }
.relato .wrap { display: flex; flex-direction: column; align-items: center; }
.relato-p { text-align: center; color: var(--hdic-text); margin-bottom: 34px; }
.mundos { list-style: none; display: flex; gap: 20px; flex-wrap: wrap; justify-content: center; margin: 4px 0 40px; }
.mundo { border: 1px solid var(--hdic-functional-lineas); border-radius: 8px; padding: 14px 22px; position: relative; }
.mundo::before { content: ""; position: absolute; top: -1px; left: 20px; width: 40px; height: 4px; border-radius: 0 0 3px 3px; }
.mundo.human::before { background: var(--hdic-didactic-ambar); }
.mundo.inner::before { background: var(--hdic-didactic-violeta); }
.mundo.digital::before { background: var(--hdic-didactic-azul); }
.firma-david { font-weight: 700; font-size: 24px; letter-spacing: 0.01em; color: var(--hdic-text-brand); margin-top: 12px; }
@media (max-width: 880px) { .mundos { flex-direction: column; align-items: stretch; text-align: center; } }


/* ---- página Contacto ---- */
.contacto { padding: 76px 0 96px; }
.contacto-grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 64px; align-items: start; }
.contacto-motivos h2 { color: var(--hdic-text-brand); margin-bottom: 22px; }
.motivos-lista { list-style: none; display: flex; flex-direction: column; gap: 22px; }
.motivos-lista li { border-left: 3px solid var(--hdic-accent); padding-left: 18px; }
.motivos-lista .t-body-strong { color: var(--hdic-text); }
.motivos-lista .t-body { color: var(--hdic-text-muted); font-size: 15px; }
.form-marco { background: var(--hdic-surface-tint-subtle); border: 1px solid var(--hdic-functional-lineas); border-radius: 10px; min-height: 420px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px; }
.form-marco svg { width: 70px; }
.form-marco p { color: var(--hdic-text-muted-on-tint); }
.legal-form { color: var(--hdic-text-muted); margin-top: 14px; }
@media (max-width: 880px) { .contacto-grid { grid-template-columns: 1fr; gap: 40px; } }


/* Ajustes post-mockup pedidos por David (13/06/2026) */
/* aire entre el aviso (c) y la frase del bucle en la home */
.pilares .bucle {
  margin-top: 28px;
}
/* aire entre el aviso (c) y la lista C0-C8 de los Anillos */
.circulos-leyenda .aviso-derechos {
  margin-bottom: 14px;
}
/* aire entre el aviso (c) y el primer bloque de pilar en El Modelo */
.pilares-detalle .aviso-derechos {
  margin-bottom: 28px;
}
/* retrato real dentro del marco 4:5 de Sobre David */
.foto-marco {
  position: relative;
  overflow: hidden;
}
.foto-marco img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: inherit;
  display: block;
}
/* Paginas legales (aviso-legal, privacidad, cookies) */
.legal-doc {
  padding: 60px 0 80px;
}
.legal-doc-texto {
  max-width: 680px;
}
.legal-doc-texto .t-h2 {
  margin-top: 48px;
  margin-bottom: 12px;
}
.legal-doc-texto .t-h3 {
  margin-top: 32px;
  margin-bottom: 8px;
  font-size: 18px;
  font-weight: 600;
}
.lista-legal {
  padding-left: 24px;
  margin-bottom: 20px;
}
.lista-legal li {
  font-size: 17px;
  line-height: 1.6;
  margin-bottom: 6px;
}
.legal-doc-texto .t-body {
  margin-bottom: 20px;
}
.legal-doc-texto .t-lead {
  margin-bottom: 32px;
}
.cookies-tabla-wrap {
  overflow-x: auto;
  margin: 16px 0 32px;
}
.cookies-tabla {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
  line-height: 1.5;
}
.cookies-tabla th,
.cookies-tabla td {
  padding: 10px 14px;
  text-align: left;
  border-bottom: 1px solid var(--hdic-functional-lineas);
  vertical-align: top;
}
.cookies-tabla th {
  font-weight: 600;
  background: var(--hdic-surface-tint-subtle);
  color: var(--hdic-text);
  white-space: nowrap;
}
.cookies-tabla td {
  color: var(--hdic-text-muted);
}
.cookies-tabla code {
  background: var(--hdic-surface-tint-subtle);
  border: 1px solid var(--hdic-functional-lineas);
  border-radius: 4px;
  padding: 1px 5px;
  font-size: 13px;
  color: var(--hdic-text);
}
.aviso-actualizacion {
  color: var(--hdic-text-muted);
  margin-top: 48px;
  display: block;
}
.btn-ck-reopen {
  margin-top: 6px;
}
/* v1.3.0 - CAMBIO 2: linea de audiencia en hero */
.hero .audiencia {
  color: var(--hdic-text-muted);
  font-size: 17px;
  font-weight: 400;
  margin-top: 16px;
  margin-bottom: 8px;
  max-width: 600px;
}
/* v1.3.0 - CAMBIO 3: seccion EU AI Act */
.euaiact {
  background: var(--hdic-surface-tint-subtle);
  border-top: 2px solid var(--hdic-abeto-200);
  border-bottom: 2px solid var(--hdic-abeto-200);
  padding: 72px 0;
}
.euaiact .eyebrow {
  margin-bottom: 16px;
}
.euaiact .t-h2 {
  margin: 0 0 28px;
}
.euaiact .t-body {
  max-width: 680px;
  margin-bottom: 16px;
}
.euaiact .btn {
  margin-top: 12px;
}
/* v1.3.0 - CAMBIO 4: credibilidad academica */
.credibilidad {
  padding: 32px 0 8px;
  text-align: center;
}
.chips-academicos {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 14px;
  justify-content: center;
}
.chip-academico {
  display: inline-block;
  padding: 6px 18px;
  border: 1.5px solid var(--hdic-abeto-400);
  border-radius: 4px;
  font-size: 14px;
  font-weight: 700;
  color: var(--hdic-abeto-800);
  background: var(--hdic-abeto-50);
  white-space: nowrap;
}
.credibilidad .t-small {
  color: var(--hdic-text-muted);
  margin: 0;
}
/* v1.3.0 - CAMBIO 5: eyebrow en seccion para-directivos */
.ctafinal .eyebrow {
  margin-bottom: 16px;
}
.ctafinal .t-body {
  max-width: 600px;
  margin: 12px auto 0;
}
