/* =========================================================
   ZENS — Zone of Every NeedS
   모바일 우선. 브레이크포인트: 640px / 960px / 1280px
   ========================================================= */

:root {
  /* 컬러 */
  --paper: #F5F5F3;
  --white: #FFFFFF;
  --ink: #16181A;
  --steel: #7E858C;
  --line: #DCDEDF;
  --night: #1C1F22;
  --night-line: #33383D;
  --night-text: #A9AFB5;
  --red: #E8381E;
  --red-dark: #C92B13;

  /* 타이포 */
  --font: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Noto Sans KR", "Malgun Gothic", sans-serif;
  --fs-sm: 0.875rem;
  --fs-base: 1rem;
  --fs-md: 1.125rem;
  --fs-lg: clamp(1.25rem, 1.05rem + 0.9vw, 1.625rem);
  --fs-xl: clamp(1.625rem, 1.2rem + 2vw, 2.75rem);
  --fs-2xl: clamp(2rem, 1.3rem + 3.2vw, 3.75rem);

  /* 간격 */
  --gutter: clamp(20px, 5vw, 56px);
  --section-space: clamp(80px, 12vw, 168px);
  --radius: 8px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 72px;
  -webkit-text-size-adjust: 100%;
}

/* Lenis(부드러운 스크롤)가 켜졌을 때 — 기본 smooth와 겹치지 않게 */
html.lenis,
html.lenis body { height: auto; }
html.lenis { scroll-behavior: auto; }
.lenis:not(.lenis-autoToggle).lenis-stopped { overflow: clip; }
.lenis.lenis-smooth iframe { pointer-events: none; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: var(--fs-base);
  line-height: 1.7;
  color: var(--ink);
  background: var(--paper);
  word-break: keep-all;
  overflow-wrap: break-word;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; height: auto; }
[hidden] { display: none !important; }
h1, h2, h3, h4, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; }

:focus-visible {
  outline: 3px solid var(--red);
  outline-offset: 3px;
  border-radius: 2px;
}

.container {
  width: 100%;
  max-width: 1280px;
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.skip-link {
  position: absolute;
  left: 12px; top: -48px;
  z-index: 100;
  padding: 8px 14px;
  background: var(--ink);
  color: var(--white);
  text-decoration: none;
}
.skip-link:focus { top: 12px; }

/* ---------- 버튼 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 28px;
  border: 0;
  border-radius: 999px;
  background: var(--red);
  color: var(--white);
  font: inherit;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .2s;
}
.btn:hover { background: var(--red-dark); }

.btn--small {
  min-height: 40px;
  padding: 0 18px;
  font-size: var(--fs-sm);
}

.btn--ghost {
  background: transparent;
  color: inherit;
  box-shadow: inset 0 0 0 1px currentColor;
}
.btn--ghost:hover { background: rgba(255, 255, 255, .08); }

/* ---------- 헤더 ---------- */
/* 히어로 위에 겹쳐 고정. 히어로 위: 투명 + 흰색 / 히어로를 지나면: 배경색 + 검정 */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background: var(--paper);
  border-bottom: 1px solid transparent;
  transition: background-color .3s, border-color .3s;
}
.site-header.is-scrolled { border-bottom-color: var(--line); }

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.site-header__logo {
  position: relative;
  display: block;
  width: 112px;
}
.site-header__logo img {
  width: 100%;
  height: auto;
  transition: opacity .3s;
}
.site-header__logo .logo--white {
  position: absolute;
  inset: 0;
  opacity: 0;
}

.site-header .btn {
  transition: background-color .3s, color .3s, box-shadow .3s;
}

/* 히어로 위 상태 (JS가 있을 때만 — JS가 없으면 항상 기본 헤더) */
.js .site-header.is-over-hero {
  background: transparent;
  border-bottom-color: transparent;
}
.js .site-header.is-over-hero .logo--white { opacity: 1; }
.js .site-header.is-over-hero .logo--black { opacity: 0; }
.js .site-header.is-over-hero .btn {
  background: transparent;
  color: var(--white);
  box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .9);
}
.js .site-header.is-over-hero .btn:hover { background: rgba(255, 255, 255, .14); }

/* ---------- 공통 섹션 ---------- */
.section { padding-block: var(--section-space); }

.section--dark {
  background: var(--night);
  color: var(--white);
}

.section-title {
  font-size: var(--fs-xl);
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.025em;
  max-width: 22em;
}

/* ---------- 워드마크 ---------- */
.wordmark {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 269.5 / 95;
  fill: currentColor;
}

/* =========================================================
   1. 히어로 — 화면 전체 배경(사진 → 나중에 영상) + 흰 글자
   ========================================================= */
.hero {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  /* svh: 주소창이 나타나거나 사라져도 높이가 변하지 않아 덜컹거리지 않음 */
  min-height: 100vh;
  min-height: 100svh;
  overflow: hidden;
  background: var(--night);
  color: var(--white);
}

/* 배경: 사진이 바닥, 영상은 재생이 시작되면 위에 나타남 */
.hero__media {
  position: absolute;
  inset: 0;
  z-index: -2;
}
.hero__photo,
.hero__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.hero__video {
  opacity: 0;
  transition: opacity .8s;
}
.hero__video.is-playing { opacity: 1; }

/* 글자 가독성용 어두운 막 (사진이 저해상도라 조금 진하게) */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg,
      rgba(14, 16, 18, .62) 0%,
      rgba(14, 16, 18, .34) 32%,
      rgba(14, 16, 18, .42) 58%,
      rgba(14, 16, 18, .82) 100%),
    rgba(14, 16, 18, .18);
}

.hero__content {
  padding-top: calc(64px + 48px);
  padding-bottom: clamp(28px, 5vw, 56px);
}

/* 설명 문구 — 작게, PC에서는 정확히 2줄 */
.hero__lead {
  font-size: clamp(1rem, 0.9rem + 0.45vw, 1.3125rem);
  font-weight: 500;
  line-height: 1.6;
  letter-spacing: -0.02em;
  color: rgba(255, 255, 255, .88);
}
.br-pc { display: none; }
@media (min-width: 768px) {
  .br-pc { display: inline; }
  .hero__lead { white-space: nowrap; }
}

/* 슬로건 + ZENS 워드마크 묶음 (왼쪽 끝을 같은 선에 맞춤) */
.hero__brand {
  width: calc(100% - var(--gutter) * 2);
  max-width: calc(1280px - 112px);
  margin-inline: auto;
}

/* "Zone of Every NeedS" — 워드마크 바로 위에 붙임
   워드마크가 아래로 18% 내려가 있어서, 그만큼 슬로건도 내려 간격을 맞춤
   (워드마크 높이 = 너비 × 95/269.5, 그 18% ≈ 너비 × 0.0635) */
.hero__title {
  font-size: clamp(0.875rem, 0.7rem + 0.8vw, 1.5rem);
  font-weight: 500;
  letter-spacing: 0.04em;
  line-height: 1;
  padding-left: 0.3%;
  margin-bottom: calc(min(100vw - var(--gutter) * 2, 1168px) * -0.0635 + clamp(8px, 1.2vw, 16px));
  position: relative;
  z-index: 1;
  animation: hero-title-in .8s .6s ease-out both;
}
@keyframes hero-title-in {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: none; }
}

.hero__wordmark {
  display: block;
  width: 100%;
  color: var(--white);
  /* 아래 18%는 히어로 밖으로 걸쳐 잘림 */
  transform: translateY(18%);
}

/* 첫 로딩 연출: 워드마크가 아래에서 올라옴 (한 번만, CSS만 사용) */
@keyframes wordmark-rise {
  from { transform: translateY(70%); opacity: 0; }
  to   { transform: translateY(18%); opacity: 1; }
}
.hero__wordmark {
  animation: wordmark-rise 1.1s cubic-bezier(.2, .7, .1, 1) both;
}

/* =========================================================
   2. 문제 제기
   ========================================================= */
.question { background: var(--white); }

.question__grid {
  display: grid;
  gap: clamp(40px, 6vw, 72px);
  align-items: center;
}

.question__copy {
  display: grid;
  gap: 28px;
}

.question__mark {
  display: flex;
  align-items: flex-start;
}
.question__mark span {
  flex: none;
  width: 40px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--red);
}
.question__mark span + span {
  margin-left: -16px;
  background: transparent;
  box-shadow: inset 0 0 0 3px var(--ink);
}

.question__body {
  display: grid;
  gap: clamp(24px, 3vw, 40px);
}

.question__text {
  font-size: clamp(1.25rem, 1rem + 0.9vw, 1.75rem);
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: -0.03em;
  max-width: 20em;
  word-break: keep-all;
}
.question__text + .question__text { color: var(--steel); }

/* 런드리 스페이스 일러스트: 흰 배경이 섹션 배경에 자연스럽게 섞이도록 multiply */
.question__figure {
  margin: 0;
  justify-self: center;
  width: min(100%, 460px);
}
.question__figure img {
  display: block;
  width: 100%;
  height: auto;
}
/* 설치 전/후 두 장을 겹쳐 놓고, 묶음 전체를 배경에 섞고 가장자리를 흐림 */
.question__figure {
  position: relative;
  isolation: isolate;
  mix-blend-mode: multiply;
  /* 사진 테두리가 보이지 않게 가장자리를 배경으로 서서히 흐리게 */
  -webkit-mask-image:
    linear-gradient(to right, transparent, #000 4%, #000 96%, transparent),
    linear-gradient(to bottom, transparent, #000 4%, #000 96%, transparent);
  -webkit-mask-composite: source-in;
  mask-image:
    linear-gradient(to right, transparent, #000 4%, #000 96%, transparent),
    linear-gradient(to bottom, transparent, #000 4%, #000 96%, transparent);
  mask-composite: intersect;
}

.before-after { cursor: pointer; }
.before-after__after {
  position: absolute;
  inset: 0;
  clip-path: circle(0% at 78% 52%);
  transition: clip-path 1.2s cubic-bezier(.65, 0, .35, 1);
}
.before-after.is-revealed .before-after__after { clip-path: circle(150% at 78% 52%); }
/* 반복할 때: 설치 모습이 서서히 사라진 뒤 빈 공간으로 즉시 되돌림 */
.before-after.is-fading .before-after__after { opacity: 0; transition: opacity .6s ease; }
.before-after.is-resetting .before-after__after { transition: none; }
/* JS가 없거나 동작 줄이기 설정이면 처음부터 설치 후 모습 */
html:not(.js) .before-after__after { clip-path: none; }
@media (prefers-reduced-motion: reduce) {
  .before-after__after { clip-path: none; transition: none; }
}

@media (min-width: 960px) {
  .question__grid { grid-template-columns: 7fr 5fr; }
  .question__mark span { width: 52px; }
  .question__mark span + span { margin-left: -18px; }
  .question__figure { width: 100%; max-width: 560px; justify-self: end; }
}

/* =========================================================
   3. 기존 런드리 스페이스의 한계
   ========================================================= */
.limits__list {
  display: grid;
  margin-top: clamp(32px, 5vw, 64px);
  border-top: 1px solid var(--ink);
}

.limits__item {
  display: grid;
  grid-template-rows: auto auto 1fr;
  gap: 20px;
  padding-block: 28px 32px;
  border-bottom: 1px solid var(--line);
  font-size: var(--fs-md);
  line-height: 1.65;
  word-break: keep-all;
}

/* 카드 제목 (그림 위) */
.limits__label {
  font-size: clamp(1.0625rem, 0.95rem + 0.4vw, 1.25rem);
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: -0.02em;
  color: var(--ink);
}

/* 일러스트 칸: 세 카드 모두 같은 4:3 높이라 문구 시작선이 맞음 */
.limits__figure {
  margin: 0;
  aspect-ratio: 4 / 3;
  display: grid;
  place-items: center;
}
.limits__figure img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  mix-blend-mode: multiply; /* 흰 배경을 섹션 배경색에 녹임 */
  /* 조감도 이미지의 사각 테두리가 보이지 않게 가장자리를 서서히 흐리게 */
  -webkit-mask-image:
    linear-gradient(to right, transparent, #000 6%, #000 94%, transparent),
    linear-gradient(to bottom, transparent, #000 6%, #000 94%, transparent);
  -webkit-mask-composite: source-in;
  mask-image:
    linear-gradient(to right, transparent, #000 6%, #000 94%, transparent),
    linear-gradient(to bottom, transparent, #000 6%, #000 94%, transparent);
  mask-composite: intersect;
}

.limits__icon {
  width: 72px;
  height: 72px;
  fill: none;
  stroke: var(--ink);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

@media (min-width: 960px) {
  .limits__list {
    grid-template-columns: repeat(3, 1fr);
    border-bottom: 1px solid var(--line);
  }
  .limits__item {
    gap: 28px;
    padding: 36px 32px 40px 0;
    border-bottom: 0;
  }
  /* 칸마다 폭이 달라도 그림 높이를 고정해 문구 시작선을 맞춤 */
  .limits__figure {
    aspect-ratio: auto;
    height: clamp(200px, 19vw, 280px);
    justify-items: start;
  }
  /* 첫 칸은 왼쪽 여백이 없어 폭이 32px 더 넓음 → 그림 폭을 가장 좁은 칸 기준으로 고정해 세 장 크기를 똑같이 맞춤 */
  .limits__figure img {
    width: calc(min(100vw - var(--gutter) * 2, 1168px) / 3 - 70px); /* 70px = 좌우 여백 64 + 스크롤바 여유 */
    height: auto;
    max-height: 100%;
    aspect-ratio: 4 / 3;
  }
  .limits__item + .limits__item {
    padding-left: 32px;
    border-left: 1px solid var(--line);
  }
}

/* =========================================================
   4. 젠스의 해결책
   ========================================================= */
.solution { background: var(--white); }

.solution__brand {
  margin-top: 20px;
  font-size: var(--fs-md);
  color: var(--steel);
  max-width: 36em;
}
/* 넓은 화면에서는 소개 문장을 한 줄로 */
@media (min-width: 1280px) {
  .solution__brand { max-width: none; white-space: nowrap; }
}

/* 숫자 카드 — 라벨(작게) / 큰 글자(레드) / 설명(회색) */
.stats-wrap {
  position: relative;
  margin-top: clamp(40px, 6vw, 72px);
}

.stats {
  display: grid;
  grid-auto-rows: 1fr;
  gap: 12px;
}

.stat {
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-height: 200px;
  padding: 28px;
  border-radius: var(--radius);
  background: var(--paper);
}

.stat__label {
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--steel);
}

.stat__figure {
  font-size: clamp(1.75rem, 1rem + 2.2vw, 2.75rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.04em;
  color: var(--red);
  font-variant-numeric: tabular-nums;
}

.stat__desc {
  margin-top: auto;
  color: #4A5056;
  max-width: 26em;
  word-break: keep-all;
}

.stat__more {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0;
  border: 0;
  background: none;
  font: inherit;
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--ink);
  cursor: pointer;
}
.stat__more span {
  display: inline-grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--white);
  font-size: 14px;
  line-height: 1;
  transition: transform .3s;
}
.stat__more[aria-expanded="true"] span { transform: rotate(45deg); }

.stat--expand { transition: background-color .3s; }

/* ---------- 운영 현장 지도 패널 ---------- */
.sites-panel {
  border-radius: var(--radius);
  background: var(--night);
  color: var(--white);
  overflow: hidden;
}
.sites-panel[hidden] { display: none; }

.sites-panel__inner {
  display: grid;
  gap: 24px;
  padding: 28px;
}

.sites-panel__map {
  position: relative;
  width: min(100%, 380px);
  margin-inline: auto;
}
.sites-panel__map img,
.sites-panel__dots {
  display: block;
  width: 100%;
  height: auto;
}
.sites-panel__dots {
  position: absolute;
  inset: 0;
  overflow: visible;
}

.site-dot__core { fill: var(--red); }
.site-dot__pulse {
  fill: var(--red);
  opacity: 0;
  transform-box: fill-box;
  transform-origin: center;
}
.site-dot {
  opacity: 0;
  transform-box: fill-box;
  transform-origin: center;
}

.sites-panel.is-open .site-dot {
  animation: dot-in .5s cubic-bezier(.2, .9, .3, 1.4) forwards;
  animation-delay: calc(.35s + var(--i) * 60ms);
}
.sites-panel.is-open .site-dot__pulse {
  animation: dot-pulse 2.4s ease-out infinite;
  animation-delay: calc(1s + var(--i) * 120ms);
}
@keyframes dot-in {
  from { opacity: 0; transform: scale(0); }
  to   { opacity: 1; transform: scale(1); }
}
@keyframes dot-pulse {
  0%   { opacity: .5; transform: scale(1); }
  100% { opacity: 0;  transform: scale(3.2); }
}

.sites-panel__jeju {
  position: absolute;
  left: 39%;
  bottom: -2px;
  font-size: 12px;
  font-weight: 700;
  color: var(--red);
  opacity: 0;
  transition: opacity .4s 1.4s;
}
.sites-panel.is-open .sites-panel__jeju { opacity: 1; }

.sites-panel__text {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.sites-panel__text .stat__label { color: var(--night-text); }
.sites-panel__figure {
  font-size: clamp(2.25rem, 1.2rem + 3.6vw, 4rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.04em;
  font-variant-numeric: tabular-nums;
}
.sites-panel__figure .count-up { color: var(--red); }
.sites-panel__desc {
  font-size: var(--fs-md);
  color: var(--night-text);
  word-break: keep-all;
}
.sites-panel__regions {
  display: grid;
  gap: 10px;
  margin-top: 12px;
  padding-top: 20px;
  border-top: 1px solid var(--night-line);
  font-size: var(--fs-sm);
  color: var(--night-text);
}
.sites-panel__regions strong {
  display: inline-block;
  min-width: 4.5em;
  color: var(--white);
  font-weight: 600;
}
.sites-panel__note {
  font-size: 12px;
  color: #6E757C;
}
.sites-panel__close {
  align-self: flex-start;
  margin-top: 4px;
  padding: 8px 14px;
  border: 1px solid var(--night-line);
  border-radius: 999px;
  background: none;
  color: var(--white);
  font: inherit;
  font-size: var(--fs-sm);
  cursor: pointer;
}
.sites-panel__close:hover { border-color: var(--night-text); }

/* 정기 관리 패널 — 영상 */
.care-panel__media {
  position: relative;
  aspect-ratio: 16 / 10;
  border-radius: 6px;
  overflow: hidden;
  background: #111315;
}
.care-panel__photo,
.care-panel__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.care-panel__video { opacity: 0; transition: opacity .6s; }
.care-panel__video.is-playing { opacity: 1; }
.care-panel__list strong { min-width: 4em; }
.always-panel__list strong { min-width: 5em; }
/* 상시 케어 항목: 긴 문장도 줄바꿈 없이 한 줄로 */
@media (min-width: 1024px) {
  .always-panel__list li { white-space: nowrap; }
}

/* 모바일·태블릿: 첫 번째 카드 바로 아래로 펼침 */
@media (max-width: 1023px) {
  .stats-wrap { display: grid; gap: 12px; }
  .stats { display: contents; }
  .stat--sites { order: 0; }
  #sites-panel { order: 1; }
  .stat--always { order: 2; }
  #always-panel { order: 3; }
  .stat--care { order: 4; }
  #care-panel { order: 5; }
  .stat--report { order: 6; }
  #report-panel { order: 7; }
  .sites-panel.is-open { animation: panel-down .45s ease-out; }
  @keyframes panel-down {
    from { opacity: 0; transform: translateY(-12px); }
    to   { opacity: 1; transform: none; }
  }
}

@media (min-width: 640px) and (max-width: 1023px) {
  .sites-panel__inner { grid-template-columns: 1fr 1fr; align-items: center; }
}

/* PC: 첫 카드 자리에서 커지며 세 카드를 덮고 위로 솟음 */
@media (min-width: 1024px) {
  .stats-wrap { margin-top: 140px; }   /* 패널이 솟아오를 여백 확보 (제목을 가리지 않게) */
  .stats { grid-template-columns: repeat(4, 1fr); }
  .stat { min-height: 340px; padding: 32px 28px; }
  .stat__figure { font-size: clamp(1.75rem, 1rem + 1.4vw, 2.25rem); }

  .sites-panel,
  .sites-panel[hidden] {
    display: block;
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    top: -120px;                         /* 카드 줄보다 위로 솟는 높이 */
    z-index: 5;
    pointer-events: none;
    visibility: hidden;
    /* 닫힌 상태 = 첫 번째 카드 크기 */
    clip-path: inset(120px calc(75% + 9px) 0 0 round var(--radius));
    transition:
      clip-path .6s cubic-bezier(.7, 0, .2, 1),
      visibility 0s .6s;
  }
  .sites-panel.is-open {
    pointer-events: auto;
    visibility: visible;
    clip-path: inset(0 0 0 0 round var(--radius));
    transition:
      clip-path .6s cubic-bezier(.7, 0, .2, 1),
      visibility 0s;
    box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .35);
  }
  .sites-panel__inner {
    height: 100%;
    grid-template-columns: 1.1fr 1fr;
    align-items: center;
    gap: 48px;
    padding: 40px 56px;
  }
  .sites-panel__map { width: auto; height: 100%; max-height: 420px; aspect-ratio: 520 / 550; justify-self: center; }
  .sites-panel__text,
  .sites-panel__map {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity .3s, transform .3s;
  }
  .sites-panel.is-open .sites-panel__text,
  .sites-panel.is-open .sites-panel__map {
    opacity: 1;
    transform: none;
    transition: opacity .5s .3s, transform .5s .3s;
  }
  /* 마우스로 열리므로 PC에서는 버튼 숨김 (키보드 포커스 시에는 보임) */
  .has-hover .stat__more { opacity: 0; }
  .has-hover .stat__more:focus-visible { opacity: 1; }
  .has-hover .stat--expand { cursor: pointer; }
  .has-hover .stat--expand:hover { background: #ECECE9; }
  /* 두 번째 카드(상시 케어) 패널: 두 번째 카드 크기에서 시작 */
  .always-panel,
  .always-panel[hidden] {
    clip-path: inset(120px calc(50% + 6px) 0 calc(25% + 3px) round var(--radius));
  }
  .always-panel.is-open { clip-path: inset(0 0 0 0 round var(--radius)); }
  /* 세 번째 카드(정기 케어) 패널: 세 번째 카드 크기에서 시작 */
  .care-panel,
  .care-panel[hidden] {
    clip-path: inset(120px calc(25% + 3px) 0 calc(50% + 6px) round var(--radius));
  }
  .care-panel.is-open { clip-path: inset(0 0 0 0 round var(--radius)); }
  .care-panel__inner { grid-template-columns: 1.3fr 1fr; }
  .care-panel__media { height: 100%; max-height: none; }
}

@media (prefers-reduced-motion: reduce) {
  .hero__title { animation: none; }
  .sites-panel,
  .sites-panel.is-open,
  .sites-panel__text,
  .sites-panel__map { transition: none !important; }
  .sites-panel.is-open .site-dot { animation: none; opacity: 1; }
  .sites-panel.is-open .site-dot__pulse { animation: none; }
}

/* ---------- 공간 맞춤 설계 ---------- */
.plan {
  margin-top: clamp(64px, 9vw, 128px);
  padding-top: clamp(40px, 5vw, 64px);
  border-top: 1px solid var(--ink);
}
.plan__intro { display: grid; gap: 12px; }
.plan__title {
  font-size: var(--fs-xl);
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: -0.03em;
  word-break: keep-all;
}

.plan__steps {
  display: grid;
  gap: 40px;
  margin-top: clamp(32px, 4vw, 56px);
}
.plan-step { display: grid; gap: 10px; align-content: start; }
.plan-step__visual {
  position: relative;
  margin-bottom: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  overflow: hidden;
}
.plan-step__num {
  font-size: var(--fs-sm);
  font-weight: 700;
  color: var(--red);
  font-variant-numeric: tabular-nums;
}
.plan-step__title {
  font-size: var(--fs-lg);
  font-weight: 700;
  letter-spacing: -0.02em;
}
.plan-step__desc {
  color: #4A5056;
  word-break: keep-all;
}

/* 비교 전환(시안 ↔ 시공, 마감재 A ↔ B) */
.swap__stage {
  position: relative;
  aspect-ratio: 4 / 3.4;
}
.swap__item {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 18px;
  transition: opacity .6s ease;
}
.swap__item.is-solo { padding: 0; }
.plan-step__visual--dark { background: #15171A; border-color: #15171A; }
.swap__item--b { opacity: 0; }
.swap__stage[data-state="b"] .swap__item--a { opacity: 0; }
.swap__stage[data-state="b"] .swap__item--b { opacity: 1; }

.swap__tabs {
  position: absolute;
  left: 12px;
  bottom: 12px;
  display: inline-flex;
  padding: 3px;
  border-radius: 999px;
  background: rgba(22, 24, 26, .78);
  backdrop-filter: blur(4px);
}
.swap__tab {
  padding: 6px 12px;
  border: 0;
  border-radius: 999px;
  background: none;
  color: rgba(255, 255, 255, .7);
  font: inherit;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color .3s, color .3s;
}
.swap__tab.is-active { background: var(--white); color: var(--ink); }

/* 입면도 */
.swap__stage--drawing { padding: 18px 18px 54px; background: var(--white); }
.elev { width: 100%; height: 100%; display: block; overflow: visible; }
.el-wall { transition: opacity .6s ease; }
.el-wall--b { opacity: 0; }
.swap__stage--drawing[data-state="b"] .el-wall--b { opacity: 1; }
.el-outline { fill: none; stroke: var(--ink); stroke-width: 1.2; }
.el-machine { fill: #2E3033; stroke: #fff; stroke-width: 1.5; }
.el-thin { stroke: rgba(255, 255, 255, .55); stroke-width: .8; }
.el-door { fill: none; stroke: rgba(255, 255, 255, .85); stroke-width: 1; }
.el-floor { stroke: var(--ink); stroke-width: 2; }
.el-dim { stroke: var(--steel); stroke-width: .8; }
.el-leader { stroke: var(--red); stroke-width: 1; }
.el-dot { fill: var(--red); }
.el-tag { font-size: 13px; font-weight: 700; fill: var(--ink); font-family: var(--font); }
.el-tag--b { display: none; }
.swap__stage--drawing[data-state="b"] .el-tag--a { display: none; }
.swap__stage--drawing[data-state="b"] .el-tag--b { display: inline; }

/* 컴비네이션 */
.combo {
  display: grid;
  gap: 20px;
  margin-top: clamp(48px, 6vw, 80px);
  padding: 28px;
  border-radius: var(--radius);
  background: var(--paper);
}
.combo__text {
  font-size: var(--fs-lg);
  font-weight: 700;
  line-height: 1.45;
  letter-spacing: -0.02em;
  word-break: keep-all;
}
.combo__list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}
.combo__list li {
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 12px;
  border-radius: var(--radius);
  background: var(--white);
  font-size: var(--fs-sm);
  font-weight: 600;
}
.combo__list svg {
  flex: none;
  width: 28px;
  height: 28px;
  fill: none;
  stroke: var(--ink);
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.combo__list li:first-child svg { stroke: var(--red); }
.br-pc { display: none; }

@media (min-width: 960px) {
  .plan__steps { grid-template-columns: repeat(3, 1fr); gap: 28px; }
  .combo {
    grid-template-columns: 1fr 1.6fr;
    align-items: center;
    padding: 36px 40px;
  }
  .combo__list { grid-template-columns: repeat(4, 1fr); }
  .combo__list li { flex-direction: column; justify-content: center; padding: 20px 12px; text-align: center; }
  .br-pc { display: inline; }
}

@media (prefers-reduced-motion: reduce) {
  .swap__item, .el-wall { transition: none; }
}

/* =========================================================
   5. 운영 중인 런드리 케어 공간 (다크)
   ========================================================= */
.care { margin-top: clamp(40px, 6vw, 72px); }

.care__title {
  font-size: var(--fs-lg);
  font-weight: 700;
  color: var(--night-text);
}

.care__list {
  display: grid;
  gap: 16px;
  margin-top: 20px;
}

.care-card {
  overflow: hidden;
  border-radius: var(--radius);
  background: #24282C;
}

.care-card__photo {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.care-card__body { padding: 24px 24px 28px; }

.care-card__num {
  display: block;
  font-size: var(--fs-lg);
  font-weight: 700;
  color: var(--red);
}

.care-card__title {
  margin-top: 8px;
  font-size: var(--fs-lg);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.care-card__points {
  display: grid;
  gap: 8px;
  margin-top: 16px;
  font-size: var(--fs-sm);
  line-height: 1.65;
  color: var(--night-text);
}
.care-card__points li {
  position: relative;
  padding-left: 14px;
}
.care-card__points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .7em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--night-text);
}

@media (min-width: 960px) {
  .care__list { grid-template-columns: repeat(3, 1fr); }
}

/* 주요 운영 현장 — 이름 목록형 */
.sites-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px 24px;
  margin-top: clamp(40px, 6vw, 72px);
  padding-bottom: clamp(20px, 2.5vw, 28px);
  border-bottom: 1px solid var(--white);
}
.sites-head__title {
  font-size: var(--fs-lg);
  font-weight: 700;
  color: var(--night-text);
}
.sites-head__count {
  display: flex;
  align-items: baseline;
  gap: 6px;
  font-size: var(--fs-md);
  font-weight: 600;
}
.sites-head__num {
  font-size: clamp(3rem, 2rem + 4vw, 5.5rem);
  font-weight: 800;
  line-height: .9;
  letter-spacing: -0.04em;
  color: var(--red);
  font-variant-numeric: tabular-nums;
}
.sites-head__since {
  margin-left: 6px;
  font-size: var(--fs-sm);
  font-weight: 500;
  color: var(--night-text);
}

.sites-list {
  display: grid;
  margin: 0;
  padding: 0;
  list-style: none;
}
/* 모바일: 번호 | 이름, 아래 줄에 지역 · 운영 시작 · 설치 시설 */
.site-row {
  display: grid;
  grid-template-columns: 2.4em 1fr;
  align-items: baseline;
  row-gap: 4px;
  padding-block: 14px;
  border-bottom: 1px solid var(--night-line);
  transition: opacity .3s, color .3s;
}
.site-row__num {
  grid-row: span 2;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--night-text);
  font-variant-numeric: tabular-nums;
}
.site-row__name {
  font-size: clamp(1rem, 0.9rem + 0.5vw, 1.375rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.35;
  word-break: keep-all;
}
.site-row__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 2px 0;
  font-size: var(--fs-sm);
  color: var(--night-text);
}
.site-row__meta > span + span::before {
  content: "·";
  margin-inline: 6px;
  opacity: .6;
}
.site-row__since { font-variant-numeric: tabular-nums; }
/* 모바일: 설치 시설은 아래 줄에 따로 (가운뎃점이 줄 앞에 떨어지지 않게) */
.site-row__meta > .site-row__equip { flex-basis: 100%; }
.site-row__meta > .site-row__equip::before { content: none; }

/* 표 머리글 (PC에서만) */
.sites-cols { display: none; }

/* 모바일: 처음 8곳만 보이고 버튼으로 펼침 (JS가 있을 때만) */
.js .sites-list:not(.is-expanded) .site-row:nth-child(n+9) { display: none; }
.gallery__more {
  width: 100%;
  margin-top: 32px;
}

@media (min-width: 640px) {
  .js .sites-list:not(.is-expanded) .site-row:nth-child(n+9) { display: grid; }
}

/* 태블릿·PC: 표처럼 한 줄에 번호 | 현장명 | 지역 | 운영 시작 | 설치 시설 */
@media (min-width: 900px) {
  .sites-cols,
  .site-row {
    display: grid;
    grid-template-columns: 44px minmax(0, 2.2fr) minmax(0, .8fr) minmax(0, .6fr) minmax(0, .9fr) minmax(0, 2.2fr);
    column-gap: 20px;
    align-items: center;
  }
  .sites-cols {
    padding-block: 14px;
    border-bottom: 1px solid var(--night-line);
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--night-text);
  }
  .site-row { padding-block: 18px; }
  .site-row__num { grid-row: auto; }
  .site-row__meta { display: contents; }
  .site-row__meta > span + span::before { content: none; }
  .site-row__region,
  .site-row__rooms,
  .site-row__since { font-size: var(--fs-base); color: var(--night-text); font-variant-numeric: tabular-nums; }
  .site-row__equip { font-size: var(--fs-base); color: var(--white); opacity: .85; }
  .js .sites-list:not(.is-expanded) .site-row:nth-child(n+9) { display: grid; }

  /* 마우스를 올린 줄만 강조 */
  .has-hover .sites-list:hover .site-row { opacity: .35; }
  .has-hover .sites-list .site-row:hover { opacity: 1; }
  .has-hover .site-row:hover .site-row__name { color: var(--red); }
}

/* =========================================================
   6. 위탁자 후기
   ========================================================= */
.reviews__list {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 82%;
  gap: 12px;
  margin-top: clamp(32px, 5vw, 56px);
  margin-inline: calc(var(--gutter) * -1);
  padding-inline: var(--gutter);
  padding-bottom: 8px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: var(--gutter);
  scrollbar-width: thin;
}

.review {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 18px;
  align-items: start;
  padding: 24px;
  border-radius: var(--radius);
  background: var(--white);
  scroll-snap-align: start;
}

/* 사람 형태 아이콘 */
.review__avatar {
  position: relative;
  width: 56px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--paper);
  overflow: hidden;
}
.review__avatar::before,
.review__avatar::after {
  content: "";
  position: absolute;
  left: 50%;
  border-radius: 50%;
  background: var(--ink);
  transform: translateX(-50%);
}
.review__avatar::before { top: 12px; width: 18px; height: 18px; }
.review__avatar::after  { top: 34px; width: 38px; height: 38px; }

.review:nth-child(3n+2) .review__avatar::before,
.review:nth-child(3n+2) .review__avatar::after { background: var(--red); }

.review__text {
  padding-top: 4px;
  line-height: 1.7;
}
.review__text.is-placeholder { color: var(--steel); }
/* 실제 후기: 문장 위에 빨간 큰 따옴표 */
.review__body::before {
  content: "\201C";
  display: block;
  height: .5em;
  margin-bottom: 6px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 3.5rem;
  font-weight: 700;
  line-height: 1;
  color: var(--red);
}
.review__author {
  margin-top: 12px;
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--steel);
}

@media (min-width: 960px) {
  .reviews__list {
    grid-auto-flow: row;
    grid-auto-columns: auto;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-inline: 0;
    padding-inline: 0;
    overflow: visible;
  }
  .review { padding: 32px; }
}

/* =========================================================
   7. 수익 배분
   ========================================================= */
.revenue { padding-top: 0; }
.revenue .section-title {
  max-width: none;
  padding-top: var(--section-space);
  border-top: 1px solid var(--line);
}
.revenue__body:empty { display: none; }
.revenue__body { margin-top: clamp(32px, 5vw, 56px); }

/* =========================================================
   8. 아웃트로
   ========================================================= */
.outro {
  overflow: hidden;
  padding-top: var(--section-space);
  background: var(--red);
  color: var(--white);
}

.outro__title {
  font-size: var(--fs-md);
  font-weight: 600;
}

.outro__lead {
  margin-top: 12px;
  font-size: var(--fs-xl);
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: -0.03em;
  max-width: 16em;
}

.outro__wordmark {
  width: calc(100% - var(--gutter) * 2);
  max-width: calc(1280px - 112px);
  margin: clamp(48px, 8vw, 112px) auto 0;
  color: var(--white);
  transform: translateY(18%);
}

/* =========================================================
   9. 문의
   ========================================================= */
.contact__grid {
  display: grid;
  gap: 48px;
}

.contact__title { max-width: none; }
.contact__title-q {
  display: block;
  font-size: var(--fs-lg);
  font-weight: 600;
  color: var(--steel);
  letter-spacing: -0.02em;
}
.contact__title-main {
  display: block;
  margin-top: 8px;
  font-size: var(--fs-2xl);
  font-weight: 800;
  letter-spacing: -0.04em;
}

.contact__desc {
  margin-top: 20px;
  color: var(--steel);
  font-size: var(--fs-md);
}

@media (min-width: 960px) {
  .contact__grid {
    grid-template-columns: 5fr 7fr;
    gap: 64px;
    align-items: start;
  }
  .contact__intro { position: sticky; top: 120px; }
}

/* ---------- 제안 요청 폼 ---------- */
.form {
  display: grid;
  gap: 20px;
  padding: clamp(24px, 4vw, 40px);
  border-radius: var(--radius);
  background: var(--white);
}
.form__row {
  display: grid;
  gap: 20px;
}
@media (min-width: 640px) {
  .form__row { grid-template-columns: 1fr 1fr; }
}
.form__field {
  display: grid;
  gap: 8px;
}
.form__field label {
  font-size: var(--fs-sm);
  font-weight: 600;
}
.form__field input,
.form__field select,
.form__field textarea {
  width: 100%;
  min-height: 52px;
  padding: 12px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  color: var(--ink);
  font: inherit;
}
.form__field textarea { resize: vertical; }
.form__field input:focus,
.form__field select:focus,
.form__field textarea:focus {
  outline: none;
  border-color: var(--ink);
  background: var(--white);
}
.form__field label em { color: var(--red); font-style: normal; }
.form__group { border: 0; padding: 0; margin: 0; min-width: 0; }
.form__group legend {
  padding: 0;
  margin-bottom: 8px;
  font-size: var(--fs-sm);
  font-weight: 600;
}
.form__field select {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 40px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%2316181A' stroke-width='1.6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
}
.form__field input[type="date"] { -webkit-appearance: none; appearance: none; }
.form__unit { position: relative; }
.form__unit input { padding-right: 48px; }
.form__unit span {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--steel);
  pointer-events: none;
}
.form__field .is-invalid,
.form__field input.is-invalid { border-color: var(--red); }
.form__agree {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: var(--fs-sm);
  line-height: 1.5;
  cursor: pointer;
}
.form__agree input {
  flex: none;
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: var(--red);
}
.form__agree small { display: block; color: var(--steel); }
.form__agree.is-invalid span { color: var(--red); }
.form__submit { justify-self: stretch; min-height: 56px; }
@media (min-width: 640px) { .form__submit { justify-self: start; min-width: 200px; } }
.form__submit[disabled] { opacity: .6; cursor: wait; }
.form__status { min-height: 1.5em; font-size: var(--fs-sm); font-weight: 600; }
.form__status.is-ok { color: #1F7A3A; }
.form__status.is-error { color: var(--red); }

/* =========================================================
   하단
   ========================================================= */
.site-footer {
  padding-block: 40px;
  border-top: 1px solid var(--line);
}
.site-footer__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.site-footer__inner img { width: 96px; height: auto; }
.site-footer__info {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 20px;
  font-size: var(--fs-sm);
  color: var(--steel);
}
.site-footer__info span:first-child {
  font-weight: 700;
  color: var(--ink);
}
.site-footer__info a { text-decoration: none; }
.site-footer__info a:hover { text-decoration: underline; }

/* ---------- 움직임 줄이기 ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    transition-duration: 0s !important;
    transition-delay: 0s !important;
    animation-duration: 0s !important;
    animation-delay: 0s !important;
  }
}

/* 정기 관리 패널 — PC에서 영상 영역 등장 효과 */
@media (min-width: 1024px) {
  .care-panel__media {
    aspect-ratio: auto;
    height: 100%;
    opacity: 0;
    transform: translateY(16px);
    transition: opacity .3s, transform .3s;
  }
  .always-panel.is-open .care-panel__media,
  .care-panel.is-open .care-panel__media {
    opacity: 1;
    transform: none;
    transition: opacity .5s .3s, transform .5s .3s;
  }
}
@media (prefers-reduced-motion: reduce) {
  .care-panel__media { transition: none !important; }
}

/* 운영 리포트 패널 — 세로로 긴 리포트 이미지를 위→아래로 천천히 훑음 */
.report-panel__media {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: 6px;
  overflow: hidden;
  background: #2F3542;
}
.report-panel__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 0%;
}
.report-panel.is-open .report-panel__media img {
  animation: report-pan 14s ease-in-out 1s infinite alternate;
}
@keyframes report-pan {
  from { object-position: 50% 0%; }
  to   { object-position: 50% 100%; }
}
.report-panel__list strong { min-width: 5em; }

@media (min-width: 1024px) {
  .report-panel,
  .report-panel[hidden] {
    clip-path: inset(120px 0 0 calc(75% + 9px) round var(--radius));
  }
  .report-panel.is-open { clip-path: inset(0 0 0 0 round var(--radius)); }
  .report-panel__inner { grid-template-columns: 1.3fr 1fr; }
  .report-panel__media {
    aspect-ratio: auto;
    height: 100%;
    opacity: 0;
    transform: translateY(16px);
    transition: opacity .3s, transform .3s;
  }
  .report-panel.is-open .report-panel__media {
    opacity: 1;
    transform: none;
    transition: opacity .5s .3s, transform .5s .3s;
  }
}
@media (prefers-reduced-motion: reduce) {
  .report-panel__media { transition: none !important; }
  .report-panel.is-open .report-panel__media img { animation: none; }
}

/* 조명 사인 — 평소엔 어둡게, 마우스를 올리면 불이 켜지듯 환해짐 */
.sign-light__base {
  filter: brightness(.5) saturate(.7);
  transition: filter .5s ease;
}
.sign-light__glow {
  filter: blur(14px) brightness(1.6);
  mix-blend-mode: screen;
  opacity: 0;
  transition: opacity .6s ease;
}
.sign-light.is-lit .sign-light__base { filter: brightness(1.12) saturate(1.05); }
.sign-light.is-lit .sign-light__glow  { opacity: .75; }
.sign-light.is-lit .sign-light__base  { animation: sign-flicker .5s steps(1, end); }
@keyframes sign-flicker {
  0%   { filter: brightness(1.1); }
  15%  { filter: brightness(.55); }
  30%  { filter: brightness(1.15); }
  45%  { filter: brightness(.7); }
  60%  { filter: brightness(1.12) saturate(1.05); }
}
@media (hover: hover) and (pointer: fine) {
  .sign-light { cursor: pointer; }
}
@media (prefers-reduced-motion: reduce) {
  .sign-light.is-lit .sign-light__base { animation: none; }
  .sign-light__base, .sign-light__glow { transition: none; }
}

/* 공간 맞춤 설계 — 독립 섹션으로 분리되어 위쪽 간격·구분선은 섹션 여백으로 대신함 */
.solution--plan .plan {
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
}

/* 상시 케어 패널 — 고장·민원 대응 흐름 그래픽 */
.care-flow-media {
  aspect-ratio: auto;
  display: grid;
  align-items: center;
  padding: clamp(24px, 3vw, 40px) clamp(20px, 3vw, 44px);
  background:
    radial-gradient(120% 80% at 0% 0%, rgba(232, 56, 30, .10), transparent 60%),
    #15181B;
}
.care-flow {
  position: relative;
  display: grid;
  gap: clamp(14px, 2vh, 22px);
  margin: 0;
  padding: 0;
  list-style: none;
}
/* 아이콘을 잇는 세로 점선 */
.care-flow::before {
  content: "";
  position: absolute;
  left: 23px;
  top: 24px;
  bottom: 24px;
  border-left: 2px dashed rgba(255, 255, 255, .18);
  transform-origin: top;
}
.care-flow__step {
  position: relative;
  display: grid;
  grid-template-columns: 48px 1fr;
  align-items: center;
  gap: 16px;
}
.care-flow__icon {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, .28);
  background: #15181B;
  color: var(--white);
}
.care-flow__icon svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.care-flow__body { display: grid; gap: 2px; }
.care-flow__no {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
  color: var(--red);
}
.care-flow__title {
  font-size: var(--fs-md);
  font-weight: 700;
  color: var(--white);
}
.care-flow__desc {
  font-size: var(--fs-sm);
  color: var(--night-text);
  line-height: 1.45;
}

/* 패널이 열리면: 점선이 위에서 아래로 그려지고, 단계가 차례로 나타난 뒤
   빨간 강조가 1→4단계를 반복해서 지나감 */
.always-panel .care-flow::before { transform: scaleY(0); }
.always-panel .care-flow__step { opacity: 0; transform: translateY(10px); }
.always-panel.is-open .care-flow::before {
  transform: scaleY(1);
  transition: transform 1.2s .4s ease-out;
}
.always-panel.is-open .care-flow__step {
  opacity: 1;
  transform: none;
  transition: opacity .45s, transform .45s;
  transition-delay: calc(.45s + var(--i) * .3s);
}
.always-panel.is-open .care-flow__icon {
  animation: care-flow-glow 4s calc(1.8s + var(--i) * 1s) infinite;
}
@keyframes care-flow-glow {
  0%, 30%, 100% { border-color: rgba(255, 255, 255, .28); color: var(--white); background: #15181B; box-shadow: none; }
  6%, 22%      { border-color: var(--red); color: var(--white); background: var(--red); box-shadow: 0 0 0 6px rgba(232, 56, 30, .18); }
}
@media (prefers-reduced-motion: reduce) {
  .always-panel .care-flow::before,
  .always-panel .care-flow__step { transform: none; opacity: 1; transition: none !important; }
  .always-panel.is-open .care-flow__icon { animation: none; }
}
