/* ==========================================================================
   Bluesun Italia — foglio di stile
   ========================================================================== */

@font-face {
  font-family: "DM Sans"; font-style: normal; font-weight: 400 800; font-display: swap;
  src: url("../fonts/dmsans-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "DM Sans"; font-style: normal; font-weight: 400 800; font-display: swap;
  src: url("../fonts/dmsans-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --green: #1DBA61;
  --green-dark: #128A47;
  --green-tint: #E8F7EF;
  --ink: #1E2A26;
  --text: #3F4744;
  --muted: #6B7470;
  --line: #E3E6E4;
  --bg: #FFFFFF;
  --bg-alt: #F4F6F5;
  --footer: #0F2219;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(16,34,25,.06), 0 6px 24px rgba(16,34,25,.06);
  --header-h: 76px;
  --container: 1200px;
  --font: "DM Sans", Avenir, "Avenir Next", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; } }
body { margin: 0; font-family: var(--font); font-size: 1rem; line-height: 1.65; color: var(--text); background: var(--bg); -webkit-font-smoothing: antialiased; }
img, svg { display: block; max-width: 100%; height: auto; }
a { color: var(--green-dark); }
h1, h2, h3, h4 { color: var(--ink); line-height: 1.2; margin: 0 0 .6em; font-weight: 700; letter-spacing: -.01em; text-wrap: balance; }
h1 { font-size: clamp(2rem, 4.4vw, 3.2rem); }
h2 { font-size: clamp(1.45rem, 2.8vw, 2.05rem); }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1em; }
button, input, select, textarea { font: inherit; color: inherit; }
code { background: var(--bg-alt); padding: .1em .35em; border-radius: 4px; font-size: .9em; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 820px; }
.center { text-align: center; }
.mt-xl { margin-top: clamp(48px, 7vw, 88px); }
.muted { color: var(--muted); }
.small { font-size: .88rem; }
.text-lg { font-size: 1.15rem; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.icon { width: 22px; height: 22px; flex: none; }
.icon-sm { width: 17px; height: 17px; }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 300; background: var(--green); color: #fff; padding: 10px 16px; border-radius: 8px; font-weight: 700; text-decoration: none; }
.skip-link:focus { top: 12px; }
:focus-visible { outline: 3px solid var(--green); outline-offset: 2px; border-radius: 4px; }
.eyebrow { text-transform: uppercase; letter-spacing: .14em; font-size: .78rem; font-weight: 700; color: var(--green-dark); margin-bottom: 12px; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; padding: 12px 22px; border-radius: 999px; border: 2px solid transparent; font-weight: 700; font-size: .95rem; text-decoration: none; cursor: pointer; line-height: 1.2; transition: background-color .15s, border-color .15s, color .15s, transform .15s; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--green); color: #fff; }
.btn-primary:hover { background: var(--green-dark); }
.btn-outline { border-color: var(--line); color: var(--ink); background: #fff; }
.btn-outline:hover { border-color: var(--green); color: var(--green-dark); }
.btn-sm { padding: 8px 14px; font-size: .85rem; }
.btn-lg { padding: 15px 28px; font-size: 1rem; }
.btn-block { width: 100%; }
.link-arrow { display: inline-flex; align-items: center; gap: 7px; font-weight: 700; text-decoration: none; color: var(--green-dark); }
.link-arrow:hover .icon { transform: translateX(3px); }
.link-arrow .icon { transition: transform .15s; }
.icon-btn { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 10px; border: 1px solid var(--line); background: #fff; cursor: pointer; color: var(--muted); }
.icon-btn:hover { color: #c0392b; border-color: #e6b8b2; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,.96); -webkit-backdrop-filter: saturate(160%) blur(10px); backdrop-filter: saturate(160%) blur(10px); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; gap: 20px; height: var(--header-h); }
.brand { margin-right: auto; flex: none; }
.brand-logo { height: 44px; width: auto; }
.main-nav { display: flex; align-items: center; gap: 18px; }
.nav-list { display: flex; align-items: center; gap: 2px; list-style: none; margin: 0; padding: 0; }
.nav-link { display: inline-flex; align-items: center; gap: 4px; padding: 10px 12px; border: 0; background: none; border-radius: 8px; color: var(--ink); font-weight: 700; font-size: .93rem; text-decoration: none; cursor: pointer; }
.nav-link:hover { background: var(--bg-alt); }
.nav-link.is-active, .nav-link[aria-current="page"] { color: var(--green-dark); }
.has-sub { position: relative; }
.sub-toggle .icon { transition: transform .2s; }
.sub-toggle[aria-expanded="true"] .icon { transform: rotate(180deg); }
.sub-menu { position: absolute; top: calc(100% + 8px); left: 0; min-width: 230px; list-style: none; margin: 0; padding: 8px; background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow); opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity .15s, transform .15s, visibility .15s; }
.sub-menu a { display: block; padding: 9px 12px; border-radius: 8px; color: var(--ink); text-decoration: none; font-weight: 500; }
.sub-menu a:hover, .sub-menu a[aria-current="page"] { background: var(--green-tint); color: var(--green-dark); }
.has-sub.is-open .sub-menu, .has-sub:not(.js-ready):focus-within .sub-menu { opacity: 1; visibility: visible; transform: none; }
@media (hover: hover) and (min-width: 1100px) { .has-sub:hover .sub-menu { opacity: 1; visibility: visible; transform: none; } }

.nav-search { display: flex; align-items: center; background: var(--bg-alt); border: 1px solid var(--line); border-radius: 999px; padding: 2px 4px 2px 14px; }
.nav-search input { border: 0; background: none; width: 150px; padding: 7px 0; outline: none; font-size: .9rem; }
.nav-search button { display: grid; place-items: center; width: 34px; height: 34px; border: 0; background: none; color: var(--muted); cursor: pointer; border-radius: 50%; }
.nav-search button .icon { width: 18px; height: 18px; }
.nav-search:focus-within { border-color: var(--green); background: #fff; }

.quote-btn { position: relative; display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 16px 0 14px; border-radius: 999px; background: var(--green); color: #fff; text-decoration: none; font-weight: 700; font-size: .92rem; flex: none; }
.quote-btn:hover { background: var(--green-dark); }
.quote-btn .icon { width: 19px; height: 19px; }
.quote-count { display: inline-grid; place-items: center; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 999px; background: #fff; color: var(--green-dark); font-size: .78rem; font-weight: 800; }
.quote-count.is-empty { background: rgba(255,255,255,.3); color: #fff; }

.menu-toggle { display: none; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 10px; background: #fff; cursor: pointer; place-items: center; color: var(--ink); }
.menu-icon-close { display: none; }
.menu-open .menu-icon-open { display: none; }
.menu-open .menu-icon-close { display: block; }

@media (max-width: 1099px) {
  .menu-toggle { display: inline-grid; }
  .header-inner { gap: 10px; }
  .main-nav { position: fixed; top: var(--header-h); left: 0; right: 0; height: calc(100vh - var(--header-h)); height: calc(100dvh - var(--header-h)); z-index: 90; flex-direction: column; align-items: stretch; gap: 16px; padding: 16px 24px 40px; background: #fff; overflow-y: auto; opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .2s, transform .2s, visibility .2s; }
  .menu-open .main-nav { opacity: 1; visibility: visible; transform: none; }
  .nav-list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav-list > li { border-bottom: 1px solid var(--line); }
  .nav-link { width: 100%; justify-content: space-between; padding: 15px 4px; font-size: 1.05rem; }
  .sub-menu { position: static; display: none; min-width: 0; padding: 0 0 12px 8px; border: 0; box-shadow: none; opacity: 1; visibility: visible; transform: none; }
  .has-sub.is-open .sub-menu { display: block; }
  .nav-search { order: -1; }
  .nav-search input { width: 100%; flex: 1; padding: 10px 0; font-size: 1rem; }
  body.menu-locked { overflow: hidden; }
}
@media (max-width: 520px) {
  .quote-label { display: none; }
  .quote-btn { padding: 0 10px; gap: 6px; }
  .header-inner { gap: 8px; }
  .brand { min-width: 0; flex: 1; }
  .brand-logo { height: auto; max-height: 32px; width: 100%; max-width: 210px; object-fit: contain; object-position: left center; }
  .container { padding: 0 16px; }
}

/* ---------- Toast ---------- */
.toast { background: var(--green-tint); border-bottom: 1px solid #c7ebd6; }
.toast-inner { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; padding-top: 12px; padding-bottom: 12px; color: var(--ink); }
.toast-inner .icon { color: var(--green-dark); }
.toast-inner span { flex: 1; min-width: 200px; }

/* ---------- Hero ---------- */
.hero { background: linear-gradient(180deg, #F7FBF9, #fff); border-bottom: 1px solid var(--line); overflow: hidden; }
.hero-inner { display: grid; grid-template-columns: 1fr 1.05fr; gap: 48px; align-items: center; padding-top: clamp(40px, 6vw, 72px); padding-bottom: clamp(40px, 6vw, 72px); }
.hero .lead { font-size: clamp(1.05rem, 1.5vw, 1.18rem); color: var(--text); max-width: 560px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.hero-media img { width: 100%; border-radius: 22px; box-shadow: var(--shadow); aspect-ratio: 1018 / 650; object-fit: cover; }

.page-hero { position: relative; padding: clamp(48px, 7vw, 88px) 0 clamp(40px, 6vw, 72px); background: var(--bg-alt); border-bottom: 1px solid var(--line); overflow: hidden; isolation: isolate; }
.page-hero.has-image { background: #10241a; color: #fff; }
.page-hero.has-image h1, .page-hero.has-image .lead { color: #fff; }
.page-hero-bg { position: absolute; inset: 0; z-index: -1; }
.page-hero-bg img { width: 100%; height: 100%; object-fit: cover; }
.page-hero-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10,28,19,.88) 0%, rgba(10,28,19,.6) 50%, rgba(10,28,19,.15) 100%); }
.page-hero h1 { max-width: 860px; }
.page-hero .lead { max-width: 700px; font-size: 1.12rem; color: var(--text); margin: 0; }
.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; margin: 0 0 18px; padding: 0; font-size: .86rem; }
.breadcrumbs li + li::before { content: "/"; margin-right: 6px; opacity: .5; }
.breadcrumbs a { color: inherit; opacity: .8; text-decoration: none; }
.breadcrumbs a:hover { opacity: 1; text-decoration: underline; }
.page-hero:not(.has-image) .breadcrumbs, .breadcrumbs.dark { color: var(--muted); }

/* ---------- Sections ---------- */
.section { padding: clamp(52px, 7vw, 96px) 0; }
.section-alt { background: var(--bg-alt); }
.section-title { position: relative; }
.section-title::after { content: ""; display: block; width: 46px; height: 4px; border-radius: 2px; background: var(--green); margin-top: 14px; }
.section-title.center::after { margin-left: auto; margin-right: auto; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 28px; flex-wrap: wrap; }
.section-head .section-title { margin: 0; }

.stats { background: var(--footer); color: #fff; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; padding-top: 30px; padding-bottom: 30px; text-align: center; }
.stats strong { display: block; font-size: clamp(1.6rem, 3.4vw, 2.4rem); color: var(--green); line-height: 1.1; }
.stats span { text-transform: uppercase; letter-spacing: .1em; font-size: .78rem; opacity: .85; }

.offer-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; list-style: none; margin: 36px 0 0; padding: 0; }
.offer-grid a { display: block; height: 100%; padding: 28px; border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; color: var(--text); background: #fff; transition: border-color .15s, transform .15s, box-shadow .15s; }
.offer-grid a:hover { border-color: var(--green); transform: translateY(-3px); box-shadow: var(--shadow); }
.offer-icon { display: grid; place-items: center; width: 72px; height: 72px; border-radius: 50%; background: var(--green-tint); margin-bottom: 16px; }
.offer-icon img { width: 44px; height: 44px; object-fit: contain; }
.offer-grid h3 { margin-bottom: .4em; }
.offer-grid p { margin: 0; font-size: .95rem; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 72px); align-items: center; }
.split-top { align-items: start; }
.split-reverse .split-media { order: 2; }
.split-media img { width: 100%; max-width: 560px; margin: 0 auto; }
.rounded { border-radius: var(--radius); }

.reasons { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; list-style: none; margin: 0; padding: 0; }
.reasons li { padding: 28px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); text-align: center; }
.reasons img { width: 120px; height: 120px; object-fit: contain; margin: 0 auto 18px; }
.reasons p { margin: 0; font-size: 1.02rem; }

/* ---------- Catalog ---------- */
.catalog-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 28px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0; padding: 0; }
.chip { display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px; border-radius: 999px; border: 1px solid var(--line); background: #fff; color: var(--ink); font-weight: 600; font-size: .9rem; text-decoration: none; }
.chip span { color: var(--muted); font-weight: 500; }
.chip:hover { border-color: var(--green); }
.chip.is-active { background: var(--green); border-color: var(--green); color: #fff; }
.chip.is-active span { color: rgba(255,255,255,.85); }
.catalog-search { display: flex; align-items: center; gap: 8px; min-width: min(360px, 100%); padding: 0 16px; border: 1px solid var(--line); border-radius: 999px; background: #fff; color: var(--muted); }
.catalog-search:focus-within { border-color: var(--green); }
.catalog-search input { flex: 1; border: 0; outline: none; padding: 12px 0; background: none; min-width: 0; }
.results-note { color: var(--muted); }
.empty-state { padding: 32px; border: 1px dashed var(--line); border-radius: var(--radius); background: #fff; }
.empty-state p { margin: 0; }

.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 22px; }
.product-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: box-shadow .15s, border-color .15s; }
.product-card:hover { box-shadow: var(--shadow); border-color: #cfe9da; }
.product-card-media { display: grid; place-items: center; aspect-ratio: 1; padding: 22px; background: linear-gradient(180deg, #fff, var(--bg-alt)); }
.product-card-media img { max-height: 100%; width: auto; object-fit: contain; transition: transform .25s; }
.product-card:hover .product-card-media img { transform: scale(1.04); }
.product-card-body { padding: 16px 18px 6px; flex: 1; }
.product-card h3 { font-size: 1rem; margin-bottom: .3em; }
.product-card h3 a { color: var(--ink); text-decoration: none; }
.product-card h3 a:hover { color: var(--green-dark); }
.product-cat { text-transform: uppercase; letter-spacing: .1em; font-size: .72rem; font-weight: 700; color: var(--green-dark); margin-bottom: 6px; }
.product-cat a { text-decoration: none; }
.sku { font-size: .85rem; color: var(--muted); margin: 0; font-variant-numeric: tabular-nums; }
.product-card-actions { display: flex; gap: 8px; padding: 12px 18px 18px; }
.product-card-actions .btn { flex: 1; }

/* ---------- Product page ---------- */
.product-hero { padding: clamp(24px, 4vw, 40px) 0 clamp(40px, 6vw, 72px); border-bottom: 1px solid var(--line); background: linear-gradient(180deg, var(--bg-alt), #fff 60%); }
.product-main { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
.product-image { display: grid; place-items: center; padding: clamp(18px, 4vw, 40px); background: #fff; border: 1px solid var(--line); border-radius: 22px; position: sticky; top: calc(var(--header-h) + 20px); }
.product-image img { max-height: 520px; width: auto; object-fit: contain; }
.product-info h1 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); }
.product-summary { font-size: 1.08rem; }
.h-small { font-size: .82rem; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); margin: 0 0 10px; }
.ideal { margin: 18px 0; }
.ideal ul, .check-list { list-style: none; margin: 0 0 18px; padding: 0; display: grid; gap: 8px; }
.ideal li, .check-list li { display: flex; gap: 10px; align-items: flex-start; }
.ideal .icon, .check-list .icon { color: var(--green); margin-top: 4px; }
.add-box { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; padding: 18px; margin: 22px 0 12px; border-radius: var(--radius); background: var(--green-tint); border: 1px solid #c7ebd6; }
.add-box .btn { flex: 1; min-width: 220px; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 999px; background: #fff; overflow: hidden; }
.qty input { width: 72px; border: 0; text-align: center; padding: 10px 0; font-weight: 700; -moz-appearance: textfield; appearance: textfield; outline: none; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.qty-btn { display: grid; place-items: center; width: 40px; height: 44px; border: 0; background: none; cursor: pointer; color: var(--ink); }
.qty-btn:hover { background: var(--bg-alt); }
.in-quote { display: flex; align-items: center; gap: 8px; font-size: .92rem; color: var(--green-dark); }
.price-note { font-size: .9rem; color: var(--muted); }

.features { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 18px; list-style: none; margin: 28px 0 0; padding: 0; }
.features li { display: flex; gap: 16px; padding: 22px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.feature-icon { width: 44px; height: 44px; object-fit: contain; flex: none; }
.feature-dot { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--green-tint); color: var(--green-dark); flex: none; }
.features h3 { font-size: 1.02rem; margin-bottom: .3em; }
.features p { margin: 0; font-size: .95rem; }

.spec-body { margin-top: 28px; max-width: 980px; }
.spec-body h3 { margin-top: 2em; font-size: 1.15rem; text-transform: uppercase; letter-spacing: .04em; }
.spec-body h3:first-child { margin-top: 0; }
.spec-body h4 { margin-top: 1.4em; font-size: 1rem; }
.spec-body table { width: 100%; border-collapse: collapse; background: #fff; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; margin: 0 0 1em; font-size: .95rem; }
.spec-body th, .spec-body td { padding: 11px 16px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.spec-body tr:last-child th, .spec-body tr:last-child td { border-bottom: 0; }
.spec-body th { width: 42%; color: var(--ink); font-weight: 600; background: #FAFBFA; }
.spec-body p:has(> img) { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.spec-img { width: auto; max-width: 100%; background: #fff; border-radius: 10px; }
.spec-intro { padding: 22px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: 1.5em; }

/* ---------- Projects ---------- */
.project-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 22px; }
.project-card a { display: block; height: 100%; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; text-decoration: none; color: var(--text); transition: box-shadow .15s, transform .15s; }
.project-card a:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.project-card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.project-card-body { padding: 16px 18px 18px; }
.project-card h3 { font-size: 1.02rem; margin-bottom: .3em; }
.project-card p { margin: 0; font-size: .88rem; color: var(--muted); }
.badge { display: inline-flex; align-items: center; gap: 5px; padding: 3px 10px; border-radius: 999px; background: var(--green-tint); color: var(--green-dark); font-weight: 700; font-size: .8rem; margin-bottom: 8px; }
.facts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin: 0 0 26px; }
.facts div { padding: 16px; border-radius: 12px; background: var(--bg-alt); }
.facts dt { display: flex; align-items: center; gap: 6px; font-size: .78rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); }
.facts dt .icon { color: var(--green); }
.facts dd { margin: 4px 0 0; font-weight: 700; color: var(--ink); }

/* ---------- CTA ---------- */
.cta { position: relative; padding: clamp(56px, 8vw, 96px) 0; color: #fff; isolation: isolate; overflow: hidden; background: var(--footer); }
.cta-bg { position: absolute; inset: 0; z-index: -1; }
.cta-bg img { width: 100%; height: 100%; object-fit: cover; opacity: .55; }
.cta-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10,28,19,.92), rgba(10,28,19,.55)); }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.cta h2 { color: #fff; margin-bottom: .3em; }
.cta p { margin: 0; opacity: .9; max-width: 640px; }
.cta .btn { flex: none; }

/* ---------- Forms ---------- */
.contact-form, .quote-details { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(22px, 4vw, 34px); box-shadow: var(--shadow); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.field { margin-bottom: 16px; }
.field-wide { grid-column: 1 / -1; }
.field label { display: block; font-size: .88rem; font-weight: 600; color: var(--ink); margin-bottom: 6px; }
.field input:not([type="checkbox"]), .field textarea { width: 100%; padding: 12px 14px; border: 1px solid #cfd5d2; border-radius: 10px; background: #fff; transition: border-color .15s, box-shadow .15s; }
.field textarea { resize: vertical; min-height: 120px; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 3px rgba(29,186,97,.2); }
.field-check { display: flex; flex-wrap: wrap; gap: 10px; align-items: flex-start; }
.field-check input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--green); flex: none; }
.field-check label { flex: 1; font-weight: 400; color: var(--text); margin: 0; }
.has-error input, .has-error textarea { border-color: #d64545 !important; }
.field-error { width: 100%; color: #c0392b; font-size: .85rem; margin: 6px 0 0; }
.form-status { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: 12px; margin-bottom: 20px; font-weight: 600; }
.form-status.is-success { background: var(--green-tint); border: 1px solid #b9e5cb; color: #0f5e33; }
.form-status.is-error { background: #fdeeee; border: 1px solid #f1c0c0; color: #9b2a2a; }
.form-status.big { padding: 26px; font-weight: 400; }
.form-status.big strong { font-size: 1.2rem; display: block; margin-bottom: 4px; }
.form-status.big .icon { width: 30px; height: 30px; }
.form-status ul { margin: 0 0 16px; padding-left: 1.2em; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

.quote-layout { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(24px, 4vw, 44px); align-items: start; }
.quote-details { position: sticky; top: calc(var(--header-h) + 20px); }
.quote-items { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.quote-item { display: grid; grid-template-columns: 76px 1fr auto auto; gap: 14px; align-items: center; padding: 12px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.quote-item-media { display: grid; place-items: center; width: 76px; height: 76px; border-radius: 10px; background: var(--bg-alt); padding: 6px; }
.quote-item-media img { max-height: 64px; width: auto; object-fit: contain; }
.quote-item-info a { color: var(--ink); text-decoration: none; }
.quote-item-info a:hover { color: var(--green-dark); }
.quote-item-info .sku { display: block; }
.quote-list-actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-top: 16px; }

.contact-list { list-style: none; margin: 0 0 24px; padding: 0; display: grid; gap: 18px; }
.contact-list li { display: flex; gap: 14px; align-items: flex-start; }
.contact-list .icon { color: var(--green); margin-top: 3px; }
.contact-list a { color: var(--ink); font-weight: 600; text-decoration: none; }
.contact-list a:hover { color: var(--green-dark); }
.map { margin-bottom: 18px; }

/* ---------- Prose / privacy ---------- */
.prose h2 { font-size: 1.3rem; margin-top: 1.8em; }
.prose h3 { font-size: 1.05rem; margin-top: 1.3em; }
.prose ul { padding-left: 1.3em; }
.prose li { margin-bottom: .5em; }

.page-404 { min-height: 55vh; display: flex; align-items: center; }
.page-404 .catalog-search { max-width: 460px; margin: 22px 0; }

/* ---------- Footer ---------- */
.site-footer { background: var(--footer); color: rgba(255,255,255,.78); font-size: .93rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 36px; padding-top: 56px; padding-bottom: 44px; }
.footer-logo { height: 40px; width: auto; margin-bottom: 16px; }
.footer-title { font-size: .8rem; text-transform: uppercase; letter-spacing: .14em; color: #fff; margin-bottom: 16px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 8px; }
.site-footer a { color: inherit; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-contact li { display: flex; gap: 10px; align-items: flex-start; }
.footer-contact .icon { color: var(--green); margin-top: 4px; }
.social { display: flex; gap: 10px; margin-top: 16px; }
.social a { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(255,255,255,.2); color: #fff; }
.social a:hover { border-color: var(--green); color: var(--green); text-decoration: none; }
.social .icon { width: 18px; height: 18px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); }
.footer-bottom-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding-top: 18px; padding-bottom: 18px; font-size: .84rem; }
.footer-bottom p { margin: 0; }

/* ---------- Responsive ---------- */
@media (max-width: 991px) {
  .hero-inner, .product-main, .quote-layout { grid-template-columns: 1fr; }
  .product-image, .quote-details { position: static; }
  .offer-grid, .reasons { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 767px) {
  .split { grid-template-columns: 1fr; }
  .split-reverse .split-media { order: 0; }
  .offer-grid, .reasons { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .form-grid { grid-template-columns: 1fr; }
  .cta-inner { flex-direction: column; align-items: flex-start; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .quote-item { grid-template-columns: 64px 1fr auto; }
  .quote-item .qty { grid-column: 2 / 3; justify-self: start; }
  .quote-item .icon-btn { grid-row: 1; grid-column: 3; }
  .quote-item-media { width: 64px; height: 64px; }
  .features { grid-template-columns: 1fr; }
  .facts { grid-template-columns: 1fr 1fr; }
  .catalog-search { width: 100%; }
  .page-hero-bg::after { background: linear-gradient(180deg, rgba(10,28,19,.75), rgba(10,28,19,.85)); }
}
