:root {
    --ink: #0d1714;
    --paper: #f5f8f4;
    --soft: #e8eee8;
    --muted: #66736c;
    --line: rgba(13, 23, 20, .14);
    --dark: #09110f;
    --green: #16c767;
    --green-dark: #098040;
    --amber: #ffb454;
    --white: #ffffff;
    --shadow: 0 22px 70px rgba(7, 18, 14, .16);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--ink);
    background: var(--paper);
    font-family: Inter, Arial, Helvetica, sans-serif;
}

a {
    color: inherit;
    text-decoration: none;
}

.skip-link {
    position: absolute;
    left: 12px;
    top: -60px;
    z-index: 30;
    padding: 10px 16px;
    border-radius: 8px;
    background: var(--dark);
    color: var(--white);
    font-weight: 700;
    transition: top .2s ease;
}

.skip-link:focus {
    top: 12px;
}

:focus-visible {
    outline: 2px solid var(--green);
    outline-offset: 2px;
}

button,
input,
select {
    font: inherit;
}

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 10;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 22px;
    padding: 18px clamp(18px, 4vw, 54px);
    color: var(--white);
    transition: background .25s ease, border-color .25s ease, padding .25s ease;
}

.site-header.is-scrolled {
    padding-block: 12px;
    background: rgba(9, 17, 15, .88);
    border-bottom: 1px solid rgba(255, 255, 255, .12);
    backdrop-filter: blur(16px);
}

/* Cabecera sólida permanente para páginas internas (fondo claro) */
.site-header--solid {
    background: rgba(9, 17, 15, .96);
    border-bottom: 1px solid rgba(255, 255, 255, .12);
    backdrop-filter: blur(16px);
}

.brand-mark {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    width: max-content;
    font-weight: 800;
}

.brand-symbol {
    display: inline-flex;
    flex: 0 0 40px;
    width: 40px;
    height: 40px;
}

.brand-symbol svg {
    display: block;
    width: 100%;
    height: 100%;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 24px;
    color: rgba(255, 255, 255, .76);
    font-size: 14px;
    font-weight: 600;
}

.nav-links a,
.header-action,
.primary-action,
.secondary-action,
.text-link,
.plan a {
    transition: transform .18s ease, color .18s ease, background .18s ease, border-color .18s ease;
}

.nav-links a:hover,
.text-link:hover {
    color: var(--green);
}

.lang-switch {
    padding: 4px 9px;
    border: 1px solid rgba(255, 255, 255, .3);
    border-radius: 6px;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .04em;
}

.lang-switch:hover {
    border-color: var(--green);
    color: var(--green);
}

.header-action {
    justify-self: end;
    padding: 10px 15px;
    border: 1px solid rgba(255, 255, 255, .28);
    border-radius: 8px;
    font-size: 14px;
    font-weight: 700;
}

.header-action:hover {
    transform: translateY(-1px);
    border-color: var(--green);
    background: rgba(22, 199, 103, .14);
}

.nav-toggle {
    display: none;
    justify-self: end;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    padding: 0 10px;
    border: 1px solid rgba(255, 255, 255, .28);
    border-radius: 8px;
    background: transparent;
    cursor: pointer;
}

.nav-toggle span {
    display: block;
    height: 2px;
    width: 100%;
    background: var(--white);
    border-radius: 2px;
    transition: transform .25s ease, opacity .2s ease;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

.hero {
    position: relative;
    min-height: 100svh;
    display: grid;
    grid-template-rows: 1fr auto;
    row-gap: 28px;
    padding: 84px 0 28px;
    overflow: hidden;
    color: var(--white);
    isolation: isolate;
}

.hero-image,
.hero-shade {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.hero-image {
    object-fit: cover;
    z-index: -2;
    transform: scale(1.02);
    animation: imageSettle 900ms ease forwards;
}

.hero-shade {
    z-index: -1;
    background:
        linear-gradient(90deg, rgba(5, 11, 10, .88) 0%, rgba(5, 11, 10, .62) 35%, rgba(5, 11, 10, .16) 72%),
        linear-gradient(0deg, rgba(5, 11, 10, .80) 0%, rgba(5, 11, 10, 0) 34%);
}

.hero-content {
    align-self: center;
    width: min(680px, calc(100% - 36px));
    margin-left: clamp(18px, 7vw, 96px);
    animation: heroIn 760ms ease 120ms both;
}

.eyebrow,
.section-kicker {
    display: inline-flex;
    margin: 0 0 14px;
    color: var(--green);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.hero h1 {
    margin: 0;
    font-size: clamp(32px, 4.4vw, 52px);
    line-height: 1.06;
    letter-spacing: -0.015em;
    max-width: 16ch;
}

.hero-line {
    max-width: 520px;
    margin: 22px 0 0;
    color: rgba(255, 255, 255, .84);
    font-size: clamp(17px, 1.9vw, 22px);
    line-height: 1.45;
    font-weight: 500;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 30px;
}

.primary-action,
.secondary-action {
    display: inline-flex;
    align-items: center;
    min-height: 48px;
    padding: 13px 18px;
    border-radius: 8px;
    font-weight: 800;
}

.primary-action {
    background: var(--green);
    color: #042015;
}

.secondary-action {
    border: 1px solid rgba(255, 255, 255, .26);
    color: var(--white);
}

.primary-action:hover,
.secondary-action:hover {
    transform: translateY(-2px);
}

.secondary-action:hover {
    border-color: var(--green);
}

.hero-status {
    align-self: end;
    justify-self: start;
    width: min(850px, calc(100% - clamp(36px, 14vw, 192px)));
    margin-left: clamp(18px, 7vw, 96px);
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1px;
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: 8px;
    overflow: hidden;
    background: rgba(9, 17, 15, .44);
    backdrop-filter: blur(14px);
    animation: heroIn 760ms ease 260ms both;
}

.hero-status span {
    display: grid;
    gap: 3px;
    padding: 14px 16px;
    color: rgba(255, 255, 255, .68);
    background: rgba(255, 255, 255, .04);
    font-size: 13px;
}

.hero-status strong {
    color: var(--white);
    font-size: 18px;
}

/* Conversación comercial animada sobre el hero */
.hero-chat {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
    pointer-events: none;
}

.hc-cluster {
    position: absolute;
    display: grid;
    gap: 10px;
    justify-items: start;
    width: min(280px, 24vw);
    transform-origin: top center;
}

/* Tres conversaciones a distinta profundidad (efecto multiagente) */
.hc-cluster.a { top: 18%; left: 48%; }

.hc-cluster.b {
    top: 13%;
    left: 31%;
    transform: scale(.82);
    opacity: .68;
    filter: blur(.5px);
}

.hc-cluster.c {
    top: 50%;
    left: 43%;
    transform: scale(.58);
    opacity: .42;
    filter: blur(1.5px);
}

.hc-cluster.b .hc { animation-delay: -4s; }
.hc-cluster.c .hc { animation-delay: -7.6s; }

.hero-chat .hc {
    max-width: 86%;
    padding: 11px 14px;
    border-radius: 16px 16px 16px 5px;
    background: rgba(255, 255, 255, .94);
    color: #15241d;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.32;
    box-shadow: 0 12px 34px rgba(0, 0, 0, .30);
    opacity: 0;
    will-change: transform, opacity;
    animation-duration: 11s;
    animation-timing-function: ease-in-out;
    animation-iteration-count: infinite;
}

.hero-chat .hc-out {
    justify-self: end;
    border-radius: 16px 16px 5px 16px;
    background: var(--green);
    color: #052014;
}

.hc-typing {
    display: inline-flex;
    gap: 5px;
    align-items: center;
    max-width: none;
}

.hc-typing .dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #7c8a82;
    animation: hcDot 1.1s ease-in-out infinite;
}

.hc-typing .dot:nth-child(2) { animation-delay: .15s; }
.hc-typing .dot:nth-child(3) { animation-delay: .30s; }

.hero-chat .b1 { animation-name: hcB1; }
.hero-chat .b2 { animation-name: hcType; }
.hero-chat .b3 { animation-name: hcB3; }
.hero-chat .b4 { animation-name: hcB4; }

@keyframes hcDot {
    0%, 100% { transform: translateY(0); opacity: .5; }
    50% { transform: translateY(-4px); opacity: 1; }
}

@keyframes hcB1 {
    0%, 4% { opacity: 0; transform: translateY(10px) scale(.96); }
    8%, 90% { opacity: 1; transform: none; }
    95%, 100% { opacity: 0; transform: translateY(-8px); }
}

@keyframes hcType {
    0%, 11% { opacity: 0; transform: translateY(8px) scale(.96); }
    14%, 24% { opacity: 1; transform: none; }
    27%, 100% { opacity: 0; }
}

@keyframes hcB3 {
    0%, 27% { opacity: 0; transform: translateY(10px) scale(.96); }
    31%, 90% { opacity: 1; transform: none; }
    95%, 100% { opacity: 0; transform: translateY(-8px); }
}

@keyframes hcB4 {
    0%, 41% { opacity: 0; transform: translateY(10px) scale(.96); }
    45%, 90% { opacity: 1; transform: none; }
    95%, 100% { opacity: 0; transform: translateY(-8px); }
}

@media (max-width: 900px) {
    .hero-chat { display: none; }
}

@media (prefers-reduced-motion: reduce) {
    .hero-chat .hc { opacity: 1 !important; transform: none !important; animation: none !important; }
    .hero-chat .b2 { display: none !important; }
}

.intro-band,
.workflow,
.features,
.use-cases,
.plans,
.contact {
    width: min(1180px, calc(100% - 36px));
    margin-inline: auto;
}

.intro-band {
    display: grid;
    padding: 76px 0 68px;
    border-bottom: 1px solid var(--line);
}

.intro-band h2 {
    max-width: 1040px;
}

.intro-band h2,
.section-copy h2,
.features h2,
.use-cases h2,
.plans h2,
.plans-head h2,
.contact h2 {
    margin: 0;
    font-size: clamp(25px, 3vw, 38px);
    line-height: 1.12;
    letter-spacing: -0.015em;
}

/* La frase de apertura (intro) puede ser algo mayor, sigue en escala */
.intro-band h2 {
    font-size: clamp(27px, 3.4vw, 44px);
}

.intro-band p,
.section-copy p,
.contact-copy p {
    margin: 34px 0 0;
    color: var(--muted);
    font-size: 18px;
    line-height: 1.6;
}

.contact-copy .disclaimer {
    max-width: 620px;
    margin-top: 20px;
    padding-top: 18px;
    border-top: 1px solid var(--line);
    font-size: 14px;
    line-height: 1.5;
}

.workflow {
    display: grid;
    grid-template-columns: minmax(0, .9fr) minmax(310px, 1.1fr);
    gap: clamp(34px, 8vw, 110px);
    align-items: center;
    padding: 86px 0;
}

.section-copy {
    max-width: 520px;
}

.text-link {
    display: inline-flex;
    margin-top: 28px;
    color: var(--green-dark);
    font-weight: 800;
}

.phone-stage {
    position: sticky;
    top: 92px;
    min-height: 620px;
    display: grid;
    place-items: center;
    background:
        linear-gradient(135deg, rgba(22, 199, 103, .12), rgba(255, 180, 84, .14)),
        #edf3ee;
    border-radius: 8px;
    overflow: hidden;
}

.phone {
    width: min(330px, 78vw);
    min-height: 560px;
    padding: 14px;
    border-radius: 30px;
    background: #111b18;
    box-shadow: var(--shadow);
    transform: rotate(-2deg);
}

.phone-top {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 13px 13px 15px;
    color: var(--white);
}

.phone-top span {
    width: 36px;
    aspect-ratio: 1;
    border-radius: 8px;
    background: var(--green);
}

.chat {
    display: grid;
    align-content: end;
    gap: 12px;
    min-height: 410px;
    padding: 18px;
    border-radius: 22px;
    background: #e9eee9;
}

.bubble {
    width: fit-content;
    max-width: 88%;
    margin: 0;
    padding: 12px 13px;
    border-radius: 8px;
    color: #22312c;
    background: var(--white);
    font-size: 14px;
    line-height: 1.38;
    box-shadow: 0 6px 18px rgba(15, 23, 42, .08);
}

.bubble.user {
    justify-self: end;
    background: #d5f7df;
}

.bubble.active {
    background: var(--green);
    color: #052014;
    animation: pulseBubble 2.4s ease infinite;
}

.phone-input {
    margin-top: 12px;
    padding: 13px 14px;
    border-radius: 8px;
    background: rgba(255, 255, 255, .10);
    color: rgba(255, 255, 255, .70);
    font-size: 13px;
}

.features {
    padding: 86px 0;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.features h2 {
    max-width: 840px;
}

.feature-grid,
.plan-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin-top: 42px;
}

.feature,
.plan {
    min-height: 244px;
    padding: 24px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: rgba(255, 255, 255, .52);
}

.feature-icon {
    display: inline-flex;
    margin-bottom: 46px;
    color: var(--green-dark);
    font-size: 12px;
    font-weight: 900;
}

.feature h3,
.plan h3 {
    margin: 0 0 10px;
    font-size: 23px;
}

.feature p,
.plan p {
    margin: 0;
    color: var(--muted);
    line-height: 1.55;
}

.use-cases {
    display: grid;
    grid-template-columns: minmax(0, .9fr) minmax(300px, 1fr);
    gap: clamp(30px, 7vw, 94px);
    padding: 86px 0;
}

.case-list {
    display: grid;
    border-top: 1px solid var(--line);
}

.case-list div {
    display: grid;
    grid-template-columns: 150px 1fr;
    gap: 22px;
    padding: 24px 0;
    border-bottom: 1px solid var(--line);
}

.case-list strong {
    font-size: 18px;
}

.case-list span {
    color: var(--muted);
    line-height: 1.5;
}

.plans {
    padding: 86px 0;
}

.plans-head {
    max-width: 720px;
}

.plan {
    display: grid;
    align-content: start;
    gap: 18px;
    background: var(--white);
}

.plan strong {
    margin-top: 16px;
    font-size: 34px;
    line-height: 1;
}

.plan a {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    min-height: 46px;
    margin-top: 18px;
    border-radius: 8px;
    background: var(--dark);
    color: var(--white);
    font-weight: 800;
}

.plan.featured {
    background: var(--dark);
    color: var(--white);
    transform: translateY(-16px);
}

.plan.featured p {
    color: rgba(255, 255, 255, .68);
}

.plan.featured a {
    background: var(--green);
    color: #052014;
}

.plan a:hover {
    transform: translateY(-2px);
}

.contact {
    display: grid;
    grid-template-columns: minmax(0, .9fr) minmax(320px, .7fr);
    gap: clamp(30px, 7vw, 92px);
    align-items: start;
    padding: 86px 0;
    border-top: 1px solid var(--line);
}

.contact-form {
    display: grid;
    gap: 16px;
    padding: 22px;
    border-radius: 8px;
    background: var(--dark);
    color: var(--white);
    box-shadow: var(--shadow);
}

.contact-form label {
    display: grid;
    gap: 8px;
    color: rgba(255, 255, 255, .72);
    font-size: 13px;
    font-weight: 700;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: 8px;
    background: rgba(255, 255, 255, .08);
    color: var(--white);
}

.contact-form input,
.contact-form select {
    height: 48px;
    min-height: 48px;
    padding: 0 13px;
    line-height: 48px;
}

.contact-form select {
    appearance: none;
    background-image:
        linear-gradient(45deg, transparent 50%, rgba(255, 255, 255, .72) 50%),
        linear-gradient(135deg, rgba(255, 255, 255, .72) 50%, transparent 50%);
    background-position:
        calc(100% - 18px) 20px,
        calc(100% - 13px) 20px;
    background-size: 5px 5px, 5px 5px;
    background-repeat: no-repeat;
    padding-right: 38px;
}

.contact-form textarea {
    min-height: 108px;
    resize: vertical;
    padding: 13px;
    line-height: 1.45;
}

.contact-form .optional {
    color: rgba(255, 255, 255, .45);
    font-weight: 500;
}

.contact-form label.consent {
    grid-template-columns: auto 1fr;
    align-items: start;
    gap: 10px;
    color: rgba(255, 255, 255, .72);
    font-size: 13px;
    font-weight: 500;
    line-height: 1.45;
}

.contact-form label.consent input {
    width: 18px;
    height: 18px;
    min-height: 0;
    margin-top: 1px;
    accent-color: var(--green);
}

.contact-form label.consent a {
    color: var(--green);
    text-decoration: underline;
}

.contact-form input::placeholder {
    color: rgba(255, 255, 255, .45);
}

.contact-form textarea::placeholder {
    color: rgba(255, 255, 255, .45);
}

.contact-form select option {
    color: var(--ink);
}

.contact-form button {
    min-height: 50px;
    border: 0;
    border-radius: 8px;
    background: var(--green);
    color: #052014;
    font-weight: 900;
    cursor: pointer;
    transition: transform .18s ease, background .18s ease;
}

.contact-form button:hover {
    transform: translateY(-2px);
    background: #35de80;
}

.website-field {
    position: absolute;
    left: -9999px;
    opacity: 0;
}

.form-status {
    min-height: 20px;
    margin: 0;
    color: rgba(255, 255, 255, .72);
    font-size: 13px;
    line-height: 1.45;
}

.form-status.is-error {
    color: #ffb4a8;
}

.legal {
    width: min(760px, calc(100% - 36px));
    margin: 0 auto;
    padding: 120px 0 80px;
}

.legal h1 {
    margin: 6px 0 0;
    font-size: clamp(28px, 3.8vw, 44px);
    line-height: 1.06;
    letter-spacing: -0.015em;
}

.legal-meta {
    margin: 14px 0 30px;
    color: var(--muted);
    font-size: 14px;
}

.legal h2 {
    margin: 34px 0 10px;
    font-size: 22px;
}

.legal p,
.legal li {
    color: #33403a;
    font-size: 16px;
    line-height: 1.65;
}

.legal ul {
    margin: 0 0 10px;
    padding-left: 20px;
}

.legal a {
    color: var(--green-dark);
    text-decoration: underline;
}

.legal .todo {
    padding: 1px 6px;
    border-radius: 4px;
    background: #fff2d6;
    color: #7a5200;
    font-size: 14px;
}

.legal-back {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid var(--line);
}

.site-footer {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding: 28px clamp(18px, 4vw, 54px);
    color: rgba(255, 255, 255, .68);
    background: var(--dark);
    font-size: 14px;
}

.site-footer a {
    color: rgba(255, 255, 255, .9);
    text-decoration: underline;
}

.site-footer span:first-child {
    color: var(--white);
    font-weight: 800;
}

.reveal {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity .55s ease, transform .55s ease;
}

.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

@keyframes heroIn {
    from {
        opacity: 0;
        transform: translateY(22px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes imageSettle {
    to {
        transform: scale(1);
    }
}

@keyframes pulseBubble {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-4px);
    }
}

@media (max-width: 900px) {
    .site-header {
        grid-template-columns: 1fr auto auto;
    }

    .nav-toggle {
        display: flex;
    }

    .site-header .header-action {
        display: none;
    }

    .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 8px clamp(14px, 4vw, 54px) 16px;
        background: rgba(9, 17, 15, .96);
        border-bottom: 1px solid rgba(255, 255, 255, .12);
        backdrop-filter: blur(16px);
        color: var(--white);
        font-size: 16px;
        transform: translateY(-8px);
        opacity: 0;
        visibility: hidden;
        transition: opacity .2s ease, transform .2s ease, visibility .2s ease;
    }

    .nav-links.is-open {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    .nav-links a {
        padding: 14px 4px;
        border-bottom: 1px solid rgba(255, 255, 255, .08);
    }

    .hero {
        min-height: auto;
        padding: 96px 0 28px;
    }

    .hero-image {
        object-position: 62% center;
    }

    .hero-shade {
        background:
            linear-gradient(90deg, rgba(5, 11, 10, .86) 0%, rgba(5, 11, 10, .50) 52%, rgba(5, 11, 10, .18) 100%),
            linear-gradient(0deg, rgba(5, 11, 10, .84) 0%, rgba(5, 11, 10, 0) 40%);
    }

    .hero-content {
        margin-inline: 18px;
    }

    .hero-status,
    .intro-band,
    .workflow,
    .use-cases,
    .contact {
        grid-template-columns: 1fr;
    }

    .hero-status {
        justify-self: stretch;
        width: calc(100% - 36px);
        margin: 0 auto;
    }

    .phone-stage {
        position: relative;
        top: auto;
        min-height: 520px;
    }

    .feature-grid,
    .plan-grid {
        grid-template-columns: 1fr;
    }

    .plan.featured {
        transform: none;
    }
}

@media (max-width: 560px) {
    .site-header {
        padding-inline: 14px;
    }

    .brand-mark span:last-child {
        display: none;
    }

    .header-action {
        padding-inline: 12px;
    }

    .hero-image {
        object-position: 72% center;
    }

    .hero h1 {
        font-size: clamp(32px, 8.4vw, 44px);
        max-width: none;
    }

    .hero-line {
        max-width: 340px;
        font-size: 17px;
    }

    .hero-status {
        grid-template-columns: 1fr;
    }

    .intro-band,
    .workflow,
    .features,
    .use-cases,
    .plans,
    .contact {
        padding-block: 58px;
    }

    .intro-band h2,
    .section-copy h2,
    .features h2,
    .use-cases h2,
    .plans h2,
    .plans-head h2,
    .contact h2 {
        font-size: 26px;
    }

    .intro-band h2 {
        font-size: 28px;
    }

    .case-list div {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .site-footer {
        display: grid;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
    }
}

/* ---- Reposicionamiento: componentes nuevos ---- */
.section-lead {
    max-width: 760px;
    margin: 18px 0 0;
    color: var(--muted);
    font-size: 18px;
    line-height: 1.6;
}

.plans-head .section-lead {
    margin-top: 16px;
}

/* Problema */
.problem-grid .feature {
    min-height: 0;
}

.problem-grid .feature h3 {
    margin-bottom: 8px;
    font-size: 20px;
}

/* Modalidades */
.modes {
    width: min(1180px, calc(100% - 36px));
    margin-inline: auto;
    padding: 86px 0;
    border-top: 1px solid var(--line);
}

.mode-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    margin-top: 42px;
    align-items: start;
}

.mode {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 26px 24px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: rgba(255, 255, 255, .55);
}

.mode.featured {
    background: var(--dark);
    color: var(--white);
    border-color: transparent;
}

.mode.featured .mode-for {
    color: rgba(255, 255, 255, .7);
}

.mode-tag {
    align-self: flex-start;
    padding: 4px 10px;
    border-radius: 999px;
    background: var(--green);
    color: #042015;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.mode h3 {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    margin: 0;
    font-size: 22px;
}

.mode-badge {
    padding: 3px 8px;
    border-radius: 6px;
    background: rgba(22, 199, 103, .16);
    color: var(--green-dark);
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .04em;
}

.mode.featured .mode-badge {
    background: var(--green);
    color: #042015;
}

.mode-badge.nonofficial {
    background: rgba(255, 180, 84, .2);
    color: #8a5a12;
}

.mode-for {
    margin: 0;
    color: var(--muted);
    font-weight: 600;
    line-height: 1.45;
}

.mode-list {
    margin: 6px 0 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 9px;
}

.mode-list li {
    position: relative;
    padding-left: 26px;
    font-size: 14.5px;
    line-height: 1.45;
}

.mode-list li::before {
    position: absolute;
    left: 0;
    top: 0;
    font-weight: 800;
}

.mode-list li.ok::before {
    content: "✓";
    color: var(--green-dark);
}

.mode.featured .mode-list li.ok::before {
    color: var(--green);
}

.mode-list li.warn::before {
    content: "!";
    color: var(--amber);
}

.modes-note {
    max-width: 820px;
    margin: 28px 0 0;
    color: var(--muted);
    font-size: 15px;
    line-height: 1.6;
}

/* Cómo funciona */
.workflow-steps {
    width: min(1180px, calc(100% - 36px));
    margin-inline: auto;
    padding: 86px 0;
    border-top: 1px solid var(--line);
}

.steps {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px 40px;
    margin: 42px 0 0;
    padding: 0;
    list-style: none;
    counter-reset: step;
}

.steps li {
    display: grid;
    grid-template-columns: 44px 1fr;
    gap: 16px;
    align-items: start;
    padding: 16px 0;
    border-bottom: 1px solid var(--line);
}

.steps li span {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: var(--dark);
    color: var(--white);
    font-weight: 800;
}

.steps li strong {
    font-size: 18px;
}

.steps li p {
    margin: 4px 0 0;
    color: var(--muted);
    line-height: 1.5;
}

/* FAQ */
.faq {
    width: min(860px, calc(100% - 36px));
    margin-inline: auto;
    padding: 86px 0;
    border-top: 1px solid var(--line);
}

.faq-list {
    margin-top: 34px;
    border-top: 1px solid var(--line);
}

.faq-list details {
    border-bottom: 1px solid var(--line);
}

.faq-list summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    padding: 20px 0;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    list-style: none;
}

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

.faq-list summary::after {
    content: "+";
    color: var(--green-dark);
    font-size: 24px;
    font-weight: 700;
    transition: transform .2s ease;
}

.faq-list details[open] summary::after {
    content: "–";
}

.faq-list details p {
    margin: 0 0 20px;
    color: var(--muted);
    font-size: 16px;
    line-height: 1.6;
}

/* ---- Páginas internas ---- */
.breadcrumb {
    width: min(1180px, calc(100% - 36px));
    margin: 96px auto 0;
    color: var(--muted);
    font-size: 13px;
}

.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--green-dark); }
.breadcrumb span { margin: 0 6px; }
.breadcrumb [aria-current] { color: var(--ink); font-weight: 600; }

.page-hero {
    width: min(1180px, calc(100% - 36px));
    margin: 30px auto 0;
    padding: 40px 0 8px;
}

.breadcrumb + .page-hero { margin-top: 14px; }

.page-hero h1 {
    margin: 8px 0 0;
    font-size: clamp(28px, 3.8vw, 46px);
    line-height: 1.06;
    letter-spacing: -0.015em;
    max-width: 20ch;
}

.page-hero .lead {
    max-width: 680px;
    margin: 20px 0 0;
    color: var(--muted);
    font-size: clamp(17px, 2.2vw, 20px);
    line-height: 1.55;
}

.page-hero .hero-actions { margin-top: 26px; }

.page-hero .primary-action { background: var(--green); color: #042015; }
.page-hero .secondary-action { border: 1px solid var(--line); color: var(--ink); }

.section-block {
    width: min(1180px, calc(100% - 36px));
    margin-inline: auto;
    padding: 66px 0;
    border-top: 1px solid var(--line);
}

.section-block h2 {
    margin: 0;
    font-size: clamp(23px, 2.8vw, 34px);
    line-height: 1.12;
    letter-spacing: -0.015em;
}

.section-block > p {
    max-width: 760px;
    margin: 16px 0 0;
    color: var(--muted);
    font-size: 17px;
    line-height: 1.6;
}

.cta-band {
    width: min(1180px, calc(100% - 36px));
    margin: 0 auto;
    padding: 66px 0 86px;
}

.cta-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 40px clamp(24px, 4vw, 52px);
    border-radius: 12px;
    background: var(--dark);
    color: var(--white);
}

.cta-inner h2 {
    margin: 0;
    font-size: clamp(24px, 3vw, 34px);
    line-height: 1.1;
    max-width: 18ch;
}

.cta-inner .primary-action { background: var(--green); color: #042015; }

/* Footer enriquecido */
.site-footer--rich {
    display: block;
    padding: 56px clamp(18px, 4vw, 54px) 30px;
}

.footer-cols {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr 1fr;
    gap: 32px;
    max-width: 1180px;
    margin: 0 auto;
}

.footer-brand p {
    margin: 14px 0 0;
    max-width: 320px;
    color: rgba(255, 255, 255, .6);
    line-height: 1.55;
    font-size: 14px;
}

.footer-brand .brand-mark { color: var(--white); }

.footer-nav { display: grid; align-content: start; gap: 10px; }
.footer-nav h2 {
    margin: 0 0 4px;
    color: var(--white);
    font-size: 13px;
    letter-spacing: .06em;
    text-transform: uppercase;
}
.footer-nav a { color: rgba(255, 255, 255, .7); font-size: 14px; }
.footer-nav a:hover { color: var(--green); }

.footer-legal {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    max-width: 1180px;
    margin: 40px auto 0;
    padding-top: 22px;
    border-top: 1px solid rgba(255, 255, 255, .12);
    color: rgba(255, 255, 255, .55);
    font-size: 13px;
}

@media (max-width: 900px) {
    .mode-grid {
        grid-template-columns: 1fr;
    }
    .steps {
        grid-template-columns: 1fr;
        gap: 0;
    }
    .footer-cols { grid-template-columns: 1fr 1fr; }
    .footer-brand { grid-column: 1 / -1; }
    .cta-inner { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 560px) {
    .footer-cols { grid-template-columns: 1fr; }
    .footer-legal { flex-direction: column; }
}

@media (max-width: 560px) {
    .modes,
    .workflow-steps,
    .faq {
        padding-block: 58px;
    }
    .section-lead {
        font-size: 16px;
    }
}
