:root {
  --navy: #0b1f33;
  --navy-2: #12304d;
  --blue: #0a7cff;
  --cyan: #00c4ee;
  --ink: #0f2236;
  --muted: #566a7e;
  --line: #dce5ee;
  --bg: #ffffff;
  --bg-alt: #f2f6fa;
  --wa: #1fa855;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(11, 31, 51, .08);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 16px/1.6 Inter, system-ui, sans-serif; -webkit-font-smoothing: antialiased; }
h1, h2, h3 { font-family: Manrope, Inter, sans-serif; line-height: 1.15; margin: 0; letter-spacing: -.02em; }
h2 { font-size: clamp(28px, 3.4vw, 42px); font-weight: 800; }
h3 { font-size: 19px; font-weight: 700; }
p { color: var(--muted); margin: 0; }
a { color: inherit; }
img { max-width: 100%; display: block; }
button { font: inherit; cursor: pointer; }
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.skip { position: absolute; left: -999px; top: 0; background: var(--navy); color: #fff; padding: 10px 14px; z-index: 100; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--cyan); outline-offset: 2px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 20px; border-radius: 10px; border: 2px solid transparent; background: linear-gradient(90deg, var(--blue), var(--cyan)); color: #fff; font-weight: 600; font-size: 15px; text-decoration: none; white-space: nowrap; transition: transform .15s, box-shadow .15s; }
.btn:hover { transform: translateY(-1px); box-shadow: 0 8px 20px rgba(10, 124, 255, .25); }
.btn-lg { padding: 15px 26px; font-size: 16px; }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--blue); box-shadow: none; }
.btn-light { background: #fff; color: var(--navy); }
.btn-whatsapp { background: var(--wa); }

/* Top bar + header */
.topbar { background: var(--navy); color: #cfe0f0; font-size: 13px; }
.topbar-in { display: flex; justify-content: space-between; gap: 16px; padding-top: 8px; padding-bottom: 8px; }
.topbar strong { color: #fff; letter-spacing: .04em; }
.topbar-links { display: flex; gap: 18px; }
.topbar-links a { text-decoration: none; color: #fff; }
.dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: #3ddc84; margin-right: 4px; vertical-align: 1px; }
.header { position: sticky; top: 0; z-index: 20; background: rgba(255, 255, 255, .94); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: 76px; }
.brand img { height: 56px; width: auto; }
.menu { display: flex; gap: 22px; font-size: 15px; font-weight: 500; }
.menu a { text-decoration: none; color: var(--muted); white-space: nowrap; }
.menu a:hover { color: var(--ink); }
.nav-actions { display: flex; align-items: center; gap: 10px; }
.lang { border: 1px solid var(--line); background: #fff; border-radius: 8px; padding: 8px 10px; font-weight: 700; font-size: 13px; color: var(--ink); }
.burger { display: none; border: 0; background: none; padding: 8px; }
.burger span { display: block; width: 22px; height: 2px; background: var(--ink); margin: 5px 0; transition: .2s; }

/* Hero */
.hero { padding: 56px 0 64px; background: radial-gradient(1000px 500px at 85% 0%, #e6f6ff 0%, transparent 60%), radial-gradient(600px 400px at 0% 100%, #f2f6fa 0%, transparent 60%); }
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
.eyebrow { display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--blue); margin-bottom: 16px; }
.eyebrow-light { color: var(--cyan); }
.hero h1 { font-size: clamp(36px, 5vw, 60px); font-weight: 800; margin-bottom: 20px; }
.grad { background: linear-gradient(90deg, var(--blue), var(--cyan)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { font-size: 18px; max-width: 540px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 24px; }
.hero-points { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px 22px; font-size: 14px; color: var(--ink); font-weight: 500; }
.hero-points li::before { content: "✓"; color: var(--wa); font-weight: 800; margin-right: 6px; }
/* Credentials: the license, the insurance and the approvals, visible before the first scroll */
.creds { list-style: none; padding: 0; margin: 26px 0 0; display: flex; flex-wrap: wrap; gap: 10px; }
.creds li { display: flex; gap: 10px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 10px 14px 10px 12px; box-shadow: 0 4px 14px rgba(11, 31, 51, .05); white-space: nowrap; }
.cred-icon { flex: none; width: 36px; height: 36px; border-radius: 10px; background: #e8f4ff; display: grid; place-items: center; }
.cred-icon svg { width: 20px; height: 20px; fill: none; stroke: var(--blue); stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.creds small { display: block; font-size: 11px; color: var(--muted); line-height: 1.2; }
.creds strong { display: block; font: 700 14px/1.2 Manrope, sans-serif; letter-spacing: .01em; }
.hero-media { position: relative; aspect-ratio: 4 / 4.4; border-radius: 28px 28px 28px 120px; overflow: hidden; background: linear-gradient(150deg, var(--navy-2), var(--blue) 70%, var(--cyan)); box-shadow: var(--shadow); }
.hero-img { width: 100%; height: 100%; object-fit: cover; }
.license-card { position: absolute; left: 20px; bottom: 20px; right: 20px; display: flex; gap: 14px; align-items: center; background: #fff; border-radius: 14px; padding: 14px 18px; text-decoration: none; box-shadow: 0 10px 30px rgba(0, 0, 0, .18); max-width: 360px; }
.lc-badge { flex: none; width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(135deg, var(--blue), var(--cyan)); color: #fff; font-weight: 800; font-size: 20px; }
.license-card small { display: block; font-size: 12px; color: var(--muted); }
.license-card strong { display: block; font: 800 22px/1.2 Manrope, sans-serif; letter-spacing: .04em; }
.license-card em { font-style: normal; font-size: 12px; color: var(--blue); font-weight: 600; }
.ref-tag { position: absolute; top: 14px; right: 14px; background: rgba(11, 31, 51, .7); color: #fff; font-size: 11px; padding: 4px 10px; border-radius: 20px; }
.ref-tag-real { background: var(--wa); font-weight: 700; }

/* Strip */
.strip { background: var(--navy); color: #fff; }
.strip-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 24px; padding-top: 26px; padding-bottom: 26px; }
.strip-grid div { border-left: 2px solid var(--cyan); padding-left: 14px; }
.strip-grid strong { display: block; font: 800 18px Manrope, sans-serif; }
.strip-grid span { font-size: 13px; color: #a9c1d8; }

/* Sections */
.section { padding: 88px 0; }
.section-alt { background: var(--bg-alt); }
.head { margin-bottom: 40px; max-width: 720px; }
.head-row { display: flex; justify-content: space-between; align-items: end; gap: 40px; max-width: none; }
.head-row > div { max-width: 640px; }
.head-row > p { max-width: 400px; }

.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.card { border: 1px solid var(--line); border-radius: 18px; padding: 28px 24px; background: #fff; transition: box-shadow .2s, border-color .2s, transform .2s; }
.card:hover { box-shadow: var(--shadow); border-color: transparent; transform: translateY(-3px); }
.card h3 { margin: 18px 0 10px; }
.card p { font-size: 15px; }
.icon { width: 48px; height: 48px; border-radius: 12px; background: #e8f4ff; display: grid; place-items: center; }
.icon svg { width: 26px; height: 26px; fill: none; stroke: var(--blue); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* Comparison checklist */
.compare { background: #fff; border: 1px solid var(--line); border-radius: 18px; overflow: hidden; }
.compare-head, .compare-row { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 16px; padding: 16px 22px; align-items: center; }
.compare-head { background: var(--navy); color: #cfe0f0; font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.compare-us { color: #fff; font: 800 15px Manrope, sans-serif; text-transform: none; letter-spacing: 0; }
.compare-row { border-top: 1px solid var(--line); font-size: 15px; }
.compare-row > span:first-child { font-weight: 500; }
.compare-row .yes { color: #0f5a2c; font-weight: 600; background: #eef9f2; border-radius: 10px; padding: 8px 12px; }
.compare-row .yes b { font-family: Manrope, sans-serif; letter-spacing: .03em; }
.compare-row .no { color: var(--muted); font-size: 14px; }
/* Season banner */
.season { background: linear-gradient(90deg, var(--blue), var(--cyan)); color: #fff; }
.season-in { display: flex; align-items: center; gap: 18px; padding-top: 22px; padding-bottom: 22px; }
.season-icon { font-size: 30px; flex: none; }
.season p { color: #fff; flex: 1; font-size: 15px; }
.season strong { display: block; font: 800 18px/1.3 Manrope, sans-serif; margin-bottom: 2px; }
.season .btn-light { flex: none; }
/* Photo micro-commitment */
.photo-cta { display: flex; gap: 14px; align-items: center; margin-top: 22px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .14); border-radius: 14px; padding: 16px; text-decoration: none; color: #fff; transition: background .2s, border-color .2s; }
.photo-cta:hover { background: rgba(255, 255, 255, .1); border-color: var(--cyan); }
.photo-cta-icon { flex: none; width: 44px; height: 44px; border-radius: 12px; background: var(--wa); display: grid; place-items: center; font-size: 22px; }
.photo-cta strong { display: block; font-size: 15px; }
.photo-cta > span:last-child > span { font-size: 13px; color: #b8cbe0; }

.products { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.products figure { margin: 0; background: #fff; border-radius: var(--radius); padding: 18px 14px 14px; text-align: center; border: 1px solid var(--line); }
.products img { height: 130px; width: 100%; object-fit: contain; }
.products figcaption { margin-top: 12px; font-weight: 600; font-size: 14px; }
.makers { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; margin-top: 28px; font-size: 14px; color: var(--muted); }
.makers ul { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.makers li { background: #fff; border: 1px solid var(--line); border-radius: 30px; padding: 7px 14px; font-weight: 600; color: var(--ink); font-size: 13px; }

/* Gallery */
.filters { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { border: 1px solid var(--line); background: #fff; border-radius: 30px; padding: 8px 16px; font-size: 14px; color: var(--ink); }
.chip.active { background: var(--navy); color: #fff; border-color: var(--navy); }
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.gallery .tile { position: relative; border: 0; padding: 0; border-radius: var(--radius); overflow: hidden; background: var(--bg-alt); aspect-ratio: 4 / 3; text-align: left; color: #fff; }
.gallery .tile:first-child { grid-column: span 2; grid-row: span 2; aspect-ratio: auto; }
.gallery .tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.gallery .tile:hover img { transform: scale(1.04); }
.tile-info { position: absolute; inset: auto 0 0 0; padding: 40px 16px 14px; background: linear-gradient(transparent, rgba(5, 15, 28, .82)); }
.tile-info strong { display: block; font-size: 16px; }
.tile-info span { font-size: 13px; opacity: .85; }
.badge { position: absolute; top: 12px; left: 12px; font-size: 11px; font-weight: 700; padding: 4px 10px; border-radius: 20px; background: rgba(255, 255, 255, .92); color: var(--navy); }
.badge.real { background: var(--wa); color: #fff; }
.ba { display: grid; grid-template-columns: 1fr 1fr; height: 100%; gap: 2px; }
.ba img { height: 100%; }
.ba-label { position: absolute; bottom: 10px; font-size: 11px; font-weight: 700; padding: 3px 8px; border-radius: 20px; background: rgba(5, 15, 28, .7); color: #fff; pointer-events: none; }
.ba-label.before { left: 10px; }
.ba-label.after { right: 10px; }
.gallery .tile .ba-label { bottom: auto; top: 12px; left: auto; right: 12px; }
.gallery .tile .ba-label.before { display: none; }
.gallery-count { font-size: 13px; color: var(--muted); margin-top: 14px; }
/* Before/after slider (viewer) */
/* Both photos share one frame so revealing "after" fully covers "before" whatever their aspect ratios. */
.slider { position: relative; overflow: hidden; user-select: none; touch-action: pan-y; aspect-ratio: 4 / 3; max-height: 78vh; }
.slider img { position: absolute; inset: 0; width: 100%; height: 100%; max-height: none; object-fit: contain; display: block; }
.slider .after-layer { position: absolute; inset: 0; background: #000; clip-path: inset(0 0 0 var(--x, 50%)); }
.slider .handle { position: absolute; top: 0; bottom: 0; left: var(--x, 50%); width: 3px; background: #fff; transform: translateX(-50%); pointer-events: none; box-shadow: 0 0 0 1px rgba(0, 0, 0, .3); }
.slider .handle::after { content: "⇔"; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 40px; height: 40px; border-radius: 50%; background: #fff; color: var(--navy); display: grid; place-items: center; font-weight: 800; font-size: 18px; }
.slider input[type="range"] { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; margin: 0; cursor: ew-resize; }
.note { font-size: 13px; margin-top: 18px; }
.empty { grid-column: 1 / -1; border: 2px dashed var(--line); border-radius: var(--radius); padding: 40px; text-align: center; color: var(--muted); }

/* License */
.section-dark { background: linear-gradient(160deg, var(--navy) 0%, var(--navy-2) 100%); color: #fff; }
.section-dark p { color: #b8cbe0; }
.license-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 64px; align-items: center; }
.license-doc { background: #fff; color: var(--ink); border-radius: 18px; padding: 28px; box-shadow: 0 30px 60px rgba(0, 0, 0, .3); position: relative; overflow: hidden; }
.license-doc::after { content: ""; position: absolute; right: -40px; top: -40px; width: 160px; height: 160px; border-radius: 50%; border: 18px solid #e8f4ff; }
.doc-head { display: flex; justify-content: space-between; font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); border-bottom: 1px solid var(--line); padding-bottom: 12px; }
.doc-body { padding: 22px 0 24px; position: relative; z-index: 1; }
.doc-body small { color: var(--blue); font-weight: 700; font-size: 13px; }
.doc-number { font: 800 clamp(34px, 4vw, 46px)/1.1 Manrope, sans-serif; letter-spacing: .04em; margin: 6px 0 10px; }
.doc-name { font-weight: 700; font-size: 18px; }
.doc-addr { font-size: 14px; color: var(--muted); }
.doc-insured { margin-top: 12px; font-size: 14px; font-weight: 600; color: #137a3b; }
.license-doc .btn-light { background: var(--navy); color: #fff; width: 100%; }
.doc-hint { font-size: 13px; margin-top: 10px; text-align: center; color: var(--muted) !important; }
.doc-ins { display: flex; gap: 12px; align-items: flex-start; margin-top: 18px; padding: 14px; border-radius: 12px; background: #eef9f2; border: 1px solid #cdeedb; position: relative; z-index: 1; }
.doc-ins-icon { flex: none; width: 36px; height: 36px; border-radius: 10px; background: var(--wa); display: grid; place-items: center; }
.doc-ins-icon svg { width: 20px; height: 20px; fill: none; stroke: #fff; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.doc-ins strong { display: block; font-size: 14px; color: #0f5a2c; }
.doc-ins > span:last-child > span { font-size: 13px; color: #2d5a3e; }
.promises { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 18px; }
.promises li { padding-left: 34px; position: relative; color: #b8cbe0; }
.promises li::before { content: "✓"; position: absolute; left: 0; top: 0; width: 22px; height: 22px; border-radius: 50%; background: var(--cyan); color: var(--navy); font-weight: 800; font-size: 13px; display: grid; place-items: center; }
.promises strong { color: #fff; }

/* Steps */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; counter-reset: s; }
.steps li { background: var(--bg-alt); border-radius: 18px; padding: 22px 20px; position: relative; }
.steps b { display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: linear-gradient(135deg, var(--blue), var(--cyan)); color: #fff; font: 800 13px Manrope, sans-serif; }
.steps h3 { margin: 8px 0; font-size: 17px; }
.steps p { font-size: 14px; }

/* Apps */
.apps { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.app { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 30px; display: flex; flex-direction: column; gap: 12px; }
.app p { flex: 1; }
.app .btn { align-self: flex-start; }
.app-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 6px; }
.app-icon { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; color: #fff; font: 800 24px Manrope, sans-serif; background: linear-gradient(135deg, var(--blue), var(--cyan)); }
.pill { font-size: 12px; font-weight: 700; background: #fff5db; color: #8a5a00; padding: 5px 12px; border-radius: 20px; }
.pill.live { background: #e3f7ea; color: #137a3b; }

/* FAQ */
.faq-wrap { display: grid; grid-template-columns: .8fr 1.2fr; gap: 56px; align-items: start; }
.faq { display: grid; gap: 10px; }
.faq details { border: 1px solid var(--line); border-radius: 14px; padding: 16px 20px; background: #fff; transition: border-color .2s; }
.faq details[open] { border-color: var(--blue); }
.faq summary { cursor: pointer; font-weight: 600; font-size: 17px; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--blue); font-size: 22px; line-height: 1; }
.faq details[open] summary::after { content: "−"; }
.faq details p { margin-top: 10px; }

/* Contact */
.section-contact { background: var(--navy); color: #fff; }
.section-contact p { color: #b8cbe0; }
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; }
.contact-info h2 { margin-bottom: 14px; }
.contact-list { list-style: none; padding: 0; margin: 32px 0 0; display: grid; gap: 16px; }
.contact-list li { display: grid; grid-template-columns: 90px 1fr; gap: 10px; border-bottom: 1px solid rgba(255, 255, 255, .12); padding-bottom: 14px; font-size: 15px; }
.contact-list span { color: #8fa9c2; font-size: 13px; }
.contact-list a { text-decoration: none; }
.contact-list .phones { display: grid; gap: 4px; color: inherit; font-size: 15px; }
.contact-list a:hover { text-decoration: underline; }
.form { background: #fff; color: var(--ink); border-radius: 18px; padding: 30px; display: grid; gap: 14px; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form label { display: grid; gap: 6px; font-size: 14px; font-weight: 600; }
.form input, .form select, .form textarea { font: inherit; font-weight: 400; border: 1px solid var(--line); border-radius: 10px; padding: 11px 12px; background: #fbfdff; color: var(--ink); width: 100%; }
.form input:focus, .form select:focus, .form textarea:focus { border-color: var(--blue); outline: none; box-shadow: 0 0 0 3px rgba(10, 124, 255, .15); }
.form input[aria-invalid="true"] { border-color: #d43c3c; }
.form-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.form-actions .btn-light { border-color: var(--line); }
.form-note { font-size: 13px; color: var(--muted) !important; }
.form-note.error { color: #c23030 !important; }

/* Footer */
.footer { background: #071523; color: #9fb5ca; padding: 48px 0 24px; font-size: 14px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; }
.footer-grid div { display: grid; gap: 6px; align-content: start; }
.footer-grid strong { color: #fff; margin-bottom: 4px; }
.footer a { text-decoration: none; }
.footer a:hover { color: #fff; }
.footer-logo { background: #fff; border-radius: 10px; padding: 8px 12px; height: 56px; width: auto; margin-bottom: 8px; }
.footer-badges { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 32px; }
.footer-badges > span { border: 1px solid rgba(255, 255, 255, .14); border-radius: 30px; padding: 7px 14px; font-size: 13px; color: #dfe8f1; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .08); margin-top: 24px; padding-top: 20px; font-size: 13px; }

.float { display: none; position: fixed; right: 16px; bottom: 16px; z-index: 30; flex-direction: column; gap: 10px; }
.float a { width: 56px; height: 56px; border-radius: 50%; color: #fff; text-decoration: none; display: grid; place-items: center; box-shadow: 0 10px 25px rgba(0, 0, 0, .25); }
.float-call { background: var(--navy); font-size: 24px; }
.float-wa { background: var(--wa); }
.float-wa svg { width: 30px; height: 30px; fill: #fff; }

/* Viewer */
dialog#viewer { border: 0; padding: 0; border-radius: 16px; width: min(1000px, 94vw); background: #000; color: #fff; }
dialog#viewer::backdrop { background: rgba(4, 12, 22, .88); }
.viewer-media img { width: 100%; max-height: 78vh; object-fit: contain; }
.viewer-media .ba { height: auto; }
.viewer-caption { color: #dfe8f1; padding: 14px 18px; font-size: 15px; }
.viewer-close { position: absolute; top: 8px; right: 10px; z-index: 2; background: rgba(0, 0, 0, .55); color: #fff; border: 0; width: 40px; height: 40px; border-radius: 50%; font-size: 24px; }
.viewer-nav { position: absolute; top: 50%; transform: translateY(-50%); z-index: 2; background: rgba(0, 0, 0, .55); color: #fff; border: 0; width: 44px; height: 44px; border-radius: 50%; font-size: 26px; line-height: 1; }
.viewer-nav.prev { left: 10px; }
.viewer-nav.next { right: 10px; }
.viewer-nav[hidden] { display: none; }
.viewer-caption { display: flex; justify-content: space-between; gap: 12px; }
.viewer-caption small { color: #8fa9c2; white-space: nowrap; }

/* Stock (MVC): same layout as the Windoors-miami in-stock catalog */
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.catalog { display: grid; grid-template-columns: 1fr 2fr 1fr; gap: 24px; align-items: start; }
.cat-filters { display: grid; gap: 12px; }
.cat-box { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 12px; }
.cat-label { display: block; font-weight: 700; font-size: 14px; color: var(--ink); cursor: pointer; }
.cat-box input[type=search] { margin-top: 8px; width: 100%; border: 1px solid var(--line); border-radius: 8px; padding: 9px 12px; font: inherit; font-size: 14px; color: var(--ink); }
.cat-options { margin-top: 10px; display: grid; gap: 6px; max-height: 192px; overflow: auto; padding-right: 4px; }
.cat-options label { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--ink); }
.cat-options input { accent-color: var(--blue); width: 16px; height: 16px; }
.cat-clear { border: 1px solid var(--line); background: #fff; border-radius: 12px; padding: 9px; font-size: 14px; color: var(--ink); }
.cat-clear:hover { border-color: var(--blue); }
.cat-count { font-size: 14px; color: var(--muted); margin-bottom: 14px; }
.cat-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.stock-card { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 16px; display: flex; flex-direction: column; }
.stock-img { height: 144px; margin-bottom: 12px; background: var(--bg-alt); border-radius: 12px; overflow: hidden; }
.stock-img img { width: 100%; height: 100%; object-fit: contain; padding: 8px; }
.stock-card h3 { font-size: 16px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.stock-specs { margin-top: 8px; border: 1px solid var(--line); background: var(--bg-alt); border-radius: 8px; padding: 8px; font-size: 12px; color: var(--ink); display: grid; gap: 3px; }
.stock-specs p { color: var(--ink); }
.stock-specs span { color: var(--muted); }
.stock-desc { font-size: 12px; margin-top: 8px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.stock-qty { margin-top: 8px; font-size: 14px; color: #137a3b; font-weight: 600; }
.stock-price { margin-top: 2px; font: 800 21px Manrope, sans-serif; color: var(--navy); }
.stock-price.ask { font-size: 15px; font-weight: 700; color: var(--muted); }
.stock-qtyrow { margin-top: 12px; display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--muted); }
.stock-qtyrow input { width: 96px; border: 1px solid var(--line); border-radius: 8px; padding: 8px 12px; font: inherit; color: var(--ink); }
.stock-add { margin-top: 8px; width: 100%; padding: 9px 14px; font-size: 14px; background: var(--wa); }
.stock-add[hidden] { display: none; }
.stock-promo { align-self: flex-start; margin-bottom: 6px; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; background: #fff5db; color: #8a5a00; padding: 3px 9px; border-radius: 20px; }
/* Stock view: only the stock shows when the menu's "In stock" button is used. */
body.view-stock main > :not(#stock) { display: none; }
.stock-view { padding-top: 48px; }
.menu a[aria-current="page"] { color: var(--blue); font-weight: 700; }
.cat-cart { position: sticky; top: 96px; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 16px; scroll-margin-top: 96px; }
.cart-items { margin-top: 12px; display: grid; gap: 8px; max-height: 288px; overflow: auto; padding-right: 4px; }
.cart-empty { font-size: 14px; }
.cart-row { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding-bottom: 8px; border-bottom: 1px solid var(--line); font-size: 14px; }
.cart-name { color: var(--ink); font-weight: 600; display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; }
.cart-sub { font-size: 13px; }
.cart-remove { border: 0; background: none; color: #c0392b; font-size: 12px; padding: 4px; }
.cart-totals { margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--line); display: grid; gap: 4px; }
.cart-line { display: flex; justify-content: space-between; gap: 8px; font-size: 14px; color: var(--muted); }
.cart-line.total { align-items: baseline; color: var(--ink); }
.cart-line.total span:last-child { font: 800 22px Manrope, sans-serif; text-align: right; }
.cart-plus { text-align: right; font-size: 13px; }
.cart-send { margin-top: 14px; width: 100%; }
.cart-send.disabled { opacity: .5; cursor: not-allowed; }
.cart-hint { margin-top: 10px; font-size: 12px; }
.cart-bar { position: fixed; left: 16px; right: 88px; bottom: 16px; z-index: 31; display: none; align-items: center; justify-content: space-between; gap: 10px; border: 0; border-radius: 16px; background: var(--wa); color: #fff; padding: 14px 16px; font-weight: 600; font-size: 14px; box-shadow: 0 10px 25px rgba(0, 0, 0, .25); }
.cart-bar-total { font: 800 17px Manrope, sans-serif; margin-left: auto; }
.cart-bar-go { font-size: 13px; opacity: .9; }

/* Responsive */
/* The full menu only fits from ~1180px; below that it folds into the burger. */
@media (max-width: 1180px) {
  .burger { display: block; }
  .menu { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; gap: 0; background: #fff; border-bottom: 1px solid var(--line); padding: 8px 24px 16px; }
  .menu.open { display: flex; }
  .menu a { padding: 12px 0; border-bottom: 1px solid var(--line); color: var(--ink); }
}
@media (max-width: 1080px) {
  .catalog { grid-template-columns: 1fr 2fr; }
  .cat-cart { grid-column: 1 / -1; position: static; }
  .strip-grid { grid-template-columns: repeat(3, 1fr); }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .products { grid-template-columns: repeat(3, 1fr); }
  .steps { grid-template-columns: repeat(3, 1fr); row-gap: 28px; }
}
@media (max-width: 900px) {
  .nav-actions .btn { display: none; }
  .hero-grid, .license-grid, .faq-wrap, .contact-grid { grid-template-columns: 1fr; gap: 36px; }
  .hero { padding-top: 32px; }
  .hero-media { aspect-ratio: 4 / 3; border-radius: 22px 22px 22px 70px; }
  .strip-grid { grid-template-columns: 1fr 1fr; }
  .head-row { flex-direction: column; align-items: start; gap: 18px; }
  .compare-head { display: none; }
  .compare-row { grid-template-columns: 1fr; gap: 8px; }
  .compare-row .yes::before { content: "WinDoors: "; font-weight: 700; }
  .compare-row .no::before { content: attr(data-l) " "; }
  .season-in { flex-direction: column; align-items: flex-start; }
  .gallery { grid-template-columns: 1fr 1fr; }
  .apps { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > div:first-child { grid-column: 1 / -1; }
  .float { display: flex; }
}
@media (max-width: 600px) {
  .wrap { padding: 0 16px; }
  .topbar-in { flex-direction: column; gap: 2px; align-items: center; text-align: center; }
  .nav { height: 66px; }
  .brand img { height: 44px; }
  .section { padding: 64px 0; }
  .cards, .products { grid-template-columns: 1fr 1fr; gap: 12px; }
  .card { padding: 20px 16px; }
  .products img { height: 100px; }
  .gallery { grid-template-columns: 1fr; }
  .gallery .tile:first-child { grid-column: auto; grid-row: auto; aspect-ratio: 4 / 3; }
  .steps { grid-template-columns: 1fr; }
  .row2 { grid-template-columns: 1fr; }
  .form { padding: 22px 18px; }
  .contact-list li { grid-template-columns: 1fr; gap: 2px; }
  .hero-ctas .btn { flex: 1; }
  .creds li { width: 100%; }
  .strip-grid { grid-template-columns: 1fr; gap: 14px; }
  .license-card { left: 12px; right: 12px; bottom: 12px; padding: 12px 14px; }
}
@media (max-width: 900px) {
  .catalog { grid-template-columns: 1fr; }
  .cart-bar:not([hidden]) { display: flex; }
  body.has-cart { padding-bottom: 88px; }
}
@media (max-width: 600px) {
  .cat-grid { grid-template-columns: 1fr; }
}
@media (max-width: 420px) {
  .cards { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
