/* ================================================================
   BASE — CSS custom properties, reset, typography
   ================================================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

/* ── CSS Variables ── */
:root {
  --color-primary:       #1565C0;
  --color-primary-dark:  #0D47A1;
  --color-primary-light: #E3F2FD;
  --color-accent:        #43A047;
  --color-accent-light:  #81C784;
  --color-neutral-bg:    #F5F8FF;
  --color-footer-bg:     #0D2757;
  --color-text:          #1A1A2E;
  --color-text-muted:    #666666;
  --color-white:         #FFFFFF;
  --color-border:        #E0E0E0;

  --font-family: 'Inter', 'Segoe UI', Arial, sans-serif;
  --font-size-base: 16px;
  --line-height-base: 1.65;

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

  --shadow-card: 0 2px 12px rgba(0, 0, 0, 0.07);
  --shadow-nav:  0 2px 10px rgba(0, 0, 0, 0.18);

  --transition: 0.2s ease;
  --container-max: 1200px;
}

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

html { font-size: var(--font-size-base); scroll-behavior: smooth; }

body {
  font-family: var(--font-family);
  font-size: 1rem;
  line-height: var(--line-height-base);
  color: var(--color-text);
  background: var(--color-white);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--color-primary); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--color-primary-dark); }
ul, ol { list-style: none; }
button { cursor: pointer; font-family: var(--font-family); }

/* ── Typography ── */
h1, h2, h3, h4, h5, h6 {
  color: var(--color-primary);
  font-weight: 800;
  line-height: 1.2;
}
h1 { font-size: clamp(2rem, 4vw, 2.8rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.1rem); }
h3 { font-size: 1.2rem; font-weight: 700; }
h4 { font-size: 1rem; font-weight: 700; }

p { margin-bottom: 1rem; color: var(--color-text-muted); }
p:last-child { margin-bottom: 0; }

.section-label {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--color-accent);
  margin-bottom: 0.6rem;
}

.section-title {
  color: var(--color-primary);
  margin-bottom: 0.75rem;
}

.section-sub {
  font-size: 1.05rem;
  color: var(--color-text-muted);
  max-width: 580px;
  margin-bottom: 3rem;
  line-height: 1.7;
}
