/* AILO SmallBiz S27 — 정직세무회계 (세무사사무소)
   원형: 신뢰 정돈 원페이지(좌측 고정 번호 목차 + 진행 막대, 장부 괘선·표 중심) / 타이포: IBM Plex Sans KR + Pretendard, 숫자 tabular
   컬러: 네이비 #0e2a4f + 스카이 #4fb0ec + 화이트·페일 블루 #f2f7fc / 연출: 신고 일정 D-day, 서비스·수수료 표(개인/법인), 기장료 간편 견적 */

:root {
  --ailo-bg: #ffffff;
  --ailo-fg: #0e2a4f;
  --ailo-muted: #56677f;
  --ailo-line: rgba(14, 42, 79, .12);
  --ailo-accent: #1a72b8;
  --ailo-header-h: 64px;
  --s27-navy: #0e2a4f;
  --s27-navy-2: #173c6b;
  --s27-sky: #4fb0ec;
  --s27-sky-deep: #1a72b8;
  --s27-sky-soft: #e5f2fc;
  --s27-pale: #f2f7fc;
  --s27-side: 272px;
  --s27-plex: "IBM Plex Sans KR", "Pretendard Variable", sans-serif;
  --s27-sec: clamp(72px, 9vw, 120px);
}

body { font-family: var(--s27-plex); font-size: 16px; letter-spacing: -.01em; }
h1, h2, h3 { font-family: var(--s27-plex); letter-spacing: -.03em; }
.num, .stats dd, .cal__d, .cal time, .est__price, .board time, .hours__tbl td { font-variant-numeric: tabular-nums; }

/* ---------- Buttons ---------- */
.btn-n {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 11px 20px; border-radius: 4px;
  font-weight: 600; font-size: 15px; border: 1px solid transparent; white-space: nowrap; transition: background .2s, color .2s, border-color .2s;
}
.btn-n--navy { background: var(--s27-navy); color: #fff; }
.btn-n--navy:hover { background: var(--s27-sky-deep); color: #fff; }
.btn-n--navy i { transition: transform .2s; }
.btn-n--navy:hover i { transform: translateX(3px); }
.btn-n--sky { background: var(--s27-sky); color: var(--s27-navy); }
.btn-n--sky:hover { background: #7cc6f3; color: var(--s27-navy); }
.btn-n--line { border-color: rgba(14, 42, 79, .3); color: var(--s27-navy); background: #fff; }
.btn-n--line:hover { border-color: var(--s27-navy); background: var(--s27-navy); color: #fff; }
.btn-n--lg { padding: 15px 26px; font-size: 16px; }
.btn-n--block { width: 100%; }

/* ---------- Side header ---------- */
.side {
  position: fixed; left: 0; top: 0; bottom: 0; width: var(--s27-side); z-index: 100;
  display: flex; flex-direction: column; padding: 30px 26px 26px; background: var(--s27-navy); color: #fff;
}
.logo { display: flex; align-items: center; gap: 12px; }
.logo__mark { width: 42px; height: 42px; flex: none; display: grid; place-items: center; border-radius: 6px; background: var(--s27-sky); color: var(--s27-navy); }
.logo__mark svg { width: 26px; height: 26px; fill: currentColor; }
.logo__txt { display: flex; flex-direction: column; font-size: 19px; font-weight: 700; line-height: 1.15; letter-spacing: -.03em; }
.logo__txt small { font-size: 14px; font-weight: 500; letter-spacing: .04em; color: rgba(255, 255, 255, .55); margin-top: 3px; }
.side__nav { margin: 42px 0 auto; display: flex; flex-direction: column; counter-reset: n; }
.side__nav a {
  display: flex; align-items: baseline; gap: 14px; padding: 9px 0; font-size: 15px; color: rgba(255, 255, 255, .62);
  border-bottom: 1px solid rgba(255, 255, 255, .07); transition: color .2s, padding .25s;
}
.side__nav a span { font-size: 14px; font-weight: 600; color: rgba(255, 255, 255, .35); width: 18px; transition: color .2s; }
.side__nav a:hover { color: #fff; }
.side__nav a.is-active { color: #fff; padding-left: 8px; font-weight: 600; }
.side__nav a.is-active span { color: var(--s27-sky); }
.side__foot { display: grid; gap: 14px; padding-top: 22px; }
.side__status { display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 600; }
.side__tel { display: flex; flex-direction: column; font-size: 26px; font-weight: 700; letter-spacing: -.01em; line-height: 1.15; }
.side__tel small { font-size: 14px; font-weight: 500; color: rgba(255, 255, 255, .55); }
.side__tel:hover { color: var(--s27-sky); }
.side__bar { position: absolute; right: 0; top: 0; bottom: 0; width: 3px; background: rgba(255, 255, 255, .06); }
.side__bar span { display: block; height: 100%; background: var(--s27-sky); transform-origin: top; transform: scaleY(0); }
.side__mcta { display: none; }

.dot { width: 9px; height: 9px; border-radius: 50%; background: #8a97a8; flex: none; }
.dot.is-open { background: #35d07f; box-shadow: 0 0 0 4px rgba(53, 208, 127, .2); }
.dot--lg { width: 14px; height: 14px; }
.dot--lg.is-open { box-shadow: 0 0 0 6px rgba(53, 208, 127, .18); }

main, .ft { margin-left: var(--s27-side); }

/* Mobile menu */
.mnav { background: var(--s27-navy); color: #fff; }
.mnav__in { min-height: 100%; display: flex; flex-direction: column; justify-content: center; padding: 96px var(--ailo-gutter) 120px; }
.mnav__in > a:not(.btn-n) { display: flex; gap: 16px; align-items: baseline; padding: 14px 0; border-bottom: 1px solid rgba(255, 255, 255, .1); font-size: 20px; font-weight: 500; }
.mnav__in > a span { font-size: 14px; color: var(--s27-sky); }
.mnav__in .btn-n { margin-top: 26px; }

/* ---------- Hero ---------- */
.hero {
  position: relative; padding: clamp(40px, 6vw, 80px) 0 clamp(50px, 6vw, 80px); border-bottom: 1px solid var(--ailo-line);
  background-image:
    linear-gradient(rgba(79, 176, 236, .1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(79, 176, 236, .1) 1px, transparent 1px);
  background-size: 32px 32px; background-position: -1px -1px;
}
.hero__date { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border: 1px solid var(--ailo-line); background: #fff; font-size: 14px; font-weight: 500; color: var(--ailo-muted); margin-bottom: clamp(28px, 4vw, 48px); }
.hero__date i { color: var(--s27-sky-deep); }
.hero__grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(28px, 4vw, 64px); align-items: end; }
.hero__title { font-size: clamp(38px, 5.2vw, 76px); font-weight: 700; line-height: 1.18; letter-spacing: -.045em; margin-bottom: 26px; }
.hero__title em { font-style: normal; color: var(--s27-sky-deep); background: linear-gradient(transparent 68%, rgba(79, 176, 236, .28) 68% 92%, transparent 92%); }
.hero__desc { max-width: 34em; color: var(--ailo-muted); font-size: clamp(15.5px, 1.2vw, 17px); line-height: 1.8; margin-bottom: 32px; }
.hero__btns { display: flex; flex-wrap: wrap; gap: 10px; }

.cal { background: #fff; border: 1px solid var(--ailo-line); border-top: 4px solid var(--s27-navy); box-shadow: 0 24px 50px -30px rgba(14, 42, 79, .35); }
.cal__head { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 18px 22px 14px; border-bottom: 1px solid var(--ailo-line); }
.cal__head h2 { font-size: 17px; font-weight: 700; }
.cal__tag { font-size: 14px; font-weight: 600; color: var(--s27-sky-deep); background: var(--s27-sky-soft); padding: 3px 8px; border-radius: 3px; white-space: nowrap; }
.cal__list li { display: grid; grid-template-columns: 74px 1fr auto; gap: 14px; align-items: center; padding: 14px 22px; border-bottom: 1px dashed var(--ailo-line); }
.cal__d { font-size: 17px; font-weight: 700; color: var(--s27-navy); background: var(--s27-pale); text-align: center; padding: 6px 0; border-radius: 3px; }
.cal__list li.is-near .cal__d { background: var(--s27-navy); color: #fff; }
.cal__list b { display: block; font-size: 15px; font-weight: 600; }
.cal__list small { font-size: 14px; color: var(--ailo-muted); }
.cal time { font-size: 14px; font-weight: 600; color: var(--ailo-muted); }
.cal__note { padding: 14px 22px 16px; font-size: 16px; color: var(--ailo-muted); }

.stats { display: grid; grid-template-columns: repeat(4, 1fr); margin: clamp(44px, 6vw, 72px) 0 0; border-top: 2px solid var(--s27-navy); }
.stats div { padding: 20px 20px 4px 0; }
.stats div + div { padding-left: 20px; border-left: 1px solid var(--ailo-line); }
.stats dt { font-size: 14px; font-weight: 500; color: var(--ailo-muted); margin-bottom: 4px; }
.stats dd { margin: 0; font-size: clamp(34px, 4vw, 52px); font-weight: 700; line-height: 1.1; letter-spacing: -.03em; }
.stats dd small { font-size: 16px; font-weight: 500; margin-left: 4px; color: var(--ailo-muted); }

/* ---------- Sections ---------- */
.sec { padding: var(--s27-sec) 0; border-bottom: 1px solid var(--ailo-line); }
.sec-head { display: grid; grid-template-columns: auto 1fr auto; align-items: end; gap: 18px; padding-bottom: 16px; margin-bottom: clamp(32px, 4vw, 52px); border-bottom: 2px solid var(--s27-navy); }
.sec-head__no { font-size: clamp(40px, 5vw, 64px); font-weight: 300; line-height: .9; color: var(--s27-sky); letter-spacing: -.04em; }
.sec-head h2 { font-size: clamp(26px, 3vw, 38px); font-weight: 700; line-height: 1.2; }
.sec-head__en { font-size: 14px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--ailo-muted); padding-bottom: 4px; }
.sec-head--light { border-color: rgba(255, 255, 255, .6); }
.sec-head--light h2 { color: #fff; }
.sec-head--light .sec-head__en { color: rgba(255, 255, 255, .6); }

/* About */
.about__grid { display: grid; grid-template-columns: 320px 1fr; gap: clamp(28px, 5vw, 72px); align-items: start; margin-bottom: clamp(40px, 5vw, 64px); }
.about__pic { margin: 0; }
.about__pic img { aspect-ratio: 600 / 720; height: auto; }
.about__pic figcaption { padding: 12px 0; border-bottom: 1px solid var(--ailo-line); font-size: 14px; color: var(--ailo-muted); }
.about__pic figcaption b { font-size: 17px; color: var(--ailo-fg); margin-right: 6px; }
.about__lead { font-size: clamp(22px, 2.4vw, 32px); font-weight: 600; line-height: 1.5; letter-spacing: -.035em; margin-bottom: 22px; }
.about__text > p:not(.about__lead) { color: var(--ailo-muted); line-height: 1.85; max-width: 40em; }
.cred { margin-top: 28px; border-top: 1px solid var(--ailo-line); }
.cred li { display: grid; grid-template-columns: 110px 1fr; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--ailo-line); font-size: 16px; }
.cred span { font-weight: 600; color: var(--s27-sky-deep); font-variant-numeric: tabular-nums; }
.princ { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border: 1px solid var(--ailo-line); }
.princ li { padding: 28px 26px; background: var(--s27-pale); }
.princ li + li { border-left: 1px solid var(--ailo-line); }
.princ__no { display: inline-block; font-size: 14px; font-weight: 700; color: #fff; background: var(--s27-navy); padding: 3px 8px; border-radius: 3px; margin-bottom: 14px; }
.princ h3 { font-size: 19px; font-weight: 700; margin-bottom: 8px; }
.princ p { font-size: 16px; color: var(--ailo-muted); }

/* ---------- Service & Fee ---------- */
.service { background: var(--s27-pale); }
.fee__top { display: flex; justify-content: space-between; align-items: center; gap: 14px; flex-wrap: wrap; margin-bottom: 16px; }
.seg { display: inline-flex; padding: 4px; background: #fff; border: 1px solid var(--ailo-line); border-radius: 6px; }
.seg button { padding: 10px 22px; border: 0; background: transparent; border-radius: 4px; font-weight: 600; font-size: 15px; color: var(--ailo-muted); transition: background .2s, color .2s; }
.seg button[aria-selected="true"] { background: var(--s27-navy); color: #fff; }
.fee__vat { font-size: 16px; color: var(--ailo-muted); }
.fee__tbl { width: 100%; border-collapse: collapse; background: #fff; border: 1px solid var(--ailo-line); }
.fee__tbl thead th { padding: 13px 20px; font-size: 14px; font-weight: 600; color: var(--ailo-muted); background: var(--s27-sky-soft); text-align: left; border-bottom: 1px solid var(--ailo-line); }
.fee__tbl tbody th, .fee__tbl tbody td { padding: 18px 20px; border-bottom: 1px solid var(--ailo-line); vertical-align: top; }
.fee__tbl tbody th { width: 26%; font-size: 16px; font-weight: 600; text-align: left; }
.fee__tbl tbody td { font-size: 16px; color: var(--ailo-muted); }
.fee__tbl .num { text-align: right; white-space: nowrap; color: var(--ailo-fg); font-weight: 600; }
.fee__tbl tbody th em { font-style: normal; font-size: 14px; font-weight: 700; color: var(--s27-sky-deep); border: 1px solid currentColor; padding: 1px 6px; border-radius: 3px; margin-left: 6px; vertical-align: 2px; }
.fee__tbl tr.is-main { background: linear-gradient(90deg, rgba(79, 176, 236, .12), transparent 70%); }
.fee__tbl tr.is-main th { box-shadow: inset 4px 0 0 var(--s27-sky); }
.fee__tbl .num b { font-size: 18px; font-weight: 700; color: var(--s27-sky-deep); }
.fee__tbl tbody tr { transition: background .2s; }
.fee__tbl tbody tr:hover { background: var(--s27-pale); }

.est { display: grid; grid-template-columns: 1.4fr 1fr; margin-top: 28px; border: 1px solid var(--ailo-line); background: #fff; }
.est__form { padding: 24px 26px; }
.est__form h3 { font-size: 18px; font-weight: 700; margin-bottom: 16px; }
.est__form h3 small { font-size: 14px; font-weight: 500; color: var(--ailo-muted); }
.est__row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.est__out { padding: 24px 26px; background: var(--s27-navy); color: #fff; display: flex; flex-direction: column; justify-content: center; }
.est__out > p:first-child { font-size: 14px; color: rgba(255, 255, 255, .7); }
.est__price { font-size: clamp(34px, 3.6vw, 46px); font-weight: 700; letter-spacing: -.02em; line-height: 1.2; }
.est__price small { font-size: 15px; font-weight: 500; color: rgba(255, 255, 255, .7); margin-left: 6px; }
.est__price.is-ask small { display: none; }
.est__hint { margin-top: 6px; font-size: 16px; color: rgba(255, 255, 255, .6); }

/* ---------- Process ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); counter-reset: s; }
.steps li { position: relative; padding: 0 22px 0 0; }
.steps li::before { content: ""; display: block; height: 2px; background: var(--ailo-line); margin-bottom: 22px; }
.steps li::after { content: ""; position: absolute; left: 0; top: -5px; width: 12px; height: 12px; border-radius: 50%; background: #fff; border: 3px solid var(--s27-sky); }
.steps li:first-child::before { background: linear-gradient(90deg, var(--s27-sky) 50%, var(--ailo-line) 50%); }
.steps span { font-size: 14px; font-weight: 700; letter-spacing: .1em; color: var(--s27-sky-deep); }
.steps h3 { font-size: 20px; font-weight: 700; margin: 4px 0 8px; }
.steps p { font-size: 16px; color: var(--ailo-muted); }

/* ---------- Gallery ---------- */
.gallery { background: var(--s27-pale); }
.figs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.figs li { position: relative; aspect-ratio: 1; overflow: hidden; background: var(--s27-navy); }
.figs li.figs__a, .figs li.figs__b { grid-column: span 2; aspect-ratio: auto; }
.figs li.figs__a img, .figs li.figs__b img { position: absolute; inset: 0; }
.figs img { height: 100%; mix-blend-mode: luminosity; opacity: .85; transition: opacity .4s, transform .6s var(--ailo-ease); }
.figs li::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(14, 42, 79, .75)); pointer-events: none; }
.figs li:hover img { opacity: 1; transform: scale(1.04); }
.figs span { position: absolute; left: 14px; bottom: 12px; z-index: 1; font-size: 14px; font-weight: 500; color: #fff; letter-spacing: .01em; }

/* ---------- Reviews ---------- */
.revs { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0; border-top: 1px solid var(--ailo-line); }
.rev { display: grid; grid-template-columns: 170px 1fr; gap: 20px; padding: 26px 24px 26px 0; border-bottom: 1px solid var(--ailo-line); }
.rev:nth-child(even) { padding-left: 24px; padding-right: 0; border-left: 1px solid var(--ailo-line); }
.rev__stars { color: var(--s27-sky); font-size: 14px; letter-spacing: 2px; margin-bottom: 8px; }
.rev__by { font-weight: 700; font-size: 16px; display: flex; flex-direction: column; }
.rev__by small { font-size: 14px; font-weight: 500; color: var(--ailo-muted); }
.rev__txt { font-size: 16px; line-height: 1.8; }

/* ---------- News ---------- */
.board { width: 100%; border-collapse: collapse; }
.board thead th { padding: 12px 14px; font-size: 14px; font-weight: 600; color: var(--ailo-muted); text-align: left; border-bottom: 1px solid var(--s27-navy); }
.board thead th:last-child, .board td:last-child { text-align: right; }
.board td { padding: 18px 14px; border-bottom: 1px solid var(--ailo-line); vertical-align: middle; }
.board td:first-child { width: 120px; }
.board td:nth-child(2) a { font-size: 16.5px; font-weight: 500; }
.board td:nth-child(2) a:hover { color: var(--s27-sky-deep); text-decoration: underline; text-underline-offset: 4px; }
.board td:last-child { width: 130px; color: var(--ailo-muted); font-size: 14px; }
.board__cat { display: inline-block; font-size: 14px; font-weight: 700; padding: 3px 9px; border-radius: 3px; background: var(--s27-pale); border: 1px solid var(--ailo-line); }
.board__cat--sky { background: var(--s27-sky-soft); color: var(--s27-sky-deep); border-color: transparent; }

/* ---------- Hours + Location ---------- */
.visit__grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(28px, 4vw, 56px); align-items: start; }
.hours { border: 1px solid var(--ailo-line); }
.hours__now { display: flex; align-items: center; gap: 16px; padding: 22px 24px; background: var(--s27-navy); color: #fff; }
.hours__state { font-size: 22px; font-weight: 700; }
.hours__sub { font-size: 14px; color: rgba(255, 255, 255, .7); }
.hours__tbl { width: 100%; border-collapse: collapse; }
.hours__tbl th, .hours__tbl td { padding: 16px 24px; border-bottom: 1px solid var(--ailo-line); }
.hours__tbl th { font-weight: 600; font-size: 15px; text-align: left; }
.hours__tbl td { text-align: right; font-weight: 600; }
.hours__tbl td small { display: block; font-size: 14px; font-weight: 500; color: var(--ailo-muted); }
.hours__tbl td.is-off { color: #b0413e; }
.hours__tbl tr.is-sub th, .hours__tbl tr.is-sub td { padding-top: 10px; padding-bottom: 10px; font-size: 14px; font-weight: 500; color: var(--ailo-muted); background: var(--s27-pale); }
.hours__tbl tr.is-today { box-shadow: inset 4px 0 0 var(--s27-sky); background: rgba(79, 176, 236, .08); }
.hours__tbl tr.is-today th::after { content: "오늘"; margin-left: 8px; font-size: 14px; font-weight: 700; color: var(--s27-sky-deep); border: 1px solid currentColor; padding: 1px 5px; border-radius: 3px; }
.hours__note { padding: 16px 24px; font-size: 16px; color: var(--ailo-muted); }
.hours__note i { color: var(--s27-sky-deep); }

.map {
  position: relative; aspect-ratio: 16 / 9; overflow: hidden; background-color: var(--s27-sky-soft); border: 1px solid var(--ailo-line);
  background-image:
    linear-gradient(rgba(14, 42, 79, .08) 1px, transparent 1px), linear-gradient(90deg, rgba(14, 42, 79, .08) 1px, transparent 1px),
    linear-gradient(rgba(14, 42, 79, .04) 1px, transparent 1px), linear-gradient(90deg, rgba(14, 42, 79, .04) 1px, transparent 1px);
  background-size: 80px 80px, 80px 80px, 16px 16px, 16px 16px;
}
.map__blk { position: absolute; background: #fff; border: 1px solid rgba(14, 42, 79, .15); }
.map__blk--a { left: 8%; top: 14%; width: 26%; height: 30%; }
.map__blk--b { left: 40%; top: 14%; width: 22%; height: 30%; background: var(--s27-navy); border-color: var(--s27-navy); }
.map__blk--c { left: 68%; top: 54%; width: 24%; height: 32%; }
.map__pin { position: absolute; left: 51%; top: 29%; transform: translate(-50%, -100%); font-size: 36px; color: var(--s27-sky); filter: drop-shadow(0 4px 4px rgba(14, 42, 79, .35)); }
.map__label { position: absolute; left: 51%; top: 50%; transform: translateX(-50%); font-size: 14px; font-weight: 600; background: #fff; border: 1px solid var(--s27-navy); padding: 4px 10px; white-space: nowrap; }
.map__coord { position: absolute; right: 10px; bottom: 8px; font-size: 14px; color: var(--ailo-muted); letter-spacing: .06em; }
.map__btns { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 10px; }
.map__btns .btn-n { font-size: 14px; }
.loc__info { margin: 18px 0 0; }
.loc__info div { display: grid; grid-template-columns: 80px 1fr; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--ailo-line); font-size: 15px; }
.loc__info dt { font-weight: 700; color: var(--s27-sky-deep); }
.loc__info dd { margin: 0; }

/* ---------- Consult ---------- */
.consult { background: var(--s27-navy); color: #fff; border-bottom: 0; }
.consult__grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(28px, 5vw, 72px); align-items: start; }
.consult__lead { font-size: clamp(20px, 2vw, 26px); font-weight: 600; line-height: 1.55; letter-spacing: -.03em; margin-bottom: 24px; }
.consult__list { display: grid; gap: 10px; margin-bottom: 32px; color: rgba(255, 255, 255, .8); }
.consult__list i { color: var(--s27-sky); margin-right: 8px; }
.consult__tel { display: inline-flex; flex-direction: column; font-size: clamp(28px, 3vw, 36px); font-weight: 700; padding-top: 18px; border-top: 1px solid rgba(255, 255, 255, .2); }
.consult__tel small { font-size: 14px; font-weight: 500; color: rgba(255, 255, 255, .6); }
.consult__tel:hover { color: var(--s27-sky); }
.cform { display: grid; gap: 16px; padding: clamp(22px, 3vw, 36px); background: #fff; color: var(--ailo-fg); border-top: 4px solid var(--s27-sky); }
.cform__row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.fld { display: grid; gap: 6px; min-width: 0; }
.fld > span, .opt legend { font-size: 14px; font-weight: 600; }
.fld > span i { font-style: normal; color: var(--s27-sky-deep); }
.fld input, .fld select, .fld textarea {
  width: 100%; min-width: 0; padding: 11px 13px; border: 1px solid rgba(14, 42, 79, .22); border-radius: 4px; background: #fff;
  font: inherit; font-size: 15px; color: inherit; transition: border-color .2s, box-shadow .2s;
}
.fld input:focus, .fld select:focus, .fld textarea:focus { outline: none; border-color: var(--s27-sky-deep); box-shadow: 0 0 0 3px rgba(79, 176, 236, .25); }
.opt { border: 0; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
.opt legend { float: left; width: 100%; margin-bottom: 6px; grid-column: 1 / -1; }
.opt label { cursor: pointer; }
.opt input { position: absolute; opacity: 0; pointer-events: none; }
.opt span { display: block; text-align: center; padding: 10px 6px; border: 1px solid rgba(14, 42, 79, .22); font-size: 14px; font-weight: 500; margin-left: -1px; transition: background .2s, color .2s; }
.opt label:first-of-type span { border-radius: 4px 0 0 4px; margin-left: 0; }
.opt label:last-of-type span { border-radius: 0 4px 4px 0; }
.opt input:checked + span { background: var(--s27-navy); color: #fff; border-color: var(--s27-navy); position: relative; }
.opt input:focus-visible + span { outline: 2px solid var(--s27-sky-deep); outline-offset: 2px; position: relative; }
.agree { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--ailo-muted); }
.agree input { margin-top: 3px; width: 16px; height: 16px; accent-color: var(--s27-navy); flex: none; }
.agree a { text-decoration: underline; color: var(--ailo-fg); }

/* ---------- Footer ---------- */
.ft { background: #0a1f3b; color: rgba(255, 255, 255, .65); padding: 44px 0 32px; font-size: 14px; }
.ft__grid { display: flex; justify-content: space-between; gap: 28px; flex-wrap: wrap; padding-bottom: 24px; border-bottom: 1px solid rgba(255, 255, 255, .1); margin-bottom: 18px; }
.ft__name { font-size: 18px; font-weight: 700; color: #fff; margin-bottom: 10px; }
.ft__info { line-height: 1.9; }
.ft__right { display: flex; flex-direction: column; align-items: flex-end; gap: 16px; }
.ft__sns { display: flex; gap: 8px; }
.ft__sns a { width: 38px; height: 38px; display: grid; place-items: center; border: 1px solid rgba(255, 255, 255, .2); border-radius: 4px; color: #fff; transition: background .2s, color .2s; }
.ft__sns a:hover { background: var(--s27-sky); color: var(--s27-navy); border-color: var(--s27-sky); }
.ft__links { display: flex; gap: 16px; }
.ft__links a:hover { color: #fff; }
.ft__links strong { color: #fff; }
.ft__copy { font-size: 14px; color: rgba(255, 255, 255, .45); }

.mbar { display: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1279.98px) {
  :root { --s27-side: 236px; }
  .side { padding-inline: 20px; }
  .hero__grid { grid-template-columns: 1fr; align-items: start; }
  .cal { max-width: 560px; }
  .est { grid-template-columns: 1fr; }
}
@media (max-width: 991.98px) {
  .side {
    bottom: auto; width: 100%; height: var(--ailo-header-h); flex-direction: row; align-items: center; justify-content: space-between;
    padding: 0 var(--ailo-gutter); transition: box-shadow .3s;
  }
  .side.is-scrolled { box-shadow: 0 6px 20px -8px rgba(14, 42, 79, .5); }
  .side__nav, .side__foot, .side__bar { display: none; }
  .side__mcta { display: flex; align-items: center; gap: 4px; }
  .side__micon { width: 44px; height: 44px; display: grid; place-items: center; color: var(--s27-sky); }
  .logo__mark { width: 36px; height: 36px; }
  .logo__txt { font-size: 17px; }
  main, .ft { margin-left: 0; }
  main { padding-top: var(--ailo-header-h); }

  .about__grid, .visit__grid, .consult__grid { grid-template-columns: 1fr; }
  .about__pic { max-width: 300px; }
  .princ { grid-template-columns: 1fr; }
  .princ li + li { border-left: 0; border-top: 1px solid var(--ailo-line); }
  .steps { grid-template-columns: 1fr 1fr; row-gap: 34px; }
  .revs { grid-template-columns: 1fr; }
  .rev, .rev:nth-child(even) { padding: 22px 0; border-left: 0; }
  .figs { grid-template-columns: 1fr 1fr; }
  .figs li.figs__a, .figs li.figs__b { aspect-ratio: 2 / 1; }
  .ft__right { align-items: flex-start; }

  .mbar {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; display: grid; grid-template-columns: 1fr 1.2fr 1fr;
    background: #fff; border-top: 1px solid var(--ailo-line); padding-bottom: env(safe-area-inset-bottom);
    box-shadow: 0 -8px 24px -12px rgba(14, 42, 79, .35);
  }
  .mbar a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; height: 60px; font-size: 14px; font-weight: 600; color: var(--s27-navy); }
  .mbar a i { font-size: 17px; color: var(--s27-sky-deep); }
  .mbar a + a { border-left: 1px solid var(--ailo-line); }
  .mbar__main { background: var(--s27-navy); color: #fff !important; }
  .mbar__main i { color: var(--s27-sky) !important; }
  body { padding-bottom: calc(60px + env(safe-area-inset-bottom)); }
  html.nav-open .mbar { display: none; }
}
@media (max-width: 575.98px) {
  .stats { grid-template-columns: 1fr 1fr; }
  .stats div:nth-child(3) { padding-left: 0; border-left: 0; }
  .stats div:nth-child(n+3) { border-top: 1px solid var(--ailo-line); }
  .hero__btns .btn-n { flex: 1 1 auto; }
  .sec-head { grid-template-columns: auto 1fr; }
  .sec-head__en { display: none; }
  .cal__list li { grid-template-columns: 64px 1fr; padding-inline: 16px; }
  .cal__list time { display: none; }
  .cal__head, .cal__note { padding-inline: 16px; }

  /* 수수료 표: 카드형으로 */
  .fee__tbl, .fee__tbl tbody, .fee__tbl tr, .fee__tbl th, .fee__tbl td { display: block; width: 100%; }
  .fee__tbl thead { display: none; }
  .fee__tbl tbody tr { padding: 16px 16px; border-bottom: 1px solid var(--ailo-line); }
  .fee__tbl tbody th, .fee__tbl tbody td { padding: 0; border: 0; width: 100%; }
  .fee__tbl tbody th { margin-bottom: 4px; }
  .fee__tbl tbody td { font-size: 16px; }
  .fee__tbl .num { text-align: left; margin-top: 8px; font-size: 16px; }
  .fee__tbl tr.is-main th { box-shadow: none; }
  .fee__tbl tr.is-main { box-shadow: inset 4px 0 0 var(--s27-sky); }

  .est__row { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .rev { grid-template-columns: 1fr; gap: 10px; }
  .board thead { display: none; }
  .board tr { display: grid; grid-template-columns: auto 1fr; gap: 6px 10px; padding: 16px 0; border-bottom: 1px solid var(--ailo-line); }
  .board td { padding: 0; border: 0; width: auto !important; text-align: left !important; }
  .board td:nth-child(2) { grid-column: 1 / -1; grid-row: 2; }
  .board td:first-child { grid-row: 1; }
  .board td:last-child { grid-row: 1; justify-self: end; }
  .cform__row { grid-template-columns: 1fr; }
  .opt { grid-template-columns: 1fr 1fr; gap: 6px; }
  .opt span, .opt label:first-of-type span, .opt label:last-of-type span { border-radius: 4px; margin-left: 0; }
  .map__btns { grid-template-columns: 1fr; }
  .figs { gap: 8px; }
  .figs span { font-size: 14px; left: 10px; bottom: 8px; }
}
