/* NRH Infinity Empire — site styles */
:root {
  --ink: #15171b;
  --ink-2: #1d2026;
  --ink-3: #2a2e35;
  --paper: #f4f1ea;
  --white: #ffffff;
  --line: #e2dccf;
  --line-dark: #343942;
  --text: #1b1d21;
  --muted: #5a5f67;
  --muted-dark: #b3b7be;
  --gold: #c9a24a;
  --gold-2: #e2c071;
  --gold-ink: #85651f;
  --wa: #25d366;
  --radius: 4px;
  --wrap: 1180px;
  --head: "Barlow Condensed", "Arial Narrow", sans-serif;
  --body: "Barlow", "Segoe UI", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font-family: var(--body); font-size: 17px; line-height: 1.65; color: var(--text); background: var(--white); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--gold-ink); text-underline-offset: 3px; }
a:hover { color: var(--text); }
h1, h2, h3 { font-family: var(--head); font-weight: 700; line-height: 1.08; letter-spacing: .005em; margin: 0 0 .5em; color: inherit; }
h1 { font-size: clamp(2.3rem, 5.2vw, 3.9rem); text-transform: uppercase; }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); text-transform: uppercase; }
h3 { font-size: 1.35rem; font-weight: 600; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--gold); color: var(--ink); padding: 8px 14px; z-index: 100; font-weight: 600; }
.skip:focus { left: 8px; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 860px; }
.muted { color: var(--muted); }

/* mesh motif: tight vertical wires like a 358 panel */
.mesh {
  background-color: var(--ink);
  background-image:
    repeating-linear-gradient(90deg, rgba(201,162,74,.075) 0 1px, transparent 1px 13px),
    repeating-linear-gradient(0deg, rgba(201,162,74,.06) 0 1px, transparent 1px 70px);
}
.mesh-gold {
  background-color: var(--gold);
  background-image: repeating-linear-gradient(90deg, rgba(21,23,27,.07) 0 1px, transparent 1px 13px);
}

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 12px 22px; border-radius: var(--radius);
  font-family: var(--head); font-size: 1.08rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: background .15s, color .15s, border-color .15s; }
.btn-gold { background: var(--gold); color: var(--ink); }
.btn-gold:hover { background: var(--gold-2); color: var(--ink); }
.btn-ghost { border-color: rgba(255,255,255,.35); color: var(--white); background: transparent; }
.btn-ghost:hover { border-color: var(--gold); color: var(--gold-2); }
.btn-line { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-line:hover { background: var(--ink); color: var(--white); }
.btn-ink { background: var(--ink); color: var(--white); }
.btn-ink:hover { background: var(--ink-3); color: var(--gold-2); }
.btn-ink-line { border-color: var(--ink); color: var(--ink); }
.btn-ink-line:hover { background: rgba(21,23,27,.08); color: var(--ink); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }

.kicker { display: flex; align-items: center; gap: 12px; font-family: var(--head); font-size: .98rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-ink); margin-bottom: 14px; }
.kicker::before { content: ""; width: 28px; height: 3px; background: var(--gold); flex: none; }
.mesh .kicker, .section-ink .kicker { color: var(--gold-2); }

/* top bar + header */
.topbar { background: #0d0e11; color: var(--muted-dark); font-size: .86rem; }
.topbar-in { display: flex; flex-wrap: wrap; gap: 6px 22px; justify-content: flex-end; padding-top: 7px; padding-bottom: 7px; }
.topbar a { color: var(--white); text-decoration: none; }
.topbar a:hover { color: var(--gold-2); }
.topbar-ssm { margin-right: auto; letter-spacing: .04em; }
.hdr { position: sticky; top: 0; z-index: 50; background: var(--ink); border-bottom: 1px solid var(--line-dark); }
.hdr-in { display: flex; align-items: center; gap: 20px; min-height: 76px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--white); margin-right: auto; }
.brand img { width: 62px; height: auto; }
.brand strong { display: block; font-family: var(--head); font-size: 1.35rem; letter-spacing: .06em; text-transform: uppercase; line-height: 1.1; }
.brand small { display: block; color: var(--gold-2); font-size: .8rem; letter-spacing: .04em; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a:not(.btn) { color: #d9dbe0; text-decoration: none; font-weight: 500; padding: 10px 12px; border-bottom: 2px solid transparent; }
.nav a:not(.btn):hover { color: var(--white); }
.nav a[aria-current="page"] { color: var(--white); border-bottom-color: var(--gold); }
.nav-cta { margin-left: 10px; min-height: 42px; padding: 8px 16px; }
.nav-btn { display: none; width: 46px; height: 46px; border: 1px solid var(--line-dark); background: transparent; border-radius: var(--radius); cursor: pointer; padding: 11px; flex-direction: column; justify-content: space-between; }
.nav-btn i { display: block; height: 2px; background: var(--white); transition: transform .2s, opacity .2s; }
.nav-btn[aria-expanded="true"] i:nth-child(2) { transform: translateY(10px) rotate(45deg); }
.nav-btn[aria-expanded="true"] i:nth-child(3) { opacity: 0; }
.nav-btn[aria-expanded="true"] i:nth-child(4) { transform: translateY(-10px) rotate(-45deg); }

/* hero */
.hero { color: var(--white); padding: 56px 0 64px; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); gap: 48px; align-items: center; }
.hero h1 { margin-bottom: .4em; }
.lead { font-size: 1.15rem; color: #d3d6dc; max-width: 60ch; }
.hero-facts { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; padding: 0; margin: 34px 0 0; border-top: 1px solid var(--line-dark); }
.hero-facts li { padding: 16px 16px 0 0; color: var(--muted-dark); font-size: .92rem; line-height: 1.35; }
.hero-facts li + li { padding-left: 16px; border-left: 1px solid var(--line-dark); }
.hero-facts strong { display: block; font-family: var(--head); font-size: 1.45rem; color: var(--gold-2); letter-spacing: .02em; }
.hero-media { margin: 0; position: relative; }
.hero-media img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--radius); }
.hero-media::after { content: ""; position: absolute; inset: 14px -14px -14px 14px; border: 2px solid var(--gold); border-radius: var(--radius); z-index: -1; }
.hero-media { z-index: 0; }

.sub-hero { color: var(--white); padding: 28px 0 56px; }
.sub-hero-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: 44px; align-items: center; margin-top: 22px; }
.sub-hero-grid.solo { grid-template-columns: minmax(0, 1fr); max-width: 820px; }
.sub-hero-media { margin: 0; background: var(--white); border-radius: var(--radius); padding: 10px; border: 1px solid var(--line-dark); }
.sub-hero-media img { width: 100%; max-height: 360px; object-fit: contain; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; padding: 0; margin: 0; font-size: .88rem; color: var(--muted-dark); }
.crumbs li + li::before { content: "/"; margin-right: 6px; color: var(--gold); }
.crumbs a { color: var(--muted-dark); text-decoration: none; }
.crumbs a:hover { color: var(--gold-2); }

/* clients */
.band-clients { background: var(--white); border-bottom: 1px solid var(--line); padding: 26px 0; }
.band-clients-paper { background: var(--paper); border: 0; padding: 48px 0; }
.clients { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }
.clients-title { font-family: var(--head); font-weight: 600; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); margin: 0; font-size: .95rem; }
.clients ul { list-style: none; display: flex; flex-wrap: wrap; gap: 14px 36px; padding: 0; margin: 0; align-items: center; }
.clients li { display: flex; align-items: center; gap: 10px; font-weight: 600; color: var(--muted); }
.clients img { width: auto; height: 52px; object-fit: contain; }

/* sections */
.section { padding: 84px 0; }
.section-paper { background: var(--paper); }
.section-ink { color: var(--white); }
.section-ink p { color: #cdd0d6; }
.section-head { max-width: 760px; margin-bottom: 40px; }
.section-head p { color: var(--muted); font-size: 1.08rem; }
.section-ink .section-head p { color: #cdd0d6; }
.split { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 56px; align-items: start; }
.prose p { font-size: 1.06rem; }
.prose h3 { margin-top: 1.4em; }

.grid { display: grid; gap: 22px; }
.grid-cards { grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }
.grid-services { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-why { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-features { grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); }
.grid-brochures { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }
.grid-gallery { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); align-items: start; }

/* cards */
.card { display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; color: var(--text); transition: border-color .15s, transform .15s, box-shadow .15s; }
.card:hover { border-color: var(--gold); color: var(--text); transform: translateY(-3px); box-shadow: 0 14px 30px -18px rgba(21,23,27,.45); }
.card-media { aspect-ratio: 4 / 3; overflow: hidden; background: #e9e6df; border-bottom: 3px solid var(--gold); }
.card-media img { width: 100%; height: 100%; object-fit: cover; }
.card-body { padding: 20px 20px 22px; display: flex; flex-direction: column; flex: 1; }
.card-body p, .card-service p, .card-area p { color: var(--muted); font-size: .98rem; }
.card-tag { font-size: .78rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-ink); margin-bottom: 6px; }
.card-link { margin-top: auto; font-family: var(--head); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; font-size: .95rem; color: var(--ink); }
.card-link::after { content: " \2192"; color: var(--gold-ink); }
.card-service { padding: 26px 24px; background: var(--ink-2); border-color: var(--line-dark); color: var(--white); }
.card-service:hover { color: var(--white); border-color: var(--gold); }
.card-service p { color: #bfc3ca; }
.card-service .card-link { color: var(--gold-2); }
.card-service .card-link::after { color: var(--gold-2); }
.card-num { font-family: var(--head); font-size: 2.6rem; font-weight: 700; color: var(--gold); line-height: 1; margin-bottom: 14px; }
.card-area { padding: 28px; }
.card-area .chips { margin: 4px 0 18px; }

.also { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; margin-top: 30px; }
.also p { margin: 0; }
.chips { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 0; }
.chips li { border: 1px solid var(--line); background: var(--white); padding: 5px 12px; border-radius: 999px; font-size: .92rem; color: var(--text); }
.section-paper .chips li { background: var(--white); }
.chips li:has(a) { padding: 0; border-color: var(--gold); }
.chips li a { display: block; padding: 5px 12px; color: var(--text); text-decoration: none; font-weight: 600; }
.chips li a:hover { color: var(--gold-ink); }

/* tables */
.table-scroll { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); }
.compare { width: 100%; border-collapse: collapse; min-width: 720px; font-size: .98rem; }
.compare th, .compare td { text-align: left; padding: 15px 18px; border-bottom: 1px solid var(--line); vertical-align: top; }
.compare thead th { background: var(--ink); color: var(--white); font-family: var(--head); font-size: 1rem; letter-spacing: .08em; text-transform: uppercase; font-weight: 600; }
.compare tbody tr:last-child > * { border-bottom: 0; }
.compare tbody th a { font-weight: 600; color: var(--text); }
.compare tbody th a:hover { color: var(--gold-ink); }
.compare td { font-variant-numeric: tabular-nums; }
.spec { width: 100%; border-collapse: collapse; background: var(--white); border: 1px solid var(--line); border-top: 3px solid var(--gold); border-radius: var(--radius); font-variant-numeric: tabular-nums; }
.spec th, .spec td { padding: 14px 18px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.spec tr:last-child > * { border-bottom: 0; }
.spec th { width: 38%; color: var(--muted); font-weight: 500; font-size: .95rem; }
.spec td { font-weight: 600; }

/* features, sectors, why */
.feature, .sector, .why { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.feature { border-left: 3px solid var(--gold); }
.feature p, .sector p, .why p { color: var(--muted); margin: 0; }
.section-paper .sector, .section-paper .why { background: var(--white); }
.sector h3::before { content: ""; display: block; width: 22px; height: 3px; background: var(--gold); margin-bottom: 12px; }
.why { background: var(--paper); border-color: transparent; }
.feature-lg p { font-size: 1.03rem; }

.checks { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.checks li { position: relative; padding: 14px 16px 14px 48px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); font-weight: 500; }
.checks li::before { content: ""; position: absolute; left: 17px; top: 19px; width: 14px; height: 8px; border-left: 3px solid var(--gold); border-bottom: 3px solid var(--gold); transform: rotate(-45deg); }

/* steps */
.steps { list-style: none; counter-reset: step; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; }
.steps li { counter-increment: step; position: relative; padding-top: 58px; }
.steps li::before { content: "0" counter(step); position: absolute; top: 0; left: 0; font-family: var(--head); font-weight: 700; font-size: 2.3rem; color: var(--gold); line-height: 1; }
.steps li::after { content: ""; position: absolute; top: 18px; left: 56px; right: 0; height: 2px; background: var(--line); }
.steps p { color: var(--muted); }
.steps-compact { grid-template-columns: repeat(2, minmax(0, 1fr)); }

/* faq */
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-child { border-top: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 20px 44px 20px 0; position: relative; font-weight: 600; font-size: 1.1rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 6px; top: 14px; font-family: var(--head); font-size: 1.9rem; color: var(--gold-ink); line-height: 1; }
.faq details[open] summary::after { content: "\2212"; }
.faq-a p { color: var(--muted); padding-bottom: 8px; margin: 0 0 14px; }

/* product tabs (fencing page). Without JS every panel shows, stacked. */
.ptabs { display: grid; gap: 32px; }
.ptabs-list { display: none; }
.ptabs.is-ready { grid-template-columns: 240px minmax(0, 1fr); align-items: start; }
.ptabs.is-ready .ptabs-list { display: flex; flex-direction: column; position: sticky; top: 100px; border-left: 2px solid var(--line); }
.ptabs-list button { font: inherit; font-size: 1.02rem; text-align: left; background: none; border: 0; border-left: 3px solid transparent; margin-left: -2px; padding: 12px 18px; color: var(--muted); cursor: pointer; }
.ptabs-list button:hover { color: var(--text); }
.ptabs-list button[aria-selected="true"] { color: var(--text); font-weight: 600; border-left-color: var(--gold); background: var(--paper); }
.ptabs-panels { display: grid; gap: 28px; min-width: 0; }
.ptabs.is-ready .ptab-panel { display: none; }
.ptabs.is-ready .ptab-panel.active { display: block; }
.ptab-panel { background: var(--white); border: 1px solid var(--line); border-top: 3px solid var(--gold); border-radius: var(--radius); padding: 30px; scroll-margin-top: 100px; }
.ptab-panel h3 { font-size: clamp(1.7rem, 3vw, 2.2rem); text-transform: uppercase; margin-top: 4px; }
.ptab-summary { color: var(--muted); font-size: 1.06rem; max-width: 70ch; }
.ptab-grid { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 28px; align-items: start; margin: 20px 0 24px; }
.ptab-media { margin: 0; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 10px; }
.ptab-media img { width: 100%; max-height: 380px; object-fit: contain; }
.ptab-grid .spec { border-top-width: 1px; margin-bottom: 18px; }
.ptab-apps { margin: 0 0 8px; }

.ptabs-group { margin: 0; padding: 18px 18px 6px; font-family: var(--head); font-size: .85rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-ink); }
.ptabs-group:first-child { padding-top: 4px; }

/* expanded metal code tables & terminology */
.codes { min-width: 560px; }
.codes caption { caption-side: top; text-align: left; padding: 14px 18px; font-family: var(--head); font-weight: 600; font-size: 1.1rem; letter-spacing: .06em; text-transform: uppercase; background: var(--paper); border-bottom: 1px solid var(--line); }
.codes tbody th { font-weight: 600; white-space: nowrap; }
.codes tbody tr:nth-child(even) { background: #faf8f4; }
.codes-gap { margin-top: 28px; scroll-margin-top: 100px; }
.terms { margin: 0; display: grid; gap: 12px; }
.terms div { background: var(--white); border: 1px solid var(--line); border-left: 3px solid var(--gold); border-radius: var(--radius); padding: 16px 18px; }
.terms dt { font-weight: 600; margin-bottom: 4px; }
.terms dd { margin: 0; color: var(--muted); }
.measure { margin: 20px 0 0; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 10px; }

/* catalogue downloads */
.catalogs { margin-top: 22px; }
.catalogs[data-catalog]:not(.catalogs-all) { border: 1px dashed var(--gold); background: var(--paper); border-radius: var(--radius); padding: 14px 16px; }
.catalogs-title { margin: 0 0 10px; font-family: var(--head); font-weight: 700; font-size: 1.05rem; letter-spacing: .08em; text-transform: uppercase; }
.catalog-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.catalog-item { display: flex; align-items: center; gap: 12px; width: 100%; text-align: left; font: inherit; color: var(--text); background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 10px 14px; cursor: pointer; transition: border-color .15s; }
.catalog-item:hover { border-color: var(--gold); }
.catalog-badge { flex: none; font-family: var(--head); font-weight: 700; font-size: .8rem; letter-spacing: .06em; background: #a4231b; color: var(--white); border-radius: 3px; padding: 3px 7px; }
.catalog-name { flex: 1; font-weight: 600; }
.catalog-size { flex: none; color: var(--muted); font-size: .9rem; }
.catalog-item::after { content: "\2193"; flex: none; color: var(--gold-ink); font-weight: 700; }
.catalogs-all { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 22px; margin: 0; }
.catalog-group { background: var(--white); border: 1px solid var(--line); border-top: 3px solid var(--gold); border-radius: var(--radius); padding: 20px; }
.catalog-group h3 { font-size: 1.3rem; }
.catalogs-empty { color: var(--muted); }
.dl-dialog { border: 0; padding: 0; border-radius: var(--radius); width: calc(100% - 32px); max-width: 460px; box-shadow: 0 24px 60px -20px rgba(0,0,0,.5); }
.dl-dialog::backdrop { background: rgba(13,14,17,.65); }
.dl-dialog .quote-form { position: relative; background: var(--white); }
.dl-dialog h2 { font-size: 1.7rem; padding-right: 36px; }
.dl-close { position: absolute; top: 12px; right: 12px; width: 40px; height: 40px; border: 0; background: none; font-size: 1.8rem; line-height: 1; cursor: pointer; color: var(--muted); }
.dl-close:hover { color: var(--text); }
.dl-hp { position: absolute; left: -9999px; }
.dl-note { font-size: .85rem; color: var(--muted); margin: 14px 0 0; }

/* brochures & gallery */
.brochure { display: block; text-decoration: none; color: var(--text); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--white); }
.brochure img { aspect-ratio: 3 / 4; object-fit: cover; object-position: top; width: 100%; }
.brochure span { display: block; padding: 12px 14px; font-weight: 600; font-size: .95rem; border-top: 3px solid var(--gold); }
.brochure:hover { border-color: var(--gold); }
.grid-gallery figure { margin: 0; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.grid-gallery img { width: 100%; max-height: 420px; object-fit: contain; background: var(--white); }
.grid-gallery figcaption { padding: 10px 14px; font-size: .92rem; color: var(--muted); }

/* cta band */
.cta-band { padding: 60px 0; color: var(--ink); }
.cta-in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px 48px; }
.cta-in h2 { margin-bottom: .3em; }
.cta-in p { max-width: 58ch; margin: 0; font-size: 1.06rem; }

/* contact */
.contact-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 40px; align-items: start; }
.contact-card h2, .quote-form h2 { font-size: 1.9rem; }
.contact-card .actions { margin-top: 20px; }
.quote-form { background: var(--paper); border-radius: var(--radius); padding: 30px; border-top: 3px solid var(--gold); }
.quote-form label { display: block; font-weight: 600; font-size: .95rem; margin-bottom: 14px; }
.quote-form input, .quote-form select, .quote-form textarea { display: block; width: 100%; margin-top: 6px; padding: 12px 14px; font: inherit; font-weight: 400; color: var(--text); background: var(--white); border: 1px solid #cfc8b9; border-radius: var(--radius); }
.quote-form input:focus, .quote-form select:focus, .quote-form textarea:focus { outline: 2px solid var(--gold); border-color: var(--gold); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }
.form-error { color: #a4231b; font-weight: 600; }
.map { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--white); }
.map iframe { display: block; width: 100%; height: 400px; border: 0; }

/* footer */
.ftr { background: #0d0e11; color: var(--muted-dark); padding: 64px 0 0; font-size: .95rem; }
.ftr-grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr 1.1fr; gap: 36px; }
.ftr h2 { font-size: 1.1rem; letter-spacing: .12em; color: var(--white); margin-bottom: 16px; }
.ftr ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.ftr a { color: var(--muted-dark); text-decoration: none; }
.ftr a:hover { color: var(--gold-2); }
.ftr strong { color: var(--white); }
.ftr address { font-style: normal; margin-bottom: 12px; }
.ftr-brand img { width: 84px; margin-bottom: 14px; }
.ftr-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; margin-top: 48px; padding-top: 20px; padding-bottom: 24px; border-top: 1px solid var(--line-dark); font-size: .86rem; }
.ftr-bottom p { margin: 0; }

.wa-float { position: fixed; right: 18px; bottom: 18px; z-index: 60; width: 58px; height: 58px; border-radius: 50%; background: var(--wa); color: var(--white); display: grid; place-items: center; box-shadow: 0 10px 24px -8px rgba(0,0,0,.45); }
.wa-float:hover { color: var(--white); transform: scale(1.05); }
.wa-float svg { width: 32px; height: 32px; }

/* responsive */
@media (max-width: 1020px) {
  .nav-btn { display: flex; }
  .nav { position: absolute; left: 0; right: 0; top: 100%; background: var(--ink); border-bottom: 1px solid var(--line-dark); flex-direction: column; align-items: stretch; padding: 8px 20px 20px; gap: 0; display: none; }
  .nav.open { display: flex; }
  .nav a:not(.btn) { padding: 14px 4px; border-bottom: 1px solid var(--line-dark); }
  .nav a[aria-current="page"] { color: var(--gold-2); border-bottom-color: var(--line-dark); }
  .nav-cta { margin: 16px 0 0; }
  .hero-grid, .sub-hero-grid, .split, .contact-grid, .ptab-grid { grid-template-columns: minmax(0, 1fr); }
  .ptabs.is-ready { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .ptabs.is-ready .ptabs-list { position: static; flex-direction: row; overflow-x: auto; border-left: 0; border-bottom: 2px solid var(--line); scrollbar-width: none; }
  .ptabs-list button { white-space: nowrap; border-left: 0; border-bottom: 3px solid transparent; margin: 0 0 -2px; padding: 12px 14px; }
  .ptabs-list button[aria-selected="true"] { border-bottom-color: var(--gold); }
  .ptab-media { max-width: 480px; }
  .ptabs-group, .ptabs-group:first-child { padding: 14px 8px 12px 14px; white-space: nowrap; border-left: 1px solid var(--line); }
  .ptabs-group:first-child { border-left: 0; padding-left: 0; }
  .hero-media { margin-right: 14px; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ftr-grid { grid-template-columns: 1fr 1fr; }
  .split { gap: 20px; }
  .sub-hero-media { max-width: 520px; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .wrap { padding: 0 16px; }
  .topbar-addr { display: none; }
  .topbar-in { justify-content: flex-start; gap: 4px 16px; }
  .topbar-ssm { flex-basis: 100%; }
  .brand img { width: 48px; }
  .brand strong { font-size: 1.1rem; }
  .brand small { display: none; }
  .hdr-in { min-height: 64px; }
  .hero { padding: 36px 0 48px; }
  .hero-facts { grid-template-columns: 1fr; }
  .hero-facts li, .hero-facts li + li { padding: 12px 0; border-left: 0; border-bottom: 1px solid var(--line-dark); }
  .section { padding: 60px 0; }
  .grid-2, .grid-3, .grid-why, .steps, .steps-compact, .field-row, .ftr-grid { grid-template-columns: minmax(0, 1fr); }
  .steps li::after { display: none; }
  .actions .btn { flex: 1 1 100%; }
  .quote-form { padding: 22px 18px; }
  .ptab-panel { padding: 20px 16px; }
  .clients { gap: 14px; }
  .clients img { height: 40px; }
  .map iframe { height: 300px; }
}
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; scroll-behavior: auto !important; }
}
