/* Blackstar SRT LLC - shared design system (owner: orchestrator).
   Page subagents may ONLY append page-scoped rules under a banner comment
   whose text is page: followed by the slug. Do not edit this shared block. */

:root {
  --maroon: #820c12;
  --red: #df3131;
  --red-2: #e03939;
  --red-orange: #f34237;
  --ink: #212121;
  --black: #000000;
  --white: #ffffff;
  --grey: #5d5d61;
  --soft: #f6f6f6;
  --line: #e4e4e4;
  --head: "Oswald", "Arial Narrow", sans-serif;
  --body: "Nunito Sans", -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --wrap: 1200px;
  --radius: 4px;
  --shadow: 0 10px 30px rgba(0,0,0,.12);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--body);
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  font-size: 16px;
}

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--head);
  font-weight: 600;
  line-height: 1.2;
  margin: 0 0 .4em;
  letter-spacing: .2px;
}

p { margin: 0 0 1em; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }

.accent { color: var(--red); }

/* ---------- buttons ---------- */
.btn {
  display: inline-block;
  font-family: var(--head);
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
  font-size: 14px;
  padding: 12px 26px;
  border-radius: 2px;
  cursor: pointer;
  border: 2px solid transparent;
  transition: background-color .25s ease, color .25s ease, transform .25s ease;
}
.btn-red { background: var(--red); color: #fff; }
.btn-red:hover { background: #c21f1f; }
.btn-orange { background: var(--red-orange); color: #fff; border: none; }
.btn-orange:hover { background: #d8362b; }
.btn-outline { background: transparent; color: #fff; border: 2px solid #fff; }
.btn-outline:hover { background: #fff; color: var(--ink); }
.btn-ghost { background: transparent; color: #fff; border: 1px solid rgba(255,255,255,.7); }
.btn-ghost:hover { background: rgba(255,255,255,.14); }

/* ---------- top bar ---------- */
.topbar {
  background: linear-gradient(90deg, #820c12 0%, #ea281c 100%);
  color: #fff;
  font-size: 13px;
  position: relative;
  z-index: 5;
  overflow: hidden;
}
/* subtle texture strip laid over the red gradient, as on the source bar */
.topbar::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url('orig/01.jpg') center/100% 100% no-repeat;
  opacity: .19;
  pointer-events: none;
}
.topbar .wrap {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  min-height: 37px;
  padding-top: 6px;
  padding-bottom: 6px;
}
.topbar-left { display: flex; gap: 22px; align-items: center; flex-wrap: wrap; }
.topbar a, .topbar span { color: #fff; }
.topbar .ti { display: inline-flex; align-items: center; gap: 7px; }
.topbar .ti svg { width: 14px; height: 14px; fill: #fff; flex: 0 0 auto; }

/* ---------- header / nav ---------- */
.site-header {
  background: #fff;
  position: sticky;
  top: 0;
  z-index: 40;
  box-shadow: 0 2px 10px rgba(0,0,0,.06);
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 78px;
  gap: 18px;
}
.brand img { width: 58px; height: auto; }
/* the Advance Construction mark is a wide wordmark, not a square shield */
.brand-wordmark img { width: 118px; }
.footer-wordmark { width: 150px !important; }
.mainnav ul {
  list-style: none;
  display: flex;
  gap: 40px;
  margin: 0;
  padding: 0;
}
.mainnav a {
  font-family: var(--head);
  font-weight: 500;
  font-size: 15px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--ink);
  padding: 6px 0;
  transition: color .2s ease;
}
.mainnav a:hover { color: var(--red); }
.mainnav a.active { color: var(--red); }
.header-right { display: flex; align-items: center; gap: 14px; }
.nav-back {
  width: 34px; height: 34px;
  border-radius: 50%;
  background: #111;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}
.nav-back svg { width: 14px; height: 14px; fill: #fff; }

.nav-toggle { display: none; }
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
}
.hamburger span { width: 26px; height: 3px; background: var(--ink); border-radius: 2px; }

/* ---------- generic section ---------- */
.section { padding: 78px 0; }
.section-sm { padding: 54px 0; }
.center { text-align: center; }
.eyebrow {
  font-family: var(--body);
  font-weight: 600;
  color: var(--grey);
  font-size: 15px;
  margin-top: 4px;
}
.h-xl { font-size: 44px; }
.h-lg { font-size: 34px; }
.h-md { font-size: 26px; }
.lead { font-size: 17px; color: #3a3a3a; max-width: 760px; }

/* ---------- interior page hero (diagonal maroon/black) ---------- */
.page-hero {
  position: relative;
  min-height: 470px;
  display: flex;
  align-items: center;
  color: #fff;
  overflow: hidden;
  background: #111 center/cover no-repeat;
}
/* maroon wedge left of a diagonal that falls away to the right, held at the
   source's 55% tint so the photograph still reads through it */
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(54deg,
    rgba(130,12,18,.55) 0 49.12%,
    rgba(0,0,0,.55) 49.12%);
  z-index: 1;
}
.page-hero .wrap { position: relative; z-index: 2; width: 100%; }
.page-hero .hero-inner {
  margin-left: auto;
  max-width: 560px;
  text-align: right;
  padding: 40px 0;
}
.page-hero .crumbs {
  font-family: var(--head);
  letter-spacing: 1px;
  font-size: 13px;
  text-transform: uppercase;
  margin-bottom: 14px;
  color: #eee;
}
.page-hero .crumbs a { text-decoration: underline; }
.page-hero h1 { font-size: 46px; color: #fff; }
.page-hero p { color: #eaeaea; margin: 0; }

/* ---------- home hero ---------- */
.home-hero {
  position: relative;
  min-height: 640px;
  display: flex;
  align-items: center;
  color: #fff;
  overflow: hidden;
}
.home-hero .hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}
.home-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(54deg,
    rgba(130,12,18,.49) 0 49.12%,
    rgba(0,0,0,.49) 49.12%);
  z-index: 1;
}
.home-hero > .wrap { position: relative; z-index: 2; width: 100%; }
.home-hero .hero-inner {
  position: relative;
  z-index: 2;
  max-width: 620px;
  margin-left: auto;
  text-align: right;
}
.home-hero h1 { font-size: 52px; color: #fff; }
.home-hero p { font-size: 18px; color: #f0f0f0; margin-bottom: 26px; }
.hero-cta { display: flex; gap: 16px; flex-wrap: wrap; justify-content: flex-end; }

/* ---------- red band (CTA / partner) ---------- */
.red-band {
  position: relative;
  color: #fff;
  overflow: hidden;
}
.red-band .band-media {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: 0;
}
.band-panel {
  position: relative;
  z-index: 2;
  background: linear-gradient(90deg, rgba(130,12,18,.87) 0%, rgba(234,40,28,.87) 100%);
  color: #fff;
  padding: 46px 44px;
  max-width: 560px;
  margin-left: auto;
  min-height: 415px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.band-panel h2 { color: #fff; font-size: 30px; }
.band-panel p { color: #fbeaea; }
.band-panel .btn { align-self: flex-start; }

/* the "Your Trusted Partner" panel stands taller than the rest */
.band-tall .band-panel { min-height: 498px; }

/* variant: photo sits beside the panel rather than behind the whole band */
.band-aside {
  position: relative;
  background: var(--soft);
  padding: 46px 0;
  overflow: hidden;
}
.band-aside .band-figure {
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 30%;
  z-index: 1;
}
.band-aside .band-figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.band-aside .band-panel {
  margin-left: 21%;
  margin-right: auto;
  max-width: 700px;
  width: 56%;
}

/* ---------- feature icons grid ---------- */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 34px;
}
.feature {
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px 16px;
  background: #fff;
  transition: box-shadow .25s ease, transform .25s ease;
}
.feature:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.feature img { width: 42px; height: 42px; object-fit: contain; flex: 0 0 auto; }
.feature span {
  font-family: var(--head);
  font-weight: 500;
  font-size: 15px;
  line-height: 1.25;
}

/* ---------- services card grid (home) ---------- */
.svc-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.svc-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  aspect-ratio: 3 / 4;
  background: #ddd;
}
.svc-card img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}
.svc-card:hover img { transform: scale(1.06); }
.svc-card .cap {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 18px 16px;
  color: #fff;
  font-family: var(--head);
  font-weight: 500;
  font-size: 17px;
  background: linear-gradient(180deg, rgba(0,0,0,0), rgba(0,0,0,.82));
}

/* ---------- split feature (image + text) ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.split.reverse .split-media { order: 2; }
.split-media img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius); }
.split-body h2 { font-size: 32px; }

/* ---------- testimonial ---------- */
.testimonial {
  background: #0b0b0b;
  color: #fff;
  text-align: center;
  padding: 90px 0;
}
.testimonial .quote-mark {
  font-family: var(--head);
  font-size: 90px;
  color: var(--red);
  line-height: .6;
  margin-bottom: 10px;
}
.testimonial blockquote {
  max-width: 720px;
  margin: 0 auto 18px;
  font-size: 18px;
  color: #e9e9e9;
}
.testimonial cite {
  font-family: var(--head);
  font-style: normal;
  font-weight: 600;
  letter-spacing: 1px;
}

/* ---------- review carousel ---------- */
.carousel { position: relative; padding: 0 56px; }
.c-viewport { position: relative; }
.c-slide {
  margin: 0;
  opacity: 0;
  visibility: hidden;
  position: absolute;
  inset: 0;
  transition: opacity .45s ease;
}
.c-slide.is-active { opacity: 1; visibility: visible; position: relative; }
/* without JS the first review simply stands on its own */
.carousel:not(.is-ready) .c-slide:first-child { opacity: 1; visibility: visible; position: relative; }
.c-slide blockquote {
  max-width: 720px;
  margin: 0 auto 18px;
  font-size: 18px;
  color: #e9e9e9;
}
.c-slide figcaption {
  font-family: var(--head);
  font-weight: 600;
  letter-spacing: 1px;
  color: #fff;
}
.c-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 34px;
  height: 34px;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,.18);
  border: none;
  color: #fff;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  transition: background-color .25s ease;
}
.carousel.is-ready .c-arrow { display: flex; }
.c-arrow:hover { background: rgba(255,255,255,.34); }
.c-prev { left: 0; }
.c-next { right: 0; }
.c-dots { display: flex; gap: 10px; justify-content: center; margin-top: 28px; }
.c-dots button {
  width: 9px;
  height: 9px;
  padding: 0;
  border: none;
  background: #fff;
  cursor: pointer;
  transition: background-color .25s ease;
}
.c-dots button[aria-current="true"] { background: var(--red); }

/* ---------- FAQ accordion ---------- */
.faq { max-width: 900px; margin: 0 auto; display: grid; gap: 14px; }
.faq details {
  display: flex;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: #fff;
}
.faq summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: stretch;
  font-family: var(--head);
  font-weight: 500;
  font-size: 18px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq .num {
  background: var(--maroon);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 62px;
  flex: 0 0 auto;
  font-size: 18px;
}
.faq details[open] .num { background: var(--red); }
.faq .q {
  flex: 1;
  padding: 20px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.faq .q .chev { transition: transform .3s ease; color: var(--grey); }
.faq details[open] .q .chev { transform: rotate(180deg); }
.faq .a { padding: 0 22px 22px 84px; color: #444; }
.faq .a p { margin: .5em 0; }

/* ---------- contact form ---------- */
.contact-block { background: #050505; color: #fff; }
.form-card { max-width: 720px; margin: 0 auto; }
.lead-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.lead-form .full { grid-column: 1 / -1; }
.lead-form label { display: block; font-size: 13px; }
.lead-form input,
.lead-form textarea {
  width: 100%;
  background: #1c1c1c;
  border: 1px solid #333;
  border-bottom: 2px solid #444;
  color: #fff;
  padding: 14px 14px;
  font-family: var(--body);
  font-size: 15px;
  border-radius: 2px;
}
.lead-form input::placeholder,
.lead-form textarea::placeholder { color: #9a9a9a; }
.lead-form input:focus,
.lead-form textarea:focus { outline: none; border-color: var(--red); }
.lead-form textarea { min-height: 120px; resize: vertical; }
.lead-form .submit-row { grid-column: 1 / -1; text-align: center; margin-top: 6px; }
.hp {
  position: absolute;
  left: -9999px;
  overflow: hidden;
  height: 0;
  width: 0;
}
.contact-cards {
  max-width: 900px;
  margin: 40px auto 0;
  border: 1px solid var(--red);
  border-radius: var(--radius);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  padding: 26px 30px;
}
.contact-cards h4 {
  font-family: var(--head);
  color: #fff;
  letter-spacing: 1px;
  margin-bottom: 8px;
}
.contact-cards .ci { display: flex; gap: 10px; align-items: flex-start; color: #ddd; }
.contact-cards .ci svg { width: 18px; height: 18px; fill: var(--red); flex: 0 0 auto; margin-top: 3px; }

/* ---------- location map ---------- */
.map-embed {
  margin-top: 34px;
  background: #e8e6e1;
  line-height: 0;
}
.map-embed iframe { display: block; width: 100%; height: 315px; border: 0; }

/* ---------- footer ---------- */
.site-footer { background: #fff; color: var(--grey); border-top: 1px solid var(--line); }
.footer-main {
  display: grid;
  grid-template-columns: 1.1fr 1fr 1.2fr;
  gap: 40px;
  padding: 64px 0 48px;
}
.footer-brand img { width: 74px; height: auto; margin-bottom: 18px; }
.footer-social { display: flex; gap: 12px; }
.footer-social a {
  width: 40px; height: 40px;
  border: 1px solid var(--red);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.footer-social img { width: 18px; height: 18px; }
.footer h4, .footer-col h4 {
  font-family: var(--head);
  color: var(--ink);
  font-size: 22px;
  letter-spacing: 1px;
  margin-bottom: 16px;
}
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer-col a:hover { color: var(--red); }
.footer-contact p { margin: 0 0 10px; }
.footer-contact a:hover { color: var(--red); }
.footer-bar {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  font-size: 13px;
  min-height: 60px;
  padding: 12px 24px;
  background: linear-gradient(90deg, #820c12 0%, #f34237 100%);
  overflow: hidden;
}
.footer-bar span { position: relative; z-index: 1; }

/* ---------- motion (always ends visible; animation always runs) ---------- */
@keyframes floatIn {
  0%   { opacity: 0; transform: translateY(26px); }
  100% { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  0%   { opacity: 0; }
  100% { opacity: 1; }
}
@keyframes pulseDot {
  0%, 100% { transform: scale(1); opacity: 1; }
  50%      { transform: scale(1.35); opacity: .55; }
}
.reveal { animation: floatIn .8s cubic-bezier(.22,1,.36,1) both; }
.reveal-2 { animation: floatIn .8s cubic-bezier(.22,1,.36,1) .12s both; }
.reveal-3 { animation: floatIn .8s cubic-bezier(.22,1,.36,1) .24s both; }
.fade-in { animation: fadeIn 1s ease both; }

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal, .reveal-2, .reveal-3, .fade-in { opacity: 1 !important; transform: none !important; }
}

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  .band-aside { padding: 0; }
  .band-aside .band-figure { position: relative; width: 100%; height: 240px; }
  .band-aside .band-panel { margin: 0; width: auto; max-width: none; }
  .band-panel, .band-tall .band-panel { min-height: 0; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .svc-grid { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1fr; gap: 26px; }
  .split.reverse .split-media { order: 0; }
  .footer-main { grid-template-columns: 1fr; gap: 30px; }
  .contact-cards { grid-template-columns: 1fr; }
  .page-hero::before { background:
      linear-gradient(180deg, rgba(130,12,18,.55), rgba(0,0,0,.72)); }
  .page-hero .hero-inner { text-align: left; max-width: none; margin: 0; }
  .home-hero::after { background:
      linear-gradient(180deg, rgba(130,12,18,.5), rgba(0,0,0,.68)); }
  .home-hero .hero-inner { text-align: left; max-width: none; margin: 0; }
  .hero-cta { justify-content: flex-start; }

  .hamburger { display: flex; }
  .mainnav {
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    background: #fff;
    box-shadow: 0 12px 24px rgba(0,0,0,.12);
    max-height: 0;
    overflow: hidden;
    transition: max-height .3s ease;
  }
  .mainnav ul { flex-direction: column; gap: 0; padding: 8px 0; }
  .mainnav li { padding: 0 24px; }
  .mainnav a { display: block; padding: 12px 0; border-bottom: 1px solid var(--line); }
  .nav-toggle:checked ~ .mainnav { max-height: 320px; }
}

@media (max-width: 560px) {
  .carousel { padding: 0; }
  .carousel.is-ready .c-arrow { display: none; }
  .home-hero h1 { font-size: 36px; }
  .page-hero h1 { font-size: 32px; }
  .h-xl { font-size: 32px; }
  .lead-form { grid-template-columns: 1fr; }
  .svc-grid { grid-template-columns: 1fr; }
  .feature-grid { grid-template-columns: 1fr; }
  .topbar .wrap { flex-direction: column; align-items: flex-start; gap: 4px; }
}
