/* ============================================
   ARM Solutions — Polished Website Stylesheet
   ============================================ */

:root {
  /* Brand Colors */
  --color-primary: #1a3a5c;
  --color-primary-dark: #0d2137;
  --color-primary-light: #2a5a8c;
  --color-accent: #2680c2;
  --color-accent-light: #4da3e0;
  --color-accent-dark: #1b6aaa;
  --color-success: #2bb673;
  --color-warning: #f0a432;

  /* Neutrals */
  --color-white: #ffffff;
  --color-off-white: #f7f8fa;
  --color-light-gray: #e5e7eb;
  --color-mid-gray: #6b7280;
  --color-dark-gray: #374151;
  --color-text: #1f2937;
  --color-text-light: #6b7280;

  /* Typography */
  --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* Shadows — layered for depth */
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.04), 0 1px 3px rgba(0,0,0,0.06);
  --shadow-md: 0 4px 6px rgba(0,0,0,0.04), 0 10px 20px rgba(0,0,0,0.06);
  --shadow-lg: 0 10px 25px rgba(0,0,0,0.06), 0 20px 48px rgba(0,0,0,0.05);

  /* Borders */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;

  /* Layout */
  --max-width: 1200px;
  --transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ---- Reset & Base ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-primary);
  color: var(--color-text);
  line-height: 1.65;
  background: var(--color-white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--color-accent); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--color-accent-dark); }
ul { list-style: none; }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-primary);
  color: var(--color-primary);
  line-height: 1.25;
  margin-bottom: 0.5em;
  letter-spacing: -0.01em;
}
h1 { font-size: 2.5rem; font-weight: 700; }
h2 { font-size: 2rem; font-weight: 700; }
h3 { font-size: 1.5rem; font-weight: 600; }
h4 { font-size: 1.25rem; font-weight: 600; }
p { margin-bottom: 1rem; }

/* ---- Layout ---- */
.container { max-width: var(--max-width); margin: 0 auto; padding: 0 2rem; }
.section { padding: 5rem 0; }
.section-alt { background: var(--color-off-white); }
.text-center { text-align: center; }

/* ---- Grid Utilities ---- */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; }

/* ============================================
   UTILITY BAR (top strip above nav)
   ============================================ */
.utility-bar {
  background: var(--color-primary-dark);
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.78rem;
  padding: 0.4rem 0;
  letter-spacing: 0.01em;
}
.utility-bar .container {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 1.5rem;
}
.utility-bar a {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  transition: color 0.2s;
}
.utility-bar a:hover { color: var(--color-white); }
.utility-bar svg {
  width: 13px; height: 13px;
  stroke: currentColor; fill: none;
  stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
}
.utility-bar .utility-divider {
  width: 1px; height: 14px;
  background: rgba(255, 255, 255, 0.2);
}

/* ============================================
   TESTIMONIALS
   ============================================ */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 2.5rem;
}
.testimonial-card {
  background: var(--color-white);
  border-radius: var(--radius-md);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-light-gray);
  position: relative;
  transition: box-shadow var(--transition), transform var(--transition);
}
.testimonial-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.testimonial-card::before {
  content: '\201C';
  font-size: 3.5rem;
  color: var(--color-accent-light);
  opacity: 0.3;
  line-height: 1;
  position: absolute;
  top: 1rem; left: 1.5rem;
  font-family: Georgia, serif;
}
.testimonial-quote {
  font-size: 0.93rem;
  line-height: 1.7;
  color: var(--color-text);
  margin-bottom: 1.25rem;
  padding-top: 1.5rem;
  font-style: italic;
}
.testimonial-author {
  border-top: 1px solid var(--color-light-gray);
  padding-top: 1rem;
}
.testimonial-name {
  font-weight: 600;
  color: var(--color-accent-dark);
  font-size: 0.9rem;
  font-style: italic;
}
.testimonial-company {
  font-weight: 700;
  color: var(--color-text);
  font-size: 0.95rem;
  margin-top: 0.15rem;
}

/* ============================================
   NAVIGATION
   ============================================ */
.navbar,
.site-header {
  background: var(--color-white);
  border-bottom: 1px solid var(--color-light-gray);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}

.navbar-content,
.header-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.logo {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  color: var(--color-primary);
}
.logo-icon {
  width: 38px;
  height: 38px;
  flex-shrink: 0;
}
.logo-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.logo h1 { font-size: 1.35rem; margin: 0; color: var(--color-primary); letter-spacing: -0.02em; }
.logo-text {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--color-primary);
  line-height: 1.2;
  letter-spacing: -0.02em;
}
.logo-tagline {
  font-size: 0.68rem;
  color: var(--color-mid-gray);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* Handle both: <ul class="nav-menu"> and <nav class="nav-menu"><ul> */
.nav-menu,
.nav-menu ul,
.main-nav {
  display: flex;
  align-items: center;
  gap: 0.15rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-menu li a,
.nav-menu ul li a,
.main-nav a {
  color: var(--color-text);
  font-size: 0.875rem;
  font-weight: 500;
  padding: 0.5rem 0.875rem;
  border-radius: var(--radius-sm);
  transition: all var(--transition);
  letter-spacing: 0;
}

.nav-menu li a:hover,
.nav-menu li a.active,
.nav-menu ul li a:hover,
.nav-menu ul li a.active,
.main-nav a:hover,
.main-nav a.active {
  color: var(--color-accent);
  background: rgba(38, 128, 194, 0.06);
}

.nav-cta {
  background: var(--color-accent) !important;
  color: var(--color-white) !important;
  padding: 0.5rem 1.25rem !important;
  border-radius: var(--radius-md) !important;
  font-weight: 600 !important;
}
.nav-cta:hover {
  background: var(--color-accent-dark) !important;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--color-text);
  margin: 5px 0;
  transition: var(--transition);
  border-radius: 1px;
}

/* ============================================
   HERO SECTIONS
   ============================================ */
.hero,
.industries-hero,
.about-hero,
.contact-hero {
  background: linear-gradient(135deg, var(--color-primary-dark) 0%, var(--color-primary) 40%, var(--color-primary-light) 100%);
  color: var(--color-white);
  padding: 5.5rem 0;
  position: relative;
  overflow: hidden;
}

/* Subtle radial glow */
.hero::before,
.industries-hero::before,
.about-hero::before,
.contact-hero::before {
  content: '';
  position: absolute;
  top: -20%; right: -10%;
  width: 60%; height: 140%;
  background: radial-gradient(ellipse at center, rgba(38, 128, 194, 0.18) 0%, transparent 65%);
  pointer-events: none;
}

/* Subtle dot-grid pattern overlay */
.hero::after,
.industries-hero::after,
.about-hero::after,
.contact-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 1px 1px, rgba(255,255,255,0.06) 1px, transparent 0);
  background-size: 32px 32px;
  pointer-events: none;
}

.hero .container,
.industries-hero .container,
.about-hero .container,
.contact-hero .container {
  position: relative;
  z-index: 1;
}

.hero h1, .hero h2,
.industries-hero h1,
.about-hero h1,
.contact-hero h1 {
  color: var(--color-white);
  font-size: 2.75rem;
  margin-bottom: 1rem;
  max-width: 750px;
  letter-spacing: -0.02em;
}

.hero p,
.hero-subtitle,
.industries-hero p,
.about-hero p,
.contact-hero p {
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.125rem;
  max-width: 640px;
  margin-bottom: 2rem;
  line-height: 1.7;
}

.hero-small { padding: 4rem 0 3rem; }
.hero-small h1, .hero-small h2 { font-size: 2.25rem; }

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

/* ============================================
   BUTTONS
   ============================================ */
.btn,
.cta-button,
.submit-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.75rem;
  border-radius: var(--radius-md);
  font-size: 0.95rem;
  font-weight: 600;
  text-align: center;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all var(--transition);
  text-decoration: none;
  font-family: var(--font-primary);
  letter-spacing: 0;
  line-height: 1.4;
}

.btn-primary,
.cta-button {
  background: var(--color-accent);
  color: var(--color-white);
  box-shadow: 0 1px 3px rgba(38, 128, 194, 0.25);
}
.btn-primary:hover,
.cta-button:hover {
  background: var(--color-accent-dark);
  color: var(--color-white);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(38, 128, 194, 0.3);
}

.btn-secondary,
.btn-outline {
  background: rgba(255, 255, 255, 0.08);
  color: var(--color-white);
  border-color: rgba(255, 255, 255, 0.3);
}
.btn-secondary:hover,
.btn-outline:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.6);
  color: var(--color-white);
}

.btn-outline-dark {
  background: transparent;
  color: var(--color-accent);
  border-color: var(--color-accent);
}
.btn-outline-dark:hover {
  background: var(--color-accent);
  color: var(--color-white);
}

.btn-success {
  background: var(--color-success);
  color: var(--color-white);
  box-shadow: 0 1px 3px rgba(43, 182, 115, 0.25);
}
.btn-success:hover {
  background: #24a366;
  color: var(--color-white);
  box-shadow: 0 4px 12px rgba(43, 182, 115, 0.3);
}

.btn-large,
.cta-button-large {
  padding: 0.9rem 2.25rem;
  font-size: 1rem;
}

/* ============================================
   SECTION HEADERS
   ============================================ */
.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 3rem;
}
.section-header h2 { margin-bottom: 0.75rem; }
.section-header p { color: var(--color-text-light); font-size: 1.05rem; line-height: 1.7; }

.section-label {
  display: inline-block;
  color: var(--color-accent);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.5rem;
}

.section-subtitle,
.intro-text {
  color: var(--color-text-light);
  font-size: 1.05rem;
  text-align: center;
  max-width: 680px;
  margin: 0 auto 2rem;
  line-height: 1.7;
}

/* ============================================
   SERVICES OVERVIEW / CARDS
   ============================================ */
.services-overview {
  padding: 5rem 0;
  background: var(--color-off-white);
}

.services-overview > .container > h2 {
  text-align: center;
  margin-bottom: 3rem;
}

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

.service-card,
.card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-light-gray);
  transition: all var(--transition);
}
.service-card:hover,
.card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
  border-color: rgba(38, 128, 194, 0.15);
}

.service-icon,
.card-icon {
  width: 48px;
  height: 48px;
  background: rgba(38, 128, 194, 0.08);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  color: var(--color-accent);
}
.service-icon svg,
.card-icon svg {
  width: 24px;
  height: 24px;
  stroke: var(--color-accent);
  fill: none;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.service-card h3, .card h3 { margin-bottom: 0.5rem; font-size: 1.15rem; }
.service-card p, .card p { color: var(--color-text-light); font-size: 0.925rem; line-height: 1.7; margin-bottom: 0; }

/* ============================================
   STATS BAR
   ============================================ */
.stats-section,
.stats-bar {
  background: var(--color-primary);
  padding: 3.5rem 0;
  position: relative;
}

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

.stat-item { color: var(--color-white); }
.stat-number,
.stat-item h3 {
  color: var(--color-accent-light);
  font-size: 2.75rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
  letter-spacing: -0.02em;
}
.stat-label,
.stat-item p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.875rem;
  margin: 0;
  font-weight: 500;
}

/* ============================================
   INDUSTRIES
   ============================================ */
.industries-section {
  padding: 5rem 0;
  text-align: center;
}

.industries-section > .container > h2 {
  margin-bottom: 0.75rem;
}

.industries-intro {
  padding: 4rem 0;
}

.industries-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1rem;
  margin-top: 2.5rem;
}

.industry-item,
.industry-card {
  background: var(--color-white);
  border-radius: var(--radius-md);
  padding: 1.5rem 1rem;
  text-align: center;
  transition: all var(--transition);
  border: 1px solid var(--color-light-gray);
}
.industry-item:hover,
.industry-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
  border-color: rgba(38, 128, 194, 0.2);
}

.industry-icon {
  width: 44px;
  height: 44px;
  background: rgba(38, 128, 194, 0.08);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 0.75rem;
  color: var(--color-accent);
}
.industry-icon svg {
  width: 22px;
  height: 22px;
  stroke: var(--color-accent);
  fill: none;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.industry-name {
  font-weight: 600;
  color: var(--color-primary);
  font-size: 0.85rem;
}

/* ============================================
   COMPLIANCE SECTION
   ============================================ */
.compliance-section,
.compliance-banner {
  background: linear-gradient(135deg, var(--color-primary-dark) 0%, var(--color-primary) 50%, var(--color-primary-light) 100%);
  padding: 4rem 0;
  text-align: center;
  color: var(--color-white);
  position: relative;
  overflow: hidden;
}

.compliance-section::after,
.compliance-banner::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 1px 1px, rgba(255,255,255,0.04) 1px, transparent 0);
  background-size: 32px 32px;
  pointer-events: none;
}

.compliance-section .container,
.compliance-banner .container {
  position: relative;
  z-index: 1;
}

.compliance-section h2,
.compliance-banner h2 {
  color: var(--color-white);
  margin-bottom: 1.5rem;
}

/* Override dark-on-dark for section headers inside dark sections */
.compliance-section .section-header h2,
.cta-section .section-header h2 { color: var(--color-white); }
.compliance-section .section-label,
.cta-section .section-label { color: var(--color-accent-light); }
.compliance-section .section-header p,
.cta-section .section-header p { color: rgba(255, 255, 255, 0.8); }

.compliance-badges {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
}

.compliance-badge {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 100px;
  padding: 0.6rem 1.25rem;
  color: var(--color-white);
  font-size: 0.85rem;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  backdrop-filter: blur(4px);
}

.badge-icon {
  color: var(--color-success);
  font-weight: 700;
  font-size: 1rem;
}

.badge-text h4 { color: rgba(255, 255, 255, 0.78); }
.badge-text p  { color: rgba(255, 255, 255, 0.55); }

.compliance-description {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.95rem;
  max-width: 650px;
  margin: 1rem auto 0;
}

.compliance-summary,
.compliance-notice {
  background: var(--color-off-white);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  margin-top: 1.5rem;
}

.compliance-checklist {
  padding-left: 1.5rem;
}
.compliance-checklist li {
  margin-bottom: 0.5rem;
  list-style: disc;
}

/* ============================================
   VALUE PROPOSITION
   ============================================ */
.value-section {
  padding: 5rem 0;
  background: var(--color-white);
}

.value-section > .container > h2 {
  text-align: center;
  margin-bottom: 3rem;
}

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

.value-item {
  padding: 2rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-light-gray);
  transition: all var(--transition);
  background: var(--color-white);
}
.value-item:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
  border-color: rgba(38, 128, 194, 0.15);
}

.value-number {
  color: var(--color-accent);
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  opacity: 0.4;
}
.value-item h3 { margin-bottom: 0.5rem; font-size: 1.15rem; }
.value-item p { color: var(--color-text-light); font-size: 0.925rem; line-height: 1.7; }

.value-card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-light-gray);
  text-align: center;
  transition: all var(--transition);
}
.value-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.value-icon {
  width: 48px;
  height: 48px;
  background: rgba(38, 128, 194, 0.08);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  color: var(--color-accent);
}
.value-icon svg {
  width: 24px;
  height: 24px;
  stroke: var(--color-accent);
  fill: none;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ============================================
   CTA SECTION
   ============================================ */
.cta-section {
  background: linear-gradient(135deg, var(--color-primary-dark) 0%, var(--color-primary) 50%, var(--color-primary-light) 100%);
  padding: 5rem 0;
  text-align: center;
  color: var(--color-white);
  position: relative;
  overflow: hidden;
}
.cta-section::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 1px 1px, rgba(255,255,255,0.04) 1px, transparent 0);
  background-size: 32px 32px;
  pointer-events: none;
}
.cta-section .container { position: relative; z-index: 1; }
.cta-section h2 { color: var(--color-white); margin-bottom: 1rem; font-size: 2rem; }
.cta-section p { color: rgba(255, 255, 255, 0.88); font-size: 1.05rem; max-width: 600px; margin: 0 auto 2rem; }
.cta-section .btn-primary {
  background: var(--color-accent);
  box-shadow: 0 2px 8px rgba(38, 128, 194, 0.35);
}
.cta-section .btn-primary:hover {
  background: var(--color-accent-dark);
  box-shadow: 0 4px 16px rgba(38, 128, 194, 0.4);
}
.cta-section .hero-ctas,
.cta-section .btn-group { justify-content: center; }

/* ============================================
   CONTENT SPLIT (Two Column)
   ============================================ */
.content-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.content-split-text h2 { margin-bottom: 1rem; }
.content-split-visual {
  background: var(--color-off-white);
  border-radius: var(--radius-lg);
  padding: 2rem;
  display: flex;
  align-items: stretch;
  justify-content: center;
  min-height: 300px;
}
.content-split-visual > .card {
  width: 100%;
  font-size: inherit;
}

/* ============================================
   COMPARISON TABLE
   ============================================ */
.table-wrap { overflow-x: auto; margin-bottom: 2rem; }
.comparison-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}
.comparison-table thead tr {
  background: var(--color-accent);
  color: var(--color-white);
}
.comparison-table th,
.comparison-table td {
  padding: 1.25rem 1.5rem;
  border: 1px solid var(--color-light-gray);
}
.comparison-table th { text-align: left; font-weight: 600; }
.comparison-table th:not(:first-child),
.comparison-table td:not(:first-child) { text-align: center; }
.comparison-table tbody tr:nth-child(even) { background: var(--color-off-white); }
.comparison-table tbody tr:nth-child(odd) { background: var(--color-white); }
.comparison-table tbody tr:hover { background: rgba(38, 128, 194, 0.04); }

/* ============================================
   TECHNOLOGY FEATURE LIST (detailed w/ descriptions)
   ============================================ */
.tech-features { list-style: none; padding: 0; }
.tech-features h3 { margin-bottom: 1.5rem; }
.tech-features li {
  margin-bottom: 1.25rem;
  padding-left: 0;
}
.tech-features li p {
  margin: 0.25rem 0 0;
  color: var(--color-text-light);
  font-size: 0.93rem;
}

/* ============================================
   UTILITY CLASSES
   ============================================ */
.subtitle {
  font-size: 1.05rem;
  color: var(--color-text-light);
  max-width: 700px;
  margin: 0 auto 2rem;
  text-align: center;
}
.mt-0 { margin-top: 0; }
.mt-1 { margin-top: 1rem; }
.mt-1-5 { margin-top: 1.5rem; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }
.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }
.mb-3 { margin-bottom: 3rem; }
.ml-1-5 { margin-left: 1.5rem; }
.my-2 { margin-top: 2rem; margin-bottom: 2rem; }
.pt-3 { padding-top: 3rem; }
.note-text { font-size: 0.9rem; color: var(--color-text-light); }

/* ---- Focus States (Accessibility) ---- */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
}
.btn:focus-visible { outline-offset: 3px; }
.nav-menu a:focus-visible { outline-offset: -2px; }

/* ============================================
   FEATURE LIST
   ============================================ */
.feature-list { list-style: none; padding: 0; margin: 1.5rem 0; }
.feature-list li {
  padding: 0.5rem 0 0.5rem 1.75rem;
  position: relative;
  color: var(--color-text);
  font-size: 0.95rem;
}
.feature-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.85rem;
  width: 16px;
  height: 16px;
  background: var(--color-success);
  border-radius: 50%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E");
  background-size: 10px;
  background-position: center;
  background-repeat: no-repeat;
}

/* ============================================
   ABOUT PAGE
   ============================================ */
.story-section,
.approach-section,
.team-section {
  padding: 5rem 0;
}
.story-section { background: var(--color-white); }
.approach-section { background: var(--color-off-white); }

.story-content,
.approach-content,
.team-content {
  max-width: 800px;
  margin: 0 auto;
}

.story-content h2,
.approach-content h2,
.team-content h2 {
  margin-bottom: 1.5rem;
  text-align: center;
}

.story-content p,
.approach-content p,
.team-content p {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--color-text);
}

.values-section {
  padding: 5rem 0;
  background: var(--color-off-white);
}
.values-section > .container > h2 {
  text-align: center;
  margin-bottom: 3rem;
}

/* ============================================
   CONTACT PAGE
   ============================================ */
.contact-section {
  padding: 5rem 0;
}

.contact-wrapper,
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}

.contact-form-column { }
.contact-info-column { }

.contact-info-card {
  background: var(--color-off-white);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  margin-bottom: 1rem;
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  border: 1px solid var(--color-light-gray);
  transition: all var(--transition);
}
.contact-info-card:hover {
  box-shadow: var(--shadow-sm);
  border-color: rgba(38, 128, 194, 0.15);
}

.info-icon {
  width: 40px;
  height: 40px;
  background: rgba(38, 128, 194, 0.08);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--color-accent);
}
.info-icon svg {
  width: 20px;
  height: 20px;
  stroke: var(--color-accent);
  fill: none;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.info-content h3 { font-size: 0.95rem; margin-bottom: 0.25rem; }
.info-content h4 { font-size: 0.95rem; margin-bottom: 0.25rem; }
.info-content p { color: var(--color-text-light); font-size: 0.9rem; margin: 0; line-height: 1.6; }

.contact-info-item {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
}
.contact-info-icon {
  width: 40px; height: 40px;
  background: rgba(38, 128, 194, 0.08);
  border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  color: var(--color-accent);
}

.contact-info { margin-top: 2rem; }

/* ============================================
   FORMS
   ============================================ */
.form-group { margin-bottom: 1.25rem; }
.form-group label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.4rem;
  color: var(--color-text);
  font-size: 0.9rem;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.7rem 0.9rem;
  border: 1px solid var(--color-light-gray);
  border-radius: var(--radius-md);
  font-size: 0.95rem;
  font-family: var(--font-primary);
  transition: all var(--transition);
  background: var(--color-white);
  color: var(--color-text);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(38, 128, 194, 0.1);
}
.form-group textarea { min-height: 120px; resize: vertical; }

.form-check {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 1rem;
}
.form-check input[type="checkbox"] { width: auto; margin-top: 0.25rem; accent-color: var(--color-accent); }
.form-check label { font-weight: 400; margin-bottom: 0; font-size: 0.9rem; }

.form-card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-md);
  max-width: 640px;
  margin: 0 auto;
}

.form-note { font-size: 0.85rem; color: var(--color-mid-gray); margin-top: 0.25rem; }

.contact-form {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-light-gray);
}

/* ============================================
   PREFERENCES / OPT-IN / OPT-OUT
   ============================================ */
.preferences-form { max-width: 700px; margin: 0 auto; }

.preference-section {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: 2rem;
  margin-bottom: 1.5rem;
  border: 1px solid var(--color-light-gray);
}
.preference-section h3 { margin-bottom: 0.5rem; }

.preference-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
  border-bottom: 1px solid var(--color-light-gray);
}
.preference-toggle:last-child { border-bottom: none; }

.toggle-info h4 { margin-bottom: 0.25rem; font-size: 1rem; }
.toggle-info p { font-size: 0.875rem; color: var(--color-text-light); margin: 0; }

.switch { position: relative; display: inline-block; width: 48px; height: 26px; flex-shrink: 0; }
.switch input { opacity: 0; width: 0; height: 0; }
.slider {
  position: absolute; cursor: pointer;
  top: 0; left: 0; right: 0; bottom: 0;
  background-color: var(--color-light-gray);
  transition: var(--transition);
  border-radius: 26px;
}
.slider::before {
  content: '';
  position: absolute;
  height: 20px; width: 20px;
  left: 3px; bottom: 3px;
  background: white;
  transition: var(--transition);
  border-radius: 50%;
  box-shadow: 0 1px 3px rgba(0,0,0,0.15);
}
.switch input:checked + .slider { background-color: var(--color-success); }
.switch input:checked + .slider::before { transform: translateX(22px); }

/* ============================================
   LEGAL PAGES (Terms, Privacy, Preferences)
   ============================================ */
.legal-hero {
  background: linear-gradient(135deg, var(--color-primary-dark) 0%, var(--color-primary) 50%, var(--color-primary-light) 100%);
  color: var(--color-white);
  padding: 4rem 0;
  position: relative;
  overflow: hidden;
}
.legal-hero::before {
  content: '';
  position: absolute;
  top: -20%; right: -10%;
  width: 60%; height: 140%;
  background: radial-gradient(ellipse at center, rgba(38, 128, 194, 0.18) 0%, transparent 65%);
  pointer-events: none;
}
.legal-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 1px 1px, rgba(255,255,255,0.06) 1px, transparent 0);
  background-size: 32px 32px;
  pointer-events: none;
}
.legal-hero .container { position: relative; z-index: 1; }
.legal-hero h1 { color: var(--color-white); font-size: 2.5rem; margin-bottom: 0.75rem; }

.legal-subtitle { color: rgba(255, 255, 255, 0.85); font-size: 1.05rem; margin-bottom: 1.5rem; }
.legal-dates { display: flex; gap: 2rem; flex-wrap: wrap; color: rgba(255, 255, 255, 0.8); font-size: 0.9rem; }
.legal-dates p { margin: 0; color: rgba(255, 255, 255, 0.8); }
.legal-header { margin-bottom: 2rem; }

.legal-content { padding: 5rem 0; background: var(--color-white); }
.legal-content .container { max-width: 900px; }

.toc-nav {
  background: var(--color-off-white);
  border-left: 3px solid var(--color-accent);
  padding: 1.75rem;
  border-radius: var(--radius-md);
  margin-bottom: 3rem;
}
.toc-nav h3 { color: var(--color-primary); margin-bottom: 1.25rem; font-size: 1.15rem; }
.toc-nav ul { list-style: none; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0.5rem 1.5rem; }
.toc-nav li { padding: 0; }
.toc-nav a {
  color: var(--color-accent);
  font-size: 0.9rem;
  font-weight: 500;
  padding: 0.25rem 0;
  display: inline-block;
  border-bottom: 1px solid transparent;
  transition: all var(--transition);
}
.toc-nav a:hover { color: var(--color-accent-dark); border-bottom-color: var(--color-accent); }

.legal-section {
  margin-bottom: 3rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--color-light-gray);
}
.legal-section:last-of-type { border-bottom: none; }
.legal-section h2 { color: var(--color-primary); font-size: 1.6rem; margin-bottom: 1.5rem; padding-top: 1rem; scroll-margin-top: 100px; }
.legal-section h3 { color: var(--color-primary); font-size: 1.15rem; margin-top: 1.5rem; margin-bottom: 0.75rem; font-weight: 600; }
.legal-section h4 { color: var(--color-primary); font-size: 1.05rem; margin-top: 1.25rem; margin-bottom: 0.5rem; }
.legal-section p { color: var(--color-text); line-height: 1.8; margin-bottom: 1rem; font-size: 0.925rem; }
.legal-section ul { list-style: disc; list-style-position: inside; margin-left: 1rem; margin-bottom: 1rem; }
.legal-section ul li { color: var(--color-text); line-height: 1.8; margin-bottom: 0.5rem; padding-left: 0.5rem; font-size: 0.925rem; }
.legal-section a { color: var(--color-accent); font-weight: 500; }
.legal-section a:hover { color: var(--color-accent-dark); text-decoration: underline; }
.legal-list { list-style: disc; padding-left: 1.5rem; margin-bottom: 1rem; }
.legal-list li { margin-bottom: 0.5rem; line-height: 1.7; list-style: disc; }

.sms-critical-section {
  background: rgba(38, 128, 194, 0.03);
  border-left: 3px solid var(--color-warning);
  padding: 2rem;
  border-radius: var(--radius-md);
  margin-bottom: 3rem;
  border-bottom: none;
}
.sms-notice {
  background: rgba(240, 164, 50, 0.08);
  border: 1px solid rgba(240, 164, 50, 0.3);
  border-radius: var(--radius-md);
  padding: 1rem;
  margin-bottom: 1.5rem;
  color: var(--color-primary);
  font-weight: 600;
  font-size: 0.925rem;
}

.contact-details {
  background: var(--color-off-white);
  border-radius: var(--radius-md);
  padding: 2rem;
  margin: 1.5rem 0;
}
.contact-item { margin-bottom: 1rem; }
.contact-item h4 { color: var(--color-primary); margin-bottom: 0.75rem; }
.contact-item p { margin-bottom: 0.5rem; color: var(--color-text); font-size: 0.925rem; }
.contact-item a { color: var(--color-accent); text-decoration: none; font-weight: 500; }
.contact-item a:hover { text-decoration: underline; }

.acknowledgment-section {
  background: rgba(38, 128, 194, 0.03);
  border: 1px solid var(--color-light-gray);
  border-radius: var(--radius-md);
  padding: 2rem;
  margin-top: 3rem;
}
.acknowledgment-section h2 { color: var(--color-primary); margin-bottom: 1.5rem; }
.acknowledgment-section ul { margin-left: 1.5rem; list-style: disc; }
.acknowledgment-section ul li { color: var(--color-text); margin-bottom: 0.75rem; list-style: disc; }
.acknowledgment-section p { margin-top: 1.5rem; font-weight: 500; color: var(--color-primary); }

/* ============================================
   ALERTS
   ============================================ */
.alert { padding: 1rem 1.25rem; border-radius: var(--radius-md); margin-bottom: 1.5rem; font-size: 0.925rem; }
.alert-success { background: #ecfdf5; border: 1px solid #a7f3d0; color: #065f46; }
.alert-info { background: #eff6ff; border: 1px solid #bfdbfe; color: #1e40af; }
.alert-warning { background: #fffbeb; border: 1px solid #fde68a; color: #92400e; }

/* ============================================
   INTEGRATION / MISC SECTIONS
   ============================================ */
.integration-section {
  padding: 5rem 0;
  background: var(--color-off-white);
}
.integration-content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

/* ============================================
   FOOTER
   ============================================ */
.footer,
.site-footer {
  background: var(--color-primary-dark);
  color: rgba(255, 255, 255, 0.7);
  padding: 4rem 0 0;
}

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

.footer-section h4,
.footer-col h4 {
  color: var(--color-white);
  font-size: 0.9rem;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 600;
}

.footer-section p,
.footer-col p {
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.875rem;
  line-height: 1.7;
}

.footer-section ul,
.footer-col ul {
  list-style: none;
  padding: 0;
}

.footer-section ul li a,
.footer-col a {
  display: block;
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.875rem;
  padding: 0.2rem 0;
  transition: color var(--transition);
}
.footer-section ul li a:hover,
.footer-col a:hover {
  color: var(--color-white);
}

.footer-legal {
  padding: 0.5rem 0;
  text-align: center;
}

/* Footer links inside columns — vertical list */
.footer-section ul.footer-links,
.footer-section .footer-links {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.footer-section ul.footer-links li a,
.footer-section .footer-links li a {
  display: block;
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.875rem;
  padding: 0.2rem 0;
  transition: color var(--transition);
}
.footer-section ul.footer-links li a:hover,
.footer-section .footer-links li a:hover { color: var(--color-white); }

/* Footer legal links row — horizontal centered */
.footer-legal a {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.8rem;
  padding: 0 0.5rem;
  display: inline;
  transition: color var(--transition);
}
.footer-legal a:hover { color: var(--color-white); }

/* Divider — works as inline text separator OR block line */
span.divider,
.divider {
  color: rgba(255, 255, 255, 0.2);
  font-size: 0.8rem;
}
div.divider {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  margin: 0;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 1.5rem 0;
  text-align: center;
  font-size: 0.8rem;
}
.footer-bottom p {
  color: rgba(255, 255, 255, 0.4);
  margin: 0.5rem 0 0;
  font-size: 0.8rem;
}

.footer-content,
.footer-container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 2rem;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 992px) {
  .testimonials-grid { grid-template-columns: 1fr; max-width: 600px; margin-left: auto; margin-right: auto; }
  .grid-4, .services-grid, .value-grid, .values-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .content-split, .contact-wrapper, .contact-grid { grid-template-columns: 1fr; gap: 2rem; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .industries-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 768px) {
  html { font-size: 15px; }
  .hero, .industries-hero, .about-hero, .contact-hero { padding: 4rem 0; }
  .hero h1, .hero h2, .industries-hero h1, .about-hero h1, .contact-hero h1 { font-size: 2rem; }
  .section, .services-overview, .value-section, .story-section, .approach-section, .contact-section, .industries-section { padding: 3.5rem 0; }
  .grid-2, .grid-3, .services-grid, .value-grid, .values-grid { grid-template-columns: 1fr; }
  .industries-grid { grid-template-columns: repeat(2, 1fr); }

  .comparison-table th, .comparison-table td { padding: 0.85rem 1rem; font-size: 0.875rem; }

  .navbar-content, .header-inner { height: 64px; }
  .utility-bar { font-size: 0.72rem; }
  .utility-bar .container { gap: 1rem; }
  .utility-bar .utility-label { display: none; }

  .nav-menu,
  .nav-menu ul,
  .main-nav {
    display: none;
    position: absolute;
    top: 64px;
    left: 0; right: 0;
    background: var(--color-white);
    flex-direction: column;
    padding: 1rem;
    border-bottom: 1px solid var(--color-light-gray);
    box-shadow: var(--shadow-md);
    z-index: 999;
  }
  .nav-menu.open,
  .nav-menu ul.open,
  .main-nav.open { display: flex; }
  .nav-toggle { display: block; }

  .navbar .btn-primary { display: none; }

  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 0.75rem; }

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

  .legal-hero h1 { font-size: 1.85rem; }
  .legal-subtitle { font-size: 1rem; }
  .legal-dates { flex-direction: column; gap: 0.75rem; }
  .toc-nav ul { grid-template-columns: 1fr; }
  .legal-section h2 { font-size: 1.5rem; }
  .legal-section h3 { font-size: 1.1rem; }
}

@media (max-width: 480px) {
  .hero h1, .hero h2 { font-size: 1.75rem; }
  .hero-ctas, .btn-group { flex-direction: column; }
  .container { padding: 0 1.25rem; }
  .industries-grid { grid-template-columns: 1fr 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; }

  .legal-hero { padding: 2.5rem 0; }
  .legal-hero h1 { font-size: 1.5rem; }
  .legal-content { padding: 2.5rem 0; }
  .toc-nav { padding: 1.5rem; }
  .legal-section h2 { font-size: 1.25rem; }
}
