:root {
  color-scheme: light;
  --bg: #f5f0e8;
  --surface: #fffdf9;
  --surface-soft: #eee6dc;
  --ink: #201c18;
  --muted: #746b61;
  --brand: #95643c;
  --brand-strong: #754622;
  --brand-light: #d0a67f;
  --brand-soft: #ead9c7;
  --charcoal: #1b1b19;
  --line: rgba(51, 39, 28, .13);
  --line-strong: rgba(51, 39, 28, .24);
  --shadow-sm: 0 12px 34px rgba(52, 38, 25, .08);
  --shadow: 0 30px 80px rgba(45, 31, 20, .15);
  --radius: 24px;
  --header-height: 82px;
}

[data-theme="dark"] {
  color-scheme: dark;
  --bg: #141310;
  --surface: #1d1b18;
  --surface-soft: #29251f;
  --ink: #f5eee4;
  --muted: #b8aea2;
  --brand: #c9986b;
  --brand-strong: #edc097;
  --brand-light: #e0b184;
  --brand-soft: #3d3025;
  --charcoal: #090908;
  --line: rgba(255, 246, 233, .12);
  --line-strong: rgba(255, 246, 233, .22);
  --shadow-sm: 0 12px 34px rgba(0, 0, 0, .2);
  --shadow: 0 30px 80px rgba(0, 0, 0, .38);
}

body {
  font-family: "Segoe UI", Tahoma, Arial, sans-serif;
  line-height: 1.8;
  text-rendering: optimizeLegibility;
}
html, body {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}
main, .site-header, .site-footer { max-width: 100%; }
body::before {
  background:
    radial-gradient(circle at 8% 10%, color-mix(in srgb, var(--brand) 12%, transparent), transparent 25rem),
    radial-gradient(circle at 92% 80%, color-mix(in srgb, var(--brand-light) 9%, transparent), transparent 30rem);
}
::selection { color: #fff; background: var(--brand); }
:focus-visible { outline: 3px solid color-mix(in srgb, var(--brand) 48%, transparent); outline-offset: 3px; }
.container { width: min(1220px, calc(100% - 48px)); }
.skip-link {
  position: fixed;
  top: 10px;
  right: 10px;
  z-index: 120;
  transform: translateY(-150%);
  padding: 10px 16px;
  border-radius: 12px;
  color: #fff;
  background: var(--charcoal);
}
.skip-link:focus { transform: none; }

/* Header */
.site-header { border-bottom-color: transparent; background: transparent; backdrop-filter: none; transition: box-shadow .25s ease, border-color .25s ease; }
.site-header.scrolled { border-color: var(--line); box-shadow: 0 12px 32px rgba(30, 22, 15, .08); }
.topbar { color: #e8ded1; background: var(--charcoal); font-size: .78rem; }
.topbar-inner { min-height: 35px; display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.topbar-group { display: flex; align-items: center; gap: 22px; }
.topbar-item { display: inline-flex; align-items: center; gap: 7px; }
.topbar-dot { width: 5px; height: 5px; border-radius: 50%; background: var(--brand-light); }
.topbar a { color: #fff; font-weight: 700; }
.nav-surface { background: color-mix(in srgb, var(--surface) 90%, transparent); backdrop-filter: blur(18px); }
.nav-wrap { min-height: var(--header-height); gap: 26px; }
.brand-logo-header { height: 60px; }
.brand-logo-footer { height: 88px; filter: brightness(0) invert(1); opacity: .9; }
.site-nav { gap: clamp(16px, 2vw, 28px); }
.site-nav a { padding-block: 7px; font-size: .9rem; font-weight: 750; }
.site-nav a::after { bottom: 0; border-radius: 2px; }
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--brand-strong); }
.nav-quote { min-height: 42px; padding-inline: 18px; font-size: .84rem; }
.icon-btn, .menu-btn { border-color: var(--line); background: var(--surface); }
.icon-btn:hover, .menu-btn:hover { background: var(--brand-soft); }

/* Shared */
.eyebrow { margin-bottom: 14px; color: var(--brand-strong); font-size: .84rem; letter-spacing: .04em; }
.eyebrow::before { width: 36px; height: 1px; }
.section { padding-block: clamp(78px, 9vw, 124px); }
.section-tight { padding-block: clamp(54px, 7vw, 86px); }
.section-head { gap: 30px; margin-bottom: 38px; }
.section-head h2 { font-size: clamp(2rem, 4.2vw, 3.65rem); line-height: 1.18; letter-spacing: -.04em; }
.section-head p { max-width: 630px; }
.btn { border-color: var(--line-strong); }
.btn-primary { border-color: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--brand-strong); }
.btn-dark { border-color: var(--charcoal); color: #fff; background: var(--charcoal); }
.btn-arrow { font-size: 1.2rem; line-height: 1; transition: transform .2s ease; }
.btn:hover .btn-arrow { transform: translateX(-3px); }
.tag { border-color: color-mix(in srgb, var(--brand) 34%, transparent); color: var(--brand-strong); }

/* Hero */
.hero {
  min-height: calc(100svh - var(--header-height) - 35px);
  grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr);
  gap: clamp(38px, 6vw, 88px);
  padding-block: clamp(52px, 7vw, 94px);
}
.hero h1 { max-width: 690px; margin-bottom: 18px; font-size: clamp(3rem, 6.2vw, 6.1rem); line-height: 1.02; letter-spacing: -.065em; }
.hero h1 span { display: block; }
.hero h2 { margin-bottom: 18px; font-size: clamp(1.15rem, 2vw, 1.6rem); line-height: 1.6; font-weight: 650; }
.hero-copy > p { max-width: 610px; font-size: 1.02rem; }
.hero-cta-grid { width: min(100%, 650px); display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.hero-cta-grid .btn { width: 100%; min-height: 56px; padding-inline: 18px; }
.hero-cta-grid .btn:last-child { grid-column: 1 / -1; }
.hero-metrics { display: flex; flex-wrap: wrap; margin-top: 34px; }
.hero-metric { min-width: 118px; padding-inline: 18px; border-inline-start: 1px solid var(--line-strong); }
.hero-metric:first-child { padding-right: 0; }
.hero-metric strong { display: block; color: var(--brand-strong); font-size: 1.35rem; line-height: 1.25; }
.hero-metric span { color: var(--muted); font-size: .76rem; }
.hero-visual { min-height: 590px; border-radius: 8px 44px 8px 44px; }
.hero-visual::before { content: ""; position: absolute; inset: 18px; z-index: 2; border: 1px solid rgba(255,255,255,.44); border-radius: 3px 32px 3px 32px; pointer-events: none; }
.hero-visual::after { background: linear-gradient(180deg, transparent 46%, rgba(15,12,9,.44)); }
.hero-visual > img { min-height: 590px; }
.hero-note { color: #fff; background: rgba(22,18,15,.68); font-size: .85rem; }
.hero-note b { color: #e8bd92; }
.quick-contact { display: none; }

/* Trust, categories */
.trust-strip { border-radius: 4px 26px 4px 26px; box-shadow: var(--shadow-sm); }
.trust-item { min-height: 148px; justify-items: start; padding: 25px; text-align: right; }
.trust-icon { margin-bottom: 8px; font-size: 1.5rem; line-height: 1; }
.category-grid { grid-template-columns: 1.12fr .88fr .88fr; gap: 20px; }
.category-card { min-height: 500px; border-radius: 4px 26px 4px 26px; box-shadow: var(--shadow-sm); }
.category-card img { transition: transform .7s cubic-bezier(.2,.75,.25,1); }
.category-card::after { background: linear-gradient(to top, rgba(13,11,9,.9) 4%, rgba(13,11,9,.12) 72%); }
.category-copy { padding: 28px; }
.category-copy h3 { font-size: 1.45rem; }
.category-copy .tag { color: #f3d4b6; background: rgba(31,24,18,.64); border-color: rgba(243,212,182,.3); }

/* Editorial product story */
.editorial-grid { display: grid; grid-template-columns: .88fr 1.12fr; gap: clamp(34px, 6vw, 78px); align-items: center; }
.editorial-copy h2 { margin-bottom: 20px; font-size: clamp(2.1rem, 4.5vw, 4rem); line-height: 1.2; letter-spacing: -.04em; }
.editorial-copy p { color: var(--muted); }
.spec-list { display: grid; margin: 28px 0; border-top: 1px solid var(--line); }
.spec-row { display: grid; grid-template-columns: 1fr auto; gap: 18px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.spec-row span { color: var(--muted); }
.spec-row strong { color: var(--brand-strong); }
.editorial-visual { position: relative; min-height: 610px; }
.editorial-visual .image-primary { position: absolute; top: 0; right: 0; width: 68%; height: 86%; object-fit: cover; border-radius: 4px 32px 4px 32px; box-shadow: var(--shadow); }
.editorial-visual .image-secondary { position: absolute; bottom: 0; left: 0; width: 48%; height: 54%; object-fit: cover; border: 9px solid var(--bg); border-radius: 28px 4px 28px 4px; box-shadow: var(--shadow-sm); }
.editorial-badge { position: absolute; right: 4%; bottom: 3%; z-index: 2; width: 116px; aspect-ratio: 1; display: grid; place-content: center; border-radius: 50%; color: #fff; text-align: center; background: var(--brand); box-shadow: var(--shadow-sm); }
.editorial-badge strong { display: block; font-size: 1.35rem; line-height: 1.2; }
.editorial-badge span { font-size: .7rem; }

/* Color preview */
.color-preview { padding: clamp(50px, 7vw, 80px); overflow: hidden; border-radius: 6px 36px 6px 36px; color: #fff; background: var(--charcoal); }
.color-preview .section-head { align-items: center; }
.color-preview .eyebrow { color: #d8ad84; }
.color-preview .section-head p { color: rgba(255,255,255,.63); }
.color-preview .btn { color: #fff; border-color: rgba(255,255,255,.26); }
.texture-row { display: grid; grid-template-columns: repeat(6, 1fr); gap: 13px; }
.texture-chip { display: grid; gap: 10px; color: rgba(255,255,255,.78); font-size: .75rem; font-weight: 700; }
.texture-chip img { width: 100%; aspect-ratio: 1 / 1.18; object-fit: cover; border-radius: 3px 15px 3px 15px; transition: transform .25s ease, filter .25s ease; }
.texture-chip:hover img { transform: translateY(-5px); filter: brightness(1.05); }
.texture-chip strong { color: #fff; font-size: .8rem; }

/* Process, CTA */
.process-card { min-height: 220px; border-radius: 4px 22px 4px 22px; transition: transform .22s ease, box-shadow .22s ease; }
.process-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-sm); }
.cta-band { border-radius: 4px 34px 4px 34px; background: linear-gradient(125deg, #1c1b18, #2a211a); box-shadow: var(--shadow); }
.cta-band::before { content: ""; position: absolute; inset: -35% auto auto -7%; width: 300px; aspect-ratio: 1; border: 1px solid rgba(255,255,255,.08); border-radius: 50%; box-shadow: 0 0 0 50px rgba(255,255,255,.025), 0 0 0 100px rgba(255,255,255,.015); }
.cta-band > * { position: relative; z-index: 2; }

/* Inner page headers */
.page-hero-wrap { position: relative; overflow: hidden; border-bottom: 1px solid var(--line); background: linear-gradient(145deg, var(--surface), var(--surface-soft)); }
.page-hero-wrap::after { content: "العربية"; position: absolute; left: -1%; bottom: -36%; color: color-mix(in srgb, var(--brand) 6%, transparent); font-size: clamp(8rem, 22vw, 20rem); font-weight: 900; line-height: 1; pointer-events: none; }
.page-hero { position: relative; z-index: 2; padding-block: clamp(72px, 10vw, 128px); }
.page-hero h1 { font-size: clamp(2.65rem, 6.5vw, 5.7rem); line-height: 1.08; letter-spacing: -.055em; }
.page-meta { display: flex; flex-wrap: wrap; justify-content: center; gap: 9px; margin-top: 24px; }

/* About */
.about-grid { grid-template-columns: 1.05fr .95fr; gap: clamp(34px, 6vw, 76px); }
.about-copy h2 { font-size: clamp(2rem, 4.5vw, 3.7rem); line-height: 1.25; letter-spacing: -.04em; }
.fact-panel { border-radius: 4px 28px 4px 28px; }
.fact { min-height: 135px; border-radius: 3px 17px 3px 17px; }
.spec-table { overflow: hidden; border: 1px solid var(--line); border-radius: 4px 24px 4px 24px; background: var(--surface); }
.spec-table-row { display: grid; grid-template-columns: 1fr 1.4fr; }
.spec-table-row + .spec-table-row { border-top: 1px solid var(--line); }
.spec-table-row > * { padding: 18px 22px; }
.spec-table-row dt { color: var(--muted); background: var(--surface-soft); }
.spec-table-row dd { margin: 0; font-weight: 750; }

/* Catalog */
.catalog-shell { position: relative; }
.filters { position: sticky; top: calc(var(--header-height) + 47px); z-index: 35; grid-template-columns: minmax(240px, 1.55fr) repeat(2, minmax(145px, .58fr)) auto; padding: 15px; border-radius: 4px 20px 4px 20px; background: color-mix(in srgb, var(--surface) 90%, transparent); box-shadow: var(--shadow-sm); backdrop-filter: blur(18px); }
.field { min-height: 52px; border-radius: 10px; }
.results-count { min-height: 62px; margin: 10px 0; font-size: .87rem; }
.swatch-grid { gap: 18px; }
.swatch-card { border-radius: 3px 20px 3px 20px; box-shadow: 0 8px 26px rgba(40,28,18,.045); transition: transform .24s ease, box-shadow .24s ease; }
.swatch-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-sm); }
.swatch-color { height: 220px; }
.preview-swatch { width: 100%; display: block; padding: 0; border: 0; background: none; cursor: zoom-in; }
.swatch-photo img { transition: transform .55s ease; }
.swatch-card:hover .swatch-photo img { transform: scale(1.035); }
.swatch-info { padding: 18px; }
.empty-state { background: var(--surface); }

/* Gallery */
.gallery-collection { gap: 78px; }
.gallery-group-head { display: flex; align-items: end; justify-content: space-between; gap: 30px; }
.gallery-group-head h2 { font-size: clamp(1.75rem, 3.5vw, 3rem); }
.gallery-count { color: var(--muted); font-size: .86rem; }
.gallery-item { border: 1px solid var(--line); border-radius: 4px 22px 4px 22px; box-shadow: var(--shadow-sm); }
.gallery-item::after { content: ""; position: absolute; inset: 45% 0 0; background: linear-gradient(transparent, rgba(10,9,8,.7)); pointer-events: none; }
.gallery-label { z-index: 2; background: transparent; backdrop-filter: none; }
dialog { border-radius: 5px 26px 5px 26px; box-shadow: 0 40px 110px rgba(0,0,0,.5); }
.dialog-caption { position: absolute; right: 18px; bottom: 15px; z-index: 3; margin: 0; padding: 8px 12px; border-radius: 999px; color: #fff; background: rgba(0,0,0,.62); font-size: .82rem; }

/* Door design selector */
body[data-page="designs"] .page-hero { padding-block: clamp(44px, 6vw, 76px); text-align: right; }
body[data-page="designs"] .page-hero p { max-width: 720px; }
body[data-page="designs"] .page-meta { justify-content: flex-start; }
.design-picker { display: grid; gap: 34px; }
.design-branches { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.design-branch { position: relative; min-width: 0; display: grid; gap: 5px; padding: 22px; overflow: hidden; border: 1px solid var(--line); border-radius: 4px 22px 4px 22px; color: var(--ink); text-align: right; background: var(--surface); box-shadow: 0 8px 28px rgba(45,31,20,.05); cursor: pointer; transition: transform .2s ease, border-color .2s ease, color .2s ease, background .2s ease; }
.design-branch:hover { transform: translateY(-3px); border-color: var(--brand); }
.design-branch.is-active { border-color: var(--brand); color: #fff; background: linear-gradient(135deg, var(--brand-strong), var(--brand)); box-shadow: var(--shadow-sm); }
.design-branch-number { position: absolute; left: 16px; top: 8px; color: color-mix(in srgb, currentColor 24%, transparent); font-size: 2.8rem; font-weight: 900; line-height: 1; }
.design-branch strong { position: relative; font-size: 1.18rem; }
.design-branch small { position: relative; color: var(--muted); font-size: .8rem; }
.design-branch.is-active small { color: rgba(255,255,255,.76); }
.design-toolbar { display: flex; align-items: end; justify-content: space-between; gap: 28px; }
.design-toolbar h2 { margin-bottom: 8px; font-size: clamp(2rem, 4.2vw, 3.65rem); line-height: 1.18; letter-spacing: -.04em; }
.design-toolbar p { max-width: 650px; margin: 0; color: var(--muted); }
.design-count { flex: 0 0 auto; padding: 8px 15px; border: 1px solid var(--line); border-radius: 999px; color: var(--brand-strong); background: var(--surface); font-size: .82rem; font-weight: 800; }
.design-selector-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.design-choice { min-width: 0; overflow: hidden; border: 1px solid var(--line); border-radius: 4px 24px 4px 24px; background: var(--surface); box-shadow: 0 9px 28px rgba(45,31,20,.06); transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease; }
.design-choice:hover { transform: translateY(-4px); box-shadow: var(--shadow-sm); }
.design-choice.is-selected { border-color: var(--brand); box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand) 24%, transparent), var(--shadow-sm); }
.design-choice-media { position: relative; aspect-ratio: 1 / .98; overflow: hidden; background-color: var(--surface-soft); }
.design-choice-media img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.design-choice:hover .design-choice-media img { transform: scale(1.02); }
.design-choice-media::after { content: ""; position: absolute; inset: 0; border: 1px solid rgba(255,255,255,.42); pointer-events: none; }
.design-style-badge { position: absolute; top: 13px; right: 13px; padding: 5px 10px; border-radius: 999px; color: #fff; background: rgba(22,18,15,.72); font-size: .73rem; font-weight: 800; backdrop-filter: blur(8px); }
.design-code { position: absolute; left: 13px; bottom: 13px; min-width: 50px; padding: 5px 9px; border-radius: 999px; color: #fff; text-align: center; background: rgba(22,18,15,.78); font-size: .78rem; letter-spacing: .06em; backdrop-filter: blur(8px); }
.design-choice-copy { display: grid; gap: 10px; padding: 20px; }
.design-choice-copy h3 { margin: 0; font-size: 1.15rem; }
.design-choice-copy p { min-height: 50px; margin: 0; color: var(--muted); font-size: .875rem; line-height: 1.65; }
.design-choice-copy .btn { width: 100%; min-height: 44px; padding-inline: 12px; font-size: .875rem; }
.design-choice.is-selected .design-choice-copy .btn { border-color: var(--brand); color: #fff; background: var(--brand); }
.design-note { display: grid; grid-template-columns: auto 1fr; gap: 14px 20px; align-items: start; padding: 20px 22px; border: 1px dashed var(--line-strong); border-radius: 4px 18px 4px 18px; background: var(--surface-soft); }
.design-note strong { color: var(--brand-strong); }
.design-note p { margin: 0; color: var(--muted); font-size: .87rem; }
.design-selection { position: sticky; bottom: 16px; z-index: 32; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 18px 20px; border: 1px solid var(--line); border-radius: 4px 22px 4px 22px; background: color-mix(in srgb, var(--surface) 92%, transparent); box-shadow: var(--shadow); backdrop-filter: blur(18px); }
.design-selection span { display: block; color: var(--muted); font-size: .76rem; font-weight: 700; }
.design-selection strong { display: block; margin-top: 2px; color: var(--brand-strong); }
.design-selection-actions { display: flex; flex-wrap: wrap; gap: 9px; }
.design-selection [aria-disabled="true"] { opacity: .45; cursor: not-allowed; pointer-events: none; }

/* Quote */
.quote-layout { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(260px, .65fr); gap: 22px; align-items: start; min-width: 0; }
.quote-layout > *, .form-shell, .form-grid, .form-group { min-width: 0; max-width: 100%; }
.form-shell { width: 100%; max-width: none; border-radius: 4px 26px 4px 26px; }
.form-shell .field { min-width: 0; max-width: 100%; }
.quote-aside { position: sticky; top: calc(var(--header-height) + 65px); display: grid; gap: 14px; }
.aside-card { padding: 27px; border: 1px solid var(--line); border-radius: 4px 22px 4px 22px; background: var(--surface); }
.aside-card h2 { font-size: 1.18rem; }
.aside-card p { color: var(--muted); font-size: .86rem; }
.mini-steps { display: grid; gap: 14px; margin-top: 20px; counter-reset: mini; }
.mini-step { display: grid; grid-template-columns: 34px 1fr; gap: 11px; align-items: center; color: var(--muted); font-size: .82rem; counter-increment: mini; }
.mini-step::before { content: counter(mini); width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; color: #fff; background: var(--brand); font-weight: 800; }
.form-honey { position: fixed; inset: 0 auto auto 0; width: 1px; height: 1px; padding: 0; border: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.form-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.form-actions .btn { flex: 1 1 230px; }
.btn-whatsapp { border-color: #168c52; color: #fff; background: #168c52; }
.btn-whatsapp:hover { border-color: #107743; background: #107743; }
.whatsapp-icon { width: 23px; height: 23px; display: block; }
.whatsapp-link { color: #168c52; }
.form-success { margin-bottom: 24px; padding: 14px 16px; border: 1px solid rgba(22,140,82,.3); border-radius: 4px 16px 4px 16px; color: #0f6f40; background: rgba(22,140,82,.1); font-weight: 800; }
[data-theme="dark"] .form-success { color: #7de0aa; }

/* Contact */
.contact-grid { grid-template-columns: .88fr 1.12fr; gap: 22px; }
.contact-card, .location-card { border-radius: 4px 26px 4px 26px; }
.contact-card > p { color: var(--muted); }
.contact-row { border: 1px solid transparent; border-radius: 3px 15px 3px 15px; transition: transform .2s ease, border-color .2s ease; }
.contact-row:hover { transform: translateX(-3px); border-color: var(--brand); }
.contact-symbol { border-radius: 50%; color: #fff; background: var(--brand); }
.map-visual { min-height: 390px; border-radius: 3px 20px 3px 20px; background: linear-gradient(rgba(149,100,60,.11) 1px, transparent 1px), linear-gradient(90deg, rgba(149,100,60,.11) 1px, transparent 1px), var(--surface-soft); background-size: 28px 28px; }
.map-visual > div { max-width: 420px; padding: 32px; border: 1px solid var(--line); border-radius: 4px 22px 4px 22px; background: color-mix(in srgb, var(--surface) 90%, transparent); box-shadow: var(--shadow-sm); backdrop-filter: blur(12px); }

/* Footer */
.site-footer { margin-top: 90px; padding: 66px 0 24px; color: #eee5da; background: var(--charcoal); }
.footer-grid { grid-template-columns: 1.35fr .75fr .9fr; gap: clamp(30px, 5vw, 70px); padding-bottom: 44px; }
.footer-grid h3 { color: #fff; }
.footer-grid p, .footer-links { color: rgba(255,255,255,.6); font-size: .86rem; }
.footer-links a, .form-help { overflow-wrap: anywhere; word-break: break-word; }
.footer-kicker { display: inline-block; margin: 14px 0 8px; color: #d7ae86; font-size: .75rem; font-weight: 800; }
.footer-links a:hover { color: #fff; }
.copyright { display: flex; align-items: center; justify-content: space-between; gap: 20px; border-top-color: rgba(255,255,255,.11); color: rgba(255,255,255,.46); }
.whatsapp-float { border: 3px solid rgba(255,255,255,.88); transition: transform .2s ease; }
.whatsapp-float .whatsapp-icon { width: 31px; height: 31px; }
.whatsapp-float:hover { transform: translateY(-4px) scale(1.03); }

@media (max-width: 1080px) {
  .nav-quote { display: none; }
  .site-nav { inset: 118px 24px auto 24px; }
  .hero { min-height: auto; grid-template-columns: 1fr; }
  .hero-visual, .hero-visual > img { min-height: 540px; }
  .category-grid { grid-template-columns: 1fr 1fr; }
  .category-card:first-child { grid-row: span 2; }
  .category-card { min-height: 390px; }
  .editorial-visual { min-height: 540px; }
  .texture-row { grid-template-columns: repeat(3, 1fr); }
  .design-selector-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .quote-layout { grid-template-columns: 1fr; }
  .quote-aside { position: static; grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
  :root { --header-height: 72px; }
  .container { width: min(100% - 28px, 1220px); }
  .topbar-inner { min-height: 31px; justify-content: center; }
  .topbar-group:first-child { display: none; }
  .nav-wrap { min-height: var(--header-height); }
  .site-nav { inset: 104px 14px auto 14px; }
  .brand-logo-header { height: 50px; }
  .hero { padding-block: 44px 62px; gap: 34px; }
  .hero h1 { font-size: clamp(2.75rem, 15vw, 4.7rem); }
  .hero-visual, .hero-visual > img { min-height: 420px; }
  .hero-metric { min-width: 104px; padding-inline: 12px; }
  .category-grid { grid-template-columns: 1fr; }
  .category-card:first-child { grid-row: auto; }
  .category-card { min-height: 430px; }
  .editorial-grid { grid-template-columns: 1fr; }
  .editorial-visual { min-height: 500px; }
  .color-preview { padding: 34px 22px; }
  .texture-row { grid-template-columns: repeat(2, 1fr); }
  .filters { position: static; grid-template-columns: 1fr 1fr; }
  .filters > :first-child { grid-column: 1 / -1; }
  .gallery-group-head { display: block; }
  .gallery-count { margin-top: 8px; }
  .design-branches { grid-template-columns: 1fr; gap: 9px; }
  .design-branch { min-height: 82px; padding: 17px 18px; }
  .design-toolbar, .design-selection { align-items: stretch; flex-direction: column; }
  .design-selector-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .design-note { grid-template-columns: 1fr; gap: 5px; }
  .design-selection { position: static; }
  .design-selection-actions { display: grid; grid-template-columns: 1fr; }
  .design-selection-actions .btn { width: 100%; }
  .quote-aside { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > :first-child { grid-column: 1 / -1; }
  .copyright { display: block; text-align: center; }
  .copyright span + span { display: block; margin-top: 5px; }
}

@media (max-width: 480px) {
  .brand-logo-header { height: 45px; }
  .hero-visual, .hero-visual > img { min-height: 350px; }
  .hero-note { padding: 9px 11px; font-size: .72rem; }
  .hero-metrics { display: grid; grid-template-columns: repeat(3, 1fr); }
  .hero-metric { min-width: 0; }
  .hero-metric strong { font-size: 1.08rem; }
  .category-card { min-height: 390px; }
  .editorial-visual { min-height: 420px; }
  .editorial-badge { width: 96px; }
  .filters { grid-template-columns: 1fr; }
  .hero-cta-grid, .design-selector-grid { grid-template-columns: 1fr; }
  .hero-cta-grid .btn:last-child { grid-column: auto; }
  .filters > :first-child { grid-column: auto; }
  .swatch-color { height: 250px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-grid > :first-child { grid-column: auto; }
}

/* Mobile-first quote experience */
@media (max-width: 760px) {
  body[data-page="quote"] { overflow-x: hidden; }
  body[data-page="quote"] .page-hero-wrap::after { display: none; }
  body[data-page="quote"] .page-hero {
    padding-block: 34px 28px;
    text-align: right;
  }
  body[data-page="quote"] .page-hero .eyebrow { margin-bottom: 7px; }
  body[data-page="quote"] .page-hero h1 {
    margin-bottom: 9px;
    font-size: clamp(2.15rem, 11vw, 3.1rem);
    line-height: 1.15;
  }
  body[data-page="quote"] .page-hero p {
    margin: 0;
    font-size: .95rem;
    line-height: 1.7;
  }
  body[data-page="quote"] .page-meta {
    justify-content: flex-start;
    margin-top: 14px;
  }
  body[data-page="quote"] .quote-layout {
    gap: 16px;
    padding-block: 24px 48px;
  }
  body[data-page="quote"] .form-shell {
    padding: 21px 16px;
    border-radius: 3px 20px 3px 20px;
    box-shadow: 0 16px 40px rgba(45, 31, 20, .09);
    counter-reset: form-step;
  }
  body[data-page="quote"] .form-section + .form-section {
    margin-top: 24px;
    padding-top: 22px;
  }
  body[data-page="quote"] .form-section h2 {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
    font-size: 1.1rem;
    counter-increment: form-step;
  }
  body[data-page="quote"] .form-section h2::before {
    content: "0" counter(form-step);
    width: 34px;
    height: 34px;
    flex: 0 0 auto;
    display: grid;
    place-items: center;
    border-radius: 50%;
    color: #fff;
    background: var(--brand);
    font-size: .75rem;
  }
  body[data-page="quote"] .form-grid { gap: 14px; }
  body[data-page="quote"] .form-group { gap: 6px; }
  body[data-page="quote"] .form-group label {
    font-size: .9rem;
    line-height: 1.5;
  }
  body[data-page="quote"] .field {
    min-height: 56px;
    padding: 13px 14px;
    border-radius: 12px;
    font-size: 16px;
    line-height: 1.5;
  }
  body[data-page="quote"] textarea.field { min-height: 116px; }
  body[data-page="quote"] .form-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
  }
  body[data-page="quote"] .form-actions .btn {
    width: 100%;
    min-height: 56px;
    padding-inline: 16px;
    font-size: .95rem;
  }
  body[data-page="quote"] .form-help {
    margin-top: 13px;
    font-size: .78rem;
    line-height: 1.65;
  }
  body[data-page="quote"] .quote-aside { gap: 12px; }
  body[data-page="quote"] .aside-card {
    padding: 20px;
    border-radius: 3px 18px 3px 18px;
  }
  body[data-page="quote"] .aside-card .eyebrow { margin-bottom: 7px; }
  body[data-page="quote"] .mini-steps { margin-top: 16px; }
  body[data-page="quote"] .whatsapp-float {
    left: 14px;
    bottom: 14px;
    width: 54px;
    height: 54px;
  }
}

@media (max-width: 380px) {
  body[data-page="quote"] .container { width: calc(100% - 20px); }
  body[data-page="quote"] .form-shell { padding-inline: 12px; }
  body[data-page="quote"] .page-meta .tag:last-child { display: none; }
}
