:root {
  --color-primary: #6d28d9;
  --color-primary-dark: #4c1d95;
  --color-accent: #facc15;
  --color-bg: #fbfbfd;
  --color-surface: #ffffff;
  --color-text: #1f2937;
  --color-muted: #6b7280;
  --radius-lg: 24px;
  --radius-xl: 36px;
  --shadow-soft: 0 10px 30px rgba(30, 30, 60, 0.08);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Segoe UI", "Helvetica Neue", sans-serif;
  color: var(--color-text);
  background: radial-gradient(circle at top right, #f3e8ff 0%, var(--color-bg) 35%);
  line-height: 1.5;
}

.container { width: min(1100px, 92%); margin: 0 auto; }
.skip-link { position: absolute; left: -999px; }
.skip-link:focus { left: 1rem; top: 1rem; z-index: 1000; background: #fff; padding: .5rem 1rem; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(251, 251, 253, 0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid #ececf4;
}

.navbar { display: flex; align-items: center; justify-content: space-between; min-height: 72px; }
.brand { font-size: 1.5rem; font-weight: 800; color: var(--color-primary); text-decoration: none; }

.menu { list-style: none; display: none; flex-direction: column; margin: 0; padding: 0; gap: 1rem; }
.menu a { text-decoration: none; color: var(--color-text); font-weight: 600; }
.menu.open { display: flex; position: absolute; top: 72px; right: 4%; background: #fff; border-radius: 16px; padding: 1rem; box-shadow: var(--shadow-soft); }

.menu-toggle { border: 0; background: transparent; cursor: pointer; display: grid; gap: 4px; }
.menu-toggle span { width: 26px; height: 3px; background: var(--color-primary); border-radius: 99px; }

section { padding: 4.5rem 0; }
h1, h2, h3 { margin-top: 0; line-height: 1.1; }
h1 { font-size: clamp(2rem, 7vw, 4rem); margin-bottom: 1rem; }
h2 { font-size: clamp(1.6rem, 4vw, 2.6rem); margin-bottom: 1.5rem; }
.lead { color: var(--color-muted); max-width: 65ch; }

.tagline {
  display: inline-block;
  padding: .35rem .75rem;
  background: #ede9fe;
  color: #5b21b6;
  border-radius: 999px;
  font-weight: 700;
}

.marker {
  background: linear-gradient(transparent 58%, var(--color-accent) 58%);
  padding: 0 .2rem;
}

.hero-cta { display: flex; gap: .8rem; flex-wrap: wrap; margin-top: 1.3rem; }
.btn {
  display: inline-block;
  text-decoration: none;
  border: 0;
  border-radius: 999px;
  padding: .9rem 1.3rem;
  font-weight: 700;
  cursor: pointer;
}
.btn:focus-visible, .menu a:focus-visible, input:focus-visible, select:focus-visible, .faq-question:focus-visible {
  outline: 3px solid #111827;
  outline-offset: 3px;
}
.btn-primary { background: var(--color-primary); color: #fff; }
.btn-primary:hover { background: var(--color-primary-dark); }
.btn-secondary { background: #fff; color: var(--color-primary); border: 2px solid #ddd6fe; }

.decorative-wave {
  margin-top: 2rem;
  height: 70px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--color-primary), #7c3aed 35%, #9333ea 70%, var(--color-accent));
  box-shadow: var(--shadow-soft);
}

.pill-list { display: flex; gap: .8rem; flex-wrap: wrap; }
.pill-list span {
  background: #fff;
  border: 2px solid #ddd6fe;
  color: #4c1d95;
  padding: .5rem 1rem;
  border-radius: 999px;
  font-weight: 700;
}

.motivation {
  background: #fff;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-soft);
  padding: 2rem;
}
.motivation ul { margin: 0 0 1rem; padding-left: 1.3rem; }
.motivation li { margin: .5rem 0; }

.cards-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}

.card {
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  padding: 1.2rem;
  box-shadow: var(--shadow-soft);
}

.callout { border-left: 6px solid var(--color-accent); }
.program-card .badge {
  display: inline-block;
  font-weight: 700;
  color: #111827;
  background: #fef3c7;
  padding: .3rem .6rem;
  border-radius: 999px;
}

.check-list { list-style: none; padding: 0; margin: 0; display: grid; gap: .7rem; }
.check-list li {
  background: #fff;
  border-radius: 14px;
  padding: .8rem 1rem;
  box-shadow: var(--shadow-soft);
}
.check-list li::before { content: "✔ "; color: var(--color-primary); font-weight: 800; }

.faq-item { background: #fff; border-radius: 14px; margin-bottom: .8rem; box-shadow: var(--shadow-soft); }
.faq-question {
  width: 100%;
  text-align: left;
  font-size: 1rem;
  font-weight: 700;
  background: transparent;
  border: none;
  padding: 1rem;
  cursor: pointer;
}
.faq-answer { display: none; padding: 0 1rem 1rem; color: var(--color-muted); }
.faq-item.open .faq-answer { display: block; }

.cta-grid { display: grid; gap: 1rem; }
.contact-form { display: grid; gap: .5rem; }
input, select {
  border: 1px solid #d1d5db;
  border-radius: 12px;
  padding: .7rem .8rem;
  font: inherit;
}

.site-footer { background: #f3f4f6; padding: 2rem 0; }
.footer-grid { display: grid; gap: 1rem; }
.footer-grid a { display: block; color: #374151; text-decoration: none; margin-bottom: .5rem; }

.toast {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  background: #111827;
  color: #fff;
  border-radius: 999px;
  padding: .7rem 1rem;
  transform: translateY(120px);
  transition: transform .25s ease;
}
.toast.show { transform: translateY(0); }

.reveal { opacity: 0; transform: translateY(16px); transition: opacity .4s ease, transform .4s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

@media (min-width: 768px) {
  .menu-toggle { display: none; }
  .menu {
    display: flex;
    flex-direction: row;
    position: static;
    background: transparent;
    box-shadow: none;
    padding: 0;
  }
  .cards-grid { grid-template-columns: repeat(2, 1fr); }
  .programs-grid { grid-template-columns: repeat(3, 1fr); }
  .cta-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1.3fr 1fr 1fr; }
}

@media (min-width: 1024px) {
  section { padding: 5.5rem 0; }
}
