:root {
  --color-primary: #7C5CFC;
  --color-primary-dark: #5B3FD9;
  --color-secondary: #FF6FA5;
  --color-accent: #2DD4BF;
  --color-accent-2: #4FACFE;
  --color-sun: #FFD166;

  --bg-base: #FBF8FC;
  --bg-alt: #F3EEFB;
  --surface: #FFFFFF;
  --surface-glass: rgba(255,255,255,0.62);
  --surface-glass-strong: rgba(255,255,255,0.82);
  --border-glass: rgba(255,255,255,0.55);

  --text-dark: #241B35;
  --text-muted: #5F5570;
  --text-soft: #8B7F9C;

  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 30px;
  --radius-xl: 44px;

  --space-1: 0.5rem;
  --space-2: 1rem;
  --space-3: 1.5rem;
  --space-4: 2.25rem;
  --space-5: 3.5rem;
  --space-6: 5.5rem;
  --space-7: 8rem;

  --shadow-sm: 0 2px 6px rgba(36,27,53,0.06), 0 1px 2px rgba(36,27,53,0.06);
  --shadow-md: 0 10px 30px rgba(124,92,252,0.12), 0 4px 10px rgba(255,111,165,0.08);
  --shadow-lg: 0 25px 60px rgba(124,92,252,0.18), 0 10px 20px rgba(36,27,53,0.08);

  --candy-gradient: linear-gradient(120deg, var(--color-secondary) 0%, var(--color-primary) 35%, var(--color-accent-2) 70%, var(--color-accent) 100%);
  --font-body: 'Space Grotesk', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text-dark);
  background: var(--bg-base);
  line-height: 1.65;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.menu-open { overflow: hidden; }

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; transition: color 0.25s ease, opacity 0.25s ease; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 { margin: 0 0 var(--space-2); font-weight: 700; line-height: 1.15; }
p { margin: 0 0 var(--space-2); color: var(--text-muted); }

.section-shell {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 4vw, 2.5rem);
}
.content-block { padding: var(--space-6) 0; }

.highlight-text {
  background: var(--candy-gradient);
  background-size: 250% 250%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: candyShift 10s ease infinite;
}

.section-heading {
  font-size: clamp(1.7rem, 3.2vw, 2.6rem);
  color: var(--text-dark);
}
.section-heading.centered { text-align: center; }
.section-intro {
  font-size: clamp(1rem, 1.4vw, 1.15rem);
  max-width: 640px;
  color: var(--text-muted);
}
.section-intro.centered { margin-left: auto; margin-right: auto; text-align: center; }

.page-heading {
  font-size: clamp(2.1rem, 5vw, 3.4rem);
  color: var(--text-dark);
}
.page-heading.centered { text-align: center; }

.glass-panel {
  background: var(--surface-glass);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}


.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 900;
  transition: transform 0.45s cubic-bezier(.4,0,.2,1);
  background: rgba(251, 248, 252, 0.6);
  backdrop-filter: blur(16px) saturate(150%);
  -webkit-backdrop-filter: blur(16px) saturate(150%);
  border-bottom: 1px solid rgba(255,255,255,0.5);
}
.site-header.nav-hidden { transform: translateY(-100%); }
.nav-shell {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0.9rem clamp(1.25rem, 4vw, 2.5rem);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-2);
}
.brand-mark { display: flex; align-items: center; gap: 0.6rem; font-weight: 700; font-size: 1.1rem; color: var(--text-dark); }
.brand-logo { width: 38px; height: 38px; }
.primary-nav ul { display: flex; gap: var(--space-3); }
.primary-nav a {
  font-weight: 500;
  color: var(--text-dark);
  position: relative;
  padding: 0.4rem 0.1rem;
}
.primary-nav a::after {
  content: '';
  position: absolute;
  left: 0; bottom: -2px;
  width: 0; height: 2px;
  background: var(--candy-gradient);
  transition: width 0.3s ease;
  border-radius: 2px;
}
.primary-nav a:hover::after, .primary-nav a.is-current::after { width: 100%; }
.primary-nav a:hover { color: var(--color-primary-dark); }

.menu-trigger {
  display: none;
  width: 44px; height: 44px;
  border: none;
  background: transparent;
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  z-index: 1001;
}
.menu-trigger span {
  width: 24px; height: 2.5px;
  background: var(--text-dark);
  border-radius: 2px;
  transition: transform 0.35s ease, opacity 0.35s ease, background 0.35s ease;
}
.menu-trigger.is-active span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); background: #fff; }
.menu-trigger.is-active span:nth-child(2) { opacity: 0; }
.menu-trigger.is-active span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); background: #fff; }

.mobile-menu {
  position: fixed;
  inset: 0;
  background: var(--candy-gradient);
  background-size: 250% 250%;
  clip-path: polygon(100% 0, 100% 0, 100% 0, 100% 0);
  transition: clip-path 0.65s cubic-bezier(.77,0,.18,1);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
}
.mobile-menu.is-open {
  clip-path: polygon(100% 0, 100% 100%, 0 100%, 0 0);
  animation: candyShift 8s ease infinite;
}
.mobile-menu nav ul { display: flex; flex-direction: column; gap: var(--space-3); text-align: center; }
.mobile-menu nav ul li { opacity: 0; transform: translateY(14px); transition: opacity 0.4s ease, transform 0.4s ease; }
.mobile-menu.is-open nav ul li { opacity: 1; transform: translateY(0); }
.mobile-menu.is-open nav ul li:nth-child(1) { transition-delay: 0.55s; }
.mobile-menu.is-open nav ul li:nth-child(2) { transition-delay: 0.63s; }
.mobile-menu.is-open nav ul li:nth-child(3) { transition-delay: 0.71s; }
.mobile-menu.is-open nav ul li:nth-child(4) { transition-delay: 0.79s; }
.mobile-menu.is-open nav ul li:nth-child(5) { transition-delay: 0.87s; }
.mobile-menu nav a { font-size: 1.7rem; font-weight: 700; color: #fff; }

@keyframes candyShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}


.hero-section {
  position: relative;
  padding: calc(var(--space-7) + 3rem) 0 var(--space-7);
  background: var(--candy-gradient);
  background-size: 300% 300%;
  animation: candyShift 18s ease infinite;
}
.hero-shell {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 4vw, 2.5rem);
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: var(--space-5);
  align-items: center;
}
.hero-panel {
  background: var(--surface-glass-strong);
  backdrop-filter: blur(22px) saturate(160%);
  -webkit-backdrop-filter: blur(22px) saturate(160%);
  border: 1px solid rgba(255,255,255,0.7);
  border-radius: var(--radius-xl);
  padding: var(--space-5);
  box-shadow: var(--shadow-lg);
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-primary-dark);
  background: rgba(124,92,252,0.1);
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  margin-bottom: var(--space-3);
}
.hero-heading {
  font-size: clamp(2.3rem, 5.2vw, 3.9rem);
  margin-bottom: var(--space-3);
}
.hero-lede {
  font-size: clamp(1rem, 1.4vw, 1.2rem);
  max-width: 560px;
  margin-bottom: var(--space-4);
}
.hero-actions { display: flex; flex-wrap: wrap; gap: var(--space-2); }

.hero-visual { position: relative; }
.hero-image {
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4/5;
  object-fit: cover;
  width: 100%;
}
.floating-badge {
  position: absolute;
  bottom: -22px; left: -22px;
  background: var(--surface-glass-strong);
  backdrop-filter: blur(16px);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  padding: 0.9rem 1.3rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 700;
  box-shadow: var(--shadow-md);
}
.floating-badge i { color: var(--color-secondary); font-size: 1.3rem; }


.primary-action, .secondary-action {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.9rem 1.7rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  border: none;
  transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease, color 0.3s ease;
  min-height: 44px;
}
.primary-action {
  background: var(--candy-gradient);
  background-size: 220% 220%;
  color: #fff;
  box-shadow: var(--shadow-md);
}
.primary-action:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); background-position: 100% 50%; }
.secondary-action {
  background: rgba(255,255,255,0.5);
  color: var(--text-dark);
  border: 1px solid rgba(124,92,252,0.3);
}
.secondary-action:hover { background: rgba(255,255,255,0.85); transform: translateY(-3px); }
.centered-action { margin: var(--space-3) auto; }


.intro-shell { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: var(--space-5); align-items: center; }
.mini-facts { display: flex; flex-direction: column; gap: 0.6rem; margin-top: var(--space-3); }
.mini-facts li { display: flex; align-items: center; gap: 0.6rem; font-weight: 500; color: var(--text-dark); }
.mini-facts i { color: var(--color-accent); }
.rounded-media { border-radius: var(--radius-lg); box-shadow: var(--shadow-md); width: 100%; object-fit: cover; aspect-ratio: 4/3; }


.benefits-section { background: var(--bg-alt); }
.info-grid { container-type: inline-size; container-name: grid; display: grid; gap: var(--space-3); grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); margin-top: var(--space-4); }
.benefit-item {
  background: var(--surface);
  border-radius: var(--radius-md);
  padding: var(--space-3);
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(124,92,252,0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.benefit-item:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.check-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--candy-gradient);
  color: #fff;
  margin-bottom: var(--space-2);
}
.benefit-item h3 { font-size: 1.15rem; margin-bottom: 0.4rem; }
.benefit-item p { font-size: 0.95rem; margin: 0; }


.service-cards { container-type: inline-size; container-name: cards; display: flex; flex-direction: column; gap: var(--space-2); margin-top: var(--space-4); }
.expand-card {
  background: var(--surface);
  border-radius: var(--radius-md);
  border: 1px solid rgba(124,92,252,0.1);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.3s ease;
}
.expand-card:hover { box-shadow: var(--shadow-md); }
.card-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  gap: var(--space-2);
  background: none;
  border: none;
  padding: 1.3rem 1.5rem;
  cursor: pointer;
  text-align: left;
  font-family: inherit;
  min-height: 44px;
}
.card-icon {
  width: 42px; height: 42px;
  border-radius: var(--radius-sm);
  background: var(--candy-gradient);
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  flex-shrink: 0;
}
.card-title { font-weight: 700; font-size: 1.1rem; flex: 1; color: var(--text-dark); }
.card-arrow { transition: transform 0.35s ease; color: var(--color-primary); }
.expand-card.is-active .card-arrow { transform: rotate(180deg); }
.card-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease, padding 0.4s ease;
  padding: 0 1.5rem;
}
.expand-card.is-active .card-body { max-height: 420px; padding: 0 1.5rem 1.5rem; }
.card-image { border-radius: var(--radius-sm); margin-bottom: var(--space-2); width: 100%; aspect-ratio: 16/9; object-fit: cover; }
@container cards (min-width: 720px) {
  .card-body { display: flex; gap: var(--space-3); align-items: flex-start; }
  .card-image { width: 260px; flex-shrink: 0; margin-bottom: 0; }
}


.timeline-track { position: relative; margin-top: var(--space-5); padding-left: 2rem; }
.timeline-track::before {
  content: '';
  position: absolute;
  left: 10px; top: 6px; bottom: 6px;
  width: 3px;
  background: var(--candy-gradient);
  border-radius: 3px;
}
.timeline-item { position: relative; padding-bottom: var(--space-4); display: flex; gap: var(--space-3); align-items: flex-start; }
.timeline-item:last-child { padding-bottom: 0; }
.timeline-marker {
  position: relative;
  left: -2rem;
  flex-shrink: 0;
  width: 64px; height: 64px;
  border-radius: 50%;
  background: var(--surface);
  border: 3px solid var(--color-primary);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700;
  color: var(--color-primary-dark);
  box-shadow: var(--shadow-sm);
}
.timeline-content { padding-top: 0.6rem; }
.timeline-content h3 { font-size: 1.2rem; margin-bottom: 0.3rem; }


.stats-panel { background: var(--bg-alt); }
.stats-grid { display: grid; gap: var(--space-3); grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); margin-top: var(--space-4); text-align: center; }
.stat-item {
  background: var(--surface);
  border-radius: var(--radius-md);
  padding: var(--space-4) var(--space-2);
  box-shadow: var(--shadow-sm);
}
.stat-value { display: block; font-size: clamp(2.2rem, 4vw, 3rem); font-weight: 700; background: var(--candy-gradient); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat-label { color: var(--text-muted); font-weight: 500; }


.visual-break { position: relative; padding-top: var(--space-7); padding-bottom: var(--space-7); }
.overlap-shell { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 0; position: relative; }
.overlap-shell.reverse { direction: rtl; }
.overlap-shell.reverse > * { direction: ltr; }
.overlap-media { position: relative; z-index: 1; }
.overlap-image { border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.overlap-text {
  position: relative;
  z-index: 2;
  margin-left: -70px;
  padding: var(--space-4);
  max-width: 480px;
}
.overlap-shell.reverse .overlap-text { margin-left: 0; margin-right: -70px; }


.cta-strip .cta-shell {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-4);
}
.cta-text h2 { margin-bottom: 0.4rem; }
.cta-text p { margin: 0; max-width: 460px; }
.cta-actions { display: flex; gap: var(--space-2); flex-wrap: wrap; }


.page-hero { padding: calc(var(--space-7) + 2rem) 0 var(--space-6); background: var(--bg-alt); }
.page-hero-shell { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: var(--space-5); align-items: center; }


.contact-grid { container-type: inline-size; display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-5); align-items: stretch; }
.contact-detail-list { display: flex; flex-direction: column; gap: 0.7rem; margin: var(--space-3) 0; }
.contact-detail-list li { display: flex; align-items: center; gap: 0.7rem; font-weight: 500; }
.contact-detail-list i { color: var(--color-secondary); width: 20px; }
.office-note { padding: var(--space-3); margin-top: var(--space-3); }
.office-note h3 { font-size: 1.05rem; }
.map-block { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md); min-height: 320px; }
@container (max-width: 720px) { .contact-grid { grid-template-columns: 1fr; } }


.form-shell { padding: var(--space-4); }
.narrow-form { max-width: 800px; margin: 0 auto; }
.form-compact { container-type: inline-size; margin-top: var(--space-3); }
.form-row { display: flex; flex-direction: column; gap: var(--space-2); margin-bottom: var(--space-2); }
.field-group { display: flex; flex-direction: column; gap: 0.35rem; flex: 1; }
.field-group label { font-size: 0.85rem; font-weight: 600; color: var(--text-dark); }
.field-group input, .field-group textarea {
  font-family: inherit;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-sm);
  border: 1.5px solid rgba(124,92,252,0.2);
  background: rgba(255,255,255,0.7);
  font-size: 1rem;
  resize: vertical;
  min-height: 44px;
  transition: border 0.25s ease, box-shadow 0.25s ease;
}
.field-group input:focus, .field-group textarea:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(124,92,252,0.15);
}
.secondary-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--space-2); }
.checkbox-row { display: flex; align-items: flex-start; gap: 0.6rem; font-size: 0.9rem; color: var(--text-muted); max-width: 500px; }
.checkbox-row input { width: 20px; height: 20px; flex-shrink: 0; margin-top: 2px; accent-color: var(--color-primary); }
.checkbox-row a { color: var(--color-primary-dark); text-decoration: underline; }
.submit-action { white-space: nowrap; }
@container (min-width: 640px) {
  .fields-row { flex-direction: row; }
}


.thanks-shell { max-width: 720px; text-align: center; }
.mini-timeline { margin-top: var(--space-5); display: flex; flex-direction: column; gap: var(--space-3); text-align: left; }
.mini-timeline-item { display: flex; gap: var(--space-2); align-items: flex-start; padding: var(--space-2); border-radius: var(--radius-md); }
.mini-timeline-item.highlighted { background: rgba(124,92,252,0.08); }
.mini-marker {
  width: 42px; height: 42px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  font-size: 1rem;
}
.mini-timeline-item.done .mini-marker { background: var(--candy-gradient); color: #fff; }
.mini-timeline-item.upcoming .mini-marker { background: rgba(95,85,112,0.12); color: var(--text-soft); }
.mini-timeline-item.upcoming h3, .mini-timeline-item.upcoming p { color: var(--text-soft); }
.mini-content h3 { font-size: 1.05rem; margin-bottom: 0.2rem; }
.mini-content p { margin: 0; font-size: 0.92rem; }


.legal-page { padding-top: calc(var(--space-7) + 1rem); }
.legal-timeline { position: relative; margin-top: var(--space-5); padding-left: 2.4rem; }
.legal-timeline::before {
  content: '';
  position: absolute;
  left: 9px; top: 6px; bottom: 6px;
  width: 3px;
  background: var(--candy-gradient);
  border-radius: 3px;
}
.legal-item { position: relative; padding-bottom: var(--space-4); }
.legal-item:last-child { padding-bottom: 0; }
.legal-item::before {
  content: '';
  position: absolute;
  left: -2.4rem;
  top: 6px;
  width: 16px; height: 16px;
  border-radius: 50%;
  background: var(--surface);
  border: 3px solid var(--color-primary);
}
.legal-marker { font-size: 0.8rem; font-weight: 700; color: var(--color-primary-dark); text-transform: uppercase; letter-spacing: 0.04em; margin-bottom: 0.3rem; }
.legal-content h2 { font-size: 1.3rem; }
.compact-timeline .legal-content h2 { font-size: 1.15rem; }
.mini-legal-timeline .legal-content h2 { font-size: 1.05rem; }
.legal-table { width: 100%; border-collapse: collapse; margin: var(--space-3) 0 var(--space-5); }
.legal-table th, .legal-table td { text-align: left; padding: 0.8rem 1rem; border-bottom: 1px solid rgba(124,92,252,0.12); font-size: 0.95rem; }
.legal-table th { width: 240px; color: var(--text-dark); font-weight: 600; }


.site-footer { background: #201730; color: #E9E3F5; padding: var(--space-6) 0 var(--space-2); position: relative; margin-top: auto; }
.footer-grid { max-width: 1240px; margin: 0 auto; padding: 0 clamp(1.25rem, 4vw, 2.5rem); display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: var(--space-4); }
.footer-block h4 { color: #fff; font-size: 1rem; margin-bottom: var(--space-2); }
.footer-block p, .footer-block address { color: #B7ABD1; font-style: normal; font-size: 0.92rem; }
.footer-block ul { display: flex; flex-direction: column; gap: 0.6rem; }
.footer-block a { color: #C9BFE0; transition: color 0.25s ease; }
.footer-block a:hover { color: #fff; }
.footer-block .brand-mark { color: #fff; margin-bottom: var(--space-2); }
.footer-bottom { text-align: center; margin-top: var(--space-5); padding-top: var(--space-2); border-top: 1px solid rgba(255,255,255,0.08); }
.footer-bottom p { color: #8B7F9C; font-size: 0.85rem; margin: 0; }

.back-to-top {
  position: fixed;
  bottom: 1.8rem; right: 1.8rem;
  width: 52px; height: 52px;
  border-radius: 50%;
  border: none;
  background: var(--candy-gradient);
  background-size: 220% 220%;
  color: #fff;
  font-size: 1.2rem;
  cursor: pointer;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  transform: translateY(20px);
  pointer-events: none;
  transition: opacity 0.35s ease, transform 0.35s ease, background 0.4s ease;
  z-index: 800;
}
.back-to-top.is-visible { opacity: 1; transform: translateY(0); pointer-events: auto; }
.back-to-top:hover { background-position: 100% 50%; transform: translateY(-4px); }


@media (max-width: 960px) {
  .hero-shell, .intro-shell, .page-hero-shell, .overlap-shell, .contact-grid { grid-template-columns: 1fr; }
  .overlap-shell.reverse { direction: ltr; }
  .overlap-text { margin: -50px 1.2rem 0; max-width: none; }
  .overlap-shell.reverse .overlap-text { margin: -50px 1.2rem 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .primary-nav { display: none; }
  .menu-trigger { display: flex; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-section { padding-top: calc(var(--space-6) + 3rem); }
  .cta-shell { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 520px) {
  .timeline-track { padding-left: 1.3rem; }
  .timeline-marker { width: 50px; height: 50px; font-size: 0.85rem; left: -1.3rem; }
  .legal-timeline { padding-left: 1.6rem; }
  .legal-item::before { left: -1.6rem; }
}


.cookie-overlay {
  position: fixed; inset: 0;
  background: rgba(36,27,53,0.45);
  backdrop-filter: blur(3px);
  z-index: 1100;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}
.cookie-overlay.is-visible { opacity: 1; pointer-events: auto; }
.cookie-panel {
  position: fixed;
  top: 0; right: 0; bottom: 0;
  width: min(320px, 88vw);
  background: var(--surface-glass-strong);
  backdrop-filter: blur(24px) saturate(160%);
  -webkit-backdrop-filter: blur(24px) saturate(160%);
  border-left: 1px solid var(--border-glass);
  box-shadow: -20px 0 60px rgba(36,27,53,0.25);
  z-index: 1101;
  transform: translateX(100%);
  transition: transform 0.5s cubic-bezier(.4,0,.2,1);
  display: flex;
  flex-direction: column;
  padding: var(--space-4) var(--space-3);
  overflow-y: auto;
}
.cookie-panel.is-visible { transform: translateX(0); }
.cookie-panel-header { display: flex; align-items: center; gap: 0.6rem; margin-bottom: var(--space-2); }
.cookie-panel-header i { font-size: 1.5rem; color: var(--color-primary); }
.cookie-panel-header h2 { font-size: 1.15rem; margin: 0; }
.cookie-panel p.cookie-desc { font-size: 0.88rem; color: var(--text-muted); margin-bottom: var(--space-3); }
.cookie-category {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.8rem;
  padding: 0.9rem 0;
  border-bottom: 1px solid rgba(124,92,252,0.12);
}
.cookie-category-text h3 { font-size: 0.95rem; margin: 0 0 0.2rem; }
.cookie-category-text p { font-size: 0.8rem; margin: 0; color: var(--text-muted); }
.cookie-toggle {
  position: relative;
  width: 46px; height: 26px;
  flex-shrink: 0;
  border-radius: 999px;
  background: rgba(95,85,112,0.25);
  cursor: pointer;
  transition: background 0.3s ease;
  border: none;
  margin-top: 2px;
}
.cookie-toggle::after {
  content: '';
  position: absolute;
  top: 3px; left: 3px;
  width: 20px; height: 20px;
  border-radius: 50%;
  background: #fff;
  transition: transform 0.3s ease;
  box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}
.cookie-toggle.is-on { background: var(--candy-gradient); }
.cookie-toggle.is-on::after { transform: translateX(20px); }
.cookie-toggle.is-disabled { opacity: 0.6; cursor: not-allowed; }
.cookie-panel-actions { margin-top: auto; display: flex; flex-direction: column; gap: 0.7rem; padding-top: var(--space-3); }
.cookie-btn {
  border: none;
  border-radius: 999px;
  padding: 0.8rem 1rem;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
  font-size: 0.92rem;
  min-height: 44px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.cookie-btn.accept-all { background: var(--candy-gradient); color: #fff; box-shadow: var(--shadow-sm); }
.cookie-btn.accept-all:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.cookie-btn.save-selection { background: rgba(124,92,252,0.1); color: var(--color-primary-dark); }
.cookie-btn.reject-all { background: transparent; color: var(--text-muted); border: 1px solid rgba(95,85,112,0.25); }