/**
 * ICABS TAXI DESIGN SYSTEM — BASE & RESETS
 */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Plus+Jakarta+Sans:wght@500;600;700;800&display=swap');

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  overflow-x: clip;
  max-width: 100vw;
}

body {
  margin: 0;
  padding: 0;
  padding-top: 80px;
  font-family: var(--font-body);
  font-size: var(--font-size-base);
  line-height: var(--line-height-normal);
  color: var(--color-text-main);
  background-color: var(--color-surface-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}

/* Accessible Skip Navigation */
.skip-link {
  position: absolute;
  top: -100px;
  left: var(--space-4);
  background-color: var(--color-brand-blue);
  color: var(--color-text-inverse);
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius-sm);
  z-index: 10000;
  font-weight: var(--font-weight-semibold);
  text-decoration: none;
  transition: top var(--transition-fast);
}

.skip-link:focus {
  top: var(--space-4);
  outline: 3px solid var(--color-gold);
}

/* Typography Defaults */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--color-text-main);
  line-height: var(--line-height-tight);
  font-weight: var(--font-weight-bold);
  letter-spacing: -0.02em;
}

h1 { font-size: var(--font-size-3xl); font-weight: var(--font-weight-extrabold); }
h2 { font-size: var(--font-size-2xl); }
h3 { font-size: var(--font-size-xl); }
h4 { font-size: var(--font-size-lg); }
h5 { font-size: var(--font-size-md); }
h6 { font-size: var(--font-size-base); }

p {
  margin-bottom: var(--space-4);
  color: var(--color-text-secondary);
}

p:last-child {
  margin-bottom: 0;
}

small {
  font-size: var(--font-size-xs);
  color: var(--color-text-muted);
}

a {
  color: var(--color-brand-blue);
  text-decoration: none;
  transition: color var(--transition-fast), opacity var(--transition-fast);
}

a:hover {
  color: var(--color-brand-blue-hover);
}

img, svg {
  display: block;
  max-width: 100%;
  height: auto;
}

/* Accessible Focus States */
:focus-visible {
  outline: 2px solid var(--color-brand-blue);
  outline-offset: 2px;
}

/* Text Selection */
::selection {
  background-color: var(--color-brand-blue-light);
  color: var(--color-brand-blue);
}

/* Helper Text Classes */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }
.text-muted { color: var(--color-text-muted); }
.text-brand-navy { color: var(--color-brand-navy); }
.text-brand-blue { color: var(--color-brand-blue); }
.font-semibold { font-weight: var(--font-weight-semibold); }
.font-bold { font-weight: var(--font-weight-bold); }

/* Core Layout Container (Guarantees identical centering & width on all pages) */
.container {
  width: 100%;
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--space-6, 24px);
  padding-right: var(--space-6, 24px);
}

/* Persistent Luxury Floating Header (Base Fallback) */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 1000;
  background: linear-gradient(135deg, rgba(240, 243, 252, 0.92) 0%, rgba(255, 248, 240, 0.88) 48%, rgba(243, 245, 254, 0.92) 100%);
  backdrop-filter: blur(24px) saturate(190%);
  -webkit-backdrop-filter: blur(24px) saturate(190%);
  border-bottom: 1px solid rgba(38, 34, 86, 0.10);
  box-shadow: 0 4px 20px -2px rgba(38, 34, 86, 0.06), 0 1px 0 0 rgba(239, 127, 26, 0.22);
}

