@font-face {
  font-family: "Manrope";
  src: url("/fonts/manrope-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
}

:root {
  --ink: #111311;
  --ink-soft: #252824;
  --paper: #f4f4ef;
  --surface: #fff;
  --signal: #e43b27;
  --signal-dark: #b92c1c;
  --line: #d9d9d1;
  --muted: #656961;
  --lime: #d8ff45;
  --max: 1440px;
  --shadow: 0 24px 70px rgb(18 20 18 / 12%);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: "Manrope", Arial, sans-serif; line-height: 1.5; }
body.drawer-open { overflow: hidden; }
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { color: inherit; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
h1, h2, h3, p { text-wrap: balance; }
:focus-visible { outline: 3px solid var(--lime); outline-offset: 3px; }
.skip-link { position: fixed; left: 16px; top: -80px; z-index: 100; background: var(--ink); color: white; padding: 12px 18px; }
.skip-link:focus { top: 16px; }
.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; }
.eyebrow { margin: 0 0 22px; color: var(--signal); font-size: 10px; font-weight: 800; letter-spacing: .19em; text-transform: uppercase; }
.light-eyebrow { color: #ff8b7d; }

.site-header { position: sticky; top: 0; z-index: 50; height: 72px; border-bottom: 1px solid var(--line); background: rgb(244 244 239 / 92%); backdrop-filter: blur(16px); }
.header-inner { height: 100%; max-width: 1600px; margin: auto; padding: 0 clamp(22px, 4.5vw, 74px); display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand { min-width: 210px; display: flex; align-items: center; gap: 11px; }
.brand-mark { width: 37px; height: 37px; display: block; flex: 0 0 auto; }
.brand-copy { display: flex; flex-direction: column; line-height: 1; }
.brand-copy strong { font-size: 16px; letter-spacing: .17em; }
.brand-copy small { margin-top: 5px; color: var(--muted); font-size: 8px; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; }
.demo-badge { margin-left: -12px; padding: 4px 7px; border: 1px solid var(--line); color: var(--muted); font-size: 8px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.main-nav { display: flex; align-items: center; gap: clamp(22px, 2.8vw, 44px); }
.main-nav a { position: relative; font-size: 12px; font-weight: 700; }
.main-nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -9px; height: 1px; background: var(--signal); transition: right .2s ease; }
.main-nav a:hover::after { right: 0; }
.menu-toggle { display: none; width: 42px; height: 42px; border: 0; background: transparent; padding: 10px; }
.menu-toggle span { display: block; height: 1px; margin: 7px 0; background: var(--ink); transition: .2s ease; }

.button { min-height: 52px; padding: 0 24px; display: inline-flex; align-items: center; justify-content: center; gap: 24px; border: 1px solid var(--signal); border-radius: 0; background: var(--signal); color: white; font-size: 12px; font-weight: 800; cursor: pointer; transition: background .2s ease, border-color .2s ease, transform .2s ease; }
.button:hover { background: var(--signal-dark); border-color: var(--signal-dark); transform: translateY(-1px); }
.button-small { min-height: 42px; padding: 0 16px; gap: 13px; }
.button-dark { background: var(--ink); border-color: var(--ink); }
.button-dark:hover { background: #333831; border-color: #333831; }
.button-light { background: white; border-color: white; color: var(--ink); }
.button-light:hover { background: var(--lime); border-color: var(--lime); }
.button-large { min-height: 62px; min-width: 220px; }
.quote-count { width: 20px; height: 20px; display: grid; place-items: center; border-radius: 50%; background: rgb(0 0 0 / 18%); font-size: 9px; }
.text-link, .card-link { display: inline-flex; align-items: center; justify-content: space-between; gap: 20px; padding: 9px 0; border: 0; border-bottom: 1px solid #96998f; background: transparent; font-size: 12px; font-weight: 800; cursor: pointer; }

.hero { max-width: 1800px; min-height: 700px; margin: auto; display: grid; grid-template-columns: 52% 48%; border-bottom: 1px solid var(--line); }
.hero-content { padding: clamp(78px, 8vw, 124px) clamp(30px, 7vw, 112px) 64px clamp(28px, 5vw, 80px); display: flex; flex-direction: column; justify-content: center; }
.hero h1 { max-width: 820px; margin: 0; font-size: clamp(54px, 5.7vw, 91px); font-weight: 600; letter-spacing: -.06em; line-height: .97; }
.hero-lead { max-width: 650px; margin: 31px 0 0; color: #4f534c; font-size: clamp(16px, 1.3vw, 19px); line-height: 1.68; }
.hero-actions { margin-top: 37px; display: flex; align-items: center; gap: 32px; }
.hero-proof { display: flex; margin: 62px 0 0; }
.hero-proof div { padding: 0 26px; border-left: 1px solid var(--line); }
.hero-proof div:first-child { padding-left: 0; border-left: 0; }
.hero-proof dt { font-size: 21px; font-weight: 800; }
.hero-proof dd { margin: 3px 0 0; color: var(--muted); font-size: 10px; }
.hero-visual { position: relative; min-height: 700px; overflow: hidden; background: image-set(url("/assets/hero-mineria.avif") type("image/avif"), url("/assets/hero-mineria.webp") type("image/webp"), url("/assets/hero-mineria.jpg") type("image/jpeg")) center / cover no-repeat; }
.hero-visual::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgb(9 10 9 / 1%) 42%, rgb(9 10 9 / 67%) 100%); }
.hero-visual::after { content: ""; position: absolute; inset: 0; border-left: 1px solid rgb(255 255 255 / 16%); pointer-events: none; }
.hero-index { position: absolute; top: 28px; right: 32px; z-index: 1; color: white; font-size: 9px; letter-spacing: .18em; }
.hero-note { position: absolute; left: 40px; right: 40px; bottom: 36px; z-index: 1; display: flex; align-items: flex-start; gap: 16px; color: white; }
.hero-note span { padding: 6px 8px; border: 1px solid rgb(255 255 255 / 55%); font-size: 9px; }
.hero-note p { max-width: 390px; margin: 0; font-size: 12px; line-height: 1.6; }

.quick-config { width: min(1380px, calc(100% - 48px)); margin: 0 auto; padding: 25px 29px; display: grid; grid-template-columns: 1.15fr .85fr .85fr .55fr .9fr auto; align-items: end; gap: 16px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); transform: translateY(-50%); position: relative; z-index: 4; }
.quick-config .eyebrow { margin-bottom: 6px; }
.quick-config h2 { margin: 0; font-size: 21px; letter-spacing: -.04em; }
.quick-config label { display: grid; gap: 8px; font-size: 9px; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.quick-config select, .quick-config input { width: 100%; min-height: 48px; padding: 0 13px; border: 1px solid var(--line); border-radius: 0; background: #fafaf7; color: #353832; font-size: 11px; letter-spacing: 0; text-transform: none; }

.section { max-width: var(--max); margin: 0 auto; padding: 104px clamp(24px, 5vw, 72px); }
.section-heading { margin-bottom: 55px; display: grid; grid-template-columns: 1.2fr .8fr; align-items: end; gap: 60px; }
.section-heading h2, .catalog-head h2, .about h2 { margin: 0; font-size: clamp(39px, 4.3vw, 68px); font-weight: 600; line-height: 1.03; letter-spacing: -.055em; }
.section-heading > p { max-width: 500px; margin: 0 0 5px; color: var(--muted); font-size: 15px; line-height: 1.75; }
.solution-grid { display: grid; grid-template-columns: 1.35fr 1fr 1fr; grid-template-rows: 320px 320px; gap: 12px; }
.solution-card { min-height: 320px; position: relative; overflow: hidden; padding: 28px; display: flex; flex-direction: column; justify-content: space-between; border: 1px solid var(--line); }
.solution-card > div:last-child { position: relative; z-index: 1; }
.solution-card h3 { max-width: 440px; margin: 8px 0 10px; font-size: clamp(25px, 2.7vw, 39px); font-weight: 600; line-height: 1.05; letter-spacing: -.045em; }
.solution-card p:not(.tag) { max-width: 460px; margin: 0 0 23px; color: var(--muted); font-size: 13px; line-height: 1.65; }
.card-number { align-self: flex-end; color: var(--muted); font-size: 9px; letter-spacing: .16em; }
.tag { margin: 0; color: var(--signal); font-size: 9px; font-weight: 800; letter-spacing: .17em; text-transform: uppercase; }
.solution-primary { grid-row: span 2; justify-content: flex-end; padding: 40px; background: var(--ink); color: white; }
.solution-primary::before { content: "M"; position: absolute; top: -80px; left: 20px; color: #1b1e1b; font-size: 510px; font-weight: 900; line-height: 1; letter-spacing: -.15em; }
.solution-primary .card-number { position: absolute; top: 34px; right: 34px; color: #8b8e88; }
.solution-primary p:not(.tag) { color: #aaada7; }
.solution-primary .card-link { color: white; border-color: #777b74; }
.solution-image { grid-column: span 2; padding: 0; color: white; }
.solution-image::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgb(8 10 8 / 72%), rgb(8 10 8 / 4%)); }
.solution-image img { width: 100%; height: 100%; object-fit: cover; }
.solution-image > div { position: absolute !important; inset: 0; padding: 28px; display: flex; flex-direction: column; justify-content: flex-end; align-items: flex-start; z-index: 2 !important; }
.solution-image .card-number { position: absolute; top: 28px; right: 28px; color: white; }
.light { color: white; border-color: rgb(255 255 255 / 55%); }
.solution-neutral { background: #e8e8e1; }
.solution-accent { background: var(--signal); color: white; border-color: var(--signal); }
.solution-accent .tag { color: #ffd6ce; }
.solution-accent p:not(.tag) { color: #ffe3de; }

.catalog { padding-top: 130px; }
.catalog-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; }
.catalog-search { width: min(100%, 365px); position: relative; border-bottom: 1px solid var(--ink); }
.catalog-search input { width: 100%; height: 48px; padding: 0 35px 0 0; border: 0; background: transparent; color: var(--ink); outline: 0; font-size: 13px; }
.catalog-search span { position: absolute; right: 3px; top: 8px; font-size: 22px; }
.filter-bar { margin: 45px 0 28px; display: flex; flex-wrap: wrap; gap: 8px; }
.filter-chip { min-height: 38px; padding: 0 16px; border: 1px solid var(--line); background: transparent; font-size: 10px; font-weight: 700; cursor: pointer; }
.filter-chip:hover, .filter-chip.active { border-color: var(--ink); background: var(--ink); color: white; }
.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.product-card { min-width: 0; background: var(--paper); }
.product-image { position: relative; aspect-ratio: 1 / 1; overflow: hidden; background: white; cursor: pointer; }
.product-image picture { display: block; width: 100%; height: 100%; }
.product-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; }
.product-card:hover .product-image img { transform: scale(1.025); }
.product-code { position: absolute; top: 12px; left: 12px; padding: 5px 7px; background: rgb(255 255 255 / 88%); backdrop-filter: blur(6px); font-size: 8px; font-weight: 800; letter-spacing: .08em; }
.product-open { position: absolute; right: 12px; bottom: 12px; width: 38px; height: 38px; border: 0; background: var(--ink); color: white; font-size: 17px; cursor: pointer; }
.product-copy { min-height: 175px; padding: 20px; display: flex; flex-direction: column; align-items: flex-start; }
.product-category { margin: 0 0 7px; color: var(--signal); font-size: 8px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.product-copy h3 { margin: 0; font-size: 15px; line-height: 1.35; letter-spacing: -.025em; }
.product-meta { margin: 7px 0 18px; color: var(--muted); font-size: 10px; }
.add-product { width: 100%; min-height: 39px; margin-top: auto; display: flex; align-items: center; justify-content: space-between; border: 0; border-top: 1px solid var(--line); background: transparent; font-size: 10px; font-weight: 800; cursor: pointer; }
.add-product:hover { color: var(--signal); }
.add-product.added { color: #217443; }
.catalog-empty { padding: 70px 0; text-align: center; color: var(--muted); }
.catalog-footer { margin-top: 28px; display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.catalog-footer p { max-width: 600px; color: var(--muted); font-size: 11px; }

.project-showcase { max-width: 1800px; min-height: 730px; margin: 60px auto 0; display: grid; grid-template-columns: 57% 43%; background: var(--ink); color: white; }
.project-photo { position: relative; min-height: 620px; overflow: hidden; }
.project-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 65%, rgb(0 0 0 / 55%)); }
.project-photo img { width: 100%; height: 100%; object-fit: cover; }
.project-photo > span { position: absolute; left: 32px; bottom: 28px; z-index: 1; font-size: 9px; font-weight: 800; letter-spacing: .17em; text-transform: uppercase; }
.project-copy { padding: clamp(58px, 6vw, 98px); display: flex; flex-direction: column; justify-content: center; }
.project-copy h2 { margin: 0; font-size: clamp(38px, 4.3vw, 67px); font-weight: 550; letter-spacing: -.055em; line-height: 1.02; }
.project-copy > p:not(.eyebrow) { margin: 27px 0 34px; color: #b8bbb5; font-size: 14px; line-height: 1.75; }
.project-specs { margin: 0 0 38px; padding: 0; list-style: none; border-top: 1px solid #373b36; }
.project-specs li { padding: 16px 0; display: flex; gap: 17px; border-bottom: 1px solid #373b36; }
.project-specs li > span { margin-top: 2px; color: #777b74; font-size: 9px; }
.project-specs div { display: flex; flex-direction: column; }
.project-specs strong { font-size: 12px; }
.project-specs small { margin-top: 2px; color: #898d86; font-size: 10px; }

.process { padding-top: 130px; }
.process-list { margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); list-style: none; border-top: 1px solid var(--ink); }
.process-list li { min-height: 250px; padding: 22px 26px 30px 0; border-right: 1px solid var(--line); }
.process-list li + li { padding-left: 25px; }
.process-list li:last-child { border-right: 0; }
.process-list span { color: var(--signal); font-size: 9px; letter-spacing: .14em; }
.process-list h3 { margin: 65px 0 8px; font-size: 23px; letter-spacing: -.04em; }
.process-list p { max-width: 235px; margin: 0; color: var(--muted); font-size: 12px; line-height: 1.65; }
.standards { min-height: 82px; padding: 0 28px; display: flex; align-items: center; justify-content: center; gap: clamp(20px, 4vw, 66px); overflow: hidden; background: var(--lime); white-space: nowrap; }
.standards p { margin: 0; font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }

.about { min-height: 650px; display: grid; grid-template-columns: .65fr 1.35fr; gap: 80px; align-items: center; }
.about-kicker { height: 330px; padding: 22px; display: flex; flex-direction: column; justify-content: space-between; background: url("/assets/barra-antivuelco.jpg") center / cover; color: white; font-size: 8px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; box-shadow: inset 0 0 0 1000px rgb(0 0 0 / 23%); }
.about-kicker span:last-child { align-self: flex-end; }
.about-copy > p:last-child { max-width: 720px; margin: 28px 0 0; color: var(--muted); font-size: 15px; line-height: 1.8; }
.contact-cta { max-width: 1800px; min-height: 380px; margin: auto; padding: 70px clamp(28px, 7vw, 115px); display: flex; align-items: center; justify-content: space-between; gap: 50px; background: var(--signal); color: white; }
.contact-cta h2 { max-width: 920px; margin: 0; font-size: clamp(43px, 5.3vw, 82px); font-weight: 550; letter-spacing: -.058em; line-height: .98; }

.site-footer { max-width: 1800px; margin: auto; padding: 65px clamp(24px, 5vw, 72px) 25px; display: grid; grid-template-columns: 1.5fr repeat(3, 1fr); gap: 40px; background: var(--ink); color: white; }
.footer-brand .brand-copy small { color: #8d918a; }
.site-footer > div { display: flex; flex-direction: column; align-items: flex-start; gap: 7px; }
.site-footer > div small { margin-bottom: 7px; color: #73776f; font-size: 8px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.site-footer > div a, .site-footer > div p { margin: 0; color: #c6c8c3; font-size: 11px; }
.site-footer > div a:hover { color: var(--lime); }
.footer-legal { grid-column: 1 / -1; margin: 40px 0 0; padding-top: 18px; border-top: 1px solid #31352f; color: #6e726a; font-size: 9px; }

.drawer-backdrop { position: fixed; inset: 0; z-index: 80; background: rgb(7 9 7 / 62%); backdrop-filter: blur(3px); opacity: 0; transition: opacity .25s ease; }
.drawer-backdrop.visible { opacity: 1; }
.quote-drawer { position: fixed; top: 0; right: 0; bottom: 0; z-index: 90; width: min(720px, 100%); background: var(--paper); box-shadow: -25px 0 80px rgb(0 0 0 / 22%); transform: translateX(102%); transition: transform .32s cubic-bezier(.2,.8,.2,1); overflow-y: auto; }
.quote-drawer.open { transform: translateX(0); }
.drawer-head { position: sticky; top: 0; z-index: 2; min-height: 112px; padding: 28px 34px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); background: rgb(244 244 239 / 94%); backdrop-filter: blur(15px); }
.drawer-head .eyebrow { margin-bottom: 4px; }
.drawer-head h2 { margin: 0; font-size: 30px; letter-spacing: -.045em; }
.icon-button { width: 43px; height: 43px; border: 1px solid var(--line); background: transparent; font-size: 25px; font-weight: 300; cursor: pointer; }
.drawer-body { padding: 30px 34px 50px; }
.quote-items { margin-bottom: 34px; }
.quote-line { padding: 13px 0; display: grid; grid-template-columns: 68px 1fr auto; gap: 14px; align-items: center; border-bottom: 1px solid var(--line); }
.quote-line img { width: 68px; height: 68px; object-fit: cover; background: white; }
.quote-line h3 { margin: 0 0 5px; font-size: 12px; }
.quote-line small { color: var(--muted); font-size: 9px; }
.quantity-controls { display: flex; align-items: center; gap: 8px; }
.quantity-controls button { width: 27px; height: 27px; border: 1px solid var(--line); background: white; cursor: pointer; }
.quantity-controls output { min-width: 15px; text-align: center; font-size: 11px; }
.remove-line { margin-top: 6px; border: 0; background: transparent; color: #7d8179; font-size: 8px; text-decoration: underline; cursor: pointer; }
.empty-quote { padding: 28px; border: 1px dashed #bfc1b9; text-align: center; }
.empty-quote > span { width: 36px; height: 36px; margin: 0 auto 12px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; color: var(--muted); font-size: 10px; }
.empty-quote h3 { margin: 0; font-size: 15px; }
.empty-quote p { max-width: 390px; margin: 8px auto 13px; color: var(--muted); font-size: 11px; }
.quote-form { padding-top: 28px; border-top: 1px solid var(--ink); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 17px; }
.form-grid label { display: grid; gap: 7px; color: #4f534c; font-size: 9px; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; }
.form-grid .full { grid-column: 1 / -1; }
.form-grid input, .form-grid textarea { width: 100%; padding: 12px 0; border: 0; border-bottom: 1px solid #bfc1b9; border-radius: 0; background: transparent; color: var(--ink); outline: 0; font-size: 12px; letter-spacing: 0; text-transform: none; resize: vertical; }
.form-grid input:focus, .form-grid textarea:focus { border-color: var(--signal); }
.form-grid [aria-invalid="true"] { border-color: var(--signal); background: #fff1ef; }
.file-field { margin-top: 4px; padding: 15px; border: 1px dashed #bfc1b9; }
.file-field input { padding: 4px 0; border: 0; font-size: 10px; }
.file-field small { color: var(--muted); font-size: 8px; font-weight: 500; letter-spacing: 0; text-transform: none; }
.privacy { margin: 22px 0; display: flex; align-items: flex-start; gap: 9px; color: var(--muted); font-size: 9px; }
.privacy input { margin-top: 2px; accent-color: var(--signal); }
.submit-quote { width: 100%; }
.form-status { min-height: 20px; margin: 12px 0 0; color: var(--muted); font-size: 10px; text-align: center; }
.form-status.success { color: #217443; }
.form-status.error { color: #a9271c; }
.whatsapp-option { margin: 14px auto 0; display: flex; justify-content: center; gap: 9px; color: var(--muted); font-size: 10px; font-weight: 700; }
.whatsapp-option:hover { color: #217443; }
.honeypot { position: absolute !important; left: -10000px !important; opacity: 0 !important; }

.product-dialog { width: min(980px, calc(100% - 32px)); max-height: calc(100vh - 32px); padding: 0; border: 0; background: var(--paper); color: var(--ink); box-shadow: var(--shadow); }
.product-dialog::backdrop { background: rgb(7 9 7 / 72%); backdrop-filter: blur(3px); }
.dialog-close { position: absolute; top: 15px; right: 15px; z-index: 2; background: white; }
.product-detail { display: grid; grid-template-columns: 1fr 1fr; }
.product-detail picture { display: block; min-height: 540px; background: white; }
.product-detail img { width: 100%; height: 100%; min-height: 540px; object-fit: cover; background: white; }
.product-detail-copy { padding: 60px 48px 44px; display: flex; flex-direction: column; }
.product-detail-copy h2 { margin: 8px 0 14px; font-size: clamp(32px, 4vw, 50px); line-height: 1.03; letter-spacing: -.055em; }
.product-detail-copy > p { color: var(--muted); font-size: 13px; line-height: 1.7; }
.detail-list { margin: 26px 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.detail-list li { padding: 11px 0; display: flex; justify-content: space-between; border-bottom: 1px solid var(--line); font-size: 10px; }
.detail-list span { color: var(--muted); }
.product-detail-copy .button { margin-top: auto; }
.toast { position: fixed; left: 50%; bottom: 24px; z-index: 120; padding: 12px 18px; background: var(--ink); color: white; font-size: 11px; opacity: 0; pointer-events: none; transform: translate(-50%, 16px); transition: .2s ease; }
.toast.visible { opacity: 1; transform: translate(-50%, 0); }

.reveal { opacity: 0; transform: translateY(20px); transition: opacity .65s ease, transform .65s ease; }
.reveal.in-view { opacity: 1; transform: none; }

@media (max-width: 1120px) {
  .main-nav { gap: 20px; }
  .main-nav a:nth-last-child(-n+2) { display: none; }
  .hero { grid-template-columns: 56% 44%; }
  .hero h1 { font-size: clamp(52px, 6.5vw, 75px); }
  .quick-config { grid-template-columns: 1fr 1fr 1fr; transform: translateY(-34px); }
  .config-intro { grid-column: 1 / -1; }
  .solution-grid { grid-template-columns: 1fr 1fr; grid-template-rows: auto; }
  .solution-primary { grid-row: auto; min-height: 480px; }
  .solution-image { grid-column: auto; min-height: 480px; }
  .solution-neutral, .solution-accent { min-height: 300px; }
  .product-grid { grid-template-columns: repeat(3, 1fr); }
  .project-showcase { grid-template-columns: 1fr 1fr; }
  .project-copy { padding: 55px; }
}

@media (max-width: 820px) {
  .site-header, .header-inner { height: 68px; }
  .brand { min-width: 0; }
  .demo-badge { margin-left: auto; }
  .header-quote { display: none; }
  .menu-toggle { display: block; order: 3; }
  .main-nav { position: fixed; left: 0; right: 0; top: 68px; height: calc(100vh - 68px); padding: 38px 24px; display: flex; flex-direction: column; align-items: flex-start; gap: 24px; background: var(--paper); transform: translateX(100%); transition: transform .25s ease; }
  .main-nav.open { transform: none; }
  .main-nav a, .main-nav a:nth-last-child(-n+2) { display: block; font-size: 28px; letter-spacing: -.04em; }
  .hero { grid-template-columns: 1fr; }
  .hero-content { min-height: 650px; padding: 85px 24px 55px; }
  .hero h1 { font-size: clamp(50px, 11vw, 76px); }
  .hero-visual { min-height: 470px; }
  .quick-config { width: 100%; margin: 0; padding: 34px 24px; grid-template-columns: 1fr 1fr; transform: none; box-shadow: none; border-width: 0 0 1px; }
  .config-intro { grid-column: 1 / -1; }
  .section { padding: 90px 24px; }
  .section-heading { grid-template-columns: 1fr; gap: 24px; }
  .solution-grid { grid-template-columns: 1fr; }
  .solution-primary, .solution-image { min-height: 440px; }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .catalog-head { align-items: flex-start; flex-direction: column; }
  .catalog-search { width: 100%; }
  .project-showcase { grid-template-columns: 1fr; }
  .project-photo { min-height: 480px; }
  .project-copy { padding: 70px 24px; }
  .process-list { grid-template-columns: 1fr 1fr; }
  .process-list li:nth-child(2) { border-right: 0; }
  .process-list li:nth-child(n+3) { border-top: 1px solid var(--line); }
  .about { grid-template-columns: 1fr; gap: 50px; }
  .about-kicker { height: 430px; }
  .contact-cta { align-items: flex-start; flex-direction: column; }
  .site-footer { grid-template-columns: 1fr 1fr; }
  .footer-legal { grid-column: 1 / -1; }
  .product-detail { grid-template-columns: 1fr; }
  .product-detail img { min-height: 330px; max-height: 420px; }
}

@media (max-width: 520px) {
  .brand-copy strong { font-size: 14px; }
  .quick-config { grid-template-columns: 1fr; }
  .config-intro { grid-column: auto; }
  .hero-content { min-height: 610px; }
  .hero h1 { font-size: 48px; }
  .hero-lead { font-size: 15px; }
  .hero-actions { align-items: flex-start; flex-direction: column; gap: 9px; }
  .hero-proof { gap: 20px; flex-wrap: wrap; }
  .hero-proof div, .hero-proof div:first-child { padding: 0; border: 0; }
  .hero-visual { min-height: 340px; }
  .hero-note { left: 24px; right: 24px; bottom: 24px; }
  .solution-primary, .solution-image { min-height: 390px; }
  .product-grid { grid-template-columns: 1fr; }
  .product-copy { min-height: 150px; }
  .catalog-footer { align-items: flex-start; flex-direction: column; }
  .process-list { grid-template-columns: 1fr; }
  .process-list li, .process-list li + li { min-height: 200px; padding: 22px 0 28px; border-right: 0; border-top: 1px solid var(--line); }
  .process-list h3 { margin-top: 42px; }
  .standards { justify-content: flex-start; overflow-x: auto; }
  .about-kicker { height: 330px; }
  .contact-cta { min-height: 430px; padding: 60px 24px; }
  .site-footer { grid-template-columns: 1fr; }
  .drawer-head, .drawer-body { padding-left: 20px; padding-right: 20px; }
  .form-grid { grid-template-columns: 1fr; }
  .form-grid .full { grid-column: auto; }
  .quote-line { grid-template-columns: 55px 1fr; }
  .quote-line img { width: 55px; height: 55px; }
  .quantity-controls { grid-column: 2; }
  .product-dialog { width: 100%; max-height: 100vh; margin: 0; }
  .product-detail-copy { padding: 38px 24px 30px; }
}

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