/* ==========================================================================
   AILO SmallBiz S18 — 한빛태권도 (태권도장)
   원형: 키즈 친화 블록을 단정한 도장 사이트로 정리 — 흰 카드·옅은 면·1px 선, 띠 단계 계단·시간표·차량 노선도는 유지
   타이포: Pretendard 중심, Do Hyeon 은 로고·히어로 제목 1곳만 / 컬러: 도복 블루 1색 + 태극 레드(오늘·배지 같은 작은 표시만) + 무채색
   띠 색(노랑·초록·빨강·검정)은 띠 그림에만 쓴다.
   (2026-11 고도화: 3px 잉크 테두리·오프셋 그림자·퍼즐매트 배경·블루/레드/옐로/그린 원색 블록·Baloo 2 숫자 정리)
   ========================================================================== */

:root {
  --ailo-bg: #ffffff;
  --ailo-fg: #16213a;
  --ailo-muted: #4e5a72;
  --ailo-line: #e3e8f1;
  --ailo-accent: #1f4aa0;
  --ailo-header-h: 78px;

  --s18-ink: #16213a;
  --s18-blue: #1f4aa0;
  --s18-blue-dk: #173a80;
  --s18-blue-lt: #eef3fb;
  --s18-red: #d63a46;
  --s18-yellow: #f5c63c;      /* 띠·차량 아이콘 전용 */
  --s18-green: #2a9d6f;       /* 띠 전용 */
  --s18-soft: #f5f7fb;
  --s18-head: "Do Hyeon", var(--ailo-font);
  --s18-sec: clamp(72px, 8vw, 120px);
  --s18-r: 20px;
  --s18-sh: 0 16px 36px -22px rgba(22, 33, 58, .35);
}

body { background: var(--ailo-bg); color: var(--ailo-fg); font-size: 16px; letter-spacing: -.01em; word-break: keep-all; }
::selection { background: var(--s18-blue-lt); color: var(--s18-ink); }

.sec { padding-block: var(--s18-sec); position: relative; }
.h2 { font-weight: 800; font-size: clamp(30px, 3.4vw, 44px); line-height: 1.25; letter-spacing: -.03em; }
.h2 em { font-style: normal; color: var(--s18-blue); }
.sec-hd { margin-bottom: clamp(28px, 3.5vw, 48px); }
.sec-hd--row { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; flex-wrap: wrap; }
.sec-hd__sub { margin-top: 12px; color: var(--ailo-muted); font-size: 17px; }
.tag {
  display: inline-block; font-weight: 700; font-size: 14px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--s18-blue); margin-bottom: 12px;
}
.tag--blue, .tag--red, .tag--yellow { color: var(--s18-blue); background: none; }

/* ---------- Block primitive ---------- */
.blk { border-radius: var(--s18-r); background: #fff; border: 1px solid var(--ailo-line); }
.blk--blue { background: var(--s18-blue); border-color: var(--s18-blue); color: #fff; }
.blk--red, .blk--yellow, .blk--green, .blk--sky { background: var(--s18-blue-lt); border-color: transparent; }
.blk--white { background: #fff; }

/* ---------- Buttons ---------- */
.kbtn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 50px; padding: 0 22px;
  font-size: 16px; font-weight: 700; border: 1px solid var(--ailo-line); border-radius: 12px;
  background: #fff; color: var(--s18-ink); transition: background-color .2s, color .2s, border-color .2s;
}
.kbtn:hover { border-color: var(--s18-ink); color: var(--s18-ink); }
.kbtn--red { background: var(--s18-blue); border-color: var(--s18-blue); color: #fff; }
.kbtn--red:hover { background: var(--s18-blue-dk); border-color: var(--s18-blue-dk); color: #fff; }
.kbtn--white { background: #fff; }
.kbtn--sm { height: 44px; padding: 0 16px; font-size: 15px; }
.kbtn--lg { height: 56px; padding: 0 28px; font-size: 17px; }
.kbtn--block { width: 100%; }
.kbtn--kakao, .kbtn--naver { background: #fff; color: var(--s18-ink); border-color: #fff; box-shadow: 0 4px 12px -6px rgba(0, 0, 0, .2); }
.kbtn--naver:hover, .kbtn--kakao:hover { color: var(--s18-ink); border-color: var(--s18-ink); }
.hero__main .kbtn--white { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .45); }
.hero__main .kbtn--white:hover { border-color: #fff; }
.hero__main .kbtn--red { background: #fff; border-color: #fff; color: var(--s18-blue-dk); }
.hero__main .kbtn--red:hover { background: var(--s18-blue-lt); color: var(--s18-blue-dk); }

/* ---------- Header ---------- */
.hd { position: fixed; inset: 0 0 auto; z-index: 100; height: var(--ailo-header-h); background: rgba(255, 255, 255, .96); border-bottom: 1px solid var(--ailo-line); backdrop-filter: blur(10px); transition: box-shadow .25s; }
.hd.is-scrolled { box-shadow: 0 6px 20px -14px rgba(22, 33, 58, .3); }
.hd__in { height: 100%; max-width: 1400px; margin-inline: auto; padding-inline: var(--ailo-gutter); display: flex; align-items: center; gap: 22px; }
.logo { display: inline-flex; align-items: center; gap: 10px; }
.logo__mark { width: 40px; height: 40px; }
.logo__t b { display: block; font-family: var(--s18-head); font-weight: 400; font-size: 26px; line-height: 1; }
.logo__t small { font-weight: 700; font-size: 11px; letter-spacing: .16em; color: var(--s18-blue); }
.hd__nav { display: flex; gap: 2px; margin-inline: auto; }
.hd__nav a { font-size: 16px; font-weight: 600; padding: 10px 14px; border-radius: 10px; transition: background-color .2s, color .2s; }
.hd__nav a:hover, .hd__nav a:focus-visible { background: var(--s18-blue-lt); color: var(--s18-blue); }
.hd__cta { display: flex; gap: 8px; }

/* ---------- Mobile nav ---------- */
.mnav { background: #fff; }
.mnav__in { min-height: 100%; padding: calc(var(--ailo-header-h) + 24px) var(--ailo-gutter) 120px; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; align-content: start; }
.mnav__in a:not(.mnav__tel) { font-size: 18px; font-weight: 700; padding: 22px 12px; border-radius: 16px; background: var(--s18-soft); text-align: center; }
.mnav__in .b-r { background: var(--s18-blue); color: #fff; }
.mnav__in .b-k { background: var(--s18-ink); color: #fff; }
.mnav__tel { grid-column: 1 / -1; text-align: center; color: var(--s18-blue); font-weight: 800; font-size: 24px; margin-top: 16px; font-variant-numeric: tabular-nums; }

/* ---------- Hero ---------- */
.hero { padding-top: calc(var(--ailo-header-h) + clamp(24px, 3vw, 48px)); padding-bottom: clamp(40px, 6vw, 72px); }
.hero__grid { display: grid; grid-template-columns: 1.35fr 1fr; grid-template-rows: auto auto; gap: 16px; }
.hero__main { position: relative; overflow: hidden; padding: clamp(30px, 4.5vw, 64px); grid-row: 1; border-radius: 28px; }
.hero__main::before {
  content: ""; position: absolute; right: -80px; bottom: -80px; width: 300px; height: 300px; border-radius: 50%;
  border: 48px solid rgba(255, 255, 255, .06);
}
.hero__chip { display: inline-flex; align-items: center; gap: 10px; background: rgba(255, 255, 255, .12); color: #fff; border-radius: 999px; padding: 8px 16px 8px 12px; font-size: 14px; margin-bottom: 24px; }
.hero__chip b { font-weight: 700; font-size: 15px; }
.hero__chip small { color: rgba(255, 255, 255, .78); font-size: 14px; }
[data-open-status] > i { width: 8px; height: 8px; border-radius: 50%; background: #a6aec2; flex: none; }
[data-open-status].is-open > i { background: #4ade80; box-shadow: 0 0 0 4px rgba(74, 222, 128, .22); }
.hero__title { font-family: var(--s18-head); font-weight: 400; font-size: clamp(46px, 6vw, 84px); line-height: 1.1; }
.hero__title span { color: #ffd76a; }
.hero__lead { margin-top: 22px; font-size: 18px; line-height: 1.7; color: rgba(255, 255, 255, .86); }
.hero__btns { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 32px; position: relative; z-index: 1; }
.hero__kiap {
  position: absolute; right: clamp(20px, 4vw, 48px); top: clamp(20px, 3vw, 40px); font-weight: 800; font-size: 22px;
  color: var(--s18-red); background: #fff; border-radius: 50%; width: 72px; height: 72px; display: grid; place-items: center;
}
.hero__photo { position: relative; margin: 0; overflow: hidden; grid-row: 1 / span 2; grid-column: 2; min-height: 380px; border: 0; border-radius: 28px; background: var(--s18-soft); }
.hero__photo img { height: 100%; }
.hero__photo figcaption { position: absolute; left: 20px; bottom: 20px; background: rgba(255, 255, 255, .95); border-radius: 999px; padding: 8px 14px; font-weight: 700; font-size: 14px; }
.hero__stats { grid-column: 1; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.hero__stats li { padding: 22px 24px; display: flex; flex-direction: column; background: var(--s18-soft); border: 0; }
.hero__stats b { font-weight: 800; font-size: clamp(32px, 3.2vw, 44px); line-height: 1; color: var(--s18-blue); letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.hero__stats b small { font-weight: 700; font-size: .45em; margin-left: 2px; color: var(--s18-ink); }
.hero__stats span:not([data-count]) { font-weight: 500; font-size: 15px; margin-top: 8px; color: var(--ailo-muted); }

/* ---------- About ---------- */
.about__grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 20px; align-items: stretch; }
.about__msg { padding: clamp(28px, 4vw, 52px); }
.about__msg .h2 { font-size: clamp(26px, 2.8vw, 36px); }
.about__msg .h2 em { color: var(--s18-blue); }
.about__msg > p:not(.tag):not(.about__sign) { margin-top: 18px; font-size: 17px; line-height: 1.8; color: var(--ailo-muted); }
.about__sign { margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--ailo-line); }
.about__sign b { font-weight: 800; font-size: 20px; margin-inline: 4px 10px; }
.about__sign span { font-size: 14px; color: var(--ailo-muted); }
.about__feats { display: grid; gap: 12px; }
.about__feats li { padding: 22px 24px; display: grid; grid-template-columns: 52px 1fr; column-gap: 16px; align-items: center; }
.about__feats .ico { grid-row: span 2; width: 52px; height: 52px; border-radius: 14px; background: #fff; display: grid; place-items: center; font-size: 20px; color: var(--s18-blue); }
.about__feats h3 { font-weight: 700; font-size: 18px; }
.about__feats p { font-size: 15px; color: var(--ailo-muted); }

/* ---------- Belt ladder ---------- */
.belts { background: var(--s18-soft); }
.ladder { display: grid; grid-template-columns: repeat(7, 1fr); align-items: end; gap: 10px; min-height: 380px; }
.step {
  position: relative; display: flex; flex-direction: column; align-items: center; justify-content: flex-start; gap: 6px; text-align: center;
  padding: 22px 8px 16px; border-radius: 16px 16px 0 0; background: #fff; transition: transform .2s;
}
.step:hover { transform: translateY(-6px); }
.s1 { height: 130px; } .s2 { height: 170px; } .s3 { height: 210px; } .s4 { height: 250px; } .s5 { height: 290px; } .s6 { height: 330px; }
.s7 { height: 370px; background: var(--s18-ink); color: #fff; }
.step b { font-weight: 700; font-size: 17px; margin-top: 10px; }
.step small { font-size: 13px; font-weight: 500; opacity: .8; }
.step > i { position: absolute; bottom: 18px; font-size: 24px; color: var(--s18-yellow); }
.belt { position: relative; isolation: isolate; width: 80%; height: 14px; border-radius: 3px; box-shadow: inset 0 0 0 1px rgba(22, 33, 58, .2); }
.belt::before { content: ""; position: absolute; left: 50%; top: 50%; width: 18px; height: 20px; transform: translate(-50%, -50%); background: inherit; border-radius: 3px; box-shadow: inset 0 0 0 1px rgba(22, 33, 58, .25); }
.belt::after {
  content: ""; position: absolute; left: 50%; top: calc(100% + 3px); width: 22px; height: 14px; margin-left: -11px; z-index: -1;
  border-radius: 0 0 3px 3px; background: linear-gradient(90deg, var(--bc) 0 42%, rgba(22, 33, 58, .35) 42% 58%, var(--bc) 58%);
  transform: perspective(40px) rotateX(-18deg); transform-origin: top; box-shadow: inset 0 0 0 1px rgba(22, 33, 58, .18);
}
.belt--black::after { background: linear-gradient(90deg, #111 0 42%, #555 42% 58%, #111 58%); }
.belt--poom::after { background: linear-gradient(90deg, var(--s18-red) 0 42%, #555 42% 58%, #111 58%); }
.belt--white { background: #fff; --bc: #fff; }
.belt--yellow { background: var(--s18-yellow); --bc: var(--s18-yellow); }
.belt--green { background: var(--s18-green); --bc: var(--s18-green); }
.belt--blue { background: var(--s18-blue); --bc: var(--s18-blue); }
.belt--red { background: var(--s18-red); --bc: var(--s18-red); }
.belt--poom { background: linear-gradient(180deg, var(--s18-red) 50%, #111 50%); --bc: #111; }
.belt--black { background: #111; --bc: #111; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .4); }
.belt--black::before { box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .4); }

/* ---------- Program ---------- */
.plans { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; align-items: stretch; }
.plan { position: relative; padding: 28px 24px 24px; display: flex; flex-direction: column; transition: box-shadow .25s; }
.plan:hover { box-shadow: var(--s18-sh); }
.plan--hot { background: #fff; border: 2px solid var(--s18-blue); }
.plan__age { display: inline-block; align-self: flex-start; font-weight: 700; font-size: 13px; padding: 4px 10px; border-radius: 999px; background: var(--s18-blue-lt); color: var(--s18-blue); }
.blk--blue .plan__age { background: rgba(255, 255, 255, .16); color: #fff; }
.plan h3 { font-weight: 800; font-size: 24px; letter-spacing: -.02em; margin: 12px 0 14px; }
.plan ul { display: grid; gap: 8px; font-size: 15px; flex: 1; }
.plan li { padding-left: 20px; position: relative; }
.plan li::before { content: ""; position: absolute; left: 2px; top: .62em; width: 6px; height: 6px; background: var(--s18-blue); border-radius: 50%; }
.blk--blue.plan li::before { background: #fff; }
.plan__price { margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--ailo-line); font-weight: 800; font-size: 28px; line-height: 1.1; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.blk--blue .plan__price { border-color: rgba(255, 255, 255, .2); }
.plan__price small { font-weight: 600; font-size: 14px; margin-inline: 2px; }
.plan__badge { position: absolute; top: -13px; right: 18px; font-size: 13px; font-weight: 800; padding: 5px 12px; background: var(--s18-red); color: #fff; border-radius: 999px; }
.perks { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 24px; }
.perks li { display: flex; gap: 12px; align-items: center; padding: 16px 18px; background: var(--s18-soft); border-radius: 14px; font-size: 15px; }
.perks i { font-size: 18px; color: var(--s18-blue); width: 24px; text-align: center; }
.perks b { color: var(--s18-blue); }

/* ---------- Timetable ---------- */
.tt { background: var(--s18-soft); }
.legend { display: flex; flex-wrap: wrap; gap: 8px 16px; font-weight: 500; font-size: 14px; }
.legend li { display: inline-flex; align-items: center; gap: 6px; }
.legend i { width: 14px; height: 14px; border-radius: 4px; }
.c-kid { background: #e9eef8; }
.c-low { background: #d8e3f6; }
.c-high { background: #b9cdef; }
.c-teen { background: #2c3e66; color: #fff; }
.c-demo { background: var(--s18-red); color: #fff; }
.tt__scroll { overflow-x: auto; border-radius: var(--s18-r); background: #fff; border: 1px solid var(--ailo-line); }
.tt__tbl { width: 100%; min-width: 720px; border-collapse: separate; border-spacing: 0; }
.tt__tbl th, .tt__tbl td { padding: 8px; text-align: center; border-right: 1px solid var(--ailo-line); border-bottom: 1px solid var(--ailo-line); }
.tt__tbl tr > *:last-child { border-right: 0; }
.tt__tbl tbody tr:last-child > * { border-bottom: 0; }
.tt__tbl thead th { background: var(--s18-ink); color: #fff; font-weight: 700; font-size: 16px; padding: 14px 8px; border-color: rgba(255, 255, 255, .12); }
.tt__tbl thead th.is-today { background: var(--s18-blue); }
.tt__tbl tbody th { font-weight: 700; font-size: 15px; width: 90px; background: var(--s18-soft); font-variant-numeric: tabular-nums; }
.tt__tbl td span { display: block; padding: 10px 6px; border-radius: 8px; font-weight: 600; font-size: 14px; }
.tt__note { margin-top: 18px; font-size: 15px; color: var(--ailo-muted); }
.tt__note i { color: var(--s18-blue); }

/* ---------- Bus ---------- */
.routes { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.routes button {
  display: inline-flex; align-items: center; gap: 10px; padding: 8px 18px 8px 8px; background: #fff; border: 1px solid var(--ailo-line); border-radius: 999px;
  font-size: 16px; font-weight: 700; color: var(--s18-ink); transition: background-color .2s, color .2s, border-color .2s;
}
.routes button b { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; font-size: 14px; color: #fff; background: var(--s18-blue); }
.routes button + button b { background: var(--s18-ink); }
.routes button[aria-selected="true"] { background: var(--s18-ink); border-color: var(--s18-ink); color: #fff; }
.routes button[aria-selected="true"] b { background: #fff; color: var(--s18-ink); }
.route { padding: clamp(26px, 4vw, 48px) clamp(18px, 3vw, 40px); }
.line { --lc: var(--s18-blue); position: relative; display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; padding-top: 58px; }
.line--b { --lc: var(--s18-ink); }
.line::before { content: ""; position: absolute; left: 10%; right: 10%; top: 22px; height: 6px; background: var(--lc); border-radius: 999px; opacity: .9; }
.line::after {
  content: "\f5b6"; font-family: "Font Awesome 6 Free"; font-weight: 900; position: absolute; top: 0; left: 10%;
  font-size: 22px; color: var(--s18-yellow); animation: s18-drive 7s ease-in-out infinite;
}
@keyframes s18-drive { 0% { left: 8%; } 80%, 100% { left: calc(90% - 30px); } }
.line li { position: relative; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 4px; }
.line li::before { content: ""; position: absolute; top: -45px; width: 22px; height: 22px; border-radius: 50%; background: #fff; border: 4px solid var(--lc); }
.line li:nth-child(4)::before { background: var(--lc); width: 28px; height: 28px; top: -48px; box-shadow: 0 0 0 5px var(--s18-blue-lt); }
.line time { font-weight: 800; font-size: 20px; color: var(--lc); line-height: 1; font-variant-numeric: tabular-nums; }
.line b { font-weight: 700; font-size: 16px; }
.line small { font-size: 13px; color: var(--ailo-muted); }
.route__car { margin-top: 28px; padding-top: 18px; border-top: 1px solid var(--ailo-line); font-weight: 600; display: flex; align-items: center; gap: 10px; }
.route__car i { color: var(--s18-blue); font-size: 18px; }

/* ---------- Gallery ---------- */
.gal { background: var(--s18-soft); }
.gal__grid { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: clamp(150px, 16vw, 230px); gap: 14px; grid-template-areas: "a a b c" "a a d e" "f f g g"; }
.gi { position: relative; border-radius: 18px; overflow: hidden; background: #e6ebf3; }
.gi img { transition: transform .6s var(--ailo-ease); }
.gi:hover img { transform: scale(1.05); }
.gi::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0, 0, 0, .45), transparent 45%); pointer-events: none; }
.gi span { position: absolute; z-index: 1; left: 16px; bottom: 14px; color: #fff; font-weight: 700; font-size: 15px; }
.gal__grid li:nth-child(1) { grid-area: a; } .gal__grid li:nth-child(2) { grid-area: b; } .gal__grid li:nth-child(3) { grid-area: c; }
.gal__grid li:nth-child(4) { grid-area: d; } .gal__grid li:nth-child(5) { grid-area: e; } .gal__grid li:nth-child(6) { grid-area: f; } .gal__grid li:nth-child(7) { grid-area: g; }

/* ---------- Reviews ---------- */
.rev__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.rcard { position: relative; padding: 28px 24px 22px; display: flex; flex-direction: column; }
.rcard::after { content: "\201C"; position: absolute; right: 20px; top: 10px; font-weight: 800; font-size: 56px; line-height: 1; color: var(--s18-blue-lt); }
.rcard__stars { color: #f0a92b; letter-spacing: 2px; margin-bottom: 12px; font-size: 14px; }
.rcard > p:nth-child(2) { flex: 1; font-size: 16px; line-height: 1.75; position: relative; z-index: 1; }
.rcard__who { margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--ailo-line); font-size: 15px; }
.rcard__who b { font-weight: 700; font-size: 16px; }
.rcard__who span { display: block; color: var(--ailo-muted); font-size: 13px; }

/* ---------- News ---------- */
.news__grid { display: grid; grid-template-columns: 1fr 2.2fr; gap: clamp(24px, 4vw, 64px); }
.news__hd .kbtn { margin-top: 20px; }
.news__list { display: grid; gap: 0; border-top: 1px solid var(--ailo-ink, var(--s18-ink)); }
.news__list a { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 16px; padding: 22px 8px; border: 0; border-bottom: 1px solid var(--ailo-line); border-radius: 0; transition: background-color .2s; }
.news__list a:hover { background: var(--s18-soft); }
.news__list p { font-weight: 600; font-size: 17px; }
.news__list time { font-weight: 600; font-size: 15px; color: var(--ailo-muted); font-variant-numeric: tabular-nums; }
.nbadge { font-size: 13px; font-weight: 700; padding: 4px 12px; border-radius: 999px; white-space: nowrap; background: var(--s18-soft); color: var(--s18-ink); }
.nbadge--r { background: #fbe9eb; color: #b42a36; }
.nbadge--y, .nbadge--b { background: var(--s18-blue-lt); color: var(--s18-blue); }

/* ---------- Visit ---------- */
.visit { background: var(--s18-soft); }
.visit__grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 20px; align-items: start; }
.hours { padding: clamp(24px, 3vw, 36px); }
.hours__now { display: flex; align-items: center; gap: 14px; padding: 14px 18px; border-radius: 14px; background: var(--s18-soft); margin-bottom: 18px; }
.hours__now > i { width: 10px; height: 10px; }
.hours__now.is-open { background: #e8f6ee; }
.hours__now span { display: flex; flex-direction: column; }
.hours__now b { font-weight: 800; font-size: 20px; line-height: 1.3; }
.hours__now small { font-size: 14px; color: var(--ailo-muted); }
.days { display: grid; gap: 4px; }
.days li { display: flex; align-items: center; gap: 14px; padding: 6px; border-radius: 12px; }
.days b { width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; font-weight: 700; font-size: 15px; background: var(--s18-soft); flex: none; }
.days span { font-weight: 600; font-size: 16px; font-variant-numeric: tabular-nums; }
.days li.is-off b { color: #8a91a5; }
.days li.is-off span { font-size: 16px; color: var(--s18-red); }
.days li.is-today { background: var(--s18-blue-lt); }
.days li.is-today b { background: var(--s18-blue); color: #fff; }
.hours__note { margin-top: 16px; font-size: 14px; color: var(--ailo-muted); line-height: 1.8; }
.hours__note i { color: var(--s18-blue); width: 18px; }
.map {
  position: relative; min-height: 330px; overflow: hidden; background-color: #eef1ec; border: 0;
  background-image:
    linear-gradient(90deg, transparent calc(35% - 10px), #fff calc(35% - 10px) calc(35% + 10px), transparent calc(35% + 10px)),
    linear-gradient(transparent calc(58% - 10px), #fff calc(58% - 10px) calc(58% + 10px), transparent calc(58% + 10px)),
    linear-gradient(90deg, transparent calc(78% - 6px), #fff calc(78% - 6px) calc(78% + 6px), transparent calc(78% + 6px));
}
.map__blk { position: absolute; display: grid; place-items: center; font-size: 14px; font-weight: 600; color: var(--ailo-muted); border-radius: 10px; }
.map__blk--school { left: 6%; top: 10%; width: 24%; height: 38%; background: #f4ecd8; }
.map__blk--apt { left: 40%; top: 66%; width: 32%; height: 24%; background: #e3e8f3; }
.map__blk--park { left: 82%; top: 8%; width: 14%; height: 44%; background: #d4e8da; border-radius: 40px; }
.map__pin { position: absolute; left: 50%; top: 30%; transform: translate(-50%, -50%); display: flex; flex-direction: column; align-items: center; }
.map__pin i { font-size: 40px; color: var(--s18-blue); filter: drop-shadow(0 4px 6px rgba(0, 0, 0, .2)); }
.map__pin b { font-weight: 700; font-size: 14px; background: var(--s18-ink); color: #fff; padding: 4px 12px; border-radius: 999px; margin-top: 4px; }
.map__btns { position: absolute; left: 14px; right: 14px; bottom: 14px; display: flex; flex-wrap: wrap; gap: 8px; }
.map__btns .kbtn { flex: 1 1 160px; }
.loc__dl { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 20px 0 0; }
.loc__dl div { padding: 16px 18px; background: #fff; border-color: var(--ailo-line); }
.loc__dl div:first-child { grid-column: 1 / -1; }
.loc__dl dt { font-weight: 700; font-size: 16px; margin-bottom: 4px; }
.loc__dl dt i { color: var(--s18-blue); width: 20px; }
.loc__dl dd { margin: 0; font-size: 15px; color: var(--ailo-muted); }

/* ---------- Reservation ---------- */
.rsv__box { display: grid; grid-template-columns: 1fr 1.35fr; gap: clamp(26px, 4vw, 64px); padding: clamp(28px, 4.5vw, 64px); position: relative; overflow: hidden; border-radius: 28px; }
.rsv__box::before { content: ""; position: absolute; left: -90px; bottom: -90px; width: 280px; height: 280px; border-radius: 50%; border: 44px solid rgba(255, 255, 255, .06); }
.rsv__txt { position: relative; }
.rsv__txt .tag { color: #c8d6f3; }
.rsv__txt > p:not(.tag) { margin-top: 18px; color: rgba(255, 255, 255, .86); font-size: 17px; }
.rsv__steps { display: grid; gap: 12px; margin-top: 28px; }
.rsv__steps li { display: flex; align-items: center; gap: 12px; font-weight: 700; font-size: 17px; }
.rsv__steps b { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: #fff; color: var(--s18-blue); font-weight: 800; font-size: 15px; }
.rsv__form { color: var(--s18-ink); padding: clamp(22px, 3vw, 36px); display: grid; gap: 14px; position: relative; border: 0; }
.frow { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.fld { display: grid; gap: 6px; min-width: 0; }
.fld > span, .bus-opt legend { font-weight: 700; font-size: 15px; }
.fld input, .fld select, .fld textarea {
  width: 100%; min-width: 0; font: inherit; font-size: 16px; color: var(--s18-ink); background: #fff;
  border: 1px solid #d5dce8; border-radius: 12px; padding: 12px 14px; transition: border-color .2s, box-shadow .2s;
}
.fld input:focus, .fld select:focus, .fld textarea:focus { outline: none; border-color: var(--s18-blue); box-shadow: 0 0 0 3px rgba(31, 74, 160, .14); }
.bus-opt { border: 0; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.bus-opt legend { float: left; width: 100%; margin-bottom: 4px; }
.bus-opt label { cursor: pointer; }
.bus-opt input { position: absolute; opacity: 0; pointer-events: none; }
.bus-opt span { display: inline-block; padding: 9px 14px; border: 1px solid #d5dce8; border-radius: 999px; font-weight: 600; font-size: 14px; background: #fff; transition: background-color .2s, border-color .2s, color .2s; }
.bus-opt input:checked + span { background: var(--s18-blue); border-color: var(--s18-blue); color: #fff; }
.bus-opt input:focus-visible + span { outline: 2px solid var(--s18-blue); outline-offset: 2px; }
.agree { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--ailo-muted); cursor: pointer; }
.agree input { width: 20px; height: 20px; margin-top: 1px; accent-color: var(--s18-blue); flex: none; }

/* ---------- Footer ---------- */
.ft { background: var(--s18-ink); color: #c2cadb; font-size: 14px; padding-bottom: 44px; }
.ft__belt { display: grid; grid-template-columns: repeat(7, 1fr); height: 4px; opacity: .9; }
.ft__belt i:nth-child(1) { background: #fff; } .ft__belt i:nth-child(2) { background: var(--s18-yellow); } .ft__belt i:nth-child(3) { background: var(--s18-green); }
.ft__belt i:nth-child(4) { background: var(--s18-blue); } .ft__belt i:nth-child(5) { background: var(--s18-red); }
.ft__belt i:nth-child(6) { background: linear-gradient(180deg, var(--s18-red) 50%, #000 50%); } .ft__belt i:nth-child(7) { background: #000; }
.ft__top { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; padding-top: 56px; }
.logo--ft { color: #fff; }
.logo--ft small { color: #9fb4e0; }
.ft__sns { display: flex; gap: 10px; }
.ft__sns a { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 50%; background: rgba(255, 255, 255, .08); color: #fff; transition: background-color .2s; }
.ft__sns a:hover { background: var(--s18-blue); color: #fff; }
.ft__info { margin-top: 22px; line-height: 1.9; }
.ft__bot { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-top: 22px; padding-top: 18px; border-top: 1px solid rgba(255, 255, 255, .12); }
.ft__bot nav { display: flex; gap: 18px; }
.ft__bot a:hover { color: #fff; }
.ft__bot strong { color: #fff; }

.mbar { display: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1199.98px) {
  .hd__nav a { padding: 8px 10px; font-size: 15px; }
  .hd__cta .kbtn--white { display: none; }
  .plans { grid-template-columns: repeat(2, 1fr); }
  .rev__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 991.98px) {
  :root { --ailo-header-h: 66px; }
  .hd__nav, .hd__cta { display: none; }
  .ailo-burger { margin-left: auto; color: var(--s18-ink); }
  .logo__mark { width: 36px; height: 36px; }
  .logo__t b { font-size: 23px; }
  .hero__grid { grid-template-columns: 1fr; }
  .hero__photo { grid-row: auto; grid-column: auto; min-height: 0; aspect-ratio: 4 / 3; }
  .hero__stats { grid-column: auto; }
  .about__grid, .news__grid, .visit__grid, .rsv__box { grid-template-columns: 1fr; }
  .perks { grid-template-columns: 1fr; }
  .gal__grid { grid-template-columns: 1fr 1fr; grid-auto-rows: 40vw; grid-template-areas: "a a" "b c" "d e" "f f" "g g"; }

  /* 띠 계단 → 세로 */
  .ladder { grid-template-columns: 1fr; min-height: 0; gap: 8px; }
  .step { height: auto !important; flex-direction: row; justify-content: flex-start; gap: 16px; padding: 14px 18px; border-radius: 0 14px 14px 0; text-align: left; }
  .step b { margin: 0; min-width: 4em; }
  .step .belt { width: 70px; flex: none; }
  .step > i { position: static; margin-left: auto; font-size: 20px; }
  .s1 { width: 64%; } .s2 { width: 70%; } .s3 { width: 76%; } .s4 { width: 82%; } .s5 { width: 88%; } .s6 { width: 94%; } .s7 { width: 100%; }
  .step:hover { transform: translateX(4px); }

  /* 노선 → 세로 */
  .line { grid-template-columns: 1fr; padding-top: 0; padding-left: 56px; gap: 22px; }
  .line::before { left: 17px; right: auto; top: 6px; bottom: 6px; width: 6px; height: auto; }
  .line::after { display: none; }
  .line li { align-items: flex-start; text-align: left; flex-direction: row; flex-wrap: wrap; column-gap: 12px; }
  .line li::before { top: 0; left: -47px; }
  .line li:nth-child(4)::before { top: -3px; left: -50px; }
  .line li small { width: 100%; }

  body { padding-bottom: calc(70px + env(safe-area-inset-bottom)); }
  .mbar {
    display: grid; grid-template-columns: 1fr 1.4fr 1fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 105;
    background: #fff; border-top: 1px solid var(--ailo-line); padding: 8px 10px calc(8px + env(safe-area-inset-bottom)); gap: 8px;
    box-shadow: 0 -6px 20px -12px rgba(22, 33, 58, .25);
  }
  .mbar a { display: flex; align-items: center; justify-content: center; gap: 6px; height: 50px; border-radius: 12px; font-size: 15px; font-weight: 700; background: var(--s18-soft); }
  .mbar a i { color: var(--s18-blue); }
  .mbar a.is-main { background: var(--s18-blue); color: #fff; }
  .mbar a.is-main i { color: #fff; }
  html.nav-open .mbar { display: none; }
}

@media (max-width: 575.98px) {
  .logo__t small { display: none; }
  .hero__title { font-size: clamp(40px, 11.5vw, 50px); }
  .hero__kiap { width: 56px; height: 56px; font-size: 17px; top: 16px; right: 16px; }
  .hero__btns .kbtn { flex: 1 1 100%; }
  .hero__stats { grid-template-columns: 1fr 1fr 1fr; gap: 8px; }
  .hero__stats li { padding: 14px 12px; }
  .hero__stats b { font-size: 26px; }
  .hero__stats span:not([data-count]) { font-size: 13px; }
  .plans { grid-template-columns: 1fr; }
  .rev__grid { grid-template-columns: 1fr; }
  .news__list a { grid-template-columns: auto 1fr; gap: 6px 12px; }
  .news__list time { grid-column: 2; grid-row: 2; font-size: 14px; }
  .news__list p { grid-column: 1 / -1; grid-row: 1; }
  .news__list .nbadge { grid-row: 2; justify-self: start; }
  .frow { grid-template-columns: 1fr; }
  .loc__dl { grid-template-columns: 1fr; }
  .map { min-height: 360px; }
  .map__btns .kbtn { flex-basis: 100%; }
  .routes button { width: 100%; }
  .step { padding: 12px 14px; gap: 12px; }
  .step .belt { width: 54px; }
  .step small { font-size: 13px; }
  .s1 { width: 76%; } .s2 { width: 80%; } .s3 { width: 84%; } .s4 { width: 88%; } .s5 { width: 92%; } .s6 { width: 96%; }
  .mnav__in a:not(.mnav__tel) { padding: 18px 10px; font-size: 17px; }
}

@media (prefers-reduced-motion: reduce) {
  .line::after { display: none; }
}
