/* ============================================================
   ASQUARES ENGINEERING & CONTRACTING — Website v1
   Brand: Navy #1E3448 · Amber #E8882A · Teal #40C1C1
   Type: Montserrat (display) + Open Sans (body)
   ============================================================ */

:root {
  --navy: #1E3448;
  --navy-deep: #152736;
  --navy-soft: #2a4763;
  --amber: #E8882A;
  --amber-dark: #D07520;
  --teal: #40C1C1;
  --teal-dark: #2FA8A8;
  --white: #FFFFFF;
  --soft-white: #F8F6F2;
  --off-white: #EEE9E0;
  --line: #e3ddd1;
  --ink: #45556a;
  --ink-soft: #5b6b7a;
  /* Functional UI only — never in marketing */
  --ui-red: #C43A2E;
  --ui-green: #2A8A5A;

  --font-heading: 'Montserrat', Arial, sans-serif;
  --font-body: 'Open Sans', Calibri, sans-serif;

  --radius: 4px;
  --radius-pill: 999px;
  --shadow-sm: 0 1px 4px rgba(30,52,72,0.06);
  --shadow-md: 0 4px 20px rgba(30,52,72,0.08);
  --shadow-lg: 0 16px 32px rgba(30,52,72,0.10);
  --ease: 0.25s cubic-bezier(0.4,0,0.2,1);
  --topbar-h: 38px;
  --nav-h: 78px;
}

/* ============== RESET ============== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 130px; font-size: 16px; }
body {
  font-family: var(--font-body);
  color: var(--navy);
  background: var(--white);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
:focus-visible { outline: 2px solid var(--amber); outline-offset: 3px; border-radius: 3px; }

.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* ============== TYPOGRAPHY ============== */
h1, h2, h3, h4 { font-family: var(--font-heading); font-weight: 800; line-height: 1.15; letter-spacing: -0.012em; color: var(--navy); }
h1 { font-size: clamp(2.2rem, 4.8vw, 3.6rem); line-height: 1.05; letter-spacing: -0.02em; }
h2 { font-size: clamp(1.7rem, 3vw, 2.5rem); }
h3 { font-size: clamp(1.15rem, 1.6vw, 1.4rem); }
h4 { font-size: 0.95rem; font-weight: 700; }
p { color: var(--ink); }

.section-label {
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 12px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.section-sub { font-size: 1rem; color: var(--ink-soft); max-width: 640px; line-height: 1.7; margin: 8px auto 0; }
.section-head { margin-bottom: 56px; }
.section-head.center { text-align: center; }
.section-head.center .section-label::before, .section-head.center .section-label::after {
  content: ""; width: 32px; height: 2px; background: var(--amber);
}

/* ============== BUTTONS ============== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 28px;
  font-family: var(--font-heading);
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  transition: var(--ease);
  white-space: nowrap;
}
.btn svg { width: 16px; height: 16px; }
.btn-amber { background: var(--amber); color: var(--navy); }
.btn-amber:hover { background: var(--navy); color: var(--white); transform: translateY(-2px); }
.btn-navy { background: var(--navy); color: var(--white); }
.btn-navy:hover { background: var(--navy-deep); transform: translateY(-2px); }
.btn-outline { background: transparent; color: var(--navy); border: 1.5px solid var(--navy); }
.btn-outline:hover { background: var(--navy); color: var(--white); }
.btn-outline-light { background: transparent; color: var(--white); border: 1.5px solid rgba(255,255,255,0.6); }
.btn-outline-light:hover { background: var(--white); color: var(--navy); border-color: var(--white); }

/* ============== UTILITY BAR + NAV ============== */
.navbar { position: sticky; top: 0; z-index: 100; background: var(--white); }
.utility-bar { background: var(--navy); color: var(--white); padding: 9px 0; font-size: 0.8125rem; }
.utility-inner { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; }
.utility-contact { display: flex; gap: 18px; }
.utility-contact a { color: var(--white); display: inline-flex; align-items: center; gap: 7px; opacity: 0.92; transition: var(--ease); }
.utility-contact a:hover { opacity: 1; color: var(--amber); }
.utility-contact svg { width: 13px; height: 13px; fill: currentColor; }
.utility-certs { display: flex; gap: 8px; flex-wrap: wrap; }
.utility-certs span {
  font-family: var(--font-heading); font-weight: 700; font-size: 0.7rem;
  letter-spacing: 0.06em; padding: 5px 11px;
  background: rgba(232,136,42,0.14);
  border: 1px solid rgba(232,136,42,0.42);
  border-radius: 3px;
  display: inline-flex; align-items: center; gap: 7px; color: var(--white);
  white-space: nowrap; line-height: 1;
  transition: var(--ease);
}
.utility-certs span:hover { background: var(--amber); color: var(--navy); }
.utility-certs span:hover .iso-icon { stroke: var(--navy); }
.iso-icon { width: 14px; height: 14px; stroke: var(--amber); flex-shrink: 0; }

.nav-main { background: var(--white); border-bottom: 1px solid var(--line); }
.nav-inner { display: flex; justify-content: space-between; align-items: center; padding: 14px 0; }

.logo-group { display: flex; align-items: center; gap: 14px; }
.logo-img { width: 50px; height: 50px; object-fit: contain; flex-shrink: 0; }
.logo-divider { width: 1px; height: 32px; background: var(--amber); flex-shrink: 0; }
.logo-text { display: flex; flex-direction: column; line-height: 1.1; }
.logo-name { font-family: var(--font-heading); font-weight: 800; font-size: 1.2rem; letter-spacing: 0.06em; color: var(--navy); }
.logo-tagline { font-family: var(--font-body); font-weight: 500; font-size: 0.7rem; letter-spacing: 0.04em; color: var(--ink-soft); margin-top: 3px; }

.nav-links { display: flex; gap: 28px; align-items: center; }
.nav-links a {
  font-family: var(--font-heading); font-weight: 600; font-size: 0.875rem;
  color: var(--navy); transition: color 0.15s; position: relative; padding: 6px 0;
}
.nav-links a:hover, .nav-links a.active { color: var(--amber); }
.nav-links a.active::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px;
  height: 2px; background: var(--amber);
}
.nav-links a.nav-cta {
  background: var(--amber); color: var(--navy); padding: 11px 22px;
  border-radius: var(--radius); font-weight: 700; letter-spacing: 0.05em;
}
.nav-links a.nav-cta:hover { background: var(--navy); color: var(--white); }
.nav-links a.nav-cta::after { display: none; }

.nav-toggle { display: none; background: transparent; border: none; cursor: pointer; padding: 8px; flex-direction: column; gap: 5px; }
.nav-toggle span { display: block; width: 26px; height: 2px; background: var(--navy); transition: var(--ease); }
.nav-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============== HERO ============== */
.hero { background: var(--soft-white); padding: 76px 0 84px; position: relative; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 64px; align-items: center; }
.eyebrow {
  font-family: var(--font-heading); font-weight: 700; font-size: 0.75rem;
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--amber);
  margin-bottom: 22px; display: flex; align-items: center; gap: 12px;
}
.eyebrow::before { content: ""; width: 32px; height: 2px; background: var(--amber); }
.hero h1 { color: var(--navy); margin-bottom: 22px; }
.hero h1 .punch { color: var(--amber); }
.hero .subhead { font-size: 1.0625rem; line-height: 1.65; color: var(--ink); margin-bottom: 32px; max-width: 560px; }
.hero-buttons { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; }
.hero-phone { font-family: var(--font-body); font-weight: 600; font-size: 0.875rem; color: var(--ink); margin-left: 4px; }
.hero-phone a { color: var(--amber); font-weight: 700; }
.hero-phone a:hover { color: var(--navy); }

/* Brand graphic — hero photo treatment */
.brand-graphic {
  background: var(--navy); aspect-ratio: 4/5; border-radius: var(--radius);
  position: relative; overflow: hidden;
  box-shadow: 0 32px 56px rgba(30,52,72,0.28);
}
.brand-graphic .hero-img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: center;
  filter: contrast(1.05) saturate(0.55) brightness(0.78);
  z-index: 1;
}
.brand-graphic::before {
  content: ""; position: absolute; inset: 0; z-index: 2;
  background: linear-gradient(135deg,
    rgba(30,52,72,0.55) 0%,
    rgba(30,52,72,0.32) 45%,
    rgba(30,52,72,0.85) 100%);
  pointer-events: none;
}
.brand-graphic::after {
  content: ""; position: absolute; inset: 0; z-index: 3;
  background-image:
    linear-gradient(rgba(64,193,193,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(64,193,193,0.05) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
}
/* Corner brackets (CSS only — guaranteed to align) */
.brand-graphic .bracket-tl,
.brand-graphic .bracket-br {
  position: absolute; width: 36px; height: 36px;
  z-index: 4; pointer-events: none; opacity: 0.85;
}
.brand-graphic .bracket-tl {
  top: 24px; left: 24px;
  border-top: 2px solid var(--teal);
  border-left: 2px solid var(--teal);
}
.brand-graphic .bracket-br {
  bottom: 22px; right: 22px;
  border-bottom: 2px solid var(--teal);
  border-right: 2px solid var(--teal);
}

.bg-corner {
  position: absolute; font-family: var(--font-heading); font-weight: 700;
  font-size: 0.6875rem; letter-spacing: 0.18em;
  color: rgba(255,255,255,0.9); z-index: 5;
  text-shadow: 0 2px 8px rgba(0,0,0,0.4);
}
.bg-corner.br { bottom: 30px; right: 32px; }

.bg-badge {
  position: absolute; bottom: 26px; left: 26px; z-index: 5;
  background: var(--amber); color: var(--navy);
  padding: 9px 16px; font-family: var(--font-heading); font-weight: 700;
  font-size: 0.7rem; letter-spacing: 0.12em;
  text-transform: uppercase; border-radius: var(--radius);
  box-shadow: 0 4px 16px rgba(0,0,0,0.25);
}

/* ============== STAT STRIP ============== */
.stat-strip { background: var(--navy); position: relative; padding: 52px 0; }
.stat-strip::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: var(--amber); }
.stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.stat-tile { text-align: center; }
.stat-num, .stat-num-static {
  font-family: var(--font-heading); font-weight: 800;
  font-size: 2.875rem; color: var(--amber); line-height: 1;
  margin-bottom: 10px; display: block;
}
.stat-label {
  font-family: var(--font-body); font-weight: 600; font-size: 0.78rem;
  letter-spacing: 0.08em; color: var(--white); text-transform: uppercase;
  line-height: 1.4; display: block;
}

/* ============== SECTION GENERICS ============== */
.section { padding: 96px 0; background: var(--white); }
.section-pillars { background: var(--white); }
.section-capabilities { background: var(--soft-white); }
.section-proof { background: var(--white); }
.section-how { background: var(--soft-white); }
.section-certs { background: var(--white); }
.section-faq { background: var(--soft-white); }

/* ============== PILLARS ============== */
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.pillar-card {
  background: var(--white); border: 1px solid var(--line);
  border-bottom: 4px solid var(--amber); border-radius: var(--radius);
  transition: var(--ease); display: flex; flex-direction: column;
}
.pillar-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.pillar-head { background: var(--navy); padding: 28px 28px 24px; }
.pillar-num {
  font-family: var(--font-heading); font-weight: 800; font-size: 0.75rem;
  letter-spacing: 0.18em; color: var(--teal); margin-bottom: 14px;
  display: flex; align-items: center; gap: 10px;
}
.pillar-num::before { content: ""; width: 28px; height: 2px; background: var(--teal); }
.pillar-title {
  color: var(--white); font-size: 1.375rem;
  line-height: 1.2; min-height: 2.4em;
  /* min-height forces 2-line space even when title fits in 1 line — keeps all 3 headers uniform */
}
.pillar-body { padding: 26px 28px 32px; flex: 1; display: flex; flex-direction: column; }
.pillar-body p {
  font-size: 0.9375rem; line-height: 1.65; color: var(--ink);
  min-height: 11.6em;
  /* min-height ≈ 7 lines — keeps all 3 body areas uniform regardless of text length */
}
.pillar-data {
  margin-top: auto; padding-top: 16px;
  border-top: 1px dashed var(--line);
  font-family: var(--font-heading); font-weight: 700; font-size: 0.75rem;
  letter-spacing: 0.05em; color: var(--amber);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  /* white-space: nowrap forces single-line — guarantees uniform .pillar-data height across all 3 cards
     so dashed-line top edge always lands at the same Y position. Ellipsis hides any future overflow. */
}

/* ============== CAPABILITY CARDS ============== */
.cap-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.cap-card {
  background: var(--white); border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow-sm); transition: var(--ease);
  display: flex; flex-direction: column;
}
.cap-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.cap-photo { aspect-ratio: 16/9; position: relative; overflow: hidden; background: var(--navy); }
.cap-photo img { width: 100%; height: 100%; object-fit: cover; filter: saturate(0.92); }
.cap-photo::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(30,52,72,0.18), rgba(30,52,72,0.55));
}
.cap-num {
  position: absolute; top: 18px; left: 22px;
  font-family: var(--font-heading); font-weight: 800; font-size: 0.75rem;
  letter-spacing: 0.18em; color: var(--teal); z-index: 2;
  display: flex; align-items: center; gap: 10px;
}
.cap-num::before { content: ""; display: inline-block; width: 22px; height: 2px; background: var(--teal); }
.cap-pill {
  position: absolute; top: 18px; right: 22px;
  font-family: var(--font-heading); font-weight: 700; font-size: 0.65rem;
  letter-spacing: 0.1em; color: var(--navy); background: var(--amber);
  padding: 4px 10px; border-radius: var(--radius);
  text-transform: uppercase; z-index: 2;
}
.cap-body { padding: 26px 28px 28px; flex: 1; display: flex; flex-direction: column; }
.cap-body h3 { color: var(--navy); margin-bottom: 12px; font-size: 1.375rem; }
.cap-body p { font-size: 0.9rem; line-height: 1.6; color: var(--ink); margin-bottom: 18px; }
.cap-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 18px; }
.cap-tag {
  font-family: var(--font-heading); font-weight: 600; font-size: 0.6875rem;
  letter-spacing: 0.06em; padding: 5px 11px; background: var(--off-white);
  color: var(--navy); border-radius: var(--radius);
}
.cap-link {
  font-family: var(--font-heading); font-weight: 700; font-size: 0.8125rem;
  letter-spacing: 0.06em; color: var(--amber); margin-top: auto;
  transition: color 0.15s;
}
.cap-link:hover { color: var(--navy); }

/* ============== SECTORS STRIP ============== */
.sector-strip { background: var(--navy); padding: 48px 0; }
.sector-strip-inner {
  display: flex; flex-wrap: wrap; gap: 12px;
  justify-content: center; align-items: center;
}
.sector-strip-label {
  font-family: var(--font-heading); font-weight: 700; font-size: 0.75rem;
  letter-spacing: 0.18em; text-transform: uppercase; color: var(--teal);
  margin-right: 16px;
}
.sector-pill {
  font-family: var(--font-heading); font-weight: 700; font-size: 0.8125rem;
  padding: 8px 16px; background: var(--amber); color: var(--navy);
  border: 1px solid var(--amber); border-radius: var(--radius);
  transition: var(--ease);
}
.sector-pill:hover { background: var(--white); border-color: var(--white); }

/* ============== CAPABILITY PROOF ============== */
.proof-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.proof-tile {
  background: var(--white); border: 1px solid var(--line);
  padding: 22px 20px; min-height: 116px;
  display: flex; flex-direction: column; gap: 8px;
  transition: var(--ease);
}
.proof-tile:hover { border-color: var(--amber); transform: translateY(-2px); }
.proof-tag {
  font-family: var(--font-heading); font-weight: 700; font-size: 0.65rem;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--amber);
}
.proof-name {
  font-family: var(--font-heading); font-weight: 700; font-size: 0.9375rem;
  color: var(--navy); line-height: 1.3;
}
.proof-foot {
  background: var(--soft-white); border-left: 3px solid var(--teal);
  padding: 18px 22px; margin-top: 32px; font-size: 0.875rem;
  line-height: 1.6; color: var(--ink); max-width: 880px;
  margin-left: auto; margin-right: auto;
}
.proof-foot strong { color: var(--navy); }

/* ============== HOW CLIENTS WORK WITH US ============== */
.how-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.how-card {
  background: var(--white); padding: 26px 28px;
  border: 1px solid var(--line); border-radius: var(--radius);
  transition: var(--ease);
}
.how-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--amber); }
.how-arch {
  font-family: var(--font-heading); font-weight: 700; font-size: 0.6875rem;
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--teal);
  margin-bottom: 8px;
}
.how-card h3 { color: var(--navy); margin-bottom: 12px; line-height: 1.25; font-size: 1.25rem; }
.how-card p { font-size: 0.9rem; line-height: 1.65; color: var(--ink); }

/* ============== CERTIFICATIONS ============== */
.cert-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-bottom: 40px; }
.cert-card {
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius); overflow: hidden;
  transition: var(--ease); display: flex; flex-direction: column;
}
.cert-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--amber); }
.cert-card-head { padding: 22px 24px 14px; border-bottom: 1px solid var(--line); }
.cert-card-head h3 { color: var(--navy); margin-bottom: 4px; font-size: 1.1rem; }
.cert-card-label {
  font-family: var(--font-heading); font-weight: 600; font-size: 0.7rem;
  letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-soft);
}
.cert-card-img {
  padding: 18px; background: var(--soft-white); position: relative;
  cursor: zoom-in; overflow: hidden;
}
.cert-card-img img { width: 100%; max-height: 280px; object-fit: contain; transition: transform 0.3s ease; }
.cert-card-img:hover img { transform: scale(1.04); }
.cert-zoom-cue {
  position: absolute; bottom: 10px; right: 10px;
  background: var(--navy); color: var(--white);
  font-family: var(--font-heading); font-weight: 600; font-size: 0.6875rem;
  letter-spacing: 0.06em; padding: 5px 10px; border-radius: var(--radius);
  opacity: 0; transition: opacity 0.2s ease; pointer-events: none;
}
.cert-card-img:hover .cert-zoom-cue { opacity: 0.92; }

/* ============== INTERIOR PAGE HERO (gallery, contact, about) ============== */
.page-hero {
  background: var(--soft-white);
  padding: 64px 0 56px;
  border-bottom: 1px solid var(--line);
}
.page-hero .eyebrow { margin-bottom: 18px; }
.page-hero h1 { color: var(--navy); margin-bottom: 16px; max-width: 800px; }
.page-hero .subhead {
  font-size: 1.0625rem; line-height: 1.65; color: var(--ink);
  max-width: 720px; margin: 0;
}

/* ============== GALLERY ============== */
.section-gallery { padding: 72px 0 96px; background: var(--white); }
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.gal-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  cursor: zoom-in;
  background: var(--off-white);
  aspect-ratio: 4 / 3;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.gal-item:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.gal-item img {
  display: block; width: 100%; height: 100%;
  object-fit: cover; object-position: center;
  transition: transform 0.4s ease, filter 0.3s ease;
}
.gal-item:hover img { transform: scale(1.05); }
.gal-item::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(30,52,72,0) 50%, rgba(30,52,72,0.55));
  opacity: 0; transition: opacity 0.25s ease; pointer-events: none;
}
.gal-item:hover::after { opacity: 1; }
.gal-zoom-hint {
  position: absolute; top: 12px; right: 12px;
  background: var(--navy); color: var(--white);
  width: 32px; height: 32px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transition: opacity 0.25s ease; pointer-events: none;
  z-index: 3;
}
.gal-item:hover .gal-zoom-hint { opacity: 0.95; }
.gal-zoom-hint svg { width: 14px; height: 14px; stroke: currentColor; fill: none; stroke-width: 2.5; }

.gal-caption {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 14px 16px 14px;
  background: linear-gradient(to top, rgba(30,52,72,0.92), rgba(30,52,72,0.55) 75%, transparent);
  color: var(--white);
  display: flex; flex-direction: column; gap: 4px;
  transform: translateY(8%); opacity: 0;
  transition: transform 0.3s ease, opacity 0.3s ease;
  pointer-events: none;
}
.gal-item:hover .gal-caption { transform: translateY(0); opacity: 1; }
.gal-tag {
  font-family: var(--font-heading); font-weight: 700; font-size: 0.65rem;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--amber);
}
.gal-text {
  font-family: var(--font-body); font-weight: 500; font-size: 0.85rem;
  line-height: 1.45; color: var(--white);
}
@media (max-width: 1100px) { .gallery-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 768px)  {
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .gal-caption { transform: translateY(0); opacity: 1; }
  .gal-zoom-hint { opacity: 0.85; }
}
@media (max-width: 480px)  { .gallery-grid { grid-template-columns: 1fr; } }

/* ============== CONTACT PAGE ============== */
.section-contact { padding: 72px 0 96px; background: var(--white); }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 56px;
  align-items: start;
}

.branches-stack { display: flex; flex-direction: column; gap: 16px; }
.branch-card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 28px; transition: var(--ease);
  border-left: 3px solid var(--amber);
}
.branch-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.branch-card h3 {
  font-family: var(--font-heading); font-weight: 800; font-size: 1.2rem;
  color: var(--navy); margin-bottom: 14px;
}
.branch-detail { display: flex; gap: 12px; font-size: 0.9rem; color: var(--ink); margin-bottom: 10px; line-height: 1.55; }
.branch-detail svg { width: 16px; height: 16px; flex-shrink: 0; margin-top: 3px; stroke: var(--amber); fill: none; stroke-width: 2; }
.branch-detail a { color: var(--ink); transition: color 0.15s; }
.branch-detail a:hover { color: var(--amber); }
.branch-pending {
  font-style: italic; color: var(--ink-soft); font-size: 0.875rem;
}

.contact-form-wrap {
  background: var(--soft-white); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 36px 36px 32px;
}
.contact-form-wrap h2 {
  font-family: var(--font-heading); font-weight: 800; font-size: 1.6rem;
  color: var(--navy); margin-bottom: 8px;
}
.contact-form-wrap p.form-intro {
  color: var(--ink-soft); font-size: 0.95rem; margin-bottom: 24px; line-height: 1.5;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-group { margin-bottom: 16px; }
.form-group.full { grid-column: 1 / -1; }
.form-group label {
  display: block; font-family: var(--font-heading); font-weight: 600;
  font-size: 0.78rem; letter-spacing: 0.04em; color: var(--navy);
  margin-bottom: 6px; text-transform: uppercase;
}
.form-group label .req { color: var(--amber); margin-left: 2px; }
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%; padding: 11px 14px;
  font-family: var(--font-body); font-size: 0.95rem;
  border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--white); color: var(--navy);
  transition: border-color 0.15s, box-shadow 0.15s;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none; border-color: var(--amber);
  box-shadow: 0 0 0 3px rgba(232,136,42,0.12);
}
.form-group textarea { resize: vertical; min-height: 120px; }
.form-group.error input,
.form-group.error select,
.form-group.error textarea { border-color: var(--ui-red); }
.form-group .err-msg {
  display: none; color: var(--ui-red); font-size: 0.8125rem; margin-top: 4px;
}
.form-group.error .err-msg { display: block; }
.honeypot-field { position: absolute; left: -9999px; }

.form-submit-row { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; margin-top: 4px; }
.form-note { font-size: 0.8125rem; color: var(--ink-soft); line-height: 1.5; }
.form-success {
  display: none; padding: 16px 18px; margin-top: 16px;
  background: rgba(64,193,193,0.1); border-left: 3px solid var(--teal);
  color: var(--navy); font-size: 0.9rem; line-height: 1.5; border-radius: var(--radius);
}
.form-success.visible { display: block; }
.form-success strong { display: block; margin-bottom: 4px; color: var(--navy); }

@media (max-width: 980px) {
  .contact-grid { grid-template-columns: 1fr; gap: 36px; }
  .contact-form-wrap { padding: 28px 22px 26px; }
  .form-row { grid-template-columns: 1fr; }
}

/* ============== LIGHTBOX ============== */
.lightbox {
  position: fixed; inset: 0; background: rgba(20, 30, 45, 0.96);
  z-index: 200; display: none; align-items: center; justify-content: center;
  padding: 48px 32px; cursor: zoom-out;
}
.lightbox.active { display: flex; animation: lb-fade 0.18s ease; }
@keyframes lb-fade { from { opacity: 0; } to { opacity: 1; } }
.lightbox img {
  max-width: 100%; max-height: 100%; object-fit: contain;
  box-shadow: 0 24px 64px rgba(0,0,0,0.5); border-radius: 4px;
  cursor: default;
}
.lightbox-close {
  position: absolute; top: 18px; right: 22px;
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--navy); color: var(--white); border: 2px solid rgba(255,255,255,0.2);
  font-size: 28px; line-height: 1; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: var(--ease); z-index: 5;
}
.lightbox-close:hover { background: var(--amber); color: var(--navy); border-color: var(--amber); }

.lightbox-nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 50px; height: 50px; border-radius: 50%;
  background: rgba(30,52,72,0.7); color: var(--white);
  border: 2px solid rgba(255,255,255,0.25);
  cursor: pointer; display: flex; align-items: center; justify-content: center;
  transition: var(--ease); z-index: 5;
  backdrop-filter: blur(4px);
}
.lightbox-nav:hover { background: var(--amber); color: var(--navy); border-color: var(--amber); transform: translateY(-50%) scale(1.05); }
.lightbox-nav.prev { left: 24px; }
.lightbox-nav.next { right: 24px; }
.lightbox-nav svg { width: 22px; height: 22px; stroke: currentColor; fill: none; stroke-width: 2.5; }
.lightbox-nav[hidden] { display: none; }

.lightbox-counter {
  position: absolute; bottom: 22px; left: 50%; transform: translateX(-50%);
  font-family: var(--font-heading); font-weight: 700; font-size: 0.8rem;
  letter-spacing: 0.08em; color: rgba(255,255,255,0.8); z-index: 5;
  background: rgba(30,52,72,0.55); padding: 6px 14px; border-radius: 20px;
  backdrop-filter: blur(4px);
}

body.lightbox-open { overflow: hidden; }

@media (max-width: 600px) {
  .lightbox-nav { width: 42px; height: 42px; }
  .lightbox-nav.prev { left: 12px; }
  .lightbox-nav.next { right: 12px; }
  .lightbox-nav svg { width: 18px; height: 18px; }
}
.cert-card-foot {
  padding: 14px 24px; background: var(--off-white);
  font-family: var(--font-heading); font-weight: 600; font-size: 0.75rem;
  color: var(--ink); letter-spacing: 0.04em; text-align: center;
}
.certs-cta { text-align: center; }

/* ============== FAQ ============== */
.faq-list { max-width: 880px; margin: 0 auto; }
.faq-item {
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius); margin-bottom: 12px; overflow: hidden;
  transition: var(--ease);
}
.faq-item:hover { border-color: var(--amber); }
.faq-item.active { border-color: var(--amber); box-shadow: var(--shadow-md); }
.faq-q {
  width: 100%; background: transparent; border: none; cursor: pointer;
  padding: 20px 24px; display: flex; justify-content: space-between; align-items: center;
  text-align: left; font-family: var(--font-heading); font-weight: 700;
  font-size: 1rem; color: var(--navy); line-height: 1.4;
}
.faq-tog {
  width: 28px; height: 28px; border-radius: 50%;
  background: var(--off-white); display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; transition: var(--ease);
}
.faq-tog svg { width: 14px; height: 14px; stroke: var(--navy); stroke-width: 2.5; fill: none; }
.faq-item.active .faq-tog { background: var(--amber); transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.4s ease; }
.faq-a-inner { padding: 0 24px 22px; color: var(--ink); font-size: 0.9375rem; line-height: 1.7; }

/* ============== CTA BAND ============== */
.cta-band {
  background: var(--navy); padding: 88px 0; text-align: center;
  position: relative; overflow: hidden;
}
.cta-band::before, .cta-band::after {
  content: ""; position: absolute; width: 140px; height: 140px;
  border: 2px solid var(--teal); opacity: 0.18;
}
.cta-band::before { top: 28px; left: 36px; border-right: none; border-bottom: none; }
.cta-band::after { bottom: 28px; right: 36px; border-left: none; border-top: none; }
.cta-band h2 {
  color: var(--white); margin-bottom: 18px; line-height: 1.2;
  max-width: 820px; margin-left: auto; margin-right: auto;
}
.cta-band p {
  font-size: 1rem; color: rgba(255,255,255,0.78); margin-bottom: 32px;
  max-width: 580px; margin-left: auto; margin-right: auto;
}
.cta-buttons { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ============== FOOTER ============== */
.footer { background: var(--navy); color: rgba(255,255,255,0.72); padding: 72px 0 28px; }
.footer-grid {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.4fr; gap: 40px;
  padding-bottom: 48px; border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-brand .logo-group { margin-bottom: 18px; }
.footer-brand .logo-name, .footer-brand .logo-tagline { color: var(--white); }
.footer-brand .logo-tagline { color: rgba(255,255,255,0.6); }
.footer-brand p { font-size: 0.875rem; line-height: 1.65; color: rgba(255,255,255,0.7); margin-bottom: 18px; }
.footer-iso { display: flex; gap: 8px; flex-wrap: wrap; }
.footer-iso span {
  font-family: var(--font-heading); font-weight: 700; font-size: 0.7rem;
  letter-spacing: 0.06em; padding: 5px 11px;
  background: rgba(232,136,42,0.14);
  border: 1px solid rgba(232,136,42,0.42);
  border-radius: 3px;
  color: var(--white); display: inline-flex; align-items: center; gap: 7px;
  white-space: nowrap; line-height: 1;
}
.footer h4 {
  font-family: var(--font-heading); font-weight: 800; font-size: 0.875rem;
  letter-spacing: 0.06em; color: var(--white); margin-bottom: 18px;
  text-transform: uppercase;
}
.footer-links li { margin-bottom: 10px; }
.footer-links a { font-size: 0.875rem; color: rgba(255,255,255,0.72); transition: var(--ease); }
.footer-links a:hover { color: var(--amber); }

.footer-branches { font-size: 0.875rem; }
.footer-branch { margin-bottom: 18px; }
.footer-branch strong {
  display: block; color: var(--white); font-family: var(--font-heading);
  font-weight: 700; font-size: 0.95rem; margin-bottom: 4px;
}
.footer-branch p { color: rgba(255,255,255,0.6); font-size: 0.8125rem; line-height: 1.5; }

.footer-contact-item { display: flex; flex-direction: column; gap: 8px; margin-top: 14px; }
.footer-contact-item a {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.8125rem; color: rgba(255,255,255,0.85); transition: color 0.15s;
}
.footer-contact-item a:hover { color: var(--amber); }
.footer-contact-item svg { width: 14px; height: 14px; fill: currentColor; flex-shrink: 0; }

.footer-bottom {
  padding-top: 22px; display: flex; justify-content: space-between;
  font-size: 0.8125rem; color: rgba(255,255,255,0.5); flex-wrap: wrap; gap: 12px;
}
.footer-tagline { font-style: italic; }

/* ============== WHATSAPP FLOAT ============== */
.wa-float {
  position: fixed; bottom: 26px; right: 26px; width: 58px; height: 58px;
  background: #25D366; border-radius: 50%; display: flex;
  align-items: center; justify-content: center; z-index: 90;
  box-shadow: 0 6px 20px rgba(0,0,0,0.18); transition: var(--ease);
}
.wa-float:hover { transform: scale(1.05); box-shadow: 0 8px 28px rgba(0,0,0,0.25); }
.wa-float svg { width: 28px; height: 28px; fill: var(--white); }
.wa-tip {
  position: absolute; right: 70px; top: 50%; transform: translateY(-50%);
  background: var(--navy); color: var(--white); padding: 7px 14px;
  border-radius: var(--radius); font-family: var(--font-heading); font-weight: 700;
  font-size: 0.75rem; letter-spacing: 0.04em; white-space: nowrap;
  opacity: 0; pointer-events: none; transition: var(--ease);
}
.wa-float:hover .wa-tip { opacity: 1; transform: translateY(-50%) translateX(-4px); }

/* ============== REVEAL ANIMATIONS ============== */
.reveal, .stagger > * { opacity: 0; transform: translateY(20px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.visible, .stagger.visible > * { opacity: 1; transform: translateY(0); }
.stagger.visible > *:nth-child(1) { transition-delay: 0.0s; }
.stagger.visible > *:nth-child(2) { transition-delay: 0.08s; }
.stagger.visible > *:nth-child(3) { transition-delay: 0.16s; }
.stagger.visible > *:nth-child(4) { transition-delay: 0.24s; }
.stagger.visible > *:nth-child(5) { transition-delay: 0.32s; }
.stagger.visible > *:nth-child(6) { transition-delay: 0.4s; }
.stagger.visible > *:nth-child(n+7) { transition-delay: 0.48s; }

/* ============== RESPONSIVE ============== */
@media (max-width: 980px) {
  .hero-grid, .pillars { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .nav-links {
    position: fixed; top: 0; right: -100%; width: 80%; max-width: 320px; height: 100vh;
    background: var(--white); flex-direction: column; align-items: flex-start;
    padding: 80px 28px 28px; gap: 18px; transition: right 0.3s ease;
    box-shadow: -8px 0 32px rgba(0,0,0,0.1); overflow-y: auto;
  }
  .nav-links.open { right: 0; }
  .nav-toggle { display: flex; z-index: 110; }
  .utility-bar { font-size: 0.75rem; }
  .utility-contact { flex-direction: column; gap: 4px; }
  .utility-contact a { font-size: 0.75rem; }
  .utility-certs span { font-size: 0.625rem; padding: 2px 8px; }
  .hero { padding: 56px 0 64px; }
  .hero-grid { gap: 36px; }
  .stat-grid, .cap-grid, .how-grid, .cert-grid, .proof-grid { grid-template-columns: 1fr 1fr; gap: 16px; }
  .section { padding: 64px 0; }
  .section-head { margin-bottom: 36px; }
  .stat-num, .stat-num-static { font-size: 2.25rem; }
  .sw { font-size: 1.4rem; }
  .sector-stack { gap: 10px; padding-left: 18px; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; padding-bottom: 28px; }
  .footer-bottom { flex-direction: column; gap: 8px; }
  .cta-band h2 { font-size: 1.5rem; }
  .cap-grid { grid-template-columns: 1fr; }
  .proof-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 480px) {
  .proof-grid { grid-template-columns: 1fr; }
  .cert-grid { grid-template-columns: 1fr; }
  .stat-grid { grid-template-columns: 1fr 1fr; }
  .sw { font-size: 1.2rem; }
}
