:root {
  --ink: #17212b;
  --muted: #667382;
  --line: #dbe3ea;
  --navy: #173954;
  --navy-2: #0f2a40;
  --teal: #2b8d8b;
  --gold: #b99155;
  --soft: #f4f7f8;
  --white: #ffffff;
  --shadow: 0 24px 70px rgba(18, 39, 58, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: Arial, "Noto Sans KR", sans-serif;
  line-height: 1.65;
}

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

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

.topbar {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(20px, 5vw, 72px);
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid rgba(219, 227, 234, 0.9);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--navy-2);
  font-weight: 800;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  color: white;
  background: var(--navy);
  border-radius: 6px;
  font-weight: 900;
}

nav {
  display: flex;
  align-items: center;
  gap: 20px;
  color: var(--muted);
  font-size: 15px;
}

.nav-button {
  padding: 10px 15px;
  color: white;
  background: var(--navy);
  border-radius: 6px;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(360px, 1.05fr);
  gap: clamp(28px, 5vw, 68px);
  align-items: center;
  min-height: calc(100vh - 78px);
  padding: clamp(48px, 7vw, 92px) clamp(20px, 5vw, 72px) 34px;
  background:
    linear-gradient(90deg, rgba(244, 247, 248, 0.95), rgba(244, 247, 248, 0.55)),
    linear-gradient(135deg, #ffffff, #eaf0f3);
}

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

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 760px;
  margin-bottom: 22px;
  font-size: clamp(36px, 5.2vw, 64px);
  line-height: 1.12;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(28px, 3.2vw, 44px);
  line-height: 1.2;
}

h3 {
  margin-bottom: 10px;
  font-size: 21px;
  line-height: 1.35;
}

.lead {
  max-width: 680px;
  color: var(--muted);
  font-size: 20px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 32px 0;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 18px;
  border-radius: 6px;
  font-weight: 800;
}

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

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

.hero-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  max-width: 560px;
  margin: 0;
}

.hero-facts div {
  padding: 16px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.hero-facts dt {
  color: var(--navy);
  font-size: 22px;
  font-weight: 900;
}

.hero-facts dd {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.hero-media {
  position: relative;
  margin: 0;
}

.hero-media::before {
  position: absolute;
  inset: 24px -18px -18px 34px;
  content: "";
  background: var(--navy);
  border-radius: 8px;
}

.hero-media img {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.alert-band {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 16px;
  max-width: 1160px;
  margin: 26px auto 0;
  padding: 18px 22px;
  color: #534324;
  background: #fff8e8;
  border: 1px solid #ead7a8;
  border-radius: 8px;
}

.alert-band p {
  margin-bottom: 0;
}

.section {
  padding: clamp(64px, 8vw, 104px) clamp(20px, 5vw, 72px);
}

.section.muted,
.muted {
  background: var(--soft);
}

.section-head {
  max-width: 1120px;
  margin: 0 auto 34px;
}

.section-head p:not(.eyebrow) {
  max-width: 760px;
  color: var(--muted);
  font-size: 18px;
}

.section-head.compact {
  margin-bottom: 0;
}

.program-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  max-width: 1120px;
  margin: 0 auto;
}

.program-card {
  min-height: 300px;
  padding: 26px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.card-index {
  display: block;
  margin-bottom: 58px;
  color: var(--gold);
  font-weight: 900;
}

.program-card p,
.steps p,
.assurance-grid p,
.doctor-panel p,
.faq-list p {
  color: var(--muted);
}

.split {
  display: grid;
  grid-template-columns: minmax(260px, 0.75fr) minmax(0, 1.25fr);
  gap: clamp(24px, 5vw, 70px);
  align-items: start;
}

.steps {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.steps li {
  display: grid;
  grid-template-columns: 70px 1fr;
  gap: 18px;
  padding: 24px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.steps span {
  color: var(--gold);
  font-size: 20px;
  font-weight: 900;
}

.steps p {
  margin-bottom: 0;
}

.assurance-grid,
.doctor-panel,
.faq-list {
  max-width: 1120px;
  margin: 0 auto;
}

.assurance-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.assurance-grid div {
  padding: 28px 0;
  border-top: 2px solid var(--navy);
}

.doctor-panel {
  display: grid;
  grid-template-columns: 1fr 0.8fr;
  gap: 40px;
  align-items: center;
  padding: clamp(32px, 5vw, 54px);
  color: white;
  background: var(--navy-2);
  border-radius: 8px;
}

.doctor-panel p,
.doctor-panel .eyebrow {
  color: #d7e5ee;
}

.credentials {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.credentials li {
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
}

.faq-list {
  display: grid;
  gap: 12px;
}

details {
  padding: 20px 22px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
}

summary {
  cursor: pointer;
  color: var(--navy);
  font-weight: 900;
}

details p {
  margin: 14px 0 0;
}

.booking {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(24px, 5vw, 70px);
  align-items: start;
  padding: clamp(54px, 7vw, 86px) clamp(20px, 5vw, 72px);
  color: white;
  background: linear-gradient(135deg, var(--navy-2), #21465f);
}

.booking p,
.booking .eyebrow {
  color: #d7e5ee;
}

.booking-form {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.booking-form label {
  display: grid;
  gap: 8px;
  font-weight: 800;
}

.booking-form label:nth-child(3),
.booking-form button {
  grid-column: 1 / -1;
}

input,
select {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  color: var(--ink);
  background: white;
  border: 1px solid transparent;
  border-radius: 6px;
  font: inherit;
}

.form-button,
button {
  min-height: 52px;
  color: var(--navy-2);
  background: white;
  border: 0;
  border-radius: 6px;
  font: inherit;
  font-weight: 900;
  cursor: pointer;
}

.form-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 30px clamp(20px, 5vw, 72px);
  color: #d6dee5;
  background: #0d1c28;
}

.footer p {
  margin-bottom: 0;
  color: #b8c5ce;
}

@media (max-width: 1020px) {
  .topbar {
    position: static;
    align-items: flex-start;
    flex-direction: column;
  }

  nav {
    flex-wrap: wrap;
  }

  .hero,
  .split,
  .doctor-panel,
  .booking {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: 0;
  }

  .program-grid,
  .assurance-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  .hero-facts,
  .program-grid,
  .assurance-grid,
  .booking-form,
  .alert-band {
    grid-template-columns: 1fr;
  }

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

  .hero-media::before {
    inset: 14px -8px -10px 18px;
  }

  .footer {
    flex-direction: column;
  }
}
