:root {
  --black: #0d0f11;
  --charcoal: #1b1f23;
  --charcoal-2: #2a2f35;
  --white: #ffffff;
  --off-white: #f4f6f7;
  --red: #e63946;
  --red-dark: #b3272f;
  --red-darker: #8c1f25;
  --red-shadow: #341012;
  --text-dark: #1b1f23;
  --text-muted: #6b7280;
  --text-light: #e7e9ea;
  --text-light-muted: #aab1b8;
  --border-light: #e2e5e8;
  --radius: 10px;
  --wrap: 1180px;
  --shadow: 0 10px 30px rgba(0,0,0,.12);
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  /* Hero background rotation/entrance opt out of the reduced-motion override above --
     client wants the crossfade and fade-in to play at full, normal speed for every
     visitor, not snap instantly, even when their browser/OS requests reduced motion. */
  .hero__carousel { animation-duration: 1.4s !important; }
  .hero .carousel__slide { transition-duration: 1s !important; }
}

a:focus-visible, button:focus-visible {
  outline: 2px solid var(--red-dark);
  outline-offset: 2px;
  border-radius: 2px;
}
.site-header a:focus-visible, .site-header button:focus-visible,
.nav-menu a:focus-visible, .nav-menu button:focus-visible,
.section--dark a:focus-visible, .section--dark button:focus-visible {
  outline-color: var(--red);
}

body {
  margin: 0;
  background: var(--white);
  color: var(--text-dark);
  font-family: -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
}

h1, h2, h3 { font-weight: 800; line-height: 1.2; margin: 0 0 .5em; color: var(--text-dark); }
.section--dark h1, .section--dark h2, .section--dark h3 { color: var(--white); }
h1 { font-size: clamp(2rem, 5vw, 3rem); }
h2 { font-size: clamp(1.6rem, 3.6vw, 2.2rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }
a { color: var(--red-dark); text-decoration: none; }
.section--dark a:not(.btn) { color: var(--red); }
ul { padding: 0; margin: 0; list-style: none; }
address { font-style: normal; }
img, svg.icon { display: inline-block; vertical-align: middle; }
svg.icon { fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.wrap--narrow { max-width: 640px; text-align: center; }

.eyebrow {
  display: inline-block;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--red-dark);
  margin-bottom: .5em;
}
.section--dark .eyebrow { color: var(--red); }

.lead { font-size: 1.1rem; color: var(--text-muted); }
.section--dark .lead { color: var(--text-light-muted); }

.section { padding: 72px 0; scroll-margin-top: 108px; }
.section--dark { background: var(--black); }
.section--dark p { color: var(--text-light-muted); }
.section--split { background: var(--off-white); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: 6px;
  font-weight: 700;
  font-size: .95rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: background-color .15s ease, color .15s ease, border-color .15s ease, transform .15s ease;
}
@media (hover: hover) {
  .btn:hover { transform: translateY(-1px); }
}
.btn--primary { background: var(--red-dark); color: var(--white); }
@media (hover: hover) { .btn--primary:hover { background: var(--red-darker); } }
.btn--ghost { border-color: var(--white); color: var(--white); }
@media (hover: hover) { .btn--ghost:hover { background: var(--white); color: var(--black); } }
.btn--quote { background: var(--white); color: var(--red-dark); }
@media (hover: hover) { .btn--quote:hover { background: var(--red-dark); color: var(--white); } }
.btn--full { width: 100%; justify-content: center; }

/* ---------- Header ---------- */
/* Fixed (not sticky) so it floats transparently over the hero image instead of
   reserving its own flow space above it; goes solid once .is-scrolled engages. */
.site-header { position: fixed; top: 0; left: 0; right: 0; z-index: 100; transition: box-shadow .2s ease; }
.site-header.is-scrolled { box-shadow: 0 6px 20px rgba(0,0,0,.4); }

.utility-bar { background: transparent; color: var(--text-light-muted); font-size: .82rem; overflow: hidden; max-height: 44px; transition: max-height .25s ease, opacity .2s ease; }
.utility-bar__inner { display: flex; justify-content: space-between; align-items: center; padding: 7px 20px; gap: 16px; flex-wrap: wrap; }
.utility-bar__contacts { display: flex; gap: 20px; }
.utility-bar__contacts a { color: var(--text-light-muted); display: inline-flex; align-items: center; gap: 6px; }
@media (hover: hover) { .utility-bar__contacts a:hover { color: var(--white); } }
.site-header.is-scrolled .utility-bar { max-height: 0; opacity: 0; }

.navbar { background: transparent; transition: background-color .2s ease; }
.site-header.is-scrolled .navbar { background: var(--charcoal); }
.navbar__inner { display: flex; align-items: center; justify-content: space-between; padding: 14px 20px; transition: padding .2s ease; }
.is-scrolled .navbar__inner { padding: 9px 20px; }

.brand { color: var(--white); font-weight: 800; font-size: 1.15rem; letter-spacing: .01em; display: inline-flex; align-items: center; }
.brand__mark {
  /* Full lockup (icon + I-beam + "STEEL BAND / PROJECTS" text) per client request --
     sized taller than the old icon-only mark since the wordmark needs the height
     to read at all; the client has consistently preferred the real logo intact
     over a more compact treatment, even at the cost of some small-size legibility. */
  display: block; width: auto; height: 56px; flex-shrink: 0;
  transition: height .2s ease;
}
.is-scrolled .brand__mark { height: 44px; }
.brand--footer .brand__mark { height: 72px; }

.nav-toggle { display: none; background: none; border: none; color: var(--white); cursor: pointer; padding: 4px; }
.nav-close { display: none; }

.nav-menu { display: flex; align-items: center; gap: 28px; }
.nav-menu ul { display: flex; gap: 24px; }
.nav-link { color: var(--text-light); font-weight: 600; font-size: .95rem; padding: 6px 2px; border-bottom: 2px solid transparent; transition: color .15s ease, border-color .15s ease; }
@media (hover: hover) { .nav-link:hover { color: var(--white); border-color: var(--red); } }
.nav-link.is-active { color: var(--white); border-color: var(--red); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background: var(--black);
  color: var(--white);
  overflow: hidden;
  display: flex;
  align-items: center;
  min-height: 100vh;
  min-height: 100svh;
  padding: 150px 0 90px;
}
.hero .hero__carousel { position: absolute; inset: 0; animation: heroFadeIn 1.4s ease; }
@keyframes heroFadeIn { from { opacity: 0; } to { opacity: 1; } }
.hero .carousel__viewport { position: absolute; inset: 0; aspect-ratio: unset; border-radius: 0; background: none; z-index: 0; }
.hero .carousel__track { height: 100%; }
.hero .hero__bg { width: 100%; height: 100%; object-fit: cover; display: block; }
/* Ambient background rotation, no manual controls -- each slide is stacked full-bleed
   and crossfades via opacity instead of the gallery's slide-across transform. */
.hero .carousel__slide { position: absolute; inset: 0; flex: none; opacity: 0; z-index: 0; transition: opacity 1s ease; }
.hero .carousel__slide.is-active { opacity: 1; z-index: 1; }
.hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  /* Top band keeps the transparent floating header legible over any part of the
     slide; the left-to-right layer underneath keeps the hero copy legible. */
  background:
    linear-gradient(180deg, rgba(13,15,17,.8) 0%, rgba(13,15,17,0) 22%),
    linear-gradient(90deg, rgba(13,15,17,.94) 0%, rgba(13,15,17,.84) 42%, rgba(13,15,17,.5) 100%);
}
.hero__inner { position: relative; z-index: 2; max-width: 760px; }
.hero h1 { color: var(--white); }
.hero p { font-size: 1.1rem; color: var(--text-light-muted); }
.hero__cta { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 8px; }

/* ---------- About: lists & grids ---------- */
.check-list li { display: flex; align-items: flex-start; gap: 10px; margin-bottom: .55em; }
.check-list li svg { margin-top: 3px; color: var(--red-dark); flex-shrink: 0; }
.section--dark .check-list li svg { color: var(--red); }
.section--dark .check-list li { color: var(--text-light); }
.check-list--inline { display: grid; grid-template-columns: repeat(2, 1fr); gap: 4px 20px; margin: 1em 0; }

.vm-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; margin: 40px 0; }
.vm-card { background: var(--off-white); border-radius: var(--radius); padding: 32px; }

.apart { margin-top: 40px; }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin: 24px 0; }
.feature { display: flex; align-items: flex-start; gap: 12px; padding: 18px; border: 1px solid var(--border-light); border-radius: var(--radius); }
.feature svg { color: var(--red-dark); flex-shrink: 0; }
.section--dark .feature { border-color: var(--charcoal-2); }
.section--dark .feature svg { color: var(--red); }
.section--dark .feature span { color: var(--text-light); }
.why-closing { display: flex; align-items: center; gap: 10px; color: var(--red); font-weight: 700; margin-top: 8px; }

/* ---------- Services ---------- */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 32px; }
.service-card { background: var(--charcoal); border-radius: var(--radius); padding: 28px; border: 1px solid var(--charcoal-2); }
.service-card--wide { grid-column: span 3; }
.service-card__icon { color: var(--red); margin-bottom: 14px; }
.service-card p { color: var(--text-light-muted); }
.transport-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 18px; }
.transport-list li { display: flex; align-items: center; gap: 10px; background: var(--charcoal-2); padding: 12px 14px; border-radius: 8px; }
.transport-list li span { color: var(--text-light); font-size: 1rem; }
.transport-list em { color: var(--text-light-muted); font-style: normal; }

/* ---------- Split (Areas We Operate) ---------- */
.split { display: flex; align-items: center; gap: 40px; }
.split__icon { color: var(--red-dark); flex-shrink: 0; }

/* ---------- Icon grid (industries) ---------- */
.icon-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 28px; }
.icon-tile { display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; padding: 24px 12px; background: var(--off-white); border-radius: var(--radius); }
.icon-tile svg { color: var(--red-dark); }
.icon-tile span { font-weight: 600; font-size: 1rem; }

/* ---------- Gallery ---------- */
.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 28px; }
.gallery-tile { margin: 0; }
.gallery-tile__placeholder {
  aspect-ratio: 4 / 3;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--charcoal), var(--red-shadow));
  color: var(--text-light-muted);
  border-radius: var(--radius);
}
.gallery-tile figcaption { margin-top: 8px; font-size: .95rem; font-weight: 600; text-align: center; color: var(--text-muted); }

.gallery-tile__photo { aspect-ratio: 4 / 3; border-radius: var(--radius); overflow: hidden; background: var(--charcoal); }
.gallery-tile__photo img { width: 100%; height: 100%; object-fit: contain; display: block; }

/* ---------- Carousel ---------- */
.carousel { position: relative; }
.carousel__viewport { aspect-ratio: 4 / 3; border-radius: var(--radius); overflow: hidden; background: var(--charcoal); }
.carousel__track {
  display: flex;
  height: 100%;
  transition: transform .35s ease;
}
.carousel__slide { flex: 0 0 100%; height: 100%; }
.carousel__slide img { width: 100%; height: 100%; object-fit: contain; display: block; }

.carousel__btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 34px; height: 34px;
  border-radius: 50%;
  border: none;
  background: rgba(13, 15, 17, .55);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background-color .15s ease;
}
@media (hover: hover) { .carousel__btn:hover { background: rgba(13, 15, 17, .8); } }
.carousel__btn--prev { left: 8px; }
.carousel__btn--prev svg { transform: scaleX(-1); }
.carousel__btn--next { right: 8px; }

.carousel__dots { position: absolute; bottom: 10px; left: 0; right: 0; display: flex; justify-content: center; gap: 6px; }
.carousel__dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  border: none;
  padding: 0;
  background: rgba(255,255,255,.55);
  cursor: pointer;
}
.carousel__dot.is-active { background: var(--white); }
@media (hover: hover) { .carousel__dot:hover { background: var(--white); } }

.carousel__status { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* ---------- Testimonials ---------- */
#testimonials .wrap--narrow svg { color: var(--red); margin-bottom: 12px; }

.testimonial {
  max-width: 640px;
  margin: 32px auto 0;
  padding: 0;
  text-align: center;
}
.testimonial p { color: var(--text-light-muted); font-size: 1.15rem; }
.testimonial__author { margin-top: 20px; display: flex; flex-direction: column; align-items: center; gap: 2px; }
.testimonial__author cite { font-style: normal; font-weight: 700; color: var(--white); }
.testimonial__author span { color: var(--text-light-muted); font-size: .9rem; }

/* ---------- Safety ---------- */
.icon-grid--safety { grid-template-columns: repeat(4, 1fr); }
.safety-tile { background: var(--off-white); border-radius: var(--radius); padding: 22px; }
.safety-tile svg { color: var(--red-dark); margin-bottom: 10px; }
.safety-tile h3 { font-size: 1rem; margin-bottom: .3em; }
.safety-tile p { font-size: .95rem; color: var(--text-muted); margin: 0; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 48px; margin-top: 32px; align-items: start; }
.contact-details li { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.contact-details svg { color: var(--red); flex-shrink: 0; }
.contact-details a, .contact-details address { color: var(--text-light); font-weight: 600; }
.social-links { display: flex; gap: 12px; margin: 12px 0 24px; }
.social-links a {
  width: 40px; height: 40px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: var(--charcoal-2); color: var(--text-light);
  transition: background-color .15s ease, color .15s ease;
}
@media (hover: hover) { .social-links a:hover { background: var(--red); color: var(--white); } }
.map-embed { border-radius: var(--radius); overflow: hidden; margin-top: 8px; border: 1px solid var(--charcoal-2); }
.map-embed iframe { width: 100%; height: 260px; border: 0; display: block; }

.quote-form { background: var(--white); color: var(--text-dark); border-radius: var(--radius); padding: 32px; box-shadow: var(--shadow); }
.quote-form h3 { color: var(--text-dark); scroll-margin-top: 108px; }
.form-row { margin-bottom: 16px; display: flex; flex-direction: column; gap: 6px; }
.form-row label { font-weight: 600; font-size: .9rem; }
.form-row input, .form-row select, .form-row textarea {
  padding: 11px 12px;
  border: 1px solid var(--border-light);
  border-radius: 6px;
  font: inherit;
  color: var(--text-dark);
  background: var(--white);
}
.form-row input:focus, .form-row select:focus, .form-row textarea:focus {
  outline: 2px solid var(--red-dark);
  outline-offset: 1px;
}
.form-row--hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { margin: 12px 0 0; font-weight: 600; min-height: 1.2em; }
.form-status[data-state="success"] { color: #1a7a3e; }
.form-status[data-state="error"] { color: #b3261e; }

/* ---------- Footer ---------- */
.site-footer { background: var(--black); color: var(--text-light-muted); padding: 48px 0 20px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 32px; padding-bottom: 32px; border-bottom: 1px solid var(--charcoal-2); }
.brand--footer { margin-bottom: 10px; }
.footer-grid nav ul { display: flex; flex-direction: column; gap: 10px; }
.footer-grid nav a, .footer-grid > div:last-child a { color: var(--text-light-muted); display: block; margin-bottom: 8px; }
@media (hover: hover) { .footer-grid a:hover { color: var(--white); } }
.footer-copy { text-align: center; font-size: .82rem; margin: 20px 0 0; }
.footer-copy a { color: var(--text-light-muted); text-decoration: underline; }
@media (hover: hover) { .footer-copy a:hover { color: var(--white); } }

/* ---------- WhatsApp FAB ---------- */
.whatsapp-fab {
  position: fixed;
  right: 20px;
  bottom: 20px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25d366;
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 18px rgba(0,0,0,.25);
  z-index: 90;
  transition: transform .15s ease;
}
@media (hover: hover) { .whatsapp-fab:hover { transform: scale(1.06); } }

/* ---------- Scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .5s ease, transform .5s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

/* ================= Breakpoints ================= */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .service-card--wide { grid-column: span 2; }
  .transport-list { grid-template-columns: repeat(2, 1fr); }
  .icon-grid { grid-template-columns: repeat(3, 1fr); }
  .icon-grid--safety { grid-template-columns: repeat(3, 1fr); }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .utility-bar__hours { display: none; }
  .nav-toggle { display: inline-flex; }
  .nav-menu {
    position: fixed;
    inset: 0;
    background: var(--charcoal);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 32px;
    transform: translateX(100%);
    transition: transform .25s ease;
    z-index: 200;
  }
  .nav-menu.is-open { transform: translateX(0); }
  .nav-menu ul { flex-direction: column; align-items: center; gap: 26px; }
  .nav-link { font-size: 1.3rem; }
  .nav-close { display: block; position: absolute; top: 20px; right: 20px; background: none; border: none; color: var(--white); cursor: pointer; }
  .vm-grid { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr; }
  .service-card--wide { grid-column: span 1; }
  .transport-list { grid-template-columns: 1fr; }
  .icon-grid { grid-template-columns: repeat(2, 1fr); }
  .icon-grid--safety { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .feature-grid { grid-template-columns: 1fr; }
  .check-list--inline { grid-template-columns: 1fr; }
  .split { flex-direction: column; text-align: center; }
  .footer-grid { grid-template-columns: 1fr; text-align: center; }
  .footer-grid nav ul { align-items: center; }
}

@media (max-width: 480px) {
  .section { padding: 52px 0; }
  .hero { padding: 118px 0 60px; }
  .icon-grid { grid-template-columns: repeat(2, 1fr); }
  .icon-grid--safety { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr; }
  .utility-bar__contacts { gap: 12px; font-size: .78rem; }
  .quote-form { padding: 22px; }
}
