/* ============================================================
   NIHAO STUDY — Main Stylesheet
   ============================================================ */

/* ---------- CSS Variables ---------- */
:root {
  --red: #C41E3A;
  --red-dark: #a01830;
  --red-light: #f9e6e9;
  --navy: #1A1A2E;
  --navy-light: #252545;
  --gold: #E8B84B;
  --gray-50: #F8F9FA;
  --gray-100: #F1F3F5;
  --gray-200: #E9ECEF;
  --gray-400: #ADB5BD;
  --gray-600: #6C757D;
  --gray-800: #343A40;
  --text: #1e1e2e;
  --text-muted: #6C757D;
  --white: #ffffff;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
  --shadow: 0 4px 16px rgba(0,0,0,0.1);
  --shadow-lg: 0 12px 40px rgba(0,0,0,0.15);
  --radius: 12px;
  --radius-lg: 20px;
  --transition: 0.25s ease;
  --container: 1200px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; overflow-x: hidden; max-width: 100%; }
body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
  max-width: 100%;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
input, select, textarea { font-family: inherit; }

/* ---------- Container ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Sections ---------- */
.section { padding: 96px 0; }
.section--gray { background: var(--gray-50); }
.section--dark { background: var(--navy); color: var(--white); }
.section--red { background: var(--red); color: var(--white); }

.section__header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 56px;
}
.section__header--light .section__title,
.section__header--light .section__desc { color: var(--white); }

.section__tag {
  display: inline-block;
  padding: 4px 14px;
  background: var(--red-light);
  color: var(--red);
  border-radius: 100px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.section__tag--light {
  background: rgba(255,255,255,0.2);
  color: var(--white);
}

.section__title {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 16px;
  color: var(--navy);
}
.section__desc {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 1rem;
  transition: all var(--transition);
  white-space: nowrap;
  cursor: pointer;
}
.btn--primary {
  background: var(--red);
  color: var(--white);
}
.btn--primary:hover { background: var(--red-dark); transform: translateY(-1px); box-shadow: 0 6px 20px rgba(196,30,58,0.35); }
.btn--outline {
  background: transparent;
  color: var(--red);
  border: 2px solid var(--red);
}
.btn--outline:hover { background: var(--red); color: var(--white); transform: translateY(-1px); }
.btn--white {
  background: var(--white);
  color: var(--red);
  font-weight: 700;
}
.btn--white:hover { background: var(--gray-100); transform: translateY(-1px); }
.btn--sm { padding: 10px 20px; font-size: 0.9rem; }
.btn--lg { padding: 16px 36px; font-size: 1.05rem; }
.btn--full { width: 100%; }

/* ---------- HEADER ---------- */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--gray-200);
  transition: box-shadow var(--transition);
}
.header.scrolled { box-shadow: var(--shadow); }
.header__inner {
  display: flex;
  align-items: center;
  gap: 32px;
  height: 72px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.logo__icon {
  background: var(--red);
  color: var(--white);
  font-size: 14px;
  font-weight: 700;
  padding: 6px 10px;
  border-radius: 8px;
  letter-spacing: -0.5px;
}
.logo__text {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--navy);
  letter-spacing: 0.02em;
}
.logo__text strong { color: var(--red); }
.logo--white .logo__text { color: var(--white); }
.logo--white .logo__text strong { color: var(--gold); }
.logo__img {
  height: 44px;
  width: auto;
  object-fit: contain;
  display: block;
  flex-shrink: 0;
}
.logo__img--footer {
  height: 44px;
  filter: brightness(0) invert(1);
}

.nav {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
}
.nav__link {
  padding: 8px 14px;
  border-radius: 8px;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--gray-800);
  transition: all var(--transition);
}
.nav__link:hover { background: var(--gray-100); color: var(--red); }
.header__cta { margin-left: 8px; }

.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  margin-left: auto;
}
.burger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: all var(--transition);
}
.burger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.active span:nth-child(2) { opacity: 0; }
.burger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- HERO ---------- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  padding-top: 72px;
  overflow: hidden;
}
.hero__bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--navy) 0%, #2d1b3d 50%, #1a0a1e 100%);
}
.hero__overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 60% 50%, rgba(196,30,58,0.25) 0%, transparent 60%);
}
.hero__shapes { position: absolute; inset: 0; overflow: hidden; }
.shape {
  position: absolute;
  border-radius: 50%;
  opacity: 0.08;
}
.shape--1 {
  width: 600px; height: 600px;
  background: var(--red);
  top: -200px; right: -100px;
  animation: float 8s ease-in-out infinite;
}
.shape--2 {
  width: 400px; height: 400px;
  background: var(--gold);
  bottom: -100px; left: -100px;
  animation: float 10s ease-in-out infinite reverse;
}
.shape--3 {
  width: 200px; height: 200px;
  background: var(--white);
  top: 40%; left: 40%;
  animation: float 6s ease-in-out infinite;
}
@keyframes float {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-30px) rotate(5deg); }
}

.hero__content {
  position: relative;
  z-index: 2;
  max-width: 780px;
  padding: 80px 24px;
}
.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.2);
  color: rgba(255,255,255,0.9);
  padding: 8px 16px;
  border-radius: 100px;
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 28px;
  backdrop-filter: blur(4px);
}
.hero__title {
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 24px;
  letter-spacing: -0.02em;
}
.hero__title em {
  font-style: normal;
  color: var(--gold);
  position: relative;
}
.hero__subtitle {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: rgba(255,255,255,0.8);
  line-height: 1.7;
  margin-bottom: 40px;
  max-width: 600px;
}
.hero__actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 64px;
}
.hero__actions .btn--outline {
  color: var(--white);
  border-color: rgba(255,255,255,0.4);
}
.hero__actions .btn--outline:hover { background: rgba(255,255,255,0.15); border-color: var(--white); }

.hero__stats {
  display: flex;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
}
.stat { text-align: center; }
.stat__num {
  display: block;
  font-size: 2rem;
  font-weight: 800;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 4px;
}
.stat__label { font-size: 0.8rem; color: rgba(255,255,255,0.65); }
.stat__divider {
  width: 1px;
  height: 40px;
  background: rgba(255,255,255,0.2);
}
.hero__scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.5);
  font-size: 0.8rem;
  z-index: 2;
}
.scroll-arrow {
  width: 20px; height: 20px;
  border-right: 2px solid rgba(255,255,255,0.4);
  border-bottom: 2px solid rgba(255,255,255,0.4);
  transform: rotate(45deg);
  animation: bounce 1.5s infinite;
}
@keyframes bounce {
  0%, 100% { transform: rotate(45deg) translateY(0); }
  50% { transform: rotate(45deg) translateY(6px); }
}

/* ---------- WHY CHINA ---------- */
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.why-card {
  padding: 32px 28px;
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-200);
  transition: all var(--transition);
}
.why-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: transparent; }
.why-card__icon { font-size: 2.5rem; margin-bottom: 16px; }
.why-card h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 10px; color: var(--navy); }
.why-card p { font-size: 0.95rem; color: var(--text-muted); line-height: 1.6; }

/* ---------- PROBLEM ---------- */
.problem__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-bottom: 48px;
}
.problem__card {
  padding: 32px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-lg);
  transition: all var(--transition);
}
.problem__card:hover { background: rgba(255,255,255,0.1); }
.problem__num {
  font-size: 3rem;
  font-weight: 800;
  color: var(--red);
  opacity: 0.6;
  line-height: 1;
  margin-bottom: 12px;
  display: block;
}
.problem__card h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 8px; color: var(--white); }
.problem__card p { font-size: 0.95rem; color: rgba(255,255,255,0.7); }

.problem__solution {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius-lg);
  padding: 28px 36px;
  gap: 24px;
  flex-wrap: wrap;
}
.solution__label {
  display: inline-block;
  background: var(--red);
  color: var(--white);
  padding: 3px 12px;
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 8px;
}
.solution__text p { font-size: 1.1rem; color: var(--white); font-weight: 500; }

/* ---------- APPROACH ---------- */
.approach__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.approach__text { color: var(--text-muted); margin: 16px 0 32px; font-size: 1.05rem; }
.approach__compare { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 32px; }
.compare__col { border-radius: var(--radius); overflow: hidden; }
.compare__header {
  padding: 12px 16px;
  font-weight: 700;
  font-size: 0.9rem;
  text-align: center;
}
.compare__col--bad .compare__header { background: var(--gray-200); color: var(--gray-600); }
.compare__col--good .compare__header { background: var(--red); color: var(--white); }
.compare__col ul { padding: 16px; background: var(--gray-50); }
.compare__col--good ul { background: var(--red-light); }
.compare__col ul li {
  padding: 6px 0;
  font-size: 0.88rem;
  color: var(--gray-600);
  border-bottom: 1px solid var(--gray-200);
}
.compare__col--good ul li { color: var(--red-dark); border-color: rgba(196,30,58,0.15); }
.compare__col ul li:last-child { border-bottom: none; }

.approach__visual { display: flex; flex-direction: column; gap: 16px; }
.visual__card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 24px;
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--gray-200);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
}
.visual__card:hover { transform: translateX(4px); box-shadow: var(--shadow); border-color: var(--red-light); }
.visual__icon {
  flex-shrink: 0;
  width: 48px; height: 48px;
  background: linear-gradient(135deg, var(--red-light), #fce4e9);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
}
.visual__icon i {
  font-size: 1.25rem;
  color: var(--red);
  transition: all var(--transition);
}
.visual__card:hover .visual__icon {
  background: var(--red);
  transform: scale(1.1);
}
.visual__card:hover .visual__icon i { color: var(--white); }
.visual__text strong { display: block; font-size: 1rem; color: var(--navy); margin-bottom: 2px; }
.visual__text span { font-size: 0.875rem; color: var(--text-muted); }

/* ---------- SERVICES ---------- */
.services__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  align-items: start;
}
.service-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 2px solid var(--gray-200);
  padding: 32px 28px;
  position: relative;
  transition: all var(--transition);
}
.service-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.service-card--featured {
  border-color: var(--red);
  box-shadow: 0 0 0 4px rgba(196,30,58,0.08);
}
.service-card__badge {
  display: inline-block;
  background: var(--gray-200);
  color: var(--gray-600);
  padding: 4px 12px;
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 16px;
}
.service-card__badge--gold {
  background: linear-gradient(135deg, #E8B84B, #f5d080);
  color: #7a5a00;
}
.service-card__header h3 { font-size: 1.35rem; font-weight: 800; color: var(--navy); margin-bottom: 4px; }
.service-card__subtitle { font-size: 0.875rem; color: var(--text-muted); margin-bottom: 20px; display: block; }
.service-card__price {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-bottom: 16px;
}
.price__amount { font-size: 2rem; font-weight: 800; color: var(--red); }
.price__currency { font-size: 0.9rem; color: var(--text-muted); }
.service-card__for {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--gray-200);
  line-height: 1.5;
}
.service-card__features {
  margin-bottom: 20px;
}
.service-card__features li {
  padding: 7px 0;
  font-size: 0.9rem;
  color: var(--text);
  border-bottom: 1px solid var(--gray-100);
  display: flex;
  align-items: flex-start;
  gap: 8px;
}
.service-card__features li:last-child { border-bottom: none; }
.service-card__result {
  background: var(--gray-50);
  border-radius: 8px;
  padding: 12px 16px;
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-bottom: 24px;
  line-height: 1.5;
}
.service-card__result span { font-weight: 700; color: var(--navy); display: block; margin-bottom: 2px; }
.services__note {
  text-align: center;
  margin-top: 24px;
  font-size: 0.875rem;
  color: var(--text-muted);
}

/* ---------- PROCESS ---------- */
.process__steps {
  display: flex;
  flex-direction: column;
  gap: 0;
  max-width: 760px;
  margin: 0 auto;
  position: relative;
}
.process__steps::before {
  content: '';
  position: absolute;
  left: 28px;
  top: 0; bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--red), var(--red-light));
}
.process__step {
  display: flex;
  gap: 28px;
  align-items: flex-start;
  padding: 28px 0;
  position: relative;
}
.process__step:last-child { padding-bottom: 0; }
.step__num {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  background: var(--red);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.9rem;
  position: relative;
  z-index: 1;
  border: 3px solid var(--white);
  box-shadow: 0 0 0 3px var(--red-light);
}
.step__content h3 { font-size: 1.15rem; font-weight: 700; color: var(--navy); margin-bottom: 6px; }
.step__content p { font-size: 0.95rem; color: var(--text-muted); line-height: 1.6; max-width: 560px; }

/* ---------- UNIVERSITIES ---------- */
.uni-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 48px;
}
.uni-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-200);
  padding: 28px 24px;
  transition: all var(--transition);
  text-decoration: none;
  color: inherit;
  display: block;
  cursor: pointer;
}
.uni-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--red-light); }
.uni-card__more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--red);
  margin-top: 4px;
  transition: gap var(--transition);
}
.uni-card:hover .uni-card__more { gap: 10px; }
.uni-card__rank {
  display: inline-block;
  background: var(--red-light);
  color: var(--red);
  padding: 3px 10px;
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 700;
  margin-bottom: 12px;
}
.uni-card__name { font-size: 1.1rem; font-weight: 800; color: var(--navy); margin-bottom: 4px; }
.uni-card__name-zh { font-size: 1rem; color: var(--red); font-weight: 600; margin-bottom: 12px; }
.uni-card p { font-size: 0.875rem; color: var(--text-muted); line-height: 1.6; margin-bottom: 16px; }
.uni-card__tags { display: flex; gap: 6px; flex-wrap: wrap; }
.uni-card__tags span {
  background: var(--gray-100);
  color: var(--gray-600);
  padding: 3px 10px;
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 500;
}
.universities__cta {
  text-align: center;
  padding: 40px;
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 2px dashed var(--gray-200);
}
.universities__cta p { font-size: 1.1rem; color: var(--text-muted); margin-bottom: 16px; }

/* ---------- CASES ---------- */
.cases__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.case-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-200);
  padding: 28px;
  transition: all var(--transition);
}
.case-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.case-card__avatar {
  width: 52px; height: 52px;
  background: linear-gradient(135deg, var(--red), var(--red-dark));
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 12px;
}
.case-card__name { font-weight: 700; color: var(--navy); }
.case-card__location { font-size: 0.8rem; color: var(--text-muted); margin-bottom: 16px; }
.case-card__result {
  background: var(--navy);
  border-radius: 10px;
  padding: 14px 16px;
  margin-bottom: 16px;
}
.result__label { display: block; font-size: 0.75rem; color: rgba(255,255,255,0.6); margin-bottom: 4px; }
.result__uni { display: block; font-size: 1rem; font-weight: 700; color: var(--gold); margin-bottom: 4px; }
.result__year { font-size: 0.8rem; color: rgba(255,255,255,0.5); }
.case-card__text {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 16px;
  font-style: italic;
}
.case-card__package {
  display: inline-block;
  background: var(--red-light);
  color: var(--red);
  padding: 4px 12px;
  border-radius: 100px;
  font-size: 0.78rem;
  font-weight: 600;
}
.cases__disclaimer {
  text-align: center;
  margin-top: 24px;
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ---------- QUIZ ---------- */
.section--red { background: linear-gradient(135deg, var(--red) 0%, #a01830 100%); }
.quiz__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.quiz__benefits { margin-top: 24px; display: flex; flex-direction: column; gap: 12px; }
.quiz__benefits li { color: rgba(255,255,255,0.95); font-size: 0.95rem; line-height: 1.5; }

.quiz__widget {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow-lg);
}
.quiz__step { display: none; }
.quiz__step.active { display: block; }
.quiz__progress { margin-bottom: 20px; }
.quiz__progress span { font-size: 0.8rem; color: var(--text-muted); margin-bottom: 8px; display: block; }
.progress-bar { height: 6px; background: var(--gray-200); border-radius: 100px; overflow: hidden; }
.progress-fill { height: 100%; background: var(--red); border-radius: 100px; transition: width 0.4s ease; }
.quiz__step h4 { font-size: 1.1rem; font-weight: 700; color: var(--navy); margin-bottom: 20px; }
.quiz__options { display: flex; flex-direction: column; gap: 10px; }
.quiz__option {
  padding: 14px 18px;
  background: var(--gray-50);
  border: 2px solid var(--gray-200);
  border-radius: 10px;
  text-align: left;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text);
  transition: all var(--transition);
  cursor: pointer;
}
.quiz__option:hover { border-color: var(--red); background: var(--red-light); color: var(--red); }

.quiz__result { display: none; text-align: center; }
.quiz__result.visible { display: block; }
.quiz__result-icon { font-size: 3rem; margin-bottom: 16px; }
.quiz__result h4 { font-size: 1.2rem; font-weight: 700; color: var(--navy); margin-bottom: 8px; }
.quiz__result p { font-size: 0.9rem; color: var(--text-muted); margin-bottom: 24px; }
.quiz__form { display: flex; flex-direction: column; gap: 12px; }
.quiz__form input {
  padding: 13px 16px;
  border: 2px solid var(--gray-200);
  border-radius: 10px;
  font-size: 0.95rem;
  transition: border var(--transition);
  outline: none;
}
.quiz__form input:focus { border-color: var(--red); }

/* ---------- TESTIMONIALS ---------- */
.testimonials__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.testimonial {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: all var(--transition);
}
.testimonial:hover { box-shadow: var(--shadow-lg); transform: translateY(-2px); }
.testimonial__stars { color: var(--gold); font-size: 1.1rem; margin-bottom: 12px; }
.testimonial p { font-size: 0.95rem; color: var(--text-muted); line-height: 1.7; font-style: italic; margin-bottom: 20px; }
.testimonial__author { display: flex; align-items: center; gap: 12px; }
.testimonial__avatar {
  width: 44px; height: 44px;
  background: var(--navy);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.85rem;
  flex-shrink: 0;
}
.testimonial__author strong { display: block; font-size: 0.95rem; color: var(--navy); }
.testimonial__author span { font-size: 0.8rem; color: var(--text-muted); }

/* ---------- FAQ ---------- */
.faq__inner {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 80px;
  align-items: start;
}
.faq__left .section__title { margin-bottom: 12px; }
.faq__left p { color: var(--text-muted); font-size: 1rem; }
.faq__list { display: flex; flex-direction: column; }
.faq__item { border-bottom: 1px solid var(--gray-200); }
.faq__question {
  width: 100%;
  text-align: left;
  padding: 20px 0;
  font-size: 1rem;
  font-weight: 600;
  color: var(--navy);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  cursor: pointer;
  transition: color var(--transition);
}
.faq__question::after {
  content: '+';
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--red);
  flex-shrink: 0;
  transition: transform var(--transition);
}
.faq__question.active::after { transform: rotate(45deg); }
.faq__question:hover { color: var(--red); }
.faq__answer {
  display: none;
  padding-bottom: 20px;
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.7;
}
.faq__answer.open { display: block; }

/* ---------- CONTACT ---------- */
.contact__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}
.contact__left .section__title { margin-bottom: 12px; }
.contact__left > p { color: var(--text-muted); font-size: 1rem; margin-bottom: 24px; }
.contact__features { display: flex; flex-direction: column; gap: 10px; margin-bottom: 32px; }
.contact__feature { font-size: 0.95rem; color: var(--text); font-weight: 500; }
.contact__channels { display: flex; flex-direction: column; gap: 12px; margin-bottom: 24px; }
.channel {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  border: 1px solid var(--gray-200);
  border-radius: 10px;
  font-weight: 600;
  transition: all var(--transition);
}
.channel:hover { border-color: var(--red); background: var(--red-light); color: var(--red); }
.channel__icon { font-size: 1.3rem; }
.contact__urgency {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  background: #FFF8E1;
  border: 1px solid #FFE082;
  border-radius: 10px;
  font-size: 0.875rem;
  color: #7a5a00;
  font-weight: 500;
}

.contact__form {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-200);
  padding: 36px;
  box-shadow: var(--shadow);
}
.form__group { margin-bottom: 16px; }
.form__group label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 6px;
}
.form__group input,
.form__group select {
  width: 100%;
  padding: 13px 16px;
  border: 2px solid var(--gray-200);
  border-radius: 10px;
  font-size: 0.95rem;
  color: var(--text);
  background: var(--white);
  outline: none;
  transition: border var(--transition);
  appearance: none;
}
.form__group input:focus,
.form__group select:focus { border-color: var(--red); }
.form__note {
  text-align: center;
  margin-top: 12px;
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ---------- FOOTER ---------- */
.footer {
  background: var(--navy);
  color: rgba(255,255,255,0.8);
  padding: 64px 0 32px;
}
.footer__top {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 64px;
  margin-bottom: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer__brand .logo { margin-bottom: 16px; }
.footer__brand p { font-size: 0.875rem; line-height: 1.7; margin-bottom: 20px; }
.footer__socials { display: flex; gap: 10px; }
.footer__socials a {
  width: 38px; height: 38px;
  background: rgba(255,255,255,0.1);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: var(--white);
  transition: background var(--transition), transform var(--transition);
}
.footer__socials a:hover { background: var(--red); transform: translateY(-2px); }
.footer__nav { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.footer__col h4 { font-size: 0.9rem; font-weight: 700; color: var(--white); margin-bottom: 16px; text-transform: uppercase; letter-spacing: 0.06em; }
.footer__col a {
  display: block;
  font-size: 0.875rem;
  margin-bottom: 10px;
  color: rgba(255,255,255,0.6);
  transition: color var(--transition);
}
.footer__col a:hover { color: var(--white); }
.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.4);
}
.footer__links { display: flex; gap: 24px; }
.footer__links a { transition: color var(--transition); }
.footer__links a:hover { color: rgba(255,255,255,0.8); }

/* ---------- WHATSAPP FLOAT ---------- */
.whatsapp-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 56px;
  height: 56px;
  background: #25D366;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 999;
  box-shadow: 0 4px 20px rgba(37,211,102,0.4);
  transition: all var(--transition);
}
.whatsapp-float svg { width: 28px; height: 28px; }
.whatsapp-float:hover { transform: scale(1.1); box-shadow: 0 6px 28px rgba(37,211,102,0.5); }

/* ---------- MODAL ---------- */
.modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition);
}
.modal.open { opacity: 1; pointer-events: all; }
.modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(4px);
}
.modal__box {
  position: relative;
  z-index: 1;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 48px 40px;
  text-align: center;
  max-width: 400px;
  width: 90%;
  box-shadow: var(--shadow-lg);
}
.modal__icon { font-size: 3.5rem; margin-bottom: 16px; }
.modal__box h3 { font-size: 1.5rem; font-weight: 800; color: var(--navy); margin-bottom: 8px; }
.modal__box p { color: var(--text-muted); margin-bottom: 24px; }

/* ---------- UNIVERSITY CARD WITH PHOTO ---------- */
.uni-card { padding: 0; overflow: hidden; }
.uni-card__img-wrap {
  position: relative;
  height: 160px;
  overflow: hidden;
}
.uni-card__img-wrap img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.uni-card:hover .uni-card__img-wrap img { transform: scale(1.07); }
.uni-card__img-wrap .uni-card__rank {
  position: absolute;
  top: 12px; left: 12px;
  margin: 0;
  z-index: 2;
  backdrop-filter: blur(6px);
  background: rgba(255,255,255,0.92);
}
.uni-card__body { padding: 20px 22px 22px; }
.uni-card__name { margin-bottom: 2px; }

/* ---------- APPROACH PHOTO ---------- */
.approach__img-block {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 20px;
  box-shadow: var(--shadow-lg);
}
.approach__img-block img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}
.approach__img-block:hover img { transform: scale(1.04); }
.approach__img-badge {
  position: absolute;
  bottom: 16px; left: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(26,26,46,0.92);
  backdrop-filter: blur(8px);
  color: var(--white);
  padding: 10px 18px;
  border-radius: 100px;
  font-size: 0.875rem;
  font-weight: 600;
  border: 1px solid rgba(255,255,255,0.15);
}
.approach__img-badge i { color: var(--gold); font-size: 1rem; }

/* ---------- PHOTO BANNER ---------- */
.photo-banner {
  position: relative;
  height: 280px;
  overflow: hidden;
}
.photo-banner img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 60%;
  transition: transform 8s ease;
}
.photo-banner:hover img { transform: scale(1.04); }
.photo-banner__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(26,26,46,0.75) 0%, rgba(196,30,58,0.4) 100%);
  display: flex;
  align-items: center;
}
.photo-banner__quote {
  font-size: clamp(1.2rem, 2.5vw, 1.8rem);
  font-weight: 700;
  color: var(--white);
  max-width: 700px;
  line-height: 1.4;
  border-left: 4px solid var(--gold);
  padding-left: 24px;
}

/* ---------- HERO PHOTO ---------- */
.hero__photo {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0.35;
  animation: heroZoom 20s ease-in-out infinite alternate;
}
@keyframes heroZoom {
  from { transform: scale(1); }
  to   { transform: scale(1.08); }
}

/* ---------- PARTICLES ---------- */
.hero__particles {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}
.particle {
  position: absolute;
  border-radius: 50%;
  background: rgba(255,255,255,0.15);
  animation: particleFloat linear infinite;
}
@keyframes particleFloat {
  0%   { transform: translateY(100vh) scale(0); opacity: 0; }
  10%  { opacity: 1; }
  90%  { opacity: 0.5; }
  100% { transform: translateY(-100px) scale(1.5); opacity: 0; }
}

/* ---------- FA ICON STYLE IN WHY CARDS ---------- */
.why-card__icon {
  width: 60px; height: 60px;
  background: linear-gradient(135deg, var(--red-light), #fce4e9);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  transition: all var(--transition);
}
.why-card__icon i {
  font-size: 1.5rem;
  color: var(--red);
}
.why-card:hover .why-card__icon {
  background: var(--red);
  transform: rotate(-5deg) scale(1.1);
}
.why-card:hover .why-card__icon i { color: var(--white); }

/* ---------- ANIMATED GRADIENT SECTION TAG ---------- */
.section__tag {
  background: linear-gradient(135deg, var(--red-light), #fde8ec);
  animation: tagPulse 3s ease-in-out infinite;
}
@keyframes tagPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(196,30,58,0); }
  50%       { box-shadow: 0 0 0 6px rgba(196,30,58,0.08); }
}

/* ---------- COUNTER ANIMATION ON STATS ---------- */
.stat__num {
  display: block;
  font-size: 2rem;
  font-weight: 800;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 4px;
  transition: transform 0.3s ease;
}
.hero__stats:hover .stat__num { transform: scale(1.05); }

/* ---------- APPROACH SECTION ENHANCED ---------- */
.approach__right { display: flex; flex-direction: column; gap: 0; }

/* ---------- SCROLL ANIMATIONS ---------- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1024px) {
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .services__grid { grid-template-columns: 1fr; max-width: 520px; margin: 0 auto; }
  .approach__inner { grid-template-columns: 1fr; gap: 48px; }
  .approach__img-block img { height: 220px; }
  .uni-grid { grid-template-columns: repeat(2, 1fr); }
  .quiz__inner { grid-template-columns: 1fr; }
  .faq__inner { grid-template-columns: 1fr; gap: 40px; }
  .contact__inner { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .footer__top { grid-template-columns: 1fr; gap: 40px; }
}

@media (max-width: 768px) {
  .section { padding: 56px 0; }
  .container { padding: 0 16px; }

  /* Header */
  .header__inner { height: 64px; gap: 12px; }
  .logo__img { height: 38px; }
  .header__cta { display: none; }
  .burger { display: flex; margin-left: auto; }

  /* Mobile Nav — full-width dropdown */
  .nav {
    display: none;
    position: fixed;
    top: 64px; left: 0; right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 12px 16px 20px;
    gap: 2px;
    border-bottom: 1px solid var(--gray-200);
    box-shadow: 0 8px 32px rgba(0,0,0,0.12);
    z-index: 999;
    animation: navSlideDown 0.2s ease;
  }
  @keyframes navSlideDown {
    from { opacity: 0; transform: translateY(-8px); }
    to   { opacity: 1; transform: translateY(0); }
  }
  .nav.open { display: flex; }
  .nav__link {
    padding: 13px 16px;
    border-radius: 8px;
    font-size: 1rem;
  }
  .nav__link--highlight {
    margin-top: 4px;
    text-align: center;
    justify-content: center;
    display: flex;
  }

  /* Hero */
  .hero { min-height: auto; padding-bottom: 0; }
  .hero__content { padding: 48px 0 36px; }
  .hero__badge { font-size: 0.82rem; padding: 7px 14px; margin-bottom: 20px; }
  .hero__actions { flex-direction: column; gap: 12px; }
  .hero__actions .btn { width: 100%; text-align: center; justify-content: center; }
  .hero__stats { gap: 16px; flex-wrap: nowrap; }
  .hero__scroll { display: none; }

  /* Grids */
  .why-grid { grid-template-columns: 1fr; gap: 16px; }
  .problem__grid { grid-template-columns: 1fr; }
  .cases__grid { grid-template-columns: 1fr; }
  .testimonials__grid { grid-template-columns: 1fr; }
  .uni-grid { grid-template-columns: 1fr; gap: 16px; }
  .services__grid { max-width: 100%; }
  .approach__compare { grid-template-columns: 1fr; }

  /* Process */
  .process__steps::before { left: 22px; }
  .step__num { width: 44px; height: 44px; font-size: 0.8rem; }

  /* FAQ */
  .faq__inner { grid-template-columns: 1fr; gap: 32px; }

  /* Contact */
  .contact__inner { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .contact__left, .contact__right { min-width: 0; }
  .contact__form { padding: 24px 20px; }
  .contact__form .btn--full { width: 100%; box-sizing: border-box; }
  .contact__channels { flex-direction: row; flex-wrap: wrap; gap: 10px; }
  .channel { flex: 1 1 140px; }

  /* Footer */
  .footer__top { grid-template-columns: 1fr; gap: 32px; }
  .footer__nav { grid-template-columns: repeat(2, 1fr); gap: 24px; }

  /* Problem solution */
  .problem__solution { flex-direction: column; align-items: flex-start; }

  /* WhatsApp float */
  .whatsapp-float { bottom: 20px; right: 16px; width: 50px; height: 50px; }
  .whatsapp-float svg { width: 24px; height: 24px; }
}

@media (max-width: 480px) {
  .hero__stats { gap: 12px; }
  .stat__divider { display: none; }
  .stat__num { font-size: 1.6rem; }
  .section__title { font-size: 1.5rem; }
  .contact__form { padding: 20px 16px; }
  .footer__nav { grid-template-columns: 1fr; gap: 20px; }
  .footer__bottom { flex-direction: column; text-align: center; gap: 8px; }
  .why-card { padding: 24px 20px; }
  .service-card { padding: 24px 20px; }
  .modal__box { padding: 32px 24px; }
  .uni-grid { grid-template-columns: 1fr; }
  .quiz__inner { gap: 40px; }
}

/* ---------- Language Switcher ---------- */
.lang-switcher {
  display: flex;
  align-items: center;
  gap: 2px;
  background: var(--gray-100);
  border-radius: 8px;
  padding: 3px;
  flex-shrink: 0;
}
.lang-btn {
  padding: 5px 12px;
  border-radius: 6px;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--gray-600);
  background: transparent;
  border: none;
  cursor: pointer;
  transition: all var(--transition);
  letter-spacing: 0.04em;
}
.lang-btn:hover { color: var(--gray-800); background: rgba(255,255,255,0.7); }
.lang-btn--active { background: var(--white) !important; color: var(--red) !important; box-shadow: 0 1px 4px rgba(0,0,0,0.12); }

/* Mobile lang row inside nav */
.nav__lang-row {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 4px;
  background: var(--gray-100);
  border-radius: 10px;
  padding: 4px;
  margin-top: 12px;
}

/* ---------- Nav Highlight ---------- */
.nav__link--highlight {
  color: var(--red);
  font-weight: 600;
  background: var(--red-light);
}
.nav__link--highlight:hover { background: var(--red); color: var(--white) !important; }

/* ---------- Service Feature Icons ---------- */
.service-card__features li i.fa-check {
  color: var(--red);
  font-size: 0.72rem;
  margin-top: 4px;
  flex-shrink: 0;
}

/* ---------- Quiz Benefits Icons ---------- */
.quiz__benefits li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
.quiz__benefits li i {
  color: rgba(255,255,255,0.95);
  font-size: 0.75rem;
  margin-top: 4px;
  flex-shrink: 0;
  background: rgba(255,255,255,0.2);
  padding: 3px;
  border-radius: 50%;
  width: 18px; height: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ---------- Contact Feature Icons ---------- */
.contact__feature {
  display: flex;
  align-items: center;
  gap: 10px;
}
.contact__feature i.fa-check {
  color: var(--red);
  font-size: 0.75rem;
  background: var(--red-light);
  width: 20px; height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* ---------- Contact Channel Icons ---------- */
.channel__icon {
  width: 40px;
  height: 40px;
  background: var(--red-light);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all var(--transition);
}
.channel__icon i { font-size: 1.05rem; color: var(--red); }
.channel:hover .channel__icon { background: var(--red); }
.channel:hover .channel__icon i { color: var(--white); }

/* ---------- Urgency Icon ---------- */
.contact__urgency i { color: var(--gold); }

/* ---------- Testimonial Stars ---------- */
.testimonial__stars {
  display: flex;
  gap: 3px;
  margin-bottom: 12px;
}
.testimonial__stars i { color: var(--gold); font-size: 0.95rem; }

/* ---------- Modal Icon ---------- */
.modal__icon { font-size: 1rem; margin-bottom: 16px; }
.modal__icon i { font-size: 3.5rem; color: #22c55e; }

/* ---------- Quiz App CTA ---------- */
.quiz__app-cta {
  display: flex;
  align-items: center;
  gap: 24px;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 28px 28px;
  box-shadow: 0 8px 40px rgba(0,0,0,0.2);
  text-decoration: none;
  color: var(--navy);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  border: 2px solid rgba(255,255,255,0.5);
}
.quiz__app-cta:hover { transform: translateY(-4px); box-shadow: 0 20px 60px rgba(0,0,0,0.25); }
.quiz__app-icon {
  width: 68px;
  height: 68px;
  background: linear-gradient(135deg, var(--red-light), #fce4e9);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all var(--transition);
}
.quiz__app-icon i { font-size: 1.9rem; color: var(--red); transition: all var(--transition); }
.quiz__app-cta:hover .quiz__app-icon { background: var(--red); }
.quiz__app-cta:hover .quiz__app-icon i { color: var(--white); }
.quiz__app-text { flex: 1; }
.quiz__app-text strong { display: block; font-size: 1.1rem; font-weight: 700; color: var(--navy); margin-bottom: 6px; }
.quiz__app-text span { font-size: 0.875rem; color: var(--text-muted); }
.quiz__app-arrow { font-size: 1.3rem; color: var(--red); flex-shrink: 0; transition: transform var(--transition); }
.quiz__app-cta:hover .quiz__app-arrow { transform: translateX(4px); }

@media (max-width: 768px) {
  .lang-switcher { display: none; }
  .nav__lang-row { display: flex; }
  .quiz__app-cta { flex-direction: column; text-align: center; gap: 16px; padding: 24px 20px; }
  .quiz__app-arrow { display: none; }
  .contact__feature { font-size: 0.9rem; }
}
