/* ── Custom Fonts ─────────────────────────────────────────── */
@font-face {
  font-family: 'Involve';
  font-weight: 700;
  font-style: normal;
  src: url('brant_assets/typography/HEADING_ Involve-Bold-BF65bb0f66f270b_') format('opentype'),
       url('brant_assets/typography/HEADING_ Involve-Bold-BF65bb0f66f270b_') format('truetype');
  font-display: swap;
}
@font-face {
  font-family: 'Involve';
  font-weight: 500;
  font-style: normal;
  src: url('brant_assets/typography/SUBHEADER_ Involve-Medium-BF65bb0f6716366') format('opentype'),
       url('brant_assets/typography/SUBHEADER_ Involve-Medium-BF65bb0f6716366') format('truetype');
  font-display: swap;
}

/* ── Variables ────────────────────────────────────────────── */
:root {
  --primary-color: #183159;
  --primary-dark: #0f2240;
  --secondary-color: #7BB9B9;
  --secondary-dark: #5fa0a0;
  --cta-color: #D4FFA8;
  --cta-dark: #b8ef8a;
  --grey-color: #999;
  --white-color: #fff;
  --black-color: #1a1a1a;
  --light-bg: #f5f7fa;
  --text-dark: #183159;
  --text-mid: #4a5568;
  --font-h: 'Involve', 'Outfit', sans-serif;
  --font-b: 'Outfit', sans-serif;
  --r: 6px;
}

/* ── Reset ────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; overflow-x: hidden; }
body { font-family: var(--font-b); color: var(--black-color); background: var(--white-color); line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }

/* ── Layout ───────────────────────────────────────────────── */
.container { max-width: 1280px; margin: 0 auto; padding: 0 40px; }

/* ── Typography ───────────────────────────────────────────── */
h1, h2, h3, h4 { text-wrap: balance; }
p { text-wrap: pretty; }

/* ── Buttons ──────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-b);
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.03em;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.25s ease;
  white-space: nowrap;
  text-transform: uppercase;
}
.btn-teal { background: var(--cta-color); color: var(--primary-color); padding: 0.875rem 2rem; }
.btn-teal:hover { background: var(--cta-dark); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(212,255,168,0.5); }
.btn-outline-white { background: transparent; color: var(--white-color); padding: 0.875rem 2rem; border: 2px solid rgba(255,255,255,0.45); }
.btn-outline-white:hover { border-color: var(--white-color); background: rgba(255,255,255,0.1); }
.btn-outline-dark { background: transparent; color: var(--primary-color); padding: 0.875rem 2rem; border: 2px solid var(--primary-color); }
.btn-outline-dark:hover { background: var(--primary-color); color: var(--white-color); }
.btn-sm { font-size: 0.8rem; padding: 0.625rem 1.375rem; }
.btn svg { transition: transform 0.2s; }
.btn:hover svg { transform: translateX(4px); }
.btn-lime-pill {
  display: inline-flex; align-items: center; gap: .5rem;
  background: var(--cta-color); color: var(--primary-color);
  padding: .65rem 1.5rem; border-radius: 100px;
  font-weight: 700; font-size: .78rem; letter-spacing: .06em;
  text-transform: uppercase; text-decoration: none;
  transition: transform .2s, box-shadow .2s;
}
.btn-lime-pill:hover { transform: translateY(-1px); box-shadow: 0 6px 18px rgba(212,255,168,.4); }
.btn-outline-pill {
  display: inline-flex; align-items: center; gap: .5rem;
  border: 2px solid rgba(212,255,168,.7); color: var(--cta-color);
  padding: .65rem 1.5rem; border-radius: 100px;
  font-weight: 700; font-size: .78rem; letter-spacing: .06em;
  text-transform: uppercase; text-decoration: none;
  transition: background .2s, color .2s;
}
.btn-outline-pill:hover { background: var(--cta-color); color: var(--primary-color); }

/* ── Fade-in animations ───────────────────────────────────── */
.fade-in { opacity: 0; transform: translateY(28px); transition: opacity 0.7s ease, transform 0.7s ease; }
.fade-in.visible { opacity: 1; transform: translateY(0); }
.fade-in-delay-1 { transition-delay: 0.1s; }
.fade-in-delay-2 { transition-delay: 0.2s; }
.fade-in-delay-3 { transition-delay: 0.3s; }
.fade-in-delay-4 { transition-delay: 0.4s; }

/* ── Cookie banner ────────────────────────────────────────── */
.cookie-banner { position: fixed; bottom: 0; left: 0; right: 0; z-index: 9999; background: var(--primary-dark); border-top: 1px solid rgba(255,255,255,0.1); padding: 1.25rem 0; transform: translateY(100%); transition: transform 0.4s ease; }
.cookie-banner.visible { transform: translateY(0); }
.cookie-inner { display: flex; align-items: center; gap: 2rem; flex-wrap: wrap; }
.cookie-text { flex: 1; min-width: 260px; font-size: 0.875rem; color: rgba(255,255,255,0.65); line-height: 1.6; }
.cookie-text strong { color: var(--white-color); }
.cookie-text a { color: var(--secondary-color); text-decoration: underline; }
.cookie-actions { display: flex; gap: 0.75rem; flex-wrap: wrap; flex-shrink: 0; }
.cookie-btn { padding: 0.6rem 1.25rem; border-radius: 3px; font-size: 0.8rem; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; cursor: pointer; border: none; font-family: var(--font-b); transition: all 0.2s; }
.cookie-btn-accept { background: var(--cta-color); color: var(--primary-color); }
.cookie-btn-accept:hover { background: var(--cta-dark); }
.cookie-btn-manage { background: transparent; color: rgba(255,255,255,0.55); border: 1px solid rgba(255,255,255,0.2); }
.cookie-btn-manage:hover { color: var(--white-color); border-color: rgba(255,255,255,0.4); }
.cookie-btn-reject { background: transparent; color: rgba(255,255,255,0.35); border: 1px solid rgba(255,255,255,0.12); }
.cookie-btn-reject:hover { color: rgba(255,255,255,0.6); }

/* Cookie preferences modal */
.cookie-modal-overlay { position: fixed; inset: 0; z-index: 10001; background: rgba(22,19,58,0.8); backdrop-filter: blur(6px); display: flex; align-items: center; justify-content: center; opacity: 0; pointer-events: none; transition: opacity 0.3s; }
.cookie-modal-overlay.open { opacity: 1; pointer-events: all; }
.cookie-modal { background: var(--white-color); border-radius: 8px; max-width: 540px; width: calc(100% - 3rem); padding: 2.5rem; position: relative; }
.cookie-modal h3 { font-family: var(--font-h); font-size: 1.375rem; color: var(--primary-color); margin-bottom: 0.5rem; }
.cookie-modal > p { font-size: 0.875rem; color: var(--text-mid); margin-bottom: 1.75rem; line-height: 1.65; }
.cookie-category { display: flex; align-items: flex-start; gap: 1rem; padding: 1rem 0; border-bottom: 1px solid rgba(0,0,0,0.07); }
.cookie-category:last-of-type { border-bottom: none; }
.cookie-cat-info { flex: 1; }
.cookie-cat-info strong { display: block; font-size: 0.875rem; color: var(--primary-color); font-weight: 700; margin-bottom: 0.25rem; }
.cookie-cat-info span { font-size: 0.8rem; color: var(--text-mid); }
.toggle { position: relative; width: 44px; height: 24px; flex-shrink: 0; margin-top: 2px; }
.toggle input { opacity: 0; width: 0; height: 0; }
.toggle-track { position: absolute; inset: 0; background: #ddd; border-radius: 24px; cursor: pointer; transition: background 0.25s; }
.toggle input:checked + .toggle-track { background: var(--cta-color); }
.toggle-track::after { content: ''; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: white; transition: left 0.25s; }
.toggle input:checked + .toggle-track::after { left: 23px; }
.toggle input:disabled + .toggle-track { opacity: 0.6; cursor: not-allowed; }
.cookie-modal-footer { display: flex; gap: 0.75rem; margin-top: 1.75rem; flex-wrap: wrap; }
.cookie-close-modal { position: absolute; top: 1.25rem; right: 1.25rem; background: none; border: none; cursor: pointer; color: var(--text-mid); padding: 4px; }
.cookie-close-modal:hover { color: var(--primary-color); }

/* ── Navbar ───────────────────────────────────────────────── */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 1000; padding: 24px 0; transition: background 0.35s ease, box-shadow 0.35s ease; will-change: transform; transform: translateZ(0); }
.nav.scrolled { padding: 14px 0; background: var(--primary-color); box-shadow: 0 1px 0 rgba(0,0,0,0.2); }
.nav-inner { display: flex; align-items: center; gap: 2.5rem; }
.nav .container { max-width: 100%; padding-right: 24px; }
.nav-logo { flex-shrink: 0; display: flex; align-items: center; margin-right: auto; }
.nav-logo img { height: 36px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 2.5rem; list-style: none; }
.nav-links a { font-size: 0.875rem; font-weight: 500; color: var(--white-color); letter-spacing: 0.04em; text-transform: uppercase; transition: color 0.2s, background 0.2s; padding: 0.45rem 0.85rem; border-radius: 6px; }
.nav-links a:hover { color: var(--white-color); }
.nav-links a.active { color: var(--secondary-color); background: rgba(123,185,185,0.12); }
.nav.scrolled .nav-links a { color: var(--white-color); }
.nav.scrolled .nav-links a:hover { color: var(--white-color); }
.nav.scrolled .nav-links a.active { color: var(--secondary-color); }
.nav-cta .btn-teal { padding: 0.5rem 1rem; font-size: 0.775rem; }
.nav-hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 4px; background: none; border: none; }
.nav-hamburger span { display: block; width: 24px; height: 2px; background: var(--white-color); transition: background 0.3s; }
.nav-mobile-cta-item { display: none; }
.nav.scrolled .nav-hamburger span { background: var(--white-color); }
.nav-has-dropdown { position: relative; }
.nav-arrow { font-size: 1rem; opacity: 0.9; margin-left: 5px; display: inline-block; transition: transform 0.2s; vertical-align: middle; }
.nav-has-dropdown:hover .nav-arrow { transform: rotate(180deg); }
.nav-dropdown { position: absolute; top: calc(100% + 14px); left: 50%; transform: translateX(-50%) translateY(-4px); background: var(--primary-color); border: 1px solid rgba(123,185,185,0.2); border-radius: 8px; padding: 0.4rem 0; min-width: 150px; list-style: none; opacity: 0; visibility: hidden; transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s; box-shadow: 0 8px 24px rgba(0,0,0,0.3); z-index: 200; }
.nav-has-dropdown:hover .nav-dropdown { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.nav-dropdown li a { display: block; padding: 0.55rem 1.25rem; font-size: 0.8rem; font-weight: 500; color: var(--white-color); letter-spacing: 0.04em; text-transform: uppercase; text-align: center; margin: 0 0.4rem; border-radius: 5px; transition: color 0.15s, background 0.15s; white-space: nowrap; }
.nav-dropdown li a:hover { color: var(--secondary-color); background: rgba(123,185,185,0.08); }
.nav-dropdown li a.active { color: var(--secondary-color); background: rgba(123,185,185,0.08); }

/* ── Footer ───────────────────────────────────────────────── */
.footer { background: var(--primary-dark); padding: 80px 0 0; }
.footer-inner { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 4rem; margin-bottom: 3rem; }
.footer-brand { padding-top: 0.35rem; }
.footer-brand img { width: 280px; height: auto; margin-bottom: 1.5rem; }
.footer-brand p { font-size: 0.875rem; color: var(--white-color); line-height: 1.75; max-width: 300px; }
.footer-col h4 { font-size: 1rem; font-weight: 700; color: var(--secondary-color); margin-bottom: 1.25rem; }
.footer-col h4 a { color: inherit; padding: 0.2rem 0.5rem; border-radius: 6px; transition: background 0.2s; display: inline-block; margin-left: -0.5rem; }
.footer-col h4 a:hover { background: rgba(255,255,255,0.12); }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 0.75rem; }
.footer-col ul li a { font-size: 0.9rem; color: var(--white-color); padding: 0.2rem 0.5rem; border-radius: 6px; transition: background 0.2s, color 0.2s; display: inline-block; }
.footer-col ul li a:not(.btn-teal):hover { color: var(--white-color); background: rgba(255,255,255,0.12); }
.footer-social-link { display: flex; align-items: center; gap: 0.5rem; font-size: 0.9rem; color: var(--white-color); transition: color 0.2s; }
.footer-social-link:hover { color: var(--secondary-color); }
.footer-copy { font-size: 0.8rem; color: rgba(255,255,255,0.35); }
.footer-col ul li a.btn-teal, .footer-col ul li a.btn-teal:hover { color: var(--primary-color); }

/* ── Responsive: container + nav + footer ─────────────────── */
@media (max-width: 1100px) {
  .container { padding: 0 28px; }
}

@media (max-width: 900px) {
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 2.5rem; }
}

@media (max-width: 768px) {
  .nav-links, .nav-cta { display: none; }
  .nav-inner { gap: 0.75rem; }
  .nav-hamburger { display: flex; flex-shrink: 0; }
  .nav-has-dropdown:hover .nav-dropdown { opacity: 0 !important; visibility: hidden !important; }
  .nav-dropdown.mobile-open { display: block; position: static !important; opacity: 1 !important; visibility: visible !important; transform: none !important; box-shadow: none !important; border-top: none !important; border-right: none !important; border-bottom: none !important; border-left: 2px solid rgba(123,185,185,0.3) !important; background: transparent !important; border-radius: 0 !important; min-width: auto !important; margin-left: 0.5rem; padding: 0.25rem 0 0.25rem 1rem; }
  .nav-dropdown.mobile-open li a { color: #ffffff !important; font-size: 0.9rem; }
  .nav-dropdown.mobile-open li a.active { color: var(--secondary-color) !important; }
  .nav-has-dropdown:hover .nav-dropdown.mobile-open { opacity: 1 !important; visibility: visible !important; }
  .nav-mobile-cta-item { display: block; border-top: 1px solid rgba(255,255,255,0.12); padding-top: 1.25rem; margin-top: 0.25rem; }
  .nav-mobile-cta-item .btn { display: flex; width: 100%; justify-content: center; color: var(--primary-color) !important; }
  .nav-logo img { height: 28px; width: auto; max-width: none; }
  .footer-brand { grid-column: 1 / -1; text-align: center; display: flex; flex-direction: column; align-items: center; }
  .footer-brand img { display: block; margin: 0 auto; max-width: 200px; width: auto; }
  .footer-brand p { max-width: 100%; }
  .footer-col { text-align: center; }
  .footer-col:last-child { grid-column: 1 / -1; }
  .footer-social-link { justify-content: center; }
  .cookie-inner { flex-direction: column; }
}

@media (max-width: 480px) {
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .footer-brand img { width: 100%; max-width: 200px; }
  .footer-brand { grid-column: 1 / -1; text-align: center; }
  .footer-brand p { max-width: 100%; }
  .footer-col { text-align: center; }
  .footer-col:last-child { grid-column: 1 / -1; }
  .footer-social-link { justify-content: center; }
}
