/* ── Reset ──────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body { font-family: var(--font-body, sans-serif); color: var(--color-text, #374151); background: var(--color-bg, #fff); line-height: 1.6; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }

/* ── Container ──────────────────────────────────────── */
.container { width: 100%; max-width: 1200px; margin-inline: auto; padding-inline: 1.5rem; }

/* ── Buttons ────────────────────────────────────────── */
.btn { display: inline-flex; align-items: center; gap: .5rem; padding: .75rem 1.75rem; border-radius: var(--radius-sm, 6px); font-weight: 600; font-size: .95rem; cursor: pointer; transition: opacity .2s, transform .2s; border: 2px solid transparent; }
.btn:hover { opacity: .88; transform: translateY(-1px); }
.btn-primary { background: var(--color-primary, #1e40af); color: #fff; }
.btn-outline-white { border-color: #fff; color: #fff; background: transparent; }
.btn-outline-dark { border-color: var(--color-primary, #1e40af); color: var(--color-primary, #1e40af); background: transparent; }

/* ── Section defaults ───────────────────────────────── */
.section { padding-block: 5rem; }
.section-header { text-align: center; margin-bottom: 3rem; }
.section-eyebrow { display: inline-block; font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--color-primary, #1e40af); margin-bottom: .75rem; }
.section-title { font-size: clamp(1.75rem, 4vw, 2.75rem); font-weight: 800; line-height: 1.2; color: var(--color-dark, #0f172a); }
.section-subtitle { margin-top: .75rem; font-size: 1.05rem; color: var(--color-text-light, #6b7280); max-width: 560px; margin-inline: auto; }

/* ── Reveal animation ───────────────────────────────── */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .6s ease, transform .6s ease; }
.reveal.visible { opacity: 1; transform: none; }
.reveal-left { transform: translateX(-28px); }
.reveal-right { transform: translateX(28px); }
.reveal-left.visible, .reveal-right.visible { transform: none; }

/* ── Navbar ─────────────────────────────────────────── */
.site-header { position: fixed; top: 0; left: 0; right: 0; z-index: 1000; transition: background .3s, box-shadow .3s; }
.site-header.scrolled { background: var(--color-bg, #fff); box-shadow: var(--shadow-sm); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 70px; }
.logo { font-size: 1.25rem; font-weight: 800; color: var(--color-dark, #0f172a); }
.site-header:not(.scrolled) .logo { color: #fff; }
.nav-menu { display: flex; align-items: center; gap: 2rem; list-style: none; }
.nav-menu a { font-size: .9rem; font-weight: 500; color: var(--color-text, #374151); transition: color .2s; }
.nav-menu a:hover { color: var(--color-primary, #1e40af); }
.site-header:not(.scrolled) .nav-menu a { color: rgba(255,255,255,.85); }
.site-header:not(.scrolled) .nav-menu a:hover { color: #fff; }
.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: .25rem; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--color-dark, #0f172a); transition: transform .3s, opacity .3s; }
.site-header:not(.scrolled) .nav-toggle span { background: #fff; }
.header-cta { padding: .5rem 1.25rem; font-size: .875rem; }
.site-header:not(.scrolled) .header-cta { background: transparent; border-color: rgba(255,255,255,.6); color: #fff; }
.site-header:not(.scrolled) .header-cta:hover { background: rgba(255,255,255,.15); border-color: #fff; }
.logo img, .logo .custom-logo { height: 40px; width: auto; display: block; }
.site-header:not(.scrolled) .logo img { filter: brightness(0) invert(1); }

/* ── Skip link ──────────────────────────────────────── */
.skip-link { position: absolute; top: -100%; left: 1rem; background: var(--color-primary, #1e40af); color: #fff; padding: .5rem 1rem; border-radius: var(--radius-sm); font-size: .875rem; font-weight: 600; z-index: 9999; transition: top .2s; }
.skip-link:focus { top: 1rem; }

/* ── Footer ─────────────────────────────────────────── */
.site-footer { background: var(--color-navy, #1e293b); color: rgba(255,255,255,.7); padding-top: 3.5rem; }
.footer-inner { display: grid; gap: 3rem; padding-bottom: 3rem; border-bottom: 1px solid rgba(255,255,255,.1); }
.footer-cols-1 .footer-inner { grid-template-columns: 1fr; max-width: 480px; }
.footer-cols-2 .footer-inner { grid-template-columns: 1.5fr 1fr; }
.footer-cols-3 .footer-inner { grid-template-columns: 1.5fr 1fr 1fr; }
.footer-brand { display: flex; flex-direction: column; gap: 1rem; }
.footer-logo-text { font-size: 1.25rem; font-weight: 800; color: #fff; }
.footer-brand img, .footer-brand .custom-logo { height: 36px; width: auto; max-width: 160px; filter: brightness(0) invert(1); }
.footer-tagline { font-size: .9rem; color: rgba(255,255,255,.55); line-height: 1.6; max-width: 320px; }
.footer-social { display: flex; gap: .75rem; margin-top: .25rem; }
.footer-social a { display: flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 50%; background: rgba(255,255,255,.08); color: rgba(255,255,255,.7); transition: background .2s, color .2s; }
.footer-social a:hover { background: var(--color-primary, #1e40af); color: #fff; }
.footer-col { display: flex; flex-direction: column; gap: 1rem; }
.footer-col-heading { font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #fff; }
.footer-social-list, .footer-contact-list { list-style: none; display: flex; flex-direction: column; gap: .65rem; }
.footer-social-list a, .footer-contact-list a { display: inline-flex; align-items: center; gap: .6rem; font-size: .9rem; color: rgba(255,255,255,.6); transition: color .2s; }
.footer-social-list a:hover, .footer-contact-list a:hover { color: #fff; }
.footer-nav ul { list-style: none; display: flex; flex-direction: column; gap: .6rem; }
.footer-nav ul li a { font-size: .9rem; color: rgba(255,255,255,.6); transition: color .2s; }
.footer-nav ul li a:hover { color: #fff; }
.footer-bottom { padding-block: 1.25rem; font-size: .8rem; color: rgba(255,255,255,.4); text-align: center; }

/* ── Responsive ─────────────────────────────────────── */
@media (max-width: 768px) {
    .footer-cols-1 .footer-inner,
    .footer-cols-2 .footer-inner,
    .footer-cols-3 .footer-inner { grid-template-columns: 1fr; gap: 2rem; }
    .header-cta { display: none; }
    .nav-menu { display: none; position: fixed; inset: 70px 0 0; background: var(--color-bg, #fff); flex-direction: column; align-items: center; justify-content: center; gap: 2rem; }
    .nav-menu.open { display: flex; }
    .nav-menu a { color: var(--color-dark, #0f172a) !important; font-size: 1.1rem; }
    .nav-toggle { display: flex; }
}
