:root {
  --bg: #f4f7fb;
  --white: #ffffff;
  --card: #e8f1fb;
  --card-strong: #dce9f6;
  --line: #c9dcee;
  --line-soft: #dde6f0;
  --text: #1c2733;
  --text-sub: #46586b;
  --muted: #7b8a9a;
  --brand: #155fa6;
  --brand-dark: #0d3f72;
  --brand-ink: #0b2f55;
  --accent-green: #2ca84a;
  --accent-green-dark: #1f8a3a;
  --accent-yellow: #ffd24d;
  --accent-red: #f25555;
  --dark: #132134;
  --radius-sm: 10px;
  --radius: 14px;
  --radius-lg: 20px;
  --container: 440px;
  --container-wide: 1040px;
  --shadow-card: 0 4px 14px rgba(18, 47, 85, 0.08);
  --shadow-float: 0 10px 24px rgba(18, 47, 85, 0.18);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Pretendard", "Noto Sans KR", "Apple SD Gothic Neo", system-ui, sans-serif;
  font-size: 15px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
body.menu-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font: inherit; background: none; border: 0; cursor: pointer; color: inherit; }
h1, h2, h3, h4, p { margin: 0; }

/* Phone-shaped page container (mobile PSD is the source of truth) */
.shell {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 0 120px;
  background: var(--white);
  min-height: 100vh;
  position: relative;
  box-shadow: 0 0 40px rgba(21, 95, 166, 0.06);
}

/* ---------- HEADER ---------- */
.topbar {
  position: sticky;
  top: 0;
  z-index: 40;
  background: var(--white);
  border-bottom: 1px solid var(--line-soft);
}
.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 58px;
  padding: 0 18px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  flex: 0 0 auto;
}
.brand__logo {
  height: 32px;
  width: auto;
  display: block;
}
.brand__logo--lg {
  height: 56px;
}
.nav-desktop {
  display: none;
  gap: 22px;
  align-items: center;
  font-size: 14px;
  font-weight: 700;
  flex: 1;
  justify-content: center;
}
.nav-desktop a {
  color: var(--text-sub);
  padding: 6px 2px;
  border-bottom: 2px solid transparent;
  transition: color .15s, border-color .15s;
}
.nav-desktop a:hover,
.nav-desktop a.is-active {
  color: var(--brand-dark);
  border-color: var(--brand);
}
.hamburger {
  width: 30px; height: 30px;
  display: grid; place-items: center;
  gap: 4px;
}
.hamburger span {
  display: block;
  width: 22px; height: 2px;
  background: var(--brand-ink);
  border-radius: 2px;
}
.hamburger span + span { margin-top: 4px; }

/* Drawer */
.drawer {
  position: fixed;
  inset: 0;
  background: rgba(11, 47, 85, 0.4);
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s;
  z-index: 60;
}
body.menu-open .drawer { opacity: 1; pointer-events: auto; }
.drawer__panel {
  width: min(320px, 84vw);
  height: 100%;
  margin-left: auto;
  background: var(--white);
  padding: 84px 24px 30px;
  transform: translateX(100%);
  transition: transform .24s ease;
  box-shadow: -14px 0 40px rgba(11, 47, 85, 0.18);
}
body.menu-open .drawer__panel { transform: translateX(0); }
.drawer__close {
  position: absolute;
  right: 18px; top: 18px;
  width: 36px; height: 36px;
  display: grid; place-items: center;
  font-size: 24px;
  color: var(--brand-ink);
}
.drawer nav {
  display: grid;
  gap: 2px;
}
.drawer nav a {
  display: block;
  padding: 14px 4px;
  font-weight: 700;
  font-size: 16px;
  color: var(--text);
  border-bottom: 1px solid var(--line-soft);
}
.drawer nav a.is-active { color: var(--brand); }

/* ---------- HERO ---------- */
.hero {
  position: relative;
}
.hero__bg {
  width: 100%;
  aspect-ratio: 16/11;
  object-fit: cover;
  display: block;
}
.hero__fade {
  position: absolute;
  left: 0; right: 0; bottom: -1px; top: 55%;
  background: linear-gradient(180deg, rgba(255,255,255,0) 0%, #ffffff 85%);
}
.hero__inner {
  position: relative;
  padding: 18px 22px 8px;
  margin-top: -70px;
  text-align: center;
}
.hero__inner .region-band { margin-left: 0; margin-right: 0; margin-top: 14px; }
.hero__inner .btn-row { padding: 0; margin-top: 16px; }
.hero__title {
  font-size: 30px;
  line-height: 1.25;
  font-weight: 900;
  letter-spacing: -0.045em;
  color: var(--text);
}
.hero__title em {
  font-style: normal;
  color: var(--brand);
}
.hero__sub {
  margin-top: 10px;
  font-size: 13.5px;
  color: var(--text-sub);
  line-height: 1.7;
}

.eyebrow {
  display: inline-block;
  color: var(--brand);
  font-weight: 800;
  font-size: 12px;
  letter-spacing: 0.12em;
}

/* ---------- BLOCK LABEL (지역/지역 곰팡이케어 pill band) ---------- */
.region-band {
  margin: 14px 22px 18px;
  padding: 10px 14px;
  text-align: center;
  background: var(--card);
  border: 1px solid var(--line);
  color: var(--brand-dark);
  font-weight: 700;
  font-size: 13px;
  border-radius: 8px;
}

/* ---------- BUTTONS ---------- */
.btn-row {
  display: grid;
  gap: 10px;
  padding: 0 22px;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 48px;
  padding: 0 20px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 14.5px;
  transition: filter .15s;
}
.btn:hover { filter: brightness(1.04); }
.btn--dark { background: var(--dark); color: #fff; }
.btn--brand { background: var(--brand); color: #fff; }
.btn--outline {
  background: #fff;
  border: 1px solid var(--line);
  color: var(--brand-dark);
}
.btn--block { width: 100%; }
.btn--green {
  background: var(--accent-green);
  color: #fff;
  height: 56px;
  font-size: 16px;
  border-radius: 10px;
}

/* ---------- SECTION TITLE ---------- */
.section {
  padding: 42px 22px 0;
}
.section--tight { padding-top: 28px; }
.section__title {
  text-align: center;
  font-size: 24px;
  font-weight: 900;
  color: var(--text);
  letter-spacing: -0.045em;
  margin-bottom: 4px;
}
.section__desc {
  text-align: center;
  font-size: 13px;
  color: var(--text-sub);
  margin-bottom: 18px;
}
.section__head--en {
  text-align: center;
  margin-bottom: 14px;
}
.section__head--en h2 {
  font-family: "Georgia", "Noto Serif KR", serif;
  font-size: 28px;
  font-weight: 700;
  color: var(--brand-dark);
  letter-spacing: 0;
}

/* ---------- NUMBERED CARD ---------- */
.num-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 16px 18px;
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 10px;
  align-items: start;
}
.num-card + .num-card { margin-top: 10px; }
.num-card__n {
  font-size: 18px;
  font-weight: 900;
  color: var(--brand);
  line-height: 1.1;
  padding-top: 2px;
}
.num-card__body h3 {
  font-size: 15.5px;
  font-weight: 800;
  color: var(--brand-dark);
  letter-spacing: -0.02em;
  margin-bottom: 6px;
}
.num-card__body p {
  font-size: 13px;
  color: var(--text-sub);
  line-height: 1.7;
}
.num-card__body ul {
  margin: 6px 0 0;
  padding-left: 0;
  list-style: none;
  font-size: 13px;
  color: var(--text-sub);
}
.num-card__body ul li {
  position: relative;
  padding-left: 10px;
  line-height: 1.75;
}
.num-card__body ul li::before {
  content: "·";
  position: absolute;
  left: 2px; top: -2px;
  color: var(--brand);
  font-weight: 900;
}
.num-card__note {
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px dashed var(--line);
  font-size: 12px;
  color: var(--muted);
  line-height: 1.65;
}

/* ---------- SPECIAL REASONS (dark blue panel) ---------- */
.reasons {
  margin: 32px 22px 0;
  background: linear-gradient(165deg, #124577 0%, #0d3a66 100%);
  color: #fff;
  border-radius: 12px;
  padding: 22px 20px 24px;
  position: relative;
  overflow: hidden;
}
.reasons::before {
  content: "";
  position: absolute;
  right: -30px; top: -30px;
  width: 120px; height: 120px;
  background: radial-gradient(circle, rgba(255,255,255,0.08), transparent 70%);
  border-radius: 50%;
}
.reasons__title {
  text-align: center;
  font-size: 19px;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 4px;
}
.reasons__sub {
  text-align: center;
  font-size: 12px;
  color: rgba(255,255,255,0.7);
  margin-bottom: 18px;
}
.reasons__list {
  display: grid;
  gap: 0;
}
.reason-item {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 10px;
  padding: 10px 0;
  border-top: 1px solid rgba(255,255,255,0.12);
  align-items: baseline;
}
.reason-item:first-child { border-top: 0; padding-top: 0; }
.reason-item__n {
  font-size: 14px;
  font-weight: 800;
  color: #ffd24d;
}
.reason-item strong {
  display: block;
  font-size: 14px;
  margin-bottom: 3px;
}
.reason-item span {
  color: rgba(255,255,255,0.78);
  font-size: 12.5px;
  line-height: 1.55;
}

/* ---------- PROCESS LIST (home homepage — 5 step simple) ---------- */
.process-list {
  display: grid;
  gap: 8px;
}
.process-step {
  display: grid;
  grid-template-columns: 58px 1fr;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
}
.process-step__n {
  background: var(--brand);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 20px;
  font-weight: 900;
  letter-spacing: -0.02em;
}
.process-step__body {
  padding: 12px 14px;
}
.process-step__body h3 {
  font-size: 15px;
  font-weight: 800;
  color: var(--brand-dark);
  margin-bottom: 2px;
}
.process-step__body p {
  font-size: 12.5px;
  color: var(--text-sub);
}

/* ---------- CASES (before/after grid) ---------- */
.cases-grid {
  display: grid;
  gap: 18px;
}
.case-item {
  background: var(--white);
  border: 1px solid var(--line-soft);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: var(--shadow-card);
}
.case-item__pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  padding: 12px 12px 0;
}
.case-item__pair > figure {
  margin: 0;
  position: relative;
  aspect-ratio: 4/3;
  background: #e6edf5;
  border-radius: 6px;
  overflow: hidden;
}
.case-item__pair img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.case-item__pair figcaption {
  position: absolute;
  left: 6px; top: 6px;
  padding: 3px 8px;
  background: rgba(13, 63, 114, 0.85);
  color: #fff;
  font-size: 10px;
  letter-spacing: 0.06em;
  font-weight: 700;
  border-radius: 4px;
}
.case-item__pair figure.after figcaption {
  background: rgba(44, 168, 74, 0.9);
}
.case-item__caption {
  padding: 12px 14px 16px;
  font-size: 13px;
  font-weight: 700;
  color: var(--text);
}
.case-item__caption small {
  display: block;
  margin-top: 4px;
  font-size: 12px;
  color: var(--text-sub);
  font-weight: 500;
}

/* ---------- CTA PROMO PANEL ---------- */
.cta-panel {
  margin: 40px 22px 0;
  background: linear-gradient(160deg, #1570c4 0%, #0d4b87 100%);
  color: #fff;
  border-radius: 14px;
  padding: 28px 22px 26px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-panel::after {
  content: "";
  position: absolute;
  right: -30px; bottom: -40px;
  width: 160px; height: 160px;
  background: radial-gradient(circle, rgba(255,210,77,0.18), transparent 70%);
  border-radius: 50%;
}
.cta-panel h2 {
  font-size: 24px;
  font-weight: 900;
  line-height: 1.3;
  letter-spacing: -0.04em;
  margin-bottom: 6px;
}
.cta-panel p {
  font-size: 13px;
  color: rgba(255,255,255,0.85);
  margin-bottom: 20px;
}
.cta-badges {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 18px;
}
.cta-badge {
  aspect-ratio: 1;
  border-radius: 50%;
  background: #fff;
  color: var(--brand-dark);
  display: grid;
  place-items: center;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.35;
  box-shadow: 0 6px 16px rgba(0,0,0,0.12);
}

/* ---------- FOOTER ---------- */
.site-footer {
  margin-top: 50px;
  padding: 32px 22px 28px;
  background: var(--white);
  border-top: 1px solid var(--line-soft);
  text-align: center;
}
.site-footer__brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--brand);
  font-weight: 900;
  letter-spacing: -0.05em;
  font-size: 28px;
  margin-bottom: 4px;
}
.site-footer__brand .brand__icon {
  width: 28px; height: 28px;
}
.site-footer__phone {
  font-size: 28px;
  font-weight: 900;
  color: var(--brand);
  letter-spacing: -0.03em;
  margin: 4px 0 10px;
  display: block;
}
.site-footer__hours {
  font-size: 12.5px;
  color: var(--text-sub);
  line-height: 1.65;
}
.site-footer__hours .dim { color: var(--muted); }
.site-footer__contact {
  margin-top: 6px;
  font-size: 12.5px;
  color: var(--text-sub);
  display: inline-flex;
  gap: 6px;
  flex-wrap: wrap;
  justify-content: center;
}
.site-footer__contact a { color: var(--brand); font-weight: 700; }
.site-footer__contact .dim { color: var(--muted); }
.site-footer__legal {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--line-soft);
  font-size: 11.5px;
  color: var(--muted);
  line-height: 1.7;
}
.site-footer__bizinfo {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2px 10px;
  margin-bottom: 8px;
}
.site-footer__bizinfo span { white-space: nowrap; }
.site-footer__bizinfo-full { white-space: normal !important; flex-basis: 100%; text-align: center; }
.site-footer__bizinfo strong { color: var(--text-sub); font-weight: 700; margin-right: 3px; }
.site-footer__copyright { color: var(--muted); }

/* ---------- FLOATING ACTION BUTTONS ---------- */
.fab-column {
  position: fixed;
  right: max(14px, calc(50vw - var(--container)/2 + 14px));
  bottom: 92px;
  display: grid;
  gap: 10px;
  z-index: 50;
}
.fab {
  width: 42px; height: 42px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  box-shadow: var(--shadow-float);
  transition: transform .15s;
}
.fab:hover { transform: translateY(-2px); }
.fab--phone { background: var(--brand); }
.fab--chat { background: var(--accent-yellow); color: #3c2a00; }
.fab--photo { background: var(--accent-red); }
.fab--blog {
  background: #03c75a;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.02em;
  text-transform: lowercase;
}
.fab--top { background: var(--brand-ink); }
.fab svg {
  width: 20px; height: 20px;
  fill: currentColor;
}
.fab--blog span {
  transform: translateY(0.5px);
}
.consult-dock {
  position: fixed;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: min(100%, var(--container));
  padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
  background: linear-gradient(180deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0.96) 32%, #fff 100%);
  z-index: 45;
}
.consult-dock__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.consult-dock__btn {
  min-height: 52px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  font-weight: 900;
  box-shadow: 0 10px 24px rgba(18, 47, 85, 0.14);
}
.consult-dock__btn--phone {
  background: var(--brand-ink);
  color: #fff;
}
.consult-dock__btn--form {
  background: var(--accent-green);
  color: #fff;
}

/* ---------- COMPANY PAGE ---------- */
.company-hero {
  position: relative;
}
.company-hero__bg {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
}
.company-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(18,47,85,0.35) 0%, rgba(18,47,85,0.05) 50%, #fff 100%);
}
.company-hero__inner {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding: 36px 22px 0;
  color: #fff;
  text-align: center;
}
.company-hero__inner h1 {
  font-size: 22px;
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1.3;
}
.company-hero__inner p {
  margin-top: 6px;
  font-size: 12.5px;
  color: rgba(255,255,255,0.88);
}
.company-intro-title {
  text-align: center;
  margin: 24px 0 16px;
  font-family: "Georgia", "Noto Serif KR", serif;
  font-size: 26px;
  font-weight: 700;
  color: var(--brand-dark);
}
.company-lead {
  padding: 0 22px;
  font-size: 14px;
  color: var(--text-sub);
  line-height: 1.75;
  margin-bottom: 18px;
  text-align: center;
}
.company-block {
  margin: 0 22px 18px;
}
.company-block h3 {
  font-size: 15px;
  font-weight: 800;
  color: var(--brand);
  margin-bottom: 6px;
}
.company-block h3 small {
  display: inline-block;
  margin-left: 6px;
  font-size: 11.5px;
  color: var(--muted);
  font-weight: 600;
  letter-spacing: 0.04em;
}
.company-block p {
  font-size: 13.5px;
  color: var(--text-sub);
  line-height: 1.8;
}
.company-block ul {
  margin: 6px 0 0;
  padding-left: 0;
  list-style: none;
  font-size: 13px;
  color: var(--text-sub);
  line-height: 1.85;
}
.company-block ul li { padding-left: 10px; position: relative; }
.company-block ul li::before {
  content: "·";
  position: absolute; left: 0;
  color: var(--brand); font-weight: 900;
}
.company-contact {
  margin: 22px 22px 0;
  padding: 18px 18px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 10px;
}
.company-contact dl {
  margin: 0;
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 6px 12px;
  font-size: 13px;
}
.company-license {
  margin: 22px 22px 0;
  padding: 18px 18px 20px;
  background: var(--white);
  border: 1px solid var(--line-soft);
  border-radius: 10px;
  text-align: center;
}
.company-license h3 {
  font-size: 14px;
  font-weight: 800;
  color: var(--brand-dark);
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}
.company-license img {
  max-width: 320px;
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 6px;
  display: block;
  margin: 0 auto 10px;
  box-shadow: 0 4px 12px rgba(18, 47, 85, 0.08);
}
.company-license .muted {
  font-size: 11.5px;
  color: var(--muted);
}
.company-contact dt {
  color: var(--brand);
  font-weight: 800;
}
.company-contact dd {
  margin: 0;
  color: var(--text-sub);
}

/* ---------- FAQ ---------- */
.faq-hero {
  padding: 32px 22px 16px;
  text-align: center;
}
.faq-hero h1 {
  font-size: 26px;
  font-weight: 900;
  color: var(--brand-dark);
  letter-spacing: -0.04em;
  margin-bottom: 6px;
}
.faq-hero p {
  font-size: 13px;
  color: var(--text-sub);
}
.faq-list {
  padding: 0 22px;
  display: grid;
  gap: 12px;
}
.faq-item {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 14px 16px 0;
}
.faq-q {
  list-style: none;
  cursor: pointer;
  padding: 6px 26px 14px 0;
  position: relative;
  font-weight: 800;
  color: var(--brand-dark);
  font-size: 14.5px;
  line-height: 1.5;
}
.faq-q::-webkit-details-marker { display: none; }
.faq-q::before {
  content: "Question";
  display: block;
  font-size: 11px;
  color: var(--brand);
  font-weight: 800;
  letter-spacing: 0.06em;
  margin-bottom: 4px;
}
.faq-q::after {
  content: "»";
  position: absolute;
  right: 2px; top: 6px;
  color: var(--brand);
  font-size: 18px;
  font-weight: 900;
  transition: transform .2s;
}
.faq-item[open] .faq-q::after { transform: rotate(90deg); }
.faq-a {
  margin: 0 0 16px;
  padding: 14px 0 0;
  border-top: 1px solid var(--line);
  font-size: 13px;
  color: var(--text-sub);
  line-height: 1.85;
}
.faq-a::before {
  content: "Answer";
  display: block;
  font-size: 11px;
  color: var(--brand);
  font-weight: 800;
  letter-spacing: 0.06em;
  margin-bottom: 4px;
}

/* ---------- ESTIMATE ---------- */
.estimate-hero {
  padding: 28px 22px 4px;
  text-align: center;
}
.estimate-hero h1 {
  font-size: 24px;
  font-weight: 900;
  color: var(--brand-dark);
  letter-spacing: -0.03em;
}
.estimate-hero p {
  margin-top: 8px;
  font-size: 13px;
  color: var(--text-sub);
}
.estimate-group {
  padding: 28px 22px 0;
}
.estimate-group__title {
  font-size: 17px;
  font-weight: 900;
  color: var(--brand-dark);
  margin-bottom: 10px;
  padding-left: 10px;
  border-left: 3px solid var(--brand);
  line-height: 1.2;
}
.estimate-group__title small {
  display: block;
  font-size: 12px;
  color: var(--muted);
  font-weight: 600;
  margin-top: 3px;
  letter-spacing: 0.04em;
}
.estimate-group .num-card + .num-card {
  margin-top: 8px;
}

/* ---------- MATERIALS ---------- */
.materials-hero {
  padding: 28px 22px 4px;
  text-align: center;
}
.materials-hero h1 {
  font-size: 24px;
  font-weight: 900;
  color: var(--brand-dark);
  letter-spacing: -0.03em;
}
.materials-hero p {
  margin-top: 8px;
  font-size: 13px;
  color: var(--text-sub);
}
.material-list {
  padding: 26px 22px 0;
  display: grid;
  gap: 14px;
}
.material-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
  display: grid;
  grid-template-columns: 130px 1fr;
}
.material-card__img {
  background: #dbe6f3;
  display: grid;
  place-items: center;
  overflow: hidden;
}
.material-card__img img {
  width: 100%; height: 100%;
  object-fit: contain;
  padding: 14px;
}
.material-card__body {
  padding: 14px 16px;
}
.material-card__body h3 {
  font-size: 15px;
  font-weight: 800;
  color: var(--brand-dark);
  margin-bottom: 6px;
}
.material-card__body ul {
  margin: 0;
  padding-left: 0;
  list-style: none;
  font-size: 12.5px;
  color: var(--text-sub);
  line-height: 1.65;
}
.material-card__body ul li {
  padding-left: 10px;
  position: relative;
}
.material-card__body ul li::before {
  content: "·";
  position: absolute; left: 0;
  color: var(--brand); font-weight: 900;
}

/* ---------- CASE POST LIST ---------- */
.case-post-list {
  padding: 22px 22px 0;
  display: grid;
  gap: 14px;
}
.case-post {
  display: grid;
  grid-template-columns: 140px 1fr;
  background: var(--white);
  border: 1px solid var(--line-soft);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: transform .15s, box-shadow .15s;
}
.case-post:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(13, 63, 114, 0.14);
}
.case-post__thumb {
  aspect-ratio: 1;
  object-fit: cover;
  width: 100%;
  height: 100%;
  background: #e8eef5;
}
.case-post__body {
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.case-post__meta {
  display: flex;
  gap: 10px;
  font-size: 11.5px;
  color: var(--muted);
  margin-bottom: 6px;
}
.case-post__meta .tag {
  background: var(--card);
  color: var(--brand-dark);
  padding: 2px 8px;
  border-radius: 4px;
  font-weight: 700;
}
.case-post h3 {
  font-size: 14.5px;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 6px;
  letter-spacing: -0.02em;
  line-height: 1.4;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
.case-post p {
  font-size: 12.5px;
  color: var(--text-sub);
  line-height: 1.55;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
.case-post__price {
  margin-top: auto;
  padding-top: 8px;
  font-size: 13px;
  font-weight: 800;
  color: var(--brand);
}
.case-empty {
  text-align: center;
  padding: 40px 22px;
  color: var(--muted);
  font-size: 14px;
}

/* ---------- CASE DETAIL POST ---------- */
.case-detail {
  padding: 24px 22px 0;
}
.case-detail__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
  font-size: 12px;
  color: var(--muted);
}
.case-detail__meta .tag {
  background: var(--card);
  color: var(--brand-dark);
  padding: 3px 10px;
  border-radius: 4px;
  font-weight: 700;
}
.case-detail h1 {
  font-size: 24px;
  font-weight: 900;
  color: var(--text);
  letter-spacing: -0.03em;
  margin-bottom: 8px;
  line-height: 1.3;
}
.case-detail__summary {
  font-size: 14px;
  color: var(--text-sub);
  margin-bottom: 18px;
  line-height: 1.7;
}
.case-detail__pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 18px;
}
.case-detail__pair figure {
  margin: 0;
  position: relative;
  aspect-ratio: 4/3;
  background: #eaf0f6;
  border-radius: 8px;
  overflow: hidden;
}
.case-detail__pair img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.case-detail__pair figcaption {
  position: absolute;
  left: 6px; top: 6px;
  padding: 3px 8px;
  background: rgba(13, 63, 114, 0.9);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  border-radius: 4px;
  letter-spacing: 0.06em;
}
.case-detail__pair figure.after figcaption {
  background: rgba(44, 168, 74, 0.9);
}
.case-detail__body {
  padding: 18px 18px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 10px;
  font-size: 13.5px;
  line-height: 1.85;
  color: var(--text-sub);
  white-space: pre-wrap;
  word-break: keep-all;
}
.case-detail__price {
  margin-top: 16px;
  padding: 14px 18px;
  background: linear-gradient(135deg, #155fa6, #0d3f72);
  color: #fff;
  border-radius: 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 800;
}
.case-detail__price span { font-size: 13px; opacity: 0.85; font-weight: 600; }
.case-detail__price strong { font-size: 22px; letter-spacing: -0.02em; }
.case-detail__back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 22px;
  color: var(--brand);
  font-weight: 700;
  font-size: 13px;
}
.case-detail__back::before { content: "‹"; font-size: 16px; }

/* ---------- ADMIN ---------- */
.admin-hero {
  padding: 28px 22px 18px;
  text-align: center;
  background: linear-gradient(160deg, #0d3f72, #155fa6);
  color: #fff;
}
.admin-hero h1 {
  font-size: 22px;
  font-weight: 900;
  letter-spacing: -0.03em;
  margin-bottom: 4px;
}
.admin-hero p {
  font-size: 12.5px;
  opacity: 0.88;
}
.admin-login {
  padding: 40px 22px;
  max-width: 400px;
  margin: 0 auto;
}
.admin-login input {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  font: inherit;
  margin-bottom: 12px;
}
.admin-toolbar {
  padding: 16px 22px;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  align-items: center;
  background: var(--white);
  border-bottom: 1px solid var(--line-soft);
  position: sticky;
  top: 58px;
  z-index: 30;
}
.admin-toolbar button {
  padding: 8px 14px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 700;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--text);
}
.admin-toolbar button.primary {
  background: var(--brand);
  color: #fff;
  border-color: var(--brand);
}
.admin-toolbar button.danger {
  background: #fff5f5;
  color: #c53030;
  border-color: #f4c7c7;
}
.admin-toolbar .spacer { flex: 1; }
.admin-toolbar .save-status {
  font-size: 12px;
  color: var(--muted);
}
.admin-list {
  padding: 18px 22px;
  display: grid;
  gap: 10px;
}
.admin-row {
  display: grid;
  grid-template-columns: 64px 1fr auto;
  gap: 12px;
  padding: 12px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  align-items: center;
}
.admin-row__thumb {
  width: 64px;
  height: 64px;
  object-fit: cover;
  border-radius: 6px;
  background: #e8eef5;
}
.admin-row__title { font-weight: 800; color: var(--text); font-size: 14px; }
.admin-row__meta { font-size: 12px; color: var(--muted); margin-top: 2px; }
.admin-row__actions { display: flex; gap: 6px; }
.admin-row__actions button {
  padding: 6px 10px;
  font-size: 12px;
  font-weight: 700;
  border-radius: 6px;
  border: 1px solid var(--line);
  background: #fff;
  cursor: pointer;
}
.admin-row__actions .del { color: #c53030; border-color: #f4c7c7; }

.admin-editor {
  padding: 22px;
  display: grid;
  gap: 14px;
  max-width: 800px;
  margin: 0 auto;
}
.admin-editor label {
  display: grid;
  gap: 6px;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--text-sub);
}
.admin-editor input,
.admin-editor textarea {
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  font: inherit;
  font-weight: 400;
  color: var(--text);
}
.admin-editor textarea { min-height: 160px; resize: vertical; }
.admin-editor .row2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.admin-image-field {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 12px;
  align-items: start;
}
.admin-image-field .preview {
  width: 140px;
  aspect-ratio: 4/3;
  background: #eaf0f6;
  border-radius: 8px;
  object-fit: cover;
  display: block;
}
.admin-image-field .preview.empty {
  display: grid;
  place-items: center;
  color: var(--muted);
  font-size: 12px;
}
.admin-image-field button {
  padding: 10px 12px;
  border: 1px dashed var(--line-strong);
  border-radius: 8px;
  background: #fff;
  color: var(--text-sub);
  cursor: pointer;
  font-size: 13px;
}
.admin-editor__actions {
  display: flex;
  gap: 10px;
  padding-top: 10px;
  border-top: 1px solid var(--line-soft);
}
.admin-editor__actions button {
  padding: 12px 20px;
  border-radius: 8px;
  font-weight: 800;
  font-size: 14px;
  border: 0;
  cursor: pointer;
}
.admin-editor__actions .save {
  background: var(--brand);
  color: #fff;
  flex: 1;
}
.admin-editor__actions .cancel {
  background: var(--white);
  color: var(--text-sub);
  border: 1px solid var(--line);
}

@media (min-width: 900px) {
  .case-post-list {
    max-width: 1120px;
    margin: 0 auto;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
    padding: 32px 28px 0;
  }
  .case-post { grid-template-columns: 200px 1fr; }
  .case-post__thumb { aspect-ratio: auto; }
  .case-detail {
    max-width: 820px;
    margin: 0 auto;
    padding: 40px 28px 0;
  }
  .case-detail h1 { font-size: 32px; }
  .admin-toolbar { top: 72px; }
  .admin-list, .admin-editor { max-width: 900px; margin: 0 auto; }
}

/* ---------- CASES PAGE (legacy section, keep for safety) ---------- */
.cases-hero {
  position: relative;
  overflow: hidden;
}
.cases-hero__bg {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
}
.cases-hero__inner {
  position: absolute;
  inset: 0;
  display: flex; flex-direction: column;
  align-items: center; justify-content: flex-start;
  padding: 28px 22px 0;
  color: #fff;
  text-align: center;
  background: linear-gradient(180deg, rgba(12,40,75,0.35) 0%, rgba(12,40,75,0.12) 60%, #fff 100%);
}
.cases-hero__inner h1 {
  font-size: 22px;
  font-weight: 900;
  letter-spacing: -0.04em;
}
.cases-hero__inner p {
  margin-top: 6px;
  font-size: 12.5px;
  color: rgba(255,255,255,0.9);
  max-width: 320px;
}
.cases-wrap {
  padding: 22px 22px 0;
  display: grid;
  gap: 18px;
}

/* ---------- PROCESS PAGE ---------- */
.process-hero {
  padding: 28px 22px 4px;
  text-align: center;
}
.process-hero h1 {
  font-size: 24px;
  font-weight: 900;
  color: var(--brand-dark);
  letter-spacing: -0.03em;
}
.process-hero p {
  margin-top: 8px;
  font-size: 13px;
  color: var(--text-sub);
}
.process-full {
  padding: 22px 22px 0;
  display: grid;
  gap: 10px;
}

/* ---------- CONSULT FORM (thanks + inline) ---------- */
.consult-note {
  padding: 22px;
  margin: 30px 22px 0;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 10px;
  text-align: center;
}
.consult-note h2 {
  font-size: 18px;
  font-weight: 900;
  color: var(--brand-dark);
  margin-bottom: 8px;
}
.consult-note p {
  font-size: 13px;
  color: var(--text-sub);
  line-height: 1.75;
}
.consult-form {
  padding: 0 22px;
  display: grid;
  gap: 10px;
}
.consult-form input,
.consult-form select,
.consult-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  background: var(--white);
  border-radius: 8px;
  padding: 12px 14px;
  font: inherit;
  color: var(--text);
}
.consult-form input:focus,
.consult-form select:focus,
.consult-form textarea:focus {
  outline: 2px solid rgba(21, 95, 166, 0.2);
  border-color: var(--brand);
}
.consult-form textarea { min-height: 110px; resize: vertical; }
.consult-form label.consent {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--text-sub);
  padding: 4px 2px;
}

/* ---------- DESKTOP ---------- */
@media (min-width: 900px) {
  :root {
    --container: 1120px;
  }
  body { background: #f1f5fa; font-size: 16px; }

  .shell {
    max-width: 1120px;
    margin: 0 auto;
    background: transparent;
    box-shadow: none;
    padding-bottom: 0;
  }

  /* Header */
  .topbar {
    background: rgba(255,255,255,0.92);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--line-soft);
  }
  .topbar__inner {
    height: 72px;
    padding: 0 28px;
    max-width: 1120px;
    margin: 0 auto;
  }
  .brand__logo { height: 38px; }
  .nav-desktop { display: flex; }
  .hamburger { display: none; }

  /* Hero — two-column */
  .hero { padding: 0; }
  .hero__wrap {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 48px;
    align-items: center;
    max-width: 1120px;
    margin: 0 auto;
    padding: 56px 28px 40px;
  }
  .hero__bg {
    aspect-ratio: 5/4;
    border-radius: 20px;
    box-shadow: 0 18px 48px rgba(13, 63, 114, 0.14);
  }
  .hero__fade { display: none; }
  .hero__inner {
    padding: 0;
    margin-top: 0;
    text-align: left;
  }
  .hero__title {
    font-size: 52px;
    line-height: 1.15;
  }
  .hero__sub {
    font-size: 16px;
    margin-top: 16px;
    max-width: 420px;
  }
  .region-band {
    margin: 22px 0 0;
    text-align: left;
    display: inline-block;
    padding: 8px 16px;
    font-size: 14px;
  }
  .btn-row {
    padding: 24px 0 0;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }
  .btn { height: 54px; font-size: 15px; }

  /* Section title — left align / larger */
  .section {
    padding: 80px 28px 0;
    max-width: 1120px;
    margin: 0 auto;
  }
  .section__title { font-size: 34px; }
  .section__desc { font-size: 15px; margin-bottom: 36px; }

  /* Reasons panel — 2x2 */
  .reasons {
    margin: 80px 28px 0;
    padding: 44px 44px 48px;
    border-radius: 20px;
    max-width: 1064px;
    margin-left: auto;
    margin-right: auto;
  }
  .reasons__title { font-size: 28px; margin-bottom: 8px; }
  .reasons__sub { font-size: 14px; margin-bottom: 28px; }
  .reasons__list {
    grid-template-columns: 1fr 1fr;
    gap: 0 48px;
  }
  .reason-item {
    grid-template-columns: 32px 1fr;
    padding: 16px 0;
    border-top: 1px solid rgba(255,255,255,0.14);
  }
  .reason-item:nth-child(2) { border-top: 0; padding-top: 0; }
  .reason-item strong { font-size: 16px; }
  .reason-item span { font-size: 14px; }

  /* Process list — horizontal */
  .process-list {
    grid-template-columns: repeat(5, 1fr);
    gap: 14px;
  }
  .process-step {
    grid-template-columns: 1fr;
    grid-template-rows: 72px auto;
  }
  .process-step__n {
    font-size: 28px;
    height: 72px;
  }
  .process-step__body { padding: 18px 16px 20px; text-align: center; }
  .process-step__body h3 { font-size: 16px; margin-bottom: 4px; }

  /* Cases grid — 2 col */
  .cases-grid,
  .cases-wrap {
    grid-template-columns: 1fr 1fr;
    gap: 28px;
  }
  .case-item__pair > figure { aspect-ratio: 4/3; }

  /* CTA panel — side by side */
  .cta-panel {
    margin: 80px 28px 0;
    max-width: 1064px;
    margin-left: auto;
    margin-right: auto;
    padding: 44px 48px;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 32px;
    align-items: center;
    text-align: left;
  }
  .cta-panel h2 { font-size: 32px; }
  .cta-panel p { font-size: 15px; margin-bottom: 0; }
  .cta-badges {
    grid-column: 2;
    grid-row: 1 / 3;
    grid-template-columns: repeat(3, 96px);
    gap: 14px;
    margin-bottom: 0;
  }
  .cta-panel .btn--green,
  .cta-panel .btn--block {
    grid-column: 1 / 3;
    grid-row: 3;
    margin-top: 8px;
    max-width: 380px;
  }

  /* Company — wider spaced */
  .company-hero { max-width: 1120px; margin: 0 auto; }
  .company-hero__bg { aspect-ratio: 21/7; border-radius: 0 0 24px 24px; }
  .company-hero__inner h1 { font-size: 34px; padding-top: 60px; }
  .company-intro-title { font-size: 36px; margin: 60px 0 24px; }
  .company-lead { font-size: 17px; padding: 0 28px; margin-bottom: 40px; }
  .company-block {
    max-width: 820px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 28px;
  }
  .company-block + .company-block { margin-top: 28px; }
  .company-block h3 { font-size: 17px; }
  .company-block p, .company-block ul { font-size: 15px; }
  .company-contact {
    max-width: 820px;
    margin: 40px auto 0;
    padding: 28px 32px;
  }
  .company-contact dl { grid-template-columns: 140px 1fr; font-size: 15px; }
  .company-license {
    max-width: 820px;
    margin: 22px auto 0;
    padding: 24px;
  }
  .company-license img { max-width: 420px; }

  /* FAQ */
  .faq-hero h1 { font-size: 36px; padding-top: 16px; }
  .faq-list {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 28px;
  }
  .faq-q { font-size: 16px; }
  .faq-a { font-size: 14.5px; }

  /* Estimate — two-col grid for groups */
  .estimate-hero h1 { font-size: 36px; }
  .estimate-hero p { font-size: 15px; }
  .estimate-group {
    max-width: 1120px;
    margin: 0 auto;
    padding: 56px 28px 0;
  }
  .estimate-group__title { font-size: 22px; margin-bottom: 18px; }
  .estimate-group__list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 14px;
  }

  /* Materials — 2 cols */
  .materials-hero h1 { font-size: 36px; }
  .material-list {
    max-width: 1120px;
    margin: 0 auto;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
    padding: 40px 28px 0;
  }
  .material-card { grid-template-columns: 170px 1fr; }
  .material-card__body h3 { font-size: 17px; }
  .material-card__body ul { font-size: 14px; }

  /* Process page */
  .process-hero h1 { font-size: 36px; }
  .process-full {
    max-width: 1120px;
    margin: 0 auto;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    padding: 40px 28px 0;
  }

  /* Cases page */
  .cases-hero { max-width: 1120px; margin: 0 auto; }
  .cases-hero__bg { aspect-ratio: 21/7; border-radius: 0 0 24px 24px; }
  .cases-hero__inner h1 { font-size: 34px; padding-top: 60px; }
  .cases-wrap {
    max-width: 1120px;
    margin: 0 auto;
    padding: 40px 28px 0;
  }

  /* Footer */
  .site-footer {
    max-width: 1120px;
    margin: 80px auto 0;
    padding: 40px 28px 32px;
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 32px;
    align-items: start;
    text-align: left;
    background: var(--white);
    border-top: 1px solid var(--line-soft);
  }
  .site-footer__brand { margin: 0; padding-top: 6px; }
  .brand__logo--lg { height: 56px; }
  .site-footer__center {
    grid-column: 2;
    text-align: left;
  }
  .site-footer__phone {
    grid-column: auto;
    grid-row: auto;
    margin: 0 0 4px;
    font-size: 26px;
    text-align: left;
  }
  .site-footer__hours {
    text-align: left;
    font-size: 13.5px;
  }
  .site-footer__contact {
    justify-content: flex-start;
    margin-top: 4px;
    font-size: 13px;
  }
  .site-footer__legal {
    grid-column: 1 / 4;
    border-top: 1px solid var(--line-soft);
    margin-top: 10px;
    padding-top: 18px;
    text-align: center;
    font-size: 12px;
  }
  .site-footer__bizinfo { gap: 4px 14px; }

  /* Consult form — side by side */
  .consult-form {
    max-width: 720px;
    margin: 0 auto;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }
  .consult-form > *:nth-child(n+7),
  .consult-form textarea,
  .consult-form label.consent,
  .consult-form button,
  .consult-form input[type="hidden"] + input[type="text"]:nth-of-type(3) { grid-column: 1 / 3; }
  .consult-form textarea { grid-column: 1 / 3; }
  .consult-form label.consent { grid-column: 1 / 3; }
  .consult-form button { grid-column: 1 / 3; }

  .consult-note {
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
  }

  /* FAB: tuck to right edge of viewport */
  .fab-column {
    right: 24px;
    bottom: 32px;
  }
  .fab { width: 52px; height: 52px; }
  .fab svg { width: 22px; height: 22px; }
}

@media (min-width: 1200px) {
  .hero__title { font-size: 58px; }
  .section { padding-top: 100px; }
}

/* ---------- HELPERS ---------- */
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  border: 0;
}
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mt-20 { margin-top: 20px; }

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; }
}
