* {
  box-sizing: border-box;
}

:root {
  --bg: #f5f6f8;
  --paper: #fffefe;
  --text: #151a28;
  --muted: #6b7280;
  --line: rgba(21, 26, 40, 0.09);
  --navy: #111827;
  --blue-gray: #5d6679;
  --cream: #f5f0e8;
  --soft: #eef0f4;
  --white: #ffffff;
  --shadow: 0 24px 70px rgba(21, 26, 40, 0.13);
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Pretendard", "Apple SD Gothic Neo", "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.95), transparent 34%),
    linear-gradient(180deg, #f9fafb 0%, #eceff4 100%);
}

a {
  color: inherit;
  text-decoration: none;
}

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

.page {
  width: 100%;
  max-width: 520px;
  margin: 0 auto;
  min-height: 100vh;
  background: var(--paper);
  box-shadow: 0 0 80px rgba(21, 26, 40, 0.10);
  overflow: hidden;
}

/* HERO */
.hero {
  position: relative;
  padding: 16px 16px 0;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 10%, rgba(255,255,255,0.95), transparent 34%),
    radial-gradient(circle at 90% 0%, rgba(226, 231, 240, 0.85), transparent 40%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 2;
  padding: 44px 18px 24px;
}

.hero-badge {
  display: inline-flex;
  padding: 9px 13px;
  border-radius: 999px;
  background: rgba(255,255,255,0.78);
  border: 1px solid var(--line);
  color: var(--blue-gray);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin: 0 0 18px;
}

.hero h1 {
  margin: 0;
  font-size: 45px;
  line-height: 1.07;
  letter-spacing: -2px;
}

.hero-desc {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.72;
  letter-spacing: -0.25px;
}

.hero-actions {
  display: flex;
  gap: 10px;
  margin-top: 24px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 52px;
  padding: 0 18px;
  border-radius: 999px;
  font-weight: 900;
  font-size: 15px;
  letter-spacing: -0.2px;
}

.hero-actions .btn {
  flex: 1;
}

.btn-primary {
  background: var(--navy);
  color: white;
  box-shadow: 0 16px 34px rgba(17, 24, 39, 0.22);
}

.btn-secondary {
  background: white;
  color: var(--navy);
  border: 1px solid var(--line);
}

.hero-image-card {
  position: relative;
  z-index: 2;
  margin-top: 18px;
  border-radius: 34px;
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid rgba(21, 26, 40, 0.08);
}

.hero-image-card img {
  aspect-ratio: 1 / 1.18;
  object-fit: cover;
}

/* QUICK */
.quick-section {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 9px;
  padding: 16px 18px 8px;
}

.quick-card {
  padding: 16px 10px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: #fffefd;
  text-align: center;
}

.quick-card span {
  display: block;
  margin-bottom: 7px;
  color: var(--blue-gray);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.1em;
}

.quick-card strong {
  display: block;
  font-size: 13px;
  letter-spacing: -0.2px;
}

/* COMMON SECTION */
.section {
  padding: 54px 24px;
  border-bottom: 1px solid rgba(21, 26, 40, 0.07);
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--blue-gray);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h2 {
  margin: 0;
  font-size: 31px;
  line-height: 1.22;
  letter-spacing: -1.4px;
}

.section-desc {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.75;
  letter-spacing: -0.3px;
}

.signature-box {
  margin-top: 28px;
  padding: 22px;
  border-radius: 28px;
  background: linear-gradient(135deg, #f1f3f7, #fffaf2);
  border: 1px solid rgba(21, 26, 40, 0.08);
}

.signature-box span {
  display: block;
  color: var(--blue-gray);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 8px;
}

.signature-box strong {
  display: block;
  font-size: 20px;
  letter-spacing: -0.7px;
}

.signature-box p {
  margin: 10px 0 0;
  color: var(--muted);
  line-height: 1.55;
  font-size: 14px;
}

/* CLASS */
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 18px;
  margin-bottom: 24px;
}

.pill {
  flex-shrink: 0;
  padding: 9px 12px;
  border-radius: 999px;
  background: #eef0f4;
  color: var(--blue-gray);
  font-size: 12px;
  font-weight: 900;
}

.class-grid {
  display: grid;
  gap: 14px;
}

.class-card {
  padding: 24px;
  border-radius: 28px;
  background: white;
  border: 1px solid var(--line);
  box-shadow: 0 16px 40px rgba(21, 26, 40, 0.08);
}

.class-card.featured {
  background: linear-gradient(135deg, #111827, #374151);
  color: white;
}

.class-number {
  display: inline-flex;
  margin-bottom: 18px;
  font-weight: 900;
  color: var(--blue-gray);
}

.class-card.featured .class-number {
  color: rgba(255,255,255,0.72);
}

.class-card h3 {
  margin: 0 0 10px;
  font-size: 24px;
  letter-spacing: -0.8px;
}

.class-card p {
  margin: 0 0 16px;
  color: var(--muted);
  line-height: 1.7;
  font-size: 15px;
}

.class-card.featured p {
  color: rgba(255,255,255,0.82);
}

.class-card strong {
  color: var(--blue-gray);
}

.class-card.featured strong {
  color: white;
}

/* SCHEDULE / PRICE */
.schedule-card,
.price-card {
  margin-top: 24px;
  border-radius: 30px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: white;
}

.schedule-row,
.price-row {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
  padding: 20px;
  border-bottom: 1px solid rgba(21, 26, 40, 0.07);
}

.schedule-row:last-child,
.price-row:last-child {
  border-bottom: 0;
}

.schedule-row span,
.price-row span {
  display: block;
  color: var(--blue-gray);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.schedule-row p,
.price-row p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}

.schedule-row strong,
.price-row strong {
  font-size: 17px;
  white-space: nowrap;
}

.notice-text {
  margin: 18px 0 0;
  padding: 18px;
  border-radius: 22px;
  background: #f4f5f7;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
}

/* CONSULT */
.consult-list {
  margin-top: 24px;
  display: grid;
  gap: 12px;
}

.consult-item {
  display: flex;
  gap: 14px;
  padding: 18px;
  border-radius: 24px;
  background: #fffefd;
  border: 1px solid var(--line);
}

.consult-item span {
  flex: 0 0 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--navy);
  color: white;
  font-size: 12px;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
}

.consult-item h3 {
  margin: 3px 0 6px;
  font-size: 17px;
}

.consult-item p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.55;
}

/* GUIDE */
.guide-list {
  margin-top: 24px;
  display: grid;
  gap: 12px;
}

.guide-item {
  display: flex;
  gap: 14px;
  padding: 18px;
  border-radius: 24px;
  background: #fffefd;
  border: 1px solid var(--line);
}

.guide-item span {
  flex: 0 0 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--navy);
  color: white;
  font-size: 12px;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
}

.guide-item p {
  margin: 5px 0 0;
  color: #4b5563;
  font-size: 15px;
  line-height: 1.55;
}

/* LOCATION */
.location-card {
  margin-top: 24px;
  border-radius: 32px;
  overflow: hidden;
  background: white;
  border: 1px solid var(--line);
  box-shadow: 0 18px 50px rgba(21, 26, 40, 0.10);
}

.map-placeholder {
  height: 180px;
  background:
    linear-gradient(135deg, rgba(93, 102, 121, 0.20), rgba(255, 255, 255, 0.72)),
    repeating-linear-gradient(45deg, #eef0f4 0 10px, #f9fafb 10px 20px);
  display: flex;
  align-items: center;
  justify-content: center;
}

.map-placeholder span {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: rgba(17, 24, 39, 0.92);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.location-info {
  padding: 24px;
}

.location-info h3 {
  margin: 0 0 8px;
  font-size: 24px;
  letter-spacing: -0.8px;
}

.location-info > p {
  margin: 0 0 20px;
  color: var(--muted);
  line-height: 1.55;
}

dl {
  margin: 0;
}

dl div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
  border-top: 1px solid rgba(21, 26, 40, 0.07);
}

dt {
  color: var(--blue-gray);
  font-size: 13px;
  font-weight: 900;
  white-space: nowrap;
}

dd {
  margin: 0;
  color: #4b5563;
  font-size: 14px;
  text-align: right;
  line-height: 1.4;
}

.btn-outline {
  width: 100%;
  background: var(--navy);
  color: white;
  margin-top: 20px;
}

/* CTA */
.final-cta {
  padding: 54px 24px 44px;
  background: linear-gradient(135deg, #111827, #374151);
  color: white;
}

.final-cta p {
  margin: 0 0 12px;
  color: rgba(255,255,255,0.72);
  font-weight: 800;
}

.final-cta h2 {
  color: white;
  font-size: 29px;
  margin-bottom: 24px;
}

.final-cta .btn-primary {
  background: white;
  color: var(--navy);
}

.wide {
  width: 100%;
}

.bottom-space {
  height: 92px;
}

/* FIXED NAV */
.fixed-nav {
  position: fixed;
  left: 50%;
  bottom: 16px;
  transform: translateX(-50%);
  z-index: 50;
  width: calc(100% - 28px);
  max-width: 492px;
  display: flex;
  gap: 10px;
  padding: 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.84);
  backdrop-filter: blur(18px);
  box-shadow: 0 18px 44px rgba(21, 26, 40, 0.22);
}

.fixed-btn {
  flex: 1;
  height: 50px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 15px;
}

.fixed-btn.secondary {
  background: #eef0f4;
  color: var(--navy);
}

.fixed-btn.primary {
  background: var(--navy);
  color: white;
}

/* RESPONSIVE */
@media (max-width: 390px) {
  .hero h1 {
    font-size: 39px;
  }

  .hero-actions {
    flex-direction: column;
  }

  .quick-section {
    grid-template-columns: 1fr;
  }

  h2 {
    font-size: 27px;
  }
}