/* ============================================
   3i Global Tech — Clean Production Stylesheet
   ============================================ */

:root {
  --bg:        #FFFFFF;
  --bg-2:      #F9FAFB;
  --bg-3:      #F3F4F6;
  /* Legacy variable aliases for existing pages */
  --dark:      #FFFFFF;
  --dark-2:    #F9FAFB;
  --dark-3:    #F3F4F6;
  --primary:   #006A4E;
  --accent:    #F42A41;
  --gradient:  linear-gradient(135deg, #006A4E 0%, #0A3161 100%);
  --text:      #111827;
  --text-2:    #374151;
  --text-muted:#6B7280;
  --border:    #E5E7EB;
  --border-2:  #D1D5DB;
  --blue:      #006A4E;
  --blue-dark: #0A3161;
  --blue-light:#E6F2EE;
  --gold:      #F42A41;
  --gold-light:#FDEAEC;
  --radius:    8px;
  --radius-lg: 12px;
  --shadow:    0 1px 3px rgba(0,0,0,0.08), 0 1px 2px rgba(0,0,0,0.05);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.08);
}

/* Reset */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--bg);
  color: var(--text);
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }

/* Prevent grid/flex children from overflowing */
.grid-2 > *, .grid-3 > *, .grid-4 > *, .process-steps > * { min-width: 0; }
.container { width: 100%; }
iframe { max-width: 100%; }

/* Accessibility */
.skip-link { position: absolute; top: -40px; left: 0; background: var(--blue); color: #fff; padding: 8px 16px; z-index: 9999; border-radius: 0 0 6px 0; transition: top .2s; text-decoration: none; font-size: .85rem; font-weight: 600; }
.skip-link:focus { top: 0; }
*:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }

/* Scroll progress */
.scroll-progress { position: fixed; top: 0; left: 0; height: 2px; background: var(--blue); z-index: 9999; width: 0%; transition: width .1s; }

/* Typography */
h1 { font-size: clamp(2rem, 4.5vw, 3.25rem); font-weight: 700; line-height: 1.15; letter-spacing: -.025em; color: var(--text); }
h2 { font-size: clamp(1.6rem, 3vw, 2.25rem); font-weight: 700; line-height: 1.2; letter-spacing: -.02em; color: var(--text); }
h3 { font-size: 1.2rem; font-weight: 600; line-height: 1.3; color: var(--text); }
h4 { font-size: 1rem; font-weight: 600; color: var(--text); }
p  { color: var(--text-muted); line-height: 1.75; }
strong { color: var(--text); font-weight: 600; }

.label {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.label-blue { color: var(--blue); }
.label-gold { color: var(--gold); }

/* Container */
.container { max-width: 1100px; margin: 0 auto; padding: 0 24px; }
.container-sm { max-width: 720px; margin: 0 auto; padding: 0 24px; }

/* Sections */
.section { padding: 80px 0; }
.section-sm { padding: 48px 0; }
.section-bordered { border-top: 1px solid var(--border); }
.section-bg { background: var(--bg-2); }

/* ── Navigation ── */
nav {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255,255,255,0.97);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(8px);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
  gap: 32px;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}
.nav-logo-mark {
  width: 32px;
  height: 32px;
  background: var(--blue);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .85rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: -.02em;
}
.nav-logo-name {
  font-size: .95rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -.01em;
}
.nav-logo-sub {
  font-size: .72rem;
  color: var(--text-muted);
  font-weight: 400;
  display: block;
  margin-top: -2px;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
  flex: 1;
  justify-content: center;
}
.nav-links a {
  font-size: .875rem;
  font-weight: 500;
  color: var(--text-2);
  text-decoration: none;
  padding: 6px 12px;
  border-radius: 6px;
  transition: background .15s, color .15s;
}
.nav-links a:hover { background: var(--bg-3); color: var(--text); }
.nav-links a.active { color: var(--blue); font-weight: 600; }
.nav-cta {
  background: var(--blue) !important;
  color: #fff !important;
  padding: 8px 18px !important;
  border-radius: 7px !important;
  font-weight: 600 !important;
  font-size: .875rem !important;
  white-space: nowrap;
}
.nav-cta:hover { background: var(--blue-dark) !important; }
.nav-mobile-btn { display: none; background: none; border: 1px solid var(--border); padding: 6px 10px; border-radius: 6px; cursor: pointer; font-size: 1rem; color: var(--text-2); }

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: .9rem;
  font-weight: 600;
  text-decoration: none;
  padding: 11px 22px;
  border-radius: 8px;
  border: 1.5px solid transparent;
  transition: all .15s;
  cursor: pointer;
  white-space: nowrap;
}
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: var(--blue-dark); }
.btn-outline { background: transparent; border-color: var(--border-2); color: var(--text-2); }
.btn-outline:hover { border-color: var(--text-2); background: var(--bg-3); color: var(--text); }
.btn-ghost { background: transparent; color: var(--text-2); }
.btn-ghost:hover { background: var(--bg-3); color: var(--text); }
.btn-lg { padding: 13px 28px; font-size: .95rem; }
.btn-sm { padding: 8px 16px; font-size: .82rem; }

/* ── Cards ── */
.card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: border-color .2s, box-shadow .2s;
}
.card:hover { border-color: var(--border-2); box-shadow: var(--shadow-md); }
.card-flat { background: var(--bg-2); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 28px; }

/* ── Grid Layouts ── */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.grid-4 { display: grid; grid-template-columns: repeat(4,1fr); gap: 16px; }

/* ── Divider ── */
.divider { border: none; border-top: 1px solid var(--border); margin: 0; }

/* ── Tag / Badge ── */
.tag {
  display: inline-flex;
  align-items: center;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 50px;
  border: 1px solid;
}
.tag-blue { color: var(--blue); border-color: rgba(0,106,78,.2); background: var(--blue-light); }
.tag-gold { color: var(--gold); border-color: rgba(244,42,65,.25); background: var(--gold-light); }
.tag-gray { color: var(--text-muted); border-color: var(--border); background: var(--bg-2); }

/* ── Page Hero ── */
.page-hero {
  padding: 64px 0 56px;
  border-bottom: 1px solid var(--border);
  background: var(--bg);
}
.page-hero h1 { margin-bottom: 16px; }
.page-hero p  { font-size: 1.1rem; max-width: 560px; }

/* ── Step items ── */
.step { display: flex; gap: 20px; align-items: flex-start; }
.step-num {
  width: 36px; height: 36px;
  border: 1.5px solid var(--border-2);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: .82rem; font-weight: 700; color: var(--text-2);
  flex-shrink: 0;
}

/* ── Process steps (horizontal) ── */
.process-steps { display: grid; grid-template-columns: repeat(4,1fr); gap: 0; }
.process-step { padding: 28px 24px; border-right: 1px solid var(--border); }
.process-step:last-child { border-right: none; }
.process-num { font-size: .72rem; font-weight: 700; color: var(--blue); letter-spacing: .1em; text-transform: uppercase; margin-bottom: 10px; }
.process-step h4 { margin-bottom: 8px; }
.process-step p  { font-size: .875rem; }

/* ── Feature list ── */
.feature-list { list-style: none; display: flex; flex-direction: column; gap: 14px; }
.feature-list li { display: flex; gap: 12px; align-items: flex-start; font-size: .9rem; color: var(--text-2); }
.feature-list li::before { content: ''; width: 5px; height: 5px; background: var(--blue); border-radius: 50%; margin-top: 8px; flex-shrink: 0; }

/* ── Inline link ── */
a.link { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; font-weight: 500; }
a.link:hover { color: var(--blue-dark); }

/* ── CTA band ── */
.cta-band {
  background: var(--text);
  color: #fff;
  padding: 64px 0;
  text-align: center;
}
.cta-band h2 { color: #fff; margin-bottom: 12px; }
.cta-band p  { color: rgba(255,255,255,.65); max-width: 480px; margin: 0 auto 28px; font-size: 1rem; }
.cta-band .btn-white { background: #fff; color: var(--text); border-color: #fff; }
.cta-band .btn-white:hover { background: var(--bg-3); }
.cta-band .btn-border { border-color: rgba(255,255,255,.3); color: rgba(255,255,255,.85); }
.cta-band .btn-border:hover { border-color: #fff; color: #fff; }

/* ── Footer ── */
footer {
  background: var(--bg);
  border-top: 1px solid var(--border);
  padding: 56px 0 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
}
.footer-brand p { font-size: .875rem; margin-top: 14px; color: var(--text-muted); max-width: 280px; line-height: 1.7; }
.footer-social { display: flex; gap: 10px; margin-top: 20px; }
.footer-social a {
  width: 34px; height: 34px;
  border: 1px solid var(--border);
  border-radius: 7px;
  display: flex; align-items: center; justify-content: center;
  font-size: .8rem; font-weight: 700;
  color: var(--text-muted);
  text-decoration: none;
  transition: border-color .15s, color .15s;
}
.footer-social a:hover { border-color: var(--border-2); color: var(--text); }
.footer-col h5 { font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--text); margin-bottom: 16px; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-col a { font-size: .875rem; color: var(--text-muted); text-decoration: none; transition: color .15s; }
.footer-col a:hover { color: var(--text); }
.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: .8rem;
  color: var(--text-muted);
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom a { color: var(--text-muted); text-decoration: none; }
.footer-bottom a:hover { color: var(--text); }

/* ── Trust bar ── */
.trust-bar { border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); background: var(--bg-2); padding: 14px 0; }
.trust-items { display: flex; align-items: center; justify-content: center; gap: 0; flex-wrap: wrap; }
.trust-item { display: flex; align-items: center; gap: 8px; font-size: .8rem; color: var(--text-muted); padding: 8px 20px; border-right: 1px solid var(--border); white-space: nowrap; }
.trust-item:last-child { border-right: none; }
.trust-item-dot { width: 5px; height: 5px; border-radius: 50%; background: var(--blue); flex-shrink: 0; }

/* ── Vendor tag grid ── */
.vendor-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 10px; }
.vendor-item { padding: 14px 16px; background: var(--bg-2); border: 1px solid var(--border); border-radius: var(--radius); font-size: .875rem; font-weight: 600; color: var(--text-2); }
.vendor-item span { display: block; font-size: .75rem; color: var(--text-muted); font-weight: 400; margin-top: 2px; }

/* ── Inline stat ── */
.stat-row { display: grid; grid-template-columns: repeat(4,1fr); gap: 1px; background: var(--border); border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; }
.stat-cell { background: var(--bg); padding: 24px; text-align: center; }
.stat-num { font-size: 1.6rem; font-weight: 700; color: var(--text); letter-spacing: -.02em; }
.stat-label { font-size: .75rem; color: var(--text-muted); margin-top: 4px; }

/* ── Role grid ── */
.role-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 10px; }
.role-item { padding: 16px; background: var(--bg-2); border: 1px solid var(--border); border-radius: var(--radius); }
.role-item h4 { font-size: .875rem; margin-bottom: 4px; }
.role-item p { font-size: .78rem; }

/* ── Mobile ── */
@media (max-width: 900px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr 1fr; }
  .process-steps { grid-template-columns: 1fr 1fr; }
  .process-step { border-right: none; border-bottom: 1px solid var(--border); }
  .process-step:nth-child(odd) { border-right: 1px solid var(--border); }
  .process-step:last-child { border-bottom: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .vendor-grid, .role-grid { grid-template-columns: 1fr 1fr; }
  .stat-row { grid-template-columns: 1fr 1fr; }
  .trust-items { justify-content: flex-start; }
  .trust-item { border-right: none; border-bottom: 1px solid var(--border); width: 50%; justify-content: center; }
}
@media (max-width: 640px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.5rem; }
  .section { padding: 56px 0; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .process-steps { grid-template-columns: 1fr; }
  .process-step { border-right: none; }
  .process-step:nth-child(odd) { border-right: none; }
  .footer-grid { grid-template-columns: 1fr; }
  .vendor-grid, .role-grid, .stat-row { grid-template-columns: 1fr 1fr; }
  .trust-item { width: 100%; }
  .nav-links { display: none; }
  .nav-mobile-btn { display: flex; }
  .nav-links.open {
    display: flex; flex-direction: column; position: absolute; top: 60px; left: 0; right: 0;
    background: var(--bg); border-bottom: 1px solid var(--border); padding: 16px;
    gap: 4px; z-index: 999;
  }
}

/* ============================================
   Compatibility & Additional Classes
   ============================================ */

/* Gradient text */
.gradient-text {
  background: linear-gradient(135deg, #006A4E, #0A3161);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Section tag (eyebrow label above headings) */
.section-tag {
  display: inline-flex;
  align-items: center;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--blue);
  background: var(--blue-light);
  border: 1px solid rgba(0,106,78,.2);
  padding: 5px 14px;
  border-radius: 50px;
  margin-bottom: 16px;
}

/* Section header block */
.section-header {
  margin-bottom: 48px;
  max-width: 640px;
}
.section-header h2 { margin-bottom: 12px; }
.section-header p  { font-size: 1rem; }

/* Page hero inner */
.page-hero-inner { max-width: 640px; }

/* Stats bar */
.stats-bar {
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.stats-grid .stat-cell,
.stats-grid > div {
  padding: 24px;
  border-right: 1px solid var(--border);
  text-align: center;
}
.stats-grid > div:last-child { border-right: none; }

/* Card icon */
.card-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  font-size: 1.2rem;
}
.bg-blue   { background: #E6F2EE; color: #006A4E; }
.bg-purple { background: #F5F3FF; color: #7C3AED; }
.bg-green  { background: #F0FDF4; color: #16A34A; }
.bg-orange { background: #FFF7ED; color: #EA580C; }
.bg-cyan   { background: #ECFEFF; color: #0891B2; }
.bg-pink   { background: #FDF2F8; color: #DB2777; }

/* Button variants */
.btn-gold {
  background: var(--gold);
  color: #fff;
  border-color: var(--gold);
}
.btn-gold:hover { background: #B71C30; border-color: #B71C30; }

/* Hero buttons group */
.hero-btns {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 32px;
}

/* CTA section */
.cta-section {
  background: var(--text);
  color: #fff;
  padding: 72px 0;
  text-align: center;
}
.cta-section h2 { color: #fff; margin-bottom: 12px; }
.cta-section p  { color: rgba(255,255,255,.65); max-width: 480px; margin: 0 auto 28px; }
.cta-btns {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}
.cta-bottom {
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  padding: 48px 0;
  text-align: center;
}

/* Feature check list */
.feature-check {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.feature-check li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: .9rem;
  color: var(--text-2);
}
.feature-check li::before {
  content: '✓';
  font-size: .8rem;
  font-weight: 700;
  color: var(--blue);
  background: var(--blue-light);
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
}

/* FAQ */
.faq-item {
  border-bottom: 1px solid var(--border);
}
.faq-question {
  width: 100%;
  background: none;
  border: none;
  text-align: left;
  padding: 20px 0;
  font-size: .95rem;
  font-weight: 600;
  color: var(--text);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.faq-question:hover { color: var(--blue); }
.faq-arrow { font-size: .75rem; color: var(--text-muted); transition: transform .2s; flex-shrink: 0; }
.faq-item.open .faq-arrow { transform: rotate(180deg); }
.faq-answer { display: none; padding-bottom: 20px; font-size: .9rem; color: var(--text-muted); line-height: 1.75; }
.faq-item.open .faq-answer { display: block; }

/* Case study classes */
.case-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.case-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: box-shadow .2s, border-color .2s;
}
.case-card:hover { box-shadow: var(--shadow-md); border-color: var(--border-2); }
.case-hero { background: var(--bg-2); padding: 32px; }
.case-tag {
  display: inline-flex;
  font-size: .7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  padding: 4px 10px;
  border-radius: 50px;
  background: var(--blue-light);
  color: var(--blue);
  margin-bottom: 16px;
}
.case-client { font-size: .8rem; color: var(--text-muted); margin-bottom: 8px; }
.case-results {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 16px;
}
.case-results span { font-size: .8rem; font-weight: 700; color: var(--blue); }
.case-stack {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  padding: 16px 24px;
  border-top: 1px solid var(--border);
}
.case-stack span {
  font-size: .72rem;
  padding: 3px 10px;
  background: var(--bg-3);
  border-radius: 4px;
  color: var(--text-muted);
}
.case-actions { padding: 16px 24px; border-top: 1px solid var(--border); }
.community-band {
  background: var(--blue);
  color: #fff;
  padding: 48px 0;
  text-align: center;
}
.community-band h2 { color: #fff; margin-bottom: 12px; }
.community-band p  { color: rgba(255,255,255,.7); margin-bottom: 24px; }

/* Process num circle */
.process-num {
  font-size: .72rem;
  font-weight: 700;
  color: var(--blue);
  letter-spacing: .1em;
  text-transform: uppercase;
  margin-bottom: 10px;
}

/* Responsive extras */
@media (max-width: 900px) {
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .case-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .hero-btns, .cta-btns { flex-direction: column; align-items: flex-start; }
  .cta-btns { align-items: center; }
}

/* ============================================
   JS-Injected Element Styles (main.js)
   ============================================ */

/* Page loader */
#page-loader {
  position: fixed; inset: 0; background: #fff; z-index: 99999;
  display: flex; align-items: center; justify-content: center;
  transition: opacity .4s ease;
}
#page-loader.hidden { opacity: 0; pointer-events: none; }
.loader-inner { text-align: center; }
.loader-logo {
  font-size: 2rem; font-weight: 800; color: var(--blue);
  letter-spacing: -.05em; margin-bottom: 20px;
}
.loader-bar {
  width: 120px; height: 3px; background: var(--border);
  border-radius: 2px; overflow: hidden; margin: 0 auto;
}
.loader-bar-fill {
  height: 100%; width: 0; background: var(--blue);
  border-radius: 2px; animation: loaderFill 0.9s ease forwards;
}
@keyframes loaderFill { to { width: 100%; } }

/* Toast */
#toast {
  position: fixed; bottom: 80px; left: 50%; transform: translateX(-50%) translateY(20px);
  background: var(--text); color: #fff; padding: 12px 24px;
  border-radius: 8px; font-size: .875rem; font-weight: 500;
  opacity: 0; transition: all .3s ease; z-index: 9998; white-space: nowrap;
  pointer-events: none;
}
#toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* Back to top */
#back-to-top {
  position: fixed; bottom: 24px; right: 24px;
  width: 40px; height: 40px; border-radius: 8px;
  background: var(--text); color: #fff; border: none; cursor: pointer;
  font-size: 1rem; font-weight: 700; opacity: 0; pointer-events: none;
  transition: opacity .2s, transform .2s; z-index: 9000;
  display: flex; align-items: center; justify-content: center;
}
#back-to-top.visible { opacity: 1; pointer-events: auto; }
#back-to-top:hover { background: var(--blue); }

/* Mobile CTA bar */
#mobile-cta-bar {
  display: none;
  position: fixed; bottom: 0; left: 0; right: 0;
  background: #fff; border-top: 1px solid var(--border);
  padding: 12px 16px; gap: 10px; z-index: 8999;
}
.mcta-call, .mcta-book {
  flex: 1; text-align: center; padding: 11px;
  border-radius: 8px; font-size: .875rem; font-weight: 600;
  text-decoration: none; display: block;
}
.mcta-call { background: var(--bg-3); color: var(--text); border: 1px solid var(--border); }
.mcta-book { background: var(--blue); color: #fff; }
@media (max-width: 640px) {
  #mobile-cta-bar { display: flex; }
  body { padding-bottom: 72px; }
}

/* Section reveal animation */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .5s ease, transform .5s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* Spinner */
.spinner {
  display: inline-block; width: 14px; height: 14px;
  border: 2px solid rgba(255,255,255,.3); border-top-color: #fff;
  border-radius: 50%; animation: spin .7s linear infinite;
  vertical-align: middle;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ============================================
   Tablet & Mobile Responsive Overrides
   ============================================ */

/* ── Tablet (≤768px) ── */
@media (max-width: 768px) {
  /* Nav */
  .nav-links { display: none; }
  .nav-mobile-btn { display: flex; }
  .nav-links.open {
    display: flex; flex-direction: column;
    position: fixed; top: 60px; left: 0; right: 0; bottom: 0;
    background: var(--bg); padding: 24px; gap: 6px;
    z-index: 999; overflow-y: auto;
    border-top: 1px solid var(--border);
  }
  .nav-links.open a { padding: 12px 16px; border-radius: 8px; font-size: 1rem; }
  .nav-links.open .nav-cta { display: block; text-align: center; margin-top: 8px; padding: 13px !important; }

  /* Contact page layout */
  .contact-layout { grid-template-columns: 1fr !important; gap: 32px !important; }

  /* Hero sections */
  .page-hero { padding: 40px 0 32px; }
  .page-hero h1 { font-size: 1.8rem; }
  .cta-band { padding: 48px 0; }
  .cta-band h2 { font-size: 1.6rem; }

  /* Grids collapse to single col */
  .grid-4 { grid-template-columns: 1fr 1fr !important; gap: 12px; }
  .role-grid { grid-template-columns: 1fr 1fr !important; }
  .vendor-grid { grid-template-columns: 1fr !important; }
  .stat-row { grid-template-columns: 1fr 1fr !important; }
  .stats-grid { grid-template-columns: 1fr 1fr !important; }

  /* Process steps */
  .process-steps { grid-template-columns: 1fr 1fr !important; }
  .process-step { border-right: none !important; border-bottom: 1px solid var(--border) !important; }
  .process-step:last-child { border-bottom: none !important; }

  /* Footer */
  .footer-grid { grid-template-columns: 1fr 1fr !important; gap: 32px; }
  .footer-brand { grid-column: 1 / -1; }

  /* About founder section */
  .founder-flex { flex-direction: column !important; align-items: center !important; text-align: center !important; }
  .founder-flex .founder-bio { text-align: left !important; }

  /* Trust bar */
  .trust-items { flex-direction: column; align-items: flex-start; }
  .trust-item { border-right: none !important; border-bottom: 1px solid var(--border); width: 100%; padding: 10px 0; }
  .trust-item:last-child { border-bottom: none; }

  /* Cards */
  .card, .card-flat { padding: 20px; }
  .section { padding: 48px 0; }
  .section-sm { padding: 32px 0; }
}

/* ── Mobile (≤480px) ── */
@media (max-width: 480px) {
  .container { padding: 0 16px; }
  h1 { font-size: 1.75rem !important; }
  h2 { font-size: 1.4rem !important; }
  h3 { font-size: 1.1rem; }

  .grid-2 { grid-template-columns: 1fr !important; }
  .grid-3 { grid-template-columns: 1fr !important; }
  .grid-4 { grid-template-columns: 1fr !important; }
  .role-grid { grid-template-columns: 1fr !important; }
  .stat-row { grid-template-columns: 1fr 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .process-steps { grid-template-columns: 1fr !important; }

  .footer-grid { grid-template-columns: 1fr !important; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }

  .btn-lg { padding: 12px 20px !important; font-size: .875rem !important; }
  .hero-btns, .cta-btns { flex-direction: column; width: 100%; }
  .hero-btns .btn, .cta-btns .btn { width: 100%; justify-content: center; }
  div[style*="display:flex"][style*="gap:12px"] { flex-direction: column; }
  .nav-logo img { width: 120px !important; height: 26px !important; }

  /* Zoho iframe on contact */
  iframe[src*="zohobookings"] { height: 520px !important; }
}

/* ── Hero two-column layout responsive ── */
@media (max-width: 900px) {
  .hero-two-col { grid-template-columns: 1fr !important; }
  .hero-right-card { display: none; }
}

/* ============================================
   Alignment Fixes — Full Website Cross-Check
   ============================================ */

/* Centered hero (service pages) */
.page-hero-inner {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}
.page-hero-inner h1 { margin-bottom: 16px; }
.page-hero-inner p  { max-width: 580px; margin: 0 auto 28px; }
.page-hero-inner .section-tag { display: inline-block; margin-bottom: 16px; }
.page-hero-inner .hero-btns   { justify-content: center; }

/* Section headers — centered (used by service pages) */
.section-header {
  text-align: center;
  margin: 0 auto 48px;
  max-width: 640px;
}
.section-header .section-tag { display: inline-block; margin-bottom: 12px; }
.section-header h2 { margin-bottom: 12px; }

/* Hero buttons — center by default (inline override still works) */
.hero-btns { justify-content: center; }

/* Stats bar — consistent height and alignment */
.stats-bar { padding: 0; }
.stats-grid {
  text-align: center;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin: 0;
}
.stats-grid > div {
  padding: 28px 20px;
  text-align: center;
  background: var(--bg);
}
.stat-num {
  font-size: 1.7rem;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -.025em;
  line-height: 1;
  margin-bottom: 6px;
}
.stat-label {
  font-size: .75rem;
  color: var(--text-muted);
  font-weight: 500;
  line-height: 1.4;
}

/* Feature list — handle both dot and checkmark variants */
.feature-list li { align-items: center; }
.feature-list li .feature-check {
  display: none; /* hide inline ✓ spans — ::before handles the indicator */
}

/* CTA section — consistent */
.cta-section {
  padding: 72px 0;
  text-align: center;
}
.cta-section .container { max-width: 680px; margin: 0 auto; }

/* Page sections — consistent vertical rhythm */
.page-hero {
  padding: 64px 0 56px;
}
.section-header-left {
  margin-bottom: 48px;
}
.section-header-left h2 { margin-bottom: 12px; }

/* Card alignment — consistent padding and text */
.card h3, .card-flat h3 { margin-bottom: 10px; }
.card p,  .card-flat p  { line-height: 1.7; }

/* Grid alignment */
.grid-2, .grid-3, .grid-4 { align-items: start; }

/* Footer alignment */
.footer-col ul { gap: 12px; }
.footer-col h5 { margin-bottom: 18px; }
.footer-brand p { line-height: 1.8; margin-top: 16px; }

/* Nav — consistent height */
.nav-inner { height: 64px; }

/* Consistent section borders */
.stats-bar { border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); background: var(--bg-2); }

/* Process step alignment */
.process-step { padding: 32px 28px; }
.process-num { margin-bottom: 8px; }
.process-step h4 { margin-bottom: 8px; }

/* Role item */
.role-item { padding: 18px; }
.role-item h4 { margin-bottom: 5px; }

/* Trust bar consistent */
.trust-item { font-size: .82rem; font-weight: 500; padding: 10px 24px; }

/* Gradient text — ensure consistent rendering */
.gradient-text {
  background: linear-gradient(135deg, #006A4E, #0A3161);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: inline;
}

/* Consistent container inner max-widths on text */
.container > p, .container-sm > p { max-width: 640px; }

/* WhatsApp floating button */
.whatsapp-float {
  position: fixed;
  bottom: 22px;
  right: 22px;
  z-index: 999;
  display: flex;
  align-items: center;
  gap: 10px;
  background: #25D366;
  color: #fff;
  text-decoration: none;
  padding: 14px 18px;
  border-radius: 999px;
  box-shadow: 0 6px 18px rgba(37,211,102,0.4), 0 2px 6px rgba(0,0,0,0.15);
  font-weight: 700;
  font-size: 0.92rem;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.whatsapp-float:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(37,211,102,0.5), 0 4px 10px rgba(0,0,0,0.18);
}
.whatsapp-float svg { width: 24px; height: 24px; flex-shrink: 0; }
.whatsapp-float .wa-text { display: flex; flex-direction: column; line-height: 1.2; }
.whatsapp-float .wa-text small { font-weight: 500; font-size: 0.72rem; opacity: 0.92; }
@media (max-width: 640px) {
  .whatsapp-float .wa-text { display: none; }
  .whatsapp-float { padding: 14px; }
}
