/* ==========================================================================
   PrimePower — 4-Stroke Engine Services for Oil Refineries & Oil Companies
   Static site stylesheet
   ========================================================================== */

:root {
  --ink: #0b0a07;
  --navy-900: #151209;
  --navy-800: #1e1a0e;
  --navy-700: #2a2312;
  --line-dark: rgba(204, 151, 36, 0.18);
  --steel: #a89a7d;
  --mist: #e2d9c4;
  --accent: #cc9724;
  --accent-strong: #7e5f16;
  --accent-soft: rgba(204, 151, 36, 0.12);
  --paper: #f7f4ec;
  --paper-2: #ffffff;
  --charcoal: #221e14;
  --slate: #5c5544;
  --ok: #34d399;
  --font-head: "Barlow Condensed", "Arial Narrow", sans-serif;
  --font-body: "Barlow", "Segoe UI", Arial, sans-serif;
  --radius: 6px;
  --shadow: 0 18px 40px -18px rgba(11, 10, 7, 0.35);
  --container: 1200px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--charcoal);
  background: var(--paper-2);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }

/* ---------- Typography ---------- */
h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: 0.01em;
  text-transform: uppercase;
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}
.kicker::before {
  content: "";
  width: 26px;
  height: 2px;
  background: var(--accent);
}
.kicker--light { color: var(--accent); }

.section-title { font-size: clamp(1.9rem, 3.4vw, 2.7rem); margin-bottom: 16px; }
.section-title--light { color: #fff; }

.section-sub { max-width: 640px; color: var(--slate); font-size: 1.05rem; }
.section-sub--light { color: var(--mist); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1.02rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 14px 26px;
  border-radius: var(--radius);
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn--accent { background: var(--accent); color: #1a1509; }
.btn--accent:hover { background: #dfa63a; }
.btn--ghost { border-color: rgba(255, 255, 255, 0.45); color: #fff; }
.btn--ghost:hover { border-color: var(--accent); color: var(--accent); }
.btn--dark { background: var(--navy-900); color: #fff; }
.btn--dark:hover { background: var(--navy-700); }
.btn--outline-dark { border-color: var(--navy-900); color: var(--navy-900); }
.btn--outline-dark:hover { background: var(--navy-900); color: #fff; }
.btn .arr { transition: transform 0.15s ease; }
.btn:hover .arr { transform: translateX(4px); }

/* ---------- Top bar ---------- */
.topbar {
  background: var(--ink);
  color: var(--steel);
  font-size: 0.85rem;
  border-bottom: 1px solid var(--line-dark);
}
.topbar__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 8px 24px;
  max-width: var(--container);
  margin: 0 auto;
}
.topbar__list { display: flex; gap: 22px; flex-wrap: wrap; }
.topbar__list a { display: inline-flex; align-items: center; gap: 7px; transition: color 0.2s; }
.topbar__list a:hover { color: var(--accent); }
.topbar__list svg { flex: none; }
.topbar__emergency { color: var(--accent); font-weight: 600; letter-spacing: 0.06em; }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(23, 20, 11, 0.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line-dark);
}
.site-header--light {
  background: #fff;
  border-bottom: 1px solid #e3e9f0;
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px 24px;
  max-width: var(--container);
  margin: 0 auto;
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand__mark { flex: none; }
.brand__name {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.55rem;
  letter-spacing: 0.04em;
  color: #fff;
  line-height: 1;
}
.brand__name span { color: var(--accent); }
.brand__tag {
  display: block;
  font-family: var(--font-body);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--steel);
  margin-top: 4px;
}
.site-header--light .brand__name { color: var(--navy-900); }
.site-header--light .brand__tag { color: var(--slate); }

.nav__links { display: flex; align-items: center; gap: 6px; }
.nav__links a {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1.05rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--mist);
  padding: 10px 14px;
  border-radius: 4px;
  position: relative;
  transition: color 0.2s;
}
.nav__links a:hover { color: #fff; }
.nav__links a.active { color: var(--accent); }
.nav__links a.active::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 4px;
  height: 2px;
  background: var(--accent);
}
.nav__cta { margin-left: 10px; padding: 11px 20px; }
.site-header--light .nav__links a { color: var(--charcoal); }
.site-header--light .nav__links a:hover { color: var(--navy-900); }
.site-header--light .nav__links a.active { color: var(--accent-strong); }

.nav__toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  background: transparent;
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  cursor: pointer;
  padding: 10px;
}
.nav__toggle span {
  display: block;
  height: 2px;
  background: var(--mist);
  transition: transform 0.2s, opacity 0.2s;
}
.site-header--light .nav__toggle { border-color: #d7dfe8; }
.site-header--light .nav__toggle span { background: var(--navy-900); }
.nav__toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__toggle.open span:nth-child(2) { opacity: 0; }
.nav__toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero (home) ---------- */
.hero {
  position: relative;
  background:
    linear-gradient(100deg, rgba(11, 10, 7, 0.94) 0%, rgba(11, 10, 7, 0.78) 42%, rgba(11, 10, 7, 0.35) 100%),
    url("../img/hero-refinery.jpg") center 30% / cover no-repeat,
    var(--navy-900);
  color: #fff;
  overflow: hidden;
}
.hero::after {
  /* blueprint grid */
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(204, 151, 36, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(204, 151, 36, 0.07) 1px, transparent 1px);
  background-size: 44px 44px;
  pointer-events: none;
}
.hero__inner {
  position: relative;
  z-index: 2;
  padding: 96px 24px 0;
  max-width: var(--container);
  margin: 0 auto;
}
.hero__content { max-width: 720px; }
.hero h1 {
  font-size: clamp(2.5rem, 5.6vw, 4.2rem);
  margin-bottom: 20px;
  color: #fff;
}
.hero h1 em {
  font-style: normal;
  color: var(--accent);
}
.hero__lead {
  font-size: 1.13rem;
  color: var(--mist);
  max-width: 600px;
  margin-bottom: 34px;
}
.hero__actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 0; }

.hero__specbar {
  position: relative;
  z-index: 2;
  margin-top: 72px;
  border-top: 1px solid var(--line-dark);
  background: rgba(11, 10, 7, 0.72);
  backdrop-filter: blur(6px);
}
.hero__specbar-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
}
.hero__spec {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 18px 8px;
  font-family: var(--font-head);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-size: 0.9rem;
  color: var(--mist);
}
.hero__spec + .hero__spec { border-left: 1px solid var(--line-dark); padding-left: 22px; }
.hero__spec svg { color: var(--accent); flex: none; }

/* ---------- Page hero (inner pages) ---------- */
.pagehero {
  position: relative;
  background:
    linear-gradient(100deg, rgba(6, 13, 24, 0.95) 0%, rgba(21, 18, 9, 0.85) 55%, rgba(21, 18, 9, 0.62) 100%),
    url("../img/engine-bw.jpg") center / cover no-repeat,
    var(--navy-900);
  color: #fff;
  overflow: hidden;
}
.pagehero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(204, 151, 36, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(204, 151, 36, 0.06) 1px, transparent 1px);
  background-size: 44px 44px;
  pointer-events: none;
}
.pagehero__inner {
  position: relative;
  z-index: 2;
  max-width: var(--container);
  margin: 0 auto;
  padding: 84px 24px 64px;
}
.pagehero h1 { font-size: clamp(2.3rem, 4.6vw, 3.4rem); color: #fff; }
.pagehero__lead { max-width: 620px; color: var(--mist); font-size: 1.08rem; margin-top: 14px; }
.breadcrumb {
  display: flex;
  gap: 10px;
  font-family: var(--font-head);
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 0.85rem;
  color: var(--steel);
  margin-bottom: 18px;
}
.breadcrumb a { color: var(--mist); transition: color 0.2s; }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb .sep { color: var(--accent); }

/* ---------- Stats ---------- */
.stats { background: var(--navy-900); color: #fff; border-top: 1px solid var(--line-dark); }
.stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}
.stat {
  padding: 30px 26px 32px;
  border-left: 1px solid var(--line-dark);
}
.stat:first-child { border-left: none; }
.stat__num {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 2.9rem;
  line-height: 1;
  color: var(--accent);
}
.stat__num span { font-size: 1.7rem; }
.stat__label {
  margin-top: 8px;
  font-size: 0.86rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--steel);
}

/* ---------- Sections ---------- */
.section { padding: 88px 0; }
.section--paper { background: var(--paper); }
.section--white { background: var(--paper-2); }
.section--dark {
  background:
    linear-gradient(rgba(21, 18, 9, 0.97), rgba(6, 13, 24, 0.97)),
    var(--navy-900);
  color: #fff;
}
.section__head { margin-bottom: 48px; }
.section__head--split {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 32px;
  flex-wrap: wrap;
}

/* ---------- Service cards ---------- */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.card {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-top: 3px solid var(--navy-900);
  border-radius: var(--radius);
  padding: 30px 26px 28px;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
  border-top-color: var(--accent);
}
.card__num {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.2em;
  color: #b5a988;
  margin-bottom: 16px;
}
.card__icon {
  width: 54px;
  height: 54px;
  border-radius: var(--radius);
  background: var(--navy-900);
  color: var(--accent);
  display: grid;
  place-items: center;
  margin-bottom: 20px;
}
.card h3 { font-size: 1.35rem; margin-bottom: 12px; color: var(--navy-900); }
.card p { color: var(--slate); font-size: 0.96rem; flex: 1; }
.card__link {
  margin-top: 18px;
  font-family: var(--font-head);
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 0.92rem;
  color: var(--accent-strong);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.card__link:hover { color: var(--navy-900); }

/* ---------- Split feature (why us / about) ---------- */
.feature {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 60px;
  align-items: center;
}
.feature__media { position: relative; }
.feature__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  position: relative;
  z-index: 1;
}
.feature__media::before {
  content: "";
  position: absolute;
  inset: 18px -18px -18px 18px;
  border: 2px solid var(--accent);
  border-radius: var(--radius);
  z-index: 0;
  opacity: 0.55;
}
.feature h2 { margin-bottom: 18px; }
.feature__text p { color: var(--slate); margin-bottom: 16px; }
.feature--invert .feature__media { order: 2; }
.feature--invert .feature__media::before { inset: 18px 18px -18px -18px; }

.checklist { margin-top: 26px; display: grid; gap: 14px; }
.checklist li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 0.99rem;
  color: var(--charcoal);
}
.checklist .tick {
  flex: none;
  width: 22px;
  height: 22px;
  margin-top: 2px;
  border-radius: 4px;
  background: var(--accent-soft);
  color: var(--accent-strong);
  display: grid;
  place-items: center;
}
.checklist--light li { color: var(--mist); }

/* ---------- Chips (engine brands) ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.chip {
  font-family: var(--font-head);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-size: 0.92rem;
  padding: 8px 16px;
  border: 1px solid var(--line-dark);
  border-radius: 999px;
  color: var(--mist);
  background: rgba(255, 255, 255, 0.03);
}

/* ---------- Industries ---------- */
.industries-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.industry {
  position: relative;
  min-height: 250px;
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  padding: 22px;
  border: 1px solid var(--line-dark);
  transition: transform 0.2s ease;
}
.industry:hover { transform: translateY(-5px); }
.industry img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.7);
  transition: transform 0.35s ease;
}
.industry:hover img { transform: scale(1.05); }
.industry::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(11, 10, 7, 0.15) 0%, rgba(11, 10, 7, 0.9) 100%);
}
.industry h3 {
  position: relative;
  z-index: 2;
  color: #fff;
  font-size: 1.3rem;
}
.industry p {
  position: relative;
  z-index: 2;
  color: var(--mist);
  font-size: 0.88rem;
  margin-top: 6px;
}

/* ---------- Process ---------- */
.process { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
.step {
  position: relative;
  padding: 30px 26px 30px 0;
  border-top: 1px solid var(--line-dark);
}
.step::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  width: 46px;
  height: 3px;
  background: var(--accent);
}
.step__num {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 2.2rem;
  color: rgba(204, 151, 36, 0.35);
  line-height: 1;
  margin-bottom: 10px;
}
.step h3 { color: #fff; font-size: 1.25rem; margin-bottom: 8px; }
.step p { color: var(--steel); font-size: 0.94rem; }

/* ---------- Value cards (about) ---------- */
.value-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.value {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius);
  padding: 32px 28px;
}
.value__icon {
  width: 50px;
  height: 50px;
  border-radius: var(--radius);
  background: var(--accent-soft);
  color: var(--accent-strong);
  display: grid;
  place-items: center;
  margin-bottom: 18px;
}
.value h3 { font-size: 1.25rem; color: var(--navy-900); margin-bottom: 10px; }
.value p { color: var(--slate); font-size: 0.97rem; }

/* ---------- Service detail rows (services page) ---------- */
.service-row {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 56px;
  align-items: center;
  padding: 56px 0;
  border-top: 1px solid #e2e8f0;
}
.service-row:first-of-type { border-top: none; padding-top: 8px; }
.service-row--invert .service-row__media { order: 2; }
.service-row__media { position: relative; }
.service-row__media img {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  width: 100%;
  object-fit: cover;
  aspect-ratio: 4 / 3;
}
.service-row__badge {
  position: absolute;
  top: -16px;
  left: -10px;
  background: var(--navy-900);
  color: #fff;
  font-family: var(--font-head);
  font-weight: 700;
  letter-spacing: 0.16em;
  font-size: 0.9rem;
  padding: 8px 16px;
  border-radius: 4px;
  border-left: 3px solid var(--accent);
}
.service-row h2 { font-size: clamp(1.6rem, 2.6vw, 2.1rem); margin-bottom: 14px; color: var(--navy-900); }
.service-row > div > p { color: var(--slate); margin-bottom: 18px; }
.spec-list { display: grid; gap: 12px; }
.spec-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 0.98rem;
}
.spec-list .dot {
  flex: none;
  width: 8px;
  height: 8px;
  margin-top: 8px;
  background: var(--accent);
  transform: rotate(45deg);
}

/* ---------- CTA band ---------- */
.cta-band {
  position: relative;
  background:
    linear-gradient(100deg, rgba(11, 10, 7, 0.96) 20%, rgba(11, 10, 7, 0.72) 100%),
    url("../img/plant-night.jpg") center / cover no-repeat;
  color: #fff;
  overflow: hidden;
}
.cta-band::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 6px;
  background: repeating-linear-gradient(
    -45deg,
    var(--accent) 0 14px,
    var(--navy-900) 14px 28px
  );
}
.cta-band__inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 78px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 36px;
  flex-wrap: wrap;
}
.cta-band h2 { font-size: clamp(1.8rem, 3.2vw, 2.5rem); }
.cta-band p { color: var(--mist); margin-top: 10px; max-width: 520px; }

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 48px;
  align-items: start;
}
.contact-cards { display: grid; gap: 16px; }
.contact-card {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius);
  padding: 22px;
}
.contact-card__icon {
  flex: none;
  width: 48px;
  height: 48px;
  border-radius: var(--radius);
  background: var(--navy-900);
  color: var(--accent);
  display: grid;
  place-items: center;
}
.contact-card h3 { font-size: 1.1rem; color: var(--navy-900); margin-bottom: 4px; }
.contact-card p, .contact-card a { color: var(--slate); font-size: 0.95rem; }
.contact-card a:hover { color: var(--accent-strong); }

.form {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-top: 4px solid var(--accent);
  border-radius: var(--radius);
  padding: 36px;
  box-shadow: var(--shadow);
}
.form h2 { font-size: 1.6rem; color: var(--navy-900); margin-bottom: 6px; }
.form > p { color: var(--slate); font-size: 0.95rem; margin-bottom: 26px; }
.form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form__field { display: flex; flex-direction: column; gap: 7px; }
.form__field--full { grid-column: 1 / -1; }
.form__field label {
  font-family: var(--font-head);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.85rem;
  color: var(--navy-900);
}
.form__field input,
.form__field select,
.form__field textarea {
  font-family: var(--font-body);
  font-size: 0.98rem;
  color: var(--charcoal);
  background: var(--paper);
  border: 1px solid #d7dfe8;
  border-radius: 4px;
  padding: 12px 14px;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.form__field textarea { min-height: 130px; resize: vertical; }
.form__field input:focus,
.form__field select:focus,
.form__field textarea:focus {
  outline: none;
  border-color: var(--accent-strong);
  box-shadow: 0 0 0 3px rgba(126, 95, 22, 0.15);
  background: #fff;
}
.form__note {
  grid-column: 1 / -1;
  font-size: 0.84rem;
  color: var(--slate);
  background: var(--paper);
  border-left: 3px solid var(--accent);
  border-radius: 4px;
  padding: 10px 14px;
}
.form__actions { grid-column: 1 / -1; display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.form__status { font-size: 0.9rem; color: var(--ok); font-weight: 600; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--ink);
  color: var(--steel);
  border-top: 1px solid var(--line-dark);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding: 64px 24px 48px;
  max-width: var(--container);
  margin: 0 auto;
}
.footer-brand .brand__name { color: #fff; }
.footer-brand p {
  margin-top: 16px;
  font-size: 0.94rem;
  max-width: 300px;
}
.site-footer h4 {
  color: #fff;
  font-size: 1.05rem;
  letter-spacing: 0.16em;
  margin-bottom: 18px;
}
.footer-links li { margin-bottom: 10px; }
.footer-links a {
  font-size: 0.94rem;
  transition: color 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.footer-links a::before {
  content: "";
  width: 6px;
  height: 6px;
  background: var(--accent);
  transform: rotate(45deg);
  opacity: 0.7;
}
.footer-links a:hover { color: #fff; }
.footer-contact li {
  display: flex;
  gap: 10px;
  margin-bottom: 12px;
  font-size: 0.94rem;
}
.footer-contact svg { color: var(--accent); flex: none; margin-top: 4px; }
.footer-bottom {
  border-top: 1px solid var(--line-dark);
  padding: 20px 24px;
  max-width: var(--container);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 0.84rem;
}
.footer-bottom a:hover { color: #fff; }

/* ---------- Reveal animation ---------- */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .cards-grid, .industries-grid { grid-template-columns: repeat(2, 1fr); }
  .stats__grid { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(3) { border-left: none; }
  .stat { border-top: 1px solid var(--line-dark); }
  .stat:nth-child(-n+2) { border-top: none; }
  .process { grid-template-columns: repeat(2, 1fr); gap: 24px 0; }
  .feature { grid-template-columns: 1fr; gap: 44px; }
  .feature--invert .feature__media { order: 0; }
  .service-row { grid-template-columns: 1fr; gap: 36px; }
  .service-row--invert .service-row__media { order: 0; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
  .topbar__list { display: none; }
  .topbar__inner { justify-content: center; }
  .nav__toggle { display: flex; }
  .nav__links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    background: var(--navy-900);
    border-bottom: 1px solid var(--line-dark);
    padding: 12px 24px 20px;
    gap: 2px;
  }
  .nav__links.open { display: flex; }
  .nav__links a { padding: 12px 8px; }
  .nav__links a.active::after { display: none; }
  .nav__cta { margin: 10px 0 0; justify-content: center; }
  .site-header--light .nav__links { background: #fff; }
  .hero__specbar-inner { grid-template-columns: 1fr; }
  .hero__spec + .hero__spec { border-left: none; border-top: 1px solid var(--line-dark); padding-left: 8px; }
  .cards-grid, .industries-grid, .process { grid-template-columns: 1fr; }
  .step { padding-right: 0; }
  .stats__grid { grid-template-columns: 1fr; }
  .stat { border-left: none; border-top: 1px solid var(--line-dark); }
  .stat:first-child { border-top: none; }
  .form { padding: 26px 20px; }
  .form__grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .section { padding: 64px 0; }
  .cta-band__inner { padding: 60px 24px; }
}

/* ---------- Real logo ---------- */
.brand__logo {
  height: 118px;
  width: auto;
  display: block;
  filter: drop-shadow(0 0 12px rgba(217, 169, 63, 0.25));
}
.footer-brand .brand__logo { height: 66px; }
@media (max-width: 720px) {
  .brand__logo { height: 88px; }
}

/* ---------- TR: black chrome + gold topbar + plain logo ---------- */
.topbar {
  background: #cc9724;
  color: #241a06;
  border-bottom: 1px solid rgba(0, 0, 0, 0.35);
}
.topbar__list a, .topbar__list a:hover { color: #241a06; }
.topbar__emergency { color: #140f04; }
.site-header {
  background: rgba(0, 0, 0, 0.96);
  border-bottom: 1px solid rgba(204, 151, 36, 0.25);
}
.nav__links { background: #000000; }
.site-footer { background: #000000; }
.brand__logo { height: 88px; filter: none; }
.footer-brand .brand__logo { height: 56px; }
@media (max-width: 720px) {
  .brand__logo { height: 66px; }
}

/* ---------- About page banner ---------- */
.pagehero--about {
  background:
    linear-gradient(100deg, rgba(6, 13, 24, 0.95) 0%, rgba(21, 18, 9, 0.85) 55%, rgba(21, 18, 9, 0.62) 100%),
    url("../img/about-us-banner.jpg") center / cover no-repeat,
    var(--navy-900);
}

/* ---------- Services page banner ---------- */
.pagehero--services {
  background:
    linear-gradient(100deg, rgba(6, 13, 24, 0.95) 0%, rgba(21, 18, 9, 0.85) 55%, rgba(21, 18, 9, 0.62) 100%),
    url("../img/services-banner.jpg") center / cover no-repeat,
    var(--navy-900);
}

/* ---------- Contact page banner ---------- */
.pagehero--contact {
  background:
    linear-gradient(100deg, rgba(6, 13, 24, 0.95) 0%, rgba(21, 18, 9, 0.85) 55%, rgba(21, 18, 9, 0.62) 100%),
    url("../img/contact-banner.jpg") center / cover no-repeat,
    var(--navy-900);
}

/* ---------- Contact offices + quote form ---------- */
.office-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.office-card {
  background: #fff; border: 1px solid #e2e8f0; border-top: 3px solid var(--accent);
  border-radius: var(--radius); padding: 30px 28px;
}
.office-card__tag {
  font-family: var(--font-head); font-weight: 600; letter-spacing: 0.2em;
  text-transform: uppercase; font-size: 0.8rem; color: var(--accent-strong); margin-bottom: 8px;
}
.office-card h3 { font-size: 1.55rem; color: var(--charcoal); margin-bottom: 8px; }
.office-card p { color: var(--slate); font-size: 0.98rem; }
.office-card__meta { margin-top: 10px; font-size: 0.92rem; }
.office-card__meta a { color: var(--accent-strong); font-weight: 600; }
.office-map { width: 100%; height: 250px; border: 0; border-radius: var(--radius); margin-top: 18px; }
.contact-note {
  margin-top: 26px; text-align: center; color: var(--slate); font-size: 0.95rem;
  background: var(--paper); border-radius: var(--radius); padding: 14px 18px;
}
.contact-note a { color: var(--accent-strong); font-weight: 600; }
.quote-grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 40px; align-items: start; }
.phone-group { display: flex; }
.phone-group__code {
  font-family: var(--font-head); font-weight: 600; font-size: 1.02rem; color: var(--charcoal);
  background: var(--paper); border: 1px solid #d7dfe8; border-right: 0;
  border-radius: 4px 0 0 4px; padding: 12px 12px; min-width: 62px; text-align: center;
}
.phone-group input { border-radius: 0 4px 4px 0; flex: 1; width: 100%; }
.contact-card__icon.num { font-family: var(--font-head); font-weight: 700; font-size: 1.2rem; }
@media (max-width: 1024px) { .quote-grid { grid-template-columns: 1fr; } }
@media (max-width: 720px) { .office-grid { grid-template-columns: 1fr; } }

/* ---------- Single office (wide) layout ---------- */
.office-grid--single { max-width: 980px; margin: 0 auto; }
.office-card--wide {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 30px;
  align-items: center;
}
.office-card--wide h3 { font-size: 1.9rem; }
.office-card__mapwrap { min-width: 0; }
.office-card--wide .office-map { height: 320px; margin-top: 0; }
@media (max-width: 720px) {
  .office-card--wide { grid-template-columns: 1fr; gap: 20px; }
  .office-card--wide .office-map { height: 250px; }
}
