/* ========================================
   CSS Custom Properties & Reset
   ======================================== */
:root {
  --color-primary: #001f3f;
  --color-primary-dark: #00152b;
  --color-primary-light: #002e5c;
  --color-accent: #007bff;
  --color-accent-dark: #0056b3;
  --color-accent-light: #3395ff;
  --color-accent-red: #dc3545;
  --color-bg: #f8f9fa;
  --color-bg-white: #ffffff;
  --color-text: #212529;
  --color-text-muted: #6c757d;
  --color-text-light: #adb5bd;
  --color-border: #dee2e6;
  --color-overlay: rgba(0, 31, 63, 0.37);

  --font-base: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  --size-xs: 0.75rem;
  --size-sm: 0.875rem;
  --size-base: 1rem;
  --size-md: 1.125rem;
  --size-lg: 1.25rem;
  --size-xl: 1.5rem;
  --size-2xl: 2rem;
  --size-3xl: 2.5rem;
  --size-4xl: 3rem;

  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;

  --shadow-sm: 0 1px 4px rgba(0,0,0,.08);
  --shadow-md: 0 4px 16px rgba(0,0,0,.12);
  --shadow-lg: 0 8px 32px rgba(0,0,0,.16);

  --transition: 200ms ease;

  --container: 1200px;
  --container-pad: clamp(1rem, 4vw, 2rem);

  --header-h: 80px;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  font-size: 16px;
  overflow-x: hidden;
}

body {
  font-family: var(--font-base);
  font-size: var(--size-base);
  line-height: 1.6;
  color: var(--color-text);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  width: 100%;
  position: relative;
  overflow-wrap: break-word;
}

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

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

ul,
ol {
  list-style: none;
}

button,
input,
select,
textarea {
  font: inherit;
  border: none;
  background: none;
  outline: none;
}

/* ========================================
   Typography utilities
   ======================================== */
.section-label {
  display: inline-block;
  font-size: var(--size-xs);
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: .5rem;
}

.section-title {
  font-size: clamp(1.5rem, 3.5vw, var(--size-3xl));
  font-weight: 700;
  line-height: 1.25;
  color: var(--color-primary);
}

.section-title--light {
  color: #fff;
}

.section-subtitle {
  font-size: var(--size-md);
  color: var(--color-text-muted);
  max-width: 640px;
  margin-top: .75rem;
}

/* ========================================
   Reveal animations on scroll
   ======================================== */
.js-reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .55s ease, transform .55s ease;
}

.js-reveal.revealed {
  opacity: 1;
  transform: none;
}

/* ========================================
   Buttons
   ======================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: .875rem 2rem;
  border-radius: var(--radius-md);
  font-size: var(--size-base);
  font-weight: 700;
  letter-spacing: .04em;
  cursor: pointer;
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
  white-space: nowrap;
  -webkit-tap-highlight-color: transparent;
}

.btn:active {
  transform: scale(.97);
}

.btn--gold {
  background: var(--color-accent);
  color: #fff;
  box-shadow: 0 4px 16px rgba(0, 123, 255, 0.35);
}

.btn--gold:hover {
  background: var(--color-accent-dark);
  box-shadow: 0 6px 20px rgba(0, 123, 255, 0.45);
}

.btn--outline {
  background: transparent;
  color: #fff;
  border: 2px solid #fff;
}

.btn--outline:hover {
  background: rgba(255,255,255,.12);
}

.btn--primary {
  background: var(--color-primary);
  color: #fff;
}

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

.btn--sm {
  padding: .5rem 1.25rem;
  font-size: var(--size-sm);
}

/* ========================================
   Visually hidden (accessibility)
   ======================================== */
.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;
}
