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

html {
  scroll-behavior: smooth;
}

img {
  display: block;
  max-width: 100%;
}

a {
  text-decoration: none;
}

ul {
  list-style: none;
}

button {
  cursor: pointer;
  font-family: inherit;
}

:root {
  --red: #C9002B;
  --red-dark: #8B0020;
  --red-soft: #fff0f2;
  --navy: #0D1B2A;
  --navy-mid: #1A2D3F;
  --gold: #E8C84A;
  --gold-light: #F5E49A;
  --white: #fff;
  --off: #F7F4EF;
  --g100: #EDE9E2;
  --g200: #DDD8D0;
  --g400: #9A8A7A;
  --g600: #5A4A3A;
  --green: #16A34A;
  --font: 'Sora', sans-serif;
  --jp: 'Noto Serif JP', serif;
  --bn: 'Noto Sans Bengali', sans-serif;
  --radius: 12px;
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, .08);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, .10);
  --shadow-lg: 0 12px 40px rgba(0, 0, 0, .13);
  --t: all .22s ease;
}

body {
  font-family: var(--font);
  color: var(--navy);
  background: var(--off);
  overflow-x: hidden;
  width: 100%;
  position: relative;
}

/* ── UTILS ── */
.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
  width: 100%;
  box-sizing: border-box;
}

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

@media(max-width:480px) {
  .container {
    padding: 0 12px;
  }
}

.container-narrow {
  max-width: 820px;
  margin: 0 auto;
  padding: 0 24px;
  width: 100%;
  box-sizing: border-box;
}

.section {
  padding: 80px 0;
}

.bg-white {
  background: var(--white);
}

.bg-off {
  background: var(--off);
}

.bg-navy {
  background: var(--navy);
}

/* Section headers */
.section-header {
  margin-bottom: 56px;
}

.section-tag {
  display: inline-block;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 14px;
}

.tag-gold {
  color: var(--gold);
}

.section-title {
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 800;
  letter-spacing: -.02em;
  line-height: 1.1;
  margin-bottom: 18px;
  color: var(--navy);
}

.title-white {
  color: #fff;
}

.section-lead {
  font-size: 18px;
  color: #111;
  line-height: 1.65;
  max-width: 620px;
  font-weight: 500;
}

.lead-muted {
  color: rgba(255, 255, 255, .45);
}

/* Buttons */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--red);
  color: #fff;
  font-family: var(--font);
  font-size: 14px;
  font-weight: 600;
  padding: 13px 28px;
  border-radius: 10px;
  border: none;
  transition: var(--t);
  letter-spacing: .01em;
  max-width: 100%;
}

.btn-primary:hover {
  background: var(--red-dark);
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(201, 0, 43, .32);
}

.btn-lg {
  padding: 15px 34px;
  font-size: 15px;
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: rgba(255, 255, 255, .75);
  font-family: var(--font);
  font-size: 14px;
  font-weight: 500;
  padding: 13px 22px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, .18);
  transition: var(--t);
  max-width: 100%;
}

.btn-ghost:hover {
  border-color: rgba(255, 255, 255, .45);
  color: #fff;
}

.btn-ghost-light {
  display: inline-flex;
  align-items: center;
  background: transparent;
  color: rgba(255, 255, 255, .75);
  font-family: var(--font);
  font-size: 14px;
  font-weight: 500;
  padding: 13px 22px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, .25);
  transition: var(--t);
  max-width: 100%;
}

.btn-ghost-light:hover {
  color: #fff;
  border-color: rgba(255, 255, 255, .5);
}

/* ════ NAVBAR ════ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(13, 27, 42, .96);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, .06);
  transition: var(--t);
}

.navbar.scrolled {
  box-shadow: 0 4px 20px rgba(0, 0, 0, .3);
}

.nav-inner {
  max-width: 100%;
  margin: 0;
  padding: 0 24px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

@media(max-width:768px) {
  .nav-inner {
    padding: 0 15px;
  }
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  min-width: max-content;
}

.nav-logo img {
  height: 40px;
  width: auto;
  display: block;
  object-fit: contain;
}

.logo-mark {
  width: 34px;
  height: 34px;
  background: var(--red);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--jp);
  font-size: 16px;
  color: #fff;
  font-weight: 700;
  flex-shrink: 0;
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1;
  overflow: hidden;
}

.logo-name {
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  letter-spacing: .01em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.logo-sub {
  font-size: 10px;
  color: rgba(255, 255, 255, .4);
  letter-spacing: .06em;
  margin-top: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: auto;
}

.nav-links a {
  font-size: 12px;
  font-weight: 600;
  color: rgba(255, 255, 255, .7);
  padding: 6px 10px;
  border-radius: 6px;
  transition: var(--t);
  white-space: nowrap;
}

.nav-links a:hover,
.nav-links a.active {
  color: #fff;
  background: rgba(255, 255, 255, .08);
}

@media(max-width:1440px) {
  .nav-links {
    gap: 6px;
  }

  .nav-links a {
    padding: 6px 8px;
    font-size: 11.5px;
  }
}

/* ── Dropdowns ── */
.nav-links li.has-dropdown {
  position: relative;
}

.dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  background: #fff;
  min-width: 220px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  border-radius: 12px;
  padding: 12px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.3s ease;
  z-index: 1000;
  list-style: none;
  margin-top: 5px;
}

.nav-links li.has-dropdown:hover .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown li {
  width: 100%;
  margin: 0 !important;
}

.dropdown li a {
  padding: 10px 24px !important;
  color: var(--navy) !important;
  font-size: 14px !important;
  font-weight: 500 !important;
  display: block !important;
  background: none !important;
  text-align: left;
}

.dropdown li a:hover,
.dropdown li a.active {
  background: #f8f9fa !important;
  color: var(--red) !important;
  padding-left: 28px !important;
}

.nav-cta {
  background: var(--red) !important;
  color: #fff !important;
  font-weight: 600 !important;
  margin-left: 8px !important;
}

.nav-cta:hover {
  background: var(--red-dark) !important;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 6px;
  background: none;
  border: none;
  margin-left: auto;
  position: relative;
  z-index: 1002;
  cursor: pointer;
  transition: var(--t);
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: all 0.3s ease-in-out;
}

.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-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 64px;
  overflow: hidden;
  background: var(--navy);
}

.hero-bg-image {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .2;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, rgba(13, 27, 42, .97) 0%, rgba(13, 27, 42, .80) 50%, rgba(13, 27, 42, .55) 100%);
}

/* Decorative grid */
.hero-grid {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image: linear-gradient(rgba(255, 255, 255, .025) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .025) 1px, transparent 1px);
  background-size: 60px 60px;
}

.hero-kanji {
  position: absolute;
  right: 5%;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--jp);
  font-size: clamp(140px, 16vw, 240px);
  font-weight: 700;
  color: rgba(255, 255, 255, .03);
  line-height: 1;
  pointer-events: none;
  user-select: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  padding-top: 60px;
  padding-bottom: 60px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(232, 200, 74, .10);
  border: 1px solid rgba(232, 200, 74, .28);
  color: var(--gold);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 7px 14px;
  border-radius: 100px;
  margin-bottom: 26px;
}

.badge-dot {
  width: 6px;
  height: 6px;
  background: var(--gold);
  border-radius: 50%;
  animation: dot-pulse 2s infinite;
}

@keyframes dot-pulse {

  0%,
  100% {
    opacity: 1;
    transform: scale(1)
  }

  50% {
    opacity: .4;
    transform: scale(.7)
  }
}

.hero-title {
  font-size: clamp(48px, 6.5vw, 82px);
  font-weight: 800;
  color: #fff;
  line-height: 1;
  letter-spacing: -.03em;
  margin-bottom: 24px;
}

.hero-title em {
  font-style: normal;
  color: var(--red);
}

.hero-title-jp {
  display: block;
  font-family: var(--jp);
  font-size: .35em;
  color: rgba(255, 255, 255, .3);
  font-weight: 400;
  margin-top: 12px;
  letter-spacing: .08em;
}

.hero-desc {
  font-size: 18px;
  color: rgba(255, 255, 255, .8);
  line-height: 1.7;
  max-width: 540px;
  font-weight: 400;
  margin-bottom: 40px;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}

.hero-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  font-size: 13px;
  color: rgba(255, 255, 255, .45);
}

.hero-meta-item {
  display: flex;
  align-items: center;
  gap: 6px;
}

.hero-meta-item strong {
  color: rgba(255, 255, 255, .75);
}

.hero-meta-sep {
  color: rgba(255, 255, 255, .2);
}

.hero-stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.hero-stat-card {
  background: rgba(255, 255, 255, .04);
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 14px;
  padding: 20px 18px;
  transition: var(--t);
}

.hero-stat-card:hover {
  background: rgba(255, 255, 255, .07);
  transform: translateY(-2px);
}

.hsc-num {
  font-size: 30px;
  font-weight: 800;
  color: #fff;
  line-height: 1;
  letter-spacing: -.02em;
}

.hsc-unit {
  font-size: 12px;
  font-weight: 600;
  color: var(--red);
  margin: 4px 0 6px;
  text-transform: uppercase;
  letter-spacing: .06em;
}

.hsc-desc {
  font-size: 14px;
  color: #fff;
  opacity: 0.9;
  line-height: 1.5;
  font-weight: 400;
}

margin-bottom: 8px;
}

/* ── Page Layouts ── */
.dynamic-page-wrap,
.main-body {
  background: #F0EDE8;
  padding: 60px 0 80px;
  min-height: 60vh;
}

.pagebuilder-content {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 28px;
}

@media (max-width: 640px) {
  .pagebuilder-content {
    padding: 0 20px;
  }
}

/* ════ NOTICE BAR ════ */
.notice-bar {
  background: linear-gradient(90deg, var(--red-dark), var(--red));
  padding: 12px 0;
}

.notice-inner {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.notice-icon {
  font-size: 16px;
  flex-shrink: 0;
}

.notice-text {
  font-size: 13px;
  font-weight: 500;
  color: rgba(255, 255, 255, .9);
  flex: 1;
}

.notice-link {
  font-size: 12px;
  font-weight: 700;
  color: var(--gold);
  white-space: nowrap;
  border-bottom: 1px solid rgba(232, 200, 74, .4);
}

/* ════ HOW IT WORKS ════ */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.step-card {
  background: #fff;
  border-radius: 16px;
  padding: 28px 22px;
  border: 1.5px solid var(--g200);
  position: relative;
  overflow: hidden;
  transition: var(--t);
}

.step-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.step-number {
  position: absolute;
  top: 18px;
  right: 18px;
  font-size: 52px;
  font-weight: 800;
  line-height: 1;
  opacity: .1;
  color: var(--navy);
}

.step-icon-wrap {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 36px;
  margin-bottom: 16px;
}

.step-red .step-icon-wrap {
  background: var(--red-soft);
}

.step-navy .step-icon-wrap {
  background: rgba(13, 27, 42, .07);
}

.step-gold .step-icon-wrap {
  background: rgba(232, 200, 74, .14);
}

.step-green .step-icon-wrap {
  background: rgba(22, 163, 74, .09);
}

.step-title {
  font-size: 18px;
  font-weight: 800;
  color: #000;
  margin-bottom: 10px;
}

.step-desc {
  font-size: 15px;
  color: #111;
  line-height: 1.6;
  font-weight: 500;
}

/* ════ EXAM LEVELS ════ */
.levels-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}

@media(max-width:1200px) {
  .levels-grid {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  }
}

.level-card {
  border-radius: 16px;
  padding: 24px 18px;
  border: 2px solid transparent;
  transition: var(--t);
  display: flex;
  flex-direction: column;
}

.level-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.lvl-red {
  background: #fff0f2;
  border-color: #ffd0d8;
}

.lvl-orange {
  background: #fff5e8;
  border-color: #ffddb8;
}

.lvl-blue {
  background: #eff6ff;
  border-color: #bfdbfe;
}

.lvl-green {
  background: #f0fff4;
  border-color: #b7f5c8;
}

.lvl-purple {
  background: #faf0ff;
  border-color: #e0c2ff;
}

.lc-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 8px;
}

.lc-code {
  font-size: 26px;
  font-weight: 800;
}

.lvl-red .lc-code {
  color: var(--red);
}

.lvl-orange .lc-code {
  color: #c06000;
}

.lvl-blue .lc-code {
  color: #1d4ed8;
}

.lvl-green .lc-code {
  color: #15803d;
}

.lvl-purple .lc-code {
  color: #7c3aed;
}

.lc-badges {
  display: flex;
  flex-direction: column;
  gap: 4px;
  align-items: flex-end;
}

.lc-badge {
  font-size: 9px;
  font-weight: 700;
  background: rgba(0, 0, 0, .07);
  padding: 2px 7px;
  border-radius: 4px;
  color: #000;
  letter-spacing: .05em;
}

.mode-card-title{font-size:24px;font-weight:800;color:#000;margin-bottom:12px;letter-spacing:-.01em;}
.mode-card-desc{font-size:16px;color:#000;line-height:1.65;margin-bottom:24px;font-weight:500;}
.mode-card-facts{display:flex;flex-direction:column;gap:10px;margin-bottom:24px;}
.mode-fact{display:flex;justify-content:space-between;font-size:16px;padding:8px 0;border-bottom:1px solid rgba(0,0,0,.08);}
.mode-fact:last-child{border:none;}
.mode-fact .label{color:#000;font-weight:500;}
.mode-fact .value{font-weight:700;color:#000;}
.mode-card-link{display:inline-flex;align-items:center;gap:6px;font-size:15px;font-weight:800;transition:var(--t);}

.lc-name {
  font-size: 12px;
  font-weight: 600;
  color: #000;
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: .06em;
}

.lc-desc {
  font-size: 14px;
  color: #000;
  line-height: 1.55;
  margin-bottom: 18px;
  flex: 1;
}

.lc-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
}

.lc-fee {
  font-size: 16px;
  font-weight: 700;
  color: #000;
  font-family: var(--bn);
}

.lc-btn {
  font-size: 12px;
  font-weight: 700;
  color: var(--red);
  border: 1.5px solid var(--red);
  padding: 5px 12px;
  border-radius: 6px;
  transition: var(--t);
}

.lc-btn:hover {
  background: var(--red);
  color: #fff;
}

/* ════ SCHEDULE ════ */
.schedule-table {
  background: rgba(255, 255, 255, .03);
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 16px;
  overflow-x: auto;
  margin-bottom: 18px;
  -webkit-overflow-scrolling: touch;
}

.sched-head,
.sched-row {
  display: grid;
  grid-template-columns: 40px 1.5fr 110px 160px 1.5fr 120px;
  padding: 15px 24px;
  align-items: center;
}

.sched-head {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .7);
  background: rgba(255, 255, 255, .06);
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}

.sched-row {
  border-bottom: 1px solid rgba(255, 255, 255, .05);
  transition: background .2s;
}

.sched-row:last-child {
  border-bottom: none;
}

.sched-row:hover {
  background: rgba(255, 255, 255, .03);
}

.sched-row-active {
  background: rgba(201, 0, 43, .07) !important;
}

.sched-n {
  font-size: 15px;
  color: rgba(255, 255, 255, .25);
  font-weight: 600;
}

.sched-date {
  font-size: 17px;
  font-weight: 600;
  color: #fff;
}

.sched-cell {
  font-size: 16px;
  color: rgba(255, 255, 255, .5);
}

.sched-badge {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .05em;
  padding: 5px 12px;
  border-radius: 100px;
}

.badge-open {
  background: rgba(22, 163, 74, .18);
  color: #4ade80;
}

.badge-soon {
  background: rgba(232, 200, 74, .12);
  color: var(--gold);
}

.badge-closed {
  background: rgba(255, 255, 255, .06);
  color: rgba(255, 255, 255, .3);
}

.sched-footer-note {
  font-size: 14px;
  color: rgba(255, 255, 255, .7);
  text-align: center;
  margin-top: 18px;
  font-weight: 500;
}

.hero-section {
  position: relative;
  overflow: hidden;
  background-color: #0D1B2A;
}

.hero-bg-dynamic {
  position: absolute;
  inset: -10px;
  /* Offset to prevent blur edges from showing */
  background-size: cover;
  background-position: center;
  filter: blur(8px);
  z-index: 0;
}

.h.nav-cta-apply {
  background: var(--nat-red);
  color: white !important;
  padding: 10px 24px !important;
  border-radius: 50px;
  font-weight: 700;
  margin-left: 15px;
  box-shadow: 0 4px 15px rgba(224, 0, 52, 0.3);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-cta-apply:hover {
  background: #c0002d;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(224, 0, 52, 0.4);
  color: white !important;
}

/* Notice Bar */
.notice-bar {
  background: var(--nat-red);
  color: white;
  padding: 12px 0;
  font-size: 0.95rem;
  font-weight: 500;
  position: relative;
  z-index: 10;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.notice-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
}

.notice-text {
  opacity: 0.95;
}

.notice-link {
  color: white;
  text-decoration: underline;
  font-weight: 700;
  text-underline-offset: 4px;
}

.notice-link:hover {
  opacity: 0.8;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-slider {
  position: relative;
  z-index: 1;
}

.hero-slide {
  height: 100vh;
  min-height: 600px;
  background-color: #0D1B2A;
}

.hero-slide .hero-content {
  padding-top: 100px;
}

.hero-slide .hero-title {
  color: #fff;
  animation: fadeInUp 0.8s ease backwards;
}

.hero-slide .hero-desc {
  color: rgba(255, 255, 255, 0.9);
  animation: fadeInUp 0.8s ease 0.2s backwards;
}

.hero-slide .hero-actions {
  animation: fadeInUp 0.8s ease 0.4s backwards;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ════ FEATURES ════ */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.feature-card {
  background: #fff;
  border-radius: 16px;
  padding: 28px 24px;
  border: 1.5px solid var(--g200);
  transition: var(--t);
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.fc-icon {
  font-size: 42px;
  margin-bottom: 16px;
}

.fc-title {
  font-size: 18px;
  font-weight: 800;
  color: #000;
  margin-bottom: 10px;
}

.fc-desc {
  font-size: 15px;
  color: #111;
  line-height: 1.6;
  font-weight: 500;
}

/* ════ CTA BANNER ════ */
.cta-banner {
  position: relative;
  overflow: hidden;
  background: linear-gradient(105deg, #0D1B2A 0%, #1A2D42 60%, #8B0020 100%);
  padding: 80px 0;
  color: white;
}

.cta-grid-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 50px 50px;
  pointer-events: none;
}

.cta-inner {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}

.cta-text h2 {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 800;
  letter-spacing: -.02em;
  margin-bottom: 0;
}

.cta-text p {
  font-size: 15px;
  color: rgba(255, 255, 255, .5);
  font-weight: 300;
  margin-top: 10px;
}

.cta-text {
  flex: 1;
  min-width: 300px;
}

.cta-title {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}

.cta-desc {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.5);
  font-weight: 400;
  line-height: 1.6;
}

.cta-actions {
  display: flex;
  gap: 16px;
  align-items: center;
  flex-wrap: wrap;
}

.cta-btn-red {
  background: #C9002B;
  color: white;
  padding: 14px 32px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 15px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(201, 0, 43, 0.2);
}

.cta-btn-red:hover {
  background: #E00034;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(201, 0, 43, 0.3);
}

.cta-btn-outline {
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: white;
  padding: 13px 28px;
  border-radius: 8px;
  font-weight: 500;
  font-size: 14px;
  transition: all 0.3s ease;
}

.cta-btn-outline:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.4);
}

/* ════ FAQ ════ */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 32px;
}

.faq-item {
  background: #fff;
  border-radius: 14px;
  border: 1.5px solid var(--g200);
  overflow: hidden;
  transition: border-color .2s;
}

.faq-question {
  width: 100%;
  padding: 20px 24px;
  background: none;
  border: none;
  text-align: left;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  font-size: 16px;
  font-weight: 700;
  color: #000;
  cursor: pointer;
  font-family: var(--font);
}

.faq-toggle {
  width: 26px;
  height: 26px;
  border-radius: 7px;
  background: var(--g100);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: #000;
  flex-shrink: 0;
  font-weight: 700;
  transition: var(--t);
}

.faq-toggle.open {
  background: var(--red);
  color: #fff;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height .38s ease;
}

.faq-answer.open {
  max-height: 800px;
}

.faq-answer-inner {
  padding: 0 24px 22px;
  font-size: 15px;
  color: #111;
  line-height: 1.7;
  font-weight: 500;
}

.faq-more {
  text-align: center;
  font-size: 16px;
  color: #000;
  font-weight: 500;
}

.faq-more a {
  color: var(--red);
  font-weight: 600;
}

/* ════ CONTACT ════ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.contact-card {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 18px 20px;
  background: var(--white);
  border-radius: 12px;
  border: 1.5px solid var(--g200);
  transition: var(--t);
}

.contact-card:hover {
  border-color: var(--red);
  background: var(--red-soft);
}

.cc-icon {
  width: 40px;
  height: 40px;
  background: var(--red);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: #fff;
  flex-shrink: 0;
}

.cc-label {
  font-size: 9px;
  font-weight: 700;
  color: #000;
  letter-spacing: .12em;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.cc-value {
  font-size: 16px;
  font-weight: 700;
  color: #000;
}

.cc-sub {
  font-size: 14px;
  color: #111;
  margin-top: 3px;
  font-weight: 500;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.cf-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.cf-group {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.cf-label {
  font-size: 10px;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: .09em;
  text-transform: uppercase;
}

.cf-input {
  font-family: var(--font);
  font-size: 14px;
  color: var(--navy);
  background: var(--off);
  border: 1.5px solid var(--g200);
  border-radius: 10px;
  padding: 12px 16px;
  outline: none;
  width: 100%;
  transition: var(--t);
}

.cf-textarea {
  min-height: 110px;
  resize: vertical;
}

.cf-input:focus {
  border-color: var(--red);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(201, 0, 43, .07);
}

/* ════ FOOTER ════ */
.site-footer {
  background: var(--navy);
}

.footer-stripe {
  height: 3px;
  background: linear-gradient(90deg, var(--red), var(--gold), var(--navy));
}

.footer-inner {
  max-width: 1160px;
  margin: 0 auto;
  padding: 56px 28px 28px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1.2fr;
  gap: 48px;
  padding-bottom: 48px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}

.footer-tagline {
  font-size: 13px;
  color: rgba(255, 255, 255, .38);
  line-height: 1.65;
  max-width: 260px;
  font-weight: 300;
  margin-bottom: 18px;
}

.footer-socials {
  display: flex;
  gap: 10px;
}

.footer-socials a {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: rgba(255, 255, 255, .07);
  border: 1px solid rgba(255, 255, 255, .1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, .5);
  transition: var(--t);
}

.footer-socials a:hover {
  background: var(--red);
  color: #fff;
  border-color: transparent;
}

.footer-col h4 {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .6);
  margin-bottom: 18px;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-col a {
  font-size: 15px;
  color: rgba(255, 255, 255, .7);
  transition: color .2s;
  font-weight: 500;
}

.footer-col a:hover {
  color: #fff;
}

.footer-logo img {
  max-height: 50px;
  width: auto;
  display: block;
  margin-bottom: 15px;
}

.footer-contact-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 12px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
}

.footer-contact-list li i {
  color: var(--red);
  margin-top: 4px;
  font-size: 14px;
  width: 16px;
  text-align: center;
}

.footer-contact-list li span,
.footer-contact-list li a {
  color: rgba(255, 255, 255, 0.7);
  transition: color 0.3s;
}

.footer-contact-list li a:hover {
  color: var(--red);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 20px;
  margin-top: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.4);
}

.footer-bottom p,
.footer-bottom span {
  margin: 0;
}

/* ════ RESPONSIVE ════ */
@media(max-width:1200px) {
  .hero-content {
    gap: 40px;
  }

  .footer-grid {
    gap: 32px;
  }
}

@media(max-width:1024px) {
  .levels-grid {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
  }

  .sched-head span:nth-child(4),
  .sched-row span:nth-child(4) {
    display: none;
  }

  .sched-head,
  .sched-row {
    grid-template-columns: 40px 1fr 110px 1fr 120px;
  }
}

@media(max-width:1280px) {
  .section {
    padding: 50px 0;
  }

  .section-header {
    text-align: center;
    margin-bottom: 32px;
  }

  .section-lead {
    margin: 0 auto;
  }

  .nav-links {
    display: flex;
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh !important;
    width: 300px;
    background: #0B1622;
    flex-direction: column;
    padding: 0 0 40px;
    gap: 0;
    box-shadow: 15px 0 40px rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(20px);
    overflow-y: auto;
    transform: translateX(-100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1001;
    border-right: 1px solid rgba(255, 255, 255, 0.05);
  }

  .mobile-nav-header {
    display: block !important;
  }

  .nav-links.open {
    transform: translateX(0);
  }

  .nav-links li {
    width: 100%;
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
  }

  .nav-links a {
    width: 100%;
    padding: 16px 28px;
    text-align: left;
    display: block;
    font-size: 15px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.8);
    background: transparent !important;
    border-radius: 0;
  }

  .nav-links a.active,
  .nav-links a:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.05) !important;
    padding-left: 32px;
  }

  .nav-links li.has-dropdown .dropdown {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    background: rgba(0, 0, 0, 0.2);
    width: 100%;
    margin-top: 0;
    border-radius: 0;
    padding: 8px 0;
    display: none;
  }

  .nav-links li.has-dropdown.open .dropdown {
    display: block;
  }

  .dropdown li a {
    color: rgba(255, 255, 255, 0.6) !important;
    text-align: left !important;
    padding: 12px 28px 12px 48px !important;
    font-size: 14px !important;
    border-bottom: none !important;
  }

  .dropdown li a:hover {
    color: var(--red) !important;
    background: transparent !important;
    padding-left: 52px !important;
  }

  .nav-cta {
    margin: 20px 28px !important;
    width: auto !important;
    text-align: center !important;
    padding: 14px !important;
    border-radius: 8px !important;
    background: var(--red) !important;
    color: #fff !important;
  }

  .hamburger {
    display: flex;
  }

  .hero-section {
    height: auto;
    min-height: auto;
    padding-top: 100px;
    padding-bottom: 50px;
  }

  .hero-content {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
    padding-top: 0;
  }

  .hero-left {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .hero-desc {
    margin: 0 auto 24px;
  }

  .hero-actions {
    justify-content: center;
    gap: 12px;
  }

  .hero-meta {
    justify-content: center;
  }

  .hero-stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    width: 100%;
  }

  .hero-kanji {
    font-size: 120px;
    opacity: 0.02;
    right: 2%;
  }

  .steps-grid {
    grid-template-columns: 1fr !important;
  }

  .levels-grid {
    grid-template-columns: 1fr !important;
    gap: 16px;
  }

  .features-grid {
    grid-template-columns: 1fr !important;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .cf-row {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }

  .cta-inner {
    flex-direction: column;
    text-align: center;
    gap: 24px;
  }

  .cta-actions {
    justify-content: center;
  }
}

@media(max-width:767px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero-stats-grid {
    grid-template-columns: 1fr;
  }

  .section-title {
    font-size: 28px;
  }

  /* Schedule table scroll hint */
  .schedule-table::after {
    content: '← Scroll to view more →';
    display: block;
    text-align: center;
    font-size: 10px;
    color: rgba(255, 255, 255, 0.2);
    padding: 10px 0;
  }
}

@media(max-width:480px) {
  .section-title {
    font-size: 24px;
  }

  .container {
    padding: 0 15px;
  }

  .hero-title {
    font-size: 32px;
  }

  .hero-section {
    padding-top: 80px;
  }

  /* Buttons full width on small mobile */
  .btn-primary,
  .btn-ghost,
  .btn-ghost-light {
    width: 100%;
    justify-content: center;
  }

  .hero-actions {
    flex-direction: column;
    width: 100%;
  }
}