/* HMC Ingeniería (propio): diseño C aprobado = base común + aspecto C. La adaptación al kit está en hmc-sitio.css. */
/* HMC Ingeniería · base común a las 3 propuestas (lo que fija el manual y la mecánica de componentes).
   Cada propuesta (a/, b/, c/) sobrescribe solo variables de aspecto y estilos propios en su estilo.css. */

@font-face {
  font-family: "Roboto";
  src: url("../fonts/roboto-var-latin.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}

:root {
  /* Colores del Manual de Identidad (p. 27): fijos en las tres propuestas */
  --azul-oscuro: #003E65;
  --azul: #0069A3;
  --dorado: #C49341;
  --gris: #99A4B0;
  /* Derivados propuestos (no están en el manual; Jorge los aprueba) */
  --azul-noche: #00304F;
  --ink: #10202B;
  --ink-2: #4A5967;
  --surface: #F2F5F8;
  --surface-calida: #FBF6EC;
  --borde-campo: #7B8998;
  --linea: #D3DBE3;
  --gris-claro: #CBD5DF;
  --dorado-claro: #E2C48A;
  --dorado-osc: #7A5818;
  --wa: #0B7F44;
  --error: #B3261E;
  --ok: #0B6B3A;
  --focus: #0069A3;

  /* Tipografía */
  --font: "Roboto", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  --fs-0: 0.875rem;
  --fs-1: 1rem;
  --fs-2: clamp(1.0625rem, 1rem + 0.3vw, 1.1875rem);
  --fs-3: clamp(1.25rem, 1.1rem + 0.6vw, 1.5rem);
  --fs-4: clamp(1.5rem, 1.2rem + 1.2vw, 2rem);
  --fs-5: clamp(1.875rem, 1.4rem + 2vw, 2.75rem);
  --fs-6: clamp(2rem, 1.3rem + 3.2vw, 3.5rem);

  /* Espaciado (base 4 px) */
  --s-1: 0.25rem; --s-2: 0.5rem; --s-3: 0.75rem; --s-4: 1rem; --s-5: 1.5rem;
  --s-6: 2rem; --s-7: 3rem; --s-8: 4rem; --s-9: 6rem;
  --gutter: 1rem;
  --seccion: clamp(3rem, 2rem + 4vw, 5.5rem);

  /* Aspecto (cada propuesta lo cambia) */
  --r-btn: 4px; --r-card: 6px; --r-field: 4px;
  --sombra: 0 1px 2px rgb(16 32 43 / .08), 0 4px 12px rgb(16 32 43 / .06);
  --banner-h: 0px;
}
@media (min-width: 48em) { :root { --gutter: 2rem; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; } }
body { margin: 0; font-family: var(--font); font-size: var(--fs-1); line-height: 1.6; color: var(--ink); background: #fff; overflow-wrap: break-word; }
img, svg { max-width: 100%; height: auto; }
h1, h2, h3, h4 { line-height: 1.2; margin: 0 0 var(--s-4); color: var(--azul-oscuro); }
p { margin: 0 0 var(--s-4); }
ul { margin: 0; padding: 0; list-style: none; }
a { color: var(--azul); text-underline-offset: .18em; }
a:hover { color: var(--azul-oscuro); }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
.on-dark { --focus: var(--dorado-claro); color: #fff; }
.on-dark h1, .on-dark h2, .on-dark h3 { color: #fff; }
.on-dark a { color: var(--dorado-claro); }
.sr-only { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.wrap { width: min(100% - 2 * var(--gutter), 75rem); margin-inline: auto; }
.seccion { padding-block: var(--seccion); }
.skip { position: absolute; left: var(--s-4); top: -4rem; z-index: 100; background: var(--azul-oscuro); color: #fff; padding: var(--s-3) var(--s-4); border-radius: var(--r-btn); }
.skip:focus { top: var(--s-4); color: #fff; }
.ico { width: 1.25em; height: 1.25em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; vertical-align: -0.2em; }

/* Botones: objetivo táctil 48 px de alto (>= 44 recomendado) */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: var(--s-2); min-height: 48px; min-width: 48px; padding: .75rem 1.5rem; font: 700 var(--fs-1)/1.2 var(--font); letter-spacing: .04em; text-transform: uppercase; text-decoration: none; border: 2px solid transparent; border-radius: var(--r-btn); cursor: pointer; transition: background-color .15s, color .15s, border-color .15s; }
.btn-primario { background: var(--azul-oscuro); color: #fff; }
.btn-primario:hover { background: var(--azul-noche); color: #fff; }
.btn-oro { background: var(--dorado); color: var(--ink); }
.btn-oro:hover { background: #D2A45A; color: var(--ink); }
.btn-borde { background: transparent; color: var(--azul-oscuro); border-color: var(--azul-oscuro); }
.btn-borde:hover { background: var(--azul-oscuro); color: #fff; }
.on-dark .btn-borde { color: #fff; border-color: #fff; }
.on-dark .btn-borde:hover { background: #fff; color: var(--azul-oscuro); }
.btn-wa { background: var(--wa); color: #fff; }
.btn-wa:hover { background: #09693a; color: #fff; }
.enlace-flecha { display: inline-flex; align-items: center; gap: var(--s-2); min-height: 44px; font-weight: 700; text-decoration: none; }
.enlace-flecha:hover { text-decoration: underline; }

/* Cabecera y menú (mecánica común) */
.cab { position: relative; z-index: 50; }
.cab { position: relative; }
.cab-fila { display: flex; align-items: center; justify-content: space-between; gap: var(--s-4); }
.logo { display: block; flex: none; line-height: 0; }
.logo img { width: clamp(7.5rem, 28vw, 9.5rem); height: auto; }
.nav-toggle { display: inline-flex; align-items: center; gap: var(--s-2); min-height: 44px; min-width: 44px; padding: 0 var(--s-4); font: 700 var(--fs-1) var(--font); color: var(--azul-oscuro); background: #fff; border: 2px solid var(--azul-oscuro); border-radius: var(--r-btn); cursor: pointer; }
.nav-toggle .ico-cerrar { display: none; }
.nav-toggle[aria-expanded="true"] .ico-abrir { display: none; }
.nav-toggle[aria-expanded="true"] .ico-cerrar { display: inline-block; }
.nav-panel { position: absolute; left: 0; right: 0; top: 100%; z-index: 55; max-height: calc(100vh - 5rem); overflow-y: auto; padding: var(--s-3) var(--gutter) var(--s-5); background: #fff; border-top: 1px solid var(--linea); box-shadow: 0 12px 24px rgb(16 32 43 / .18); }
.js .nav-panel { display: none; }
.js .nav-panel.is-open { display: block; }
.nav-lista > li { border-bottom: 1px solid var(--linea); }
.nav-lista a, .nav-lista .sub-toggle { color: var(--ink); text-decoration: none; }
.nav-lista > li > a { display: flex; align-items: center; min-height: 48px; font-weight: 500; }
.nav-lista a[aria-current="page"] { color: var(--azul-oscuro); font-weight: 700; box-shadow: inset 3px 0 0 var(--dorado); padding-left: var(--s-3); }
.has-sub { display: flex; flex-wrap: wrap; align-items: center; }
.has-sub > a { flex: 1 1 auto; }
.sub-toggle { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; background: none; border: 0; cursor: pointer; border-left: 1px solid var(--linea); }
.sub-toggle .ico { transition: transform .2s; }
.sub-toggle[aria-expanded="true"] .ico { transform: rotate(180deg); }
.sub { flex: 1 0 100%; display: none; padding: 0 0 var(--s-2) var(--s-4); }
.js .sub.is-open { display: block; }
.no-js .sub, html:not(.js) .sub { display: block; }
.sub a { display: flex; align-items: center; gap: var(--s-2); min-height: 44px; font-size: var(--fs-1); }
.sub a:hover, .nav-lista > li > a:hover { color: var(--azul); }
.nav-cta { margin-top: var(--s-4); }
.nav-cta .btn { width: 100%; }

@media (min-width: 64em) {
  .nav-toggle { display: none; }
  .nav-panel, .js .nav-panel { position: static; display: flex; align-items: center; gap: var(--s-4); max-height: none; overflow: visible; padding: 0; border: 0; background: transparent; box-shadow: none; }
  .nav-lista { display: flex; align-items: center; gap: var(--s-1); }
  .nav-lista > li { border: 0; position: relative; }
  .nav-lista > li > a { padding: 0 var(--s-3); min-height: 48px; }
  .nav-lista a[aria-current="page"] { box-shadow: inset 0 -3px 0 var(--dorado); padding-left: var(--s-3); }
  .sub-toggle { width: 32px; height: 44px; margin-left: -.5rem; border: 0; }
  .nav-cta { margin: 0; }
  .nav-cta .btn { width: auto; }
  .sub, .js .sub, html:not(.js) .sub { display: block; position: absolute; top: 100%; left: 0; min-width: 18rem; padding: var(--s-2); background: #fff; border: 1px solid var(--linea); border-radius: var(--r-card); box-shadow: var(--sombra); visibility: hidden; opacity: 0; transition: opacity .15s .2s, visibility 0s .35s; z-index: 70; }
  .js .sub.is-open, .has-sub:hover > .sub, .has-sub:focus-within > .sub { visibility: visible; opacity: 1; transition-delay: 0s; }
  .sub a { padding: 0 var(--s-3); }
  .sub a:hover { background: var(--surface); }
}

/* Íconos externos y rótulos */
.externo { font-size: .85em; }

/* Marcadores de imagen (las imágenes definitivas no existen todavía) */
.ph { position: relative; display: block; overflow: hidden; background: linear-gradient(160deg, #dfe8ef, #b9c8d5); color: var(--azul-noche); }
.ph svg.ph-fondo { position: absolute; inset: 0; width: 100%; height: 100%; }
.ph-etiqueta { position: absolute; left: var(--s-3); bottom: var(--s-3); right: var(--s-3); z-index: 2; display: inline-block; width: fit-content; max-width: calc(100% - 1.5rem); padding: var(--s-1) var(--s-3); font-size: var(--fs-0); line-height: 1.35; color: var(--ink); background: rgb(255 255 255 / .94); border-radius: 3px; }

/* Formularios */
.campo { margin-bottom: var(--s-5); }
.campo label, .campo .etiqueta { display: block; margin-bottom: var(--s-2); font-weight: 500; color: var(--ink); }
.campo input[type=text], .campo input[type=email], .campo textarea { width: 100%; min-height: 48px; padding: .75rem var(--s-4); font: inherit; color: var(--ink); background: #fff; border: 1px solid var(--borde-campo); border-radius: var(--r-field); }
.campo textarea { min-height: 9rem; resize: vertical; }
.campo input:focus-visible, .campo textarea:focus-visible { outline: 3px solid var(--focus); outline-offset: 1px; border-color: var(--azul-oscuro); }
.campo.tiene-error input, .campo.tiene-error textarea { border-color: var(--error); border-width: 2px; }
.error-msg { display: none; margin: var(--s-2) 0 0; color: var(--error); font-size: var(--fs-0); font-weight: 500; }
.tiene-error .error-msg { display: block; }
.campo-check { display: flex; gap: var(--s-3); align-items: flex-start; }
.campo-check input { flex: none; width: 24px; height: 24px; margin: .2rem 0 0; accent-color: var(--azul-oscuro); }
.campo-check label { margin: 0; font-weight: 400; }
.form-resumen { display: none; margin-bottom: var(--s-5); padding: var(--s-4); border: 2px solid var(--error); border-radius: var(--r-card); background: #fff; color: var(--ink); }
.form-resumen.is-visible { display: block; }
.form-resumen h2 { font-size: var(--fs-2); color: var(--error); margin-bottom: var(--s-2); }
.form-resumen a { color: var(--error); font-weight: 500; }
.form-ok { display: none; padding: var(--s-4); border: 2px solid var(--ok); border-radius: var(--r-card); background: #fff; color: var(--ink); }
.form-ok.is-visible { display: block; }
.nota-maqueta { margin-top: var(--s-3); font-size: var(--fs-0); color: var(--ink-2); }

/* WhatsApp flotante (F11): solo ícono en celular, con rótulo desde tablet */
.wa { position: fixed; right: var(--s-4); bottom: calc(var(--s-4) + var(--banner-h)); z-index: 60; display: inline-flex; align-items: center; justify-content: center; gap: var(--s-2); width: 56px; height: 56px; padding: 0; color: #fff; background: var(--wa); border-radius: 999px; box-shadow: 0 4px 14px rgb(0 0 0 / .28); text-decoration: none; font-weight: 700; transition: bottom .2s, background-color .15s; }
.wa:hover { background: #09693a; color: #fff; }
.wa .ico { width: 28px; height: 28px; }
.wa-rotulo { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
@media (min-width: 48em) {
  .wa { width: auto; height: 56px; padding: 0 var(--s-5) 0 var(--s-4); }
  .wa-rotulo { position: static; width: auto; height: auto; overflow: visible; clip: auto; }
}

/* Aviso de cookies (F12): Aceptar y Rechazar con el mismo peso */
.cookies { position: fixed; left: 0; right: 0; bottom: 0; z-index: 80; background: var(--azul-noche); color: #fff; padding: var(--s-4) var(--gutter); box-shadow: 0 -4px 16px rgb(0 0 0 / .25); }
.cookies[hidden] { display: none; }
.cookies-cuerpo { width: min(100%, 75rem); margin-inline: auto; display: flex; flex-direction: column; gap: var(--s-3); }
.cookies p { margin: 0; font-size: var(--fs-0); }
.cookies a { color: var(--dorado-claro); }
.cookies-botones { display: flex; flex-wrap: wrap; gap: var(--s-3); }
.cookies .btn { flex: 1 1 8rem; min-height: 44px; padding: .5rem 1rem; background: #fff; color: var(--azul-oscuro); border-color: #fff; text-transform: none; letter-spacing: 0; }
.cookies .btn:hover { background: var(--gris-claro); color: var(--azul-noche); }
@media (min-width: 64em) {
  .cookies-cuerpo { flex-direction: row; align-items: center; justify-content: space-between; padding-right: 15rem; }
  .cookies .btn { flex: 0 0 auto; min-width: 7.5rem; }
}

/* Pie (mecánica común) */
.pie { padding-bottom: 5.5rem; }
.pie-rejilla { display: grid; gap: var(--s-6); }
.pie h2 { font-size: var(--fs-1); margin-bottom: var(--s-3); }
.pie li a { display: inline-flex; align-items: center; min-height: 32px; }
.pie address { font-style: normal; }
@media (min-width: 48em) { .pie-rejilla { grid-template-columns: 1fr 1fr; } }
@media (min-width: 64em) { .pie-rejilla { grid-template-columns: 1.3fr 1.2fr .8fr 1fr; } }
.pie-base { display: flex; flex-wrap: wrap; gap: var(--s-2) var(--s-5); justify-content: space-between; font-size: var(--fs-0); }
.logo-chip { display: inline-block; padding: var(--s-3) var(--s-4); background: #fff; border-radius: var(--r-card); line-height: 0; }
.logo-chip img { width: 9rem; height: auto; }
.libro-aviso { display: inline-flex; align-items: center; gap: var(--s-2); min-height: 44px; font-weight: 700; }

/* Migas y texto de página interna */
.migas { font-size: var(--fs-0); padding-block: var(--s-4); }
.migas ol { display: flex; flex-wrap: wrap; gap: var(--s-2); margin: 0; padding: 0; list-style: none; }
.migas li + li::before { content: "/"; margin-right: var(--s-2); opacity: .6; }
.lista-check li { position: relative; padding: var(--s-2) 0 var(--s-2) 1.75rem; }
.lista-check li::before { content: ""; position: absolute; left: 0; top: .95rem; width: .7rem; height: .7rem; background: var(--dorado); }
.etiqueta-prov { display: inline-block; padding: 2px var(--s-3); font-size: var(--fs-0); font-weight: 500; color: var(--dorado-osc); background: var(--surface-calida); border: 1px dashed var(--dorado-osc); border-radius: 3px; }

/* Detalle de servicio: dos columnas desde 1024 con lateral pegajoso (F17) */
.detalle { display: grid; gap: var(--s-7); }
.detalle-lateral { padding: var(--s-5); }
.detalle-lateral .btn { width: 100%; margin-bottom: var(--s-3); }
.detalle-lateral h2 { font-size: var(--fs-2); }
.detalle-lateral p { font-size: var(--fs-0); }
@media (min-width: 64em) {
  .detalle { grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); align-items: start; }
  .detalle-lateral { position: sticky; top: var(--s-5); }
}
.rejilla-dos { display: grid; gap: var(--s-5); }
@media (min-width: 48em) { .rejilla-dos { grid-template-columns: 1fr 1fr; } }

@media print { .wa, .cookies, .nav-toggle { display: none !important; } }

/* Piezas genéricas compartidas */
.btn-texto { min-height: 44px; padding: 0; font: inherit; color: inherit; text-decoration: underline; text-underline-offset: .18em; background: none; border: 0; cursor: pointer; }
.on-dark .btn-texto { color: var(--dorado-claro); }
.acciones { display: flex; flex-wrap: wrap; gap: var(--s-3); margin-top: var(--s-5); }
.lead { font-size: var(--fs-3); line-height: 1.4; }
.datos { display: grid; gap: var(--s-3); margin-top: var(--s-5); }
.dato { display: flex; align-items: center; gap: var(--s-3); min-height: 56px; padding: var(--s-3) var(--s-4); color: var(--ink); text-decoration: none; background: #fff; border: 1px solid var(--linea); border-radius: var(--r-card); }
.dato:hover { border-color: var(--azul); color: var(--ink); }
.dato .ico { width: 1.5rem; height: 1.5rem; color: var(--azul); }
.dato-t { display: block; font-size: var(--fs-0); color: var(--ink-2); }
.dato-v { display: block; font-weight: 500; overflow-wrap: anywhere; }
.intro { font-size: var(--fs-2); }
.detalle-cont h2 { margin-top: var(--s-7); }
.detalle-cont h2:first-child, .detalle-cont .intro + h2 { margin-top: var(--s-6); }
.incluye { display: grid; gap: var(--s-4); }
@media (min-width: 48em) { .incluye { grid-template-columns: 1fr 1fr; } }
.incl h3 { font-size: var(--fs-2); margin-bottom: var(--s-2); }
.incl p { margin: 0; }
.cierre-serv { margin-top: var(--s-7); display: flex; flex-wrap: wrap; gap: var(--s-3); align-items: center; }
.cierre-serv h2 { flex: 1 0 100%; margin: 0 0 var(--s-2); }
.aviso-academy { margin-top: var(--s-6); padding: var(--s-5); background: var(--surface); border-left: 4px solid var(--dorado); }
.aviso-academy h2 { margin-top: 0 !important; font-size: var(--fs-3); }
.sec-cab { margin-bottom: var(--s-6); max-width: 46rem; }
.sobre { margin: 0 0 var(--s-2); font-size: var(--fs-0); font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--dorado-osc); }
.on-dark .sobre { color: var(--dorado-claro); }
.card-enlace { color: inherit; text-decoration: none; }
.card-enlace::after { content: ""; position: absolute; inset: 0; }
.card-enlace:focus-visible { outline: none; }
.card-enlace:focus-visible::after { outline: 3px solid var(--focus); outline-offset: 2px; border-radius: inherit; }

.has-sub.cerrado > .sub { visibility: hidden !important; opacity: 0 !important; }
.migas a { display: inline-flex; align-items: center; min-height: 24px; }
.pie address a { display: inline-flex; align-items: center; min-height: 32px; }
.campo-check label a { display: inline-block; min-height: 24px; }
.on-dark a.btn-oro, .on-dark a.btn-oro:hover, .on-dark a.btn-wa { color: var(--ink); }
.on-dark a.btn-primario, .on-dark a.btn-primario:hover { color: #fff; }
.on-dark a.btn-borde { color: #fff; }
.on-dark a.btn-borde:hover { color: var(--azul-oscuro); }
.on-dark a.btn-wa { color: #fff; }
/* Propuesta C · Contemporánea, fotografía protagonista
   Concepto: imagen a todo ancho con título grande encima, cabecera flotante en píldora, tarjetas redondeadas con imagen, botones en píldora dorada. Solo pesos 400/500/700 de Roboto. */
:root { --r-btn: 999px; --r-card: 24px; --r-field: 14px; --sombra: 0 10px 30px rgb(16 32 43 / .14); --seccion: clamp(3.5rem, 2rem + 5vw, 7rem); }
body { background: #fff; }
h1, h2 { letter-spacing: -.015em; }
.btn { padding-inline: 1.75rem; }

/* Cabecera flotante sobre la imagen */
.cab-c { position: absolute; top: 0; left: 0; right: 0; z-index: 60; padding: var(--s-3) var(--s-3) 0; }
.cab-c .cab-fila { padding: var(--s-2) var(--s-3) var(--s-2) var(--s-4); background: #fff; border-radius: 999px; box-shadow: var(--sombra); width: 100%; max-width: 75rem; margin-inline: auto; }
.cab-c .nav-toggle { border-radius: 999px; }
.cab-c .nav-panel { left: var(--s-3); right: var(--s-3); top: calc(100% + 8px); border-radius: var(--r-card); border: 0; }
@media (min-width: 64em) {
  .cab-c { padding-top: var(--s-4); }
  .cab-c .nav-panel { left: auto; right: auto; top: auto; }
  .cab-c .nav-lista a[aria-current="page"] { box-shadow: inset 0 -3px 0 var(--dorado); }
  .cab-c .sub { top: calc(100% + 12px); border-radius: 18px; }
}

/* Héroe de imagen completa */
.hero-c { position: relative; min-height: min(92svh, 56rem); display: flex; align-items: flex-end; overflow: hidden; background: var(--azul-oscuro); }
.hero-c-img { position: absolute; inset: 0; margin: 0; border-radius: 0; }
.hero-c-img .ph-etiqueta { left: auto; right: var(--s-4); bottom: auto; top: 6rem; max-width: 16rem; display: none; }
.hero-c-vela { position: absolute; inset: 0; background: linear-gradient(180deg, rgb(0 38 63 / .15) 0%, rgb(0 38 63 / .55) 45%, rgb(0 38 63 / .92) 100%); }
.hero-c-txt { position: relative; padding-block: 9rem var(--s-8); }
.hero-c h1 { max-width: 16em; font-size: var(--fs-6); line-height: 1.08; }
.hero-c .lead { max-width: 30rem; color: #E8EEF3; }
@media (min-width: 64em) { .hero-c h1 { font-size: clamp(3rem, 2rem + 2.4vw, 4.25rem); } .hero-c-vela { background: linear-gradient(90deg, rgb(0 38 63 / .92) 0%, rgb(0 38 63 / .65) 45%, rgb(0 38 63 / .05) 100%); } .hero-c-img .ph-etiqueta { display: inline-block; top: auto; bottom: var(--s-5); } .hero-c-txt { padding-block: 10rem var(--s-9); } }
.hero-c-img .ph-etiqueta { z-index: 3; }

/* Presentación: imagen grande y tarjeta superpuesta */
.pres-c-grid { display: grid; }
.pres-c-img { aspect-ratio: 16 / 11; margin: 0; border-radius: var(--r-card); }
.pres-c-card { position: relative; margin: -3rem var(--s-3) 0; padding: var(--s-5); background: #fff; border-radius: var(--r-card); box-shadow: var(--sombra); }
.pres-c-card h2 { font-size: var(--fs-5); }
.pres-c-card p { font-size: var(--fs-2); color: var(--ink-2); }
@media (min-width: 64em) { .pres-c-grid { grid-template-columns: repeat(12, 1fr); align-items: center; } .pres-c-img { grid-column: 1 / 9; grid-row: 1; aspect-ratio: 16 / 10; } .pres-c-card { grid-column: 7 / 13; grid-row: 1; margin: 0; padding: var(--s-7); } }

/* Servicios con imagen */
.serv-c { background: var(--surface); }
.sec-cab { max-width: 46rem; margin-bottom: var(--s-6); }
.sec-cab h2 { font-size: var(--fs-5); }
.sec-intro { font-size: var(--fs-2); color: var(--ink-2); }
.rejilla-serv { display: grid; gap: var(--s-5); }
@media (min-width: 48em) { .rejilla-serv { grid-template-columns: 1fr 1fr; } }
/* Siete tarjetas: la última queda centrada, con el mismo ancho que las demás */
@media (min-width: 48em) and (max-width: 63.99em) {
  .rejilla-serv > .tj:last-child { grid-column: 1 / -1; width: calc(50% - var(--s-5) / 2); justify-self: center; }
}
@media (min-width: 64em) {
  .rejilla-serv { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .rejilla-serv > .tj { grid-column: span 2; }
  .rejilla-serv > .tj:nth-child(7) { grid-column: 3 / span 2; }
}
.tj { position: relative; display: flex; flex-direction: column; overflow: hidden; background: #fff; border-radius: var(--r-card); box-shadow: 0 2px 10px rgb(16 32 43 / .08); transition: transform .2s, box-shadow .2s; }
.tj:hover { transform: translateY(-4px); box-shadow: var(--sombra); }
.tj-img { position: relative; aspect-ratio: 4 / 3; margin: 0; overflow: hidden; }
.tj-img .ph-fondo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.tj-badge { position: absolute; left: var(--s-4); bottom: var(--s-4); display: grid; place-items: center; width: 48px; height: 48px; color: var(--ink); background: var(--dorado); border-radius: 50%; }
.tj-cuerpo { display: flex; flex-direction: column; flex: 1; padding: var(--s-5); }
.tj h3 { font-size: var(--fs-3); }
.tj p { flex: 1; color: var(--ink-2); }
.tj-ver { display: inline-flex; align-items: center; gap: var(--s-2); min-height: 44px; font-weight: 700; color: var(--azul); }
/* Banda de llamada a la acción: azul con curvas de nivel suaves, sin filetes */
.banda-c-caja { padding-block: var(--seccion) 0; }
.banda-c { position: relative; overflow: hidden; border-radius: 32px; min-height: 16rem; display: flex; align-items: center; background: var(--azul-oscuro) url("../img/marcadores/contornos-oscuro.svg") center / cover; }
.banda-c-txt { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: var(--s-5); padding: var(--s-7) var(--s-5); max-width: 44rem; }
.banda-t { margin: 0; font-size: var(--fs-5); font-weight: 700; line-height: 1.15; }
@media (min-width: 48em) { .banda-c-txt { padding: var(--s-8); } }
.banda-c a.btn-oro { background: var(--dorado-osc); color: #fff; }
.banda-c a.btn-oro:hover { background: #624611; color: #fff; }

/* Pilares */
.pilares { display: grid; gap: var(--s-5); }
@media (min-width: 64em) { .pilares { grid-template-columns: repeat(3, 1fr); } }
.pilar { padding: var(--s-6); background: var(--surface); border-radius: var(--r-card); }
.pilar-ico { display: grid; place-items: center; width: 56px; height: 56px; margin-bottom: var(--s-4); color: var(--ink); background: var(--dorado); border-radius: 50%; }
.pilar-ico .ico { width: 28px; height: 28px; }
.pilar h3 { font-size: var(--fs-3); }
.pilar p:last-child { color: var(--ink-2); margin: 0; }

/* Contacto en tarjeta dividida */
.cont-c-fondo { background: var(--surface-calida); }
.cont-c { display: grid; overflow: hidden; border-radius: 32px; background: #fff; box-shadow: var(--sombra); }
.cont-c-info { padding: var(--s-6) var(--s-5); background: var(--azul-oscuro) url("../img/marcadores/ph-gis.svg") center / cover; background-blend-mode: multiply; }
.cont-c-info h2 { font-size: var(--fs-5); }
.cont-c-info p { color: #E8EEF3; font-size: var(--fs-2); }
.lead-c { font-size: var(--fs-3); }
.cont-c .form-caja { padding: var(--s-6) var(--s-5); }
.dato { border-radius: 18px; }
.datos-osc .dato { background: rgb(255 255 255 / .1); border-color: rgb(255 255 255 / .35); color: #fff; }
.datos-osc .dato:hover { background: rgb(255 255 255 / .18); border-color: var(--dorado-claro); color: #fff; }
.datos-osc .dato .ico { color: var(--dorado-claro); }
.datos-osc .dato-t { color: var(--gris-claro); }
@media (min-width: 64em) { .cont-c { grid-template-columns: 5fr 6fr; } .cont-c-info, .cont-c .form-caja { padding: var(--s-8) var(--s-7); } }

/* Interiores */
.int-c { position: relative; min-height: 22rem; display: flex; align-items: flex-end; overflow: hidden; background: var(--azul-oscuro); }
.int-c-img { position: absolute; inset: 0; margin: 0; }
.int-c-img .ph-fondo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.int-c-img .ph-etiqueta { left: auto; right: var(--s-4); bottom: var(--s-4); }
.int-c-vela { position: absolute; inset: 0; background: linear-gradient(180deg, rgb(0 38 63 / .3), rgb(0 38 63 / .88)); }
.int-c-txt { position: relative; padding-block: 8rem var(--s-6); }
.int-c-txt .migas a { color: var(--dorado-claro); }
.int-c h1 { font-size: var(--fs-5); max-width: 22em; margin: 0; }
.int-c-simple { min-height: 15rem; background: var(--azul-oscuro) url("../img/marcadores/ph-gis.svg") center / cover; background-blend-mode: multiply; }
.seccion-s { padding-block: var(--s-7) var(--s-8); }
.detalle-cont h2 { font-size: var(--fs-4); }
.detalle-lateral { background: var(--surface); border-radius: var(--r-card); }
.incl { padding: var(--s-4) var(--s-5); background: var(--surface); border-radius: 18px; }
.aviso-academy { border-radius: 18px; border-left-width: 6px; }
.otros-c { background: var(--surface); padding-block: var(--s-7); }
.minis { display: grid; gap: var(--s-3); }
@media (min-width: 48em) { .minis { grid-template-columns: repeat(3, 1fr); } }
.mini { display: flex; align-items: center; gap: var(--s-3); min-height: 64px; padding: var(--s-3) var(--s-5); background: #fff; border-radius: 999px; color: var(--azul-oscuro); font-weight: 700; text-decoration: none; box-shadow: 0 2px 10px rgb(16 32 43 / .08); }
.mini span { flex: 1; }
.mini:hover { box-shadow: var(--sombra); }

/* Pie con esquinas superiores redondeadas */
.pie-c { margin-top: 0; padding-top: var(--s-8); background: var(--azul-noche) url("../img/marcadores/contornos-oscuro.svg") 50% 100% / cover; border-radius: 32px 32px 0 0; }
.pie-c h2 { color: var(--dorado-claro); font-size: var(--fs-0); letter-spacing: .1em; text-transform: uppercase; }
.pie-c a { color: #fff; }
.pie-c .pie-razon { margin: var(--s-4) 0 0; color: var(--gris-claro); }
.pie-c .pie-base { margin-top: var(--s-7); padding-block: var(--s-4); border-top: 1px solid rgb(255 255 255 / .2); color: var(--gris-claro); }
.pie-c .libro-aviso { color: var(--dorado-claro); }
.logo-chip { border-radius: 14px; }

/* v2: logo más grande (sin deformar ni recolorear, sobre blanco) */
.cab-c .logo img { width: clamp(9.5rem, 44vw, 13rem); height: auto; }
.cab-c .cab-fila { gap: var(--s-3); }
.logo-chip { max-width: 100%; }
.logo-chip img { width: 15rem; max-width: 100%; height: auto; }
@media (max-width: 22.5em) { .cab-c .cab-fila { padding-inline: var(--s-4) var(--s-2); } .cab-c .nav-toggle { padding-inline: var(--s-3); } }
@media (min-width: 64em) {
  .cab-c .logo img { width: 11.5rem; }
  .cab-c .nav-lista > li > a { white-space: nowrap; }
}
@media (min-width: 80em) { .cab-c .logo img { width: 14rem; } }

/* Submenú: capacitación como división de HMC */
.sub-academy small { display: block; font-size: var(--fs-0); color: var(--ink-2); }
.sub a.sub-academy { padding-block: var(--s-2); }

/* Geoinformación libre (marcadores por confirmar) */
.geo-h { margin-top: var(--s-7); font-size: var(--fs-4); }
.portales { display: grid; gap: var(--s-5); }
@media (min-width: 48em) { .portales { grid-template-columns: repeat(3, 1fr); } }
.portal { padding: var(--s-5); background: var(--surface); border-radius: var(--r-card); }
.portal h3 { margin-top: var(--s-4); font-size: var(--fs-3); }
.portal p { margin: 0; color: var(--ink-2); }
.geovisor { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: var(--s-4); min-height: 22rem; padding: var(--s-5); text-align: center; background: var(--surface); border: 2px dashed var(--borde-campo); border-radius: var(--r-card); }
.geovisor p { margin: 0; color: var(--ink-2); }

/* El marcador de imagen cubre todo el héroe (franja vacía a la derecha) */
.hero-c-img img.ph-fondo, .hero-c-img img { width: 100%; height: 100%; max-width: none; object-fit: cover; }

/* v3 (Jorge, 28-nov): logo todavía más grande y visible */
.cab-c .logo img { width: clamp(10.5rem, 52vw, 15rem); height: auto; max-width: 100%; }
@media (min-width: 64em) { .cab-c .logo img { width: 13.5rem; } }
@media (min-width: 80em) { .cab-c .logo img { width: 18rem; } }
.logo-chip img { width: 18rem; }
