/* ============================================================
   Cobaltz Pathways — Production CSS
   Replaces Tailwind CDN + inline <style> blocks
   Upload to: /assets/cobaltz-styles.css
   ============================================================ */

/* ── Reset & Base ─────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'Inter', system-ui, sans-serif;
  background-color: #FAF9F6;
  color: #1A1A2E;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.5;
}
h1, h2, h3, h4, h5, h6 { font-family: 'Fraunces', Georgia, serif; line-height: 1.2; }
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
button { cursor: pointer; font-family: inherit; }
input, select, textarea { font-family: inherit; }

/* ── CSS Variables ────────────────────────────────────────── */
:root {
  --cobalt: #1E3A8A;
  --cobalt-soft: #4F7CCB;
  --cobalt-hover: #2D4FA0;
  --charcoal: #1A1A2E;
  --slate-soft: #5A6478;
  --bg-primary: #FAF9F6;
  --bg-cream: #F4F1EA;
  --bg-mist: #EEF3F8;
  --sand: #E8DCC4;
  --sage: #A8B89F;
  --border-warm: #E5E2DB;
  --white: #ffffff;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 24px;
  --radius-full: 9999px;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.04), 0 4px 12px rgba(0,0,0,0.04);
  --shadow-md: 0 4px 8px rgba(0,0,0,0.06), 0 16px 32px rgba(0,0,0,0.06);
  --shadow-lg: 0 8px 40px rgba(0,0,0,0.12), 0 0 0 1px rgba(0,0,0,0.04);
  --transition: all 250ms cubic-bezier(0.22, 1, 0.36, 1);
  --max-container: 1200px;
}

/* ── Layout Utilities ─────────────────────────────────────── */
.max-w-container { max-width: var(--max-container); }
.max-w-2xl { max-width: 42rem; }
.max-w-3xl { max-width: 48rem; }
.max-w-prose-readable { max-width: 640px; }
.mx-auto { margin-left: auto; margin-right: auto; }
.relative { position: relative; }
.absolute { position: absolute; }
.fixed { position: fixed; }
.inset-0 { top: 0; right: 0; bottom: 0; left: 0; }
.top-0 { top: 0; }
.top-5 { top: 1.25rem; }
.top-7 { top: 1.75rem; }
.bottom-0 { bottom: 0; }
.bottom-6 { bottom: 1.5rem; }
.left-0 { left: 0; }
.left-5 { left: 1.25rem; }
.right-0 { right: 0; }
.right-5 { right: 1.25rem; }
.right-6 { right: 1.5rem; }
.z-10 { z-index: 10; }
.z-30 { z-index: 30; }
.z-40 { z-index: 40; }
.overflow-hidden { overflow: hidden; }
.will-change-transform { will-change: transform; }

/* ── Display & Flexbox ────────────────────────────────────── */
.flex { display: flex; }
.inline-flex { display: inline-flex; }
.grid { display: grid; }
.block { display: block; }
.hidden { display: none; }
.flex-col { flex-direction: column; }
.flex-wrap { flex-wrap: wrap; }
.flex-1 { flex: 1; }
.flex-shrink-0 { flex-shrink: 0; }
.shrink-0 { flex-shrink: 0; }
.items-center { align-items: center; }
.items-start { align-items: flex-start; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }

/* Gap */
.gap-1 { gap: 0.25rem; }
.gap-1\.5 { gap: 0.375rem; }
.gap-2 { gap: 0.5rem; }
.gap-3 { gap: 0.75rem; }
.gap-4 { gap: 1rem; }
.gap-5 { gap: 1.25rem; }
.gap-6 { gap: 1.5rem; }
.gap-8 { gap: 2rem; }
.gap-12 { gap: 3rem; }
.gap-16 { gap: 4rem; }
.gap-x-6 { column-gap: 1.5rem; }
.gap-x-8 { column-gap: 2rem; }
.gap-x-12 { column-gap: 3rem; }
.gap-y-2 { row-gap: 0.5rem; }
.gap-y-3 { row-gap: 0.75rem; }
.gap-y-4 { row-gap: 1rem; }
.space-y-3 > * + * { margin-top: 0.75rem; }
.space-y-5 > * + * { margin-top: 1.25rem; }

/* Grid */
.grid-cols-1 { grid-template-columns: repeat(1, minmax(0, 1fr)); }
.lg\:grid-cols-12 { grid-template-columns: repeat(12, minmax(0, 1fr)); }
.lg\:col-span-1 { grid-column: span 1 / span 1; }
.lg\:col-span-5 { grid-column: span 5 / span 5; }
.lg\:col-span-7 { grid-column: span 7 / span 7; }

/* ── Spacing ──────────────────────────────────────────────── */
.p-5 { padding: 1.25rem; }
.p-6 { padding: 1.5rem; }
.px-4 { padding-left: 1rem; padding-right: 1rem; }
.px-6 { padding-left: 1.5rem; padding-right: 1.5rem; }
.px-8 { padding-left: 2rem; padding-right: 2rem; }
.py-2 { padding-top: 0.5rem; padding-bottom: 0.5rem; }
.py-8 { padding-top: 2rem; padding-bottom: 2rem; }
.py-24 { padding-top: 6rem; padding-bottom: 6rem; }
.pt-6 { padding-top: 1.5rem; }
.pt-8 { padding-top: 2rem; }
.pt-16 { padding-top: 4rem; }
.pt-20 { padding-top: 5rem; }
.pt-28 { padding-top: 7rem; }
.pt-\[88px\] { padding-top: 88px; }
.pb-6 { padding-bottom: 1.5rem; }
.pb-10 { padding-bottom: 2.5rem; }
.pb-12 { padding-bottom: 3rem; }
.pb-20 { padding-bottom: 5rem; }
.pl-4 { padding-left: 1rem; }
.pr-6 { padding-right: 1.5rem; }
.mb-1 { margin-bottom: 0.25rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-3 { margin-bottom: 0.75rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-5 { margin-bottom: 1.25rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-8 { margin-bottom: 2rem; }
.mb-10 { margin-bottom: 2.5rem; }
.mb-16 { margin-bottom: 4rem; }
.mt-0\.5 { margin-top: 0.125rem; }
.mt-1 { margin-top: 0.25rem; }
.mt-4 { margin-top: 1rem; }
.mt-6 { margin-top: 1.5rem; }
.mt-8 { margin-top: 2rem; }
.mt-12 { margin-top: 3rem; }

/* ── Sizing ───────────────────────────────────────────────── */
.w-2 { width: 0.5rem; }
.w-3\.5 { width: 0.875rem; }
.w-4 { width: 1rem; }
.w-5 { width: 1.25rem; }
.w-6 { width: 1.5rem; }
.w-8 { width: 2rem; }
.w-9 { width: 2.25rem; }
.w-10 { width: 2.5rem; }
.w-12 { width: 3rem; }
.w-14 { width: 3.5rem; }
.w-36 { width: 9rem; }
.w-full { width: 100%; }
.w-\[400px\] { width: 400px; }
.w-\[500px\] { width: 500px; }
.h-0\.5 { height: 0.125rem; }
.h-2 { height: 0.5rem; }
.h-3\.5 { height: 0.875rem; }
.h-4 { height: 1rem; }
.h-5 { height: 1.25rem; }
.h-6 { height: 1.5rem; }
.h-8 { height: 2rem; }
.h-9 { height: 2.25rem; }
.h-10 { height: 2.5rem; }
.h-12 { height: 3rem; }
.h-14 { height: 3.5rem; }
.h-36 { height: 9rem; }
.h-full { height: 100%; }
.h-px { height: 1px; }
.h-\[88px\] { height: 88px; }
.h-\[400px\] { height: 400px; }
.h-\[500px\] { height: 500px; }
.aspect-\[4\/5\] { aspect-ratio: 4/5; }

/* ── Typography ───────────────────────────────────────────── */
.text-xs { font-size: 0.75rem; line-height: 1rem; }
.text-sm { font-size: 0.875rem; line-height: 1.25rem; }
.text-base { font-size: 1rem; line-height: 1.5rem; }
.text-\[15px\] { font-size: 15px; }
.text-lg { font-size: 1.125rem; line-height: 1.75rem; }
.text-xl { font-size: 1.25rem; line-height: 1.75rem; }
.text-2xl { font-size: 1.5rem; line-height: 2rem; }
.text-3xl { font-size: 1.875rem; line-height: 2.25rem; }
.text-4xl { font-size: 2.25rem; line-height: 2.5rem; }
.text-5xl { font-size: 3rem; line-height: 1; }
.font-light { font-weight: 300; }
.font-normal { font-weight: 400; }
.font-medium { font-weight: 500; }
.font-serif { font-family: 'Fraunces', Georgia, serif; }
.italic { font-style: italic; }
.uppercase { text-transform: uppercase; }
.underline { text-decoration: underline; }
.text-center { text-align: center; }
.text-left { text-align: left; }
.leading-\[1\.05\] { line-height: 1.05; }
.leading-tight { line-height: 1.25; }
.leading-snug { line-height: 1.375; }
.leading-relaxed { line-height: 1.625; }
.tracking-tight { letter-spacing: -0.025em; }
.tracking-wide { letter-spacing: 0.025em; }

/* ── Colors ───────────────────────────────────────────────── */
.text-white { color: #ffffff; }
.text-white\/75 { color: rgba(255,255,255,0.75); }
.text-white\/80 { color: rgba(255,255,255,0.80); }
.text-white\/90 { color: rgba(255,255,255,0.90); }
.text-charcoal { color: #1A1A2E; }
.text-cobalt { color: #1E3A8A; }
.text-cobalt-soft { color: #4F7CCB; }
.text-slate-soft { color: #5A6478; }
.text-sage { color: #A8B89F; }
.text-sand { color: #E8DCC4; }
.bg-white { background-color: #ffffff; }
.bg-white\/10 { background-color: rgba(255,255,255,0.10); }
.bg-white\/20 { background-color: rgba(255,255,255,0.20); }
.bg-bg-primary { background-color: #FAF9F6; }
.bg-bg-cream { background-color: #F4F1EA; }
.bg-bg-mist { background-color: #EEF3F8; }
.bg-cobalt { background-color: #1E3A8A; }
.bg-cobalt-soft { background-color: #4F7CCB; }
.bg-charcoal { background-color: #1A1A2E; }
.bg-sand { background-color: #E8DCC4; }
.bg-sage { background-color: #A8B89F; }
.bg-border-warm { background-color: #E5E2DB; }
.bg-\[\#25D366\] { background-color: #25D366; }
.border-white\/20 { border-color: rgba(255,255,255,0.20); }
.border-white\/25 { border-color: rgba(255,255,255,0.25); }
.border-border-warm { border-color: #E5E2DB; }
.border { border-width: 1px; border-style: solid; }
.border-t { border-top-width: 1px; border-top-style: solid; }
.border-y { border-top-width: 1px; border-bottom-width: 1px; border-style: solid; }
.accent-cobalt { accent-color: #1E3A8A; }

/* Gradient */
.bg-gradient-to-t { background-image: linear-gradient(to top, var(--tw-gradient-stops)); }
.from-charcoal\/80 { --tw-gradient-from: rgba(26,26,46,0.80); --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, transparent); }
.via-charcoal\/20 { --tw-gradient-stops: var(--tw-gradient-from), rgba(26,26,46,0.20), var(--tw-gradient-to, transparent); }
.to-transparent { --tw-gradient-to: transparent; }

/* Opacity */
.opacity-10 { opacity: 0.10; }
.opacity-20 { opacity: 0.20; }
.opacity-50 { opacity: 0.50; }

/* ── Borders & Radius ─────────────────────────────────────── */
.rounded-lg { border-radius: 0.5rem; }
.rounded-xl { border-radius: 0.75rem; }
.rounded-2xl { border-radius: 1rem; }
.rounded-3xl { border-radius: 1.5rem; }
.rounded-full { border-radius: 9999px; }

/* ── Shadows ──────────────────────────────────────────────── */
.shadow-lg { box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -2px rgba(0,0,0,0.05); }
.shadow-2xl { box-shadow: 0 25px 50px -12px rgba(0,0,0,0.25); }

/* ── Transforms ───────────────────────────────────────────── */
.scale-110 { transform: scale(1.1); }
.translate-x-1\/3 { transform: translateX(33.333%); }
.-translate-x-1\/3 { transform: translateX(-33.333%); }
.translate-y-1\/2 { transform: translateY(50%); }
.-translate-y-1\/2 { transform: translateY(-50%); }
.left-\[12\%\] { left: 12%; }
.right-\[12\%\] { right: 12%; }

/* ── Transitions ──────────────────────────────────────────── */
.transition-all { transition: all 150ms cubic-bezier(0.4, 0, 0.2, 1); }
.transition-colors { transition: color 150ms, background-color 150ms, border-color 150ms; }
.duration-300 { transition-duration: 300ms; }

/* ── Filters ──────────────────────────────────────────────── */
.blur-3xl { filter: blur(64px); }
.backdrop-blur-md { backdrop-filter: blur(12px); }

/* ── Image ────────────────────────────────────────────────── */
.object-cover { object-fit: cover; }
.object-contain { object-fit: contain; }
.object-center { object-position: center; }

/* ── Accessibility ────────────────────────────────────────── */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border-width: 0; }
.cursor-pointer { cursor: pointer; }
.appearance-none { appearance: none; }
.animate-pulse { animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite; }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.5; } }

/* Focus skip link */
.focus\:not-sr-only:focus { position: static; width: auto; height: auto; padding: 0.5rem 1rem; margin: 0; overflow: visible; clip: auto; white-space: normal; }
.focus\:fixed:focus { position: fixed; }
.focus\:top-4:focus { top: 1rem; }
.focus\:left-4:focus { left: 1rem; }
.focus\:px-4:focus { padding-left: 1rem; padding-right: 1rem; }
.focus\:py-2:focus { padding-top: 0.5rem; padding-bottom: 0.5rem; }
.focus\:rounded:focus { border-radius: 0.25rem; }
.focus\:z-50:focus { z-index: 50; }
.focus\:bg-cobalt:focus { background-color: #1E3A8A; }
.focus\:text-white:focus { color: #ffffff; }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible {
  outline: 2px solid #1E3A8A;
  outline-offset: 3px;
  border-radius: 4px;
}

/* ── Hover States ─────────────────────────────────────────── */
.hover\:bg-cobalt:hover { background-color: #1E3A8A; }
.hover\:text-cobalt:hover { color: #1E3A8A; }
.hover\:text-white:hover { color: #ffffff; }

/* ── Responsive ───────────────────────────────────────────── */
@media (min-width: 640px) {
  .sm\:flex-row { flex-direction: row; }
  .sm\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sm\:justify-start { justify-content: flex-start; }
}
@media (min-width: 768px) {
  .md\:block { display: block; }
  .md\:inline { display: inline; }
  .md\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .md\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .md\:grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .md\:text-6xl { font-size: 3.75rem; line-height: 1; }
}
@media (min-width: 1024px) {
  .lg\:flex { display: flex; }
  .lg\:hidden { display: none; }
  .lg\:inline-flex { display: inline-flex; }
  .lg\:flex-row { flex-direction: row; }
  .lg\:col-span-1 { grid-column: span 1 / span 1; }
  .lg\:col-span-5 { grid-column: span 5 / span 5; }
  .lg\:col-span-7 { grid-column: span 7 / span 7; }
  .lg\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lg\:grid-cols-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .lg\:grid-cols-12 { grid-template-columns: repeat(12, minmax(0, 1fr)); }
  .lg\:gap-4 { gap: 1rem; }
  .lg\:gap-16 { gap: 4rem; }
  .lg\:gap-20 { gap: 5rem; }
  .lg\:p-7 { padding: 1.75rem; }
  .lg\:p-8 { padding: 2rem; }
  .lg\:px-7 { padding-left: 1.75rem; padding-right: 1.75rem; }
  .lg\:px-8 { padding-left: 2rem; padding-right: 2rem; }
  .lg\:pt-24 { padding-top: 6rem; }
  .lg\:py-32 { padding-top: 8rem; padding-bottom: 8rem; }
  .lg\:text-4xl { font-size: 2.25rem; line-height: 2.5rem; }
  .lg\:text-5xl { font-size: 3rem; line-height: 1; }
  .lg\:text-7xl { font-size: 4.5rem; line-height: 1; }
  .lg\:text-xl { font-size: 1.25rem; line-height: 1.75rem; }
}

/* ── Component Styles ─────────────────────────────────────── */

/* Buttons */
.btn-primary {
  background-color: #1E3A8A;
  color: white;
  padding: 14px 28px;
  border-radius: 8px;
  font-weight: 500;
  transition: all 250ms cubic-bezier(0.22, 1, 0.36, 1);
  box-shadow: 0 1px 2px rgba(0,0,0,0.05);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: none;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 16px rgba(30,58,138,0.15); }
.btn-primary .arrow { transition: transform 250ms ease; }
.btn-primary:hover .arrow { transform: translateX(4px); }

.btn-ghost {
  border: 1.5px solid #1E3A8A;
  color: #1E3A8A;
  padding: 12.5px 28px;
  border-radius: 8px;
  font-weight: 500;
  transition: all 250ms ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
}
.btn-ghost:hover { background-color: #1E3A8A; color: white; }

/* Cards */
.card-soft {
  background-color: white;
  border-radius: 20px;
  padding: 36px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.04), 0 4px 12px rgba(0,0,0,0.04);
  transition: all 250ms cubic-bezier(0.22, 1, 0.36, 1);
}
.card-soft:hover { transform: translateY(-4px); box-shadow: 0 4px 8px rgba(0,0,0,0.06), 0 16px 32px rgba(0,0,0,0.06); }

/* Link underline */
.link-underline {
  position: relative;
  color: #1E3A8A;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.link-underline::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1.5px;
  background-color: #1E3A8A;
  transition: width 300ms cubic-bezier(0.22, 1, 0.36, 1);
}
.link-underline:hover::after { width: 100%; }

/* Header */
.header-scrolled {
  height: 68px;
  backdrop-filter: blur(12px);
  background-color: rgba(250, 249, 246, 0.85);
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.04);
}

/* Hero */
.hero-blob {
  position: absolute;
  top: -100px;
  right: -100px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(79,124,203,0.15) 0%, rgba(232,220,196,0.08) 50%, transparent 70%);
  filter: blur(80px);
  pointer-events: none;
  z-index: 0;
}
@keyframes gentle-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
.float-anim { animation: gentle-float 6s ease-in-out infinite; }
#hero-parallax { transition: transform 0.1s linear; }

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 600ms cubic-bezier(0.22, 1, 0.36, 1), transform 600ms cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* FAQ Accordion */
.faq-content { max-height: 0; overflow: hidden; transition: max-height 400ms cubic-bezier(0.22, 1, 0.36, 1); }
.faq-item.open .faq-content { max-height: 400px; }
.faq-item.open .faq-icon { transform: rotate(45deg); }
.faq-icon { transition: transform 300ms ease; }

/* Nav dropdown */
.nav-dropdown { position: relative; }
.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 4px);
  left: 50%;
  transform: translateX(-50%) translateY(-6px);
  background: white;
  border-radius: 14px;
  box-shadow: 0 8px 40px rgba(0,0,0,0.12), 0 0 0 1px rgba(0,0,0,0.04);
  padding: 8px;
  min-width: 220px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 200ms ease, transform 200ms ease;
  z-index: 50;
}
.nav-dropdown::after { content: ''; position: absolute; top: 100%; left: 0; right: 0; height: 12px; }
.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu { opacity: 1; pointer-events: auto; transform: translateX(-50%) translateY(0); }
.nav-dropdown-item { display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-radius: 8px; color: #1A1A2E; font-size: 14px; transition: background 150ms; text-decoration: none; }
.nav-dropdown-item:hover { background: #F4F1EA; }
.nav-dropdown-item .dot { width: 6px; height: 6px; border-radius: 50%; background: #4F7CCB; flex-shrink: 0; }

/* Mobile menu */
.mobile-menu { opacity: 0; pointer-events: none; transition: opacity 300ms ease; }
.mobile-menu.open { opacity: 1; pointer-events: auto; }
.mobile-menu-item { opacity: 0; transform: translateY(20px); transition: opacity 400ms ease, transform 400ms ease; }
.mobile-menu.open .mobile-menu-item { opacity: 1; transform: translateY(0); }
.mobile-menu.open .mobile-menu-item:nth-child(1) { transition-delay: 100ms; }
.mobile-menu.open .mobile-menu-item:nth-child(2) { transition-delay: 150ms; }
.mobile-menu.open .mobile-menu-item:nth-child(3) { transition-delay: 200ms; }
.mobile-menu.open .mobile-menu-item:nth-child(4) { transition-delay: 250ms; }
.mobile-menu.open .mobile-menu-item:nth-child(5) { transition-delay: 300ms; }

/* WhatsApp float */
@keyframes soft-pulse {
  0%, 100% { box-shadow: 0 4px 20px rgba(37,211,102,0.4); }
  50% { box-shadow: 0 4px 20px rgba(37,211,102,0.6), 0 0 0 8px rgba(37,211,102,0.1); }
}
.whatsapp-float {
  animation: soft-pulse 3s ease-in-out infinite;
  transition: padding 300ms cubic-bezier(0.22,1,0.36,1), border-radius 300ms ease;
}
.whatsapp-float .wa-label {
  display: inline-block;
  width: 0;
  overflow: hidden;
  opacity: 0;
  white-space: nowrap;
  transition: width 300ms cubic-bezier(0.22,1,0.36,1), opacity 200ms ease 80ms;
  font-size: 14px;
  font-weight: 600;
  font-family: 'Inter', sans-serif;
}
.whatsapp-float:hover .wa-label { width: 90px; opacity: 1; }

/* Form styles */
.form-group { position: relative; }
.form-input {
  width: 100%;
  padding: 24px 16px 8px;
  background-color: #F4F1EA;
  border: 1.5px solid transparent;
  border-radius: 10px;
  font-size: 16px;
  transition: all 200ms ease;
  outline: none;
  font-family: 'Inter', sans-serif;
  color: #1A1A2E;
}
.form-input:focus { border-color: #1E3A8A; background-color: white; }
.form-input.error { border-color: #dc2626; background-color: #fff5f5; }
.form-label {
  position: absolute;
  top: 18px;
  left: 16px;
  color: #5A6478;
  transition: all 200ms ease;
  pointer-events: none;
  font-size: 16px;
}
.form-input:focus ~ .form-label,
.form-input:not(:placeholder-shown) ~ .form-label { top: 8px; font-size: 12px; color: #1E3A8A; }
select.form-input:valid ~ .form-label,
select.form-input.has-value ~ .form-label { top: 8px; font-size: 12px; color: #1E3A8A; }
select.form-input { appearance: none; cursor: pointer; }
.field-error { color: #dc2626; font-size: 12px; margin-top: 5px; display: none; }
.field-error.visible { display: block; }

/* Radio group */
.radio-group { display: flex; flex-direction: column; gap: 10px; }
.radio-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  background-color: #F4F1EA;
  border: 1.5px solid transparent;
  border-radius: 10px;
  cursor: pointer;
  transition: all 200ms ease;
  font-size: 15px;
  color: #1A1A2E;
}
.radio-item:hover { border-color: #4F7CCB; background-color: #EEF3F8; }
.radio-item input[type="radio"] { display: none; }
.radio-dot {
  width: 20px; height: 20px; border-radius: 50%;
  border: 2px solid #C4C8D0;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  transition: all 200ms ease;
}
.radio-dot::after { content: ''; width: 8px; height: 8px; border-radius: 50%; background: white; transform: scale(0); transition: transform 200ms ease; }
.radio-item input:checked ~ .radio-dot { background-color: #1E3A8A; border-color: #1E3A8A; }
.radio-item input:checked ~ .radio-dot::after { transform: scale(1); }
.radio-item:has(input:checked) { border-color: #1E3A8A; background-color: white; }
.field-section-label { font-size: 13px; font-weight: 600; color: #5A6478; text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 10px; }

/* ── Cookie Banner ────────────────────────────────────────── */
#cookie-banner {
  position: fixed; bottom: 1.5rem; left: 50%;
  transform: translateX(-50%) translateY(120%);
  z-index: 9999; width: calc(100% - 3rem); max-width: 680px;
  background: #1A1A2E; color: #fff; border-radius: 1rem;
  padding: 1.5rem 1.75rem;
  box-shadow: 0 24px 64px rgba(0,0,0,0.25), 0 0 0 1px rgba(255,255,255,0.06);
  display: flex; flex-direction: column; gap: 1rem;
  opacity: 0;
  transition: transform 0.45s cubic-bezier(0.34,1.56,0.64,1), opacity 0.35s ease;
  font-family: 'Inter', sans-serif; font-size: 0.875rem; line-height: 1.6;
}
#cookie-banner.visible { transform: translateX(-50%) translateY(0); opacity: 1; }
#cookie-banner .cb-top { display: flex; align-items: flex-start; gap: 1rem; }
#cookie-banner .cb-icon { flex-shrink: 0; width: 2.25rem; height: 2.25rem; background: rgba(255,255,255,0.08); border-radius: 0.6rem; display: flex; align-items: center; justify-content: center; margin-top: 0.1rem; }
#cookie-banner .cb-icon svg { width: 1.1rem; height: 1.1rem; }
#cookie-banner .cb-text { flex: 1; }
#cookie-banner .cb-title { font-family: 'Fraunces', Georgia, serif; font-size: 1.05rem; font-weight: 400; margin: 0 0 0.3rem; color: #fff; }
#cookie-banner .cb-desc { color: rgba(255,255,255,0.6); margin: 0; font-size: 0.8125rem; }
#cookie-banner .cb-desc a { color: #93b4f5; text-decoration: underline; text-underline-offset: 2px; }
#cookie-banner .cb-toggles { display: flex; flex-wrap: wrap; gap: 0.5rem 1.25rem; padding: 0.875rem 1rem; background: rgba(255,255,255,0.05); border-radius: 0.6rem; border: 1px solid rgba(255,255,255,0.08); }
.cb-toggle-item { display: flex; align-items: center; gap: 0.5rem; font-size: 0.8125rem; color: rgba(255,255,255,0.75); cursor: pointer; user-select: none; }
.cb-toggle-item input[type="checkbox"] { display: none; }
.cb-switch { width: 2.25rem; height: 1.25rem; background: rgba(255,255,255,0.15); border-radius: 999px; position: relative; transition: background 0.2s; flex-shrink: 0; }
.cb-switch::after { content: ''; position: absolute; width: 0.9rem; height: 0.9rem; background: #fff; border-radius: 50%; top: 0.175rem; left: 0.175rem; transition: transform 0.2s; box-shadow: 0 1px 3px rgba(0,0,0,0.3); }
.cb-toggle-item input:checked ~ .cb-switch { background: #1E3A8A; }
.cb-toggle-item input:checked ~ .cb-switch::after { transform: translateX(1rem); }
.cb-toggle-item.disabled { opacity: 0.45; cursor: not-allowed; }
.cb-toggle-item.disabled .cb-switch { background: rgba(255,255,255,0.2); }
#cookie-banner .cb-actions { display: flex; gap: 0.625rem; flex-wrap: wrap; }
.cb-btn { flex: 1; min-width: 120px; padding: 0.6rem 1rem; border-radius: 0.5rem; font-size: 0.8125rem; font-weight: 500; cursor: pointer; border: none; transition: all 0.18s; text-align: center; font-family: inherit; }
.cb-btn-accept { background: #1E3A8A; color: #fff; border: 1px solid #2D4FA0; }
.cb-btn-accept:hover { background: #2D4FA0; }
.cb-btn-save { background: rgba(255,255,255,0.08); color: rgba(255,255,255,0.85); border: 1px solid rgba(255,255,255,0.12); }
.cb-btn-save:hover { background: rgba(255,255,255,0.14); }
.cb-btn-reject { background: transparent; color: rgba(255,255,255,0.45); border: 1px solid rgba(255,255,255,0.08); }
.cb-btn-reject:hover { color: rgba(255,255,255,0.7); border-color: rgba(255,255,255,0.18); }
#cookie-reopen { position: fixed; bottom: 1.25rem; left: 1.25rem; z-index: 9998; background: #1A1A2E; color: rgba(255,255,255,0.7); border: 1px solid rgba(255,255,255,0.1); border-radius: 0.5rem; padding: 0.45rem 0.75rem; font-size: 0.75rem; font-family: inherit; cursor: pointer; display: none; align-items: center; gap: 0.4rem; transition: color 0.15s, border-color 0.15s; }
#cookie-reopen:hover { color: #fff; border-color: rgba(255,255,255,0.25); }
#cookie-reopen svg { width: 0.875rem; height: 0.875rem; }
@media (max-width: 480px) {
  #cookie-banner { bottom: 0; border-radius: 1rem 1rem 0 0; width: 100%; left: 0; transform: translateY(120%); }
  #cookie-banner.visible { transform: translateY(0); }
  .cb-btn { min-width: 0; }
}

/* ── Reduced Motion ───────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
