:root {
  --navy: #152a52;
  --blue: #152a52;
  --sky: #eef1f5;
  --ink: #16191f;
  --gold: #152a52;
  --gray: #767f8c;
  --line: #e2e5ea;
  --cream: #ffffff;
  --accent: #4d5c74;
  --check: #152a52;
  --point: #34c176;
  --amber: #e0a731;
  --red: #d65a4a;
}

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

html {
  background: #dcdcd6;
}

body {
  background: #dcdcd6;
  font-family: 'Pretendard',sans-serif;
  display: flex;
  justify-content: center;
}

.page {
  width: 420px;
  max-width: 100%;
  background: var(--cream);
  overflow: hidden;
  color: var(--ink);
}

nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 22px;
  background: var(--navy);
}

.brand {
  font-weight: 800;
  font-size: 17px;
  color: #fff;
  letter-spacing: -0.3px;
}

.navlinks span {
  border: 1px solid rgba(255,255,255,0.35);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 7px 13px;
  border-radius: 4px;
}

/* HERO */
.hero {
  position: relative;
  background: linear-gradient(155deg, #1c3663 0%, var(--navy) 45%, #0f1e3c 100%);
  padding: 34px 24px 78px;
  overflow: hidden;
  min-height: 456px;
}

.hero-photo-bg {
  position: absolute;
  inset: 0;
  z-index: 1;
  -webkit-mask-image: linear-gradient(115deg, transparent 0%, transparent 30%, #000 68%);
  mask-image: linear-gradient(115deg, transparent 0%, transparent 30%, #000 68%);
}

.hero-photo-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 70% 75%;
  display: block;
  filter: brightness(0.88);
}

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

.hero h1 {
  font-weight: 900;
  font-size: 40px;
  line-height: 1.28;
  color: #fff;
  letter-spacing: -0.8px;
}

.hero h1 .em {
  color: var(--point);
}

.hero .sub {
  font-size: 13px;
  color: #c3cad6;
  margin-top: 14px;
  line-height: 1.7;
}

.big-yr {
  display: flex;
  align-items: flex-end;
  gap: 10px;
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.14);
}

.big-yr .num {
  font-size: 60px;
  font-weight: 900;
  color: #fff;
  line-height: 1;
  letter-spacing: -2px;
}

.big-yr .txt {
  font-size: 13px;
  color: #d3d9e2;
  line-height: 1.5;
  padding-bottom: 6px;
}

.big-yr .txt b {
  display: block;
  color: #fff;
  font-weight: 800;
  font-size: 14px;
}


/* VALUE TRIO - icon + label, like the reference poster */
.value-trio {
  display: flex;
  justify-content: space-around;
  padding: 24px 22px 4px;
}

.value-trio .v {
  text-align: center;
  width: 30%;
}

.value-trio .v .ico {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--sky);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin: 0 auto 10px;
}

.value-trio .v .ico.amber {
  background: rgba(224,167,49,0.16);
}

.value-trio .v .ico.red {
  background: rgba(214,90,74,0.16);
}

.value-trio .v .ico.point {
  background: rgba(52,193,118,0.16);
}

.value-trio .v .t {
  font-size: 12.5px;
  font-weight: 800;
  color: var(--ink);
}

.value-trio .v .s {
  font-size: 10px;
  color: var(--gray);
  margin-top: 3px;
  line-height: 1.4;
}

.phone-cta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 20px 22px 0;
  background: var(--navy);
  border-radius: 4px;
  padding: 14px 16px;
}

.phone-cta .ico {
  width: 44px;
  height: 44px;
  border-radius: 4px;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}

.phone-cta .txt {
  color: #fff;
}

.phone-cta .txt .t {
  font-size: 11px;
  color: #c3cad6 !important;
  text-decoration: none !important;
}

.phone-cta a,
.phone-cta a:link,
.phone-cta a:visited {
  color: inherit;
  text-decoration: none;
}

.phone-cta .txt .n {
  font-size: 16px;
  font-weight: 800;
  margin-top: 2px;
  color: #fff !important;
  text-decoration: none !important;
}

/* SECTION HEAD */
.section-head {
  padding: 38px 22px 16px;
}

.section-head h2 {
  font-weight: 800;
  font-size: 20px;
  color: var(--ink);
  letter-spacing: -0.3px;
}

.section-head.on-dark-alt {
  padding-top: 28px;
}

.section-head.on-dark-alt h2 {
  color: #fff;
}

/* TESTIMONIAL LIST */
.review-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 0 22px;
}

.quote-box {
  background: var(--sky);
  border-radius: 8px;
  padding: 20px 20px 18px;
  position: relative;
}

.q-tag {
  display: inline-block;
  background: var(--point);
  color: #fff;
  font-size: 10.5px;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 100px;
  margin-bottom: 10px;
}

.q-tag.amber {
  background: var(--amber);
}

.q-tag.red {
  background: var(--red);
}

.quote-box .mark {
  position: absolute;
  top: 10px;
  right: 16px;
  font-size: 44px;
  color: rgba(21,42,82,0.1);
  font-weight: 900;
  line-height: 1;
  font-family: Georgia, serif;
}

.quote-box p {
  position: relative;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.65;
}

.quote-box .who {
  margin-top: 10px;
  font-size: 11.5px;
  color: var(--gray);
  font-weight: 600;
}

/* TRUST SECTION (reviews) */
.trust-section {
  background: var(--navy);
  border-radius: 32px 32px 0 0;
  margin-top: 30px;
  padding-bottom: 30px;
}

/* INSTRUCTOR CARD */
.instructor {
  position: relative;
  background: var(--navy);
  margin: 34px 22px 0;
  padding: 28px 22px 26px;
  border-radius: 4px;
  overflow: hidden;
  color: #fff;
}

.instructor-signal {
  position: absolute;
  right: -6px;
  top: -14px;
  height: 128%;
  width: auto;
  opacity: 0.22;
  filter: grayscale(1) brightness(2);
  z-index: 0;
}

.instructor-body {
  position: relative;
  z-index: 1;
}

.instructor-num {
  font-size: 56px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -2px;
  color: var(--point);
}

.instructor-num span {
  font-size: 20px;
  font-weight: 800;
  color: #fff;
  margin-left: 4px;
}

.instructor-label {
  margin-top: 8px;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.4;
  color: #fff;
}

.instructor .divider {
  height: 1px;
  background: rgba(255,255,255,0.15);
  margin: 18px 0 14px;
}

.instructor .tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.instructor .tags span {
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  font-size: 11px;
  padding: 5px 11px;
  border-radius: 4px;
  color: #d3d9e2;
}

/* CLASS GROUP */
.class-group {
  margin: 34px 22px 0;
  background: var(--sky);
  border-radius: 4px;
  padding: 22px 0;
  display: flex;
  flex-direction: column;
  gap: 26px;
}

.class-group .car-info {
  margin: 0 18px;
}

.class-group .sched-row {
  padding-left: 18px;
  padding-right: 18px;
}

.class-group .price-note {
  margin-left: 18px;
  margin-right: 18px;
  padding-left: 18px;
  padding-right: 18px;
}

.cg-item:not(:last-child) {
  padding-bottom: 26px;
  border-bottom: 1px dashed var(--line);
}

.cg-head {
  padding: 0 18px 12px;
  font-size: 13px;
  font-weight: 800;
  color: var(--accent);
  letter-spacing: -0.2px;
}

/* CAR INFO */
.car-info {
  margin: 0 22px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 20px;
}

.car-badge {
  display: inline-block;
  background: var(--sky);
  color: var(--accent);
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.5px;
  padding: 4px 10px;
  border-radius: 4px;
  margin-bottom: 10px;
}

.car-name {
  font-size: 18px;
  font-weight: 800;
  color: var(--ink);
  margin-bottom: 8px;
}

.car-desc {
  font-size: 12.5px;
  color: var(--gray);
  line-height: 1.6;
}

/* PRICE HERO */
.price-hero-row {
  padding: 0 22px;
  display: flex;
  gap: 10px;
}

.price-hero-card {
  flex: 1;
  border-radius: 6px;
  padding: 20px 16px;
  background: var(--navy);
  color: #fff;
  text-align: center;
}

.price-hero-card.alt {
  background: #fff;
  border: 1.5px solid var(--line);
  color: var(--ink);
}

.ph-name {
  font-size: 12px;
  font-weight: 700;
  opacity: 0.8;
}

.price-hero-card.alt .ph-name {
  color: var(--gray);
  opacity: 1;
}

.ph-price {
  font-size: 32px;
  font-weight: 900;
  letter-spacing: -1px;
  margin-top: 6px;
}

.price-hero-card.alt .ph-price {
  color: var(--navy);
}

.ph-price span {
  font-size: 13px;
  font-weight: 700;
  margin-left: 2px;
}

.ph-sub {
  font-size: 10.5px;
  opacity: 0.65;
  margin-top: 4px;
}

.price-hero-card.alt .ph-sub {
  color: var(--gray);
  opacity: 1;
}

.price-note {
  padding: 12px 22px 0;
  font-size: 11.5px;
  color: var(--gray);
  text-align: center;
}

.price-note b {
  color: var(--navy);
  font-weight: 800;
}

/* SCHEDULE */
.sched-row {
  padding: 0 22px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.sched-line {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.sl-body {
  flex: 1;
}

.sl-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--amber);
  margin-top: 6px;
  flex-shrink: 0;
}

.sl-dot.red {
  background: var(--red);
}

.sl-name {
  font-size: 13.5px;
  font-weight: 800;
  color: var(--ink);
}

.sl-name span {
  font-size: 11.5px;
  font-weight: 500;
  color: var(--gray);
  margin-left: 6px;
}

.sl-desc {
  font-size: 11.5px;
  color: var(--gray);
  margin-top: 3px;
}

/* CURRICULUM */
.curri-group {
  margin: 0 22px;
  background: var(--sky);
  border-radius: 10px;
  padding: 14px 0 16px;
}

.curri-scroll {
  display: flex;
  gap: 8px;
  padding: 0 14px;
  overflow-x: auto;
  scrollbar-width: none;
}

.curri-scroll::-webkit-scrollbar {
  display: none;
}

.curri-scroll .c-item {
  flex: 0 0 84px;
  background: #fff;
  border: 1.5px solid var(--line);
  border-radius: 6px;
  padding: 12px 10px;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  transition: background 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
}

.curri-scroll .c-item.is-active {
  background: var(--navy);
  border-color: var(--navy);
  transform: translateY(-2px);
}

.curri-scroll .c-item .idx {
  font-size: 20px;
  font-weight: 900;
  color: var(--point);
  letter-spacing: -1px;
  transition: color 0.3s ease;
}

.curri-scroll .c-item.is-active .idx {
  color: var(--point);
}

.curri-scroll .c-item .txt {
  margin-top: 6px;
  font-size: 12px;
  font-weight: 800;
  color: var(--ink);
  line-height: 1.3;
  transition: color 0.3s ease;
}

.curri-scroll .c-item.is-active .txt {
  color: #fff;
}

.curri-arrow {
  width: 12px;
  height: 12px;
  background: #fff;
  border-left: 1.5px solid var(--line);
  border-top: 1.5px solid var(--line);
  transform: rotate(45deg);
  margin: 8px 0 -7px 51px;
  position: relative;
  z-index: 2;
  transition: margin-left 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.curri-detail {
  margin: 0 14px 0;
  background: #fff;
  border: 1.5px solid var(--line);
  border-radius: 8px;
  padding: 16px 18px;
  font-size: 12.5px;
  color: var(--ink);
  line-height: 1.6;
  min-height: 66px;
  display: flex;
  align-items: center;
}

/* REGION */
.region-box {
  margin: 0 22px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 20px;
}

.region-box .list {
  font-size: 15px;
  font-weight: 800;
  line-height: 1.6;
  color: var(--ink);
  text-align: center;
}

.region-box .note {
  margin-top: 12px;
  font-size: 11px;
  color: var(--gray);
  border-top: 1px dashed var(--line);
  padding-top: 12px;
  text-align: center;
}

.area-map {
  margin: 0 22px 18px;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 10px 24px rgba(43,35,24,0.18);
}

.area-map svg {
  display: block;
  width: 100%;
  height: auto;
}

/* DISCOUNT */
.discount {
  margin: 0 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 16px 18px;
  background: #fff;
}

.discount .t {
  font-weight: 800;
  font-size: 14px;
}

.discount .s {
  font-size: 11px;
  color: var(--gray);
  margin-top: 3px;
}

.discount .badge {
  background: var(--red);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  padding: 6px 12px;
  border-radius: 4px;
}

/* FINAL CTA */
.final-cta {
  margin: 40px 22px 0;
  text-align: center;
}

.fc-eyebrow {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1px;
  color: var(--point);
  margin-bottom: 10px;
}

.final-cta h2 {
  font-size: 24px;
  font-weight: 900;
  line-height: 1.4;
  color: var(--ink);
  letter-spacing: -0.5px;
}

/* RESERVE */
.reserve {
  margin: 24px 22px 0;
  background: var(--navy);
  border-radius: 4px;
  padding: 26px 22px;
}

.reserve-option {
  text-align: center;
}

.ro-label {
  font-size: 12px;
  font-weight: 700;
  color: #c3cad6;
  margin-bottom: 10px;
}

.ro-phone {
  display: block;
  font-weight: 800;
  font-size: 26px;
  color: #fff;
  letter-spacing: -0.5px;
  text-decoration: none;
}

.ro-sub {
  font-size: 11px;
  color: #c3cad6;
  margin-top: 5px;
}

.reserve-divider {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 22px 0;
}

.reserve-divider::before,
.reserve-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: rgba(255,255,255,0.15);
}

.reserve-divider span {
  font-size: 11px;
  font-weight: 700;
  color: #7c8aa8;
}

.reserve .need {
  margin-top: 16px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 4px;
  padding: 14px 16px;
  text-align: left;
}

.reserve .need .t {
  font-size: 11px;
  color: #c3cad6;
  font-weight: 700;
  margin-bottom: 8px;
}

.reserve .need .items {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.reserve .need .items span {
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  color: #fff;
  font-size: 10.5px;
  padding: 5px 10px;
  border-radius: 4px;
}

.reserve-btn {
  display: block;
  width: 100%;
  margin-top: 14px;
  background: #fff;
  color: var(--navy);
  font-weight: 800;
  font-size: 14.5px;
  padding: 15px;
  border: none;
  border-radius: 4px;
  font-family: inherit;
  cursor: pointer;
}

footer {
  padding: 40px 22px 110px;
  text-align: center;
}

footer p {
  font-size: 12px;
  color: var(--gray);
  line-height: 1.7;
}

/* STICKY CTA */
.sticky-cta {
  position: fixed;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 420px;
  max-width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--navy);
  color: #fff;
  font-weight: 800;
  font-size: 15px;
  padding: 18px;
  padding-bottom: calc(18px + env(safe-area-inset-bottom));
  text-align: center;
  text-decoration: none;
  box-shadow: 0 -8px 24px rgba(0,0,0,0.15);
  z-index: 50;
}

/* BOOKING SHEET */
.booking-sheet {
  position: fixed;
  inset: 0;
  z-index: 100;
  visibility: hidden;
  pointer-events: none;
}

.booking-sheet.is-open {
  visibility: visible;
  pointer-events: auto;
}

.booking-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 14, 24, 0.6);
  opacity: 0;
  transition: opacity 0.2s ease;
}

.booking-sheet.is-open .booking-backdrop {
  opacity: 1;
}

.booking-panel {
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translate(-50%, 100%);
  width: 420px;
  max-width: 100%;
  max-height: 86vh;
  overflow-y: auto;
  background: #fff;
  border-radius: 20px 20px 0 0;
  padding: 22px 22px calc(22px + env(safe-area-inset-bottom));
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}

.booking-sheet.is-open .booking-panel {
  transform: translate(-50%, 0);
}

.booking-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}

.booking-title {
  font-size: 17px;
  font-weight: 800;
  color: var(--ink);
}

.booking-close {
  width: 30px;
  height: 30px;
  border: none;
  background: var(--sky);
  border-radius: 50%;
  font-size: 18px;
  line-height: 1;
  color: var(--gray);
  cursor: pointer;
}

.booking-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.bf-row {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.bf-label {
  font-size: 12px;
  font-weight: 700;
  color: var(--accent);
}

.bf-input {
  font-family: inherit;
  font-size: 14px;
  color: var(--ink);
  background: var(--sky);
  border: 1.5px solid transparent;
  border-radius: 6px;
  padding: 12px 14px;
}

.bf-input:focus {
  outline: none;
  border-color: var(--navy);
  background: #fff;
}

.bf-note {
  font-size: 11px;
  color: var(--gray);
  line-height: 1.6;
}

.bf-submit {
  display: block;
  width: 100%;
  font-family: inherit;
  background: var(--navy);
  color: #fff;
  font-weight: 800;
  font-size: 15px;
  padding: 16px;
  border: none;
  border-radius: 6px;
  margin-top: 4px;
  cursor: pointer;
}

.bf-submit:disabled {
  opacity: 0.6;
  cursor: default;
}

/* ============ PC / WIDE SCREEN ============ */
@media (min-width: 780px) {
  body {
    background:
      radial-gradient(ellipse 900px 600px at 50% -10%, rgba(21,42,82,0.12), transparent 60%),
      linear-gradient(180deg, #eef1f5 0%, #dcdcd6 100%);
    padding: 56px 24px;
    align-items: flex-start;
  }

  .page {
    border-radius: 20px;
    box-shadow: 0 30px 80px rgba(21,42,82,0.22);
  }

  .sticky-cta {
    border-radius: 0 0 20px 20px;
  }

  .booking-panel {
    border-radius: 20px;
    bottom: auto;
    top: 50%;
    transform: translate(-50%, -50%) scale(0.96);
    max-height: 82vh;
  }

  .booking-sheet.is-open .booking-panel {
    transform: translate(-50%, -50%) scale(1);
  }
}