/* =========================================================
   TapNait Ventures Limited
   Brand from the company profile: orange #EC700E, charcoal #2A2A2A, light grey.
   Headings Merriweather, text DM Sans.
   ========================================================= */
:root {
  --orange: #ec700e;
  --orange-2: #ff8a2b;
  --orange-deep: #c95a04;
  --orange-soft: #fff1e6;
  --charcoal: #2a2a2a;
  --ink: #19191a;
  --ink-2: #222224;
  --grey: #dddddd;
  --paper: #f5f4f2;
  --line: #e6e3df;
  --text: #2f2f31;
  --muted: #6d6a66;
  --white: #fff;
  --radius: 18px;
  --radius-sm: 10px;
  --shadow: 0 18px 50px rgba(25, 25, 26, .14);
  --shadow-sm: 0 4px 16px rgba(25, 25, 26, .08);
  --serif: 'Merriweather', Georgia, 'Times New Roman', serif;
  --sans: 'DM Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --header-h: 78px;
  --gutter: clamp(16px, 4vw, 40px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }
html, body { overflow-x: clip; } /* nothing may ever push the page sideways on phones */
body { margin: 0; font: 16px/1.65 var(--sans); color: var(--text); background: var(--white); }
img { max-width: 100%; display: block; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3 { line-height: 1.15; margin: 0 0 .5em; color: var(--ink); }
p { margin: 0 0 1em; }
.wrap { width: min(1220px, 100%); margin-inline: auto; padding-inline: var(--gutter); }
.sr, .hp { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 999; background: var(--orange); color: #fff; padding: 10px 16px; border-radius: 8px; }
.skip:focus { left: 8px; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; }

/* ---------- Type helpers ---------- */
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: .78rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--orange); margin-bottom: 14px; }
.eyebrow::before { content: ''; width: 28px; height: 3px; border-radius: 2px; background: currentColor; }
.eyebrow-light { color: #ffd2ad; }
.eyebrow .dot { display: none; }
.h2 { font-family: var(--serif); font-weight: 900; font-size: clamp(1.9rem, 3.6vw, 2.9rem); letter-spacing: -.01em; }
.h2.light, .light { color: #fff; }
.accent { color: var(--orange); }
.lead { font-size: clamp(1.02rem, 1.4vw, 1.14rem); color: var(--muted); max-width: 62ch; }
.lead.light { color: #c9c6c1; }
.section { padding-block: clamp(64px, 9vw, 120px); position: relative; }
.section-head { margin-bottom: clamp(32px, 4vw, 52px); }
.section-head.center { text-align: center; }
.section-head.center .lead { margin-inline: auto; }
.section-head.split { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px 48px; flex-wrap: wrap; }
.section-head.split .lead { margin: 0; max-width: 46ch; }

/* ---------- 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: .98rem; text-decoration: none; cursor: pointer; white-space: nowrap; transition: transform .2s ease, background .2s ease, box-shadow .2s ease, color .2s ease, border-color .2s ease; background: none; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-lg { padding: 15px 28px; font-size: 1.03rem; }
.btn-sm { padding: 9px 16px; font-size: .9rem; }
.btn-block { width: 100%; }
.btn-orange { background: var(--orange); color: #fff; box-shadow: 0 10px 26px rgba(236, 112, 14, .38); }
.btn-orange:hover { background: var(--orange-2); box-shadow: 0 14px 32px rgba(236, 112, 14, .45); }
.btn-dark { background: var(--charcoal); color: #fff; }
.btn-dark:hover { background: var(--ink); }
.btn-white { background: #fff; color: var(--ink); }
.btn-outline { border-color: var(--charcoal); color: var(--charcoal); }
.btn-outline:hover { background: var(--charcoal); color: #fff; }
.btn-outline-light { border-color: rgba(255, 255, 255, .55); color: #fff; }
.btn-outline-light:hover { background: #fff; color: var(--ink); border-color: #fff; }
.btn-glass { background: rgba(255, 255, 255, .12); color: #fff; border-color: rgba(255, 255, 255, .35); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.btn-glass:hover { background: #fff; color: var(--ink); }
.btn-ghost-dark { color: var(--charcoal); border-color: var(--line); }
.btn-ghost-dark:hover { border-color: var(--orange); color: var(--orange); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Top bar + header ---------- */

/* The blur sits on a pseudo element: a backdrop-filter on the header itself would trap
   the fixed full screen phone menu inside the header's box. */
.site-header { position: sticky; top: 0; z-index: 60; border-bottom: 1px solid var(--line); transition: box-shadow .3s ease; }
.site-header::before { content: ''; position: absolute; inset: 0; z-index: -1; background: rgba(255, 255, 255, .96); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); pointer-events: none; }
.site-header.scrolled { box-shadow: 0 8px 30px rgba(0, 0, 0, .08); }
.header-inner { display: flex; align-items: center; gap: 28px; min-height: var(--header-h); }
.brand { display: inline-flex; align-items: center; text-decoration: none; color: var(--ink); flex: none; }
.brand img { height: 45px; width: auto; }
.site-footer .brand img { height: 48px; }
.brand-mark { position: relative; width: 42px; height: 42px; border-radius: 12px; background: var(--charcoal); overflow: hidden; flex: none; }
.brand-mark::before { content: ''; position: absolute; width: 26px; height: 26px; border-radius: 50%; background: var(--orange); right: -6px; top: -6px; }
.brand-mark span { position: absolute; left: 9px; top: 12px; width: 22px; height: 6px; background: #fff; border-radius: 2px; }
.brand-mark span::after { content: ''; position: absolute; left: 8px; top: 0; width: 6px; height: 20px; background: #fff; border-radius: 2px; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-text b { font-weight: 800; font-size: 1.42rem; letter-spacing: .04em; }
.brand-text small { font-size: .62rem; font-weight: 700; letter-spacing: .16em; color: var(--orange); margin-top: 4px; }
.brand-light { color: #fff; }

.main-nav { display: flex; align-items: center; gap: 6px; margin-left: auto; }
.main-nav > a { position: relative; padding: 8px 12px; text-decoration: none; font-weight: 600; color: var(--charcoal); border-radius: 8px; transition: color .2s; }
.main-nav > a::after { content: ''; position: absolute; left: 12px; right: 12px; bottom: 2px; height: 3px; border-radius: 2px; background: var(--orange); transform: scaleX(0); transform-origin: left; transition: transform .25s ease; }
.main-nav > a:hover, .main-nav > a.active { color: var(--orange); }
.main-nav > a:hover::after, .main-nav > a.active::after { transform: scaleX(1); }
.nav-mobile-ctas, .nav-mobile-contact, .nav-arrow { display: none; }
.header-ctas { display: flex; align-items: center; gap: 10px; }
.quote-btn { position: relative; }
.quote-count { position: absolute; top: -6px; right: -6px; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 999px; background: var(--charcoal); color: #fff; font-size: .74rem; display: grid; place-items: center; border: 2px solid #fff; }
.show-sm { display: none; }
.nav-toggle { display: none; position: relative; width: 46px; height: 46px; border-radius: 12px; border: 1px solid var(--line); background: #fff; cursor: pointer; }
.nav-toggle span { position: absolute; left: 12px; right: 12px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .25s, opacity .2s; }
.nav-toggle span:nth-child(1) { top: 15px; } .nav-toggle span:nth-child(2) { top: 22px; } .nav-toggle span:nth-child(3) { top: 29px; }
.nav-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Flash ---------- */
.flash { padding: 14px 0; font-weight: 600; }
.flash .wrap { display: flex; gap: 10px; align-items: center; }
.flash-success { background: #e9f8ec; color: #1d6b31; }
.flash-error { background: #fdeaea; color: #a1231c; }
.flash-info { background: var(--orange-soft); color: var(--orange-deep); }

/* ---------- Hero ---------- */
.hero { position: relative; isolation: isolate; overflow: hidden; color: #fff; background: var(--ink); min-height: min(calc(100svh - var(--header-h)), 820px); display: flex; flex-direction: column; justify-content: center; padding-block: clamp(56px, 8vw, 96px); }
.hero-slides, .hero-shade { position: absolute; inset: 0; z-index: -3; }
.hero-slide { position: absolute; inset: 0; background-size: cover; opacity: 0; transform: scale(1.08); transition: opacity 1.4s ease; }
.hero-slide.is-active { opacity: 1; animation: kenburns 8s ease-out forwards; }
@keyframes kenburns { from { transform: scale(1.1); } to { transform: scale(1); } }
.hero-shade { z-index: -2; background: linear-gradient(100deg, rgba(20, 20, 21, .94) 0%, rgba(20, 20, 21, .82) 38%, rgba(20, 20, 21, .35) 72%, rgba(20, 20, 21, .2) 100%), linear-gradient(0deg, rgba(20, 20, 21, .55), transparent 40%); }
.hero-orb { position: absolute; z-index: -1; border-radius: 50%; pointer-events: none; }
.hero-orb-1 { width: 520px; height: 520px; right: -180px; bottom: -260px; background: radial-gradient(circle at 30% 30%, var(--orange-2), var(--orange) 55%, var(--orange-deep)); opacity: .9; animation: drift 14s ease-in-out infinite; }
.hero-orb-2 { width: 90px; height: 90px; right: 4%; top: 7%; border: 2px solid rgba(255, 255, 255, .22); }
@keyframes drift { 50% { transform: translate(-30px, -24px); } }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .85fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero h1 { font-family: var(--sans); font-weight: 800; font-size: clamp(2.4rem, 5.4vw, 4.4rem); line-height: 1.04; letter-spacing: -.025em; color: #fff; margin-bottom: 22px; }
.hero h1 em { font-style: normal; color: var(--orange-2); display: block; }
.hero-lead { font-size: clamp(1.04rem, 1.5vw, 1.2rem); color: #dedad4; max-width: 56ch; margin-bottom: 30px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 18px; }
.hero-link { display: inline-flex; align-items: center; gap: 8px; color: #fff; font-weight: 600; text-decoration: none; border-bottom: 2px solid var(--orange); padding-bottom: 2px; }
.hero-link:hover { color: var(--orange-2); }
.hero-points { list-style: none; padding: 0; margin: 34px 0 0; display: flex; flex-wrap: wrap; gap: 10px 22px; color: #e8e4de; font-size: .95rem; }
.hero-points li { display: inline-flex; align-items: center; gap: 7px; }
.hero-points svg { color: var(--orange-2); }
.hero-dots { position: absolute; left: 50%; bottom: 22px; transform: translateX(-50%); display: flex; gap: 8px; }
.hero-dots span { width: 26px; height: 4px; border-radius: 2px; background: rgba(255, 255, 255, .35); transition: background .3s, width .3s; }
.hero-dots span.is-active { background: var(--orange); width: 44px; }

/* Quick quote card */
.quick-quote { background: #fff; color: var(--text); border-radius: 22px; padding: clamp(22px, 3vw, 32px); box-shadow: 0 30px 70px rgba(0, 0, 0, .4); position: relative; display: grid; gap: 14px; }
.quick-quote::before { content: ''; position: absolute; inset: 0 0 auto; height: 6px; border-radius: 22px 22px 0 0; background: linear-gradient(90deg, var(--orange), var(--orange-2)); }
.qq-head h2 { font-family: var(--serif); font-size: 1.6rem; margin: 6px 0 4px; }
.qq-head p { color: var(--muted); font-size: .95rem; margin: 0; }
.qq-badge { display: inline-block; font-size: .72rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--orange-deep); background: var(--orange-soft); padding: 4px 10px; border-radius: 999px; }
.qq-foot { margin: 0; text-align: center; font-size: .9rem; color: var(--muted); }
.qq-foot a { color: var(--orange-deep); font-weight: 700; }

/* Hero video card */
.video-card { position: relative; background: rgba(255, 255, 255, .08); border: 2px solid rgba(255, 255, 255, .35); border-radius: 22px; padding: 12px; box-shadow: 0 30px 70px rgba(0, 0, 0, .45); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.vc-top { display: flex; align-items: center; justify-content: flex-start; gap: 10px; padding: 8px 6px 12px; }
.vc-live { display: inline-flex; align-items: center; gap: 8px; font-size: .74rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: #fff; background: rgba(255, 255, 255, .1); padding: 8px; border-radius: 999px; flex: none; }
.vc-dot { width: 8px; height: 8px; border-radius: 50%; background: #ff3b30; box-shadow: 0 0 0 0 rgba(255, 59, 48, .7); animation: livePulse 1.6s infinite; }
@keyframes livePulse { to { box-shadow: 0 0 0 9px rgba(255, 59, 48, 0); } }
.vc-title { font-family: var(--serif); font-weight: 700; color: #fff; font-size: 1.02rem; text-align: left; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.vc-frame { position: relative; aspect-ratio: 16 / 9; border-radius: 14px; overflow: hidden; background: #000; }
.vc-frame iframe, .vc-frame > div { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.vc-poster { position: absolute; inset: 0; z-index: 2; border: 0; padding: 0; cursor: pointer; background: #000 center / cover no-repeat; transition: opacity .5s; }
.vc-poster::before { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(0, 0, 0, .45), rgba(0, 0, 0, .05)); }
.vc-play { position: absolute; left: 50%; top: 50%; width: 76px; height: 76px; margin: -38px 0 0 -38px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 0 12px rgba(236, 112, 14, .28); transition: transform .25s; }
.vc-play::after { content: ''; position: absolute; left: 30px; top: 23px; border-style: solid; border-width: 15px 0 15px 24px; border-color: transparent transparent transparent #fff; }
.vc-poster:hover .vc-play { transform: scale(1.08); }
.video-card.is-playing .vc-poster { opacity: 0; pointer-events: none; }
.vc-bar { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 4px 4px; flex-wrap: wrap; }
.vc-sound { display: inline-flex; align-items: center; gap: 8px; border: 0; cursor: pointer; font-weight: 800; font-size: .92rem; padding: 10px 16px; border-radius: 999px; background: var(--orange); color: #fff; box-shadow: 0 8px 22px rgba(236, 112, 14, .45); animation: soundNudge 2.4s ease-in-out infinite; }
@keyframes soundNudge { 0%, 70%, 100% { transform: none; } 78% { transform: rotate(-4deg) scale(1.05); } 86% { transform: rotate(3deg) scale(1.05); } }
.vc-sound .ic-on { display: none; }
.vc-sound[aria-pressed="true"] { background: rgba(255, 255, 255, .12); box-shadow: none; animation: none; }
.vc-sound[aria-pressed="true"] .ic-on { display: block; }
.vc-sound[aria-pressed="true"] .ic-off { display: none; }
.vc-quote { display: inline-flex; align-items: center; gap: 6px; color: #fff; font-weight: 700; text-decoration: none; font-size: .92rem; border-bottom: 2px solid var(--orange); padding-bottom: 1px; }
.vc-quote:hover { color: var(--orange-2); }

/* ---------- Forms ---------- */
.field { display: grid; gap: 6px; font-size: .9rem; font-weight: 600; color: var(--charcoal); }
.field small { font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea { width: 100%; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: var(--radius-sm); background: #fbfaf9; font-weight: 500; transition: border-color .2s, box-shadow .2s, background .2s; }
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--orange); background: #fff; box-shadow: 0 0 0 4px rgba(236, 112, 14, .15); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.field-error { color: #b42318; font-size: .82rem; font-weight: 600; }
.has-error input, .has-error select, .has-error textarea { border-color: #d92d20; background: #fff7f6; }
.form-card { background: #fff; border-radius: var(--radius); padding: clamp(22px, 3vw, 36px); box-shadow: var(--shadow); border: 1px solid var(--line); display: grid; gap: 16px; }
.form-card h2, .form-card h3 { font-family: var(--serif); }
.form-note { font-size: .85rem; color: var(--muted); margin: 0; }

/* ---------- Trust strip ---------- */
.trust { background: var(--charcoal); color: #fff; position: relative; z-index: 2; }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.trust-grid > div { display: flex; align-items: center; gap: 14px; padding: 24px 22px; border-right: 1px solid rgba(255, 255, 255, .08); }
.trust-grid > div:last-child { border-right: 0; }
.trust-n { font-family: var(--serif); font-size: 2.4rem; font-weight: 900; color: var(--orange); line-height: 1; }
.trust-icon { flex: none; width: 50px; height: 50px; border-radius: 14px; display: grid; place-items: center; background: rgba(236, 112, 14, .14); color: var(--orange-2); }
.trust-t { font-size: .92rem; color: #d7d3cd; line-height: 1.4; }

/* ---------- About intro ---------- */
.about-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(36px, 6vw, 84px); align-items: center; }
.about-media { position: relative; padding: 0 12% 14% 0; }
.about-media::before { content: ''; position: absolute; width: 58%; aspect-ratio: 1; border-radius: 50%; background: var(--orange); left: -12%; top: -10%; z-index: -1; opacity: .95; }
.am-main { width: 100%; aspect-ratio: 4 / 3.3; object-fit: cover; border-radius: 24px; box-shadow: var(--shadow); }
.am-side { position: absolute; right: 0; bottom: 0; width: 46%; aspect-ratio: 1; object-fit: cover; border-radius: 20px; border: 6px solid #fff; box-shadow: var(--shadow); }
.am-card { position: absolute; left: 6%; bottom: 3%; max-width: 46%; background: var(--charcoal); color: #fff; padding: 18px 20px; border-radius: 16px; font-family: var(--serif); font-size: .98rem; line-height: 1.45; box-shadow: var(--shadow); border-left: 5px solid var(--orange); }
.pillars { display: grid; gap: 18px; margin: 26px 0 32px; }
.pillar { display: flex; gap: 16px; }
.pillar-icon { flex: none; width: 50px; height: 50px; border-radius: 14px; display: grid; place-items: center; background: var(--orange-soft); color: var(--orange-deep); }
.pillar h3 { font-size: 1.08rem; margin: 2px 0 4px; font-family: var(--sans); font-weight: 800; }
.pillar p { margin: 0; color: var(--muted); font-size: .96rem; }

/* ---------- Product grid ---------- */
.products-home { background: var(--paper); overflow: hidden; }
.products-home::before { content: ''; position: absolute; width: 640px; height: 640px; border-radius: 50%; right: -320px; top: -240px; background: radial-gradient(circle, rgba(236, 112, 14, .22), transparent 70%); }
.prod-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; position: relative; }
.prod-card { background: #fff; border-radius: var(--radius); overflow: hidden; text-decoration: none; box-shadow: var(--shadow-sm); border: 1px solid var(--line); display: flex; flex-direction: column; transition: transform .3s ease, box-shadow .3s ease; }
.prod-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.prod-img { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: #fff; }
.prod-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.prod-card:hover .prod-img img { transform: scale(1.07); }
.prod-n { position: absolute; left: 14px; top: 14px; background: var(--orange); color: #fff; font-weight: 800; font-size: .85rem; padding: 4px 10px; border-radius: 8px; box-shadow: 0 6px 16px rgba(236, 112, 14, .4); }
.prod-body { padding: 20px 22px 22px; display: flex; flex-direction: column; flex: 1; }
.prod-body h3 { font-family: var(--sans); font-weight: 800; font-size: 1.16rem; margin-bottom: 4px; }
.prod-body p { color: var(--muted); margin-bottom: 14px; font-size: .95rem; }
.prod-more { margin-top: auto; display: inline-flex; align-items: center; gap: 6px; color: var(--orange-deep); font-weight: 700; font-size: .92rem; }
.prod-card:hover .prod-more svg { transform: translateX(4px); }
.prod-more svg { transition: transform .25s; }

/* ---------- CTA band ---------- */
.cta-band { background: linear-gradient(110deg, var(--orange-deep), var(--orange) 45%, var(--orange-2)); color: #fff; position: relative; overflow: hidden; }
.cta-band::after { content: ''; position: absolute; width: 380px; height: 380px; border-radius: 50%; border: 50px solid rgba(255, 255, 255, .1); right: -90px; top: -150px; }
.cta-band-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px 48px; padding-block: clamp(40px, 5vw, 60px); flex-wrap: wrap; position: relative; z-index: 1; }
.cta-band h2 { color: #fff; font-family: var(--serif); font-size: clamp(1.6rem, 3vw, 2.3rem); margin-bottom: 6px; }
.cta-band p { margin: 0; color: #fff3e8; max-width: 52ch; }
.cta-band-actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Capabilities tabs ---------- */
.cap-tabs { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 28px; align-items: stretch; }
.cap-list { display: grid; gap: 10px; align-content: start; }
.cap-tab { display: flex; align-items: center; gap: 16px; width: 100%; text-align: left; padding: 18px 20px; border-radius: 14px; border: 1.5px solid var(--line); background: #fff; cursor: pointer; font-weight: 700; font-size: 1.04rem; transition: all .25s ease; }
.cap-tab svg { margin-left: auto; opacity: 0; transform: translateX(-6px); transition: all .25s; color: var(--orange); }
.cap-tab:hover { border-color: var(--orange); }
.cap-tab.is-active { background: var(--charcoal); color: #fff; border-color: var(--charcoal); box-shadow: var(--shadow); }
.cap-tab.is-active svg { opacity: 1; transform: none; }
.cap-n { font-family: var(--serif); font-weight: 900; color: var(--orange); }
.cap-panels { position: relative; min-height: 420px; }
.cap-panel { position: relative; height: 100%; border-radius: 24px; overflow: hidden; box-shadow: var(--shadow); animation: fadeUp .5s ease; }
.cap-panel img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cap-panel::after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(20, 20, 21, .92) 0%, rgba(20, 20, 21, .35) 55%, transparent 80%); }
.cap-text { position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; padding: clamp(22px, 3vw, 36px); color: #fff; }
.cap-text h3 { color: #fff; font-family: var(--serif); font-size: clamp(1.4rem, 2.4vw, 1.9rem); margin-bottom: 8px; }
.cap-text p { color: #e2ded8; max-width: 52ch; }
.cap-n.big { display: block; font-size: 2.6rem; line-height: 1; margin-bottom: 8px; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

/* ---------- Industries ---------- */
.industries-home { background: var(--ink); color: #fff; overflow: hidden; }
.industries-home::before { content: ''; position: absolute; left: -200px; bottom: -260px; width: 560px; height: 560px; border-radius: 50%; background: radial-gradient(circle, rgba(236, 112, 14, .35), transparent 70%); }
.ind-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 18px; position: relative; }
.ind-card { grid-column: span 2; position: relative; isolation: isolate; min-height: 300px; border-radius: 20px; overflow: hidden; padding: 24px; display: flex; flex-direction: column; justify-content: flex-end; text-decoration: none; color: #fff; background-size: cover; background-position: center; transition: transform .35s ease; }
.ind-card.wide { grid-column: span 3; min-height: 340px; }
.ind-card::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(15, 15, 16, .94) 10%, rgba(15, 15, 16, .25) 70%); transition: background .35s; }
.ind-card:hover { transform: translateY(-5px); }
.ind-card:hover::before { background: linear-gradient(0deg, rgba(201, 90, 4, .95) 5%, rgba(15, 15, 16, .3) 75%); }
.ind-group { align-self: flex-start; font-size: .72rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; background: rgba(255, 255, 255, .14); backdrop-filter: blur(6px); padding: 5px 10px; border-radius: 999px; margin-bottom: auto; }
.ind-card h3 { color: #fff; font-family: var(--serif); font-size: 1.35rem; margin: 0 0 6px; }
.ind-card p { margin: 0; color: #e0dcd6; font-size: .94rem; }

/* ---------- Why ---------- */
.why { background: var(--paper); }
.why-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.why-card { position: relative; background: #fff; border-radius: var(--radius); padding: 30px 26px; border: 1px solid var(--line); overflow: hidden; transition: transform .3s, box-shadow .3s, border-color .3s; }
.why-card::after { content: ''; position: absolute; left: 0; bottom: 0; height: 4px; width: 0; background: var(--orange); transition: width .4s ease; }
.why-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: transparent; }
.why-card:hover::after { width: 100%; }
.why-n { position: absolute; right: 20px; top: 14px; font-family: var(--serif); font-weight: 900; font-size: 2.6rem; color: #f0ece7; line-height: 1; }
.why-icon { width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; background: var(--charcoal); color: var(--orange-2); margin-bottom: 18px; }
.why-card h3 { font-family: var(--sans); font-weight: 800; font-size: 1.14rem; }
.why-card p { color: var(--muted); margin: 0; font-size: .96rem; }

/* ---------- Call back band ---------- */
.callback-band { background: #fff; padding-block: clamp(56px, 8vw, 100px); overflow: hidden; }
.cbb-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
.cbb-photo { aspect-ratio: 4 / 3.4; border-radius: 26px; background-size: cover; background-position: center; box-shadow: var(--shadow); position: relative; }
.cbb-photo::after { content: ''; position: absolute; width: 110px; height: 110px; border-radius: 50%; background: var(--orange); right: -24px; bottom: -24px; box-shadow: 0 0 0 12px #fff; }
.cbb-form { display: grid; grid-template-columns: 1fr 1fr auto; gap: 10px; margin-top: 24px; background: var(--paper); padding: 10px; border-radius: 16px; border: 1px solid var(--line); }
.cbb-form .field input { background: #fff; }
.cbb-or { margin-top: 14px; color: var(--muted); }
.cbb-or a { color: var(--orange-deep); font-weight: 700; }

/* ---------- Profile band ---------- */
.profile-band { background: linear-gradient(180deg, var(--paper), #fff); }
.profile-inner { display: grid; grid-template-columns: minmax(0, 300px) minmax(0, 1fr); gap: clamp(28px, 6vw, 80px); align-items: center; }
.profile-cover { transform: rotate(-4deg); transition: transform .4s ease; }
.profile-cover:hover { transform: rotate(0) scale(1.02); }
.profile-cover img { border-radius: 10px; box-shadow: 0 30px 60px rgba(0, 0, 0, .25), 0 0 0 1px rgba(0, 0, 0, .05); }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { position: relative; isolation: isolate; overflow: hidden; color: #fff; padding-block: clamp(70px, 10vw, 130px) clamp(56px, 7vw, 90px); background: var(--ink); }
.page-hero::before { content: ''; position: absolute; inset: 0; z-index: -2; background: var(--bg) var(--pos, center) / cover no-repeat; }
.page-hero::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(100deg, rgba(20, 20, 21, .93) 0%, rgba(20, 20, 21, .7) 45%, rgba(20, 20, 21, .25) 100%); }
.page-hero h1 { color: #fff; font-family: var(--serif); font-weight: 900; font-size: clamp(2.2rem, 5vw, 3.8rem); max-width: 18ch; }
.page-hero .lead { color: #dcd8d2; }
.crumbs { display: flex; gap: 8px; font-size: .88rem; color: #bdb8b1; margin-bottom: 16px; }
.crumbs a { text-decoration: none; color: #fff; }
.crumbs a:hover { color: var(--orange-2); }
.page-hero .hero-orb-1 { width: 380px; height: 380px; right: -140px; bottom: -220px; }

/* ---------- About page ---------- */
.mv-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.mv-card { border-radius: var(--radius); padding: clamp(26px, 3vw, 40px); position: relative; overflow: hidden; }
.mv-card.dark { background: var(--charcoal); color: #fff; }
.mv-card.dark h3 { color: #fff; }
.mv-card.orange { background: var(--orange); color: #fff; }
.mv-card.orange h3 { color: #fff; }
.mv-card h3 { font-family: var(--serif); font-size: 1.6rem; }
.mv-card p { font-size: 1.06rem; margin: 0; opacity: .95; }
.mv-card .mv-icon { position: absolute; right: -10px; top: -10px; opacity: .12; }
.big-quote { font-family: var(--serif); font-size: clamp(1.4rem, 3vw, 2.2rem); line-height: 1.35; text-align: center; max-width: 30ch; margin: 0 auto; color: var(--ink); }
.big-quote::before { content: '\201C'; display: block; font-size: 4rem; line-height: .6; color: var(--orange); margin-bottom: 10px; }
.values-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.value-card { background: #fff; border: 1px solid var(--line); border-top: 5px solid var(--orange); border-radius: 14px; padding: 24px 22px; box-shadow: var(--shadow-sm); }
.value-card h3 { font-family: var(--sans); font-weight: 800; font-size: 1.1rem; }
.value-card p { color: var(--muted); margin: 0; font-size: .95rem; }
.commit-list { display: grid; grid-template-columns: 1fr 1fr; gap: 0; counter-reset: c; border-top: 1px solid var(--line); }
.commit-list > div { padding: 28px 28px 28px 0; border-bottom: 1px solid var(--line); display: flex; gap: 18px; }
.commit-list > div:nth-child(odd) { border-right: 1px solid var(--line); }
.commit-list > div:nth-child(even) { padding-left: 28px; }
.commit-n { font-family: var(--serif); font-weight: 900; font-size: 1.9rem; color: var(--orange); line-height: 1; }
.commit-list h3 { font-family: var(--sans); font-weight: 800; font-size: 1.12rem; }
.commit-list p { margin: 0; color: var(--muted); }

/* ---------- Products page ---------- */
.cat-nav { position: sticky; top: var(--header-h); z-index: 20; background: rgba(255, 255, 255, .96); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.cat-nav-inner { display: flex; gap: 8px; overflow-x: auto; padding-block: 12px; scrollbar-width: none; }
.cat-nav-inner::-webkit-scrollbar { display: none; }
.cat-nav a { flex: none; text-decoration: none; padding: 8px 14px; border-radius: 999px; border: 1.5px solid var(--line); font-weight: 600; font-size: .9rem; white-space: nowrap; transition: all .2s; }
.cat-nav a:hover, .cat-nav a.is-active { background: var(--charcoal); color: #fff; border-color: var(--charcoal); }
.cat-section { padding-block: clamp(48px, 6vw, 80px); border-bottom: 1px solid var(--line); }
.cat-section:nth-of-type(even) { background: var(--paper); }
.cat-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
.cat-section.flip .cat-media { order: 2; }
.cat-media { position: relative; }
.cat-media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 22px; box-shadow: var(--shadow); background: #fff; }
.cat-media .prod-n { left: 18px; top: 18px; font-size: 1rem; padding: 6px 12px; }
.cat-copy h2 { font-family: var(--serif); font-size: clamp(1.6rem, 3vw, 2.3rem); }
.cat-copy > p { color: var(--muted); font-size: 1.04rem; }
.item-list { list-style: none; padding: 0; margin: 20px 0 22px; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.item-list li { display: flex; align-items: center; justify-content: space-between; gap: 10px; background: #fff; border: 1.5px solid var(--line); border-radius: 12px; padding: 8px 8px 8px 14px; font-weight: 600; font-size: .95rem; }
.add-btn { flex: none; display: inline-flex; align-items: center; gap: 5px; border: 0; cursor: pointer; background: var(--orange-soft); color: var(--orange-deep); font-weight: 700; font-size: .82rem; padding: 7px 10px; border-radius: 8px; transition: background .2s, color .2s; }
.add-btn:hover { background: var(--orange); color: #fff; }
.add-btn.added { background: #e9f8ec; color: #1d6b31; }
.custom-add { display: flex; gap: 10px; flex-wrap: wrap; }
.custom-add input { flex: 1 1 220px; padding: 11px 14px; border-radius: 12px; border: 1.5px solid var(--line); background: #fff; }
.custom-add input:focus { outline: none; border-color: var(--orange); }

/* Toast for "added to quote" */
.toast { position: fixed; left: 50%; bottom: 96px; transform: translate(-50%, 30px); opacity: 0; z-index: 90; background: var(--charcoal); color: #fff; padding: 12px 14px 12px 18px; border-radius: 14px; display: flex; align-items: center; gap: 14px; box-shadow: var(--shadow); transition: all .3s ease; pointer-events: none; max-width: calc(100vw - 32px); }
.toast.show { opacity: 1; transform: translate(-50%, 0); pointer-events: auto; }
.toast svg { color: #7ee08f; flex: none; }
.toast a { color: #fff; background: var(--orange); padding: 7px 12px; border-radius: 8px; text-decoration: none; font-weight: 700; font-size: .88rem; white-space: nowrap; }

/* ---------- Quote page ---------- */
.quote-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 48px); align-items: start; }
.ql-card { background: var(--charcoal); color: #fff; border-radius: var(--radius); padding: clamp(22px, 3vw, 32px); position: sticky; top: calc(var(--header-h) + 20px); }
.ql-card h2 { color: #fff; font-family: var(--serif); font-size: 1.5rem; display: flex; align-items: center; gap: 10px; }
.ql-empty { color: #c8c4be; }
.ql-items { list-style: none; padding: 0; margin: 0 0 16px; display: grid; gap: 10px; }
.ql-items li { display: grid; grid-template-columns: 1fr auto auto; gap: 10px; align-items: center; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .1); border-radius: 12px; padding: 10px 10px 10px 14px; }
.ql-items strong { display: block; }
.ql-items small { color: #bdb8b1; }
.ql-qty { width: 70px; padding: 8px; border-radius: 8px; border: 1px solid rgba(255, 255, 255, .2); background: rgba(0, 0, 0, .25); color: #fff; text-align: center; }
.ql-remove { border: 0; background: none; color: #ff9b8a; cursor: pointer; padding: 6px; border-radius: 8px; }
.ql-remove:hover { background: rgba(255, 255, 255, .08); }
.ql-actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: space-between; }
.ql-actions .btn { padding: 9px 16px; font-size: .9rem; }
.ql-add { margin-top: 22px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, .12); display: grid; gap: 10px; }
.ql-add .field span { color: #e8e4de; }
.ql-add .field input, .ql-add .field select { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .18); color: #fff; }
.ql-add .field select option { color: var(--ink); }
.wa-alt { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 14px; background: #e8f8ee; color: #135c2c; text-decoration: none; font-weight: 700; }
.wa-alt svg { color: #25d366; flex: none; }
.wa-alt small { display: block; font-weight: 500; color: #2c6e42; }

/* ---------- Services ---------- */
.svc-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.svc-card { background: #fff; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow-sm); display: flex; flex-direction: column; }
.svc-card img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.svc-body { padding: 26px; display: flex; flex-direction: column; flex: 1; }
.svc-body h3 { font-family: var(--serif); font-size: 1.4rem; }
.svc-body > p { color: var(--muted); }
.ticks { list-style: none; padding: 0; margin: 0 0 20px; display: grid; gap: 8px; }
.ticks li { display: flex; gap: 10px; align-items: flex-start; font-weight: 500; }
.ticks svg { color: var(--orange); flex: none; margin-top: 3px; }
.svc-body .btn { margin-top: auto; align-self: flex-start; }
.request-grid { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(28px, 5vw, 60px); align-items: start; }
.request-side { position: sticky; top: calc(var(--header-h) + 24px); }
.request-side img { border-radius: 22px; box-shadow: var(--shadow); aspect-ratio: 4 / 3.2; object-fit: cover; width: 100%; margin-top: 24px; }
.steps { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 14px; counter-reset: s; }
.steps li { display: flex; gap: 14px; align-items: flex-start; }
.steps li::before { counter-increment: s; content: counter(s); flex: none; width: 34px; height: 34px; border-radius: 50%; background: var(--orange); color: #fff; font-weight: 800; display: grid; place-items: center; }

/* ---------- Industries page ---------- */
.ind-rows { display: grid; gap: 26px; }
.ind-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); border-radius: 24px; overflow: hidden; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.ind-row:nth-child(even) .ind-row-img { order: 2; }
.ind-row-img { min-height: 320px; background-size: cover; background-position: center; }
.ind-row-body { padding: clamp(26px, 4vw, 48px); display: flex; flex-direction: column; justify-content: center; }
.ind-row-body h2 { font-family: var(--serif); font-size: clamp(1.5rem, 2.6vw, 2rem); }
.ind-row-body p { color: var(--muted); font-size: 1.04rem; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 6px 0 20px; }
.chips span { background: var(--paper); border: 1px solid var(--line); border-radius: 999px; padding: 5px 12px; font-size: .86rem; font-weight: 600; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(28px, 5vw, 60px); align-items: start; }
.contact-cards { display: grid; gap: 14px; }
.c-card { display: flex; gap: 16px; align-items: flex-start; padding: 20px; border-radius: 16px; background: #fff; border: 1px solid var(--line); text-decoration: none; transition: border-color .2s, transform .2s; }
a.c-card:hover { border-color: var(--orange); transform: translateY(-2px); }
.c-icon { flex: none; width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--orange); color: #fff; }
.c-card.wa .c-icon { background: #25d366; }
.c-card h3 { font-family: var(--sans); font-weight: 800; font-size: 1rem; margin: 0 0 2px; }
.c-card p { margin: 0; color: var(--muted); }
.tabs { display: flex; gap: 6px; background: var(--paper); padding: 6px; border-radius: 14px; margin-bottom: 18px; border: 1px solid var(--line); }
.tabs button { flex: 1; white-space: nowrap; font-size: .94rem; border: 0; background: none; padding: 11px 10px; border-radius: 10px; font-weight: 700; cursor: pointer; color: var(--muted); display: inline-flex; align-items: center; justify-content: center; gap: 8px; }
.tabs button.is-active { background: #fff; color: var(--ink); box-shadow: var(--shadow-sm); }
.map { border-radius: 22px; overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow-sm); aspect-ratio: 16 / 7; margin-top: clamp(40px, 5vw, 64px); }
.map iframe { width: 100%; height: 100%; border: 0; display: block; filter: grayscale(.3) contrast(1.05); }

/* ---------- Thank you ---------- */
.thanks { text-align: center; max-width: 680px; margin-inline: auto; }
.thanks-badge { width: 92px; height: 92px; border-radius: 50%; margin: 0 auto 22px; display: grid; place-items: center; background: var(--orange); color: #fff; box-shadow: 0 0 0 16px var(--orange-soft); animation: pop .5s cubic-bezier(.2, 1.6, .4, 1); }
@keyframes pop { from { transform: scale(.3); } }
.thanks .h2 { margin-bottom: 14px; }
.ref { display: inline-block; font-weight: 800; background: var(--paper); border: 1px dashed var(--orange); padding: 6px 14px; border-radius: 10px; letter-spacing: .06em; }

/* ---------- Registrations strip ---------- */
.regs { background: #fff; border-top: 1px solid var(--line); }
.regs-inner { display: grid; grid-template-columns: minmax(0, 300px) minmax(0, 1fr); gap: 28px; align-items: center; padding-block: 34px; }
.regs-label .eyebrow { margin-bottom: 6px; }
.regs-label p { margin: 0; color: var(--muted); font-size: .92rem; }
.regs-logos { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; }
.regs-logos li { height: 92px; display: grid; place-items: center; padding: 12px 14px; border-radius: 14px; background: #fff; border: 1px solid var(--line); transition: transform .25s, box-shadow .25s; }
.regs-logos li:hover { transform: translateY(-3px); box-shadow: var(--shadow-sm); }
.regs-logos img { max-height: 64px; max-width: 100%; width: auto; object-fit: contain; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #bdb8b1; padding-top: clamp(48px, 6vw, 72px); }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.3fr; gap: 36px; }
.site-footer h3 { color: #fff; font-family: var(--sans); font-weight: 800; font-size: 1rem; letter-spacing: .02em; margin-bottom: 16px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; }
.site-footer a { text-decoration: none; }
.site-footer ul a:hover, .f-contact a:hover { color: var(--orange-2); }
.f-about p { margin: 18px 0 8px; max-width: 34ch; }
.f-tag { font-family: var(--serif); color: #fff; font-style: italic; margin-bottom: 18px !important; }
.f-contact p { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 12px; }
.f-contact svg { color: var(--orange); flex: none; margin-top: 3px; }
.footer-bottom { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-top: 44px; padding-block: 22px calc(22px + env(safe-area-inset-bottom, 0px)); border-top: 1px solid rgba(255, 255, 255, .08); font-size: .88rem; }

/* ---------- WhatsApp float + phone action bar ---------- */
.wa-float { position: fixed; right: 22px; bottom: 22px; z-index: 70; width: 60px; height: 60px; border-radius: 50%; background: #25d366; color: #fff; display: grid; place-items: center; box-shadow: 0 12px 30px rgba(37, 211, 102, .45); transition: transform .25s; animation: waPulse 2.6s ease-out infinite; }
.wa-float:hover { transform: scale(1.08); }
.wa-tip { position: absolute; right: 72px; background: var(--charcoal); color: #fff; font-size: .85rem; font-weight: 700; padding: 7px 12px; border-radius: 10px; white-space: nowrap; opacity: 0; transform: translateX(8px); transition: all .25s; pointer-events: none; }
.wa-float:hover .wa-tip { opacity: 1; transform: none; }
@keyframes waPulse { 0% { box-shadow: 0 12px 30px rgba(37, 211, 102, .45), 0 0 0 0 rgba(37, 211, 102, .55); } 70% { box-shadow: 0 12px 30px rgba(37, 211, 102, .45), 0 0 0 16px rgba(37, 211, 102, 0); } 100% { box-shadow: 0 12px 30px rgba(37, 211, 102, .45), 0 0 0 0 rgba(37, 211, 102, 0); } }

/* ---------- Call back dialog ---------- */
.cb-dialog { border: 0; padding: 0; border-radius: 24px; width: min(480px, calc(100vw - 24px)); box-shadow: 0 40px 90px rgba(0, 0, 0, .45); }
.cb-dialog::backdrop { background: rgba(15, 15, 16, .6); backdrop-filter: blur(4px); }
.cb-dialog[open] { animation: fadeUp .3s ease; }
.cb-form { padding: clamp(22px, 4vw, 32px); display: grid; gap: 14px; position: relative; }
.cb-close { position: absolute; right: 12px; top: 12px; border: 0; background: var(--paper); width: 40px; height: 40px; border-radius: 12px; cursor: pointer; display: grid; place-items: center; }
.cb-head { display: flex; gap: 14px; align-items: center; padding-right: 40px; }
.cb-head h2 { font-family: var(--serif); font-size: 1.4rem; margin: 0 0 2px; }
.cb-head p { margin: 0; color: var(--muted); font-size: .94rem; }
.cb-icon { flex: none; width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center; background: var(--orange); color: #fff; }
.cb-alt { text-align: center; margin: 0; color: var(--muted); font-size: .92rem; }
.cb-alt a { color: var(--orange-deep); font-weight: 700; }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; translate: 0 26px; transition: opacity .7s ease, translate .7s ease; }
.reveal.is-visible { opacity: 1; translate: 0 0; }

/* =================== Responsive =================== */
@media (max-width: 1180px) {
  .main-nav > a { padding: 8px 9px; }
  .hide-md { display: none; }
}
@media (max-width: 1060px) {
  .nav-toggle { display: block; }
  /* Phone menu: dark full screen panel under a header that stays put while open */
  .nav-open .site-header { position: fixed; left: 0; right: 0; top: 0; }
  .nav-open .wa-float { display: none; }
  .main-nav {
    position: fixed; inset: 0; z-index: -2; margin: 0; display: flex; flex-direction: column; align-items: stretch; gap: 0;
    padding: calc(var(--header-h) + 18px) var(--gutter) calc(28px + env(safe-area-inset-bottom, 0px));
    background: radial-gradient(circle at 110% 105%, rgba(236, 112, 14, .35), transparent 45%), var(--ink);
    overflow-y: auto; overscroll-behavior: contain;
    opacity: 0; visibility: hidden; transition: opacity .25s ease, visibility .25s;
  }
  .nav-open .main-nav { opacity: 1; visibility: visible; }
  .nav-open { overflow: hidden; }
  .main-nav > a {
    display: flex; align-items: center; justify-content: space-between; gap: 12px;
    font-family: var(--sans); font-weight: 800; font-size: 1.35rem; letter-spacing: -.01em; color: #fff;
    padding: 15px 4px; border-radius: 0; border-bottom: 1px solid rgba(255, 255, 255, .09);
    opacity: 0; transform: translateX(-14px); transition: opacity .35s ease, transform .35s ease, color .2s;
  }
  .nav-open .main-nav > a { opacity: 1; transform: none; }
  .nav-open .main-nav > a:nth-child(2) { transition-delay: .04s; } .nav-open .main-nav > a:nth-child(3) { transition-delay: .08s; }
  .nav-open .main-nav > a:nth-child(4) { transition-delay: .12s; } .nav-open .main-nav > a:nth-child(5) { transition-delay: .16s; }
  .nav-open .main-nav > a:nth-child(6) { transition-delay: .2s; }
  .main-nav > a::after { display: none; }
  .main-nav > a:hover, .main-nav > a.active { color: var(--orange-2); }
  .main-nav > a.active { padding-left: 14px; border-left: 3px solid var(--orange); }
  .nav-arrow { display: block; color: rgba(255, 255, 255, .35); flex: none; }
  .main-nav > a.active .nav-arrow { color: var(--orange-2); }
  .nav-mobile-ctas { display: grid; gap: 10px; margin-top: 26px; }
  .nav-mobile-ctas .btn { padding: 14px 20px; }
  .nav-mobile-ctas .btn-outline-light { border-color: rgba(255, 255, 255, .25); color: #fff; }
  .nav-mobile-contact { display: grid; gap: 10px; margin-top: auto; padding-top: 26px; font-size: .9rem; color: #bdb8b1; }
  .nav-mobile-contact a, .nav-mobile-contact span { display: flex; align-items: center; gap: 10px; text-decoration: none; color: inherit; }
  .nav-mobile-contact svg { color: var(--orange); flex: none; }
  .hero-grid, .about-grid, .cat-grid, .quote-grid, .request-grid, .contact-grid, .cbb-grid { grid-template-columns: minmax(0, 1fr); }
  .video-card { max-width: 640px; }
  .cat-section.flip .cat-media { order: 0; }
  .cap-tabs { grid-template-columns: minmax(0, 1fr); }
  .cap-list { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
  .cap-tab svg { display: none; }
  .cap-panels { min-height: 380px; }
  .trust-grid { grid-template-columns: 1fr 1fr; }
  .trust-grid > div:nth-child(2) { border-right: 0; }
  .trust-grid > div:nth-child(-n+2) { border-bottom: 1px solid rgba(255, 255, 255, .08); }
  .prod-grid, .why-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .values-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ind-card, .ind-card.wide { grid-column: span 3; }
  .ind-grid > .ind-card:last-child { grid-column: span 6; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .regs-inner { grid-template-columns: minmax(0, 1fr); }
  .ql-card, .request-side { position: static; }
  .about-media { max-width: 620px; }
}
@media (max-width: 760px) {
  .hide-sm { display: none; }
  .show-sm { display: inline; }
  .header-ctas .quote-btn { display: none; }
  .header-ctas { margin-left: auto; margin-right: -6px; }
  .hero { min-height: 0; }
  .hero-orb-1 { width: 300px; height: 300px; right: -150px; bottom: -150px; }
  .hero-orb-2 { display: none; }
  .hero-actions .btn { flex: 1 1 100%; }
  .prod-grid, .why-grid, .svc-grid, .mv-grid { grid-template-columns: minmax(0, 1fr); }
  .commit-list { grid-template-columns: 1fr; }
  .commit-list > div, .commit-list > div:nth-child(even) { padding: 22px 0; border-right: 0 !important; }
  .ind-card, .ind-card.wide, .ind-grid > .ind-card:last-child { grid-column: span 6; min-height: 260px; }
  .ind-row { grid-template-columns: 1fr; }
  .ind-row:nth-child(even) .ind-row-img { order: 0; }
  .ind-row-img { min-height: 220px; }
  .item-list { grid-template-columns: 1fr; }
  .cbb-form { grid-template-columns: 1fr; }
  .profile-inner { grid-template-columns: minmax(0, 1fr); }
  .profile-cover { max-width: 230px; margin-inline: auto; }
  .regs-logos { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .regs-logos li { height: 80px; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .map { aspect-ratio: 4 / 3; }
  .tabs button { font-size: .84rem; padding: 10px 4px; gap: 5px; }
  .wa-float { right: 16px; bottom: calc(16px + env(safe-area-inset-bottom, 0px)); width: 56px; height: 56px; }
  .wa-tip { display: none; }
}
@media (max-width: 520px) {
  .values-grid { grid-template-columns: minmax(0, 1fr); }
  .cbb-photo::after { width: 80px; height: 80px; right: -12px; bottom: -12px; box-shadow: 0 0 0 8px #fff; }
  .about-media::before { left: -6%; }
}
h1, h2, h3 { overflow-wrap: break-word; hyphens: manual; }
@media (max-width: 420px) {
  .brand img { height: 36px; }
  .field-row { grid-template-columns: 1fr; }
  .trust-grid { grid-template-columns: 1fr; }
  .trust-grid > div { border-right: 0 !important; border-bottom: 1px solid rgba(255, 255, 255, .08); }
  .header-inner { gap: 12px; }
  .quote-btn { padding: 10px 14px; }
}

/* Phones: text stays on top of the photo, with a light shade and a text shadow so the
   picture remains clearly visible. On the home page the photo only spans the headline
   area (height set by main.js), not the quote form, so it isn't stretched into a blur. */
@media (max-width: 760px) {
  .hero-slides, .hero-shade { inset: 0 0 auto 0; height: var(--copy-h, 100%); }
  .hero-slide.is-active { animation: none; transform: none; }
  .hero-shade { background: linear-gradient(180deg, rgba(20, 20, 21, .30) 0%, rgba(20, 20, 21, .42) 45%, rgba(20, 20, 21, .62) 85%, var(--ink) 100%); }
  .hero { background: var(--ink); }
  .hero-orb-1 { display: none; }
  .hero-dots { display: none; }
  .hero h1, .hero-lead, .hero .eyebrow, .hero-points, .hero-link,
  .page-hero h1, .page-hero .lead, .crumbs { text-shadow: 0 1px 3px rgba(0, 0, 0, .7), 0 4px 20px rgba(0, 0, 0, .55); }
  .hero-lead, .page-hero .lead { color: #fff; }
  .hero h1 em, .page-hero h1 .accent { color: #ffa24f; text-shadow: 0 1px 2px rgba(0, 0, 0, .85), 0 3px 16px rgba(0, 0, 0, .7); }
  .crumbs, .crumbs span { color: #fff; }

  .page-hero::after { background: linear-gradient(180deg, rgba(20, 20, 21, .34) 0%, rgba(20, 20, 21, .5) 50%, rgba(20, 20, 21, .72) 100%); }
  .page-hero .hero-orb-1 { display: none; }
}

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