/* ============================================================
   WhatsApp Buttons
   ============================================================ */

.wa-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--orange-deep);
  color: var(--white);
  font-size: 15px;
  font-weight: 600;
  padding: 12px 24px;
  border-radius: 6px;
  min-height: 44px;
  cursor: pointer;
  transition: filter 150ms ease;
  white-space: nowrap;
}

.wa-btn:hover {
  filter: brightness(0.88);
}

.wa-btn:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 2px;
}

.wa-btn-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--orange);
  color: var(--white);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  cursor: pointer;
  transition: filter 150ms ease;
  flex-shrink: 0;
}

.wa-btn-icon:hover {
  filter: brightness(0.88);
}

.wa-btn-icon:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 2px;
}

/* ============================================================
   Header
   ============================================================ */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  height: 80px;
  gap: 16px;
}

.lockup {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  text-decoration: none;
}

.lockup-mark {
  height: 64px;
  width: auto;
  display: block;
}

.lockup-wordmark {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--navy);
  line-height: 1;
}

.site-nav {
  flex: 1;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 20px;
}

.site-nav a {
  font-size: 15px;
  font-weight: 500;
  color: var(--navy);
  transition: color 150ms ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--orange);
}

/* ============================================================
   Hero
   ============================================================ */

.hero {
  background: linear-gradient(160deg, var(--navy) 0%, #18234e 100%);
  min-height: 80vh;
  display: flex;
  align-items: center;
  padding: 96px 0;
}

.hero-inner {
  max-width: 760px;
}

.hero h1 {
  color: var(--white);
  margin-bottom: 24px;
}

.hero-sub {
  font-size: clamp(17px, 2vw, 19px);
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 40px;
  max-width: 640px;
}

/* ============================================================
   Stats Band
   ============================================================ */

.stats-band {
  background: var(--offwhite);
  padding: 96px 0;
}

.stats-inner {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 96px;
  flex-wrap: wrap;
}

.stat {
  text-align: center;
}

.stat-number {
  display: block;
  font-size: clamp(48px, 7vw, 80px);
  font-weight: 700;
  color: var(--navy);
  line-height: 1;
  margin-bottom: 0;
}

.stat-number::after {
  content: "";
  display: block;
  width: 40px;
  height: 3px;
  background: var(--orange);
  border-radius: 2px;
  margin: 14px auto 12px;
}

.stat-label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--orange);
}

/* ============================================================
   Divisions
   ============================================================ */

.divisions {
  background: var(--white);
  padding: 96px 0;
}

.section-header {
  text-align: center;
  margin-bottom: 56px;
}

.section-header h2 {
  margin-bottom: 12px;
}

.section-sub {
  font-size: 18px;
  color: var(--navy);
  opacity: 0.85;
}

.division-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.division-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: border-color 150ms ease;
}

.division-card:hover {
  border-color: var(--orange);
}

.division-card h3 {
  color: var(--navy);
}

.division-card p {
  font-size: 16px;
  flex: 1;
}

.card-link {
  display: inline-block;
  font-size: 14px;
  font-weight: 600;
  color: var(--orange-deep);
  margin-top: 4px;
  transition: color 150ms ease;
}

.card-link:hover {
  color: var(--orange);
  text-decoration: underline;
}

/* ============================================================
   About
   ============================================================ */

.about {
  background: var(--offwhite);
  padding: 96px 0;
}

.about-inner {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}

.about-inner h2 {
  margin-bottom: 32px;
}

.about-inner p {
  font-size: 18px;
  margin-bottom: 20px;
}

.about-inner p:last-child {
  margin-bottom: 0;
}

/* ============================================================
   Final CTA
   ============================================================ */

.final-cta {
  background: var(--navy);
  padding: 96px 0;
}

.final-cta-inner {
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
}

.final-cta h2 {
  color: var(--white);
  margin-bottom: 20px;
}

.final-cta p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 18px;
  margin-bottom: 40px;
}

/* ============================================================
   Footer — 4-column structured layout
   ============================================================ */

.site-footer {
  background: var(--navy);
  color: var(--white);
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  align-items: start;
  gap: 48px;
  padding-top: 64px;
  padding-bottom: 56px;
}

/* Col 1 — brand */
.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.footer-lockup {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-mark {
  height: 42px;
  width: auto;
  flex-shrink: 0;
  display: block;
}

.footer-brand-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.footer-wordmark-link {
  text-decoration: none;
}

.footer-wordmark {
  display: block;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--white);
  line-height: 1;
}

.footer-tagline {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.5);
}

.footer-address {
  font-size: 13px;
  font-style: normal;
  color: rgba(255, 255, 255, 0.45);
  line-height: 1.6;
  margin-top: 14px;
}

/* Cols 2-4 — Company / Divisions / Get in Touch */
.footer-col {
  display: flex;
  flex-direction: column;
}

.footer-col-heading {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--orange);
  margin-bottom: 16px;
}

.footer-col nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-link {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: color 150ms ease;
  display: block;
}

.footer-link:hover,
.footer-link:focus-visible {
  color: var(--white);
}

.footer-email {
  margin-bottom: 14px;
}

.footer-social {
  display: flex;
  align-items: center;
  gap: 2px;
}

/* WA icon in footer — strip the orange circle from .wa-btn-icon */
.footer-wa {
  background: transparent;
  width: auto;
  height: auto;
  border-radius: 0;
  color: rgba(255, 255, 255, 0.7);
  padding: 6px;
}

.footer-wa:hover,
.footer-wa:focus-visible {
  filter: none;
  color: var(--white);
}

.footer-social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.7);
  transition: color 150ms ease;
  padding: 6px;
  border-radius: 4px;
}

.footer-social-link:hover,
.footer-social-link:focus-visible {
  color: var(--white);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 20px 0;
}

.footer-bottom .container {
  text-align: center;
}

.footer-bottom span {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.45);
}

/* ============================================================
   Mobile FAB
   ============================================================ */

.mobile-fab {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 200;
  display: none;
  width: 56px;
  height: 56px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* ============================================================
   404 Error Page
   ============================================================ */

.error-page {
  background: var(--white);
  min-height: 60vh;
  display: flex;
  align-items: center;
  padding: 96px 0;
}

.error-inner {
  text-align: center;
  max-width: 480px;
  margin: 0 auto;
}

.error-inner h1 {
  margin-bottom: 16px;
}

.error-inner > p {
  color: var(--muted);
  font-size: 18px;
  margin-bottom: 40px;
}

.error-actions {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
  align-items: center;
}

.error-home {
  font-size: 15px;
  font-weight: 600;
  color: var(--navy);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 150ms ease;
}

.error-home:hover {
  color: var(--orange);
}

/* ============================================================
   Responsive — 768px breakpoint
   ============================================================ */

@media (max-width: 768px) {
  .header-wa {
    display: none;
  }

  .mobile-fab {
    display: inline-flex;
  }

  .hero {
    min-height: 60vh;
    padding: 64px 0;
  }

  .stats-band {
    padding: 64px 0;
  }

  .stats-inner {
    gap: 48px;
  }

  .divisions {
    padding: 64px 0;
  }

  .section-header {
    margin-bottom: 36px;
  }

  .division-grid {
    grid-template-columns: 1fr 1fr;
  }

  .about {
    padding: 64px 0;
  }

  .final-cta {
    padding: 64px 0;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 32px;
    padding-top: 48px;
    padding-bottom: 40px;
  }

  .error-page {
    padding: 64px 0;
  }
}

@media (max-width: 480px) {
  .site-nav {
    gap: 16px;
  }

  .site-nav a {
    font-size: 13px;
  }

  .stats-inner {
    gap: 40px;
  }

  .division-grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================================
   Logo image assets (real lockup replaces CSS text lockup)
   ============================================================ */

/* The .lockup anchor retains its flex container from earlier rules.
   .lockup-img replaces the old mark + wordmark span approach. */
.lockup-img {
  display: block;
  width: auto;
  height: 80px;
  max-width: 220px;
}

@media (max-width: 768px) {
  .lockup-img {
    height: 60px;
  }
}

/* ============================================================
   Five-page expansion — new reusable components
   ============================================================ */

/* Active nav state */
.site-nav a[aria-current="page"] {
  text-decoration: underline;
  text-decoration-color: var(--orange);
  text-underline-offset: 4px;
  text-decoration-thickness: 2px;
}

/* Inner page header (tighter than homepage hero) */
.page-header {
  background: linear-gradient(160deg, var(--navy) 0%, #18234e 100%);
  padding: 80px 0;
}

.page-header h1 {
  color: var(--white);
  margin-bottom: 20px;
}

/* Lead paragraph on dark background */
.page-lead {
  font-size: clamp(17px, 2vw, 19px);
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.82);
  max-width: 640px;
}

/* Body text below a section heading (centered prose, narrower than full width) */
.section-body {
  font-size: 17px;
  line-height: 1.7;
  max-width: 640px;
  margin: 12px auto 0;
}

/* Inline body link within prose */
.body-link {
  color: var(--orange-deep);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 150ms ease;
}

.body-link:hover {
  color: var(--orange);
}

/* Italic tagline inside division cards */
.card-tagline {
  display: block;
  font-style: italic;
  font-size: 15px;
  color: var(--orange);
  margin-bottom: 2px;
}

/* 2-column journey grid (About page — 4 items) */
.journey-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 40px;
}

/* Prose bullet list (steps, roles) */
.prose-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 32px;
}

.prose-list li {
  padding-left: 24px;
  position: relative;
  font-size: 17px;
  line-height: 1.6;
}

.prose-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--orange);
}

/* Secondary / outline button — subordinate to primary .wa-btn */
.wa-btn-secondary {
  background: transparent;
  color: var(--navy);
  border: 2px solid var(--navy);
}

.wa-btn-secondary:hover {
  background: var(--navy);
  color: var(--white);
  filter: none;
}

/* Contact block */
.contact-block {
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 560px;
  margin: 48px auto 0;
}

.contact-item {
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 28px 32px;
  background: var(--white);
}

.contact-label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--orange);
  margin-bottom: 12px;
}

/* Centered CTA wrapper within a content section */
.cta-center {
  text-align: center;
  margin-top: 48px;
}

/* Responsive — new components */
@media (max-width: 768px) {
  .page-header {
    padding: 56px 0;
  }

  .journey-grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================================
   Header WhatsApp button — slightly compact vs full .wa-btn
   ============================================================ */

.header-wa {
  font-size: 14px;
  padding: 9px 16px;
  min-height: 40px;
}


/* ============================================================
   Contact page — corporate office block
   ============================================================ */

.office-section {
  background: var(--offwhite);
  padding: 64px 0;
}

.office-block {
  max-width: 480px;
  margin: 0 auto;
  padding: 32px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--white);
}

.office-address {
  font-size: 16px;
  font-style: normal;
  line-height: 1.6;
  margin: 12px 0 20px;
  color: var(--navy);
}

.office-detail {
  font-size: 16px;
  margin-bottom: 10px;
  color: var(--navy);
}

.office-detail:last-child {
  margin-bottom: 0;
}

.office-detail a {
  color: var(--orange-deep);
  text-decoration: underline;
  text-underline-offset: 3px;
  font-weight: 600;
  transition: color 150ms ease;
}

.office-detail a:hover {
  color: var(--orange);
}

/* ============================================================
   Trust Strip — awards / certifications
   ============================================================ */

.trust-strip {
  background: var(--offwhite);
  padding: 40px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.trust-heading {
  text-align: center;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--orange);
  margin-bottom: 24px;
}

.trust-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 16px 28px;
}

.trust-badge {
  display: block;
  height: 88px;
  width: auto;
  max-width: 150px;
  object-fit: contain;
}

@media (max-width: 768px) {
  .trust-strip {
    padding: 32px 0;
  }

  .trust-badges {
    gap: 14px 20px;
  }

  .trust-badge {
    height: 72px;
    max-width: 110px;
  }
}

/* ============================================================
   Homepage divisions section — navy background for page rhythm.
   Scoped to #divisions so other pages using .divisions are unaffected.
   ============================================================ */

#divisions {
  background: var(--navy);
}

#divisions .section-header h2 {
  color: var(--white);
}

#divisions .section-body {
  color: rgba(255, 255, 255, 0.8);
}
