*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --brand: #0c64c0;
  --brand-dark: #094f99;
  --brand-light: #e8f1fb;
  --text: #1a1a18;
  --text-muted: #5f5e5a;
  --text-light: #888780;
  --border: rgba(0,0,0,0.1);
  --border-hover: rgba(0,0,0,0.2);
  --bg: #ffffff;
  --bg-surface: #f7f5f0;
  --bg-card: #ffffff;
  --radius-md: 8px;
  --radius-lg: 12px;
  --max-width: 960px;
}

body {
  font-family: 'Lora', Georgia, serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  font-size: 16px;
}

/* NAV */
.nav {
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  padding: 0 1.5rem;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 1px 8px rgba(0,0,0,0.06);
}
.nav-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.nav-brand { display: inline-flex; align-items: center; text-decoration: none; }
.nav-brand img { height: 40px; width: auto; display: block; }
.nav-links { display: flex; align-items: center; gap: 6px; }
.nav-links a {
  font-family: 'Montserrat', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
  text-decoration: none;
  padding: 6px 12px;
  border-radius: var(--radius-md);
  transition: color 0.15s, background 0.15s;
}
.nav-links a:hover { color: var(--brand); background: var(--brand-light); }
.nav-cta {
  font-family: 'Montserrat', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: var(--brand);
  color: #fff !important;
  padding: 9px 18px !important;
  border-radius: 4px;
  text-decoration: none;
  transition: background 0.15s;
}
.nav-cta:hover { background: var(--brand-dark) !important; color: #fff !important; }

/* PAGE WRAPPER */
.page {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem 4rem;
}

/* HERO */
.hero {
  padding: 3.5rem 0 3rem;
  border-bottom: 1px solid var(--border);
  margin-bottom: 3rem;
}
.eyebrow {
  font-family: 'Montserrat', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 0.75rem;
}
.hero h1 {
  font-size: clamp(28px, 5vw, 42px);
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: 1rem;
  color: var(--text);
}
.hero-lead {
  font-size: clamp(15px, 2vw, 17px);
  color: var(--text-muted);
  max-width: 640px;
  margin-bottom: 1.75rem;
  line-height: 1.7;
}
.btn-primary {
  display: inline-block;
  font-family: 'Montserrat', sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: var(--brand);
  color: #fff;
  padding: 14px 28px;
  border-radius: 4px;
  text-decoration: none;
  transition: background 0.15s;
  border: none;
  cursor: pointer;
}
.btn-primary:hover { background: var(--brand-dark); }
.btn-secondary {
  display: inline-block;
  font-family: 'Montserrat', sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: transparent;
  color: var(--brand);
  border: 1.5px solid var(--brand);
  padding: 12px 26px;
  border-radius: 4px;
  text-decoration: none;
  transition: background 0.15s, color 0.15s;
}
.btn-secondary:hover { background: var(--brand-light); }

/* SECTION LABELS */
.section { margin-bottom: 3.5rem; }
.section-label {
  font-family: 'Montserrat', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-light);
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--border);
  margin-bottom: 1.5rem;
}
.section h2 {
  font-size: clamp(20px, 3vw, 26px);
  font-weight: 600;
  margin-bottom: 1.5rem;
  color: var(--text);
}

/* COURSE CARDS */
.courses-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 14px;
}
.course-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.course-card:hover { border-color: var(--brand); box-shadow: 0 2px 12px rgba(12,100,192,0.08); }
a.course-card { text-decoration: none; color: inherit; }

.badge {
  display: inline-block;
  font-family: 'Montserrat', sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 3px 9px;
  border-radius: 4px;
  margin-bottom: 0.65rem;
}
.badge-asa { background: var(--brand-light); color: var(--brand-dark); }
.badge-combo { background: #eaf3de; color: #27500a; }
.badge-online { background: #faeeda; color: #633806; }
.badge-endorse { background: #f0ebfa; color: #5a2d9e; }

.course-name { font-size: 15px; font-weight: 600; margin-bottom: 0.25rem; line-height: 1.3; color: var(--text); }
.course-meta { font-family: 'Montserrat', sans-serif; font-size: 12px; color: var(--text-light); margin-bottom: 0.6rem; }
.course-desc { font-size: 13px; color: var(--text-muted); line-height: 1.6; flex: 1; }
.course-price { font-family: 'Montserrat', sans-serif; font-size: 17px; font-weight: 700; color: var(--brand); margin-top: 0.85rem; }
.course-price .price-unit { font-size: 11px; font-weight: 600; color: var(--text-light); letter-spacing: 0.02em; }
.course-link-cue {
  font-family: 'Montserrat', sans-serif; font-size: 11px; font-weight: 700;
  letter-spacing: 0.06em; text-transform: uppercase; color: var(--brand);
  margin-top: auto; padding-top: 0.75rem;
}
.course-link-cue::after { content: ' \2192'; }

/* FEES NOTICE */
.fees-notice {
  background: var(--brand-light);
  border: 1px solid rgba(12,100,192,0.2);
  border-radius: var(--radius-md);
  padding: 1rem 1.25rem;
  margin-bottom: 2rem;
  font-family: 'Montserrat', sans-serif;
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.6;
}
.fees-notice strong { color: var(--brand-dark); }

/* PREMIUM BOX */
.premium-box {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-left: 4px solid var(--brand);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 4vw, 2.25rem);
  margin-bottom: 3rem;
}
.premium-box h2 { font-size: clamp(20px, 3vw, 26px); font-weight: 600; margin-bottom: 0.75rem; }
.premium-box p { font-size: 15px; color: var(--text-muted); line-height: 1.7; margin-bottom: 1rem; max-width: 700px; }
.discount-badge {
  display: inline-block;
  font-family: 'Montserrat', sans-serif; font-size: 11px; font-weight: 700;
  letter-spacing: 0.06em; color: #27500a; background: #eaf3de;
  padding: 5px 12px; border-radius: 4px; margin-bottom: 1.25rem;
}

.premium-table { width: 100%; border-collapse: collapse; margin: 1rem 0 1.75rem; font-size: 14px; }
.premium-table th {
  font-family: 'Montserrat', sans-serif; font-size: 10px; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-light);
  padding: 10px 14px; border-bottom: 1px solid var(--border); text-align: left; background: var(--bg);
}
.premium-table td { padding: 11px 14px; border-bottom: 1px solid var(--border); color: var(--text-muted); }
.premium-table tr:last-child td { border-bottom: none; }
.premium-table td:first-child { font-weight: 600; color: var(--text); }
.premium-table .price-cell { font-family: 'Montserrat', sans-serif; font-weight: 700; color: var(--brand); }
.premium-table .contact-cell { font-family: 'Montserrat', sans-serif; font-size: 12px; color: var(--text-light); }

.features-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 10px; margin: 1rem 0 1.75rem;
}
.feature { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-md); padding: 1rem; }
.feature-title { font-family: 'Montserrat', sans-serif; font-size: 12px; font-weight: 700; margin-bottom: 0.3rem; color: var(--text); }
.feature-desc { font-size: 13px; color: var(--text-muted); line-height: 1.5; }

.included-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; margin: 1rem 0 1.75rem; }
.included-col h4 {
  font-family: 'Montserrat', sans-serif; font-size: 11px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-light); margin-bottom: 0.65rem;
}
.included-col ul { list-style: none; padding: 0; }
.included-col ul li {
  font-size: 14px; color: var(--text-muted); padding: 4px 0 4px 1.1rem;
  position: relative; line-height: 1.5;
}
.included-col ul li::before {
  content: ''; position: absolute; left: 0; top: 11px;
  width: 5px; height: 5px; border-radius: 50%; background: var(--brand);
}
.included-col.not ul li::before { background: var(--text-light); }

/* ONLINE COURSES */
.online-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 10px; }
.online-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-md); padding: 1rem; }
.online-card .course-name { font-size: 14px; }
.online-card .course-price { font-size: 14px; margin-top: 0.4rem; }

/* DISCOUNTS SECTION */
.discounts-box {
  background: #fffbf0;
  border: 1px solid #f0d080;
  border-radius: var(--radius-lg);
  padding: 1.5rem 1.75rem;
  margin-bottom: 3rem;
}
.discounts-box h3 { font-size: 17px; font-weight: 600; margin-bottom: 1rem; color: var(--text); }
.discount-item { margin-bottom: 1rem; padding-bottom: 1rem; border-bottom: 1px solid #f0d080; }
.discount-item:last-child { margin-bottom: 0; padding-bottom: 0; border-bottom: none; }
.discount-item h4 { font-family: 'Montserrat', sans-serif; font-size: 12px; font-weight: 700; color: var(--text); margin-bottom: 0.3rem; }
.discount-item p { font-size: 14px; color: var(--text-muted); margin: 0; line-height: 1.6; }

/* BOOKING POLICIES */
.policies-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px; margin-bottom: 3rem; }
.policy-card { background: var(--bg-surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 1.25rem 1.5rem; }
.policy-card h4 { font-family: 'Montserrat', sans-serif; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--brand); margin-bottom: 0.6rem; }
.policy-card p, .policy-card li { font-size: 13px; color: var(--text-muted); line-height: 1.65; margin-bottom: 0.3rem; }
.policy-card ul { padding-left: 1rem; }

/* CTA STRIP */
.cta-strip {
  border-top: 1px solid var(--border); padding-top: 2.5rem; margin-top: 1rem;
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1.25rem;
}
.cta-strip h3 { font-size: clamp(18px, 3vw, 22px); font-weight: 600; margin-bottom: 0.3rem; }
.cta-strip p { font-size: 15px; color: var(--text-muted); }

/* SEASON NOTE */
.season-note {
  font-family: 'Montserrat', sans-serif; font-size: 12px; color: var(--text-light);
  margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid var(--border); line-height: 1.7;
}

/* FOOTER */
.footer { background: var(--bg-surface); border-top: 1px solid var(--border); padding: 2.5rem 1.5rem; margin-top: 3rem; }
.footer-inner {
  max-width: var(--max-width); margin: 0 auto; display: flex;
  flex-wrap: wrap; gap: 2rem; justify-content: space-between; align-items: flex-start;
}
.footer-brand { font-family: 'Montserrat', sans-serif; font-size: 13px; font-weight: 700; color: var(--text); margin-bottom: 0.4rem; }
.footer-brand span { color: var(--brand); }
.footer-details { font-size: 13px; color: var(--text-muted); line-height: 1.8; }
.footer-details a { color: var(--brand); text-decoration: none; }
.footer-details a:hover { text-decoration: underline; }
.footer-copy {
  font-family: 'Montserrat', sans-serif; font-size: 11px; color: var(--text-light);
  margin-top: 2rem; max-width: var(--max-width); margin-left: auto; margin-right: auto; padding: 0 1.5rem;
}

/* COURSE DETAIL */
.breadcrumb { font-family: 'Montserrat', sans-serif; font-size: 12px; font-weight: 500; letter-spacing: 0.02em; padding-top: 1.75rem; }
.breadcrumb a { color: var(--text-light); text-decoration: none; }
.breadcrumb a:hover { color: var(--brand); }
.breadcrumb .sep { color: var(--border-hover); margin: 0 0.4rem; }
.breadcrumb .current { color: var(--text-muted); }

.detail-hero { padding: 2rem 0 2.25rem; border-bottom: 1px solid var(--border); margin-bottom: 2.5rem; }
.detail-meta-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 1.5rem; }
.chip {
  font-family: 'Montserrat', sans-serif; font-size: 12px; font-weight: 500;
  color: var(--text-muted); background: var(--bg-surface); border: 1px solid var(--border);
  border-radius: 999px; padding: 6px 14px;
}
.chip strong { font-weight: 700; color: var(--text); }

.detail-layout { display: grid; grid-template-columns: 1fr 300px; gap: 2.5rem; align-items: start; }
.detail-block { margin-bottom: 2.5rem; }
.detail-block h2 { font-size: clamp(19px, 2.6vw, 23px); font-weight: 600; margin-bottom: 0.9rem; }
.detail-block p { font-size: 15px; color: var(--text-muted); line-height: 1.75; margin-bottom: 1rem; }

.syllabus-group { margin-bottom: 1.5rem; }
.syllabus-group h3 {
  font-family: 'Montserrat', sans-serif; font-size: 12px; font-weight: 700;
  letter-spacing: 0.06em; text-transform: uppercase; color: var(--text); margin-bottom: 0.7rem;
}
.syllabus-group p { font-size: 14px; color: var(--text-muted); margin-bottom: 0.65rem; line-height: 1.6; }
.pill-list { display: flex; flex-wrap: wrap; gap: 6px; }
.pill {
  font-family: 'Montserrat', sans-serif; font-size: 12px; font-weight: 500;
  color: var(--text-muted); background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-md); padding: 5px 11px;
}

/* SIDEBAR PRICE CARD */
.price-card {
  background: var(--bg-surface); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 1.5rem; position: sticky; top: 80px;
}
.price-card .price-amount { font-family: 'Montserrat', sans-serif; font-size: 30px; font-weight: 700; color: var(--brand); line-height: 1.1; }
.price-card .price-sub { font-family: 'Montserrat', sans-serif; font-size: 12px; font-weight: 500; color: var(--text-light); margin-top: 0.35rem; margin-bottom: 1.25rem; line-height: 1.5; }
.price-card .btn-primary { display: block; text-align: center; width: 100%; margin-bottom: 0.75rem; }
.price-card ul { list-style: none; padding: 0; margin: 1.25rem 0 0; border-top: 1px solid var(--border); padding-top: 1.1rem; }
.price-card ul li { font-size: 13px; color: var(--text-muted); padding: 4px 0 4px 1.1rem; position: relative; line-height: 1.5; }
.price-card ul li::before { content: ''; position: absolute; left: 0; top: 10px; width: 5px; height: 5px; border-radius: 50%; background: var(--brand); }
.price-card .price-call { font-family: 'Montserrat', sans-serif; font-size: 12px; color: var(--text-light); text-align: center; margin-top: 0.25rem; }
.price-card .price-call a { color: var(--brand); text-decoration: none; }
.price-note { font-family: 'Montserrat', sans-serif; font-size: 11px; color: var(--text-light); margin-top: 0.75rem; line-height: 1.6; padding-top: 0.75rem; border-top: 1px solid var(--border); }

/* APPLY FORM */
.apply-form { max-width: 680px; }
.form-section-title {
  font-family: 'Montserrat', sans-serif; font-size: 11px; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase; color: var(--brand);
  margin: 2rem 0 1rem; padding-bottom: 0.5rem; border-bottom: 1px solid var(--border);
}
.form-section-title:first-child { margin-top: 0; }
.student-block {
  background: var(--bg-surface); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 1.25rem 1.5rem; margin-bottom: 1.25rem;
}
.student-block-title {
  font-family: 'Montserrat', sans-serif; font-size: 12px; font-weight: 700;
  color: var(--text); margin-bottom: 1rem; display: flex; align-items: center; gap: 8px;
}
.student-num {
  width: 24px; height: 24px; border-radius: 50%; background: var(--brand);
  color: #fff; font-size: 11px; font-weight: 700; display: flex; align-items: center; justify-content: center;
}
.form-field { margin-bottom: 1.1rem; }
.form-field label {
  display: block; font-family: 'Montserrat', sans-serif; font-size: 11px; font-weight: 700;
  letter-spacing: 0.04em; text-transform: uppercase; color: var(--text); margin-bottom: 0.4rem;
}
.form-field .req { color: var(--brand); }
.form-field input, .form-field select, .form-field textarea {
  width: 100%; font-family: 'Lora', Georgia, serif; font-size: 15px; color: var(--text);
  background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-md);
  padding: 0.7rem 0.85rem; line-height: 1.5; transition: border-color 0.15s, box-shadow 0.15s;
}
.form-field input:focus, .form-field select:focus, .form-field textarea:focus {
  outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(12,100,192,0.1);
}
.form-field textarea { resize: vertical; min-height: 100px; }
.form-row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-row-3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 1rem; }
button.btn-primary { border: none; cursor: pointer; font-size: 13px; }
.form-note { font-size: 13px; color: var(--text-light); margin-top: 1rem; line-height: 1.6; }
.add-student-btn {
  font-family: 'Montserrat', sans-serif; font-size: 11px; font-weight: 700;
  letter-spacing: 0.06em; text-transform: uppercase; color: var(--brand);
  background: var(--brand-light); border: 1.5px dashed var(--brand); border-radius: var(--radius-md);
  padding: 10px 20px; cursor: pointer; margin-bottom: 1.5rem; transition: background 0.15s;
  display: inline-block;
}
.add-student-btn:hover { background: #d0e4f7; }
.minor-warning {
  background: #fff3cd; border: 1px solid #ffc107; border-radius: var(--radius-md);
  padding: 0.75rem 1rem; font-size: 13px; color: #856404; margin-top: 0.5rem; display: none;
}
.form-success {
  background: var(--bg-surface); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: clamp(1.5rem, 4vw, 2.25rem); max-width: 560px;
}
.form-success h2 { font-size: clamp(20px, 3vw, 26px); font-weight: 600; margin-bottom: 0.6rem; }
.form-success p { font-size: 15px; color: var(--text-muted); line-height: 1.7; margin-bottom: 1rem; }
.is-hidden { display: none; }

/* FEES TABLE */
.fees-table { width: 100%; border-collapse: collapse; margin: 1rem 0; font-size: 14px; }
.fees-table th {
  font-family: 'Montserrat', sans-serif; font-size: 10px; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-light);
  padding: 10px 14px; border-bottom: 1px solid var(--border); text-align: left; background: var(--bg-surface);
}
.fees-table td { padding: 10px 14px; border-bottom: 1px solid var(--border); color: var(--text-muted); }
.fees-table tr:last-child td { border-bottom: none; }
.fees-table td:first-child { color: var(--text); font-weight: 500; }
.fees-table td:last-child { font-family: 'Montserrat', sans-serif; font-weight: 700; color: var(--brand); }

/* RESPONSIVE */
@media (max-width: 760px) {
  .detail-layout { grid-template-columns: 1fr; }
  .nav-links { display: none; }
}
@media (max-width: 600px) {
  .courses-grid { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: 1fr 1fr; }
  .online-grid { grid-template-columns: 1fr 1fr; }
  .cta-strip { flex-direction: column; align-items: flex-start; }
  .included-grid { grid-template-columns: 1fr; }
  .form-row-2, .form-row-3 { grid-template-columns: 1fr; }
  .policies-grid { grid-template-columns: 1fr; }
}
@media (max-width: 400px) {
  .features-grid, .online-grid { grid-template-columns: 1fr; }
}
