/*
Theme Name: FNT Sentinel
Theme URI: https://fntcorporation.co.za/
Author: FNT Corperation
Description: Catalogue and instant-quotation theme for FNT Corperation — security, correctional and institutional equipment.
Version: 1.0.0
Requires at least: 6.4
Requires PHP: 8.1
Text Domain: fnt
*/

:root {
  --ink: #15181e;
  --graphite: #1f232b;
  --slate: #2b3140;
  --amber: #ffc03d;
  --amber-dark: #e2a318;
  --amber-ink: #8a6200;
  --sand: #f6f3ea;
  --white: #fff;
  --text: #262a31;
  --muted: #5f6775;
  --line: #e1e4ea;
  --success: #1e7a4c;
  --danger: #b42318;
  --radius: 6px;
  --radius-lg: 12px;
  --shadow: 0 14px 40px rgba(21, 24, 30, .12);
  --max: 1200px;
  --font-head: Montserrat, "Segoe UI", Arial, sans-serif;
  --font-body: "Open Sans", "Segoe UI", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; color: var(--text); background: var(--white); font-family: var(--font-body); font-size: 16px; line-height: 1.65; }
img { display: block; max-width: 100%; height: auto; }
a { color: var(--amber-ink); text-decoration: none; }
a:hover { color: var(--ink); }
h1, h2, h3, h4 { margin: 0 0 .6em; color: var(--ink); font-family: var(--font-head); font-weight: 700; letter-spacing: -.02em; line-height: 1.15; }
h1 { font-size: clamp(2rem, 3.6vw, 3.1rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 2.6vw, 2.25rem); }
h3 { font-size: clamp(1.05rem, 1.5vw, 1.25rem); }
p { margin: 0 0 1.1rem; }
button, input, textarea, select { font: inherit; }
.container { width: min(calc(100% - 40px), var(--max)); margin-inline: auto; }
.narrow { width: min(calc(100% - 40px), 820px); margin-inline: auto; }
.section { padding: 84px 0; }
.section--sand { background: var(--sand); }
.section--dark { color: #e6e9ef; background: var(--graphite); }
.section--dark h2, .section--dark h3 { color: var(--white); }
.section--tight { padding: 56px 0; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 14px; color: var(--amber-ink); font-family: var(--font-head); font-size: .74rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; }
.eyebrow::before { content: ""; width: 26px; height: 3px; background: var(--amber); }
.section--dark .eyebrow { color: var(--amber); }
.lead { max-width: 740px; color: var(--muted); font-size: 1.12rem; }
.section--dark .lead { color: #c3c9d4; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; margin-bottom: 36px; }
.section-head > div { max-width: 740px; }
.section-head h2 { margin-bottom: 8px; }
.section-head p { margin: 0; color: var(--muted); }

/* Buttons */
.button { display: inline-flex; min-height: 50px; align-items: center; justify-content: center; gap: 9px; padding: 12px 24px; border: 2px solid var(--amber); border-radius: var(--radius); color: var(--ink); background: var(--amber); font-family: var(--font-head); font-size: .92rem; font-weight: 700; letter-spacing: .02em; cursor: pointer; transition: .2s ease; }
.button:hover { color: var(--ink); border-color: var(--amber-dark); background: var(--amber-dark); transform: translateY(-1px); box-shadow: 0 10px 24px rgba(226, 163, 24, .3); }
.button--dark { color: var(--white); border-color: var(--ink); background: var(--ink); }
.button--dark:hover { color: var(--white); border-color: var(--slate); background: var(--slate); box-shadow: 0 10px 24px rgba(21, 24, 30, .25); }
.button--outline { color: var(--ink); border-color: var(--ink); background: transparent; }
.button--outline:hover { color: var(--white); border-color: var(--ink); background: var(--ink); box-shadow: none; }
.button--light { color: var(--white); border-color: rgba(255, 255, 255, .55); background: transparent; }
.button--light:hover { color: var(--ink); border-color: var(--white); background: var(--white); box-shadow: none; }
.button--small { min-height: 42px; padding: 8px 16px; font-size: .84rem; }
.button svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.text-link { display: inline-flex; align-items: center; gap: 7px; color: var(--ink); font-family: var(--font-head); font-size: .9rem; font-weight: 700; }
.text-link::after { content: "\2192"; color: var(--amber-ink); transition: transform .2s ease; }
.text-link:hover::after { transform: translateX(4px); }

/* Header */
.topbar { color: #c3c9d4; background: var(--ink); font-size: .8rem; }
.topbar .container { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 36px; }
.topbar a { color: #e6e9ef; }
.topbar a:hover { color: var(--amber); }
.topbar__links { display: flex; gap: 22px; }
.site-header { position: sticky; z-index: 100; top: 0; background: var(--graphite); border-bottom: 1px solid rgba(255, 255, 255, .08); }
.header-inner { position: relative; display: grid; min-height: 84px; grid-template-columns: auto 1fr auto; align-items: center; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--white); }
.brand__mark { width: 50px; height: 50px; flex: 0 0 50px; border-radius: 10px; background: var(--white); padding: 4px; }
.brand__name { display: block; font-family: var(--font-head); font-size: 1.08rem; font-weight: 800; line-height: 1.05; letter-spacing: .01em; }
.brand__tag { display: block; margin-top: 4px; color: var(--amber); font-size: .64rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.primary-nav { display: contents; }
.nav-list { display: flex; justify-content: center; align-items: center; gap: 30px; margin: 0; padding: 0; list-style: none; }
.nav-list > li > a, .nav-products__toggle { display: inline-flex; min-height: 42px; align-items: center; gap: 6px; padding: 0; border: 0; color: #e6e9ef; background: transparent; font-family: var(--font-head); font-size: .9rem; font-weight: 600; cursor: pointer; transition: color .18s ease; }
.nav-list > li > a:hover, .nav-products__toggle:hover, .nav-products.is-open > .nav-products__toggle { color: var(--amber); }
.nav-products { position: relative; }
.nav-chevron { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; transition: transform .18s ease; }
.nav-products.is-open .nav-chevron { transform: rotate(180deg); }
.mega-menu { position: absolute; visibility: hidden; top: calc(100% + 16px); left: 50%; width: min(560px, calc(100vw - 40px)); padding: 14px; border: 1px solid var(--line); border-radius: var(--radius-lg); opacity: 0; background: var(--white); box-shadow: var(--shadow); transform: translate(-50%, -8px); transition: .18s ease; }
.nav-products:hover .mega-menu, .nav-products:focus-within .mega-menu, .nav-products.is-open .mega-menu { visibility: visible; opacity: 1; transform: translate(-50%, 0); }
.mega-menu::before { content: ""; position: absolute; top: -18px; left: 0; width: 100%; height: 18px; }
.mega-menu__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; }
.mega-menu__item { display: grid; grid-template-columns: 54px 1fr; gap: 12px; align-items: center; padding: 8px 10px; border-radius: 8px; color: var(--ink); }
.mega-menu__item:hover { background: var(--sand); color: var(--ink); }
.mega-menu__item img { width: 54px; height: 54px; border-radius: 8px; object-fit: cover; background: var(--sand); }
.mega-menu__item strong { display: block; font-family: var(--font-head); font-size: .86rem; font-weight: 700; }
.mega-menu__item span { display: block; color: var(--muted); font-size: .74rem; line-height: 1.35; }
.mega-menu__all { display: inline-flex; margin: 10px 10px 2px; }
.header-quote { justify-self: end; }
.nav-toggle { display: none; width: 46px; height: 42px; padding: 8px; border: 0; color: var(--white); background: transparent; cursor: pointer; }
.nav-toggle span { display: block; height: 2px; margin: 6px; background: currentColor; }

/* Hero */
.hero { position: relative; overflow: hidden; color: var(--white); background: var(--ink); }
.hero__bg { position: absolute; inset: 0; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; opacity: .34; }
.hero__veil { position: absolute; inset: 0; background: linear-gradient(100deg, rgba(21, 24, 30, .96) 0%, rgba(21, 24, 30, .85) 45%, rgba(21, 24, 30, .45) 100%); }
.hero__accent { position: absolute; top: 0; right: -12vw; width: 38vw; height: 100%; background: linear-gradient(160deg, rgba(255, 192, 61, .22), rgba(255, 192, 61, 0)); transform: skewX(-14deg); }
.hero .container { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 50px; align-items: center; min-height: 620px; padding-top: 70px; padding-bottom: 70px; }
.hero h1 { color: var(--white); font-size: clamp(2.2rem, 4.2vw, 3.7rem); }
.hero h1 em { font-style: normal; color: var(--amber); }
.hero p { max-width: 600px; color: #d3d8e1; font-size: clamp(1.02rem, 1.5vw, 1.2rem); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }
.hero__points { display: flex; flex-wrap: wrap; gap: 10px 24px; margin: 30px 0 0; padding: 0; list-style: none; color: #c3c9d4; font-size: .9rem; }
.hero__points li { position: relative; padding-left: 20px; }
.hero__points li::before { content: ""; position: absolute; top: .55em; left: 0; width: 10px; height: 10px; background: var(--amber); transform: rotate(45deg); }
.hero__panel { position: relative; padding: 28px; border: 1px solid rgba(255, 255, 255, .12); border-radius: var(--radius-lg); background: rgba(31, 35, 43, .75); backdrop-filter: blur(8px); }
.hero__panel h3 { margin-bottom: 14px; color: var(--white); font-size: 1rem; }
.hero__list { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.hero__list a { display: grid; grid-template-columns: 46px 1fr auto; align-items: center; gap: 12px; padding: 9px 10px; border-radius: 8px; color: var(--white); background: rgba(255, 255, 255, .05); transition: background .15s ease; }
.hero__list a:hover { background: rgba(255, 192, 61, .16); }
.hero__list img { width: 46px; height: 46px; border-radius: 6px; object-fit: cover; background: var(--sand); }
.hero__list strong { display: block; font-family: var(--font-head); font-size: .86rem; }
.hero__list span { display: block; color: #a9b1bf; font-size: .74rem; }
.hero__list i { color: var(--amber); font-style: normal; }

/* Trust strip */
.trust { position: relative; z-index: 2; margin-top: -40px; }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); overflow: hidden; border-radius: var(--radius-lg); background: var(--white); box-shadow: var(--shadow); }
.trust-item { display: flex; gap: 14px; align-items: flex-start; padding: 24px 26px; border-right: 1px solid var(--line); }
.trust-item:last-child { border-right: 0; }
.trust-item svg { width: 28px; height: 28px; flex: 0 0 28px; fill: none; stroke: var(--amber-ink); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.trust-item strong { display: block; color: var(--ink); font-family: var(--font-head); font-size: .95rem; }
.trust-item span { color: var(--muted); font-size: .86rem; }

/* Grids and cards */
.grid { display: grid; gap: 24px; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
.category-grid { grid-template-columns: repeat(3, 1fr); }
.category-card { position: relative; display: flex; flex-direction: column; overflow: hidden; border-radius: var(--radius-lg); color: var(--white); background: var(--graphite); min-height: 320px; isolation: isolate; }
.category-card img { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; object-fit: cover; opacity: .55; transition: transform .5s ease, opacity .3s ease; }
.category-card::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(21, 24, 30, .1) 10%, rgba(21, 24, 30, .92) 100%); }
.category-card:hover img { opacity: .7; transform: scale(1.04); }
.category-card__body { margin-top: auto; padding: 26px; }
.category-card__body h3 { color: var(--white); margin-bottom: 6px; }
.category-card__body p { margin: 0 0 14px; color: #c3c9d4; font-size: .9rem; }
.category-card__count { display: inline-block; margin-bottom: 10px; padding: 3px 10px; border-radius: 999px; background: var(--amber); color: var(--ink); font-family: var(--font-head); font-size: .7rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.category-card .text-link { color: var(--white); }
.category-card .text-link::after { color: var(--amber); }

.product-card { display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--white); transition: .22s ease; }
.product-card:hover { border-color: #cfd4dc; transform: translateY(-4px); box-shadow: var(--shadow); }
.product-card__image { display: block; aspect-ratio: 4/3; overflow: hidden; background: var(--sand); }
.product-card__image img { width: 100%; height: 100%; object-fit: contain; padding: 14px; transition: transform .4s ease; }
.product-card:hover .product-card__image img { transform: scale(1.04); }
.product-card__body { display: flex; flex: 1; flex-direction: column; padding: 20px 22px 22px; }
.product-card__type { display: block; margin-bottom: 6px; color: var(--amber-ink); font-family: var(--font-head); font-size: .68rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.product-card__body h3 { margin-bottom: 8px; font-size: 1.02rem; }
.product-card__body h3 a { color: var(--ink); }
.product-card__body p { flex: 1; margin-bottom: 14px; color: var(--muted); font-size: .9rem; }
.product-card__foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.product-card__price { color: var(--ink); font-family: var(--font-head); font-size: .86rem; font-weight: 700; }
.product-card__price small { display: block; color: var(--muted); font-family: var(--font-body); font-size: .72rem; font-weight: 400; }

/* Split / features */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.split__media { position: relative; overflow: hidden; border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.split__media img { width: 100%; min-height: 420px; object-fit: cover; }
.split__media::after { content: ""; position: absolute; left: 0; bottom: 0; width: 38%; height: 6px; background: var(--amber); }
.feature-list { display: grid; gap: 16px; margin: 24px 0 30px; padding: 0; list-style: none; }
.feature-list li { display: grid; grid-template-columns: 44px 1fr; gap: 14px; align-items: flex-start; }
.feature-list svg { width: 44px; height: 44px; padding: 10px; border-radius: 8px; background: var(--sand); fill: none; stroke: var(--amber-ink); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.feature-list strong { display: block; color: var(--ink); font-family: var(--font-head); font-size: .96rem; }
.feature-list span { color: var(--muted); font-size: .9rem; }

/* Process */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: step; }
.step { position: relative; padding: 26px 24px 24px; border: 1px solid rgba(255, 255, 255, .1); border-radius: var(--radius-lg); background: rgba(255, 255, 255, .04); }
.step::before { counter-increment: step; content: "0" counter(step); display: block; margin-bottom: 14px; color: var(--amber); font-family: var(--font-head); font-size: 1.6rem; font-weight: 800; }
.step strong { display: block; margin-bottom: 6px; color: var(--white); font-family: var(--font-head); font-size: 1rem; }
.step p { margin: 0; color: #b4bcc9; font-size: .9rem; }

/* Stats */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.stat { padding: 26px; border-left: 4px solid var(--amber); border-radius: 0 var(--radius-lg) var(--radius-lg) 0; background: var(--white); }
.stat strong { display: block; color: var(--ink); font-family: var(--font-head); font-size: 2.1rem; font-weight: 800; line-height: 1; }
.stat span { display: block; margin-top: 8px; color: var(--muted); font-size: .9rem; }

/* FAQ */
.faq { display: grid; gap: 10px; }
.faq details { border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 20px; color: var(--ink); font-family: var(--font-head); font-size: .98rem; font-weight: 700; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--amber-ink); font-size: 1.3rem; line-height: 1; }
.faq details[open] summary::after { content: "\2212"; }
.faq details p { margin: 0; padding: 0 20px 18px; color: var(--muted); }

/* CTA band */
.cta-band { display: flex; align-items: center; justify-content: space-between; gap: 40px; padding: 40px 44px; border-radius: var(--radius-lg); color: var(--white); background: var(--ink); box-shadow: var(--shadow); }
.cta-band h2 { margin-bottom: 8px; color: var(--white); font-size: clamp(1.5rem, 2.8vw, 2.2rem); }
.cta-band p { margin: 0; color: #c3c9d4; }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* Page hero / breadcrumbs */
.page-hero { padding: 64px 0 56px; color: var(--white); background: linear-gradient(120deg, var(--ink), var(--slate)); }
.page-hero h1 { color: var(--white); font-size: clamp(1.9rem, 3vw, 2.7rem); }
.page-hero p { max-width: 720px; color: #c3c9d4; font-size: 1.1rem; }
.page-hero .eyebrow { color: var(--amber); }
.breadcrumbs { margin-bottom: 18px; color: #a9b1bf; font-size: .84rem; }
.breadcrumbs a { color: var(--white); }
.breadcrumbs a:hover { color: var(--amber); }
.filter-bar { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.filter-bar a { padding: 8px 16px; border: 1px solid var(--line); border-radius: 999px; color: var(--ink); font-family: var(--font-head); font-size: .82rem; font-weight: 700; transition: .15s ease; }
.filter-bar a:hover { border-color: var(--amber); }
.filter-bar a.is-active { border-color: var(--ink); background: var(--ink); color: var(--white); }

/* Product detail */
.product-detail { padding-top: 60px; }
.product-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(380px, .95fr); gap: 56px; align-items: start; }
.product-gallery { position: sticky; top: 110px; }
.product-gallery__main { overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--sand); }
.product-gallery__main img { width: 100%; aspect-ratio: 4/3; object-fit: contain; padding: 24px; }
.product-gallery__thumbs { display: flex; gap: 10px; margin-top: 12px; }
.product-gallery__thumbs button { width: 76px; height: 76px; padding: 6px; border: 2px solid var(--line); border-radius: 8px; background: var(--white); cursor: pointer; }
.product-gallery__thumbs button.is-active { border-color: var(--amber); }
.product-gallery__thumbs img { width: 100%; height: 100%; object-fit: contain; }
.product-summary__meta { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 14px; }
.product-summary__meta .product-card__type { margin: 0; }
.product-summary h1 { font-size: clamp(1.8rem, 3vw, 2.5rem); }
.product-summary__intro { margin-bottom: 22px; color: var(--muted); font-size: 1.1rem; }
.product-summary .lead { font-size: 1.02rem; }
.feature-bullets { display: grid; gap: 10px; margin: 20px 0 26px; padding: 0; list-style: none; }
.feature-bullets li { position: relative; padding-left: 28px; }
.feature-bullets li::before { content: ""; position: absolute; top: .5em; left: 2px; width: 12px; height: 12px; background: var(--amber); transform: rotate(45deg); }
.spec-table { width: 100%; margin: 20px 0 26px; border-collapse: collapse; }
.spec-table th, .spec-table td { padding: 12px 14px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; font-size: .94rem; }
.spec-table th { width: 40%; color: var(--ink); background: var(--sand); font-family: var(--font-head); font-size: .84rem; font-weight: 700; }
.notice { padding: 14px 17px; border-left: 4px solid var(--amber); color: var(--muted); background: #fff8e3; font-size: .9rem; }
.product-summary__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.docs { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 18px; }
.docs a { display: inline-flex; align-items: center; gap: 8px; color: var(--ink); font-size: .9rem; font-weight: 600; }

/* Carousel */
.carousel-arrows { display: flex; gap: 8px; }
.carousel-arrows button { display: grid; width: 46px; height: 46px; place-items: center; border: 1px solid rgba(21, 24, 30, .22); border-radius: 50%; color: var(--ink); background: var(--white); font-size: 1.25rem; cursor: pointer; transition: .18s ease; }
.carousel-arrows button:hover { color: var(--ink); border-color: var(--amber); background: var(--amber); }
.product-carousel { overflow: hidden; }
.product-carousel__track { display: flex; gap: 24px; transition: transform .55s cubic-bezier(.22, .75, .3, 1); will-change: transform; }
.product-carousel__track > [data-product-slide] { display: flex; flex: 0 0 calc((100% - 48px) / 3); }
.product-carousel__track > [data-product-slide] > .product-card { width: 100%; }

/* Contact */
.quote-layout { display: grid; grid-template-columns: .74fr 1.26fr; gap: 50px; align-items: start; }
.contact-card { padding: 30px; border-radius: var(--radius-lg); color: var(--white); background: var(--graphite); }
.contact-card h2, .contact-card h3 { color: var(--white); }
.contact-card a { color: var(--white); }
.contact-card a:hover { color: var(--amber); }
.contact-list { display: grid; gap: 20px; margin-top: 26px; }
.contact-list strong { display: block; margin-bottom: 2px; color: var(--amber); font-family: var(--font-head); font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; }
.contact-map { margin-top: 24px; overflow: hidden; border-radius: 10px; border: 1px solid rgba(255, 255, 255, .1); }
.contact-map iframe { display: block; width: 100%; height: 220px; border: 0; filter: grayscale(.2); }
.quote-form { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field--wide { grid-column: 1/-1; }
.quote-form label { display: block; margin-bottom: 6px; color: var(--ink); font-family: var(--font-head); font-size: .86rem; font-weight: 700; }
.quote-form input, .quote-form textarea, .quote-form select { width: 100%; min-height: 50px; padding: 11px 14px; border: 1px solid #c3c9d4; border-radius: var(--radius); color: var(--text); background: var(--white); }
.quote-form textarea { min-height: 150px; resize: vertical; }
.quote-form input:focus, .quote-form textarea:focus, .quote-form select:focus { outline: 3px solid rgba(255, 192, 61, .35); border-color: var(--amber-dark); }
.hp-field { position: absolute !important; left: -9999px !important; }
.form-status { grid-column: 1/-1; padding: 13px 15px; border-radius: var(--radius); }
.form-status--success { color: #0f5132; border: 1px solid #badbcc; background: #d1e7dd; }
.form-status--error { color: #842029; border: 1px solid #f5c2c7; background: #f8d7da; }

/* Footer */
.site-footer { color: #c3c9d4; background: var(--ink); }
.footer-grid { display: grid; grid-template-columns: 1.3fr .7fr .8fr 1fr; gap: 50px; padding: 66px 0 46px; }
.site-footer h3 { color: var(--white); font-size: .92rem; letter-spacing: .06em; text-transform: uppercase; }
.site-footer a { color: #c3c9d4; }
.site-footer a:hover { color: var(--amber); }
.site-footer ul { margin: 0; padding: 0; list-style: none; }
.site-footer li { margin-bottom: 9px; font-size: .94rem; }
.footer-bottom { display: flex; justify-content: space-between; gap: 25px; padding: 20px 0; border-top: 1px solid rgba(255, 255, 255, .1); color: #8b94a3; font-size: .82rem; }
.empty-state { padding: 40px; border: 1px solid var(--line); border-radius: var(--radius-lg); text-align: center; background: var(--sand); }
.screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; }
.prose { max-width: 820px; }
.prose h2 { margin-top: 1.6em; }
.prose ul { padding-left: 22px; }

@media (max-width: 1060px) {
  .hero .container { grid-template-columns: 1fr; }
  .hero__panel { display: none; }
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .trust-item:nth-child(2) { border-right: 0; }
  .trust-item:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .grid--3, .category-grid { grid-template-columns: repeat(2, 1fr); }
  .steps, .stats { grid-template-columns: repeat(2, 1fr); }
  .split, .product-layout, .quote-layout { grid-template-columns: 1fr; }
  .product-gallery { position: static; }
  .product-carousel__track > [data-product-slide] { flex-basis: calc((100% - 24px) / 2); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 980px) {
  .topbar { display: none; }
  .header-inner { display: flex; min-height: 72px; justify-content: space-between; }
  .nav-toggle { display: block; }
  .primary-nav { position: absolute; display: none; top: 72px; right: -20px; left: -20px; max-height: calc(100vh - 72px); overflow-y: auto; padding: 16px 20px 26px; background: var(--graphite); box-shadow: var(--shadow); }
  .primary-nav.is-open { display: block; }
  .nav-list { display: grid; gap: 2px; margin-bottom: 16px; }
  .nav-list > li > a, .nav-products__toggle { width: 100%; min-height: 48px; justify-content: space-between; padding: 6px 4px; border-bottom: 1px solid rgba(255, 255, 255, .08); }
  .header-quote { width: 100%; }
  .mega-menu { position: static; visibility: visible; display: none; width: 100%; padding: 8px 0 12px; border: 0; opacity: 1; background: transparent; box-shadow: none; transform: none; transition: none; }
  .nav-products:hover .mega-menu, .nav-products:focus-within .mega-menu { display: none; }
  .nav-products.is-open .mega-menu { display: block; }
  .mega-menu__grid { grid-template-columns: 1fr; }
  .mega-menu__item { color: var(--white); }
  .mega-menu__item:hover { background: rgba(255, 255, 255, .06); color: var(--white); }
  .mega-menu__item span { color: #a9b1bf; }
  .mega-menu__all { color: var(--amber); }
  .mega-menu::before { display: none; }
}
@media (max-width: 640px) {
  .container, .narrow { width: min(calc(100% - 28px), var(--max)); }
  .section { padding: 60px 0; }
  .hero .container { min-height: 0; padding: 60px 0 70px; }
  .hero__actions .button { flex: 1 1 100%; }
  .trust { margin-top: -28px; }
  .trust-grid, .grid--4, .grid--3, .category-grid, .steps, .stats, .footer-grid { grid-template-columns: 1fr; }
  .trust-item { border-right: 0; border-bottom: 1px solid var(--line); }
  .section-head, .cta-band, .footer-bottom { align-items: flex-start; flex-direction: column; }
  .product-carousel__track > [data-product-slide] { flex-basis: 100%; }
  .cta-band { padding: 30px 24px; }
  .quote-form { grid-template-columns: 1fr; }
  .field--wide { grid-column: auto; }
  .brand__mark { width: 42px; height: 42px; flex-basis: 42px; }
  .brand__name { font-size: .95rem; }
  .brand__tag { font-size: .56rem; }
  .product-detail { padding-top: 40px; }
  .product-summary__meta { align-items: flex-start; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}
