/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --primary:          hsl(198, 65%, 38%);
  --primary-light:    hsl(198, 65%, 48%);
  --primary-fg:       #ffffff;
  --secondary:        hsl(152, 35%, 45%);
  --secondary-fg:     #ffffff;
  --bg:               hsl(195, 30%, 98%);
  --fg:               hsl(210, 25%, 15%);
  --card:             #ffffff;
  --muted:            hsl(195, 20%, 94%);
  --muted-fg:         hsl(210, 12%, 45%);
  --border:           hsl(195, 18%, 88%);
  --accent:           hsl(152, 30%, 92%);
  --accent-fg:        hsl(152, 35%, 28%);
  --section-warm:     hsl(40, 30%, 97%);
  --section-green:    hsl(152, 25%, 96%);
  --hero-gradient:    linear-gradient(135deg, hsl(198,65%,38%) 0%, hsl(172,45%,42%) 50%, hsl(152,35%,45%) 100%);
  --radius:           0.625rem;
  --shadow-sm:        0 1px 3px rgba(0,0,0,.06), 0 1px 2px rgba(0,0,0,.04);
  --shadow-md:        0 4px 12px rgba(0,0,0,.08), 0 2px 4px rgba(0,0,0,.05);
  --transition:       all 0.3s ease;
}

html { scroll-behavior: smooth; overflow-x: hidden; }
body {
  font-family: 'DM Sans', system-ui, sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--fg);
  background: var(--bg);
  overflow-x: hidden;
}
h1, h2, h3, h4 {
  font-family: 'Libre Baskerville', Georgia, serif;
  line-height: 1.2;
  overflow-wrap: break-word;
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; height: auto; display: block; }
button { cursor: pointer; font-family: inherit; border: none; }

/* ===== CONTAINER ===== */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1rem;
}
@media (min-width: 640px)  { .container { padding: 0 1.5rem; } }
@media (min-width: 1024px) { .container { padding: 0 2rem; } }

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  font-family: 'DM Sans', sans-serif;
  font-weight: 600;
  border-radius: var(--radius);
  transition: var(--transition);
  white-space: nowrap;
  text-decoration: none;
  border: 2px solid transparent;
}
.btn--lg { height: 3rem; padding: 0 2rem; font-size: 1rem; border-radius: 0.625rem; }
.btn--full { width: 100%; justify-content: center; }

.btn--primary {
  background: var(--primary);
  color: var(--primary-fg);
  box-shadow: 0 4px 14px rgba(43,122,153,.25);
}
.btn--primary:hover {
  background: var(--primary-light);
  box-shadow: 0 6px 20px rgba(43,122,153,.35);
  transform: translateY(-1px);
}

.btn--hero {
  background: #ffffff;
  color: var(--primary);
  box-shadow: 0 8px 24px rgba(0,0,0,.18);
  border-radius: 0.75rem;
}
.btn--hero:hover { box-shadow: 0 12px 32px rgba(0,0,0,.24); transform: scale(1.02); }

.btn--hero-outline {
  background: transparent;
  color: #ffffff;
  border: 2px solid rgba(255,255,255,.6);
  border-radius: 0.75rem;
}
.btn--hero-outline:hover { background: rgba(255,255,255,.15); border-color: #ffffff; }

/* ===== NAVBAR ===== */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  background: rgba(255,255,255,.82);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.navbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 4rem;
}
@media (min-width: 768px) { .navbar__inner { height: 5rem; } }

.navbar__logo { height: 3rem; width: auto; }
@media (min-width: 768px) { .navbar__logo { height: 3.5rem; } }

.navbar__links {
  display: none;
  align-items: center;
  gap: 2rem;
}
@media (min-width: 768px) { .navbar__links { display: flex; } }

.navbar__link {
  font-size: .875rem;
  font-weight: 500;
  color: rgba(28,38,51,.7);
  transition: color 0.2s;
}
.navbar__link:hover { color: var(--primary); }

.navbar__hamburger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 0.5rem;
  background: transparent;
}
@media (min-width: 768px) { .navbar__hamburger { display: none; } }
.navbar__hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--fg);
  border-radius: 2px;
  transition: var(--transition);
}
.navbar__hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.navbar__hamburger.open span:nth-child(2) { opacity: 0; }
.navbar__hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.navbar__mobile {
  display: none;
  flex-direction: column;
  padding: 1rem 1rem 1.25rem;
  border-top: 1px solid var(--border);
  background: var(--card);
  gap: 0;
}
.navbar__mobile.open { display: flex; animation: fade-in 0.2s ease; }
.navbar__mobile-link {
  display: block;
  padding: 0.875rem 0;
  color: rgba(28,38,51,.8);
  border-bottom: 1px solid var(--border);
  font-weight: 500;
  transition: color 0.2s;
}
.navbar__mobile-link:last-of-type { border-bottom: none; }
.navbar__mobile-link:hover { color: var(--primary); }
.navbar__mobile .btn { margin-top: 0.75rem; }

/* ===== HERO ===== */
.hero {
  position: relative;
  background: var(--hero-gradient);
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding-top: 5rem;
  padding-bottom: 2.5rem;
}
@media (min-width: 1024px) {
  .hero { min-height: 100svh; padding-bottom: 2.5rem; }
}
@media (min-width: 1280px) {
  .hero { min-height: 90vh; padding-bottom: 0; }
}
.hero__overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at top right, rgba(255,255,255,.15) 0%, transparent 60%);
  pointer-events: none;
}
.hero__inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2.5rem;
}
@media (min-width: 1024px) {
  .hero__inner { flex-direction: row; gap: 4rem; }
}
.hero__logo-wrap { order: 2; flex-shrink: 0; }
@media (min-width: 1024px) { .hero__logo-wrap { order: 0; } }
.hero__logo {
  width: 16rem;
  max-width: 85vw;
  filter: drop-shadow(0 20px 40px rgba(0,0,0,.25));
}
@media (min-width: 640px)  { .hero__logo { width: 20rem; } }
@media (min-width: 768px)  { .hero__logo { width: 24rem; } }
@media (min-width: 1024px) { .hero__logo { width: 26rem; } }

.hero__content { flex: 1; display: flex; flex-direction: column; gap: 1.25rem; order: 1; }
@media (min-width: 1024px) { .hero__content { order: 0; gap: 2rem; } }

.hero__title {
  font-size: clamp(1.875rem, 5vw, 3.75rem);
  font-weight: 700;
  color: #ffffff;
  line-height: 1.1;
}
.hero__subtitle {
  font-size: clamp(1.125rem, 2.5vw, 1.5rem);
  color: rgba(255,255,255,.9);
  font-weight: 300;
  line-height: 1.6;
}
.hero__body {
  font-size: clamp(1rem, 1.5vw, 1.125rem);
  color: rgba(255,255,255,.75);
  max-width: 42rem;
}
.hero__buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* ===== SECTIONS ===== */
.section {
  padding: 3rem 0;
  scroll-margin-top: 4rem;
}
@media (min-width: 640px)  { .section { padding: 4rem 0; } }
@media (min-width: 768px)  { .section { padding: 6rem 0; } }

.section--warm  { background: var(--section-warm); }
.section--green { background: var(--section-green); }

.section__header {
  text-align: center;
  margin-bottom: 3rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}
.section__title { font-size: clamp(1.75rem, 4vw, 2.5rem); font-weight: 700; color: var(--fg); }
.section__subtitle { font-size: 1.125rem; color: var(--muted-fg); max-width: 40rem; }
.section__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: .75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
}
.section__badge--secondary { color: var(--secondary); }
.section__cta {
  text-align: center;
  margin-top: 3rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}
.section__cta-text { font-size: 1.125rem; color: rgba(28,38,51,.7); max-width: 40rem; }

/* ===== GRIDS ===== */
.grid { display: grid; gap: 1rem; }
.grid--2 { grid-template-columns: 1fr; }
.grid--3 { grid-template-columns: 1fr; }
@media (min-width: 640px)  { .grid--2 { grid-template-columns: 1fr 1fr; } .grid--3 { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .grid--3 { grid-template-columns: 1fr 1fr 1fr; } }
@media (min-width: 768px)  { .grid { gap: 1.5rem; } }

/* ===== INTRO ===== */
.intro { max-width: 48rem; margin: 0 auto; text-align: center; display: flex; flex-direction: column; gap: 1.5rem; }
.intro__icons { display: flex; justify-content: center; gap: 0.75rem; color: var(--primary); }
.intro__text { font-size: clamp(1rem, 2vw, 1.25rem); color: rgba(28,38,51,.8); line-height: 1.7; }

/* ===== SIGN CARDS ===== */
.sign-card {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem;
  border-radius: 0.75rem;
  background: var(--card);
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.3s;
}
.sign-card:hover { box-shadow: var(--shadow-md); }
.sign-card__icon {
  flex-shrink: 0;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.5rem;
  background: var(--accent);
  color: var(--accent-fg);
  display: flex;
  align-items: center;
  justify-content: center;
}
.sign-card span { font-size: .875rem; font-weight: 500; color: rgba(28,38,51,.85); }

/* ===== ABOUT ===== */
.about__grid {
  display: grid;
  gap: 2rem;
}
@media (min-width: 768px)  { .about__grid { grid-template-columns: 1fr 1fr; gap: 3rem; } }
@media (min-width: 1280px) { .about__grid { grid-template-columns: 1fr 2fr; } }
.about__col-title { font-size: 1.25rem; font-weight: 700; color: var(--fg); margin-bottom: 1.5rem; font-family: 'DM Sans', sans-serif; }
.specialty-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem; }
@media (min-width: 768px) { .specialty-grid { grid-template-columns: 1fr; } }
@media (min-width: 1024px) { .specialty-grid { grid-template-columns: 1fr 1fr; } }
.specialty-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem;
  border-radius: 0.5rem;
  background: rgba(195,220,230,.3);
}
.specialty-item svg { color: var(--primary); flex-shrink: 0; }
.specialty-item span { font-size: .875rem; font-weight: 500; }
.goals-list { list-style: none; display: flex; flex-direction: column; gap: 0.75rem; }
.goals-list__item { display: flex; align-items: flex-start; gap: 0.75rem; color: rgba(28,38,51,.8); }
.goals-list__dot {
  flex-shrink: 0;
  width: .5rem;
  height: .5rem;
  border-radius: 50%;
  background: var(--secondary);
  margin-top: 0.5rem;
}

/* ===== TIMELINE ===== */
.timeline { max-width: 42rem; margin: 0 auto; position: relative; display: flex; flex-direction: column; gap: 2rem; }
.timeline__line {
  display: none;
  position: absolute;
  left: 1.5rem;
  top: 0; bottom: 0;
  width: 1px;
  background: var(--border);
}
@media (min-width: 768px) { .timeline__line { display: block; } }
.timeline__item { display: flex; gap: 1.25rem; align-items: flex-start; position: relative; }
.timeline__icon {
  position: relative;
  z-index: 1;
  flex-shrink: 0;
  width: 3rem;
  height: 3rem;
  border-radius: 0.75rem;
  background: var(--primary);
  color: var(--primary-fg);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(43,122,153,.25);
}
.timeline__content { padding-top: 0.25rem; }
.timeline__step { font-size: .75rem; font-weight: 700; color: rgba(43,122,153,.6); text-transform: uppercase; letter-spacing: .08em; margin-bottom: 0.25rem; }
.timeline__title { font-size: 1.125rem; font-weight: 700; color: var(--fg); font-family: 'DM Sans', sans-serif; }
.timeline__desc { color: rgba(28,38,51,.65); margin-top: 0.25rem; }

/* ===== CONDITION CARDS ===== */
.condition-card {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem;
  border-radius: 0.75rem;
  border: 1px solid var(--border);
  background: var(--card);
  transition: box-shadow 0.3s;
}
.condition-card:hover { box-shadow: var(--shadow-md); }
.condition-card svg { color: var(--secondary); flex-shrink: 0; }
.condition-card span { font-size: .875rem; font-weight: 500; color: rgba(28,38,51,.85); }

/* ===== DIFFERENTIALS ===== */
.differentials { max-width: 42rem; margin: 0 auto; display: flex; flex-direction: column; gap: 1rem; }
.differential-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1rem;
  border-radius: 0.75rem;
  background: var(--card);
  box-shadow: var(--shadow-sm);
}
.differential-item svg { color: var(--secondary); flex-shrink: 0; margin-top: 0.125rem; }
.differential-item span { font-weight: 500; color: rgba(28,38,51,.85); }

/* ===== RESULT CARDS ===== */
.result-card {
  text-align: center;
  padding: 1.25rem;
  border-radius: 1rem;
  background: var(--card);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  transition: box-shadow 0.3s;
}
@media (min-width: 768px) { .result-card { padding: 1.5rem; } }
.result-card:hover { box-shadow: var(--shadow-md); }
.result-card__icon {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.result-card__icon--primary { background: rgba(43,122,153,.1); color: var(--primary); }
.result-card__icon--secondary { background: rgba(61,125,93,.1); color: var(--secondary); }
.result-card p { font-weight: 600; color: rgba(28,38,51,.85); }

/* ===== TEAM CARDS ===== */
.team-card {
  padding: 1.25rem;
  border-radius: 1rem;
  background: var(--card);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  transition: box-shadow 0.3s;
}
@media (min-width: 768px) { .team-card { padding: 1.5rem; } }
.team-card:hover { box-shadow: var(--shadow-md); }
.team-card__icon {
  width: 3rem;
  height: 3rem;
  border-radius: 0.75rem;
  background: rgba(43,122,153,.1);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
}
.team-card h3 { font-weight: 700; color: var(--fg); font-family: 'DM Sans', sans-serif; font-size: 1rem; }
.team-card p { font-size: .875rem; color: rgba(28,38,51,.65); }

/* ===== TESTIMONIALS ===== */
.testimonial-card {
  padding: 1.25rem;
  border-radius: 1rem;
  background: var(--card);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
@media (min-width: 768px) { .testimonial-card { padding: 1.5rem; } }
.testimonial-card__quote { color: rgba(43,122,153,.3); }
.testimonial-card__text { color: rgba(28,38,51,.8); font-style: italic; line-height: 1.7; }
.testimonial-card__name { font-weight: 600; color: var(--fg); font-size: .875rem; }
.testimonial-card__detail { font-size: .75rem; color: var(--muted-fg); }

/* ===== SCHOOLS ===== */
.schools__grid { display: grid; gap: 2rem; margin-bottom: 3rem; }
@media (min-width: 768px) { .schools__grid { grid-template-columns: 1fr 1fr; gap: 3rem; } }
.schools__col-title { font-size: 1.125rem; font-weight: 700; color: var(--fg); margin-bottom: 1.25rem; font-family: 'DM Sans', sans-serif; }
.schools__list { display: flex; flex-direction: column; gap: 0.75rem; }
.schools__list-item { display: flex; align-items: center; gap: 0.75rem; }
.schools__list-item svg { color: var(--primary); flex-shrink: 0; }
.schools__list-item span { font-size: .875rem; color: rgba(28,38,51,.8); }
.schools__benefits { display: flex; flex-direction: column; gap: 0.75rem; }
.schools__benefit-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem;
  border-radius: 0.5rem;
  background: var(--card);
  box-shadow: var(--shadow-sm);
}
.schools__benefit-item svg { color: var(--secondary); flex-shrink: 0; }
.schools__benefit-item span { font-size: .875rem; font-weight: 500; color: rgba(28,38,51,.85); }

/* ===== FAQ ===== */
.faq { max-width: 42rem; margin: 0 auto; display: flex; flex-direction: column; gap: 0.75rem; }
.faq__item {
  border: 1px solid var(--border);
  border-radius: 0.75rem;
  background: var(--card);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}
.faq__trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.25rem;
  background: transparent;
  text-align: left;
  font-weight: 600;
  font-size: 1rem;
  color: rgba(28,38,51,.9);
  transition: background 0.2s;
}
.faq__trigger:hover { background: rgba(195,220,230,.2); }
.faq__chevron { flex-shrink: 0; transition: transform 0.3s ease; }
.faq__item.open .faq__chevron { transform: rotate(180deg); }
.faq__content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
  padding: 0 1.25rem;
}
.faq__item.open .faq__content { max-height: 20rem; padding: 0 1.25rem 1rem; }
.faq__content p { color: rgba(28,38,51,.7); line-height: 1.7; }

/* ===== CONTACT ===== */
.contact__grid { display: grid; gap: 2rem; max-width: 64rem; margin: 0 auto; }
@media (min-width: 768px) { .contact__grid { grid-template-columns: 1fr 1fr; gap: 3rem; } }
.contact__channels { display: flex; flex-direction: column; gap: 1.25rem; }
.contact__channels-title { font-size: 1.125rem; font-weight: 700; color: var(--fg); font-family: 'DM Sans', sans-serif; }
.contact__channel-card {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem;
  border-radius: 0.75rem;
  background: var(--card);
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.3s;
}
.contact__channel-card:hover { box-shadow: var(--shadow-md); }
.contact__channel-icon--primary { color: var(--primary); flex-shrink: 0; }
.contact__channel-icon--secondary { color: var(--secondary); flex-shrink: 0; }
.contact__channel-label { font-weight: 500; font-size: .875rem; color: var(--fg); }
.contact__channel-value { font-size: .75rem; color: var(--muted-fg); word-break: break-all; }

.contact__form {
  padding: 1.25rem;
  border-radius: 1rem;
  background: var(--card);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
@media (min-width: 768px) { .contact__form { padding: 1.5rem; } }
.contact__form-title { font-size: 1.125rem; font-weight: 700; color: var(--fg); font-family: 'DM Sans', sans-serif; }
.contact__toggle { display: flex; gap: 0.5rem; }
.contact__toggle-btn {
  flex: 1;
  padding: 0.5rem 0.75rem;
  font-size: .875rem;
  font-weight: 500;
  border-radius: 0.5rem;
  background: var(--muted);
  color: var(--muted-fg);
  transition: var(--transition);
}
.contact__toggle-btn--active { background: var(--primary); color: var(--primary-fg); }

.form-input, .form-textarea {
  width: 100%;
  padding: 0.625rem 0.875rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-family: 'DM Sans', sans-serif;
  font-size: .875rem;
  color: var(--fg);
  background: var(--bg);
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
}
.form-input:focus, .form-textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(43,122,153,.15);
}
.form-textarea { resize: vertical; min-height: 100px; }

/* ===== TOAST ===== */
.toast {
  position: fixed;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%) translateY(4rem);
  background: var(--fg);
  color: #ffffff;
  padding: 0.875rem 1.5rem;
  border-radius: 0.75rem;
  font-size: .875rem;
  font-weight: 500;
  box-shadow: var(--shadow-md);
  z-index: 1000;
  opacity: 0;
  transition: transform 0.4s ease, opacity 0.4s ease;
  white-space: nowrap;
}
.toast.show { transform: translateX(-50%) translateY(0); opacity: 1; }

/* ===== FOOTER ===== */
.footer {
  background: var(--fg);
  color: rgba(255,255,255,.7);
  padding: 2rem 0;
}
@media (min-width: 768px) { .footer { padding: 3rem 0; } }
.footer__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}
@media (min-width: 768px) { .footer__inner { flex-direction: row; justify-content: space-between; } }
.footer__logo { height: 2.5rem; width: auto; filter: brightness(0) invert(1); opacity: .8; }
.footer__copy { font-size: .875rem; }

/* ===== SCROLL REVEAL ANIMATIONS ===== */
@keyframes fade-up {
  from { opacity: 0; transform: translateY(20px); filter: blur(4px); }
  to   { opacity: 1; transform: translateY(0);    filter: blur(0); }
}
@keyframes fade-in {
  from { opacity: 0; filter: blur(4px); }
  to   { opacity: 1; filter: blur(0); }
}

.fade-up  { opacity: 0; animation: fade-up  0.7s cubic-bezier(.16,1,.3,1) forwards; }
.fade-in  { opacity: 0; animation: fade-in  0.7s cubic-bezier(.16,1,.3,1) forwards; }
.delay-1  { animation-delay: 150ms; }
.delay-2  { animation-delay: 300ms; }
.delay-3  { animation-delay: 450ms; }

.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s cubic-bezier(.16,1,.3,1), transform 0.7s cubic-bezier(.16,1,.3,1);
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ===== REDUCED MOTION ===== */
@media (prefers-reduced-motion: reduce) {
  *, .fade-up, .fade-in, .reveal { animation: none !important; transition: none !important; opacity: 1 !important; transform: none !important; }
}
