@import url('../fonts/fonts.css');

/* ─── Shared styles: Nav + Footer ─────────────────────────── */
:root {
  --blue:       #1D3E82;
  --blue-mid:   #2654A8;
  --blue-light: #EEF3FF;
  --blue-glow:  rgba(29,62,130,.22);
  --red:        #8C1F30;
  --red-mid:    #A8293D;
  --bg:         #F7F6F3;
  --surface:    #FFFFFF;
  --text:       #18181B;
  --muted:      #6B7280;
  --border:     #E5E7EB;
  --radius:     10px;
  --radius-sm:  8px;
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: 'Inter', system-ui, sans-serif; background: var(--bg); color: var(--text); line-height: 1.65; overflow-x: hidden; }
a { color: var(--blue); text-decoration: underline; }
img { display: block; max-width: 100%; }
h1, h2, h3 { font-family: 'Outfit', sans-serif; line-height: 1.15; }
h1 { font-size: clamp(1.9rem, 3.5vw, 2.7rem); font-weight: 700; }
h2 { font-size: clamp(1.5rem, 2.5vw, 2rem); font-weight: 700; }
p { color: var(--muted); }
.container { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 1.5rem; }

/* ─── Buttons ─────────────────────────────────────────────── */
.btn { display: inline-flex; align-items: center; gap: .5rem; padding: .85rem 2rem; border-radius: 100px; font-family: 'Inter', sans-serif; font-weight: 600; font-size: .93rem; transition: all .22s; cursor: pointer; border: none; white-space: nowrap; text-decoration: none; }
.btn-blue { background: var(--blue); color: #fff; box-shadow: 0 4px 18px var(--blue-glow); }
.btn-blue:hover { background: var(--blue-mid); transform: translateY(-3px); }

/* ─── NAV ─────────────────────────────────────────────────── */
nav { position: fixed; top: 0; left: 0; right: 0; z-index: 200; transition: background .35s, box-shadow .35s; }
.nav-inner { display: flex; align-items: center; justify-content: space-between; padding: 1rem 1.5rem; max-width: 1120px; margin: 0 auto; }
.logo { font-family: 'Outfit', sans-serif; font-weight: 800; font-size: 1.45rem; display: flex; align-items: center; gap: .5rem; color: #fff; transition: color .35s; text-decoration: none; }
.logo-mark { width: 34px; height: 34px; border-radius: 9px; background: linear-gradient(135deg, var(--blue) 0%, var(--red) 100%); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.logo-mark svg { width: 18px; height: 18px; }
.nav-links { display: flex; align-items: center; gap: 1.75rem; }
.nav-link { font-size: .88rem; font-weight: 500; color: rgba(255,255,255,.85); transition: all .2s; text-decoration: none; }
.nav-link:hover { color: #fff; }
.nav-cta { padding: .5rem 1.2rem; border-radius: 8px; font-size: .85rem; font-weight: 600; background: rgba(255,255,255,.14); color: #fff; border: 1.5px solid rgba(255,255,255,.3); transition: all .2s; }
.nav-cta:hover { background: rgba(255,255,255,.25); border-color: rgba(255,255,255,.6); }
nav.scrolled { background: rgba(247,246,243,.93); backdrop-filter: blur(18px); box-shadow: 0 1px 0 var(--border); }
nav.scrolled .logo { color: var(--blue); }
nav.scrolled .nav-link { color: var(--text); opacity: .7; }
nav.scrolled .nav-link:hover { opacity: 1; color: var(--blue); }
nav.scrolled .nav-cta { background: var(--blue); color: #fff; border-color: transparent; opacity: 1; }
nav.scrolled .nav-cta:hover { background: var(--blue-mid); }
/* Burger */
.nav-burger { display: none; flex-direction: column; justify-content: center; gap: 5px; width: 36px; height: 36px; padding: 4px; cursor: pointer; background: none; border: none; flex-shrink: 0; }
.nav-burger span { display: block; width: 22px; height: 2px; background: #fff; border-radius: 2px; transition: transform .25s, opacity .25s; }
nav.scrolled .nav-burger span { background: var(--text); }
nav.open .nav-burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
nav.open .nav-burger span:nth-child(2) { opacity: 0; transform: scaleX(0); }
nav.open .nav-burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
@media (max-width: 900px) {
  .nav-burger { display: flex; }
  .nav-links { position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; background: rgba(247,246,243,.97); backdrop-filter: blur(18px); max-height: 0; overflow: hidden; transition: max-height .3s ease, padding .3s ease; border-top: 1px solid transparent; padding: 0; }
  nav.open .nav-links { max-height: 400px; padding: .75rem 0 1.25rem; border-top-color: var(--border); }
  .nav-link { color: var(--text) !important; opacity: .75 !important; padding: .7rem 1.5rem; font-size: .95rem; }
  .nav-link:hover { opacity: 1 !important; color: var(--blue) !important; }
  .nav-cta { margin: .5rem 1.5rem 0; text-align: center; background: var(--blue) !important; color: #fff !important; border-color: transparent !important; opacity: 1 !important; padding: .75rem 1.2rem; border-radius: 8px; }
}

/* ─── FOOTER ──────────────────────────────────────────────── */
footer { background: #0B1D50; padding: 2.5rem 0; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1rem; }
.footer-logo { font-family: 'Outfit', sans-serif; font-weight: 700; font-size: 1rem; color: rgba(255,255,255,.85); }
.footer-links { display: flex; gap: 1.5rem; flex-wrap: wrap; }
.footer-links a { font-size: .82rem; color: rgba(255,255,255,.48); transition: color .15s; text-decoration: none; }
.footer-links a:hover { color: rgba(255,255,255,.85); }
.footer-copy { font-size: .78rem; color: rgba(255,255,255,.38); }
