/* ==========================================================================
   AI PINNACLE — Enterprise Design System & Modern Stylesheet
   Modern, Mobile-First, Accessible (WCAG AA/AAA Compliant), Zero Framework Bloat
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Design Tokens & Root Variables
   -------------------------------------------------------------------------- */
:root {
  /* Color Palette */
  --color-bg-base: #09090b;
  --color-bg-surface: #121217;
  --color-bg-surface-elevated: #18181f;
  --color-bg-card: rgba(255, 255, 255, 0.035);
  --color-bg-card-hover: rgba(255, 255, 255, 0.07);
  --color-bg-glass: rgba(14, 14, 18, 0.75);

  /* Primary & Accent Hues */
  --color-cyan: #06b6d4;
  --color-cyan-glow: #22d3ee;
  --color-cyan-dim: rgba(6, 182, 212, 0.15);
  --color-indigo: #6366f1;
  --color-indigo-glow: #818cf8;
  --color-indigo-dim: rgba(99, 102, 241, 0.15);
  --color-emerald: #10b981;
  --color-emerald-glow: #34d399;
  --color-emerald-dim: rgba(16, 185, 129, 0.15);
  --color-amber: #f59e0b;
  --color-whatsapp: #25d366;
  --color-whatsapp-hover: #22c35e;

  /* Typography Colors (WCAG AA/AAA Compliant on #09090b) */
  --text-white: #ffffff;
  --text-primary: #f4f4f5;       /* Zinc 100 — Contrast 16.5:1 */
  --text-secondary: #d4d4d8;     /* Zinc 300 — Contrast 11.5:1 */
  --text-muted: #a1a1aa;         /* Zinc 400 — Contrast 7.76:1 (Far exceeds 4.5:1 AA) */
  --text-cyan: #38bdf8;          /* High-contrast Cyan — Contrast 9.8:1 */
  --text-emerald: #34d399;       /* High-contrast Emerald — Contrast 10.2:1 */

  /* Borders & Dividers */
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-default: rgba(255, 255, 255, 0.12);
  --border-strong: rgba(255, 255, 255, 0.2);
  --border-cyan: rgba(6, 182, 212, 0.4);
  --border-indigo: rgba(99, 102, 241, 0.4);

  /* Elevation Shadows & Glows */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.4);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.5);
  --shadow-lg: 0 16px 48px rgba(0, 0, 0, 0.6);
  --shadow-cyan-glow: 0 0 40px rgba(6, 182, 212, 0.2);
  --shadow-indigo-glow: 0 0 40px rgba(99, 102, 241, 0.2);
  --shadow-emerald-glow: 0 0 40px rgba(16, 185, 129, 0.2);

  /* Layout & Geometry */
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;
  --touch-target: 48px;

  /* Fluid Spacing & Typography */
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;

  --font-hero: clamp(2.25rem, 5.5vw, 4.25rem);
  --font-h2: clamp(1.75rem, 3.8vw, 2.75rem);
  --font-h3: clamp(1.25rem, 2.2vw, 1.75rem);
  --font-body: clamp(0.9375rem, 1.1vw, 1.0625rem);
  --font-sub: clamp(0.8125rem, 1vw, 0.875rem);

  /* Container Widths */
  --container-max: 1280px;
  --container-padding: clamp(1rem, 3vw, 2rem);
  --header-height: 76px;
}

/* --------------------------------------------------------------------------
   2. Reset & Baseline
   -------------------------------------------------------------------------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  border: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  color-scheme: dark;
  -webkit-text-size-adjust: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  min-height: 100vh;
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  font-family: var(--font-sans);
  font-size: var(--font-body);
  line-height: 1.6;
  color: var(--text-primary);
  background-color: var(--color-bg-base);
  background-image:
    radial-gradient(ellipse 80% 50% at 20% 10%, rgba(6, 182, 212, 0.08) 0%, transparent 60%),
    radial-gradient(ellipse 60% 40% at 85% 30%, rgba(99, 102, 241, 0.07) 0%, transparent 50%),
    radial-gradient(ellipse 50% 30% at 40% 85%, rgba(16, 185, 129, 0.05) 0%, transparent 50%);
  background-repeat: no-repeat;
  background-attachment: fixed;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}

button, input, select, textarea {
  font: inherit;
  color: inherit;
  background: transparent;
  border-radius: 0;
}

button {
  cursor: pointer;
  touch-action: manipulation;
}

ul, ol {
  list-style: none;
}

/* --------------------------------------------------------------------------
   3. Accessibility & Focus Utilities
   -------------------------------------------------------------------------- */
.skip-link {
  position: absolute;
  top: -100px;
  left: 1rem;
  z-index: 9999;
  background: var(--color-cyan);
  color: #000;
  font-weight: 700;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-sm);
  transition: top 0.2s ease;
}

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

:focus-visible {
  outline: 2px solid var(--color-cyan);
  outline-offset: 3px;
}

.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;
}

/* --------------------------------------------------------------------------
   4. Layout Containers & Grid
   -------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--container-padding);
}

.section {
  position: relative;
  padding-block: clamp(3.5rem, 7vw, 6.5rem);
}

.section-divider {
  border-top: 1px solid var(--border-subtle);
}

.section-header {
  text-align: center;
  max-width: 760px;
  margin-inline: auto;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}

.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.9rem;
  border-radius: var(--radius-full);
  background: var(--color-cyan-dim);
  border: 1px solid var(--border-cyan);
  color: var(--text-cyan);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 1rem;
}

.section-badge.indigo {
  background: var(--color-indigo-dim);
  border-color: var(--border-indigo);
  color: var(--color-indigo-glow);
}

.section-badge.emerald {
  background: var(--color-emerald-dim);
  border-color: rgba(16, 185, 129, 0.3);
  color: var(--color-emerald-glow);
}

.section-title {
  font-size: var(--font-h2);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: var(--text-white);
  margin-bottom: 1rem;
}

.section-subtitle {
  font-size: var(--font-body);
  color: var(--text-secondary);
  line-height: 1.65;
}

/* Typography Gradient */
.gradient-text {
  background: linear-gradient(135deg, #38bdf8 0%, #818cf8 50%, #34d399 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* --------------------------------------------------------------------------
   5. Buttons & Interactive Controls
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: var(--touch-target);
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 0.9375rem;
  line-height: 1;
  text-align: center;
  white-space: nowrap;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  user-select: none;
}

.btn-primary {
  background: linear-gradient(135deg, #06b6d4 0%, #0284c7 100%);
  color: #03131d;
  font-weight: 700;
  box-shadow: 0 4px 14px rgba(6, 182, 212, 0.3);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #22d3ee 0%, #0369a1 100%);
  color: #000;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(6, 182, 212, 0.45);
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-default);
  color: var(--text-primary);
  backdrop-filter: blur(12px);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--border-strong);
  color: var(--text-white);
  transform: translateY(-2px);
}

.btn-secondary:active {
  transform: translateY(0);
}

.btn-sm {
  min-height: 38px;
  padding: 0.5rem 1rem;
  font-size: 0.8125rem;
}

.btn-lg {
  min-height: 54px;
  padding: 0.9rem 2rem;
  font-size: 1.0625rem;
  border-radius: var(--radius-lg);
}

.btn-icon {
  width: var(--touch-target);
  height: var(--touch-target);
  padding: 0;
  border-radius: var(--radius-md);
}

/* --------------------------------------------------------------------------
   6. Glassmorphism Cards & Badges
   -------------------------------------------------------------------------- */
.glass-card {
  position: relative;
  background: var(--color-bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: clamp(1.25rem, 2.5vw, 2rem);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: var(--shadow-sm);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
}

.glass-card::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0;
  background: radial-gradient(800px circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(6, 182, 212, 0.08), transparent 40%);
  transition: opacity 0.3s;
}

.glass-card:hover {
  border-color: var(--border-cyan);
  background: var(--color-bg-card-hover);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md), var(--shadow-cyan-glow);
}

.glass-card:hover::before {
  opacity: 1;
}

.glass-card.indigo:hover {
  border-color: var(--border-indigo);
  box-shadow: var(--shadow-md), var(--shadow-indigo-glow);
}

.glass-card.emerald:hover {
  border-color: rgba(16, 185, 129, 0.5);
  box-shadow: var(--shadow-md), var(--shadow-emerald-glow);
}

.tech-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.02em;
}

.tech-badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--color-cyan);
}

/* --------------------------------------------------------------------------
   7. Header & Navigation (Sticky Glassmorphism)
   -------------------------------------------------------------------------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-height);
  z-index: 1000;
  background: rgba(9, 9, 11, 0.82);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-subtle);
  transition: background-color 0.3s ease, border-color 0.3s ease;
}

.site-header.scrolled {
  background: rgba(9, 9, 11, 0.95);
  border-bottom-color: var(--border-default);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

/* Brand Logo */
.brand-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  font-weight: 800;
  font-size: 1.25rem;
  letter-spacing: -0.02em;
  color: var(--text-white);
  min-height: var(--touch-target);
}

.brand-logo-img {
  width: 36px;
  height: 36px;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  filter: drop-shadow(0 0 8px rgba(6, 182, 212, 0.4));
}

.brand-wordmark {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

/* Desktop Nav Links */
.desktop-nav {
  display: none;
}

@media (min-width: 992px) {
  .desktop-nav {
    display: flex;
    align-items: center;
    gap: 0.25rem;
  }
}

.nav-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  padding: 0.5rem 0.85rem;
  color: var(--text-secondary);
  font-size: 0.875rem;
  font-weight: 500;
  border-radius: var(--radius-sm);
  transition: color 0.2s ease, background-color 0.2s ease;
}

.nav-link:hover {
  color: var(--text-white);
  background: rgba(255, 255, 255, 0.05);
}

.nav-link.active {
  color: var(--color-cyan-glow);
  font-weight: 600;
}

.nav-link.active::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0.85rem;
  right: 0.85rem;
  height: 2px;
  background: var(--color-cyan);
  border-radius: var(--radius-full);
}

/* Header Utilities */
.header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.header-status-badge {
  display: none;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  font-size: 0.75rem;
  color: var(--text-muted);
  font-family: var(--font-mono);
}

@media (min-width: 1200px) {
  .header-status-badge {
    display: inline-flex;
  }
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-emerald);
  box-shadow: 0 0 8px var(--color-emerald);
  animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.85); }
}

.lang-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.65rem;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-secondary);
}

/* Mobile Hamburger Button */
.mobile-nav-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: var(--touch-target);
  height: var(--touch-target);
  border-radius: var(--radius-md);
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  /* Fix SSR Opacity bug: Visible by default */
  opacity: 1 !important;
  transform: none !important;
}

@media (min-width: 992px) {
  .mobile-nav-toggle {
    display: none;
  }
}

.hamburger-icon {
  width: 22px;
  height: 22px;
  transition: transform 0.25s ease;
}

.mobile-nav-toggle[aria-expanded="true"] .hamburger-icon {
  transform: rotate(90deg);
}

/* Mobile Drawer */
.mobile-drawer {
  position: fixed;
  top: var(--header-height);
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(9, 9, 11, 0.98);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  padding: 1.5rem var(--container-padding) 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow-y: auto;
  z-index: 999;
  border-top: 1px solid var(--border-subtle);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s ease;
  transform: translateY(-100%);
  opacity: 0;
  pointer-events: none;
}

.mobile-drawer.is-open {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.mobile-nav-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.mobile-nav-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 1rem;
  border-radius: var(--radius-md);
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--text-primary);
  border: 1px solid transparent;
}

.mobile-nav-link:hover,
.mobile-nav-link:active {
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--border-subtle);
  color: var(--color-cyan-glow);
}

.mobile-drawer-footer {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  border-top: 1px solid var(--border-subtle);
  padding-top: 1.5rem;
}

/* --------------------------------------------------------------------------
   8. Hero Section
   -------------------------------------------------------------------------- */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: calc(var(--header-height) + 2rem);
  padding-bottom: 4rem;
  overflow: hidden;
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 960px;
  margin-inline: auto;
  position: relative;
  z-index: 10;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.45rem 1rem;
  border-radius: var(--radius-full);
  background: rgba(6, 182, 212, 0.1);
  border: 1px solid rgba(6, 182, 212, 0.35);
  color: var(--color-cyan-glow);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  margin-bottom: 1.5rem;
  /* Ensure visibility regardless of JS state */
  opacity: 1 !important;
  transform: none !important;
}

.hero-headline {
  font-size: var(--font-hero);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.035em;
  color: var(--text-white);
  margin-bottom: 1.5rem;
  opacity: 1 !important;
  transform: none !important;
}

.hero-lead {
  font-size: clamp(1.0625rem, 1.8vw, 1.35rem);
  color: var(--text-secondary);
  max-width: 760px;
  line-height: 1.6;
  margin-bottom: 2.25rem;
  opacity: 1 !important;
  transform: none !important;
}

.hero-cta-group {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  width: 100%;
  max-width: 480px;
  margin-bottom: 3rem;
  opacity: 1 !important;
  transform: none !important;
}

@media (min-width: 520px) {
  .hero-cta-group {
    flex-direction: row;
    justify-content: center;
    max-width: none;
  }
}

/* Institutional Credential Banner */
.hero-credential-card {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  max-width: 820px;
  padding: 1rem 1.5rem;
  border-radius: var(--radius-lg);
  background: rgba(6, 182, 212, 0.05);
  border: 1px solid rgba(6, 182, 212, 0.25);
  text-align: left;
  opacity: 1 !important;
  transform: none !important;
}

.credential-icon {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  color: var(--color-cyan-glow);
  margin-top: 2px;
}

.credential-text {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.55;
}

.credential-link {
  color: var(--color-cyan-glow);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.credential-link:hover {
  color: var(--text-white);
}

/* Scroll indicator */
.hero-scroll-hint {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  margin-top: 3rem;
  color: var(--text-muted);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.scroll-mouse {
  width: 22px;
  height: 36px;
  border: 2px solid var(--border-default);
  border-radius: 12px;
  position: relative;
}

.scroll-wheel {
  width: 4px;
  height: 8px;
  background: var(--color-cyan);
  border-radius: 2px;
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  animation: scroll-bob 2s infinite ease-in-out;
}

@keyframes scroll-bob {
  0% { transform: translate(-50%, 0); opacity: 1; }
  50% { transform: translate(-50%, 10px); opacity: 0.2; }
  100% { transform: translate(-50%, 0); opacity: 1; }
}

/* --------------------------------------------------------------------------
   9. Client Ticker / Marquee
   -------------------------------------------------------------------------- */
.marquee-wrapper {
  overflow: hidden;
  position: relative;
  width: 100%;
  padding-block: 1rem;
  mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
}

.marquee-track {
  display: flex;
  gap: 3.5rem;
  width: max-content;
  animation: marquee-scroll 32s linear infinite;
}

.marquee-wrapper:hover .marquee-track,
.marquee-wrapper:focus-within .marquee-track {
  animation-play-state: paused;
}

@keyframes marquee-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.marquee-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--text-muted);
  font-size: 1.0625rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  opacity: 0.6;
  transition: opacity 0.2s ease, color 0.2s ease;
  white-space: nowrap;
}

.marquee-item:hover {
  opacity: 1;
  color: var(--text-white);
}

/* --------------------------------------------------------------------------
   10. High-Impact Performance Metrics & Geographies
   -------------------------------------------------------------------------- */
.metrics-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(1rem, 3vw, 2rem);
  text-align: center;
  /* Fix SSR Opacity bug: Fully visible */
  opacity: 1 !important;
  transform: none !important;
}

@media (min-width: 768px) {
  .metrics-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.metric-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 1.5rem 1rem;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.metric-card:hover {
  border-color: var(--border-cyan);
  transform: translateY(-2px);
}

.metric-icon {
  width: 28px;
  height: 28px;
  margin-bottom: 0.75rem;
}

.metric-val {
  font-size: clamp(2rem, 3.8vw, 3rem);
  font-weight: 800;
  line-height: 1;
  color: var(--text-white);
  font-feature-settings: "tnum";
  margin-bottom: 0.35rem;
}

.metric-label {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-secondary);
}

/* Global Footprint Flags */
.footprint-container {
  margin-top: 2.5rem;
  text-align: center;
  opacity: 1 !important;
  transform: none !important;
}

.footprint-title {
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
}

.footprint-flags {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
}

.footprint-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0.85rem;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  font-size: 0.8125rem;
  color: var(--text-secondary);
  transition: all 0.2s ease;
}

.footprint-badge:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--border-cyan);
  color: var(--text-white);
  transform: scale(1.05);
}

.flag-emoji {
  font-size: 1.15rem;
}

/* --------------------------------------------------------------------------
   11. Technology Ecosystem
   -------------------------------------------------------------------------- */
.tech-grid {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.85rem;
  max-width: 1040px;
  margin-inline: auto;
  opacity: 1 !important;
  transform: none !important;
}

.tech-item {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.65rem 1.25rem;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid var(--border-subtle);
  color: var(--text-primary);
  font-weight: 600;
  font-size: 0.875rem;
  backdrop-filter: blur(8px);
  transition: all 0.2s ease;
}

.tech-item:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--border-cyan);
  transform: translateY(-2px);
  color: var(--color-cyan-glow);
}

.tech-item-symbol {
  font-size: 1.15rem;
}

/* --------------------------------------------------------------------------
   12. Six Pillars of Engineering Excellence
   -------------------------------------------------------------------------- */
.pillars-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 640px) {
  .pillars-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .pillars-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.pillar-icon-box {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  margin-bottom: 1.25rem;
  background: var(--color-cyan-dim);
  color: var(--color-cyan-glow);
  border: 1px solid var(--border-cyan);
}

.pillar-icon-box.indigo {
  background: var(--color-indigo-dim);
  color: var(--color-indigo-glow);
  border-color: var(--border-indigo);
}

.pillar-icon-box.emerald {
  background: var(--color-emerald-dim);
  color: var(--color-emerald-glow);
  border-color: rgba(16, 185, 129, 0.3);
}

.pillar-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-white);
  margin-bottom: 0.6rem;
}

.pillar-desc {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 1.25rem;
}

.pillar-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

/* --------------------------------------------------------------------------
   13. Spotlight Flagship Products (SOVA & PrepPro)
   -------------------------------------------------------------------------- */
.spotlight-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 992px) {
  .spotlight-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.spotlight-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
}

.spotlight-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.spotlight-logo-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-default);
}

.spotlight-logo-img {
  width: auto;
  height: 48px;
  max-width: 140px;
  object-fit: contain;
}

.spotlight-title {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--text-white);
  margin-bottom: 0.35rem;
}

.spotlight-tagline {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--color-cyan-glow);
  margin-bottom: 1rem;
}

.spotlight-tagline.indigo {
  color: var(--color-indigo-glow);
}

.spotlight-desc {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 1.5rem;
}

.spotlight-features {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 1.75rem;
}

.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.875rem;
  color: var(--text-secondary);
}

.feature-icon {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  color: var(--color-cyan-glow);
  margin-top: 2px;
}

.feature-icon.indigo {
  color: var(--color-indigo-glow);
}

.spotlight-metrics-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  padding: 1rem;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
  margin-bottom: 1.5rem;
  text-align: center;
}

.spotlight-metric-val {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--text-white);
}

.spotlight-metric-label {
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--text-muted);
}

.spotlight-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: auto;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border-subtle);
}

/* --------------------------------------------------------------------------
   14. Productized Services & Transparent Pricing
   -------------------------------------------------------------------------- */
.services-filter-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 2.5rem;
}

.filter-btn {
  min-height: 42px;
  padding: 0.4rem 1rem;
  border-radius: var(--radius-full);
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text-secondary);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  transition: all 0.2s ease;
}

.filter-btn:hover {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-white);
  border-color: var(--border-default);
}

.filter-btn.active {
  background: var(--color-cyan);
  color: #000;
  border-color: var(--color-cyan);
  font-weight: 700;
}

.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1200px) {
  .services-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.service-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.service-header {
  margin-bottom: 1.25rem;
}

.service-title {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text-white);
  margin-bottom: 0.5rem;
}

.service-pricing-tiers {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-block: 1.25rem;
}

.tier-badge {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.5rem 0.85rem;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
  font-size: 0.8125rem;
}

.tier-name {
  color: var(--text-secondary);
  font-weight: 500;
}

.tier-price {
  font-weight: 700;
  color: var(--color-cyan-glow);
  font-family: var(--font-mono);
}

.service-deliverables {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
  font-size: 0.8125rem;
  color: var(--text-secondary);
}

.deliverable-item {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
}

.deliverable-icon {
  flex-shrink: 0;
  width: 14px;
  height: 14px;
  color: var(--color-emerald-glow);
  margin-top: 3px;
}

/* Team Augmentation Callout */
.team-augmentation-banner {
  margin-top: 3rem;
  padding: 1.75rem 2rem;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, rgba(6, 182, 212, 0.08) 0%, rgba(99, 102, 241, 0.08) 100%);
  border: 1px solid var(--border-cyan);
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  align-items: center;
  text-align: center;
}

@media (min-width: 768px) {
  .team-augmentation-banner {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}

.augmentation-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text-white);
  margin-bottom: 0.25rem;
}

.augmentation-desc {
  font-size: 0.875rem;
  color: var(--text-secondary);
}

.rate-badge {
  display: inline-block;
  padding: 0.4rem 0.9rem;
  border-radius: var(--radius-md);
  background: var(--color-cyan);
  color: #000;
  font-weight: 800;
  font-family: var(--font-mono);
  font-size: 1.15rem;
}

/* --------------------------------------------------------------------------
   15. Case Studies Portfolio
   -------------------------------------------------------------------------- */
.case-studies-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.75rem;
}

@media (min-width: 768px) {
  .case-studies-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1200px) {
  .case-studies-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.case-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.case-media-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-bottom: 1.25rem;
  border: 1px solid var(--border-default);
  background: #0d0d12;
}

.case-media-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.case-card:hover .case-media-img {
  transform: scale(1.04);
}

.case-video-play-btn {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.35);
  border: none;
  cursor: pointer;
  transition: background-color 0.25s ease;
  min-height: var(--touch-target);
}

.case-video-play-btn:hover {
  background: rgba(0, 0, 0, 0.55);
}

.play-circle {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #e11d48;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  box-shadow: 0 4px 20px rgba(225, 29, 72, 0.5);
  transition: transform 0.25s ease;
}

.case-video-play-btn:hover .play-circle {
  transform: scale(1.12);
}

.case-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.5rem;
}

.case-vertical-tag {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-cyan-glow);
}

.case-title {
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--text-white);
  margin-bottom: 0.25rem;
}

.case-outcome-metric {
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--color-cyan-glow);
  margin-bottom: 0.75rem;
}

.case-desc {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 1.25rem;
}

.case-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid var(--border-subtle);
}

.pdf-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.75rem;
  color: var(--text-muted);
  transition: color 0.2s ease;
}

.pdf-link:hover {
  color: var(--text-white);
  text-decoration: underline;
}

/* --------------------------------------------------------------------------
   16. 4-Step Engineering Delivery Model
   -------------------------------------------------------------------------- */
.process-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  position: relative;
}

@media (min-width: 640px) {
  .process-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .process-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.process-card {
  position: relative;
  text-align: center;
  padding: 2rem 1.25rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.process-step-number {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--color-cyan);
  color: #000;
  font-weight: 800;
  font-size: 0.875rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 12px rgba(6, 182, 212, 0.4);
}

.process-icon-box {
  width: 72px;
  height: 72px;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-default);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-cyan-glow);
  margin-bottom: 1.25rem;
  transition: all 0.25s ease;
}

.process-card:hover .process-icon-box {
  border-color: var(--border-cyan);
  background: var(--color-cyan-dim);
  transform: scale(1.08);
}

.process-step-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-white);
  margin-bottom: 0.5rem;
}

.process-step-desc {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.55;
}

/* --------------------------------------------------------------------------
   17. Institutional Trust, NASTP Facility & Team
   -------------------------------------------------------------------------- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: center;
}

@media (min-width: 992px) {
  .about-grid {
    grid-template-columns: 1.1fr 0.9fr;
  }
}

.about-facility-img-wrap {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-default);
  box-shadow: var(--shadow-md);
}

.facility-img {
  width: 100%;
  height: auto;
  aspect-ratio: 634 / 300;
  object-fit: cover;
}

.facility-caption {
  padding: 0.85rem 1.25rem;
  background: rgba(9, 9, 11, 0.9);
  border-top: 1px solid var(--border-subtle);
  font-size: 0.8125rem;
  color: var(--text-secondary);
}

.facility-features-list {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin-block: 1.5rem;
}

.hyper-care-box {
  padding: 1.25rem 1.5rem;
  border-radius: var(--radius-md);
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.3);
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-top: 1.5rem;
}

.hyper-care-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-emerald-glow);
  margin-bottom: 0.25rem;
}

.hyper-care-desc {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* Team Directory */
.team-section {
  margin-top: 4rem;
}

.team-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

@media (min-width: 640px) {
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .team-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.team-card {
  padding: 1.25rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.team-avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(6, 182, 212, 0.2), rgba(99, 102, 241, 0.2));
  border: 1px solid var(--border-default);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--color-cyan-glow);
  margin-bottom: 0.75rem;
}

.team-name {
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--text-white);
  margin-bottom: 0.15rem;
}

.team-role {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--color-cyan-glow);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.5rem;
}

.team-bio {
  font-size: 0.8125rem;
  color: var(--text-secondary);
  line-height: 1.45;
}

/* --------------------------------------------------------------------------
   18. Accessible Testimonials Carousel
   -------------------------------------------------------------------------- */
.testimonials-wrapper {
  position: relative;
  max-width: 900px;
  margin-inline: auto;
}

.testimonials-track-outer {
  overflow: hidden;
  position: relative;
  border-radius: var(--radius-xl);
}

.testimonials-track {
  display: flex;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
}

.testimonial-slide {
  flex: 0 0 100%;
  padding: 0.5rem;
}

.testimonial-bubble {
  padding: clamp(2rem, 4vw, 3rem);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.testimonial-quote-icon {
  width: 36px;
  height: 36px;
  color: rgba(6, 182, 212, 0.4);
  margin-bottom: 1.25rem;
}

.testimonial-text {
  font-size: clamp(1.0625rem, 1.6vw, 1.35rem);
  font-weight: 500;
  color: var(--text-primary);
  line-height: 1.65;
  margin-bottom: 2rem;
  font-style: italic;
}

.testimonial-author-row {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.testimonial-avatar-init {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(6, 182, 212, 0.15);
  border: 1px solid var(--border-cyan);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: var(--color-cyan-glow);
}

.author-name {
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--text-white);
  text-align: left;
}

.author-title {
  font-size: 0.8125rem;
  color: var(--text-muted);
  text-align: left;
}

/* Accessible Carousel Navigation Controls */
.carousel-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-top: 2rem;
}

/* Fix A11Y-TOUCH-TARGET-SIZE: Minimum hit area >= 48px */
.carousel-arrow-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: var(--touch-target);
  min-height: var(--touch-target);
  width: var(--touch-target);
  height: var(--touch-target);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-default);
  color: var(--text-primary);
  transition: all 0.2s ease;
}

.carousel-arrow-btn:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--border-cyan);
  color: var(--text-white);
  transform: scale(1.08);
}

.carousel-dots {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* Touch target for indicator dots must be >= 48px */
.carousel-dot-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: var(--touch-target);
  min-height: var(--touch-target);
  width: var(--touch-target);
  height: var(--touch-target);
  padding: 0;
  background: transparent;
  border: none;
  cursor: pointer;
}

.dot-pill {
  display: block;
  width: 10px;
  height: 10px;
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.25);
  transition: all 0.25s ease;
}

.carousel-dot-btn:hover .dot-pill {
  background: rgba(255, 255, 255, 0.55);
}

.carousel-dot-btn[aria-current="true"] .dot-pill {
  width: 32px;
  background: var(--color-cyan);
  box-shadow: 0 0 10px rgba(6, 182, 212, 0.6);
}

/* --------------------------------------------------------------------------
   19. Semantic FAQ Accordions
   -------------------------------------------------------------------------- */
.faq-list {
  max-width: 820px;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
  overflow: hidden;
  transition: border-color 0.25s ease;
}

.faq-item[open] {
  border-color: var(--border-cyan);
  background: rgba(255, 255, 255, 0.05);
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--text-white);
  cursor: pointer;
  user-select: none;
  min-height: var(--touch-target);
}

.faq-question::-webkit-details-marker {
  display: none;
}

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

.faq-item[open] .faq-chevron {
  transform: rotate(180deg);
}

.faq-answer {
  padding: 0 1.5rem 1.5rem;
  font-size: 0.9375rem;
  color: var(--text-secondary);
  line-height: 1.65;
  border-top: 1px solid transparent;
}

/* --------------------------------------------------------------------------
   20. Contact & Discovery Section
   -------------------------------------------------------------------------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
}

@media (min-width: 992px) {
  .contact-grid {
    grid-template-columns: 1.2fr 0.8fr;
  }
}

.form-card {
  padding: clamp(1.5rem, 3.5vw, 2.5rem);
}

.form-group-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

@media (min-width: 580px) {
  .form-group-row {
    grid-template-columns: 1fr 1fr;
  }
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-bottom: 1.25rem;
}

.form-label {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text-secondary);
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  min-height: 48px;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-md);
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid var(--border-default);
  color: var(--text-white);
  font-size: 0.9375rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%2306b6d4' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 14px;
  padding-right: 2.5rem;
}

.form-select option {
  background: #18181f;
  color: #fff;
}

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

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: var(--color-cyan);
  box-shadow: 0 0 0 3px rgba(6, 182, 212, 0.2);
  outline: none;
}

.form-checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.8125rem;
  color: var(--text-secondary);
  cursor: pointer;
  margin-bottom: 1.5rem;
}

.form-checkbox {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: var(--color-cyan);
}

.contact-info-panel {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.office-card {
  padding: 1.25rem 1.5rem;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
}

.office-title {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-cyan-glow);
  margin-bottom: 0.35rem;
}

.office-address {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.5;
  margin-bottom: 0.5rem;
}

.office-tel {
  font-size: 0.8125rem;
  font-family: var(--font-mono);
  color: var(--text-primary);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.office-tel:hover {
  color: var(--color-cyan-glow);
}

/* --------------------------------------------------------------------------
   21. Security & Trust Badge Strip
   -------------------------------------------------------------------------- */
.security-strip {
  padding-block: 2.25rem;
  background: #060608;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.security-badges-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: clamp(1rem, 3vw, 2.5rem);
}

.sec-badge-item {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-secondary);
}

.sec-icon {
  width: 18px;
  height: 18px;
  color: var(--color-cyan);
}

/* --------------------------------------------------------------------------
   22. Persistent Footer
   -------------------------------------------------------------------------- */
.site-footer {
  background: #040406;
  border-top: 1px solid var(--border-subtle);
  padding-top: clamp(3rem, 6vw, 5rem);
  padding-bottom: 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  margin-bottom: 3.5rem;
}

@media (min-width: 640px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1.3fr 1fr 1fr 1.2fr;
  }
}

/* Heading Rank Fix: H3 used in footer (solves SEO-HEADING-SKIP) */
.footer-heading {
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-white);
  margin-bottom: 1.25rem;
}

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

.footer-link {
  font-size: 0.875rem;
  color: var(--text-secondary); /* High contrast */
  transition: color 0.2s ease, transform 0.2s ease;
  display: inline-block;
}

.footer-link:hover {
  color: var(--color-cyan-glow);
  transform: translateX(3px);
}

/* Trustpilot Rating Card */
.trustpilot-box {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.65rem 1rem;
  border-radius: var(--radius-md);
  background: rgba(0, 182, 122, 0.1);
  border: 1px solid rgba(0, 182, 122, 0.35);
  color: #00b67a;
  font-size: 0.8125rem;
  font-weight: 600;
  margin-top: 1.25rem;
  transition: background-color 0.2s ease;
}

.trustpilot-box:hover {
  background: rgba(0, 182, 122, 0.18);
  color: #10d892;
}

.social-links-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 1.25rem;
}

.social-icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: var(--touch-target);
  height: var(--touch-target);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-default);
  color: var(--text-secondary);
  transition: all 0.2s ease;
}

.social-icon-btn:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--border-cyan);
  color: var(--color-cyan-glow);
  transform: translateY(-2px);
}

/* Global Multi-Timezone Live Clocks */
.sync-clock-widget {
  padding: 1rem 1.25rem;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
  margin-top: 1rem;
}

.sync-clock-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-white);
  margin-bottom: 0.75rem;
}

.clocks-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
  text-align: center;
}

.clock-item {
  padding: 0.5rem 0.25rem;
  border-radius: var(--radius-sm);
  background: rgba(0, 0, 0, 0.3);
}

.clock-code {
  font-size: 0.7rem;
  font-weight: 700;
  /* WCAG AA Fix: elevated brightness */
  color: var(--text-muted);
}

.clock-time {
  font-size: 0.8125rem;
  font-weight: 700;
  font-family: var(--font-mono);
  color: var(--text-primary);
  margin-top: 2px;
}

/* Bottom Footer Bar */
.footer-bottom {
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
  font-size: 0.8125rem;
  color: var(--text-muted);
}

@media (min-width: 768px) {
  .footer-bottom {
    flex-direction: row;
  }
}

.legal-links-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
}

.legal-link {
  color: var(--text-secondary);
  transition: color 0.2s ease;
  cursor: pointer;
  background: transparent;
  border: none;
}

.legal-link:hover {
  color: var(--text-white);
  text-decoration: underline;
}

.payment-badges-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.payment-badge {
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-secondary); /* WCAG AA compliant */
}

/* --------------------------------------------------------------------------
   23. Floating WhatsApp Communication Widget
   -------------------------------------------------------------------------- */
.floating-whatsapp {
  position: fixed;
  bottom: 1.5rem;
  left: 1.5rem;
  z-index: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--color-whatsapp);
  color: #ffffff;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4);
  /* Fix SSR Opacity bug: 100% visible */
  opacity: 1 !important;
  transform: none !important;
  transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.25s ease;
}

.floating-whatsapp:hover {
  background: var(--color-whatsapp-hover);
  transform: scale(1.1) !important;
  box-shadow: 0 12px 32px rgba(37, 211, 102, 0.6);
}

.floating-whatsapp:focus-visible {
  outline: 3px solid #ffffff;
  outline-offset: 4px;
}

.whatsapp-ping {
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  background: var(--color-whatsapp);
  opacity: 0.25;
  animation: ping-wave 2.4s cubic-bezier(0, 0, 0.2, 1) infinite;
  pointer-events: none;
}

@keyframes ping-wave {
  0% { transform: scale(1); opacity: 0.4; }
  70%, 100% { transform: scale(1.6); opacity: 0; }
}

/* --------------------------------------------------------------------------
   24. Accessible Native Modals (<dialog>)
   -------------------------------------------------------------------------- */
.modal-dialog {
  border: 1px solid var(--border-default);
  background: var(--color-bg-surface);
  color: var(--text-primary);
  border-radius: var(--radius-xl);
  max-width: 640px;
  width: calc(100vw - 2rem);
  padding: 0;
  box-shadow: var(--shadow-lg);
  margin: auto;
  overflow: hidden;
}

.modal-dialog::backdrop {
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.modal-inner {
  padding: clamp(1.5rem, 3vw, 2.25rem);
  max-height: 85vh;
  overflow-y: auto;
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border-subtle);
}

.modal-title {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--text-white);
}

.modal-close-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: var(--touch-target);
  height: var(--touch-target);
  border-radius: 50%;
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  transition: all 0.2s ease;
}

.modal-close-btn:hover {
  color: var(--text-white);
  background: rgba(255, 255, 255, 0.12);
}

/* Video Demonstration Modal */
.modal-video {
  max-width: 860px;
  background: #000000;
  border-color: rgba(255, 255, 255, 0.2);
}

.video-container {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
}

.video-container iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
}

/* Legal text modal */
.modal-content-view {
  max-width: 780px;
}

.legal-content-body {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  font-size: 0.9375rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

.legal-content-body h3 {
  color: var(--text-white);
  font-size: 1.15rem;
  font-weight: 700;
  margin-top: 0.5rem;
}

/* --------------------------------------------------------------------------
   25. Animations & Reduced Motion Overrides
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .marquee-track {
    animation: none;
    transform: none;
  }
}
