/* ==========================================================================
   ZAM ZAM TRUCKING LLC — front-end styles
   ========================================================================== */

:root {
  /* Brand colours. These are defaults; the live values come from
     Admin > Theme Colors and are printed inline by the layout (App\Support\Theme). */
  --dark-950: #09090A;
  --dark-900: #0E0E10;
  --dark-800: #1C1C1E;
  --dark-700: #2D2D2F;
  --dark-rgb: 9, 9, 10;
  --accent: #D4A24C;
  --accent-rgb: 212, 162, 76;
  --accent-hover: #DCB36C;
  --accent-light: #E5C794;
  --accent-deep: #947135;
  --accent-50: #FAF4EA;
  --accent-text: #886831;
  --accent-on-dark: #D4A24C;
  --accent-ink: #0E0E10;
  --on-dark: rgba(255, 255, 255, .74);
  --on-dark-muted: rgba(255, 255, 255, .52);
  --gray-50: #f6f6f4;
  --gray-100: #eeeeeb;
  --gray-200: #e2e1dc;
  --gray-400: #9b9a95;
  --gray-500: #6b6a66;
  --gray-700: #3a3936;
  --ink: #141414;
  --white: #fff;
  --success: #12805c;
  --danger: #c4320a;

  --font-head: "Poppins", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;

  --radius: 8px;
  --shadow-sm: 0 1px 2px rgba(16, 24, 40, .06), 0 1px 3px rgba(16, 24, 40, .08);
  --shadow-md: 0 12px 32px -8px rgba(0, 0, 0, .22);
  --header-h: 76px;
  --container: 1200px;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 8px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--gray-700);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent-text); text-decoration: none; }
a:hover { color: var(--accent-deep); }
h1, h2, h3, h4 { font-family: var(--font-head); color: var(--ink); line-height: 1.15; margin: 0 0 .5em; }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; list-style: none; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 20px; }
.section { padding: 96px 0; }
.section-gray { background: var(--gray-50); }
.section-dark { background: var(--dark-900); color: var(--on-dark); }
.section-dark h2, .section-dark h3 { color: var(--white); }
.text-center { text-align: center; }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); border: 0; }
.skip-link { position: absolute; left: 12px; top: -48px; z-index: 200; background: var(--accent); color: var(--accent-ink); padding: 8px 14px; border-radius: var(--radius); }
.skip-link:focus { top: 12px; color: var(--accent-ink); }

:focus-visible { outline: 3px solid var(--accent-on-dark); outline-offset: 2px; }

/* ---------- Typography helpers ---------- */
.kicker {
  display: inline-block;
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .32em;
  text-transform: uppercase;
  color: var(--accent-text);
  margin-bottom: 14px;
}
.section-dark .kicker, .hero .kicker { color: var(--accent-on-dark); }

.title {
  font-size: clamp(30px, 4vw, 42px);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -.01em;
  margin-bottom: 20px;
}
.lead { font-size: 17px; color: var(--gray-500); max-width: 560px; }
.section-dark .lead { color: var(--on-dark); }
.section-head { max-width: 720px; margin: 0 auto 56px; }
.section-head .lead { margin: 0 auto; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 15px;
  line-height: 1;
  padding: 16px 28px;
  border-radius: 6px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: background-color .2s, color .2s, border-color .2s, transform .2s;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: linear-gradient(135deg, var(--accent-light), var(--accent) 50%, var(--accent-deep)); color: var(--accent-ink); }
.btn-primary:hover { background: var(--accent-hover); color: var(--accent-ink); }
.btn-dark { background: var(--dark-900); color: var(--white); }
.btn-dark:hover { background: var(--dark-700); color: var(--white); }
.btn-outline-light { border-color: rgba(255, 255, 255, .85); color: var(--white); background: transparent; }
.btn-outline-light:hover { background: var(--white); color: var(--dark-900); }
.btn-white { background: var(--white); color: var(--dark-900); }
.btn-white:hover { background: var(--accent-50); color: var(--dark-900); }
.btn-block { width: 100%; }
.btn-sm { padding: 12px 20px; font-size: 14px; }

.link-arrow { font-family: var(--font-head); font-weight: 600; font-size: 14px; display: inline-flex; align-items: center; gap: 8px; }
.link-arrow i { transition: transform .2s; }
.link-arrow:hover i { transform: translateX(4px); }

/* ---------- Logo ---------- */
.logo { display: inline-flex; align-items: center; gap: 12px; line-height: 1; color: var(--dark-900); }
.logo:hover { color: var(--dark-900); }
.logo-mark { width: 58px; height: 58px; border-radius: 50%; flex-shrink: 0; box-shadow: 0 2px 10px rgba(0, 0, 0, .18); }
.logo-custom { max-height: 56px; width: auto; }
.logo-text { display: flex; flex-direction: column; align-items: center; }
.logo-main { font-family: var(--font-head); font-weight: 800; font-size: 22px; letter-spacing: .02em; white-space: nowrap; }
.logo-main .gold { color: var(--accent-text); }
.logo-sub {
  display: flex; align-items: center; gap: 6px;
  font-family: var(--font-head); font-weight: 700; font-size: 8.5px; letter-spacing: .28em; margin-top: 4px; white-space: nowrap;
}
.logo-sub::before, .logo-sub::after { content: ""; height: 1.5px; width: 12px; background: var(--accent); }
.logo-footer { color: var(--white); }
.logo-footer:hover { color: var(--white); }
.logo-footer .logo-mark { width: 88px; height: 88px; box-shadow: 0 0 0 4px rgba(var(--accent-rgb), .15); }
.logo-footer .logo-main { font-size: 24px; }
.logo-footer .logo-main .gold { color: var(--accent-on-dark); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  height: var(--header-h);
  background: var(--white);
  border-bottom: 1px solid var(--gray-200);
  transition: box-shadow .2s;
}
.site-header.is-scrolled { box-shadow: var(--shadow-md); }
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.main-nav { display: flex; align-items: center; gap: 30px; }
.main-nav ul { display: flex; gap: 26px; }
.main-nav ul a {
  position: relative;
  font-family: var(--font-head); font-weight: 500; font-size: 14.5px;
  color: var(--ink); padding: 8px 0;
}
.main-nav ul a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px;
  background: var(--accent); transform: scaleX(0); transition: transform .2s;
}
.main-nav ul a:hover::after, .main-nav ul a.active::after { transform: scaleX(1); }
.main-nav ul a.active { color: var(--accent-text); }
.nav-toggle {
  display: none; width: 44px; height: 44px; border: 1px solid var(--gray-200); background: var(--white);
  border-radius: 6px; font-size: 20px; color: var(--dark-900); cursor: pointer;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: min(680px, calc(100vh - var(--header-h)));
  display: flex; align-items: center;
  padding: 120px 0 170px;
  background: var(--dark-950) center / cover no-repeat;
  color: var(--white);
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(var(--dark-rgb), .92) 0%, rgba(var(--dark-rgb), .7) 45%, rgba(var(--dark-rgb), .25) 100%);
}
.hero .container { position: relative; }
.hero h1 {
  font-size: clamp(44px, 7vw, 80px); font-weight: 800; color: var(--white);
  text-transform: uppercase; letter-spacing: -.01em; line-height: 1; margin-bottom: 20px;
}
.hero h1 span {
  display: block; font-size: .62em; letter-spacing: .02em; margin-top: 6px;
  background: linear-gradient(100deg, var(--accent-light), var(--accent) 60%, var(--accent-hover));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-text { font-size: 19px; color: var(--on-dark); max-width: 460px; margin-bottom: 36px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }

/* ---------- Feature strip ---------- */
.feature-strip { position: relative; z-index: 2; margin-top: -78px; }
.feature-strip-inner {
  display: grid; grid-template-columns: repeat(var(--cols, 4), 1fr);
  background: var(--dark-900); border-radius: var(--radius); box-shadow: var(--shadow-md);
  border-top: 3px solid var(--accent);
}
.feature { display: flex; align-items: center; gap: 16px; padding: 30px 26px; color: var(--white); }
.feature + .feature { border-left: 1px solid rgba(255, 255, 255, .1); }
.feature i { font-size: 28px; color: var(--accent-on-dark); width: 34px; text-align: center; flex-shrink: 0; }
.feature strong { display: block; font-family: var(--font-head); font-size: 16px; }
.feature span { font-size: 13.5px; color: var(--on-dark); }

/* ---------- Services ---------- */
.services-grid { display: grid; grid-template-columns: 1fr 2fr; gap: 56px; align-items: center; }
.service-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card {
  background: var(--white); border: 1px solid var(--gray-200); border-radius: var(--radius);
  box-shadow: var(--shadow-sm); overflow: hidden;
  transition: transform .25s, box-shadow .25s;
}
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.service-card img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.service-card .card-body { padding: 22px; }
.service-card h3 { font-size: 18px; margin-bottom: 8px; }
.service-card p { font-size: 14.5px; color: var(--gray-500); margin-bottom: 14px; }

/* ---------- Stats band ---------- */
.stats-band {
  position: relative; padding: 64px 0; color: var(--white);
  background: var(--dark-950) center / cover no-repeat;
}
.stats-band::before { content: ""; position: absolute; inset: 0; background: rgba(var(--dark-rgb), .84); }
.stats-grid { position: relative; display: grid; grid-template-columns: repeat(var(--cols, 4), 1fr); gap: 24px; }
.stat { display: flex; align-items: center; gap: 18px; justify-content: center; }
.stat + .stat { border-left: 1px solid rgba(255, 255, 255, .14); }
.stat i { font-size: 34px; color: var(--accent-on-dark); }
.stat strong { display: block; font-family: var(--font-head); font-size: 30px; font-weight: 800; line-height: 1.1; }
.stat span { font-size: 14px; color: var(--on-dark); }

/* ---------- About ---------- */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.about-media { position: relative; padding: 0 0 28px 28px; }
.about-media.plain { padding: 0; }
.about-media.plain::before { display: none; }
.about-media.plain img { aspect-ratio: auto; }
.image-right .about-media { order: 2; }
.about-media::before {
  content: ""; position: absolute; left: 0; bottom: 0; width: 60%; height: 70%;
  background: var(--accent-50); border-radius: var(--radius); z-index: -1;
}
.about-media img { width: 100%; aspect-ratio: 5 / 4; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow-md); }
.since-badge {
  position: absolute; left: 0; bottom: 0;
  background: var(--accent); color: var(--accent-ink); padding: 18px 26px; border-radius: var(--radius);
  box-shadow: var(--shadow-md);
}
.since-badge strong { display: block; font-family: var(--font-head); font-size: 26px; font-weight: 800; line-height: 1.1; }
.since-badge span { font-size: 13px; color: var(--accent-ink); opacity: .8; }
.check-list { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 24px; margin-top: 28px; }
.check-list li { display: flex; align-items: center; gap: 10px; font-weight: 600; color: var(--ink); font-size: 15px; }
.check-list i { color: var(--accent-text); }

/* ---------- Equipment ---------- */
.equipment-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.equip-card { border-top: 4px solid var(--accent); padding: 30px 28px; }
.equip-icon {
  width: 52px; height: 52px; border-radius: 10px; display: grid; place-items: center;
  background: var(--accent-50); color: var(--accent-text); font-size: 22px; margin-bottom: 18px;
}
.equip-card h3 { font-size: 20px; margin-bottom: 18px; }
.spec-list li { display: flex; justify-content: space-between; gap: 16px; padding: 11px 0; border-top: 1px solid var(--gray-100); font-size: 14.5px; }
.spec-list li span { color: var(--gray-500); }
.spec-list li strong { color: var(--ink); text-align: right; font-weight: 600; }

/* ---------- Safety ---------- */
.safety-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.authority-grid {
  display: grid; grid-template-columns: 1fr 1fr; margin: 30px 0 22px;
  border: 1px solid rgba(255, 255, 255, .14); border-radius: var(--radius); overflow: hidden;
}
.authority-grid div { padding: 20px 22px; }
.authority-grid div:nth-child(odd) { border-right: 1px solid rgba(255, 255, 255, .14); }
.authority-grid div:nth-child(-n+2) { border-bottom: 1px solid rgba(255, 255, 255, .14); }
.authority-grid span { display: block; font-size: 12.5px; color: var(--on-dark-muted); text-transform: uppercase; letter-spacing: .08em; }
.authority-grid strong { font-family: var(--font-head); font-size: 22px; color: var(--white); }
.section-dark .link-arrow { color: var(--accent-on-dark); }
.section-dark .link-arrow:hover { color: var(--white); }
.safety-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.safety-card {
  background: var(--dark-800); border: 1px solid rgba(255, 255, 255, .08); border-radius: var(--radius);
  padding: 26px 24px; transition: background-color .2s, border-color .2s;
}
.safety-card:hover { background: var(--dark-700); border-color: rgba(var(--accent-rgb), .4); }
.safety-card i { font-size: 24px; color: var(--accent-on-dark); margin-bottom: 16px; }
.safety-card h3 { font-size: 17px; margin-bottom: 8px; }
.safety-card p { font-size: 14px; color: var(--on-dark); margin: 0; }

/* ---------- Forms ---------- */
.form-card { border-top: 4px solid var(--accent); padding: 34px; }
.form-card h3 { font-size: 24px; margin-bottom: 4px; }
.form-card .form-sub { color: var(--gray-500); font-size: 14px; margin-bottom: 24px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 18px; }
.form-grid .full { grid-column: 1 / -1; }
.field label, .field-label { display: block; font-size: 13.5px; font-weight: 600; color: var(--ink); margin-bottom: 6px; }
.field label .req { color: var(--danger); }
.input {
  width: 100%; font: inherit; font-size: 15px; color: var(--ink);
  padding: 12px 14px; border: 1px solid var(--gray-200); border-radius: 6px; background: var(--white);
  transition: border-color .2s, box-shadow .2s;
}
.input::placeholder { color: var(--gray-400); }
.input:focus { outline: none; border-color: var(--accent-hover); box-shadow: 0 0 0 3px rgba(var(--accent-rgb), .25); }
.input.is-invalid { border-color: var(--danger); }
textarea.input { min-height: 104px; resize: vertical; }
select.input {
  appearance: none; padding-right: 38px;
  background: var(--white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23667085' stroke-width='1.6' fill='none'/%3E%3C/svg%3E") no-repeat right 14px center;
}
.field-group-title { grid-column: 1 / -1; font-family: var(--font-head); font-weight: 600; color: var(--ink); font-size: 14px; padding-top: 6px; border-top: 1px solid var(--gray-100); margin-top: 4px; padding-top: 16px; }
.error-text { color: var(--danger); font-size: 13px; margin-top: 4px; }

.segmented { display: flex; flex-wrap: wrap; gap: 8px; }
.segmented label { margin: 0; }
.segmented input { position: absolute; opacity: 0; pointer-events: none; }
.segmented span {
  display: inline-block; padding: 10px 18px; border: 1px solid var(--gray-200); border-radius: 6px;
  font-size: 14px; font-weight: 600; color: var(--gray-700); cursor: pointer; transition: all .15s;
}
.segmented span:hover { border-color: var(--accent-hover); }
.segmented input:checked + span { background: var(--dark-900); border-color: var(--dark-900); color: var(--white); }
.segmented input:focus-visible + span { outline: 3px solid var(--accent-on-dark); outline-offset: 2px; }

.consent { display: flex; gap: 12px; align-items: flex-start; font-size: 12.5px; line-height: 1.55; color: var(--gray-500); }
.consent input { margin-top: 3px; width: 17px; height: 17px; accent-color: var(--accent); flex-shrink: 0; }

.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.alert { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: 6px; font-size: 14.5px; margin-bottom: 20px; }
.alert-success { background: #ecfdf3; color: var(--success); border: 1px solid #abefc6; }
.alert-error { background: #fef3f2; color: var(--danger); border: 1px solid #fecdca; }
.alert i { margin-top: 3px; }

/* ---------- Quote ---------- */
.split-grid { display: grid; grid-template-columns: 5fr 7fr; gap: 64px; align-items: start; }
.contact-box { background: var(--dark-900); border-radius: var(--radius); padding: 10px 26px; margin-top: 32px; }
.contact-item { display: flex; align-items: center; gap: 16px; padding: 18px 0; }
.contact-item + .contact-item { border-top: 1px solid rgba(255, 255, 255, .1); }
.contact-icon {
  width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; flex-shrink: 0;
  background: var(--accent); color: var(--accent-ink); font-size: 16px;
}
.contact-item span { display: block; font-size: 12.5px; color: var(--on-dark-muted); text-transform: uppercase; letter-spacing: .06em; }
.contact-item a, .contact-item strong { color: var(--white); font-weight: 600; font-size: 15.5px; word-break: break-word; }
.contact-item a:hover { color: var(--accent-on-dark); }

/* ---------- Careers ---------- */
.pay-card { padding: 24px 26px; margin-bottom: 18px; border-left: 4px solid var(--accent); }
.pay-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; margin-bottom: 12px; }
.pay-head h3 { font-size: 19px; margin: 0; }
.pay-rate { font-family: var(--font-head); color: var(--accent-text); font-weight: 700; font-size: 22px; }
.pay-rate small { font-size: 13px; color: var(--gray-500); font-weight: 500; }
.bullet-list li { position: relative; padding-left: 20px; font-size: 14.5px; margin: 6px 0; }
.bullet-list li::before { content: ""; position: absolute; left: 2px; top: .7em; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }
.requirements h3 { font-size: 18px; margin: 28px 0 10px; }
.requirements .check-list { grid-template-columns: 1fr; gap: 10px; margin-top: 0; }
.requirements .check-list li { font-weight: 500; color: var(--gray-700); }

/* ---------- CTA band ---------- */
.cta-band { background: linear-gradient(120deg, var(--accent) 30%, var(--accent-light)); color: var(--accent-ink); padding: 52px 0; }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.cta-band h2 { color: var(--accent-ink); font-size: clamp(24px, 3vw, 32px); font-weight: 800; text-transform: uppercase; margin: 0 0 6px; }
.cta-band p { margin: 0; color: var(--accent-ink); opacity: .85; }

/* ---------- Footer ---------- */
.site-footer { background: var(--dark-950); color: var(--on-dark); padding-top: 72px; font-size: 14.5px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 56px; }
.footer-about p { margin: 20px 0 12px; max-width: 300px; }
.footer-authority { font-size: 13px; color: var(--on-dark-muted); }
.site-footer h4 { color: var(--white); font-size: 16px; margin-bottom: 18px; }
.footer-links li { margin: 9px 0; }
.footer-links a, .footer-contact a { color: var(--on-dark); }
.footer-links a:hover, .footer-contact a:hover { color: var(--white); }
.footer-contact li { display: flex; gap: 12px; margin: 10px 0; }
.footer-contact i { color: var(--accent-on-dark); margin-top: 5px; width: 14px; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .08); padding: 22px 0; font-size: 13.5px; }
.footer-bottom .container { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.footer-bottom nav { display: flex; gap: 8px; flex-wrap: wrap; }
.footer-bottom nav a { color: var(--on-dark); }
.footer-bottom nav a:hover { color: var(--white); }
.footer-bottom nav span { color: rgba(255, 255, 255, .25); }

/* ---------- Inner-page banner ---------- */
.page-hero {
  position: relative; padding: 84px 0 76px; color: var(--white);
  background: var(--dark-950) center / cover no-repeat;
}
.page-hero::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(var(--dark-rgb), .94) 0%, rgba(var(--dark-rgb), .78) 55%, rgba(var(--dark-rgb), .55) 100%);
}
.page-hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: linear-gradient(90deg, var(--accent), var(--accent-light)); }
.page-hero .container { position: relative; }
.page-hero h1 { color: var(--white); font-size: clamp(32px, 5vw, 54px); font-weight: 800; text-transform: uppercase; margin: 0; }
.page-hero p { color: var(--on-dark); font-size: 18px; max-width: 620px; margin: 12px 0 0; }
.breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; font-size: 13.5px; margin-bottom: 18px; color: var(--on-dark-muted); }
.breadcrumb a { color: var(--on-dark); }
.breadcrumb a:hover { color: var(--accent-on-dark); }
.breadcrumb i { font-size: 9px; }
.breadcrumb span { color: var(--accent-on-dark); }

/* ---------- Nav dropdown ---------- */
.nav-caret { font-size: 10px; margin-left: 3px; transition: transform .2s; }
.has-dropdown { position: relative; }
.main-nav .dropdown {
  position: absolute; top: calc(100% + 14px); left: -18px; min-width: 250px; padding: 10px; margin: 0;
  display: block; background: var(--white); border: 1px solid var(--gray-200); border-radius: var(--radius);
  box-shadow: var(--shadow-md); opacity: 0; visibility: hidden; transform: translateY(6px);
  transition: opacity .18s, transform .18s, visibility .18s;
}
.dropdown::before { content: ""; position: absolute; left: 0; right: 0; top: -16px; height: 16px; }
.has-dropdown:hover .dropdown, .has-dropdown:focus-within .dropdown { opacity: 1; visibility: visible; transform: none; }
.has-dropdown:hover .nav-caret { transform: rotate(180deg); }
.main-nav .dropdown a { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 6px; font-size: 14px; white-space: nowrap; }
.main-nav .dropdown a::after { display: none; }
.main-nav .dropdown a:hover, .main-nav .dropdown a.active { background: var(--accent-50); color: var(--accent-text); }
.dropdown i { width: 18px; text-align: center; color: var(--accent-text); }

/* ---------- Explore hub / commitments ---------- */
.explore-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.explore-card { display: block; padding: 32px 28px; color: var(--gray-700); border-top: 4px solid var(--accent); }
a.explore-card:hover { color: var(--gray-700); transform: translateY(-4px); box-shadow: var(--shadow-md); }
.explore-card h3 { font-size: 20px; margin-bottom: 10px; }
.explore-card p { font-size: 15px; color: var(--gray-500); }
.explore-kicker { display: block; font-size: 12px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--accent-text); margin-bottom: 8px; }
.explore-card .link-arrow { color: var(--accent-text); }
.card-title-link { color: inherit; }
.card-title-link:hover { color: var(--accent-text); }

/* ---------- Services overview ---------- */
.service-list { display: grid; gap: 72px; }
.service-row { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.service-row:nth-child(even) .service-row-media { order: 2; }
.service-row-media img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow-md); }
.service-row h2 { font-size: clamp(26px, 3vw, 34px); font-weight: 800; text-transform: uppercase; }
.service-row .check-list { margin: 22px 0 30px; }

/* ---------- Service detail ---------- */
.service-detail { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 56px; align-items: start; }
.service-hero-img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--radius); margin-bottom: 32px; box-shadow: var(--shadow-md); }
.service-main .lead { max-width: none; color: var(--gray-700); font-size: 18px; }
.detail-heading { font-size: 22px; margin: 40px 0 18px; text-transform: uppercase; }
.ideal-list { display: grid; grid-template-columns: 1fr 1fr; gap: 4px 24px; }
.service-aside { position: sticky; top: calc(var(--header-h) + 24px); display: grid; gap: 20px; }
.aside-card { padding: 26px; }
.aside-card h3 { font-size: 18px; margin-bottom: 10px; }
.aside-cta { background: var(--dark-900); border-color: var(--dark-900); color: var(--on-dark); }
.aside-cta h3 { color: var(--white); }
.aside-cta p { font-size: 14.5px; }
.aside-phone { display: flex; justify-content: center; align-items: center; gap: 8px; margin-top: 14px; color: var(--accent-on-dark); font-weight: 600; }
.aside-phone:hover { color: var(--white); }
.aside-links li + li { border-top: 1px solid var(--gray-100); }
.aside-links a { display: flex; align-items: center; gap: 10px; padding: 12px 0; color: var(--ink); font-weight: 600; font-size: 15px; }
.aside-links a i:first-child { color: var(--accent-text); width: 20px; }
.aside-links a i:last-child { margin-left: auto; font-size: 12px; color: var(--gray-400); transition: transform .2s; }
.aside-links a:hover { color: var(--accent-text); }
.aside-links a:hover i:last-child { transform: translateX(4px); color: var(--accent-text); }

/* ---------- Quote steps ---------- */
.section-tight { padding: 64px 0; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.step { display: flex; gap: 18px; align-items: flex-start; }
.step-num {
  flex-shrink: 0; width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center;
  background: linear-gradient(135deg, var(--accent-light), var(--accent) 55%, var(--accent-deep)); color: var(--accent-ink);
  font-family: var(--font-head); font-weight: 800; font-size: 19px;
}
.step h3 { font-size: 18px; margin-bottom: 6px; }
.step p { font-size: 15px; color: var(--gray-500); margin: 0; }

/* ---------- Contact cards ---------- */
.contact-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 22px; }
.contact-card { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; padding: 28px 24px; color: var(--ink); }
a.contact-card:hover { color: var(--ink); transform: translateY(-4px); box-shadow: var(--shadow-md); }
.contact-card .contact-icon { margin-bottom: 10px; }
.contact-card span { font-size: 12.5px; text-transform: uppercase; letter-spacing: .08em; color: var(--gray-500); }
.contact-card strong { font-size: 16px; word-break: break-word; }

/* ---------- Legal pages ---------- */
.prose { max-width: 780px; }
.prose h2 { font-size: 22px; margin: 36px 0 12px; }
.prose ul { list-style: disc; padding-left: 22px; margin-bottom: 1em; }
.prose li { margin: 6px 0; }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1100px) {
  .main-nav ul { gap: 18px; }
  .services-grid { grid-template-columns: 1fr; gap: 40px; }
  .feature { padding: 24px 18px; }
}

@media (max-width: 960px) {
  :root { --header-h: 68px; }
  .section { padding: 72px 0; }
  .nav-toggle { display: grid; place-items: center; }
  .main-nav {
    position: fixed; top: var(--header-h); left: 0; right: 0; bottom: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--white); padding: 12px 20px 28px; overflow-y: auto;
    transform: translateX(100%); visibility: hidden; transition: transform .25s, visibility .25s;
  }
  .main-nav.is-open { transform: none; visibility: visible; }
  .main-nav ul { flex-direction: column; gap: 0; margin-bottom: 20px; }
  .main-nav ul a { display: block; padding: 14px 0; font-size: 17px; border-bottom: 1px solid var(--gray-100); }
  .main-nav ul a::after { display: none; }
  body.nav-open { overflow: hidden; }

  .feature-strip-inner { grid-template-columns: 1fr 1fr; }
  .feature:nth-child(3) { border-left: 0; }
  .feature:nth-child(n+3) { border-top: 1px solid rgba(255, 255, 255, .1); }
  .stats-grid { grid-template-columns: 1fr 1fr; row-gap: 36px; }
  .stat:nth-child(3) { border-left: 0; }
  .about-grid, .safety-grid, .split-grid, .service-row, .service-detail { grid-template-columns: 1fr; gap: 40px; }
  .service-row:nth-child(even) .service-row-media { order: 0; }
  .service-aside { position: static; }
  .explore-grid, .steps { grid-template-columns: 1fr; }
  .contact-cards { grid-template-columns: 1fr 1fr; }
  .nav-caret { display: none; }
  .main-nav .dropdown {
    position: static; opacity: 1; visibility: visible; transform: none;
    box-shadow: none; border: 0; padding: 0 0 4px 16px; min-width: 0;
  }
  .dropdown::before { display: none; }
  .main-nav .dropdown a { padding: 11px 0; font-size: 15px; border-bottom: 1px solid var(--gray-100); border-radius: 0; }
  .main-nav .dropdown a:hover, .main-nav .dropdown a.active { background: none; }
  .equipment-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 680px) {
  .site-header .logo-mark { width: 46px; height: 46px; }
  .site-header .logo-main { font-size: 18px; }
  .site-header .logo-sub { font-size: 7.5px; }
  .hero { padding: 80px 0 150px; }
  .hero-actions .btn { flex: 1 1 100%; }
  .service-cards, .equipment-grid, .safety-cards { grid-template-columns: 1fr; }
  .feature-strip-inner { grid-template-columns: 1fr; }
  .feature + .feature { border-left: 0; border-top: 1px solid rgba(255, 255, 255, .1); }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .stat { flex-direction: column; text-align: center; gap: 8px; }
  .stat + .stat { border-left: 0; }
  .check-list { grid-template-columns: 1fr; }
  .authority-grid strong { font-size: 18px; }
  .form-grid { grid-template-columns: 1fr; }
  .contact-cards, .ideal-list { grid-template-columns: 1fr; }
  .page-hero { padding: 60px 0 54px; }
  .form-card { padding: 26px 20px; }
  .footer-grid { grid-template-columns: 1fr; }
  .cta-inner .btn { width: 100%; }
}
