*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --primary: #e8401c;
  --primary-dark: #c73518;
  --dark: #1a1a1a;
  --gray: #555;
  --light-gray: #f7f5f2;
  --border: #e8e4df;
  --white: #fff;
}
html { scroll-behavior: smooth; }
body { font-family: 'Segoe UI', system-ui, -apple-system, sans-serif; background: var(--white); color: var(--dark); overflow-x: hidden; }

/* NAV */
nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,0.97); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  padding: 0 40px;
}
.nav-inner { max-width: 1100px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 20px; }
.logo { font-size: 1.4rem; font-weight: 900; color: var(--dark); text-decoration: none; white-space: nowrap; }
.logo span { color: var(--primary); }
.nav-instruments { display: flex; gap: 4px; }
.nav-inst-link {
  display: flex; align-items: center; gap: 7px;
  padding: 8px 16px; border-radius: 8px; text-decoration: none;
  font-size: 0.9rem; font-weight: 600; color: var(--gray);
  transition: all 0.2s; border: 1.5px solid transparent;
}
.nav-inst-link:hover { background: var(--light-gray); color: var(--dark); }
.nav-inst-link.active { background: var(--primary); color: #fff; border-color: var(--primary); }
.nav-inst-link .inst-emoji { font-size: 1.1rem; }
.nav-cta {
  background: var(--primary); color: #fff; border: none;
  padding: 10px 22px; border-radius: 8px; font-weight: 700;
  cursor: pointer; font-size: 0.88rem; text-decoration: none;
  transition: background 0.2s; white-space: nowrap;
}
.nav-cta:hover { background: var(--primary-dark); }

/* HERO */
.hero {
  padding: 80px 40px 70px;
  background: linear-gradient(160deg, #fff8f5 0%, #fff 50%, #f5f8ff 100%);
  position: relative; overflow: hidden;
}
.hero-inner { max-width: 1100px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.hero-tag {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(232,64,28,0.08); color: var(--primary);
  padding: 6px 14px; border-radius: 20px; font-size: 0.8rem;
  font-weight: 700; letter-spacing: 0.5px; margin-bottom: 20px;
}
.hero h1 { font-size: clamp(2rem, 4vw, 3.2rem); font-weight: 900; line-height: 1.15; margin-bottom: 18px; color: var(--dark); }
.hero h1 em { color: var(--primary); font-style: normal; }
.hero-sub { font-size: 1.1rem; color: var(--gray); line-height: 1.7; margin-bottom: 32px; }
.guarantee-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: #e8f5e9; color: #2e7d32;
  padding: 8px 16px; border-radius: 8px; font-size: 0.85rem; font-weight: 600; margin-bottom: 28px;
}
.hero-form { display: flex; flex-direction: column; gap: 10px; max-width: 400px; }
.hero-form input {
  padding: 15px 18px; border-radius: 10px; border: 1.5px solid var(--border);
  background: #fff; color: var(--dark); font-size: 0.95rem; outline: none;
  transition: border-color 0.2s;
}
.hero-form input:focus { border-color: var(--primary); }
.hero-form input::placeholder { color: #aaa; }
.btn-primary {
  background: var(--primary); color: #fff; border: none;
  padding: 16px 28px; border-radius: 10px; font-size: 1rem;
  font-weight: 800; cursor: pointer; transition: all 0.2s;
  text-align: center;
}
.btn-primary:hover { background: var(--primary-dark); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(232,64,28,0.3); }
.form-note { font-size: 0.78rem; color: #aaa; text-align: center; }

.hero-visual { display: flex; justify-content: center; align-items: center; }
.hero-img-wrap {
  width: 420px; height: 380px; border-radius: 24px;
  background: linear-gradient(135deg, #fde8e2, #ffeee8);
  display: flex; align-items: center; justify-content: center;
  font-size: 10rem; position: relative; overflow: hidden;
  box-shadow: 0 20px 60px rgba(232,64,28,0.15);
}
.hero-img-wrap::after {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(circle at 70% 70%, rgba(232,64,28,0.08) 0%, transparent 70%);
}

/* STATS */
.stats { background: var(--primary); padding: 36px 40px; }
.stats-inner { max-width: 1100px; margin: 0 auto; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; text-align: center; }
.stat-num { font-size: 2.2rem; font-weight: 900; color: #fff; }
.stat-label { font-size: 0.82rem; color: rgba(255,255,255,0.8); margin-top: 4px; }

/* SECTION BASE */
section { padding: 80px 40px; }
.section-inner { max-width: 1100px; margin: 0 auto; }
.section-tag { color: var(--primary); font-size: 0.78rem; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; margin-bottom: 10px; }
.section-title { font-size: clamp(1.7rem, 2.8vw, 2.4rem); font-weight: 900; color: var(--dark); margin-bottom: 14px; }
.section-sub { color: var(--gray); font-size: 1rem; line-height: 1.7; max-width: 540px; }

/* JOURNEY TIMELINE */
.journey { background: var(--light-gray); }
.timeline { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin-top: 50px; position: relative; }
.timeline::before {
  content: ''; position: absolute; top: 36px; left: 16.66%; right: 16.66%;
  height: 2px; background: linear-gradient(90deg, var(--primary), #ff9b85, var(--primary));
}
.timeline-step { text-align: center; padding: 0 24px; }
.step-circle {
  width: 72px; height: 72px; border-radius: 50%; background: var(--primary);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.8rem; margin: 0 auto 20px; position: relative; z-index: 1;
  box-shadow: 0 4px 20px rgba(232,64,28,0.3);
}
.step-period { font-size: 0.78rem; color: var(--primary); font-weight: 700; letter-spacing: 1px; text-transform: uppercase; margin-bottom: 8px; }
.step-title { font-size: 1.1rem; font-weight: 800; margin-bottom: 8px; }
.step-desc { color: var(--gray); font-size: 0.88rem; line-height: 1.6; }

/* WHY */
.why { background: var(--white); }
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 50px; }
.why-card {
  padding: 28px; border-radius: 14px; border: 1.5px solid var(--border);
  transition: all 0.2s;
}
.why-card:hover { border-color: var(--primary); transform: translateY(-4px); box-shadow: 0 12px 32px rgba(232,64,28,0.1); }
.why-icon { font-size: 2.2rem; margin-bottom: 14px; }
.why-card h3 { font-size: 1.05rem; font-weight: 800; margin-bottom: 8px; }
.why-card p { color: var(--gray); font-size: 0.88rem; line-height: 1.6; }

/* TEACHERS */
.teachers { background: var(--light-gray); }
.teacher-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 50px; }
.teacher-card { background: var(--white); border-radius: 16px; overflow: hidden; border: 1.5px solid var(--border); transition: all 0.2s; }
.teacher-card:hover { box-shadow: 0 12px 40px rgba(0,0,0,0.08); transform: translateY(-4px); }
.teacher-photo { height: 200px; display: flex; align-items: center; justify-content: center; font-size: 5rem; background: linear-gradient(135deg, #fde8e2, #ffeee8); }
.teacher-info { padding: 22px; }
.teacher-info h3 { font-size: 1.05rem; font-weight: 800; margin-bottom: 4px; }
.teacher-exp { color: var(--primary); font-size: 0.82rem; font-weight: 700; margin-bottom: 8px; }
.teacher-info p { color: var(--gray); font-size: 0.85rem; line-height: 1.55; }

/* TESTIMONIALS */
.testimonials { background: var(--white); }
.testi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 50px; }
.testi-card { background: var(--light-gray); border-radius: 14px; padding: 26px; border: 1.5px solid var(--border); }
.stars { color: #f5a623; font-size: 0.9rem; margin-bottom: 12px; }
.testi-card p { color: #444; font-size: 0.9rem; line-height: 1.65; margin-bottom: 18px; font-style: italic; }
.testi-author { display: flex; align-items: center; gap: 10px; }
.testi-avatar { width: 40px; height: 40px; border-radius: 50%; background: var(--primary); display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 0.85rem; color: #fff; flex-shrink: 0; }
.testi-name { font-weight: 700; font-size: 0.88rem; }
.testi-meta { color: #aaa; font-size: 0.78rem; }

/* OTHER INSTRUMENTS */
.other-instruments { background: var(--light-gray); }
.other-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 40px; }
.other-card {
  background: var(--white); border-radius: 14px; padding: 28px 24px;
  border: 1.5px solid var(--border); text-decoration: none; color: inherit;
  display: flex; flex-direction: column; align-items: center; text-align: center;
  transition: all 0.2s; gap: 10px;
}
.other-card:hover { border-color: var(--primary); box-shadow: 0 8px 28px rgba(232,64,28,0.1); transform: translateY(-3px); }
.other-card .oc-emoji { font-size: 3rem; }
.other-card h3 { font-size: 1.05rem; font-weight: 800; }
.other-card p { color: var(--gray); font-size: 0.85rem; }
.other-card .oc-link { color: var(--primary); font-weight: 700; font-size: 0.85rem; margin-top: 4px; }

/* FAQ */
.faq { background: var(--white); }
.faq-list { margin-top: 44px; max-width: 700px; }
.faq-item { border-bottom: 1.5px solid var(--border); }
.faq-q { width: 100%; background: none; border: none; color: var(--dark); text-align: left; padding: 20px 0; font-size: 0.97rem; font-weight: 700; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.faq-q:hover { color: var(--primary); }
.faq-arrow { color: var(--primary); font-size: 1.3rem; transition: transform 0.3s; flex-shrink: 0; font-weight: 400; }
.faq-a { color: var(--gray); font-size: 0.9rem; line-height: 1.7; padding-bottom: 18px; display: none; }
.faq-item.open .faq-arrow { transform: rotate(45deg); }
.faq-item.open .faq-a { display: block; }

/* CTA BOTTOM */
.cta-bottom { background: linear-gradient(135deg, #fff3ef, #fff8f5); padding: 80px 40px; text-align: center; border-top: 1.5px solid #fde0d6; }
.cta-bottom h2 { font-size: clamp(1.7rem, 3vw, 2.6rem); font-weight: 900; margin-bottom: 14px; }
.cta-bottom p { color: var(--gray); font-size: 1rem; margin-bottom: 32px; }
.cta-inline { display: flex; gap: 10px; max-width: 480px; margin: 0 auto; flex-wrap: wrap; }
.cta-inline input { flex: 1; min-width: 180px; padding: 14px 18px; border-radius: 10px; border: 1.5px solid var(--border); background: #fff; color: var(--dark); font-size: 0.95rem; outline: none; }
.cta-inline input:focus { border-color: var(--primary); }
.cta-inline input::placeholder { color: #aaa; }

/* FOOTER */
footer { background: var(--dark); padding: 40px; text-align: center; color: #888; font-size: 0.85rem; }
footer .footer-logo { font-size: 1.3rem; font-weight: 900; color: #fff; margin-bottom: 10px; }
footer .footer-logo span { color: var(--primary); }
footer a { color: #888; text-decoration: none; }
footer a:hover { color: #fff; }

/* MODAL */
.modal-overlay { display: none; position: fixed; inset: 0; background: rgba(0,0,0,0.6); z-index: 1000; align-items: center; justify-content: center; padding: 20px; }
.modal-overlay.active { display: flex; }
.modal { background: #fff; border-radius: 20px; padding: 44px; max-width: 460px; width: 100%; position: relative; animation: modalIn 0.3s ease; }
@keyframes modalIn { from { opacity: 0; transform: scale(0.92); } to { opacity: 1; transform: scale(1); } }
.modal-close { position: absolute; top: 16px; right: 20px; background: none; border: none; color: #aaa; font-size: 1.6rem; cursor: pointer; line-height: 1; }
.modal-close:hover { color: var(--dark); }
.modal h2 { font-size: 1.55rem; font-weight: 900; margin-bottom: 6px; }
.modal .modal-sub { color: var(--gray); margin-bottom: 22px; font-size: 0.92rem; }
.modal-form { display: flex; flex-direction: column; gap: 10px; }
.modal-form input, .modal-form select { padding: 13px 16px; border-radius: 10px; border: 1.5px solid var(--border); background: #fafafa; color: var(--dark); font-size: 0.92rem; outline: none; }
.modal-form input:focus, .modal-form select:focus { border-color: var(--primary); background: #fff; }
.modal-success { display: none; text-align: center; padding: 16px 0; }
.modal-success .big-check { font-size: 4rem; margin-bottom: 14px; }
.modal-success h3 { font-size: 1.35rem; font-weight: 900; margin-bottom: 8px; }
.modal-success p { color: var(--gray); font-size: 0.9rem; }

/* STICKY */
.sticky-bar { display: none; position: fixed; bottom: 0; left: 0; right: 0; z-index: 99; background: var(--primary); padding: 13px 20px; flex-direction: row; align-items: center; justify-content: center; gap: 14px; }
.sticky-bar p { font-weight: 700; font-size: 0.9rem; color: #fff; }
.btn-white { background: #fff; color: var(--primary); border: none; padding: 9px 22px; border-radius: 8px; font-weight: 800; cursor: pointer; font-size: 0.88rem; white-space: nowrap; }

/* MOBILE NAV INSTRUMENTS BAR */
.mobile-instruments {
  display: none;
  background: #fff;
  border-bottom: 1.5px solid var(--border);
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.mobile-instruments::-webkit-scrollbar { display: none; }
.mobile-instruments-inner {
  display: flex; gap: 6px; padding: 10px 16px; min-width: max-content;
}
.mobile-inst-link {
  display: flex; align-items: center; gap: 6px;
  padding: 8px 14px; border-radius: 8px; text-decoration: none;
  font-size: 0.85rem; font-weight: 700; color: var(--gray);
  border: 1.5px solid var(--border); white-space: nowrap;
  transition: all 0.2s;
}
.mobile-inst-link.active { background: var(--primary); color: #fff; border-color: var(--primary); }

/* RESPONSIVE */
@media (max-width: 900px) {
  nav { padding: 0 16px; }
  .nav-inner { height: 58px; }
  .nav-instruments { display: none; }
  .nav-cta { padding: 8px 14px; font-size: 0.82rem; }
  .mobile-instruments { display: block; }
  section { padding: 52px 16px; }
  .hero { padding: 52px 16px 44px; }
  .hero-inner { grid-template-columns: 1fr; gap: 28px; }
  .hero-visual { order: -1; }
  .hero-img-wrap { width: 220px; height: 180px; font-size: 7rem; }
  .hero h1 { font-size: 1.9rem; }
  .hero-form { max-width: 100%; }
  .stats-inner { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .stat-num { font-size: 1.8rem; }
  .timeline { grid-template-columns: 1fr; gap: 28px; }
  .timeline::before { display: none; }
  .why-grid, .teacher-grid, .testi-grid, .other-grid { grid-template-columns: 1fr; }
  .section-title { font-size: 1.55rem; }
  .cta-inline { flex-direction: column; }
  .cta-inline input, .cta-inline .btn-primary { width: 100%; }
  .modal { padding: 28px 20px; border-radius: 16px; }
  .modal h2 { font-size: 1.3rem; }
  .sticky-bar { display: flex; }
  body { padding-bottom: 64px; }
  footer { padding: 30px 16px; }
}

@media (max-width: 400px) {
  .logo { font-size: 1.2rem; }
  .nav-cta { display: none; }
  .hero h1 { font-size: 1.65rem; }
  .stat-num { font-size: 1.5rem; }
  .stat-label { font-size: 0.72rem; }
}
