:root {
    --navy-950: #06132e;
    --navy-900: #0a204b;
    --navy-800: #0c2d68;
    --blue-700: #0a55c8;
    --blue-600: #0871ed;
    --blue-500: #2386ff;
    --blue-100: #e9f3ff;
    --blue-50: #f5f9ff;
    --ink: #101828;
    --muted: #5f6f89;
    --line: #dce6f5;
    --white: #ffffff;
    --green: #149c63;
    --shadow-sm: 0 10px 30px rgba(16, 45, 92, .08);
    --shadow-lg: 0 28px 80px rgba(8, 39, 96, .16);
    --radius-sm: 14px;
    --radius-md: 22px;
    --radius-lg: 34px;
    --container: 1200px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 86px; }
body {
    margin: 0;
    color: var(--ink);
    background: var(--white);
    font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 16px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}
body.nav-open { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
.container { width: min(calc(100% - 40px), var(--container)); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; left: 20px; top: -100px; z-index: 9999; padding: 10px 16px; color: #fff; background: var(--navy-950); border-radius: 8px; transition: top .2s; }
.skip-link:focus { top: 16px; }

.site-header { position: fixed; inset: 0 0 auto; z-index: 1000; height: 82px; background: rgba(255,255,255,.9); border-bottom: 1px solid transparent; backdrop-filter: blur(18px); transition: .25s ease; }
.site-header.is-scrolled { height: 72px; border-color: rgba(198,213,235,.8); box-shadow: 0 12px 32px rgba(10,35,81,.07); }
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.brand { display: block; flex: 0 0 auto; }
.brand img { width: 226px; height: auto; }
.main-nav { display: flex; align-items: center; gap: 16px; }
.main-nav > a:not(.button) { position: relative; color: #334463; font-size: 13px; font-weight: 700; white-space: nowrap; }
.main-nav > a:not(.button)::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -7px; height: 2px; border-radius: 2px; background: var(--blue-600); transition: right .2s; }
.main-nav > a:not(.button):hover::after, .main-nav > a:not(.button):focus-visible::after { right: 0; }
.nav-toggle { display: none; width: 44px; height: 44px; padding: 10px; border: 1px solid var(--line); border-radius: 12px; background: #fff; cursor: pointer; }
.nav-toggle > span:not(.sr-only) { display: block; height: 2px; margin: 5px 0; border-radius: 2px; background: var(--navy-900); transition: .2s; }

.button { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 50px; padding: 13px 22px; border: 1px solid transparent; border-radius: 13px; font-weight: 800; line-height: 1.2; cursor: pointer; transition: transform .2s, box-shadow .2s, background .2s, border-color .2s; }
.button:hover { transform: translateY(-2px); }
.button-primary { color: #fff; background: linear-gradient(135deg, var(--navy-800), var(--blue-600)); box-shadow: 0 12px 24px rgba(8, 93, 211, .22); }
.button-primary:hover { box-shadow: 0 16px 32px rgba(8, 93, 211, .3); }
.button-secondary { color: var(--navy-800); background: #fff; border-color: #c8d8ee; }
.button-secondary:hover { border-color: var(--blue-600); box-shadow: var(--shadow-sm); }
.button-light { color: var(--navy-800); background: #fff; box-shadow: 0 15px 35px rgba(0,0,0,.15); }
.button-sm { min-height: 42px; padding: 10px 17px; border-radius: 11px; font-size: 14px; }
.button-block { width: 100%; }
.text-link { display: inline-flex; gap: 8px; align-items: center; color: var(--blue-700); font-weight: 800; }
.text-link span, .service-card a span { transition: transform .2s; }
.text-link:hover span, .service-card a:hover span { transform: translateX(4px); }

.eyebrow { display: inline-flex; align-items: center; gap: 9px; margin-bottom: 16px; color: var(--blue-700); font-size: 12px; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.eyebrow-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--blue-600); box-shadow: 0 0 0 6px rgba(8,113,237,.1); }
.eyebrow-light { color: #bcdcff; }

.hero { position: relative; min-height: 760px; padding: 150px 0 80px; overflow: hidden; background: linear-gradient(145deg, #f8fbff 0%, #eef5ff 58%, #f9fcff 100%); }
.hero::before { content: ""; position: absolute; inset: 0; opacity: .4; background-image: linear-gradient(rgba(27,91,177,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(27,91,177,.05) 1px, transparent 1px); background-size: 54px 54px; mask-image: linear-gradient(to bottom, #000, transparent 80%); }
.hero-orb { position: absolute; border-radius: 50%; filter: blur(2px); pointer-events: none; }
.hero-orb-one { top: 70px; right: -180px; width: 520px; height: 520px; background: radial-gradient(circle, rgba(24,121,255,.2), rgba(24,121,255,0) 70%); }
.hero-orb-two { bottom: -240px; left: -180px; width: 520px; height: 520px; background: radial-gradient(circle, rgba(16,65,151,.13), rgba(16,65,151,0) 70%); }
.hero-slider { position: relative; min-height: 570px; }
.hero-slide { display: none; grid-template-columns: minmax(0, .86fr) minmax(520px, 1.14fr); align-items: center; gap: 55px; min-height: 520px; }
.hero-slide.is-active { display: grid; animation: slide-in .6s ease both; }
@keyframes slide-in { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
.hero-copy { position: relative; z-index: 2; }
.hero h1, .hero h2 { max-width: 640px; margin: 0 0 24px; color: var(--navy-950); font-size: clamp(42px, 5vw, 68px); line-height: 1.02; letter-spacing: -.055em; }
.hero h1 span, .hero h2 span, .section-heading h2 span, .showcase-copy h2 span, .ecf-copy h2 span { color: var(--blue-600); }
.hero-copy > p { max-width: 600px; margin: 0 0 30px; color: var(--muted); font-size: 18px; line-height: 1.75; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-points { display: flex; flex-wrap: wrap; gap: 20px; margin: 27px 0 0; padding: 0; color: #536782; font-size: 13px; font-weight: 700; list-style: none; }
.hero-points li::before { content: "✓"; margin-right: 7px; color: var(--green); font-weight: 900; }
.hero-visual { position: relative; }
.browser-frame { position: relative; overflow: hidden; background: #fff; border: 1px solid rgba(183,203,232,.95); border-radius: 20px; box-shadow: var(--shadow-lg); }
.browser-bar { display: flex; align-items: center; gap: 6px; height: 38px; padding: 0 14px; color: #69809f; background: #f6f9fd; border-bottom: 1px solid #e2eaf5; font-size: 10px; }
.browser-bar i { width: 7px; height: 7px; border-radius: 50%; background: #cad6e6; }
.browser-bar i:first-child { background: #ff8d88; }
.browser-bar i:nth-child(2) { background: #ffcf63; }
.browser-bar i:nth-child(3) { background: #6ed99b; }
.browser-bar span { margin-left: 7px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.browser-frame-hero { transform: perspective(1200px) rotateY(-4deg) rotateX(1deg); }
.browser-frame-hero img { width: 100%; aspect-ratio: 16 / 9.4; object-fit: cover; object-position: top left; }
.floating-card { position: absolute; z-index: 3; min-width: 190px; padding: 13px 16px; border: 1px solid rgba(191,210,236,.85); border-radius: 14px; background: rgba(255,255,255,.94); box-shadow: 0 16px 40px rgba(8,36,84,.15); backdrop-filter: blur(12px); }
.floating-card small, .floating-card strong { display: block; }
.floating-card small { color: var(--muted); font-size: 10px; text-transform: uppercase; letter-spacing: .08em; }
.floating-card strong { color: var(--navy-900); font-size: 14px; }
.floating-card-sales, .floating-card-pos, .floating-card-ai { right: -17px; bottom: -30px; }
.slider-controls { position: absolute; left: 0; bottom: -4px; display: flex; align-items: center; gap: 15px; }
.slider-arrow { width: 38px; height: 38px; border: 1px solid #cfdbec; border-radius: 50%; color: var(--navy-800); background: #fff; cursor: pointer; transition: .2s; }
.slider-arrow:hover { color: #fff; background: var(--navy-800); border-color: var(--navy-800); }
.slider-dots { display: flex; gap: 7px; }
.slider-dots button { width: 8px; height: 8px; padding: 0; border: 0; border-radius: 20px; background: #bac9de; cursor: pointer; transition: .25s; }
.slider-dots button.is-active { width: 28px; background: var(--blue-600); }

.trust-strip { position: relative; z-index: 3; margin-top: -30px; }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); padding: 24px 28px; border: 1px solid #dbe7f5; border-radius: 20px; background: #fff; box-shadow: var(--shadow-sm); }
.trust-grid > div { display: grid; grid-template-columns: 35px 1fr; padding: 0 22px; border-right: 1px solid #e5edf7; }
.trust-grid > div:last-child { border-right: 0; }
.trust-grid span { grid-row: 1 / 3; align-self: center; display: grid; place-items: center; width: 27px; height: 27px; color: var(--blue-700); background: var(--blue-100); border-radius: 50%; font-weight: 900; }
.trust-grid strong { color: var(--navy-900); font-size: 14px; }
.trust-grid small { color: var(--muted); font-size: 11px; }

.section { padding: 105px 0; }
.section-soft { background: var(--blue-50); }
.section-heading { max-width: 650px; }
.section-heading.centered { margin: 0 auto 52px; text-align: center; }
.section-heading h2, .showcase-copy h2, .ecf-copy h2 { margin: 0 0 18px; color: var(--navy-950); font-size: clamp(34px, 4vw, 50px); line-height: 1.12; letter-spacing: -.04em; }
.section-heading p, .showcase-copy > p, .ecf-copy > p { margin: 0; color: var(--muted); font-size: 17px; line-height: 1.75; }

.service-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.service-card { position: relative; min-height: 275px; padding: 28px; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius-md); background: #fff; transition: transform .25s, box-shadow .25s, border-color .25s; }
.service-card::after { content: ""; position: absolute; width: 150px; height: 150px; right: -80px; top: -80px; border-radius: 50%; background: rgba(30,121,242,.06); }
.service-card:hover { transform: translateY(-6px); border-color: #b8cff0; box-shadow: var(--shadow-sm); }
.service-icon { display: grid; place-items: center; width: 48px; height: 48px; margin-bottom: 22px; color: var(--blue-700); background: linear-gradient(145deg, #eff6ff, #dcecff); border-radius: 15px; font-size: 13px; font-weight: 900; }
.service-card h3 { margin: 0 0 10px; color: var(--navy-900); font-size: 19px; }
.service-card p { margin: 0 0 18px; color: var(--muted); font-size: 14px; }
.service-card a { display: inline-flex; gap: 7px; align-items: center; color: var(--blue-700); font-size: 13px; font-weight: 900; }

.showcase-grid { display: grid; grid-template-columns: .75fr 1.25fr; align-items: center; gap: 70px; }
.showcase-grid-reverse { grid-template-columns: 1.2fr .8fr; }
.showcase-frame img { width: 100%; }
.check-list { display: grid; gap: 14px; margin: 28px 0; padding: 0; list-style: none; }
.check-list li { display: flex; gap: 11px; align-items: flex-start; color: #445675; }
.check-list span { display: inline-grid; flex: 0 0 24px; place-items: center; width: 24px; height: 24px; margin-top: 1px; color: var(--green); background: #e9f8f1; border-radius: 50%; font-size: 12px; font-weight: 900; }
.mini-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 28px; }
.mini-stats div { padding: 17px; border: 1px solid var(--line); border-radius: 15px; background: #fff; }
.mini-stats strong, .mini-stats small { display: block; }
.mini-stats strong { color: var(--navy-800); }
.mini-stats small { color: var(--muted); font-size: 11px; }

.ai-section { color: #fff; background: #071a43; }
.ai-card { position: relative; display: grid; grid-template-columns: .72fr 1.28fr; align-items: center; gap: 55px; min-height: 510px; padding: 58px; overflow: hidden; border-radius: var(--radius-lg); background: linear-gradient(135deg, #0a1e4b, #0c3889 65%, #0871ed); }
.ai-card::before { content: ""; position: absolute; width: 440px; height: 440px; right: -140px; top: -240px; border: 1px solid rgba(255,255,255,.2); border-radius: 50%; box-shadow: 0 0 0 60px rgba(255,255,255,.025), 0 0 0 120px rgba(255,255,255,.02); }
.ai-copy, .ai-frame { position: relative; z-index: 2; }
.ai-copy h2 { margin: 0 0 20px; font-size: clamp(34px, 4vw, 48px); line-height: 1.12; letter-spacing: -.04em; }
.ai-copy p { margin: 0 0 28px; color: #c8d9f2; }
.ai-frame { transform: rotate(1deg); box-shadow: 0 30px 80px rgba(0,0,0,.3); }

.ecf-layout { display: grid; grid-template-columns: 1fr .8fr; align-items: center; gap: 90px; }
.process-list { display: grid; gap: 13px; margin-top: 30px; }
.process-list > div { display: flex; gap: 15px; align-items: center; padding: 15px; border: 1px solid var(--line); border-radius: 15px; }
.process-list b { display: grid; flex: 0 0 38px; place-items: center; width: 38px; height: 38px; color: #fff; background: var(--navy-800); border-radius: 12px; }
.process-list strong, .process-list small { display: block; }
.process-list strong { color: var(--navy-900); }
.process-list small { color: var(--muted); }
.ecf-panel { position: relative; padding: 45px; overflow: hidden; color: #fff; border-radius: 28px; background: linear-gradient(145deg, var(--navy-950), var(--navy-800)); box-shadow: var(--shadow-lg); }
.ecf-panel::after { content: ""; position: absolute; width: 270px; height: 270px; right: -120px; bottom: -150px; border-radius: 50%; background: rgba(23,122,255,.3); }
.ecf-panel > * { position: relative; z-index: 2; }
.ecf-panel > img { width: 74px; height: 70px; margin-bottom: 25px; border-radius: 18px; }
.status-pill { position: absolute; top: 34px; right: 34px; display: flex; align-items: center; gap: 7px; padding: 7px 11px; color: #cfe5ff; border: 1px solid rgba(255,255,255,.18); border-radius: 20px; font-size: 11px; }
.status-pill i { width: 7px; height: 7px; border-radius: 50%; background: #45db94; box-shadow: 0 0 0 4px rgba(69,219,148,.15); }
.ecf-panel h3 { margin: 0 0 12px; font-size: 28px; }
.ecf-panel p { color: #c6d7ee; }
.ecf-panel ul { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; margin: 25px 0; padding: 0; list-style: none; }
.ecf-panel li::before { content: "✓"; margin-right: 7px; color: #69e0a7; }
.ecf-panel a { color: #fff; font-weight: 800; }

.plans-layout { display: grid; grid-template-columns: .75fr 1.25fr; gap: 65px; align-items: center; }
.plan-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.plan-actions article { padding: 30px; border: 1px solid var(--line); border-radius: 22px; background: #fff; }
.plan-actions article.featured { color: #fff; background: var(--navy-900); border-color: var(--navy-900); box-shadow: var(--shadow-lg); }
.plan-actions article > span { display: block; color: var(--blue-600); font-size: 11px; font-weight: 900; letter-spacing: .07em; text-transform: uppercase; }
.plan-actions .featured > span { color: #83bdff; }
.plan-actions h3 { margin: 10px 0; font-size: 23px; }
.plan-actions p { min-height: 92px; color: var(--muted); font-size: 14px; }
.plan-actions .featured p { color: #c2d2e8; }

.faq-layout { display: grid; grid-template-columns: .7fr 1.3fr; gap: 80px; }
.faq-list { display: grid; gap: 12px; }
.faq-list details { padding: 0 22px; border: 1px solid var(--line); border-radius: 16px; background: #fff; }
.faq-list summary { display: flex; justify-content: space-between; align-items: center; min-height: 66px; color: var(--navy-900); font-weight: 800; cursor: pointer; list-style: none; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary span { font-size: 22px; font-weight: 400; transition: transform .2s; }
.faq-list details[open] summary span { transform: rotate(45deg); }
.faq-list p { margin: -2px 0 20px; padding-right: 30px; color: var(--muted); }

.contact-section { padding: 100px 0; color: #fff; background: linear-gradient(140deg, #07152f, #0a2860 65%, #0b55bb); }
.contact-layout { display: grid; grid-template-columns: .8fr 1.2fr; align-items: center; gap: 90px; }
.contact-copy h2 { margin: 0 0 18px; font-size: clamp(38px, 5vw, 58px); line-height: 1.05; letter-spacing: -.045em; }
.contact-copy > p { color: #c5d6ed; font-size: 17px; }
.contact-links { display: grid; gap: 12px; margin-top: 34px; }
.contact-links a { display: flex; gap: 13px; align-items: center; width: fit-content; }
.contact-links a > span { display: grid; place-items: center; width: 42px; height: 42px; color: #fff; border: 1px solid rgba(255,255,255,.18); border-radius: 12px; background: rgba(255,255,255,.08); }
.contact-links small, .contact-links strong { display: block; }
.contact-links small { color: #9fb7d7; font-size: 11px; text-transform: uppercase; }
.contact-links strong { font-size: 15px; }
.contact-card { padding: 40px; color: var(--ink); border: 1px solid rgba(255,255,255,.3); border-radius: 26px; background: #fff; box-shadow: 0 30px 80px rgba(0,0,0,.22); }
.contact-card h3 { margin: 0; color: var(--navy-900); font-size: 28px; }
.contact-card > p { margin: 4px 0 24px; color: var(--muted); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: grid; gap: 6px; }
.field-full { grid-column: 1 / -1; }
.field label { color: #324663; font-size: 12px; font-weight: 800; }
.field input, .field select, .field textarea { width: 100%; min-height: 48px; padding: 11px 13px; color: var(--ink); border: 1px solid #ccd9ea; border-radius: 11px; outline: none; background: #fbfdff; transition: border-color .2s, box-shadow .2s; }
.field textarea { resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--blue-600); box-shadow: 0 0 0 4px rgba(8,113,237,.1); }
.field .is-invalid { border-color: #e34b5f; }
.field small { color: #c83247; font-size: 11px; }
.contact-card .button { margin-top: 18px; }
.privacy-note { display: block; margin-top: 10px; color: #7b8aa0; text-align: center; }
.honeypot { position: absolute; left: -9999px; }
.form-alert { margin-bottom: 18px; padding: 12px 14px; border-radius: 10px; font-size: 13px; }
.form-alert-success { color: #106d47; background: #e7f8f0; border: 1px solid #bdebd5; }
.form-alert-error { color: #9f2637; background: #fff0f2; border: 1px solid #f5c8cf; }

.site-footer { padding: 65px 0 20px; background: #f6f9fd; }
.footer-main { display: grid; grid-template-columns: 2fr repeat(3, 1fr); gap: 60px; padding-bottom: 45px; }
.footer-brand img { width: 220px; margin-bottom: 16px; }
.footer-brand p { max-width: 330px; color: var(--muted); }
.footer-main h3 { margin: 0 0 15px; color: var(--navy-900); font-size: 14px; }
.footer-main > div:not(.footer-brand) { display: flex; flex-direction: column; gap: 9px; }
.footer-main a { color: var(--muted); font-size: 13px; }
.footer-main a:hover { color: var(--blue-700); }
.footer-bottom { display: flex; justify-content: space-between; padding-top: 20px; color: #73829a; border-top: 1px solid var(--line); font-size: 12px; }
.whatsapp-float { position: fixed; right: 22px; bottom: 22px; z-index: 50; display: grid; place-items: center; width: 54px; height: 54px; color: #fff; background: #18a869; border: 4px solid #fff; border-radius: 50%; box-shadow: 0 12px 30px rgba(15,126,77,.3); font-size: 12px; font-weight: 900; transition: transform .2s; }
.whatsapp-float:hover { transform: translateY(-4px) scale(1.03); }


/* Sectores y tipos de negocio */
.business-section { position: relative; overflow: hidden; }
.business-section::before { content: ""; position: absolute; width: 520px; height: 520px; right: -300px; top: -240px; border-radius: 50%; background: radial-gradient(circle, rgba(8,113,237,.10), rgba(8,113,237,0) 70%); pointer-events: none; }
.business-heading { position: relative; z-index: 1; display: flex; align-items: flex-end; justify-content: space-between; gap: 45px; margin-bottom: 38px; }
.business-heading .section-heading { max-width: 710px; }
.business-search { display: grid; flex: 0 0 min(380px, 38vw); gap: 8px; color: #405574; font-size: 12px; font-weight: 800; }
.business-search > div { display: flex; align-items: center; gap: 8px; min-height: 48px; padding: 0 13px; border: 1px solid #cad9ed; border-radius: 13px; background: #fff; box-shadow: 0 8px 24px rgba(16,45,92,.05); }
.business-search > div > span { color: var(--blue-700); font-size: 20px; line-height: 1; }
.business-search input { width: 100%; padding: 0; color: var(--ink); border: 0; outline: 0; background: transparent; }
.business-search input::placeholder { color: #8998ad; }
.business-grid { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.business-card { display: flex; gap: 15px; align-items: flex-start; min-height: 132px; padding: 19px; border: 1px solid var(--line); border-radius: 17px; background: rgba(255,255,255,.94); transition: transform .2s, border-color .2s, box-shadow .2s; }
.business-card:hover { transform: translateY(-3px); border-color: #b8cff0; box-shadow: 0 12px 30px rgba(16,45,92,.08); }
.business-icon { display: grid; flex: 0 0 40px; place-items: center; width: 40px; height: 40px; color: var(--blue-700); border: 1px solid #d6e4f7; border-radius: 12px; background: #eef5ff; font-size: 18px; font-weight: 900; }
.business-card h3 { margin: 0 0 4px; color: var(--navy-900); font-size: 15px; line-height: 1.3; }
.business-card p { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.55; }
.business-empty { margin-top: 18px; padding: 16px 18px; color: #6a4b13; border: 1px solid #f1d496; border-radius: 14px; background: #fff8e9; }
.business-cta { position: relative; z-index: 1; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 16px; margin-top: 22px; padding: 20px 22px; color: #dbe9fb; border-radius: 18px; background: linear-gradient(135deg, var(--navy-950), var(--navy-800)); }
.business-cta strong { color: #fff; }
.business-cta span { font-size: 13px; }
.business-cta a { color: #fff; font-size: 13px; font-weight: 900; white-space: nowrap; }

/* Formas de venta */
.sales-modes-grid { align-items: center; }
.sales-modes-frame { box-shadow: 0 22px 60px rgba(8,39,96,.12); }
.feature-stack { display: grid; gap: 11px; margin: 27px 0 18px; }
.feature-stack > div { display: flex; gap: 13px; align-items: center; padding: 14px; border: 1px solid var(--line); border-radius: 15px; background: #fff; }
.feature-stack b { display: grid; flex: 0 0 46px; place-items: center; width: 46px; height: 42px; color: var(--blue-700); border-radius: 11px; background: var(--blue-100); font-size: 13px; }
.feature-stack strong, .feature-stack small { display: block; }
.feature-stack strong { color: var(--navy-900); font-size: 14px; }
.feature-stack small { color: var(--muted); font-size: 11px; line-height: 1.45; }
.feature-note { margin-top: 16px !important; padding: 13px 15px; color: #39506e !important; border-left: 3px solid var(--blue-600); border-radius: 0 11px 11px 0; background: #edf5ff; font-size: 13px !important; line-height: 1.55 !important; }

/* Centro de reportes */
.reports-section { overflow: hidden; }
.reports-heading { max-width: 760px; }
.reports-frame { box-shadow: 0 26px 70px rgba(8,39,96,.13); }
.reports-frame img { width: 100%; }
.report-chip-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-top: 25px; }
.report-chip-grid span { position: relative; padding: 11px 13px 11px 35px; color: #3f5370; border: 1px solid var(--line); border-radius: 12px; background: #fff; font-size: 12px; font-weight: 800; }
.report-chip-grid span::before { content: "✓"; position: absolute; left: 12px; top: 10px; display: grid; place-items: center; width: 17px; height: 17px; color: var(--green); border-radius: 50%; background: #e9f8f1; font-size: 10px; }
.reports-action { display: flex; justify-content: center; margin-top: 25px; }

/* Nómina */
.payroll-layout { display: grid; grid-template-columns: .72fr 1.28fr; align-items: center; gap: 65px; }
.payroll-copy { min-width: 0; }
.payroll-frame { box-shadow: 0 28px 75px rgba(8,39,96,.14); }
.payroll-frame img { width: 100%; }

/* Ajustes generales de rendimiento visual */
.business-card[hidden], [hidden] { display: none !important; }
.browser-frame picture { display: block; }
.browser-frame img { height: auto; }
section[id] { scroll-margin-top: 82px; }

@media (max-width: 1080px) {
    .main-nav { gap: 11px; }
    .main-nav > a:not(.button) { font-size: 12px; }
    .service-grid { grid-template-columns: repeat(2, 1fr); }
    .business-grid { grid-template-columns: repeat(2, 1fr); }
    .payroll-layout { gap: 40px; }
    .report-chip-grid { grid-template-columns: repeat(3, 1fr); }
    .hero-slide { grid-template-columns: .9fr 1.1fr; gap: 35px; }
    .hero h1, .hero h2 { font-size: 49px; }
    .trust-grid { grid-template-columns: 1fr 1fr; gap: 22px 0; }
    .trust-grid > div:nth-child(2) { border-right: 0; }
    .showcase-grid, .showcase-grid-reverse { gap: 40px; }
    .ai-card { padding: 42px; gap: 35px; }
    .contact-layout { gap: 50px; }
}

@media (max-width: 880px) {
    .site-header, .site-header.is-scrolled { height: 72px; }
    .brand img { width: 194px; }
    .nav-toggle { display: block; }
    .nav-toggle[aria-expanded="true"] > span:first-child { 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); }
    .main-nav { position: fixed; left: 20px; right: 20px; top: 80px; display: none; flex-direction: column; align-items: stretch; gap: 4px; padding: 18px; border: 1px solid var(--line); border-radius: 18px; background: #fff; box-shadow: var(--shadow-lg); }
    .main-nav.is-open { display: flex; }
    .main-nav > a:not(.button) { padding: 10px 8px; }
    .main-nav > a:not(.button)::after { display: none; }
    .hero { padding-top: 120px; }
    .hero-slider { min-height: 820px; }
    .hero-slide { grid-template-columns: 1fr; align-content: start; gap: 52px; min-height: 760px; }
    .hero-copy { max-width: 690px; }
    .hero-visual { width: min(100%, 720px); }
    .browser-frame-hero { transform: none; }
    .slider-controls { bottom: 0; }
    .service-grid { grid-template-columns: 1fr 1fr; }
    .showcase-grid, .showcase-grid-reverse, .ai-card, .ecf-layout, .plans-layout, .faq-layout, .contact-layout, .payroll-layout { grid-template-columns: 1fr; }
    .showcase-grid-reverse .browser-frame { order: 2; }
    .ai-card { padding: 42px; }
    .ecf-layout, .plans-layout, .faq-layout, .contact-layout, .payroll-layout { gap: 45px; }
    .business-heading { align-items: stretch; flex-direction: column; gap: 24px; }
    .business-search { flex-basis: auto; width: min(100%, 520px); }
    .business-cta { grid-template-columns: 1fr; gap: 7px; }
    .business-cta a { margin-top: 4px; }
    .report-chip-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-main { grid-template-columns: 1.5fr 1fr 1fr; }
    .footer-main > div:last-child { grid-column: 2; }
}

@media (max-width: 640px) {
    .container { width: min(calc(100% - 28px), var(--container)); }
    .brand img { width: 174px; }
    .hero { min-height: 840px; padding: 110px 0 55px; }
    .hero-slider { min-height: 775px; }
    .hero-slide { min-height: 720px; gap: 42px; }
    .hero h1, .hero h2 { font-size: 39px; }
    .hero-copy > p { font-size: 16px; }
    .hero-actions { flex-direction: column; align-items: stretch; }
    .hero-points { gap: 8px 16px; }
    .floating-card { display: none; }
    .slider-controls { bottom: -5px; }
    .trust-strip { margin-top: 0; padding: 15px 0 0; }
    .trust-grid { grid-template-columns: 1fr; padding: 20px; }
    .trust-grid > div { padding: 10px 5px; border-right: 0; border-bottom: 1px solid #e5edf7; }
    .trust-grid > div:last-child { border-bottom: 0; }
    .section { padding: 78px 0; }
    .section-heading h2, .showcase-copy h2, .ecf-copy h2 { font-size: 34px; }
    .service-grid, .plan-actions, .form-grid, .business-grid, .report-chip-grid { grid-template-columns: 1fr; }
    .service-card { min-height: 0; }
    .mini-stats { grid-template-columns: 1fr; }
    .business-card { min-height: 0; }
    .business-cta { padding: 18px; }
    .feature-stack > div { align-items: flex-start; }
    .ai-card { width: calc(100% - 20px); padding: 30px 24px; border-radius: 24px; }
    .ai-copy h2 { font-size: 34px; }
    .ai-frame img { min-height: 260px; object-fit: cover; object-position: left top; }
    .ecf-panel { padding: 34px 25px; }
    .status-pill { top: 26px; right: 24px; }
    .ecf-panel ul { grid-template-columns: 1fr; }
    .plan-actions p { min-height: 0; }
    .contact-card { padding: 28px 20px; }
    .field-full { grid-column: auto; }
    .footer-main { grid-template-columns: 1fr 1fr; gap: 35px 25px; }
    .footer-brand { grid-column: 1 / -1; }
    .footer-main > div:last-child { grid-column: auto; }
    .footer-bottom { flex-direction: column; gap: 9px; }
}

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