/* Haesol public-site refinement layer — 2026.08 */
:root {
  --content-max: 1440px;
  --navy: #102d52;
  --navy-deep: #081c35;
  --navy-soft: #2c496c;
  --gold: #b4813f;
  --gold-deep: #8b5d25;
  --gold-soft: #d6b47d;
  --gold-wash: #faf5ec;
  --ink: #17283d;
  --muted: #5f7084;
  --line: #dfe5eb;
  --paper: #f4f6f8;
  --ivory: #faf8f4;
  --shadow: 0 24px 70px rgba(10, 31, 56, .11);
  --shadow-soft: 0 12px 34px rgba(10, 31, 56, .075);
  --radius: 18px;
  --sans: "Pretendard Variable", Pretendard, "SUIT Variable", SUIT, "Noto Sans KR", "Apple SD Gothic Neo", "Malgun Gothic", Arial, sans-serif;
  --serif: var(--sans);
}

html {
  font-size: 16px;
  scroll-padding-top: 154px;
}

body {
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.72;
  letter-spacing: -.012em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

p { margin: 0 0 1em; }
a, button, input, select, textarea { -webkit-tap-highlight-color: transparent; }
button, input, select, textarea { font-size: 16px; }
.container { width: min(var(--content-max), calc(100% - 64px)); }
.muted { color: var(--muted); }

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 3000;
  padding: 10px 16px;
  border-radius: 8px;
  color: #fff;
  background: var(--navy);
  transform: translateY(-150%);
}
.skip-link:focus { transform: translateY(0); }

.kicker {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .15em;
}
.eyebrow {
  color: #89633a;
  font-family: var(--sans);
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -.02em;
}
.gold-line { width: 44px; height: 2px; margin: 28px 0; }

/* Header */
.site-header { height: 88px; box-shadow: 0 1px 0 rgba(12, 34, 60, .04); }
.header-inner {
  width: min(var(--content-max), calc(100% - 48px));
  max-width: none;
  padding: 0;
  gap: 20px;
}
.brand { min-width: 238px; gap: 0; }
.brand-logo { width: 228px; height: 82px; object-fit: contain; object-position: left center; }
.brand b {
  font-family: var(--sans);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -.045em;
}
.brand small { margin-top: 1px; font-size: 9px; letter-spacing: .14em; }
.gnb { gap: 1px; }
.nav-item > a {
  padding: 31px 13px;
  font-size: 17px;
  font-weight: 650;
  letter-spacing: -.025em;
}
.nav-item > a::after { left: 13px; right: 13px; bottom: 18px; }
.nav-item > a.active { color: var(--navy); }
.nav-item > a.active::after { transform: scaleX(1); }
.submenu {
  top: 78px;
  min-width: 206px;
  padding: 10px;
  border-radius: 14px;
}
.submenu.wide { min-width: 226px; }
.submenu a { padding: 10px 12px; font-size: 15.5px; line-height: 1.45; }
.header-phone { min-width: 190px; padding-left: 22px; }
.header-phone small { font-size: 12px; }
.header-phone b { color: var(--gold-deep); font-size: 18px; }
.mobile-menu-btn span,
.mobile-menu-btn span::before,
.mobile-menu-btn span::after {
  position: relative;
  display: block;
  width: 23px;
  height: 2px;
  margin: auto;
  border-radius: 2px;
  background: var(--navy);
}
.mobile-menu-btn span::before,
.mobile-menu-btn span::after { position: absolute; left: 0; content: ""; }
.mobile-menu-btn span::before { top: -7px; }
.mobile-menu-btn span::after { top: 7px; }
.mobile-menu-btn span,
.mobile-menu-btn span::before,
.mobile-menu-btn span::after { transition: top .25s ease, transform .25s ease, background .2s ease; }
.mobile-menu-btn[aria-expanded="true"] span { background: transparent; }
.mobile-menu-btn[aria-expanded="true"] span::before { top: 0; transform: rotate(45deg); }
.mobile-menu-btn[aria-expanded="true"] span::after { top: 0; transform: rotate(-45deg); }

/* Buttons and form controls */
.btn {
  min-height: 52px;
  padding: 0 24px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -.015em;
}
.btn:hover { box-shadow: 0 10px 26px rgba(139, 93, 37, .18); }
.btn.primary,
.btn.gold {
  color: #fff;
  background: var(--gold-deep);
  border-color: var(--gold-deep);
}
.btn.primary:hover,
.btn.gold:hover { background: #754b1b; border-color: #754b1b; }
.btn.light { color: var(--gold-deep); border-color: rgba(180, 129, 63, .52); }
.text-link { color: var(--gold-deep); }
.btn:focus-visible,
.tab-btn:focus-visible,
.nav-item > a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid rgba(180, 129, 63, .3);
  outline-offset: 2px;
}
.hero-actions { gap: 12px; margin-top: 34px; }

/* Full-width focused hero */
.hero { width: 100%; padding: 0 0 0 clamp(28px, 4.15vw, 80px); overflow: visible; background: #fff; }
.hero-shell {
  position: relative;
  display: flex;
  width: 100%;
  max-width: none;
  min-height: 760px;
  overflow: hidden;
  border-radius: 48px 0 0 0;
  background: var(--navy-deep);
}
.hero-copy-block {
  position: relative;
  z-index: 4;
  display: flex;
  width: 100%;
  min-height: 760px;
  flex-direction: column;
  justify-content: center;
  padding: 100px 64px 120px max(48px, calc((100vw - var(--content-max)) / 2));
  color: #fff;
}
.hero h1 {
  display: flex;
  max-width: 820px;
  margin: 28px 0 0;
  flex-direction: column;
  font-family: var(--sans);
  font-size: clamp(50px, 3.125vw, 60px);
  font-weight: 400;
  line-height: 1.18;
  letter-spacing: -.06em;
}
.hero h1 span { display: block; color: rgba(255, 255, 255, .76); font-weight: 350; }
.hero h1 strong { display: block; color: #fff; font-weight: 700; }
.hero .eyebrow { color: var(--gold-soft); font-size: 16px; font-weight: 650; letter-spacing: .04em; }
.hero .gold-line { background: var(--gold-soft); }
.hero-copy { max-width: 690px; color: rgba(255, 255, 255, .75); font-size: 18px; line-height: 1.85; }
.hero-visual { position: absolute; inset: 0; min-height: 0; }
.hero-visual::before {
  inset: 0;
  width: auto;
  z-index: 2;
  background: linear-gradient(90deg, rgba(5, 19, 36, .92) 0%, rgba(5, 19, 36, .84) 35%, rgba(5, 19, 36, .46) 68%, rgba(5, 19, 36, .18) 100%);
}
.hero-visual::after { z-index: 2; background: linear-gradient(0deg, rgba(3, 15, 29, .34), transparent 45%); }
.hero-visual img { object-position: center 48%; }
.hero .btn { min-width: 168px; min-height: 58px; border-radius: 999px; }
.hero .btn.light { color: #fff; background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .55); }
.hero .btn.light:hover { background: #fff; color: var(--navy); border-color: #fff; }
.hero .btn > span[aria-hidden] {
  width: 16px;
  height: 16px;
  overflow: hidden;
  background: url('/assets/icons/arrow-right.svg') center / 15px 15px no-repeat;
  filter: brightness(0) invert(1);
  font-size: 0;
}
.hero .btn.light:hover > span[aria-hidden] { filter: none; }

/* Timed home hero slider */
.hero-slider { position: relative; }
.hero-slides { position: relative; height: 760px; }
.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .65s ease, visibility .65s ease;
}
.hero-slide.is-active { z-index: 2; opacity: 1; visibility: visible; pointer-events: auto; }
.hero-slide .hero-copy-block > * { opacity: 0; transform: translateY(14px); transition: opacity .55s ease, transform .65s cubic-bezier(.2,.75,.25,1); }
.hero-slide.is-active .hero-copy-block > * { opacity: 1; transform: translateY(0); }
.hero-slide.is-active .hero-copy-block > *:nth-child(2) { transition-delay: .05s; }
.hero-slide.is-active .hero-copy-block > *:nth-child(3) { transition-delay: .1s; }
.hero-slide.is-active .hero-copy-block > *:nth-child(4) { transition-delay: .15s; }
.hero-slide.is-active .hero-copy-block > *:nth-child(5) { transition-delay: .2s; }
.hero-slide .hero-visual img { transform: scale(1.035); transition: transform 6.5s ease; }
.hero-slide.is-active .hero-visual img { transform: scale(1); }
.hero-slider-ui {
  position: absolute;
  right: clamp(28px, 4.5vw, 86px);
  bottom: 34px;
  z-index: 8;
  display: grid;
  grid-template-columns: minmax(220px, min(28vw, 460px)) auto auto;
  gap: 18px;
  align-items: center;
}
.hero-slider-progress { position: relative; height: 2px; overflow: hidden; background: rgba(255,255,255,.25); }
.hero-slider-progress span { position: absolute; inset: 0; background: var(--gold-soft); transform: scaleX(0); transform-origin: left center; }
.hero-slider-count { display: flex; align-items: baseline; gap: 6px; color: rgba(255,255,255,.55); font-size: 11px; font-weight: 700; letter-spacing: .1em; }
.hero-slider-count strong { color: #fff; font-size: 14px; }
.hero-slider-controls { display: flex; gap: 7px; }
.hero-slider-controls button {
  display: grid;
  width: 43px;
  height: 43px;
  padding: 0;
  place-items: center;
  background: rgba(8,25,45,.46);
  border: 1px solid rgba(255,255,255,.35);
  border-radius: 50%;
  backdrop-filter: blur(8px);
  transition: background .2s ease, border-color .2s ease;
}
.hero-slider-controls button:hover { background: var(--gold-deep); border-color: var(--gold-deep); }
.hero-slider-controls img { width: 17px; height: 17px; filter: brightness(0) invert(1); }
.hero-slider-controls [data-hero-prev] img { transform: rotate(180deg); }

/* Editorial service directory */
.quick-grid-wrap { margin: 0; padding: 164px 0 150px; background: #fff; }
.home-service-layout { display: grid; grid-template-columns: minmax(390px, .82fr) minmax(0, 1.18fr); gap: clamp(82px, 9.5vw, 164px); align-items: start; }
.home-service-intro { position: sticky; top: 120px; padding-top: 2px; }
.home-service-ghost {
  margin: 0 0 74px -7px;
  color: #edf0f2;
  font-size: clamp(68px, 6.2vw, 94px);
  font-weight: 800;
  line-height: .8;
  letter-spacing: -.065em;
}
.home-service-intro h2 { margin: 18px 0 28px; color: var(--navy); font-size: clamp(44px, 2.865vw, 55px); font-weight: 700; line-height: 1.25; letter-spacing: -.055em; }
.home-service-intro p { max-width: 460px; color: var(--muted); font-size: 17px; line-height: 1.85; }
.service-more { margin-top: 20px; border-radius: 999px; color: var(--navy); }
.mobile-swipe-hint { display: none; }
.quick-grid {
  display: block;
  width: 100%;
  margin: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  counter-reset: home-service;
}
.quick-card {
  display: grid;
  min-height: 0;
  grid-template-columns: 74px minmax(0, 1fr) auto;
  grid-template-rows: auto auto auto;
  column-gap: 22px;
  align-items: start;
  margin: 0 0 66px;
  padding: 0 0 66px;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--line);
  counter-increment: home-service;
}
.quick-card:last-child { margin-bottom: 0; }
.quick-card:hover { background: transparent; box-shadow: none; transform: none; }
.quick-card:hover strong { color: var(--gold-deep); }
.quick-card::before {
  content: "0" counter(home-service);
  grid-column: 1;
  grid-row: 2 / 4;
  padding-top: 6px;
  color: var(--gold-deep);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: .1em;
}
.quick-card .service-photo {
  width: 100%;
  aspect-ratio: 16 / 8.4;
  margin: 0 0 30px;
  grid-column: 1 / -1;
  grid-row: 1;
  object-fit: cover;
  border-radius: 18px;
  filter: saturate(.78) contrast(1.02);
  transition: filter .25s ease;
}
.quick-card:nth-child(1) .service-photo { object-position: center 48%; }
.quick-card:nth-child(2) .service-photo { object-position: center 53%; }
.quick-card:nth-child(3) .service-photo { object-position: center 55%; }
.quick-card:nth-child(4) .service-photo { object-position: center 54%; }
.quick-card:hover .service-photo { filter: saturate(.92) contrast(1.04); }
.quick-card strong { grid-column: 2; grid-row: 2; font-family: var(--sans); font-size: 29px; font-weight: 700; letter-spacing: -.045em; }
.quick-card p { max-width: 560px; margin: 9px 0 0; grid-column: 2; grid-row: 3; color: var(--muted); font-size: 16px; line-height: 1.75; }
.quick-card span { align-self: center; margin: 5px 0 0; grid-column: 3; grid-row: 2 / 4; color: var(--gold-deep); font-size: 14px; }
.quick-card span::after {
  display: inline-block;
  width: 22px;
  height: 22px;
  flex: 0 0 22px;
  content: "";
  background: url('/assets/icons/arrow-right.svg') center / 12px 12px no-repeat;
  border-color: rgba(180, 129, 63, .48);
}
.text-link::after {
  display: inline-block;
  width: 15px;
  height: 15px;
  flex: 0 0 15px;
  content: "";
  background: url('/assets/icons/arrow-right.svg') center / 14px 14px no-repeat;
}

@media (min-width: 1121px) {
  .hero,
  .hero-slides,
  .hero-slide,
  .hero-shell,
  .hero-copy-block { height: calc(100vh - 88px); min-height: calc(100vh - 88px); }
  .quick-grid-wrap[data-service-scroll] {
    height: 380vh;
    padding: 0;
  }
  [data-service-scroll] .home-service-layout {
    position: sticky;
    top: 88px;
    height: calc(100vh - 88px);
    align-items: center;
  }
  [data-service-scroll] .home-service-intro {
    position: static;
    padding: 0;
  }
  [data-service-scroll] .home-service-ghost {
    margin-bottom: clamp(28px, 5vh, 62px);
  }
  [data-service-scroll] .quick-grid {
    --service-progress: 0%;
    --service-progress-scale: 0;
    position: relative;
    height: min(680px, calc(100vh - 154px));
    overflow: hidden;
    background-image: linear-gradient(var(--line), var(--line));
    background-position: left bottom;
    background-repeat: no-repeat;
    background-size: 100% 2px;
  }
  [data-service-scroll] .quick-grid::before {
    position: absolute;
    bottom: 0;
    left: 0;
    z-index: 3;
    width: 100%;
    height: 2px;
    background: var(--gold-deep);
    content: "";
    transform: scaleX(var(--service-progress-scale));
    transform-origin: left center;
    transition: transform .48s cubic-bezier(.22, .7, .25, 1);
    will-change: transform;
  }
  [data-service-scroll] .quick-grid::after {
    position: absolute;
    right: 0;
    bottom: 16px;
    z-index: 3;
    color: var(--gold-deep);
    content: attr(data-current) " / 04";
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .12em;
  }
  [data-service-scroll] .quick-card {
    position: absolute;
    inset: 0;
    min-height: 0;
    margin: 0;
    padding: 0 0 54px;
    border: 0;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(30px) scale(.985);
    transition: opacity .42s ease, transform .55s cubic-bezier(.2, .75, .25, 1), visibility .42s ease;
  }
  [data-service-scroll] .quick-card.is-active {
    z-index: 2;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0) scale(1);
  }
  [data-service-scroll] .quick-card .service-photo {
    height: calc(100% - 142px);
    min-height: 330px;
    aspect-ratio: auto;
    margin-bottom: 25px;
  }
  [data-service-scroll] .quick-card::before { padding-top: 4px; }
  [data-service-scroll] .quick-card strong { font-size: 28px; }
  [data-service-scroll] .quick-card p { margin-top: 6px; }
  [data-service-scroll] .quick-card span { margin-right: 78px; }
}

/* Spacing and section typography */
.section { padding: 120px 0; }
.section-head { max-width: 780px; margin-bottom: 42px; }
.section-head h2 {
  margin: 10px 0 14px;
  font-family: var(--sans);
  font-size: clamp(40px, 3.5vw, 50px);
  font-weight: 700;
  line-height: 1.28;
  letter-spacing: -.055em;
}
.section-head p { font-size: 17px; line-height: 1.75; }
.section-title-row { margin-bottom: 30px; }
.section-title-row h2 { font-family: var(--sans); font-size: 34px; font-weight: 700; letter-spacing: -.045em; }
.text-link { font-size: 14px; }

/* Home content */
.home-utility-section { padding-top: 96px; padding-bottom: 104px; }
.home-info-row { grid-template-columns: minmax(0, 1.65fr) repeat(2, minmax(240px, .675fr)); gap: 22px; }
.home-panel { min-height: 390px; border-radius: 14px; box-shadow: none; }
.notice-panel { padding: 36px 40px; }
.notice-panel .head { margin-bottom: 20px; }
.notice-panel h3,
.promo-card h3 { font-family: var(--sans); font-size: 28px; font-weight: 700; letter-spacing: -.04em; }
.notice-row { grid-template-columns: auto minmax(0, 1fr) 100px; gap: 16px; padding: 13px 0; font-size: 16.5px; }
.notice-row time { font-size: 14px; }
.new-tag { padding: 4px 9px; color: #fff; background: var(--gold-deep); font-size: 11.5px; }
.promo-card { padding: 36px; }
.utility-card { position: relative; overflow: hidden; }
.home-utility-section .utility-card { justify-content: center; }
.utility-card .promo-copy { max-width: 100%; }
.promo-card .kicker { font-size: 13px; }
.promo-card p { max-width: 240px; margin: 11px 0 22px; font-size: 16.5px; line-height: 1.7; }
.home-panel .text-link { font-size: 15.5px; }
.phone-promo { padding: 26px; }
.phone-promo .phone-big { color: var(--gold-deep); font-size: 22px; }
.trust-grid { gap: 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.trust-card { padding: 34px; border-width: 0 1px 0 0; border-radius: 0; box-shadow: none; }
.trust-card:last-child { border-right: 0; }
.trust-card:hover { box-shadow: none; transform: none; }
.trust-card .number { font-family: var(--sans); font-size: 12px; }
.trust-card h3 { font-family: var(--sans); font-size: 22px; font-weight: 700; letter-spacing: -.035em; }
.trust-card p { color: var(--muted); font-size: 15.5px; line-height: 1.75; }
.consult-strip { grid-template-columns: minmax(0, 1.02fr) minmax(440px, .98fr); border-radius: 14px; }
.consult-copy { padding: 54px; }
.consult-copy h2 { font-family: var(--sans); font-size: 42px; font-weight: 700; letter-spacing: -.05em; }
.consult-copy > p { font-size: 16px; }
.status-list { gap: 10px; margin-top: 28px; }
.status-item { grid-template-columns: 104px 1fr 88px; padding: 13px 15px; font-size: 14px; }
.consult-form.home-form {
  align-self: stretch;
  margin: 16px;
  padding: 46px;
  color: var(--ink);
  background: #fff;
  border: 1px solid #dfe4ea;
  border-radius: 10px;
  box-shadow: 0 16px 38px rgba(7, 26, 50, .13);
}
.home-form h3 { margin-top: 0; color: var(--navy); font-family: var(--sans) !important; font-size: 28px !important; font-weight: 700; letter-spacing: -.04em; }
.home-form .field label { color: #344458; }
.home-form .checkbox { color: var(--muted); }
.home-form .checkbox a { color: var(--gold-deep); }
.badge.gold { color: var(--gold-deep); background: var(--gold-wash); }
.form-submit { width: 100%; margin-top: 20px; }
.prep-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; counter-reset: prep; }
.prep-card { padding: 30px; border-top: 2px solid var(--gold); background: #fff; box-shadow: 0 8px 24px rgba(15, 35, 60, .045); counter-increment: prep; }
.prep-card::before { content: "0" counter(prep); display: block; margin-bottom: 28px; color: var(--gold); font-size: 13px; font-weight: 800; letter-spacing: .12em; }
.prep-card h3 { margin: 0 0 10px; color: var(--navy); font-size: 21px; letter-spacing: -.035em; }
.prep-card p { margin: 0; color: var(--muted); font-size: 15.5px; }

/* Cards and forms */
.three-grid { gap: 20px; }
.info-card { padding: 30px; border-radius: 12px; }
.info-card h2 { margin: 8px 0 12px; color: var(--navy); font-size: 28px; line-height: 1.4; letter-spacing: -.04em; }
.info-card h3 { font-family: var(--sans); font-size: 22px; font-weight: 700; letter-spacing: -.035em; }
.info-card p { color: var(--muted); font-size: 15.5px; line-height: 1.75; }
.split { gap: clamp(32px, 4vw, 62px); }
.split > * { min-width: 0; }
.image-card { min-height: 430px; }
.image-card .caption { left: 30px; right: 30px; bottom: 28px; }
.image-card .caption strong { font-family: var(--sans); font-size: 22px; font-weight: 700; }
.consult-form { padding: 38px; }
.consult-form > h2 { font-family: var(--sans) !important; font-size: 32px; font-weight: 700; letter-spacing: -.045em; }
.field { margin-bottom: 19px; }
.field label { margin-bottom: 8px; font-size: 14px; }
.field input,
.field select,
.field textarea { min-height: 52px; padding: 13px 15px; border-radius: 10px; }
.field textarea { min-height: 130px; resize: vertical; }
.field-row { gap: 16px; }
.checkbox { gap: 10px; font-size: 13.5px; line-height: 1.6; }
.checkbox a { color: var(--gold-deep); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.badge { font-size: 12px; }
.field input:focus,
.field select:focus,
.field textarea:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(180, 129, 63, .12); }
.radio-card input:checked + span { color: #fff; background: var(--gold-deep); border-color: var(--gold-deep); }

/* Subpages */
.subhero { min-height: 430px; background: var(--navy-deep); border-bottom: 0; }
.subhero::before {
  background-image: linear-gradient(90deg, rgba(5, 19, 36, .86) 0%, rgba(5, 19, 36, .7) 52%, rgba(5, 19, 36, .38) 100%), url('/assets/img/subhero-bg.png');
  background-position: center 52%;
  filter: saturate(.78) contrast(1.06);
}
.subhero .container { display: flex; min-height: 430px; flex-direction: column; justify-content: center; padding-top: 86px; padding-bottom: 110px; }
.subhero small { color: var(--gold-soft); font-size: 14px; font-weight: 700; letter-spacing: .14em; }
.subhero h1 { margin: 14px 0 20px; color: #fff; font-family: var(--sans); font-size: clamp(48px, 4.5vw, 60px); font-weight: 700; line-height: 1.2; letter-spacing: -.055em; }
.subhero p { max-width: 850px; color: rgba(255, 255, 255, .72); font-size: 18px; line-height: 1.8; }
.subnav {
  width: min(var(--content-max), calc(100% - 64px));
  margin: -38px auto 0;
  top: 88px;
  isolation: isolate;
  background: #fff;
  border: 1px solid rgba(223, 229, 235, .9);
  box-shadow: 0 14px 34px rgba(8, 28, 53, .08);
  backdrop-filter: none;
}
.subnav .container { width: 100%; max-width: none; justify-content: center; padding: 0 18px; }
.subnav a { flex: 1 1 0; min-width: 104px; padding: 23px 18px 20px; font-size: 15px; font-weight: 650; text-align: center; }
.content-section { padding: 110px 0; }
.content-section h2 { font-family: var(--sans); font-size: 42px; font-weight: 700; line-height: 1.28; letter-spacing: -.05em; }
.content-section p:not(.content-lead) { font-size: 17px; line-height: 1.85; }
.content-lead { max-width: 960px; color: #344a62; font-size: 19px; line-height: 1.9; }
.feature-list { gap: 18px; margin-top: 32px; }
.feature-box { padding: 30px; border-radius: 16px; }
.feature-box b { font-size: 12px; }
.feature-box h3 { font-family: var(--sans); font-size: 23px; font-weight: 700; letter-spacing: -.035em; }
.feature-box p { color: var(--muted); font-size: 16px !important; line-height: 1.8; }
.process { --process-gap: 28px; gap: var(--process-gap); }
.step { min-height: 198px; padding: 28px; border-color: #dbe2e9; border-radius: 10px; box-shadow: 0 10px 26px rgba(12, 34, 63, .045); }
.step::after {
  right: calc(var(--process-gap) / -2);
  display: grid;
  width: 26px;
  height: 26px;
  place-items: center;
  z-index: 2;
  color: var(--gold-deep);
  content: "";
  background: #fff url('/assets/icons/arrow-right.svg') center / 14px 14px no-repeat;
  border: 1px solid rgba(180, 129, 63, .35);
  border-radius: 50%;
  transform: translate(50%, -50%);
}
.step b { font-size: 12px; }
.step strong { margin: 10px 0; font-family: var(--sans); font-size: 18px; line-height: 1.45; }
.step span { font-size: 14px; line-height: 1.65; }
.bullet-list { padding-left: 22px; color: #43566d; font-size: 16px; }
.bullet-list li { margin: 10px 0; padding-left: 4px; }
.callout { padding: 52px; background: var(--navy); border-top: 3px solid var(--gold); border-radius: 10px; }
.callout h2 { margin: 6px 0 12px; font-size: 36px; }
.callout p { max-width: 820px; font-size: 16px; }
.overview-card { align-self: stretch; padding: clamp(30px, 4vw, 48px); background: var(--paper); box-shadow: none; }
.overview-card .qicon { width: 50px; height: 50px; margin-bottom: 20px; }
.overview-card h3 { margin-top: 8px; }

/* Editorial service-page rhythm */
:is(body[data-page="rehabilitation.php"], body[data-page="bankruptcy.php"]) .content-section {
  overflow: hidden;
  border-bottom: 0;
}
:is(body[data-page="rehabilitation.php"], body[data-page="bankruptcy.php"]) .content-section + .content-section {
  border-top: 1px solid #edf0f3;
}
:is(body[data-page="rehabilitation.php"], body[data-page="bankruptcy.php"]) #about .split {
  grid-template-columns: minmax(0, 1.22fr) minmax(370px, .78fr);
  align-items: center;
}
:is(body[data-page="rehabilitation.php"], body[data-page="bankruptcy.php"]) #about .overview-card {
  position: relative;
  padding: 42px 44px;
  background: linear-gradient(135deg, #faf6ef, #f5f1e9);
  border: 0;
  border-left: 3px solid var(--gold);
  border-radius: 8px;
}
:is(body[data-page="rehabilitation.php"], body[data-page="bankruptcy.php"]) #about .overview-card::after {
  content: "";
  position: absolute;
  top: 24px;
  right: 24px;
  width: 52px;
  height: 1px;
  background: rgba(180, 129, 63, .55);
}
:is(body[data-page="rehabilitation.php"], body[data-page="bankruptcy.php"]) #advantages {
  background: #faf9f6;
}
:is(body[data-page="rehabilitation.php"], body[data-page="bankruptcy.php"]) :is(#advantages, #process) .section-head {
  display: grid;
  max-width: none;
  grid-template-columns: minmax(320px, .82fr) minmax(420px, 1.18fr);
  column-gap: clamp(52px, 7vw, 110px);
  align-items: end;
}
:is(body[data-page="rehabilitation.php"], body[data-page="bankruptcy.php"]) :is(#advantages, #process) .section-head .kicker {
  grid-column: 1;
  grid-row: 1;
}
:is(body[data-page="rehabilitation.php"], body[data-page="bankruptcy.php"]) :is(#advantages, #process) .section-head h2 {
  grid-column: 1;
  grid-row: 2;
  margin-bottom: 0;
}
:is(body[data-page="rehabilitation.php"], body[data-page="bankruptcy.php"]) :is(#advantages, #process) .section-head p {
  grid-column: 2;
  grid-row: 1 / 3;
  align-self: end;
  margin-bottom: 4px;
}
:is(body[data-page="rehabilitation.php"], body[data-page="bankruptcy.php"]) #advantages .feature-list {
  gap: 0;
  border-top: 1px solid rgba(180, 129, 63, .42);
  border-bottom: 1px solid rgba(180, 129, 63, .42);
}
:is(body[data-page="rehabilitation.php"], body[data-page="bankruptcy.php"]) #advantages .feature-box {
  padding: 34px 38px;
  background: transparent;
  border: 0;
  border-right: 1px solid #dedbd5;
  border-radius: 0;
  box-shadow: none;
}
:is(body[data-page="rehabilitation.php"], body[data-page="bankruptcy.php"]) #advantages .feature-box:first-child { padding-left: 0; }
:is(body[data-page="rehabilitation.php"], body[data-page="bankruptcy.php"]) #advantages .feature-box:last-child { padding-right: 0; border-right: 0; }
:is(body[data-page="rehabilitation.php"], body[data-page="bankruptcy.php"]) #process {
  background: #f4f6f8;
}
:is(body[data-page="rehabilitation.php"], body[data-page="bankruptcy.php"]) #process .step {
  background: #fff;
  border-top: 2px solid var(--gold);
}
:is(body[data-page="rehabilitation.php"], body[data-page="bankruptcy.php"]) #eligibility .feature-list {
  gap: 16px;
}
:is(body[data-page="rehabilitation.php"], body[data-page="bankruptcy.php"]) #eligibility .feature-box {
  padding: 30px 32px;
  background: #f8f9fa;
  border: 0;
  border-left: 2px solid var(--gold);
  border-radius: 0;
  box-shadow: none;
}
:is(body[data-page="rehabilitation.php"], body[data-page="bankruptcy.php"]) #eligibility .feature-box h3 { margin-top: 0; }
:is(body[data-page="rehabilitation.php"], body[data-page="bankruptcy.php"]) #documents {
  background: #fbfaf7;
}
:is(body[data-page="rehabilitation.php"], body[data-page="bankruptcy.php"]) #documents .info-card {
  align-self: stretch;
  padding: clamp(32px, 4vw, 48px);
  background: #fff;
  border: 1px solid #e3e0da;
  border-radius: 8px;
  box-shadow: none;
}
body[data-page="rehabilitation.php"] #dismissal .container {
  display: grid;
  grid-template-columns: minmax(300px, .7fr) minmax(0, 1.3fr);
  gap: clamp(48px, 8vw, 120px);
  align-items: end;
}
body[data-page="rehabilitation.php"] #dismissal .section-head { margin-bottom: 0; }
body[data-page="rehabilitation.php"] #dismissal .content-lead { margin: 0; }
.office-profile { grid-template-columns: minmax(360px, .82fr) minmax(0, 1.18fr); gap: clamp(42px, 5vw, 76px); }
.office-profile .copy h2 { font-family: var(--sans); font-size: 42px; font-weight: 700; letter-spacing: -.055em; }
.office-profile .copy > p:not(.content-lead) { color: #4c5e73; font-size: 16px; }
.office-meta div { padding: 19px; }
.office-meta small { font-size: 13px; }
.office-meta strong { font-size: 17px; }
.consult-page-layout { display: grid; grid-template-columns: minmax(0, .84fr) minmax(520px, 1.16fr); gap: clamp(42px, 6vw, 92px); align-items: start; }
.consult-intro { padding-top: 18px; }
.consult-intro h2 { margin: 10px 0 18px; color: var(--navy); font-size: 40px; line-height: 1.35; letter-spacing: -.055em; }
.consult-check-list { display: grid; margin: 34px 0; border-top: 1px solid var(--line); }
.consult-check-list > div { display: grid; grid-template-columns: 110px 1fr; gap: 14px; padding: 17px 0; border-bottom: 1px solid var(--line); }
.consult-check-list strong { color: var(--navy); font-size: 15px; }
.consult-check-list span { color: var(--muted); font-size: 15px; }
.direct-contact { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px 14px; padding: 22px 24px; border-radius: 14px; color: #fff; background: var(--navy); }
.direct-contact small { width: 100%; color: #b9c7d7; font-size: 12px; font-weight: 700; }
.direct-contact a { font-size: 23px; font-weight: 800; }
.direct-contact span { color: #c6d1dd; font-size: 13px; }

/* Full-width, evenly distributed tabs */
.tabs {
  display: grid;
  width: 100%;
  max-width: none;
  grid-auto-flow: column;
  grid-auto-columns: minmax(0, 1fr);
  gap: 8px;
  margin: 0 0 36px;
  padding: 7px;
  background: var(--gold-wash);
  border: 1px solid rgba(180, 129, 63, .22);
}
.tab-btn {
  display: flex;
  min-width: 0;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 13px 18px;
  color: #665a4d;
  font-size: 15px;
  text-align: center;
}
.tab-btn.active { color: #fff; background: var(--gold-deep); box-shadow: 0 6px 18px rgba(139, 93, 37, .18); }
.diag-layout { grid-template-columns: minmax(0, 1.08fr) minmax(400px, .92fr); gap: 32px; }
.diag-card { padding: 36px; }
.diag-card h2 { font-family: var(--sans); font-size: 30px; font-weight: 700; letter-spacing: -.04em; }
.form-section-title { font-size: 18px; }
.money-wrap span { top: 14px; font-size: 13px; }
.asset-fields-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 20px;
}
.money-wrap.outside-unit {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
}
.money-wrap.outside-unit input {
  min-width: 0;
  padding-right: 15px;
  text-align: right;
}
.money-wrap.outside-unit span {
  position: static;
  color: var(--navy);
  font-size: 15px;
  font-weight: 750;
  white-space: nowrap;
}
.radio-card span { min-width: 76px; padding: 10px 15px; font-size: 14px; text-align: center; }
.rehab-status-row { align-items: start; }
.job-type-field[hidden] { display: none !important; }
.result-box { padding: 17px; }
.result-box small { font-size: 12px; }
.result-box strong { font-size: 18px; }
.notice-box,
.warn-box { font-size: 14px; line-height: 1.65; }
.check-question p { font-size: 15.5px; }

/* Boards and articles */
.board-shell { border-top-color: var(--gold-deep); }
.pagination a.active { color: #fff; background: var(--gold-deep); border-color: var(--gold-deep); }
.board-table th,
.board-table td { padding: 17px 15px; }
.board-table th { font-size: 13px; text-align: center; }
.board-table td { font-size: 15px; }
.board-table td:not(:nth-child(2)) { text-align: center; }
.article { max-width: 960px; }
.article-header h1 { font-family: var(--sans); font-size: 36px; letter-spacing: -.045em; }
.article-body { font-size: 16px; line-height: 1.85; }
.article-body h2 { margin: 44px 0 16px; color: var(--navy); font-size: 30px; line-height: 1.35; }
.article-body h3 { margin: 36px 0 14px; color: var(--navy); font-size: 24px; line-height: 1.4; }
.article-body p { margin: 0 0 1.25em; }
.article-body blockquote { margin: 28px 0; padding: 20px 24px; color: #516074; background: #f8f6f2; border-left: 3px solid var(--gold-deep); }
.article-body img { display: block; max-width: 100%; height: auto; margin: 32px auto; border-radius: 10px; }
.article-body figure { margin: 32px 0; }
.article-body figcaption { margin-top: 8px; color: var(--muted); font-size: 13px; text-align: center; }
.privacy-article h2 { margin: 42px 0 12px; color: var(--navy); font-size: 24px; letter-spacing: -.035em; }
.privacy-article h2:first-child { margin-top: 0; }
.privacy-article p { color: #475b71; font-size: 16px; line-height: 1.85; }
.pagination a { width: 40px; height: 40px; }

/* Map */
.location-layout { display: grid; grid-template-columns: minmax(330px, .72fr) minmax(0, 1.28fr); gap: 24px; align-items: stretch; }
.location-card { display: flex; flex-direction: column; justify-content: center; box-shadow: none; }
.location-card .qicon { width: 48px; height: 48px; margin-bottom: 16px; }
.location-list { display: grid; gap: 0; margin: 17px 0 26px; }
.location-item { padding: 14px 0; border-top: 1px solid var(--line); }
.location-item:last-child { border-bottom: 1px solid var(--line); }
.location-item dt { margin-bottom: 3px; color: #7a8796; font-size: 12px; font-weight: 700; }
.location-item dd { margin: 0; color: var(--ink); font-size: 15.5px; }
.location-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.office-map { min-height: 500px; border: 1px solid var(--line); border-radius: 18px; background: #e9edf1; overflow: hidden; box-shadow: var(--shadow-soft); }
.map-loading { display: grid; min-height: 500px; margin: 0; place-items: center; color: var(--muted); font-size: 14px; }
.office-map .leaflet-control-attribution { font-family: var(--sans); font-size: 10px; }
.office-map .leaflet-popup-content-wrapper { border-radius: 12px; box-shadow: 0 12px 36px rgba(8, 28, 53, .2); }
.office-map .leaflet-popup-content { margin: 16px 18px; font-family: var(--sans); line-height: 1.55; }
.map-popup strong { display: block; color: var(--navy); font-size: 15px; }
.map-popup span { display: block; margin-top: 4px; color: var(--muted); font-size: 12px; }
.haesol-map-marker { background: transparent; border: 0; }
.haesol-marker-pin { position: relative; display: grid; width: 44px; height: 44px; place-items: center; border: 3px solid #fff; border-radius: 50% 50% 50% 12px; color: #fff; background: var(--gold-deep); box-shadow: 0 9px 24px rgba(80, 51, 19, .3); transform: rotate(-45deg); }
.haesol-marker-pin::after { content: "H"; font-size: 15px; font-weight: 850; letter-spacing: -.04em; transform: rotate(45deg); }

/* Footer */
.site-footer { padding: 56px 32px 0; }
.footer-inner,
.copyright { width: min(var(--content-max), 100%); }
.footer-inner { grid-template-columns: 1.05fr 1.8fr .85fr; gap: 48px; }
.footer-brand { align-items: flex-start; }
.footer-brand img.footer-logo { width: min(240px, 100%); height: auto; filter: brightness(0) invert(1); opacity: .94; }
.footer-brand strong { font-family: var(--sans); font-size: 18px; }
.footer-brand p,
.footer-info p { font-size: 13px; line-height: 1.7; }
.footer-info a { color: inherit; }
.footer-info a:hover { color: #fff; }
.footer-info .footer-notice { max-width: 760px; margin-top: 10px; }
.footer-links { gap: 18px; font-size: 13px; }
.footer-channel-links { display: flex; flex-direction: row; justify-content: flex-end; gap: 9px; padding-bottom: 16px; border-bottom: 1px solid rgba(255,255,255,.12); }
.footer-policy-links { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; }
.channel-link { position: relative; display: grid; width: 40px; height: 40px; flex: 0 0 40px; place-items: center; overflow: hidden; border-radius: 50%; transition: transform .2s ease, box-shadow .2s ease; }
.channel-link:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(0,0,0,.22); }
.channel-link:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
.channel-blog,
.channel-cafe { color: #fff; background: #03c75a; }
.channel-kakao { color: #261f1f; background: #fee500; }
.channel-glyph { font-family: Arial, sans-serif; font-size: 19px; font-weight: 900; line-height: 1; }
.channel-link svg { width: 22px; height: 22px; overflow: visible; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.8; }
.channel-kakao svg { width: 23px; height: 23px; fill: currentColor; stroke: none; }
.channel-name { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.footer-policy-links a { color: #aeb9c7; }
.copyright { margin-top: 36px; padding: 20px 0; font-size: 12px; }

@media (max-width: 1280px) {
  .header-inner { width: calc(100% - 40px); }
  .brand { min-width: 210px; }
  .brand-logo { width: 204px; height: 78px; }
  .nav-item > a { padding-right: 10px; padding-left: 10px; font-size: 17px; }
  .header-phone { min-width: 178px; padding-left: 15px; }
  .header-phone b { font-size: 16px; }
  .home-info-row { grid-template-columns: 1.35fr 1fr 1fr; }
  .process { --process-gap: 18px; grid-template-columns: repeat(3, 1fr); }
  .step::after { display: none; }
}

@media (max-width: 1120px) {
  html { scroll-padding-top: 138px; }
  .site-header { backdrop-filter: none; }
  body.menu-open .site-header { z-index: 2000; background: transparent; border-color: transparent; box-shadow: none; }
  .brand { position: relative; z-index: 1602; }
  .gnb {
    position: fixed;
    inset: 0;
    z-index: 1600;
    display: flex;
    width: 100%;
    height: 100dvh;
    padding: 128px clamp(32px, 8vw, 96px) 64px;
    overflow-y: auto;
    flex-direction: column;
    justify-content: flex-start;
    align-items: stretch;
    gap: 0;
    background: #faf8f4;
    border: 0;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-14px);
    transition: opacity .3s ease, transform .35s cubic-bezier(.2, .8, .2, 1), visibility .3s ease;
  }
  .gnb.open { opacity: 1; visibility: visible; pointer-events: auto; transform: translateY(0); }
  .nav-item { display: block; width: min(820px, 100%); height: auto; margin: 0 auto; }
  .nav-item > a {
    display: flex;
    min-height: 76px;
    padding: 18px 44px 18px 0;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid rgba(16, 45, 82, .14);
    color: var(--navy);
    font-size: clamp(25px, 3.1vw, 34px);
    font-weight: 700;
    letter-spacing: -.045em;
  }
  .nav-item > a::after { display: none; }
  .nav-item:has(.submenu) > a::after {
    position: absolute;
    right: 2px;
    bottom: auto;
    left: auto;
    display: block;
    width: 30px;
    height: 30px;
    color: var(--gold-deep);
    background: transparent;
    content: "+";
    font-size: 27px;
    font-weight: 350;
    line-height: 28px;
    text-align: center;
    transform: none;
  }
  .nav-item.open > a::after { content: "−"; }
  .submenu {
    display: none;
    position: static;
    min-width: 0;
    padding: 14px 0 20px 24px;
    background: transparent;
    transform: none !important;
    opacity: 1;
    visibility: visible;
    border: 0;
    border-radius: 0;
    box-shadow: none;
  }
  .nav-item.open .submenu { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 32px; }
  .submenu a { padding: 11px 0; color: var(--muted); font-size: 18px; font-weight: 600; }
  .submenu a:hover { color: var(--gold-deep); background: transparent; }
  .mobile-menu-btn { position: relative; z-index: 1602; display: block; margin-left: auto; }
  .header-phone { min-width: auto; border-left: 0; }
  .hero-shell { min-height: 640px; grid-template-columns: 1fr; }
  .hero-slides, .hero-slide { height: 640px; }
  .hero-copy-block { min-height: 640px; padding: 82px 48px 92px; }
  .hero-visual { min-height: 0; }
  .hero-visual::before { display: block; }
  .quick-grid-wrap { margin: 0; padding: 120px 0; }
  .home-service-layout { grid-template-columns: 1fr; gap: 56px; }
  .home-service-intro { position: static; }
  .home-service-ghost { margin-bottom: 48px; }
  .home-service-intro p { max-width: 620px; }
  .quick-card .service-photo { aspect-ratio: 16 / 7.4; }
  .home-info-row { grid-template-columns: 1fr 1fr; }
  .notice-panel { grid-column: 1 / -1; }
  .consult-strip { grid-template-columns: 1fr; }
  .trust-grid,
  .three-grid,
  .prep-grid { grid-template-columns: 1fr 1fr; }
  .location-layout { grid-template-columns: .8fr 1.2fr; }
  .consult-page-layout { grid-template-columns: minmax(0, .8fr) minmax(460px, 1.2fr); gap: 42px; }
}

@media (max-width: 800px) {
  html { scroll-padding-top: 122px; }
  body { padding-bottom: 64px; }
  .container { width: calc(100% - 40px); }
  .site-header { height: 72px; }
  .header-inner { width: calc(100% - 28px); }
  .brand { min-width: 0; flex: 1; }
  .brand-logo { width: 176px; height: 62px; }
  .header-phone { display: none; }
  .gnb { top: 0; padding: 104px 28px 44px; }
  .nav-item > a { min-height: 66px; font-size: 27px; }
  .hero { padding-left: 20px; }
  .hero-shell { min-height: 580px; border-radius: 28px 0 0 0; }
  .hero-slides, .hero-slide { height: 580px; }
  .hero-copy-block { min-height: 580px; padding: 68px 28px 92px; }
  .hero-slider-ui { right: 26px; bottom: 22px; grid-template-columns: minmax(120px, 1fr) auto auto; width: calc(100% - 72px); gap: 12px; }
  .hero-slider-controls button { width: 39px; height: 39px; }
  .hero h1 { font-size: clamp(44px, 10vw, 56px); }
  .hero-copy { font-size: 16px; }
  .hero-copy br { display: none; }
  .hero-visual { min-height: 0; }
  .quick-grid-wrap { margin: 0; padding: 100px 0; }
  .home-service-intro h2 { font-size: 44px; }
  .quick-card { min-height: 0; margin-bottom: 48px; padding-bottom: 48px; }
  .quick-card .service-photo { aspect-ratio: 16 / 8.6; }
  .section { padding: 78px 0; }
  .section-head h2 { font-size: 34px; }
  .home-info-row,
  .trust-grid,
  .three-grid,
  .prep-grid,
  .split,
  .diag-layout,
  .field-row,
  .office-meta,
  .feature-list,
  .process,
  .location-layout { grid-template-columns: 1fr; }
  .rehab-status-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .notice-panel { grid-column: auto; }
  .home-panel { min-height: 290px; }
  .consult-copy,
  .consult-form.home-form { padding: 36px 28px; }
  .subhero { min-height: 360px; }
  .subhero .container { min-height: 360px; padding-top: 68px; padding-bottom: 74px; }
  .subhero h1 { font-size: 44px; }
  .subhero p { font-size: 16px; }
  .subnav { width: 100%; margin: 0; top: 72px; border-right: 0; border-left: 0; box-shadow: 0 8px 24px rgba(8, 28, 53, .06); }
  .subnav .container { justify-content: flex-start; width: 100%; padding: 0 12px; }
  .subnav a { min-width: auto; padding: 15px 14px 13px; }
  .content-section { padding: 78px 0; }
  .content-section h2 { font-size: 36px; }
  .content-lead { font-size: 17px; }
  .step { min-height: auto; }
  :is(body[data-page="rehabilitation.php"], body[data-page="bankruptcy.php"]) #about .split,
  body[data-page="rehabilitation.php"] #dismissal .container { grid-template-columns: 1fr; }
  :is(body[data-page="rehabilitation.php"], body[data-page="bankruptcy.php"]) :is(#advantages, #process) .section-head { display: block; }
  :is(body[data-page="rehabilitation.php"], body[data-page="bankruptcy.php"]) :is(#advantages, #process) .section-head p { margin-top: 12px; }
  :is(body[data-page="rehabilitation.php"], body[data-page="bankruptcy.php"]) #advantages .feature-box {
    padding: 28px 0;
    border-right: 0;
    border-bottom: 1px solid #dedbd5;
  }
  :is(body[data-page="rehabilitation.php"], body[data-page="bankruptcy.php"]) #advantages .feature-box:last-child { padding-bottom: 28px; border-bottom: 0; }
  body[data-page="rehabilitation.php"] #dismissal .container { gap: 26px; align-items: start; }
  .trust-card { border-right: 0; border-bottom: 1px solid var(--line); }
  .trust-card:last-child { border-bottom: 0; }
  .office-profile { grid-template-columns: 1fr; }
  .consult-page-layout { grid-template-columns: 1fr; }
  .office-profile .copy h2 { font-size: 33px; }
  .office-map { min-height: 420px; }
  .map-loading { min-height: 420px; }
  .results { position: static; }
  .footer-inner { grid-template-columns: 1fr; gap: 28px; }
  .footer-links { align-items: flex-start; }
  .footer-channel-links { justify-content: flex-start; }
  .footer-policy-links { align-items: flex-start; }
  .mobile-quick { height: 64px; }
  .mobile-quick a { font-size: 13px; }
}

@media (max-width: 560px) {
  .container { width: calc(100% - 32px); }
  .gnb { padding-right: 22px; padding-left: 22px; }
  .nav-item > a { min-height: 62px; padding-top: 15px; padding-bottom: 15px; font-size: 24px; }
  .nav-item.open .submenu { grid-template-columns: 1fr; gap: 0; }
  .submenu { padding: 10px 0 16px 18px; }
  .submenu a { padding: 9px 0; font-size: 17px; }
  .rehab-status-row { grid-template-columns: 1fr; }
  .asset-fields-grid { grid-template-columns: 1fr; }
  .hero { padding-left: 0; }
  .hero-shell { min-height: 620px; }
  .hero-slides, .hero-slide { height: 620px; }
  .hero-copy-block { min-height: 620px; justify-content: flex-start; padding: 50px 20px 100px; }
  .eyebrow { font-size: 15px; }
  .hero h1 { margin-top: 22px; font-size: 42px; line-height: 1.22; }
  .hero-actions { flex-direction: column; }
  .hero-slider-ui { right: 18px; bottom: 18px; width: calc(100% - 36px); grid-template-columns: minmax(80px, 1fr) auto auto; gap: 9px; }
  .hero-slider-count { display: none; }
  .hero-visual { min-height: 0; }
  .quick-grid-wrap { padding: 82px 0; }
  .home-service-layout { gap: 36px; }
  .home-service-ghost { margin: 0 0 36px -2px; font-size: 58px; }
  .home-service-intro h2 { margin-top: 14px; font-size: 38px; }
  .home-service-intro p { font-size: 16px; }
  .service-more { width: 100%; }
  .quick-card { min-height: 0; grid-template-columns: 42px minmax(0, 1fr); column-gap: 10px; margin-bottom: 38px; padding-bottom: 38px; }
  .quick-card .service-photo { aspect-ratio: 4 / 2.65; margin-bottom: 22px; border-radius: 12px; }
  .quick-card::before { grid-row: 2 / 5; padding-top: 4px; font-size: 12px; }
  .quick-card strong { font-size: 23px; }
  .quick-card p { display: block; margin-top: 7px; font-size: 14px; line-height: 1.65; }
  .quick-card span { justify-self: start; margin-top: 14px; grid-column: 2; grid-row: 4; font-size: 13px; }
  .section { padding: 66px 0; }
  .section-head h2 { font-size: 30px; }
  .notice-panel { padding: 28px 22px; }
  .notice-panel h3,
  .promo-card h3 { font-size: 24px; }
  .notice-row { grid-template-columns: auto minmax(0, 1fr); gap: 11px; padding: 12px 0; font-size: 15px; }
  .notice-row time { display: none; }
  .promo-card { min-height: 250px; padding: 28px 24px; }
  .promo-card p { max-width: 270px; font-size: 15.5px; }
  .consult-copy,
  .consult-form.home-form,
  .consult-form,
  .diag-card { padding: 28px 20px; }
  .consult-copy h2 { font-size: 30px; }
  .status-item { grid-template-columns: 88px 1fr; font-size: 12px; }
  .status-item .badge { display: none; }
  .subhero { min-height: 330px; }
  .subhero .container { min-height: 330px; }
  .subhero h1 { font-size: 38px; }
  .content-section { padding: 68px 0; }
  .content-section h2 { font-size: 32px; }
  .feature-box { padding: 24px 21px; }
  .callout { padding: 34px 24px; }
  .callout h2 { font-size: 29px; }
  .office-map { min-height: 360px; }
  .map-loading { min-height: 360px; }
  .location-actions .btn { width: 100%; }
  .result-grid { grid-template-columns: 1fr; }
  .result-box.featured { grid-column: auto; }
  .site-footer { padding-right: 20px; padding-left: 20px; }
}

/* Compact, swipe-friendly home layout for mobile */
@media (max-width: 800px) {
  body[data-page="index.php"] .hero,
  body[data-page="index.php"] .hero-shell,
  body[data-page="index.php"] .hero-slides,
  body[data-page="index.php"] .hero-slide,
  body[data-page="index.php"] .hero-copy-block { min-height: 540px; height: 540px; }
  body[data-page="index.php"] .hero-copy-block { justify-content: center; padding: 42px 28px 94px; }
  body[data-page="index.php"] .hero h1 { margin-top: 18px; font-size: clamp(36px, 9vw, 44px); line-height: 1.2; }
  body[data-page="index.php"] .hero-copy { max-width: 560px; font-size: 14px; line-height: 1.7; }
  body[data-page="index.php"] .hero-actions { flex-direction: row; gap: 8px; margin-top: 22px; }
  body[data-page="index.php"] .hero .btn { min-width: 0; min-height: 50px; flex: 1 1 0; padding: 0 14px; font-size: 13px; }

  body[data-page="index.php"] .quick-grid-wrap { padding: 68px 0 62px; overflow: hidden; }
  body[data-page="index.php"] .home-service-layout { display: grid; gap: 0; }
  body[data-page="index.php"] .home-service-intro { margin-bottom: 27px; }
  body[data-page="index.php"] .home-service-ghost { display: none; }
  body[data-page="index.php"] .home-service-intro h2 { margin: 12px 0 15px; font-size: 35px; line-height: 1.22; }
  body[data-page="index.php"] .home-service-intro p { margin: 0; font-size: 15px; line-height: 1.7; }
  body[data-page="index.php"] .service-more { min-height: 46px; margin-top: 16px; }
  body[data-page="index.php"] .mobile-swipe-hint { display: block; margin: 0 0 12px; color: #7b8795; font-size: 12px; font-weight: 650; }
  body[data-page="index.php"] .mobile-swipe-hint::before { display: inline-block; width: 22px; height: 1px; margin: 0 8px 4px 0; background: var(--gold); content: ""; }
  body[data-page="index.php"] .quick-grid {
    display: flex;
    width: calc(100% + 20px);
    max-width: none;
    gap: 14px;
    margin: 0;
    padding: 0 20px 13px 0;
    overflow-x: auto;
    overflow-y: hidden;
    counter-reset: home-service;
    scroll-padding-left: 0;
    scroll-snap-type: x mandatory;
    scrollbar-color: var(--gold) #e8ebef;
    scrollbar-width: thin;
    overscroll-behavior-x: contain;
  }
  body[data-page="index.php"] .quick-grid::-webkit-scrollbar { height: 3px; }
  body[data-page="index.php"] .quick-grid::-webkit-scrollbar-track { background: #e8ebef; }
  body[data-page="index.php"] .quick-grid::-webkit-scrollbar-thumb { background: var(--gold); border-radius: 999px; }
  body[data-page="index.php"] .quick-card {
    display: grid;
    min-height: 350px;
    flex: 0 0 min(82vw, 350px);
    grid-template-columns: 34px minmax(0, 1fr);
    grid-template-rows: auto auto 1fr auto;
    column-gap: 8px;
    margin: 0;
    padding: 0 18px 18px;
    overflow: hidden;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 14px;
    scroll-snap-align: start;
  }
  body[data-page="index.php"] .quick-card:last-child { margin-right: 20px; }
  body[data-page="index.php"] .quick-card .service-photo {
    width: calc(100% + 36px);
    margin: 0 -18px 19px;
    grid-column: 1 / -1;
    grid-row: 1;
    aspect-ratio: 16 / 9.4;
    border-radius: 0;
  }
  body[data-page="index.php"] .quick-card::before { grid-column: 1; grid-row: 2 / 5; padding-top: 4px; font-size: 11px; }
  body[data-page="index.php"] .quick-card strong { grid-column: 2; grid-row: 2; font-size: 22px; }
  body[data-page="index.php"] .quick-card p { display: block; margin: 7px 0 0; grid-column: 2; grid-row: 3; font-size: 13.5px; line-height: 1.6; }
  body[data-page="index.php"] .quick-card span { justify-self: start; margin: 12px 0 0; grid-column: 2; grid-row: 4; font-size: 12px; }

  body[data-page="index.php"] .home-utility-section { padding: 54px 0 58px; }
  body[data-page="index.php"] .home-info-row { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  body[data-page="index.php"] .home-panel { min-height: 0; }
  body[data-page="index.php"] .notice-panel { min-height: 0; grid-column: 1 / -1; padding: 23px 20px; }
  body[data-page="index.php"] .notice-panel .head { margin-bottom: 9px; }
  body[data-page="index.php"] .notice-panel h3 { font-size: 22px; }
  body[data-page="index.php"] .notice-row { padding: 9px 0; font-size: 14px; }
  body[data-page="index.php"] .notice-panel .notice-row:nth-child(n + 5) { display: none; }
  body[data-page="index.php"] .home-utility-section .utility-card { min-height: 184px; justify-content: flex-end; padding: 20px 17px; }
  body[data-page="index.php"] .utility-card .kicker { font-size: 9px; }
  body[data-page="index.php"] .promo-card h3 { font-size: 19px; line-height: 1.35; }
  body[data-page="index.php"] .promo-card p { margin: 7px 0 13px; font-size: 13px; line-height: 1.55; }
  body[data-page="index.php"] .home-panel .text-link { font-size: 12px; }

  body[data-page="index.php"] .home-principle-section { padding: 62px 0 58px; overflow: hidden; }
  body[data-page="index.php"] .home-principle-section .section-head { margin-bottom: 27px; text-align: left; }
  body[data-page="index.php"] .home-principle-section .section-head h2 { font-size: 30px; }
  body[data-page="index.php"] .home-principle-section .section-head p { font-size: 14.5px; }
  body[data-page="index.php"] .trust-grid {
    display: flex;
    width: calc(100% + 20px);
    gap: 12px;
    padding: 0 20px 8px 0;
    overflow-x: auto;
    border: 0;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    overscroll-behavior-x: contain;
  }
  body[data-page="index.php"] .trust-grid::-webkit-scrollbar { display: none; }
  body[data-page="index.php"] .trust-card {
    min-height: 214px;
    flex: 0 0 min(78vw, 310px);
    padding: 25px 23px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 12px;
    scroll-snap-align: start;
  }
  body[data-page="index.php"] .trust-card:last-child { margin-right: 20px; border: 1px solid var(--line); }
  body[data-page="index.php"] .trust-card h3 { margin: 12px 0 8px; font-size: 20px; }
  body[data-page="index.php"] .trust-card p { font-size: 14px; line-height: 1.65; }

  body[data-page="index.php"] .home-contact-section { padding: 58px 0; }
  body[data-page="index.php"] .consult-copy { padding: 30px 22px 25px; }
  body[data-page="index.php"] .consult-copy h2 { font-size: 29px; }
  body[data-page="index.php"] .consult-copy > p { font-size: 14px; line-height: 1.7; }
  body[data-page="index.php"] .status-list { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 7px; margin-top: 19px; }
  body[data-page="index.php"] .status-item { display: flex; min-height: 82px; padding: 11px 10px; flex-direction: column; align-items: flex-start; justify-content: center; gap: 4px; font-size: 11px; line-height: 1.35; }
  body[data-page="index.php"] .status-item span:first-child { font-size: 12px; font-weight: 750; }
  body[data-page="index.php"] .status-item span:nth-child(2) { display: none; }
  body[data-page="index.php"] .status-item .badge { display: inline-flex; min-height: 0; padding: 0; order: -1; color: var(--gold-soft); background: transparent; font-size: 9px; }
  body[data-page="index.php"] .consult-form.home-form {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 10px;
    margin: 8px;
    padding: 25px 18px 22px;
  }
  body[data-page="index.php"] .home-form h3,
  body[data-page="index.php"] .home-form > .checkbox,
  body[data-page="index.php"] .home-form > .form-submit { grid-column: 1 / -1; }
  body[data-page="index.php"] .home-form > .field-row { display: contents; }
  body[data-page="index.php"] .home-form > .field:last-of-type { grid-column: 1 / -1; }
  body[data-page="index.php"] .home-form .field { min-width: 0; margin-bottom: 13px; }
  body[data-page="index.php"] .home-form .field label { margin-bottom: 5px; font-size: 12px; }
  body[data-page="index.php"] .home-form .field input,
  body[data-page="index.php"] .home-form .field select { min-height: 47px; padding: 10px 11px; font-size: 13px; }
  body[data-page="index.php"] .home-form .checkbox { margin-top: 2px; font-size: 11.5px; }
  body[data-page="index.php"] .home-form .form-submit { min-height: 49px; margin-top: 13px; }

  body[data-page="index.php"] .home-prep-section { padding: 60px 0; }
  body[data-page="index.php"] .home-prep-section .section-head { margin-bottom: 25px; }
  body[data-page="index.php"] .home-prep-section .section-head h2 { font-size: 30px; }
  body[data-page="index.php"] .home-prep-section .section-head p { font-size: 14.5px; }
  body[data-page="index.php"] .prep-grid { display: block; border-top: 1px solid #d8dee5; }
  body[data-page="index.php"] .prep-card {
    display: grid;
    grid-template-columns: 36px minmax(0, 1fr);
    column-gap: 8px;
    padding: 21px 0;
    background: transparent;
    border-top: 0;
    border-bottom: 1px solid #d8dee5;
    box-shadow: none;
  }
  body[data-page="index.php"] .prep-card::before { margin: 2px 0 0; grid-column: 1; grid-row: 1 / 3; font-size: 11px; }
  body[data-page="index.php"] .prep-card h3 { margin: 0 0 5px; grid-column: 2; font-size: 18px; }
  body[data-page="index.php"] .prep-card p { grid-column: 2; font-size: 13.5px; line-height: 1.6; }
}

@media (max-width: 560px) {
  body[data-page="index.php"] .hero,
  body[data-page="index.php"] .hero-shell,
  body[data-page="index.php"] .hero-slides,
  body[data-page="index.php"] .hero-slide,
  body[data-page="index.php"] .hero-copy-block { min-height: 520px; height: 520px; }
  body[data-page="index.php"] .hero-copy-block { padding: 34px 20px 88px; }
  body[data-page="index.php"] .hero .eyebrow { font-size: 13px; }
  body[data-page="index.php"] .hero h1 { font-size: clamp(34px, 10vw, 40px); }
  body[data-page="index.php"] .hero-copy { font-size: 13.5px; }
  body[data-page="index.php"] .hero .btn { min-height: 47px; padding: 0 10px; font-size: 12px; }
  body[data-page="index.php"] .service-more { width: auto; }
  body[data-page="index.php"] .quick-card { flex-basis: min(82vw, 330px); }
  body[data-page="index.php"] .home-utility-section .utility-card { min-height: 176px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}
