/*
Theme Name: C-nect Land
Theme URI: https://cnectland.com
Author: Azterion
Description: Landing provisional de C-nect Land — tierra verificada para desarrollar. Theme ligero hecho a mano: sin builders, sin jQuery, un solo CSS.
Version: 1.0.0
Requires PHP: 8.0
Text Domain: cnect-land
*/

/* ───────────────────────────── Tokens ───────────────────────────── */

@font-face {
    font-family: 'Inter';
    src: url('assets/fonts/inter-latin-var.woff2') format('woff2');
    font-weight: 100 900;
    font-style: normal;
    font-display: swap;
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2212;
}

:root {
    --brand: #336699;
    --brand-dark: #2a547e;
    --brand-deep: #214264;
    --brand-soft: #e8eef5;
    --navy: #000066;
    --navy-ink: #000044;
    --ink: #0f1b2d;
    --ink-2: #4d5e75;
    --ink-3: #8896aa;
    --line: #e4e8f0;
    --bg: #ffffff;
    --bg-tint: #f5f7fb;
    --on-navy: #ffffff;
    --on-navy-2: #c3cdf0;
    --ok: #2e7d5b;
    --ok-soft: #e2f0ea;
    --bad: #ab192d;
    --bad-soft: #f7e3e6;
    --radius: 16px;
    --radius-sm: 10px;
    --shadow: 0 1px 2px rgb(15 27 45 / .04), 0 8px 24px -6px rgb(15 27 45 / .09);
    --shadow-lg: 0 2px 6px -2px rgb(15 27 45 / .06), 0 18px 40px -10px rgb(15 27 45 / .16);
    --container: 1120px;
}

/* ───────────────────────────── Base ───────────────────────────── */

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

html { scroll-behavior: smooth; }

body {
    font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
    font-size: 17px;
    line-height: 1.65;
    color: var(--ink);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

img, svg { display: block; max-width: 100%; }

a { color: var(--brand); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3 { line-height: 1.12; letter-spacing: -0.025em; text-wrap: balance; }

.container { max-width: var(--container); margin-inline: auto; padding-inline: 24px; }

.skip-link {
    position: absolute; left: -9999px; top: 0;
    background: var(--navy); color: #fff; padding: 10px 18px; z-index: 100;
}
.skip-link:focus { left: 12px; top: 12px; }

/* ─────────────────────────── Header ───────────────────────────── */

.site-header {
    position: sticky; top: 0; z-index: 50;
    background: rgb(255 255 255 / .92);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--line);
}

.header-inner {
    display: flex; align-items: center; justify-content: space-between;
    height: 68px; gap: 24px;
}

.brand { display: flex; align-items: center; gap: 10px; }
.brand:hover { text-decoration: none; }
.brand-pin { width: 30px; height: auto; }

.brand-word {
    font-size: 1.35rem; letter-spacing: -0.03em; color: #999999; font-weight: 400;
}
.brand-word strong { color: var(--brand); font-weight: 800; }

.site-nav { display: flex; align-items: center; gap: 28px; }
.site-nav a { color: var(--ink-2); font-weight: 600; font-size: .95rem; }
.site-nav a:hover { color: var(--brand); text-decoration: none; }

.nav-cta {
    background: var(--brand); color: #fff !important;
    padding: 9px 20px; border-radius: 999px;
    transition: background .15s ease, transform .15s ease;
}
.nav-cta:hover { background: var(--brand-dark); transform: translateY(-1px); }

.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span {
    display: block; width: 22px; height: 2px; background: var(--ink);
    margin: 5px 0; border-radius: 2px; transition: transform .2s ease, opacity .2s ease;
}
.nav-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ─────────────────────────── Hero ─────────────────────────────── */

.hero {
    padding: 88px 0 72px;
    background:
        radial-gradient(1100px 500px at 85% -10%, var(--brand-soft) 0%, transparent 60%),
        linear-gradient(180deg, #fbfcfe 0%, var(--bg) 100%);
}

.hero .eyebrow {
    display: inline-block;
    font-size: .8rem; font-weight: 600; letter-spacing: .09em; text-transform: uppercase;
    color: var(--brand);
    background: var(--brand-soft);
    border: 1px solid #d3e0ec;
    padding: 6px 14px; border-radius: 999px;
    margin-bottom: 22px;
}

.hero h1 {
    font-size: clamp(2.4rem, 5.4vw, 3.9rem);
    font-weight: 800;
    letter-spacing: -0.035em;
    color: var(--ink);
    margin-bottom: 20px;
}

.hero-sub {
    font-size: clamp(1.05rem, 1.6vw, 1.25rem);
    color: var(--ink-2);
    max-width: 640px;
    margin-bottom: 32px;
}

.hero--home { text-align: center; padding-bottom: 24px; }
.hero--home .hero-sub { margin-inline: auto; }

.hero--page { padding: 64px 0 8px; }
.hero--page h1 { font-size: clamp(1.9rem, 4vw, 2.6rem); font-weight: 800; }

.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 18px; }
.hero-note { font-size: .9rem; color: var(--ink-3); }

/* ─────────────────────────── Botones ──────────────────────────── */

.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    padding: 13px 28px; border-radius: 999px;
    font-family: inherit; font-size: 1rem; font-weight: 600;
    border: 0; cursor: pointer;
    transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(.98); }

.btn--primary {
    background: var(--brand); color: #fff;
    box-shadow: 0 4px 14px -4px rgb(51 102 153 / .5);
}
.btn--primary:hover { background: var(--brand-dark); box-shadow: 0 8px 22px -6px rgb(51 102 153 / .6); }

.btn--ghost {
    background: transparent; color: var(--ink);
    border: 1.5px solid var(--line);
}
.btn--ghost:hover { border-color: var(--brand); color: var(--brand); }

.btn--lg { padding: 15px 36px; font-size: 1.05rem; }

/* ─────────────────────────── Secciones ────────────────────────── */

.section { padding: 76px 0; }
.section--tight { padding: 44px 0; }
.section--tint { background: var(--bg-tint); }

.section-title {
    font-size: clamp(1.7rem, 3.4vw, 2.4rem);
    font-weight: 800;
    margin-bottom: 18px;
}
.section-title--sm { font-size: 1.15rem; color: var(--ink-2); font-weight: 600; letter-spacing: 0; text-align: center; }

.section > .container > .section-title { margin-bottom: 40px; }

.section-sub { color: var(--ink-2); max-width: 620px; }

/* ─────────────────────────── Cards / grids ────────────────────── */

.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }

.card {
    background: var(--bg);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 28px;
    box-shadow: var(--shadow);
}
.card h3 { font-size: 1.12rem; font-weight: 700; margin-bottom: 10px; }
.card p { color: var(--ink-2); font-size: .97rem; }

.card--flat { box-shadow: none; }

/* ─────────────────────────── Home: split ──────────────────────── */

.split { padding-top: 30px; }
.split-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }

.split-card {
    display: flex; flex-direction: column; align-items: flex-start;
    background: var(--bg);
    border: 1px solid var(--line);
    border-radius: 20px;
    padding: 40px 36px;
    box-shadow: var(--shadow);
    color: var(--ink);
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.split-card:hover {
    text-decoration: none;
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: #c9d8e6;
}

.split-card--alt { background: linear-gradient(160deg, #fbfcfe 0%, var(--brand-soft) 130%); }

.split-tag {
    font-size: .78rem; font-weight: 700; letter-spacing: .09em; text-transform: uppercase;
    color: var(--brand);
    margin-bottom: 16px;
}
.split-card h2 { font-size: 1.6rem; font-weight: 800; margin-bottom: 12px; }
.split-card p { color: var(--ink-2); margin-bottom: 24px; }

.split-cta {
    margin-top: auto;
    font-weight: 700; color: var(--brand);
    display: inline-flex; gap: 8px; align-items: center;
}
.split-card:hover .split-cta span { transform: translateX(4px); }
.split-cta span { transition: transform .18s ease; }

.plazas-strip {
    text-align: center; color: var(--ink-2); font-size: .95rem;
    border-top: 1px solid var(--line);
    padding-top: 34px;
}

/* ─────────────────────────── Sección navy (sello) ─────────────── */

.section--navy {
    background: linear-gradient(165deg, var(--navy) 0%, #101a56 55%, #18304a 100%);
    color: var(--on-navy);
}
.section--navy .section-title { color: #fff; }
.section--navy .section-sub { color: var(--on-navy-2); }

.sello-head {
    display: flex; gap: 26px; align-items: center;
    margin-bottom: 44px;
}
.sello-badge {
    flex: 0 0 auto;
    width: 92px; height: 92px;
    background: #fff;
    border-radius: 50%;
    display: grid; place-items: center;
    box-shadow: 0 0 0 6px rgb(255 255 255 / .12), 0 10px 30px -8px rgb(0 0 0 / .5);
}
.sello-pin { width: 44px; height: auto; }

.sello-grid { gap: 18px; }

.check {
    background: rgb(255 255 255 / .06);
    border: 1px solid rgb(255 255 255 / .14);
    border-radius: var(--radius);
    padding: 24px;
}
.check h3 {
    font-size: 1.05rem; font-weight: 700; color: #fff;
    margin-bottom: 8px;
    display: flex; align-items: center; gap: 10px;
}
.check h3::before {
    content: '';
    flex: 0 0 auto;
    width: 20px; height: 20px;
    border-radius: 50%;
    background: var(--ok);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 13l4 4L19 7'/%3E%3C/svg%3E");
    background-size: 12px; background-position: center; background-repeat: no-repeat;
}
.check p { color: var(--on-navy-2); font-size: .93rem; }

.sello-closer {
    margin-top: 36px;
    font-size: 1.1rem; font-weight: 600; color: #fff;
    max-width: 560px;
}

/* ─────────────────────────── Verticales ───────────────────────── */

.verticals {
    list-style: none;
    display: flex; flex-wrap: wrap; justify-content: center; gap: 12px;
    margin-top: 22px;
}
.verticals li {
    background: var(--bg);
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: 10px 22px;
    font-weight: 600; font-size: .95rem; color: var(--ink-2);
}

/* ─────────────────────────── Pasos ────────────────────────────── */

.steps {
    list-style: none;
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px;
    counter-reset: step;
}
.steps--4 { grid-template-columns: repeat(4, 1fr); }

.steps li {
    position: relative;
    background: var(--bg);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 30px 26px 26px;
}
.step-num {
    display: grid; place-items: center;
    width: 40px; height: 40px;
    background: var(--brand); color: #fff;
    font-weight: 800; font-size: 1.05rem;
    border-radius: 12px;
    margin-bottom: 16px;
    box-shadow: 0 4px 12px -3px rgb(51 102 153 / .45);
}
.steps h3 { font-size: 1.08rem; font-weight: 700; margin-bottom: 8px; }
.steps p { color: var(--ink-2); font-size: .95rem; }

/* ─────────────────────────── Dos columnas ─────────────────────── */

.two-col {
    display: grid; grid-template-columns: 1fr 1fr; gap: 56px;
}
.two-col .section-title { font-size: clamp(1.4rem, 2.4vw, 1.8rem); }
.two-col p { color: var(--ink-2); }

/* ─────────────────────────── Formulario ───────────────────────── */

.form-wrap { max-width: 760px; }
.form-intro { margin-bottom: 30px; }
.form-intro p { color: var(--ink-2); max-width: 580px; }

.lead-form {
    background: var(--bg);
    border: 1px solid var(--line);
    border-radius: 20px;
    padding: 36px;
    box-shadow: var(--shadow-lg);
}

.form-grid {
    display: grid; grid-template-columns: 1fr 1fr; gap: 18px 20px;
    margin-bottom: 18px;
}

.lead-form label {
    display: flex; flex-direction: column; gap: 6px;
    font-size: .88rem; font-weight: 600; color: var(--ink-2);
}

.lead-form input:not([type="checkbox"]),
.lead-form select,
.lead-form textarea {
    font-family: inherit; font-size: 1rem; color: var(--ink);
    background: #fff;
    border: 1.5px solid var(--line);
    border-radius: var(--radius-sm);
    padding: 11px 14px;
    transition: border-color .15s ease, box-shadow .15s ease;
    width: 100%;
}
.lead-form input:focus, .lead-form select:focus, .lead-form textarea:focus {
    outline: none;
    border-color: var(--brand);
    box-shadow: 0 0 0 3px rgb(51 102 153 / .15);
}
.lead-form textarea { resize: vertical; }

.form-full { margin-bottom: 18px; }

.form-check {
    flex-direction: row !important; align-items: center; gap: 10px !important;
    font-weight: 500 !important;
    margin-bottom: 24px;
}
.form-check input { width: 18px; height: 18px; accent-color: var(--brand); }

.hp { position: absolute; left: -9999px; opacity: 0; pointer-events: none; }

.form-notice {
    border-radius: var(--radius-sm);
    padding: 16px 20px;
    margin-bottom: 22px;
    font-size: .97rem;
}
.form-notice--ok { background: var(--ok-soft); color: #1d523c; border: 1px solid #bfdccf; }
.form-notice--error { background: var(--bad-soft); color: #7c1424; border: 1px solid #ecc4cb; }

/* ─────────────────────── Catálogo (vista previa) ──────────────── */

.catalog { background: var(--bg-tint); }

.catalog-head {
    display: flex; align-items: flex-start; justify-content: space-between; gap: 24px;
    margin-bottom: 22px;
}
.catalog-tag {
    flex: 0 0 auto;
    font-size: .78rem; font-weight: 600; color: var(--ink-3);
    background: var(--bg);
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: 7px 14px;
    white-space: nowrap;
}

.catalog-filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 26px; }
.catalog-chip {
    font-family: inherit; font-size: .92rem; font-weight: 600;
    color: var(--ink-2);
    background: var(--bg);
    border: 1.5px solid var(--line);
    border-radius: 999px;
    padding: 8px 20px;
    cursor: pointer;
    transition: all .15s ease;
}
.catalog-chip:hover { border-color: var(--brand); color: var(--brand); }
.catalog-chip.is-active { background: var(--brand); border-color: var(--brand); color: #fff; }

.catalog-grid {
    display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 24px;
    align-items: start;
}

.catalog-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }

/* Tarjeta de terreno — espejo de la land-card del sistema */
.lcard {
    background: var(--bg);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 12px;
    box-shadow: var(--shadow);
    display: flex; flex-direction: column;
    transition: transform .18s ease, box-shadow .18s ease;
}
.lcard:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.lcard.is-dimmed { opacity: .35; }
.lcard.is-hot { box-shadow: 0 0 0 2px var(--brand), var(--shadow-lg); }

.lcard-img {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    aspect-ratio: 8 / 5;
}
.lcard-img img {
    width: 100%; height: 100%; object-fit: cover;
    transition: transform .35s cubic-bezier(.4, 0, .2, 1);
}
.lcard:hover .lcard-img img { transform: scale(1.05); }

.lcard-status {
    position: absolute; top: 10px; left: 10px;
    display: inline-flex; align-items: center; gap: 6px;
    background: rgb(255 255 255 / .94);
    border-radius: 999px;
    padding: 4px 11px;
    font-size: .72rem; font-weight: 600; color: var(--ink);
}
.lcard-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--ok); }

.lcard-seal {
    position: absolute; bottom: 10px; right: 10px;
    display: inline-flex; align-items: center; gap: 5px;
    background: var(--navy); color: #fff;
    border-radius: 999px;
    padding: 4px 11px;
    font-size: .72rem; font-weight: 700;
    box-shadow: 0 3px 10px -2px rgb(0 0 40 / .5);
}
.lcard-seal svg { width: 12px; height: 12px; }

.lcard-body { padding: 12px 6px 4px; display: flex; flex-direction: column; flex: 1; }

.lcard-price { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 4px; }
.lcard-price strong { font-size: 1.3rem; font-weight: 800; color: var(--brand); letter-spacing: -.01em; }
.lcard-price span { font-size: .74rem; color: var(--ink-3); }

.lcard h3 { font-size: .98rem; font-weight: 700; margin-bottom: 3px; }
.lcard-loc {
    font-size: .8rem; color: var(--ink-2);
    display: flex; justify-content: space-between; gap: 10px;
    margin-bottom: 12px;
}
.lcard-loc span { font-size: .68rem; font-weight: 700; letter-spacing: .06em; color: #b0bbcc; }

.lcard-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 12px; }
.lcard-chips span {
    font-size: .72rem; font-weight: 600; color: var(--ink-2);
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: 3px 10px;
}

.lcard-doc { margin-bottom: 14px; }
.lcard-doc-head {
    display: flex; justify-content: space-between;
    font-size: .7rem; font-weight: 600; color: var(--ink-3);
    margin-bottom: 4px;
}
.lcard-bar { height: 5px; border-radius: 999px; background: var(--line); overflow: hidden; }
.lcard-bar div { height: 100%; border-radius: inherit; background: var(--ok); }

.btn--card { margin-top: auto; padding: 10px 18px; font-size: .9rem; width: 100%; }

/* Panel de mapa */
.catalog-map {
    position: sticky; top: 88px;
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
    min-height: 560px;
}
.map-bg { position: absolute; inset: 0; width: 100%; height: 100%; }

.map-pin {
    position: absolute; transform: translate(-50%, -50%);
    font-family: inherit; font-size: .8rem; font-weight: 700;
    background: var(--navy); color: #fff;
    border: 2px solid #fff;
    border-radius: 999px;
    padding: 6px 13px;
    cursor: pointer;
    box-shadow: 0 4px 12px -2px rgb(0 0 40 / .4);
    transition: transform .15s ease, background .15s ease;
}
.map-pin::after {
    content: '';
    position: absolute; left: 50%; bottom: -13px; transform: translateX(-50%);
    width: 9px; height: 9px; border-radius: 50%;
    background: var(--brand);
    border: 2px solid #fff;
}
.map-pin:hover, .map-pin.is-hot {
    background: var(--brand);
    transform: translate(-50%, -50%) scale(1.12);
    z-index: 3;
}

.map-card {
    position: absolute; left: 16px; right: 16px; bottom: 16px;
    display: flex; gap: 12px; align-items: center;
    background: rgb(255 255 255 / .96);
    backdrop-filter: blur(6px);
    border-radius: 14px;
    padding: 12px;
    box-shadow: var(--shadow-lg);
}
.map-card img { width: 84px; height: 62px; object-fit: cover; border-radius: 10px; flex: 0 0 auto; }
.map-card-seal { display: block; font-size: .7rem; font-weight: 700; color: var(--ok); margin-bottom: 2px; }
.map-card strong { font-size: 1.1rem; font-weight: 800; color: var(--ink); letter-spacing: -.01em; }
.map-card p { font-size: .78rem; color: var(--ink-2); margin-top: 2px; }

.catalog-note { margin-top: 26px; text-align: center; color: var(--ink-2); font-size: .97rem; }
.catalog-note a { font-weight: 700; }

/* ─────────────────── Evaluación interactiva (vendedores) ──────── */

.eval-grid {
    display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 56px;
    align-items: center;
}
.eval-copy p { color: var(--ink-2); margin-bottom: 16px; max-width: 480px; }
.eval-copy .btn { margin-top: 6px; margin-bottom: 10px; }

.eval-card {
    background: var(--bg);
    border: 1px solid var(--line);
    border-radius: 20px;
    padding: 26px;
    box-shadow: var(--shadow-lg);
}

.eval-head {
    display: flex; justify-content: space-between; align-items: center; gap: 14px;
    margin-bottom: 18px;
}
.eval-title {
    font-size: .8rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
    color: var(--ink-3);
}

.eval-prop {
    display: flex; gap: 12px; align-items: center;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--line);
    margin-bottom: 18px;
}
.eval-prop img { width: 72px; height: 54px; object-fit: cover; border-radius: 10px; flex: 0 0 auto; }
.eval-prop strong { font-size: 1rem; font-weight: 700; }
.eval-prop p { font-size: .82rem; color: var(--ink-2); margin-top: 2px; }

.eval-score {
    display: flex; align-items: center; gap: 18px;
    margin-bottom: 20px;
}
.eval-score.is-low { color: var(--bad); }
.eval-score.is-mid { color: #c8871e; }
.eval-score.is-high { color: var(--ok); }

.eval-gauge { position: relative; width: 108px; height: 108px; flex: 0 0 auto; }
.eval-gauge svg { width: 100%; height: 100%; }
.eval-arc { transition: stroke-dashoffset .45s cubic-bezier(.3, 0, .2, 1); }
.eval-num {
    position: absolute; inset: 0;
    display: grid; place-items: center;
    color: currentColor;
}
.eval-num svg { width: 34px; height: 34px; }
.eval-num.pop { animation: eval-pop .35s ease; }
@keyframes eval-pop {
    0% { transform: scale(1); }
    45% { transform: scale(1.18); }
    100% { transform: scale(1); }
}
@media (prefers-reduced-motion: reduce) {
    .eval-num.pop { animation: none; }
    .eval-arc { transition: none; }
}

.eval-label {
    display: inline-block;
    font-weight: 800; font-size: 1.05rem;
    color: currentColor;
}
.eval-hint { font-size: .82rem; color: var(--ink-3); margin-top: 2px; }

.eval-list { list-style: none; display: flex; flex-direction: column; gap: 8px; }

.eval-item {
    width: 100%;
    display: flex; align-items: center; gap: 12px;
    background: var(--bg-tint);
    border: 1.5px solid var(--line);
    border-radius: 12px;
    padding: 11px 14px;
    font-family: inherit; text-align: left;
    transition: border-color .15s ease, background .15s ease;
}
button.eval-item { cursor: pointer; }
button.eval-item:hover { border-color: var(--brand); background: var(--brand-soft); }

.eval-ico {
    flex: 0 0 auto;
    width: 22px; height: 22px; border-radius: 50%;
    background: #f8efdc;
    position: relative;
    transition: background .15s ease;
}
.eval-ico::after {
    content: '!';
    position: absolute; inset: 0;
    display: grid; place-items: center;
    font-size: .78rem; font-weight: 800; color: #c8871e;
}
.eval-item.is-done .eval-ico { background: var(--ok); }
.eval-item.is-done .eval-ico::after {
    content: '✓';
    color: #fff;
}

.eval-txt { flex: 1; display: flex; flex-direction: column; min-width: 0; }
.eval-txt strong { font-size: .9rem; font-weight: 700; color: var(--ink); }
.eval-txt em { font-style: normal; font-size: .78rem; color: var(--ink-2); }

.eval-pts {
    flex: 0 0 auto;
    font-size: .78rem; font-weight: 700; color: var(--brand);
    background: var(--brand-soft);
    border-radius: 999px;
    padding: 4px 11px;
}
.eval-pts--ok { background: var(--ok-soft); color: var(--ok); }
/* Al aplicar la recomendación, el chip "Mejora" se vuelve palomita */
button.eval-item.is-done .eval-pts {
    background: var(--ok-soft); color: var(--ok);
    font-size: 0;
}
button.eval-item.is-done .eval-pts::after {
    content: '✓';
    font-size: .82rem; font-weight: 800;
}

.eval-final {
    margin-top: 14px;
    background: var(--ok-soft);
    border: 1px solid #bfdccf;
    border-radius: 12px;
    padding: 13px 16px;
    font-size: .92rem; color: #1d523c;
}

.eval-note { margin-top: 14px; font-size: .76rem; color: var(--ink-3); }

/* ─────────────────────────── Modal ────────────────────────────── */

.modal {
    border: 0;
    border-radius: 20px;
    padding: 0;
    width: min(560px, calc(100vw - 32px));
    box-shadow: var(--shadow-lg);
}
.modal::backdrop {
    background: rgb(10 15 45 / .55);
    backdrop-filter: blur(3px);
}

.modal-inner { padding: 34px 34px 30px; position: relative; }

.modal-close {
    position: absolute; top: 14px; right: 16px;
    background: none; border: 0; cursor: pointer;
    font-size: 1.9rem; line-height: 1; color: var(--ink-3);
    padding: 6px;
    transition: color .15s ease;
}
.modal-close:hover { color: var(--ink); }

.modal h2 { font-size: 1.45rem; font-weight: 800; margin-bottom: 8px; }
.modal-sub { color: var(--ink-2); font-size: .95rem; margin-bottom: 20px; }

.lead-form--modal { border: 0; box-shadow: none; padding: 0; border-radius: 0; }

.form-grid--modal { grid-template-columns: 1fr 1fr; }

.perfil-pills {
    border: 0; display: flex; gap: 10px;
    margin-bottom: 18px;
}
.perfil-pills label { position: relative; cursor: pointer; flex-direction: row; }
.perfil-pills input {
    position: absolute; opacity: 0; width: 100%; height: 100%; inset: 0;
    cursor: pointer;
}
.perfil-pills span {
    display: inline-block;
    padding: 9px 20px;
    border-radius: 999px;
    border: 1.5px solid var(--line);
    font-weight: 600; font-size: .93rem; color: var(--ink-2);
    transition: all .15s ease;
}
.perfil-pills input:checked + span {
    background: var(--brand); border-color: var(--brand); color: #fff;
}
.perfil-pills input:focus-visible + span {
    box-shadow: 0 0 0 3px rgb(51 102 153 / .3);
}

.sr-only {
    position: absolute; width: 1px; height: 1px;
    clip-path: inset(50%); overflow: hidden; white-space: nowrap;
}

/* ─────────────────────────── FAQ ──────────────────────────────── */

.faq-wrap { max-width: 760px; }

.faq {
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    margin-bottom: 12px;
    background: var(--bg);
    overflow: hidden;
}
.faq summary {
    list-style: none;
    cursor: pointer;
    padding: 18px 22px;
    font-weight: 700; font-size: 1rem;
    display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
    content: '+';
    font-size: 1.4rem; font-weight: 400; color: var(--brand);
    transition: transform .18s ease;
    flex: 0 0 auto;
}
.faq[open] summary::after { transform: rotate(45deg); }
.faq p { padding: 0 22px 20px; color: var(--ink-2); font-size: .96rem; }

/* ─────────────────────────── Prose (páginas) ──────────────────── */

.prose { max-width: 720px; }
.prose h2 { font-size: 1.3rem; font-weight: 700; margin: 30px 0 10px; }
.prose p { margin-bottom: 14px; color: var(--ink-2); }
.prose p strong { color: var(--ink); }

/* ─────────────────────────── Footer ───────────────────────────── */

.site-footer {
    background: var(--navy-ink);
    color: #b8c0e8;
    margin-top: 40px;
}
.footer-inner {
    display: grid; grid-template-columns: 1.2fr 2fr; gap: 48px;
    padding: 56px 24px 40px;
}
.footer-brand { display: flex; gap: 14px; align-items: flex-start; }
.footer-pin { width: 34px; height: auto; }
.brand-word--footer { color: #8890c4; font-size: 1.25rem; }
.brand-word--footer strong { color: #fff; }
.footer-tag { font-size: .9rem; margin-top: 4px; color: #8890c4; }

.footer-cols {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}
.footer-cols h3 {
    font-size: .8rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
    color: #fff; margin-bottom: 12px;
}
.footer-cols a { display: block; color: #b8c0e8; font-size: .93rem; margin-bottom: 8px; }
.footer-cols a:hover { color: #fff; }
.footer-plazas { font-size: .93rem; line-height: 1.8; }

.footer-bottom {
    border-top: 1px solid rgb(255 255 255 / .1);
    padding-block: 20px;
    font-size: .85rem; color: #8890c4;
}

/* ─────────────────────────── WhatsApp float ───────────────────── */

.wa-float {
    position: fixed; right: 22px; bottom: 22px; z-index: 60;
    width: 56px; height: 56px;
    background: #25d366; color: #fff;
    border-radius: 50%;
    display: grid; place-items: center;
    box-shadow: 0 8px 24px -6px rgb(0 0 0 / .35);
    transition: transform .15s ease;
}
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 30px; height: 30px; }

/* ─────────────────────────── Reveal ───────────────────────────── */

/* Solo anima cuando hay JS (clase .js en <html>); sin JS todo es visible. */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .55s ease, transform .55s ease; }
.js .reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .reveal { opacity: 1; transform: none; transition: none; }
    .btn, .split-card, .nav-cta { transition: none; }
}

/* ─────────────────────────── Responsive ───────────────────────── */

@media (max-width: 960px) {
    .catalog-grid { grid-template-columns: 1fr; }
    .eval-grid { grid-template-columns: 1fr; gap: 36px; }
    .catalog-map { position: static; min-height: 380px; order: -1; }
    .grid-3, .steps { grid-template-columns: 1fr 1fr; }
    .grid-4, .steps--4 { grid-template-columns: 1fr 1fr; }
    .two-col { grid-template-columns: 1fr; gap: 40px; }
    .footer-inner { grid-template-columns: 1fr; gap: 36px; }
}

@media (max-width: 680px) {
    body { font-size: 16px; }
    .section { padding: 56px 0; }
    .hero { padding: 56px 0 48px; }

    .grid-3, .grid-4, .steps, .steps--4, .split-grid, .form-grid, .catalog-cards { grid-template-columns: 1fr; }
    .catalog-head { flex-direction: column; }
    .catalog-map { min-height: 300px; }
    .map-card img { width: 64px; height: 50px; }

    .site-nav {
        position: absolute; top: 68px; left: 0; right: 0;
        flex-direction: column; align-items: stretch; gap: 0;
        background: #fff;
        border-bottom: 1px solid var(--line);
        display: none;
        padding: 10px 24px 18px;
    }
    .site-nav.is-open { display: flex; }
    .site-nav a { padding: 12px 0; }
    .nav-cta { text-align: center; margin-top: 8px; }
    .nav-toggle { display: block; }

    .sello-head { flex-direction: column; align-items: flex-start; }
    .footer-cols { grid-template-columns: 1fr; }
    .wa-float { right: 16px; bottom: 16px; }
}
