/* Imágenes y movimiento contenidos; todos los elementos son visibles sin JavaScript. */
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
[hidden] { display: none !important; }
body { font-family: 'Inter', sans-serif; line-height: 1.5; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
h1, h2, h3, h4, h5, h6, button, .btn { font-family: 'Poppins', sans-serif; }
p, li, label, input, textarea, select { font-family: 'Inter', sans-serif; }
section h2, .section-header h3, .final-cta h2 { text-wrap: balance; }
.section-subtitle { font-size: .98rem; line-height: 1.65; }
.hero { padding-top: 5rem; padding-bottom: 5rem; }
.hero-panel { overflow: hidden; padding: 1.5rem; }
.hero-panel::before { display: none; }
.hero-editorial { position: relative; margin: -1.5rem -1.5rem 1.25rem; background: #071827; }
.hero-editorial img { display: block; width: 100%; height: auto; aspect-ratio: 1.95; object-fit: cover; object-position: center 65%; }
.hero-slides { position: relative; overflow: hidden; aspect-ratio: 1.95; background: #071827; }
.hero-slide { position: absolute; inset: 0; opacity: 0; transform: scale(1.02); transition: opacity .55s ease, transform 1.2s ease; pointer-events: none; }
.hero-slide.is-active { opacity: 1; transform: scale(1); pointer-events: auto; }
.hero-slide img { width: 100%; height: 100%; aspect-ratio: auto; object-fit: cover; object-position: center; transform-origin: 50% 50%; will-change: transform; }
.hero-slide:first-child img { object-position: center 65%; }
.hero-slide.is-active img { animation: heroKenBurns 9s ease-out forwards; }
@keyframes heroKenBurns { 0% { transform: scale(1) translate3d(0,0,0); } 100% { transform: scale(1.08) translate3d(-1.2%,-.8%,0); } }
@media (prefers-reduced-motion: reduce) { .hero-slide.is-active img { animation: none; } }
.hero-editorial figcaption { position: absolute; right: .8rem; bottom: 3.55rem; color: #d4dfe5; font-size: .58rem; letter-spacing: .04em; background: #071827b3; border-radius: 4px; padding: .2rem .4rem; }
.hero-slide-count { color: #8debd0; margin-left: .25rem; }
.hero-carousel-controls { position: absolute; left: .7rem; right: .7rem; bottom: .55rem; display: flex; align-items: center; gap: .4rem; }
.hero-carousel-btn, .hero-carousel-toggle { min-width: 28px; height: 28px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid rgba(173,255,230,.32); border-radius: 999px; background: rgba(5,20,30,.72); color: #b6f8e4; cursor: pointer; transition: background .2s, border-color .2s, transform .2s; }
.hero-carousel-btn { width: 28px; padding: 0; }
.hero-carousel-btn .ui-icon { width: .86rem; height: .86rem; }
.hero-carousel-btn:hover, .hero-carousel-toggle:hover { background: rgba(16,185,129,.55); border-color: #72f0cf; transform: translateY(-1px); }
.hero-carousel-dots { display: flex; align-items: center; gap: .35rem; margin-inline: auto; }
.hero-carousel-dot { width: 7px; height: 7px; padding: 0; border: 1px solid rgba(210,255,242,.75); border-radius: 50%; background: transparent; cursor: pointer; transition: background .2s, transform .2s, width .2s; }
.hero-carousel-dot.is-active { width: 18px; border-radius: 999px; background: #55e1b6; border-color: #55e1b6; }
.hero-carousel-toggle { gap: .3rem; padding: 0 .65rem; font: 600 .62rem/1 'Poppins',sans-serif; white-space: nowrap; }
.hero-carousel-toggle .ui-icon { width: .78rem; height: .78rem; }
.hero-carousel-btn:focus-visible, .hero-carousel-toggle:focus-visible, .hero-carousel-dot:focus-visible { outline: 2px solid #8ff5d8; outline-offset: 2px; }
.hero-panel-top { margin-bottom: .8rem; }
.hero-panel h2 { font-size: 1.35rem; margin-bottom: 1rem; }
.quote-process { margin-top: .1rem; }
.quote-process-head { display: flex; align-items: center; gap: .5rem; margin-bottom: .45rem; color: #71808f; font-size: .68rem; }
.quote-process-head::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #16b981; box-shadow: 0 0 0 3px rgba(22,185,129,.13); flex: 0 0 auto; }
.quote-process-current { overflow: hidden; color: #0f8064; font: 700 .7rem/1.2 'Poppins',sans-serif; letter-spacing: .02em; text-overflow: ellipsis; white-space: nowrap; }
.quote-process-progress { height: 3px; margin-bottom: .55rem; overflow: hidden; border-radius: 999px; background: #e5eeec; }
.quote-process-progress span { display: block; width: 0; height: 100%; border-radius: inherit; background: linear-gradient(90deg,#12b981,#55e1b6); animation: quoteProgressCycle 11s linear infinite; }
.quote-process:hover .quote-process-progress span, .quote-process:focus-within .quote-process-progress span { animation-play-state: paused; }
@keyframes quoteProgressCycle { 0% { width: 0; } 100% { width: 100%; } }
@media (prefers-reduced-motion: reduce) { .quote-process-progress span { animation: none; width: 100%; } }
.quote-step { position: relative; padding: .55rem .65rem; transition: border-color .35s ease, background .35s ease, box-shadow .35s ease, opacity .35s ease; }
.quote-step > .quote-step-number { flex: 0 0 auto; }
.quote-step > div { min-width: 0; }
.quote-step > .quote-step-state { display: block; width: auto; height: auto; margin-left: auto; padding: 0; border-radius: 0; background: transparent; color: #8a9aa3; font: 600 .57rem/1.2 'Poppins',sans-serif; white-space: nowrap; }
.quote-step.is-current { border-color: rgba(16,185,129,.48); background: #effaf6; box-shadow: 0 6px 18px rgba(16,135,101,.08); }
.quote-step.is-current > .quote-step-number { background: #10b981; color: #fff; box-shadow: 0 0 0 4px rgba(16,185,129,.12); }
.quote-step.is-current > .quote-step-state { color: #0f8064; }
.quote-step.is-complete { border-color: #d6e9e3; background: #f8fcfb; }
.quote-step.is-complete > .quote-step-number { background: #d9f5eb; color: #0f8064; }
.quote-step.is-complete > .quote-step-state { color: #0f8064; }
.quote-step.is-next { opacity: .74; }
.cat-grid { align-items: stretch; }
.cat-card { display: flex; flex-direction: column; }
.cat-body { display: flex; flex-direction: column; flex: 1; }
.cat-img-wrap { height: 176px; display: grid; place-items: center; position: relative; margin: 0; padding: 14px 18px; background: linear-gradient(135deg,#f0f8f6,#e8f0f3); }
.cat-img-wrap .cat-icon { margin: 0; display: grid; place-items: center; width: 72px; height: 72px; border-radius: 20px; background: #fff; box-shadow: 0 8px 24px #12394b0a; color: #147963; }
.cat-img-wrap .cat-img { display: none; width: 100%; height: 100%; object-fit: contain; object-position: center; }
.cat-img-wrap.has-image .cat-img { display: block; }
.cat-img-wrap.has-image .cat-icon { display: none; }
.cat-subs { margin-bottom: 1rem; }
.cat-card h4 { font-size: .86rem; }
.cat-subs li { font-size: .75rem; line-height: 1.7; }
.category-action { display: flex; align-items: center; justify-content: space-between; gap: .5rem; margin-top: auto; padding: .75rem 0 0; border: 0; border-top: 1px solid #e5eceb; background: transparent; color: #116d56; font: 700 .73rem/1.4 'Poppins',sans-serif; text-decoration: none; text-align: left; cursor: pointer; min-height: 44px; }
.category-action .ui-icon { width: 1.05rem; height: 1.05rem; transition: transform .2s; }
.category-action:hover .ui-icon { transform: translateX(3px); }
.contact-info, .contact-form, .contact-item > div { min-width: 0; }
.contact-item a { overflow-wrap: anywhere; }
.brands-carousel-wrapper { max-width: 1440px; margin-inline: auto; gap: 1rem; }
.brands-track { gap: 0; animation: none; transform: none; }
.brand-group { display: flex; align-items: center; gap: 2rem; padding-right: 2rem; flex-shrink: 0; }
.brand-logo-item { width: 132px; height: 72px; filter: grayscale(.65) opacity(.8); }
.brand-logo-item img { width: 120px; height: 56px; object-fit: contain; }
.brand-name { display: none; color: #405566; font-size: .8rem; text-align: center; }
.image-failed img { display: none; }
.image-failed .brand-name { display: block; }
.brand-clone { display: none; }
.can-move .brand-clone { display: flex; }
.brands-track.can-move { animation: scroll-brands 80s linear infinite; }
.brands-track-b.can-move { animation-name: scroll-brands-reverse; }
.brands-still .brands-track, .brands-carousel-wrapper:hover .brands-track, .brands-carousel-wrapper:focus-within .brands-track { animation-play-state: paused; }
.brands-paused .brands-carousel-wrapper { overflow-x: auto; mask-image: none; -webkit-mask-image: none; }
.brands-fit .brands-carousel-wrapper { mask-image: none; -webkit-mask-image: none; }
.brands-fit .brands-track { margin-inline: auto; }
.brands-paused .brands-track { animation-play-state: paused; }
.brands-controls { text-align: center; margin-top: 1.75rem; }
.brands-motion-toggle { display: inline-flex; align-items: center; justify-content: center; gap: .45rem; background: #f3f7f8; color: #425866; border: 1px solid #dce5e9; border-radius: 999px; padding: .7rem 1.15rem; font: 600 .75rem/1.4 'Poppins',sans-serif; cursor: pointer; min-height: 44px; }
.brands-motion-toggle .ui-icon { width: 1rem; height: 1rem; }
.brands-paused .brand-clone { display: flex; }
.mkt-section .section-header { align-items: center; }
.mkt-grid { display: flex; gap: 1.25rem; overflow-x: auto; scroll-snap-type: x mandatory; padding: .6rem .15rem 1.2rem; scrollbar-width: thin; }
.mkt-thumb { display: flex; flex: 0 0 clamp(240px,29vw,330px); flex-direction: column; aspect-ratio: auto; height: auto; border: 1px solid #dfe8eb; border-radius: 15px; background: #fff; color: #122c3d; box-shadow: 0 4px 14px #0c2b3908; scroll-snap-align: start; text-align: left; }
.mkt-thumb img { display: block; width: 100%; height: 300px; padding: .75rem; object-fit: contain; background: #f4f7f8; }
.mkt-thumb:hover img { transform: none; }
.mkt-thumb-overlay { position: static; inset: auto; display: flex; align-items: center; justify-content: space-between; gap: 1rem; width: 100%; min-height: 65px; padding: 1rem; background: #fff; opacity: 1; }
.mkt-thumb-overlay span { color: #122c3d; font-size: .8rem; font-weight: 600; }
.mkt-thumb-overlay .ui-icon { width: 1.05rem; height: 1.05rem; color: #16866a; flex: 0 0 auto; }
.mkt-thumb:focus-visible { outline-offset: -3px; }
.mkt-lightbox { flex-direction: column; gap: 1rem; padding: 64px 20px 24px; }
.mkt-lightbox-img { max-height: 70dvh; min-height: 0; }
.mkt-lb-caption { position: static; transform: none; text-align: center; white-space: normal; max-width: 700px; color: #e4eaf0; }
.mkt-lb-link { color: #7ef1cb; font-size: .85rem; padding: .5rem; }
.contact-proof { margin-top: 1.15rem; padding: 1.15rem 1.2rem 1.2rem; border: 1px solid rgba(85,225,182,.2); border-radius: 15px; background: rgba(255,255,255,.045); }
.contact-proof-heading { display: flex; align-items: center; gap: .45rem; color: #55e1b6; font: 700 .77rem/1.3 'Poppins',sans-serif; letter-spacing: .04em; text-transform: uppercase; }
.contact-proof-heading .ui-icon { width: 1rem; height: 1rem; fill: currentColor; stroke-width: 1.3; }
.contact-proof-intro { margin: .55rem 0 .85rem; color: #e6f4f1; font-size: .84rem; line-height: 1.55; }
.contact-proof-list { display: grid; gap: .6rem; margin: 0; padding: 0; list-style: none; }
.contact-proof-list li { display: grid; gap: .12rem; }
.contact-proof-list strong { color: #fff; font: 700 .77rem/1.25 'Poppins',sans-serif; }
.contact-proof-list span { color: #aebdc8; font-size: .72rem; line-height: 1.45; }
.contact-proof-link { display: inline-flex; align-items: center; gap: .35rem; margin-top: .9rem; color: #55e1b6; font-size: .73rem; font-weight: 700; text-decoration: none; }
.contact-proof-link .ui-icon { width: .95rem; height: .95rem; }
/* Laptops compactas: el primer pantallazo conserva jerarquía y CTA sin obligar a desplazar. */
@media (min-width: 1041px) and (max-height: 850px) {
    .hero { padding-top: 3.5rem; padding-bottom: 3rem; }
    .hero-content { gap: clamp(2rem, 4vw, 4rem); }
    .hero h1 { font-size: clamp(3rem, 4.7vw, 4.4rem); margin-bottom: 1.05rem; }
    .hero-badge { margin-bottom: 1.15rem; padding: .42rem .8rem; font-size: .78rem; }
    .hero-subtitle { font-size: 1rem; line-height: 1.55; margin-bottom: 1.3rem; }
    .hero-features { gap: .6rem 1rem; margin-bottom: 1.55rem; }
    .hero-feature-text { font-size: .82rem; }
    .hero-panel { padding: 1.25rem; border-radius: 18px; }
    .hero-editorial { margin: -1.25rem -1.25rem 1rem; }
    .hero-slides { aspect-ratio: 2.25; }
    .hero-panel-top { margin-bottom: .65rem; }
    .hero-panel h2 { font-size: 1.28rem; margin-bottom: .95rem; }
    .quote-process-head { font-size: .62rem; }
    .quote-process-current { font-size: .64rem; }
    .quote-step > .quote-step-state { font-size: .53rem; }
    .quote-step { padding: .55rem .6rem; gap: .7rem; }
    .quote-step > span { width: 30px; height: 30px; }
    .quote-step strong { font-size: .78rem; }
    .quote-step small { font-size: .68rem; }
    .hero-panel-link { padding-top: .75rem; }
}
@media (max-width: 1040px) {
    .header-nav { position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; background: #fff; padding: .75rem 1rem; box-shadow: 0 6px 24px #0f172a1a; z-index: 99; }
}
@media (hover: hover) and (pointer: fine) {
    .cat-card:hover, .diff-card:hover, .mp-card:hover { transform: translateY(-3px); }
    .cat-card:hover .cat-img { transform: scale(1.035); }
}
@media (max-width: 600px) {
    .hero { padding-top: 3.5rem; padding-bottom: 3.5rem; }
    .hero-panel { padding: 1.25rem; }
    .hero-editorial { margin: -1.25rem -1.25rem 1rem; }
    .hero-editorial figcaption { right: .7rem; bottom: 3.45rem; font-size: .52rem; }
    .hero-carousel-controls { left: .55rem; right: .55rem; }
    .hero-carousel-toggle { padding-inline: .5rem; }
    .cat-img-wrap { height: 146px; padding: 12px 14px; }
    .cat-img-wrap .cat-icon { width: 58px; height: 58px; border-radius: 16px; }
    .cat-img-wrap .cat-icon svg { width: 32px; height: 32px; }
    .cat-card h4 { font-size: .82rem; }
    .category-action { font-size: .7rem; }
    .mkt-thumb { flex-basis: 82%; }
    .mkt-thumb img { height: 280px; }
    .brands-carousel-wrapper { margin-inline: 1.25rem; }
    .contact-proof { padding: 1rem; }
}
@media (prefers-reduced-motion: reduce) {
    .brands-track { animation: none !important; transform: none !important; }
    .brand-clone, .brands-controls { display: none !important; }
    .brands-carousel-wrapper { overflow-x: auto; mask-image: none; -webkit-mask-image: none; }
    .cat-card:hover, .cat-card:hover .cat-img, .diff-card:hover, .mp-card:hover { transform: none; }
    .mkt-grid { scroll-behavior: auto; }
    .hero-slide { transition: none; transform: none; }
}
