/* ==========================================================================
   남도홈케어 — 공통 스타일
   색상·간격을 바꾸고 싶으면 아래 :root 값만 수정하면 됩니다.
   ========================================================================== */

:root {
  --bg: #f6f8fb;
  --surface: #ffffff;
  --ink: #10233a;
  --ink-soft: #31465c;
  --muted: #5f7288;
  --line: #e3e9f1;
  --line-strong: #ccd6e3;

  --navy: #0d2a47;
  --navy-2: #123c63;
  --brand: #1667d9;
  --brand-dark: #0f4fa8;
  --brand-soft: #eaf2ff;
  --accent: #f0803c;
  --accent-soft: #fff1e6;
  --ok: #0f9d76;

  --radius-s: 10px;
  --radius: 16px;
  --radius-l: 22px;

  --shadow-s: 0 1px 2px rgba(16, 35, 58, .05);
  --shadow: 0 10px 30px -18px rgba(16, 35, 58, .35);
  --shadow-l: 0 30px 60px -35px rgba(13, 42, 71, .45);

  --container: 1140px;
  --header-h: 72px;

  --font: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont,
    system-ui, "Segoe UI", "Malgun Gothic", "Apple SD Gothic Neo", sans-serif;
}

/* ---------- reset ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  word-break: keep-all;
  overflow-wrap: break-word;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
h1, h2, h3, h4, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }

:focus-visible {
  outline: 3px solid rgba(22, 103, 217, .45);
  outline-offset: 2px;
  border-radius: 6px;
}

.skip-link {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 999;
  background: var(--navy);
  color: #fff;
  padding: 10px 16px;
  border-radius: 0 0 10px 10px;
  transition: top .2s;
}
.skip-link:focus { top: 0; }

/* ---------- layout ---------- */
.container {
  width: min(100% - 40px, var(--container));
  margin-inline: auto;
}

.section { padding: 96px 0; }
.section--tight { padding: 72px 0; }
.section--soft { background: var(--bg); }
.section--white { background: #fff; }

.section-head { max-width: 720px; margin-bottom: 44px; }
.section-head--center { margin-inline: auto; text-align: center; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: .01em;
  color: var(--brand);
  margin-bottom: 14px;
}
.eyebrow::before {
  content: "";
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: var(--brand);
}
.section-head--center .eyebrow::before { display: none; }

h1, h2, h3 { letter-spacing: -.035em; line-height: 1.3; }

h2 { font-size: clamp(26px, 3.2vw, 38px); font-weight: 800; }
.section-head p {
  margin-top: 16px;
  color: var(--muted);
  font-size: 16.5px;
  line-height: 1.75;
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 22px;
  border-radius: 12px;
  border: 1px solid transparent;
  font-weight: 700;
  font-size: 15.5px;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, border-color .18s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn--primary {
  background: var(--brand);
  color: #fff;
  box-shadow: 0 10px 24px -14px rgba(22, 103, 217, .9);
}
.btn--primary:hover { background: var(--brand-dark); }

.btn--ghost {
  background: #fff;
  color: var(--ink);
  border-color: var(--line-strong);
}
.btn--ghost:hover { border-color: var(--brand); color: var(--brand); }

.btn--light {
  background: rgba(255, 255, 255, .1);
  border-color: rgba(255, 255, 255, .35);
  color: #fff;
}
.btn--light:hover { background: rgba(255, 255, 255, .18); }

.btn--white { background: #fff; color: var(--navy); }
.btn--white:hover { background: #eef4ff; }

.btn--kakao {
  background: #fee500;
  color: #191919;
  box-shadow: 0 10px 24px -14px rgba(255, 214, 0, .9);
}
.btn--kakao:hover { background: #f2d800; }
.btn--kakao[hidden] { display: none; }

.btn--sm { padding: 11px 16px; font-size: 14.5px; border-radius: 10px; }
.btn--block { width: 100%; }

.btn svg { width: 18px; height: 18px; flex: none; }

/* ---------- header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, .88);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s, box-shadow .2s;
}
.site-header.is-scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 8px 24px -22px rgba(16, 35, 58, .5);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 28px;
  height: var(--header-h);
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 19px;
  letter-spacing: -.04em;
  flex: none;
}
.logo-mark {
  width: 38px;
  height: 38px;
  border-radius: 11px;
  background: linear-gradient(145deg, var(--navy), var(--brand));
  display: grid;
  place-items: center;
  box-shadow: 0 8px 18px -10px rgba(22, 103, 217, .8);
}
.logo-mark svg { width: 21px; height: 21px; }
.logo span small {
  display: block;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: .12em;
  color: var(--muted);
  line-height: 1.2;
  margin-top: 1px;
}

.main-nav { margin-left: auto; }
.main-nav ul { display: flex; gap: 4px; }
.main-nav a {
  display: block;
  padding: 9px 14px;
  border-radius: 10px;
  font-size: 15.5px;
  font-weight: 650;
  color: var(--ink-soft);
  transition: background .18s, color .18s;
}
.main-nav a:hover { background: #f2f6fc; color: var(--brand); }
.main-nav a[aria-current="page"] { background: var(--brand-soft); color: var(--brand); }

.header-actions { display: flex; align-items: center; gap: 10px; flex: none; }
.header-phone {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 800;
  font-size: 15.5px;
  color: var(--navy);
  padding: 8px 4px;
  letter-spacing: -.02em;
}
.header-phone svg { width: 17px; height: 17px; color: var(--brand); }

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border-radius: 11px;
  border: 1px solid var(--line-strong);
  background: #fff;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.menu-toggle svg { width: 22px; height: 22px; }

/* mobile drawer */
.nav-drawer {
  position: fixed;
  inset: var(--header-h) 0 auto 0;
  z-index: 99;
  background: #fff;
  border-bottom: 1px solid var(--line);
  box-shadow: var(--shadow);
  padding: 12px 20px 20px;
  display: none;
}
.nav-drawer.is-open { display: block; }
.nav-drawer ul { display: grid; gap: 4px; }
.nav-drawer a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 12px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 16px;
}
.nav-drawer a:hover,
.nav-drawer a[aria-current="page"] { background: var(--brand-soft); color: var(--brand); }
.nav-drawer .drawer-foot {
  margin-top: 12px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  display: grid;
  gap: 8px;
}
.nav-drawer .drawer-phone {
  font-size: 13px;
  color: var(--muted);
  text-align: center;
}

/* ---------- hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  padding: 76px 0 88px;
  background:
    radial-gradient(900px 520px at 88% -8%, #dce9ff 0%, rgba(220, 233, 255, 0) 62%),
    radial-gradient(700px 420px at 4% 100%, #e8f6f2 0%, rgba(232, 246, 242, 0) 60%),
    linear-gradient(180deg, #fbfdff 0%, #f3f7fc 100%);
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(13, 42, 71, .035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(13, 42, 71, .035) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(circle at 50% 30%, #000 0%, transparent 72%);
  -webkit-mask-image: radial-gradient(circle at 50% 30%, #000 0%, transparent 72%);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 60px;
  align-items: center;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-s);
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  color: var(--navy);
}
.hero-eyebrow .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--ok);
  box-shadow: 0 0 0 3px rgba(15, 157, 118, .15);
}

.hero h1 {
  margin-top: 22px;
  font-size: clamp(32px, 4.3vw, 54px);
  font-weight: 800;
  line-height: 1.22;
}
.hero h1 .accent { color: var(--brand); }
.hero h1 .line { display: block; }

.hero-lead {
  margin-top: 22px;
  max-width: 33em;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.8;
}

.hero-actions {
  margin-top: 32px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hero-note {
  margin-top: 16px;
  font-size: 13.5px;
  color: var(--muted);
}
.hero-note strong { color: var(--ink); }

@media (max-width: 560px) {
  .header-actions > .btn { display: none; }
}

.hero-visual {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  justify-items: end;
  padding: 8px 0 24px;
}
.hero-photo {
  position: relative;
  width: 88%;
  border-radius: 26px;
  overflow: hidden;
  box-shadow: var(--shadow-l);
  border: 6px solid #fff;
  aspect-ratio: 4 / 5;
}
.hero-photo img { width: 100%; height: 100%; object-fit: cover; }

.hero-photo--sub {
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 44%;
  aspect-ratio: 1 / 1;
  border-radius: 20px;
  border-width: 5px;
  box-shadow: 0 24px 44px -26px rgba(13, 42, 71, .55);
}

.hero-float {
  position: absolute;
  right: 0;
  top: 40px;
  background: #fff;
  border-radius: 16px;
  padding: 14px 18px;
  box-shadow: 0 18px 40px -24px rgba(13, 42, 71, .5);
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: 236px;
}
.hero-float .icon {
  width: 38px;
  height: 38px;
  border-radius: 11px;
  background: var(--brand-soft);
  color: var(--brand);
  display: grid;
  place-items: center;
  flex: none;
}
.hero-float .icon svg { width: 20px; height: 20px; }
.hero-float strong { display: block; font-size: 14px; letter-spacing: -.02em; }
.hero-float span { display: block; font-size: 12.5px; color: var(--muted); }

/* ---------- trust strip ---------- */
.trust-strip {
  background: #fff;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.trust-strip ul {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.trust-strip li {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 20px 12px;
  font-size: 14.5px;
  font-weight: 700;
  color: var(--ink-soft);
  border-left: 1px solid var(--line);
}
.trust-strip li:first-child { border-left: 0; }
.trust-strip .check {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #e8f7f2;
  color: var(--ok);
  display: grid;
  place-items: center;
  flex: none;
}
.trust-strip .check svg { width: 13px; height: 13px; }

/* ---------- services ---------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.service-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 28px 26px 26px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s;
}
.service-card:hover {
  transform: translateY(-4px);
  border-color: #bcd4f5;
  box-shadow: var(--shadow);
}
.service-icon {
  width: 52px;
  height: 52px;
  border-radius: 15px;
  background: var(--brand-soft);
  color: var(--brand);
  display: grid;
  place-items: center;
}
.service-icon svg { width: 26px; height: 26px; }
.service-card h3 { font-size: 19px; font-weight: 750; }
.service-card p {
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.7;
}
.service-card .more {
  margin-top: auto;
  padding-top: 6px;
  color: var(--brand);
  font-weight: 700;
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.service-card .more svg { width: 15px; height: 15px; }

/* ---------- why (dark) ---------- */
.why {
  position: relative;
  overflow: hidden;
  background: linear-gradient(155deg, var(--navy) 0%, var(--navy-2) 100%);
  color: #fff;
}
.why::before {
  content: "";
  position: absolute;
  width: 640px;
  height: 640px;
  right: -180px;
  top: -260px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(22, 103, 217, .45), transparent 68%);
  pointer-events: none;
}
.why .section-head p { color: rgba(255, 255, 255, .72); }
.why .eyebrow { color: #8ec0ff; }
.why .eyebrow::before { background: #8ec0ff; }

.highlight-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}
.highlight {
  display: flex;
  gap: 16px;
  padding: 26px;
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, .12);
  background: rgba(255, 255, 255, .05);
  backdrop-filter: blur(4px);
}
.highlight .icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  flex: none;
  display: grid;
  place-items: center;
  background: rgba(142, 192, 255, .16);
  color: #a9cdff;
}
.highlight .icon svg { width: 22px; height: 22px; }
.highlight h3 { font-size: 17px; font-weight: 750; margin-bottom: 6px; }
.highlight p { color: rgba(255, 255, 255, .68); font-size: 14.5px; line-height: 1.7; }

/* ---------- cases ---------- */
.case-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.case-grid--4 { grid-template-columns: repeat(4, 1fr); }

.case-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  text-align: left;
  padding: 0;
  cursor: pointer;
  font: inherit;
  color: inherit;
  transition: transform .22s, box-shadow .22s, border-color .22s;
}
.case-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: #c8dbf2;
}
.case-thumb {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #eef2f7;
}
.case-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}
.case-card:hover .case-thumb img { transform: scale(1.045); }
.case-thumb-empty {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
  background: repeating-linear-gradient(45deg, #eef2f7, #eef2f7 12px, #e8eef5 12px, #e8eef5 24px);
}
.case-region {
  position: absolute;
  left: 12px;
  top: 12px;
  background: rgba(13, 42, 71, .82);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  padding: 5px 10px;
  border-radius: 999px;
  backdrop-filter: blur(4px);
}
.case-body { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 6px; }
.case-body .case-service {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--brand);
  letter-spacing: .01em;
}
.case-body h3 {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: -.025em;
}
.case-body .case-date { font-size: 12.5px; color: var(--muted); }

.case-empty {
  grid-column: 1 / -1;
  padding: 60px 20px;
  text-align: center;
  color: var(--muted);
  background: #fff;
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius);
}

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 28px;
}
.filter-btn {
  padding: 9px 16px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: #fff;
  font-size: 14px;
  font-weight: 700;
  color: var(--ink-soft);
  cursor: pointer;
  transition: .18s;
}
.filter-btn:hover { border-color: var(--brand); color: var(--brand); }
.filter-btn.is-active {
  background: var(--navy);
  border-color: var(--navy);
  color: #fff;
}

.section-foot {
  margin-top: 36px;
  display: flex;
  justify-content: center;
}

/* 미리보기 알림 */
.preview-bar {
  background: #fff4d6;
  border-bottom: 1px solid #f1dfae;
  color: #7a4b06;
  font-size: 13px;
}
.preview-bar-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 12px;
  padding: 9px 0;
}
.preview-bar strong {
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: .08em;
  color: #9a5b00;
  border: 1px solid #e8c887;
  border-radius: 999px;
  padding: 2px 8px;
}
.preview-bar a {
  margin-left: auto;
  font-weight: 700;
  color: #7a4b06;
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* modal */
.case-modal {
  width: min(920px, calc(100% - 32px));
  max-height: calc(100vh - 48px);
  padding: 0;
  border: 0;
  border-radius: var(--radius-l);
  overflow: hidden;
  box-shadow: 0 40px 80px -30px rgba(13, 42, 71, .6);
  background: #fff;
  color: var(--ink);
}
.case-modal::backdrop { background: rgba(9, 24, 41, .62); backdrop-filter: blur(3px); }
.modal-inner { display: grid; grid-template-columns: 1.15fr 1fr; }
.modal-media { position: relative; background: #eef2f7; min-height: 320px; }
.modal-media img { width: 100%; height: 100%; object-fit: cover; }
.modal-media.is-empty::after {
  content: "사진 준비 중";
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
  background: repeating-linear-gradient(45deg, #eef2f7, #eef2f7 12px, #e8eef5 12px, #e8eef5 24px);
}
.modal-content { padding: 34px 32px; display: flex; flex-direction: column; gap: 12px; }
.modal-content .chip {
  align-self: flex-start;
  background: var(--brand-soft);
  color: var(--brand);
  font-size: 12.5px;
  font-weight: 700;
  padding: 5px 11px;
  border-radius: 999px;
}
.modal-content h3 { font-size: 23px; font-weight: 800; }
.modal-content .meta { font-size: 13.5px; color: var(--muted); }
.modal-content p { font-size: 15px; color: var(--ink-soft); line-height: 1.75; }
.modal-close {
  position: absolute;
  right: 14px;
  top: 14px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, .92);
  display: grid;
  place-items: center;
  cursor: pointer;
  z-index: 2;
}
.modal-close svg { width: 18px; height: 18px; }
.modal-actions { margin-top: 10px; display: flex; gap: 8px; flex-wrap: wrap; }

/* ---------- process ---------- */
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  counter-reset: step;
}
.step {
  position: relative;
  padding: 30px 24px 26px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--navy);
  color: #fff;
  font-weight: 800;
  font-size: 15px;
  margin-bottom: 16px;
}
.step h3 { font-size: 17px; font-weight: 750; margin-bottom: 8px; }
.step p { font-size: 14.5px; color: var(--muted); line-height: 1.7; }

/* ---------- areas ---------- */
.areas-wrap {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: 56px;
  align-items: start;
}
.area-groups { display: grid; gap: 18px; }
.area-group {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 24px;
}
.area-group h3 {
  font-size: 14px;
  font-weight: 800;
  color: var(--brand);
  margin-bottom: 12px;
  letter-spacing: 0;
}
.chips { display: flex; flex-wrap: wrap; gap: 7px; }
.chip {
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  border-radius: 8px;
  background: #f4f7fb;
  border: 1px solid #e8eef6;
  font-size: 13.5px;
  color: var(--ink-soft);
  font-weight: 550;
}
.area-note { margin-top: 16px; font-size: 13.5px; color: var(--muted); }

/* ---------- faq ---------- */
.faq-list {
  border-top: 1px solid var(--line);
}
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 24px 4px;
  cursor: pointer;
  font-weight: 700;
  font-size: 16.5px;
  letter-spacing: -.02em;
  list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .q-mark {
  color: var(--brand);
  font-weight: 800;
  font-size: 15px;
  line-height: 1.6;
  flex: none;
}
.faq-item summary .plus {
  margin-left: auto;
  flex: none;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  display: grid;
  place-items: center;
  transition: transform .2s, background .2s, color .2s;
}
.faq-item summary .plus svg { width: 14px; height: 14px; }
.faq-item[open] summary .plus {
  transform: rotate(45deg);
  background: var(--brand);
  border-color: var(--brand);
  color: #fff;
}
.faq-answer {
  padding: 0 4px 26px 32px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.8;
  max-width: 62em;
}
.faq-more { margin-top: 26px; }
.faq-wrap { max-width: 900px; }
.notice--spaced { margin-top: 36px; }
.section-foot--start { justify-content: flex-start; margin-top: 40px; }

/* ---------- cta ---------- */
.cta-band {
  position: relative;
  overflow: hidden;
  background: linear-gradient(120deg, var(--navy) 0%, #164b7d 55%, var(--brand-dark) 100%);
  color: #fff;
  border-radius: var(--radius-l);
  padding: 56px 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}
.cta-band::after {
  content: "";
  position: absolute;
  right: -80px;
  bottom: -140px;
  width: 380px;
  height: 380px;
  border-radius: 50%;
  border: 40px solid rgba(255, 255, 255, .07);
  pointer-events: none;
}
.cta-band h2 { font-size: clamp(24px, 3vw, 34px); font-weight: 800; }
.cta-band p { margin-top: 12px; color: rgba(255, 255, 255, .74); font-size: 15.5px; max-width: 46em; }
.cta-actions { display: flex; flex-direction: column; gap: 10px; flex: none; min-width: 240px; }
.cta-phone {
  display: block;
  font-size: 25px;
  font-weight: 800;
  letter-spacing: -.03em;
  color: #fff;
  text-align: center;
}
.cta-phone small { display: block; font-size: 12.5px; font-weight: 600; color: rgba(255, 255, 255, .6); letter-spacing: 0; margin-bottom: 4px; }

/* ---------- footer ---------- */
.site-footer {
  background: #0a1d31;
  color: rgba(255, 255, 255, .66);
  padding: 56px 0 40px;
  font-size: 13.5px;
}
.footer-top {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 34px;
  border-bottom: 1px solid rgba(255, 255, 255, .1);
}
.footer-brand .logo { color: #fff; margin-bottom: 14px; }
.footer-brand p { max-width: 32em; line-height: 1.75; color: rgba(255, 255, 255, .55); }
.footer-col h3 {
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 12px;
  letter-spacing: 0;
}
.footer-col ul { display: grid; gap: 8px; }
.footer-col a:hover { color: #fff; }
.footer-phone { color: #fff; font-weight: 800; font-size: 17px; letter-spacing: -.02em; }
.footer-bottom {
  padding-top: 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  justify-content: space-between;
  font-size: 12.5px;
  color: rgba(255, 255, 255, .44);
}
.footer-info { display: flex; flex-wrap: wrap; gap: 6px 16px; }
.photo-credit { flex-basis: 100%; font-size: 12px; color: rgba(255, 255, 255, .5); }

/* ---------- mobile call bar ---------- */
.call-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 90;
  display: none;
  gap: 8px;
  padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
  background: rgba(255, 255, 255, .96);
  backdrop-filter: blur(12px);
  border-top: 1px solid var(--line);
}
.call-bar .btn { flex: 1; }
.call-bar .btn--primary { box-shadow: none; }

/* ---------- misc ---------- */
.page-hero {
  padding: 64px 0 48px;
  background: linear-gradient(180deg, #fbfdff, #f3f7fc);
  border-bottom: 1px solid var(--line);
}
.page-hero h1 {
  font-size: clamp(30px, 3.8vw, 44px);
  font-weight: 800;
  margin-top: 12px;
}
.page-hero p {
  margin-top: 14px;
  max-width: 46em;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.75;
}
.breadcrumb { font-size: 13px; color: var(--muted); }
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--brand); }
.breadcrumb span { margin: 0 6px; opacity: .5; }

.notice {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 16px 18px;
  border-radius: 12px;
  background: #fff8ef;
  border: 1px solid #f6e2c8;
  color: #7a5222;
  font-size: 14px;
  line-height: 1.7;
}
.notice svg { width: 18px; height: 18px; flex: none; margin-top: 2px; }

/* service detail */
.service-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  padding: 56px 0;
  border-bottom: 1px solid var(--line);
  scroll-margin-top: calc(var(--header-h) + 20px);
}
.service-detail:last-child { border-bottom: 0; }
.service-detail:nth-child(even) .service-detail-media { order: -1; }
.service-detail-media {
  border-radius: var(--radius-l);
  overflow: hidden;
  aspect-ratio: 5 / 4;
  background: linear-gradient(145deg, #eaf2ff, #f8fbff);
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  position: relative;
}
.service-detail-media img { width: 100%; height: 100%; object-fit: cover; }
.service-detail-media .placeholder {
  display: grid;
  justify-items: center;
  gap: 12px;
  color: var(--brand);
  padding: 30px;
  text-align: center;
}
.service-detail-media .placeholder svg { width: 62px; height: 62px; opacity: .8; }
.service-detail-media .placeholder span { font-size: 13.5px; color: var(--muted); }
.service-detail h2 {
  font-size: clamp(24px, 2.6vw, 32px);
  font-weight: 800;
  margin-top: 10px;
}
.service-detail .desc { margin-top: 14px; color: var(--muted); font-size: 15.5px; line-height: 1.8; }
.feature-list { margin-top: 22px; display: grid; gap: 10px; }
.feature-list li {
  display: flex;
  gap: 10px;
  font-size: 14.5px;
  color: var(--ink-soft);
  line-height: 1.6;
}
.feature-list .tick {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--brand-soft);
  color: var(--brand);
  display: grid;
  place-items: center;
  flex: none;
  margin-top: 2px;
}
.feature-list .tick svg { width: 12px; height: 12px; }
.service-meta {
  margin-top: 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}
.service-meta .time {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--ink-soft);
  background: #fff;
  border: 1px solid var(--line);
  padding: 8px 13px;
  border-radius: 999px;
}
.service-meta .time svg { width: 15px; height: 15px; color: var(--brand); }

.service-index {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 36px;
}
.service-index a {
  padding: 9px 15px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: #fff;
  font-size: 14px;
  font-weight: 700;
  transition: .18s;
}
.service-index a:hover { border-color: var(--brand); color: var(--brand); }

/* reveal */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .55s ease, transform .55s ease; }
.reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    transition-duration: .001ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- responsive ---------- */
@media (max-width: 1024px) {
  .hero { padding: 56px 0 64px; }
  .hero-grid { gap: 40px; }
  .hero-float { top: 12px; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .case-grid, .case-grid--4 { grid-template-columns: repeat(2, 1fr); }
  .process-grid { grid-template-columns: repeat(2, 1fr); }
  .areas-wrap { grid-template-columns: 1fr; gap: 32px; }
  .cta-band { padding: 44px; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .section { padding: 76px 0; }
}

@media (max-width: 900px) {
  .main-nav, .header-phone { display: none; }
  .call-bar { display: flex; }
  body { padding-bottom: 84px; }
  .site-footer { padding-bottom: 96px; }
  .menu-toggle { display: inline-flex; }
  .header-actions { margin-left: auto; }
  .hero-grid { grid-template-columns: 1fr; gap: 44px; }
  .hero-visual { justify-items: center; }
  .hero-photo { width: min(460px, 100%); }
  .hero-photo--sub { left: max(0px, calc(50% - 200px)); width: 140px; bottom: 0; }
  .hero-float { right: max(0px, calc(50% - 210px)); top: 24px; }
  .service-detail { grid-template-columns: 1fr; gap: 26px; padding: 44px 0; }
  .service-detail:nth-child(even) .service-detail-media { order: 0; }
  .modal-inner { grid-template-columns: 1fr; }
  .modal-media { min-height: 240px; max-height: 300px; }
  .modal-content { padding: 24px; }
  .case-modal { max-height: calc(100vh - 32px); overflow: auto; }
}

@media (max-width: 760px) {
  .container { width: min(100% - 32px, var(--container)); }
  .header-inner { gap: 16px; }
  .header-actions > .btn { display: none; }
  .logo { font-size: 18px; }
  .section { padding: 60px 0; }
  .section--tight { padding: 48px 0; }
  .hero { padding: 42px 0 56px; }
  .hero h1 { font-size: clamp(29px, 8vw, 38px); }
  .hero-lead { font-size: 15.5px; }
  .hero-actions .btn { flex: 1 1 100%; }
  .hero-float { display: none; }
  .hero-photo--sub { display: none; }
  .hero-photo { width: 100%; aspect-ratio: 4 / 3; }
  .trust-strip ul { grid-template-columns: repeat(2, 1fr); }
  .trust-strip li { justify-content: flex-start; padding: 14px 16px; font-size: 13.5px; border-left: 0; }
  .trust-strip li:nth-child(n + 3) { border-top: 1px solid var(--line); }
  .services-grid { grid-template-columns: 1fr; }
  .service-card { padding: 22px; }
  .highlight-grid { grid-template-columns: 1fr; }
  .highlight { padding: 22px; }
  .case-grid, .case-grid--4 { grid-template-columns: 1fr; }
  .process-grid { grid-template-columns: 1fr; }
  .step { padding: 24px; }
  .cta-band { flex-direction: column; align-items: stretch; padding: 34px 24px; border-radius: 18px; gap: 26px; }
  .cta-actions { min-width: 0; }
  .faq-item summary { padding: 20px 0; font-size: 15.5px; gap: 10px; }
  .faq-answer { padding: 0 0 22px 24px; font-size: 14.5px; }
  .footer-top { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; }
  .page-hero { padding: 40px 0 36px; }
  .call-bar { display: flex; }
  body { padding-bottom: 84px; }
  .site-footer { padding-bottom: 88px; }
  .section-foot .btn { width: 100%; }
  .hero-note { font-size: 12.5px; }
}
