/* ==========================================================================
   Triton Technical — YMS360 Marketing Website — Master Stylesheet
   Restructured: 7-page site, coral CTAs, unified hero, tab component.
   ========================================================================== */

/* --------------------------------------------------------------------------
   0. CUSTOM PROPERTIES (Design Tokens)
   -------------------------------------------------------------------------- */
:root {
  --navy: #07111E;
  --navy-2: #0C1E35;
  --navy-3: #102843;
  --teal: #06B6D4;
  --teal-dark: #0891B2;
  --teal-10: rgba(6, 182, 212, 0.1);
  --teal-15: rgba(6, 182, 212, 0.15);
  --teal-25: rgba(6, 182, 212, 0.25);
  --cta: #2431DA;
  --cta-hover: #1a25b0;
  --cta-10: rgba(36, 49, 218, 0.1);
  --cta-25: rgba(36, 49, 218, 0.25);
  --white: #FFFFFF;
  --off-white: #F8F9FB;
  --light: #F1F5F9;
  --muted: #94A3B8;
  --dark-gray: #334155;
  --ink: #1E293B;
  --green: #10B981;
  --red: #EF4444;
  --nav-height: 72px;
  --container-max: 1280px;
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --shadow: 0 1px 3px rgba(0, 0, 0, 0.08), 0 4px 12px rgba(0, 0, 0, 0.04);
  --shadow-lg: 0 8px 30px rgba(0, 0, 0, 0.1);
}


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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background-color: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body.menu-open {
  overflow: hidden;
}

img,
svg {
  display: block;
  max-width: 100%;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Inter', sans-serif;
  line-height: 1.2;
}

a {
  color: inherit;
  text-decoration: none;
}

ul, ol {
  list-style: none;
}

button {
  font: inherit;
  cursor: pointer;
  background: none;
  border: none;
}

input, select, textarea {
  font: inherit;
}


/* --------------------------------------------------------------------------
   1. LAYOUT
   -------------------------------------------------------------------------- */
.container {
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: clamp(1rem, 4vw, 2.5rem);
  padding-right: clamp(1rem, 4vw, 2.5rem);
}

.container-narrow {
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  padding-left: clamp(1rem, 4vw, 2.5rem);
  padding-right: clamp(1rem, 4vw, 2.5rem);
}

.grid {
  display: grid;
  gap: 1.5rem;
}

.grid-1 { grid-template-columns: 1fr; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.align-center {
  align-items: center;
}


/* --------------------------------------------------------------------------
   2. TYPOGRAPHY
   -------------------------------------------------------------------------- */
.eyebrow {
  font-size: 12px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--teal);
}

.lead {
  font-size: 18px;
  color: var(--dark-gray);
  line-height: 1.6;
}

.text-teal { color: var(--teal); }
.text-coral { color: var(--cta); }
.text-blue { color: #2431DA; }
.text-center { text-align: center; }

.text-lg {
  font-size: 1.125rem;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-nav {
  position: absolute;
  top: -100%;
  left: 1rem;
  z-index: 9999;
  padding: 0.75rem 1.5rem;
  background: var(--teal);
  color: var(--white);
  font-weight: 600;
  border-radius: var(--radius-sm);
}

.skip-nav:focus {
  top: 1rem;
}


/* --------------------------------------------------------------------------
   3. NAVIGATION (header.php)
   -------------------------------------------------------------------------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--nav-height);
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 1000;
  display: flex;
  align-items: center;
}

.site-header.nav-scrolled {
  background: rgba(255, 255, 255, 0.99);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
}

.nav-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 clamp(1rem, 4vw, 2.5rem);
  width: 100%;
}

.nav-brand {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  text-decoration: none;
}

.nav-brand-logo {
  height: 40px;
  width: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-link {
  font-size: 14px;
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  color: var(--dark-gray);
  padding: 0.5rem 0;
  position: relative;
  transition: color 0.2s ease;
  background: none;
  border: none;
  cursor: pointer;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--teal);
  transition: width 0.3s ease;
}

.nav-link:hover { color: var(--teal); }
.nav-link:hover::after { width: 100%; }
.nav-link.active { color: var(--teal); }
.nav-link.active::after { width: 100%; }

.nav-cta {
  display: flex;
  align-items: center;
}

/* Hamburger */
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 28px;
  cursor: pointer;
  z-index: 1010;
  background: none;
  border: none;
  padding: 0;
}

.nav-hamburger span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
  transform-origin: center;
}

.nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }


/* --------------------------------------------------------------------------
   4. MOBILE MENU
   -------------------------------------------------------------------------- */
.mobile-menu-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 1004;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.mobile-menu-overlay.open {
  opacity: 1;
  visibility: visible;
}

.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  width: 320px;
  max-width: 85vw;
  height: 100vh;
  background: var(--navy);
  z-index: 1005;
  transform: translateX(100%);
  transition: transform 0.35s ease;
  padding: calc(var(--nav-height) + 2rem) 1.5rem 1.5rem;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
}

.mobile-menu.open { transform: translateX(0); }

.mobile-menu-links {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.mobile-menu-link {
  display: block;
  color: rgba(255, 255, 255, 0.8);
  font-size: 18px;
  font-weight: 500;
  padding: 1rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  transition: color 0.2s ease;
}

.mobile-menu-link:hover { color: var(--teal); }

.mobile-menu-cta {
  margin-top: auto;
  padding-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}


/* --------------------------------------------------------------------------
   5. BUTTONS
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 14px;
  padding: 0.7rem 1.5rem;
  border-radius: var(--radius-sm);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.25s ease;
  text-decoration: none;
  line-height: 1.4;
}

/* Primary CTA — Coral */
.btn-cta {
  background: var(--cta);
  color: var(--white);
  border-color: var(--cta);
}

.btn-cta:hover {
  background: var(--cta-hover);
  border-color: var(--cta-hover);
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(36, 49, 218, 0.35);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.3);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.5);
}

.btn-secondary {
  background: var(--teal);
  color: var(--white);
  border-color: var(--teal);
}

.btn-secondary:hover {
  background: var(--teal-dark);
  border-color: var(--teal-dark);
}

.btn-lg {
  font-size: 16px;
  padding: 0.9rem 2rem;
}

.btn-sm {
  font-size: 12px;
  padding: 0.5rem 1rem;
}

.btn-full {
  width: 100%;
  justify-content: center;
}


/* --------------------------------------------------------------------------
   6. UNIFIED HERO SYSTEM
   -------------------------------------------------------------------------- */

/* Base hero — used on all interior pages */
.hero {
  background: var(--white);
  padding-top: calc(var(--nav-height) + 3rem);
  padding-bottom: 3rem;
  position: relative;
  overflow: hidden;
}

/* Subtle dot pattern overlay for interior pages */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle, rgba(6, 182, 212, 0.04) 1px, transparent 1px);
  background-size: 24px 24px;
  pointer-events: none;
}

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

.hero h1 {
  font-size: 3.75rem;
  color: var(--ink);
  font-weight: 800;
  margin-bottom: 1rem;
}

.hero .lead {
  color: var(--dark-gray);
  max-width: 700px;
}

.hero .eyebrow {
  color: var(--teal);
  margin-bottom: 1rem;
}

.hero .hero-content.text-center .lead {
  margin-left: auto;
  margin-right: auto;
}

/* Homepage hero modifier — background image + trust bar */
.hero.hero--home {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: calc(var(--nav-height) + 2rem);
}

.hero.hero--home::before {
  /* Override dot pattern with grid pattern for homepage */
  background-image:
    linear-gradient(rgba(6, 182, 212, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(6, 182, 212, 0.03) 1px, transparent 1px);
  background-size: 60px 60px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}

.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.88);
}

.hero.hero--home .hero-content {
  max-width: 800px;
}

.hero.hero--home .hero-content .eyebrow {
  color: var(--teal);
  margin-bottom: 1.5rem;
}

.hero.hero--home .hero-content h1 {
  font-size: clamp(2.25rem, 5vw, 3.75rem);
  font-weight: 900;
  color: var(--ink);
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin-bottom: 1.25rem;
}

.hero.hero--home .hero-content .lead {
  color: var(--dark-gray);
  font-size: 1.25rem;
  max-width: 650px;
  margin-bottom: 1.5rem;
}

.hero-ctas {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* Outline button override for white hero backgrounds */
.hero .btn-outline {
  color: var(--ink);
  border-color: rgba(0, 0, 0, 0.2);
}

.hero .btn-outline:hover {
  background: rgba(0, 0, 0, 0.04);
  border-color: rgba(0, 0, 0, 0.35);
}

/* Trust Bar */
.trust-bar {
  position: relative;
  z-index: 2;
  margin-top: auto;
  padding: 1.5rem 0;
  background: var(--ink);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.trust-bar-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255, 255, 255, 0.8);
  font-size: 14px;
  font-weight: 500;
}

.trust-item svg,
.trust-item i {
  font-size: 20px;
  width: 20px;
  height: 20px;
  color: var(--teal);
}


/* --------------------------------------------------------------------------
   8. SECTIONS
   -------------------------------------------------------------------------- */
.section {
  padding: 6rem 0;
}

.section-header {
  margin-bottom: 3rem;
}

.section-header h2 {
  font-size: 3rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-top: 0.5rem;
}

.section-header .eyebrow {
  margin-bottom: 0.5rem;
}

.section-desc {
  font-size: 18px;
  color: var(--muted);
  max-width: 700px;
  margin: 1rem auto 0;
  line-height: 1.6;
}

/* Background variants */
.bg-light { background-color: var(--light); }
.bg-navy { background-color: var(--navy); }

.bg-navy h2,
.bg-navy h3,
.bg-navy p,
.bg-navy span,
.bg-navy li {
  color: var(--white);
}

.bg-navy .eyebrow { color: var(--teal); }

.bg-navy .lead,
.bg-navy .section-desc {
  color: var(--muted);
}


/* --------------------------------------------------------------------------
   9. CARDS
   -------------------------------------------------------------------------- */
.card,
.card-feature,
.card-module,
.card-trust,
.card-contact-info {
  background: var(--white);
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover,
.card-feature:hover,
.card-module:hover,
.card-trust:hover,
.card-contact-info:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.card-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--teal-10);
  border-radius: var(--radius-sm);
  color: var(--teal);
  margin-bottom: 1rem;
}

.card-icon svg,
.card-icon i {
  width: 24px;
  height: 24px;
  font-size: 24px;
}

.card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--ink);
}

.card p {
  font-size: 14px;
  color: var(--dark-gray);
  line-height: 1.6;
}

.card-highlight {
  border-left: 3px solid var(--teal);
}

.card-stat-small {
  padding: 1rem;
  text-align: center;
}

.card-featured {
  border-left: 3px solid var(--cta);
}

.card-subtitle {
  font-size: 13px;
  color: var(--muted);
  margin-top: -0.25rem;
}

/* Testimonial cards */
.card-testimonial {
  background: var(--white);
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  border-left: 3px solid var(--teal);
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.card-testimonial-lg {
  padding: 2rem;
  font-size: 1.125rem;
}

/* Dark variant cards */
.bg-navy .card,
.bg-navy .card-feature,
.bg-navy .card-module,
.bg-navy .card-trust,
.bg-navy .card-contact-info {
  background: var(--navy-2);
  border-color: rgba(255, 255, 255, 0.08);
}

.bg-navy .card h3 { color: var(--white); }
.bg-navy .card p { color: var(--muted); }


/* --------------------------------------------------------------------------
   10. CHECK LIST
   -------------------------------------------------------------------------- */
.check-list {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.check-list li {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  font-size: 16px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.85);
}

.check-list li svg,
.check-list li i {
  width: 22px;
  height: 22px;
  font-size: 22px;
  flex-shrink: 0;
  margin-top: 2px;
}

.icon-teal { color: var(--teal); }
.icon-green { color: var(--green); }
.icon-coral { color: var(--cta); }


/* --------------------------------------------------------------------------
   11. TESTIMONIALS
   -------------------------------------------------------------------------- */
.testimonial-body {
  font-size: 16px;
  color: var(--dark-gray);
  line-height: 1.6;
  font-style: italic;
}

.testimonial-body p::before {
  content: '\201C';
  color: var(--teal);
  font-size: 1.5em;
  margin-right: 2px;
}

.testimonial-author {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.testimonial-author strong {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  font-style: normal;
}

.testimonial-author span {
  font-size: 12px;
  color: var(--muted);
  font-style: normal;
}


/* --------------------------------------------------------------------------
   12. STATS BAR
   -------------------------------------------------------------------------- */
.stats-bar {
  background: var(--teal);
  padding: 3rem 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
}

.stat-number {
  font-family: 'Montserrat', sans-serif;
  font-size: 3.75rem;
  font-weight: 900;
  color: var(--white);
  line-height: 1;
}

.stat-suffix {
  font-family: 'Montserrat', sans-serif;
  font-size: 2.25rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.8);
}

.stat-label {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.8);
  font-weight: 500;
}


/* --------------------------------------------------------------------------
   14. PROCESS TIMELINE (how-it-works.php)
   -------------------------------------------------------------------------- */
.process-timeline {
  display: flex;
  flex-direction: column;
  max-width: 700px;
  margin: 2rem auto 0;
}

.process-step {
  display: flex;
  gap: 2rem;
  padding: 2rem 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.process-step:last-child { border-bottom: none; }

.step-marker { flex-shrink: 0; }
.step-content { flex: 1; }

.step-content h3 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

.step-content p {
  font-size: 16px;
  color: var(--dark-gray);
}

.step-number {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--teal);
  color: var(--white);
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}


/* --------------------------------------------------------------------------
   15. ABOUT PAGE
   -------------------------------------------------------------------------- */
.content-narrow {
  max-width: 800px;
  margin: 0 auto;
}

.timeline-narrative {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.narrative-block {
  display: flex;
  gap: 2rem;
  padding: 2rem 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.narrative-marker {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--teal-10);
  color: var(--teal);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.narrative-marker svg,
.narrative-marker i {
  width: 24px;
  height: 24px;
  font-size: 24px;
}

.narrative-content h3 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

.narrative-content p {
  color: var(--dark-gray);
  font-size: 16px;
}


/* --------------------------------------------------------------------------
   16. PLATFORM PAGE (replaces modules page)
   -------------------------------------------------------------------------- */
.modules-quick-nav {
  background: var(--light);
  padding: 2rem 0;
}

.modules-quick-nav-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}

.modules-quick-nav-item {
  font-size: 14px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  color: var(--dark-gray);
  padding: 0.5rem 1rem;
  background: var(--white);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: var(--radius-sm);
  text-decoration: none;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.modules-quick-nav-item:hover {
  border-color: var(--teal);
  color: var(--teal);
}

/* Module Sections */
.module-section {
  padding: 4rem 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.module-section:last-child { border-bottom: none; }

.module-section-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 3rem;
  align-items: center;
}

.module-section--reversed .module-section-grid { direction: rtl; }
.module-section--reversed .module-section-grid > * { direction: ltr; }

.module-image-placeholder {
  background: var(--light);
  border-radius: var(--radius-lg);
  aspect-ratio: 4 / 3;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--teal);
}

.module-image-placeholder svg,
.module-image-placeholder i {
  width: 64px;
  height: 64px;
  font-size: 64px;
  opacity: 0.4;
}

.module-section-content .eyebrow { margin-bottom: 0.5rem; }

.module-section-content h2 {
  font-size: 2.25rem;
  margin-bottom: 1rem;
}

.module-section-content > p {
  font-size: 18px;
  color: var(--dark-gray);
  margin-bottom: 1.5rem;
}

.module-features-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.module-features-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 16px;
  color: var(--dark-gray);
  line-height: 1.6;
}

.module-features-list li svg,
.module-features-list li i {
  width: 20px;
  height: 20px;
  font-size: 20px;
  color: var(--teal);
  flex-shrink: 0;
  margin-top: 2px;
}

/* Modules More */
.modules-more { padding: 4rem 0; }

.modules-more-content {
  text-align: center;
  margin-bottom: 2rem;
}

.modules-more-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.modules-more-card {
  background: var(--white);
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: var(--radius-md);
  padding: 1.5rem;
}


/* --------------------------------------------------------------------------
   16b. AUDIENCE TABS (who-we-serve.php)
   -------------------------------------------------------------------------- */
.tabs-nav {
  display: flex;
  gap: 0.5rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}

.tab-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 14px;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-sm);
  border: 2px solid rgba(0, 0, 0, 0.1);
  background: var(--white);
  color: var(--dark-gray);
  cursor: pointer;
  transition: all 0.25s ease;
}

.tab-btn:hover {
  border-color: var(--teal);
  color: var(--teal);
}

.tab-btn.active {
  background: var(--teal);
  color: var(--white);
  border-color: var(--teal);
}

.tab-btn i,
.tab-btn svg {
  width: 18px;
  height: 18px;
}

.tab-panel {
  display: none;
  animation: tabFadeIn 0.35s ease;
}

.tab-panel.active {
  display: block;
}

@keyframes tabFadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.tab-intro {
  max-width: 700px;
  margin: 0 auto 2rem;
  text-align: center;
}

.tab-intro h2 {
  font-size: 2.25rem;
  font-weight: 800;
  margin-bottom: 0.75rem;
}

.tab-intro p {
  font-size: 18px;
  color: var(--dark-gray);
}

.tab-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.tab-testimonial {
  max-width: 700px;
  margin: 0 auto;
}


/* --------------------------------------------------------------------------
   17. CONTACT PAGE / FORMS
   -------------------------------------------------------------------------- */
.contact-layout {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 3rem;
  align-items: start;
}

.contact-sidebar-col {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.form-row { margin-bottom: 1rem; }

.form-row-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.form-group label {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
}

.form-group .required { color: var(--red); }

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  font-size: 16px;
  border: 1px solid rgba(0, 0, 0, 0.15);
  border-radius: var(--radius-sm);
  background: var(--white);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px var(--teal-10);
}

.form-group textarea {
  min-height: 120px;
  resize: vertical;
}

.form-reassurance {
  font-size: 12px;
  color: var(--muted);
  text-align: center;
  margin-top: 0.5rem;
}

.contact-info-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.contact-label {
  font-size: 12px;
  color: var(--muted);
  background: rgba(148, 163, 184, 0.05);
  padding: 2px 8px;
  border-radius: 4px;
}

.contact-offices {
  font-size: 14px;
  color: var(--muted);
}


/* --------------------------------------------------------------------------
   18. FAQ
   -------------------------------------------------------------------------- */
.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.faq-item {
  background: var(--white);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.faq-trigger {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.25rem 1.5rem;
  font-family: 'Montserrat', sans-serif;
  font-size: 18px;
  font-weight: 600;
  color: var(--ink);
  text-align: left;
  cursor: pointer;
  background: none;
  border: none;
  transition: color 0.2s ease;
}

.faq-chevron {
  width: 20px;
  height: 20px;
  color: var(--teal);
  transition: transform 0.3s ease;
  flex-shrink: 0;
}

.faq-item.open .faq-chevron { transform: rotate(45deg); }

.faq-panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}

.faq-panel > div,
.faq-panel > p {
  padding: 0 1.5rem 1.25rem;
  font-size: 16px;
  color: var(--dark-gray);
  line-height: 1.6;
}


/* --------------------------------------------------------------------------
   19. CTA BAND (cta-band.php)
   -------------------------------------------------------------------------- */
.cta-band {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-3) 100%);
  padding: 5rem 0;
  text-align: center;
}

.cta-band-inner {
  max-width: 800px;
  margin: 0 auto;
}

.cta-band-content { margin-bottom: 2rem; }

.cta-band-title {
  font-size: 3rem;
  color: var(--white);
  font-weight: 800;
  margin-bottom: 0.5rem;
}

.cta-band-subtitle {
  font-size: 18px;
  color: var(--muted);
}

.cta-band-actions {
  display: flex;
  justify-content: center;
  gap: 1rem;
}


/* --------------------------------------------------------------------------
   20. PRE-FOOTER CTA (footer.php)
   -------------------------------------------------------------------------- */
.prefooter-cta {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-2) 100%);
  padding: 5rem 0;
  text-align: center;
}

.prefooter-cta-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
}

.prefooter-cta-text h2 {
  font-size: 3rem;
  color: var(--white);
  font-weight: 800;
  margin-bottom: 0.5rem;
}

.prefooter-cta-text p {
  font-size: 18px;
  color: var(--muted);
}

.prefooter-cta-actions {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  justify-content: center;
}

.prefooter-phone {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255, 255, 255, 0.7);
  font-size: 18px;
  font-weight: 500;
  transition: color 0.2s ease;
}

.prefooter-phone:hover { color: var(--teal); }

.prefooter-phone svg {
  width: 20px;
  height: 20px;
  color: var(--teal);
}


/* --------------------------------------------------------------------------
   21. FOOTER
   -------------------------------------------------------------------------- */
.site-footer {
  background: var(--navy);
  padding: 4rem 0 1.5rem;
  color: var(--muted);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 2.5rem;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-logo svg,
.logo-wordmark {
  width: 140px;
  height: auto;
}

.footer-tagline {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.6;
}

.footer-triton {
  font-size: 12px;
  color: var(--muted);
}

.footer-triton a {
  color: var(--teal);
  transition: color 0.2s ease;
}

.footer-triton a:hover { color: var(--white); }

.footer-social {
  display: flex;
  gap: 0.5rem;
  margin-top: 0.5rem;
}

.footer-social a {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--muted);
  transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.footer-social a:hover {
  color: var(--teal);
  border-color: var(--teal-25);
  background: var(--teal-10);
}

.footer-heading {
  font-size: 14px;
  font-weight: 700;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 1rem;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-links a {
  font-size: 14px;
  color: var(--muted);
  transition: color 0.2s ease;
}

.footer-links a:hover { color: var(--teal); }

.footer-contact-links li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.footer-contact-label {
  font-size: 12px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.05);
  padding: 2px 8px;
  border-radius: 4px;
}

/* Footer Bottom */
.footer-bottom {
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.footer-copyright {
  font-size: 12px;
  color: var(--muted);
}

.footer-legal {
  display: flex;
  gap: 1.5rem;
}

.footer-legal a {
  font-size: 12px;
  color: var(--muted);
  transition: color 0.2s ease;
}

.footer-legal a:hover { color: var(--teal); }


/* --------------------------------------------------------------------------
   22. BACK TO TOP
   -------------------------------------------------------------------------- */
.back-to-top {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--navy);
  border: 1px solid rgba(6, 182, 212, 0.2);
  color: var(--teal);
  z-index: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease,
              background 0.2s ease, color 0.2s ease;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  background: var(--teal);
  color: var(--white);
}

.back-to-top svg {
  width: 20px;
  height: 20px;
}


/* --------------------------------------------------------------------------
   23. ANIMATIONS
   -------------------------------------------------------------------------- */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}


/* --------------------------------------------------------------------------
   24. SPACING UTILITIES
   -------------------------------------------------------------------------- */
.mt-sm { margin-top: 0.5rem; }
.mt-md { margin-top: 1rem; }
.mt-lg { margin-top: 2rem; }
.mt-xl { margin-top: 3rem; }


/* --------------------------------------------------------------------------
   25. MIGRATION SOURCE LIST (how-it-works)
   -------------------------------------------------------------------------- */
.migration-source-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.migration-source-list span,
.migration-source-list a {
  display: inline-block;
  padding: 0.35rem 0.75rem;
  font-size: 13px;
  font-weight: 500;
  background: var(--teal-10);
  color: var(--teal);
  border-radius: var(--radius-sm);
  border: 1px solid var(--teal-15);
}


/* ==========================================================================
   26. RESPONSIVE BREAKPOINTS
   ========================================================================== */

/* --------------------------------------------------------------------------
   Tablet — max-width: 1024px
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {

  /* Navigation */
  .nav-links { display: none; }
  .nav-cta { display: none; }
  .nav-hamburger { display: flex; }

  /* Layout grids */
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }

  /* Sections */
  .section { padding: 3rem 0; }
  .section-header h2 { font-size: 2.25rem; }

  /* Hero */
  .hero h1 { font-size: 2.75rem; }
  .hero .lead { font-size: 16px; }

  /* Trust Bar */
  .trust-bar-grid { grid-template-columns: repeat(2, 1fr); }

  /* Stats */
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-number { font-size: 2.75rem; }

  /* Module sections */
  .module-section-grid { grid-template-columns: 1fr; gap: 2rem; }
  .module-section--reversed .module-section-grid { direction: ltr; }
  .module-section-content h2 { font-size: 1.75rem; }

  /* Contact */
  .contact-layout { grid-template-columns: 1fr; }

  /* Footer */
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-brand { grid-column: 1 / -1; }

  /* CTA Band */
  .cta-band-title { font-size: 2.25rem; }
  .prefooter-cta-text h2 { font-size: 2.25rem; }

  /* Tabs */
  .tab-grid { grid-template-columns: 1fr; }
  .tab-intro h2 { font-size: 1.75rem; }
}


/* --------------------------------------------------------------------------
   Mobile — max-width: 767px
   -------------------------------------------------------------------------- */
@media (max-width: 767px) {

  /* Layout grids */
  .grid-2,
  .grid-3,
  .grid-4 { grid-template-columns: 1fr; }

  /* Section headings */
  .section-header h2 { font-size: 1.75rem; }

  /* Hero */
  .hero h1 { font-size: 2rem; }
  .hero .lead { font-size: 15px; }
  .hero.hero--home .hero-content .lead { font-size: 1rem; }
  .hero-ctas { flex-direction: column; }
  .hero-ctas .btn { width: 100%; justify-content: center; }

  /* Stats */
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
  .stat-number { font-size: 2.25rem; }
  .stat-suffix { font-size: 1.5rem; }

  /* Modules */
  .modules-more-grid { grid-template-columns: 1fr; }

  /* Forms */
  .form-row-2 { grid-template-columns: 1fr; }

  /* CTA Band */
  .cta-band-title { font-size: 1.75rem; }
  .cta-band-actions { flex-direction: column; align-items: center; }

  /* Pre-footer CTA */
  .prefooter-cta-text h2 { font-size: 1.75rem; }
  .prefooter-cta-actions { flex-direction: column; }

  /* Footer */
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom-inner { flex-direction: column; text-align: center; gap: 1rem; }
  .footer-legal { justify-content: center; }

  /* FAQ */
  .faq-trigger { font-size: 16px; padding: 1rem 1.25rem; }

  /* Process Timeline */
  .process-step { flex-direction: column; gap: 1rem; }

  /* About Narrative */
  .narrative-block { flex-direction: column; gap: 1rem; }

  /* Tabs */
  .tabs-nav { gap: 0.35rem; }
  .tab-btn { font-size: 13px; padding: 0.6rem 1rem; }
}
