/* =========================================================
   KitAlerta — sistema visual local-first, mobile-first
   Variables globales para cambiar identidad con facilidad.
   ========================================================= */
:root {
  --navy-950: #061a22;
  --navy-900: #0b2530;
  --navy-800: #12343f;
  --teal-700: #1b5660;
  --teal-100: #e1eeee;
  --red-600: #d6373f;
  --red-700: #b8242d;
  --red-100: #fbe9ea;
  --green-700: #1b7257;
  --green-100: #dff1e9;
  --ink: #122a33;
  --muted: #66777d;
  --line: #dce4e4;
  --surface: #f3f6f5;
  --paper: #ffffff;
  --warning: #a96309;
  --font: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  --radius-xs: 8px;
  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 30px;
  --radius-pill: 999px;
  --shadow-sm: 0 10px 35px rgba(6, 26, 34, .07);
  --shadow-md: 0 28px 80px rgba(6, 26, 34, .14);
  --max-width: 1220px;
  --shell: clamp(1rem, 4vw, 2rem);
  --section: clamp(4.5rem, 9vw, 8rem);
  --header-height: 72px;
  --ease: cubic-bezier(.2, .75, .25, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-height) + 20px); }
body { margin: 0; overflow-x: hidden; color: var(--ink); background: var(--paper); font-family: var(--font); line-height: 1.6; -webkit-font-smoothing: antialiased; }
body.is-locked { overflow: hidden; }
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { border: 0; color: inherit; cursor: pointer; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { color: var(--navy-900); line-height: 1.08; letter-spacing: -.045em; }
::selection { color: #fff; background: var(--red-600); }
:focus-visible { outline: 3px solid rgba(214, 55, 63, .3); outline-offset: 3px; }
[hidden] { display: none !important; }
.shell { width: min(calc(100% - (var(--shell) * 2)), var(--max-width)); margin-inline: auto; }
.section { padding-block: var(--section); }
.section--surface { background: var(--surface); }
.skip-link { position: fixed; z-index: 300; top: 10px; left: 10px; padding: 9px 13px; transform: translateY(-150%); border-radius: var(--radius-xs); color: #fff; background: var(--navy-950); }
.skip-link:focus { transform: translateY(0); }

/* Header */
.announcement { display: flex; min-height: 32px; align-items: center; justify-content: center; gap: 9px; padding: 6px 12px; color: #d7e4e5; background: var(--navy-950); font-size: .66rem; font-weight: 750; letter-spacing: .04em; text-align: center; text-transform: uppercase; }
.announcement i { width: 3px; height: 3px; border-radius: 50%; background: var(--red-600); }
.site-header { position: sticky; z-index: 90; top: 0; height: var(--header-height); border-bottom: 1px solid rgba(11, 37, 48, .09); background: rgba(255, 255, 255, .96); backdrop-filter: blur(15px); transition: box-shadow .25s; }
.site-header.is-scrolled { box-shadow: var(--shadow-sm); }
.header__inner { display: flex; height: 100%; align-items: center; justify-content: space-between; gap: 12px; }
.brand { display: inline-flex; flex: 0 0 auto; align-items: center; gap: 9px; }
.brand__mark { display: grid; width: 25px; aspect-ratio: 1; grid-template-columns: 1fr 1fr; gap: 3px; }
.brand__mark i { background: var(--red-600); }
.brand__copy { display: grid; line-height: 1; }
.brand__copy strong { color: var(--navy-900); font-size: .92rem; font-weight: 850; letter-spacing: .08em; }
.brand__copy small { margin-top: 5px; color: var(--muted); font-size: .52rem; letter-spacing: .03em; }
.desktop-nav { display: none; }
.header__actions { display: flex; align-items: center; gap: 5px; }
.header-quote { min-height: 39px !important; padding-inline: 12px !important; font-size: .64rem !important; }
.header-quote .desktop-label { display: none; }
.menu-toggle { position: relative; display: grid; width: 40px; height: 40px; place-items: center; border-radius: 50%; background: var(--surface); }
.menu-toggle span { position: absolute; width: 17px; height: 1.5px; background: var(--navy-900); transition: .22s; }
.menu-toggle span:first-child { top: 14px; }
.menu-toggle span:last-child { top: 24px; }
.menu-toggle[aria-expanded="true"] span:first-child { top: 19px; transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:last-child { top: 19px; transform: rotate(-45deg); }
.mobile-menu { position: absolute; top: 100%; left: 0; display: grid; width: 100%; padding: 10px var(--shell) 22px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #fff; box-shadow: var(--shadow-md); }
.mobile-menu a { padding: 12px 2px; border-bottom: 1px solid var(--line); font-size: .78rem; font-weight: 750; }
.mobile-menu a:last-child { border: 0; }

/* Type and controls */
.eyebrow { display: flex; align-items: center; gap: 9px; margin-bottom: 17px; color: var(--teal-700); font-size: .64rem; font-weight: 850; letter-spacing: .12em; text-transform: uppercase; }
.eyebrow::before { width: 18px; height: 2px; background: var(--red-600); content: ""; }
.eyebrow--light { color: #c3d5d7; }
.button { display: inline-flex; min-height: 49px; align-items: center; justify-content: center; gap: 12px; padding: 11px 19px; border: 1px solid transparent; border-radius: var(--radius-xs); font-size: .76rem; font-weight: 800; text-align: center; transition: transform .22s var(--ease), background .22s, color .22s, box-shadow .22s; }
.button:hover { transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.button--accent { color: #fff; background: var(--red-600); }
.button--accent:hover { background: var(--red-700); }
.button--dark { color: #fff; background: var(--navy-900); }
.button--ghost { border-color: var(--line); color: var(--navy-900); background: #fff; }
.button--whatsapp { color: #fff; background: var(--green-700); }
.button--full { width: 100%; }
.text-link { display: inline-flex; align-items: center; gap: 9px; padding-bottom: 4px; border-bottom: 1px solid currentColor; color: var(--navy-900); font-size: .7rem; font-weight: 800; }
.section-heading { display: grid; gap: 17px; margin-bottom: 34px; }
.section-heading h2 { max-width: 760px; margin: 0; font-size: clamp(2.2rem, 7vw, 4.6rem); }
.section-heading > p { max-width: 560px; margin: 0; color: var(--muted); font-size: .9rem; }
.section-heading--center { justify-items: center; text-align: center; }

/* Home hero */
.home-hero { position: relative; overflow: hidden; padding: clamp(3.8rem, 8vw, 7rem) 0 clamp(4.5rem, 8vw, 7.4rem); background: linear-gradient(118deg, #fff 0%, #fbfcfc 50%, #edf3f2 100%); }
.home-hero::after { position: absolute; top: -250px; right: -200px; width: 600px; height: 600px; border: 1px solid rgba(11, 37, 48, .08); border-radius: 50%; content: ""; }
.home-hero__grid { position: relative; z-index: 1; display: grid; gap: 45px; align-items: center; }
.home-hero h1 { max-width: 760px; margin-bottom: 23px; font-size: clamp(2.9rem, 10vw, 6.2rem); font-weight: 780; letter-spacing: -.065em; }
.home-hero h1 em { color: var(--red-600); font-style: normal; }
.home-hero__lead { max-width: 670px; margin-bottom: 26px; color: #516970; font-size: clamp(.98rem, 2vw, 1.12rem); line-height: 1.75; }
.hero-actions { display: flex; flex-direction: column; gap: 9px; }
.hero-microcopy { display: flex; flex-wrap: wrap; gap: 8px 16px; margin-top: 25px; color: var(--muted); font-size: .63rem; font-weight: 700; }
.hero-microcopy span::before { margin-right: 6px; color: var(--green-700); content: "✓"; }
.product-mosaic { position: relative; min-height: 470px; }
.mosaic-card { position: absolute; overflow: hidden; border: 8px solid #fff; border-radius: var(--radius-md); background: #fff; box-shadow: var(--shadow-md); }
.mosaic-card img { width: 100%; height: 100%; object-fit: cover; }
.mosaic-card--one { top: 0; right: 0; width: 70%; height: 70%; transform: rotate(2deg); }
.mosaic-card--two { bottom: 0; left: 0; width: 55%; height: 52%; transform: rotate(-3deg); }
.mosaic-card--three { right: 4%; bottom: 2%; width: 34%; height: 36%; transform: rotate(4deg); }
.mosaic-label { position: absolute; z-index: 2; top: 20px; left: 0; padding: 10px 13px; border-radius: var(--radius-xs); color: #fff; background: var(--navy-900); box-shadow: var(--shadow-sm); font-size: .6rem; font-weight: 800; }

/* Trust and product cards */
.trust-bar { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.trust-bar__grid { display: grid; }
.trust-item { display: grid; grid-template-columns: auto 1fr; gap: 12px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.trust-item:last-child { border: 0; }
.trust-item > span { color: var(--red-600); font-size: .58rem; font-weight: 850; }
.trust-item strong, .trust-item small { display: block; }
.trust-item strong { font-size: .72rem; }
.trust-item small { color: var(--muted); font-size: .61rem; }
.product-grid { display: grid; gap: 15px; }
.product-card { display: flex; min-width: 0; flex-direction: column; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius-md); background: #fff; transition: transform .3s var(--ease), box-shadow .3s, border-color .3s; }
.product-card:hover { transform: translateY(-5px); border-color: transparent; box-shadow: var(--shadow-md); }
.product-card__media { position: relative; aspect-ratio: 1 / 1; overflow: hidden; background: var(--surface); }
.product-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.product-card:hover .product-card__media img { transform: scale(1.035); }
.product-card__badge { position: absolute; top: 13px; left: 13px; padding: 6px 9px; border-radius: var(--radius-pill); color: #fff; background: var(--navy-900); font-size: .54rem; font-weight: 850; letter-spacing: .05em; text-transform: uppercase; }
.product-card__body { display: flex; flex: 1; flex-direction: column; padding: 19px; }
.product-card__meta { display: flex; justify-content: space-between; gap: 9px; margin-bottom: 9px; color: var(--muted); font-size: .54rem; font-weight: 750; letter-spacing: .06em; text-transform: uppercase; }
.availability { display: inline-flex; align-items: center; gap: 5px; color: var(--green-700); }
.availability::before { width: 6px; height: 6px; border-radius: 50%; background: currentColor; content: ""; }
.product-card h3 { margin-bottom: 9px; font-size: 1.15rem; }
.product-card p { flex: 1; margin-bottom: 17px; color: var(--muted); font-size: .7rem; line-height: 1.65; }
.product-card__price { display: flex; align-items: end; justify-content: space-between; gap: 10px; margin-bottom: 13px; }
.product-card__price span { color: var(--muted); font-size: .57rem; }
.product-card__price strong { color: var(--navy-900); font-size: .8rem; }
.product-card__actions { display: grid; gap: 7px; }
.product-card__actions .button { min-height: 43px; font-size: .64rem; }

/* Editorial SEO content */
.editorial-grid { display: grid; gap: 30px; }
.editorial-lead h2 { font-size: clamp(2.2rem, 7vw, 4.5rem); }
.editorial-copy { display: grid; gap: 18px; color: var(--muted); font-size: .85rem; }
.editorial-copy h3 { margin-bottom: 7px; font-size: 1.15rem; }
.editorial-copy p { margin-bottom: 0; }
.choice-grid { display: grid; gap: 10px; }
.choice-card { position: relative; min-height: 220px; padding: 23px; border: 1px solid var(--line); border-radius: var(--radius-md); background: #fff; }
.choice-card > span { color: var(--red-600); font-size: .58rem; font-weight: 850; }
.choice-card h3 { margin: 45px 0 10px; font-size: 1.2rem; }
.choice-card p { margin-bottom: 0; color: var(--muted); font-size: .7rem; }
.b2b-banner { overflow: hidden; color: #fff; background: var(--navy-950); }
.b2b-banner__grid { display: grid; gap: 28px; align-items: center; padding-block: clamp(3.5rem, 7vw, 6rem); }
.b2b-banner h2 { max-width: 730px; margin-bottom: 18px; color: #fff; font-size: clamp(2.3rem, 7vw, 4.6rem); }
.b2b-banner p { max-width: 620px; margin-bottom: 0; color: #9cb2b6; font-size: .82rem; }
.b2b-points { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 23px; }
.b2b-points span { padding: 7px 10px; border: 1px solid rgba(255, 255, 255, .16); border-radius: var(--radius-pill); color: #d6e2e3; font-size: .58rem; }

/* Product pages */
.breadcrumb { padding-block: 15px; border-bottom: 1px solid var(--line); color: var(--muted); font-size: .6rem; }
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: 7px; margin: 0; padding: 0; list-style: none; }
.breadcrumb li:not(:last-child)::after { margin-left: 7px; color: #9babad; content: "/"; }
.breadcrumb a:hover { color: var(--red-600); }
.product-page-hero { padding: clamp(2.5rem, 6vw, 5rem) 0 var(--section); background: linear-gradient(120deg, #fff, #f2f6f5); }
.product-layout { display: grid; gap: 34px; align-items: start; }
.product-gallery { min-width: 0; }
.gallery-main { overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius-md); background: #fff; box-shadow: var(--shadow-sm); }
.gallery-main img { width: 100%; height: auto; aspect-ratio: 1 / 1; object-fit: contain; background: #fff; }
.gallery-thumbs { display: flex; gap: 9px; margin-top: 10px; padding-bottom: 3px; overflow-x: auto; scrollbar-width: thin; }
.gallery-thumbs button { width: 88px; height: 88px; flex: 0 0 88px; overflow: hidden; padding: 4px; border: 2px solid transparent; border-radius: var(--radius-sm); background: #fff; }
.gallery-thumbs button.is-active { border-color: var(--red-600); }
.gallery-thumbs img { width: 100%; height: 100%; aspect-ratio: 1 / 1; object-fit: contain; }
.product-summary .eyebrow { margin-top: 5px; }
.product-summary h1 { margin-bottom: 18px; font-size: clamp(2.45rem, 8vw, 5rem); }
.product-short { max-width: 640px; margin-bottom: 21px; color: var(--muted); font-size: .91rem; line-height: 1.75; }
.product-meta-strip { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 20px 0; }
.product-meta-strip div { padding: 12px; border: 1px solid var(--line); border-radius: var(--radius-xs); background: rgba(255, 255, 255, .8); }
.product-meta-strip small, .product-meta-strip strong { display: block; }
.product-meta-strip small { color: var(--muted); font-size: .53rem; font-weight: 700; text-transform: uppercase; }
.product-meta-strip strong { margin-top: 3px; font-size: .67rem; }
.product-price-box { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 18px; padding: 17px; border-radius: var(--radius-sm); background: var(--teal-100); }
.product-price-box small, .product-price-box strong { display: block; }
.product-price-box small { color: var(--teal-700); font-size: .56rem; }
.product-price-box strong { color: var(--navy-900); font-size: 1.06rem; }
.product-price-box span { font-size: .58rem; font-weight: 800; text-align: right; }
.stock-status { display: inline-flex; width: fit-content; align-items: center; gap: 5px; padding: 5px 9px; border-radius: var(--radius-pill); font-size: .55rem !important; font-weight: 850 !important; letter-spacing: .02em; }
.stock-status::before { width: 7px; height: 7px; flex: 0 0 auto; border-radius: 50%; background: currentColor; content: ""; }
.stock-status.is-in-stock { color: #096647 !important; background: #dff4e9; }
.stock-status.is-out-of-stock { color: #a51e2b !important; background: #ffe3e6; }
.product-cta { display: grid; gap: 8px; }
.technical-sheet-link { grid-column: 1 / -1; }
.volume-prompt { margin-top: 17px; padding: 13px; border-left: 3px solid var(--red-600); color: var(--muted); background: var(--red-100); font-size: .65rem; }
.commercial-note { margin-top: 14px; color: var(--muted); font-size: .57rem; }
.content-layout { display: grid; gap: 35px; }
.content-layout h2, .prose-section h2 { margin-bottom: 18px; font-size: clamp(2rem, 6vw, 3.8rem); }
.content-layout p, .prose-section p, .prose-section li { color: var(--muted); font-size: .8rem; line-height: 1.8; }
.fact-stack { display: grid; gap: 9px; }
.fact-card { padding: 20px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: #fff; }
.fact-card span { color: var(--red-600); font-size: .56rem; font-weight: 850; }
.fact-card h3 { margin: 17px 0 7px; font-size: 1rem; }
.fact-card p { margin: 0; font-size: .68rem; }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius-md); }
.content-table { width: 100%; min-width: 500px; border-collapse: collapse; background: #fff; }
.content-table caption { padding: 17px; color: var(--muted); background: var(--surface); font-size: .61rem; text-align: left; }
.content-table th, .content-table td { padding: 13px 15px; border-bottom: 1px solid var(--line); font-size: .67rem; text-align: left; }
.content-table th { color: var(--navy-900); background: #f9fbfb; font-size: .58rem; letter-spacing: .06em; text-transform: uppercase; }
.content-table td { color: var(--muted); }
.content-table tr:last-child td { border-bottom: 0; }
.data-pending { display: inline-flex; padding: 4px 7px; border-radius: var(--radius-pill); color: var(--warning); background: #fff2dc; font-size: .53rem; font-weight: 800; }
.spec-grid { display: grid; gap: 10px; }
.spec-grid article { padding: 21px; border-radius: var(--radius-md); background: var(--navy-900); }
.spec-grid h3 { margin-bottom: 9px; color: #fff; font-size: 1rem; }
.spec-grid p { margin: 0; color: #a9bdc0; font-size: .68rem; }
.volume-banner { display: grid; gap: 22px; align-items: center; padding: 28px; border-radius: var(--radius-lg); color: #fff; background: var(--red-600); }
.volume-banner h2 { margin-bottom: 10px; color: #fff; font-size: clamp(2rem, 6vw, 3.5rem); }
.volume-banner p { margin: 0; color: #ffe8e9; font-size: .75rem; }

/* FAQ, related and articles */
.faq-layout { display: grid; gap: 30px; }
.faq-intro h2 { font-size: clamp(2.2rem, 7vw, 4.3rem); }
.faq-intro p { color: var(--muted); font-size: .76rem; }
.faq-list { border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { display: flex; min-height: 68px; align-items: center; justify-content: space-between; gap: 18px; color: var(--navy-900); cursor: pointer; font-size: .76rem; font-weight: 800; list-style: none; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { font-size: 1.1rem; content: "+"; transition: transform .2s; }
.faq-list details[open] summary::after { transform: rotate(45deg); }
.faq-list details p { max-width: 720px; padding: 0 30px 18px 0; color: var(--muted); font-size: .7rem; line-height: 1.75; }
.related-grid, .guide-grid, .blog-grid { display: grid; gap: 12px; }
.related-card, .guide-card, .blog-card { padding: 20px; border: 1px solid var(--line); border-radius: var(--radius-md); background: #fff; transition: transform .25s, box-shadow .25s; }
.related-card:hover, .guide-card:hover, .blog-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-sm); }
.related-card img { width: 100%; aspect-ratio: 1 / 1; margin-bottom: 16px; border-radius: var(--radius-sm); object-fit: cover; }
.related-card small, .guide-card small, .blog-card small { color: var(--red-600); font-size: .55rem; font-weight: 850; text-transform: uppercase; }
.related-card h3, .guide-card h3, .blog-card h3 { margin: 14px 0 9px; font-size: 1.05rem; }
.related-card p, .guide-card p, .blog-card p { color: var(--muted); font-size: .68rem; }
.article-header { max-width: 900px; padding-block: clamp(3.5rem, 8vw, 7rem); }
.article-header h1 { margin-bottom: 20px; font-size: clamp(2.8rem, 9vw, 6rem); }
.article-meta { display: flex; flex-wrap: wrap; gap: 8px 17px; color: var(--muted); font-size: .6rem; }
.article-lead { max-width: 760px; margin: 24px 0 0; color: #516970; font-size: 1rem; line-height: 1.8; }
.article-layout { display: grid; gap: 36px; }
.article-body { max-width: 800px; }
.article-body h2 { margin: 45px 0 15px; font-size: clamp(1.7rem, 5vw, 2.7rem); }
.article-body h3 { margin: 28px 0 10px; font-size: 1.2rem; }
.article-body p, .article-body li { color: var(--muted); font-size: .82rem; line-height: 1.85; }
.article-body li + li { margin-top: 7px; }
.source-note { padding: 17px; border-left: 3px solid var(--teal-700); background: var(--teal-100); font-size: .68rem; }
.article-aside { align-self: start; padding: 22px; border: 1px solid var(--line); border-radius: var(--radius-md); background: var(--surface); }
.article-aside h2 { font-size: 1.25rem; }
.article-aside a { display: block; padding: 10px 0; border-bottom: 1px solid var(--line); color: var(--navy-900); font-size: .67rem; font-weight: 750; }

/* Institutional pages */
.page-hero { padding-block: clamp(3.5rem, 8vw, 7rem); background: linear-gradient(120deg, #fff, #edf3f2); }
.page-hero h1 { max-width: 900px; margin-bottom: 20px; font-size: clamp(2.8rem, 9vw, 6rem); }
.page-hero p { max-width: 720px; margin: 0; color: var(--muted); font-size: .95rem; line-height: 1.8; }
.info-grid { display: grid; gap: 11px; }
.info-card { padding: 23px; border: 1px solid var(--line); border-radius: var(--radius-md); }
.info-card span { color: var(--red-600); font-size: .56rem; font-weight: 850; }
.info-card h2, .info-card h3 { margin: 25px 0 10px; font-size: 1.25rem; }
.info-card p { margin: 0; color: var(--muted); font-size: .7rem; }
.contact-layout { display: grid; gap: 22px; }
.contact-card { display: grid; gap: 12px; padding: 25px; border-radius: var(--radius-md); color: #fff; background: var(--navy-950); }
.contact-card h2 { color: #fff; font-size: 2rem; }
.contact-card p, .contact-card a, .contact-card span { color: #afc1c4; font-size: .72rem; }
.contact-card a:hover { color: #fff; }
.verification-slot { padding: 13px; border: 1px dashed #b7c4c5; border-radius: var(--radius-xs); color: var(--muted); background: var(--surface); font-size: .62rem; }

/* Quote page and quote panel */
.quote-page-layout { display: grid; gap: 28px; align-items: start; }
.quote-page-aside { padding: 27px; border-radius: var(--radius-lg); color: #fff; background: var(--navy-950); }
.quote-page-aside h2 { color: #fff; font-size: clamp(2rem, 6vw, 3.4rem); }
.quote-page-aside p { color: #9db2b6; font-size: .75rem; }
.process-list { display: grid; gap: 14px; margin: 28px 0 0; padding: 0; list-style: none; }
.process-list li { display: grid; grid-template-columns: 34px 1fr; gap: 12px; align-items: start; }
.process-list li > span { display: grid; width: 34px; height: 34px; place-items: center; border-radius: 50%; color: #fff; background: var(--red-600); font-size: .62rem; font-weight: 850; }
.process-list strong { display: block; color: #fff; font-size: .72rem; }
.process-list p { margin: 3px 0 0; font-size: .62rem; line-height: 1.6; }
.quote-panel { position: fixed; z-index: 150; top: 0; right: 0; width: min(100%, 520px); height: 100dvh; padding: 22px; overflow-y: auto; transform: translateX(105%); background: #fff; box-shadow: -20px 0 70px rgba(6, 26, 34, .22); transition: transform .35s var(--ease); }
.quote-panel.is-open { transform: translateX(0); }
.quote-overlay { position: fixed; z-index: 140; inset: 0; width: 100%; height: 100%; background: rgba(6, 26, 34, .58); backdrop-filter: blur(3px); }
.quote-panel__header { display: flex; align-items: start; justify-content: space-between; gap: 15px; padding-bottom: 17px; border-bottom: 1px solid var(--line); }
.quote-panel__header small { color: var(--red-600); font-size: .56rem; font-weight: 850; text-transform: uppercase; }
.quote-panel__header h2 { margin: 5px 0 0; font-size: 1.45rem; }
.quote-panel__header button { width: 38px; height: 38px; flex: 0 0 auto; border-radius: 50%; background: var(--surface); font-size: 1.2rem; }
.quote-panel__intro { margin: 17px 0; color: var(--muted); font-size: .67rem; }
.quote-form { padding: 23px; border: 1px solid var(--line); border-radius: var(--radius-md); background: var(--surface); }
.quote-panel .quote-form { padding: 0; border: 0; background: transparent; }
.quote-product-fields, .form-grid { display: grid; gap: 13px; }
.quote-product-fields { grid-template-columns: 1fr 100px; margin-bottom: 14px; }
.quote-form label, .quote-form legend { color: var(--navy-900); font-size: .59rem; font-weight: 780; }
.quote-form label > span { color: var(--muted); font-weight: 600; }
.quote-form input, .quote-form select, .quote-form textarea { width: 100%; margin-top: 6px; border: 1px solid var(--line); border-radius: var(--radius-xs); outline: 0; color: var(--ink); background: #fff; font-size: .7rem; transition: border-color .2s, box-shadow .2s; }
.quote-form input, .quote-form select { height: 44px; padding: 0 11px; }
.quote-form textarea { min-height: 88px; padding: 11px; resize: vertical; }
.quote-form input:focus, .quote-form select:focus, .quote-form textarea:focus { border-color: var(--teal-700); box-shadow: 0 0 0 3px rgba(27, 86, 96, .1); }
.quote-form [aria-invalid="true"] { border-color: var(--red-600); background: #fffafa; }
.receipt-field { display: flex; flex-wrap: wrap; gap: 13px; margin: 0; padding: 10px 0 0; border: 0; }
.receipt-field legend { width: 100%; }
.receipt-field label { display: flex; align-items: center; gap: 5px; }
.receipt-field input { width: auto; height: auto; margin: 0; accent-color: var(--red-600); }
.privacy-check { display: flex; gap: 8px; margin: 15px 0; color: var(--muted) !important; line-height: 1.5; }
.privacy-check input { width: auto; height: auto; margin-top: 2px; accent-color: var(--red-600); }
.form-error { min-height: 19px; margin: 0 0 8px; color: var(--red-700); font-size: .59rem; font-weight: 750; }
.multi-products { display: grid; gap: 7px; margin: 0 0 22px; padding: 0; border: 0; }
.multi-products legend { margin-bottom: 8px; }
.multi-products > label { display: grid; grid-template-columns: 1fr 75px; gap: 12px; align-items: center; padding: 10px 12px; border: 1px solid var(--line); border-radius: var(--radius-xs); background: #fff; }
.multi-products strong, .multi-products small { display: block; }
.multi-products strong { font-size: .63rem; }
.multi-products small { color: var(--muted); font-size: .5rem; }
.multi-products input { margin: 0; text-align: center; }
.quote-summary { padding: 20px; border-radius: var(--radius-md); color: #fff; background: var(--navy-950); }
.summary-kicker { margin-bottom: 7px; color: #8da6aa; font-size: .55rem; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; }
.quote-summary h3 { margin-bottom: 18px; color: #fff; font-size: 1.45rem; }
.quote-summary dl { margin: 0; }
.quote-summary dl div { display: grid; grid-template-columns: 100px 1fr; gap: 12px; padding: 10px 0; border-bottom: 1px solid rgba(255, 255, 255, .13); font-size: .62rem; }
.quote-summary dt { color: #8fa7ab; }
.quote-summary dd { margin: 0; font-weight: 750; }
.quote-summary > p:not(.summary-kicker) { margin: 16px 0; color: #8fa7ab; font-size: .58rem; }
.summary-actions { display: grid; gap: 7px; }
.summary-actions .button { min-height: 43px; font-size: .62rem; }

/* Footer and mobile controls */
.site-footer { color: #fff; background: var(--navy-950); }
.footer__grid { display: grid; gap: 34px; padding-block: 50px; }
.footer__brand .brand__copy strong { color: #fff; }
.footer__brand .brand__copy small { color: #789196; }
.footer__brand > p { max-width: 350px; margin: 22px 0; color: #81999d; font-size: .68rem; }
.footer-status { display: grid; gap: 5px; color: #a8bcbf; font-size: .62rem; }
.footer-column { display: grid; align-content: start; gap: 9px; }
.footer-column h2 { margin-bottom: 7px; color: #718b90; font-size: .57rem; letter-spacing: .1em; text-transform: uppercase; }
.footer-column a, .footer-column button { width: fit-content; padding: 0; color: #ccd9db; background: transparent; font-size: .66rem; text-align: left; }
.footer-column a:hover, .footer-column button:hover { color: #fff; }
.footer__bottom { display: grid; gap: 11px; padding-block: 20px; border-top: 1px solid rgba(255, 255, 255, .1); color: #627c81; font-size: .54rem; }
.footer__bottom nav { display: flex; flex-wrap: wrap; gap: 11px; }
.mobile-action-bar { position: fixed; z-index: 80; right: 8px; bottom: 8px; left: 8px; display: grid; grid-template-columns: 1fr 1fr; gap: 7px; padding: 7px; border: 1px solid var(--line); border-radius: 13px; background: rgba(255, 255, 255, .96); box-shadow: var(--shadow-md); backdrop-filter: blur(10px); }
.mobile-action-bar .button { min-height: 43px; padding: 8px 10px; font-size: .6rem; }
.site-toast { position: fixed; z-index: 200; right: 12px; bottom: 72px; left: 12px; padding: 13px 15px; transform: translateY(20px); border-radius: var(--radius-sm); opacity: 0; color: #fff; background: var(--navy-900); box-shadow: var(--shadow-md); font-size: .68rem; font-weight: 750; pointer-events: none; transition: .25s; }
.site-toast[data-tone="warning"] { background: #8a4f08; }
.site-toast.is-visible { transform: translateY(0); opacity: 1; }

@media (min-width: 560px) {
  .hero-actions { flex-direction: row; }
  .trust-bar__grid { grid-template-columns: 1fr 1fr; }
  .trust-item { padding: 20px 14px; border-right: 1px solid var(--line); }
  .trust-item:nth-child(even) { border-right: 0; }
  .trust-item:nth-last-child(-n+2) { border-bottom: 0; }
  .product-grid, .choice-grid, .info-grid, .related-grid, .guide-grid, .blog-grid { grid-template-columns: 1fr 1fr; }
  .product-card__actions { grid-template-columns: 1fr 1fr; }
  .form-grid { grid-template-columns: 1fr 1fr; }
  .form-grid__full { grid-column: 1 / -1; }
  .receipt-field { grid-column: 1 / -1; }
  .spec-grid { grid-template-columns: 1fr 1fr; }
  .volume-banner { grid-template-columns: 1fr auto; }
  .footer__grid { grid-template-columns: 2fr 1fr 1fr; }
  .footer__brand { grid-row: span 2; }
  .footer__bottom { grid-template-columns: auto 1fr; justify-content: space-between; }
  .footer__bottom nav { justify-content: flex-end; }
  .summary-actions { grid-template-columns: 1fr 1.5fr; }
}

@media (min-width: 780px) {
  :root { --header-height: 78px; }
  .header-quote { min-height: 42px !important; padding-inline: 16px !important; }
  .header-quote .mobile-label { display: none; }
  .header-quote .desktop-label { display: inline; }
  .home-hero__grid { grid-template-columns: 1.08fr .92fr; }
  .product-mosaic { min-height: 590px; }
  .section-heading { grid-template-columns: 1.2fr .8fr; align-items: end; }
  .section-heading--center { grid-template-columns: 1fr; }
  .product-grid { grid-template-columns: repeat(3, 1fr); }
  .editorial-grid, .content-layout { grid-template-columns: .85fr 1.15fr; }
  .choice-grid { grid-template-columns: repeat(3, 1fr); }
  .b2b-banner__grid { grid-template-columns: 1.2fr .8fr; }
  .product-layout { grid-template-columns: minmax(0, 1.05fr) minmax(340px, .95fr); }
  .product-gallery { position: sticky; top: 110px; }
  .product-cta { grid-template-columns: 1fr 1fr; }
  .fact-stack { grid-template-columns: repeat(3, 1fr); }
  .faq-layout { grid-template-columns: .7fr 1.3fr; }
  .faq-intro { position: sticky; top: 115px; align-self: start; }
  .related-grid, .guide-grid, .blog-grid { grid-template-columns: repeat(3, 1fr); }
  .article-layout { grid-template-columns: minmax(0, 1fr) 280px; }
  .article-aside { position: sticky; top: 115px; }
  .contact-layout { grid-template-columns: 1fr .75fr; }
  .quote-page-layout { grid-template-columns: .7fr 1.3fr; }
  .quote-page-aside { position: sticky; top: 115px; }
  .footer__grid { grid-template-columns: 2fr 1fr 1fr 1fr; }
  .footer__brand { grid-row: auto; }
  .mobile-action-bar { display: none; }
  .site-toast { right: 20px; bottom: 20px; left: auto; width: 380px; }
}

@media (min-width: 1040px) {
  .desktop-nav { display: flex; align-items: center; gap: clamp(13px, 1.7vw, 24px); }
  .desktop-nav a { position: relative; color: #425a62; font-size: .65rem; font-weight: 750; white-space: nowrap; }
  .desktop-nav a::after { position: absolute; right: 0; bottom: -9px; left: 0; height: 2px; transform: scaleX(0); transform-origin: right; background: var(--red-600); content: ""; transition: transform .22s; }
  .desktop-nav a:hover::after, .desktop-nav a[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }
  .menu-toggle { display: none; }
  .product-grid { grid-template-columns: repeat(5, 1fr); gap: 12px; }
  .product-card__body { padding: 16px; }
  .product-card h3 { font-size: .98rem; }
  .product-card p { font-size: .64rem; }
  .product-card__actions { grid-template-columns: 1fr; }
  .choice-grid { grid-template-columns: repeat(5, 1fr); }
  .choice-card { padding: 18px; }
  .quote-panel { padding: 28px; }
}

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

/* Ampliación del catálogo: conserva las variables y componentes originales. */
.mobile-menu { max-height: calc(100dvh - var(--header-height) - 45px); overflow-y: auto; }
.stock-status.is-unconfirmed { color: #735014 !important; background: #fff2dc; }
.category-grid { display: grid; gap: 14px; }
.category-card { display: flex; flex-direction: column; min-width: 0; padding: 27px; border: 1px solid var(--line); border-radius: var(--radius-md); background: #fff; transition: box-shadow .2s, transform .2s; }
.category-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-sm); }
.category-card h3 { margin-block: 18px; font-size: 1.65rem; }
.category-card p { flex: 1; color: var(--muted); font-size: .82rem; }
.category-card .text-link { align-self: flex-start; margin-top: 14px; }
.category-card--primary { background: var(--navy-900); border-color: var(--navy-900); }
.category-card--primary h3, .category-card--primary .text-link { color: #fff; }
.category-card--primary p, .category-card--primary .eyebrow { color: #c3d5d7; }
.catalog-page .page-hero h1 { max-width: 1040px; font-size: clamp(2.55rem, 6vw, 5.1rem); overflow-wrap: anywhere; }
.catalog-page .product-summary h1 { font-size: clamp(2.25rem, 4.7vw, 4.15rem); overflow-wrap: anywhere; }
.catalog-page .gallery-main { margin: 0; }
.catalog-page .content-layout > div, .catalog-page .product-summary { min-width: 0; }
.catalog-grid { grid-template-columns: 1fr; }
.catalog-grid .product-card h3 { font-size: 1.18rem; }
.catalog-grid .product-card p { font-size: .8rem; }
.catalog-grid .product-card__body { padding: 22px; }
.catalog-grid .product-card__actions { grid-template-columns: 1fr 1fr; }
.catalog-placeholder { display: flex; width: 100%; height: 100%; min-height: 230px; flex-direction: column; justify-content: center; align-items: center; gap: 10px; padding: 22px; color: var(--teal-700); background: linear-gradient(145deg, #f9fbfa, #e6eeee); text-align: center; }
.catalog-placeholder strong { margin-top: 12px; font-size: 1.2rem; }
.catalog-placeholder > span:not(.catalog-placeholder__frame) { font-size: .73rem; }
.catalog-placeholder small { margin-top: 10px; color: #52666d; font-size: .64rem; }
.catalog-placeholder__frame { position: relative; display: block; width: 68px; height: 53px; border: 2px solid #a6bcbe; border-radius: 9px; }
.catalog-placeholder__frame::before { position: absolute; top: 10px; right: 12px; width: 9px; height: 9px; border-radius: 50%; background: #a6bcbe; content: ''; }
.catalog-placeholder__frame span { position: absolute; bottom: 10px; left: 13px; width: 26px; height: 20px; border-left: 2px solid #a6bcbe; border-top: 2px solid #a6bcbe; transform: rotate(45deg); }
.catalog-placeholder--main { min-height: 340px; aspect-ratio: 1; }
.photo-caption { margin: 14px 0 0; color: var(--muted); font-size: .75rem; }
.catalog-materials { display: flex; flex-wrap: wrap; gap: 5px; margin-bottom: 16px; }
.catalog-materials span { padding: 4px 8px; border-radius: var(--radius-pill); background: var(--surface); color: #50616a; font-size: .65rem; }
.catalog-filters { display: grid; gap: 18px; margin-bottom: 28px; padding: 22px; border: 1px solid var(--line); border-radius: var(--radius-md); background: var(--surface); }
.catalog-filters fieldset { min-width: 0; margin: 0; padding: 0; border: 0; }
.catalog-filters legend, .catalog-filters label { font-size: .8rem; font-weight: 750; }
.catalog-filters fieldset > div { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.catalog-filters button { min-height: 43px; padding: 8px 13px; border: 1px solid var(--line); border-radius: var(--radius-pill); color: var(--navy-900); background: #fff; font-size: .76rem; }
.catalog-filters button[aria-pressed="true"] { color: #fff; background: var(--navy-900); border-color: var(--navy-900); }
.catalog-filters input { display: block; width: 100%; max-width: 440px; height: 46px; margin-top: 8px; padding: 9px 12px; border: 1px solid var(--line); border-radius: var(--radius-xs); background: #fff; font-size: .88rem; }
.catalog-filters p { margin: 0; color: var(--muted); font-size: .8rem; }
.catalog-empty { padding: 24px; border: 1px dashed var(--line); border-radius: var(--radius-sm); }
.product-variant { margin-bottom: 20px; }
.product-variant label { display: block; margin-bottom: 7px; font-size: .82rem; font-weight: 750; }
.product-variant select { width: 100%; min-height: 47px; padding: 10px; border: 1px solid var(--line); border-radius: var(--radius-xs); color: var(--ink); background: #fff; font-size: .88rem; }
.product-variant p { margin: 7px 0 0; color: var(--muted); font-size: .72rem; }
.quote-variant-field { display: block; margin-bottom: 15px; }
.quote-product-fields { grid-template-columns: minmax(0, 1fr) 85px; }
.quote-product-fields > label { min-width: 0; }
.catalog-specs { margin: 0; border: 1px solid var(--line); border-radius: var(--radius-sm); overflow: hidden; }
.catalog-specs > div { display: grid; grid-template-columns: minmax(100px, .8fr) minmax(0, 1.2fr); gap: 14px; padding: 17px; border-bottom: 1px solid var(--line); font-size: .81rem; }
.catalog-specs > div:last-child { border-bottom: 0; }
.catalog-specs dt { font-weight: 750; }
.catalog-specs dd { margin: 0; color: var(--muted); overflow-wrap: anywhere; }
.catalog-features-title { font-size: 1.8rem !important; }
.catalog-applications { padding-left: 20px; color: var(--muted); font-size: .82rem; }
.catalog-applications li + li { margin-top: 8px; }
.catalog-page .product-price-box { flex-wrap: wrap; }
.home-hero__lead a { color: inherit; text-decoration: underline; text-decoration-color: #a8babf; text-underline-offset: 3px; }
.home-hero__lead a:hover, .home-hero__lead a:focus-visible { color: var(--red-600); text-decoration-color: currentColor; }
.catalog-card-sheet { display: inline-block; margin-top: 17px; font-size: .76rem; }
.catalog-landing-link { margin: 0 0 24px; }
.catalog-page .technical-sheet-link { width: 100%; grid-column: 1 / -1; }
@media (min-width: 560px) {
  .category-grid, .catalog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1000px) {
  .category-grid { grid-template-columns: 1.35fr 1fr 1fr 1fr; }
  .category-card { padding: 23px; }
  .catalog-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (min-width: 1040px) and (max-width: 1239px) {
  .desktop-nav { display: none; }
  .menu-toggle { display: grid; }
}
@media (min-width: 1240px) {
  .desktop-nav { gap: 12px; }
  .desktop-nav a { font-size: .65rem; }
}
@media (max-width: 779px) {
  .site-footer { padding-bottom: 70px; }
  .catalog-placeholder--main { min-height: 260px; }
  .catalog-page .section { padding-block: 56px; }
}
