/* =====================================================================
   OSCAR ULLOA MARKETING — SISTEMA DE DISEÑO 2027 (editorial de lujo)
   Paleta: marfil/neutros + azul noche · acento bronce/dorado editorial
   · coral reservado únicamente para acción (CTA)
   Tipografía: Fraunces (serif editorial, titulares) + Bricolage Grotesque
   (sans con carácter, UI y cuerpo)
   ===================================================================== */

:root {
    --navy: #0A1024;
    --navy-soft: #131b3a;
    --gold: #96702A;
    --gold-bright: #C9A15D;
    --gold-deep: #5C4419;
    --coral: #FF623D;
    --coral-dark: #e6502e;
    --ivory: #F7F4ED;
    --ivory-dim: #EFEAE0;
    --graphite: #202638;
    --success: #1E9B6C;
    --white: #FFFFFF;
    --border: rgba(32, 38, 56, 0.1);
    --border-soft: rgba(247, 244, 237, 0.14);

    --font-sans: 'Bricolage Grotesque', 'Segoe UI', Arial, sans-serif;
    --font-serif: 'Fraunces', 'Georgia', serif;

    --radius-sm: 16px;
    --radius-lg: 24px;
    --shadow-soft: 0 20px 45px -25px rgba(10, 16, 36, 0.35);
    --shadow-deep: 0 30px 60px -20px rgba(10, 16, 36, 0.45);

    --container-w: 1240px;
}

/* ===== RESET ===== */
* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: auto; }

body {
    font-family: var(--font-sans);
    color: var(--graphite);
    background-color: var(--ivory);
    line-height: 1.65;
    font-size: 18px;
    -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }

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

a { color: inherit; }

/* ===== TIPOGRAFÍA ===== */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.15;
    color: var(--navy);
    letter-spacing: -0.01em;
}

h1, h2 {
    font-family: var(--font-serif);
    font-weight: 600;
    font-optical-sizing: auto;
    letter-spacing: -0.02em;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-serif);
    font-style: italic;
    font-weight: 500;
    font-size: 1.2rem;
    color: var(--gold);
    margin-bottom: 14px;
}

.section-tag {
    display: inline-block;
    background: rgba(150, 112, 42, 0.08);
    color: var(--gold);
    font-weight: 700;
    font-size: 0.8rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 6px 16px;
    border-radius: 30px;
    margin-bottom: 18px;
}

.section-title {
    font-size: clamp(1.9rem, 2.6vw, 2.6rem);
    color: var(--navy);
    margin-bottom: 16px;
    max-width: 780px;
}

.section-subtitle {
    font-size: 1.1rem;
    color: rgba(32, 38, 56, 0.72);
    max-width: 680px;
    margin-bottom: 50px;
}

.section-head { margin-bottom: 50px; }
.section-head.center { text-align: center; margin-left: auto; margin-right: auto; }
.section-head.center .section-subtitle { margin-left: auto; margin-right: auto; }

.text-coral { color: var(--coral); }
.text-gold { color: var(--gold); }

/* ===== BOTONES ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 15px 30px;
    border-radius: 100px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1rem;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
    cursor: pointer;
    border: none;
    line-height: 1;
    white-space: nowrap;
}

.btn-primary {
    background-color: var(--coral);
    color: var(--white);
    box-shadow: 0 12px 24px -10px rgba(255, 98, 61, 0.55);
}
.btn-primary:hover { background-color: var(--coral-dark); transform: translateY(-2px); }

.btn-dark {
    background-color: var(--navy);
    color: var(--white);
}
.btn-dark:hover { background-color: var(--navy-soft); transform: translateY(-2px); }

.btn-outline {
    border: 1.5px solid var(--navy);
    background-color: transparent;
    color: var(--navy);
}
.btn-outline:hover { background-color: var(--navy); color: var(--white); }

.btn-outline-light {
    border: 1.5px solid rgba(247, 244, 237, 0.5);
    background-color: transparent;
    color: var(--ivory);
}
.btn-outline-light:hover { background-color: var(--ivory); color: var(--navy); }

.btn-success { background-color: #25D366; color: white; }
.btn-success:hover { background-color: #20b859; transform: translateY(-2px); }

.btn-block { width: 100%; }
.btn-lg { padding: 17px 36px; font-size: 1.05rem; }

/* ===== BARRA SUPERIOR ===== */
.topbar {
    background: var(--navy);
    color: var(--ivory);
    text-align: center;
    font-size: 0.85rem;
    font-weight: 600;
    padding: 9px 16px;
    letter-spacing: 0.01em;
}
.topbar i { color: var(--coral); margin-right: 6px; }

/* ===== HEADER ===== */
.site-header {
    background-color: var(--ivory);
    padding: 14px 0;
    position: sticky;
    top: 0;
    z-index: 200;
    border-bottom: 1px solid var(--border);
}
.nav-container { display: flex; justify-content: space-between; align-items: center; gap: 20px; }
.logo-img { height: 56px; width: auto; display: block; }
.nav-menu { display: flex; list-style: none; gap: 30px; }
.nav-menu a {
    text-decoration: none;
    color: var(--graphite);
    font-weight: 600;
    font-size: 0.96rem;
    transition: color 0.2s;
    padding: 6px 2px;
    border-bottom: 2px solid transparent;
}
.nav-menu a:hover, .nav-menu a.active { color: var(--gold); border-bottom-color: var(--gold); }
.nav-actions { display: flex; align-items: center; gap: 16px; }
.nav-toggle {
    display: none;
    background: none;
    border: 1.5px solid var(--navy);
    border-radius: 10px;
    width: 44px;
    height: 44px;
    font-size: 1.2rem;
    color: var(--navy);
    cursor: pointer;
    align-items: center;
    justify-content: center;
}

/* ===== LANDING DE VENTA (paid) ===== */
.site-header.landing-header .nav-menu { display: none; }
.landing-phone {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--navy);
    font-weight: 700;
    font-size: 1.05rem;
}
.landing-phone i {
    background: var(--coral);
    color: var(--white);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.05rem;
}
.landing-phone span { display: flex; flex-direction: column; line-height: 1.2; }
.landing-phone small { font-weight: 600; font-size: 0.72rem; color: rgba(32,38,56,0.55); text-transform: uppercase; letter-spacing: 0.04em; }

.landing-hero { padding: 50px 0 60px; }
.landing-hero-grid { display: grid; grid-template-columns: 1fr 0.9fr; gap: 50px; align-items: center; }
.landing-hero .frame { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-deep); }
.landing-hero .frame img, .landing-hero .frame svg { width: 100%; height: 100%; display: block; }

.urgency-band {
    background: var(--navy);
    color: var(--ivory);
    padding: 26px 0;
    text-align: center;
}
.urgency-band p { font-size: 1.05rem; font-weight: 600; margin: 0; }
.urgency-band strong { color: var(--gold-bright); }

.audience-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.audience-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 26px 22px;
    text-align: center;
}
.audience-card i {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(150, 112, 42, 0.1);
    color: var(--gold);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    margin: 0 auto 16px;
}
.audience-card h4 { font-size: 1rem; margin-bottom: 6px; }
.audience-card p { font-size: 0.88rem; color: rgba(32,38,56,0.65); }

.sticky-call-bar {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 999;
    background: var(--white);
    border-top: 1px solid var(--border);
    box-shadow: 0 -8px 24px rgba(10,16,36,0.12);
    padding: 10px 14px;
    gap: 10px;
}
.sticky-call-bar a {
    flex: 1;
    text-align: center;
    padding: 13px 10px;
    border-radius: 100px;
    font-weight: 700;
    font-size: 0.92rem;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}
.sticky-call-bar .call-btn { background: var(--coral); color: var(--white); }
.sticky-call-bar .wa-btn { background: #25D366; color: var(--white); }

@media (max-width: 992px) {
    .landing-hero-grid { grid-template-columns: 1fr; }
    .audience-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
    .sticky-call-bar { display: flex; }
    body { padding-bottom: 74px; }
    .audience-grid { grid-template-columns: 1fr; }
}

/* ===== BREADCRUMBS ===== */
.breadcrumbs {
    padding: 18px 0;
    background: var(--ivory);
    border-bottom: 1px solid var(--border);
}
.breadcrumbs ol {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    font-size: 0.85rem;
    color: rgba(32, 38, 56, 0.55);
}
.breadcrumbs a { color: rgba(32, 38, 56, 0.55); text-decoration: none; }
.breadcrumbs a:hover { color: var(--gold); }
.breadcrumbs li:not(:last-child)::after { content: '/'; margin-left: 8px; color: rgba(32, 38, 56, 0.3); }
.breadcrumbs li[aria-current] { color: var(--navy); font-weight: 600; }

/* ===== PÁGINA INTERNA: HERO SIMPLE ===== */
.page-hero {
    padding: 56px 0 70px;
    background: linear-gradient(180deg, var(--ivory) 0%, #f1ede3 100%);
}
.page-hero .eyebrow { margin-bottom: 10px; }
.page-hero h1 {
    font-size: clamp(2.1rem, 3.4vw, 3rem);
    max-width: 780px;
    margin-bottom: 20px;
}
.page-hero p {
    font-size: 1.15rem;
    color: rgba(32, 38, 56, 0.75);
    max-width: 680px;
    margin-bottom: 28px;
}
.page-hero.with-image .container { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 50px; align-items: center; }
.page-hero.with-image h1, .page-hero.with-image p { max-width: 100%; }
.page-hero-image .frame {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-deep);
    aspect-ratio: 7 / 4;
}
.page-hero-image .frame img { width: 100%; height: 100%; object-fit: cover; display: block; }
@media (max-width: 992px) {
    .page-hero.with-image .container { grid-template-columns: 1fr; }
    .page-hero-image { order: -1; }
}

/* ===== CONTENIDO DE ARTÍCULO / SERVICIO ===== */
.content-block { padding: 80px 0; }
.content-block.alt { background: var(--ivory-dim); }
.content-block .lede {
    font-size: 1.2rem;
    color: rgba(32, 38, 56, 0.78);
    max-width: 820px;
    margin-bottom: 20px;
}
.two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}
.check-list { list-style: none; display: flex; flex-direction: column; gap: 16px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; font-size: 1.02rem; color: var(--graphite); }
.check-list i { color: var(--success); margin-top: 5px; flex-shrink: 0; }
.cross-list { list-style: none; display: flex; flex-direction: column; gap: 16px; }
.cross-list li { display: flex; gap: 12px; align-items: flex-start; font-size: 1.02rem; color: rgba(32, 38, 56, 0.7); }
.cross-list i { color: var(--coral); margin-top: 5px; flex-shrink: 0; }

.info-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 34px;
}
.info-card.dark {
    background: var(--navy);
    color: var(--ivory);
    border: none;
}
.info-card.dark h3 { color: var(--white); }
.info-card.dark p { color: rgba(247, 244, 237, 0.78); }

.step-list { counter-reset: step; display: flex; flex-direction: column; gap: 26px; }
.step-list li {
    counter-increment: step;
    display: grid;
    grid-template-columns: 44px 1fr;
    gap: 18px;
}
.step-list li::before {
    content: counter(step);
    font-family: var(--font-serif);
    font-style: italic;
    font-weight: 600;
    font-size: 1.3rem;
    color: var(--gold);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(150, 112, 42, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
}
.step-list h4 { font-size: 1.05rem; margin-bottom: 6px; }
.step-list p { color: rgba(32, 38, 56, 0.7); font-size: 0.96rem; }

.pill-row { display: flex; flex-wrap: wrap; gap: 10px; margin: 18px 0 6px; }
.pill-row span {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 30px;
    padding: 8px 16px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--navy);
}

.related-services { padding: 80px 0; background: var(--white); }
.related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }

/* ===== HERO ===== */
.hero {
    padding: 70px 0 90px;
    position: relative;
    overflow: hidden;
    background: linear-gradient(180deg, var(--ivory) 0%, #f1ede3 100%);
}
.hero::before {
    content: '';
    position: absolute;
    top: -180px;
    right: -160px;
    width: 560px;
    height: 560px;
    background: radial-gradient(circle, rgba(150, 112, 42, 0.14) 0%, rgba(150, 112, 42, 0) 70%);
    border-radius: 50%;
    z-index: 0;
}
.hero-grid {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}
.hero-content h1 {
    font-size: clamp(2.3rem, 4vw, 3.4rem);
    margin-bottom: 22px;
}
.hero-content h1 em {
    font-family: var(--font-serif);
    font-style: italic;
    color: var(--gold);
}
.hero-subheadline {
    font-size: 1.2rem;
    color: rgba(32, 38, 56, 0.78);
    margin-bottom: 32px;
    max-width: 92%;
}
.hero-ctas { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-microcopy {
    margin-top: 16px;
    font-size: 0.92rem;
    color: rgba(32, 38, 56, 0.6);
}
.hero-proof {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 42px;
    padding-top: 30px;
    border-top: 1px solid var(--border);
}
.proof-chip {
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 100px;
    padding: 10px 18px;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--navy);
}
.proof-chip i { color: var(--success); }

.hero-visual { position: relative; }
.hero-visual .frame {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-deep);
    position: relative;
    aspect-ratio: 16 / 9;
}
.hero-visual .frame img { width: 100%; height: 100%; object-fit: cover; }
.hero-visual .float-card {
    position: absolute;
    bottom: -22px;
    left: -22px;
    background: var(--navy);
    color: var(--ivory);
    padding: 18px 22px;
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-soft);
    display: flex;
    align-items: center;
    gap: 12px;
    max-width: 260px;
}
.hero-visual .float-card i { color: var(--coral); font-size: 1.4rem; }
.hero-visual .float-card strong { display: block; font-size: 0.95rem; }
.hero-visual .float-card span { font-size: 0.82rem; color: rgba(247, 244, 237, 0.7); }

/* ===== SELECTOR DE PROBLEMA ===== */
.problem-selector { padding: 90px 0; background: var(--white); }
.problem-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
}
.problem-card {
    display: flex;
    flex-direction: column;
    gap: 16px;
    background: var(--ivory);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 28px 22px;
    text-decoration: none;
    color: inherit;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.problem-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-soft);
    border-color: var(--gold);
}
.problem-card i.problem-icon {
    font-size: 1.6rem;
    color: var(--coral);
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 98, 61, 0.1);
    border-radius: 14px;
}
.problem-card h3 { font-size: 1.05rem; margin-bottom: 4px; }
.problem-card p { font-size: 0.88rem; color: rgba(32, 38, 56, 0.68); flex-grow: 1; }
.problem-card .go { font-size: 0.85rem; font-weight: 700; color: var(--gold); display: flex; align-items: center; gap: 6px; }

/* ===== CONFIANZA / PROCESO ===== */
.trust-section { padding: 90px 0; background: var(--ivory-dim); }
.trust-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 60px; align-items: center; }
.trust-list { list-style: none; display: flex; flex-direction: column; gap: 22px; }
.trust-list li { display: flex; gap: 16px; align-items: flex-start; }
.trust-list i {
    color: var(--white);
    background: var(--success);
    width: 34px;
    height: 34px;
    min-width: 34px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    margin-top: 2px;
}
.trust-list h4 { font-size: 1.05rem; margin-bottom: 4px; }
.trust-list p { font-size: 0.95rem; color: rgba(32, 38, 56, 0.72); }

.trust-note {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 40px;
}
.trust-note .section-tag { margin-bottom: 20px; }
.trust-note p { color: rgba(32, 38, 56, 0.75); margin-bottom: 24px; font-size: 1.02rem; }

/* ===== MÉTODO ===== */
.method { padding: 90px 0; background: var(--white); }
.method-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; }
.method-card {
    background: var(--ivory);
    border-radius: var(--radius-sm);
    padding: 36px 26px;
    border: 1px solid var(--border);
    position: relative;
}
.method-number {
    font-family: var(--font-serif);
    font-style: italic;
    font-size: 2.4rem;
    color: var(--gold);
    margin-bottom: 18px;
    display: block;
}
.method-card h3 { font-size: 1.15rem; margin-bottom: 10px; }
.method-card p { font-size: 0.92rem; color: rgba(32, 38, 56, 0.7); }

/* ===== SERVICIOS ===== */
.services { padding: 90px 0; background: var(--ivory-dim); }
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.service-card-link { text-decoration: none; color: inherit; display: block; }
.service-card {
    background: var(--white);
    padding: 34px 28px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
    height: 100%;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
    position: relative;
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-soft); border-color: var(--gold); }
.service-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: rgba(150, 112, 42, 0.1);
    color: var(--gold);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    margin-bottom: 22px;
}
.service-card h3 { font-size: 1.2rem; margin-bottom: 10px; }
.service-card p { color: rgba(32, 38, 56, 0.7); font-size: 0.95rem; margin-bottom: 18px; }
.service-link-indicator { color: var(--gold); font-size: 0.88rem; font-weight: 700; display: flex; align-items: center; gap: 6px; }
.badge-soon {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(32, 38, 56, 0.08);
    color: var(--graphite);
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    padding: 4px 10px;
    border-radius: 20px;
}

/* ===== CASOS / EVIDENCIA ===== */
.evidence { padding: 90px 0; background: var(--white); }
.evidence-card {
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-soft) 100%);
    color: var(--ivory);
    border-radius: var(--radius-lg);
    padding: 56px;
    display: grid;
    grid-template-columns: 1.3fr 0.7fr;
    gap: 40px;
    align-items: center;
}
.evidence-card h2 { color: var(--white); font-size: clamp(1.6rem, 2.4vw, 2.1rem); margin-bottom: 18px; }
.evidence-card p { color: rgba(247, 244, 237, 0.82); font-size: 1.05rem; margin-bottom: 0; }
.evidence-format { display: flex; flex-direction: column; gap: 14px; }
.evidence-format span {
    font-size: 0.85rem;
    font-weight: 700;
    padding: 10px 16px;
    border: 1px solid var(--border-soft);
    border-radius: 12px;
    color: var(--ivory);
}

/* ===== COBERTURA NACIONAL (página cobertura.html) ===== */
.region-block { margin-bottom: 56px; }
.region-title {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.3rem;
    margin-bottom: 22px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border);
}
.region-title i { color: var(--gold); }
.state-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 20px; }
.state-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 22px; }
.state-card h3 { font-size: 1.05rem; margin-bottom: 14px; display: flex; align-items: center; gap: 8px; }
.city-status-list { list-style: none; display: flex; flex-direction: column; gap: 9px; }
.city-status-list a, .city-status-list span {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.92rem;
    text-decoration: none;
    color: var(--graphite);
}
.city-status-list a:hover { color: var(--gold); }
.city-status-list .status-active i { color: var(--success); }
.city-status-list .status-soon { color: rgba(32, 38, 56, 0.45); }
.city-status-list .status-soon i { color: rgba(32, 38, 56, 0.3); }
.badge-tag {
    margin-left: auto;
    font-size: 0.66rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    padding: 2px 9px;
    border-radius: 20px;
}
.badge-tag.active { background: rgba(30, 155, 108, 0.12); color: var(--success); }
.badge-tag.soon { background: rgba(32, 38, 56, 0.08); color: rgba(32, 38, 56, 0.55); }

/* ===== COBERTURA ===== */
.coverage { padding: 90px 0; background: var(--ivory-dim); }
.coverage-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 50px; align-items: center; }
.coverage-map { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-soft); }
.city-pill-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin-bottom: 30px; }
.city-pill {
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 16px 18px;
    text-decoration: none;
    color: var(--navy);
    font-weight: 700;
    font-size: 0.96rem;
    transition: border-color 0.2s, transform 0.2s;
}
.city-pill:hover { border-color: var(--gold); transform: translateX(4px); }
.city-pill i { color: var(--coral); font-size: 0.85rem; }

/* ===== AUTORIDAD ===== */
.authority { padding: 90px 0; background: var(--white); }
.authority-grid { display: grid; grid-template-columns: 1fr 0.85fr; gap: 60px; align-items: center; }
.authority-avatar {
    width: 84px;
    height: 84px;
    border-radius: 50%;
    background: var(--navy);
    color: var(--ivory);
    font-family: var(--font-serif);
    font-style: italic;
    font-size: 1.7rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 22px;
}
.authority-copy p { font-size: 1.08rem; color: rgba(32, 38, 56, 0.78); margin-bottom: 20px; }
.authority-specialties { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 28px; }
.authority-specialties span {
    background: var(--ivory-dim);
    border: 1px solid var(--border);
    border-radius: 30px;
    padding: 7px 16px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--navy);
}
.authority-visual { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-soft); aspect-ratio: 3 / 2; }
.authority-visual img { width: 100%; height: 100%; object-fit: cover; }
.authority-visual-caption {
    font-size: 0.8rem;
    color: rgba(32, 38, 56, 0.55);
    margin-top: 10px;
    text-align: center;
}

/* ===== OFERTA / FORMULARIO ===== */
.offer { padding: 100px 0; background: var(--ivory-dim); }
.offer-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 56px;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-soft);
}
.offer-copy .section-tag { margin-bottom: 18px; }
.offer-copy h2 { font-size: clamp(1.7rem, 2.4vw, 2.3rem); margin-bottom: 18px; }
.offer-copy p { color: rgba(32, 38, 56, 0.75); font-size: 1.05rem; margin-bottom: 24px; }
.offer-deliverables { list-style: none; display: flex; flex-direction: column; gap: 14px; }
.offer-deliverables li { display: flex; gap: 12px; align-items: flex-start; font-weight: 600; color: var(--navy); font-size: 0.98rem; }
.offer-deliverables i { color: var(--coral); margin-top: 4px; }

.form-group { margin-bottom: 18px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 6px;
}
.form-group input, .form-group select, .form-group textarea {
    width: 100%;
    padding: 15px 18px;
    border: 1.5px solid var(--border);
    border-radius: 12px;
    font-family: var(--font-sans);
    font-size: 1rem;
    background: var(--ivory);
    transition: border-color 0.2s, box-shadow 0.2s;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
    outline: none;
    border-color: var(--gold);
    box-shadow: 0 0 0 4px rgba(150, 112, 42, 0.12);
    background: var(--white);
}
.urgency-options { display: flex; gap: 10px; flex-wrap: wrap; }
.urgency-options input { position: absolute; opacity: 0; width: 0; height: 0; }
.urgency-options label {
    flex: 1;
    text-align: center;
    padding: 12px 10px;
    border: 1.5px solid var(--border);
    border-radius: 12px;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--graphite);
    cursor: pointer;
    background: var(--ivory);
    transition: border-color 0.2s ease, background-color 0.2s ease, color 0.2s ease, transform 160ms cubic-bezier(0.23, 1, 0.32, 1);
    margin-bottom: 0;
}
.urgency-options input:checked + label {
    border-color: var(--gold);
    background: rgba(150, 112, 42, 0.08);
    color: var(--gold);
}
.form-next {
    margin-top: 18px;
    font-size: 0.86rem;
    color: rgba(32, 38, 56, 0.62);
    display: flex;
    gap: 10px;
    align-items: flex-start;
}
.form-next i { color: var(--success); margin-top: 3px; }

.hp-field {
    position: absolute;
    left: -9999px;
    top: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
    opacity: 0;
}

.form-feedback { margin-top: 16px; font-size: 0.92rem; font-weight: 700; min-height: 1.2em; }
.form-feedback.success { color: var(--success); }
.form-feedback.error { color: #C0392B; }

/* ===== FAQ ===== */
.faq { padding: 90px 0; background: var(--white); }
.faq-list { max-width: 820px; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-question {
    padding: 24px 4px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-weight: 700;
    color: var(--navy);
    font-size: 1.05rem;
    gap: 20px;
}
.faq-question i { color: var(--gold); transition: transform 0.25s; flex-shrink: 0; }
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    color: rgba(32, 38, 56, 0.72);
    font-size: 0.98rem;
    padding: 0 4px;
}
.faq-item.active .faq-answer { max-height: 300px; padding: 0 4px 24px; }
.faq-item.active .faq-question i { transform: rotate(180deg); }

/* ===== CTA FINAL ===== */
.cta-final {
    padding: 90px 0;
    background: linear-gradient(135deg, var(--navy) 0%, var(--gold-deep) 150%);
    color: var(--ivory);
    text-align: center;
}
.cta-final h2 { color: var(--white); font-size: clamp(1.8rem, 2.6vw, 2.4rem); margin-bottom: 18px; }
.cta-final p { font-size: 1.1rem; opacity: 0.85; max-width: 640px; margin: 0 auto 32px; }
.cta-buttons { display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; }

/* ===== FOOTER ===== */
.footer { background: var(--navy); color: var(--ivory); padding: 70px 0 30px; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 50px; }
.footer-col h4 { font-size: 1.05rem; margin-bottom: 20px; color: var(--ivory); }
.footer-col p, .footer-col a { color: rgba(247, 244, 237, 0.68); text-decoration: none; line-height: 1.9; display: block; font-size: 0.95rem; }
.footer-col a:hover { color: var(--coral); }
.footer-col .soon { color: rgba(247, 244, 237, 0.4); }
.footer .copyright {
    text-align: center;
    border-top: 1px solid var(--border-soft);
    padding-top: 28px;
    color: rgba(247, 244, 237, 0.55);
    font-size: 0.85rem;
}

/* ===== WHATSAPP FLOTANTE ===== */
.whatsapp-float {
    position: fixed;
    bottom: 26px;
    right: 26px;
    background-color: #25D366;
    color: white;
    width: 58px;
    height: 58px;
    border-radius: 50%;
    font-size: 28px;
    box-shadow: 0 12px 24px rgba(37, 211, 102, 0.35);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: transform 0.2s;
}
.whatsapp-float:hover { transform: scale(1.08); }

/* ===== RESPONSIVE ===== */
@media (max-width: 1080px) {
    .problem-grid { grid-template-columns: repeat(3, 1fr); }
    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .method-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 992px) {
    .hero-grid, .trust-grid, .coverage-grid, .authority-grid, .offer-grid, .evidence-card {
        grid-template-columns: 1fr;
    }
    .evidence-card { padding: 40px 30px; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .nav-menu { display: none; }
    .nav-toggle { display: flex; }
    body.nav-open .nav-menu {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--white);
        padding: 20px 24px;
        border-bottom: 1px solid var(--border);
        gap: 18px;
    }
    .hero-visual { order: -1; }
    .hero-visual .float-card { display: none; }
}

@media (max-width: 768px) {
    body { font-size: 17px; }
    .problem-grid { grid-template-columns: 1fr 1fr; }
    .services-grid { grid-template-columns: 1fr; }
    .method-grid { grid-template-columns: 1fr; }
    .form-row, .city-pill-grid { grid-template-columns: 1fr; }
    .offer-grid { padding: 30px; }
    .footer-grid { grid-template-columns: 1fr; gap: 30px; }
    .hero-ctas .btn { width: 100%; }
}

@media (max-width: 480px) {
    .problem-grid { grid-template-columns: 1fr; }
    .urgency-options { flex-direction: column; }
}

/* ===== ACCESIBILIDAD ===== */
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
    outline: 3px solid var(--gold);
    outline-offset: 2px;
}

/* =====================================================================
   CAPA DE IMPACTO 2027
   Héroes oscuros, movimiento con propósito y microinteracciones.
   Reglas de movimiento: solo transform/opacity, curvas propias,
   UI < 300 ms, hover solo en dispositivos con puntero fino.
   ===================================================================== */

:root {
    --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
    --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
    --glow-gold: rgba(201, 161, 93, 0.35);
    --glow-coral: rgba(255, 98, 61, 0.22);
}

::selection { background: rgba(201, 161, 93, 0.35); color: var(--navy); }

/* ----- Botones: respuesta al presionar ----- */
.btn {
    transition: transform 160ms var(--ease-out), box-shadow 200ms ease, background-color 200ms ease, color 200ms ease, border-color 200ms ease;
    -webkit-tap-highlight-color: transparent;
}
.btn-primary, .btn-dark, .btn-success { transform: none; }
.btn-primary:hover, .btn-dark:hover, .btn-success:hover { transform: none; }
.btn-primary {
    background-image: linear-gradient(180deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25), 0 12px 28px -10px rgba(255, 98, 61, 0.6);
}
.btn .fa-arrow-right { transition: transform 200ms var(--ease-out); }

@media (hover: hover) and (pointer: fine) {
    .btn-primary:hover, .btn-dark:hover, .btn-success:hover { transform: translateY(-2px); }
    .btn-primary:hover { box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25), 0 18px 34px -12px rgba(255, 98, 61, 0.7); }
    .btn:hover .fa-arrow-right { transform: translateX(3px); }
}
.btn:active, .btn-primary:active, .btn-dark:active, .btn-success:active { transform: scale(0.97); }
.urgency-options label:active { transform: scale(0.97); }

/* ----- Header con vidrio esmerilado ----- */
.site-header {
    background-color: rgba(247, 244, 237, 0.82);
    -webkit-backdrop-filter: saturate(1.4) blur(14px);
    backdrop-filter: saturate(1.4) blur(14px);
    transition: box-shadow 250ms ease, background-color 250ms ease;
}
.site-header.is-scrolled {
    background-color: rgba(247, 244, 237, 0.92);
    box-shadow: 0 10px 30px -18px rgba(10, 16, 36, 0.35);
}
.nav-menu a { border-bottom: 0; position: relative; }
.nav-menu a::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 2px;
    border-radius: 2px;
    background: var(--gold);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 250ms var(--ease-out);
}
.nav-menu a.active::after { transform: scaleX(1); }
@media (hover: hover) and (pointer: fine) {
    .nav-menu a:hover::after { transform: scaleX(1); }
}
.topbar { background: linear-gradient(90deg, #070B1A, var(--navy) 50%, #070B1A); }

@keyframes nav-in {
    from { opacity: 0; transform: translateY(-6px); }
    to { opacity: 1; transform: none; }
}
@media (max-width: 992px) {
    body.nav-open .nav-menu { animation: nav-in 200ms var(--ease-out); box-shadow: 0 24px 40px -24px rgba(10, 16, 36, 0.35); }
}

/* ----- Aparición al hacer scroll (la activa js/motion.js) ----- */
.reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 700ms var(--ease-out), transform 700ms var(--ease-out);
    transition-delay: calc(var(--d, 0) * 70ms);
}
.reveal.is-in { opacity: 1; transform: none; }

/* ----- Superficie oscura compartida (héroes, CTA) ----- */
.hero-impact,
.page-hero,
.landing-hero,
.cta-final,
.offer.offer-dark {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    background: var(--navy);
    color: var(--ivory);
}
.hero-impact::before,
.page-hero::before,
.landing-hero::before,
.cta-final::before,
.offer.offer-dark::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    top: 0;
    right: 0;
    width: auto;
    height: auto;
    border-radius: 0;
    background:
        radial-gradient(600px 420px at 85% -10%, var(--glow-gold), transparent 70%),
        radial-gradient(520px 380px at 0% 110%, var(--glow-coral), transparent 70%),
        linear-gradient(180deg, #0A1024 0%, #0D1430 100%);
}
.hero-impact::after,
.page-hero::after,
.landing-hero::after,
.cta-final::after,
.offer.offer-dark::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    background-image:
        linear-gradient(rgba(247, 244, 237, 0.045) 1px, transparent 1px),
        linear-gradient(90deg, rgba(247, 244, 237, 0.045) 1px, transparent 1px);
    background-size: 56px 56px;
    -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 30%, #000 30%, transparent 80%);
    mask-image: radial-gradient(ellipse 80% 70% at 50% 30%, #000 30%, transparent 80%);
    pointer-events: none;
}

.hero-impact h1, .hero-impact h2, .hero-impact h3,
.page-hero h1, .landing-hero h1,
.offer.offer-dark .offer-copy h2 { color: var(--white); }
.hero-impact .eyebrow, .page-hero .eyebrow, .landing-hero .eyebrow { color: var(--gold-bright); }
.page-hero p, .landing-hero .hero-subheadline { color: rgba(247, 244, 237, 0.74); }
.landing-hero .hero-microcopy, .hero-impact .hero-microcopy { color: rgba(247, 244, 237, 0.55); }
.page-hero .post-meta { color: rgba(247, 244, 237, 0.7); }
.page-hero .btn-outline,
.landing-hero .btn-outline,
.hero-impact .btn-outline {
    border-color: rgba(247, 244, 237, 0.4);
    color: var(--ivory);
}
@media (hover: hover) and (pointer: fine) {
    .page-hero .btn-outline:hover,
    .landing-hero .btn-outline:hover,
    .hero-impact .btn-outline:hover { background: var(--ivory); color: var(--navy); border-color: var(--ivory); }
}
.page-hero h1, .landing-hero h1 { letter-spacing: -0.025em; }
.page-hero h1 em, .landing-hero h1 em, .hero-impact h1 em, .cta-final h2 em { font-style: italic; }
.page-hero { padding: 72px 0 88px; }
.page-hero-image .frame, .landing-hero .frame {
    box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(247, 244, 237, 0.08);
}
.breadcrumbs { background: var(--ivory); }

/* Texto con degradado dorado */
.text-shine,
.hero-impact h1 em,
.cta-final h2 em,
.manifesto-title em {
    background: linear-gradient(100deg, #F1D9A6 0%, var(--gold-bright) 45%, #B8873C 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    padding-right: 0.06em;
}

/* ----- HERO DE LA HOME ----- */
.hero-impact { padding: 88px 0 110px; }
.hero-impact .hero-grid { grid-template-columns: 1.1fr 0.9fr; gap: 56px; }
.hero-impact .hero-ctas .btn-lg { padding: 17px 26px; }
.hero-impact .hero-content h1 {
    font-size: clamp(2.6rem, 5.2vw, 4.4rem);
    line-height: 1.03;
    letter-spacing: -0.035em;
    margin-bottom: 24px;
}
.hero-impact .hero-subheadline { color: rgba(247, 244, 237, 0.74); font-size: 1.18rem; }
.hero-impact .eyebrow {
    font-family: var(--font-sans);
    font-style: normal;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 7px 14px 7px 10px;
    border-radius: 100px;
    border: 1px solid rgba(201, 161, 93, 0.35);
    background: rgba(201, 161, 93, 0.08);
    margin-bottom: 22px;
}
.eyebrow .dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--success);
    box-shadow: 0 0 0 4px rgba(30, 155, 108, 0.22);
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    margin-top: 44px;
    padding-top: 28px;
    border-top: 1px solid var(--border-soft);
}
.hero-stat { padding-right: 18px; }
.hero-stat + .hero-stat { padding-left: 18px; border-left: 1px solid var(--border-soft); }
.hero-stat strong {
    display: block;
    font-family: var(--font-serif);
    font-weight: 600;
    font-size: clamp(1.8rem, 2.6vw, 2.4rem);
    line-height: 1;
    color: var(--white);
    letter-spacing: -0.02em;
    font-variant-numeric: tabular-nums;
    margin-bottom: 8px;
}
.hero-stat strong small { font-size: 0.6em; color: var(--gold-bright); margin-left: 2px; }
.hero-stat > span { font-size: 0.84rem; line-height: 1.35; color: rgba(247, 244, 237, 0.62); display: block; }

/* ----- Demo SERP: tu negocio sube al #1 ----- */
.serp-demo { position: relative; padding: 18px 0 28px; }
.serp-window {
    position: relative;
    background: rgba(255, 255, 255, 0.97);
    color: var(--graphite);
    border-radius: 20px;
    box-shadow: 0 50px 100px -30px rgba(0, 0, 0, 0.7), 0 0 0 1px rgba(255, 255, 255, 0.1);
    overflow: hidden;
    transform: perspective(1400px) rotateY(-6deg) rotateX(3deg);
    transform-origin: left center;
}
.serp-chrome {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 18px;
    border-bottom: 1px solid rgba(32, 38, 56, 0.08);
    background: #FAFAF8;
}
.serp-dots { display: flex; gap: 6px; }
.serp-dots i { width: 10px; height: 10px; border-radius: 50%; background: rgba(32, 38, 56, 0.14); display: block; }
.serp-search {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--white);
    border: 1px solid rgba(32, 38, 56, 0.12);
    border-radius: 100px;
    padding: 9px 16px;
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--navy);
    min-height: 40px;
}
.serp-search .fa-magnifying-glass { color: rgba(32, 38, 56, 0.4); font-size: 0.85rem; }
.serp-caret {
    width: 2px;
    height: 1.1em;
    background: var(--coral);
    margin-left: -6px;
    animation: caret-blink 1s steps(1) infinite;
}
@keyframes caret-blink { 50% { opacity: 0; } }
.serp-tabs {
    display: flex;
    gap: 20px;
    padding: 10px 22px 0;
    font-size: 0.78rem;
    font-weight: 600;
    color: rgba(32, 38, 56, 0.5);
    border-bottom: 1px solid rgba(32, 38, 56, 0.06);
}
.serp-tabs span { padding-bottom: 9px; }
.serp-tabs span.on { color: var(--navy); box-shadow: inset 0 -2px 0 var(--navy); }
.serp-body { padding: 16px 20px 20px; }

.serp-ai {
    border-radius: 14px;
    padding: 14px 16px;
    background: linear-gradient(135deg, rgba(201, 161, 93, 0.12), rgba(255, 98, 61, 0.06));
    border: 1px solid rgba(201, 161, 93, 0.25);
    margin-bottom: 14px;
}
.serp-ai-head { display: flex; align-items: center; gap: 8px; font-size: 0.76rem; font-weight: 700; color: var(--gold-deep); margin-bottom: 10px; }
.skel { display: block; height: 8px; border-radius: 6px; background: rgba(32, 38, 56, 0.1); margin-bottom: 7px; }
.serp-cite {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 4px;
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--navy);
    background: var(--white);
    border: 1px solid rgba(201, 161, 93, 0.45);
    border-radius: 100px;
    padding: 4px 10px 4px 6px;
    transition: opacity 400ms var(--ease-out), transform 400ms var(--ease-out);
}
.serp-cite i { color: var(--success); }

.serp-results { position: relative; height: 216px; }
.serp-row {
    --pos: 0;
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    height: 64px;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 0 14px;
    border-radius: 12px;
    border: 1px solid rgba(32, 38, 56, 0.07);
    background: var(--white);
    transform: translateY(calc(var(--pos) * 76px));
    transition: transform 900ms var(--ease-in-out), opacity 500ms var(--ease-out), box-shadow 400ms ease, border-color 400ms ease;
}
.serp-row .fav { width: 28px; height: 28px; border-radius: 50%; background: rgba(32, 38, 56, 0.08); flex-shrink: 0; display: flex; align-items: center; justify-content: center; font-size: 0.75rem; }
.serp-row .lines { flex: 1; min-width: 0; }
.serp-row .lines .skel { margin-bottom: 6px; }
.serp-row .lines .skel:last-child { margin-bottom: 0; }
.serp-row .rank { font-size: 0.72rem; font-weight: 800; color: rgba(32, 38, 56, 0.35); font-variant-numeric: tabular-nums; }
.serp-row.you { border-color: rgba(201, 161, 93, 0.6); box-shadow: 0 14px 30px -16px rgba(150, 112, 42, 0.55); z-index: 2; }
.serp-row.you .fav { background: var(--navy); color: var(--gold-bright); }
.serp-row.you strong { display: block; font-size: 0.9rem; color: #1a0dab; line-height: 1.2; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.serp-row.you small { display: block; font-size: 0.74rem; color: rgba(32, 38, 56, 0.6); }
.serp-row.you small .stars { color: #E7A33E; letter-spacing: 1px; margin-right: 4px; }
.serp-row.you .rank {
    color: var(--white);
    background: var(--success);
    border-radius: 100px;
    padding: 4px 9px;
    transition: background-color 400ms ease;
}

/* Estado final (por defecto, sin JS) */
.serp-row.you { --pos: 0; }
.serp-row.c1 { --pos: 1; }
.serp-row.c2 { --pos: 2; }

/* Secuencia controlada por js/motion.js mediante data-step */
.serp-demo[data-step="0"] .serp-row,
.serp-demo[data-step="0"] .serp-ai { opacity: 0; transform: translateY(calc(var(--pos) * 76px + 10px)); }
.serp-demo[data-step="0"] .serp-row.you,
.serp-demo[data-step="1"] .serp-row.you { --pos: 2; }
.serp-demo[data-step="0"] .serp-row.c1,
.serp-demo[data-step="1"] .serp-row.c1 { --pos: 0; }
.serp-demo[data-step="0"] .serp-row.c2,
.serp-demo[data-step="1"] .serp-row.c2 { --pos: 1; }
.serp-demo[data-step="0"] .serp-row.you .rank,
.serp-demo[data-step="1"] .serp-row.you .rank { background: rgba(32, 38, 56, 0.35); }
.serp-demo[data-step]:not([data-step="3"]) .serp-cite { opacity: 0; transform: scale(0.95); }
.serp-demo[data-step] .serp-ai { transition: opacity 500ms var(--ease-out); }
.serp-demo[data-step]:not([data-step="3"]) .float-card { opacity: 0; transform: translateY(10px) scale(0.97); }
.serp-demo[data-step]:not([data-step="3"]) .bars i { transform: scaleY(0.15); }

.serp-demo .float-card {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(19, 27, 58, 0.88);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(247, 244, 237, 0.14);
    color: var(--ivory);
    border-radius: 16px;
    padding: 14px 16px;
    box-shadow: 0 24px 50px -20px rgba(0, 0, 0, 0.7);
    transition: opacity 500ms var(--ease-out), transform 500ms var(--ease-out);
    z-index: 3;
}
.serp-demo .float-card strong { display: block; font-size: 0.86rem; line-height: 1.25; }
.serp-demo .float-card span { font-size: 0.74rem; color: rgba(247, 244, 237, 0.65); }
.float-card.maps { left: -34px; bottom: -6px; }
.float-card.maps .pin {
    width: 36px; height: 36px; border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    background: var(--coral); color: var(--white);
}
.float-card.calls { right: -22px; top: -14px; transition-delay: 120ms; }
.bars { display: flex; align-items: flex-end; gap: 4px; height: 30px; }
.bars i {
    display: block;
    width: 6px;
    border-radius: 3px;
    background: linear-gradient(180deg, var(--gold-bright), var(--gold));
    transform-origin: bottom;
    transition: transform 700ms var(--ease-out);
}
.bars i:nth-child(1) { height: 30%; transition-delay: 150ms; }
.bars i:nth-child(2) { height: 45%; transition-delay: 210ms; }
.bars i:nth-child(3) { height: 40%; transition-delay: 270ms; }
.bars i:nth-child(4) { height: 70%; transition-delay: 330ms; }
.bars i:nth-child(5) { height: 100%; transition-delay: 390ms; }

/* ----- Cinta de servicios (marquee) ----- */
.marquee {
    background: var(--navy);
    border-top: 1px solid var(--border-soft);
    color: rgba(247, 244, 237, 0.8);
    overflow: hidden;
    padding: 20px 0;
    position: relative;
}
.marquee::before, .marquee::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 12%;
    z-index: 1;
    pointer-events: none;
}
.marquee::before { left: 0; background: linear-gradient(90deg, var(--navy), transparent); }
.marquee::after { right: 0; background: linear-gradient(270deg, var(--navy), transparent); }
.marquee-track {
    display: flex;
    width: max-content;
    animation: marquee 45s linear infinite;
}
.marquee-track span {
    display: inline-flex;
    align-items: center;
    gap: 28px;
    padding-right: 28px;
    font-family: var(--font-serif);
    font-size: 1.35rem;
    font-weight: 500;
    white-space: nowrap;
}
.marquee-track span::after { content: '✦'; font-size: 0.8rem; color: var(--gold-bright); }
@media (hover: hover) and (pointer: fine) {
    .marquee:hover .marquee-track { animation-play-state: paused; }
}
@keyframes marquee { to { transform: translateX(-50%); } }

/* ----- Tarjetas con reflector que sigue al cursor ----- */
.problem-card, .service-card, .method-card, .audience-card, .state-card {
    position: relative;
    isolation: isolate;
    overflow: hidden;
}
.problem-card::before, .service-card::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    opacity: 0;
    background: radial-gradient(320px circle at var(--mx, 50%) var(--my, 0%), rgba(201, 161, 93, 0.16), transparent 60%);
    transition: opacity 300ms ease;
    pointer-events: none;
}
.problem-card, .service-card {
    transition: transform 250ms var(--ease-out), box-shadow 250ms ease, border-color 250ms ease;
}
.problem-card:hover, .service-card:hover { transform: none; box-shadow: none; }
.problem-card .go .fa-arrow-right,
.service-link-indicator .fa-arrow-right { transition: transform 250ms var(--ease-out); }
.problem-card:active, .service-card-link:active .service-card { transform: scale(0.98); }
@media (hover: hover) and (pointer: fine) {
    .problem-card:hover, .service-card:hover {
        transform: translateY(-4px);
        box-shadow: var(--shadow-soft);
        border-color: rgba(150, 112, 42, 0.55);
    }
    .problem-card:hover::before, .service-card:hover::before { opacity: 1; }
    .problem-card:hover .go .fa-arrow-right,
    .service-card:hover .service-link-indicator .fa-arrow-right { transform: translateX(4px); }
}
.problem-card i.problem-icon { transition: transform 300ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) {
    .problem-card:hover i.problem-icon { transform: rotate(-6deg) scale(1.06); }
}

/* ----- Manifiesto ----- */
.manifesto { padding: 120px 0 80px; background: var(--ivory-dim); text-align: center; }
.manifesto-title {
    font-size: clamp(2.3rem, 5.4vw, 4.6rem);
    line-height: 1.05;
    letter-spacing: -0.035em;
    max-width: 1000px;
    margin: 0 auto 28px;
}
.manifesto-title .muted { color: rgba(32, 38, 56, 0.32); }
.manifesto p { font-size: 1.15rem; color: rgba(32, 38, 56, 0.72); max-width: 700px; margin: 0 auto; }
.split-words .w {
    display: inline-block;
    transition: opacity 600ms var(--ease-out), transform 600ms var(--ease-out), filter 600ms var(--ease-out);
    transition-delay: calc(var(--i, 0) * 45ms);
}
.split-words.is-pending .w { opacity: 0; transform: translateY(0.25em); filter: blur(6px); }

/* ----- Método como línea de tiempo ----- */
.method-grid.timeline { position: relative; padding-top: 38px; }
.method-grid.timeline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 26px;
    right: 26px;
    height: 2px;
    background: linear-gradient(90deg, var(--gold), var(--gold-bright), var(--coral));
    transform-origin: left;
    transition: transform 1400ms var(--ease-in-out);
}
.method-grid.timeline.is-pending::before { transform: scaleX(0); }
.method-grid.timeline .method-card { background: var(--white); overflow: visible; }
.method-grid.timeline .method-card::before {
    content: '';
    position: absolute;
    top: -45px;
    left: 26px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--ivory-dim);
    border: 3px solid var(--gold);
}
.method-number {
    font-size: 3.2rem;
    line-height: 1;
    background: linear-gradient(180deg, var(--gold-bright), var(--gold-deep));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
@media (max-width: 1080px) {
    .method-grid.timeline { padding-top: 0; }
    .method-grid.timeline::before, .method-grid.timeline .method-card::before { display: none; }
}

/* ----- Servicios en bento ----- */
.services-grid.bento { grid-auto-flow: dense; }
.services-grid.bento .feature { grid-column: span 2; }
.services-grid.bento .wide { grid-column: span 2; }
.services-grid.bento .feature .service-card {
    background: var(--navy);
    border-color: transparent;
    color: var(--ivory);
    padding: 44px 40px;
}
.services-grid.bento .feature .service-card::after {
    content: '';
    position: absolute;
    right: -120px;
    top: -120px;
    width: 360px;
    height: 360px;
    border-radius: 50%;
    background: radial-gradient(circle, var(--glow-gold), transparent 70%);
    z-index: -1;
}
.services-grid.bento .feature h3 { color: var(--white); font-family: var(--font-serif); font-size: clamp(1.5rem, 2.2vw, 2rem); font-weight: 600; max-width: 460px; }
.services-grid.bento .feature p { color: rgba(247, 244, 237, 0.74); max-width: 460px; font-size: 1.02rem; }
.services-grid.bento .feature .service-icon { background: rgba(201, 161, 93, 0.16); color: var(--gold-bright); }
.services-grid.bento .feature .service-link-indicator { color: var(--gold-bright); }
.services-grid.bento .wide .service-card { background: var(--ivory); }
@media (max-width: 1080px) {
    .services-grid.bento .wide { grid-column: span 1; }
}
@media (max-width: 768px) {
    .services-grid.bento .feature { grid-column: span 1; }
    .services-grid.bento .feature .service-card { padding: 34px 28px; }
}
.service-icon { transition: transform 300ms var(--ease-out), background-color 300ms ease; }
@media (hover: hover) and (pointer: fine) {
    .service-card:hover .service-icon { transform: translateY(-2px) scale(1.06); }
}

/* ----- Evidencia ----- */
.evidence-card { position: relative; isolation: isolate; overflow: hidden; }
.evidence-card::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        radial-gradient(500px 300px at 100% 0%, var(--glow-gold), transparent 70%),
        radial-gradient(400px 280px at 0% 100%, var(--glow-coral), transparent 70%);
}
.evidence-format span {
    background: rgba(255, 255, 255, 0.04);
    transition: transform 250ms var(--ease-out), border-color 250ms ease, background-color 250ms ease;
}
@media (hover: hover) and (pointer: fine) {
    .evidence-format span:hover { transform: translateX(4px); border-color: rgba(201, 161, 93, 0.5); background: rgba(255, 255, 255, 0.07); }
}

/* ----- Confianza ----- */
.trust-note { position: relative; overflow: hidden; }
.trust-note::before {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--gold), var(--gold-bright), var(--coral));
}

/* ----- Cobertura ----- */
.city-pill { transition: border-color 200ms ease, transform 250ms var(--ease-out), box-shadow 250ms ease; }
.city-pill:hover { transform: none; }
.city-pill:active { transform: scale(0.98); }
@media (hover: hover) and (pointer: fine) {
    .city-pill:hover { transform: translateX(4px); box-shadow: var(--shadow-soft); }
}
.coverage-map img, .authority-visual img, .page-hero-image .frame img { transition: transform 900ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) {
    .coverage-map:hover img, .authority-visual:hover img { transform: scale(1.03); }
}

/* ----- Autoridad ----- */
.authority-avatar {
    background: linear-gradient(135deg, var(--navy), var(--navy-soft));
    box-shadow: 0 0 0 4px var(--ivory-dim), 0 0 0 6px var(--gold-bright);
}

/* ----- Oferta oscura (home) ----- */
.offer.offer-dark .offer-grid {
    background: transparent;
    border: 0;
    box-shadow: none;
    padding: 0;
    align-items: center;
    gap: 64px;
}
.offer.offer-dark .offer-copy h2 { font-size: clamp(2rem, 3.4vw, 3rem); letter-spacing: -0.03em; }
.offer.offer-dark .offer-copy p { color: rgba(247, 244, 237, 0.74); }
.offer.offer-dark .offer-copy .section-tag { background: rgba(201, 161, 93, 0.14); color: var(--gold-bright); }
.offer.offer-dark .offer-deliverables li { color: var(--ivory); }
.offer.offer-dark .offer-deliverables li {
    padding: 14px 16px;
    border: 1px solid var(--border-soft);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.03);
}
.offer.offer-dark .offer-form {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: 0 50px 100px -30px rgba(0, 0, 0, 0.7);
}
@media (max-width: 768px) {
    .offer.offer-dark .offer-form { padding: 26px; }
}

/* ----- FAQ con altura animada (js/motion.js envuelve la respuesta) ----- */
.faq-question { -webkit-tap-highlight-color: transparent; border-radius: 8px; }
.faq-question i { transition: transform 250ms var(--ease-out); }
.faq-list.faq-js .faq-answer {
    display: grid;
    grid-template-rows: 0fr;
    max-height: none;
    padding: 0 4px;
    transition: grid-template-rows 300ms var(--ease-out);
}
.faq-list.faq-js .faq-item.active .faq-answer { grid-template-rows: 1fr; padding: 0 4px; }
.faq-answer-inner { overflow: hidden; min-height: 0; }
.faq-answer-body { padding-bottom: 24px; opacity: 0; transition: opacity 250ms ease; }
.faq-item.active .faq-answer-body { opacity: 1; }
@media (hover: hover) and (pointer: fine) {
    .faq-question:hover { color: var(--gold); }
}

/* ----- CTA final ----- */
.cta-final { padding: 120px 0; }
.cta-final h2 { font-size: clamp(2.2rem, 4.6vw, 3.8rem); letter-spacing: -0.035em; line-height: 1.05; max-width: 900px; margin-left: auto; margin-right: auto; }
.cta-final p { color: rgba(247, 244, 237, 0.74); opacity: 1; }

/* ----- WhatsApp flotante ----- */
.whatsapp-float { transition: transform 200ms var(--ease-out); }
.whatsapp-float:hover { transform: none; }
.whatsapp-float:active { transform: scale(0.94); }
@media (hover: hover) and (pointer: fine) {
    .whatsapp-float:hover { transform: scale(1.06); }
}

/* ----- Responsive del nuevo hero ----- */
@media (max-width: 1080px) {
    .float-card.maps { left: 8px; }
    .float-card.calls { right: 8px; }
}
@media (max-width: 992px) {
    .hero-impact { padding: 56px 0 80px; }
    .hero-impact .hero-grid { grid-template-columns: 1fr; gap: 48px; }
    .hero-impact .serp-demo { order: 2; max-width: 560px; }
    .serp-window { transform: none; }
    .serp-demo .float-card { display: flex; }
    .offer.offer-dark .offer-grid { gap: 40px; }
}
@media (max-width: 768px) {
    .hero-stats { grid-template-columns: repeat(2, 1fr); row-gap: 22px; }
    .hero-stat:nth-child(3) { padding-left: 0; border-left: 0; }
    .manifesto { padding: 80px 0 56px; }
    .cta-final { padding: 88px 0; }
    .float-card.calls { display: none !important; }
    .float-card.maps { left: 12px; bottom: -14px; }
    .serp-tabs { gap: 14px; }
}

/* ----- Movimiento reducido: menos y más suave, no cero ----- */
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
    }
    .reveal { transform: none !important; transition: opacity 300ms ease !important; }
    .split-words.is-pending .w { transform: none; filter: none; }
    .serp-row, .float-card, .bars i, .method-grid.timeline::before { transition: none !important; }
    .marquee-track { animation: none !important; }
    .serp-window { transform: none; }
    .btn, .problem-card, .service-card, .city-pill { transition-property: background-color, color, border-color, box-shadow !important; }
}


/* ----- Logo animado (fuego) + header oscuro ----- */
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.logo-mark {
    width: 64px;
    height: 64px;
    border-radius: 14px;
    overflow: hidden;
    flex-shrink: 0;
    background: #03040A;
}
.logo-video { width: 100%; height: 100%; object-fit: cover; display: block; transform: scale(1.3); }
.logo-word {
    display: flex;
    flex-direction: column;
    font-family: var(--font-serif);
    font-weight: 600;
    font-size: 1.12rem;
    line-height: 1.05;
    letter-spacing: -0.01em;
    color: var(--navy);
}
.logo-word small {
    font-family: var(--font-sans);
    font-size: 0.66rem;
    font-weight: 700;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--gold);
    margin-top: 4px;
}

.site-header.header-dark {
    background-color: #0A1024;
    border-bottom-color: var(--border-soft);
}
.site-header.header-dark.is-scrolled {
    background-color: rgba(10, 16, 36, 0.97);
    box-shadow: 0 10px 30px -18px rgba(0, 0, 0, 0.8);
}
.header-dark .logo-mark { background: transparent; }
.header-dark .logo-video { mix-blend-mode: screen; }
.header-dark .logo-word { color: var(--white); }
.header-dark .logo-word small { color: var(--gold-bright); }
.header-dark .nav-menu a { color: rgba(247, 244, 237, 0.78); }
.header-dark .nav-menu a.active { color: var(--white); }
.header-dark .nav-menu a::after { background: var(--gold-bright); }
@media (hover: hover) and (pointer: fine) {
    .header-dark .nav-menu a:hover { color: var(--white); }
}
.header-dark .nav-toggle { border-color: rgba(247, 244, 237, 0.4); color: var(--ivory); }
@media (max-width: 992px) {
    body.nav-open .header-dark .nav-menu { background: var(--navy); border-bottom-color: var(--border-soft); }
}
@media (max-width: 480px) {
    .logo-word { font-size: 1rem; }
    .logo-mark { width: 50px; height: 50px; }
    .nav-actions .btn { padding: 11px 16px !important; font-size: 0.88rem; }
}
.header-dark .landing-phone { color: var(--white); }
.header-dark .landing-phone small { color: rgba(247, 244, 237, 0.6); }

/* Centered section heads: .section-title has max-width without auto margins */
.section-head.center .section-title{margin-left:auto;margin-right:auto}

/* Problem cards: grid adapts to the number of cards */
.problem-grid{grid-template-columns:repeat(auto-fit,minmax(210px,1fr))}
