/* ============================================================
   PORTADA [cuadros_inicio] — inicio-visitante
   Sacado de: cuadros_inicio.php
   (Fase 1 del plan de optimización, 20/11/2026)
   ============================================================ */

body:has(.cih) { overflow-x: clip; }

.cih {
    --navy: #0b2b6b; --navy2: #1a4b8c; --teal: #17a79e; --teal2: #3ba7ad; --tealclaro: #22bdb5;
    --mint: #dff2f0; --mint2: #eefaf8; --txt: #2b3444;
    --fh: inherit;
    --fb: inherit;
    width: 100vw; max-width: none !important;
    margin-left: calc(50% - 50vw) !important; margin-right: calc(50% - 50vw) !important;
    color: var(--txt); font-family: var(--fb); line-height: 1.5; background: #fff;
}
.cih *, .cih *::before, .cih *::after { box-sizing: border-box; }
.cih h1, .cih h2, .cih h3, .cih p, .cih ol { margin: 0; padding: 0; }
.cih ol { list-style: none; }
.cih a { text-decoration: none; }
.cih a:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; }
.cih-wrap { max-width: 1320px; margin: 0 auto; padding: 0 56px; }

/* Marcadores y utilidades de imagen */
.cih-ph { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; line-height: 1; }
.cih img { display: block; }

/* Etiqueta con raya */
.cih-eyebrow { display: flex; align-items: center; gap: 12px; font-size: 13px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--navy); }
.cih-eyebrow::before { content: ""; width: 30px; height: 4px; border-radius: 4px; background: var(--teal); }
.cih-eyebrow.cih-claro { color: #fff; }
.cih-eyebrow.cih-claro::before { background: #fff; }

/* Botones */
.cih-btn { display: inline-flex; align-items: center; gap: 8px; height: 62px; padding: 0 32px;
    border-radius: 999px; font-family: var(--fh); font-weight: 700; font-size: 18px; line-height: 1;
    transition: transform .18s ease, box-shadow .18s ease; }
.cih-btn:hover { transform: translateY(-2px); }
.cih-btn-teal { background: var(--teal); color: #fff; box-shadow: 0 8px 20px rgba(22,163,160,.32); }
.cih-btn-teal:hover { color: #fff; box-shadow: 0 12px 26px rgba(22,163,160,.4); }
.cih-btn-blanco { background: #fff; color: var(--navy); border: 2px solid var(--navy); box-shadow: 0 8px 20px rgba(8,42,99,.12); }
.cih-btn-blanco:hover { color: var(--navy); box-shadow: 0 12px 26px rgba(8,42,99,.18); }

/* ---------- HERO (medidas de la maqueta) ---------- */
.cih-hero { background: #F6FBFC; overflow: hidden; }
.cih-hero-in { display: grid; grid-template-columns: minmax(0, 1.22fr) minmax(0, 1fr);
    gap: 10px; align-items: center; padding-top: 46px; padding-bottom: 52px; }
.cih-pill { display: inline-block; padding: 9px 22px; border-radius: 999px; background: #DFF7F5;
    color: var(--navy); font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; }
.cih-hero h1 { font-family: var(--fh); font-weight: 700; font-size: clamp(34px, 4.5vw, 58px);
    line-height: 1.1; color: var(--navy); margin: 24px 0 22px; max-width: 12em; }
.cih-lead { font-size: 18px; color: #39434E; max-width: 30em; line-height: 1.55; }
.cih-acciones { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 34px; }
.cih-check { display: flex; align-items: center; gap: 12px; margin-top: 26px; font-size: 17px; font-weight: 700; color: var(--navy); }
.cih-tick { width: 26px; height: 26px; border-radius: 50%; background: #DFF7F5; color: var(--teal);
    display: inline-flex; align-items: center; justify-content: center; font-size: 14px; flex-shrink: 0; }

.cih-hero-vis { position: relative; width: 100%; max-width: 600px; aspect-ratio: 596 / 509; justify-self: end; }
.cih-foto { position: absolute; inset: 0; }
.cih-foto img { width: 100%; height: 100%; object-fit: contain; }
.cih-burbuja { position: absolute; border-radius: 50%; background: #DFF7F5; }
.cih-b1 { width: 72px; height: 72px; top: 1%; left: 11%; }
.cih-b2 { width: 42px; height: 42px; top: 15%; left: 12%; }
.cih-b3 { width: 58px; height: 58px; top: 34%; left: 3%; }
.cih-chip { position: absolute; display: flex; align-items: center; gap: 12px; background: #fff;
    border-radius: 16px; padding: 12px 18px 12px 12px; box-shadow: 0 14px 30px rgba(8,42,99,.16); color: var(--navy); }
.cih-chip-ico { width: 44px; height: 44px; border-radius: 50%; background: #DFF7F5; display: flex;
    align-items: center; justify-content: center; flex-shrink: 0; overflow: hidden; }
.cih-chip-ico img { width: 58%; height: 58%; object-fit: contain; }
.cih-chip strong { display: block; font-size: 15px; font-weight: 700; line-height: 1.2; }
.cih-chip small { display: block; font-size: 12px; line-height: 1.3; color: #5B6B7A; max-width: 120px; }
.cih-chip-1 { left: 69%; top: 63%; }
.cih-chip-2 { left: 23%; top: 82%; }

/* ---------- ELIGE TU CAMINO ---------- */
.cih-caminos { padding: 60px 0 54px; }
.cih-cab { display: flex; justify-content: space-between; align-items: flex-end; gap: 12px 32px; flex-wrap: wrap; margin-bottom: 28px; }
.cih-cab h2, .cih-aliados h2, .cih-pasos h2 { font-family: var(--fh); font-weight: 700; font-size: clamp(28px, 3.4vw, 40px); line-height: 1.15; color: var(--navy); margin-top: 14px; }
.cih-cab p { font-size: 18px; }
.cih-cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.cih-card { position: relative; display: flex; flex-direction: column; min-height: 214px; padding: 22px 22px 20px; border-radius: 26px; background: #fff; border: 1px solid #e3eef0; box-shadow: 0 10px 26px rgba(8,42,99,.1); color: var(--navy); transition: transform .18s ease, box-shadow .18s ease; }
.cih-card:hover { transform: translateY(-4px); box-shadow: 0 18px 36px rgba(8,42,99,.16); color: var(--navy); }
.cih-ico { width: 58px; height: 58px; border-radius: 50%; background: var(--mint); display: flex; align-items: center; justify-content: center; font-size: 26px; flex-shrink: 0; overflow: hidden; }
.cih-ico img { width: 58%; height: 58%; object-fit: contain; }
.cih-card h3 { font-family: var(--fh); font-size: 18px; font-weight: 700; margin: 18px 0 8px; }
.cih-card p { font-size: 13px; line-height: 1.45; color: #475569; max-width: 210px; padding-right: 30px; }
.cih-go { position: absolute; right: 18px; bottom: 16px; width: 38px; height: 38px; border-radius: 50%; background: var(--mint); color: var(--teal); display: flex; align-items: center; justify-content: center; font-size: 20px; font-weight: 700; }
.cih-card.cih-dest { background: var(--navy); border-color: var(--navy); color: #fff; }
.cih-card.cih-dest:hover { color: #fff; }
.cih-dest p { color: rgba(255,255,255,.88); }
.cih-dest .cih-ico { background: var(--teal); }
.cih-dest .cih-ico img { filter: brightness(0) invert(1); }
.cih-dest .cih-go { background: var(--teal); color: #fff; }

/* ---------- EMPRESAS ASOCIADAS ---------- */
.cih-aliados-w { padding-bottom: 44px; }
.cih-aliados { position: relative; background: var(--mint2); border-radius: 32px; padding: 34px 34px 58px; }
.cih-aliados-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 20px; flex-wrap: wrap; }
.cih-aliados h2 { margin: 12px 0 8px; }
.cih-aliados p { font-size: 16px; }
.cih-btn-suave { padding: 16px 34px; font-size: 19px; background: #fff; color: var(--navy); box-shadow: 0 8px 22px rgba(8,42,99,.12); }
.cih-btn-suave:hover { color: var(--navy); }
.cih-logos { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 14px; margin-top: 30px; }
.cih-logo { display: flex; align-items: center; justify-content: center; gap: 10px; height: 82px; padding: 10px 12px; background: #fff; border-radius: 14px; box-shadow: 0 6px 16px rgba(8,42,99,.1); font-size: 10.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: #8a97a8; }
.cih-logo .cih-ph { width: 38px; height: 38px; border-radius: 50%; background: #d3dae3; flex-shrink: 0; }
.cih-logo img { max-width: 100%; max-height: 56px; object-fit: contain; }
.cih-logo img + .cih-logo-txt { display: none; }
.cih-bajar { position: absolute; left: 50%; bottom: -28px; transform: translateX(-50%); width: 56px; height: 56px; border-radius: 50%; background: #fff; border: 2px solid var(--mint); box-shadow: 0 8px 18px rgba(8,42,99,.14); color: var(--teal); display: flex; align-items: center; justify-content: center; font-size: 26px; font-weight: 700; }

/* ---------- BANNER AZUL ---------- */
.cih-banner-w { padding-bottom: 46px; }
.cih-banner { background: var(--navy); border-radius: 36px; padding: 44px 40px; display: grid; grid-template-columns: 1fr 1.25fr; gap: 32px; align-items: center; color: #fff; }
.cih-banner h2 { font-family: var(--fh); font-weight: 700; font-size: clamp(28px, 3.2vw, 38px); line-height: 1.2; margin: 18px 0 14px; }
.cih-banner p { font-size: 16px; color: rgba(255,255,255,.9); max-width: 24em; }
.cih-banner .cih-btn { margin-top: 26px; padding: 16px 30px; font-size: 18px; }
.cih-tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.cih-tile { display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 4px; min-height: 180px; padding: 20px 10px; background: var(--navy2); border-radius: 20px; box-shadow: 0 12px 24px rgba(0,0,0,.25); }
.cih-tile-ico { width: 72px; height: 72px; font-size: 42px; margin-bottom: 10px; }
.cih-tile-ico img { width: 100%; height: 100%; object-fit: contain; }
.cih-tile strong { font-family: var(--fh); font-size: 17px; color: var(--tealclaro); }
.cih-tile span { font-size: 14px; }

/* ---------- EMPIEZA EN TRES PASOS ---------- */
.cih-pasos { padding: 18px 0 70px; }
.cih-pasos-in { display: grid; grid-template-columns: 1fr 1.2fr; gap: 32px; align-items: center; }
.cih-pasos p { font-size: 18px; margin-top: 22px; }
.cih-steps { display: flex; }
.cih-step { position: relative; flex: 1; text-align: center; }
.cih-step:not(:last-child)::after { content: ""; position: absolute; top: 38px; left: calc(50% + 51px); right: calc(-50% + 51px); height: 3px; border-radius: 3px; background: var(--teal2); }
.cih-num { width: 78px; height: 78px; margin: 0 auto 14px; border-radius: 50%; background: var(--mint); box-shadow: 0 8px 18px rgba(22,163,160,.25); display: flex; align-items: center; justify-content: center; font-family: var(--fh); font-weight: 700; font-size: 28px; color: var(--teal); }
.cih-step strong { font-family: var(--fh); font-size: 17px; color: var(--navy); }

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1180px) {
    .cih-hero-in { grid-template-columns: 1fr; gap: 34px; padding-top: 40px; padding-bottom: 46px; }
    .cih-hero-vis { justify-self: center; max-width: 560px; }
    .cih-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .cih-logos { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .cih-banner { grid-template-columns: 1fr; gap: 28px; padding: 38px 32px; }
    .cih-pasos-in { grid-template-columns: 1fr; gap: 26px; }
    .cih-steps { gap: 18px; }
    .cih-step:not(:last-child)::after { display: none; }
}
@media (max-width: 900px) {
    .cih-caminos { padding: 46px 0 40px; }
    .cih-cab { margin-bottom: 22px; }
    .cih-tiles { gap: 14px; }
    .cih-tile { min-height: 150px; padding: 16px 10px; }
    .cih-tile-ico { width: 58px; height: 58px; margin-bottom: 6px; }
}
@media (max-width: 640px) {
    .cih-wrap { padding: 0 20px; }
    .cih-hero-in { padding-top: 32px; padding-bottom: 36px; gap: 26px; }
    .cih-hero h1 { margin: 18px 0 16px; }
    .cih-lead { font-size: 16px; }
    .cih-acciones { margin-top: 26px; gap: 12px; }
    .cih-btn { height: 52px; padding: 0 24px; font-size: 16px; }
    .cih-check { font-size: 15px; margin-top: 20px; }
    .cih-hero-vis { max-width: 100%; }
    .cih-chip { padding: 9px 12px 9px 9px; gap: 8px; border-radius: 13px; }
    .cih-chip-ico { width: 34px; height: 34px; }
    .cih-chip strong { font-size: 12px; }
    .cih-chip small { font-size: 10px; max-width: 84px; }
    .cih-chip-1 { left: 52%; top: 58%; }
    .cih-chip-2 { left: 4%; top: 80%; }
    .cih-b1 { width: 52px; height: 52px; }
    .cih-b2 { width: 30px; height: 30px; }
    .cih-b3 { width: 44px; height: 44px; }
    .cih-cards { grid-template-columns: 1fr; }
    .cih-card { min-height: 0; padding: 20px; }
    .cih-card p { max-width: none; padding-right: 42px; }
    .cih-aliados { padding: 24px 18px 50px; border-radius: 24px; }
    .cih-logos { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
    .cih-logo { height: 72px; }
    .cih-btn-suave { width: 100%; justify-content: center; }
    .cih-banner { padding: 30px 20px; border-radius: 24px; }
    .cih-banner .cih-btn { width: 100%; justify-content: center; }
    .cih-tiles { grid-template-columns: 1fr; gap: 12px; }
    .cih-tile { flex-direction: row; justify-content: flex-start; text-align: left; gap: 14px; min-height: 0; padding: 14px 16px; }
    .cih-tile-ico { width: 50px; height: 50px; margin: 0; flex-shrink: 0; }
    .cih-pasos { padding: 8px 0 50px; }
    .cih-steps { flex-direction: column; gap: 22px; }
    .cih-step { display: flex; align-items: center; gap: 14px; text-align: left; }
    .cih-num { width: 58px; height: 58px; font-size: 22px; margin: 0; flex-shrink: 0; }
    .cih-step strong { font-size: 15px; }
}
