/*
Theme Name: Blue Harbour Technologies
Theme URI: https://blueharbour.com.au
Author: Blue Harbour Technologies
Description: Custom enterprise theme for Blue Harbour Technologies
Version: 1.2.3
Requires at least: 6.0
Requires PHP: 7.4
License: Proprietary
Text Domain: blueharbour
*/

/* ============================================================
   RESET & BASE
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --navy:      #0B1B3D;
  --blue:      #1560B8;
  --teal:      #22CFAE;
  --bg:        #F4F7FB;
  --bg-outer:  #E8ECF2;
  --white:     #ffffff;
  --navy-06:   rgba(11,27,61,0.06);
  --navy-08:   rgba(11,27,61,0.08);
  --navy-09:   rgba(11,27,61,0.09);
  --navy-10:   rgba(11,27,61,0.10);
  --navy-28:   rgba(11,27,61,0.28);
  --navy-38:   rgba(11,27,61,0.38);
  --navy-40:   rgba(11,27,61,0.40);
  --navy-48:   rgba(11,27,61,0.48);
  --navy-50:   rgba(11,27,61,0.50);
  --navy-52:   rgba(11,27,61,0.52);
  --navy-72:   rgba(11,27,61,0.78);
  --navy-65:   rgba(11,27,61,0.68);
  --navy-55:   rgba(11,27,61,0.55);
  --blue-light: #EBF3FF;
  --green-light: #E8F5F0;
  --green-dark:  #0F6E56;
  --purple-light: #F0EEFF;
  --purple-dark:  #5A3DAA;
  --orange-light: #FEF3E8;
  --orange-dark:  #7A4010;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--white);
  color: var(--navy);
  min-height: 100vh;
  margin: 0;
  padding: 0;
}

.site-wrap {
  font-family: 'DM Sans', sans-serif;
  background: var(--white);
  color: var(--navy);
  width: 100%;
  position: relative;
}

/* ============================================================
   TYPOGRAPHY
   ============================================================ */
h1, h2, h3, h4, h5 { font-family: 'Sora', sans-serif; }

/* ============================================================
   NAV
   ============================================================ */
.site-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 6px 40px;
  background: var(--white);
  border-bottom: 0.5px solid var(--navy-08);
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: box-shadow .25s ease;
}
.site-nav.scrolled {
  box-shadow: 0 2px 20px rgba(11,27,61,0.10);
}


.nav-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.nav-logo-img { height: 100px; width: auto; display: block; }
.logo-text { font-family: 'Sora', sans-serif; font-weight: 700; font-size: 17px; color: var(--navy); line-height: 1.15; }
.logo-sub  { font-size: 10px; font-weight: 400; letter-spacing: 0.2em; color: var(--navy-38); text-transform: uppercase; }

@media (max-width: 640px) {
  .nav-logo-img { height: 70px; }
}

.nav-links { display: flex; gap: 28px; list-style: none; align-items: center; }
.nav-mobile-only { display: none; }
.nav-links li > a { font-size: 15px; color: var(--navy-55); text-decoration: none; transition: color .2s; }
.nav-links li > a:hover { color: var(--navy); }
.nav-links li.current-menu-item > a,
.nav-links li.current_page_item > a {
  color: var(--navy);
  font-weight: 500;
  border-bottom: 1.5px solid var(--blue);
  padding-bottom: 2px;
}

.nav-cta {
  background: var(--navy);
  color: var(--white);
  font-family: 'DM Sans', sans-serif;
  font-weight: 600;
  font-size: 14px;
  padding: 11px 22px;
  border-radius: 6px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: background .2s;
}
.nav-cta:hover { background: #162d5a; }

/* Dropdown */
.nav-links li { position: relative; }
.nav-dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  background: var(--white);
  border: 0.5px solid var(--navy-10);
  border-radius: 10px;
  box-shadow: 0 8px 32px rgba(11,27,61,0.12);
  min-width: 240px;
  padding: 14px 0 8px;
  z-index: 200;
}
/* Bridge gap between nav item and dropdown so hover doesn't break */
.nav-dropdown::before {
  content: '';
  position: absolute;
  top: -12px;
  left: 0; right: 0;
  height: 12px;
}
.nav-dropdown.open { display: block; }
.nav-dropdown a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 16px;
  font-size: 13px;
  color: var(--navy-55);
  text-decoration: none;
  transition: background .15s, color .15s;
  white-space: nowrap;
  font-weight: 400;
  border: none;
  border-bottom: none;
}
.nav-dropdown a:hover { background: var(--bg); color: var(--navy); }
.nav-dropdown-icon {
  width: 28px; height: 28px; border-radius: 6px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.nav-dropdown-divider { display: none; }
.nav-has-dropdown > a::after { content: ' ▾'; font-size: 10px; }

/* Mobile nav toggle */
.nav-toggle {
  display: none;
  background: var(--navy);
  border: none;
  cursor: pointer;
  padding: 10px 12px;
  border-radius: 8px;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 4px;
  transition: background .2s;
}
.nav-toggle:hover { background: #162d5a; }
.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform .3s, opacity .3s;
}
.nav-toggle.active span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn-primary {
  background: var(--navy);
  color: var(--white);
  font-family: 'DM Sans', sans-serif;
  font-weight: 600;
  font-size: 15px;
  padding: 13px 26px;
  border-radius: 7px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  transition: background .2s;
}
.btn-primary:hover { background: #162d5a; color: var(--white); }

.btn-secondary {
  background: transparent;
  color: var(--navy);
  font-family: 'DM Sans', sans-serif;
  font-weight: 500;
  font-size: 15px;
  padding: 13px 24px;
  border-radius: 7px;
  border: 1px solid rgba(11,27,61,0.2);
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  transition: border-color .2s, color .2s;
}
.btn-secondary:hover { border-color: var(--navy); }

.btn-white {
  background: var(--white);
  color: var(--blue);
  font-family: 'DM Sans', sans-serif;
  font-weight: 700;
  font-size: 15.5px;
  padding: 14px 30px;
  border-radius: 7px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
}
.btn-ghost {
  background: transparent;
  color: var(--white);
  font-family: 'DM Sans', sans-serif;
  font-weight: 500;
  font-size: 15.5px;
  padding: 14px 26px;
  border-radius: 7px;
  border: 1px solid rgba(255,255,255,0.35);
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
}

/* ============================================================
   SECTION LABELS
   ============================================================ */
.sec-label {
  font-size: 12px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--blue);
  font-weight: 600;
  margin-bottom: 10px;
}
.sec-h2 {
  font-family: 'Sora', sans-serif;
  font-size: 40px;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: -0.02em;
  margin-bottom: 8px;
  line-height: 1.15;
}
.sec-sub {
  font-size: 17px;
  color: var(--navy-72);
  font-weight: 400;
  margin-bottom: 36px;
  max-width: 640px;
  line-height: 1.6;
}

/* ============================================================
   BADGE
   ============================================================ */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--blue-light);
  border: 0.5px solid #B8D4F8;
  border-radius: 20px;
  padding: 6px 14px;
  font-size: 12px;
  font-weight: 600;
  color: var(--blue);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 22px;
  width: fit-content;
}
.badge-dot { width: 5px; height: 5px; border-radius: 50%; background: var(--blue); }

/* ============================================================
   HERO
   ============================================================ */
.hero { display: grid; grid-template-columns: 1.1fr 0.9fr; min-height: 400px; overflow: hidden; }

.hero-left {
  padding: 48px 44px 40px;
  background: var(--white);
  border-right: 0.5px solid var(--navy-06);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero-h1 {
  font-family: 'Sora', sans-serif;
  font-size: 56px;
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--navy);
  margin-bottom: 8px;
}
.hero-h1 em { font-style: normal; color: var(--blue); }

.hero-body {
  font-size: 18px;
  color: var(--navy-72);
  line-height: 1.6;
  max-width: 480px;
  margin: 18px 0 32px;
  font-weight: 400;
}

.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }

.trust-row { display: flex; align-items: center; gap: 10px; margin-top: 26px; }
.avatars { display: flex; }
.av {
  width: 27px; height: 27px; border-radius: 50%;
  border: 2px solid var(--white); margin-right: -8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 9px; font-weight: 700; color: var(--white);
}
.trust-text { font-size: 13.5px; color: var(--navy-55); margin-left: 15px; font-style: italic; font-weight: 400; }

/* Hero Right */
.hero-right {
  background: #07142A;
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  position: relative;
  overflow: visible;
  justify-content: center;
}

.globe-canvas {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -52%);
  width: 560px;
  height: 560px;
  z-index: 0;
  opacity: 0.92;
  pointer-events: none;
  display: block;
}

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

.stats-card {
  background: rgba(7,20,42,0.65);
  backdrop-filter: blur(16px) saturate(1.3);
  -webkit-backdrop-filter: blur(16px) saturate(1.3);
  border: 0.5px solid rgba(34,207,174,0.18);
  border-radius: 12px;
  padding: 20px 22px;
  position: relative;
  z-index: 2;
  box-shadow: 0 8px 40px rgba(0,0,0,0.35);
}

.mini, .cert-badges {
  position: relative;
  z-index: 2;
}
.card-label {
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(34,207,174,0.65);
  font-weight: 600;
  margin-bottom: 18px;
}
.stat-row {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 10px 0;
  border-bottom: 0.5px solid rgba(255,255,255,0.07);
}
.stat-row:last-child { border-bottom: none; padding-bottom: 0; }
.stat-row:first-of-type { padding-top: 0; }
.stat-ico {
  width: 34px; height: 34px; border-radius: 8px;
  background: rgba(34,207,174,0.12);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.stat-num { font-family: 'Sora', sans-serif; font-size: 24px; font-weight: 700; color: #22CFAE; line-height: 1; }
.stat-desc { font-size: 13.5px; color: rgba(255,255,255,0.72); margin-top: 4px; font-weight: 400; }

.mini-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.mini { border-radius: 10px; padding: 14px 16px; }
.mini-num { font-family: 'Sora', sans-serif; font-size: 22px; font-weight: 800; color: var(--white); }
.mini-lbl { font-size: 13px; color: rgba(255,255,255,0.78); margin-top: 4px; font-weight: 400; }

/* Cert badges */
.cert-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}
.cert-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: rgba(34,207,174,0.08);
  border: 0.5px solid rgba(34,207,174,0.25);
  border-radius: 4px;
  padding: 4px 10px;
  font-size: 10.5px;
  font-weight: 500;
  color: var(--teal);
  white-space: nowrap;
}

/* ============================================================
   TECH STRIP
   ============================================================ */
.tech-strip {
  background: var(--white);
  border-bottom: 0.5px solid var(--navy-06);
  padding: 14px 40px;
}
.tech-label {
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--navy-55);
  font-weight: 600;
  margin-bottom: 12px;
}
.tech-logos { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.tech-pill {
  background: var(--bg);
  border: 0.5px solid var(--navy-10);
  border-radius: 6px;
  padding: 6px 14px;
  font-size: 13px;
  font-weight: 500;
  color: var(--navy-72);
}

/* ============================================================
   SERVICES SECTION
   ============================================================ */
.section { padding: 48px 40px; }
.services-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; }

.svc-card {
  background: var(--white);
  border: 0.5px solid var(--navy-09);
  border-radius: 12px;
  padding: 24px 22px;
}
.svc-tag {
  display: inline-block;
  font-size: 11.5px;
  font-weight: 600;
  padding: 4px 11px;
  border-radius: 5px;
  margin-bottom: 12px;
  letter-spacing: 0.02em;
}
.svc-icon {
  width: 42px; height: 42px; border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
}
.svc-h3 { font-family: 'Sora', sans-serif; font-size: 22px; font-weight: 700; color: var(--navy); margin-bottom: 10px; line-height: 1.25; }
.svc-body { font-size: 16px; color: var(--navy-72); line-height: 1.6; font-weight: 400; margin-bottom: 18px; }
.svc-link { font-size: 14.5px; font-weight: 600; color: var(--blue); text-decoration: none; }
.svc-link:hover { text-decoration: underline; }

/* ============================================================
   CASE STUDIES
   ============================================================ */
.cases-section {
  padding: 48px 40px;
  background: var(--white);
  border-top: 0.5px solid var(--navy-06);
}
.cases-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 16px; }

.case-card {
  background: var(--bg);
  border: 0.5px solid var(--navy-08);
  border-radius: 12px;
  padding: 22px;
}
.case-ind {
  font-size: 11.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 600;
  padding: 4px 11px;
  border-radius: 5px;
  display: inline-block;
  margin-bottom: 14px;
}
.case-h { font-family: 'Sora', sans-serif; font-size: 19px; font-weight: 700; color: var(--navy); margin-bottom: 10px; line-height: 1.3; }
.case-body { font-size: 16px; color: var(--navy-72); line-height: 1.6; font-weight: 400; margin-bottom: 18px; }
.case-metrics { display: flex; gap: 20px; }
.metric { text-align: center; }
.metric-num { font-family: 'Sora', sans-serif; font-size: 28px; font-weight: 800; color: var(--navy); }
.metric-lbl { font-size: 12px; color: var(--navy-55); font-weight: 500; margin-top: 3px; }

/* ============================================================
   ABOUT STRIP
   ============================================================ */
.about-strip {
  background: var(--navy);
  padding: 40px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}
.about-label { font-size: 12px; letter-spacing: 0.15em; text-transform: uppercase; color: var(--teal); font-weight: 600; margin-bottom: 10px; }
.about-h2 { font-family: 'Sora', sans-serif; font-size: 36px; font-weight: 700; color: var(--white); letter-spacing: -0.02em; margin-bottom: 14px; line-height: 1.15; }
.about-body { font-size: 17px; color: rgba(255,255,255,0.82); line-height: 1.7; font-weight: 400; margin-bottom: 24px; }

.about-team { display: flex; gap: 12px; }
.team-card {
  background: rgba(255,255,255,0.06);
  border: 0.5px solid rgba(255,255,255,0.1);
  border-radius: 10px;
  padding: 14px 16px;
  flex: 1;
  text-align: center;
}
.team-av {
  width: 44px; height: 44px; border-radius: 50%;
  margin: 0 auto 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; font-weight: 700; color: var(--white);
}
.team-name { font-family: 'Sora', sans-serif; font-size: 16px; font-weight: 700; color: var(--white); }
.team-role { font-size: 13px; color: rgba(255,255,255,0.65); margin-top: 4px; font-weight: 400; }

.about-right { display: grid; grid-template-columns: repeat(2,1fr); gap: 12px; }
.astat {
  background: rgba(255,255,255,0.05);
  border: 0.5px solid rgba(255,255,255,0.08);
  border-radius: 10px;
  padding: 16px;
}
.astat-num { font-family: 'Sora', sans-serif; font-size: 34px; font-weight: 800; color: var(--white); }
.astat-lbl { font-size: 13.5px; color: rgba(255,255,255,0.7); font-weight: 400; margin-top: 6px; }

/* ============================================================
   CTA SECTION
   ============================================================ */
.cta-section { background: var(--blue); padding: 40px; text-align: center; }
.cta-h { font-family: 'Sora', sans-serif; font-size: 36px; font-weight: 800; color: var(--white); margin-bottom: 12px; letter-spacing: -0.025em; line-height: 1.15; }
.cta-sub { font-size: 17px; color: rgba(255,255,255,0.88); font-weight: 400; margin-bottom: 28px; }
.cta-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--navy);
  padding: 28px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 0.5px solid rgba(255,255,255,0.06);
  flex-wrap: wrap;
  gap: 16px;
}
.footer-brand .footer-logo { font-family: 'Sora', sans-serif; font-size: 17px; font-weight: 700; color: var(--white); }
.footer-brand .footer-sub { font-size: 11px; color: rgba(255,255,255,0.45); margin-top: 3px; letter-spacing: 0.12em; text-transform: uppercase; }
.footer-brand .footer-tagline { font-size: 13px; color: rgba(255,255,255,0.6); margin-top: 8px; font-style: italic; font-weight: 400; }
.footer-brand .footer-office-label { font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--teal); font-weight: 600; margin-top: 12px; }
.footer-brand .footer-addr { font-size: 13px; color: rgba(255,255,255,0.5); margin-top: 3px; }
.footer-brand .footer-phone { font-size: 13px; color: rgba(255,255,255,0.5); margin-top: 3px; }

.footer-links { display: flex; gap: 20px; flex-wrap: wrap; }
.footer-links a { font-size: 14px; color: rgba(255,255,255,0.55); text-decoration: none; transition: color .2s; font-weight: 400; }
.footer-links a:hover { color: rgba(255,255,255,0.75); }

.footer-copy { font-size: 12.5px; color: rgba(255,255,255,0.4); }

/* ============================================================
   PAGE HERO (interior pages)
   ============================================================ */
.page-hero {
  background: var(--white);
  padding: 56px 40px 48px;
  border-bottom: 0.5px solid var(--navy-08);
}
.page-hero .badge { margin-bottom: 16px; }
.page-hero-h { font-family: 'Sora', sans-serif; font-size: 52px; font-weight: 800; color: var(--navy); letter-spacing: -0.03em; line-height: 1.05; margin-bottom: 16px; }
.page-hero-h em { font-style: normal; color: var(--blue); }
.page-hero-sub { font-size: 18px; color: var(--navy-72); line-height: 1.6; max-width: 640px; font-weight: 400; }

/* ============================================================
   SERVICES PAGE
   ============================================================ */
.services-full-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 20px; }
.svc-full-card {
  background: var(--white);
  border: 0.5px solid var(--navy-09);
  border-radius: 12px;
  padding: 28px;
}
.svc-full-list { list-style: none; margin-top: 12px; }
.svc-full-list li {
  font-size: 16px;
  color: var(--navy-72);
  padding: 10px 0;
  border-bottom: 0.5px solid var(--navy-06);
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 400;
  line-height: 1.5;
}
.svc-full-list li:last-child { border-bottom: none; }
.svc-full-list li::before {
  content: '';
  width: 4px; height: 4px;
  border-radius: 50%;
  background: var(--blue);
  flex-shrink: 0;
}

/* ============================================================
   CONTACT PAGE
   ============================================================ */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.contact-form-wrap {
  background: var(--white);
  border: 0.5px solid var(--navy-09);
  border-radius: 12px;
  padding: 32px;
}
.contact-info-wrap { display: flex; flex-direction: column; gap: 16px; }
.contact-info-card {
  background: var(--white);
  border: 0.5px solid var(--navy-09);
  border-radius: 12px;
  padding: 22px;
}
.contact-info-label { font-size: 11px; letter-spacing: 0.15em; text-transform: uppercase; color: var(--navy-55); font-weight: 600; margin-bottom: 8px; }
.contact-info-val { font-family: 'Sora', sans-serif; font-size: 18px; font-weight: 700; color: var(--navy); }
.contact-info-sub { font-size: 13.5px; color: var(--navy-72); margin-top: 5px; font-weight: 400; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-group { margin-bottom: 16px; }
.req { color: var(--blue); }

.form-notice {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  border-radius: 8px;
  padding: 14px 16px;
  margin-bottom: 20px;
  font-size: 13.5px;
  font-weight: 500;
  line-height: 1.5;
}
.form-notice svg { flex-shrink: 0; margin-top: 1px; }
.form-notice--success { background: #E8F5F0; border: 0.5px solid #0F6E56; color: #0F6E56; }
.form-notice--error   { background: #FEF3E8; border: 0.5px solid #7A4010; color: #7A4010; }

@media (max-width: 540px) {
  .form-row { grid-template-columns: 1fr; }
}
.form-label { display: block; font-size: 13.5px; font-weight: 600; color: var(--navy); margin-bottom: 7px; }
.form-input,
.form-textarea,
.form-select {
  width: 100%;
  padding: 12px 16px;
  border: 0.5px solid rgba(11,27,61,0.2);
  border-radius: 8px;
  font-family: 'DM Sans', sans-serif;
  font-size: 15px;
  color: var(--navy);
  background: var(--bg);
  outline: none;
  transition: border-color .2s;
}
.form-input:focus,
.form-textarea:focus,
.form-select:focus { border-color: var(--blue); background: var(--white); }
.form-textarea { resize: vertical; min-height: 120px; }

/* ============================================================
   ABOUT PAGE
   ============================================================ */
.values-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; margin-top: 32px; }
.value-card {
  background: var(--white);
  border: 0.5px solid var(--navy-09);
  border-radius: 12px;
  padding: 24px 22px;
}
.value-icon { font-size: 32px; margin-bottom: 14px; }
.value-h { font-family: 'Sora', sans-serif; font-size: 19px; font-weight: 700; color: var(--navy); margin-bottom: 10px; line-height: 1.3; }
.value-body { font-size: 15.5px; color: var(--navy-72); line-height: 1.6; font-weight: 400; }

/* ============================================================
   CONTAINER-FLUID: bg full viewport, content max 1200px centered
   Placed at end so it overrides earlier section padding rules.
   ============================================================ */
.site-nav,
.tech-strip,
.section,
.cases-section,
.about-strip,
.cta-section,
.site-footer,
.page-hero {
  padding-left: max(40px, calc((100% - 1200px) / 2));
  padding-right: max(40px, calc((100% - 1200px) / 2));
}

.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  width: 100%;
}
.hero-left {
  padding-left: max(40px, calc((100vw - 1200px) / 2));
  padding-right: 40px;
}
.hero-right {
  padding-left: 40px;
  padding-right: max(40px, calc((100vw - 1200px) / 2));
}

/* ============================================================
   RESPONSIVE — comprehensive breakpoint coverage
   Breakpoints: 1440 / 1280 / 1100 / 1024 / 900 / 768 / 640 / 480 / 380
   ============================================================ */

/* ── Large desktop (≤1440px) ────────────────────────────── */
@media (max-width: 1440px) {
  .hero-h1 { font-size: 50px; }
  .page-hero-h { font-size: 46px; }
  .sec-h2 { font-size: 36px; }
}

/* ── Desktop (≤1280px) ──────────────────────────────────── */
@media (max-width: 1280px) {
  .hero-left { padding-left: 40px; padding-right: 32px; }
  .hero-right { padding-left: 32px; padding-right: 40px; }
}

/* ── Laptop (≤1100px) ───────────────────────────────────── */
@media (max-width: 1100px) {
  .site-nav { padding: 6px 28px; }
  .nav-links { gap: 22px; }
  .section, .cases-section { padding: 44px 28px; }
  .about-strip { padding: 40px 28px; }
  .cta-section { padding: 40px 28px; }
  .page-hero { padding: 48px 28px 40px; }
  .tech-strip { padding: 14px 28px; }
  .site-footer { padding: 28px 28px; }
  .hero-left { padding: 44px 28px 40px; }
  .hero-right { padding: 32px 28px; }
  .hero-h1 { font-size: 44px; }
  .sec-h2 { font-size: 32px; }
  .page-hero-h { font-size: 40px; }
  .about-h2 { font-size: 30px; }
  .cta-h { font-size: 30px; }
  .services-grid { grid-template-columns: repeat(2,1fr); gap: 16px; }
  .values-grid { grid-template-columns: repeat(2,1fr); gap: 16px; }
  .nav-logo-img { height: 90px; }
  .globe-canvas { width: 480px; height: 480px; }
}

/* ── iPad landscape (≤1024px) ───────────────────────────── */
@media (max-width: 1024px) {
  .site-nav { padding: 6px 24px; }
  .nav-links { gap: 18px; }
  .nav-links li > a { font-size: 14px; }
  .nav-cta { font-size: 13.5px; padding: 10px 18px; }
  .hero-h1 { font-size: 40px; }
  .hero-body { font-size: 17px; }
  .stats-card { padding: 18px 20px; }
  .stat-num { font-size: 22px; }
  .stat-desc { font-size: 13px; }
  .mini-num { font-size: 20px; }
  .footer-links { gap: 16px; }
}

/* ── Tablet landscape (≤900px) ──────────────────────────── */
@media (max-width: 900px) {
  /* Nav */
  .site-nav { padding: 8px 24px; gap: 12px; }
  .nav-links { gap: 16px; }
  .nav-logo-img { height: 80px; }

  /* Hero stacks */
  .hero { grid-template-columns: 1fr; }
  .hero-right { display: none; }
  .hero-left { padding: 44px 24px 40px; border-right: none; }
  .hero-h1 { font-size: 38px; }
  .hero-body { font-size: 17px; max-width: 100%; }

  /* Section type */
  .sec-h2 { font-size: 30px; }
  .page-hero-h { font-size: 36px; }
  .page-hero-sub { font-size: 16.5px; }
  .about-h2 { font-size: 28px; }
  .cta-h { font-size: 28px; }
  .svc-h3 { font-size: 20px; }
  .svc-body { font-size: 15px; }
  .case-h { font-size: 18px; }
  .case-body { font-size: 15px; }

  /* Grids */
  .services-grid { grid-template-columns: 1fr 1fr; gap: 14px; }
  .cases-grid { grid-template-columns: 1fr; gap: 16px; }
  .services-full-grid { grid-template-columns: 1fr; gap: 16px; }
  .values-grid { grid-template-columns: 1fr 1fr; gap: 14px; }

  /* About */
  .about-strip { grid-template-columns: 1fr; gap: 32px; padding: 40px 24px; }
  .about-team { flex-wrap: wrap; }
  .about-right { grid-template-columns: repeat(2,1fr); }

  /* Contact */
  .contact-grid { grid-template-columns: 1fr; gap: 24px; }

  /* Sections */
  .section, .cases-section { padding: 40px 24px; }
  .page-hero { padding: 44px 24px 36px; }
  .cta-section { padding: 40px 24px; }
  .tech-strip { padding: 14px 24px; }
  .site-footer { padding: 28px 24px; flex-wrap: wrap; gap: 24px; }

}

/* ── Tablet portrait (≤768px) ───────────────────────────── */
@media (max-width: 768px) {
  body { padding: 0; }
  .site-wrap { border-radius: 0; box-shadow: none; }

  .hero-h1 { font-size: 34px; }
  .hero-body { font-size: 16px; }
  .sec-h2 { font-size: 28px; }
  .page-hero-h { font-size: 32px; }
  .about-h2 { font-size: 26px; }
  .cta-h { font-size: 26px; }
  .services-grid { grid-template-columns: 1fr; gap: 14px; }
  .values-grid { grid-template-columns: 1fr; gap: 14px; }
  .footer-brand { width: 100%; }
  .footer-links { width: 100%; }
}

/* ── Mobile (≤640px) ────────────────────────────────────── */
@media (max-width: 640px) {
  body { padding: 0; }
  .site-wrap { border-radius: 0; box-shadow: none; }

  /* Nav */
  .site-nav {
    padding: 10px 16px;
    position: sticky;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
    justify-content: space-between;
  }
  .nav-logo { flex: 1; min-width: 0; }
  .nav-logo-img { height: 56px; max-width: 100%; }
  .nav-cta { display: none; }
  .nav-toggle { display: flex; }

  .nav-links {
    display: none;
    width: 100%;
    flex-direction: column;
    gap: 0;
    background: var(--white);
    border-top: 0.5px solid var(--navy-08);
    margin-top: 10px;
    padding: 8px 0;
    order: 3;
  }
  .nav-links.open { display: flex; }
  .nav-links li { width: 100%; position: relative; }
  .nav-links li > a {
    display: block;
    padding: 14px 18px;
    font-size: 15px;
    font-weight: 500;
    color: var(--navy);
    border-bottom: 0.5px solid var(--navy-06);
  }
  .nav-links li:last-child > a { border-bottom: none; }
  .nav-links li.current_page_item > a {
    color: var(--blue);
    font-weight: 600;
  }
  .nav-has-dropdown > a::after { content: ' ›'; font-size: 14px; float: right; }

  /* Mobile dropdown — click-toggle */
  .nav-dropdown {
    position: static;
    transform: none;
    box-shadow: none;
    border: none;
    border-radius: 0;
    padding: 0;
    background: var(--bg);
    display: none;
    max-height: 0;
    overflow: hidden;
    transition: max-height .3s ease;
  }
  .nav-dropdown.mobile-open {
    display: block;
    max-height: 400px;
  }
  .nav-dropdown::before { display: none; }
  .nav-dropdown a {
    padding: 12px 18px 12px 36px;
    font-size: 14px;
    border-bottom: 0.5px solid var(--navy-06);
    color: var(--navy-72);
  }
  .nav-dropdown a:last-child { border-bottom: none; }
  .nav-dropdown-icon { display: none; }
  .nav-has-dropdown.mobile-active > a::after { transform: rotate(90deg); display: inline-block; transition: transform .2s; }

  .nav-mobile-only { display: block; }
  .nav-mobile-only > a { border-bottom: none !important; padding: 0 !important; }

  /* Mobile-only CTA at bottom of menu */
  .nav-mobile-cta {
    display: flex !important;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin: 16px 18px 8px !important;
    padding: 14px 20px !important;
    background: var(--navy) !important;
    color: var(--white) !important;
    text-align: center;
    border-radius: 10px;
    font-family: 'DM Sans', sans-serif;
    font-weight: 600;
    font-size: 14.5px;
    letter-spacing: 0.01em;
    text-decoration: none;
    border: none !important;
    box-shadow: 0 4px 14px rgba(11,27,61,0.18);
    transition: transform .15s, box-shadow .15s;
  }
  .nav-mobile-cta::after {
    content: '→';
    font-size: 16px;
    line-height: 1;
  }
  .nav-mobile-cta:hover,
  .nav-mobile-cta:active {
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(11,27,61,0.25);
  }

  /* Hero */
  .hero-left { padding: 32px 18px 28px; }
  .hero-h1 { font-size: 30px; line-height: 1.15; }
  .hero-body { font-size: 15.5px; margin: 14px 0 24px; }
  .hero-actions { gap: 10px; flex-direction: column; align-items: stretch; }
  .hero-actions .btn-primary,
  .hero-actions .btn-secondary { width: 100%; text-align: center; }
  .trust-row { flex-wrap: wrap; gap: 8px; margin-top: 20px; }
  .trust-text { margin-left: 0; font-size: 12.5px; }
  .badge { font-size: 11px; padding: 5px 12px; }

  /* Tech strip */
  .tech-strip { padding: 14px 18px; }
  .tech-label { font-size: 10.5px; margin-bottom: 10px; }
  .tech-logos { gap: 7px; }
  .tech-pill { font-size: 12px; padding: 5px 11px; }

  /* Sections */
  .section, .cases-section { padding: 32px 18px; }
  .page-hero { padding: 36px 18px 28px; }
  .page-hero-h { font-size: 28px; }
  .page-hero-sub { font-size: 15px; }
  .sec-h2 { font-size: 24px; }
  .sec-sub { font-size: 14.5px; margin-bottom: 24px; }
  .sec-label { font-size: 11px; }

  /* Service cards */
  .services-grid { grid-template-columns: 1fr; gap: 12px; }
  .svc-card { padding: 22px 18px; }
  .svc-h3 { font-size: 18px; }
  .svc-body { font-size: 14.5px; }
  .services-full-grid { grid-template-columns: 1fr; gap: 14px; }
  .svc-full-card { padding: 22px 18px; }
  .svc-full-list li { font-size: 14.5px; padding: 8px 0; }

  /* Case study cards */
  .cases-grid { grid-template-columns: 1fr; gap: 14px; }
  .case-card { padding: 20px 18px; }
  .case-h { font-size: 16.5px; }
  .case-body { font-size: 14.5px; }
  .case-metrics { gap: 14px; flex-wrap: wrap; }
  .metric-num { font-size: 22px; }
  .metric-lbl { font-size: 11.5px; }

  /* About strip */
  .about-strip { padding: 32px 18px; gap: 24px; grid-template-columns: 1fr; }
  .about-h2 { font-size: 24px; }
  .about-body { font-size: 14.5px; }
  .about-team { flex-direction: column; gap: 10px; }
  .team-card { padding: 14px; }
  .about-right { grid-template-columns: 1fr 1fr; gap: 10px; }
  .astat { padding: 14px; }
  .astat-num { font-size: 24px; }
  .astat-lbl { font-size: 12px; }

  /* Values */
  .values-grid { grid-template-columns: 1fr; gap: 12px; }
  .value-h { font-size: 17px; }
  .value-body { font-size: 14.5px; }

  /* CTA */
  .cta-section { padding: 32px 18px; }
  .cta-h { font-size: 24px; }
  .cta-sub { font-size: 14.5px; }
  .cta-actions { flex-direction: column; align-items: stretch; gap: 10px; }
  .cta-actions .btn-white,
  .cta-actions .btn-ghost { text-align: center; width: 100%; }

  /* Contact */
  .contact-grid { grid-template-columns: 1fr; gap: 20px; }
  .contact-form-wrap { padding: 24px 18px; }
  .contact-info-wrap { gap: 12px; }
  .contact-info-card { padding: 18px; }
  .contact-info-val { font-size: 16px; }
  .form-row { grid-template-columns: 1fr; gap: 0; }

  /* Footer */
  .site-footer { padding: 28px 18px; flex-direction: column; align-items: flex-start; gap: 24px; }
  .footer-links { flex-wrap: wrap; gap: 14px; }
  .footer-copy { font-size: 12px; }
  .footer-brand .footer-logo { font-size: 16px; }

  /* Mini grid + stats */
  .mini-grid { grid-template-columns: 1fr 1fr; }
  .mini-num { font-size: 18px; }
  .stat-num { font-size: 20px; }
}

/* ── Mid mobile (≤480px) ────────────────────────────────── */
@media (max-width: 480px) {
  .hero-h1 { font-size: 26px; }
  .page-hero-h { font-size: 26px; }
  .sec-h2 { font-size: 22px; }
  .about-h2 { font-size: 22px; }
  .cta-h { font-size: 22px; }
  .nav-logo-img { height: 56px; }
  .badge { font-size: 10px; padding: 4px 10px; letter-spacing: 0.08em; }
  .case-metrics { gap: 12px; }
  .metric-num { font-size: 20px; }
  .astat-num { font-size: 22px; }
  .footer-brand .footer-tagline { font-size: 12px; }
}

/* ── Small mobile (≤380px) ──────────────────────────────── */
@media (max-width: 380px) {
  .hero-h1 { font-size: 23px; }
  .page-hero-h { font-size: 23px; }
  .sec-h2 { font-size: 20px; }
  .hero-body { font-size: 14.5px; }
  .sec-sub { font-size: 13.5px; }
  .svc-body, .case-body, .value-body { font-size: 14px; }
  .about-right { grid-template-columns: 1fr; }
  .mini-grid { grid-template-columns: 1fr; }
  .case-metrics { flex-direction: column; gap: 10px; align-items: flex-start; }
  .metric { text-align: left; }
  .nav-logo-img { height: 50px; }
  .tech-pill { font-size: 11px; }
  .form-input, .form-textarea, .form-select { font-size: 14px; padding: 10px 14px; }
}

/* ── Ultra-small / very narrow (≤320px) ─────────────────── */
@media (max-width: 320px) {
  .section, .cases-section, .page-hero { padding-left: 14px; padding-right: 14px; }
  .hero-left { padding-left: 14px; padding-right: 14px; }
  .site-nav { padding-left: 14px; padding-right: 14px; }
  .site-footer { padding-left: 14px; padding-right: 14px; }
}
