/* ===== Reset & Base ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { font: inherit; cursor: pointer; border: none; background: none; }
input, textarea, select { font: inherit; }

:root {
  --color-primary: #1e3a5f;
  --color-primary-dark: #152a45;
  --color-accent: #c9a227;
  --color-dark: #10233b;
  --color-text: #26313f;
  --color-muted: #667082;
  --color-bg: #fdfcf9;
  --color-bg-alt: #f4f2ea;
  --color-border: #e6e2d4;
  --font-heading: 'Playfair Display', serif;
  --font-body: 'Inter', sans-serif;
  --radius: 12px;
  --shadow: 0 10px 30px rgba(16, 35, 59, 0.12);
  --container: 1180px;
}

body {
  font-family: var(--font-body);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  color: var(--color-dark);
  line-height: 1.2;
  font-weight: 700;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 4vw, 2.5rem);
}

.section { padding-block: clamp(3.5rem, 8vw, 6.5rem); }
.section__head { max-width: 640px; margin-inline: auto; text-align: center; margin-bottom: clamp(2.5rem, 5vw, 3.5rem); }
.section__sub { color: var(--color-muted); margin-top: .75rem; font-size: clamp(.95rem, 1.1vw, 1.05rem); }

.eyebrow {
  color: var(--color-accent);
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  font-size: .8rem;
  margin-bottom: .75rem;
}

.accent { color: var(--color-accent); }

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: .9rem 1.8rem;
  border-radius: 6px;
  font-weight: 600;
  font-family: var(--font-body);
  font-size: .95rem;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
  white-space: nowrap;
}
.btn--primary { background: var(--color-primary); color: #fff; box-shadow: 0 8px 20px rgba(30,58,95,.3); }
.btn--primary:hover { background: var(--color-primary-dark); transform: translateY(-2px); }
.btn--outline { background: transparent; color: var(--color-dark); border: 2px solid var(--color-border); }
.btn--outline:hover { border-color: var(--color-primary); color: var(--color-primary); transform: translateY(-2px); }
.btn--light { background: #fff; color: var(--color-primary); }
.btn--light:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(0,0,0,.15); }
.btn--full { width: 100%; }

/* ===== Header ===== */
.header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 1000;
  background: rgba(253,252,249,.9);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s ease, box-shadow .3s ease;
}
.header.scrolled { border-color: var(--color-border); box-shadow: 0 4px 20px rgba(16,35,59,.06); }

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 78px;
}

.logo {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.3rem;
  color: var(--color-dark);
}
.logo span { color: var(--color-accent); }

.nav { display: flex; align-items: center; gap: 2.25rem; }
.nav__list { display: flex; gap: 2rem; }
.nav__link {
  font-weight: 500;
  font-size: .95rem;
  color: var(--color-text);
  position: relative;
  padding-block: .25rem;
}
.nav__link::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 2px;
  background: var(--color-accent);
  transition: width .25s ease;
}
.nav__link:hover::after { width: 100%; }
.nav__link:hover { color: var(--color-primary); }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 32px;
  height: 24px;
  z-index: 1100;
}
.hamburger span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--color-dark);
  border-radius: 2px;
  transition: transform .3s ease, opacity .3s ease;
}
.hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===== Hero ===== */
.hero {
  padding-top: clamp(6.5rem, 12vw, 9rem);
  padding-bottom: clamp(3rem, 8vw, 5rem);
  background: radial-gradient(circle at 82% 8%, #eef1f6 0%, transparent 55%), var(--color-bg);
}
.hero__inner {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
.hero h1 {
  font-size: clamp(2.3rem, 5vw, 3.6rem);
  margin-block: .75rem 1.25rem;
}
.hero__text { color: var(--color-muted); font-size: clamp(1rem, 1.2vw, 1.1rem); max-width: 520px; margin-bottom: 2rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-bottom: 3rem; }

.hero__stats { display: flex; gap: clamp(1.5rem, 4vw, 3rem); flex-wrap: wrap; }
.stat { display: flex; flex-direction: column; }
.stat__num { font-family: var(--font-heading); font-weight: 700; font-size: clamp(1.4rem, 2.2vw, 1.9rem); color: var(--color-primary); }
.stat__label { font-size: .85rem; color: var(--color-muted); }

.hero__media { position: relative; }
.hero__blob {
  position: absolute;
  inset: -8% -8% auto auto;
  width: 90%;
  height: 90%;
  background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
  border-radius: 40% 60% 55% 45% / 45% 40% 60% 55%;
  opacity: .12;
  z-index: 0;
}
.hero__visual {
  position: relative;
  z-index: 1;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: clamp(2rem, 4vw, 2.75rem) clamp(1.75rem, 4vw, 2.25rem);
  aspect-ratio: 4/5;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1.5rem;
  border: 1px solid var(--color-border);
}
.hero__avatar {
  width: 72px; height: 72px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.4rem;
}
.hero__quote {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: clamp(1.1rem, 1.6vw, 1.35rem);
  color: var(--color-dark);
  line-height: 1.4;
}
.hero__quote-author { color: var(--color-muted); font-size: .85rem; }
.hero__mini-stats { display: flex; gap: 1.5rem; padding-top: 1rem; border-top: 1px solid var(--color-border); }
.mini-stat { display: flex; flex-direction: column; }
.mini-stat strong { font-family: var(--font-heading); font-size: 1.1rem; color: var(--color-primary); }
.mini-stat span { font-size: .8rem; color: var(--color-muted); }

/* ===== Trust bar ===== */
.trustbar { border-block: 1px solid var(--color-border); padding-block: 1.5rem; }
.trustbar__inner {
  display: flex;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
  color: var(--color-muted);
  font-size: .85rem;
}
.trustbar__logos { display: flex; gap: clamp(1.25rem, 4vw, 2.5rem); flex-wrap: wrap; font-weight: 700; letter-spacing: .05em; color: #b7ad8f; font-family: var(--font-heading); }

/* ===== About ===== */
.about__inner {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
.about__media { position: relative; }
.about__photo {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  aspect-ratio: 1/1;
  background: linear-gradient(135deg, #eef1f6, #f6efd9);
  display: flex;
  align-items: center;
  justify-content: center;
}
.about__photo span {
  width: 40%;
  aspect-ratio: 1/1;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
}
.about__badge {
  position: absolute;
  bottom: -1rem;
  left: -1rem;
  background: var(--color-dark);
  color: #fff;
  border-radius: 10px;
  padding: 1rem 1.25rem;
  display: flex;
  align-items: center;
  gap: .75rem;
  box-shadow: var(--shadow);
  z-index: 1;
}
.about__badge strong { font-family: var(--font-heading); font-size: 1.6rem; color: var(--color-accent); }
.about__badge span { font-size: .75rem; line-height: 1.2; color: #cbd2dc; }
.about__content h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin-bottom: 1rem; }
.about__content p { color: var(--color-muted); margin-bottom: 1.25rem; }
.checklist { margin-bottom: 1.75rem; }
.checklist li {
  position: relative;
  padding-left: 1.75rem;
  margin-bottom: .6rem;
  font-weight: 500;
  color: var(--color-text);
}
.checklist li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--color-primary);
  font-weight: 800;
}

/* ===== Programs / Cards ===== */
.programs { background: var(--color-bg-alt); }
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.card {
  background: #fff;
  border-radius: var(--radius);
  padding: 2rem;
  border: 1px solid var(--color-border);
  transition: transform .25s ease, box-shadow .25s ease;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.card__icon {
  font-size: 1.6rem;
  width: 56px; height: 56px;
  display: flex; align-items: center; justify-content: center;
  background: var(--color-bg-alt);
  border-radius: 10px;
  margin-bottom: 1.25rem;
}
.card h3 { font-size: 1.1rem; margin-bottom: .6rem; }
.card p { color: var(--color-muted); font-size: .95rem; }

/* ===== Path / Steps ===== */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}
.step {
  padding: 1.75rem;
  border-radius: var(--radius);
  background: var(--color-bg-alt);
  position: relative;
}
.step__num {
  display: block;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.6rem;
  color: var(--color-primary);
  opacity: .5;
  margin-bottom: .75rem;
}
.step h3 { font-size: 1.05rem; margin-bottom: .5rem; }
.step p { color: var(--color-muted); font-size: .9rem; }

/* ===== Testimonials ===== */
.testimonials { background: var(--color-bg-alt); }
.testimonial-track {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.testimonial {
  background: #fff;
  border-radius: var(--radius);
  padding: 2rem;
  border: 1px solid var(--color-border);
}
.testimonial p { color: var(--color-text); margin-bottom: 1.5rem; font-style: italic; }
.testimonial__author { display: flex; align-items: center; gap: .85rem; }
.avatar {
  width: 46px; height: 46px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: .85rem;
  flex-shrink: 0;
}
.avatar--1 { background: linear-gradient(135deg, #1e3a5f, #4a6d99); }
.avatar--2 { background: linear-gradient(135deg, #c9a227, #e6c563); }
.avatar--3 { background: linear-gradient(135deg, #10233b, #34506f); }
.testimonial__author strong { display: block; font-size: .95rem; }
.testimonial__author span { font-size: .8rem; color: var(--color-muted); }

/* ===== Pricing ===== */
.pricing__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  align-items: stretch;
}
.price-card {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 2.25rem;
  text-align: center;
  position: relative;
  display: flex;
  flex-direction: column;
}
.price-card--featured {
  background: var(--color-dark);
  color: #fff;
  transform: scale(1.03);
  box-shadow: var(--shadow);
}
.price-card--featured h3, .price-card--featured .price { color: #fff; }
.price-card--featured ul li { color: #c3ccd8; }
.badge {
  position: absolute;
  top: -14px; left: 50%;
  transform: translateX(-50%);
  background: var(--color-accent);
  color: #fff;
  font-size: .75rem;
  font-weight: 700;
  padding: .35rem .9rem;
  border-radius: 999px;
}
.price-card h3 { margin-bottom: .5rem; }
.price { font-family: var(--font-heading); font-weight: 700; font-size: 2.2rem; margin-bottom: 1.5rem; }
.price span { font-size: .9rem; font-weight: 500; color: var(--color-muted); }
.price-card ul { margin-bottom: 2rem; flex-grow: 1; }
.price-card ul li { padding: .5rem 0; color: var(--color-muted); font-size: .9rem; border-bottom: 1px dashed var(--color-border); }
.price-card--featured ul li { border-color: rgba(255,255,255,.15); }
.price-card .btn { align-self: center; }

/* ===== CTA banner ===== */
.cta { background: linear-gradient(120deg, var(--color-primary), var(--color-primary-dark)); padding-block: clamp(3rem, 6vw, 4.5rem); }
.cta__inner { text-align: center; color: #fff; }
.cta h2 { color: #fff; font-size: clamp(1.6rem, 3vw, 2.2rem); margin-bottom: .75rem; }
.cta p { opacity: .9; margin-bottom: 1.75rem; max-width: 520px; margin-inline: auto; font-family: var(--font-body); }

/* ===== Contact ===== */
.contact__inner {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: clamp(2rem, 5vw, 4rem);
}
.contact__info h2 { font-size: clamp(1.6rem, 3vw, 2.1rem); margin-bottom: 1rem; }
.contact__info p { color: var(--color-muted); margin-bottom: 1.5rem; }
.contact__list { margin-bottom: 1.75rem; }
.contact__list li { padding: .5rem 0; border-bottom: 1px solid var(--color-border); }
.social { display: flex; gap: .75rem; }
.social a {
  width: 42px; height: 42px;
  border-radius: 50%;
  border: 1px solid var(--color-border);
  display: flex; align-items: center; justify-content: center;
  font-size: .75rem; font-weight: 700;
  transition: background .2s ease, color .2s ease;
}
.social a:hover { background: var(--color-primary); color: #fff; border-color: var(--color-primary); }

.contact__form {
  background: var(--color-bg-alt);
  border-radius: var(--radius);
  padding: clamp(1.5rem, 3vw, 2.25rem);
  border: 1px solid var(--color-border);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-group { margin-bottom: 1.1rem; display: flex; flex-direction: column; gap: .4rem; }
.form-group label { font-size: .85rem; font-weight: 600; color: var(--color-text); }
.form-group input, .form-group select, .form-group textarea {
  padding: .8rem 1rem;
  border-radius: 8px;
  border: 1px solid var(--color-border);
  background: #fff;
  font-size: .95rem;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(30,58,95,.15);
}
.form-note { margin-top: .9rem; font-size: .9rem; color: var(--color-primary); min-height: 1.2em; }

/* ===== Footer ===== */
.footer { background: var(--color-dark); color: #c3ccd8; padding-block: 2.5rem; }
.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.25rem;
}
.logo--footer { color: #fff; }
.footer__links { display: flex; gap: 1.5rem; flex-wrap: wrap; }
.footer__links a:hover { color: #fff; }
.footer__copy { font-size: .85rem; color: #6b7a8f; width: 100%; text-align: center; margin-top: .5rem; }

@media (min-width: 640px) {
  .footer__copy { width: auto; margin-top: 0; }
}

/* ===== Back to top ===== */
.back-to-top {
  position: fixed;
  right: 1.5rem;
  bottom: 1.5rem;
  width: 46px; height: 46px;
  background: var(--color-primary);
  color: #fff;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem;
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all .3s ease;
  z-index: 900;
}
.back-to-top.show { opacity: 1; visibility: visible; transform: translateY(0); }

/* ===== Reveal animation ===== */
[data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
[data-reveal].in-view { opacity: 1; transform: translateY(0); }

/* ============================================================
   RESPONSIVE BREAKPOINTS
   ============================================================ */

/* Tablets */
@media (max-width: 1024px) {
  .cards, .testimonial-track, .pricing__grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .price-card--featured { transform: none; }
}

/* Nav collapse */
@media (max-width: 900px) {
  .hamburger { display: flex; }
  .nav {
    position: fixed;
    top: 0;
    right: 0;
    height: 100vh;
    width: min(320px, 80vw);
    background: #fff;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 2.5rem;
    padding: 2rem clamp(1.5rem, 6vw, 2.5rem);
    transform: translateX(100%);
    transition: transform .35s ease;
    box-shadow: -10px 0 30px rgba(0,0,0,.08);
  }
  .nav.active { transform: translateX(0); }
  .nav__list { flex-direction: column; gap: 1.5rem; }
  .nav__link { font-size: 1.1rem; }
  .nav__cta { width: 100%; text-align: center; }
}

/* Small tablets / large phones */
@media (max-width: 768px) {
  .hero__inner { grid-template-columns: 1fr; text-align: center; }
  .hero__text { margin-inline: auto; }
  .hero__actions { justify-content: center; }
  .hero__stats { justify-content: center; }
  .hero__media { order: -1; max-width: 380px; margin-inline: auto; width: 100%; }

  .about__inner { grid-template-columns: 1fr; }
  .about__media { max-width: 420px; margin-inline: auto; width: 100%; }

  .contact__inner { grid-template-columns: 1fr; }

  .cards, .steps, .pricing__grid, .testimonial-track { grid-template-columns: 1fr; }
  .price-card--featured { order: -1; }
}

/* Phones */
@media (max-width: 480px) {
  .form-row { grid-template-columns: 1fr; }
  .hero__stats { gap: 1.25rem; }
  .trustbar__inner { flex-direction: column; align-items: flex-start; gap: .75rem; }
  .footer__inner { flex-direction: column; text-align: center; justify-content: center; }
  .footer__links { justify-content: center; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation: none !important; transition: none !important; }
}
