/* ============================================================
   PRECISION ENVIRONMENTAL INC — Global Stylesheet
   Brand: Navy + Light Blue. Phone-first. Mobile-first.
   ============================================================ */

/* ---------- DESIGN TOKENS ---------- */
:root {
  /* Brand palette (sampled from logo) */
  --navy:        #1a3a5c;
  --navy-deep:   #0f2240;
  --navy-darker: #0a1a30;
  --navy-line:   #2a4a70;
  --light-blue:  #a8c8e0;
  --sky:         #cfe1f0;
  --sky-soft:    #e7f0f8;

  /* Neutrals */
  --white:    #ffffff;
  --gray-50:  #f6f8fb;
  --gray-100: #eef2f7;
  --gray-200: #dfe6ee;
  --gray-300: #c4d0dc;
  --gray-500: #6b7a8c;
  --gray-700: #344155;
  --text:        #0f2240;
  --text-muted:  #4a5d75;

  /* Functional */
  --danger:  #c53030;
  --success: #2f855a;
  --warning: #b7791f;

  /* Type */
  --font-display: "Saira Condensed", "Oswald", "Inter", system-ui, -apple-system, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  /* Spacing scale (8px base) */
  --s-1: 4px;  --s-2: 8px;  --s-3: 12px; --s-4: 16px;
  --s-5: 24px; --s-6: 32px; --s-7: 48px; --s-8: 64px;
  --s-9: 96px; --s-10: 128px;

  /* Radii */
  --r-sm: 4px;  --r-md: 8px;  --r-lg: 14px;  --r-xl: 22px;  --r-full: 999px;

  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(15, 34, 64, 0.08);
  --shadow-md: 0 6px 18px rgba(15, 34, 64, 0.10);
  --shadow-lg: 0 20px 45px rgba(15, 34, 64, 0.14);

  /* Layout */
  --container: 1200px;
  --header-h: 78px;
  --utility-h: 38px;
}

/* ---------- RESET ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; height: auto; }
a { color: var(--navy); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--navy-deep); }
button { font-family: inherit; cursor: pointer; }
ul, ol { padding-left: 1.2rem; margin: 0 0 1rem; }
h1,h2,h3,h4 { margin: 0 0 .5em; line-height: 1.15; font-family: var(--font-display); letter-spacing: .01em; }

/* ---------- TYPE SCALE ---------- */
.h-eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--navy);
  background: var(--sky-soft);
  padding: 6px 12px;
  border-radius: var(--r-full);
  margin-bottom: var(--s-4);
}
.h-eyebrow.on-dark { background: rgba(168,200,224,.15); color: var(--light-blue); }
h1, .h1 { font-size: clamp(2rem, 4.2vw, 3.4rem); font-weight: 800; }
h2, .h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); font-weight: 800; }
h3, .h3 { font-size: clamp(1.2rem, 1.8vw, 1.5rem); font-weight: 700; }
h4, .h4 { font-size: 1.1rem; font-weight: 700; }
p { margin: 0 0 1rem; color: var(--text-muted); }
.lead { font-size: 1.15rem; color: var(--text-muted); }
strong { color: var(--text); }

/* ---------- LAYOUT ---------- */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--s-5); }
.section { padding: var(--s-9) 0; }
.section--tight { padding: var(--s-7) 0; }
.section--dark { background: var(--navy-deep); color: var(--white); }
.section--dark p { color: rgba(255,255,255,.78); }
.section--dark h1, .section--dark h2, .section--dark h3 { color: var(--white); }
.section--alt { background: var(--gray-50); }
.section--blue { background: linear-gradient(135deg, var(--navy) 0%, var(--navy-deep) 100%); color: var(--white); }
.section--blue h2, .section--blue h3 { color: var(--white); }
.section--blue p { color: rgba(255,255,255,.85); }

.grid { display: grid; gap: var(--s-5); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .grid-3.md-2, .grid-4.md-2 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .grid-3.md-2, .grid-4.md-2 { grid-template-columns: 1fr; }
}

/* ---------- BUTTONS ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 26px;
  border-radius: var(--r-full);
  font-weight: 700; font-size: 15px; letter-spacing: .02em;
  border: 2px solid transparent;
  text-decoration: none;
  transition: all .22s cubic-bezier(.2,.7,.3,1);
  white-space: nowrap;
}
.btn--primary { background: var(--navy); color: var(--white); }
.btn--primary:hover { background: var(--navy-deep); color: var(--white); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn--secondary { background: var(--light-blue); color: var(--navy-deep); }
.btn--secondary:hover { background: var(--sky); transform: translateY(-2px); }
.btn--ghost { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn--ghost:hover { background: var(--navy); color: var(--white); }
.btn--ghost-light { background: transparent; color: var(--white); border-color: rgba(255,255,255,.5); }
.btn--ghost-light:hover { background: var(--white); color: var(--navy-deep); border-color: var(--white); }
.btn--phone { background: var(--success); color: var(--white); }
.btn--phone:hover { background: #266a48; color: var(--white); transform: translateY(-2px); }
.btn--lg { padding: 18px 34px; font-size: 16px; }
.btn .icon { width: 18px; height: 18px; }

/* ---------- UTILITY BAR (top strip) ---------- */
.utility {
  background: var(--navy-deep);
  color: var(--white);
  font-size: 13px;
  height: var(--utility-h);
}
.utility .container {
  height: 100%;
  display: flex; align-items: center; justify-content: space-between;
  gap: var(--s-4);
}
.utility-left { display: flex; align-items: center; gap: var(--s-4); }
.utility-badge {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--success);
  color: var(--white);
  padding: 4px 10px;
  border-radius: var(--r-full);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.utility-badge .dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: #b6f1cd;
  box-shadow: 0 0 0 3px rgba(255,255,255,.18);
  animation: pulse 1.6s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: .5; transform: scale(1.4); }
}
.utility-tagline { color: rgba(255,255,255,.85); }
.utility-right { display: flex; align-items: center; gap: var(--s-4); }
.utility-link {
  color: var(--white);
  font-weight: 600;
  display: inline-flex; align-items: center; gap: 6px;
}
.utility-link:hover { color: var(--light-blue); }
@media (max-width: 760px) {
  .utility-tagline { display: none; }
  .utility { font-size: 12px; }
  .utility-link span.text { display: none; }
}

/* ---------- HEADER ---------- */
.header {
  position: sticky; top: 0; z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--gray-200);
  box-shadow: 0 2px 10px rgba(15,34,64,.04);
}
.header .container {
  display: flex; align-items: center; justify-content: space-between;
  height: var(--header-h);
  gap: var(--s-5);
}
.brand { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.brand-logo {
  height: 56px;
  width: auto;
  max-width: 260px;
  object-fit: contain;
  mix-blend-mode: multiply; /* Hides white JPEG background on light header */
}
@media (max-width: 560px) {
  .brand-logo { height: 44px; max-width: 200px; }
}
.brand-text {
  font-family: var(--font-display);
  font-weight: 800;
  font-style: italic;
  font-size: 20px;
  color: var(--navy-deep);
  line-height: 1;
  letter-spacing: .02em;
  display: none; /* Real wordmark image replaces this */
}
.brand-text small {
  display: block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .15em;
  color: var(--navy);
  margin-top: 2px;
}

.nav {
  display: flex; align-items: center; gap: var(--s-5);
}
.nav a {
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  padding: 8px 4px;
  position: relative;
}
.nav a:hover, .nav a.active { color: var(--navy); }
.nav a.active::after {
  content: ""; position: absolute; bottom: -4px; left: 0; right: 0; height: 3px;
  background: var(--light-blue); border-radius: 2px;
}
.nav-has-children { position: relative; }
.nav-has-children > a::after {
  content: "▾"; margin-left: 4px; font-size: 10px; color: var(--gray-500);
}
.dropdown {
  position: absolute; top: 100%; left: 0; min-width: 260px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-lg);
  padding: 12px;
  opacity: 0; visibility: hidden;
  transform: translateY(10px);
  transition: all .22s ease;
}
.nav-has-children:hover .dropdown,
.nav-has-children:focus-within .dropdown {
  opacity: 1; visibility: visible; transform: translateY(0);
}
.dropdown a {
  display: block; padding: 10px 12px; border-radius: var(--r-sm); font-size: 14px;
}
.dropdown a:hover { background: var(--sky-soft); color: var(--navy); }

.header-cta { display: flex; align-items: center; gap: var(--s-3); }

.menu-toggle {
  display: none;
  background: transparent; border: 0;
  padding: 8px;
}
.menu-toggle svg { width: 28px; height: 28px; color: var(--navy-deep); }

@media (max-width: 1080px) {
  .nav, .header-cta .btn--ghost { display: none; }
  .menu-toggle { display: inline-flex; }
}

/* Mobile menu */
.mobile-menu {
  position: fixed; inset: 0; z-index: 200;
  background: var(--navy-deep); color: var(--white);
  padding: var(--s-7) var(--s-5);
  transform: translateX(100%);
  transition: transform .3s ease;
  overflow-y: auto;
}
.mobile-menu.open { transform: translateX(0); }
.mobile-menu .close {
  position: absolute; top: 20px; right: 20px;
  background: transparent; border: 0; color: var(--white);
  font-size: 32px; line-height: 1;
}
.mobile-menu a {
  display: block;
  color: var(--white);
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  padding: var(--s-3) 0;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.mobile-menu a:hover { color: var(--light-blue); }
.mobile-menu .mm-section { font-size: 11px; letter-spacing: .15em; text-transform: uppercase; color: var(--light-blue); padding-top: var(--s-5); }
.mobile-menu .mm-cta { margin-top: var(--s-5); display: flex; flex-direction: column; gap: var(--s-3); }
.mobile-menu .mm-cta .btn { justify-content: center; }

/* ---------- HERO ---------- */
.hero {
  position: relative;
  background:
    linear-gradient(135deg, rgba(15,34,64,.92) 0%, rgba(26,58,92,.88) 100%),
    url("../images/stock/hero-default.jpg") center / cover no-repeat,
    var(--navy-deep);
  color: var(--white);
  padding: var(--s-9) 0 var(--s-10);
  overflow: hidden;
}
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image:
    radial-gradient(circle at 20% 20%, rgba(168,200,224,.12) 0, transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(168,200,224,.08) 0, transparent 45%);
}
.hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .08;
  background-image:
    linear-gradient(60deg, transparent 49%, var(--light-blue) 49%, var(--light-blue) 51%, transparent 51%),
    linear-gradient(-60deg, transparent 49%, var(--light-blue) 49%, var(--light-blue) 51%, transparent 51%);
  background-size: 60px 104px;
}
.hero .container { position: relative; z-index: 1; max-width: 980px; }
.hero h1 { color: var(--white); margin-bottom: var(--s-4); }
.hero h1 span.accent { color: var(--light-blue); }
.hero p.lead { color: rgba(255,255,255,.92); font-size: 1.2rem; max-width: 720px; }
.hero-actions { display: flex; gap: var(--s-3); flex-wrap: wrap; margin-top: var(--s-6); }
.hero-meta { display: flex; gap: var(--s-5); flex-wrap: wrap; margin-top: var(--s-6); }
.hero-meta-item { display: flex; align-items: center; gap: 8px; font-size: 14px; color: rgba(255,255,255,.8); }
.hero-meta-item svg { width: 18px; height: 18px; color: var(--light-blue); }

.hero--page {
  padding: var(--s-8) 0 var(--s-7);
}
.hero--page h1 { font-size: clamp(1.8rem, 3.6vw, 2.8rem); }
.breadcrumb {
  display: flex; gap: 8px; font-size: 13px; color: rgba(255,255,255,.7);
  margin-bottom: var(--s-4);
}
.breadcrumb a { color: var(--light-blue); }
.breadcrumb a:hover { color: var(--white); }

/* ---------- TRUST BAR (under hero) ---------- */
.trust-bar {
  background: var(--white);
  border-bottom: 1px solid var(--gray-200);
  padding: var(--s-5) 0;
}
.trust-grid {
  display: grid; grid-template-columns: repeat(5, 1fr); gap: var(--s-5);
  align-items: center; justify-items: center;
}
.trust-grid > div {
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: .04em;
  color: var(--navy-deep);
  text-align: center;
  font-size: 14px;
  text-transform: uppercase;
  padding: 12px 16px;
  border: 1px solid var(--gray-200);
  border-radius: var(--r-md);
  width: 100%;
  background: var(--gray-50);
}
.trust-grid > div small { display: block; font-size: 10px; font-weight: 600; color: var(--text-muted); letter-spacing: .12em; margin-top: 4px; }
@media (max-width: 860px) {
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ---------- STATS ---------- */
.stats {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--s-5);
}
.stat {
  text-align: center; padding: var(--s-5);
  background: var(--white); border-radius: var(--r-lg);
  border: 1px solid var(--gray-200);
}
.stat-num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2rem, 3.4vw, 2.8rem);
  color: var(--navy);
  line-height: 1;
}
.stat-label { font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--text-muted); margin-top: var(--s-2); }
@media (max-width: 720px) { .stats { grid-template-columns: repeat(2, 1fr); } }

/* ---------- SERVICE CARDS ---------- */
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s-5); }
@media (max-width: 900px) { .service-grid { grid-template-columns: 1fr; } }
.service-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: transform .25s ease, box-shadow .25s ease;
  display: flex; flex-direction: column;
}
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.service-card .card-img {
  height: 220px;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-deep) 100%);
  position: relative;
  display: flex; align-items: center; justify-content: center;
  color: var(--light-blue);
  overflow: hidden;
}
.service-card .card-img svg { width: 96px; height: 96px; opacity: .85; }
.service-card .card-img::after {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(60deg, transparent 49.5%, rgba(168,200,224,.18) 49.5%, rgba(168,200,224,.18) 50.5%, transparent 50.5%),
    linear-gradient(-60deg, transparent 49.5%, rgba(168,200,224,.18) 49.5%, rgba(168,200,224,.18) 50.5%, transparent 50.5%);
  background-size: 50px 86px;
  opacity: .35;
}

/* Photo variant — real job-site photo fills the area */
.service-card .card-img--photo {
  background: var(--navy-deep);
}
.service-card .card-img--photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .6s ease;
}
.service-card:hover .card-img--photo img {
  transform: scale(1.05);
}
.service-card .card-img--photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, transparent 50%, rgba(15,34,64,0.75) 100%),
    linear-gradient(135deg, rgba(15,34,64,0.15) 0%, transparent 40%);
  background-image: linear-gradient(180deg, transparent 50%, rgba(15,34,64,0.75) 100%);
  background-size: auto;
  opacity: 1;
}
.service-card .card-img-tag {
  position: absolute;
  top: 14px;
  left: 14px;
  background: rgba(168, 200, 224, 0.95);
  color: var(--navy-deep);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 3px;
  padding: 5px 12px;
  border-radius: 999px;
  z-index: 2;
  text-transform: uppercase;
}
.service-card .card-body { padding: var(--s-5); flex: 1; display: flex; flex-direction: column; }
.service-card h3 { color: var(--navy-deep); }
.service-card .card-link {
  margin-top: auto;
  display: inline-flex; align-items: center; gap: 6px;
  font-weight: 700;
  color: var(--navy);
  padding-top: var(--s-3);
}
.service-card .card-link:hover { color: var(--navy-deep); gap: 10px; }

/* ---------- PROCESS STEPS ---------- */
.process {
  display: grid; grid-template-columns: repeat(5, 1fr); gap: var(--s-3);
  position: relative;
}
@media (max-width: 1000px) { .process { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .process { grid-template-columns: 1fr; } }
.process-step {
  text-align: center;
  padding: var(--s-5);
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--r-lg);
  position: relative;
}
.process-step .step-num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 48px; height: 48px;
  background: var(--navy);
  color: var(--white);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 22px;
  border-radius: 50%;
  margin-bottom: var(--s-3);
  border: 4px solid var(--sky-soft);
}
.process-step h4 { color: var(--navy-deep); margin-bottom: 6px; }
.process-step p { font-size: 14px; margin: 0; }

/* ---------- WHY-US TILES ---------- */
.why-tiles {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--s-3);
}
@media (max-width: 900px) { .why-tiles { grid-template-columns: repeat(2, 1fr); } }
.why-tile {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--r-md);
  padding: var(--s-4);
  display: flex; align-items: center; gap: var(--s-3);
}
.why-tile svg { width: 32px; height: 32px; color: var(--navy); flex-shrink: 0; }
.why-tile .label { font-weight: 700; font-size: 14px; color: var(--navy-deep); line-height: 1.3; }
.section--dark .why-tile { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.12); }
.section--dark .why-tile svg { color: var(--light-blue); }
.section--dark .why-tile .label { color: var(--white); }

/* ---------- CTA STRIP ---------- */
.cta-strip {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-deep) 100%);
  color: var(--white);
  padding: var(--s-6) 0;
}
.cta-strip .container {
  display: flex; align-items: center; justify-content: space-between; gap: var(--s-5); flex-wrap: wrap;
}
.cta-strip h3 { color: var(--white); margin: 0; font-size: clamp(1.2rem, 2.4vw, 1.7rem); }
.cta-strip p { color: rgba(255,255,255,.85); margin: 0; }
.cta-strip-actions { display: flex; gap: var(--s-3); flex-wrap: wrap; }

/* ---------- TESTIMONIALS ---------- */
.testimonial-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s-5); }
@media (max-width: 900px) { .testimonial-grid { grid-template-columns: 1fr; } }
.testimonial {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--r-lg);
  padding: var(--s-5);
}
.testimonial .stars { color: #f4b400; font-size: 16px; margin-bottom: var(--s-3); letter-spacing: 2px; }
.testimonial .quote { color: var(--text); font-size: 15px; line-height: 1.65; }
.testimonial .attribution {
  display: flex; align-items: center; gap: 12px; margin-top: var(--s-4); padding-top: var(--s-4); border-top: 1px solid var(--gray-200);
}
.testimonial .avatar {
  width: 44px; height: 44px; border-radius: 50%;
  background: linear-gradient(135deg, var(--navy), var(--light-blue));
  display: flex; align-items: center; justify-content: center;
  color: var(--white); font-weight: 700; font-family: var(--font-display);
}
.testimonial .person .name { font-weight: 700; color: var(--navy-deep); font-size: 14px; }
.testimonial .person .title { font-size: 12px; color: var(--text-muted); }

/* ---------- SERVICE AREAS ---------- */
.area-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: var(--s-3); }
@media (max-width: 900px) { .area-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 560px) { .area-grid { grid-template-columns: repeat(2, 1fr); } }
.area {
  display: flex; align-items: center; gap: 8px;
  padding: 12px 14px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--r-md);
  font-size: 14px;
  font-weight: 600;
  color: var(--navy-deep);
}
.area:hover { background: var(--navy); color: var(--white); border-color: var(--navy); }
.area svg { width: 14px; height: 14px; color: var(--navy); flex-shrink: 0; }
.area:hover svg { color: var(--light-blue); }

/* ---------- FAQ ACCORDION ---------- */
.faq { max-width: 860px; margin: 0 auto; }
.faq-item {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--r-md);
  margin-bottom: var(--s-3);
  overflow: hidden;
}
.faq-q {
  display: flex; align-items: center; justify-content: space-between;
  padding: var(--s-4) var(--s-5);
  font-weight: 700; font-size: 16px; color: var(--navy-deep);
  cursor: pointer; user-select: none;
  background: transparent; border: 0; width: 100%; text-align: left;
}
.faq-q::after {
  content: "+"; font-size: 24px; font-weight: 300; color: var(--navy); line-height: 1;
  transition: transform .25s ease;
}
.faq-item.open .faq-q::after { content: "−"; }
.faq-a {
  max-height: 0; overflow: hidden;
  transition: max-height .3s ease, padding .3s ease;
  padding: 0 var(--s-5);
}
.faq-item.open .faq-a {
  max-height: 1000px;
  padding: 0 var(--s-5) var(--s-5);
}
.faq-a p { color: var(--text-muted); margin: 0; }
.faq-a p + p { margin-top: 12px; }

/* ---------- TWO-COL CONTENT ---------- */
.two-col {
  display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-7); align-items: center;
}
@media (max-width: 900px) { .two-col { grid-template-columns: 1fr; gap: var(--s-5); } }
.two-col.reverse > *:first-child { order: 2; }
@media (max-width: 900px) { .two-col.reverse > *:first-child { order: 0; } }
.two-col .visual {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-deep) 100%);
  border-radius: var(--r-lg);
  aspect-ratio: 4/3;
  position: relative;
  overflow: hidden;
  display: flex; align-items: center; justify-content: center;
}
.two-col .visual svg { width: 40%; opacity: .85; color: var(--light-blue); }
.two-col .visual::after {
  content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(60deg, transparent 49.5%, rgba(168,200,224,.15) 49.5%, rgba(168,200,224,.15) 50.5%, transparent 50.5%),
                    linear-gradient(-60deg, transparent 49.5%, rgba(168,200,224,.15) 49.5%, rgba(168,200,224,.15) 50.5%, transparent 50.5%);
  background-size: 50px 86px;
  opacity: .35;
}
.two-col .visual.has-img { background: var(--navy-deep); }
.two-col .visual.has-img img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- BULLET LIST (custom arrow) ---------- */
.checks { list-style: none; padding: 0; margin: 0; }
.checks li {
  position: relative;
  padding-left: 32px;
  margin-bottom: var(--s-3);
  color: var(--text);
}
.checks li::before {
  content: ""; position: absolute; left: 0; top: 6px;
  width: 18px; height: 18px;
  background:
    var(--navy)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E") center / 12px no-repeat;
  border-radius: 50%;
}
.section--dark .checks li { color: rgba(255,255,255,.9); }
.section--dark .checks li::before { background-color: var(--light-blue); }

/* ---------- FORM ---------- */
.form {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--r-lg);
  padding: var(--s-6);
}
.form-row { margin-bottom: var(--s-4); }
.form-row.two { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-4); }
@media (max-width: 560px) { .form-row.two { grid-template-columns: 1fr; } }
.form label { display: block; font-size: 13px; font-weight: 600; color: var(--navy-deep); margin-bottom: 6px; }
.form input, .form select, .form textarea {
  width: 100%;
  padding: 12px 14px;
  font-family: inherit;
  font-size: 15px;
  color: var(--text);
  background: var(--white);
  border: 1px solid var(--gray-300);
  border-radius: var(--r-md);
  transition: border-color .2s ease, box-shadow .2s ease;
}
.form input:focus, .form select:focus, .form textarea:focus {
  outline: none;
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(26,58,92,.12);
}
.form textarea { min-height: 120px; resize: vertical; }
.form-check { display: flex; align-items: center; gap: 8px; }
.form-check input { width: auto; }
.form .btn { width: 100%; justify-content: center; }
.form-note { font-size: 12px; color: var(--text-muted); }

/* ---------- FOOTER ---------- */
.footer {
  background: var(--navy-darker);
  color: rgba(255,255,255,.75);
  padding: var(--s-8) 0 var(--s-5);
  font-size: 14px;
}
.footer-grid {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: var(--s-6);
  margin-bottom: var(--s-6);
}
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }
.footer h4 {
  font-family: var(--font-body); font-size: 12px; letter-spacing: .15em; text-transform: uppercase;
  color: var(--light-blue); margin-bottom: var(--s-3);
}
.footer ul { list-style: none; padding: 0; margin: 0; }
.footer li { margin-bottom: 8px; }
.footer a { color: rgba(255,255,255,.78); }
.footer a:hover { color: var(--light-blue); }
.footer-brand { display: block; margin-bottom: var(--s-4); }
.footer-brand img {
  display: block;
  width: 280px;
  max-width: 100%;
  height: auto;
  /* Invert dark-on-white JPEG to light-on-transparent for dark footer.
     invert flips dark navy → light peach, white → black.
     hue-rotate 180deg shifts the peach toward light blue (brand color).
     mix-blend-mode: screen drops the black bg against the navy footer. */
  filter: invert(1) hue-rotate(180deg) brightness(1.1);
  mix-blend-mode: screen;
}
.footer-brand strong, .footer-brand small { display: none; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding-top: var(--s-4);
  display: flex; flex-wrap: wrap; gap: var(--s-4); justify-content: space-between;
  font-size: 13px; color: rgba(255,255,255,.6);
}
.footer-bottom a { color: rgba(255,255,255,.6); }

/* ---------- STICKY MOBILE CALL BAR ---------- */
.sticky-call {
  display: none;
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 90;
  background: var(--navy-deep);
  border-top: 1px solid var(--navy-line);
  padding: 10px;
  gap: 8px;
}
.sticky-call .btn { flex: 1; justify-content: center; padding: 12px; font-size: 14px; }
@media (max-width: 760px) {
  .sticky-call { display: flex; }
  body { padding-bottom: 70px; }
}

/* ---------- BEFORE/AFTER GALLERY ---------- */
.gallery-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--s-4); }
@media (max-width: 700px) { .gallery-grid { grid-template-columns: 1fr; } }
.gallery-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--r-lg);
  overflow: hidden;
}
.gallery-pair { display: grid; grid-template-columns: 1fr 1fr; }
.gallery-pair > div {
  aspect-ratio: 1/1;
  background: var(--gray-100);
  position: relative;
  display: flex; align-items: center; justify-content: center;
  color: var(--gray-500);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.2rem;
  letter-spacing: .1em;
}
.gallery-pair > div:first-child { background: linear-gradient(135deg, #6b7a8c, #4a5d75); color: var(--white); }
.gallery-pair > div:last-child { background: linear-gradient(135deg, var(--sky-soft), var(--light-blue)); color: var(--navy-deep); }
.gallery-pair > div span {
  position: absolute; top: 12px; left: 12px;
  background: rgba(0,0,0,.6); color: var(--white);
  padding: 4px 10px; font-size: 11px; letter-spacing: .15em; border-radius: var(--r-sm);
}
.gallery-pair > div:last-child span { background: var(--navy); }
.gallery-card .caption { padding: 12px 16px; font-size: 13px; color: var(--text-muted); border-top: 1px solid var(--gray-200); }

/* ---------- BADGE ROW (cert/license callouts) ---------- */
.badge-row { display: flex; flex-wrap: wrap; gap: var(--s-3); justify-content: center; }
.badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 16px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--r-full);
  font-size: 13px;
  font-weight: 700;
  color: var(--navy-deep);
}
.badge svg { width: 16px; height: 16px; color: var(--navy); }
.section--dark .badge { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.15); color: var(--white); }
.section--dark .badge svg { color: var(--light-blue); }

/* ---------- ALERT / EMERGENCY ---------- */
.alert {
  background: #fef3f2;
  border-left: 4px solid var(--danger);
  padding: var(--s-4) var(--s-5);
  border-radius: var(--r-md);
}
.alert strong { color: var(--danger); }

/* ---------- UTILITIES ---------- */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; } .mt-3 { margin-top: var(--s-3); } .mt-5 { margin-top: var(--s-5); }
.mb-0 { margin-bottom: 0; } .mb-3 { margin-bottom: var(--s-3); } .mb-5 { margin-bottom: var(--s-5); }
.section-head { text-align: center; max-width: 760px; margin: 0 auto var(--s-7); }
.section-head h2 { color: var(--navy-deep); }
.section-head.on-dark h2 { color: var(--white); }
.divider { height: 1px; background: var(--gray-200); margin: var(--s-6) 0; }

/* ---------- A11Y ---------- */
:focus-visible { outline: 3px solid var(--light-blue); outline-offset: 2px; border-radius: 4px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }

/* ============================================================
   VISUAL POLISH UPGRADES (added after initial build)
   ============================================================ */

/* ---------- MEGA DROPDOWN NAV ---------- */
.mega-dropdown {
  position: absolute; top: 100%; left: 50%; transform: translateX(-50%) translateY(10px);
  width: 720px; max-width: 90vw;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg);
  padding: var(--s-5);
  opacity: 0; visibility: hidden;
  transition: all .22s ease;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s-4);
}
.nav-has-children:hover .mega-dropdown,
.nav-has-children:focus-within .mega-dropdown {
  opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0);
}
.mega-card {
  display: block; padding: var(--s-4);
  border-radius: var(--r-md);
  background: var(--gray-50);
  border: 1px solid transparent;
  transition: all .2s ease;
}
.mega-card:hover {
  background: var(--white);
  border-color: var(--light-blue);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}
.mega-card-icon {
  width: 44px; height: 44px;
  background: var(--navy);
  color: var(--light-blue);
  border-radius: var(--r-md);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 10px;
}
.mega-card-icon svg { width: 24px; height: 24px; }
.mega-card-title {
  font-family: var(--font-display);
  font-weight: 800; font-size: 16px;
  color: var(--navy-deep);
  margin-bottom: 4px;
}
.mega-card-desc { font-size: 13px; color: var(--text-muted); margin: 0; line-height: 1.45; }
.mega-card-arrow {
  display: inline-flex; align-items: center; gap: 4px;
  font-size: 12px; font-weight: 700; color: var(--navy); margin-top: 8px;
  letter-spacing: .04em;
}

/* ---------- HERO UPGRADE: image background + Ken Burns animation ---------- */
.hero--with-image {
  background: var(--navy-deep);
  position: relative;
  overflow: hidden;
  padding: var(--s-10) 0;
}
.hero-bg {
  position: absolute; inset: 0;
  z-index: 0;
  overflow: hidden;
}
.hero-bg::before {
  content: ""; position: absolute; inset: -5%;
  background-image: url("../images/IMG_0037.jpeg");
  background-size: cover; background-position: center;
  animation: kenburns 20s ease-in-out infinite alternate;
  opacity: .45;
}
.hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(15,34,64,.85) 0%, rgba(26,58,92,.78) 50%, rgba(15,34,64,.92) 100%);
}
@keyframes kenburns {
  0%   { transform: scale(1.0) translate(0, 0); }
  100% { transform: scale(1.15) translate(-2%, -1%); }
}
.hero--with-image .container { position: relative; z-index: 1; }

/* Animated hex pattern overlay */
.hero-pattern {
  position: absolute; inset: 0; z-index: 0;
  background-image:
    linear-gradient(60deg, transparent 49%, rgba(168,200,224,.10) 49%, rgba(168,200,224,.10) 51%, transparent 51%),
    linear-gradient(-60deg, transparent 49%, rgba(168,200,224,.10) 49%, rgba(168,200,224,.10) 51%, transparent 51%);
  background-size: 80px 138px;
  animation: drift 30s linear infinite;
  opacity: .35;
}
@keyframes drift {
  0%   { background-position: 0 0; }
  100% { background-position: 80px 138px; }
}

/* ---------- PREMIUM CERT BADGES ---------- */
.cert-badges {
  display: grid; grid-template-columns: repeat(5, 1fr); gap: var(--s-4);
}
@media (max-width: 900px) { .cert-badges { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 560px) { .cert-badges { grid-template-columns: repeat(2, 1fr); } }

.cert-badge {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--r-lg);
  padding: var(--s-4) var(--s-3);
  text-align: center;
  position: relative;
  transition: transform .25s ease, box-shadow .25s ease;
  overflow: hidden;
}
.cert-badge::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background: linear-gradient(90deg, var(--navy), var(--light-blue));
}
.cert-badge:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}
.cert-badge-seal {
  width: 56px; height: 56px;
  margin: 0 auto 10px;
  background: var(--sky-soft);
  border: 2px solid var(--navy);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  position: relative;
}
.cert-badge-seal::before {
  content: ""; position: absolute; inset: 4px;
  border: 1px dashed var(--navy);
  border-radius: 50%;
  opacity: .35;
}
.cert-badge-seal svg { width: 26px; height: 26px; color: var(--navy); z-index: 1; }
.cert-badge-title {
  font-family: var(--font-display);
  font-weight: 800; font-size: 14px;
  color: var(--navy-deep);
  letter-spacing: .04em;
  text-transform: uppercase;
  margin-bottom: 2px;
}
.cert-badge-sub { font-size: 11px; color: var(--text-muted); font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }

/* ---------- PROCESS WITH CONNECTING ARROWS ---------- */
.process-flow {
  position: relative;
  display: grid; grid-template-columns: repeat(5, 1fr); gap: var(--s-4);
}
.process-flow::before {
  content: ""; position: absolute;
  top: 36px; left: 10%; right: 10%; height: 2px;
  background: repeating-linear-gradient(90deg, var(--light-blue) 0, var(--light-blue) 8px, transparent 8px, transparent 16px);
  z-index: 0;
}
@media (max-width: 1000px) {
  .process-flow { grid-template-columns: repeat(2, 1fr); }
  .process-flow::before { display: none; }
}
@media (max-width: 560px) { .process-flow { grid-template-columns: 1fr; } }

.process-flow-step {
  text-align: center;
  position: relative;
  z-index: 1;
}
.process-flow-num {
  width: 72px; height: 72px;
  margin: 0 auto var(--s-3);
  background: var(--white);
  border: 3px solid var(--navy);
  color: var(--navy-deep);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 28px;
  box-shadow: 0 0 0 6px var(--sky-soft);
  transition: all .25s ease;
}
.process-flow-step:hover .process-flow-num {
  background: var(--navy);
  color: var(--white);
  transform: scale(1.05);
}
.process-flow-step h4 {
  color: var(--navy-deep);
  margin-bottom: 6px;
  font-size: 16px;
}
.process-flow-step p {
  font-size: 13px;
  margin: 0;
  max-width: 200px;
  margin-left: auto; margin-right: auto;
}

/* ---------- BEFORE / AFTER SLIDER ---------- */
.ba-gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--s-5); }
@media (max-width: 900px) { .ba-gallery { grid-template-columns: 1fr; } }

.ba-slider {
  position: relative;
  aspect-ratio: 4/3;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--gray-100);
  border: 1px solid var(--gray-200);
  cursor: ew-resize;
  user-select: none;
  -webkit-user-select: none;
}
.ba-slider img,
.ba-slider .ba-img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
.ba-slider .ba-before {
  background: linear-gradient(135deg, #4a5d75 0%, #6b7a8c 100%);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,.6);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.4rem;
  letter-spacing: .15em;
}
.ba-slider .ba-after {
  clip-path: inset(0 0 0 50%);
  background: linear-gradient(135deg, var(--sky-soft) 0%, var(--light-blue) 100%);
  display: flex; align-items: center; justify-content: center;
  color: var(--navy-deep);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.4rem;
  letter-spacing: .15em;
}
.ba-slider .ba-label {
  position: absolute; top: 14px;
  padding: 6px 12px;
  font-size: 11px; font-weight: 700; letter-spacing: .15em; text-transform: uppercase;
  border-radius: var(--r-sm);
  z-index: 3;
  pointer-events: none;
}
.ba-slider .ba-label.before {
  left: 14px;
  background: rgba(15,34,64,.85); color: var(--white);
}
.ba-slider .ba-label.after {
  right: 14px;
  background: var(--success); color: var(--white);
}
.ba-handle {
  position: absolute; top: 0; bottom: 0; left: 50%;
  width: 3px;
  background: var(--white);
  transform: translateX(-50%);
  z-index: 2;
  pointer-events: none;
  box-shadow: 0 0 0 1px rgba(15,34,64,.25);
}
.ba-handle::after {
  content: ""; position: absolute; top: 50%; left: 50%;
  width: 42px; height: 42px;
  transform: translate(-50%, -50%);
  background: var(--white)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231a3a5c' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='15 18 9 12 15 6'/%3E%3Cpolyline points='9 18 15 12 9 6' transform='translate(2 0)'/%3E%3C/svg%3E") center / 24px no-repeat;
  border-radius: 50%;
  box-shadow: 0 4px 16px rgba(15,34,64,.35);
  pointer-events: none;
}
.ba-caption {
  padding: 14px 18px;
  font-size: 13px;
  color: var(--text-muted);
  font-weight: 600;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-top: 0;
  border-radius: 0 0 var(--r-lg) var(--r-lg);
  margin-top: -1px;
}
.ba-caption strong { color: var(--navy-deep); }

/* ---------- SERVICE-PAGE HERO SCENES ---------- */
.hero--asbestos {
  background:
    linear-gradient(135deg, rgba(15,34,64,.82) 0%, rgba(26,58,92,.74) 100%),
    url("../images/IMG_0029.jpeg") center / cover no-repeat,
    var(--navy-deep) !important;
}
.hero--mold {
  background:
    linear-gradient(135deg, rgba(15,34,64,.82) 0%, rgba(26,58,92,.74) 100%),
    url("../images/istockphoto-179312755-612x612.webp") center / cover no-repeat,
    var(--navy-deep) !important;
}
.hero--lead {
  background:
    linear-gradient(135deg, rgba(15,34,64,.82) 0%, rgba(26,58,92,.74) 100%),
    url("../images/istockphoto-154925869-612x612.webp") center / cover no-repeat,
    var(--navy-deep) !important;
}

/* On The Job photo grid (replaces illustrated before/after) */
.onjob-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: 200px;
  gap: var(--s-4);
}
@media (max-width: 900px) {
  .onjob-grid { grid-template-columns: repeat(6, 1fr); grid-auto-rows: 180px; }
}
@media (max-width: 560px) {
  .onjob-grid { grid-template-columns: 1fr; grid-auto-rows: 240px; }
}
.onjob-card {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--navy-deep);
  transition: transform .3s ease, box-shadow .3s ease;
  cursor: pointer;
}
.onjob-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.onjob-card img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .6s ease;
}
.onjob-card:hover img { transform: scale(1.05); }
.onjob-card::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(15,34,64,.85) 100%);
  pointer-events: none;
}
.onjob-card .caption {
  position: absolute; left: 20px; right: 20px; bottom: 18px; z-index: 2;
}
.onjob-card .caption .tag {
  display: inline-block;
  background: var(--light-blue);
  color: var(--navy-deep);
  font-size: 10px; font-weight: 800; letter-spacing: 2px;
  padding: 4px 10px; border-radius: var(--r-full);
  margin-bottom: 8px; text-transform: uppercase;
}
.onjob-card .caption h4 {
  color: var(--white); margin: 0; font-size: 1.1rem;
  text-shadow: 0 2px 8px rgba(0,0,0,.4);
}
.onjob-card .caption p {
  color: rgba(255,255,255,.85); margin: 4px 0 0; font-size: 13px;
  text-shadow: 0 2px 8px rgba(0,0,0,.4);
}
/* Featured grid placements */
.onjob-feat { grid-column: span 6; grid-row: span 2; }
.onjob-tall { grid-column: span 3; grid-row: span 2; }
.onjob-wide { grid-column: span 6; grid-row: span 1; }
.onjob-std  { grid-column: span 3; grid-row: span 1; }
@media (max-width: 900px) {
  .onjob-feat { grid-column: span 6; grid-row: span 2; }
  .onjob-tall { grid-column: span 3; grid-row: span 2; }
  .onjob-wide { grid-column: span 6; grid-row: span 1; }
  .onjob-std  { grid-column: span 3; grid-row: span 1; }
}
@media (max-width: 560px) {
  .onjob-feat, .onjob-tall, .onjob-wide, .onjob-std { grid-column: 1 / -1; grid-row: span 1; }
}

/* ---------- HERO ILLUSTRATION (right side accent on homepage) ---------- */
.hero-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: var(--s-7);
  align-items: center;
}
@media (max-width: 1000px) { .hero-grid { grid-template-columns: 1fr; } .hero-illust { display: none; } }
.hero-illust {
  background: rgba(168,200,224,.08);
  border: 1px solid rgba(168,200,224,.15);
  border-radius: var(--r-xl);
  padding: var(--s-4);
  position: relative;
  overflow: hidden;
}
.hero-illust img { width: 100%; height: auto; display: block; }
.hero-illust::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(135deg, transparent 60%, rgba(168,200,224,.18) 100%);
  pointer-events: none;
}

/* Mascot variant — square brand asset, lets it breathe with glow */
.hero-illust--mascot {
  background: radial-gradient(circle at center, rgba(168,200,224,.18) 0%, rgba(168,200,224,.04) 50%, transparent 75%);
  border: 0;
  padding: var(--s-5);
  display: flex; align-items: center; justify-content: center;
  animation: floatGently 6s ease-in-out infinite;
}
.hero-illust--mascot::after { display: none; }
.hero-illust--mascot img {
  width: 100%;
  max-width: 480px;
  height: auto;
  filter: drop-shadow(0 20px 40px rgba(0,0,0,.4)) drop-shadow(0 0 30px rgba(168,200,224,.15));
}
@keyframes floatGently {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-10px); }
}

/* BOLD VARIANT — Direction C with editorial showcase */
.hero--bold .hero-grid {
  grid-template-columns: 1.25fr 1fr;
  align-items: center;
  gap: var(--s-8);
}
.hero--bold h1 {
  font-size: clamp(2.4rem, 5vw, 4rem);
  line-height: 1.02;
  letter-spacing: -0.5px;
  max-width: 640px;
}
.hero--bold h1 .accent {
  font-style: italic;
  color: var(--light-blue);
}
.hero--bold .lead {
  max-width: 560px;
}
.hero--bold .hero-meta {
  margin-top: var(--s-5);
}

/* SHOWCASE — photo window with mascot badge corner element */
.hero-illust--showcase {
  background: transparent;
  border: 0;
  padding: 0;
  overflow: visible;
  position: relative;
  display: block;
  aspect-ratio: 4 / 5;
  max-width: 460px;
  margin: 0 auto;
}
.hero-illust--showcase::after { display: none; }

.hi-photo-window {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(168, 200, 224, 0.28);
  box-shadow:
    0 0 0 1px rgba(15, 34, 64, 0.5) inset,
    0 30px 70px rgba(0, 0, 0, 0.5),
    0 0 60px rgba(168, 200, 224, 0.12);
  background: var(--navy-deep);
}
.hi-photo-window > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transform: scale(1.05);
  transition: transform 8s ease-in-out;
}
.hi-photo-window:hover > img {
  transform: scale(1.12);
}
.hi-photo-window::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(15, 34, 64, 0.25) 0%, transparent 30%, transparent 60%, rgba(15, 34, 64, 0.75) 100%);
  pointer-events: none;
}

.hi-photo-tag {
  position: absolute;
  top: 18px;
  right: 18px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(15, 34, 64, 0.7);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: var(--light-blue);
  padding: 7px 14px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 3px;
  border: 1px solid rgba(168, 200, 224, 0.35);
  z-index: 3;
}
.hi-photo-tag .live-dot {
  width: 7px;
  height: 7px;
  background: #2f855a;
  border-radius: 50%;
  box-shadow: 0 0 0 3px rgba(47, 133, 90, 0.3);
  animation: pulse 1.8s ease-in-out infinite;
}

.hi-photo-caption {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 28px;
  z-index: 3;
}
.hi-photo-caption .lbl {
  display: inline-block;
  font-size: 10px;
  letter-spacing: 3px;
  color: var(--light-blue);
  font-weight: 800;
  padding-bottom: 4px;
  border-bottom: 2px solid var(--light-blue);
  margin-bottom: 8px;
}
.hi-photo-caption h4 {
  color: #fff;
  font-family: var(--font-display);
  font-weight: 800;
  font-style: italic;
  font-size: 22px;
  line-height: 1.05;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.7);
  margin: 0;
}

.hi-mascot-badge {
  position: absolute;
  bottom: -36px;
  left: -36px;
  width: 138px;
  height: 138px;
  border-radius: 50%;
  background: #fff;
  overflow: hidden;
  border: 5px solid var(--navy-deep);
  box-shadow:
    0 0 0 2px rgba(168, 200, 224, 0.55),
    0 18px 40px rgba(0, 0, 0, 0.55);
  z-index: 4;
  animation: floatGently 5s ease-in-out infinite;
}
.hi-mascot-badge img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.12);
  display: block;
}

.hi-stripe {
  position: absolute;
  top: 20%;
  right: -14px;
  bottom: 20%;
  width: 4px;
  background: linear-gradient(180deg, transparent, var(--light-blue), transparent);
  border-radius: 2px;
  z-index: 2;
}
.hi-est {
  position: absolute;
  top: -14px;
  right: 24px;
  background: var(--light-blue);
  color: var(--navy-deep);
  font-family: var(--font-display);
  font-weight: 800;
  font-style: italic;
  font-size: 13px;
  letter-spacing: 2px;
  padding: 4px 14px;
  border-radius: 4px;
  z-index: 4;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.3);
}

@media (max-width: 1000px) {
  .hero-illust--showcase { max-width: 360px; aspect-ratio: 1 / 1; }
  .hi-mascot-badge { width: 110px; height: 110px; bottom: -28px; left: -28px; }
}

/* CARD VARIANT — integrated credentials card replacing floating mascot */
.hero-illust--card {
  background: rgba(15, 34, 64, 0.55);
  border: 1px solid rgba(168, 200, 224, 0.22);
  border-radius: var(--r-xl);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}
.hero-illust--card::after { display: none; }
.hi-mascot-frame {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: #ffffff;
  overflow: hidden;
  position: relative;
  flex-shrink: 0;
  box-shadow: 0 0 0 3px rgba(168, 200, 224, 0.45), 0 0 50px rgba(168, 200, 224, 0.30), 0 12px 30px rgba(0,0,0,0.4);
  animation: floatGently 6s ease-in-out infinite;
}
.hi-mascot-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.12);
  display: block;
}
.hi-divider {
  width: 100px;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(168,200,224,0.6), transparent);
  border: 0;
}
.hi-credentials {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
}
.hi-cred {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  background: rgba(168, 200, 224, 0.08);
  border: 1px solid rgba(168, 200, 224, 0.18);
  border-radius: 10px;
}
.hi-cred-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #a8c8e0;
  color: #0f2240;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 14px;
  flex-shrink: 0;
}
.hi-cred-text {
  font-weight: 700;
  font-size: 13px;
  color: #ffffff;
  line-height: 1.2;
}
.hi-cred-text small {
  display: block;
  font-size: 10px;
  color: rgba(168, 200, 224, 0.85);
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-top: 2px;
}
.hi-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #2f855a;
  color: #ffffff;
  padding: 10px 22px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 12px;
  letter-spacing: 3px;
  margin-top: 4px;
  box-shadow: 0 6px 18px rgba(47,133,90,0.35);
}

/* About-page mascot feature */
.mascot-feature {
  display: flex; align-items: center; justify-content: center;
  background: radial-gradient(circle at center, var(--sky-soft) 0%, var(--white) 60%, var(--white) 100%);
  border-radius: var(--r-xl);
  padding: var(--s-7);
  position: relative;
  overflow: hidden;
}
.mascot-feature::before {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(60deg, transparent 49%, rgba(26,58,92,.06) 49%, rgba(26,58,92,.06) 51%, transparent 51%),
    linear-gradient(-60deg, transparent 49%, rgba(26,58,92,.06) 49%, rgba(26,58,92,.06) 51%, transparent 51%);
  background-size: 60px 104px;
  opacity: .8;
  pointer-events: none;
}
.mascot-feature img {
  position: relative; z-index: 1;
  width: 100%; max-width: 420px; height: auto;
  filter: drop-shadow(0 12px 32px rgba(15,34,64,.20));
}

/* ---------- SVG ILLUSTRATION CONTAINER (in cards/sections) ---------- */
.illust-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: all .25s ease;
}
.illust-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.illust-card .illust-head {
  aspect-ratio: 16/10;
  background: linear-gradient(135deg, var(--navy-deep) 0%, var(--navy) 100%);
  position: relative;
  overflow: hidden;
}
.illust-card .illust-head img,
.illust-card .illust-head svg {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
.illust-card .illust-head::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(15,34,64,.55) 100%);
  pointer-events: none;
}
.illust-card .illust-tag {
  position: absolute; top: 14px; left: 14px;
  background: var(--white);
  color: var(--navy-deep);
  padding: 5px 10px;
  border-radius: var(--r-full);
  font-size: 11px; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase;
  z-index: 2;
}
.illust-card .illust-body { padding: var(--s-5); }
.illust-card h3 { color: var(--navy-deep); }

/* ---------- PRINT ---------- */
@media print {
  .utility, .header, .footer, .sticky-call, .cta-strip { display: none; }
  body { color: black; }
}
