/* ==========================================================================
   Alcantara Safety Solutions — Global Stylesheet
   Design system: Primary #121A24 / Secondary Sage #879B86 / Neutral #F7F4EF
   (AA-tuned dark sage #5D705C for text/buttons on light backgrounds)
   ========================================================================== */

/* ---------- 1. CSS Custom Properties ---------- */
:root {
  --color-navy: #121A24;
  --color-navy-dark: #0B1016;
  --color-navy-light: #283A50;
  --color-orange: #5D705C;
  --color-orange-dark: #4F5F4E;
  --color-orange-bright: #879B86;
  --color-gray: #5c6670;
  --color-gray-dark: #3d4852;
  --color-gray-light: #E3DDD2;
  --color-bg: #F7F4EF;
  --color-white: #ffffff;
  --color-green: #1d7a4f;
  --color-green-dark: #155e3c;
  --color-star: #879B86;

  --font-main: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --font-display: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;

  --shadow-premium: 0 24px 60px -18px rgba(11, 16, 22, 0.28);
  --tint-warm: #F1ECE2;
  --tint-lavender: #EDE9DF;

  --fs-h1: 52px;
  --fs-h2: 38px;
  --fs-h3: 24px;
  --fs-body: 18px;
  --fs-small: 15px;

  --max-width: 1200px;
  --radius-card: 10px;
  --radius-input: 6px;
  --shadow-card: 0 3px 18px rgba(11, 16, 22, 0.07);
  --shadow-hover: 0 14px 34px rgba(11, 16, 22, 0.13);
  --shadow-header: 0 2px 12px rgba(11, 16, 22, 0.10);
  --transition: 0.35s cubic-bezier(0.22, 0.61, 0.36, 1);
  --header-height: 82px;
}

/* ---------- 2. Reset & Base ---------- */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-main);
  font-size: var(--fs-body);
  line-height: 1.6;
  color: var(--color-gray);
  background-color: var(--color-bg);
  -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3, h4 {
  color: var(--color-navy);
  line-height: 1.18;
  margin: 0 0 16px;
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: 0.002em;
}

h1 { font-size: var(--fs-h1); letter-spacing: 0; }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); }
h4 { font-size: 21px; }

/* Utility/UI text elements keep the sans font even when styled as headings */
.logo, .nav-link, .btn, .footer-col h3, .timeline-number,
.case-card h2 { font-family: var(--font-main); }
.card h3, .industry-card, .sidebar-cta h3, .mission-box p,
.faq-question, .testimonial-card h3 { font-family: var(--font-display); font-weight: 600; }

p { margin: 0 0 16px; }

a {
  color: var(--color-orange);
  text-decoration: none;
  transition: color var(--transition);
}
a:hover { color: var(--color-orange-dark); }

ul { padding-left: 22px; }

/* Visible focus states for keyboard navigation (WCAG 2.1 AA) */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid var(--color-orange);
  outline-offset: 2px;
  border-radius: 2px;
}

/* Skip-to-content link */
.skip-link {
  position: absolute;
  top: -60px;
  left: 16px;
  z-index: 2000;
  background: var(--color-navy);
  color: var(--color-white);
  padding: 10px 18px;
  border-radius: var(--radius-input);
  transition: top var(--transition);
}
.skip-link:focus { top: 12px; color: var(--color-white); }

/* ---------- 3. Layout Utilities ---------- */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.section { padding: 112px 0; }
.section-white { background: var(--color-white); }
.section-gray { background: #EFEBE2; }

.section-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 56px;
}
.section-header p { font-size: 19px; }
.section-header .eyebrow { justify-content: center; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--color-orange);
  margin-bottom: 16px;
}
.eyebrow::before, .eyebrow.centered::after {
  content: '';
  width: 36px;
  height: 1px;
  background: var(--color-orange-bright);
  opacity: 0.75;
}
.eyebrow::before {
  content: '';
  width: 26px;
  height: 2px;
  background: var(--color-orange);
  border-radius: 2px;
}

.text-center { text-align: center; }

/* ---------- 4. Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 14px 32px;
  font-family: var(--font-main);
  font-size: 14.5px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  line-height: 1.2;
  border: 1.5px solid transparent;
  border-radius: var(--radius-input);
  cursor: pointer;
  transition: background var(--transition), color var(--transition),
              border-color var(--transition), transform var(--transition),
              box-shadow var(--transition);
  text-align: center;
}
.btn:hover { transform: translateY(-2px); }

.btn-orange {
  background: linear-gradient(135deg, #6B8270, var(--color-orange));
  color: var(--color-white);
}
.btn-orange:hover {
  background: var(--color-orange-dark);
  color: var(--color-white);
  box-shadow: 0 6px 16px rgba(135, 155, 134, 0.35);
}

.btn-navy {
  background: var(--color-navy);
  color: var(--color-white);
}
.btn-navy:hover {
  background: var(--color-navy-dark);
  color: var(--color-white);
  box-shadow: 0 6px 16px rgba(18, 26, 36, 0.35);
}

.btn-outline-white {
  background: transparent;
  color: var(--color-white);
  border-color: var(--color-white);
}
.btn-outline-white:hover {
  background: var(--color-white);
  color: var(--color-navy);
}

.btn-outline-navy {
  background: transparent;
  color: var(--color-navy);
  border-color: var(--color-navy);
}
.btn-outline-navy:hover {
  background: var(--color-navy);
  color: var(--color-white);
}

.btn-sm { padding: 11px 22px; font-size: 12.5px; letter-spacing: 0.07em; }
.btn-lg { padding: 16px 36px; font-size: 18px; }
.btn-block { width: 100%; }

/* ---------- 5. Header & Navigation ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--color-white);
  border-bottom: 1px solid var(--color-gray-light);
  transition: box-shadow var(--transition);
}
.site-header.scrolled { box-shadow: 0 6px 24px -6px rgba(11, 16, 22, 0.18); }

/* Utility top bar */
.header-topbar {
  background: linear-gradient(90deg, var(--color-navy-dark), var(--color-navy) 55%, #283A50);
  color: #D5DDD4;
  max-height: 44px;
  overflow: hidden;
  transition: max-height 0.3s ease;
}
.site-header.scrolled .header-topbar { max-height: 0; }
.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 44px;
}
.topbar-contact { display: flex; align-items: center; gap: 24px; }
.topbar-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #D5DDD4;
  font-size: 13.5px;
  font-weight: 500;
  letter-spacing: 0.01em;
  transition: color var(--transition);
}
.topbar-link:hover { color: var(--color-white); }
.topbar-link .ph { color: var(--color-orange-bright); font-size: 15px; }
.topbar-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #E8ECE5;
}
.topbar-badge .ph { color: var(--color-orange-bright); font-size: 16px; }

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: var(--header-height);
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--color-navy);
  font-weight: 700;
  font-size: 19px;
  white-space: nowrap;
}
.logo:hover { color: var(--color-navy); }
.logo-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--color-navy) 0%, var(--color-navy-dark) 100%);
  color: var(--color-white);
  font-size: 24px;
  flex-shrink: 0;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12), 0 4px 10px -3px rgba(11, 16, 22, 0.4);
  position: relative;
}
.logo-mark::after {
  content: '';
  position: absolute;
  bottom: -3px;
  right: -3px;
  width: 12px;
  height: 12px;
  border-radius: 4px;
  background: var(--color-orange-bright);
  border: 2px solid var(--color-white);
}
.logo-img { height: 54px; width: auto; display: block; }
.logo-img-footer { height: 168px; width: auto; display: block; }
.hero-logo { height: 150px; width: auto; display: block; margin-bottom: 26px; }
.page-header-logo { height: 92px; width: auto; display: block; margin-bottom: 20px; }
.logo-lockup { display: flex; flex-direction: column; line-height: 1.15; }
.logo-text strong { color: var(--color-orange); font-weight: 700; }
.logo-sub {
  font-family: var(--font-main);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-navy-light);
  margin-top: 3px;
}

.main-nav { display: none; }
.nav-list {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-list > li { position: relative; }

.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 10px 11px;
  white-space: nowrap;
  font-family: var(--font-main);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.01em;
  color: var(--color-gray-dark);
  background: none;
  border: none;
  cursor: pointer;
  border-radius: var(--radius-input);
  position: relative;
}
.nav-link::after {
  content: '';
  position: absolute;
  left: 11px;
  right: 11px;
  bottom: 4px;
  height: 2px;
  border-radius: 2px;
  background: var(--color-orange-bright);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}
.nav-link:hover { color: var(--color-navy); }
.nav-link:hover::after { transform: scaleX(1); }
.nav-link.active { color: var(--color-navy); font-weight: 600; }
.nav-link.active::after { transform: scaleX(1); }
.nav-link .ph { font-size: 14px; }

/* Dropdown menus */
.dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 240px;
  list-style: none;
  margin: 0;
  padding: 8px;
  background: var(--color-white);
  border: 1px solid var(--color-gray-light);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-hover);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity var(--transition), transform var(--transition),
              visibility var(--transition);
  z-index: 100;
}
.nav-item-dropdown:hover .dropdown-menu,
.nav-item-dropdown:focus-within .dropdown-menu,
.nav-item-dropdown.open .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.dropdown-menu a {
  display: block;
  padding: 10px 14px;
  color: var(--color-navy);
  font-size: 15px;
  font-weight: 500;
  border-radius: var(--radius-input);
}
.dropdown-menu a:hover {
  background: var(--color-bg);
  color: var(--color-orange);
}

.nav-cta-item { margin-left: 8px; }
.nav-cta-item .btn { box-shadow: 0 6px 16px -6px rgba(93, 112, 92, 0.55); white-space: nowrap; }

/* Desktop phone cluster */
.header-phone {
  display: none;
  align-items: center;
  gap: 10px;
  color: var(--color-navy);
  padding-left: 16px;
  border-left: 1px solid var(--color-gray-light);
  flex-shrink: 0;
}
.header-phone .ph {
  font-size: 22px;
  color: var(--color-orange);
  background: var(--tint-warm);
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform var(--transition);
}
.header-phone:hover .ph { transform: scale(1.08); }
.header-phone-text {
  display: flex;
  flex-direction: column;
  font-size: 15.5px;
  font-weight: 700;
  letter-spacing: 0.01em;
  line-height: 1.2;
}
.header-phone-label {
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-gray);
}
@media (min-width: 1600px) { .header-phone { display: inline-flex; } }

/* Hamburger button */
.hamburger {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 10px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 1100;
}
.hamburger span {
  display: block;
  width: 100%;
  height: 3px;
  background: var(--color-navy);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}
.hamburger.active span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* Mobile nav panel */
@media (max-width: 1023px) {
  .header-topbar { display: none; }
  .main-nav {
    display: block;
    position: fixed;
    top: var(--header-height);
    right: -100%;
    width: min(340px, 85vw);
    height: calc(100vh - var(--header-height));
    background: var(--color-white);
    box-shadow: -4px 0 16px rgba(0, 0, 0, 0.10);
    overflow-y: auto;
    transition: right 0.35s ease;
    z-index: 1050;
    padding: 24px 20px 120px;
  }
  .main-nav.open { right: 0; }
  .nav-list { flex-direction: column; align-items: stretch; gap: 2px; }
  .nav-link {
    display: flex;
    justify-content: space-between;
    width: 100%;
    padding: 14px 12px;
    font-size: 17px;
    border-bottom: 1px solid var(--color-gray-light);
    border-radius: 0;
  }
  .nav-link::after { display: none; }
  .dropdown-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: none;
    border-radius: 0;
    padding: 0 0 0 16px;
    display: none;
  }
  .nav-item-dropdown.open .dropdown-menu { display: block; }
  .nav-item-dropdown .nav-link .ph { transition: transform var(--transition); }
  .nav-item-dropdown.open .nav-link .ph { transform: rotate(180deg); }
  .nav-cta-item { margin: 20px 0 0; }
  .nav-cta-item .btn { width: 100%; }
}

@media (min-width: 1024px) {
  .main-nav { display: block; }
  .hamburger { display: none; }
}

/* ---------- 6. Hero ---------- */
.hero {
  background-color: var(--color-navy-dark);
  background-image:
    radial-gradient(1150px 560px at 85% -15%, rgba(135, 155, 134, 0.22), transparent 62%),
    radial-gradient(760px 420px at -12% 112%, rgba(40, 58, 80, 0.55), transparent 62%);
  color: var(--color-white);
  padding: 172px 0 156px;
  position: relative;
  overflow: hidden;
}
.hero::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--color-orange-bright) 30%, var(--color-orange-bright) 70%, transparent);
  opacity: 0.85;
}
.hero h1 {
  color: var(--color-white);
  margin-bottom: 24px;
  font-size: 60px;
  line-height: 1.1;
  font-weight: 500;
}
.hero h1 em, .page-header h1 em, .cta-band h2 em {
  font-style: italic;
  font-weight: 500;
  color: var(--color-orange-bright);
}
.hero .hero-sub {
  font-size: 20px;
  color: #D5DDD4;
  max-width: 640px;
  margin-bottom: 38px;
}
.hero-content { max-width: 880px; }
.hero-buttons { display: flex; flex-wrap: wrap; gap: 16px; }
.hero .hero-buttons { flex-direction: row; }
.hero-buttons .btn { flex: 0 1 auto; max-width: 100%; }

/* Page header (interior pages) */
.page-header {
  background-color: var(--color-navy);
  background-image:
    radial-gradient(900px 400px at 90% 0%, rgba(135, 155, 134, 0.16), transparent 60%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='100' viewBox='0 0 56 100'%3E%3Cpath d='M28 66L0 50V16l28-16 28 16v34L28 66zm0 34l28-16V50L28 66 0 50v34l28 16z' fill='none' stroke='%23ffffff' stroke-opacity='0.05'/%3E%3C/svg%3E");
  color: var(--color-white);
  padding: 84px 0 76px;
}
.page-header h1 { color: var(--color-white); margin-bottom: 14px; font-size: 52px; }
.page-header .page-desc {
  font-size: 20px;
  color: #D5DDD4;
  max-width: 720px;
  margin-bottom: 28px;
}
.page-header .hero-buttons { margin-top: 8px; }

/* Breadcrumbs */
.breadcrumb {
  font-size: 14px;
  color: #A9B8A8;
  margin-bottom: 20px;
}
.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.breadcrumb a { color: #D5DDD4; }
.breadcrumb a:hover { color: var(--color-white); }
.breadcrumb li + li::before {
  content: '/';
  margin-right: 6px;
  color: #93A892;
}
.breadcrumb [aria-current] { color: var(--color-white); }

/* ---------- 7. Trust Bar ---------- */
.trust-bar {
  background: var(--color-white);
  border-bottom: 1px solid var(--color-gray-light);
  padding: 28px 0;
}
.trust-bar-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px 48px;
}
.trust-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 16px;
  color: var(--color-navy);
}
.trust-badge .ph {
  font-size: 26px;
  color: var(--color-green);
}

/* ---------- 8. Split Layout (Problem/Solution) ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}
.split-card {
  background: var(--color-white);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  padding: 36px;
}
.split-card.problem { border-top: 4px solid var(--color-orange); }
.split-card.solution { border-top: 4px solid var(--color-green); }

.icon-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.icon-list li {
  display: flex;
  gap: 14px;
  margin-bottom: 20px;
}
.icon-list li:last-child { margin-bottom: 0; }
.icon-list .ph {
  flex-shrink: 0;
  font-size: 26px;
  color: var(--color-orange);
  margin-top: 2px;
}
.icon-list.icon-list-green .ph { color: var(--color-green); }
.icon-list strong { color: var(--color-navy); display: block; font-size: 17px; }

/* Checkmark list */
.check-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.check-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 14px;
  font-size: 17px;
}
.check-list .ph {
  flex-shrink: 0;
  color: var(--color-green);
  font-size: 22px;
  margin-top: 2px;
}

/* ---------- 9. Cards & Grids ---------- */
.grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
}
.grid-2 { }
.grid-3 { }
.grid-4 { }

.card {
  background: var(--color-white);
  border: 1px solid var(--color-gray-light);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  padding: 40px 34px;
  transition: transform var(--transition), box-shadow var(--transition),
              border-color var(--transition);
}
.card:hover { border-color: var(--color-orange-bright); }
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  border-radius: var(--radius-card);
  background: rgba(135, 155, 134, 0.12);
  color: var(--color-orange);
  font-size: 30px;
  margin-bottom: 20px;
}
.card-icon.navy {
  background: rgba(18, 26, 36, 0.08);
  color: var(--color-navy);
}
.card-icon.green {
  background: rgba(22, 163, 74, 0.10);
  color: var(--color-green);
}

.card h3 { margin-bottom: 10px; }
.card h3 a { color: var(--color-navy); }
.card h3 a:hover { color: var(--color-orange); }

.learn-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  font-size: 16px;
  margin-top: 8px;
}
.learn-more .ph { transition: transform var(--transition); }
.learn-more:hover .ph { transform: translateX(4px); }

/* Industry selector cards */
.industry-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 12px;
  padding: 34px 20px;
  background: var(--color-white);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  border: 2px solid transparent;
  color: var(--color-navy);
  font-weight: 600;
  font-size: 17px;
  transition: border-color var(--transition), transform var(--transition),
              box-shadow var(--transition);
}
.industry-card:hover {
  border-color: var(--color-orange);
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
  color: var(--color-navy);
}
.industry-card .ph { font-size: 40px; color: var(--color-orange); }

/* ---------- 10. Process Timeline ---------- */
.timeline {
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
  position: relative;
}
.timeline-step {
  position: relative;
  padding-left: 76px;
}
.timeline-number {
  position: absolute;
  left: 0;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--color-white);
  color: var(--color-navy);
  border: 2px solid var(--color-orange);
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 600;
  font-style: italic;
  z-index: 1;
  box-shadow: 0 6px 18px rgba(18, 26, 36, 0.10);
}
.timeline-step::before {
  content: '';
  position: absolute;
  left: 27px;
  top: 60px;
  bottom: -40px;
  width: 2px;
  background: var(--color-gray-light);
}
.timeline-step:last-child::before { display: none; }
.timeline-step h3 { margin-bottom: 6px; }
.timeline-step p { margin: 0; font-size: 16px; }

/* ---------- 11. Testimonials ---------- */
.testimonial-card {
  background: var(--color-white);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  border-top: 3px solid var(--tint-warm);
  padding: 38px 32px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  transition: transform var(--transition), box-shadow var(--transition),
              border-color var(--transition);
}
.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-premium);
  border-top-color: var(--color-orange);
}
.quote-mark {
  font-family: var(--font-display);
  font-size: 64px;
  color: var(--color-orange);
  line-height: 0.6;
}
.stars { color: var(--color-star); font-size: 18px; letter-spacing: 2px; }
.testimonial-text { font-size: 17px; margin: 0; flex-grow: 1; }
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 14px;
}
.avatar {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--color-navy);
  color: var(--color-white);
  font-weight: 700;
  font-size: 18px;
  flex-shrink: 0;
}
.avatar.orange { background: var(--color-orange); }
.avatar.green { background: var(--color-green); }
.testimonial-author strong { display: block; color: var(--color-navy); font-size: 16px; }
.testimonial-author span { font-size: 14px; }

/* ---------- 12. Final CTA Band ---------- */
.cta-band {
  background-color: var(--color-orange);
  background-image:
    radial-gradient(800px 380px at 15% 0%, rgba(255, 255, 255, 0.14), transparent 55%),
    radial-gradient(700px 380px at 90% 110%, rgba(11, 16, 22, 0.22), transparent 60%);
  color: var(--color-white);
  text-align: center;
  padding: 96px 0;
}
.cta-band h2 { color: var(--color-white); font-size: 42px; }
.cta-band h2 em { color: rgba(255, 255, 255, 0.85); }
.cta-band p {
  font-size: 19px;
  max-width: 620px;
  margin: 0 auto 34px;
  color: rgba(255, 255, 255, 0.92);
}
.cta-band .btn-outline-white:hover {
  background: var(--color-white);
  color: var(--color-orange);
}
.cta-band .btn-navy:hover { box-shadow: 0 6px 16px rgba(0, 0, 0, 0.30); }

/* ---------- 13. Footer ---------- */
.site-footer {
  background: var(--color-navy);
  color: #C6D1C5;
  padding: 64px 0 0;
  font-size: 15px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  padding-bottom: 48px;
}
.footer-col h3 {
  color: var(--color-white);
  font-size: 17px;
  margin-bottom: 18px;
}
.footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.footer-col li { margin-bottom: 10px; }
.footer-col a { color: #C6D1C5; }
.footer-col a:hover { color: var(--color-white); }
.logo-footer { color: var(--color-white); margin-bottom: 14px; }
.logo-footer:hover { color: var(--color-white); }
.logo-footer .logo-mark { background: var(--color-orange); }
.footer-contact li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}
.footer-contact .ph { color: var(--color-orange); font-size: 19px; margin-top: 2px; flex-shrink: 0; }
.social-icons {
  display: flex;
  gap: 12px;
  margin-top: 18px;
}
.social-icons a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--color-navy-light);
  color: var(--color-white);
  font-size: 19px;
  transition: background var(--transition);
}
.social-icons a:hover { background: var(--color-orange); }
.footer-bottom {
  border-top: 1px solid var(--color-navy-light);
  padding: 22px 0 90px;
  font-size: 14px;
}
.footer-bottom-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  justify-content: space-between;
}
.footer-bottom p { margin: 0; }
.footer-bottom a { color: #C6D1C5; text-decoration: underline; }
.footer-bottom a:hover { color: var(--color-white); }

/* ---------- 14. Pills / Tags ---------- */
.pill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 18px;
  background: var(--color-white);
  border: 1px solid var(--color-gray-light);
  border-radius: 999px;
  font-size: 15px;
  font-weight: 500;
  color: var(--color-navy);
}
.pill .ph { color: var(--color-orange); font-size: 17px; }

.tag {
  display: inline-block;
  padding: 4px 12px;
  background: rgba(135, 155, 134, 0.12);
  color: var(--color-orange);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.tag.navy { background: rgba(18, 26, 36, 0.08); color: var(--color-navy); }
.tag.green { background: rgba(22, 163, 74, 0.10); color: var(--color-green); }

/* ---------- 15. FAQ Accordion ---------- */
.faq-item {
  background: var(--color-white);
  border: 1px solid var(--color-gray-light);
  border-radius: var(--radius-card);
  margin-bottom: 14px;
  overflow: hidden;
}
.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  padding: 20px 24px;
  background: none;
  border: none;
  font-family: var(--font-main);
  font-size: 17px;
  font-weight: 600;
  color: var(--color-navy);
  text-align: left;
  cursor: pointer;
  transition: color var(--transition);
}
.faq-question:hover { color: var(--color-orange); }
.faq-question .ph {
  flex-shrink: 0;
  font-size: 20px;
  color: var(--color-orange);
  transition: transform var(--transition);
}
.faq-item.open .faq-question .ph { transform: rotate(180deg); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}
.faq-answer-inner {
  padding: 0 24px 22px;
  font-size: 16px;
}
.faq-answer-inner p { margin: 0 0 10px; }
.faq-answer-inner p:last-child { margin-bottom: 0; }

/* ---------- 16. Forms ---------- */
.form-card {
  background: var(--color-white);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  padding: 40px;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin-bottom: 20px;
}
.form-group { margin-bottom: 20px; }
.form-row .form-group { margin-bottom: 0; }
.form-group label {
  display: block;
  font-size: 15px;
  font-weight: 600;
  color: var(--color-navy);
  margin-bottom: 7px;
}
.form-group .required { color: var(--color-orange); }
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 14px;
  font-family: var(--font-main);
  font-size: 16px;
  color: var(--color-navy);
  background: var(--color-white);
  border: 1px solid var(--color-gray-light);
  border-radius: var(--radius-input);
  transition: border-color var(--transition), box-shadow var(--transition);
}
.form-group textarea { min-height: 130px; resize: vertical; }
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-orange);
  box-shadow: 0 0 0 3px rgba(135, 155, 134, 0.15);
}
.form-group input.input-error,
.form-group select.input-error,
.form-group textarea.input-error {
  border-color: #dc2626;
  box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.12);
}
.field-error {
  display: none;
  font-size: 13px;
  color: #dc2626;
  margin-top: 5px;
}
.form-group.has-error .field-error { display: block; }
.form-hint { font-size: 13px; color: var(--color-gray); margin-top: 5px; }

.radio-group {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}
.radio-option {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border: 1px solid var(--color-gray-light);
  border-radius: var(--radius-input);
  cursor: pointer;
  font-size: 16px;
  color: var(--color-navy);
  transition: border-color var(--transition), background var(--transition);
}
.radio-option:hover { border-color: var(--color-orange); }
.radio-option input { width: auto; margin: 0; accent-color: var(--color-orange); }

.form-success {
  display: none;
  align-items: flex-start;
  gap: 12px;
  background: rgba(22, 163, 74, 0.08);
  border: 1px solid rgba(22, 163, 74, 0.35);
  color: var(--color-green-dark);
  border-radius: var(--radius-card);
  padding: 16px 18px;
  font-size: 16px;
  margin-bottom: 20px;
}
.form-success.show { display: flex; }
.form-success .ph { font-size: 22px; flex-shrink: 0; }

/* ---------- 17. Quote Calculator ---------- */
.estimate-box {
  background: var(--color-navy);
  color: var(--color-white);
  border-radius: var(--radius-card);
  padding: 32px;
  text-align: center;
  margin-bottom: 28px;
}
.estimate-box .estimate-label {
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #A9B8A8;
  margin-bottom: 8px;
}
.estimate-box .estimate-value {
  font-size: 40px;
  font-weight: 700;
  color: var(--color-white);
  margin-bottom: 8px;
}
.estimate-box .estimate-note {
  font-size: 14px;
  color: #C6D1C5;
  margin: 0;
}

/* ---------- 18. Blog / Resource Cards ---------- */
.post-card {
  display: flex;
  flex-direction: column;
  background: var(--color-white);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition);
}
.post-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }
.post-card-image {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 160px;
  color: rgba(255, 255, 255, 0.85);
  font-size: 48px;
}
.post-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.post-card-body { padding: 26px; display: flex; flex-direction: column; flex-grow: 1; }
.post-card-body h3 { font-size: 20px; margin: 10px 0 8px; }
.post-card-body p { font-size: 15px; flex-grow: 1; }
.post-meta { font-size: 13px; color: var(--color-gray); }

/* Lead magnet box */
.lead-magnet {
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
  background: var(--color-navy);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='100' viewBox='0 0 56 100'%3E%3Cpath d='M28 66L0 50V16l28-16 28 16v34L28 66zm0 34l28-16V50L28 66 0 50v34l28 16z' fill='none' stroke='%23ffffff' stroke-opacity='0.06'/%3E%3C/svg%3E");
  border-radius: var(--radius-card);
  padding: 48px;
  color: var(--color-white);
}
.lead-magnet h2, .lead-magnet h3 { color: var(--color-white); }
.lead-magnet p { color: #D5DDD4; }
.lead-magnet .form-group label { color: var(--color-white); }
.lead-magnet .check-list li { color: #DFE5DD; }

/* ---------- 19. Case Studies ---------- */
.case-card {
  background: var(--color-white);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  padding: 36px;
}
.case-card .case-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}
.case-result {
  background: rgba(22, 163, 74, 0.08);
  border-left: 4px solid var(--color-green);
  border-radius: var(--radius-input);
  padding: 16px 20px;
  margin: 20px 0;
}
.case-result strong { color: var(--color-green-dark); }

/* ---------- 20. About / Founder ---------- */
.founder-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 44px;
  align-items: center;
}
.founder-photo {
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: var(--shadow-hover);
  max-width: 460px;
}
.founder-photo img { width: 100%; }
.credentials-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  list-style: none;
  margin: 20px 0 0;
  padding: 0;
}
.credentials-list li {
  padding: 8px 16px;
  background: rgba(18, 26, 36, 0.06);
  border: 1px solid rgba(18, 26, 36, 0.10);
  color: var(--color-navy);
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
}
.badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 20px 44px;
  justify-content: center;
}
.cert-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  text-align: center;
  color: var(--color-navy);
  font-weight: 600;
  font-size: 15px;
  max-width: 150px;
}
.cert-badge .ph { font-size: 42px; color: var(--color-orange); }
.mission-box {
  background: var(--color-navy);
  color: var(--color-white);
  border-radius: var(--radius-card);
  padding: 48px;
  text-align: center;
}
.mission-box p {
  font-size: 24px;
  font-weight: 600;
  line-height: 1.45;
  color: var(--color-white);
  margin: 0;
}

/* ---------- 21. Industry Hero Placeholder ---------- */
.industry-hero {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 240px;
  border-radius: var(--radius-card);
  color: rgba(255, 255, 255, 0.9);
  font-size: 96px;
}
.industry-hero.construction { background: linear-gradient(135deg, #b45309, #92400e); }
.industry-hero.manufacturing { background: linear-gradient(135deg, #3D4852, #1B2836); }
.industry-hero.warehousing { background: linear-gradient(135deg, #0f766e, #115e59); }
.industry-hero.healthcare { background: linear-gradient(135deg, #1d4ed8, #1e40af); }

/* Real photography hero for industry/service pages */
.industry-hero-img {
  margin: 0;
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: var(--shadow-hover);
}
.industry-hero-img img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 8;
  object-fit: cover;
}
@media (max-width: 768px) {
  .industry-hero-img img { aspect-ratio: 16 / 10; }
}
@media (max-width: 560px) {
  .industry-hero-img img { aspect-ratio: 4 / 3; }
}

/* Card thumbnail images (industry/service cards) */
.card-img {
  margin: -40px -34px 24px;
  overflow: hidden;
  border-radius: var(--radius-card) var(--radius-card) 0 0;
}
.card-img img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.22, 0.61, 0.36, 1);
}
.card:hover .card-img img { transform: scale(1.045); }
.card > a.card-img-link { display: block; margin: -40px -34px 24px; overflow: hidden; border-radius: var(--radius-card) var(--radius-card) 0 0; }
.card > a.card-img-link img {
  display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.22, 0.61, 0.36, 1);
}
.card:hover > a.card-img-link img { transform: scale(1.045); }

/* Split media (image beside copy) */
.split-media {
  margin: 0;
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: var(--shadow-hover);
  align-self: center;
}
.split-media img { display: block; width: 100%; height: 100%; object-fit: cover; }

/* Photo industry cards (hub + homepage) */
.industry-card-v3 {
  display: flex;
  flex-direction: column;
  background: var(--color-white);
  border: 1px solid var(--color-gray-light);
  border-radius: var(--radius-card);
  overflow: hidden;
  color: var(--color-navy);
  text-decoration: none;
  transition: border-color var(--transition), transform var(--transition),
              box-shadow var(--transition);
}
.industry-card-v3:hover {
  border-color: var(--color-orange);
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover);
  color: var(--color-navy);
}
.industry-card-v3 img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.22, 0.61, 0.36, 1);
}
.industry-card-v3:hover img { transform: scale(1.045); }
.industry-card-v3 .industry-card-body {
  padding: 20px 22px 22px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.industry-card-v3 .industry-card-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 22px;
  letter-spacing: 0.002em;
}
.industry-card-v3 .industry-card-text {
  font-weight: 400;
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--color-gray);
}
.industry-card-v3 .industry-card-more {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-orange);
  margin-top: 4px;
}

/* Wide two-column dropdown (Industries) */
@media (min-width: 1100px) {
  .dropdown-menu-wide {
    min-width: 460px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 4px;
    opacity: 0;
    visibility: hidden;
  }
  .nav-item-dropdown:hover .dropdown-menu-wide,
  .nav-item-dropdown:focus-within .dropdown-menu-wide,
  .nav-item-dropdown.open .dropdown-menu-wide {
    opacity: 1;
    visibility: visible;
  }
  .dropdown-menu-wide .dropdown-all {
    grid-column: 1 / -1;
    border-bottom: 1px solid var(--color-gray-light);
    margin-bottom: 4px;
  }
  .dropdown-menu-wide .dropdown-all a { font-weight: 600; }
}

/* ---------- 22. Sidebar / CTA Panel ---------- */
.sidebar-cta {
  background: var(--color-navy);
  color: var(--color-white);
  border-radius: var(--radius-card);
  padding: 32px;
  text-align: center;
}
.sidebar-cta h3 { color: var(--color-white); }
.sidebar-cta p { color: #D5DDD4; font-size: 16px; }

.two-col {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}

/* ---------- 23. Map / Booking Placeholder ---------- */
.map-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 260px;
  background: #EFEBE2;
  border: 1px dashed var(--color-gray-light);
  border-radius: var(--radius-card);
  color: var(--color-gray);
  font-size: 15px;
  text-align: center;
  padding: 24px;
}
.map-placeholder .ph { font-size: 44px; color: var(--color-navy); }

/* ---------- 24. Mobile Sticky CTA Bar ---------- */
.mobile-cta-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--color-gray-light);
  z-index: 900;
  box-shadow: 0 -2px 12px rgba(0, 0, 0, 0.15);
}
.mobile-cta-bar a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 56px;
  font-weight: 700;
  font-size: 16px;
  color: var(--color-white);
}
.mobile-cta-call { background: var(--color-navy); }
.mobile-cta-call:hover { background: var(--color-navy-dark); color: var(--color-white); }
.mobile-cta-book { background: var(--color-orange); }
.mobile-cta-book:hover { background: var(--color-orange-dark); color: var(--color-white); }

/* ---------- 25. Back to Top ---------- */
.back-to-top {
  position: fixed;
  right: 20px;
  bottom: 84px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: none;
  background: var(--color-navy);
  color: var(--color-white);
  font-size: 22px;
  cursor: pointer;
  box-shadow: var(--shadow-hover);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity var(--transition), transform var(--transition),
              visibility var(--transition), background var(--transition);
  z-index: 800;
}
.back-to-top.visible { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top:hover { background: var(--color-orange); }

/* ---------- 26. Scroll Fade-in Animation ---------- */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-in.visible { opacity: 1; transform: translateY(0); }

/* ---------- 27. Responsive Breakpoints ---------- */
@media (min-width: 640px) {
  .form-row { grid-template-columns: 1fr 1fr; }
  .radio-group { grid-template-columns: 1fr 1fr; }
}

/* Tablet: 768px */
@media (min-width: 768px) {
  .grid-2 { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1fr 1fr; }
  .founder-grid { grid-template-columns: 1fr 1.2fr; }
  .lead-magnet { grid-template-columns: 1.1fr 1fr; }
  .two-col { grid-template-columns: 1.4fr 1fr; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-bottom { padding-bottom: 22px; }
  .mobile-cta-bar { display: none; }
  .back-to-top { bottom: 28px; }
}

/* Desktop: 1024px */
@media (min-width: 1024px) {
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
  .industries-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1.2fr; }

  .timeline { grid-template-columns: repeat(4, 1fr); gap: 28px; }
  .timeline-step { padding-left: 0; padding-top: 76px; text-align: center; }
  .timeline-number { left: 50%; transform: translateX(-50%); }
  .timeline-step::before {
    left: calc(50% + 36px);
    right: calc(-50% + 36px);
    top: 27px;
    bottom: auto;
    width: auto;
    height: 2px;
  }
}

/* Mobile typography scaling */
@media (max-width: 767px) {
  h1 { font-size: 36px; }
  h2 { font-size: 28px; }
  h3 { font-size: 21px; }
  body { font-size: 16px; }
  .hero { padding: 64px 0; }
  .hero .hero-sub { font-size: 18px; }
  .page-header { padding: 52px 0; }
  .page-header .page-desc { font-size: 17px; }
  .section { padding: 52px 0; }
  .split-card, .card, .form-card, .case-card { padding: 26px 22px; }
  .lead-magnet { padding: 32px 24px; }
  .mission-box { padding: 32px 24px; }
  .mission-box p { font-size: 19px; }
  .estimate-box .estimate-value { font-size: 30px; }
}

/* ---------- 28. Reduced Motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  .fade-in { opacity: 1; transform: none; }
}

/* ---------- 29. Print Styles ---------- */
@media print {
  .site-header, .site-footer, .mobile-cta-bar, .back-to-top,
  .cta-band, .hero-buttons, .btn, .breadcrumb { display: none !important; }
  body { background: #fff; color: #000; font-size: 12pt; }
  .card, .case-card, .split-card { box-shadow: none; border: 1px solid #ccc; }
  .section { padding: 20px 0; }
  a { color: #000; text-decoration: underline; }
  .hero, .page-header { background: #fff; color: #000; padding: 20px 0; }
  .hero h1, .page-header h1 { color: #000; }
}


/* ---------- 30. Premium & AEO Add-ons ---------- */

/* Serif wordmark */
.logo-text { font-family: var(--font-display); font-weight: 600; letter-spacing: -0.01em; }
.logo-text strong { font-style: italic; }

/* Card refinements */
.card { border-top: 3px solid transparent; }
.card:hover { border-top-color: var(--color-orange); box-shadow: var(--shadow-premium); }

/* AI-answer / featured-snippet block (AEO) */
.answer-block {
  background: var(--tint-lavender);
  border-left: 4px solid var(--color-orange);
  border-radius: var(--radius-input);
  padding: 22px 26px;
  margin: 0 0 24px;
  font-size: 18px;
  line-height: 1.65;
  color: var(--color-navy);
}
.answer-block strong { color: var(--color-orange); }

/* Stats row (homepage + hubs) */
.stats-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.stat {
  text-align: center;
  padding: 28px 16px;
  background: var(--color-white);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
}
.stat .stat-value {
  display: block;
  font-family: var(--font-display);
  font-size: 46px;
  font-weight: 600;
  font-style: italic;
  color: var(--color-orange);
  line-height: 1.1;
}
.stat .stat-label {
  font-size: 15px;
  font-weight: 600;
  color: var(--color-navy);
}

/* Prose styling for long-form SEO sections */
.prose { max-width: 780px; }
.prose h2 { margin-top: 40px; }
.prose h3 { margin-top: 28px; color: var(--color-navy); }
.prose p { font-size: 18px; }
.prose ul { font-size: 17px; }
.prose li { margin-bottom: 8px; }
.prose-lead {
  font-size: 21px !important;
  color: var(--color-gray-dark);
  line-height: 1.65;
}

@media (min-width: 768px) {
  .stats-row { grid-template-columns: repeat(4, 1fr); }
}

/* Mobile: premium type scaling overrides */
@media (max-width: 767px) {
  .hero { padding: 76px 0 68px; }
  .hero h1 { font-size: 38px; }
  .page-header h1 { font-size: 36px; }
  .cta-band { padding: 64px 0; }
  .cta-band h2 { font-size: 30px; }
  .section { padding: 64px 0; }
  .stat .stat-value { font-size: 36px; }
}


/* ---------- 31. Brief-v2 Components ---------- */

/* Industry image cards (brief: image cards, not icon tiles) */
.industry-img-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 20px;
  background: var(--color-white);
  border: 1px solid var(--color-gray-light);
  border-radius: var(--radius-card);
  color: var(--color-navy);
  font-weight: 600;
  font-size: 16px;
  transition: border-color var(--transition), transform var(--transition),
              box-shadow var(--transition);
}
.industry-img-card:hover {
  border-color: var(--color-orange);
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover);
  color: var(--color-navy);
}
.industry-img-card .industry-thumb {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  flex-shrink: 0;
  border-radius: var(--radius-card);
  color: rgba(255, 255, 255, 0.92);
  font-size: 26px;
}
.thumb-construction { background: linear-gradient(135deg, #b45309, #92400e); }
.thumb-manufacturing { background: linear-gradient(135deg, #3D4852, #1B2836); }
.thumb-warehousing { background: linear-gradient(135deg, #0f766e, #115e59); }
.thumb-healthcare { background: linear-gradient(135deg, #1d4ed8, #1e40af); }
.thumb-food { background: linear-gradient(135deg, #5D705C, #4F5F4E); }
.thumb-oilgas { background: linear-gradient(135deg, #78350f, #451a03); }
.thumb-logistics { background: linear-gradient(135deg, #6d28d9, #4c1d95); }
.thumb-office { background: linear-gradient(135deg, #121A24, #283A50); }
.thumb-landscape { background: linear-gradient(135deg, #15803d, #14532d); }
.thumb-electrical { background: linear-gradient(135deg, #b45309, #713f12); }
.thumb-janitorial { background: linear-gradient(135deg, #0e7490, #155e75); }
.thumb-property { background: linear-gradient(135deg, #283A50, #121A24); }
.thumb-municipal { background: linear-gradient(135deg, #3f6212, #365314); }
.thumb-retail { background: linear-gradient(135deg, #879B86, #5D705C); }

/* Before / After comparison */
.before-after {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
}
.ba-card {
  background: var(--color-white);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  padding: 36px 32px;
}
.ba-card.before { border-top: 4px solid #dc2626; }
.ba-card.after { border-top: 4px solid var(--color-green); }
.ba-card h3 { display: flex; align-items: center; gap: 10px; margin-bottom: 20px; }
.ba-list { list-style: none; margin: 0; padding: 0; }
.ba-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 14px;
  font-size: 17px;
}
.ba-list li:last-child { margin-bottom: 0; }
.ba-list .ph { flex-shrink: 0; font-size: 22px; margin-top: 2px; }
.ba-card.before .ph { color: #dc2626; }
.ba-card.after .ph { color: var(--color-green); }

@media (min-width: 768px) {
  .before-after { grid-template-columns: 1fr 1fr; }
  .industries-grid-v2 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .industries-grid-v2 { grid-template-columns: repeat(3, 1fr); }
}

/* 5-step timeline variant (desktop: 5 columns) */
@media (min-width: 1024px) {
  .timeline-5 { grid-template-columns: repeat(5, 1fr); gap: 22px; }
}

/* Header fine-tuning */
@media (max-width: 480px) {
  .logo-sub { display: none; }
  .logo { font-size: 17px; }
  .logo-img { height: 42px; }
  .logo-img-footer { height: 140px; }
  .hero-logo { height: 110px; margin-bottom: 20px; }
  .page-header-logo { height: 66px; margin-bottom: 14px; }
}


/* ---------- Luxury polish ---------- */
::selection { background: var(--color-orange-bright); color: var(--color-navy-dark); }

.hero .btn-outline-white:hover {
  background: var(--color-white);
  color: var(--color-navy-dark);
}

.btn-orange:hover {
  box-shadow: 0 12px 28px -8px rgba(93, 112, 92, 0.55);
  transform: translateY(-2px);
}

.fade-in {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s cubic-bezier(0.22, 0.61, 0.36, 1),
              transform 0.7s cubic-bezier(0.22, 0.61, 0.36, 1);
}
.fade-in.visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .fade-in { opacity: 1; transform: none; transition: none; }
}

/* Hero content entrance */
@keyframes heroRise {
  from { opacity: 0; }
  to { opacity: 1; }
}
.hero .hero-eyebrow { animation: heroRise 0.9s cubic-bezier(0.22, 0.61, 0.36, 1) both; }
.hero .hero-content h1 { animation: heroRise 0.9s cubic-bezier(0.22, 0.61, 0.36, 1) 0.12s both; }
.hero .hero-sub { animation: heroRise 0.9s cubic-bezier(0.22, 0.61, 0.36, 1) 0.24s both; }
.hero .hero-buttons .btn {
  animation: heroRise 0.9s cubic-bezier(0.22, 0.61, 0.36, 1) 0.36s both;
}
.hero .hero-buttons .btn + .btn { animation-delay: 0.46s; }
@media (prefers-reduced-motion: reduce) {
  .hero .hero-eyebrow, .hero .hero-content h1, .hero .hero-sub,
  .hero .hero-buttons .btn { animation: none; }
}

.hero-eyebrow {
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--color-orange-bright);
  margin-bottom: 20px;
}


/* ---------- Article body & sidebar (resource guides) ---------- */
.content-body h2 { margin-top: 44px; font-size: 28px; }
.content-body h2:first-of-type { margin-top: 28px; }
.content-body p { color: var(--color-gray-dark); }
.content-body .answer-block { margin-bottom: 28px; }

.sidebar-box {
  background: var(--color-white);
  border: 1px solid var(--color-gray-light);
  border-radius: var(--radius-card);
  padding: 26px 24px;
  margin-bottom: 22px;
}
.sidebar-box h4 { margin-bottom: 14px; }
.sidebar-list { list-style: none; padding: 0; margin: 0; }
.sidebar-list li { border-bottom: 1px solid var(--color-gray-light); }
.sidebar-list li:last-child { border-bottom: none; }
.sidebar-list a {
  display: block;
  padding: 9px 0;
  color: var(--color-navy);
  font-size: 15px;
  font-weight: 500;
}
.sidebar-list a:hover { color: var(--color-orange); }

.cta-inline {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 36px 0 8px;
}

.source-note {
  margin-top: 36px;
  padding-top: 20px;
  border-top: 1px solid var(--color-gray-light);
  font-size: 14px;
  color: var(--color-gray);
}

@media (max-width: 560px) {
  .hero-buttons .btn { width: 100%; }
}


/* ---------- Comparison table (template vs custom) ---------- */
.compare-wrap { max-width: 880px; margin: 72px auto 0; }
.compare-title {
  text-align: center;
  font-size: 27px;
  margin-bottom: 28px;
}
.compare-title span {
  font-family: var(--font-display);
  font-style: italic;
  color: var(--color-orange);
  font-weight: 500;
  padding: 0 6px;
}
.compare-table {
  background: var(--color-white);
  border: 1px solid var(--color-gray-light);
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}
.compare-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.compare-row > div {
  padding: 17px 24px;
  font-size: 15.5px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  line-height: 1.45;
}
.compare-row > div:first-child {
  color: var(--color-gray);
  border-right: 1px solid var(--color-gray-light);
  background: var(--color-bg);
}
.compare-row > div:last-child { color: var(--color-navy); font-weight: 500; }
.compare-row:not(.compare-head):nth-child(even) > div { border-top: 1px solid var(--color-gray-light); }
.compare-row:nth-child(n+3) > div { border-top: 1px solid var(--color-gray-light); }
.compare-head > div {
  font-family: var(--font-main);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 15px 24px;
}
.compare-head > div:first-child { color: var(--color-gray); }
.compare-head > div:last-child { color: var(--color-orange); }
.compare-row .ph { font-size: 18px; flex-shrink: 0; margin-top: 1px; }
.compare-row .ph-x-circle { color: #b0543f; }
.compare-row .ph-check-circle { color: var(--color-green); }
@media (max-width: 640px) {
  .compare-row { grid-template-columns: 1fr; }
  .compare-row > div:first-child { border-right: none; }
  .compare-row:nth-child(n+2) > div:last-child { border-top: none; padding-top: 6px; }
  .compare-row:nth-child(n+2) > div:first-child { padding-bottom: 6px; }
  .compare-head { display: none; }
}


/* ---------- Mission band (Why We Exist) ---------- */
.mission-band {
  background: var(--color-navy-dark);
  background-image: radial-gradient(900px 400px at 50% -20%, rgba(135, 155, 134, 0.14), transparent 65%);
  color: var(--color-white);
  padding: 96px 0;
  text-align: center;
}
.mission-band .eyebrow { color: var(--color-orange-bright); }
.mission-statement {
  font-family: var(--font-display);
  font-size: 32px;
  line-height: 1.4;
  max-width: 840px;
  margin: 0 auto 22px;
  font-weight: 500;
}
.mission-statement em { color: var(--color-orange-bright); }
.mission-signature {
  font-size: 14px;
  letter-spacing: 0.06em;
  color: #A9B8A8;
  margin: 0;
}
@media (max-width: 767px) { .mission-statement { font-size: 24px; } }

/* ---------- Timeline step icons ---------- */
.timeline-number .ph { font-size: 26px; font-style: normal; color: var(--color-orange); transition: color var(--transition); }
.timeline-step:hover .timeline-number { background: var(--color-navy); }
.timeline-step:hover .timeline-number .ph { color: var(--color-orange-bright); }
.timeline-number { transition: background var(--transition); }


/* ---------- Inspection Readiness Quiz ---------- */
.quiz-container { max-width: 760px; margin: 0 auto; }
.quiz-card {
  background: var(--color-white);
  border: 1px solid var(--color-gray-light);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-premium);
  padding: 44px 46px;
}
.quiz-progress {
  height: 5px;
  background: var(--color-gray-light);
  border-radius: 3px;
  overflow: hidden;
  margin-bottom: 12px;
}
.quiz-progress-bar {
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--color-orange), var(--color-orange-bright));
  border-radius: 3px;
  transition: width 0.4s ease;
}
.quiz-step-label {
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-gray);
  margin-bottom: 30px;
}
.quiz-question {
  border: none;
  padding: 0;
  margin: 0 0 32px;
}
.quiz-question legend {
  font-family: var(--font-display);
  font-size: 21px;
  font-weight: 600;
  color: var(--color-navy);
  margin-bottom: 14px;
  line-height: 1.35;
}
.quiz-option {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 13px 16px;
  margin-bottom: 8px;
  border: 1.5px solid var(--color-gray-light);
  border-radius: var(--radius-input);
  cursor: pointer;
  font-size: 15.5px;
  color: var(--color-gray-dark);
  transition: border-color var(--transition), background var(--transition);
}
.quiz-option:hover { border-color: var(--color-orange-bright); background: var(--tint-warm); }
.quiz-option:has(input:checked) {
  border-color: var(--color-orange);
  background: var(--tint-warm);
  color: var(--color-navy);
  font-weight: 500;
}
.quiz-option input { margin-top: 3px; accent-color: var(--color-orange); }
.quiz-submit { width: 100%; margin-top: 8px; }
.quiz-unanswered legend { color: #b0543f; }

.quiz-results { text-align: center; }
.score-ring-wrap { margin-bottom: 44px; }
.score-ring {
  --score-pct: 0%;
  width: 190px;
  height: 190px;
  margin: 0 auto 24px;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background:
    radial-gradient(closest-side, var(--color-white) 82%, transparent 82% 100%),
    conic-gradient(var(--color-orange) var(--score-pct), var(--color-gray-light) 0);
  transition: --score-pct 0.3s;
  box-shadow: var(--shadow-premium);
}
.score-ring.score-high { background: radial-gradient(closest-side, var(--color-white) 82%, transparent 82% 100%), conic-gradient(var(--color-green) var(--score-pct), var(--color-gray-light) 0); }
.score-ring.score-mid { background: radial-gradient(closest-side, var(--color-white) 82%, transparent 82% 100%), conic-gradient(var(--color-orange-bright) var(--score-pct), var(--color-gray-light) 0); }
.score-ring.score-low { background: radial-gradient(closest-side, var(--color-white) 82%, transparent 82% 100%), conic-gradient(#b0543f var(--score-pct), var(--color-gray-light) 0); }
.score-value {
  font-family: var(--font-display);
  font-size: 62px;
  font-weight: 600;
  color: var(--color-navy);
  line-height: 1;
}
.score-max { font-size: 14px; color: var(--color-gray); margin-top: 4px; }
.score-summary { max-width: 540px; margin: 0 auto; color: var(--color-gray-dark); }
.score-gaps {
  text-align: left;
  background: var(--color-white);
  border: 1px solid var(--color-gray-light);
  border-radius: var(--radius-card);
  padding: 30px 34px;
  margin-bottom: 36px;
}
.score-gaps h3 { margin-bottom: 16px; }
.score-gaps ul { list-style: none; padding: 0; margin: 0; }
.score-gaps li {
  display: flex;
  gap: 11px;
  padding: 9px 0;
  font-size: 15.5px;
  color: var(--color-gray-dark);
  border-bottom: 1px solid var(--color-gray-light);
}
.score-gaps li:last-child { border-bottom: none; }
.score-gaps .ph { font-size: 19px; color: var(--color-orange); flex-shrink: 0; margin-top: 1px; }
.score-cta .cta-inline { justify-content: center; }
.quiz-retake {
  background: none;
  border: none;
  color: var(--color-gray);
  font-size: 14px;
  text-decoration: underline;
  cursor: pointer;
  margin-top: 18px;
  font-family: var(--font-main);
}
.quiz-retake:hover { color: var(--color-orange); }
@media (max-width: 640px) {
  .quiz-card { padding: 30px 22px; }
  .quiz-question legend { font-size: 18.5px; }
}

.sidebar-static {
  display: block;
  padding: 9px 0;
  color: var(--color-gray-dark);
  font-size: 15px;
  font-style: italic;
}


/* ---------- Interactive tools strip ---------- */
.tools-strip {
  background: var(--color-white);
  border-bottom: 1px solid var(--color-gray-light);
  padding: 26px 0;
}
.tools-strip-inner {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.tools-strip-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 20px;
  border: 1px solid var(--color-gray-light);
  border-radius: var(--radius-card);
  color: var(--color-navy);
  transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
}
.tools-strip-item:hover {
  border-color: var(--color-orange-bright);
  box-shadow: var(--shadow-hover);
  transform: translateY(-2px);
  color: var(--color-navy);
}
.tools-strip-item > .ph:first-child {
  font-size: 30px;
  color: var(--color-orange);
  flex-shrink: 0;
}
.tools-strip-item span { display: flex; flex-direction: column; font-size: 13px; color: var(--color-gray); line-height: 1.4; }
.tools-strip-item span strong { font-size: 15.5px; color: var(--color-navy); }
.tools-strip-arrow { margin-left: auto; color: var(--color-orange-bright); font-size: 19px; flex-shrink: 0; }
@media (max-width: 900px) { .tools-strip-inner { grid-template-columns: 1fr; } }


/* ---------- Legal pages ---------- */
.legal-body { max-width: 780px; }
.legal-body h2 { font-size: 26px; margin-top: 40px; }
.legal-body p, .legal-body li { color: var(--color-gray-dark); }
.legal-body li { margin-bottom: 8px; }
.legal-updated {
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-orange);
  margin-bottom: 28px;
}

/* ---------- Cookie consent banner ---------- */
.cookie-banner {
  position: fixed;
  left: 50%;
  transform: translateX(-50%) translateY(140%);
  bottom: 24px;
  z-index: 2000;
  width: min(680px, calc(100vw - 32px));
  background: var(--color-navy-dark);
  color: #DFE5DD;
  border: 1px solid rgba(135, 155, 134, 0.35);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-premium);
  padding: 22px 26px;
  display: flex;
  align-items: center;
  gap: 22px;
  transition: transform 0.5s cubic-bezier(0.22, 0.61, 0.36, 1);
}
.cookie-banner.show { transform: translateX(-50%) translateY(0); }
.cookie-banner p { margin: 0; font-size: 14.5px; line-height: 1.5; }
.cookie-banner a { color: var(--color-orange-bright); text-decoration: underline; }
.cookie-actions { display: flex; gap: 10px; flex-shrink: 0; }
.cookie-btn {
  font-family: var(--font-main);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 10px 18px;
  border-radius: var(--radius-input);
  cursor: pointer;
  border: 1.5px solid transparent;
  transition: background var(--transition), color var(--transition), border-color var(--transition);
}
.cookie-accept { background: var(--color-orange); color: var(--color-white); }
.cookie-accept:hover { background: var(--color-orange-dark); }
.cookie-decline { background: transparent; color: #D5DDD4; border-color: rgba(213, 221, 212, 0.4); }
.cookie-decline:hover { border-color: #D5DDD4; color: var(--color-white); }
@media (max-width: 620px) {
  .cookie-banner { flex-direction: column; align-items: flex-start; gap: 14px; }
  .cookie-actions { width: 100%; }
  .cookie-btn { flex: 1; }
}
/* Lift the consent banner above the fixed mobile CTA bar */
@media (max-width: 1023px) {
  .cookie-banner { bottom: 88px; }
  .back-to-top { bottom: 150px; }
}

/* ---------- Service Area city cards (fully clickable) ---------- */
.sa-card {
  display: flex;
  flex-direction: column;
  background: var(--color-white, #fff);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.sa-card:hover,
.sa-card:focus-visible {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}
.sa-card-img {
  display: block;
  height: 150px;
  overflow: hidden;
}
.sa-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}
.sa-card:hover .sa-card-img img { transform: scale(1.05); }
.sa-card-body {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 20px 22px 22px;
  flex-grow: 1;
}
.sa-card-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: inherit;
  font-weight: 700;
  font-size: 1.12em;
  color: var(--color-navy);
  line-height: 1.3;
}
.sa-card-title > .ph { color: var(--color-orange-bright); font-size: 1.15em; flex-shrink: 0; }
.sa-badge {
  margin-left: auto;
  font-size: 0.6em;
  font-weight: 600;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  color: var(--color-orange);
  background: rgba(135, 155, 134, 0.14);
  border: 1px solid rgba(135, 155, 134, 0.4);
  border-radius: 999px;
  padding: 3px 9px;
  white-space: nowrap;
}
.sa-card-desc {
  color: var(--color-gray);
  font-size: 0.95em;
  line-height: 1.55;
  flex-grow: 1;
}
.sa-card-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--color-orange);
  font-weight: 600;
  font-size: 0.92em;
  margin-top: 4px;
}
.sa-card-cta .ph { transition: transform 0.25s ease; }
.sa-card:hover .sa-card-cta { color: var(--color-orange-bright); }
.sa-card:hover .sa-card-cta .ph { transform: translateX(4px); }
