/* ============================================================
   TESTA — base.css
   Reset · Variables · Typography · Utilities · Buttons · Animations
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;0,9..40,700;1,9..40,300&family=DM+Serif+Display:ital@0;1&display=swap');

/* ── CSS Variables ── */
:root {
  --navy:        #3489E9;
  --navy-mid:    #3489E9;
  --lime:        #B9E742;
  --lime-dark:   #9acc2e;
  --white:       #ffffff;
  --off-white:   #f4f4f0;
  --gray:        #8a8e98;
  --gray-light:  #e8e8e3;
  --text:        #0b2b67;

  --font-display: 'Arial', sans-serif;
  --font-serif:   'DM Serif Display', serif;
  --font-body:    'DM Sans', sans-serif;

  --nav-h:       80px;
  --max-w:       1280px;
  --section-pad: 100px;
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}
/* Prevent scroll when mobile nav is open */
body.nav-open { overflow: hidden; }

img { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* ── Utilities ── */
.container   { max-width: var(--max-w); margin: 0 auto; padding: 0 40px; }
.section-pad { padding: var(--section-pad) 0; }

/* ── Section Headers ── */
.section-header { margin-bottom: 60px; }

.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--lime-dark);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.section-eyebrow::before {
  content: '';
  display: block;
  width: 32px;
  height: 2px;
  background: var(--lime-dark);
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(36px, 4vw, 60px);
  color: var(--navy);
  line-height: 1.0;
  letter-spacing: 0.02em;
}
.section-title-white { color: var(--white); }

.section-subtitle {
  font-size: 16px;
  color: var(--gray);
  max-width: 560px;
  margin-top: 16px;
  line-height: 1.7;
}

/* Inline colour helpers */
.lime-text  { color: var(--lime); }
.blue-text  { color: var(--navy); }

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 32px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: all 0.25s ease;
  cursor: pointer;
}
.btn svg { width: 16px; height: 16px; transition: transform 0.2s; }
.btn:hover svg { transform: translateX(4px); }

.btn-outline {
  border: 2px solid var(--navy);
  color: var(--navy);
}
.btn-outline:hover {
  background: var(--navy);
  color: var(--white);
}

.btn-outline-white {
  border: 2px solid var(--white);
  color: var(--white);
}
.btn-outline-white:hover {
  background: var(--white);
  color: var(--navy);
}

/* ── Animations ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}
.animate-up {
  opacity: 0;
  animation: fadeUp 0.7s ease forwards;
  animation-play-state: paused;
}
.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.25s; }
.delay-3 { animation-delay: 0.4s; }
.delay-4 { animation-delay: 0.55s; }
