/* ── Sector grid ─────────────────────────────────────────────── */
.sector-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  list-style: none;
  padding: 0;
  margin: 0 auto;
  max-width: 1440px;
}

.sec-card {
  display: flex;
  min-width: 0;
  background: #ffffff;
  border: 1px solid var(--border-card, rgba(26, 74, 138, 0.14));
  border-radius: var(--r-lg, 20px);
  box-shadow: var(--shadow-card, 0 4px 24px rgba(5, 13, 26, 0.1), 0 1px 4px rgba(5, 13, 26, 0.06));
  overflow: hidden;
  position: relative;
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}

.sec-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--orange, #f05a00), var(--gold, #e8a020));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.32s ease;
}

.sec-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lift); border-color: rgba(26,74,138,0.22); }
.sec-card:hover::before { transform: scaleX(1); }

.sec-card figure { display: flex; flex-direction: column; width: 100%; margin: 0; }
.sec-card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: center; display: block; }
.sec-card figcaption { display: flex; flex-direction: column; gap: 10px; padding: 22px 22px 24px; }
.sec-card figcaption strong { display: block; font-family: var(--font-display, "Plus Jakarta Sans", sans-serif); font-size: 1.04rem; font-weight: 700; line-height: 1.35; color: var(--tx-dark, #0d1e36); }
.sec-card figcaption p { margin: 0; font-size: 0.92rem; line-height: 1.75; color: var(--tx-body, #2c3e5a); }

@media (max-width: 1024px) { .sector-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 768px) { .sector-grid { grid-template-columns: 1fr; } }

.c-icon { font-family: var(--font-display, "Plus Jakarta Sans", sans-serif); font-size: 1rem; font-weight: 800; letter-spacing: 0.04em; color: var(--navy-mid, #0d2040); text-transform: uppercase; }

/* ── Testimonial stars fix ───────────────────────────────────── */
.testimonial-stars { color: var(--orange); font-size: 1.1rem; letter-spacing: 2px; }

/* ── Floating logo → WhatsApp CTA ──────────────────────────── */
#floating-logo { position: fixed; bottom: 24px; right: 24px; z-index: 9999; }
#floating-logo img { width: 56px; height: auto; opacity: 0.92; filter: drop-shadow(0 4px 16px rgba(0,0,0,0.28)); transition: opacity 0.2s, transform 0.2s; }
#floating-logo:hover img { opacity: 1; transform: scale(1.07); }

/* ── Navbar dropdown ─────────────────────────────────────────── */
.nav-dropdown { position: relative; }
.nav-dropdown::after {
  content: "";
  display: none;
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  width: max(100%, 240px);
  max-width: none;
  height: 12px;
  z-index: 999;
}
.nav-dropdown--blog::after { width: max(100%, 340px); }
.nav-dropdown--locations::after { width: max(100%, 520px); }
.nav-dropdown-toggle { cursor: pointer; display: flex; align-items: center; gap: 4px; }
.nav-dropdown-menu {
  display: none;
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%);
  min-width: 240px;
  background: #ffffff;
  border: 1px solid rgba(13,32,64,0.10);
  border-radius: 12px;
  box-shadow: 0 16px 48px rgba(5,13,26,0.14), 0 4px 16px rgba(5,13,26,0.08);
  padding: 8px 0;
  z-index: 1000;
  animation: dropIn 0.18s ease forwards;
}
.nav-dropdown-menu--wide { min-width: 340px; }
.nav-dropdown-menu--two-col {
  min-width: 520px;
  grid-template-columns: repeat(2, minmax(220px, 1fr));
  column-gap: 4px;
}
.nav-dropdown--locations .nav-dropdown-menu {
  left: auto;
  right: 0;
  transform: none;
}
@keyframes dropIn { from { opacity: 0; transform: translateX(-50%) translateY(-6px); } to { opacity: 1; transform: translateX(-50%) translateY(0); } }
@keyframes dropInRight { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: translateY(0); } }
.nav-dropdown--locations .nav-dropdown-menu { animation-name: dropInRight; }
.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu { display: block; }
.nav-dropdown:hover .nav-dropdown-menu--two-col,
.nav-dropdown:focus-within .nav-dropdown-menu--two-col { display: grid; }
.nav-dropdown:hover::after,
.nav-dropdown:focus-within::after { display: block; }
.nav-dropdown-item {
  display: block;
  padding: 10px 20px;
  font-family: var(--font-display, sans-serif);
  font-size: 0.88rem;
  font-weight: 500;
  color: #1a2a4a !important;
  text-decoration: none;
  transition: background 0.15s, color 0.15s;
  white-space: nowrap;
}
.nav-dropdown-item:hover { background: var(--surface-light, #f0f4f9); color: var(--orange, #f05a00) !important; }
.nav-dropdown-item + .nav-dropdown-item { border-top: 1px solid rgba(13,32,64,0.05); }

/* Mobile: dropdown becomes accordion */
@media (max-width: 768px) {
  .hero-buttons,
  .premium-cta-buttons,
  .cta-ban > div {
    width: 100%;
    max-width: 100%;
    justify-content: center !important;
  }

  .btn-se,
  .btn-se.btn-hero,
  .btn-se.btn-wh,
  .hero-buttons .btn-se,
  .premium-cta-buttons .btn-se {
    width: min(100%, 340px);
    max-width: calc(100vw - 40px);
    min-width: 0;
    padding-left: 18px !important;
    padding-right: 18px !important;
    white-space: normal;
    overflow-wrap: anywhere;
    text-align: center;
    line-height: 1.35;
  }

  .nav-dropdown { width: 100%; }
  .nav-dropdown::after { display: none !important; }
  .nav-dropdown-toggle { width: 100%; justify-content: center; }
  .nav-dropdown-menu {
    display: none;
    position: static;
    transform: none;
    box-shadow: none;
    border: none;
    border-radius: 0;
    background: var(--surface-light, #f0f4f9);
    animation: none;
  }
  .nav-dropdown-menu--wide,
  .nav-dropdown-menu--two-col {
    min-width: 0;
    grid-template-columns: none;
  }
  .nav-dropdown.open .nav-dropdown-menu { display: block; }
  .nav-dropdown.open .nav-dropdown-menu--two-col { display: block; }
  .nav-dropdown-item { text-align: center; border-bottom: 1px solid rgba(13,32,64,0.06); }
}

/* ── Breadcrumb (now visible on inner pages) ─────────────────── */
.page-breadcrumb {
  max-width: 1440px;
  margin: 0 auto;
  padding: 14px 28px 0;
  font-size: 0.82rem;
  color: var(--tx-light, #5a7090);
}
.page-breadcrumb a { color: var(--orange, #f05a00); text-decoration: none; font-weight: 500; }
.page-breadcrumb a:hover { text-decoration: underline; }
.page-breadcrumb span { margin: 0 6px; color: var(--tx-muted, rgba(160,190,225,0.55)); }

/* ── Defer Font Awesome: loaded async, hide FOUT ────────────── */
.fa-deferred { font-size: 0; }


/* ═══════════════════════════════════════════════════════════════
   ACCESSIBILITY + CWV FIXES
   ═══════════════════════════════════════════════════════════════ */

/* ── Footer h3 column headings — override global h3 dark color ── */
/* (footer.html uses h3 after heading-order fix; CSS only had h4)  */
footer .footer__col h3,
footer .footer__col h4 {
  color: #ffffff;
  font-size: 0.88rem;
  font-weight: 700;
  margin-bottom: 14px;
}

/* ── Contrast + distinguishability: body links on white/light bg ─ */
/* color:#b84400 passes 4.5:1; underline satisfies non-color indicator */
body a,
.sec a,
.sec--alt a,
.local-seo-section a,
.content-wrap a,
.sec-inline-content a {
  color: #b84400;
  text-decoration: underline;
  text-underline-offset: 2px;
}
body a:hover,
.sec a:hover,
.sec--alt a:hover,
.local-seo-section a:hover,
.content-wrap a:hover,
.sec-inline-content a:hover {
  color: #8f3300;
  text-decoration: underline;
}
/* ── Buttons and nav links must NOT be underlined ─────────────── */
.btn-se,
.btn-se:hover,
.nav-link,
.nav-link:hover,
.nav-dropdown-item,
.nav-dropdown-item:hover,
.cta-btn,
.no-highlight-link,
.no-highlight-link:hover,
.team-linkedin,
footer a,
.footer__col a,
.footer__contact a,
.footer-bottom a,
.footer__social a,
.pill,
.pill:hover,
.badge,
.faq-q {
  text-decoration: none;
}

/* ── Contrast: team-role uses --orange on white card ──────────── */
.team-role { color: #b84400 !important; }

/* ── CWV: CLS guards ─────────────────────────────────────────── */
.statbar     { min-height: 88px;  contain: layout style; }
.trustbar    { min-height: 52px;  contain: layout style; }
.hero-slider { min-height: clamp(200px, 36vw, 440px); }

/* ── Preserve inherited colors on dark/navy backgrounds ────────  */
.sec--dk a        { color: var(--orange-glow); }
footer a          { color: rgba(200,221,245,0.85); }
.footer__contact a { color: var(--orange-glow); }
.footer-bottom a  { color: rgba(255,255,255,0.75); }

/* ── Glide bullet contrast fix ───────────────────────────────────
   rgba(255,255,255,0.35) on dark hero bg fails contrast.
   Use solid colours that pass 4.5:1 against the darkest hero bg
   (#050d1a ≈ near-black). White #ffffff = 21:1. Use rgba(255,255,255,0.70)
   for inactive (≈ #8c8c8c effective on black = ~5.9:1 — passes AA)
   Active: solid white with orange — clearly distinguishable.
──────────────────────────────────────────────────────────────── */
.glide__bullets {
  bottom: 16px;
  display: flex;
  gap: 4px;
  align-items: center;
  justify-content: center;
}

.glide__bullet {
  position: relative;
  /* No background on the button element itself */
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  outline: none !important;
  width: 44px !important;   /* full tap target width */
  height: 44px !important;  /* full tap target height */
  padding: 0 !important;
  margin: 0 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  cursor: pointer;
  flex-shrink: 0;
}

/* The visible dot is drawn via ::after */
.glide__bullet::after {
  content: '';
  display: block;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: rgba(255,255,255,0.70);
  transition: background 0.2s, width 0.2s, border-radius 0.2s;
  flex-shrink: 0;
}

.glide__bullet:hover::after {
  background: rgba(255,255,255,0.95);
}

.glide__bullet--active::after {
  background: #ffffff;
  width: 24px;
  border-radius: 5px;
}

.glide__bullet:focus-visible {
  outline: 2px solid rgba(255,255,255,0.8) !important;
  outline-offset: 2px;
  border-radius: 4px;
}

/* ── Glide cloned slides: remove from pointer/touch event flow ── */
.glide__slide--clone {
  pointer-events: none !important;
  user-select: none !important;
}
.glide__slide--clone button,
.glide__slide--clone a {
  pointer-events: none !important;
  tabindex: -1;
}