/* =========================================================
   KYC Passport — Hoja de estilos principal
   Misma base visual que KYC Digital (kycdigital.com.mx)
   ========================================================= */

:root {
    --blue: #1058f0;
    --blue-600: #0b49d1;
    --blue-700: #0a3ca8;
    --blue-50: #eef4ff;
    --blue-100: #dde8fe;
    --cyan: #19c6f5;
    --navy: #0a1a3f;
    --navy-900: #071330;
    --navy-800: #0d2257;
    --ink: #0f1b33;
    --text: #3b475e;
    --muted: #5d6a82;
    --line: #e2e8f2;
    --bg-soft: #f5f8fd;
    --white: #fff;
    --green: #22a35b;
    --yellow: #f3bf2a;
    --red: #e24a4f;
    --radius: 12px;
    --radius-lg: 18px;
    --shadow: 0 10px 30px rgba(16, 40, 90, .08);
    --shadow-lg: 0 24px 60px rgba(16, 40, 90, .14);
    --container: 1220px;
    --header-h: 84px;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }

body {
    margin: 0;
    font-family: 'Montserrat', system-ui, -apple-system, 'Segoe UI', sans-serif;
    font-size: 1.0625rem;
    line-height: 1.6;
    color: var(--text);
    background: var(--white);
    -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--blue-600); }
h1, h2, h3, h4, h5 { color: var(--ink); line-height: 1.2; margin: 0 0 .5em; font-weight: 700; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; list-style: none; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.section { padding: 72px 0; }
.section-sm { padding: 48px 0; }
.bg-soft { background: var(--bg-soft); }
.text-blue { color: var(--blue); }

/* ---------- Íconos ---------- */
.ico { width: 24px; height: 24px; flex-shrink: 0; }
.ico-xs { width: 14px; height: 14px; }
.ico-sm { width: 18px; height: 18px; }

/* ---------- Tipografía de sección ---------- */
.eyebrow {
    display: inline-block;
    font-size: .875rem;
    font-weight: 700;
    color: var(--blue);
    text-transform: uppercase;
    letter-spacing: .04em;
    margin-bottom: 14px;
}
.display { font-size: clamp(2.1rem, 3.8vw, 3rem); font-weight: 700; letter-spacing: -.02em; }
.h2 { font-size: clamp(1.5rem, 2.3vw, 1.9rem); }
.lead { font-size: 1.15rem; color: var(--text); max-width: 600px; }
.section-head { margin-bottom: 40px; }
.section-head.center { text-align: center; }
.section-head.center p { margin-left: auto; margin-right: auto; }
.section-head.center .h2 { max-width: 820px; margin-left: auto; margin-right: auto; }
.section-head p { color: var(--muted); max-width: 720px; margin-bottom: 0; }

.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: .9rem; text-transform: uppercase; letter-spacing: .02em; }
.link-arrow .ico { width: 18px; height: 18px; transition: transform .2s; }
.link-arrow:hover .ico { transform: translateX(3px); }

/* ---------- Botones ---------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    padding: 15px 28px;
    font: 700 .95rem/1.2 'Montserrat', sans-serif;
    text-transform: uppercase; letter-spacing: .02em;
    border-radius: 6px; border: 1.5px solid transparent;
    cursor: pointer; transition: background .2s, color .2s, border-color .2s, transform .2s, box-shadow .2s;
    text-align: center;
}
.btn:hover { transform: translateY(-1px); }
.btn-sm { padding: 11px 22px; font-size: .9rem; }
.btn-primary { background: var(--blue); color: #fff; box-shadow: 0 8px 20px rgba(16, 88, 240, .25); }
.btn-primary:hover { background: var(--blue-600); color: #fff; }
.btn-outline { background: #fff; color: var(--blue); border-color: var(--blue); }
.btn-outline:hover { background: var(--blue-50); color: var(--blue-600); }
.btn-outline-light { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .7); }
.btn-outline-light:hover { background: rgba(255, 255, 255, .08); color: #fff; border-color: #fff; }
.btn-group { display: flex; gap: 16px; flex-wrap: wrap; }

/* ---------- Header ---------- */
.site-header {
    position: sticky; top: 0; z-index: 100;
    background: #fff;
    border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); gap: 24px; }
.brand { flex-shrink: 0; }
.brand img { height: 54px; width: auto; }
.main-nav { display: flex; align-items: center; flex: 1; justify-content: space-between; gap: 20px; margin-left: 28px; }
.nav-links { display: flex; align-items: center; gap: 20px; margin: 0 auto; }
.nav-links > li > a {
    position: relative; display: inline-flex; align-items: center; gap: 6px;
    color: var(--ink); font-weight: 600; font-size: .92rem; padding: 30px 0; white-space: nowrap;
}
.nav-links > li > a::after {
    content: ""; position: absolute; left: 0; right: 0; bottom: 20px; height: 2px;
    background: var(--blue); transform: scaleX(0); transition: transform .2s;
}
.nav-links > li > a:hover, .nav-links > li > a.active { color: var(--blue); }
.nav-links > li > a:hover::after, .nav-links > li > a.active::after { transform: scaleX(1); }
.has-dropdown { position: relative; }
.dropdown {
    position: absolute; top: 100%; right: -16px; min-width: 260px;
    background: #fff; border: 1px solid var(--line); border-radius: 10px; box-shadow: var(--shadow-lg);
    padding: 8px; opacity: 0; visibility: hidden; transform: translateY(6px); transition: .2s;
}
.has-dropdown:hover .dropdown, .has-dropdown:focus-within .dropdown { opacity: 1; visibility: visible; transform: none; }
.dropdown a { display: block; padding: 10px 14px; border-radius: 6px; color: var(--ink); font-size: .95rem; line-height: 1.35; }
.dropdown a strong { display: block; font-weight: 700; }
.dropdown a small { display: block; color: var(--muted); font-size: .8rem; }
.dropdown a:hover, .dropdown a[aria-current] { background: var(--blue-50); color: var(--blue); }
.nav-actions { display: flex; align-items: center; gap: 20px; }
.link-login { color: var(--ink); font-weight: 600; font-size: .92rem; white-space: nowrap; }
.nav-actions .btn { white-space: nowrap; }
.nav-toggle { display: none; background: none; border: 0; color: var(--ink); cursor: pointer; padding: 8px; }
.nav-toggle .ico { width: 28px; height: 28px; }

/* ---------- Hero ---------- */
.hero {
    position: relative; overflow: hidden;
    padding: 72px 0 80px;
    background:
        radial-gradient(circle at 85% 45%, rgba(25, 198, 245, .14) 0%, transparent 40%),
        linear-gradient(180deg, #f7f9fe 0%, #eef3fc 100%);
}
.hero::before {
    content: ""; position: absolute; right: 0; top: 0; width: 220px; height: 260px;
    background-image: radial-gradient(circle, rgba(16, 88, 240, .18) 1.2px, transparent 1.4px);
    background-size: 16px 16px; opacity: .6; pointer-events: none;
}
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; position: relative; }
.hero h1 { margin-bottom: 22px; }
.hero .lead { margin-bottom: 32px; }
.hero-checks { display: flex; flex-wrap: wrap; gap: 14px 28px; margin-top: 34px; font-size: .95rem; color: var(--ink); font-weight: 500; }
.hero-checks li { display: flex; align-items: center; gap: 8px; }
.hero-checks .ico { color: var(--blue); width: 20px; height: 20px; }

/* ---------- Mockup de teléfono ---------- */
.phone-stage { position: relative; display: flex; justify-content: flex-end; padding: 10px 40px 10px 0; }
.phone {
    position: relative; width: 290px; padding: 12px; border-radius: 42px;
    background: linear-gradient(145deg, #1c2640, #0b1226);
    box-shadow: var(--shadow-lg), inset 0 0 0 2px #2d3858;
}
.phone-notch { position: absolute; top: 12px; left: 50%; transform: translateX(-50%); width: 96px; height: 22px; background: #0b1226; border-radius: 0 0 14px 14px; z-index: 2; }
.phone-screen { background: #fff; border-radius: 32px; padding: 40px 18px 22px; text-align: center; color: var(--ink); font-size: .78rem; }
.ph-head strong { display: block; font-size: 1.2rem; font-weight: 800; letter-spacing: -.02em; color: var(--navy); }
.ph-head strong span { color: var(--blue); }
.ph-head small { color: var(--muted); font-size: .72rem; }
.ph-avatar { position: relative; width: 74px; height: 74px; margin: 14px auto 10px; border-radius: 50%; background: var(--blue-50); color: var(--blue); display: grid; place-items: center; }
.ph-avatar > .ico { width: 40px; height: 40px; }
.ph-avatar i { position: absolute; right: -2px; bottom: 2px; width: 24px; height: 24px; border-radius: 50%; background: var(--green); color: #fff; display: grid; place-items: center; border: 2px solid #fff; }
.ph-avatar i .ico { width: 12px; height: 12px; stroke-width: 3; }
.ph-status { display: inline-flex; align-items: center; gap: 5px; }
.ph-list { margin: 14px 0 16px; text-align: left; }
.ph-list li { display: flex; align-items: center; gap: 10px; padding: 8px 0; border-bottom: 1px solid var(--line); }
.ph-list li:last-child { border-bottom: 0; }
.ph-list li > span:nth-child(2) { flex: 1; min-width: 0; }
.ph-list strong { display: block; font-size: .78rem; }
.ph-list small { display: block; color: var(--muted); font-size: .66rem; }
.ph-ico { width: 30px; height: 30px; border-radius: 8px; background: var(--blue-50); color: var(--blue); display: grid; place-items: center; flex-shrink: 0; }
.ph-ico .ico { width: 16px; height: 16px; }
.ph-list i { width: 18px; height: 18px; border-radius: 50%; background: var(--green); color: #fff; display: grid; place-items: center; flex-shrink: 0; }
.ph-list i .ico { width: 10px; height: 10px; stroke-width: 3.4; }
.ph-btn { display: flex; align-items: center; justify-content: center; gap: 6px; background: var(--blue); color: #fff; font-weight: 700; border-radius: 8px; padding: 10px; font-size: .78rem; }

.float-card { position: absolute; background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow-lg); font-size: .76rem; color: var(--ink); }
.fc-share { left: 0; bottom: 40px; padding: 14px 16px; width: 190px; }
.fc-share h5 { font-size: .74rem; margin-bottom: 8px; }
.fc-share li { display: flex; align-items: center; gap: 8px; padding: 3px 0; }
.cbx { width: 15px; height: 15px; border-radius: 4px; background: var(--blue); color: #fff; display: grid; place-items: center; }
.cbx .ico { width: 10px; height: 10px; stroke-width: 3.4; }
.fc-btn { display: block; margin-top: 10px; background: var(--blue); color: #fff; text-align: center; border-radius: 6px; padding: 7px; font-weight: 700; font-size: .7rem; }
.fc-qr { left: 10px; top: 90px; display: flex; align-items: center; gap: 10px; padding: 12px 16px; }
.fc-qr-ico { width: 40px; height: 40px; border-radius: 10px; background: var(--navy); color: #fff; display: grid; place-items: center; }
.fc-qr strong { display: block; font-size: .8rem; }
.fc-qr small { color: var(--green); font-weight: 600; }

.badge { display: inline-block; padding: 3px 10px; border-radius: 5px; font-weight: 700; font-size: .7rem; }
.badge-low { background: #dff3e7; color: #17834a; }

/* ---------- Tarjetas ---------- */
.card {
    background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
    padding: 30px 26px; transition: box-shadow .25s, transform .25s, border-color .25s;
}
.card:hover { box-shadow: var(--shadow); border-color: #d3ddef; }
.card h3 { font-size: 1.12rem; margin-bottom: 10px; overflow-wrap: break-word; hyphens: auto; }
.card p { font-size: .97rem; color: var(--muted); margin: 0; }
.card-center { text-align: center; }
.card-center .ico-box { margin: 0 auto 18px; }
.ico-box { color: var(--blue); display: inline-flex; margin-bottom: 16px; }
.ico-box .ico { width: 42px; height: 42px; stroke-width: 1.4; }
.feat .ico-box .ico { width: 36px; height: 36px; }

.icon-circle {
    position: relative;
    width: 68px; height: 68px; border-radius: 50%; background: #fff; color: var(--blue);
    display: grid; place-items: center; box-shadow: 0 8px 22px rgba(16, 88, 240, .14); border: 1px solid var(--blue-100);
    margin: 0 auto 16px;
}
.icon-circle .ico { width: 32px; height: 32px; }

.grid { display: grid; gap: 22px; }
.grid > * { min-width: 0; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

/* ---------- Sin / Con Passport ---------- */
.versus-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; max-width: 1020px; margin: 0 auto; }
.vs-card { border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; background: #fff; }
.vs-card.good { border: 2px solid var(--blue); box-shadow: var(--shadow); }
.vs-head { display: flex; gap: 14px; align-items: center; margin-bottom: 18px; }
.vs-head .mark { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; flex-shrink: 0; }
.vs-card.bad .mark { background: #fde8e8; color: var(--red); }
.vs-card.good .mark { background: var(--blue-50); color: var(--blue); }
.vs-head h3 { margin: 0; font-size: 1.1rem; }
.vs-card.good h3 { color: var(--blue); }
.vs-head p { margin: 0; font-size: .92rem; color: var(--muted); }

/* ---------- Listas con check ---------- */
.check-list li { display: flex; gap: 10px; align-items: flex-start; padding: 5px 0; font-size: .96rem; color: var(--ink); }
.check-list li .ico { width: 18px; height: 18px; margin-top: 3px; }
.check-list.blue .ico { color: #fff; background: var(--blue); border-radius: 50%; padding: 3px; stroke-width: 3.2; }
.check-list.red .ico { color: var(--red); stroke-width: 2.4; }
.check-list.sm li { font-size: .92rem; padding: 4px 0; }

/* ---------- Proceso (pasos con flecha) ---------- */
.panel { background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 44px 40px; }
.panel .section-head { margin-bottom: 0; }
.steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; margin-top: 40px; }
.steps > * { min-width: 0; }
.step { position: relative; text-align: center; }
.step:not(:last-child)::after {
    content: ""; position: absolute; top: 34px; right: -14px; width: 12px; height: 12px;
    border-top: 2px solid var(--blue); border-right: 2px solid var(--blue); transform: rotate(45deg);
}
.step-n { position: absolute; top: -4px; right: -4px; width: 24px; height: 24px; border-radius: 50%; background: var(--blue); color: #fff; font-size: .78rem; font-weight: 700; display: grid; place-items: center; }
.step h3 { font-size: 1.05rem; margin-bottom: 6px; }
.step p { font-size: .94rem; color: var(--muted); margin: 0; }

/* ---------- Para quién ---------- */
.audience { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; margin-bottom: 26px; }
.aud-card { display: flex; flex-direction: column; align-items: flex-start; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 36px; background: var(--bg-soft); }
.aud-card .icon-circle { margin: 0 0 18px; }
.aud-card h3 { font-size: 1.35rem; }
.aud-card > p { color: var(--muted); }
.aud-card .check-list { margin-bottom: 26px; flex: 1; }
.aud-card.dark {
    border: 0; color: rgba(255, 255, 255, .85);
    background:
        radial-gradient(circle at 1px 1px, rgba(255, 255, 255, .07) 1px, transparent 0) 0 0 / 18px 18px,
        linear-gradient(120deg, var(--navy-900), var(--navy) 55%, var(--navy-800));
}
.aud-card.dark h3, .aud-card.dark .check-list li { color: #fff; }
.aud-card.dark > p { color: rgba(255, 255, 255, .8); }
.aud-card.dark .icon-circle { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .15); color: #6aa3ff; box-shadow: none; }

.sector-tile {
    display: flex; align-items: center; gap: 16px;
    padding: 22px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff;
    color: var(--ink); font-weight: 700; font-size: 1rem; line-height: 1.3;
}
.sector-tile .ico { width: 36px; height: 36px; color: var(--blue); stroke-width: 1.4; }
.sector-tile small { display: block; font-weight: 500; font-size: .85rem; color: var(--muted); margin-top: 2px; }

/* ---------- Ecosistema (diagrama) ---------- */
.eco { max-width: 900px; margin: 0 auto; display: flex; flex-direction: column; align-items: center; }
.eco-node { display: flex; align-items: center; gap: 16px; border-radius: var(--radius); padding: 18px 28px; }
.eco-platform { background: var(--navy); color: rgba(255, 255, 255, .8); }
.eco-platform .ico { width: 34px; height: 34px; color: #6aa3ff; }
.eco-platform strong { display: block; color: #fff; font-size: 1.1rem; }
.eco-platform small { font-size: .85rem; }

.eco-link { position: relative; width: 2px; height: 48px; background: var(--blue); opacity: .55; }
.eco-link::before, .eco-link::after {
    content: ""; position: absolute; left: 50%; width: 9px; height: 9px;
    border-right: 2px solid var(--blue); border-bottom: 2px solid var(--blue);
}
.eco-link::after { bottom: 0; transform: translate(-50%, 0) rotate(45deg); }
.eco-link::before { top: 0; transform: translate(-50%, 0) rotate(225deg); }
.eco-link.two-way { height: 72px; opacity: 1; background: linear-gradient(var(--blue), var(--blue)) center / 2px 100% no-repeat; width: 100%; max-width: 640px; }
.eco-link.two-way::before, .eco-link.two-way::after { display: none; }
.eco-link.two-way span { position: absolute; top: 50%; transform: translateY(-50%); font-size: .82rem; color: var(--muted); font-weight: 600; max-width: 240px; line-height: 1.35; }
.eco-link.two-way span:first-child { right: calc(50% + 18px); text-align: right; }
.eco-link.two-way span:last-child { left: calc(50% + 18px); }

.eco-core-row { position: relative; display: flex; justify-content: center; width: 100%; }
.eco-core {
    width: 340px; max-width: 100%; text-align: center; color: rgba(255, 255, 255, .85);
    background: linear-gradient(135deg, var(--blue-700), var(--blue) 55%, #1a8ff5);
    border-radius: var(--radius-lg); padding: 28px 24px; box-shadow: 0 20px 50px rgba(16, 88, 240, .35);
}
.eco-core .ico { width: 54px; height: 54px; color: #fff; margin: 0 auto 10px; display: block; stroke-width: 1.3; }
.eco-core strong { display: block; color: #fff; font-size: 1.5rem; font-weight: 800; letter-spacing: -.01em; }
.eco-core small { display: block; font-size: .88rem; line-height: 1.4; }
.eco-user {
    position: absolute; right: 0; top: 50%; transform: translateY(-50%);
    width: 190px; text-align: center; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 14px;
}
.eco-user::before { content: ""; position: absolute; right: 100%; top: 50%; width: 90px; border-top: 2px dashed var(--blue); opacity: .6; }
.eco-user .ico { color: var(--blue); width: 30px; height: 30px; margin: 0 auto 6px; display: block; }
.eco-user strong { display: block; color: var(--ink); }
.eco-user small { font-size: .8rem; color: var(--muted); line-height: 1.35; display: block; }

.eco-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; width: 100%; }
.eco-engine { display: block; border-radius: var(--radius); padding: 24px; border: 1px solid; color: var(--ink); transition: box-shadow .25s, transform .25s; }
.eco-engine:hover { box-shadow: var(--shadow); transform: translateY(-2px); color: var(--ink); }
.eco-engine.ebr { background: #eaf8f1; border-color: #c4ead6; }
.eco-engine.kd { background: var(--blue-50); border-color: var(--blue-100); }
.eco-badge { float: left; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; color: #fff; margin: 0 14px 6px 0; }
.ebr .eco-badge { background: var(--green); }
.kd .eco-badge { background: var(--blue); }
.eco-engine strong { display: block; font-size: 1.2rem; }
.eco-engine em { display: block; font-style: normal; font-weight: 600; font-size: .92rem; margin-bottom: 8px; }
.eco-engine small { display: block; clear: both; color: var(--muted); font-size: .88rem; }

.eco-sources { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; width: 100%; }
.eco-sources > div { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; text-align: center; }
.eco-sources .ico { color: var(--blue); width: 28px; height: 28px; margin: 0 auto 8px; display: block; }
.eco-sources strong { display: block; color: var(--ink); font-size: .95rem; line-height: 1.3; }
.eco-sources small { color: var(--muted); font-size: .82rem; }

/* ---------- Productos ---------- */
.product { position: relative; display: flex; flex-direction: column; color: var(--text); }
.product:hover { color: var(--text); }
.product p { flex: 1; margin-bottom: 18px; }
.product.current { border: 2px solid var(--blue); box-shadow: var(--shadow); }
.product-tag { position: absolute; top: 18px; right: 18px; background: var(--blue); color: #fff; font-size: .72rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; padding: 4px 10px; border-radius: 4px; }

.note-bar { display: flex; align-items: center; gap: 22px; background: var(--blue-50); border: 1px solid var(--blue-100); border-radius: var(--radius); padding: 20px 28px; color: var(--navy-800); margin-top: 26px; }
.note-bar .ico { color: var(--blue); width: 38px; height: 38px; }
.note-bar p { margin: 0; flex: 1; }

/* ---------- Seguridad ---------- */
.security { display: grid; grid-template-columns: .9fr 1.1fr; gap: 48px; align-items: start; }
.security-intro p { color: var(--muted); }
.security-note { display: flex; gap: 10px; align-items: flex-start; font-size: .9rem; background: var(--bg-soft); border-left: 3px solid var(--yellow); padding: 14px 16px; border-radius: 0 8px 8px 0; }
.security-note .ico { color: #b58800; margin-top: 2px; }
.security-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.sec-item { display: flex; gap: 14px; align-items: flex-start; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.sec-item > .ico { color: var(--blue); width: 30px; height: 30px; stroke-width: 1.5; }
.sec-item h3 { font-size: 1rem; margin-bottom: 4px; }
.sec-item p { font-size: .9rem; color: var(--muted); margin: 0; }

/* ---------- FAQ ---------- */
.faq { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px 22px; align-items: start; }
.faq details { border: 1px solid var(--line); border-radius: 8px; background: #fff; }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 16px; font-weight: 600; color: var(--ink); font-size: .95rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .ico { color: var(--blue); width: 18px; height: 18px; transition: transform .2s; }
.faq details[open] summary .ico { transform: rotate(180deg); }
.faq details p { padding: 0 16px 16px; margin: 0; font-size: .92rem; color: var(--muted); }

/* ---------- Contacto ---------- */
.contact-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 36px; align-items: start; }
.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 40px; box-shadow: var(--shadow); }
.form-card h2 { font-size: 1.6rem; }
.form-card > p { color: var(--muted); }
.req { color: var(--red); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 20px; margin-top: 24px; }
.form-grid .full { grid-column: 1 / -1; }
.field label { display: block; font-weight: 600; color: var(--ink); font-size: .93rem; margin-bottom: 7px; }
.field label span { color: var(--red); }
.field input, .field select, .field textarea {
    width: 100%; font: inherit; font-size: 1rem; color: var(--ink);
    padding: 13px 14px; border: 1.5px solid var(--line); border-radius: 8px; background: #fff;
    transition: border-color .2s, box-shadow .2s;
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(16, 88, 240, .12); }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: .9rem; color: var(--text); }
.consent input { margin-top: 4px; width: 18px; height: 18px; accent-color: var(--blue); flex-shrink: 0; }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.alert { border-radius: 10px; padding: 16px 18px; margin-bottom: 22px; font-size: .95rem; display: flex; gap: 12px; align-items: flex-start; }
.alert .ico { flex-shrink: 0; }
.alert-ok { background: #e5f6ec; color: #13633a; border: 1px solid #bfe6cf; }
.alert-err { background: #fdecec; color: #9b2226; border: 1px solid #f6c9ca; }
.contact-aside .card { padding: 28px; margin-top: 20px; }
.aside-dark {
    border-radius: var(--radius-lg); padding: 32px 28px; color: rgba(255, 255, 255, .85);
    background:
        radial-gradient(circle at 1px 1px, rgba(255, 255, 255, .07) 1px, transparent 0) 0 0 / 18px 18px,
        linear-gradient(120deg, var(--navy-900), var(--navy) 55%, var(--navy-800));
}
.aside-dark img { height: 56px; width: auto; margin-bottom: 18px; }
.aside-dark p { font-size: 1.05rem; color: #fff; font-weight: 600; }
.aside-dark .check-list li { color: rgba(255, 255, 255, .9); }
.contact-line { display: flex; gap: 14px; align-items: center; color: var(--ink); font-weight: 600; word-break: break-word; }
.contact-line .icon-circle { margin: 0; width: 52px; height: 52px; flex-shrink: 0; }
.contact-line .icon-circle .ico { width: 24px; height: 24px; }
.contact-line small { display: block; color: var(--muted); font-weight: 500; font-size: .85rem; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: rgba(255, 255, 255, .78); padding: 56px 0 26px; font-size: .93rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(4, 1fr); gap: 28px; }
.footer-brand img { height: 56px; width: auto; margin-bottom: 18px; }
.footer-brand p { line-height: 1.6; }
.footer-col { border-left: 1px solid rgba(255, 255, 255, .1); padding-left: 24px; }
.footer-col h4 { color: #fff; font-size: .98rem; margin-bottom: 14px; }
.footer-col li { padding: 3px 0; }
.footer-col a { color: rgba(255, 255, 255, .78); }
.footer-col a:hover { color: #fff; }
.social { display: flex; gap: 12px; margin-top: 18px; }
.social a { width: 38px; height: 38px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .35); color: #fff; display: grid; place-items: center; transition: background .2s; }
.social a:hover { background: var(--blue); border-color: var(--blue); color: #fff; }
.social .ico { width: 18px; height: 18px; }
.footer-bottom { display: grid; grid-template-columns: 1fr 1.3fr; gap: 28px; align-items: center; border-top: 1px solid rgba(255, 255, 255, .12); margin-top: 40px; padding-top: 22px; font-size: .85rem; }
.footer-bottom p { margin: 0; }
.footer-legal { color: rgba(255, 255, 255, .65); }

/* ---------- Animación de entrada ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
    .reveal { opacity: 1; transform: none; transition: none; }
    html { scroll-behavior: auto; }
}

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1180px) {
    .nav-links { gap: 20px; }
    .main-nav { margin-left: 20px; }
    .nav-actions { gap: 16px; }
    .eco-user { position: static; transform: none; margin-left: 56px; align-self: center; }
    .eco-user::before { width: 56px; }
    .eco-core-row { align-items: center; }
}

/* Menú de hamburguesa (cuando el menú completo ya no cabe) */
@media (max-width: 1279px) {
    :root { --header-h: 72px; }
    .brand img { height: 46px; }
    .nav-toggle { display: block; }
    .main-nav {
        position: fixed; top: var(--header-h); left: 0; right: 0; bottom: 0; margin: 0;
        background: #fff; flex-direction: column; align-items: stretch; justify-content: flex-start;
        padding: 16px 24px 32px; overflow-y: auto;
        transform: translateX(100%); transition: transform .3s; visibility: hidden;
    }
    .main-nav.open { transform: none; visibility: visible; }
    .nav-links { flex-direction: column; align-items: stretch; gap: 0; margin: 0; }
    .nav-links > li > a { padding: 14px 0; border-bottom: 1px solid var(--line); width: 100%; font-size: 1.05rem; }
    .nav-links > li > a::after { display: none; }
    .dropdown { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 0 0 8px 12px; }
    .nav-actions { flex-direction: column; align-items: stretch; margin-top: 20px; }
    .link-login { padding: 10px 0; }
}

@media (max-width: 1024px) {
    .hero-grid { grid-template-columns: 1fr; gap: 48px; }
    .phone-stage { justify-content: center; padding-right: 0; max-width: 560px; margin: 0 auto; width: 100%; }
    .grid-4 { grid-template-columns: repeat(2, 1fr); }
    .steps { grid-template-columns: repeat(3, 1fr); row-gap: 32px; }
    .step:nth-child(3)::after { display: none; }
    .security, .contact-grid { grid-template-columns: 1fr; }
    .faq { grid-template-columns: 1fr 1fr; }
    .footer-grid { grid-template-columns: repeat(4, 1fr); }
    .footer-brand { grid-column: 1 / -1; }
    .footer-col:nth-child(2) { border-left: 0; padding-left: 0; }
    .footer-bottom { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
    body { font-size: 1rem; }
    .section { padding: 56px 0; }
    .hero { padding: 48px 0 56px; }
    .panel { padding: 32px 22px; }
    .grid-3, .versus-2, .audience, .security-grid, .eco-pair, .eco-sources { grid-template-columns: 1fr; }
    .steps { grid-template-columns: 1fr 1fr; }
    .step::after { display: none; }
    .aud-card { padding: 28px 22px; }
    .aud-card .btn { width: 100%; }
    .phone-stage { padding-bottom: 0; }
    .float-card { display: none; }
    .eco-core-row { flex-direction: column; }
    .eco-user { margin: 16px 0 0; }
    .eco-user::before { display: none; }
    .eco-link.two-way { height: auto; background-size: 2px 100%; display: grid; grid-template-columns: 1fr 1fr; gap: 28px; padding: 14px 0; }
    .eco-link.two-way span { position: static; transform: none; max-width: none; }
    .eco-link.two-way span:first-child { text-align: right; }
    .faq { grid-template-columns: 1fr; }
    .form-card { padding: 26px 20px; }
    .form-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .footer-col { border-left: 0 !important; padding-left: 0; }
    .note-bar { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 560px) {
    .container { padding: 0 16px; }
    .grid-4 { grid-template-columns: 1fr; }
    .steps { grid-template-columns: 1fr; }
}

/* ---------- Slider de capturas (igual a KYC Digital) ---------- */
.shot { background: #fff; border-radius: 14px; box-shadow: var(--shadow-lg); border: 1px solid var(--line); overflow: hidden; max-width: 100%; }
.shot__bar { display: flex; align-items: center; gap: 6px; height: 34px; padding: 0 14px; background: var(--bg-soft); border-bottom: 1px solid var(--line); }
.shot__bar i { width: 10px; height: 10px; border-radius: 50%; background: #d3dbe8; flex: none; }
.shot__bar span { margin-left: 10px; flex: 1; max-width: 280px; background: #fff; border: 1px solid var(--line); border-radius: 6px; padding: 3px 10px; font-size: 11px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.shot__view { position: relative; aspect-ratio: 1280 / 608; background: var(--bg-soft); }
.shot__slide { position: absolute; inset: 0; margin: 0; opacity: 0; transition: opacity .7s ease; }
.shot__slide.is-on { opacity: 1; }
.shot__slide img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: left top; }
.shot__foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 11px 16px; border-top: 1px solid var(--line); }
.shot__cap { font-size: 13px; font-weight: 700; color: var(--ink); }
.shot__dots { display: flex; gap: 6px; }
.shot__dots button { width: 8px; height: 8px; padding: 0; border: 0; border-radius: 99px; background: #c9d3e3; cursor: pointer; transition: width .3s, background .3s; }
.shot__dots button[aria-current] { width: 22px; background: var(--blue); }
@media (prefers-reduced-motion: reduce) { .shot__slide { transition: none; } }
