﻿:root {
    --ink: #14171f;
    --muted: #5d6472;
    --line: #dfe4ec;
    --paper: #ffffff;
    --soft: #f5f7fb;
    --blue: #1769ff;
    --blue-dark: #0f3f9c;
    --green: #18a566;
    --amber: #f2a31b;
    --red: #df3652;
    --shadow: 0 24px 80px rgba(20, 23, 31, .16);
    --radius: 8px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: Inter, Arial, sans-serif;
    color: var(--ink);
    background: var(--paper);
    line-height: 1.5;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.site-header {
    position: fixed;
    z-index: 20;
    top: 0;
    left: 0;
    right: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 16px clamp(18px, 5vw, 64px);
    color: #fff;
    transition: background .2s ease, box-shadow .2s ease, color .2s ease;
}
.site-header.is-scrolled {
    background: rgba(255,255,255,.96);
    color: var(--ink);
    box-shadow: 0 8px 30px rgba(20, 23, 31, .08);
    backdrop-filter: blur(10px);
}
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; white-space: nowrap; }
.brand img { width: 38px; height: 38px; border-radius: 8px; }
.nav-links { display: flex; align-items: center; gap: 22px; font-size: 14px; font-weight: 700; }
.nav-links a { opacity: .86; }
.nav-links a:hover { opacity: 1; }
.header-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 0 18px;
    border: 1px solid currentColor;
    border-radius: 8px;
    font-weight: 800;
}

.hero {
    position: relative;
    min-height: 92vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    color: #fff;
    padding: 100px clamp(18px, 5vw, 64px) 48px;
}
.hero-bg {
    position: absolute;
    inset: 0;
    background-image: url('../img/hero-garcom-papel.png');
    background-size: cover;
    background-position: center center;
    transform: scale(1.03);
}
.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(13,17,23,.94) 0%, rgba(13,17,23,.8) 45%, rgba(13,17,23,.32) 100%);
}
.hero-content {
    position: relative;
    z-index: 1;
    width: min(760px, 100%);
    padding-top: 20px;
}
.eyebrow, .section-kicker {
    margin: 0 0 14px;
    color: var(--amber);
    font-weight: 800;
    text-transform: uppercase;
    font-size: 13px;
    letter-spacing: 0;
}
.hero h1 {
    margin: 0;
    font-size: clamp(42px, 7vw, 82px);
    line-height: .95;
    max-width: 680px;
    letter-spacing: 0;
}
.hero-copy {
    margin: 24px 0 0;
    max-width: 650px;
    font-size: clamp(18px, 2vw, 22px);
    color: rgba(255,255,255,.86);
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    padding: 0 22px;
    border-radius: 8px;
    font-weight: 800;
    border: 0;
    cursor: pointer;
    font-size: 15px;
    font-family: inherit;
}
.btn-primary { background: var(--green); color: #fff; box-shadow: 0 12px 30px rgba(24,165,102,.28); }
.btn-primary:hover { background: #138b56; }
.btn:disabled { opacity: .68; cursor: wait; }
.btn-secondary { background: rgba(255,255,255,.12); color: #fff; border: 1px solid rgba(255,255,255,.45); }
.btn-secondary:hover { background: rgba(255,255,255,.2); }
.hero-proof { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.hero-proof span {
    padding: 9px 12px;
    background: rgba(255,255,255,.1);
    border: 1px solid rgba(255,255,255,.2);
    border-radius: 8px;
    color: rgba(255,255,255,.9);
    font-weight: 700;
    font-size: 13px;
}

section { scroll-margin-top: 86px; }
.section-inner { width: min(1120px, calc(100% - 36px)); margin: 0 auto; }
.problem-section, .features-section, .offer-section { background: var(--soft); }
.problem-section, .flow-section, .features-section, .screens-section, .offer-section, .contact-section { padding: clamp(64px, 9vw, 104px) 0; }
.two-column, .offer-layout, .contact-layout { display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(320px, .98fr); gap: clamp(28px, 6vw, 72px); align-items: center; }
h2 { margin: 0; font-size: clamp(30px, 4vw, 48px); line-height: 1.05; letter-spacing: 0; }
h3 { margin: 18px 0 8px; font-size: 20px; line-height: 1.2; }
p { color: var(--muted); font-size: 17px; }
.section-heading { max-width: 720px; margin-bottom: 34px; }

.before-after { display: grid; gap: 14px; }
.comparison {
    padding: 24px;
    border-radius: var(--radius);
    background: var(--paper);
    box-shadow: 0 14px 44px rgba(20, 23, 31, .08);
    border-left: 5px solid var(--line);
}
.comparison strong { display: block; margin-bottom: 8px; font-size: 22px; }
.comparison span { color: var(--muted); }
.comparison-bad { border-color: var(--red); }
.comparison-good { border-color: var(--green); }

.flow-grid, .features-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: 30px; }
.flow-grid article, .features-grid article {
    min-height: 210px;
    padding: 26px;
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: 0 16px 46px rgba(20,23,31,.06);
}
.step {
    display: inline-flex;
    width: 38px;
    height: 38px;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background: var(--blue);
    color: #fff;
    font-weight: 800;
}
.features-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.features-grid article span { display: block; font-size: 20px; font-weight: 800; margin-bottom: 10px; }
.features-grid article:nth-child(2n) { border-top: 4px solid var(--green); }
.features-grid article:nth-child(2n+1) { border-top: 4px solid var(--blue); }
.features-grid article:nth-child(3n) { border-top-color: var(--amber); }

.screens-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.screen {
    margin: 0;
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}
.screen-large { grid-column: 1 / -1; }
.screen img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; object-position: top center; background: #eef1f6; }
.screen figcaption { padding: 14px 16px; color: var(--muted); font-weight: 700; font-size: 14px; }

.offer-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.offer-list span, .contact-points span, .contact-points a {
    display: block;
    padding: 14px 16px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    font-weight: 800;
}
.contact-points a { color: var(--blue-dark); }
.contact-points a:hover { border-color: var(--blue); color: var(--blue); }
.contact-points { display: grid; gap: 10px; margin-top: 24px; max-width: 380px; }

.lead-form {
    display: grid;
    gap: 14px;
    padding: 26px;
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}
.form-honeypot {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}
.form-alert {
    margin: 0;
    padding: 12px 14px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 800;
}
.form-alert-success {
    color: #0d6840;
    background: rgba(24, 165, 102, .12);
    border: 1px solid rgba(24, 165, 102, .32);
}
.form-alert-error {
    color: #9f1831;
    background: rgba(223, 54, 82, .1);
    border: 1px solid rgba(223, 54, 82, .28);
}
.lead-form label { display: grid; gap: 7px; font-weight: 800; color: var(--ink); }
.lead-form input, .lead-form select, .lead-form textarea {
    width: 100%;
    min-height: 48px;
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 0 12px;
    font: inherit;
    color: var(--ink);
    background: #fff;
}
.lead-form textarea {
    min-height: 118px;
    padding: 12px;
    resize: vertical;
}
.lead-form input:focus, .lead-form select:focus, .lead-form textarea:focus { outline: 3px solid rgba(23,105,255,.18); border-color: var(--blue); }
.form-note { margin: 0; font-size: 13px; }

.site-footer { padding: 28px clamp(18px, 5vw, 64px); background: #171b22; color: #fff; }
.footer-inner { display: flex; justify-content: space-between; gap: 18px; flex-wrap: wrap; font-weight: 800; }
.footer-inner span:last-child { color: rgba(255,255,255,.68); }
.whatsapp-float {
    position: fixed;
    z-index: 30;
    right: 20px;
    bottom: 20px;
    width: 58px;
    height: 58px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #25d366;
    color: #fff;
    box-shadow: 0 16px 40px rgba(37, 211, 102, .38);
}
.whatsapp-float svg { width: 34px; height: 34px; }

@media (max-width: 900px) {
    .nav-links { display: none; }
    .hero { min-height: 88vh; }
    .hero-overlay { background: rgba(13,17,23,.82); }
    .two-column, .offer-layout, .contact-layout, .flow-grid, .features-grid, .screens-grid { grid-template-columns: 1fr; }
    .screen-large { grid-column: auto; }
}
@media (max-width: 560px) {
    .site-header { padding: 12px 16px; }
    .brand span { max-width: 150px; white-space: normal; line-height: 1.1; }
    .header-cta { display: none; }
    .hero { padding: 92px 18px 42px; }
    .hero-actions .btn { width: 100%; }
    .hero-proof span { width: 100%; }
    .offer-list { grid-template-columns: 1fr; }
    .lead-form { padding: 18px; }
    .whatsapp-float { width: 54px; height: 54px; right: 16px; bottom: 16px; }
}

