/* Fonts are loaded via <link> in each page's <head> (preconnect + stylesheet).
   The old @import here created a render-blocking serial chain and has been removed. */

/*
  One Link Exim Solutions - Global Color Tokens & Typography
  Structural Rule: Primary (60%), Secondary (20%), CTA Orange (20%)
*/
:root {
  --color-primary: #0A2F54;       /* Deep Navy Blue - Trust, Authority, Foundation */
  --color-secondary: #04B6DA;     /* Vibrant Cyan/Teal Blue - Accents, Borders, Interaction */
  --color-secondary-light: #3DD6F2; /* Lighter cyan - accessible on navy (7.8:1) */
  --color-cta: #E3831F;           /* Warm Amber Orange - Strictly for Forms, CTA, Urgent Reminders */
  --color-cta-hover: #c76f15;

  --color-dark: #1E252D;          /* Neutral dark for text and background variants */
  --color-light: #F4F7FA;         /* Base page and block backgrounds */
  --color-white: #FFFFFF;
  --color-success: #2E7D32;
  --color-error: #C62828;

  --color-muted: #4B5563;         /* Accessible muted text on white (7.5:1) */
  --color-link: #0E7490;          /* Teal link color for light surfaces — WCAG AA (5.3:1) */
  --color-border: #E2E8F0;        /* Hairline borders on light surfaces */
  --color-navy-800: #123A63;      /* Lifted navy for gradients */

  --font-primary: 'Inter', 'Segoe UI', -apple-system, BlinkMacSystemFont, Roboto, sans-serif;
  --font-heading: 'Poppins', 'Segoe UI', -apple-system, BlinkMacSystemFont, Roboto, sans-serif;

  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;

  /* Motion system — single source of truth for easing + durations */
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in-out: cubic-bezier(0.4, 0, 0.2, 1);
  --dur-micro: 0.2s;
  --dur-fast: 0.3s;
  --dur-med: 0.5s;
  --dur-ambient: 8s;

  /* Section rhythm — uniform vertical spacing for every full-width band */
  --section-space: 4.5rem;

  --transition-smooth: all var(--dur-fast) var(--ease-out);
  --shadow-subtle: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
  --shadow-medium: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -2px rgba(0, 0, 0, 0.04);
  --shadow-lg: 0 24px 48px -12px rgba(10, 47, 84, 0.18);
}

/* Base Resets */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-primary);
  background-color: var(--color-light);
  color: var(--color-dark);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

/* Headings Hierarchy */
h1, h2, h3, h4, h5, h6 {
  color: var(--color-primary);
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.25;
}
h1 { font-size: 2.5rem; margin-bottom: 1.5rem; }
h2 { font-size: 1.85rem; margin-bottom: 1.25rem; }
h2.section-title { border-bottom: 2px solid var(--color-secondary); padding-bottom: 0.5rem; }
h3 { font-size: 1.35rem; margin-bottom: 1rem; }

a {
  color: var(--color-link);
  text-decoration: none;
  transition: var(--transition-smooth);
}
a:hover {
  color: var(--color-primary);
}

/* Primary Layout Blocks */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Utility Header & Footer Layout */
header {
  background-color: var(--color-primary);
  padding: 1rem 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 3px solid var(--color-secondary);
}
header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.brand-title {
  color: var(--color-white);
  font-size: 1.5rem;
  font-weight: 800;
}
.brand-title span {
  color: var(--color-secondary);
}

/* Brand Logo - White plate on navy header for logos with white/light backgrounds */
.brand-logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  background: #FFFFFF;
  padding: 0.35rem 0.7rem;
  border-radius: 6px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.18);
  transition: box-shadow 0.3s ease;
}
.brand-logo:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}
.brand-logo img {
  height: 42px;
  width: auto;
  max-width: 220px;
  display: block;
}
.brand-logo-fallback {
  color: var(--color-primary);
  font-size: 1.5rem;
  font-weight: 800;
}
.brand-logo-fallback span {
  color: var(--color-secondary);
}
@media (max-width: 860px) {
  .brand-logo {
    padding: 0.25rem 0.5rem;
  }
  .brand-logo img {
    height: 34px;
    max-width: 150px;
  }
}

/* Page Hero Icons */
.service-hero-icon {
  width: 64px;
  height: 64px;
  margin-bottom: 1rem;
  color: var(--color-secondary);
}
.service-card-icon {
 width: 36px;
 height: 36px;
 padding: 0.65rem;
 margin-bottom: 1rem;
 color: var(--color-secondary);
 background: rgba(4, 182, 218, 0.1);
 border: 1px solid rgba(4, 182, 218, 0.25);
 border-radius: 10px;
 box-sizing: content-box;
 transition: background-color 0.25s ease, color 0.25s ease, transform 0.25s ease;
 }
.service-card:hover .service-card-icon {
 background: var(--color-secondary);
 color: var(--color-white);
 transform: scale(1.05);
 }

/* Note: Removed global user-select: none to improve accessibility */
input, textarea, select {
  user-select: text;
}

/* Skip to Content Link (Accessibility) */
.skip-link {
  position: absolute;
  top: -40px;
  left: 0;
  background: var(--color-secondary);
  color: var(--color-white);
  padding: 0.5rem 1rem;
  z-index: 10000;
  border-radius: 0 0 4px 0;
  font-weight: 600;
}
.skip-link:focus {
  top: 0;
}
.nav-menu {
  display: flex;
  gap: 1.5rem;
  list-style: none;
}
.nav-link {
  color: var(--color-white);
  font-weight: 500;
  font-size: 0.95rem;
}
.nav-link:hover, .nav-link.active {
  color: var(--color-secondary-light);
}

/* Footer Design */
footer {
  background-color: var(--color-primary);
  color: var(--color-white);
  padding: 3rem 0 0 0;
  margin-top: 4rem;
  border-top: 4px solid var(--color-secondary);
}
.footer-main {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 2.5rem;
  padding-bottom: 2.5rem;
}
footer h4 {
  color: var(--color-secondary);
  margin-bottom: 1rem;
  font-size: 1.05rem;
  letter-spacing: 0.02em;
}
footer p, footer li {
  font-size: 0.9rem;
  opacity: 0.85;
}
footer ul {
  list-style: none;
  padding: 0;
}
footer ul li {
  margin-bottom: 0.5rem;
}
footer a {
  color: var(--color-white);
  text-decoration: none;
}
footer a:hover {
  color: var(--color-secondary);
}
.footer-contact p {
  margin-bottom: 0.5rem;
}
.footer-cta-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(4, 182, 218, 0.12);
  border: 1px solid rgba(4, 182, 218, 0.35);
  color: var(--color-secondary);
  border-radius: 6px;
  padding: 0.55rem 0.85rem;
  font-size: 0.85rem;
  font-weight: 600;
  margin-top: 0.75rem;
  transition: var(--transition-smooth);
}
.footer-cta-badge:hover {
  background: var(--color-secondary);
  color: var(--color-white);
}
.footer-legal-notice {
  font-size: 0.8rem;
  opacity: 0.7;
  margin-bottom: 1rem;
}
.footer-legal-links {
  font-size: 0.85rem;
  margin-top: 0.5rem;
}
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding: 1.25rem 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}
.footer-copy {
  font-size: 0.8rem;
  opacity: 0.6;
  margin: 0;
}
.footer-credit {
  font-size: 0.8rem;
  opacity: 0.8;
  margin: 0;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}
.footer-credit a {
  color: var(--color-secondary);
  font-weight: 600;
}
.footer-credit a:hover {
  color: var(--color-white);
}
@media (max-width: 860px) {
  .footer-main {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }
}
@media (max-width: 560px) {
  .footer-main {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}

/* Button & Call to Action Components */
.btn-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: #C05614;
  color: var(--color-white) !important;
  font-weight: 700;
  padding: 0.75rem 2rem;
  min-height: 48px;
  border-radius: 6px;
  border: none;
  cursor: pointer;
  text-transform: uppercase;
  font-size: 0.95rem;
  transition: var(--transition-smooth);
  box-shadow: var(--shadow-subtle);
}
.btn-cta:hover {
  background-color: #A64E0C;
  transform: translateY(-2px);
  box-shadow: var(--shadow-medium);
}

/* General Form Elements */
.form-card {
  background: var(--color-white);
  padding: 2rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-medium);
  border-left: 4px solid var(--color-secondary);
}
.form-group {
  margin-bottom: 1.25rem;
  position: relative;
}
.form-label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.5rem;
  font-size: 0.85rem;
  color: var(--color-primary);
  text-transform: uppercase;
}
.form-input {
  width: 100%;
  padding: 0.8rem 1rem;
  min-height: 48px;
  border: 1px solid #D1D5DB;
  border-radius: 6px;
  font-size: 1rem;
  transition: var(--transition-smooth);
}
textarea.form-input {
  min-height: 120px;
}
.form-input:focus {
  outline: none;
  border-color: var(--color-secondary);
  box-shadow: 0 0 0 3px rgba(4, 182, 218, 0.15);
}

/* Voice Input Microphone Button Position Adjuster */
.voice-input-wrapper {
  position: relative;
}
.voice-input-wrapper .voice-mic-btn {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: var(--color-secondary);
  cursor: pointer;
  font-size: 1.2rem;
}

/* ============================================
   Responsive Navigation (Mobile Hamburger)
   Auto-injected by profile-engine.js
   ============================================ */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--color-white);
  font-size: 1.6rem;
  cursor: pointer;
  padding: 0.5rem;
  min-width: 44px;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  line-height: 1;
  border-radius: 4px;
  transition: var(--transition-smooth);
}
.nav-toggle:hover {
  color: var(--color-secondary);
}
.nav-toggle[aria-expanded="true"] .nav-toggle-icon {
  display: none;
}
.nav-toggle[aria-expanded="true"] .nav-toggle-icon-close {
  display: inline;
}
.nav-toggle-icon-close {
  display: none;
}

@media (max-width: 860px) {
  header .container {
    position: relative;
  }

  /* Reveal the hamburger toggle on mobile (injected by profile-engine.js).
     Without this the nav-menu collapses to max-height:0 and users on
     phones/tablets have no way to open the menu. */
  .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-left: auto;
    flex-shrink: 0;
  }

  .nav-menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: var(--color-primary);
    flex-direction: column;
    gap: 0;
    padding: 0.5rem 0;
    border-bottom: 3px solid var(--color-secondary);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out, padding 0.3s ease-out;
    z-index: 999;
  }
  .nav-menu.open {
    max-height: 400px;
  }
  .nav-menu li {
    width: 100%;
  }
  .nav-link {
    display: block;
    padding: 0.75rem 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }
  .nav-link:hover,
  .nav-link.active {
    background-color: rgba(4, 182, 218, 0.12);
  }
}

/* Keyboard focus visibility for accessibility */
a:focus-visible,
button:focus-visible,
.faq-question:focus-visible,
.nav-toggle:focus-visible {
  outline: 2px solid var(--color-secondary);
  outline-offset: 2px;
}

/* Smooth transitions on interactive elements (explicit properties — cheaper than `all`) */
a, button, input, textarea, select, .btn-cta, .form-card, .form-input {
  transition: color var(--dur-fast) var(--ease-out),
              background-color var(--dur-fast) var(--ease-out),
              border-color var(--dur-fast) var(--ease-out),
              box-shadow var(--dur-fast) var(--ease-out),
              transform var(--dur-fast) var(--ease-out);
}

/* Card 3D lift on hover */
.form-card,
[class*="card"]:not(.nav-menu) {
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.form-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 30px rgba(10, 47, 84, 0.12), 0 4px 8px rgba(10, 47, 84, 0.06);
}

/* CTA Button - hover glow + shine sweep */
.btn-cta {
  position: relative;
  overflow: hidden;
  background-image: linear-gradient(110deg, transparent 0%, rgba(255, 255, 255, 0.2) 50%, transparent 100%);
  background-size: 220% 100%;
  background-position: 100% 0;
}
.btn-cta:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 10px 22px rgba(227, 131, 31, 0.4);
  background-position: -20% 0;
}

/* WhatsApp-specific CTA — green base, navy text (4.9:1), site-consistent */
.btn-cta.btn-whatsapp {
  background-color: #117E3F;
}
.btn-cta.btn-whatsapp:hover {
  background-color: #0D6A34;
  box-shadow: 0 10px 22px rgba(37, 211, 102, 0.42);
}

/* Breadcrumb Band — standard site-wide pattern (Home / Section / Current) */
.breadcrumbs {
  background: #F8FAFC;
  border-bottom: 1px solid #E5E7EB;
  padding: 0.75rem 0;
  font-size: 0.85rem;
}
.breadcrumbs ol {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0;
  padding: 0;
}
.breadcrumbs li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #6B7280;
}
.breadcrumbs li:not(:last-child)::after {
  content: "/";
  color: #9CA3AF;
}
.breadcrumbs a {
  color: var(--color-primary);
  text-decoration: none;
}
.breadcrumbs a:hover {
  text-decoration: underline;
}
.breadcrumbs [aria-current="page"] {
  color: #4B5563;
  font-weight: 600;
}

/* Google Translate Widget — fixed at top-right, just below the sticky header */
#gtranslate-float {
  position: fixed;
  top: 100px;
  right: 12px;
  z-index: 998;
}
@media (max-width: 860px) {
  #gtranslate-float {
    top: 84px;
    right: 8px;
  }
}
.goog-te-gadget {
  font-family: inherit !important;
  font-size: 0 !important;
}
.goog-te-gadget .goog-te-combo,
#gtranslate-float select.goog-te-combo {
  margin: 0 !important;
  padding: 8px 10px !important;
  min-height: 44px !important;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(10, 47, 84, 0.88);
  color: #FFFFFF;
  font-size: 0.9rem !important;
  cursor: pointer;
}
.goog-te-combo option {
  color: #1E252D;
  background: #FFFFFF;
}

/* Language picker (custom dropdown driving the googtrans cookie; see js/language-picker.js).
   Google's own gadget markup is hidden but its element.js still loads so the cookie applies. */
#gtranslate-float .goog-te-gadget-simple,
#gtranslate-float .skiptranslate {
  display: none !important;
}
.lang-picker {
  position: relative;
  display: block;
}
.lang-btn {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  min-height: 40px;
  padding: 0.45rem 0.7rem;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(10, 47, 84, 0.88);
  color: #FFFFFF;
  font-family: inherit;
  font-size: 0.82rem;
  font-weight: 500;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  transition: background 0.2s ease;
}
.lang-btn:hover { background: rgba(18, 62, 107, 0.94); }
.lang-btn:focus-visible { outline: 2px solid #E3831F; outline-offset: 2px; }
.lang-caret { font-size: 0.6rem; opacity: 0.8; }
.lang-menu {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  margin: 0;
  padding: 0.3rem;
  list-style: none;
  min-width: 190px;
  max-height: 60vh;
  overflow-y: auto;
  background: #FFFFFF;
  border: 1px solid var(--color-border, #E5E7EB);
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
  z-index: 999;
}
.lang-menu button {
  display: block;
  width: 100%;
  padding: 0.55rem 0.7rem;
  border: 0;
  border-radius: 5px;
  background: none;
  color: var(--color-primary, #0A2F54);
  font-family: inherit;
  font-size: 0.85rem;
  text-align: left;
  cursor: pointer;
}
.lang-menu button:hover { background: rgba(227, 131, 31, 0.12); }
.lang-menu button:focus-visible { outline: 2px solid #E3831F; outline-offset: -2px; }
.lang-menu button[aria-selected="true"] {
  background: var(--color-primary, #0A2F54);
  color: #FFFFFF;
  font-weight: 600;
}
@media (max-width: 860px) {
  .lang-btn { min-height: 44px; }
  .lang-menu { min-width: 175px; }
}

.goog-te-banner-frame,
.goog-te-balloon-frame,
#goog-gt-tt,
/* Google Translate chrome (current + legacy class names): the ribbon iframe and
   its wrapper inject after <footer> as position:fixed, but a stylesheet race can
   leave them static — rendering a ~100px body-background band below the footer.
   The site ships its own language widget (#gtranslate-float), so hide that chrome.
   Scope .skiptranslate to body-level elements only: Google also puts the class on
   the widget's inner gadget div and its popup menu frame, which must stay visible. */
body > .skiptranslate:not(.goog-te-menu-frame),
.VIpgJd-ZVi9od-aZ2wEe-wOHMyf,
iframe.VIpgJd-ZVi9od-xl07Ob-OEVmcd,
.VIpgJd-yAWNEb-L7lbkb {
  display: none !important;
}
body {
  top: 0 !important;
  padding-bottom: 0 !important;
}
.goog-text-highlight {
  background-color: transparent !important;
  box-shadow: none !important;
}

/* WhatsApp Floating Action Button (shared) */
.wa-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9999;
  background: #25D366;
  color: #fff !important;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  text-decoration: none;
  transition: transform 0.3s ease;
}
.wa-float:hover {
  transform: scale(1.1);
}
@media (prefers-reduced-motion: reduce) {
  .wa-float, .wa-float:hover { transition: none; transform: none; }
}

/* Nav links - smooth hover with subtle lift */
.nav-link {
  position: relative;
  transition: color 0.25s ease;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-secondary);
  transition: width 0.25s ease;
}
.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

/* Inputs - hover tint + enhanced focus glow */
.form-input:hover {
  border-color: var(--color-secondary);
}
.form-input:focus {
  box-shadow: 0 0 0 4px rgba(4, 182, 218, 0.2), 0 4px 14px rgba(10, 47, 84, 0.08);
}
/* FAQ items - hover border + smooth transition */
.faq-item {
  transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}
.faq-item:hover {
  border-color: var(--color-secondary);
  box-shadow: 0 4px 14px rgba(4, 182, 218, 0.15);
  transform: translateY(-2px);
}
.faq-question {
  transition: color 0.25s ease;
}
.faq-question:hover {
  color: var(--color-secondary);
}
.faq-question::after {
  content: "+";
  font-size: 1.4rem;
  font-weight: 300;
  color: var(--color-cta);
  transition: transform 0.3s;
  flex-shrink: 0;
  margin-left: 1rem;
}
details.faq-item[open] .faq-question::after {
  content: "×";
  transform: rotate(0deg);
}

/* Header gradient accent border */
header {
  border-bottom: 3px solid transparent;
  background-image: linear-gradient(var(--color-primary), var(--color-primary)),
    linear-gradient(90deg, var(--color-primary), var(--color-secondary), var(--color-cta));
  background-origin: border-box;
  background-clip: padding-box, border-box;
}

/* Page content fade-in on load */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}
main {
  animation: fadeInUp 0.4s ease;
}

/* ============================================================
   v2 — Whole-site visual upgrade layer (all pages)
   ============================================================ */

/* WhatsApp float (round icon button): navy icon on brand green for contrast */
a[href^="https://wa.me"][style*="25D366"] {
  color: var(--color-primary) !important;
}
/* WhatsApp CTA (contact page): white text on deeper green for WCAG 4.5:1 */
.whatsapp-cta {
  background-color: #117E3F !important;
  color: #ffffff !important;
}
.whatsapp-cta:hover {
  background-color: #0D6A34 !important;
  color: #ffffff !important;
}

/* --- Print: never output the fixed WhatsApp float on printed pages --- */
@media print {
  a[style*="position:fixed"] { display: none !important; }
  .wa-float,
  .mobile-cta-bar,
  #gtranslate-float,
  #cookieBanner,
  #cookieSettingsBtn { display: none !important; }
}

/* ============================================
   Shared FAQ safety layer (site-wide)
   Per-page caps stay, but long answers scroll
   instead of being clipped mid-sentence.
   ============================================ */
.faq-item.active .faq-answer,
details.faq-item[open] .faq-answer,
.mini-faq .faq-item.active .faq-answer,
.mini-faq details[open] .faq-answer {
  overflow-y: auto;
  max-height: 500px;
  padding: 1.25rem;
  border-top-color: #E5E7EB;
}

/* --- Reduced motion: flatten all animation --- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  html.js [data-reveal] {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* --- Hero animation power switch (toggled by js/reveal.js when the hero
   scrolls out of view or the tab is hidden) --- */
html.hero-paused .hero-bg *,
html.hero-paused .hero-orb,
html.hero-paused .route-dot,
html.hero-paused .route-node,
html.hero-paused .hero-ship,
html.hero-paused .hero-plane,
html.hero-paused .hero-truck,
html.hero-paused .assistant-speech,
html.hero-paused .online-dot {
  animation-play-state: paused !important;
}

/* Drop the expensive backdrop blur on small/low-power screens */
@media (max-width: 767px) {
  .assistant-speech {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    background: rgba(10, 47, 84, 0.94);
  }
}

/* --- Scroll reveal (activated by js/reveal.js; progressive enhancement) --- */
html.js [data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.65s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: var(--reveal-delay, 0s);
  will-change: opacity, transform;
}
html.js [data-reveal].is-revealed {
  opacity: 1;
  transform: none;
  will-change: auto;
}

/* --- Section kicker (eyebrow label) --- */
.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-secondary);
  margin-bottom: 0.75rem;
}
.section-kicker::before {
  content: '';
  width: 26px;
  height: 2px;
  background: linear-gradient(90deg, var(--color-secondary), var(--color-cta));
  border-radius: 2px;
}
.section-header .section-kicker {
  justify-content: center;
}
.section-header .section-kicker::after {
  content: '';
  width: 26px;
  height: 2px;
  background: linear-gradient(90deg, var(--color-cta), var(--color-secondary));
  border-radius: 2px;
}

/* --- Shared page hero (tools hub, about, contact, 404) --- */
.page-hero {
  background: linear-gradient(135deg, var(--color-primary) 0%, #051E36 100%);
  color: var(--color-white);
  padding: 4rem 0 3rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  border-bottom: 4px solid var(--color-secondary);
}
.page-hero h1 { color: var(--color-white); }
.page-hero p { color: rgba(255, 255, 255, 0.82); font-size: 1.1rem; max-width: 620px; margin: 0 auto; }
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 44px 44px;
  pointer-events: none;
  -webkit-mask-image: radial-gradient(ellipse 90% 100% at 50% 0%, #000 30%, transparent 78%);
          mask-image: radial-gradient(ellipse 90% 100% at 50% 0%, #000 30%, transparent 78%);
}
.page-hero > * { position: relative; z-index: 1; }

/* --- Service hero shared decoration (all service pages) --- */
.service-hero {
  position: relative;
  overflow: hidden;
}
.service-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 46px 46px;
  pointer-events: none;
  -webkit-mask-image: radial-gradient(ellipse 80% 100% at 20% 0%, #000 20%, transparent 75%);
          mask-image: radial-gradient(ellipse 80% 100% at 20% 0%, #000 20%, transparent 75%);
}
.service-hero::after {
  content: '';
  position: absolute;
  top: -120px;
  right: -120px;
  width: 340px;
  height: 340px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(4, 182, 218, 0.22) 0%, transparent 65%);
  pointer-events: none;
}
.service-hero .container { position: relative; z-index: 1; }
.service-hero .breadcrumb a,
.page-hero .breadcrumb a {
  color: var(--color-secondary-light);
}
.service-hero-icon {
  animation: iconFloat 3.4s ease-in-out infinite;
}
@keyframes iconFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

/* --- Grid layouts: prevent blow-out, polish --- */
.grid-layout > *,
.tools-layout > * {
  min-width: 0;
}
.widget-box {
  border-radius: var(--radius-md);
}

/* --- Stats band (home hero) --- */
.stats-band {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-top: 2.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  padding-top: 2rem;
}
.stat-item { text-align: left; }
.stat-num {
  font-family: var(--font-heading);
  font-size: 2.1rem;
  font-weight: 800;
  color: var(--color-white);
  line-height: 1.1;
  display: block;
}
.stat-num em { font-style: normal; color: var(--color-secondary); }
.stat-label {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.72);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
@media (max-width: 720px) {
  .stats-band { grid-template-columns: repeat(2, 1fr); gap: 1.25rem; }
}

/* --- Hero ambient background (home) --- */
.hero-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}
.hero-bg svg {
  display: block;
  max-width: 100%;
}
.hero-grid-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 52px 52px;
  -webkit-mask-image: radial-gradient(ellipse 70% 80% at 30% 0%, #000 10%, transparent 70%);
          mask-image: radial-gradient(ellipse 70% 80% at 30% 0%, #000 10%, transparent 70%);
}
.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(6px);
  animation: orbDrift 9s ease-in-out infinite;
}
.hero-orb-1 {
  width: 420px; height: 420px; top: -160px; right: -80px;
  background: radial-gradient(circle, rgba(4, 182, 218, 0.28), transparent 65%);
}
.hero-orb-2 {
  width: 300px; height: 300px; bottom: -120px; left: -60px;
  background: radial-gradient(circle, rgba(227, 131, 31, 0.16), transparent 65%);
  animation-delay: -4.5s;
}
@keyframes orbDrift {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(14px, -10px) scale(1.06); }
}
.hero-ship {
  position: absolute;
  opacity: 0.4;
}
.hero-ship-1 {
  /* Lives in the hero's bottom padding zone, below the stats band, so it
     can never overlap copy at any width (hidden entirely under 1100px). */
  bottom: 8px;
  right: 4%;
  width: 170px;
  opacity: 0.55;
  animation: shipFloat var(--dur-ambient) var(--ease-in-out) infinite;
}
@keyframes shipFloat {
  0%, 100% { transform: translateY(0) rotate(-0.5deg); }
  50% { transform: translateY(-10px) rotate(0.75deg); }
}

/* Cargo jet mirroring the ship: air-freight counterpart on the left side,
   same size and baseline (hidden entirely under 1100px). */
.hero-plane {
  position: absolute;
  opacity: 0.4;
}
.hero-plane-1 {
  bottom: 8px;
  left: 4%;
  width: 170px;
  opacity: 0.55;
  animation: planeFly 7s var(--ease-in-out) infinite;
}
@keyframes planeFly {
  0%, 100% { transform: translateY(0) rotate(-1.2deg); }
  50% { transform: translateY(-12px) rotate(1.5deg); }
}

/* Container truck: road-freight counterpart running between plane and ship,
   same size and baseline (hidden entirely under 1100px). The roll bob plus
   the scrolling motion dashes read as a truck driving forward. */
.hero-truck {
  position: absolute;
  opacity: 0.4;
}
.hero-truck-1 {
  bottom: 8px;
  left: calc(50% - 85px);
  width: 170px;
  opacity: 0.55;
  animation: truckRoll 2.4s var(--ease-in-out) infinite;
}
@keyframes truckRoll {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-3px); }
}
.hero-truck .truck-dash {
  animation: truckDash 0.9s linear infinite;
}
@keyframes truckDash {
  to { stroke-dashoffset: -30; }
}

/* Trade-route motif (CSS-only, distortion-proof): dashed animated lane
   in the hero's bottom padding zone + pulsing port nodes + traveling
   shipment dots. Never overlaps copy: sits behind content, cropped by
   .hero-bg overflow, and hidden below 1100px. */
.hero-route {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 56px;
  overflow: hidden;
}
.hero-route::before {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: 2px;
  background-image: linear-gradient(90deg, rgba(4, 182, 218, 0.45) 0 9px, transparent 9px 18px);
  background-size: 18px 2px;
  animation: routeFlow 1.4s linear infinite;
}
@keyframes routeFlow {
  to { background-position: 18px 0; }
}
.route-node {
  position: absolute;
  top: calc(50% - 4px);
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-secondary);
  box-shadow: 0 0 0 3px rgba(4, 182, 218, 0.22);
  animation: routePulse 2.8s var(--ease-out) infinite;
}
.route-node-2 { background: var(--color-cta); box-shadow: 0 0 0 3px rgba(227, 131, 31, 0.22); animation-delay: 0.95s; }
.route-node-3 { animation-delay: 1.9s; }
@keyframes routePulse {
  0% { box-shadow: 0 0 0 0 rgba(4, 182, 218, 0.4); }
  70% { box-shadow: 0 0 0 9px rgba(4, 182, 218, 0); }
  100% { box-shadow: 0 0 0 0 rgba(4, 182, 218, 0); }
}
.route-node-2 {
  animation-name: routePulseOrange;
}
@keyframes routePulseOrange {
  0% { box-shadow: 0 0 0 0 rgba(227, 131, 31, 0.4); }
  70% { box-shadow: 0 0 0 9px rgba(227, 131, 31, 0); }
  100% { box-shadow: 0 0 0 0 rgba(227, 131, 31, 0); }
}
.route-dot {
  position: absolute;
  top: calc(50% - 5px);
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--color-secondary);
  box-shadow: 0 0 10px rgba(4, 182, 218, 0.9);
  opacity: 0;
  animation: dotTravel 9s linear infinite;
}
.route-dot-2 {
  background: var(--color-cta);
  box-shadow: 0 0 10px rgba(227, 131, 31, 0.9);
  animation-duration: 12s;
  animation-delay: 1.5s;
}
@keyframes dotTravel {
  0% { transform: translateX(-4vw); opacity: 0; }
  6% { opacity: 1; }
  94% { opacity: 1; }
  100% { transform: translateX(104vw); opacity: 0; }
}

/* Ambient graphics never overlap copy: drop them below desktop width */
@media (max-width: 1100px) {
  .hero-bg .hero-ship-1, .hero-bg .hero-plane-1, .hero-bg .hero-truck-1, .hero-bg .hero-route { display: none; }
}
@media (max-width: 720px) {
  .hero-orb-2 { width: 200px; height: 200px; bottom: -80px; left: -40px; }
}

/* --- Hero copy helpers (home) --- */
.text-accent {
  background: linear-gradient(92deg, var(--color-secondary) 0%, #7de3f8 55%, var(--color-cta) 120%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
@supports not ((background-clip: text) or (-webkit-background-clip: text)) {
  .text-accent {
    background: none;
    color: var(--color-secondary);
  }
}
.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border: 2px solid rgba(255, 255, 255, 0.35);
  color: var(--color-white);
  background: rgba(255, 255, 255, 0.06);
  font-weight: 600;
  padding: 0.7rem 1.6rem;
  min-height: 48px;
  border-radius: 6px;
  transition: var(--transition-smooth);
  cursor: pointer;
}
.btn-ghost:hover {
  border-color: var(--color-secondary);
  background: rgba(4, 182, 218, 0.14);
  color: var(--color-white);
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-bottom: 1.6rem;
}
.hero-trust {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem 1.4rem;
  padding: 0;
}
.hero-trust li {
  font-size: 0.9rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.92);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}
.hero-trust li::before {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--color-secondary);
  box-shadow: 0 0 0 3px rgba(4, 182, 218, 0.25);
}

/* --- Hero assistant card (home hero): welcoming consultant over animated seaport --- */
.hero-assistant-card {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-top: 3px solid var(--color-secondary);
  box-shadow: 0 24px 60px -12px rgba(0, 0, 0, 0.45);
  min-height: 520px;
  background: linear-gradient(160deg, #0E3A66 0%, #0A2F54 55%, #071E38 100%);
}
.seaport-scene {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}
.hero-ai-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  z-index: 0;
}
.assistant-figure {
  position: absolute;
  bottom: 0;
  right: 6%;
  width: 50%;
  max-width: 250px;
  z-index: 1;
  filter: drop-shadow(0 22px 28px rgba(0, 0, 0, 0.4));
}
.hero-assistant-card::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(to top, rgba(6, 20, 38, 0.5), rgba(6, 20, 38, 0) 30%);
  pointer-events: none;
}
.assistant-speech {
  position: absolute;
  top: 1.2rem;
  left: 1.2rem;
  right: 40%;
  z-index: 3;
  background: rgba(7, 24, 44, 0.82);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 14px;
  padding: 0.9rem 0.8rem 1rem;
  animation: speech-float 4.2s ease-in-out infinite;
}
.assistant-speech::after {
  content: '';
  position: absolute;
  bottom: -7px;
  left: 82%;
  width: 14px;
  height: 14px;
  background: rgba(7, 24, 44, 0.82);
  border-right: 1px solid rgba(255, 255, 255, 0.16);
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  transform: rotate(45deg);
}
.assistant-speech-top {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 0.3rem;
}
.assistant-greeting {
  color: var(--color-secondary);
  font-weight: 700;
  font-size: 0.85rem;
  margin: 0;
  flex: 1;
}
.assistant-speech > p {
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.75rem;
  line-height: 1.4;
  margin: 0;
}
.assistant-online {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: #7CE0A5;
  background: rgba(46, 204, 113, 0.12);
  border: 1px solid rgba(46, 204, 113, 0.35);
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  white-space: nowrap;
}
.online-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #2ECC71;
  box-shadow: 0 0 0 0 rgba(46, 204, 113, 0.5);
  animation: online-pulse 2s ease-out infinite;
}
/* Ambient micro-animations (seaport scene + consultant) */
.assistant-breathe {
  transform-box: fill-box;
  transform-origin: 50% 100%;
  animation: breathe 4.6s ease-in-out infinite;
}
.sp-star {
  transform-box: fill-box;
  transform-origin: center;
  animation: sp-star 3.6s ease-in-out infinite;
}
.sp-star.s2 { animation-delay: 0.4s; }
.sp-star.s3 { animation-delay: 0.9s; }
.sp-star.s4 { animation-delay: 1.3s; }
.sp-star.s5 { animation-delay: 1.8s; }
.sp-star.s6 { animation-delay: 2.2s; }
.sp-star.s7 { animation-delay: 2.7s; }
.sp-star.s8 { animation-delay: 3.1s; }
.sp-star.s9 { animation-delay: 0.7s; }
.sp-cloud {
  animation: sp-cloud-drift 26s ease-in-out infinite alternate;
}
.sp-cloud.c2 {
  animation-duration: 34s;
}
.sp-sun-glow {
  transform-box: fill-box;
  transform-origin: center;
  animation: sp-sun-breathe 6s ease-in-out infinite;
}
.sp-lamp-glow {
  transform-box: fill-box;
  transform-origin: center;
  animation: sp-lamp-pulse 3.2s ease-in-out infinite;
}
.sp-smoke circle {
  animation: sp-smoke-rise 4s linear infinite;
}
.sp-smoke circle:nth-child(2) {
  animation-delay: 1.3s;
}
.sp-smoke circle:nth-child(3) {
  animation-delay: 2.6s;
}

@keyframes breathe {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.006, 1.003); }
}
@keyframes sp-star {
  0%, 100% { opacity: 0.18; }
  50% { opacity: 0.75; }
}
@keyframes sp-cloud-drift {
  0% { transform: translateX(0); }
  100% { transform: translateX(64px); }
}
@keyframes sp-sun-breathe {
  0%, 100% { opacity: 0.85; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.04); }
}
@keyframes sp-lamp-pulse {
  0%, 100% { opacity: 0.5; }
  50% { opacity: 1; }
}
@keyframes sp-smoke-rise {
  0% { transform: translateY(0); opacity: 0; }
  15% { opacity: 0.5; }
  100% { transform: translateY(-18px); opacity: 0; }
}

/* Seaport scene + character micro-animations */
.sp-crane-trolley {
  animation: sp-trolley 9s ease-in-out infinite;
}
.sp-ship {
  animation: sp-ship-bob 5.5s ease-in-out infinite;
}
.sp-shimmer {
  animation: sp-shimmer 3.2s ease-in-out infinite;
}
.sp-shimmer.s2 {
  animation-delay: 0.7s;
}
.sp-shimmer.s3 {
  animation-delay: 1.4s;
}
.sp-shimmer.s4 {
  animation-delay: 2.1s;
}
.sp-gull {
  animation: sp-gull-fly 26s linear infinite;
}
.sp-gull.g2 {
  animation-duration: 34s;
  animation-delay: -9s;
}
.assistant-wave {
  transform-box: fill-box;
  transform-origin: 0% 100%;
  animation: wave 1.6s ease-in-out infinite;
}
.assistant-eye {
  transform-box: fill-box;
  transform-origin: center;
  animation: blink 4.8s ease-in-out infinite;
}
.assistant-eye + .assistant-eye {
  animation-delay: 0.06s;
}

@keyframes speech-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
}
@keyframes online-pulse {
  0% { box-shadow: 0 0 0 0 rgba(46, 204, 113, 0.5); }
  70% { box-shadow: 0 0 0 7px rgba(46, 204, 113, 0); }
  100% { box-shadow: 0 0 0 0 rgba(46, 204, 113, 0); }
}
@keyframes wave {
  0%, 100% { transform: rotate(-8deg); }
  50% { transform: rotate(11deg); }
}
@keyframes blink {
  0%, 91%, 100% { transform: scaleY(1); }
  94% { transform: scaleY(0.08); }
  96% { transform: scaleY(1); }
}
@keyframes sp-trolley {
  0%, 100% { transform: translateX(0); }
  50% { transform: translateX(78px); }
}
@keyframes sp-ship-bob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}
@keyframes sp-shimmer {
  0%, 100% { opacity: 0.12; }
  50% { opacity: 0.5; }
}
@keyframes sp-gull-fly {
  0% { transform: translate(-40px, 0); }
  50% { transform: translate(210px, 10px); }
  100% { transform: translate(460px, 0); }
}

@media (max-width: 991px) {
  .hero-assistant-card {
    min-height: 470px;
  }
}
@media (max-width: 620px) {
  .hero-assistant-card {
    min-height: 430px;
  }
  .assistant-figure {
    width: 58%;
  }
  .assistant-speech {
    right: 19%;
  }
}
@media (prefers-reduced-motion: reduce) {
  .hero-assistant-card *,
  .hero-assistant-card *::before,
  .hero-assistant-card *::after {
    animation: none !important;
    transition: none !important;
  }
}

/* --- Process steps --- */
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}
.process-step {
  background: var(--color-white);
  border-radius: var(--radius-md);
  padding: 1.75rem 1.5rem;
  box-shadow: var(--shadow-subtle);
  border: 1px solid var(--color-border);
  position: relative;
  transition: var(--transition-smooth);
}
.process-step:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(4, 182, 218, 0.4);
}
.process-num {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.15rem;
  color: var(--color-white);
  background: linear-gradient(135deg, var(--color-primary), var(--color-navy-800));
  border: 2px solid var(--color-secondary);
  margin-bottom: 1rem;
}
.process-step h3 { font-size: 1.1rem; margin-bottom: 0.5rem; }
.process-step p { font-size: 0.92rem; color: var(--color-muted); margin: 0; }
@media (max-width: 991px) { .process-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .process-grid { grid-template-columns: 1fr; } }

/* --- Feature grid --- */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
@media (max-width: 991px) { .feature-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .feature-grid { grid-template-columns: 1fr; } }
.feature-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  box-shadow: var(--shadow-subtle);
  transition: var(--transition-smooth);
}
.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(4, 182, 218, 0.35);
}
.feature-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: rgba(4, 182, 218, 0.12);
  color: var(--color-secondary);
  margin-bottom: 1rem;
  transition: var(--transition-smooth);
}
.feature-card:hover .feature-icon {
  background: var(--color-secondary);
  color: var(--color-white);
}
.feature-card h3 { font-size: 1.05rem; margin-bottom: 0.45rem; }
.feature-card p { font-size: 0.92rem; color: var(--color-muted); margin: 0; }

/* --- Track record / proof points --- */
.proof-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
@media (max-width: 991px) { .proof-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .proof-grid { grid-template-columns: 1fr; } }

.proof-card {
  background: var(--color-white);
  border: 1px solid #E5E7EB;
  border-radius: 8px;
  padding: 1.5rem 1.75rem;
  box-shadow: var(--shadow-subtle);
  height: 100%;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.proof-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 24px rgba(10, 47, 84, 0.12);
  border-color: rgba(4, 182, 218, 0.5);
}
.proof-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 8px;
  background: rgba(4, 182, 218, 0.12);
  color: var(--color-secondary);
  margin-bottom: 0.9rem;
}
.proof-title {
  color: var(--color-primary);
  font-size: 1.02rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
  line-height: 1.35;
}
.proof-text {
  font-size: 0.9rem;
  color: #4B5563;
  line-height: 1.6;
  margin: 0;
}

/* Big 500+ band on the home page */
.proof-band {
  display: flex;
  align-items: center;
  gap: 2rem;
  background: linear-gradient(135deg, var(--color-primary) 0%, #082543 100%);
  border-radius: 10px;
  padding: 1.75rem 2rem;
  margin: 1.5rem 0 2.5rem;
  color: var(--color-white);
}
.proof-band-stat {
  flex-shrink: 0;
  text-align: center;
  min-width: 130px;
  padding-right: 2rem;
  border-right: 1px solid rgba(255, 255, 255, 0.18);
}
.proof-band-num {
  display: block;
  font-size: 3rem;
  font-weight: 800;
  line-height: 1;
  color: var(--color-secondary);
}
.proof-band-label {
  display: block;
  margin-top: 0.4rem;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.85;
}
.proof-band-text h3 {
  color: var(--color-white);
  font-size: 1.25rem;
  margin-bottom: 0.4rem;
}
.proof-band-text p {
  margin: 0;
  font-size: 0.95rem;
  opacity: 0.85;
  line-height: 1.6;
}
@media (max-width: 620px) {
  .proof-band {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
  }
  .proof-band-stat {
    border-right: none;
    padding-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.18);
    padding-bottom: 1rem;
  }
}

/* --- Service page proof strip --- */
.service-proof-strip {
  background-color: var(--color-white);
}
/* --- Interactive star rating (review form) --- */
.star-rating {
  display: inline-flex;
  flex-direction: row-reverse;
  justify-content: flex-end;
  gap: 0.2rem;
}
.star-rating input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
  margin: 0;
  pointer-events: none;
}
.star-rating label {
  cursor: pointer;
  color: #CBD5E1;
  line-height: 1;
  transition: color var(--dur-micro) ease, transform var(--dur-micro) ease;
}
.star-rating label svg { fill: currentColor; }
.star-rating label:hover,
.star-rating label:hover ~ label,
.star-rating input:checked ~ label {
  color: var(--color-cta);
}
.star-rating label:hover { transform: scale(1.12); }
.star-rating input:focus-visible + label {
  outline: 2px solid var(--color-secondary);
  outline-offset: 2px;
  border-radius: 4px;
}

/* --- Review submission form --- */
.rating-field {
  border: none;
  margin: 0 0 1.25rem;
  padding: 0;
}
.rating-field legend { margin-bottom: 0.5rem; }
.review-form-layout {
  max-width: 760px;
  margin: 0 auto;
}
.review-consent {
  font-size: 0.78rem;
  color: var(--color-muted);
  margin: -0.5rem 0 1.25rem;
}
.form-status {
  display: none;
  border-radius: 6px;
  padding: 0.9rem 1.1rem;
  font-size: 0.9rem;
  font-weight: 600;
  margin-top: 1.25rem;
}
.form-status.show { display: block; }
.form-status-success {
  background: #F0FDF4;
  border-left: 4px solid var(--color-success);
  color: var(--color-success);
}
.form-status-error {
  background: #FFF7ED;
  border-left: 4px solid var(--color-cta);
  color: #C2410C;
}

/* --- Tool showcase band --- */
.tool-feature-card {
  display: flex;
  gap: 1.1rem;
  align-items: flex-start;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  box-shadow: var(--shadow-subtle);
  transition: var(--transition-smooth);
  text-decoration: none;
  color: inherit;
}
.tool-feature-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 16px -4px rgba(10, 47, 84, 0.2), 0 30px 60px -15px rgba(10, 47, 84, 0.35);
  border-color: rgba(227, 131, 31, 0.45);
}
.tool-feature-icon {
  width: 52px;
  height: 52px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: #FFF3E6;
  color: var(--color-cta);
  transition: var(--transition-smooth);
}
.tool-feature-card:hover .tool-feature-icon {
  background: var(--color-cta);
  color: var(--color-white);
}
.tool-feature-card h3 { font-size: 1.02rem; margin-bottom: 0.35rem; color: var(--color-primary); }
.tool-feature-card p { font-size: 0.9rem; color: var(--color-muted); margin: 0 0 0.5rem; }
.tool-feature-link {
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--color-cta);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}
.tool-feature-link svg { transition: transform 0.25s ease; }
.tool-feature-card:hover .tool-feature-link svg { transform: translateX(4px); }

/* --- Agency / trust chips --- */
.chip-scroller {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  justify-content: center;
}
.agency-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: 999px;
  padding: 0.6rem 1.15rem;
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--color-primary);
  box-shadow: var(--shadow-subtle);
  white-space: nowrap;
  transition: var(--transition-smooth);
}
.agency-chip:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-medium);
  border-color: var(--color-secondary);
}
.agency-chip svg { color: var(--color-secondary); flex-shrink: 0; }

/* --- CTA band --- */
.cta-band {
  background: linear-gradient(120deg, var(--color-primary) 0%, #0d3d6b 55%, #0a5f7a 100%);
  color: var(--color-white);
  border-radius: var(--radius-lg);
  padding: 3rem;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  box-shadow: var(--shadow-lg);
}
.cta-band::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
  -webkit-mask-image: radial-gradient(ellipse 80% 100% at 80% 0%, #000 20%, transparent 75%);
          mask-image: radial-gradient(ellipse 80% 100% at 80% 0%, #000 20%, transparent 75%);
}
.cta-band > * { position: relative; z-index: 1; }
.cta-band h2 { color: var(--color-white); }
.cta-band p { color: rgba(255, 255, 255, 0.82); max-width: 560px; margin-bottom: 0; }
.cta-band .btn-cta { flex-shrink: 0; }
@media (max-width: 720px) {
  .cta-band { padding: 2rem 1.5rem; text-align: center; justify-content: center; }
}

/* --- Section background alternation --- */
.section-alt {
  background-color: #EEF3F8;
}
.section-padding {
  padding: var(--section-space) 0;
}
@media (max-width: 720px) {
  .section-padding { padding: 3rem 0; }
}

/* --- Section headers: centered, consistent rhythm --- */
.section-header {
  text-align: center;
  margin-bottom: 3rem;
}
.section-header h2 {
  margin-bottom: 0;
}
.section-header p {
  color: var(--color-muted);
  font-size: 1rem;
  max-width: 640px;
  margin: 0.9rem auto 0;
}
@media (max-width: 720px) {
  .section-header { margin-bottom: 2.25rem; }
}

/* --- Service card link arrow motion --- */
.service-card:hover .service-link {
  color: var(--color-primary);
}
.service-link svg {
  transition: transform 0.25s ease;
}
.service-card:hover .service-link svg {
  transform: translateX(4px);
}

/* --- Service/tool card category tag --- */
.category-label {
  display: inline-block;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  font-weight: 700;
  padding: 0.22rem 0.6rem;
  border-radius: 999px;
  background: rgba(4, 182, 218, 0.12);
  color: var(--color-secondary);
  margin-bottom: 0.75rem;
}

/* ============================================================
   TOOL-SUITE UTILITIES (tp-) - appended 2026-08-08
   Shared by all new /tools/* pages built in the 26-tool suite.
   Append-only: no existing selector was rewritten or deleted.
   All classes are tp- prefixed to avoid collisions with legacy pages.
   ============================================================ */
.tp-layout{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,1.3fr);gap:2.5rem;margin-top:2rem;margin-bottom:4rem;}
.tp-layout .tp-panel,.tp-layout .tp-output{min-width:0;}
.tp-panel .pdf-thumb-strip{min-width:0;}
@media (max-width:1024px){.tp-layout{grid-template-columns:1fr;}}
.tp-panel{background:var(--color-white);padding:2rem;border-radius:8px;box-shadow:var(--shadow-subtle);border-top:4px solid var(--color-secondary);height:fit-content;}
.tp-output{background:#EBF8FC;border-radius:8px;padding:2rem;border-left:5px solid var(--color-secondary);}
.tp-form-row{display:grid;grid-template-columns:1fr 1fr;gap:1rem;}
@media (max-width:640px){.tp-form-row{grid-template-columns:1fr;}}
.tp-card{background:var(--color-white);border-radius:8px;padding:2rem;box-shadow:var(--shadow-subtle);margin-top:2rem;}
.tp-card h2,.tp-card h3{color:var(--color-primary);}
.tp-section-divider{font-size:.95rem;color:var(--color-primary);border-bottom:2px solid var(--color-secondary);padding-bottom:.25rem;margin-top:1.5rem;margin-bottom:1rem;font-weight:700;text-transform:uppercase;}
.tp-result-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:1rem;margin-top:1.25rem;}
.tp-result-box{background:var(--color-white);border-radius:8px;padding:1.25rem;box-shadow:var(--shadow-subtle);border-top:3px solid var(--color-secondary);}
.tp-result-label{font-size:.72rem;text-transform:uppercase;letter-spacing:.5px;color:#6B7280;margin-bottom:.35rem;font-weight:700;}
.tp-result-value{font-size:1.5rem;font-weight:900;color:var(--color-primary);line-height:1.15;word-break:break-word;}
.tp-result-note{font-size:.75rem;color:#6B7280;margin-top:.4rem;}
.tp-chip{display:inline-block;font-size:.7rem;text-transform:uppercase;letter-spacing:.5px;padding:.2rem .5rem;border-radius:3px;font-weight:700;}
.tp-chip-green{background:#E8F5E9;color:#2E7D32;}
.tp-chip-amber{background:#FFF3E6;color:#C2410C;}
.tp-chip-red{background:#FEE2E2;color:#991B1B;}
.tp-chip-blue{background:#E3F2FD;color:#1565C0;}
.tp-table-wrap{overflow-x:auto;background:var(--color-white);border-radius:6px;box-shadow:var(--shadow-subtle);margin-top:1rem;}
.tp-table{width:100%;border-collapse:collapse;}
.tp-table th,.tp-table td{padding:.75rem 1rem;text-align:left;font-size:.85rem;border-bottom:1px solid #E5E7EB;white-space:nowrap;}
.tp-table th{background:var(--color-primary);color:#fff;text-transform:uppercase;font-size:.75rem;font-weight:700;}
.tp-table tr:hover td{background:#F8FAFC;}
.tp-banner{padding:1rem;border-radius:6px;font-weight:700;font-size:.95rem;text-align:center;margin-bottom:2rem;border:1px solid transparent;}
.tp-safe{background:#D1FAE5;color:#065F46;border-color:#A7F3D0;}
.tp-warn{background:#FEF3C7;color:#92400E;border-color:#FDE68A;}
.tp-crit{background:#FEE2E2;color:#991B1B;border-color:#FCA5A5;}
.tp-over{background:#EF4444;color:#fff;border-color:#DC2626;}
.tp-actions{display:flex;gap:.5rem;flex-wrap:wrap;margin-top:1.5rem;}
.tp-note{background:#F0FDF4;border-left:4px solid var(--color-success);padding:1rem 1.25rem;border-radius:4px;font-size:.9rem;color:#4B5563;margin:1rem 0;}
.tp-warnbox{background:#FFF7ED;border-left:4px solid var(--color-cta);padding:1rem 1.25rem;border-radius:4px;font-size:.9rem;color:#4B5563;margin:1rem 0;}
.tp-tip{font-size:.8rem;color:#6B7280;line-height:1.6;}
.tp-dropzone{border:2px dashed #CBD5E1;border-radius:8px;padding:2rem;text-align:center;color:#6B7280;cursor:pointer;background:#F8FAFC;transition:var(--transition-smooth);}
.tp-dropzone:hover,.tp-dropzone.dragover{border-color:var(--color-secondary);background:#EBF8FC;color:var(--color-primary);}
.tp-preview{max-width:100%;border-radius:8px;box-shadow:var(--shadow-subtle);border:1px solid #E2E8F0;}
.tp-monospace{font-family:'Courier New',Courier,monospace;font-size:.9rem;background:#F8FAFC;border:1px solid #E2E8F0;border-radius:6px;padding:1rem;white-space:pre-wrap;word-break:break-word;max-height:320px;overflow:auto;}

/* ---------- Batch Image Processor: file list ---------- */
.tp-batch-item{display:flex;justify-content:space-between;align-items:center;gap:1rem;padding:.55rem .75rem;border:1px solid #E5E7EB;border-radius:6px;margin-top:.5rem;background:var(--color-white);font-size:.82rem;}
.tp-batch-name{color:var(--color-primary);font-weight:600;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}
.tp-remove-btn{flex-shrink:0;border:none;background:#FEE2E2;color:#991B1B;width:26px;height:26px;border-radius:4px;cursor:pointer;font-weight:700;font-size:.8rem;transition:var(--transition-smooth);}
.tp-remove-btn:hover{background:#FCA5A5;color:#7F1D1D;}

/* ---------- Batch Image Processor: preview grid ---------- */
.tp-preview-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(96px,1fr));gap:.6rem;}
.tp-preview-cell{position:relative;border:1px solid var(--color-border);border-radius:6px;overflow:hidden;background:#fff;cursor:zoom-in;transition:var(--transition-smooth);margin:0;}
.tp-preview-cell:hover{border-color:var(--color-secondary);box-shadow:var(--shadow-medium);transform:translateY(-2px);}
.tp-preview-thumb{display:block;width:100%;height:84px;object-fit:cover;background:#F3F4F6;}
.tp-preview-cap{font-size:.66rem;color:var(--color-muted);padding:.3rem .4rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;line-height:1.3;}
.tp-preview-size{position:absolute;top:4px;right:4px;background:rgba(10,47,84,.78);color:#fff;font-size:.58rem;font-weight:600;padding:2px 5px;border-radius:4px;pointer-events:none;}
.tp-preview-cell.tp-cell-processing::after{content:"";position:absolute;inset:0;background:rgba(4,182,218,.22);display:flex;align-items:center;justify-content:center;font-size:1.4rem;color:var(--color-secondary);}
.tp-preview-cell.tp-cell-processing .tp-preview-thumb{opacity:.55;}
.tp-preview-cell.tp-cell-done{border-color:#A7F3D0;box-shadow:0 0 0 1px #2E7D32 inset;}
.tp-preview-cell.tp-cell-done::after{content:"\2713";position:absolute;top:4px;left:4px;background:#2E7D32;color:#fff;font-size:.7rem;font-weight:700;width:18px;height:18px;border-radius:50%;display:flex;align-items:center;justify-content:center;}
.tp-preview-cell.tp-cell-error{border-color:#FCA5A5;box-shadow:0 0 0 1px #C62828 inset;}
.tp-preview-cell.tp-cell-error .tp-preview-thumb{opacity:.5;}
.tp-preview-cell.tp-cell-error::after{content:"\2715";position:absolute;top:4px;left:4px;background:#C62828;color:#fff;font-size:.7rem;font-weight:700;width:18px;height:18px;border-radius:50%;display:flex;align-items:center;justify-content:center;}

/* ---------- Batch Image Processor: lightbox ---------- */
.tp-lightbox{position:fixed;inset:0;z-index:10000;background:rgba(10,20,35,.88);align-items:center;justify-content:center;flex-direction:column;gap:1rem;padding:2rem;}
.tp-lightbox-img{max-width:92vw;max-height:80vh;object-fit:contain;border-radius:8px;box-shadow:var(--shadow-lg);background:#fff;}
.tp-lightbox-caption{color:#E5E7EB;font-size:.9rem;text-align:center;max-width:80vw;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}
.tp-lightbox-close{position:absolute;top:16px;right:20px;background:rgba(255,255,255,.14);color:#fff;border:1px solid rgba(255,255,255,.3);width:40px;height:40px;border-radius:50%;font-size:1.1rem;cursor:pointer;transition:var(--transition-smooth);}
.tp-lightbox-close:hover{background:rgba(255,255,255,.28);transform:scale(1.08);}

@media (max-width:640px){
  .tp-preview-grid{grid-template-columns:repeat(auto-fill,minmax(72px,1fr));}
  .tp-preview-thumb{height:64px;}
}
.tp-empty{text-align:center;color:#6B7280;padding:1.5rem;font-size:.9rem;}
.tp-progress-wrap{background:rgba(255,255,255,.15);border-radius:20px;height:12px;margin-bottom:1rem;overflow:hidden;}
.tp-progress-bar{height:100%;border-radius:20px;transition:width 1s linear,background .5s;background:var(--color-success);}
.tp-progress-label{font-size:.75rem;text-align:right;opacity:.8;margin-bottom:.25rem;}
.tp-digits{display:grid;grid-template-columns:repeat(4,1fr);gap:.5rem;margin-bottom:1rem;}
.tp-digit-box{background:rgba(255,255,255,.1);padding:1rem .5rem;border-radius:6px;border:1px solid rgba(255,255,255,.15);}
.tp-digit-val{font-size:2.2rem;font-weight:900;line-height:1.1;font-family:'Courier New',Courier,monospace;}
.tp-digit-lbl{font-size:.7rem;text-transform:uppercase;opacity:.75;letter-spacing:1px;margin-top:.25rem;}
.tp-dark-box{background:var(--color-primary);color:var(--color-white);padding:2rem;border-radius:8px;text-align:center;box-shadow:var(--shadow-medium);margin-bottom:2rem;border-bottom:4px solid var(--color-secondary);}
.tp-dark-header{font-size:.85rem;text-transform:uppercase;letter-spacing:1.5px;color:var(--color-secondary);margin-bottom:.5rem;font-weight:700;}
.tp-related{background:var(--color-white);border-radius:8px;box-shadow:var(--shadow-subtle);padding:2rem;margin-top:2rem;}
.tp-related h3{color:var(--color-primary);font-size:1.15rem;margin-bottom:1rem;border-bottom:2px solid var(--color-secondary);padding-bottom:.5rem;}
.tp-related a{color:var(--color-secondary);font-size:.9rem;}
.tp-related a:hover{color:var(--color-cta);}
.tp-cat-label{font-weight:700;color:var(--color-primary);font-size:.95rem;margin-bottom:.5rem;}
.tp-grid-2{display:grid;grid-template-columns:1fr 1fr;gap:2rem;}
@media (max-width:600px){.tp-grid-2{grid-template-columns:1fr;}}
.tp-list-none{list-style:none;padding:0;}
.tp-list-none li{margin-bottom:.6rem;}

/* Related Services & Tools (reference pattern: export-documentation-suite) */
.related-links{margin-top:3rem;padding:2rem;background:var(--color-white);border-radius:8px;box-shadow:var(--shadow-subtle);}
.related-links h3{font-size:1.15rem;color:var(--color-primary);margin-bottom:1rem;border-bottom:2px solid var(--color-secondary);padding-bottom:.5rem;}
.related-links ul{list-style:none;padding:0;}
.related-links li{margin-bottom:.6rem;}
.related-links a{color:var(--color-secondary);font-size:.9rem;display:flex;align-items:center;gap:.4rem;}
.related-links a:hover{color:var(--color-cta);}
.related-links .cat-label{font-weight:700;color:var(--color-primary);font-size:.95rem;margin-bottom:.5rem;}
.related-grid{display:grid;grid-template-columns:1fr 1fr;gap:2rem;}
@media (max-width:600px){.related-grid{grid-template-columns:1fr;}}
.cat-label{font-weight:700;color:var(--color-primary);font-size:.95rem;margin-bottom:.5rem;}
.tp-faq{border-bottom:1px solid #E5E7EB;padding:1rem 0;}
.tp-faq:last-child{border-bottom:none;}
.tp-faq-q{font-weight:700;color:var(--color-primary);font-size:.95rem;cursor:pointer;display:flex;justify-content:space-between;align-items:center;}
.tp-faq-q::after{content:'+';font-size:1.3rem;color:var(--color-secondary);transition:transform .3s;}
.tp-faq.open .tp-faq-q::after{content:'\2212';}
.tp-faq-a{display:none;margin-top:.75rem;font-size:.9rem;color:#4B5563;line-height:1.7;padding-right:1rem;}
.tp-faq.open .tp-faq-a{display:block;}
.tp-bars{display:flex;align-items:flex-end;gap:1rem;height:140px;margin-top:1.25rem;}
.tp-bar{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:flex-end;gap:.35rem;height:100%;}
.tp-bar-fill{width:100%;max-width:70px;border-radius:4px 4px 0 0;background:var(--color-secondary);transition:height .6s var(--ease-out);min-height:2px;}
.tp-bar-label{font-size:.7rem;color:#6B7280;text-align:center;}
@media print{.tp-panel,.tp-actions,.tp-related,.tp-dropzone{display:none!important;}.tp-output{border:2px solid #333;background:#fff;}}

/* ==========================================================================
   Tools — Shared Component Layer
   One source of truth for every /tools/* page: panels, headings, tab bars,
   buttons, filter chips and upload zones all share these styles.
   ========================================================================== */

/* ---- Workspace panels: one card style for every tool ---- */
.workspace-card,
.control-panel,
.results-panel,
.tracking-panel {
  background-color: var(--color-white);
  padding: 2rem;
  border-radius: 8px;
  box-shadow: var(--shadow-subtle);
  border-top: 4px solid var(--color-secondary);
  height: fit-content;
}
.matrix-panel {
  background-color: #EBF8FC;
  border-radius: 8px;
  padding: 2rem;
  border-left: 5px solid var(--color-secondary);
}
.workspace-card h2,
.workspace-card h3,
.control-panel h2,
.control-panel h3,
.results-panel h2,
.results-panel h3,
.tracking-panel h2,
.tracking-panel h3,
.matrix-panel h2,
.matrix-panel h3 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
  color: var(--color-primary);
}

/* ---- Segmented mode tabs (CBM, Barcode/QR, PDF tools, Signature pad) ---- */
.mode-tabs {
  display: flex;
  gap: 0;
  margin-bottom: 1.25rem;
  border-radius: 10px;
  overflow: hidden;
  border: 2px solid var(--color-primary);
  background: var(--color-light);
}
.mode-tab {
  flex: 1;
  padding: 0.6rem 0.5rem;
  border: none;
  background: transparent;
  color: #6B7280;
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition-smooth);
  text-align: center;
}
.mode-tab.active {
  background: var(--color-primary);
  color: var(--color-white);
}
.mode-tab:hover:not(.active) {
  background: var(--color-secondary);
  color: var(--color-white);
}
@media (max-width: 640px) {
  .mode-tabs { flex-wrap: wrap; }
  .mode-tab { flex: 1 1 45%; }
}

/* ---- Tool buttons ---- */
.btn-share {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--color-primary);
  color: #fff;
  border: none;
  cursor: pointer;
  border-radius: 4px;
  padding: 0.5rem 1rem;
  font-size: 0.8rem;
  font-weight: 600;
  transition: var(--transition-smooth);
  text-decoration: none;
}
.btn-share:hover {
  background: var(--color-secondary);
  color: var(--color-primary);
}
.btn-action {
  flex: 1;
  background-color: #EEF2F7;
  color: var(--color-primary);
  border: 1px solid #D1D5DB;
  cursor: pointer;
  border-radius: 4px;
  padding: 0.5rem 1rem;
  font-size: 0.8rem;
  font-weight: 600;
  transition: var(--transition-smooth);
}
.btn-action:hover {
  background-color: var(--color-secondary);
  color: var(--color-primary);
}
.btn-small {
  background: none;
  border: 1px solid var(--color-secondary);
  color: var(--color-secondary);
  padding: 0.3rem 0.6rem;
  border-radius: 3px;
  cursor: pointer;
  font-size: 0.74rem;
  font-weight: 600;
}
.btn-small:hover {
  background: var(--color-secondary);
  color: var(--color-white);
}
.btn-delete {
  background: var(--color-error);
  color: var(--color-white);
  border: none;
  width: 30px;
  height: 30px;
  border-radius: 4px;
  cursor: pointer;
  font-weight: bold;
  font-size: 0.9rem;
}
.btn-delete:hover {
  background: #B91C1C;
}
.btn-pdf {
  background: var(--color-cta);
  color: #fff;
}
.btn-pdf:hover {
  background: #c76f15;
  color: #fff;
}

/* ---- Filter chips (dark lookup panels) ---- */
.filter-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1rem;
}
.filter-chip {
  background: rgba(255, 255, 255, 0.1);
  color: var(--color-white);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 0.4rem 1rem;
  border-radius: 20px;
  font-size: 0.85rem;
  cursor: pointer;
  transition: var(--transition-smooth);
}
.filter-chip.active,
.filter-chip:hover {
  background: var(--color-secondary);
  color: var(--color-primary);
  border-color: var(--color-secondary);
  font-weight: 600;
}

/* ---- Upload zones ---- */
.upload-zone {
  border: 2px dashed var(--color-secondary);
  background-color: #F9FAFB;
  border-radius: 8px;
  padding: 2rem;
  text-align: center;
  cursor: pointer;
  transition: var(--transition-smooth);
  margin-bottom: 1.5rem;
}
.upload-zone:hover,
.upload-zone.dragover {
  border-color: var(--color-primary);
  background-color: #EBF8FC;
}

/* ---- Dark lookup panel (ICEGATE-style) ---- */
.search-container {
  background-color: var(--color-primary);
  padding: 2rem;
  border-radius: 8px;
  box-shadow: var(--shadow-subtle);
  margin-bottom: 2rem;
  border-bottom: 4px solid var(--color-secondary);
}
.search-container h2 {
  color: var(--color-white);
  font-size: 1.35rem;
  margin-bottom: 1rem;
}

/* ---- Compact document-suite controls ---- */
.draft-bar {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}
.ctrl-label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.25rem;
  font-size: 0.75rem;
  color: var(--color-primary);
  text-transform: uppercase;
}
.ctrl-input {
  width: 100%;
  padding: 0.45rem 0.5rem;
  border: 1px solid #D1D5DB;
  border-radius: 4px;
  font-size: 0.85rem;
}

/* ---- Button color variants (modifiers on the base classes above) ---- */
.btn-share-secondary { background: var(--color-secondary); color: var(--color-primary); }
.btn-share-secondary:hover { background: var(--color-primary); color: var(--color-white); }
.btn-share-cta { background: var(--color-cta); color: #fff; }
.btn-share-cta:hover { background: var(--color-cta-hover); color: #fff; }
.btn-share-light { background: var(--color-light); color: var(--color-primary); border: 1px solid #D1D5DB; }
.btn-share-light:hover { background: var(--color-secondary); color: var(--color-primary); border-color: var(--color-secondary); }
.btn-share-danger { background: #FEE2E2; color: #991B1B; }
.btn-share-danger:hover { background: #FECACA; color: #991B1B; }
.btn-action-primary { background-color: var(--color-primary); color: var(--color-white); }
.btn-action-primary:hover { background-color: var(--color-secondary); color: var(--color-primary); }
.btn-action-secondary { background-color: var(--color-secondary); color: var(--color-primary); }
.btn-action-secondary:hover { background-color: var(--color-primary); color: var(--color-white); }
.btn-action-danger { background-color: var(--color-error); color: var(--color-white); }
.btn-action-danger:hover { background-color: #B91C1C; color: var(--color-white); }
.btn-cta-secondary { background: var(--color-secondary); color: var(--color-primary); }
.btn-cta-secondary:hover { background: var(--color-primary); color: var(--color-white); }
.btn-ghost { border: 2px solid #CBD5E1; color: var(--color-primary); background: transparent; }
.btn-ghost:hover { border-color: var(--color-secondary); background: var(--color-secondary); color: var(--color-primary); }
/* Hero + CTA band sit on dark backgrounds — keep ghost buttons white there */
.hero-actions .btn-ghost,
.cta-band .btn-ghost {
  color: var(--color-white);
  border-color: rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.08);
}
.hero-actions .btn-ghost:hover,
.cta-band .btn-ghost:hover {
  border-color: var(--color-secondary);
  background: rgba(4, 182, 218, 0.14);
  color: var(--color-white);
}

/* ============================================================
   Currency Converter — Trend Chart & Historical Rate Styles
   ============================================================ */
.cc-trend-btn {
  display: inline-block;
  padding: 0.4rem 0.9rem;
  font-size: 0.8rem;
  font-weight: 700;
  border-radius: 999px;
  border: 1px solid #E5E7EB;
  background: var(--color-white);
  color: #6B7280;
  cursor: pointer;
  transition: all var(--dur-fast) var(--ease-out);
}
.cc-trend-btn:hover {
  border-color: var(--color-secondary);
  color: var(--color-secondary);
}
.cc-trend-btn-active,
.cc-trend-btn.cc-trend-btn-active {
  background: var(--color-secondary);
  color: var(--color-primary);
  border-color: var(--color-secondary);
}
@media (max-width: 640px) {
  .cc-trend-btn { padding: 0.35rem 0.7rem; font-size: 0.75rem; }
}

/* ============================================================
   Shared Service-Page Components (promoted from inline page
   styles so every service page renders identically)
   ============================================================ */

/* Hero CTA row */
.hero-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1.75rem;
}
.hero-price-note {
  margin: 1rem 0 0;
  font-size: 0.9rem;
  opacity: 0.92;
}

/* In-article table of contents (desktop only) */
.toc-box {
  background: var(--color-white);
  border: 1px solid #E5E7EB;
  border-left: 4px solid var(--color-secondary);
  border-radius: 6px;
  padding: 1.25rem 1.5rem;
  margin: 2rem 0;
}
.toc-box h4 { color: var(--color-primary); margin-bottom: 0.5rem; }
.toc-box ul {
  list-style-type: none;
  padding: 0;
  margin: 0;
  columns: 2;
  column-gap: 2rem;
}
.toc-box li { margin-bottom: 0.35rem; font-size: 0.9rem; }
@media (max-width: 991px) {
  .toc-box { display: none; }
}

/* Next-steps cross-sell cards */
.next-steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
  margin: 2rem 0;
}
.next-step-card {
  background: var(--color-white);
  border-radius: 8px;
  padding: 1.5rem;
  box-shadow: var(--shadow-subtle);
  border: 1px solid #E5E7EB;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.next-step-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-medium);
}
.next-step-card h4 {
  color: var(--color-primary);
  font-size: 1.05rem;
  margin-bottom: 0.5rem;
}
.next-step-card p {
  font-size: 0.9rem;
  color: #4B5563;
  margin-bottom: 0.75rem;
}
.next-step-card a { font-weight: 600; font-size: 0.9rem; }

/* Founder / expert quote (E-E-A-T byline) */
.founder-quote {
  background: var(--color-white);
  border-left: 4px solid var(--color-secondary);
  border-radius: 6px;
  padding: 1.25rem 1.5rem;
  margin: 2rem 0;
  box-shadow: var(--shadow-subtle);
  font-style: italic;
  color: #374151;
}
.founder-quote p { margin: 0 0 0.75rem; }
.founder-quote cite {
  font-style: normal;
  font-weight: 600;
  color: var(--color-primary);
  font-size: 0.9rem;
}

/* Free-tool promo actions — wrap instead of overflowing on narrow phones */
.promo-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.promo-btn {
  display: inline-block;
  padding: 0.7rem 1.4rem;
  border-radius: 6px;
  font-weight: 600;
  text-decoration: none;
}
@media (max-width: 400px) {
  .promo-actions { flex-direction: column; align-items: stretch; }
  .promo-btn { white-space: normal; text-align: center; }
}

/* Lead-form trust microcopy + nurture opt-in */
.form-trust {
  font-size: 0.8rem;
  color: #6B7280;
  text-align: center;
  margin-top: 0.75rem;
  margin-bottom: 0;
}
.reminder-check {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  margin-bottom: 1rem;
}
.reminder-check input[type="checkbox"] {
  margin-top: 0.25rem;
  width: auto;
  flex-shrink: 0;
}
.reminder-check label {
  font-size: 0.85rem;
  color: #4B5563;
  font-weight: 400;
}

/* Objection-handling mini FAQ under forms */
.mini-faq .faq-question { padding: 0.9rem 1rem; font-size: 0.92rem; }
.mini-faq .faq-answer { padding: 0 1rem; font-size: 0.88rem; }
.mini-faq .faq-item.active .faq-answer,
.mini-faq details[open] .faq-answer {
  padding: 0.9rem 1rem;
  max-height: 400px;
  border-top-color: #E5E7EB;
}

/* Mobile sticky CTA bar (pages that include the bar get body.has-mobile-cta) */
.mobile-cta-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9998;
  display: flex;
  gap: 0.75rem;
  padding: 0.6rem 0.9rem calc(0.6rem + env(safe-area-inset-bottom));
  background: var(--color-white);
  border-top: 2px solid var(--color-secondary);
  box-shadow: 0 -4px 16px rgba(10, 47, 84, 0.15);
}
.mobile-cta-bar .btn-cta {
  flex: 1.4;
  min-height: 44px;
  padding: 0.6rem 1rem;
}
.mobile-cta-bar .mcb-wa {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #117E3F;
  color: #fff;
  font-weight: 700;
  border-radius: 6px;
  text-decoration: none;
  min-height: 44px;
}
@media (min-width: 768px) {
  .mobile-cta-bar { display: none !important; }
}
/* Author display:flex beats the UA [hidden] rule — enforce it explicitly */
.mobile-cta-bar[hidden] { display: none !important; }
@media (max-width: 767px) {
  body.has-mobile-cta .wa-float { display: none; } /* replaced by the sticky bar's WhatsApp button */
}

/* Accessible FAQ trigger buttons (converted from div onClick) */
button.faq-question {
  appearance: none;
  background: none;
  border: 0;
  width: 100%;
  text-align: left;
  font-family: inherit;
  font-size: inherit;
  letter-spacing: inherit;
  color: inherit;
}
.faq-question span {
  display: inline-block;
  transition: transform 0.3s ease;
}
.faq-item.active .faq-question span { transform: rotate(45deg); }

/* Motion safety for newly shared animated components */
@media (prefers-reduced-motion: reduce) {
  .next-step-card,
  .faq-question span { transition: none; }
  .next-step-card:hover { transform: none; }
}


/* === WhatsApp Lead Form Enhancements === */
.form-field {
  margin-bottom: 1rem;
}
.form-field label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--color-primary);
  margin-bottom: 0.35rem;
}
.form-field input,
.form-field textarea {
  width: 100%;
  padding: 0.65rem 0.85rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  font-family: var(--font-primary);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  background: var(--color-white);
}
.form-field input:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--color-secondary);
  box-shadow: 0 0 0 3px rgba(4, 182, 218, 0.15);
}
.form-field input[style*="border-color: #C62828"],
.form-field input:invalid:not(:placeholder-shown) {
  border-color: var(--color-error);
  box-shadow: 0 0 0 3px rgba(198, 40, 40, 0.1);
}
.required {
  color: var(--color-error);
  font-weight: 700;
}
.form-trust {
  font-size: 0.8rem;
  color: #6B7280;
  margin-top: 0.75rem;
  text-align: center;
}
#wa-submit-btn:disabled {
  opacity: 0.7;
  cursor: wait;
}

/* === Service Page Shared Styles (extracted from 16 service pages) === */

/* Service Hero Banner */
.service-hero {
    background: linear-gradient(135deg, var(--color-primary) 0%, #082543 100%);
    color: var(--color-white);
    padding: 4rem 0;
    border-bottom: 4px solid var(--color-secondary);
}
.service-hero h1 {
    color: var(--color-white);
    font-size: 2.4rem;
    margin-bottom: 1rem;
}
.service-hero p {
    font-size: 1.1rem;
    opacity: 0.9;
    max-width: 800px;
}

/* Two-Column Grid Layout */
.grid-layout {
    display: grid;
    grid-template-columns: 1.3fr 0.7fr;
    gap: 3rem;
    margin-top: 3rem;
}
@media (max-width: 991px) {
    .grid-layout { grid-template-columns: 1fr; }
}

/* Checklist Box */
.checklist-box {
    background-color: #F0FDF4;
    border-left: 4px solid var(--color-success);
    padding: 1.5rem;
    border-radius: 4px;
    margin: 2rem 0;
}
.checklist-box h4 {
    color: var(--color-primary);
    margin-bottom: 0.75rem;
    font-size: 1.1rem;
}
.checklist-box ul {
    list-style-type: none;
    padding-left: 0;
}
.checklist-box li {
    margin-bottom: 0.5rem;
    padding-left: 1.5rem;
    position: relative;
    font-size: 0.95rem;
}
.checklist-box li::before {
    content: "\2713";
    position: absolute;
    left: 0;
    color: var(--color-success);
    font-weight: bold;
}

/* Process Flow Steps */
.process-flow { margin: 2.5rem 0; }
.process-flow .process-step {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}
.step-num {
    background-color: var(--color-secondary);
    color: var(--color-white);
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    flex-shrink: 0;
}
.step-content h4 {
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
}
.step-content p {
    font-size: 0.95rem;
    color: #4B5563;
}

/* Alert Orange Warning Box */
.alert-orange {
    background-color: #FFF7ED;
    border-left: 4px solid var(--color-cta);
    padding: 1.5rem;
    border-radius: 4px;
    margin: 2rem 0;
}
.alert-orange h4 {
    color: #C2410C;
    margin-bottom: 0.5rem;
}

/* Facts Grid */
.facts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}
.fact-card {
    background: var(--color-white);
    border-radius: 8px;
    padding: 1.5rem;
    border-top: 4px solid var(--color-secondary);
    box-shadow: var(--shadow-subtle);
}
.fact-card h4 {
    color: var(--color-primary);
    font-size: 1rem;
    margin-bottom: 0.5rem;
}
.fact-card p {
    font-size: 0.9rem;
    color: #4B5563;
}

/* Reference Links Box */
.ref-links {
    background: var(--color-white);
    border-radius: 8px;
    padding: 1.5rem;
    box-shadow: var(--shadow-subtle);
    border: 1px solid #E5E7EB;
    margin: 2rem 0;
}
.ref-links h3 {
    font-size: 1.15rem;
    margin-bottom: 1rem;
    border-bottom: 2px solid var(--color-secondary);
    padding-bottom: 0.5rem;
}
.ref-links ul {
    list-style-type: none;
    padding-left: 0;
}
.ref-links li {
    margin-bottom: 0.75rem;
    padding-left: 1.5rem;
    position: relative;
    font-size: 0.95rem;
}
.ref-links li::before {
    content: "\2192";
    position: absolute;
    left: 0;
    color: var(--color-secondary);
    font-weight: bold;
}

/* Sidebar Sticky Widgets */
.sidebar-sticky { position: sticky; top: 100px; }
.widget-box {
    background: var(--color-white);
    border-radius: 8px;
    padding: 1.5rem;
    box-shadow: var(--shadow-subtle);
    margin-bottom: 2rem;
    border: 1px solid #E5E7EB;
}
.widget-box h3 {
    font-size: 1.15rem;
    margin-bottom: 1rem;
    border-bottom: 2px solid var(--color-secondary);
    padding-bottom: 0.5rem;
}
.widget-box ul {
    list-style-type: none;
    padding-left: 0;
}
.widget-box li {
    margin-bottom: 0.5rem;
    padding-left: 1.5rem;
    position: relative;
    font-size: 0.9rem;
}
.widget-box li::before {
    content: "\2192";
    position: absolute;
    left: 0;
    color: var(--color-secondary);
    font-weight: bold;
}

/* FAQ Accordion (service page variant) */
.faq-item {
    background: var(--color-white);
    border-radius: 6px;
    margin-bottom: 1rem;
    box-shadow: var(--shadow-subtle);
    overflow: hidden;
}
.faq-question {
    padding: 1.25rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--color-primary);
}
.faq-answer {
    padding: 0 1.25rem;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out, padding 0.3s ease-out;
    color: #4B5563;
    font-size: 0.95rem;
    border-top: 1px solid transparent;
}
.faq-item.active .faq-answer {
    padding: 1.25rem;
    max-height: 500px;
    border-top-color: #E5E7EB;
}

/* Entity Split Cards */
.entity-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin: 2rem 0;
}
@media (max-width: 720px) {
    .entity-split { grid-template-columns: 1fr; }
}
.entity-card {
    background: var(--color-white);
    border-radius: 8px;
    padding: 1.5rem;
    border-top: 4px solid var(--color-secondary);
    box-shadow: var(--shadow-subtle);
}
.entity-card h4 {
    color: var(--color-primary);
    margin-bottom: 0.75rem;
}
.entity-card ul {
    list-style-type: none;
    padding-left: 0;
    margin: 0;
}
.entity-card li {
    position: relative;
    padding-left: 1.4rem;
    margin-bottom: 0.5rem;
    font-size: 0.92rem;
    color: #4B5563;
}
.entity-card li::before {
    content: "\2192";
    position: absolute;
    left: 0;
    color: var(--color-secondary);
    font-weight: bold;
}

/* Key Takeaways Box */
.key-takeaways {
    background-color: #EFF6FF;
    border: 1px solid #BFDBFE;
    border-left: 4px solid var(--color-secondary);
    padding: 1.5rem;
    border-radius: 4px;
    margin: 2rem 0;
}
.key-takeaways h3 {
    color: var(--color-primary);
    margin-bottom: 0.75rem;
    font-size: 1.1rem;
}
.key-takeaways ul {
    list-style-type: none;
    padding-left: 0;
}
.key-takeaways li {
    margin-bottom: 0.5rem;
    padding-left: 1.5rem;
    position: relative;
    font-size: 0.95rem;
}
.key-takeaways li::before {
    content: "\2192";
    position: absolute;
    left: 0;
    color: var(--color-secondary);
    font-weight: bold;
}

/* Lead Form Anchor */
#lead-form { scroll-margin-top: 90px; }

/* Hero CTA Row */
.hero-cta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 1.75rem;
}

/* In-Page Table of Contents */
.toc-box {
    background: var(--color-white);
    border: 1px solid #E5E7EB;
    border-left: 4px solid var(--color-secondary);
    border-radius: 6px;
    padding: 1.25rem 1.5rem;
    margin: 2rem 0;
}
.toc-box h4 {
    color: var(--color-primary);
    margin-bottom: 0.5rem;
}
.toc-box ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
    columns: 2;
    column-gap: 2rem;
}
.toc-box li { margin-bottom: 0.35rem; font-size: 0.9rem; }
@media (max-width: 991px) {
    .toc-box { display: none; }
}

/* Mini FAQ (sidebar) */
.mini-faq { margin-top: 1rem; }
.mini-faq .faq-item { box-shadow: none; border: 1px solid #E5E7EB; }

/* Disclaimer Box */
.disclaimer-box {
    background-color: #F9FAFB;
    border: 1px solid #E5E7EB;
    border-radius: 6px;
    padding: 1.25rem;
    margin: 2rem 0;
    font-size: 0.85rem;
    color: #4B5563;
}

/* Data Tables */
.doc-table, .port-table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5rem 0;
    font-size: 0.9rem;
}
.doc-table th, .port-table th {
    background: var(--color-primary);
    color: var(--color-white);
    text-align: left;
    padding: 0.75rem 1rem;
}
.doc-table td, .port-table td {
    padding: 0.65rem 1rem;
    border-bottom: 1px solid #E5E7EB;
}
.doc-table tr:nth-child(even), .port-table tr:nth-child(even) {
    background-color: #F9FAFB;
}
.port-table { background: var(--color-white); border-radius: 6px; overflow: hidden; box-shadow: var(--shadow-subtle); }
.port-table-wrap { overflow-x: auto; margin: 1.5rem 0; }

/* Info Grid */
.info-grid {
    display: grid;
    grid-template-columns: 1fr
/* === Service Page Shared Styles (extracted from 16 service pages) === */

/* Service Hero Banner */
.service-hero {
    background: linear-gradient(135deg, var(--color-primary) 0%, #082543 100%);
    color: var(--color-white);
    padding: 4rem 0;
    border-bottom: 4px solid var(--color-secondary);
}
.service-hero h1 { color: var(--color-white); font-size: 2.4rem; margin-bottom: 1rem; }
.service-hero p { font-size: 1.1rem; opacity: 0.9; max-width: 800px; }

/* Two-Column Grid Layout */
.grid-layout { display: grid; grid-template-columns: 1.3fr 0.7fr; gap: 3rem; margin-top: 3rem; }
@media (max-width: 991px) { .grid-layout { grid-template-columns: 1fr; } }

/* Checklist Box */
.checklist-box { background-color: #F0FDF4; border-left: 4px solid var(--color-success); padding: 1.5rem; border-radius: 4px; margin: 2rem 0; }
.checklist-box h4 { color: var(--color-primary); margin-bottom: 0.75rem; font-size: 1.1rem; }
.checklist-box ul { list-style-type: none; padding-left: 0; }
.checklist-box li { margin-bottom: 0.5rem; padding-left: 1.5rem; position: relative; font-size: 0.95rem; }
.checklist-box li::before { content: "\2713"; position: absolute; left: 0; color: var(--color-success); font-weight: bold; }



/* Alert Orange Warning Box */
.alert-orange { background-color: #FFF7ED; border-left: 4px solid var(--color-cta); padding: 1.5rem; border-radius: 4px; margin: 2rem 0; }
.alert-orange h4 { color: #C2410C; margin-bottom: 0.5rem; }

/* Facts Grid */
.facts-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1.5rem; margin: 2rem 0; }
.fact-card { background: var(--color-white); border-radius: 8px; padding: 1.5rem; border-top: 4px solid var(--color-secondary); box-shadow: var(--shadow-subtle); }
.fact-card h4 { color: var(--color-primary); font-size: 1rem; margin-bottom: 0.5rem; }
.fact-card p { font-size: 0.9rem; color: #4B5563; }

/* Reference Links Box */
.ref-links { background: var(--color-white); border-radius: 8px; padding: 1.5rem; box-shadow: var(--shadow-subtle); border: 1px solid #E5E7EB; margin: 2rem 0; }
.ref-links h3 { font-size: 1.15rem; margin-bottom: 1rem; border-bottom: 2px solid var(--color-secondary); padding-bottom: 0.5rem; }
.ref-links ul { list-style-type: none; padding-left: 0; }
.ref-links li { margin-bottom: 0.75rem; padding-left: 1.5rem; position: relative; font-size: 0.95rem; }
.ref-links li::before { content: "\2192"; position: absolute; left: 0; color: var(--color-secondary); font-weight: bold; }

/* Sidebar Sticky Widgets */
.sidebar-sticky { position: sticky; top: 100px; }
.widget-box { background: var(--color-white); border-radius: 8px; padding: 1.5rem; box-shadow: var(--shadow-subtle); margin-bottom: 2rem; border: 1px solid #E5E7EB; }
.widget-box h3 { font-size: 1.15rem; margin-bottom: 1rem; border-bottom: 2px solid var(--color-secondary); padding-bottom: 0.5rem; }
.widget-box ul { list-style-type: none; padding-left: 0; }
.widget-box li { margin-bottom: 0.5rem; padding-left: 1.5rem; position: relative; font-size: 0.9rem; }
.widget-box li::before { content: "\2192"; position: absolute; left: 0; color: var(--color-secondary); font-weight: bold; }

/* FAQ Accordion (service page variant) */
.faq-item { background: var(--color-white); border-radius: 6px; margin-bottom: 1rem; box-shadow: var(--shadow-subtle); overflow: hidden; }
.faq-question { padding: 1.25rem; font-weight: 600; cursor: pointer; display: flex; justify-content: space-between; align-items: center; color: var(--color-primary); min-height: 3.2rem; }
.faq-answer { padding: 0 1.25rem; max-height: 0; overflow: hidden; transition: max-height 0.3s ease-out, padding 0.3s ease-out; color: #4B5563; font-size: 0.95rem; border-top: 1px solid transparent; }
.faq-item.active .faq-answer { padding: 1.25rem; max-height: 500px; border-top-color: #E5E7EB; }

/* Entity Split Cards */
.entity-split { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; margin: 2rem 0; }
@media (max-width: 720px) { .entity-split { grid-template-columns: 1fr; } }
.entity-card { background: var(--color-white); border-radius: 8px; padding: 1.5rem; border-top: 4px solid var(--color-secondary); box-shadow: var(--shadow-subtle); }
.entity-card h4 { color: var(--color-primary); margin-bottom: 0.75rem; }
.entity-card ul { list-style-type: none; padding-left: 0; margin: 0; }
.entity-card li { position: relative; padding-left: 1.4rem; margin-bottom: 0.5rem; font-size: 0.92rem; color: #4B5563; }
.entity-card li::before { content: "\2192"; position: absolute; left: 0; color: var(--color-secondary); font-weight: bold; }

/* Key Takeaways Box */
.key-takeaways { background-color: #EFF6FF; border: 1px solid #BFDBFE; border-left: 4px solid var(--color-secondary); padding: 1.5rem; border-radius: 4px; margin: 2rem 0; }
.key-takeaways h3 { color: var(--color-primary); margin-bottom: 0.75rem; font-size: 1.1rem; }
.key-takeaways ul { list-style-type: none; padding-left: 0; }
.key-takeaways li { margin-bottom: 0.5rem; padding-left: 1.5rem; position: relative; font-size: 0.95rem; }
.key-takeaways li::before { content: "\2192"; position: absolute; left: 0; color: var(--color-secondary); font-weight: bold; }

/* Lead Form Anchor */
#lead-form { scroll-margin-top: 90px; }

/* Hero CTA Row */
.hero-cta-row { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 1.75rem; }

/* In-Page Table of Contents */
.toc-box { background: var(--color-white); border: 1px solid #E5E7EB; border-left: 4px solid var(--color-secondary); border-radius: 6px; padding: 1.25rem 1.5rem; margin: 2rem 0; }
.toc-box h4 { color: var(--color-primary); margin-bottom: 0.5rem; }
.toc-box ul { list-style-type: none; padding: 0; margin: 0; columns: 2; column-gap: 2rem; }
.toc-box li { margin-bottom: 0.35rem; font-size: 0.9rem; }
@media (max-width: 991px) { .toc-box { display: none; } }

/* Mini FAQ (sidebar) */
.mini-faq { margin-top: 1rem; }
.mini-faq .faq-item { box-shadow: none; border: 1px solid #E5E7EB; }

/* Disclaimer Box */
.disclaimer-box { background-color: #F9FAFB; border: 1px solid #E5E7EB; border-radius: 6px; padding: 1.25rem; margin: 2rem 0; font-size: 0.85rem; color: #4B5563; }

/* Data Tables */
.doc-table, .port-table { width: 100%; border-collapse: collapse; margin: 1.5rem 0; font-size: 0.9rem; }
.doc-table th, .port-table th { background: var(--color-primary); color: var(--color-white); text-align: left; padding: 0.75rem 1rem; }
.doc-table td, .port-table td { padding: 0.65rem 1rem; border-bottom: 1px solid #E5E7EB; }
.doc-table tr:nth-child(even), .port-table tr:nth-child(even) { background-color: #F9FAFB; }
.port-table { background: var(--color-white); border-radius: 6px; overflow: hidden; box-shadow: var(--shadow-subtle); }
.port-table-wrap { overflow-x: auto; margin: 1.5rem 0; }

/* Info Grid */
.info-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; margin: 1.5rem 0; }
@media (max-width: 767px) { .info-grid { grid-template-columns: 1fr; } }
.info-card { background: var(--color-white); border-radius: 8px; padding: 1.5rem; box-shadow: var(--shadow-subtle); border: 1px solid #E5E7EB; }
.info-card h4 { color: var(--color-primary); margin-bottom: 0.5rem; font-size: 1.05rem; }
.info-card p, .info-card li { font-size: 0.9rem; color: #4B5563; }

/* Glossary Terms */
.glossary-term { margin-bottom: 0.75rem; }
.glossary-term strong { color: var(--color-primary); }
.glossary-term p { font-size: 0.9rem; color: #4B5563; margin-top: 0.15rem; }

/* Mobile Sticky CTA Bar */
.mobile-cta-bar { position: fixed; bottom: 0; left: 0; right: 0; background: var(--color-primary); padding: 0.75rem 1rem; display: flex; gap: 0.75rem; justify-content: center; align-items: center; z-index: 999; box-shadow: 0 -4px 12px rgba(0,0,0,0.15); }
.mobile-cta-bar[hidden] { display: none; }
@media (min-width: 992px) { .mobile-cta-bar { display: none !important; } }
.mobile-cta-bar .btn-cta { padding: 0.6rem 1.2rem; font-size: 0.9rem; min-height: 40px; }
.mobile-cta-bar .mcb-wa { display: inline-flex; align-items: center; gap: 0.4rem; background: #25D366; color: #fff; font-weight: 700; padding: 0.6rem 1.2rem; border-radius: 6px; font-size: 0.9rem; text-decoration: none; }

/* Promo Actions */
.promo-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.promo-btn { display: inline-flex; align-items: center; gap: 0.4rem; padding: 0.6rem 1.2rem; border-radius: 6px; font-weight: 700; font-size: 0.85rem; text-decoration: none; color: #fff; transition: opacity 0.2s ease; }
.promo-btn:hover { opacity: 0.85; color: #fff; }
@media (max-width: 600px) { .promo-actions { flex-direction: column; } .promo-btn { width: 100%; justify-content: center; } }
