/* =====================================================================
   PAGES.CSS — styles for inner pages (about / services / certifications /
   career / contact). Uses the same design tokens as style.css.
   ===================================================================== */

/* ---------------------------------------------------------------------
   INNER-PAGE HEADER
   On inner pages there's no hero video, so the transparent-over-video
   default doesn't apply. Force the header into its solid state at all
   times so nav and logo are always visible.
   --------------------------------------------------------------------- */
body.inner-page .site-top .topbar {
  background: var(--navy-deep);
  border-bottom-color: rgba(255, 255, 255, .05);
}
body.inner-page .site-top .header {
  background: var(--white);
  border-bottom-color: var(--gray-100);
  box-shadow: 0 4px 20px rgba(10, 36, 69, .08);
}
body.inner-page .site-top .nav a {
  color: var(--gray-700);
  text-shadow: none;
}
body.inner-page .site-top .nav a:hover,
body.inner-page .site-top .nav a.active { color: var(--navy); }
body.inner-page .site-top .logo img { filter: none; }

/* Logo text fallback — only visible when image fails to load and JS sets .show */
.logo-fallback {
  display: none;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 24px;
  letter-spacing: 2px;
  color: var(--navy);
}
.logo-fallback.show { display: flex; }
body:not(.inner-page) .site-top:not(.scrolled) .logo-fallback.show { color: var(--white); }

/* ---------------------------------------------------------------------
   Page Hero (used at top of every inner page)
   --------------------------------------------------------------------- */
.page-hero {
  position: relative;
  padding: 200px 0 100px;
  overflow: hidden;
  background: var(--navy-deep);
  color: var(--white);
}
.page-hero-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 20% 40%, rgba(30, 72, 112, .55) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 60%, rgba(30, 72, 112, .35) 0%, transparent 60%),
    linear-gradient(135deg, var(--navy) 0%, var(--navy-deep) 100%);
  background-size: cover;
  background-position: center;
}
.page-hero-overlay {
  position: absolute; inset: 0;
  background:
    linear-gradient(rgba(255, 255, 255, .03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .03) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at center, black 40%, transparent 90%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 40%, transparent 90%);
}
.page-hero-content { position: relative; z-index: 2; max-width: 780px; }
.page-hero-content h1 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(42px, 6.4vw, 68px);
  line-height: 1.05;
  color: var(--white);
  margin: 14px 0 20px;
  letter-spacing: -1px;
  text-transform: uppercase;
  text-shadow: 0 4px 30px rgba(0, 0, 0, .6);
}
.page-hero-sub {
  font-size: 17px;
  line-height: 1.65;
  color: rgba(255, 255, 255, .78);
  max-width: 640px;
}
.eyebrow-line {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--chrome-light);
}
.eyebrow-line::before {
  content: ''; width: 30px; height: 2px;
  background: var(--chrome-light);
}
.eyebrow-line-navy { color: var(--steel); }
.eyebrow-line-navy::before { background: var(--steel); }

/* ---------------------------------------------------------------------
   Generic page section
   --------------------------------------------------------------------- */
.page-section { padding: 90px 0; background: var(--white); }
.page-section-alt { background: #F5F7FA; }

.section-header-center {
  max-width: 720px;
  margin: 0 auto 60px;
  text-align: center;
}
.section-header-center .eyebrow-line {
  justify-content: center;
}
.section-header-center h2 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(30px, 4vw, 44px);
  line-height: 1.1;
  color: var(--navy-deep);
  margin: 14px 0 14px;
  letter-spacing: -.5px;
  text-transform: uppercase;
}
.section-header-center .lead {
  font-size: 16px;
  color: #4E5C74;
  line-height: 1.65;
}

.empty-state {
  padding: 60px 30px;
  text-align: center;
  background: #F5F7FA;
  border: 1px dashed rgba(30, 72, 112, .25);
  border-radius: 6px;
  color: #4E5C74;
  font-size: 15px;
}
.empty-state a { color: var(--steel); text-decoration: underline; }

/* ---------------------------------------------------------------------
   ABOUT PAGE
   --------------------------------------------------------------------- */
.about-intro {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}
.lead-text {
  font-size: 20px;
  line-height: 1.65;
  color: var(--navy-deep);
  font-weight: 400;
}

/* Stats band */
.stats-band {
  padding: 60px 0;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-deep) 100%);
  color: var(--white);
}
.stats-band-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}
.stat-card-lg {
  text-align: center;
  padding: 20px 15px;
  border-right: 1px solid rgba(180, 186, 195, .15);
}
.stat-card-lg:last-child { border-right: none; }
.stat-number {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(42px, 5vw, 60px);
  line-height: 1;
  color: var(--chrome-light);
  letter-spacing: -1px;
}
.stat-label {
  margin-top: 10px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .75);
}

/* About split (image + text) */
.about-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.about-split-text h2 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(30px, 4vw, 44px);
  color: var(--navy-deep);
  margin: 14px 0 18px;
  letter-spacing: -.5px;
  text-transform: uppercase;
  line-height: 1.1;
}
.about-split-text p {
  font-size: 16px;
  line-height: 1.75;
  color: #4E5C74;
}
.about-split-image img {
  width: 100%;
  border-radius: 6px;
  box-shadow: 0 20px 60px rgba(10, 36, 69, .3);
}

/* Mission & Vision */
.mv-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}
.mv-card {
  padding: 40px;
  background: var(--white);
  border: 1px solid rgba(30, 72, 112, .1);
  border-top: 3px solid var(--steel);
  border-radius: 6px;
  box-shadow: 0 10px 30px rgba(10, 36, 69, .06);
  transition: transform .25s, box-shadow .25s;
}
.mv-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 50px rgba(10, 36, 69, .12);
}
.mv-icon {
  width: 60px; height: 60px;
  display: inline-flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--navy) 0%, var(--steel) 100%);
  color: var(--white);
  border-radius: 4px;
  margin-bottom: 20px;
}
.mv-icon svg { width: 30px; height: 30px; }
.mv-card h3 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 26px;
  color: var(--navy-deep);
  margin-bottom: 12px;
  text-transform: uppercase;
}
.mv-card p { font-size: 15px; line-height: 1.75; color: #4E5C74; }

/* ---------------------------------------------------------------------
   SERVICES PAGE (dedicated /services.php)
   --------------------------------------------------------------------- */
.services-list { display: flex; flex-direction: column; gap: 40px; }
.service-detail {
  display: grid;
  grid-template-columns: 80px 1fr 320px;
  gap: 40px;
  align-items: center;
  padding: 40px;
  background: var(--white);
  border: 1px solid rgba(30, 72, 112, .1);
  border-left: 4px solid var(--steel);
  border-radius: 6px;
  box-shadow: 0 8px 24px rgba(10, 36, 69, .05);
  transition: transform .25s, box-shadow .25s;
}
.service-detail:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 40px rgba(10, 36, 69, .12);
  border-left-color: var(--navy-deep);
}
.service-detail-number {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 60px;
  color: rgba(30, 72, 112, .15);
  line-height: 1;
  letter-spacing: -2px;
}
.service-detail-body h2 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 28px;
  color: var(--navy-deep);
  margin-bottom: 12px;
  text-transform: uppercase;
}
.service-detail-lead {
  font-size: 16px;
  color: var(--steel);
  font-weight: 500;
  margin-bottom: 14px;
}
.service-detail-desc {
  font-size: 15px;
  line-height: 1.75;
  color: #4E5C74;
  margin-bottom: 22px;
}
.service-detail-image img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 4px;
}

/* Reusable outline button */
.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border: 2px solid var(--steel);
  color: var(--steel);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  border-radius: 4px;
  transition: all .2s;
  background: transparent;
  cursor: pointer;
}
.btn-outline:hover {
  background: var(--steel);
  color: var(--white);
  transform: translateY(-1px);
}
.btn-outline svg { width: 15px; height: 15px; }

/* Reusable primary CTA button — navy filled, used across quote form, service pages */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  background: linear-gradient(135deg, var(--navy) 0%, var(--steel) 100%);
  color: #fff !important;
  font-family: var(--font-display, 'Barlow Condensed', sans-serif);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  text-decoration: none;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, filter .2s ease;
  box-shadow: 0 4px 14px rgba(10, 36, 69, .25);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(10, 36, 69, .35);
  filter: brightness(1.08);
  color: #fff !important;
}
.btn-primary svg { width: 15px; height: 15px; stroke: currentColor; flex-shrink: 0; }
.btn-primary.btn-lg { padding: 16px 40px; font-size: 15px; letter-spacing: 2px; }
.btn-primary.btn-full { display: inline-flex; width: 100%; }

/* CTA band */
.page-cta {
  padding: 80px 0;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-deep) 100%);
  color: var(--white);
  text-align: center;
}
.page-cta-content { max-width: 640px; margin: 0 auto; }
.page-cta h2 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(28px, 4vw, 40px);
  color: var(--white);
  margin-bottom: 16px;
  text-transform: uppercase;
}
.page-cta p { font-size: 16px; color: rgba(255, 255, 255, .8); margin-bottom: 30px; }

/* ---------------------------------------------------------------------
   CERTIFICATIONS PAGE
   --------------------------------------------------------------------- */
.certs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}
.cert-grid-card {
  padding: 34px 28px;
  background: var(--white);
  border: 1px solid rgba(30, 72, 112, .12);
  border-radius: 6px;
  box-shadow: 0 8px 24px rgba(10, 36, 69, .05);
  transition: transform .25s, box-shadow .25s, border-color .25s;
  text-align: center;
}
.cert-grid-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 50px rgba(10, 36, 69, .15);
  border-color: var(--steel);
}
.cert-grid-logo {
  width: 100%;
  height: 100px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
}
.cert-grid-logo img { max-width: 140px; max-height: 90px; object-fit: contain; }
.cert-grid-placeholder {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 32px;
  color: var(--chrome);
  letter-spacing: 3px;
  padding: 20px;
  background: rgba(30, 72, 112, .06);
  border-radius: 4px;
}
.cert-grid-card h3 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 18px;
  color: var(--navy-deep);
  margin-bottom: 10px;
  text-transform: uppercase;
}
.cert-grid-card p { font-size: 14px; line-height: 1.6; color: #4E5C74; }

/* ---------------------------------------------------------------------
   CAREER PAGE
   --------------------------------------------------------------------- */
.jobs-list { display: flex; flex-direction: column; gap: 24px; margin-bottom: 80px; }
.job-card {
  padding: 32px;
  background: var(--white);
  border: 1px solid rgba(30, 72, 112, .12);
  border-radius: 6px;
  box-shadow: 0 6px 20px rgba(10, 36, 69, .05);
  transition: box-shadow .25s;
}
.job-card:hover { box-shadow: 0 12px 32px rgba(10, 36, 69, .12); }
.job-card-head {
  display: flex; align-items: flex-start; justify-content: space-between;
  gap: 20px; flex-wrap: wrap;
  padding-bottom: 20px;
  margin-bottom: 20px;
  border-bottom: 1px solid rgba(30, 72, 112, .1);
}
.job-department {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--steel);
  margin-bottom: 6px;
}
.job-card h3 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 22px;
  color: var(--navy-deep);
  margin-bottom: 12px;
  text-transform: uppercase;
}
.job-meta { display: flex; gap: 14px; flex-wrap: wrap; }
.job-tag {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 10px;
  background: rgba(30, 72, 112, .08);
  color: var(--navy-deep);
  border-radius: 3px;
  font-size: 12px;
  font-weight: 500;
}
.job-tag svg { width: 12px; height: 12px; stroke: var(--steel); }
.job-card-body { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
.job-block h4 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--steel);
  margin-bottom: 10px;
}
.job-block p { font-size: 14px; line-height: 1.7; color: #4E5C74; }

.apply-form-wrap {
  max-width: 780px;
  margin: 0 auto;
  padding: 50px 40px;
  background: var(--white);
  border: 1px solid rgba(30, 72, 112, .12);
  border-radius: 6px;
  box-shadow: 0 12px 32px rgba(10, 36, 69, .08);
}

/* ---------------------------------------------------------------------
   CONTACT PAGE
   --------------------------------------------------------------------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 50px;
  align-items: start;
}
.contact-info { display: flex; flex-direction: column; gap: 24px; }
.contact-block {
  display: flex;
  gap: 16px;
  padding: 22px 24px;
  background: var(--white);
  border: 1px solid rgba(30, 72, 112, .1);
  border-left: 3px solid var(--steel);
  border-radius: 4px;
  box-shadow: 0 4px 14px rgba(10, 36, 69, .04);
}
.contact-block-icon {
  width: 44px; height: 44px;
  flex-shrink: 0;
  display: inline-flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--navy) 0%, var(--steel) 100%);
  color: var(--white);
  border-radius: 4px;
}
.contact-block-icon svg { width: 20px; height: 20px; }
.contact-block-label {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--steel);
  margin-bottom: 4px;
}
.contact-block-value {
  font-size: 15px;
  line-height: 1.55;
  color: var(--navy-deep);
  font-weight: 500;
}
.contact-block-value a { color: var(--navy-deep); }
.contact-block-value a:hover { color: var(--steel); text-decoration: underline; }

.contact-map {
  height: 260px;
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid rgba(30, 72, 112, .15);
  box-shadow: 0 8px 24px rgba(10, 36, 69, .1);
}
.contact-map-el { width: 100%; height: 100%; background: var(--navy-deep); }

.contact-form-wrap {
  padding: 40px 42px;
  background: var(--white);
  border: 1px solid rgba(30, 72, 112, .1);
  border-radius: 6px;
  box-shadow: 0 12px 40px rgba(10, 36, 69, .08);
}
.contact-form-head { margin-bottom: 30px; }
.contact-form-head h2 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 32px;
  color: var(--navy-deep);
  margin: 12px 0 8px;
  letter-spacing: -.5px;
  text-transform: uppercase;
}
.contact-form-head p { font-size: 15px; color: #4E5C74; }

/* ---------------------------------------------------------------------
   Site forms (used on contact + career apply)
   --------------------------------------------------------------------- */
.site-form { display: flex; flex-direction: column; gap: 20px; }
.form-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.form-field { display: flex; flex-direction: column; }
.form-field-full { grid-column: 1 / -1; }
.form-field label {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--steel);
  margin-bottom: 8px;
}
.form-field input[type="text"],
.form-field input[type="email"],
.form-field input[type="tel"],
.form-field input[type="password"],
.form-field input[type="number"],
.form-field input[type="url"],
.form-field select,
.form-field textarea {
  padding: 12px 14px;
  background: #F5F7FA;
  border: 1px solid rgba(30, 72, 112, .18);
  color: var(--navy-deep);
  font-family: var(--font-body);
  font-size: 14px;
  border-radius: 4px;
  transition: border-color .2s, background .2s, box-shadow .2s;
  width: 100%;
}
.form-field input[type="file"] {
  padding: 10px 0;
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--navy-deep);
}
.form-field textarea { resize: vertical; min-height: 100px; }
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  background: var(--white);
  border-color: var(--steel);
  box-shadow: 0 0 0 3px rgba(30, 72, 112, .12);
}
.site-form .cta-btn {
  align-self: flex-start;
  border: none;
  cursor: pointer;
  padding: 14px 30px;
}

/* Flash messages */
.flash {
  padding: 14px 18px;
  border-radius: 4px;
  margin-bottom: 20px;
  font-size: 14px;
  font-weight: 500;
  border-left: 3px solid;
}
.flash-success { background: #E8F5EE; color: #1B5E3B; border-color: #33D17A; }
.flash-error   { background: #FBEAE9; color: #7A1F1B; border-color: #E74C3C; }
.flash-info    { background: #E8F0FA; color: #1E4870; border-color: #1E4870; }

/* ---------------------------------------------------------------------
   Responsive
   --------------------------------------------------------------------- */
@media (max-width: 1024px) {
  .service-detail { grid-template-columns: 60px 1fr; }
  .service-detail-image { grid-column: 1 / -1; }
  .contact-grid { grid-template-columns: 1fr; }
  .stats-band-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .stat-card-lg:nth-child(2) { border-right: none; }
}

@media (max-width: 720px) {
  .page-hero { padding: 160px 0 70px; }
  .about-split { grid-template-columns: 1fr; gap: 30px; }
  .mv-grid { grid-template-columns: 1fr; }
  .certs-grid { grid-template-columns: 1fr; }
  .service-detail { grid-template-columns: 1fr; padding: 26px; }
  .service-detail-number { font-size: 44px; }
  .job-card-body { grid-template-columns: 1fr; }
  .form-grid-2 { grid-template-columns: 1fr; }
  .contact-form-wrap, .apply-form-wrap { padding: 30px 24px; }
  .stats-band-grid { grid-template-columns: 1fr 1fr; }
  .stat-card-lg { border-right: none; border-bottom: 1px solid rgba(180, 186, 195, .15); padding-bottom: 20px; }
  .stat-card-lg:nth-last-child(-n+2) { border-bottom: none; }
}

/* =============================================================
   GET A QUOTE PAGE
   ============================================================= */
.quote-page-wrap { max-width: 900px; margin: 0 auto; }
.quote-intro { text-align: center; color: var(--gray-600); font-size: 15px; margin-bottom: 30px; }

.quote-section {
  background: #fff;
  border: 1px solid rgba(180, 186, 195, .3);
  border-radius: 8px;
  padding: 30px;
  margin-bottom: 24px;
  box-shadow: 0 1px 3px rgba(10, 36, 69, .04);
}
.quote-section h3 {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: 22px;
  color: var(--navy);
  margin: 0 0 20px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--navy);
  text-transform: uppercase;
  letter-spacing: .5px;
}

.quote-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}
.q-field { display: flex; flex-direction: column; }
.q-field-full { grid-column: 1 / -1; }
.q-field label {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .8px;
  color: var(--navy);
  margin-bottom: 8px;
}
.q-field .req { color: #C0392B; }
.q-field input,
.q-field select,
.q-field textarea {
  padding: 12px 14px;
  border: 1px solid rgba(180, 186, 195, .5);
  border-radius: 6px;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  color: var(--navy);
  background: #fff;
  transition: border-color .2s, box-shadow .2s;
}
.q-field input:focus,
.q-field select:focus,
.q-field textarea:focus {
  outline: none;
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(10, 36, 69, .08);
}
.q-field textarea { resize: vertical; min-height: 80px; font-family: 'Inter', sans-serif; }

.q-mode-toggle {
  display: flex;
  gap: 12px;
  margin-bottom: 24px;
}
.q-mode-option {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 20px;
  border: 2px solid rgba(180, 186, 195, .5);
  border-radius: 6px;
  cursor: pointer;
  font-weight: 600;
  color: var(--navy);
  transition: all .2s;
}
.q-mode-option:has(input:checked) {
  border-color: var(--navy);
  background: var(--navy);
  color: #fff;
}
.q-mode-option input { position: absolute; opacity: 0; pointer-events: none; }

.q-calc-box {
  margin-top: 20px;
  background: #f5f7fa;
  border: 1px dashed rgba(30, 72, 112, .3);
  border-radius: 6px;
  padding: 16px 20px;
}
.q-calc-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--gray-600);
}
.q-calc-item strong {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 22px;
  color: var(--navy);
  font-weight: 800;
}

.quote-submit-row {
  text-align: center;
  padding: 30px 0 20px;
}
.quote-submit-row .btn-primary { display: inline-flex; align-items: center; gap: 10px; }
.btn-lg {
  padding: 16px 40px;
  font-size: 15px;
  letter-spacing: 1px;
}
.quote-privacy-note {
  margin-top: 16px;
  font-size: 12px;
  color: var(--gray-600);
}

.form-success {
  background: #E8F5E9;
  border: 1px solid #4CAF50;
  color: #1B5E20;
  padding: 16px 20px;
  border-radius: 6px;
  margin-bottom: 24px;
  font-size: 15px;
}
.form-error {
  background: #FDECEA;
  border: 1px solid #E74C3C;
  color: #922B21;
  padding: 16px 20px;
  border-radius: 6px;
  margin-bottom: 24px;
  font-size: 15px;
}

@media (max-width: 720px) {
  .quote-grid { grid-template-columns: 1fr; }
  .quote-section { padding: 22px; }
  .q-mode-toggle { flex-direction: column; }
}

/* Years of experience badge (About page) */
.years-badge-wrap { text-align: center; padding: 20px 0; }
.years-badge {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 40px 60px;
  background: linear-gradient(135deg, var(--navy), var(--steel));
  border-radius: 100px;
  color: #fff;
  box-shadow: 0 10px 30px rgba(10, 36, 69, .25);
  position: relative;
}
.years-badge::before {
  content: '';
  position: absolute;
  inset: 4px;
  border: 2px solid rgba(224, 228, 233, .3);
  border-radius: 96px;
  pointer-events: none;
}
.years-number {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 72px;
  font-weight: 900;
  line-height: 1;
  color: #E0E4E9;
  letter-spacing: -1px;
}
.years-label {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 18px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: #B4BAC3;
}

/* 3-column Vision/Mission/Values grid */
.mv-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

/* Brief history block */
.history-block { text-align: center; max-width: 800px; margin: 0 auto; }
.history-block h2 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 42px;
  font-weight: 800;
  color: var(--navy);
  margin: 8px 0 20px;
  letter-spacing: -.5px;
}
.history-text {
  color: var(--gray-600);
  font-size: 16px;
  line-height: 1.7;
  font-style: italic;
}

@media (max-width: 900px) {
  .mv-grid-3 { grid-template-columns: 1fr; }
  .years-badge { padding: 30px 40px; }
  .years-number { font-size: 56px; }
}

/* Google Maps embed on contact page */
.contact-map { position: relative; border-radius: 8px; overflow: hidden; margin-top: 20px; box-shadow: 0 2px 8px rgba(10, 36, 69, .08); }
.contact-map iframe { display: block; border-radius: 8px; }
.map-open-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 10px;
  padding: 8px 14px;
  background: var(--navy);
  color: #fff;
  border-radius: 4px;
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .5px;
  transition: background .2s;
}
.map-open-link:hover { background: var(--steel); }

/* =============================================================
   NAV DROPDOWN — Services menu
   Uses high specificity (.nav .nav-dropdown-*) and !important to
   override inherited .nav a styles from style.css (padding, uppercase,
   text-shadow, ::after underline, etc.)
   ============================================================= */

/* Dropdown wrapper — sits as a flex child of .nav */
.nav .nav-dropdown {
  position: relative;
  display: inline-flex;
  align-items: center;
}

/* The clickable "Services" label — keeps .nav a base styling but adds caret */
.nav .nav-dropdown-toggle {
  display: inline-flex !important;
  align-items: center;
  gap: 6px;
  cursor: pointer;
}
.nav .nav-dropdown-caret {
  transition: transform .25s ease;
  flex-shrink: 0;
}
.nav .nav-dropdown:hover .nav-dropdown-caret,
.nav .nav-dropdown.open .nav-dropdown-caret {
  transform: rotate(-180deg);
}

/* THE DROPDOWN MENU — hidden by default, positioned below the toggle */
.nav .nav-dropdown-menu {
  display: none !important;             /* HIDE BY DEFAULT — hard reset */
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  margin-top: 8px;
  min-width: 340px;
  max-width: 380px;
  background: #ffffff;
  border: 1px solid rgba(180, 186, 195, .35);
  border-radius: 10px;
  box-shadow: 0 16px 44px rgba(10, 36, 69, .22);
  padding: 10px;
  z-index: 500;
  flex-direction: column;
  gap: 2px;
}

/* Show on hover of parent OR when .open class present (mobile) */
.nav .nav-dropdown:hover > .nav-dropdown-menu,
.nav .nav-dropdown:focus-within > .nav-dropdown-menu,
.nav .nav-dropdown.open > .nav-dropdown-menu {
  display: flex !important;
}

/* DEFENSIVE RESET — override every .nav a inheritance for dropdown items */
.nav .nav-dropdown-menu a,
.nav .nav-dropdown-menu a:hover,
.nav .nav-dropdown-menu a.active {
  display: block !important;
  padding: 12px 14px !important;
  color: var(--navy) !important;
  font-family: 'Inter', sans-serif !important;
  font-weight: 400 !important;
  font-size: 13px !important;
  text-transform: none !important;
  letter-spacing: normal !important;
  text-shadow: none !important;
  text-decoration: none !important;
  border-radius: 6px;
  border-left: 3px solid transparent;
  transition: background .18s, border-left-color .18s, color .18s;
  position: relative;
  line-height: 1.4;
}

/* Kill the red underline that .nav a::after adds */
.nav .nav-dropdown-menu a::after,
.nav .nav-dropdown-menu a:hover::after {
  content: none !important;
  display: none !important;
  background: transparent !important;
  transform: none !important;
}

/* Item internals — strong (title) + span (description) */
.nav .nav-dropdown-menu a strong {
  display: block;
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: .5px;
  text-transform: uppercase;
  color: var(--navy);
  line-height: 1.2;
  margin-bottom: 3px;
  text-shadow: none;
}
.nav .nav-dropdown-menu a span {
  display: block;
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-size: 12px;
  color: #64748B;
  line-height: 1.45;
  text-transform: none;
  letter-spacing: 0;
  text-shadow: none;
}

/* Hover state */
.nav .nav-dropdown-menu a:hover {
  background: rgba(30, 72, 112, .06) !important;
  border-left-color: var(--navy);
}
.nav .nav-dropdown-menu a:hover strong { color: var(--steel); }

/* "All Services" top item — subtle highlight */
.nav .nav-dropdown-menu a.nav-dropdown-item-all {
  background: rgba(10, 36, 69, .04) !important;
  border-bottom: 1px solid rgba(180, 186, 195, .3);
  margin-bottom: 6px;
  padding-bottom: 12px !important;
}

/* Also handle the scrolled state — dropdown menu items always navy on white */
.site-top.scrolled .nav .nav-dropdown-menu a,
.site-top.scrolled .nav .nav-dropdown-menu a strong {
  color: var(--navy) !important;
  text-shadow: none !important;
}
.site-top.scrolled .nav .nav-dropdown-menu a span { color: #64748B !important; }

/* Mobile — dropdown collapses into the nav flow when menu is open */
@media (max-width: 900px) {
  .nav .nav-dropdown-menu {
    position: static !important;
    transform: none !important;
    margin-top: 4px;
    min-width: auto;
    max-width: none;
    box-shadow: none;
    border: none;
    border-left: 2px solid rgba(180, 186, 195, .3);
    border-radius: 0;
    background: rgba(255, 255, 255, .04);
    padding: 4px 0 4px 8px;
  }
  .nav .nav-dropdown-menu a {
    padding: 10px 12px !important;
  }
}


/* =============================================================
   SERVICES OVERVIEW GRID (services.php)
   ============================================================= */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 40px;
}
.svc-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid rgba(180, 186, 195, .3);
  border-radius: 10px;
  overflow: hidden;
  text-decoration: none;
  color: var(--navy);
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
  position: relative;
}
.svc-card:hover {
  transform: translateY(-6px);
  border-color: var(--navy);
  box-shadow: 0 18px 40px rgba(10, 36, 69, .18);
}
.svc-card-image {
  position: relative;
  height: 220px;
  overflow: hidden;
  background: linear-gradient(135deg, var(--navy), var(--steel));
}
.svc-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}
.svc-card:hover .svc-card-image img { transform: scale(1.08); }
.svc-card-image-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  color: rgba(224, 228, 233, .3);
}
.svc-card-number {
  position: absolute;
  top: 16px;
  right: 20px;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 42px;
  font-weight: 900;
  color: #fff;
  opacity: 0.85;
  text-shadow: 0 2px 8px rgba(0, 0, 0, .3);
  line-height: 1;
  letter-spacing: -1px;
}
.svc-card-body {
  padding: 26px 26px 30px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.svc-card-body h3 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 26px;
  font-weight: 700;
  color: var(--navy);
  margin: 0 0 12px;
  letter-spacing: -.3px;
}
.svc-card-body p {
  color: #6B7280;
  font-size: 14px;
  line-height: 1.6;
  margin: 0 0 20px;
  flex: 1;
}
.svc-card-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: 14px;
  color: var(--navy);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  padding: 8px 0;
  border-top: 1px solid rgba(180, 186, 195, .3);
  transition: gap .25s ease;
}
.svc-card:hover .svc-card-cta { gap: 14px; color: var(--steel); }

@media (max-width: 900px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); gap: 22px; }
  .svc-card-image { height: 180px; }
}
@media (max-width: 620px) {
  .services-grid { grid-template-columns: 1fr; }
}

/* =============================================================
   INDIVIDUAL SERVICE PAGE (service.php)
   ============================================================= */

/* Hero */
.svc-hero {
  position: relative;
  padding: 200px 0 100px;
  overflow: hidden;
}
.svc-hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  /* Brighter image — user wants photo more visible (less darkened) */
  filter: brightness(.85);
}
.svc-hero-bg-gradient {
  background: linear-gradient(135deg, var(--navy) 0%, var(--steel) 100%);
  filter: none;
}
.svc-hero-overlay {
  position: absolute;
  inset: 0;
  /* Lighter, more transparent overlay — image reads through, but text
     still has enough contrast against a bottom-weighted gradient. */
  background:
    linear-gradient(180deg, rgba(10, 36, 69, .35) 0%, rgba(10, 36, 69, .65) 100%),
    linear-gradient(135deg, rgba(10, 36, 69, .25) 0%, rgba(30, 72, 112, .2) 100%);
}
.svc-hero-content {
  position: relative;
  max-width: 780px;
  color: #fff;
}
.svc-hero-content h1 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 62px;
  font-weight: 900;
  color: #fff;
  margin: 8px 0 20px;
  letter-spacing: -1px;
  line-height: 1.05;
}
.svc-hero-sub {
  font-size: 18px;
  line-height: 1.7;
  color: rgba(224, 228, 233, .95);
  margin-bottom: 32px;
  max-width: 680px;
}

.svc-breadcrumbs {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: rgba(224, 228, 233, .8);
  margin-bottom: 24px;
  text-transform: uppercase;
  letter-spacing: .8px;
  font-weight: 500;
}
.svc-breadcrumbs a {
  color: rgba(224, 228, 233, .8);
  text-decoration: none;
  transition: color .2s;
}
.svc-breadcrumbs a:hover { color: #fff; }
.svc-breadcrumbs .current { color: #fff; font-weight: 600; }

.svc-hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.btn-outline-light {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  background: transparent;
  border: 2px solid rgba(224, 228, 233, .5);
  color: #fff;
  border-radius: 4px;
  text-decoration: none;
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 600;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  transition: all .25s ease;
}
.btn-outline-light:hover {
  background: #fff;
  color: var(--navy);
  border-color: #fff;
}

/* Content layout with sidebar */
.svc-content-section { padding: 80px 0; background: #fbfcfd; }
.svc-content-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 60px;
  align-items: start;
}
.svc-content-main {
  background: #fff;
  border: 1px solid rgba(180, 186, 195, .25);
  border-radius: 10px;
  padding: 50px;
  box-shadow: 0 2px 12px rgba(10, 36, 69, .04);
}
.svc-content-main p {
  color: #374151;
  font-size: 16px;
  line-height: 1.8;
  margin: 0 0 20px;
}
.svc-content-h2 {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 800;
  font-size: 32px;
  color: var(--navy);
  margin: 40px 0 20px;
  padding-bottom: 12px;
  border-bottom: 3px solid var(--navy);
  letter-spacing: -.3px;
}
.svc-content-h2:first-child { margin-top: 0; }

/* Sidebar */
.svc-sidebar { position: sticky; top: 100px; display: flex; flex-direction: column; gap: 20px; }
.svc-sidebar-image {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(10, 36, 69, .12);
}
.svc-sidebar-image img { display: block; width: 100%; height: auto; }
.svc-sidebar-card {
  background: #fff;
  border: 1px solid rgba(180, 186, 195, .25);
  border-radius: 8px;
  padding: 24px;
}
.svc-sidebar-eyebrow {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: #6B7280;
  margin-bottom: 8px;
}
.svc-sidebar-card h3 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 22px;
  font-weight: 700;
  color: var(--navy);
  margin: 0 0 8px;
  letter-spacing: -.2px;
}
.svc-sidebar-card p {
  color: #6B7280;
  font-size: 13px;
  line-height: 1.6;
  margin: 0 0 16px;
}
.svc-sidebar-cta {
  background: linear-gradient(135deg, var(--navy), var(--steel));
  color: #fff;
  border-color: var(--navy);
}
.svc-sidebar-cta .svc-sidebar-eyebrow { color: rgba(224, 228, 233, .8); }
.svc-sidebar-cta h3 { color: #fff; }
.svc-sidebar-cta p { color: rgba(224, 228, 233, .85); }
.btn-full { display: inline-flex; justify-content: center; width: 100%; }

.svc-sidebar-list { list-style: none; padding: 0; margin: 0; }
.svc-sidebar-list li { border-bottom: 1px solid rgba(180, 186, 195, .2); }
.svc-sidebar-list li:last-child { border-bottom: none; }
.svc-sidebar-list a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  color: var(--navy);
  text-decoration: none;
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 600;
  font-size: 15px;
  letter-spacing: .3px;
  transition: color .2s, padding-left .2s;
}
.svc-sidebar-list a:hover {
  color: var(--steel);
  padding-left: 6px;
}
.svc-sidebar-list svg { opacity: .5; transition: transform .2s, opacity .2s; }
.svc-sidebar-list a:hover svg { transform: translateX(4px); opacity: 1; }

.svc-sidebar-contact h3 { font-size: 24px; letter-spacing: 0; }
.svc-sidebar-email {
  display: block;
  color: var(--steel);
  text-decoration: none;
  font-size: 13px;
  margin-top: 4px;
}
.svc-sidebar-email:hover { text-decoration: underline; }

/* Certifications strip */
.svc-certs-strip {
  background: #f5f7fa;
  padding: 60px 0;
  border-top: 1px solid rgba(180, 186, 195, .2);
  border-bottom: 1px solid rgba(180, 186, 195, .2);
}
.svc-certs-inner {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 50px;
  align-items: center;
}
.svc-certs-label p {
  color: #6B7280;
  font-size: 14px;
  line-height: 1.6;
  margin: 8px 0 0;
}
.svc-certs-logos {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 30px;
  align-items: center;
}
.svc-cert-item {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
  filter: grayscale(1);
  opacity: 0.7;
  transition: all .3s;
}
.svc-cert-item:hover { filter: grayscale(0); opacity: 1; }
.svc-cert-item img { max-width: 100%; max-height: 60px; object-fit: contain; }
.svc-cert-textlogo {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 800;
  font-size: 16px;
  color: var(--navy);
  letter-spacing: 1px;
}

/* Bottom CTA */
.svc-cta-section { padding: 80px 0; background: #fff; }
.svc-cta-box {
  background: linear-gradient(135deg, var(--navy) 0%, var(--steel) 100%);
  border-radius: 12px;
  padding: 60px 50px;
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 40px;
  align-items: center;
  color: #fff;
  box-shadow: 0 20px 50px rgba(10, 36, 69, .25);
}
.svc-cta-text .eyebrow-line { color: rgba(224, 228, 233, .8); }
.svc-cta-text h2 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 40px;
  font-weight: 800;
  color: #fff;
  margin: 8px 0 12px;
  letter-spacing: -.3px;
  line-height: 1.15;
}
.svc-cta-text .accent { color: var(--chrome-light); }
.svc-cta-text p {
  color: rgba(224, 228, 233, .9);
  font-size: 15px;
  line-height: 1.7;
  margin: 0;
}
.svc-cta-actions { display: flex; flex-direction: column; gap: 12px; }
.svc-cta-actions .btn-primary,
.svc-cta-actions .btn-outline { justify-content: center; text-align: center; }
.svc-cta-actions .btn-outline {
  border-color: rgba(224, 228, 233, .5);
  color: #fff;
}
.svc-cta-actions .btn-outline:hover {
  background: #fff;
  color: var(--navy);
  border-color: #fff;
}

/* Responsive */
@media (max-width: 1024px) {
  .svc-content-layout { grid-template-columns: 1fr; }
  .svc-sidebar { position: static; }
  .svc-certs-inner { grid-template-columns: 1fr; text-align: center; }
  .svc-certs-logos { grid-template-columns: repeat(4, 1fr); }
  .svc-cta-box { grid-template-columns: 1fr; padding: 40px 30px; }
  .svc-cta-actions { flex-direction: row; }
}
@media (max-width: 720px) {
  .svc-hero { padding: 150px 0 70px; }
  .svc-hero-content h1 { font-size: 40px; }
  .svc-hero-sub { font-size: 15px; }
  .svc-content-main { padding: 30px 24px; }
  .svc-content-h2 { font-size: 24px; }
  .svc-certs-logos { grid-template-columns: repeat(3, 1fr); gap: 20px; }
  .svc-cta-text h2 { font-size: 28px; }
  .svc-cta-actions { flex-direction: column; }
}

/* =============================================================
   WORLD MAP — stylized dot-pattern SVG (self-hosted) with pins
   The SVG is inlined by PHP so we can style its circles via CSS.
   Overrides the SVG's default silver dot color with brand blue.
   ============================================================= */
.world-map-canvas {
  position: relative;
  width: 100%;
  padding-top: 67.7%;                      /* SVG aspect ratio 1000×677 (cropped) */
  background: linear-gradient(180deg, #F5FAFF 0%, #E8F2FC 100%);
  border-radius: 12px;
  overflow: hidden;
  box-shadow:
    inset 0 0 0 1px rgba(30, 72, 112, .08),
    0 8px 32px rgba(10, 36, 69, .12);
}
.world-map-fallback {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #6B7280;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  letter-spacing: .3px;
}

/* The inline SVG map — positioned to fill the canvas */
.world-map-canvas > svg.world-map-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}
/* Continents-dot fallback: circles = blue */
.world-map-canvas > svg.world-map-svg circle {
  fill: #4A9CE0 !important;
  fill-opacity: 1 !important;
}
/* REAL geographic world map: paths = blue continents with white borders (matches reference image) */
.world-map-canvas > svg.world-map-real path,
.world-map-canvas > svg.world-map-real polygon {
  fill: #4A9CE0 !important;
  stroke: #FFFFFF !important;
  stroke-width: 0.5 !important;
  stroke-linejoin: round !important;
  transition: fill .2s ease;
}
.world-map-canvas > svg.world-map-real path:hover,
.world-map-canvas > svg.world-map-real polygon:hover {
  fill: #2E7DC7 !important;
}

/* Pins — absolutely positioned over the SVG, always on top */
.world-map-pin {
  position: absolute;
  width: 22px;
  height: 22px;
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: 10;
}
.world-map-pin-ring,
.world-map-pin-dot {
  position: absolute;
  top: 50%;
  left: 50%;
  border-radius: 50%;
  transform: translate(-50%, -50%);
}
.world-map-pin-ring {
  width: 22px;
  height: 22px;
  background: rgba(10, 36, 69, .55);
  animation: worldPinPulse 2.2s ease-out infinite;
}
.world-map-pin-dot {
  width: 12px;
  height: 12px;
  background: #0A2445;                     /* deep navy — pops on blue map */
  border: 2px solid #FFFFFF;
  box-shadow:
    0 0 0 1px rgba(10, 36, 69, .3),
    0 2px 8px rgba(10, 36, 69, .5);
}
.world-map-pin-label {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(4px);
  background: #0A2445;
  color: #FFFFFF;
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 600;
  font-size: 11px;
  letter-spacing: .8px;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 3px;
  white-space: nowrap;
  opacity: 0;
  transition: opacity .18s ease;
  pointer-events: none;
}
.world-map-pin:hover .world-map-pin-label,
.world-map-pin:focus .world-map-pin-label {
  opacity: 1;
}
@keyframes worldPinPulse {
  0%   { transform: translate(-50%, -50%) scale(.5); opacity: .8; }
  100% { transform: translate(-50%, -50%) scale(2.6); opacity: 0; }
}

/* Style the world section for the new light-map look: soft-blue background, navy heading */
.world {
  background: linear-gradient(180deg, #F5FAFF 0%, #E8F2FC 100%) !important;
  color: var(--navy) !important;
  padding: 100px 0 !important;
}
.world::before, .world::after { display: none !important; }
.world h2, .world .world-header h2 {
  color: var(--navy) !important;
  text-shadow: none !important;
}
.world h2 .accent, .world .world-header h2 .accent {
  color: var(--steel) !important;
}
.world .lead {
  color: #6B7280 !important;
}
.world-header .eyebrow {
  color: var(--steel) !important;
}
.world-header .eyebrow span {
  background: var(--steel) !important;
}

/* World stats row below the map — was white text on dark, now needs to be visible on light */
.world .world-stats strong {
  color: var(--navy) !important;
  text-shadow: none !important;
  background: linear-gradient(135deg, var(--navy) 0%, var(--steel) 60%, #7DB4E8 100%);
  -webkit-background-clip: text;
          background-clip: text;
  -webkit-text-fill-color: transparent;
}
.world .world-stats small {
  color: #6B7280 !important;
  font-weight: 600;
}
.world .world-stats > div {
  padding: 20px 24px;
  background: #FFFFFF;
  border: 1px solid rgba(180, 186, 195, .3);
  border-radius: 12px;
  min-width: 160px;
  box-shadow: 0 4px 16px rgba(10, 36, 69, .06);
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.world .world-stats > div:hover {
  transform: translateY(-4px);
  border-color: rgba(10, 36, 69, .28);
  box-shadow: 0 12px 30px rgba(10, 36, 69, .14);
}

@media (max-width: 720px) {
  .world-map-canvas { padding-top: 55%; }
  .world-map-pin { width: 16px; height: 16px; }
  .world-map-pin-ring { width: 16px; height: 16px; }
  .world-map-pin-dot { width: 9px; height: 9px; }
  .world-map-pin-label { font-size: 10px; }
}

/* =============================================================
   INDUSTRIES MARQUEE — Beautiful auto-scrolling image cards
   Cards scroll horizontally in a seamless infinite loop.
   ============================================================= */
.industries {
  padding: 100px 0;
  background: #F5FAFF;
  position: relative;
  overflow: hidden;                        /* clip marquee overflow */
}

.ind-marquee {
  position: relative;
  margin-top: 60px;
  overflow: hidden;
  /* Soft edge fade so cards seem to enter/exit smoothly */
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 5%, #000 95%, transparent 100%);
          mask-image: linear-gradient(90deg, transparent 0, #000 5%, #000 95%, transparent 100%);
}

.ind-marquee-track {
  display: flex;
  gap: 28px;
  width: max-content;                      /* let track grow to fit all cards */
  animation: indScroll 45s linear infinite;
  will-change: transform;
}
.ind-marquee:hover .ind-marquee-track {
  animation-play-state: paused;            /* pause on hover so users can read */
}

/* Individual card — fixed width, keeps beautiful design */
.ind-card {
  flex: 0 0 340px;                         /* fixed card width, no shrink */
  background: #FFFFFF;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(180, 186, 195, .25);
  box-shadow: 0 4px 20px rgba(10, 36, 69, .06);
  transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease;
  display: flex;
  flex-direction: column;
}
.ind-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 44px rgba(10, 36, 69, .18);
  border-color: rgba(10, 36, 69, .3);
}

.ind-card-image {
  position: relative;
  height: 200px;
  overflow: hidden;
  background: linear-gradient(135deg, var(--navy) 0%, var(--steel) 60%, #7DB4E8 100%);
}
.ind-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .6s cubic-bezier(.2,.9,.35,1);
}
.ind-card:hover .ind-card-image img { transform: scale(1.08); }

.ind-card-icon {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, .55);
}
.ind-card-icon svg { width: 80px; height: 80px; }

.ind-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 45%, rgba(10, 36, 69, .55) 100%);
  pointer-events: none;
}

.ind-card-body {
  padding: 22px 24px 26px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.ind-card-body h3 {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: 22px;
  color: var(--navy);
  margin: 0;
  letter-spacing: -.2px;
  line-height: 1.15;
  text-transform: uppercase;
}
.ind-card-body p {
  color: #6B7280;
  font-size: 14px;
  line-height: 1.65;
  margin: 0;
}

/* Seamless infinite scroll — since we render the list twice,
   translating by exactly -50% loops cleanly back to the start. */
@keyframes indScroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

@media (max-width: 720px) {
  .ind-card { flex-basis: 280px; }
  .ind-card-image { height: 170px; }
  .industries { padding: 70px 0; }
  .ind-marquee-track { animation-duration: 35s; }
}


/* =============================================================
   STATS / MILESTONES — WHITE BACKGROUND redesign
   Overrides the previous dark stats section.
   ============================================================= */
.stats {
  background: #FFFFFF !important;
  padding: 100px 0 90px !important;
  position: relative;
  overflow: hidden;
}
/* Hide the decorative orbs that made the dark section busy */
.stats-orb { display: none !important; }

.stats .section-header .eyebrow { color: var(--steel); }
.stats .section-header h2 { color: var(--navy); }
.stats .section-header h2 .accent { color: var(--steel); }
.stats .section-header p, .stats .section-header .lead { color: #6B7280; }

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  margin-top: 60px;
}
.stats .stat {
  background: linear-gradient(180deg, #FFFFFF 0%, #F5FAFF 100%);
  border: 1px solid rgba(180, 186, 195, .3);
  border-radius: 14px;
  padding: 40px 26px 34px;
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease;
}
.stats .stat::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--navy) 0%, var(--steel) 50%, #7DB4E8 100%);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .5s cubic-bezier(.2,.9,.35,1);
}
.stats .stat:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(10, 36, 69, .13);
  border-color: rgba(10, 36, 69, .28);
}
.stats .stat:hover::before { transform: scaleX(1); }

.stats .stat-icon {
  width: 62px;
  height: 62px;
  margin: 0 auto 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--navy) 0%, var(--steel) 100%);
  color: #FFFFFF;
  box-shadow: 0 8px 22px rgba(10, 36, 69, .28);
  transition: transform .35s ease;
}
.stats .stat:hover .stat-icon { transform: scale(1.08) rotate(-4deg); }
.stats .stat-icon svg { width: 28px; height: 28px; stroke: currentColor; }

.stats .stat-value {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 800;
  font-size: 56px;
  line-height: 1;
  color: var(--navy);
  letter-spacing: -1.5px;
  margin-bottom: 10px;
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 2px;
}
.stats .stat-value .counter { color: var(--navy); }
.stats .stat-value .suffix { color: var(--steel); font-size: 40px; }

.stats .stat-label {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: #6B7280;
}

/* Kill the old red/gold accent-classes and underline decoration on the new white theme */
.stats .stat.stat-gold,
.stats .stat.stat-red { background: linear-gradient(180deg, #FFFFFF 0%, #F5FAFF 100%); }
.stats .stat-underline { display: none; }

@media (max-width: 900px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stats .stat-value { font-size: 44px; }
  .stats .stat-value .suffix { font-size: 32px; }
}
@media (max-width: 480px) {
  .stats-grid { grid-template-columns: 1fr; }
}

/* Service page sidebar — email-only contact (phone removed).
   The sidebar card has a WHITE background, so email must be dark. */
.svc-sidebar-email-lg {
  display: block;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 20px;
  font-weight: 700;
  color: var(--navy) !important;      /* Navy — visible on white bg */
  text-decoration: none;
  letter-spacing: .3px;
  word-break: break-all;
  transition: color .2s;
  line-height: 1.3;
  margin-top: 4px;
}
.svc-sidebar-email-lg:hover {
  color: var(--steel) !important;
  text-decoration: underline;
}
.svc-sidebar-contact-note {
  margin: 10px 0 0;
  font-size: 12px;
  color: #64748B;                     /* Medium gray — readable on white */
  line-height: 1.5;
}

/* =============================================================
   QUOTE PAGE — Cargo Type radios + Route mode hint + Other port
   ============================================================= */
.q-cargo-type {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 8px;
}
.q-cargo-option {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 22px 16px;
  background: #FFFFFF;
  border: 2px solid rgba(180, 186, 195, .4);
  border-radius: 12px;
  cursor: pointer;
  transition: transform .2s ease, border-color .2s ease, box-shadow .25s ease, background .2s ease;
  gap: 6px;
}
.q-cargo-option:hover {
  border-color: var(--steel);
  transform: translateY(-3px);
  box-shadow: 0 8px 22px rgba(10, 36, 69, .1);
}
.q-cargo-option input[type="radio"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
  pointer-events: none;
}
.q-cargo-option:has(input:checked) {
  border-color: var(--navy);
  background: linear-gradient(180deg, #F5FAFF 0%, #E8F2FC 100%);
  box-shadow: 0 8px 22px rgba(10, 36, 69, .16);
}
.q-cargo-icon {
  font-size: 32px;
  line-height: 1;
  margin-bottom: 4px;
}
.q-cargo-label {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: 18px;
  color: var(--navy);
  letter-spacing: .3px;
  text-transform: uppercase;
}
.q-cargo-desc {
  font-size: 12px;
  color: #6B7280;
  line-height: 1.5;
}

.q-mode-hint {
  font-size: 13px;
  font-weight: 500;
  color: var(--steel);
  margin-left: 8px;
  letter-spacing: 0;
  text-transform: none;
}

/* "Other port" text field appears under the port dropdown */
.q-port-other {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid rgba(180, 186, 195, .5);
  border-radius: 6px;
  font-family: inherit;
  font-size: 14px;
  color: var(--navy);
  background: #FFFFFF;
  transition: border-color .2s;
}
.q-port-other:focus {
  outline: none;
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(30, 72, 112, .12);
}

@media (max-width: 720px) {
  .q-cargo-type { grid-template-columns: 1fr; }
}

/* =============================================================
   QUOTE PAGE HERO — logistics image spans full banner as background
   ============================================================= */
.quote-hero-with-logo .page-hero-bg {
  /* Ship / truck / airplane image as the default banner background.
     If admin uploads a hero image via the CMS, the inline
     style="background-image: url(...)" on this element overrides
     this rule automatically. */
  background-image: url('../images/quote-hero-bg.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.quote-hero-with-logo .page-hero-overlay {
  /* Darker gradient overlay so the white "REQUEST A QUOTE" heading
     remains highly readable over the imagery below. */
  background:
    linear-gradient(90deg, rgba(10, 36, 69, .85) 0%, rgba(10, 36, 69, .55) 60%, rgba(10, 36, 69, .55) 100%),
    linear-gradient(180deg, rgba(10, 36, 69, .35) 0%, rgba(10, 36, 69, .55) 100%);
}

.quote-hero-content-with-logo {
  position: relative;
}
.quote-hero-text {
  position: relative;
  z-index: 2;
  max-width: 650px;
}
/* Hide the old logo watermark element now that we're using the image bg */
.quote-hero-mark { display: none; }

.page-hero .container { position: relative; z-index: 2; }

/* =============================================================
   CERTIFICATIONS HERO — decorative motif when no admin image set
   ============================================================= */
.page-hero-certifications { position: relative; overflow: hidden; }
.cert-hero-motif {
  position: absolute;
  right: -40px;
  top: 50%;
  transform: translateY(-50%) rotate(-8deg);
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  max-width: 55%;
  opacity: .18;
  pointer-events: none;
  z-index: 1;
}
.cert-hero-motif-logo {
  width: 120px; height: 120px;
  background: rgba(255,255,255,.9);
  border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  padding: 14px;
  box-shadow: 0 10px 30px rgba(0,0,0,.15);
}
.cert-hero-motif-logo img {
  max-width: 100%; max-height: 100%;
  width: auto; height: auto;
  object-fit: contain;
  filter: grayscale(0.2);
}
.page-hero-certifications .page-hero-content { position: relative; z-index: 2; }

@media (max-width: 900px) {
  .cert-hero-motif { display: none; }
}

/* =============================================================
   QUOTE PAGE — Sea sub-mode (LCL / FCL) toggle
   ============================================================= */
.q-submode-toggle {
  margin-top: 12px;
  margin-bottom: 20px;
  background: rgba(78, 161, 255, .06);
  padding: 4px;
  border-radius: 10px;
  border: 1px dashed rgba(78, 161, 255, .3);
}
.q-submode-toggle .q-mode-option {
  padding: 12px 20px;
  font-size: 15px;
}
.q-submode-toggle .q-mode-option small {
  display: block;
  font-size: 11px;
  font-weight: 400;
  opacity: .75;
  margin-top: 2px;
  letter-spacing: 0;
  text-transform: none;
}

/* FCL container fields — allow the container-type dropdown to span full width */
.q-field-wide { grid-column: 1 / -1; }
@media (max-width: 720px) {
  .q-field-wide { grid-column: auto; }
}

/* =============================================================
   CONTACT US - "Connect With The Right Specialist" section
   ============================================================= */
.contact-specialists {
  padding: 80px 0;
}
.specialists-head {
  text-align: center;
  max-width: 780px;
  margin: 0 auto 50px;
}
.specialists-head h2 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.15;
  color: var(--navy-deep);
  text-transform: uppercase;
  letter-spacing: -0.5px;
  margin: 12px 0 16px;
}
.specialists-sub {
  font-size: 16px;
  line-height: 1.7;
  color: var(--gray-500);
}
.specialists-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 22px;
  max-width: 1180px;
  margin: 0 auto;
}
.specialist-card {
  background: #fff;
  border: 1px solid rgba(10,36,69,.08);
  border-radius: 12px;
  padding: 28px 26px;
  box-shadow: 0 4px 14px rgba(10,36,69,.05);
  transition: transform .3s ease, box-shadow .3s ease;
  border-left: 4px solid var(--navy);
}
.specialist-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 24px rgba(10,36,69,.12);
  border-left-color: #7db6ff;
}
.specialist-service {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 13px;
  letter-spacing: 2px;
  color: #7db6ff;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.specialist-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 20px;
  color: var(--navy-deep);
  margin-bottom: 8px;
  line-height: 1.25;
}
.specialist-email {
  display: inline-block;
  font-size: 14px;
  color: var(--gray-500);
  text-decoration: none;
  word-break: break-word;
  transition: color .2s ease;
}
.specialist-email:hover { color: var(--navy); }

/* =============================================================
   ABOUT US - "Our Commitments" section
   ============================================================= */
.commitments-section { padding: 80px 0; }
.commitments-head {
  text-align: center;
  max-width: 780px;
  margin: 0 auto 55px;
}
.commitments-head h2 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.15;
  color: var(--navy-deep);
  text-transform: uppercase;
  letter-spacing: -0.5px;
  margin: 12px 0 16px;
}
.commitments-sub {
  font-size: 16px;
  line-height: 1.7;
  color: var(--gray-500);
}
.commitments-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 22px;
  max-width: 1180px;
  margin: 0 auto 50px;
}
.commitment-card {
  background: #fff;
  border: 1px solid rgba(10,36,69,.08);
  border-radius: 14px;
  padding: 32px 28px;
  box-shadow: 0 4px 14px rgba(10,36,69,.05);
  transition: transform .3s ease, box-shadow .3s ease;
  border-left: 4px solid var(--navy);
  position: relative;
  overflow: hidden;
}
.commitment-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(10,36,69,.14);
  border-left-color: #7db6ff;
}
.commitment-num {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 44px;
  line-height: 1;
  color: #7db6ff;
  opacity: .35;
  margin-bottom: 12px;
}
.commitment-body h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 19px;
  color: var(--navy-deep);
  margin: 0 0 12px;
  line-height: 1.3;
}
.commitment-body p {
  font-size: 14.5px;
  line-height: 1.65;
  color: var(--gray-500);
  margin: 0;
}
.commitments-cta {
  text-align: center;
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}
.commitments-cta .btn-primary,
.commitments-cta .btn-secondary {
  padding: 14px 32px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  border-radius: 40px;
  text-decoration: none;
  transition: transform .2s ease, box-shadow .2s ease;
  display: inline-block;
}
.commitments-cta .btn-primary {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-deep) 100%);
  color: #fff;
  border: 1px solid transparent;
  box-shadow: 0 6px 18px rgba(10,36,69,.25);
}
.commitments-cta .btn-secondary {
  background: transparent;
  color: var(--navy-deep);
  border: 1.5px solid var(--navy);
}
.commitments-cta .btn-primary:hover,
.commitments-cta .btn-secondary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(10,36,69,.3);
}

/* =============================================================
   CBM + VOLUME WEIGHT CALCULATOR MODALS
   Uses the shared .tool-modal wrapper styling; these rules just
   layout the field grid and result panel.
   ============================================================= */
.calc-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin: 18px 0 22px;
}
.calc-field-wide { grid-column: 1 / -1; }
.calc-field label {
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--gray-500);
  margin-bottom: 6px;
}
.calc-field input,
.calc-field select {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid rgba(10,36,69,.15);
  border-radius: 8px;
  font-size: 15px;
  font-family: var(--font-body);
  color: var(--navy-deep);
  background: #fff;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.calc-field input:focus,
.calc-field select:focus {
  outline: none;
  border-color: #7db6ff;
  box-shadow: 0 0 0 3px rgba(125,182,255,.15);
}
.calc-result {
  background: linear-gradient(135deg, #f5f7fa 0%, #eaeef3 100%);
  border: 1px solid rgba(10,36,69,.1);
  border-radius: 10px;
  padding: 20px 22px;
  margin-bottom: 12px;
}
.calc-result-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding: 4px 0;
}
.calc-result-row + .calc-result-row {
  border-top: 1px dashed rgba(10,36,69,.15);
  margin-top: 8px;
  padding-top: 12px;
}
.calc-result-label {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--gray-500);
}
.calc-result-value {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 24px;
  color: var(--navy-deep);
  letter-spacing: -0.5px;
}
.calc-result-formula {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px dashed rgba(10,36,69,.15);
  font-size: 12px;
  color: var(--gray-500);
  font-family: 'Courier New', monospace;
  letter-spacing: 0.5px;
  text-align: center;
}
@media (max-width: 540px) {
  .calc-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .calc-field-wide { grid-column: 1 / -1; }
  .calc-result-value { font-size: 20px; }
}

/* =============================================================
   ABOUT US - "Our Guiding Principles" (Vision / Mission / Values)
   Premium themed pointer cards with icons, accent artwork and CTA.
   Placed above "Our Commitments" per FINAL_WEB_CHANGES brief.
   ============================================================= */
.principles-section {
  padding: 80px 0;
  position: relative;
  background: linear-gradient(180deg, #f5f7fa 0%, #eef2f7 100%);
  overflow: hidden;
}
.principles-section::before {
  content: '';
  position: absolute;
  top: -100px;
  left: -80px;
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, rgba(125,182,255,0.18) 0%, transparent 65%);
  pointer-events: none;
  z-index: 0;
}
.principles-section::after {
  content: '';
  position: absolute;
  bottom: -120px;
  right: -100px;
  width: 380px;
  height: 380px;
  background: radial-gradient(circle, rgba(10,36,69,0.10) 0%, transparent 60%);
  pointer-events: none;
  z-index: 0;
}
.principles-section .container { position: relative; z-index: 1; }
.principles-head {
  text-align: center;
  max-width: 780px;
  margin: 0 auto 55px;
}
.principles-head h2 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.15;
  color: var(--navy-deep);
  text-transform: uppercase;
  letter-spacing: -0.5px;
  margin: 12px 0 16px;
}
.principles-sub {
  font-size: 16px;
  line-height: 1.7;
  color: var(--gray-500);
}
.principles-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  max-width: 1180px;
  margin: 0 auto 50px;
}
.principle-card {
  background: #fff;
  border: 1px solid rgba(10,36,69,.08);
  border-radius: 16px;
  padding: 34px 30px 30px;
  box-shadow: 0 6px 22px rgba(10,36,69,.06);
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.principle-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 5px;
  background: linear-gradient(90deg, var(--navy) 0%, #7db6ff 100%);
}
.principle-vision::before  { background: linear-gradient(90deg, #0A2445 0%, #4E7FB8 100%); }
.principle-mission::before { background: linear-gradient(90deg, #14355B 0%, #7db6ff 100%); }
.principle-values::before  { background: linear-gradient(90deg, #1E4870 0%, #B9D5F5 100%); }
.principle-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 36px rgba(10,36,69,.16);
  border-color: rgba(125,182,255,.4);
}
.principle-icon {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-deep) 100%);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: inset 0 -3px 8px rgba(0,0,0,.2), 0 8px 20px rgba(10,36,69,.25);
}
.principle-icon svg { width: 30px; height: 30px; }
.principle-badge {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 12px;
  letter-spacing: 2.5px;
  color: #7db6ff;
  text-transform: uppercase;
}
.principle-card h3 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 26px;
  color: var(--navy-deep);
  margin: 0;
  line-height: 1.2;
  text-transform: uppercase;
  letter-spacing: -0.3px;
}
.principle-card p {
  font-size: 14.5px;
  line-height: 1.7;
  color: var(--gray-500);
  margin: 0;
}
.principles-cta {
  text-align: center;
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}
.principles-cta .btn-primary,
.principles-cta .btn-secondary {
  padding: 14px 32px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  border-radius: 40px;
  text-decoration: none;
  transition: transform .2s ease, box-shadow .2s ease;
  display: inline-block;
}
.principles-cta .btn-primary {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-deep) 100%);
  color: #fff;
  border: 1px solid transparent;
  box-shadow: 0 6px 18px rgba(10,36,69,.25);
}
.principles-cta .btn-secondary {
  background: transparent;
  color: var(--navy-deep);
  border: 1.5px solid var(--navy);
}
.principles-cta .btn-primary:hover,
.principles-cta .btn-secondary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(10,36,69,.3);
}
@media (max-width: 960px) {
  .principles-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .principle-values {
    grid-column: 1 / -1;
    max-width: 560px;
    justify-self: center;
  }
}
@media (max-width: 620px) {
  .principles-grid { grid-template-columns: 1fr; }
  .principle-values { max-width: none; }
  .principle-card { padding: 28px 22px; }
  .principle-card h3 { font-size: 22px; }
}

/* =============================================================
   FOOTER BOTTOM ROW - copyright left, "Developed by" right.
   Applied to both the shared includes/footer.php and the home
   page's own inline footer (index.php) via the .footer wrapper.
   ============================================================= */
.footer .footer-bottom {
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  flex-wrap: wrap;
  gap: 10px;
}
.footer .footer-credit-link {
  color: inherit;
  text-decoration: none;
  font-weight: 600;
  transition: color .2s ease;
  border-bottom: 1px dotted rgba(255,255,255,.35);
}
.footer .footer-credit-link:hover {
  color: #7db6ff;
  border-bottom-color: #7db6ff;
}
@media (max-width: 640px) {
  .footer .footer-bottom { justify-content: center !important; text-align: center; }
}

/* =============================================================
   ENHANCED SERVICE PAGES - fields added per FINAL Excel changes
   These style hooks are consumed by includes/service-enhanced-render.php
   for Air, Sea, Customs, Warehousing, DG and Cold Chain pages.
   ============================================================= */
/* Why Choose Riviera - lead paragraph above the hub (Excel items 4, 8).
   The .svcx-why section has a LIGHT background on the live site (soft
   blue/white gradient), so the intro text needs dark navy colour to
   stay readable. Uses the same tone as the heading + body copy. */
.svcx-why .svcx-why-intro {
  max-width: 960px;
  margin: 0 auto 34px;
  text-align: center;
  font-size: 15.5px;
  line-height: 1.75;
  color: var(--gray-500, #4a5b6f);
}
/* Approach section - small tagline heading above the main title (Excel item 9) */
.svcx-approach .svcx-approach-super {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: #7db6ff;
  margin: 6px 0 10px;
  padding-bottom: 8px;
  border-bottom: 1px dashed rgba(125,182,255,.35);
}
/* Extra route lanes shown as compact cards below the main route bar
   (Excel item 5 - Sea Freight adds Mundra->Durban vessel + Durban->Lusaka truck) */
.svcx-route-extras {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 18px;
}
.svcx-route-extra {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.12);
  border-left: 4px solid #7db6ff;
  border-radius: 10px;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 16px;
  transition: transform .3s ease, background .3s ease, border-left-color .3s ease;
}
.svcx-route-extra:hover {
  transform: translateY(-2px);
  background: rgba(255,255,255,.06);
  border-left-color: #b9d5f5;
}
.svcx-route-extra-sea  { border-left-color: #4e7fb8; }
.svcx-route-extra-road { border-left-color: #b8944e; }
.svcx-route-extra-icon {
  flex-shrink: 0;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: rgba(125,182,255,.15);
  color: #7db6ff;
  display: flex;
  align-items: center;
  justify-content: center;
}
.svcx-route-extra-body { flex: 1; min-width: 0; }
.svcx-route-extra-mode {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #7db6ff;
  margin-bottom: 6px;
}
.svcx-route-extra-line {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: nowrap;
}
.svcx-route-extra-from,
.svcx-route-extra-to {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.svcx-route-extra-to { text-align: right; margin-left: auto; }
.svcx-route-extra-line strong {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 16px;
  color: #fff;
  line-height: 1.15;
  white-space: nowrap;
}
.svcx-route-extra-line small {
  font-size: 12px;
  color: rgba(255,255,255,.55);
  margin-top: 2px;
}
.svcx-route-extra-arrow { color: rgba(255,255,255,.4); flex-shrink: 0; }
@media (max-width: 820px) {
  .svcx-route-extras { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .svcx-route-extra { padding: 14px 16px; gap: 12px; }
  .svcx-route-extra-icon { width: 38px; height: 38px; }
  .svcx-route-extra-line strong { font-size: 14px; }
}

/* =============================================================
   CONTACT SPECIALISTS - fine tweaks for 8-card layout
   Base .specialist-card / .specialists-grid styles are further up
   in this file. Rules below stack multiple emails cleanly for the
   department cards that have several addresses (Pricing has 4,
   Air/Sea Export have 2). Also breaks the .specialist-email onto
   its own line so each address is a distinct link.
   ============================================================= */
.specialist-card { display: flex; flex-direction: column; gap: 6px; }
.specialist-card .specialist-email {
  display: block;
  padding: 2px 0;
  border-bottom: 1px dotted rgba(10,36,69,.15);
}
.specialist-card .specialist-email + .specialist-email { margin-top: 2px; }
.specialist-card .specialist-email:hover { border-bottom-color: #7db6ff; }
/* =============================================================
   CAPTCHA - math challenge on public forms (contact / quote / career)
   Rendered by includes/functions.php::captcha_field().
   Styles the question row, the numeric input, the refresh button
   and a small help line. Matches the site's navy/steel palette so
   the challenge looks native rather than tacked on.
   ============================================================= */
.captcha-field {
  margin: 8px 0 20px;
}
.captcha-label {
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: var(--navy-deep);
  margin-bottom: 8px;
}
.captcha-required {
  color: #d9534f;
  margin-left: 3px;
}
.captcha-row {
  display: flex;
  align-items: stretch;
  gap: 10px;
  flex-wrap: wrap;
}
.captcha-question {
  flex: 0 0 auto;
  min-width: 150px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  background: linear-gradient(135deg, #0A2445 0%, #14355B 100%);
  color: #fff;
  border-radius: 8px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 17px;
  letter-spacing: 0.8px;
  user-select: none;
  /* Subtle noise pattern so bots can't OCR the text this way -
     the pattern lives on the background of the panel via the
     stroke shadow. Kept mild so humans read the question easily. */
  text-shadow: 0 1px 2px rgba(0,0,0,.35);
  box-shadow: inset 0 -2px 6px rgba(0,0,0,.25), 0 4px 10px rgba(10,36,69,.15);
}
.captcha-input {
  flex: 1 1 120px;
  min-width: 100px;
  padding: 12px 14px;
  border: 1.5px solid rgba(10,36,69,.18);
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
  color: var(--navy-deep);
  background: #fff;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.captcha-input:focus {
  outline: none;
  border-color: #7db6ff;
  box-shadow: 0 0 0 3px rgba(125,182,255,.2);
}
.captcha-refresh {
  flex: 0 0 auto;
  width: 46px;
  height: 46px;
  border-radius: 8px;
  border: 1.5px solid rgba(10,36,69,.18);
  background: #fff;
  color: var(--navy-deep);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform .2s ease, background .2s ease, border-color .2s ease, color .2s ease;
}
.captcha-refresh:hover {
  border-color: #7db6ff;
  color: #7db6ff;
  transform: rotate(-30deg);
}
.captcha-refresh.is-loading svg {
  animation: captcha-spin 0.7s linear infinite;
}
@keyframes captcha-spin {
  to { transform: rotate(360deg); }
}
.captcha-help {
  font-size: 12px;
  color: var(--gray-500);
  margin: 8px 0 0;
  line-height: 1.5;
}
@media (max-width: 480px) {
  .captcha-question { min-width: 120px; font-size: 15px; padding: 10px 14px; }
  .captcha-input    { padding: 10px 12px; }
  .captcha-refresh  { width: 42px; height: 42px; }
}
