:root {
    --ink: #081e2c;
    --ink-soft: #102c3d;
    --paper: #fffaf3;
    --cream: #f5ecdc;
    --white: #ffffff;
    --text: #102a3a;
    --muted: #66747c;
    --coral: #ff705f;
    --coral-dark: #e94f42;
    --teal: #25b8a8;
    --lime: #cfe76b;
    --sky: #bde6ef;
    --line: rgba(8, 30, 44, 0.13);
    --line-light: rgba(255, 255, 255, 0.14);
    --display: 'Outfit', sans-serif;
    --body: 'DM Sans', sans-serif;
    --container: 1180px;
    --header-h: 72px;
    --shadow: 0 24px 70px rgba(8, 30, 44, 0.14);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    margin: 0;
    color: var(--text);
    background: var(--paper);
    font-family: var(--body);
    -webkit-font-smoothing: antialiased;
}

body::before {
    content: '';
    position: fixed;
    inset: 0;
    z-index: 90;
    opacity: 0.035;
    pointer-events: none;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.8'/%3E%3C/svg%3E");
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button { border: 0; cursor: pointer; }

:focus-visible {
    outline: 3px solid var(--lime);
    outline-offset: 4px;
}

.container {
    width: min(var(--container), calc(100% - 48px));
    margin-inline: auto;
}

.site-header {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 40;
    color: var(--white);
    border-bottom: 1px solid var(--line-light);
}

.header-row {
    min-height: var(--header-h);
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 28px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 11px;
    font: 700 1rem/1 var(--display);
    letter-spacing: -0.025em;
}

.brand img {
    width: 38px;
    height: 38px;
    border-radius: 11px;
}

.main-nav {
    justify-self: center;
    display: flex;
    align-items: center;
    gap: 8px;
}

.main-nav a {
    padding: 10px 13px;
    border-radius: 999px;
    color: rgba(255, 255, 255, 0.68);
    font-size: 0.9rem;
    font-weight: 600;
    transition: color 180ms ease, background 180ms ease;
}

.main-nav a:hover {
    color: var(--white);
    background: rgba(255, 255, 255, 0.08);
}

.header-actions { display: flex; align-items: center; gap: 9px; }
.menu-toggle { display: none; }

.btn {
    display: inline-flex;
    min-height: 46px;
    padding: 0 20px;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    font-weight: 700;
    letter-spacing: -0.01em;
    transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

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

.btn-primary {
    color: #27100c;
    background: var(--coral);
    box-shadow: 0 12px 30px rgba(255, 112, 95, 0.22);
}

.btn-primary:hover { background: #ff8577; }

.btn-secondary {
    color: var(--text);
    background: var(--white);
    border: 1px solid var(--line);
}

.btn-ghost {
    color: rgba(255, 255, 255, 0.84);
    border: 1px solid rgba(255, 255, 255, 0.28);
    background: rgba(255, 255, 255, 0.04);
}

.btn-large { min-height: 56px; padding-inline: 27px; }

.hero {
    position: relative;
    min-height: 920px;
    padding: 142px 0 132px;
    overflow: hidden;
    color: var(--white);
    background: var(--ink);
}

.hero-noise {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 10% 95%, rgba(37, 184, 168, 0.18), transparent 27%),
        radial-gradient(circle at 84% 8%, rgba(255, 112, 95, 0.16), transparent 28%),
        linear-gradient(140deg, #081e2c 0%, #0a2636 58%, #102f3c 100%);
}

.hero-orbit {
    position: absolute;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 50%;
    pointer-events: none;
}

.hero-orbit-one { width: 610px; height: 610px; right: -170px; top: 30px; }
.hero-orbit-two { width: 340px; height: 340px; right: -35px; top: 165px; }

.hero-layout {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 0.86fr) minmax(540px, 1.14fr);
    align-items: center;
    gap: 60px;
}

.hero-copy { position: relative; z-index: 2; }

.hero-copy > * {
    opacity: 0;
    animation: hero-rise 700ms cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.hero-copy > :nth-child(2) { animation-delay: 80ms; }
.hero-copy > :nth-child(3) { animation-delay: 160ms; }
.hero-copy > :nth-child(4) { animation-delay: 240ms; }
.hero-copy > :nth-child(5) { animation-delay: 320ms; }
.hero-copy > :nth-child(6) { animation-delay: 400ms; }

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

.eyebrow {
    display: inline-flex;
    margin: 0 0 18px;
    align-items: center;
    gap: 10px;
    color: var(--coral-dark);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.eyebrow::before {
    content: '';
    width: 27px;
    height: 2px;
    background: currentColor;
}

.hero .eyebrow, .section-dark .eyebrow, .cta-shell .eyebrow { color: var(--coral); }

.hero-copy h1,
.section-heading h2,
.compare-copy h2,
.cta-copy h2,
.modal-header h2 {
    margin: 0;
    font-family: var(--display);
    font-weight: 700;
    letter-spacing: -0.052em;
}

.hero-copy h1 {
    max-width: 9.3ch;
    font-size: clamp(4rem, 6.1vw, 6rem);
    line-height: 0.9;
}

.hero-copy h1 span {
    color: var(--coral);
    font-weight: 500;
}

.hero-lead {
    max-width: 570px;
    margin: 28px 0 0;
    color: rgba(255, 255, 255, 0.72);
    font-size: 1.08rem;
    line-height: 1.75;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 34px 0 25px; }
.hero .btn-secondary { color: var(--white); background: rgba(255, 255, 255, 0.06); border-color: rgba(255, 255, 255, 0.23); }

.hero-proof { display: flex; align-items: center; gap: 14px; }
.hero-proof p { max-width: 260px; margin: 0; color: rgba(255, 255, 255, 0.58); font-size: 0.82rem; line-height: 1.45; }
.hero-proof strong { color: var(--white); }
.proof-avatars { display: flex; padding-left: 7px; }
.proof-avatars span {
    width: 35px;
    height: 35px;
    margin-left: -7px;
    display: grid;
    place-items: center;
    border: 2px solid var(--ink);
    border-radius: 50%;
    color: var(--ink);
    background: var(--sky);
    font-size: 0.62rem;
    font-weight: 800;
}
.proof-avatars span:nth-child(2) { background: var(--lime); }
.proof-avatars span:nth-child(3) { background: var(--coral); }
.proof-avatars span:nth-child(4) { color: var(--white); background: var(--ink-soft); }

.hero-kickers {
    position: absolute;
    left: 0;
    bottom: -93px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    width: calc(100vw - max(48px, (100vw - var(--container)) / 2) * 2);
    max-width: var(--container);
    border-top: 1px solid var(--line-light);
}

.hero-kickers div { padding: 20px 26px 0 0; }
.hero-kickers div + div { padding-left: 26px; border-left: 1px solid var(--line-light); }
.hero-kickers strong { display: block; margin-bottom: 5px; color: var(--white); font: 600 0.86rem/1.3 var(--display); }
.hero-kickers span { color: rgba(255, 255, 255, 0.48); font-size: 0.76rem; line-height: 1.45; }

.hero-visual { position: relative; min-height: 600px; perspective: 1400px; }

.dashboard-shell {
    position: absolute;
    inset: 12px -90px 12px 0;
    padding: 14px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.07);
    box-shadow: 0 45px 100px rgba(0, 0, 0, 0.32);
    transform: rotateY(-4deg) rotateX(1deg);
    backdrop-filter: blur(8px);
    animation: dashboard-enter 900ms 180ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes dashboard-enter {
    from { opacity: 0; transform: translateX(55px) rotateY(-4deg) rotateX(1deg); }
    to { opacity: 1; transform: translateX(0) rotateY(-4deg) rotateX(1deg); }
}

.dashboard-topbar { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 12px; }
.state-pill, .tag-row span, .role-chip, .matrix-tag {
    display: inline-flex;
    min-height: 29px;
    padding: 0 11px;
    align-items: center;
    border-radius: 999px;
    font-size: 0.7rem;
    font-weight: 700;
}
.is-live { color: #b7f7e9; background: rgba(37, 184, 168, 0.15); border: 1px solid rgba(37, 184, 168, 0.3); }
.tag-row { display: flex; gap: 6px; }
.tag-row span { color: rgba(255, 255, 255, 0.66); border: 1px solid var(--line-light); }

.dashboard-product {
    min-height: 534px;
    padding: 22px;
    display: grid;
    gap: 16px;
    border-radius: 14px;
    color: #d8e3e8;
    background: linear-gradient(160deg, #132f3f, #0b202e 72%);
    border: 1px solid rgba(255, 255, 255, 0.09);
}

.product-header, .panel-title-row, .summary-list li { display: flex; justify-content: space-between; gap: 16px; align-items: flex-start; }
.product-header strong, .panel-title-row strong, .summary-panel > strong { display: block; color: var(--white); font: 600 1.02rem/1.2 var(--display); }
.product-header div > span, .panel-title-row div > span, .summary-panel > span { display: block; margin-top: 5px; color: rgba(255, 255, 255, 0.5); font-size: 0.74rem; }
.product-badge { padding: 8px 12px; border-radius: 6px; color: var(--ink) !important; background: var(--lime); font-size: 0.72rem; font-weight: 800; }

.product-toolbar { display: grid; gap: 12px; }
.finance-tabs { display: flex; gap: 18px; border-bottom: 1px solid rgba(255, 255, 255, 0.1); }
.finance-tabs span { padding-bottom: 9px; color: rgba(255, 255, 255, 0.45); font-size: 0.72rem; font-weight: 600; }
.finance-tabs .is-active { color: var(--white); border-bottom: 2px solid var(--coral); }
.finance-select { width: fit-content; padding: 9px 11px; color: rgba(255, 255, 255, 0.75); border-radius: 6px; background: rgba(255, 255, 255, 0.06); font-size: 0.72rem; }

.product-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 9px; }
.product-stats article, .finance-panel, .summary-boxes div { border: 1px solid rgba(255, 255, 255, 0.09); background: rgba(255, 255, 255, 0.035); }
.product-stats article { padding: 13px; border-radius: 8px; }
.product-stats label, .summary-boxes label { display: block; margin-bottom: 9px; color: rgba(255, 255, 255, 0.45); font-size: 0.62rem; text-transform: uppercase; }
.product-stats strong { color: var(--white); font: 600 1.05rem/1 var(--display); }
.product-stats .positive strong { color: #82e4c4; }
.product-stats .warning strong { color: #ff9488; }
.product-stats .accent strong { color: #f6dd73; }

.finance-panels { display: grid; grid-template-columns: 1.35fr 0.9fr; gap: 9px; }
.finance-panel { padding: 14px; border-radius: 9px; }
.panel-meta { color: var(--lime); font-size: 0.65rem; }
.chart-bars { height: 155px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; align-items: end; }
.bar-group { height: 100%; display: flex; justify-content: center; align-items: end; gap: 5px; background: linear-gradient(to top, rgba(255, 255, 255, 0.025), transparent); }
.bar { width: 9px; display: block; border-radius: 3px 3px 0 0; }
.bar.muted { background: #506574; } .bar.teal { background: var(--teal); } .bar.coral { background: var(--coral); }
.bar.tiny { height: 22px; } .bar.small { height: 39px; } .bar.medium { height: 68px; } .bar.large { height: 106px; } .bar.tall { height: 137px; }
.summary-boxes { display: grid; grid-template-columns: 1fr 1fr; gap: 7px; margin-top: 14px; }
.summary-boxes div { padding: 11px; border-radius: 7px; }
.summary-boxes strong, .summary-list strong { color: var(--white); font-size: 0.88rem; }
.summary-list { display: grid; gap: 10px; margin: 13px 0 0; padding: 0; list-style: none; }
.summary-list li { padding-top: 10px; color: rgba(255, 255, 255, 0.48); border-top: 1px solid rgba(255, 255, 255, 0.08); font-size: 0.68rem; }

.floating-panel {
    position: absolute;
    z-index: 3;
    width: 196px;
    padding: 16px;
    color: var(--ink);
    border-radius: 12px;
    background: var(--cream);
    box-shadow: 0 20px 55px rgba(0, 0, 0, 0.25);
    animation: float 5s ease-in-out infinite;
}
.panel-label { display: block; margin-bottom: 7px; color: var(--coral-dark); font-size: 0.64rem; font-weight: 800; letter-spacing: 0.13em; text-transform: uppercase; }
.floating-panel strong { font: 600 0.82rem/1.4 var(--display); }
.fp-left { left: -34px; top: -14px; }
.fp-right { right: -62px; bottom: -8px; background: var(--lime); animation-delay: -2.5s; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }

.metrics-band { position: relative; z-index: 4; margin-top: -44px; }
.metrics-grid { display: grid; grid-template-columns: repeat(4, 1fr); background: var(--cream); border: 1px solid rgba(8, 30, 44, 0.08); box-shadow: var(--shadow); }
.metrics-grid article { min-height: 154px; padding: 27px; }
.metrics-grid article + article { border-left: 1px solid rgba(8, 30, 44, 0.1); }
.metrics-grid strong { display: block; margin-bottom: 9px; font: 700 1rem/1.2 var(--display); }
.metrics-grid p { margin: 0; color: var(--muted); font-size: 0.85rem; line-height: 1.6; }

.section { position: relative; padding: 130px 0; }
.section-index { margin-bottom: 30px; padding-bottom: 11px; color: #839098; border-bottom: 1px solid var(--line); font-size: 0.65rem; font-weight: 700; letter-spacing: 0.16em; }
.section-heading { max-width: 850px; margin-bottom: 52px; }
.section-heading h2, .compare-copy h2 { font-size: clamp(2.7rem, 4.7vw, 4.7rem); line-height: 0.98; }
.section-heading > p:last-child { max-width: 690px; margin: 21px 0 0; color: var(--muted); font-size: 1rem; line-height: 1.75; }

.control-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.control-card { min-height: 285px; padding: 30px 25px; transition: background 180ms ease, transform 180ms ease; }
.control-card + .control-card { border-left: 1px solid var(--line); }
.control-card:hover { background: var(--cream); transform: translateY(-6px); }
.control-card > span { display: grid; width: 40px; height: 40px; margin-bottom: 54px; place-items: center; color: var(--ink); border-radius: 50%; background: var(--lime); font-size: 0.72rem; font-weight: 800; }
.control-card:nth-child(even) > span { background: var(--sky); }
.control-card h3 { margin: 0 0 11px; font: 700 1.22rem/1.15 var(--display); letter-spacing: -0.025em; }
.control-card p { margin: 0; color: var(--muted); font-size: 0.88rem; line-height: 1.65; }

.story-panel { margin-top: 70px; display: grid; grid-template-columns: 1.14fr 0.86fr; align-items: stretch; }
.story-media { min-height: 520px; overflow: hidden; }
.story-media img, .role-spotlight-media img { width: 100%; height: 100%; object-fit: cover; filter: saturate(0.78) contrast(1.05); }
.story-copy { position: relative; padding: 62px 54px; background: var(--ink); color: var(--white); }
.story-copy::after { content: 'K'; position: absolute; right: 24px; bottom: -30px; color: rgba(255, 255, 255, 0.04); font: 800 12rem/1 var(--display); }
.story-copy h3, .role-spotlight-copy h3 { position: relative; z-index: 1; margin: 0 0 20px; font: 600 clamp(2.2rem, 3vw, 3.2rem)/1 var(--display); letter-spacing: -0.045em; }
.story-copy p, .role-spotlight-copy p { position: relative; z-index: 1; color: rgba(255, 255, 255, 0.66); line-height: 1.75; }
.story-points { position: relative; z-index: 1; display: grid; gap: 13px; margin: 25px 0 0; padding: 0; list-style: none; }
.story-points li { display: flex; gap: 10px; color: rgba(255, 255, 255, 0.84); font-size: 0.9rem; }
.story-points li::before { content: '→'; color: var(--coral); }

.section-dark { color: var(--white); background: var(--ink); }
.section-dark::before { content: ''; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(circle at 85% 12%, rgba(37, 184, 168, 0.14), transparent 26%); }
.section-dark .container { position: relative; }
.section-dark .section-index { color: rgba(255, 255, 255, 0.38); border-color: var(--line-light); }
.section-heading.light > p:last-child { color: rgba(255, 255, 255, 0.59); }
.matrix { display: grid; grid-template-columns: 1.05fr 0.9fr 1.05fr; gap: 12px; align-items: stretch; }
.matrix-column { padding: 30px; color: var(--ink); background: var(--paper); }
.matrix-column:nth-child(2) { background: var(--coral); }
.matrix-column:nth-child(3) { background: var(--lime); }
.matrix-column header { min-height: 184px; padding-bottom: 25px; border-bottom: 1px solid rgba(8, 30, 44, 0.17); }
.matrix-tag { margin-bottom: 18px; color: var(--paper); background: var(--ink); letter-spacing: 0.08em; text-transform: uppercase; }
.matrix-column h3 { margin: 0 0 12px; font: 700 1.55rem/1.04 var(--display); letter-spacing: -0.035em; }
.matrix-column header p { margin: 0; color: rgba(8, 30, 44, 0.68); font-size: 0.86rem; line-height: 1.6; }
.matrix-column ul { display: grid; margin: 0; padding: 0; list-style: none; }
.matrix-column li { padding: 18px 0; border-bottom: 1px solid rgba(8, 30, 44, 0.12); }
.matrix-column li strong { display: block; margin-bottom: 5px; font: 700 0.92rem/1.2 var(--display); }
.matrix-column li span { color: rgba(8, 30, 44, 0.62); font-size: 0.79rem; line-height: 1.45; }
.section-link { margin-top: 35px; }
.text-link { display: inline-flex; gap: 10px; align-items: center; color: var(--coral-dark); font-weight: 700; }
.text-link::after { content: '↗'; }
.light-link { color: var(--coral); }

.role-views { display: grid; grid-template-columns: repeat(3, 1fr); gap: 13px; }
.role-view { min-height: 320px; padding: 34px; display: flex; flex-direction: column; justify-content: space-between; border: 1px solid var(--line); background: transparent; }
.role-view:nth-child(2) { background: var(--sky); border-color: transparent; }
.role-view:nth-child(3) { background: var(--cream); border-color: transparent; }
.role-chip { width: fit-content; margin-bottom: 70px; color: var(--white); background: var(--ink); }
.role-view h3 { max-width: 12ch; margin: 0; font: 700 1.65rem/1.06 var(--display); letter-spacing: -0.035em; }
.role-copy { margin: 24px 0 0; color: var(--muted); font-size: 0.88rem; line-height: 1.65; }
.role-spotlight { margin-top: 86px; display: grid; grid-template-columns: 0.82fr 1.18fr; }
.role-spotlight-copy { padding: 58px 52px; color: var(--white); background: var(--coral-dark); }
.role-spotlight-media { min-height: 430px; }

.section-soft { overflow: hidden; background: var(--cream); }
.section-soft::after { content: ''; position: absolute; width: 330px; height: 330px; right: -150px; top: 30px; border: 70px solid rgba(255, 112, 95, 0.15); border-radius: 50%; }
.compare-layout { position: relative; z-index: 1; display: grid; grid-template-columns: 0.82fr 1.18fr; gap: 75px; }
.compare-layout .section-index { grid-column: 1 / -1; margin-bottom: 0; }
.compare-copy h2 { max-width: 9ch; }
.compare-panels { display: grid; grid-template-columns: 1fr 1fr; box-shadow: 0 20px 55px rgba(8, 30, 44, 0.1); }
.compare-panel { padding: 34px 30px; background: rgba(255, 255, 255, 0.55); }
.compare-new { color: var(--white); background: var(--ink); }
.compare-panel h3 { margin: 0 0 28px; font: 700 1.35rem/1 var(--display); }
.compare-panel ul { display: grid; gap: 0; margin: 0; padding: 0; list-style: none; }
.compare-panel li { position: relative; padding: 14px 0 14px 22px; color: var(--muted); border-top: 1px solid var(--line); font-size: 0.85rem; line-height: 1.5; }
.compare-panel li::before { content: '×'; position: absolute; left: 0; color: var(--coral-dark); font-weight: 800; }
.compare-new li { color: rgba(255, 255, 255, 0.7); border-color: var(--line-light); }
.compare-new li::before { content: '✓'; color: var(--lime); }

#preguntas-frecuentes { background: var(--paper); }
#preguntas-frecuentes .section-heading { max-width: 790px; }
#preguntas-frecuentes .control-grid { grid-template-columns: 1fr 1fr; }
#preguntas-frecuentes .control-card { min-height: 230px; }
#preguntas-frecuentes .control-card:nth-child(3) { border-left: 0; }
#preguntas-frecuentes .control-card:nth-child(n+3) { border-top: 1px solid var(--line); }
#preguntas-frecuentes .control-card > span { margin-bottom: 30px; border-radius: 5px; background: var(--coral); }

.cta-section { padding-top: 0; background: var(--paper); }
.cta-shell { position: relative; display: grid; grid-template-columns: 1fr auto; gap: 50px; align-items: center; padding: 75px; overflow: hidden; color: var(--white); background: var(--ink); }
.cta-shell::before { content: ''; position: absolute; width: 280px; height: 280px; right: 13%; bottom: -210px; border: 55px solid var(--coral); border-radius: 50%; }
.cta-copy { position: relative; z-index: 1; max-width: 720px; }
.cta-copy h2 { font-size: clamp(2.6rem, 4.4vw, 4.25rem); line-height: 0.98; }
.cta-copy p { max-width: 630px; margin: 20px 0 0; color: rgba(255, 255, 255, 0.63); line-height: 1.7; }
.cta-actions { position: relative; z-index: 1; display: grid; gap: 11px; justify-items: stretch; }
.cta-actions .btn-secondary { color: var(--white); background: rgba(255, 255, 255, 0.06); border-color: rgba(255, 255, 255, 0.22); }
.cta-actions .text-link { justify-content: center; color: rgba(255, 255, 255, 0.64); font-size: 0.82rem; }

.site-footer { padding: 65px 0 30px; color: rgba(255, 255, 255, 0.76); background: #051722; }
.footer-layout { display: grid; grid-template-columns: 1fr auto; gap: 40px; padding-bottom: 50px; border-bottom: 1px solid var(--line-light); }
.footer-copy { max-width: 480px; margin: 16px 0 0; color: rgba(255, 255, 255, 0.45); line-height: 1.6; }
.footer-contact { display: grid; gap: 11px; align-content: start; font-size: 0.9rem; }
.footer-bottom { padding-top: 22px; color: rgba(255, 255, 255, 0.35); font-size: 0.78rem; }

.whatsapp-float { position: fixed; right: 20px; bottom: 20px; z-index: 44; width: 57px; height: 57px; display: grid; place-items: center; border-radius: 50%; background: var(--white); box-shadow: 0 15px 40px rgba(8, 30, 44, 0.23); }

.modal-backdrop { position: fixed; inset: 0; z-index: 100; display: none; padding: 20px; align-items: center; justify-content: center; background: rgba(4, 18, 27, 0.76); backdrop-filter: blur(12px); }
.modal-backdrop.is-visible { display: flex; }
.modal-card { position: relative; width: min(760px, 100%); max-height: calc(100vh - 40px); padding: 42px; overflow: auto; background: var(--paper); box-shadow: 0 40px 100px rgba(0, 0, 0, 0.32); }
.status-card { width: min(520px, 100%); }
.modal-close { position: absolute; top: 15px; right: 15px; width: 42px; height: 42px; border-radius: 50%; color: var(--ink); background: var(--cream); font-size: 1.35rem; }
.modal-header { max-width: 610px; margin-bottom: 27px; }
.modal-header h2 { font-size: clamp(2rem, 4vw, 3rem); line-height: 1; }
.modal-header > p:last-child, .status-card p { color: var(--muted); line-height: 1.6; }
.demo-form { display: grid; gap: 20px; }
.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.form-grid label { display: grid; gap: 8px; color: var(--ink); font-size: 0.83rem; font-weight: 700; }
.form-grid label.full { grid-column: 1 / -1; }
.form-grid input, .form-grid select, .form-grid textarea { width: 100%; min-height: 52px; padding: 13px 14px; color: var(--ink); background: var(--white); border: 1px solid var(--line); border-radius: 6px; outline: none; }
.form-grid textarea { min-height: 120px; resize: vertical; }
.form-grid input:focus, .form-grid select:focus, .form-grid textarea:focus { border-color: var(--teal); box-shadow: 0 0 0 3px rgba(37, 184, 168, 0.12); }
.checkbox-row { display: flex; gap: 10px; align-items: flex-start; color: var(--muted); font-size: 0.83rem; }
.checkbox-row input { margin-top: 3px; accent-color: var(--coral); }
.status-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }

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

@media (max-width: 1180px) {
    .hero { min-height: auto; padding-bottom: 185px; }
    .hero-layout { grid-template-columns: 0.85fr 1.15fr; gap: 35px; }
    .hero-copy h1 { font-size: clamp(3.7rem, 6vw, 5rem); }
    .dashboard-shell { right: -25px; }
    .fp-right { right: -20px; }
    .matrix-column { padding: 25px; }
    .cta-shell { padding: 58px; }
}

@media (max-width: 960px) {
    .header-row { grid-template-columns: auto auto 1fr; }
    .menu-toggle { display: block; justify-self: end; width: 43px; height: 43px; border-radius: 7px; border: 1px solid rgba(255, 255, 255, 0.25); background: rgba(255, 255, 255, 0.05); }
    .menu-toggle span { display: block; width: 18px; height: 2px; margin: 5px auto; background: var(--white); }
    .main-nav { position: absolute; top: calc(100% + 10px); left: 24px; right: 24px; display: none; padding: 12px; align-items: stretch; flex-direction: column; background: var(--paper); box-shadow: var(--shadow); }
    .main-nav.is-open { display: flex; }
    .main-nav a { color: var(--text); }
    .header-actions { justify-self: end; }
    .hero { padding-top: 130px; }
    .hero-layout { grid-template-columns: 1fr; }
    .hero-copy { max-width: 750px; }
    .hero-copy h1 { max-width: 10ch; }
    .hero-visual { min-height: 590px; margin-top: 45px; }
    .dashboard-shell { inset: 0; transform: none; }
    @keyframes dashboard-enter {
        from { opacity: 0; transform: translateY(35px); }
        to { opacity: 1; transform: translateY(0); }
    }
    .fp-left { left: -10px; }
    .fp-right { right: -10px; }
    .hero-kickers { bottom: -140px; }
    .metrics-grid { grid-template-columns: 1fr 1fr; }
    .metrics-grid article:nth-child(3) { border-left: 0; border-top: 1px solid var(--line); }
    .metrics-grid article:nth-child(4) { border-top: 1px solid var(--line); }
    .control-grid, .role-views { grid-template-columns: 1fr 1fr; }
    .control-card:nth-child(3) { border-left: 0; }
    .control-card:nth-child(n+3) { border-top: 1px solid var(--line); }
    .story-panel, .role-spotlight, .compare-layout, .cta-shell { grid-template-columns: 1fr; }
    .story-media { min-height: 420px; }
    .matrix { grid-template-columns: 1fr; }
    .matrix-column:nth-child(2) { margin-top: 0; }
    .matrix-column header { min-height: 0; }
    .role-view:nth-child(2) { transform: none; }
    .role-spotlight { margin-top: 35px; }
    .compare-copy h2 { max-width: 13ch; }
    .cta-actions { justify-items: start; }
}

@media (max-width: 680px) {
    :root { --header-h: 66px; }
    .container { width: min(var(--container), calc(100% - 28px)); }
    .brand span { display: none; }
    .header-actions { display: none; }
    .header-row { grid-template-columns: auto 1fr; }
    .menu-toggle { grid-column: 2; }
    .hero { padding: 112px 0 96px; }
    .hero-copy h1 { font-size: clamp(3.35rem, 16vw, 4.5rem); }
    .hero-lead { font-size: 0.98rem; }
    .hero-actions { display: grid; }
    .hero-actions .btn { width: 100%; }
    .hero-proof { align-items: flex-start; }
    .hero-visual { min-height: 430px; margin-top: 45px; }
    .dashboard-shell { right: -230px; padding: 9px; }
    .dashboard-product { min-height: 405px; padding: 13px; }
    .tag-row, .finance-tabs span:nth-child(n+3), .finance-panels .summary-panel { display: none; }
    .product-stats { grid-template-columns: 1fr 1fr; }
    .product-stats article { padding: 10px; }
    .finance-panels { grid-template-columns: 1fr; }
    .chart-bars { height: 110px; }
    .fp-left { top: -20px; left: 10px; }
    .fp-right { right: -4px; bottom: -25px; }
    .floating-panel { width: 165px; padding: 12px; }
    .hero-kickers { display: none; }
    .metrics-band { margin-top: -35px; }
    .metrics-grid { grid-template-columns: 1fr; }
    .metrics-grid article { min-height: 0; padding: 22px; }
    .metrics-grid article + article { border-left: 0; border-top: 1px solid var(--line); }
    .section { padding: 88px 0; }
    .section-index { margin-bottom: 23px; }
    .section-heading { margin-bottom: 35px; }
    .section-heading h2, .compare-copy h2 { font-size: clamp(2.45rem, 12vw, 3.45rem); }
    .control-grid, .role-views, #preguntas-frecuentes .control-grid { grid-template-columns: 1fr; }
    .control-card { min-height: 0; padding: 25px 20px; border-top: 1px solid var(--line); border-left: 0 !important; }
    .control-card > span { margin-bottom: 28px; }
    .story-panel { margin-top: 50px; }
    .story-media, .role-spotlight-media { min-height: 300px; }
    .story-copy, .role-spotlight-copy { padding: 36px 25px; }
    .story-copy h3, .role-spotlight-copy h3 { font-size: 2.2rem; }
    .matrix-column { padding: 25px 21px; }
    .role-view { min-height: 270px; padding: 27px 22px; }
    .role-chip { margin-bottom: 45px; }
    .role-spotlight { margin-top: 13px; }
    .compare-layout { gap: 40px; }
    .compare-panels { grid-template-columns: 1fr; }
    .compare-panel { padding: 27px 22px; }
    .cta-shell { gap: 34px; padding: 42px 24px; }
    .cta-copy h2 { font-size: 2.65rem; }
    .cta-actions, .cta-actions .btn { width: 100%; }
    .footer-layout { grid-template-columns: 1fr; }
    .modal-card { padding: 34px 20px 24px; }
    .form-grid { grid-template-columns: 1fr; }
    .form-grid label.full { grid-column: auto; }
}
