/* ==========================================================
   División Marlo · Propuesta web 2
   ========================================================== */

:root {
    --ink: #11151b;
    --ink-2: #1a2029;
    --ink-3: #262d38;
    --paper: #f7f3ec;
    --paper-2: #efe7da;
    --white: #ffffff;
    --line: #e4dccd;
    --line-dark: rgba(255, 255, 255, .12);
    --text: #1d222a;
    --muted: #5b6370;
    --muted-light: #b3bac4;
    --cream: #f8f4ec;
    --gold: #8a5e1e;
    --gold-2: #b8842f;
    --gold-3: #d6a654;
    --gold-soft: #f4e8d3;
    --ok: #2e7d5b;
    --warn: #b5532a;
    --danger: #b3261e;

    --radius: 20px;
    --radius-sm: 12px;
    --shadow: 0 1px 2px rgba(17, 21, 27, .06), 0 14px 34px -14px rgba(17, 21, 27, .22);
    --shadow-lg: 0 2px 4px rgba(0, 0, 0, .12), 0 40px 80px -30px rgba(0, 0, 0, .55);

    --font-display: "Fraunces", Georgia, "Times New Roman", serif;
    --font-body: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

    --header-h: 76px;
    --section-y: clamp(72px, 9vw, 124px);
}

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

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    font-family: var(--font-body);
    font-size: 17px;
    line-height: 1.6;
    color: var(--text);
    background: var(--white);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
[hidden] { display: none !important; }
address { font-style: normal; }

/* Iconos SVG del sprite */
.i { width: 1em; height: 1em; flex: none; display: inline-block; vertical-align: -.125em; fill: currentColor; }
a { color: var(--gold); text-underline-offset: 3px; }
a:hover { color: var(--ink); }
h1, h2, h3 { margin: 0; line-height: 1.12; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }

:focus-visible {
    outline: 3px solid var(--gold-3);
    outline-offset: 3px;
    border-radius: 6px;
}

section[id] { scroll-margin-top: calc(var(--header-h) + 8px); }

.container {
    width: 100%;
    max-width: 1200px;
    margin-inline: auto;
    padding-inline: 24px;
}

.sr-only {
    position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

.skip-link {
    position: absolute; left: 16px; top: -60px; z-index: 100;
    background: var(--gold-3); color: var(--ink); padding: 10px 16px;
    border-radius: 8px; font-weight: 700; text-decoration: none;
}
.skip-link:focus { top: 12px; }

/* ---------- Botones ---------- */
.btn {
    white-space: nowrap;
    display: inline-flex; align-items: center; justify-content: center; gap: .55em;
    padding: .85em 1.45em;
    border-radius: 999px;
    border: 1.5px solid transparent;
    font: inherit; font-weight: 700; font-size: 1rem; line-height: 1.2;
    text-decoration: none; cursor: pointer;
    transition: background-color .2s, color .2s, border-color .2s, transform .2s, box-shadow .2s;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: none; }
.btn-lg { padding: 1em 1.7em; font-size: 1.05rem; }
.btn-sm { padding: .6em 1.15em; font-size: .92rem; }
.btn-block { width: 100%; }

.btn-gold { background: var(--gold-3); color: var(--ink); box-shadow: 0 8px 24px -10px rgba(214, 166, 84, .7); }
.btn-gold:hover { background: #e3b768; color: var(--ink); }

.btn-dark { background: var(--ink); color: var(--white); }
.btn-dark:hover { background: var(--ink-3); color: var(--white); }

.btn-outline { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-outline:hover { background: var(--ink); color: var(--white); }

.btn-ghost-light { border-color: rgba(255, 255, 255, .28); color: var(--cream); background: rgba(255, 255, 255, .04); }
.btn-ghost-light:hover { border-color: var(--gold-3); color: var(--white); background: rgba(255, 255, 255, .08); }

.link-arrow {
    display: inline-flex; align-items: center; gap: .45em;
    font-weight: 700; color: var(--gold); text-decoration: none;
}
.link-arrow .i { transition: transform .2s; }
.link-arrow:hover { color: var(--ink); }
.link-arrow:hover .i { transform: translateX(4px); }

/* ---------- Etiquetas ---------- */
.eyebrow {
    display: inline-flex; align-items: center; gap: .6em;
    margin-bottom: 14px;
    font-size: .8rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase;
    color: var(--gold);
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: currentColor; border-radius: 2px; }
.eyebrow-light { color: var(--gold-3); }
.hero .eyebrow::before { display: none; }
.eyebrow .dot {
    width: 8px; height: 8px; border-radius: 50%; background: var(--gold-3);
    box-shadow: 0 0 0 5px rgba(214, 166, 84, .18);
}

.chip {
    display: inline-flex; align-items: center;
    padding: .28em .75em; border-radius: 999px;
    background: var(--gold-soft); color: var(--gold);
    font-size: .8rem; font-weight: 700; line-height: 1.3;
}
.chip-muted { background: var(--paper-2); color: var(--muted); }

.icon-tile {
    display: inline-grid; place-items: center;
    width: 54px; height: 54px; border-radius: 16px;
    background: var(--gold-soft); color: var(--gold);
    font-size: 1.5rem;
}
.icon-tile-lg { width: 68px; height: 68px; font-size: 1.9rem; border-radius: 20px; }

.checks li {
    position: relative; padding-left: 30px; margin-top: 10px;
    font-size: .97rem; color: var(--text);
}
.checks li::before {
    content: ""; position: absolute; left: 0; top: .2em;
    width: 20px; height: 20px; border-radius: 50%;
    background: var(--gold-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M6 10.4l2.6 2.6L14.2 7.4' fill='none' stroke='%238a5e1e' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 20px no-repeat;
}
.checks-light li { color: var(--cream); }
.checks-light li::before {
    background-color: rgba(214, 166, 84, .16);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M6 10.4l2.6 2.6L14.2 7.4' fill='none' stroke='%23d6a654' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

/* ---------- Encabezado ---------- */
.site-header {
    position: sticky; top: 0; z-index: 50;
    background: rgba(17, 21, 27, .94);
    backdrop-filter: saturate(140%) blur(10px);
    -webkit-backdrop-filter: saturate(140%) blur(10px);
    border-bottom: 1px solid transparent;
    transition: border-color .25s, box-shadow .25s;
}
.site-header.is-scrolled { border-bottom-color: var(--line-dark); box-shadow: 0 10px 30px -18px rgba(0, 0, 0, .7); }

.header-inner { display: flex; align-items: center; gap: 24px; height: var(--header-h); }

.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--cream); margin-right: auto; }
.brand img { width: 84px; height: auto; filter: invert(1) brightness(1.05); }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-text strong { font-family: var(--font-display); font-weight: 600; font-size: 1.15rem; letter-spacing: -.01em; white-space: nowrap; }
.brand-text small { display: none; font-size: .74rem; color: var(--muted-light); letter-spacing: .02em; white-space: nowrap; }

.nav { display: flex; align-items: center; gap: 20px; }
.nav ul { display: flex; gap: 4px; }
.nav ul a {
    display: inline-flex; align-items: center; gap: 7px;
    padding: 8px 10px; border-radius: 8px; white-space: nowrap;
    color: #d9dde3; font-size: .95rem; font-weight: 600; text-decoration: none;
    transition: color .2s, background-color .2s;
}
.nav ul a:hover { color: var(--white); background: rgba(255, 255, 255, .06); }
.nav-cta { display: flex; align-items: center; gap: 16px; }
.header-phone { color: var(--cream); font-weight: 700; font-size: .95rem; text-decoration: none; white-space: nowrap; }
.header-phone .i { color: var(--gold-3); margin-right: 4px; }
.header-phone:hover { color: var(--gold-3); }

.nav-toggle {
    display: none;
    width: 46px; height: 46px; border-radius: 12px;
    border: 1px solid var(--line-dark); background: transparent; cursor: pointer;
    position: relative;
}
.nav-toggle-bars, .nav-toggle-bars::before, .nav-toggle-bars::after {
    position: absolute; left: 50%; width: 20px; height: 2px; margin-left: -10px;
    background: var(--cream); border-radius: 2px; transition: transform .25s, opacity .25s;
}
.nav-toggle-bars { top: 50%; margin-top: -1px; }
.nav-toggle-bars::before, .nav-toggle-bars::after { content: ""; left: 0; margin-left: 0; }
.nav-toggle-bars::before { top: -6px; }
.nav-toggle-bars::after { top: 6px; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::after { transform: translateY(-6px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
    position: relative; overflow: hidden;
    background: var(--ink); color: var(--cream);
    padding: clamp(56px, 8vw, 104px) 0 0;
}
.hero-bg {
    position: absolute; inset: 0; pointer-events: none;
    background:
        radial-gradient(60% 70% at 85% 30%, rgba(214, 166, 84, .16), transparent 70%),
        radial-gradient(50% 60% at 0% 100%, rgba(184, 132, 47, .10), transparent 70%),
        linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px) 0 0 / 56px 56px,
        linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px) 0 0 / 56px 56px;
    -webkit-mask-image: linear-gradient(to bottom, #000 55%, transparent);
    mask-image: linear-gradient(to bottom, #000 55%, transparent);
}

.hero-grid {
    position: relative;
    display: grid; grid-template-columns: 1.08fr .92fr; gap: clamp(32px, 5vw, 72px);
    align-items: center;
}

.hero h1 {
    font-family: var(--font-display); font-weight: 600;
    font-size: clamp(2.5rem, 5.4vw, 4.5rem); line-height: 1.03; letter-spacing: -.025em;
    color: #fbf8f2;
    text-wrap: balance;
}
.hero h1 em { font-style: italic; color: var(--gold-3); }

.hero-lead { margin-top: 22px; max-width: 34em; font-size: clamp(1.05rem, 1.4vw, 1.2rem); color: #c9ced6; }

.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.hero-note { margin-top: 18px; font-size: .9rem; color: var(--muted-light); }
.hero-note .i { color: var(--gold-3); margin-right: 4px; }

/* Expediente ilustrado */
.hero-visual { position: relative; padding: 12px 36px 24px 0; }

.dossier {
    position: relative; z-index: 1;
    background: var(--white); color: var(--text);
    border-radius: 22px; box-shadow: var(--shadow-lg);
    padding: 22px 22px 18px;
    transform: rotate(-1.6deg);
}
.hero-visual::before {
    content: ""; position: absolute; top: 34px; left: 18px; right: 18px; bottom: 6px;
    border-radius: 22px; background: var(--ink-3); transform: rotate(3deg);
}
.dossier-head {
    display: flex; justify-content: space-between; align-items: flex-start; gap: 12px;
    padding-bottom: 14px; border-bottom: 1px dashed var(--line);
}
.dossier-kicker { display: block; font-size: .7rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); }
.dossier-head strong { font-family: var(--font-display); font-size: 1.15rem; font-weight: 600; }

.dossier-rows li {
    display: flex; justify-content: space-between; align-items: center; gap: 12px;
    padding: 11px 10px; margin: 0 -10px; border-radius: 10px;
    font-size: .9rem; border-bottom: 1px solid #f1ece3;
}
.dossier-rows li:last-child { border-bottom: 0; }
.dossier-rows span { color: var(--muted); }
.dossier-rows b { font-weight: 700; white-space: nowrap; display: inline-flex; align-items: center; gap: 6px; }
.dossier-rows .ok { color: var(--ok); }
.dossier-rows .warn { color: var(--warn); }
.dossier-rows .is-focus { background: #fbf1e8; }

.dossier-foot {
    display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 12px;
    margin-top: 12px; padding: 12px 14px; border-radius: 14px; background: var(--paper);
    font-size: .85rem;
}
.dossier-foot span { color: var(--muted); font-weight: 600; }
.dossier-foot strong { color: var(--ink); }
.meter { height: 8px; border-radius: 99px; background: var(--paper-2); overflow: hidden; }
.meter span { display: block; height: 100%; width: var(--v); border-radius: inherit; background: linear-gradient(90deg, var(--gold-2), var(--gold-3)); }

.lens {
    position: absolute; z-index: 2; right: -30px; top: 43%;
    width: 132px; height: 132px; border-radius: 50%;
    border: 9px solid #2a313c;
    box-shadow: inset 0 0 0 3px var(--gold-3), 0 18px 40px -12px rgba(0, 0, 0, .6);
    background: radial-gradient(circle at 35% 30%, rgba(255, 255, 255, .55), rgba(255, 255, 255, .08) 45%, rgba(214, 166, 84, .10));
    animation: lens-float 6s ease-in-out infinite;
}
.lens-handle {
    position: absolute; width: 16px; height: 74px; border-radius: 8px;
    background: linear-gradient(90deg, #2a313c, #3a4350);
    left: 100%; top: 100%; margin: -14px 0 0 -14px;
    transform: rotate(-45deg); transform-origin: top center;
}
@keyframes lens-float {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(-6px, -8px); }
}

/* Prueba social */
.proof {
    position: relative;
    display: grid; grid-template-columns: repeat(3, 1fr);
    margin-top: clamp(48px, 7vw, 88px);
    border-top: 1px solid var(--line-dark);
}
.proof li { display: flex; align-items: center; gap: 16px; padding: 28px 24px 32px 0; }
.proof li + li { padding-left: 24px; border-left: 1px solid var(--line-dark); }
.proof strong {
    font-family: var(--font-display); font-weight: 600; font-size: clamp(2rem, 3.4vw, 2.8rem);
    color: var(--gold-3); line-height: 1; white-space: nowrap;
}
.proof span { font-size: .92rem; color: #c3c9d1; line-height: 1.4; }

/* ---------- Franja de respaldo ---------- */
.legacy-strip { background: var(--gold-soft); color: #4a3512; }
.legacy-inner { display: flex; align-items: center; justify-content: center; gap: 16px; padding-block: 22px; text-align: center; }
.legacy-inner > .i { font-size: 1.6rem; color: var(--gold); }
.legacy-inner p { font-size: 1rem; max-width: 62em; }

/* ---------- Secciones ---------- */
.section { padding-block: var(--section-y); }
.section-paper { background: var(--paper); }
.section-ink { background: var(--ink); color: var(--cream); }

.section-head { max-width: 720px; margin-bottom: clamp(36px, 5vw, 56px); }
.section-head-center { margin-inline: auto; text-align: center; }
.section-head h2, .trust h2, .lead-aside h2, .story h2, .notfound h1 {
    font-family: var(--font-display); font-weight: 600;
    font-size: clamp(2rem, 3.8vw, 3.05rem); letter-spacing: -.02em;
    text-wrap: balance;
}
.section-lead { margin-top: 16px; font-size: 1.1rem; color: var(--muted); }

/* ---------- Servicios ---------- */
.services { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }

.service {
    display: flex; flex-direction: column;
    padding: clamp(26px, 3vw, 36px);
    background: var(--white);
    border: 1px solid var(--line); border-radius: var(--radius);
    transition: transform .25s, box-shadow .25s, border-color .25s;
}
.service:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: #d8c6a4; }
.service-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 22px; }
.service-for { font-size: .78rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); text-align: right; }
.service h3 { font-family: var(--font-display); font-weight: 600; font-size: 1.6rem; letter-spacing: -.01em; }
.service > p { margin-top: 10px; color: var(--muted); }
.service .checks { margin: 14px 0 26px; }
.service .link-arrow { margin-top: auto; }

.extras {
    display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 28px;
    margin-top: 28px; padding: 24px 28px;
    border: 1.5px dashed #d9ccb5; border-radius: var(--radius);
}
.extras-title { font-size: .8rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--gold); }
.extra { display: flex; gap: 14px; align-items: flex-start; }
.extra > .i { font-size: 1.4rem; color: var(--gold); margin-top: 2px; }
.extra h3 { font-size: 1rem; font-weight: 800; }
.extra p { font-size: .93rem; color: var(--muted); margin-top: 2px; }

/* ---------- Para quién ---------- */
.segments { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.segment {
    display: flex; flex-direction: column;
    padding: 28px; background: var(--white); border-radius: var(--radius);
    box-shadow: 0 1px 2px rgba(17, 21, 27, .05);
    border: 1px solid #ebe3d5;
}
.segment-icon { font-size: 1.7rem; color: var(--gold); }
.segment h3 { margin-top: 16px; font-size: 1.15rem; font-weight: 800; letter-spacing: -.005em; }
.segment p { margin-top: 8px; color: var(--muted); font-size: .97rem; }
.segment .segment-rec { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: auto; padding-top: 18px; }
.segment-rec > span:first-child { width: 100%; font-size: .74rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--text); }

/* ---------- Proceso ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; counter-reset: step; position: relative; }
.steps::before {
    content: ""; position: absolute; top: 28px; left: 12%; right: 12%; height: 2px;
    background: repeating-linear-gradient(90deg, #d9ccb5 0 8px, transparent 8px 16px);
}
.step { position: relative; text-align: center; padding: 0 6px; }
.step-num {
    position: relative; display: inline-grid; place-items: center;
    width: 58px; height: 58px; border-radius: 50%;
    background: var(--ink); color: var(--gold-3);
    font-family: var(--font-display); font-size: 1.5rem; font-weight: 600;
    box-shadow: 0 0 0 8px var(--white);
}
.step h3 { margin-top: 20px; font-size: 1.15rem; font-weight: 800; }
.step p { margin-top: 8px; font-size: .97rem; color: var(--muted); }
.center-cta { display: flex; justify-content: center; margin-top: 48px; }

/* ---------- Trayectoria ---------- */
.story { display: grid; grid-template-columns: .7fr 1.3fr 1fr; gap: clamp(28px, 4vw, 56px); align-items: start; }
.story-number { position: sticky; top: calc(var(--header-h) + 24px); line-height: .85; }
.story-number span {
    display: block;
    font-family: var(--font-display); font-weight: 700;
    font-size: clamp(6.5rem, 14vw, 12rem); letter-spacing: -.05em;
    background: linear-gradient(160deg, #f0cf8f 0%, var(--gold-3) 40%, var(--gold) 100%);
    -webkit-background-clip: text; background-clip: text; color: transparent;
}
.story-number small { display: block; margin-top: 10px; font-size: .9rem; font-weight: 800; letter-spacing: .3em; text-transform: uppercase; color: var(--muted-light); }
.story-copy > p { margin-top: 18px; color: #c9ced6; font-size: 1.05rem; }

.timeline { margin-top: 32px; border-left: 2px solid var(--ink-3); }
.timeline li { position: relative; padding: 0 0 26px 28px; }
.timeline li:last-child { padding-bottom: 0; }
.timeline li::before {
    content: ""; position: absolute; left: -8px; top: 5px;
    width: 14px; height: 14px; border-radius: 50%;
    background: var(--ink); border: 2px solid var(--gold-3);
}
.timeline li:last-child::before { background: var(--gold-3); }
.timeline strong { display: block; color: var(--white); font-size: 1.02rem; }
.timeline span { display: block; margin-top: 4px; color: #aeb5bf; font-size: .96rem; }

.team-card {
    padding: 30px; border-radius: var(--radius);
    background: linear-gradient(180deg, var(--ink-2), #161b22);
    border: 1px solid var(--line-dark);
}
.team-card h3 { display: flex; align-items: center; gap: 10px; font-family: var(--font-display); font-weight: 600; font-size: 1.4rem; color: var(--white); }
.team-card h3 .i { color: var(--gold-3); }
.team-card p { margin-top: 12px; color: #aeb5bf; font-size: .96rem; }
.team-card .checks { margin-top: 10px; }

/* ---------- Confidencialidad ---------- */
.trust { background: var(--paper-2); }
.trust-inner { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 28px; padding-block: 44px; }
.trust h2 { font-size: clamp(1.5rem, 2.4vw, 1.9rem); }
.trust p { margin-top: 6px; color: var(--muted); max-width: 52em; }

/* ---------- Preguntas ---------- */
.faq-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
.faq-grid .section-head { position: sticky; top: calc(var(--header-h) + 24px); margin-bottom: 0; }
.faq-grid .btn { margin-top: 26px; }

.faqs { border-top: 1px solid var(--line); }
.faq { border-bottom: 1px solid var(--line); }
.faq summary {
    display: flex; justify-content: space-between; align-items: center; gap: 20px;
    padding: 22px 0; cursor: pointer; list-style: none;
    font-size: 1.08rem; font-weight: 700;
}
.faq summary h3 { font: inherit; margin: 0; }
.faq summary::-webkit-details-marker { display: none; }
.faq-ico {
    flex: none; display: grid; place-items: center;
    width: 34px; height: 34px; border-radius: 50%;
    background: var(--paper); color: var(--gold);
    transition: transform .25s, background-color .25s;
}
.faq[open] .faq-ico { transform: rotate(45deg); background: var(--gold-soft); }
.faq summary:hover { color: var(--gold); }
.faq p { padding: 0 52px 24px 0; color: var(--muted); }

/* ---------- Solicitud ---------- */
.lead-grid { display: grid; grid-template-columns: .82fr 1.18fr; gap: 28px; align-items: stretch; }

.lead-aside {
    padding: clamp(28px, 4vw, 44px);
    border-radius: 24px; background: var(--ink); color: var(--cream);
    background-image: radial-gradient(70% 50% at 100% 0%, rgba(214, 166, 84, .18), transparent 70%);
}
.lead-aside h2 { color: var(--white); font-size: clamp(1.8rem, 3vw, 2.5rem); }
.lead-aside > p { margin-top: 14px; color: #c3c9d1; }

.contact-list { margin-top: 32px; display: grid; gap: 22px; }
.contact-item { display: flex; gap: 14px; align-items: flex-start; }
.contact-list .ci {
    flex: none; display: grid; place-items: center;
    width: 42px; height: 42px; border-radius: 12px;
    background: rgba(214, 166, 84, .14); color: var(--gold-3); font-size: 1.15rem;
}
.contact-item > div { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.contact-item > div > span { font-size: .75rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--muted-light); }
.contact-list a, .contact-list p { color: var(--white); font-weight: 600; text-decoration: none; overflow-wrap: anywhere; }
.contact-list a:hover { color: var(--gold-3); }

.lead-card {
    padding: clamp(24px, 4vw, 44px);
    background: var(--white); border-radius: 24px; box-shadow: var(--shadow);
    border: 1px solid #ebe3d5;
}
.lead-form { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 20px; align-content: start; }
.field { display: flex; flex-direction: column; gap: 7px; min-width: 0; border: 0; margin: 0; padding: 0; }
.field-full { grid-column: 1 / -1; }
.field label, .field legend { font-size: .92rem; font-weight: 700; color: var(--text); padding: 0; }
.req { color: var(--warn); }
.opt { font-weight: 500; color: var(--muted); }

.field input[type="text"], .field input[type="tel"], .field input[type="email"], .field select, .field textarea {
    width: 100%; min-height: 50px; padding: 12px 14px;
    font: inherit; font-size: 1rem; color: var(--text);
    background: #fdfbf8; border: 1.5px solid var(--line); border-radius: var(--radius-sm);
    transition: border-color .2s, box-shadow .2s, background-color .2s;
}
.field select {
    appearance: none; -webkit-appearance: none; padding-right: 42px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 6l4 4 4-4' fill='none' stroke='%235b6370' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat; background-position: right 14px center; background-size: 16px;
}
.field textarea { resize: vertical; min-height: 96px; }
.field input::placeholder, .field textarea::placeholder { color: #9aa1ab; }
.field input:focus, .field select:focus, .field textarea:focus {
    outline: none; border-color: var(--gold-2); background: var(--white);
    box-shadow: 0 0 0 4px rgba(214, 166, 84, .22);
}
.field [aria-invalid="true"] { border-color: var(--danger); background: #fff8f7; }
.field-error { font-size: .85rem; font-weight: 600; color: var(--danger); }
.field-error:empty { display: none; }

.pills { display: flex; flex-wrap: wrap; gap: 8px; }
.pill { position: relative; cursor: pointer; }
.pill input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.pill span {
    display: inline-block; padding: 10px 16px; border-radius: 999px;
    border: 1.5px solid var(--line); background: #fdfbf8;
    font-size: .93rem; font-weight: 600; transition: all .2s;
}
.pill:hover span { border-color: var(--gold-2); }
.pill input:checked + span { background: var(--ink); border-color: var(--ink); color: var(--white); }
.pill input:focus-visible + span { box-shadow: 0 0 0 4px rgba(214, 166, 84, .35); }

.check { display: flex; gap: 12px; align-items: flex-start; font-weight: 500 !important; cursor: pointer; }
.check input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--ink); flex: none; }

.form-actions { margin-top: 6px; }
.form-note { margin-top: 12px; text-align: center; font-size: .9rem; color: var(--muted); }

.form-alert {
    grid-column: 1 / -1;
    display: flex; gap: 12px; align-items: flex-start;
    padding: 14px 16px; border-radius: var(--radius-sm); font-size: .95rem;
}
.form-alert { background: #fdeeec; color: var(--danger); font-weight: 600; }
.form-alert > .i { font-size: 1.2rem; margin-top: 1px; }
.form-alert a { color: var(--danger); font-weight: 800; }

/* ---------- Iconos del menú ---------- */
.nav-list { display: flex; gap: 2px; }
.nav-list a { display: inline-flex; align-items: center; gap: 7px; }
.nav-ico { display: inline-grid; place-items: center; color: var(--gold-3); font-size: .95rem; transition: transform .2s; }
.nav-list a:hover .nav-ico { transform: translateY(-1px); }
.nav-chev, .nav-label, .nav-only-mobile { display: none; }

/* ---------- Botones extra ---------- */
.btn-whatsapp { background: #25d366; color: #fff; }
.btn-whatsapp:hover { background: #1fbe5a; color: #fff; }
.btn .i { font-size: 1.05em; }
.btn[aria-busy="true"] { opacity: .75; cursor: progress; transform: none; }
.btn[aria-busy="true"] .i { animation: send-pulse 1s ease-in-out infinite; }
@keyframes send-pulse { 50% { transform: translate(3px, -3px); opacity: .5; } }

.link-btn {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 0; border: 0; background: none; cursor: pointer;
    font: inherit; font-weight: 700; color: #1a8f4c; text-decoration: underline; text-underline-offset: 3px;
}
.link-btn:hover { color: var(--ink); }

/* Campo trampa para robots */
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- Solicitud enviada ---------- */
.form-success { text-align: center; padding: clamp(12px, 3vw, 28px) 0; outline: none; }
.success-ico {
    display: inline-grid; place-items: center; width: 76px; height: 76px; border-radius: 50%;
    background: #e8f3ee; color: var(--ok); font-size: 2.1rem;
    box-shadow: 0 0 0 10px rgba(46, 125, 91, .07);
}
.form-success h3 { margin-top: 22px; font-family: var(--font-display); font-weight: 600; font-size: clamp(1.5rem, 2.6vw, 2rem); letter-spacing: -.01em; }
.form-success p { margin: 12px auto 0; max-width: 30em; color: var(--muted); }
.success-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 26px; }

/* ---------- Mapa ---------- */
.map iframe { display: block; width: 100%; height: 380px; border: 0; filter: grayscale(.35) contrast(1.02); }

/* ---------- Pie ---------- */
.site-footer { background: var(--ink); color: #aeb5bf; padding-top: 64px; font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: 1.15fr 1.1fr .85fr 1.3fr; gap: 36px; padding-bottom: 48px; }
.footer-brand img { width: 110px; filter: invert(1); margin-bottom: 14px; }
.footer-brand p { line-height: 1.5; }
.footer-claim { margin: 12px 0 20px; color: var(--gold-3); font-weight: 600; display: flex; gap: 8px; align-items: flex-start; }
.footer-claim .i { margin-top: .25em; }
.footer-title { margin-bottom: 14px; font-size: .78rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--white); }
.footer-list li + li { margin-top: 10px; }
.footer-list a { display: inline-flex; align-items: flex-start; gap: 10px; }
.footer-list a .i { margin-top: .22em; color: var(--gold-3); opacity: .9; transition: transform .2s; }
.footer-list a:hover .i { transform: translateX(2px); }
.footer-list span { overflow-wrap: anywhere; }
.site-footer a { color: #d3d8de; text-decoration: none; }
.site-footer a:hover { color: var(--gold-3); }
.site-footer .btn-gold, .site-footer .btn-gold:hover { color: var(--ink); }
.footer-bottom {
    display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px;
    padding-block: 22px; border-top: 1px solid var(--line-dark); font-size: .86rem;
}

/* ---------- Contacto rápido ---------- */
.wa-float {
    position: fixed; right: 24px; bottom: 24px; z-index: 40;
    display: grid; place-items: center; width: 60px; height: 60px; border-radius: 50%;
    background: #25d366; color: var(--white); font-size: 1.75rem; text-decoration: none;
    box-shadow: 0 12px 30px -8px rgba(37, 211, 102, .6);
    transition: transform .2s;
}
.wa-float:hover { transform: scale(1.06); color: var(--white); }

.mobile-bar { display: none; }

/* ---------- Página legal ---------- */
.legal { background: var(--paper); }
.legal-inner { max-width: 820px; }
.breadcrumb { display: flex; align-items: center; gap: 8px; margin-bottom: 28px; font-size: .9rem; color: var(--muted); }
.breadcrumb a { color: var(--gold); font-weight: 700; text-decoration: none; }
.breadcrumb .i { font-size: .75rem; }
.legal h1 { font-family: var(--font-display); font-weight: 600; font-size: clamp(2.2rem, 4.5vw, 3.2rem); letter-spacing: -.02em; }
.legal-body {
    margin-top: 32px; padding: clamp(24px, 4vw, 48px);
    background: var(--white); border: 1px solid #ebe3d5; border-radius: var(--radius);
    font-size: 1rem; line-height: 1.75; color: #353b45;
}
.legal-body p + p, .legal-body ol + p { margin-top: 16px; }
.legal-body ol { margin: 12px 0 18px; padding-left: 1.4em; list-style: decimal; }
.legal-body li + li { margin-top: 4px; }
.legal-sign { margin-top: 32px; padding-top: 24px; border-top: 1px dashed var(--line); text-align: center; }
.legal-sign p + p { margin-top: 2px; }
.legal-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }

/* ---------- 404 ---------- */
.notfound { min-height: 55vh; display: flex; align-items: center; background: var(--paper); }
.notfound h1 { margin-top: 4px; }

/* ---------- Aparición al hacer scroll ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease, box-shadow .25s, border-color .25s; transition-delay: var(--d, 0ms); }
.js .reveal.is-visible { opacity: 1; transform: none; }
.js .service.reveal.is-visible:hover { transform: translateY(-4px); transition-delay: 0ms; }

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation: none !important; transition: none !important; }
    .js .reveal { opacity: 1; transform: none; }
}

/* ==========================================================
   Responsivo
   ========================================================== */
@media (max-width: 1400px) {
    .header-phone { display: none; }
}

@media (max-width: 1100px) {
    .nav ul a { padding: 8px 8px; font-size: .9rem; }
    .story { grid-template-columns: 1fr 1.4fr; }
    .team-card { grid-column: 2; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 960px) {
    :root { --header-h: 68px; }
    .nav-toggle { display: block; }
    .brand-text small { display: block; }
    .nav {
        position: absolute; left: 0; right: 0; top: 100%;
        flex-direction: column; align-items: stretch; gap: 16px;
        padding: 16px 24px 24px;
        background: var(--ink); border-bottom: 1px solid var(--line-dark);
        box-shadow: 0 30px 40px -20px rgba(0, 0, 0, .6);
        visibility: hidden; opacity: 0; transform: translateY(-8px);
        transition: opacity .2s, transform .2s, visibility 0s .2s;
    }
    .nav.is-open { visibility: visible; opacity: 1; transform: none; transition: opacity .2s, transform .2s; }
    .nav-label { display: block; font-size: .72rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--muted-light); }
    .nav-list { flex-direction: column; gap: 0; }
    .nav ul.nav-list a { display: flex; gap: 14px; padding: 10px 2px; font-size: 1.05rem; border-bottom: 1px solid var(--line-dark); border-radius: 0; }
    .nav ul.nav-list a:hover { background: transparent; }
    .nav-ico { width: 38px; height: 38px; border-radius: 11px; background: rgba(214, 166, 84, .13); font-size: 1.1rem; }
    .nav-text { flex: 1; }
    .nav-chev { display: inline-block; color: var(--muted-light); font-size: .9rem; }
    .nav-only-mobile { display: inline-flex; }
    .nav-cta { flex-direction: column; align-items: stretch; }
    .nav-cta .btn { padding: .9em 1.2em; font-size: 1rem; }
    .header-phone { display: block; padding: 6px 4px; }

    .hero-grid { grid-template-columns: 1fr; }
    .hero-visual { max-width: 520px; margin-inline: auto; width: 100%; }
    .proof { grid-template-columns: 1fr; }
    .proof li, .proof li + li { padding: 20px 0; border-left: 0; }
    .proof li + li { border-top: 1px solid var(--line-dark); }

    .services { grid-template-columns: 1fr; }
    .extras { grid-template-columns: 1fr; gap: 18px; }
    .segments { grid-template-columns: 1fr 1fr; }

    .steps { grid-template-columns: 1fr 1fr; row-gap: 40px; }
    .steps::before { display: none; }

    .story { grid-template-columns: 1fr; }
    .story-number { position: static; display: flex; align-items: baseline; gap: 14px; }
    .story-number small { margin-top: 0; }
    .team-card { grid-column: auto; }

    .trust-inner { grid-template-columns: auto 1fr; }
    .trust-inner .link-arrow { grid-column: 2; }

    .faq-grid { grid-template-columns: 1fr; }
    .faq-grid .section-head { position: static; }

    .lead-grid { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
    body { padding-bottom: 68px; }
    .wa-float { display: none; }
    .mobile-bar {
        position: fixed; left: 0; right: 0; bottom: 0; z-index: 45;
        display: grid; grid-template-columns: 1fr 1fr 1.2fr;
        background: var(--ink); border-top: 1px solid var(--line-dark);
        padding-bottom: env(safe-area-inset-bottom);
    }
    .mobile-bar a {
        display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
        min-height: 64px; color: var(--cream); text-decoration: none; font-size: .8rem; font-weight: 700;
    }
    .mobile-bar a .i { font-size: 1.25rem; color: var(--gold-3); }
    .mobile-bar a + a { border-left: 1px solid var(--line-dark); }
    .mobile-bar .is-primary { background: var(--gold-3); color: var(--ink); }
    .mobile-bar .is-primary .i { color: var(--ink); }
}

@media (max-width: 640px) {
    body { font-size: 16px; }
    .container { padding-inline: 16px; }
    .brand img { width: 64px; }
    .brand-text strong { font-size: 1.02rem; }
    .brand-text small { font-size: .68rem; }

    .hero-actions .btn { width: 100%; }
    .hero-visual { padding: 4px 18px 18px 0; }
    .dossier { padding: 18px 16px 14px; }
    .dossier-rows li { font-size: .8rem; padding: 9px 8px; margin: 0 -8px; }
    .dossier-foot { grid-template-columns: 1fr auto; }
    .dossier-foot .meter { grid-column: 1 / -1; grid-row: 2; }
    .lens { width: 92px; height: 92px; border-width: 7px; right: -10px; }
    .lens-handle { width: 12px; height: 50px; }

    .legacy-inner { flex-direction: column; gap: 8px; }
    .segments { grid-template-columns: 1fr; }
    .steps { grid-template-columns: 1fr; }
    .step { display: grid; grid-template-columns: auto 1fr; column-gap: 18px; text-align: left; }
    .step-num { grid-row: span 2; width: 50px; height: 50px; font-size: 1.3rem; box-shadow: none; }
    .step h3 { margin-top: 4px; }

    .trust-inner { grid-template-columns: 1fr; gap: 16px; }
    .trust-inner .link-arrow { grid-column: auto; }
    .faq p { padding-right: 0; }

    .lead-form { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    .map iframe { height: 300px; }
}
