/* Flagship landings: /cobrar-sena y /reservas-instagram */
:root {
    --ff-display: "Plus Jakarta Sans", system-ui, sans-serif;
    --ff-body: "DM Sans", system-ui, sans-serif;
    --ff-accent: #6EA8FE;
    --ff-accent-2: #9B8AFB;
    --ff-ink: #1E293B;
    --ff-muted: #5B6570;
    --ff-surface: #FAF8FF;
    --ff-card: #FFFFFF;
    --ff-line: #E4DFF5;
    --ff-danger: #B42318;
    --ff-ion: #10B981;
    --ff-hero: #161E29;
}

[data-flagship="sena"] {
    --ff-display: "Plus Jakarta Sans", system-ui, sans-serif;
    --ff-body: "DM Sans", system-ui, sans-serif;
    --ff-accent: #6EA8FE;
    --ff-accent-2: #9B8AFB;
    --ff-ink: #1E293B;
    --ff-muted: #5B6570;
    --ff-surface: #FAF8FF;
    --ff-card: #FFFFFF;
    --ff-line: #E4DFF5;
    --ff-hero: #161E29;
}

[data-flagship="instagram"] {
    --ff-display: "Plus Jakarta Sans", system-ui, sans-serif;
    --ff-body: "DM Sans", system-ui, sans-serif;
    --ff-accent: #6EA8FE;
    --ff-accent-2: #9B8AFB;
    --ff-ink: #1E293B;
    --ff-muted: #5B6570;
    --ff-surface: #FAF8FF;
    --ff-card: #FFFFFF;
    --ff-line: #E4DFF5;
    --ff-hero: #161E29;
}

.ff-page {
    font-family: var(--ff-body);
    color: var(--ff-ink);
    background: var(--ff-surface);
    padding-bottom: 120px;
}

#calculadora-hero,
#flujo {
    scroll-margin-top: 84px;
}

.ff-page h1,
.ff-page h2,
.ff-page h3,
.ff-page .ff-display {
    font-family: var(--ff-display);
}

.ff-nav {
    position: sticky;
    top: 0;
    z-index: 50;
    background: var(--ff-card);
    border-bottom: 1px solid var(--ff-line);
}

.ff-nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    min-height: 68px;
}

.ff-brand {
    font-family: var(--ff-display);
    font-weight: 700;
    font-size: 1.2rem;
    color: var(--ff-ink);
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    text-decoration: none;
}

.ff-nav-links {
    display: none;
    align-items: center;
    gap: 1.25rem;
}

.ff-nav-links a {
    color: var(--ff-muted);
    text-decoration: none;
    font-size: 0.92rem;
    font-weight: 600;
}

.ff-nav-links a:hover,
.ff-nav-links a[aria-current="page"] {
    color: var(--ff-ink);
}

.ff-nav-mobile {
    display: flex;
    align-items: center;
    gap: 0.7rem;
}

.ff-nav-mobile a:not(.ff-btn) {
    color: var(--ff-muted);
    text-decoration: none;
    font-size: 0.82rem;
    font-weight: 700;
}

.ff-nav-mobile a:not(.ff-btn)[aria-current="page"] {
    color: var(--ff-ink);
}

.ff-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    border-radius: 999px;
    padding: 0.85rem 1.35rem;
    font-weight: 700;
    text-decoration: none;
    border: 1.5px solid transparent;
    line-height: 1.2;
}

.ff-btn-primary {
    background: var(--ff-accent);
    color: #fff;
}

.ff-btn-primary:hover {
    color: #fff;
    background: var(--ff-accent-2);
}

.ff-btn-ghost {
    background: transparent;
    color: var(--ff-ink);
    border-color: var(--ff-line);
}

.ff-btn-ghost:hover {
    color: var(--ff-ink);
    border-color: var(--ff-ink);
}

.ff-btn-on-dark {
    background: linear-gradient(135deg, #6EA8FE 0%, #9B8AFB 100%);
    color: #ffffff;
}

.ff-btn-on-dark-ghost {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    border-color: rgba(255, 255, 255, 0.7);
}

.ff-hero {
    background: var(--ff-hero);
    color: #fff;
    padding: 4.2rem 0 4.6rem;
}

.ff-kicker {
    display: inline-block;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--ff-accent);
    margin-bottom: 0.85rem;
}

.ff-hero .ff-kicker {
    color: #17D4C2;
}

[data-flagship="instagram"] .ff-hero .ff-kicker {
    color: #17D4C2;
}

.ff-hero h1 {
    font-size: clamp(2.1rem, 4.4vw, 3.5rem);
    line-height: 1.08;
    font-weight: 700;
    max-width: 16ch;
    margin: 0 0 1rem;
}

.ff-hero-lead {
    font-size: 1.08rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.78);
    max-width: 38rem;
    margin: 0 0 1.6rem;
}

.ff-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.ff-hero-note {
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.62);
}

.ff-hero-note a {
    color: #fff;
    font-weight: 600;
}

.ff-section {
    padding: 4.5rem 0;
}

.ff-section-alt {
    background: var(--ff-card);
}

.ff-eyebrow {
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--ff-accent);
    margin-bottom: 0.6rem;
}

.ff-section h2 {
    font-size: clamp(1.7rem, 3vw, 2.35rem);
    line-height: 1.15;
    margin: 0 0 0.75rem;
}

.ff-lead {
    color: var(--ff-muted);
    font-size: 1.05rem;
    line-height: 1.7;
    max-width: 40rem;
}

.ff-grid-3,
.ff-grid-2,
.ff-grid-4 {
    display: grid;
    gap: 1.15rem;
}

.ff-grid-2 { grid-template-columns: 1fr; }
.ff-grid-3 { grid-template-columns: 1fr; }
.ff-grid-4 { grid-template-columns: 1fr; }

.ff-card {
    background: var(--ff-card);
    border: 1px solid var(--ff-line);
    border-radius: 18px;
    padding: 1.35rem 1.4rem;
}

.ff-card h3 {
    font-size: 1.15rem;
    margin: 0 0 0.45rem;
}

.ff-card p {
    color: var(--ff-muted);
    margin: 0;
    line-height: 1.6;
}

.ff-icon {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--ff-surface);
    color: var(--ff-accent);
    margin-bottom: 0.85rem;
}

.ff-calc {
    background: var(--ff-card);
    border: 1px solid var(--ff-line);
    border-radius: 22px;
    padding: 1.5rem;
}

.ff-calc label {
    display: block;
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--ff-muted);
    margin-bottom: 0.35rem;
}

.ff-calc input[type="range"] {
    width: 100%;
    accent-color: var(--ff-accent);
}

.ff-calc-row {
    margin-bottom: 1.1rem;
}

.ff-calc-value {
    font-weight: 800;
    color: var(--ff-ink);
}

.ff-calc-result {
    border-top: 1px solid var(--ff-line);
    padding-top: 1.1rem;
    margin-top: 0.4rem;
}

.ff-loss {
    font-family: var(--ff-display);
    font-size: clamp(1.8rem, 3vw, 2.4rem);
    color: var(--ff-danger);
    line-height: 1.1;
}

.ff-save {
    font-family: var(--ff-display);
    font-size: clamp(1.4rem, 2.5vw, 1.9rem);
    color: var(--ff-accent-2);
    line-height: 1.1;
}

.ff-steps {
    display: grid;
    gap: 1rem;
}

.ff-step {
    display: grid;
    grid-template-columns: 44px 1fr;
    gap: 0.9rem;
    align-items: start;
}

.ff-step-num {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--ff-ink);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
}

.ff-compare {
    width: 100%;
    border-collapse: collapse;
    background: var(--ff-card);
    border: 1px solid var(--ff-line);
    border-radius: 16px;
    overflow: visible;
}

.ff-compare th,
.ff-compare td {
    padding: 0.95rem 1rem;
    text-align: left;
    border-bottom: 1px solid var(--ff-line);
    vertical-align: top;
}

.ff-compare th {
    background: var(--ff-surface);
    font-size: 0.86rem;
}

.ff-compare tr:last-child td {
    border-bottom: 0;
}

.ff-compare-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    max-width: 100%;
    border: 1px solid var(--ff-line);
    border-radius: 16px;
    background: var(--ff-card);
}

.ff-compare-wrap .ff-compare {
    border: 0;
    border-radius: 0;
}

.ff-bad { color: var(--ff-danger); font-weight: 600; }
.ff-good { color: var(--ff-accent-2); font-weight: 600; }

.ff-proof {
    background: var(--ff-ink);
    color: #fff;
}

.ff-proof h2,
.ff-proof p { color: #fff; }
.ff-proof .ff-lead { color: rgba(255, 255, 255, 0.72); }
.ff-proof a { color: #fff; font-weight: 700; }

.ff-related a {
    display: block;
    padding: 0.95rem 1.1rem;
    border: 1px solid var(--ff-line);
    border-radius: 14px;
    text-decoration: none;
    color: var(--ff-ink);
    font-weight: 700;
    background: var(--ff-card);
}

.ff-related a:hover {
    border-color: var(--ff-accent);
}

.ff-faq details {
    background: var(--ff-card);
    border: 1px solid var(--ff-line);
    border-radius: 14px;
    padding: 0.95rem 1.1rem;
    margin-bottom: 0.7rem;
}

.ff-faq summary {
    cursor: pointer;
    font-weight: 700;
    list-style: none;
}

.ff-faq summary::-webkit-details-marker { display: none; }

.ff-faq details p {
    color: var(--ff-muted);
    margin: 0.75rem 0 0;
    line-height: 1.65;
}

.ff-cta {
    background: var(--ff-hero);
    color: #fff;
    text-align: center;
    padding: 4.2rem 0;
}

.ff-cta h2 {
    color: #fff;
    max-width: 18ch;
    margin: 0 auto 0.7rem;
}

.ff-cta p {
    color: rgba(255, 255, 255, 0.72);
    margin-bottom: 1.4rem;
}

.ff-footer {
    background: #06120F;
    color: #9BB0A8;
    padding: 2.6rem 0 6.5rem;
}

[data-flagship="instagram"] .ff-footer {
    background: #14060B;
    color: #C4A3AD;
}

.ff-footer a {
    color: #fff;
    text-decoration: none;
}

.ff-footer-grid {
    display: grid;
    gap: 1.5rem;
}

.ff-footer ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.ff-footer li { margin-bottom: 0.4rem; }
.ff-footer .ff-brand { color: #fff; }

/* Instagram phone mock */
.ff-phone {
    width: min(100%, 320px);
    margin: 0 auto;
    background: #111;
    border: 8px solid #2A2A2A;
    border-radius: 36px;
    overflow: hidden;
}

.ff-phone-bar {
    background: #000;
    color: #fff;
    font-size: 0.72rem;
    padding: 0.45rem 1rem 0.2rem;
    display: flex;
    justify-content: space-between;
}

.ff-ig {
    background: #fff;
    color: #111;
    padding: 0.85rem 0.95rem 1.1rem;
}

.ff-ig-top {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    margin-bottom: 0.85rem;
}

.ff-ig-avatar {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: #9F1239;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    border: 2px solid #E1306C;
}

.ff-ig-stats {
    display: flex;
    gap: 0.85rem;
    font-size: 0.78rem;
}

.ff-ig-stats strong { display: block; font-size: 0.95rem; }

.ff-ig-name { font-weight: 800; font-size: 0.92rem; margin-bottom: 0.15rem; }
.ff-ig-bio { font-size: 0.8rem; color: #444; line-height: 1.45; margin-bottom: 0.7rem; }

.ff-ig-link {
    display: block;
    text-align: center;
    background: #9F1239;
    color: #fff;
    font-weight: 800;
    font-size: 0.86rem;
    border-radius: 10px;
    padding: 0.65rem 0.7rem;
    text-decoration: none;
}

.ff-ig-link:hover { color: #fff; }

@media (max-width: 767px) {
    .ff-compare thead {
        display: none;
    }
    .ff-compare,
    .ff-compare tbody,
    .ff-compare tr,
    .ff-compare td {
        display: block;
        width: 100%;
    }
    .ff-compare tr {
        border-bottom: 1px solid var(--ff-line);
        padding: 0.75rem 0.2rem 0.9rem;
    }
    .ff-compare td {
        border-bottom: 0;
        padding: 0.2rem 0;
    }
    .ff-compare td:first-child {
        font-weight: 800;
        margin-bottom: 0.25rem;
    }
}

@media (min-width: 768px) {
    .ff-nav-links { display: flex; }
    .ff-nav-mobile { display: none; }
    .ff-grid-2 { grid-template-columns: 1fr 1fr; }
    .ff-grid-3 { grid-template-columns: 1fr 1fr 1fr; }
    .ff-grid-4 { grid-template-columns: 1fr 1fr; }
    .ff-footer-grid { grid-template-columns: 1.4fr 1fr 1fr; }
}

@media (min-width: 992px) {
    .ff-grid-4 { grid-template-columns: 1fr 1fr 1fr 1fr; }
    .ff-hero-split {
        display: grid;
        grid-template-columns: 1.1fr 0.9fr;
        gap: 2.5rem;
        align-items: center;
    }
}
