/* ==========================================================================
   한빛태권도 성인반 입관 안내서 — page styles
   A4 landscape page canvas: 1123 × 794 px (96 dpi)
   Transcribed from the design handoff (high fidelity).
   ========================================================================== */

@font-face {
  font-family: 'Pretendard';
  font-weight: 45 920;
  font-style: normal;
  font-display: swap;
  src: url('/static/fonts/PretendardVariable.woff2') format('woff2-variations');
}

:root {
  --blue: #1c6fd8;
  --sky: #4fa9ee;
  --pale: #eaf4fd;
  --pale2: #f5f9fe;
  --navy: #0f2d55;
  --ink: #1d2633;
  --sub: #5b6676;
  --line: #d9e3ef;
  --circ: #cfe3f8;
  --cellA: #dcebfb;
  --ph: #eef3f9;
}

/* ---------- page canvas ---------- */

.page {
  font-family: 'Pretendard', -apple-system, BlinkMacSystemFont, 'Malgun Gothic', sans-serif;
  color: var(--ink);
  background: #fff;
  box-sizing: border-box;
  padding: 54px 64px 50px;
  position: relative;
  overflow: hidden;
  letter-spacing: -0.02em;
  word-break: keep-all;
  width: 1123px;
  height: 794px;
  flex: 0 0 auto;
}
.page *,
.page *::before,
.page *::after {
  box-sizing: border-box;
}
.page ::selection {
  background: var(--blue);
  color: #fff;
}

/* ---------- running header / page number ---------- */

.rh {
  position: absolute;
  top: 28px;
  left: 64px;
  right: 64px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: var(--sub);
  font-weight: 600;
}
.rh::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -9px;
  height: 1px;
  background: var(--line);
}
.rh b {
  color: var(--blue);
  font-weight: 700;
}

.pn {
  position: absolute;
  bottom: 24px;
  right: 64px;
  font-size: 12px;
  font-weight: 700;
  color: var(--blue);
}
.pn span {
  color: var(--sub);
  font-weight: 500;
  margin-left: 6px;
}

/* ---------- typography ---------- */

.eyebrow {
  font-size: 14px;
  font-weight: 700;
  color: var(--blue);
  letter-spacing: 0.02em;
  margin: 22px 0 10px;
}

h1.t {
  font-size: 38px;
  line-height: 1.28;
  font-weight: 800;
  margin: 0;
  color: var(--navy);
  letter-spacing: -0.035em;
}
h1.t em {
  font-style: normal;
  color: var(--blue);
}

.hl {
  background: var(--blue);
  color: #fff;
  padding: 0 8px;
  border-radius: 3px;
}

.lead {
  font-size: 15px;
  line-height: 1.7;
  color: var(--sub);
  margin: 14px 0 0;
  font-weight: 400;
}

.h3 {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 17px;
  font-weight: 800;
  color: var(--navy);
  margin: 0 0 14px;
}
.h3::before {
  content: '';
  width: 4px;
  height: 17px;
  background: var(--blue);
  flex: 0 0 auto;
}

.note {
  font-size: 12.5px;
  color: var(--sub);
  line-height: 1.6;
}

.tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  color: var(--blue);
  background: var(--pale);
  padding: 4px 10px;
  border-radius: 20px;
}

.box {
  background: var(--pale2);
  border: 1px solid var(--line);
  border-radius: 10px;
}

.circle {
  width: 112px;
  height: 112px;
  border-radius: 50%;
  background: var(--pale);
  border: 1.5px solid var(--circ);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-size: 15px;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.35;
}

/* ---------- photo slots ---------- */

.is {
  display: block;
  position: relative;
  overflow: hidden;
  background: var(--ph);
}
.is img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.is-ph {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
  text-align: center;
  font-size: 12.5px;
  font-weight: 600;
  color: #8fa3bb;
  line-height: 1.5;
  letter-spacing: -0.01em;
}

/* ---------- layout helpers ---------- */

.g2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 44px;
}
.row {
  display: flex;
  gap: 16px;
}

/* ---------- 01 cover ---------- */

.cover {
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.cover .l {
  padding: 70px 64px 56px;
  display: flex;
  flex-direction: column;
}
.cover .pill {
  align-self: flex-start;
  background: var(--blue);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  padding: 8px 18px;
  border-radius: 30px;
}
.cover .en {
  font-size: 14px;
  font-weight: 700;
  color: var(--sky);
  letter-spacing: 0.18em;
  margin-top: 30px;
}
.cover h1 {
  font-size: 62px;
  font-weight: 900;
  line-height: 1.14;
  margin: 10px 0 0;
  color: var(--navy);
  letter-spacing: -0.05em;
}
.cover h1 em {
  font-style: normal;
  color: var(--blue);
}
.cover .sub {
  font-size: 18px;
  color: var(--sub);
  margin-top: 20px;
  line-height: 1.6;
  font-weight: 500;
}
.cover .bar {
  width: 56px;
  height: 5px;
  background: var(--sky);
  margin-top: 28px;
}
.cover .logo {
  margin-top: auto;
  display: flex;
  align-items: center;
  gap: 14px;
}
.cover .mark {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--blue);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 20px;
  flex: 0 0 auto;
}
.cover .logo b {
  font-size: 22px;
  font-weight: 800;
  color: var(--navy);
  display: block;
}
.cover .logo span {
  font-size: 12.5px;
  color: var(--sub);
}
.cover .r {
  position: relative;
  background: var(--pale);
}
.cover .r .is {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.cover .r .band {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 96px;
  background: linear-gradient(90deg, var(--blue), var(--sky));
  color: #fff;
  display: flex;
  align-items: center;
  padding: 0 40px;
  font-size: 17px;
  font-weight: 700;
  gap: 18px;
}
.cover .r .band i {
  font-style: normal;
  opacity: 0.6;
  font-weight: 400;
}

/* ---------- 02 greeting ---------- */

.p-greeting .grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 44px;
  height: 100%;
  padding-top: 20px;
}
.p-greeting .circles {
  margin-top: auto;
  display: flex;
  gap: 16px;
  padding-bottom: 30px;
}
.p-greeting .ph-col {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding-bottom: 30px;
}
.p-greeting .ph-col .is {
  flex: 1;
  border-radius: 12px;
}
.p-greeting .sign {
  text-align: right;
  font-size: 15px;
  color: var(--sub);
}
.p-greeting .sign b {
  font-size: 20px;
  color: var(--navy);
  margin-left: 8px;
  font-weight: 800;
}

/* ---------- 03 master ---------- */

.p-master .grid {
  display: grid;
  grid-template-columns: 280px 1fr 1fr;
  gap: 36px;
  margin-top: 30px;
}
.p-master .photo {
  width: 280px;
  height: 340px;
  border-radius: 12px;
}
.p-master .meta {
  margin-top: 14px;
}
.p-master .name {
  font-size: 24px;
  font-weight: 800;
  color: var(--navy);
  margin-top: 8px;
}
.p-master .name span {
  font-size: 14px;
  color: var(--sub);
  font-weight: 500;
}
.cv {
  list-style: none;
  margin: 0;
  padding: 0;
}
.cv li {
  font-size: 15px;
  line-height: 1.5;
  padding: 9px 0 9px 16px;
  border-bottom: 1px dashed var(--line);
  position: relative;
  color: var(--ink);
}
.cv li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 17px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--sky);
}
.cv b {
  color: var(--navy);
}
.p-master .staff {
  display: flex;
  gap: 12px;
}
.p-master .staff .box {
  flex: 1;
  padding: 12px 14px;
}
.p-master .staff b {
  color: var(--navy);
  font-weight: 800;
}

/* ---------- 04 facility ---------- */

.p-facility .mosaic {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  grid-template-rows: 200px 200px;
  gap: 14px;
  margin-top: 24px;
}
.p-facility .mosaic .is {
  border-radius: 10px;
  min-height: 0;
}
.p-facility .mosaic .is:first-child {
  grid-row: span 2;
}
.p-facility .facts {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: 20px;
}
.fac {
  border-top: 2px solid var(--blue);
  padding-top: 10px;
}
.fac b {
  display: block;
  font-size: 20px;
  font-weight: 800;
  color: var(--navy);
}
.fac span {
  font-size: 13px;
  color: var(--sub);
}

/* ---------- 05 program ---------- */

.p-program .cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 28px;
}
.prog {
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
}
.prog .is {
  height: 150px;
}
.prog .pb {
  padding: 16px 18px 18px;
}
.prog h4 {
  font-size: 20px;
  font-weight: 800;
  color: var(--navy);
  margin: 10px 0;
}
.prog ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
.prog li {
  font-size: 14px;
  line-height: 1.95;
  color: var(--ink);
  padding-left: 14px;
  position: relative;
}
.prog li::before {
  content: '·';
  position: absolute;
  left: 2px;
  color: var(--blue);
  font-weight: 900;
}
.p-program .flowbox {
  margin-top: 20px;
  padding: 16px 22px;
  display: flex;
  align-items: center;
  gap: 24px;
}
.p-program .flowbox > b {
  color: var(--blue);
  font-size: 15px;
  white-space: nowrap;
  font-weight: 800;
}
.flow {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 600;
  color: var(--navy);
  flex: 1;
  justify-content: space-between;
}
.flow span {
  background: #fff;
  border: 1px solid var(--circ);
  padding: 7px 14px;
  border-radius: 20px;
}
.flow i {
  font-style: normal;
  color: var(--sky);
  font-weight: 800;
}

/* ---------- 06 timetable ---------- */

.tt {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0 6px;
  margin-top: 22px;
  font-size: 15px;
  table-layout: fixed;
}
.tt th {
  background: var(--navy);
  color: #fff;
  font-weight: 700;
  padding: 11px 0;
  font-size: 14px;
}
.tt th:first-child {
  border-radius: 8px 0 0 8px;
}
.tt th:last-child {
  border-radius: 0 8px 8px 0;
}
.tt td {
  padding: 13px 0;
  text-align: center;
}
.tt .k {
  font-weight: 800;
  color: var(--blue);
  width: 80px;
  background: var(--pale);
  border-radius: 8px 0 0 8px;
}
.tt .tm {
  font-weight: 600;
  color: var(--ink);
  width: 150px;
  background: var(--pale2);
  font-variant-numeric: tabular-nums;
}
.tt .c {
  font-weight: 700;
  border-left: 3px solid #fff;
}
.tt .c:last-child {
  border-radius: 0 8px 8px 0;
}
.tt .a {
  background: var(--cellA);
  color: var(--navy);
}
.tt .b {
  background: var(--pale);
  color: var(--navy);
}
.tt .d {
  background: var(--blue);
  color: #fff;
}
.tt .e {
  background: var(--sky);
  color: #fff;
}
.p-timetable .notes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 20px;
}
.p-timetable .notes .box {
  padding: 16px 18px;
}
.p-timetable .notes .h3 {
  margin-bottom: 6px;
  font-size: 15px;
}
.p-timetable .notes .note {
  font-size: 14px;
  color: var(--ink);
}

/* ---------- 07 fees ---------- */

.p-fees .cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 28px;
}
.fee {
  border: 1.5px solid var(--line);
  border-radius: 14px;
  padding: 22px 24px;
}
.fee .fh {
  font-size: 16px;
  font-weight: 700;
  color: var(--sub);
  display: flex;
  align-items: center;
  gap: 8px;
}
.fee .fh span {
  font-size: 11.5px;
  background: #fff;
  color: var(--blue);
  padding: 3px 9px;
  border-radius: 12px;
  font-weight: 800;
}
.fee .fp {
  margin-top: 10px;
  font-size: 18px;
  font-weight: 700;
  color: var(--navy);
  font-variant-numeric: tabular-nums;
}
.fee .fp b {
  font-size: 40px;
  font-weight: 900;
  letter-spacing: -0.03em;
  margin-right: 2px;
}
.fee .fp small {
  font-size: 14px;
  color: var(--sub);
  font-weight: 500;
  margin-left: 6px;
}
.fee .fd {
  margin-top: 10px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  font-size: 14px;
  color: var(--sub);
}
.fee.best {
  background: var(--blue);
  border-color: var(--blue);
}
.fee.best .fh,
.fee.best .fp,
.fee.best .fp small,
.fee.best .fd {
  color: #fff;
}
.fee.best .fd {
  border-top-color: rgba(255, 255, 255, 0.3);
}
.p-fees .lower {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 28px;
  margin-top: 26px;
}
.ft {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
}
.ft td {
  padding: 11px 4px;
  border-bottom: 1px solid var(--line);
}
.ft td:last-child {
  text-align: right;
  font-weight: 700;
  color: var(--navy);
}
.ft tr:first-child td {
  border-top: 2px solid var(--navy);
}
.disc {
  display: flex;
  gap: 14px;
  align-items: center;
  padding: 11px 16px;
  background: var(--pale);
  border-radius: 8px;
  margin-bottom: 8px;
  font-size: 14.5px;
}
.disc b {
  color: var(--blue);
  min-width: 82px;
  font-weight: 800;
}

/* ---------- 08 growth ---------- */

.belts {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0;
  margin-top: 30px;
  position: relative;
}
.belts::before {
  content: '';
  position: absolute;
  left: 8%;
  right: 8%;
  top: 22px;
  height: 2px;
  background: var(--line);
}
.belts > div {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  position: relative;
}
.belts i {
  width: 70px;
  height: 44px;
  border-radius: 8px;
  display: block;
  box-shadow: 0 2px 0 rgba(15, 45, 85, 0.08);
}
.belts b {
  font-size: 16px;
  font-weight: 800;
  color: var(--navy);
  margin-top: 4px;
}
.belts span {
  font-size: 13px;
  color: var(--sub);
}
.yr {
  display: grid;
  grid-template-columns: repeat(9, 1fr);
  gap: 8px;
}
.yr > div {
  background: var(--pale2);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 14px 8px;
  text-align: center;
  font-size: 13px;
  color: var(--ink);
  line-height: 1.4;
}
.yr b {
  display: block;
  font-size: 18px;
  color: var(--blue);
  font-weight: 800;
  margin-bottom: 4px;
}
.p-growth .photos {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-top: 18px;
}
.p-growth .photos .is {
  height: 190px;
  border-radius: 10px;
}

/* ---------- 09 join ---------- */

.steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
  margin-top: 30px;
}
.steps > div {
  position: relative;
  background: var(--pale);
  border-radius: 12px;
  padding: 20px 18px;
}
.steps > div:not(:last-child)::after {
  content: '';
  position: absolute;
  right: -10px;
  top: 50%;
  width: 8px;
  height: 8px;
  border-top: 2px solid var(--sky);
  border-right: 2px solid var(--sky);
  transform: translateY(-50%) rotate(45deg);
}
.steps em {
  font-style: normal;
  font-size: 13px;
  font-weight: 800;
  color: #fff;
  background: var(--blue);
  padding: 3px 9px;
  border-radius: 12px;
}
.steps b {
  display: block;
  font-size: 19px;
  font-weight: 800;
  color: var(--navy);
  margin: 12px 0 6px;
}
.steps span {
  font-size: 13.5px;
  color: var(--sub);
  line-height: 1.55;
}
.p-join .lower {
  display: grid;
  grid-template-columns: 1fr 1fr 300px;
  gap: 20px;
  margin-top: 26px;
}
.p-join .lower .box {
  padding: 20px 24px;
}
.p-join .lower .is {
  height: 250px;
  border-radius: 10px;
}
.chk {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}
.chk li {
  font-size: 14.5px;
  padding-left: 24px;
  position: relative;
}
.chk li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 2px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--blue);
}
.chk li::after {
  content: '';
  position: absolute;
  left: 5px;
  top: 6px;
  width: 6px;
  height: 3px;
  border-left: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(-45deg);
}

/* ---------- 10 faq ---------- */

.p-faq .grid {
  display: grid;
  grid-template-columns: 1.45fr 1fr;
  gap: 40px;
  height: 100%;
  padding-top: 2px;
}
.faq {
  margin-top: 20px;
}
.faq > div {
  padding: 11px 0;
  border-bottom: 1px solid var(--line);
}
.faq b {
  display: flex;
  gap: 10px;
  font-size: 15.5px;
  color: var(--navy);
  font-weight: 800;
}
.faq b::before {
  content: 'Q';
  color: var(--blue);
}
.faq p {
  margin: 5px 0 0 22px;
  font-size: 13.5px;
  color: var(--sub);
  line-height: 1.55;
}
.contact {
  background: linear-gradient(160deg, var(--blue), #2f8be6 60%, var(--sky));
  color: #fff;
  border-radius: 16px;
  padding: 30px 30px 28px;
  display: flex;
  flex-direction: column;
  margin: 20px 0 26px;
}
.contact .kicker {
  font-size: 14px;
  font-weight: 700;
  opacity: 0.8;
}
.contact .headline {
  font-size: 30px;
  font-weight: 900;
  line-height: 1.3;
  margin-top: 10px;
  letter-spacing: -0.03em;
}
.contact .tel {
  font-size: 34px;
  font-weight: 900;
  margin: 20px 0 18px;
  padding: 12px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.35);
  border-bottom: 1px solid rgba(255, 255, 255, 0.35);
  font-variant-numeric: tabular-nums;
}
.contact a.tel-link {
  color: inherit;
  text-decoration: none;
}
.contact .ci {
  font-size: 14px;
  margin-bottom: 8px;
  display: flex;
  gap: 12px;
}
.contact .ci span {
  opacity: 0.7;
  min-width: 44px;
}
.contact .qrt {
  display: flex;
  gap: 14px;
  align-items: flex-end;
  margin-top: auto;
}
.contact .qr {
  width: 92px;
  height: 92px;
  border-radius: 8px;
  background: #fff;
  flex: 0 0 auto;
}
.contact .qrcap {
  font-size: 13px;
  opacity: 0.85;
  line-height: 1.5;
}
