:root {
  --accent: #cb6ce6;
  --accent-dark: #a845c8;
  --accent-light: #f0d6f7;
  --accent-ultra: #faf3fd;
  --white: #ffffff;
  --dark: #2a1a30;
  --mid: #7a6282;
  --text: #3d2845;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', sans-serif;
  background: #fff;
  color: var(--text);
  overflow-x: hidden;
}

/* ══════════════════════════════
   NAV
══════════════════════════════ */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 5vw;
  background: #cb6ce6;
  height: 66px;
  box-shadow: 0 4px 20px rgba(168,69,200,.3);
}

.nav-logo { display: flex; align-items: center; flex-shrink: 0; }
.nav-logo-img {
  height: 52px;
  width: auto;
  object-fit: contain;
}

.nav-links {
  display: flex;
  list-style: none;
  height: 66px;
  align-items: stretch;
  gap: 0;
}
.nav-links li { display: flex; }
.nav-links a {
  display: flex; align-items: center;
  padding: 0 .9rem;
  font-size: .78rem;
  font-weight: 500;
  color: rgba(255,255,255,.9);
  text-decoration: none;
  letter-spacing: .02em;
  white-space: nowrap;
  border-bottom: 3px solid transparent;
  transition: background .2s, border-color .2s;
}
.nav-links a:hover {
  background: rgba(255,255,255,.14);
  border-bottom-color: #fff;
}
.nav-cta {
  background: #fff !important;
  color: #cb6ce6 !important;
  border-radius: 50px !important;
  padding: 0 1.2rem !important;
  margin-left: .6rem;
  font-weight: 700 !important;
  align-self: center !important;
  height: 38px !important;
  border-bottom: none !important;
  box-shadow: 0 2px 10px rgba(0,0,0,.12);
  transition: transform .15s, box-shadow .15s !important;
}
.nav-cta:hover {
  transform: translateY(-1px) !important;
  background: #f5e0ff !important;
  border-bottom: none !important;
}

/* ══════════════════════════════
   HAMBURGER
══════════════════════════════ */
.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 42px; height: 42px;
  background: rgba(255,255,255,.15);
  border: none; border-radius: 10px;
  cursor: pointer;
  flex-shrink: 0;
  transition: background .2s;
}
.nav-hamburger:hover { background: rgba(255,255,255,.25); }
.nav-hamburger span {
  display: block;
  width: 22px; height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: transform .3s, opacity .3s;
}
.nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* MOBILE MENU DRAWER */
.nav-mobile {
  display: none;
  position: fixed;
  top: 66px; left: 0; right: 0;
  background: #b55ed0;
  z-index: 199;
  flex-direction: column;
  padding: .5rem 0 1rem;
  box-shadow: 0 8px 24px rgba(168,69,200,.3);
}
.nav-mobile.open {
  display: flex;
}
.nav-mobile a {
  display: block;
  padding: .85rem 6vw;
  font-size: .9rem;
  font-weight: 500;
  color: rgba(255,255,255,.92);
  text-decoration: none;
  border-left: 3px solid transparent;
  transition: background .2s, border-color .2s;
}
.nav-mobile a:hover {
  background: rgba(255,255,255,.12);
  border-left-color: #fff;
}
.nav-mobile .nav-cta-mobile {
  margin: .8rem 6vw 0;
  display: block;
  text-align: center;
  background: #fff;
  color: #cb6ce6 !important;
  border-radius: 50px;
  padding: .8rem 1.5rem;
  font-weight: 700;
  border-left: none !important;
  box-shadow: 0 2px 12px rgba(0,0,0,.12);
}
.nav-mobile .nav-cta-mobile:hover {
  background: #f5e0ff !important;
  border-left: none !important;
}

/* ══════════════════════════════
   HERO
══════════════════════════════ */
.hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  padding: 100px 6vw 5rem;
  gap: 4rem;
  position: relative;
  overflow: hidden;
  background: #fff;
}
.hero::before {
  content: '';
  position: absolute; top: -200px; right: -150px;
  width: 650px; height: 650px; border-radius: 50%;
  background: radial-gradient(circle, #f0d6f7 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}
.hero::after {
  content: '';
  position: absolute; bottom: -100px; left: -60px;
  width: 380px; height: 380px; border-radius: 50%;
  background: radial-gradient(circle, #faf3fd 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.hero-badge {
  display: inline-block;
  background: var(--accent-light);
  color: var(--accent-dark);
  font-size: .75rem; font-weight: 600;
  letter-spacing: .08em; text-transform: uppercase;
  padding: .4rem 1rem; border-radius: 50px;
  margin-bottom: 1.4rem;
  animation: fadeUp .6s ease both;
}
.hero-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  line-height: 1.18;
  color: var(--dark);
  margin-bottom: 1.4rem;
  animation: fadeUp .6s .1s ease both;
}
.hero-title em { color: var(--accent); font-style: italic; }
.hero-sub {
  font-size: 1.05rem; color: var(--mid); line-height: 1.75;
  max-width: 480px; margin-bottom: 2.4rem;
  animation: fadeUp .6s .2s ease both;
}
.hero-actions {
  display: flex; gap: 1rem; flex-wrap: wrap;
  animation: fadeUp .6s .3s ease both;
  position: relative; z-index: 1;
}
.btn-primary {
  background: #cb6ce6; color: #fff;
  padding: .85rem 1.8rem; border-radius: 50px;
  font-weight: 600; text-decoration: none;
  box-shadow: 0 6px 20px rgba(203,108,230,.35);
  transition: transform .2s, box-shadow .2s;
  position: relative; z-index: 1;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 10px 28px rgba(203,108,230,.45); }
.btn-outline {
  border: 2px solid var(--accent); color: var(--accent);
  padding: .83rem 1.8rem; border-radius: 50px;
  font-weight: 600; text-decoration: none;
  transition: background .2s, color .2s;
}
.btn-outline:hover { background: var(--accent); color: #fff; }

.hero-visual {
  position: relative; display: flex;
  justify-content: center; align-items: center;
  animation: fadeUp .6s .2s ease both;
}
.hero-blob {
  width: 420px; height: 420px;
  background: linear-gradient(135deg, var(--accent-light) 0%, var(--accent) 100%);
  border-radius: 60% 40% 70% 30% / 50% 60% 40% 70%;
  animation: morph 8s ease-in-out infinite;
  display: flex; align-items: center; justify-content: center;
  position: relative;
}
@keyframes morph {
  0%,100% { border-radius: 60% 40% 70% 30% / 50% 60% 40% 70%; }
  33%      { border-radius: 70% 30% 50% 50% / 30% 50% 70% 70%; }
  66%      { border-radius: 40% 60% 30% 70% / 60% 40% 60% 40%; }
}
.blob-inner {
  width: 300px; height: 300px;
  background: rgba(255,255,255,.25);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 5rem;
}
.hero-card {
  position: absolute;
  background: #fff;
  border-radius: 16px;
  padding: .8rem 1.2rem;
  box-shadow: 0 8px 30px rgba(0,0,0,.1);
  font-size: .8rem; font-weight: 600;
  display: flex; align-items: center; gap: .5rem;
  white-space: nowrap;
}
.hero-card-1 { top: 30px; left: -20px; }
.hero-card-2 { bottom: 50px; right: -20px; }
.hero-card-3 { top: 50%; left: -40px; transform: translateY(-50%); }
.card-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--accent); }

/* ══════════════════════════════
   STATS
══════════════════════════════ */
.stats {
  display: flex; justify-content: center; gap: 0;
  background: var(--dark); padding: 2.5rem 6vw;
  flex-wrap: wrap;
}
.stat-item {
  text-align: center; padding: 1rem 2.5rem;
  border-right: 1px solid rgba(255,255,255,.1);
}
.stat-item:last-child { border-right: none; }
.stat-num {
  font-family: 'Playfair Display', serif;
  font-size: 2.4rem; font-weight: 600; color: #fff;
}
.stat-num span { color: var(--accent); }
.stat-lbl { font-size: .8rem; color: rgba(255,255,255,.55); margin-top: .3rem; letter-spacing: .04em; }

/* ══════════════════════════════
   SERVICES
══════════════════════════════ */
.services { padding: 6rem 6vw; background: var(--accent-ultra); }
.section-tag {
  display: inline-block;
  font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  color: var(--accent); margin-bottom: .8rem;
}
.section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  color: var(--dark); margin-bottom: 3rem; max-width: 500px;
}
.services-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem;
}
.service-card {
  background: #fff; border-radius: 20px;
  padding: 2rem; position: relative; overflow: hidden;
  transition: transform .2s, box-shadow .2s;
  cursor: default;
}
.service-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0;
  height: 4px; background: var(--accent);
  transform: scaleX(0); transform-origin: left;
  transition: transform .3s;
}
.service-card:hover { transform: translateY(-4px); box-shadow: 0 12px 30px rgba(203,108,230,.15); }
.service-card:hover::before { transform: scaleX(1); }
.service-icon { font-size: 2rem; margin-bottom: 1rem; }
.service-card h3 { font-family: 'Playfair Display', serif; font-size: 1.1rem; color: var(--dark); margin-bottom: .6rem; }
.service-card p { font-size: .88rem; color: var(--mid); line-height: 1.7; }

/* ══════════════════════════════
   AUTISM / SPECIALTY
══════════════════════════════ */
.autism { padding: 6rem 6vw; background: #fff; }
.autism-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: center; }
.autism-visual {
  position: relative; display: flex;
  justify-content: center; align-items: center;
}
.autism-rings {
  width: 320px; height: 320px; position: relative;
  display: flex; align-items: center; justify-content: center;
}
.ring {
  position: absolute; border-radius: 50%; border: 2px solid;
  animation: spin 20s linear infinite;
}
.ring-1 { width: 320px; height: 320px; border-color: var(--accent-light); }
.ring-2 { width: 240px; height: 240px; border-color: var(--accent); opacity: .4; animation-direction: reverse; animation-duration: 15s; }
.ring-3 { width: 160px; height: 160px; border-color: var(--accent-dark); opacity: .2; }
@keyframes spin { to { transform: rotate(360deg); } }
.autism-center {
  position: relative; z-index: 1; text-align: center;
  background: var(--accent-ultra); border-radius: 50%;
  width: 120px; height: 120px;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  font-size: 2.5rem;
}
.autism-content .section-title { margin-bottom: 1rem; }
.autism-desc { font-size: .95rem; color: var(--mid); line-height: 1.8; margin-bottom: 2rem; }
.autism-pills { display: flex; flex-wrap: wrap; gap: .6rem; }
.pill {
  background: var(--accent-light); color: var(--accent-dark);
  padding: .4rem .9rem; border-radius: 50px;
  font-size: .78rem; font-weight: 600;
}

/* ══════════════════════════════
   ABOUT
══════════════════════════════ */
.about { padding: 6rem 6vw; background: var(--accent-ultra); }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: center; }
.about-img-wrap {
  position: relative;
  display: flex; justify-content: center;
}
.about-img-placeholder {
  width: 340px; height: 420px;
  background: linear-gradient(160deg, var(--accent-light) 0%, var(--accent) 100%);
  border-radius: 24px;
  display: flex; align-items: center; justify-content: center;
  font-size: 5rem;
}
.about-badge {
  position: absolute; bottom: -16px; right: 20px;
  background: var(--accent); color: #fff;
  padding: .8rem 1.2rem; border-radius: 14px;
  font-weight: 700; font-size: .85rem; text-align: center;
  box-shadow: 0 6px 20px rgba(203,108,230,.4);
}
.about-content .section-title { margin-bottom: 1rem; }
.about-desc { font-size: .95rem; color: var(--mid); line-height: 1.8; margin-bottom: 2rem; }
.credentials { display: flex; flex-direction: column; gap: .8rem; }
.cred-item {
  display: flex; align-items: flex-start; gap: .8rem;
  background: #fff; padding: 1rem 1.2rem; border-radius: 12px;
}
.cred-icon { font-size: 1.2rem; margin-top: .1rem; }
.cred-item strong { display: block; font-size: .88rem; color: var(--dark); }
.cred-item span { font-size: .8rem; color: var(--mid); }

/* ══════════════════════════════
   TESTIMONIALS
══════════════════════════════ */
.testimonials { padding: 6rem 6vw; background: #fff; }
.test-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.5rem; margin-top: 3rem; }
.test-card {
  background: var(--accent-ultra); border-radius: 20px; padding: 2rem;
  border: 1px solid var(--accent-light);
}
.stars { color: #f59e0b; font-size: 1rem; margin-bottom: 1rem; letter-spacing: 2px; }
.test-card p { font-size: .9rem; color: var(--mid); line-height: 1.75; margin-bottom: 1.5rem; font-style: italic; }
.test-author { display: flex; align-items: center; gap: .8rem; }
.test-avatar {
  width: 42px; height: 42px; border-radius: 50%;
  background: var(--accent); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: .9rem;
}
.test-name { font-weight: 600; font-size: .85rem; color: var(--dark); }
.test-role { font-size: .75rem; color: var(--mid); }

/* ══════════════════════════════
   FAQ
══════════════════════════════ */
.faq { padding: 6rem 6vw; background: var(--accent-ultra); }
.faq-inner { display: grid; grid-template-columns: 1fr 2fr; gap: 5rem; align-items: start; }
.faq-list { display: flex; flex-direction: column; gap: .8rem; margin-top: 1rem; }
.faq-item {
  background: #fff; border-radius: 14px; overflow: hidden;
  border: 1px solid transparent;
  transition: border-color .2s;
}
.faq-item.active { border-color: var(--accent-light); }
.faq-btn {
  width: 100%; background: none; border: none; cursor: pointer;
  padding: 1.2rem 1.4rem;
  display: flex; justify-content: space-between; align-items: center;
  font-family: 'DM Sans', sans-serif; font-size: .9rem; font-weight: 600; color: var(--dark);
  text-align: left; gap: 1rem;
}
.faq-icon {
  font-size: 1.4rem; line-height: 1; color: var(--accent);
  transition: transform .3s; flex-shrink: 0;
}
.faq-item.active .faq-icon { transform: rotate(45deg); }
.faq-answer {
  max-height: 0; overflow: hidden;
  transition: max-height .35s ease, padding .35s ease;
}
.faq-answer p { padding: 0 1.4rem 1.2rem; font-size: .88rem; color: var(--mid); line-height: 1.75; }
.faq-item.active .faq-answer { max-height: 200px; }

/* ══════════════════════════════
   CONTACT
══════════════════════════════ */
.contact { padding: 6rem 6vw; background: var(--dark); }
.contact-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 5rem; align-items: start; }
.contact .section-tag { color: var(--accent-light); }
.contact .section-title { color: #fff; }
.contact-info { display: flex; flex-direction: column; gap: 1.2rem; margin-top: 1.5rem; }
.info-item { display: flex; align-items: flex-start; gap: .9rem; }
.info-icon { font-size: 1.2rem; margin-top: .1rem; }
.info-item strong { display: block; font-size: .82rem; color: rgba(255,255,255,.5); text-transform: uppercase; letter-spacing: .05em; }
.info-item span { font-size: .95rem; color: rgba(255,255,255,.85); }
.contact-form { background: rgba(255,255,255,.06); border-radius: 20px; padding: 2.2rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-group { display: flex; flex-direction: column; gap: .4rem; margin-bottom: 1rem; }
.form-group label { font-size: .8rem; color: rgba(255,255,255,.6); font-weight: 500; }
.form-group input, .form-group select, .form-group textarea {
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 10px; padding: .75rem 1rem;
  font-family: 'DM Sans', sans-serif; font-size: .9rem;
  color: #fff; outline: none;
  transition: border-color .2s;
}
.form-group input::placeholder, .form-group textarea::placeholder { color: rgba(255,255,255,.3); }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { border-color: var(--accent); }
.form-group select { appearance: none; cursor: pointer; }
.form-group select option { background: var(--dark); color: #fff; }
.form-group textarea { resize: vertical; min-height: 100px; }
.btn-submit {
  width: 100%; padding: .95rem;
  background: var(--accent); color: #fff; border: none;
  border-radius: 50px; font-family: 'DM Sans', sans-serif;
  font-size: 1rem; font-weight: 600; cursor: pointer;
  box-shadow: 0 6px 20px rgba(203,108,230,.4);
  transition: transform .2s, box-shadow .2s;
}
.btn-submit:hover { transform: translateY(-2px); box-shadow: 0 10px 28px rgba(203,108,230,.5); }

/* ══════════════════════════════
   FOOTER
══════════════════════════════ */
footer {
  background: #1a1020; padding: 2.5rem 6vw;
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 1rem;
}
.footer-logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem; color: rgba(255,255,255,.7);
}
footer p { font-size: .8rem; color: rgba(255,255,255,.35); }
.footer-links { display: flex; gap: 1.5rem; }
.footer-links a { font-size: .8rem; color: rgba(255,255,255,.45); text-decoration: none; }
.footer-links a:hover { color: var(--accent); }

/* ══════════════════════════════
   ANIMATIONS
══════════════════════════════ */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ══════════════════════════════
   RESPONSIVE
══════════════════════════════ */
@media (min-width: 961px) {
  .nav-hamburger { display: none; }
  .nav-mobile { display: none !important; }
}

@media (max-width: 960px) {
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }
  .hero { grid-template-columns: 1fr; text-align: center; padding-top: 90px; }
  .hero-sub { margin: 0 auto 2.4rem; }
  .hero-actions { justify-content: center; }
  .hero-visual { display: none; }
  .autism-grid, .about-grid, .contact-grid, .faq-inner { grid-template-columns: 1fr; gap: 3rem; }
  .form-row { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr 1fr; }
  .test-grid { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .services-grid { grid-template-columns: 1fr; }
  .stats { flex-direction: column; align-items: center; }
  .stat-item { border-right: none; border-bottom: 1px solid rgba(255,255,255,.1); width: 100%; }
  .stat-item:last-child { border-bottom: none; }
}
