/* ─── MAIN.CSS: CLEAN WHITE-FIRST ARCHITECTURE ─── */
/* Follows Impeccable Design Standards: Zero AI Slop, No Emojis, Authentic Commercial Polish */

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-page);
  color: var(--text-body);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* ─── BROWSER SURFACES & ADA ACCESSIBILITY (WCAG 2.1 AA / SECTION 508) ─── */
.skip-link {
  position: absolute;
  top: -120px;
  left: 1.5rem;
  background-color: var(--color-brand);
  color: #FFFFFF;
  padding: 0.75rem 1.25rem;
  font-weight: 700;
  font-size: 0.9375rem;
  z-index: 100000;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-elevated);
  transition: top 0.2s ease-in-out;
  text-decoration: none;
}

.skip-link:focus {
  top: 1rem;
  outline: 3px solid #FFFFFF;
  outline-offset: 2px;
}

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

::selection {
  background-color: var(--color-brand);
  color: #FFFFFF;
}

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

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

/* ─── TYPOGRAPHY ─── */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  color: var(--text-heading);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.025em;
  margin-bottom: var(--space-md);
}

h1 {
  font-size: clamp(2.25rem, 4vw, 3.25rem);
  font-weight: 800;
  line-height: 1.15;
}

h2 {
  font-size: clamp(1.75rem, 3vw, 2.35rem);
  font-weight: 700;
  margin-bottom: var(--space-md);
}

h3 {
  font-size: 1.35rem;
  font-weight: 700;
}

h4 {
  font-size: 1.1rem;
  font-weight: 600;
}

p {
  margin-bottom: var(--space-md);
  color: var(--text-body);
  font-size: 1rem;
  max-width: 70ch;
}

p.lead {
  font-size: 1.15rem;
  line-height: 1.65;
  color: var(--text-muted);
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast);
}

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

/* ─── LAYOUT & CONTAINERS ─── */
.container {
  width: 100%;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--space-lg);
  padding-right: var(--space-lg);
}

.container-narrow {
  max-width: 860px;
}

.section {
  padding-top: var(--space-3xl);
  padding-bottom: var(--space-3xl);
  border-bottom: 1px solid var(--border-light);
}

.section-subtle {
  background-color: var(--bg-subtle);
}

.section-header {
  margin-bottom: var(--space-2xl);
}

.section-header.text-center {
  text-align: center;
}

.section-header.text-center p {
  margin-left: auto;
  margin-right: auto;
}

/* ─── TOP DISPATCH STRIP ─── */
.top-bar {
  background-color: var(--bg-dark);
  color: #E2E8F0;
  font-size: 0.8125rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.top-bar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-md);
}

.top-bar-left, .top-bar-right {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
}

.top-bar-item {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: #CBD5E1;
}

.top-bar-item svg {
  width: 14px;
  height: 14px;
  color: #4ADE80;
}

.top-bar-item a {
  color: #FFFFFF;
  font-weight: 600;
}

.top-bar-item a:hover {
  color: #4ADE80;
}

/* ─── MAIN HEADER & NAVIGATION ─── */
.site-header {
  background-color: var(--bg-page);
  border-bottom: 1px solid var(--border-light);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: var(--shadow-subtle);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
  gap: var(--space-lg);
}

.logo-link {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  text-decoration: none;
}

.logo-img {
  height: 52px;
  width: auto;
  object-fit: contain;
}

.logo-text-wrap {
  display: flex;
  flex-direction: column;
}

.logo-brand-title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text-heading);
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.logo-brand-sub {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-brand);
  font-weight: 700;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
}

.nav-link {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--text-body);
  padding: 0.5rem 0.25rem;
  position: relative;
  transition: color var(--transition-fast);
}

.nav-link:hover, .nav-link.active {
  color: var(--color-brand);
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 2px;
  background-color: var(--color-brand);
  border-radius: 2px;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.header-phone {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--text-heading);
  padding: 0.5rem 0.75rem;
  border-radius: var(--radius-md);
  transition: background-color var(--transition-fast);
}

.header-phone:hover {
  background-color: var(--bg-muted);
  color: var(--color-brand);
}

.header-phone svg {
  width: 18px;
  height: 18px;
  color: var(--color-brand);
}

/* ─── BUTTONS ─── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 700;
  padding: 0.75rem 1.4rem;
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: all var(--transition-fast);
  white-space: nowrap;
}

.btn svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.btn-primary {
  background-color: var(--color-brand);
  color: #FFFFFF;
  border-color: var(--color-brand);
}

.btn-primary:hover {
  background-color: var(--color-brand-hover);
  border-color: var(--color-brand-hover);
  box-shadow: var(--shadow-card);
}

.btn-secondary {
  background-color: #FFFFFF;
  color: var(--text-heading);
  border-color: var(--border-strong);
}

.btn-secondary:hover {
  background-color: var(--bg-subtle);
  border-color: var(--text-heading);
}

.btn-navy {
  background-color: var(--color-navy);
  color: #FFFFFF;
}

.btn-navy:hover {
  background-color: var(--color-navy-hover);
}

.btn-lg {
  padding: 0.95rem 1.85rem;
  font-size: 1.05rem;
  border-radius: var(--radius-lg);
}

.btn-block {
  width: 100%;
}

/* ─── HERO SECTION (CLEAN COMMERCIAL STYLE) ─── */
.hero {
  padding-top: var(--space-3xl);
  padding-bottom: var(--space-3xl);
  background-color: var(--bg-page);
  position: relative;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: var(--space-3xl);
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.hero-badge-clean {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background-color: var(--color-brand-light);
  border: 1px solid var(--color-brand-border);
  color: var(--color-brand-hover);
  font-size: 0.8125rem;
  font-weight: 700;
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius-full);
  margin-bottom: var(--space-md);
}

.hero-badge-clean svg {
  width: 14px;
  height: 14px;
  color: var(--color-brand);
}

.hero-headline {
  margin-bottom: var(--space-md);
  letter-spacing: -0.03em;
}

.hero-subhead {
  font-size: 1.15rem;
  color: var(--text-body);
  margin-bottom: var(--space-xl);
  line-height: 1.6;
}

.hero-ctas {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  flex-wrap: wrap;
  margin-bottom: var(--space-xl);
}

.hero-trust-row {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
  padding-top: var(--space-md);
  border-top: 1px solid var(--border-light);
  width: 100%;
  flex-wrap: wrap;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-body);
}

.trust-item svg {
  width: 18px;
  height: 18px;
  color: var(--color-brand);
}

.hero-media-card {
  background-color: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-elevated);
}

.hero-media-wrapper {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background-color: var(--bg-muted);
}

.hero-media-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-media-caption {
  padding: var(--space-md) var(--space-lg);
  background-color: #FFFFFF;
  border-top: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
}

.caption-title {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--text-heading);
}

.caption-desc {
  font-size: 0.8125rem;
  color: var(--text-muted);
}

/* ─── STATS STRIP ─── */
.stats-strip {
  background-color: var(--bg-subtle);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
  padding: var(--space-xl) 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-xl);
}

.stat-box {
  border-right: 1px solid var(--border-light);
  padding-right: var(--space-lg);
}

.stat-box:last-child {
  border-right: none;
}

.stat-number {
  font-family: var(--font-display);
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--text-heading);
  line-height: 1;
  margin-bottom: 0.35rem;
}

.stat-label {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-muted);
}

/* ─── FOOTER ─── */
.site-footer {
  background-color: var(--bg-dark);
  color: #94A3B8;
  padding-top: var(--space-4xl);
  padding-bottom: var(--space-2xl);
  margin-top: auto;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.25fr;
  gap: var(--space-2xl);
  margin-bottom: var(--space-3xl);
}

.footer-brand .logo-img {
  filter: brightness(0) invert(1);
  margin-bottom: var(--space-md);
}

.footer-brand p {
  color: #94A3B8;
  font-size: 0.9375rem;
  line-height: 1.6;
}

.footer-heading {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: var(--space-lg);
  letter-spacing: 0.02em;
}

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

.footer-links a {
  color: #CBD5E1;
  font-size: 0.9375rem;
  transition: color var(--transition-fast);
}

.footer-links a:hover {
  color: #4ADE80;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  margin-bottom: var(--space-sm);
  color: #E2E8F0;
  font-size: 0.9375rem;
}

.footer-contact-item svg {
  width: 18px;
  height: 18px;
  color: #4ADE80;
  flex-shrink: 0;
  margin-top: 2px;
}

.footer-bottom {
  padding-top: var(--space-xl);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-md);
  font-size: 0.8125rem;
  color: #64748B;
}

/* ─── MOBILE RESPONSIVE ─── */
@media (max-width: 960px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  .header-inner {
    height: 70px;
  }
  .main-nav {
    display: none; /* Can be toggled */
  }
  .top-bar-left {
    display: none;
  }
  .stats-grid {
    grid-template-columns: 1fr;
  }
  .stat-box {
    border-right: none;
    border-bottom: 1px solid var(--border-light);
    padding-bottom: var(--space-md);
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
}
