/* SKYMAX Industries — design tokens harvested from Divi */

@font-face {
  font-family: "Montserrat";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/fonts/montserrat-latin-400-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Montserrat";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/assets/fonts/montserrat-latin-500-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Montserrat";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/assets/fonts/montserrat-latin-600-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Montserrat";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/assets/fonts/montserrat-latin-700-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Open Sans";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/fonts/open-sans-latin-400-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Open Sans";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/assets/fonts/open-sans-latin-600-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Open Sans";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/assets/fonts/open-sans-latin-700-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Rubik";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/fonts/rubik-latin-400-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Rubik";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/assets/fonts/rubik-latin-600-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Rubik";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/assets/fonts/rubik-latin-700-normal.woff2") format("woff2");
}

:root {
  --c-primary: #004171;
  --c-primary-mid: #004d81;
  --c-primary-dark: #183f6c;
  --c-primary-light: #03538e;
  --c-accent-muted: #66849d;
  --c-teal: #3c7c8e;
  --c-white: #fff;
  --c-black: #000;
  --c-bg-light: #f2f2f2;
  --c-bg-lighter: #f7f7f7;
  --c-bg-grey: #eee;
  --c-border: #d6d6d6;
  --c-border-2: #ccc;
  --c-text: #333;
  --c-muted: #777;
  --font-heading: "Montserrat", Helvetica, Arial, sans-serif;
  --font-body: "Open Sans", Helvetica, Arial, sans-serif;
  --font-ui: "Rubik", Helvetica, Arial, sans-serif;
  --fs-body: clamp(1rem, calc(0.95rem + 0.25vw), 1.125rem); /* ~16–18px */
  --lh-body: 1.6;
  --fs-nav: clamp(0.9375rem, calc(0.9rem + 0.15vw), 1rem);
  --fs-btn: 0.9375rem;
  --fs-card-title: clamp(1.2rem, calc(1.05rem + 0.4vw), 1.35rem);
  --fs-card-body: 1.05rem;
  --fs-label: 0.8125rem;
  --section-pad-y: clamp(3.25rem, calc(3rem + 1.5vw), 4.25rem);
  --btn-tracking: 0.06em;
  --header-offset: 112px;
  --container: 1280px;
  --container-hero: 1360px; /* concrete/services hero rows in WP */
  --radius-card: 1em;
  --focus-ring: 2px solid var(--c-primary);
  --focus-ring-inverse: 2px solid #fff;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  color: var(--c-text);
  background: var(--c-white);
  padding-top: var(--header-offset);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  margin: 0 0 0.65em;
  color: var(--c-primary);
}
p { margin: 0 0 1.05em; }
ul { margin: 0 0 1.05em; padding-left: 1.2em; }
li { margin-bottom: 0.3em; }
strong { font-weight: 700; }
main p,
main li,
.card__body,
.carousel-card__body,
.acc__body,
.risk-box,
.tabs__panel {
  font-size: 1em;
  line-height: var(--lh-body);
}

:focus-visible {
  outline: var(--focus-ring);
  outline-offset: 3px;
}

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0);
  white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--c-primary);
  color: #fff;
  padding: 0.75rem 1rem;
  z-index: 10000;
}
.skip-link:focus { left: 0; }

#contact,
#all-services,
#concrete-services,
#silo-cleaning-services,
#steeplejack-services,
#contracting-services,
#adv-tabs,
#credentials,
#gallery {
  scroll-margin-top: calc(var(--header-offset) + 12px);
}

/* Header */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 1000;
  background: #fff;
  box-shadow: 0 1px 0 rgba(0,0,0,0.06);
  border-bottom: 1px solid rgba(0,65,113,0.08);
}
.site-header__inner {
  /* WP Theme Builder header row: width/max-width 95%, ~1700px on wide desktops.
     Content rows stay at --container (1280px). */
  width: 95%;
  max-width: 1700px;
  margin: 0 auto;
  padding: 10px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.site-logo img {
  height: auto;
  max-height: 92px;
  width: auto;
}
.site-nav__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 0.25rem 1.35rem;
}
.site-nav a {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: var(--fs-nav);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  text-decoration: none;
  color: var(--c-primary);
  white-space: nowrap;
  padding: 0.35rem 0;
  transition: color 200ms ease;
}
.site-nav a:hover { color: #000; }
.site-nav a:focus-visible {
  outline: var(--focus-ring);
  outline-offset: 4px;
}
.site-nav .is-current > a { color: #000; }
.site-nav__cta {
  margin-left: 0.35rem;
}
.site-nav__cta .btn--nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0.45rem 0.95rem;
  font-size: 0.875rem;
  letter-spacing: var(--btn-tracking);
  background: var(--c-primary);
  color: #fff;
  border: 2px solid var(--c-primary);
  white-space: nowrap;
}
@media (max-width: 1200px) and (min-width: 981px) {
  .site-nav__list { gap: 0.15rem 0.85rem; }
  .site-nav a { letter-spacing: 0.04em; }
  .site-nav__cta .btn--nav-cta { padding: 0.4rem 0.75rem; }
}
.site-nav__cta .btn--nav-cta:hover {
  background: #000;
  border-color: #000;
  color: #fff;
}
.site-nav__cta .btn--nav-cta:focus-visible {
  outline: var(--focus-ring);
  outline-offset: 3px;
}
.silo_menu span {
  display: inline-block;
}
.nav-toggle {
  display: none;
  background: none;
  border: 0;
  padding: 10px;
  min-width: 44px;
  min-height: 44px;
  cursor: pointer;
}
.nav-toggle:focus-visible {
  outline: var(--focus-ring);
  outline-offset: 3px;
}
.nav-toggle__bar {
  display: block;
  width: 24px;
  height: 3px;
  margin: 4px 0;
  background: var(--c-primary);
}

@media (max-width: 980px) {
  .nav-toggle { display: block; }
  .site-nav {
    display: none;
    position: absolute;
    left: 0; right: 0;
    top: 100%;
    background: #fff;
    border-top: 3px solid var(--c-primary);
    padding: 0.5rem 1rem 1rem;
    box-shadow: 0 12px 24px rgba(0,0,0,0.08);
  }
  .site-nav.is-open { display: block; }
  .site-nav__list { flex-direction: column; align-items: stretch; gap: 0; }
  .site-nav a { display: block; padding: 0.9rem 0.5rem; white-space: normal; }
  .site-nav__cta {
    margin: 0.5rem 0 0;
  }
  .site-nav__cta .btn--nav-cta {
    display: flex;
    width: 100%;
  }
  .silo_menu { background: #f2f2f2; }
  .silo_menu span {
    display: block;
    padding: 5px 10px;
    background: #f2f2f2;
  }
}

@media (max-width: 480px) {
  :root { --header-offset: 90px; }
  .site-logo img { max-height: 70px; }
}

/* Layout */
.container {
  width: min(100% - 2rem, var(--container));
  margin-inline: auto;
}
.container--hero {
  width: min(100% - 2rem, var(--container-hero));
}
.section {
  padding: var(--section-pad-y) 0;
}
.row--header {
  margin-bottom: 1.75rem;
}
.row--header h2 {
  margin-bottom: 0;
}
.section--hero {
  padding: 0;
  color: #fff;
  background-image:
    radial-gradient(circle at top left, rgba(0,65,113,0.95) 0%, rgba(0,65,113,0.8) 100%),
    var(--hero-image);
  background-size: cover;
  background-position: center;
}
.section--hero-dark {
  background-image:
    radial-gradient(circle at top left, rgba(40,40,40,0.71) 0%, rgba(40,40,40,0.69) 100%),
    var(--hero-image);
}
.section--hero .container { padding: 6vw 0 4.5vw; }
.section--hero-pad .container,
.section--hero.section--hero-pad .container { padding: 8vw 0; }
.section--grey { background: var(--c-bg-light); }
.section--light { background: var(--c-bg-lighter); }
.section--grey-fade {
  background-image: linear-gradient(180deg, #eee 0%, #fff 100%);
}
.section--soft-fade {
  background-image: linear-gradient(180deg, #f2f2f2 0%, #fff 100%);
}
.section--blue { background: var(--c-primary-mid); color: #fff; }
.section--bar {
  background: #fff;
  box-shadow: 0 10px 105px 0 rgba(0,0,0,.12);
  padding: 1.5rem 0;
}
.section--flush { padding: 0; }
.section--flush img { width: 100%; }

.row {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
  align-items: stretch;
}
.row > .col {
  flex: 1 1 260px;
  min-width: 0;
}
.row > .col:only-child { flex: 1 1 100%; }
.col--3-5 { flex: 3 1 320px; }
.col--2-5 { flex: 2 1 240px; }
.col--2-3 { flex: 2 1 320px; }
.col--1-3 { flex: 1 1 240px; }
.col--1-2 { flex: 1 1 280px; }
.col--1-4 { flex: 1 1 200px; }
.row--header { align-items: center; } /* spacing set with .section */
.row--hero-3 {
  align-items: start;
  gap: 2rem 1.5rem;
  margin-bottom: 0;
}
.row--hero-3 > .col--1-2 { flex: 2 1 320px; }
.row--hero-3 > .col--1-4 { flex: 1 1 200px; }
.col--end { margin-left: auto; text-align: right; }

@media (max-width: 980px) {
  .col--end { margin-left: 0; text-align: left; width: 100%; }
  .row--hero-3 > .col--1-2,
  .row--hero-3 > .col--1-4 { flex: 1 1 100%; }
}

/* Hero */
.hero-eyebrow {
  font-size: clamp(1.05rem, calc(0.95rem + 0.4vw), 1.35rem);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  line-height: 1.5;
  margin-bottom: 0.55em;
  color: #fff;
}
.hero-title {
  font-size: clamp(1.75rem, calc(1.2rem + 2.8vw), 3.75rem);
  line-height: 1.12;
  border-left: 10px solid rgba(255,255,255,0.35);
  padding-left: 16px;
  margin-bottom: 0.5em;
  max-width: 860px;
  color: #fff;
}
.section--hero-dark .hero-title { border-left-color: var(--c-primary); }
.hero-lead {
  font-size: clamp(1.0625rem, calc(0.98rem + 0.55vw), 1.375rem);
  line-height: 1.55;
  max-width: 42rem;
  color: #fff;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin: 1.5rem 0 0;
}
.hero-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: start;
}
.hero-split .hero-title {
  max-width: none;
}
.hero-split .hero-lead {
  max-width: none;
}
.hero-blurbs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.75rem 2rem;
}
.hero-blurbs__col {
  display: grid;
  gap: 2.25rem;
  align-content: start;
}

@media (max-width: 980px) {
  .hero-split, .hero-blurbs { grid-template-columns: 1fr; }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-ui);
  font-weight: 700;
  font-size: var(--fs-btn);
  letter-spacing: var(--btn-tracking);
  text-transform: uppercase;
  text-decoration: none;
  padding: 0.8rem 1.65rem;
  min-height: 44px;
  border: 3px solid transparent;
  border-radius: 0;
  transition: color 250ms ease, background 250ms ease, border-color 250ms ease;
  cursor: pointer;
  line-height: 1.2;
}
.btn:focus-visible {
  outline: var(--focus-ring-inverse);
  outline-offset: 3px;
}
.btn--primary {
  background: #fff;
  color: var(--c-primary);
  border-color: #fff;
  font-weight: 700;
}
.btn--primary:hover {
  background: #000;
  border-color: #000;
  color: #fff;
}
/* btn--primary is white/white for dark heroes; on light surfaces show a navy border */
.card__body .btn--primary,
.section--light .btn--primary,
.section--bar .btn--primary,
.section--grey .btn--primary,
.section--soft-fade .btn--primary,
.section--grey-fade .btn--primary {
  background: transparent;
  color: var(--c-primary);
  border-color: var(--c-primary);
}
.card__body .btn--primary:hover,
.section--light .btn--primary:hover,
.section--bar .btn--primary:hover,
.section--grey .btn--primary:hover,
.section--soft-fade .btn--primary:hover,
.section--grey-fade .btn--primary:hover {
  background: #000;
  border-color: #000;
  color: #fff;
}
.card__body .btn {
  margin-top: 0.35rem;
}
.btn--outline {
  background: transparent;
  color: #fff;
  border-color: #fff;
}
.btn--outline:hover {
  background: #fff;
  color: var(--c-primary);
}
.btn--dark {
  color: var(--c-primary);
  border: 0;
  background: transparent;
  letter-spacing: var(--btn-tracking);
  padding: 0.35rem 0;
  min-height: auto;
}
.btn--dark:hover { color: #000; }
.btn--dark:focus-visible {
  outline: var(--focus-ring);
}
.btn--chunky {
  background: var(--c-primary);
  border-color: var(--c-primary);
  border-width: 3px;
  color: #fff;
}
.btn--chunky:hover {
  background: #000;
  border-color: #000;
}
.inline-btn {
  color: #fff;
  padding: 0.45rem 0.85rem;
  border: 2px solid #fff;
  display: inline-block;
  text-transform: uppercase;
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: var(--btn-tracking);
  text-decoration: none;
  margin-top: 1rem;
  transition: color 200ms ease, background 200ms ease, border-color 200ms ease;
}
.inline-btn:hover {
  background: #fff;
  color: var(--c-primary);
}
.inline-btn--dark {
  color: var(--c-primary);
  border-color: var(--c-primary);
}
.inline-btn--dark:hover {
  background: var(--c-primary);
  color: #fff;
}

/* Frosted / cards */
.frosted {
  background: rgba(255,255,255,0.12);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.85);
  border-radius: var(--radius-card);
  padding: 1.35rem 1.4rem;
  color: #fff;
  height: 100%;
}
.frosted strong {
  font-size: 1.15em;
  display: block;
  margin-bottom: 0.45em;
  color: #fff;
  line-height: 1.3;
}
.frosted p {
  margin: 0;
  font-size: 1em;
  line-height: 1.55;
  color: #fff;
}
.frosted#why-table { background: rgba(255,255,255,0.14); }
.frosted#why-table dt { font-weight: 700; margin-top: 0.75em; }
.frosted#why-table dd { margin: 0.2em 0 0; }

.same-height-grid {
  display: grid;
  gap: 1.75rem;
  grid-template-columns: repeat(3, 1fr);
  align-items: stretch;
}
.same-height-grid.cols-4 { grid-template-columns: repeat(4, 1fr); }
.same-height-grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 980px) {
  .same-height-grid,
  .same-height-grid.cols-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 767px) {
  .same-height-grid,
  .same-height-grid.cols-4,
  .same-height-grid.cols-2 { grid-template-columns: 1fr; }
}

.card {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  background: transparent;
  transition: transform 220ms ease;
}
.card--linked:hover .card__img {
  box-shadow: 0 34px 70px -28px rgba(0,0,0,0.42);
}
.card--linked:hover .card__body {
  border-color: var(--c-primary);
}
.card__img {
  width: 100%;
  margin-bottom: 1.5rem;
  box-shadow: 0 30px 65px -30px rgba(0,0,0,0.35);
  object-fit: cover;
  aspect-ratio: 3 / 2;
  transition: box-shadow 220ms ease;
}
.card__body {
  border: 1px solid var(--c-border);
  padding: 1.55rem 1.65rem 1.7rem;
  background: #fff;
  flex: 1;
  font-size: var(--fs-card-body);
  line-height: var(--lh-body);
  transition: border-color 220ms ease;
}
.card--plain .card__body { background: rgba(255,255,255,0.49); }
.card__body h3,
.card__body > strong,
.card__title {
  color: #000;
  display: block;
  margin-bottom: 0.55em;
  font-size: var(--fs-card-title);
  line-height: 1.3;
}
.card--linked .inline-btn::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
}
.card--bg {
  min-height: 280px;
  background-image:
    linear-gradient(180deg, rgba(0,65,113,0.9) 0%, rgba(3,83,142,0.4) 100%),
    var(--card-image);
  background-size: cover;
  background-position: center;
  color: #fff;
  border: 0;
}
.card--bg .card__body {
  border: 0;
  background: transparent;
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 280px;
}
.card--bg h3 { color: #fff; }
.card__icon {
  width: 64px;
  height: auto;
  margin-bottom: 0.75rem;
}
.card--shadow {
  box-shadow: 0 12px 18px -6px rgba(0,0,0,0.1);
  background: #fff;
  padding: 1.25rem;
}

/* Blurbs */
.blurb {
  display: flex;
  gap: 0.9rem;
  align-items: flex-start;
  text-decoration: none;
  color: inherit;
  transition: transform 300ms ease;
}
a.blurb:hover { transform: scale(1.04); }
.blurb__icon {
  width: 56px;
  height: auto;
  flex-shrink: 0;
  object-fit: contain;
}
/* Portrait service icons: same width as square icons so the cropped graphic fills the slot */
.blurb__icon--tall {
  width: 64px;
  height: auto;
}
svg.blurb__icon,
.blurb__icon--check {
  width: 32px;
  height: 32px;
  display: block;
  color: currentColor;
  margin-top: 0.15em;
}
.blurb__title {
  margin: 0 0 0.4em;
  font-size: 1.15rem;
  color: inherit;
}
.blurb p {
  margin: 0;
  font-size: 1em;
  line-height: 1.55;
  opacity: 0.95;
}
/* Service cards reuse .blurb for icon layout; keep normal copy spacing in the body */
.card__body p {
  margin: 0 0 1.05em;
  opacity: 1;
}
.card__body > :last-child {
  margin-bottom: 0;
}
.hero-blurbs .blurb,
.row--hero-3 .blurb { color: #fff; }
.hero-blurbs .blurb__title,
.row--hero-3 .blurb__title {
  color: #fff;
  font-size: 1.125rem;
  font-weight: 700;
}
.row--hero-3 .blurb p {
  font-size: 1em;
  line-height: 1.55;
  opacity: 1;
}
.row--hero-3 .hero-blurbs__col {
  gap: 1.5rem;
}

.trust-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.75rem 1.5rem;
  padding: 0.25rem 0;
}
.trust-item {
  display: flex;
  gap: 0.95rem;
  align-items: flex-start;
}
.trust-item__icon {
  color: var(--c-primary);
  flex-shrink: 0;
  margin-top: 3px;
  width: 30px;
  height: 30px;
}
.trust-item__text h4 {
  margin: 0 0 0.3em;
  font-size: 1.125rem;
  color: #000;
  line-height: 1.3;
}
.trust-item__text p {
  margin: 0;
  font-size: 1em;
  line-height: 1.5;
  color: #555;
}
@media (max-width: 980px) {
  .trust-row { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 767px) {
  .trust-row { grid-template-columns: 1fr; }
}

.avetta { margin-top: 2rem; }
.avetta__label {
  margin-bottom: 0.65rem;
  font-size: var(--fs-label);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--c-primary);
}
.avetta__link img { width: 128px; }
.avetta--framed {
  display: flex;
  gap: 1rem;
  align-items: center;
  text-decoration: none;
}
.avetta--framed img {
  width: min(240px, 100%);
  box-shadow: 10px 10px 0 0 rgba(0,0,0,0.17);
}

.divider {
  width: 50px;
  height: 5px;
  background: var(--c-primary);
  margin: 0.75rem 0 1.25rem;
}
.divider--center { margin-left: auto; margin-right: auto; }
.divider--dark { background: var(--c-primary-dark); }
.divider--white { background: #fff; }

.accent--blue { color: var(--c-primary); }
.accent--dark { color: #000; }
.accent--navy { color: var(--c-primary-dark); }
.accent--light { color: var(--c-primary-light); }
.brand { color: var(--c-primary); font-weight: 700; }
.brand--navy { color: var(--c-primary-dark); }

h2 {
  font-size: clamp(1.7rem, calc(1.45rem + 1.2vw), 2.35rem);
  text-transform: uppercase;
  color: var(--c-primary);
  line-height: 1.2;
}
.h2-plain {
  font-size: clamp(1.75rem, calc(1.4rem + 1.6vw), 2.625rem);
  text-transform: none;
  color: #000;
}
.section--hero h2,
.section--blue h2,
.site-footer h2 {
  color: #fff;
}

.services-list {
  columns: 1;
  column-gap: 1.5rem;
  list-style: disc;
  padding-left: 1.2em;
}
@media (min-width: 768px) { .services-list { columns: 2; } }

.accountable-bar {
  background: #fff;
  box-shadow: 0 2px 18px 0 rgba(0,0,0,0.05);
  padding: 1.75rem 1rem;
  text-align: center;
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--c-primary);
  line-height: 1.5;
}
.accountable-bar p { margin: 0; }

/* Accordion */
.acc details {
  background: #fff;
  border: 1px solid rgba(0,0,0,0.06);
  box-shadow: 0 1px 6px rgba(0,0,0,0.06);
  margin: 4px 10px;
}
.acc details:hover { box-shadow: 0 4px 12px rgba(0,0,0,0.08); }
.acc summary {
  font-family: var(--font-ui);
  font-weight: 600;
  letter-spacing: 0.04em;
  font-size: 1.05rem;
  padding: 1.05rem 3.4rem 1.05rem 1.35rem;
  min-height: 48px;
  cursor: pointer;
  list-style: none;
  position: relative;
  color: #000;
  line-height: 1.4;
}
.acc summary::-webkit-details-marker { display: none; }
.acc summary:focus-visible {
  outline: var(--focus-ring);
  outline-offset: 2px;
}
.acc summary::after {
  content: "+";
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 22px;
  font-weight: 700;
  opacity: 0.65;
}
.acc details[open] summary { color: var(--c-primary); }
.acc details[open] summary::after { content: "\2212"; opacity: 0.9; }
.acc__body {
  padding: 0 1.35rem 1.25rem;
  color: #333;
  font-size: 1em;
  line-height: var(--lh-body);
}

/* Gallery */
.gallery {
  column-count: 3;
  column-gap: 10px;
}
.gallery__item {
  break-inside: avoid;
  display: block;
  margin-bottom: 10px;
}
.gallery__item img { width: 100%; }
@media (max-width: 980px) { .gallery { column-count: 2; } }
@media (max-width: 767px) { .gallery { column-count: 1; } }

/* Carousel — image full-bleed above bordered text box (matches Divi/Supreme) */
#all-services .container {
  overflow: visible;
}
.services-carousel-shell {
  --swiper-navigation-size: 14px;
  position: relative;
  margin: 0 0 2.5rem;
  padding: 0 64px;
}
.services-carousel.swiper {
  overflow: hidden;
  margin: 0;
  padding: 0;
}
.services-carousel .swiper-wrapper {
  align-items: stretch;
}
.services-carousel .swiper-slide {
  height: auto;
  display: flex;
  box-sizing: border-box;
}
.carousel-card {
  position: relative;
  background: transparent;
  border: 0;
  padding: 0;
  width: 100%;
  display: flex;
  flex-direction: column;
  height: 100%;
}
.carousel-card__media {
  height: 240px;
  width: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  flex-shrink: 0;
}
.carousel-card__media img {
  width: 100%;
  height: 240px;
  object-fit: cover;
}
.carousel-card--linked:hover .carousel-card__body {
  border-color: var(--c-primary);
}
.carousel-card__body {
  border: 1px solid var(--c-border-2);
  background: #fff;
  padding: 1.45rem 1.75rem 1.75rem;
  margin-top: 1.15rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  font-size: var(--fs-card-body);
  line-height: var(--lh-body);
  color: #333;
  transition: border-color 220ms ease;
}
.carousel-card__body h3 {
  font-size: var(--fs-card-title);
  margin: 0 0 0.7em;
  color: #000;
  font-weight: 700;
  line-height: 1.3;
}
.carousel-card--linked .inline-btn::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
}
.carousel-card__body p {
  margin: 0;
  flex: 1;
}
.carousel-card__body .inline-btn {
  margin-top: 1rem;
  align-self: flex-start;
}
.services-carousel-shell .swiper-button-prev,
.services-carousel-shell .swiper-button-next {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: var(--c-primary);
  color: #fff;
  margin: 0;
  top: 98px;
  border: 0;
  border-radius: 50%;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.18);
  z-index: 5;
  cursor: pointer;
  transition: background 200ms ease;
}
.services-carousel-shell .swiper-button-prev {
  left: 8px !important;
  right: auto !important;
}
.services-carousel-shell .swiper-button-next {
  right: 8px !important;
  left: auto !important;
}
.services-carousel-shell .swiper-button-prev::after,
.services-carousel-shell .swiper-button-next::after {
  display: none;
}
.services-carousel-shell .swiper-navigation-icon {
  width: 11px;
  height: auto;
  display: block;
  flex-shrink: 0;
}
.services-carousel-shell .swiper-button-prev:hover,
.services-carousel-shell .swiper-button-next:hover {
  background: var(--c-primary-dark);
}
.services-carousel-shell .swiper-button-prev:focus-visible,
.services-carousel-shell .swiper-button-next:focus-visible {
  outline: var(--focus-ring);
  outline-offset: 3px;
}
@media (max-width: 767px) {
  .services-carousel-shell {
    padding: 0 48px;
    margin-bottom: 2rem;
  }
  .services-carousel-shell .swiper-button-prev,
  .services-carousel-shell .swiper-button-next {
    width: 40px;
    height: 40px;
    top: 100px;
  }
  .services-carousel-shell .swiper-navigation-icon {
    width: 10px;
  }
  .services-carousel-shell .swiper-button-prev { left: 6px !important; }
  .services-carousel-shell .swiper-button-next { right: 6px !important; }
  .hero-blurbs__col { gap: 1.75rem; }
}

/* Tabs — match Divi Supreme advanced tabs (measured from WP) */
.tabs { margin-top: 1rem; }
.tabs__list {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: nowrap;
  gap: 0;
  list-style: none;
  width: 375px;
  max-width: 100%;
  margin: 0 auto 1em;
  padding: 15px 0;
  background: #f1f1f1;
  border-radius: 100px;
  box-sizing: border-box;
}
.tabs__tab {
  flex: 0 0 auto;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 22px;
  line-height: 1.1;
  text-align: center;
  border: 0;
  background: #dddddd;
  color: #111133;
  border-radius: 100px;
  padding: 15px 30px;
  margin: 0 10px;
  cursor: pointer;
  transition: background 200ms ease, color 200ms ease;
  white-space: nowrap;
}
.tabs__tab[aria-selected="true"],
.tabs__tab:focus-visible {
  background: #004171;
  color: #fff;
  outline: none;
}
.tabs__panel[hidden] { display: none; }
.tabs__panel {
  padding: 30px 0 0;
}
.tabs__panel p {
  font-size: 1em;
  line-height: var(--lh-body);
}
.tabs__grid {
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: 2rem;
  align-items: center;
}
@media (max-width: 980px) {
  .tabs__list { width: 348px; }
  .tabs__tab { font-size: 18px; }
  .tabs__grid { grid-template-columns: 1fr; }
}
@media (max-width: 767px) {
  .tabs__list { width: 320px; }
  .tabs__tab { font-size: 15px; }
}

/* Before/after */
.ba-slider {
  position: relative;
  overflow: hidden;
  user-select: none;
  touch-action: none;
  aspect-ratio: 1000 / 1333;
  background: #111;
}
.ba-slider__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}
.ba-slider__before-wrap {
  position: absolute;
  inset: 0;
  overflow: hidden;
  width: 55%;
}
.ba-slider__before-wrap .ba-slider__img {
  width: 100%;
  max-width: none;
  height: 100%;
  object-fit: cover;
  object-position: left center;
}
.ba-slider__handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 55%;
  width: 4px;
  background: #fff;
  transform: translateX(-50%);
  cursor: ew-resize;
  z-index: 2;
}
.ba-slider__handle::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 36px;
  height: 36px;
  border: 3px solid #fff;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  background: rgba(0,65,113,0.85);
}

.materials-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0.75rem 1.25rem;
  font-size: 1em;
  line-height: 1.7;
}
.materials-grid ul { margin: 0; padding-left: 1.1em; }
@media (max-width: 980px) { .materials-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 767px) { .materials-grid { grid-template-columns: repeat(2, 1fr); } }

.risk-box {
  background: #fff;
  padding: 1.85rem 1.95rem;
  font-size: 1em;
  line-height: var(--lh-body);
  box-shadow: 0 1px 8px rgba(0,0,0,0.04);
}
.risk-box h4 {
  color: #000;
  font-size: var(--fs-card-title);
}

.counter-card { text-align: center; padding: 1rem; }
.counter {
  display: block;
  font-family: var(--font-heading);
  font-size: 54px;
  font-weight: 700;
  color: var(--c-primary-light);
  line-height: 1;
}
.counter-label {
  color: var(--c-muted);
  letter-spacing: 0.05em;
  margin: 0.5rem 0 0;
}
.client-logos {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1.25rem;
  align-items: center;
}
.client-logos img {
  max-height: 64px;
  width: auto;
  margin: 0 auto;
  object-fit: contain;
}
@media (max-width: 980px) { .client-logos { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 767px) { .client-logos { grid-template-columns: repeat(2, 1fr); } }

.text-center { text-align: center; }
.checklist { list-style: none; padding-left: 0; }
.checklist li {
  padding: 0.35em 0 0.35em 1.6em;
  position: relative;
}
.checklist li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--c-primary);
  font-weight: 700;
}
.section--blue .checklist li::before {
  color: #fff;
}

/* Footer / form */
.site-footer {
  background: var(--c-primary);
  color: #fff;
  padding: var(--section-pad-y) 0;
}
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.site-footer a:focus-visible {
  outline: var(--focus-ring-inverse);
  outline-offset: 3px;
}
.site-footer h2 {
  color: #fff;
  text-transform: none;
  font-size: clamp(2rem, calc(1.7rem + 1.4vw), 2.5rem);
  margin-bottom: 0.55em;
}
.site-footer .footer-intro {
  font-size: 1.05em;
  line-height: var(--lh-body);
  max-width: 36rem;
  margin-bottom: 1.25rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: 2.75rem;
}
@media (max-width: 980px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-contact,
.footer-nav-link {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-family: var(--font-ui);
  font-size: 1.0625rem;
  line-height: 1.35;
  margin-bottom: 1.05rem;
}
.footer-logo {
  width: 75%;
  max-width: 280px;
  margin-top: 1.5rem;
}

.contact-form fieldset {
  border: 0;
  margin: 0;
  padding: 0;
}
.contact-form__label {
  display: block;
  font-size: var(--fs-label);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 0.4rem;
  color: #fff;
}
.contact-form__status {
  background: rgba(255,255,255,0.14);
  border: 1px solid rgba(255,255,255,0.45);
  padding: 1rem 1.1rem;
  margin-bottom: 1.25rem;
  font-size: 1em;
  line-height: 1.55;
}
.contact-form__status--success {
  border-color: rgba(180, 230, 180, 0.8);
  background: rgba(40, 120, 60, 0.35);
}
.contact-form__status--error {
  border-color: rgba(255, 180, 180, 0.85);
  background: rgba(140, 40, 40, 0.4);
}
.contact-form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
@media (max-width: 767px) { .contact-form__row { grid-template-columns: 1fr; } }
.contact-form__field { margin-bottom: 1rem; }
.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.9rem 1rem;
  min-height: 48px;
  border: 1px solid rgba(255,255,255,0.55);
  background: #fff;
  color: #333;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.45;
  border-radius: 0;
}
.contact-form textarea {
  min-height: 7.5rem;
  resize: vertical;
}
.contact-form input:focus,
.contact-form textarea:focus {
  outline: var(--focus-ring-inverse);
  outline-offset: 2px;
}
.contact-form__error {
  color: #ffd2d2;
  font-size: 0.9em;
  margin: 0.4em 0 0;
}
.contact-form__honeypot {
  position: absolute;
  width: 0; height: 0;
  overflow: hidden;
  visibility: hidden;
}
.contact-form__turnstile {
  margin: 0 0 1.15rem;
  min-height: 65px;
}
.contact-form__submit:disabled {
  opacity: 0.7;
  cursor: wait;
}
.contact-form__submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-ui);
  font-weight: 700;
  font-size: var(--fs-btn);
  text-transform: uppercase;
  letter-spacing: var(--btn-tracking);
  background: #fff;
  color: var(--c-primary);
  border: 3px solid #fff;
  padding: 0.8rem 1.65rem;
  min-height: 48px;
  cursor: pointer;
  transition: color 250ms ease, background 250ms ease, border-color 250ms ease;
}
.contact-form__submit:hover {
  background: #000;
  border-color: #000;
  color: #fff;
}
.contact-form__submit:focus-visible {
  outline: var(--focus-ring-inverse);
  outline-offset: 3px;
}

/* Reveal animations — only hide when JS opts in (html.js) so content stays visible without JS */
html.js .reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 1000ms ease-in-out, transform 1000ms ease-in-out;
}
html.js .reveal.is-visible {
  opacity: 1;
  transform: none;
}
html.js .reveal[data-anim="slideRight"] { transform: translateX(-20px); }
html.js .reveal[data-anim="slideRight"].is-visible { transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  html.js .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .btn,
  .inline-btn,
  .card,
  .card__img,
  .card__body,
  .carousel-card__body,
  .blurb,
  .tabs__tab,
  .contact-form__submit {
    transition: none;
  }
  a.blurb:hover { transform: none; }
}

/* 404 */
.page-404 {
  min-height: 50vh;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 4rem 1rem;
}

video {
  width: 100%;
  max-height: 520px;
  background: #000;
}
