/* =================================================================
   수일홈케어 복지센타 — Design System
   고대비 · 큰 글씨 · 따뜻한 톤 (어르신/보호자 친화 UX)
   ================================================================= */

/* ---- Fonts: Pretendard ---- */
@import url("https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/dist/web/static/pretendard.css");

/* ---- Design Tokens ---- */
:root {
  /* Brand palette — LTC 배지 기반: 로열 네이비 + 웜 골드 + 그린
     (토큰 이름은 호환을 위해 유지) */
  --teal-900: #111a3e;
  --teal-800: #1a2557;
  --teal-700: #243c90;   /* primary — 배지의 로열 블루 */
  --teal-600: #2f50b3;
  --teal-500: #4067d4;
  --teal-100: #dce3f6;
  --teal-50:  #eef2fc;

  --amber-700: #b5631b;
  --amber-600: #d8761f;   /* accent — 배지의 골드 오렌지 */
  --amber-500: #ee8c2c;
  --amber-100: #f9e4cd;

  --coral: #5e9d2f;       /* tertiary — 배지의 그린 */
  --green-600: #4f8f27;   /* 액션 버튼용 — 배지 그린(흰 글씨 가독성 확보) */
  --green-700: #437a20;

  /* Neutrals (cool, refined) */
  --ink:      #1a2138;
  --ink-soft: #434c66;
  --muted:    #6b7488;
  --line:     #e1e6f1;
  --cream:    #f4f6fc;
  --cream-2:  #eaeef8;
  --surface:  #ffffff;
  --white:    #ffffff;

  /* Semantic */
  --primary: var(--teal-700);
  --primary-dark: var(--teal-800);
  --accent: var(--amber-600);
  --bg: var(--cream);

  /* Typography scale (대형, 어르신 가독성) */
  --fs-base: 1.125rem;   /* 18px */
  --fs-sm: 1rem;
  --fs-lg: 1.25rem;
  --fs-xl: 1.5rem;
  --fs-2xl: 2rem;
  --fs-3xl: 2.6rem;
  --fs-hero: clamp(2.4rem, 5vw, 4rem);

  /* Radius & shadow */
  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 24px;
  --r-xl: 32px;
  --shadow-sm: 0 2px 10px rgba(18, 28, 78, 0.07);
  --shadow-md: 0 12px 32px rgba(18, 28, 78, 0.12);
  --shadow-lg: 0 26px 64px rgba(18, 28, 78, 0.18);

  --container: 1340px;
  --header-h: 84px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { font-size: 87.5%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 20px); -webkit-text-size-adjust: 100%; }
body {
  font-family: "Pretendard", system-ui, -apple-system, "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  font-size: var(--fs-base);
  line-height: 1.75;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  word-break: keep-all;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
ul { list-style: none; padding: 0; }
h1, h2, h3, h4 { line-height: 1.32; font-weight: 700; letter-spacing: -0.025em; color: var(--ink); }
strong { font-weight: 700; }

/* ---- Layout helpers ---- */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.section { padding: clamp(76px, 10vw, 144px) 0; }
.section--tint { background: var(--surface); }
.section--cream { background: var(--cream-2); }
.center { text-align: center; }
.stack > * + * { margin-top: 1rem; }

/* ---- Skip link (a11y) ---- */
.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 1000;
  background: var(--primary); color: #fff; padding: 14px 22px; border-radius: 0 0 12px 0; font-weight: 700;
}
.skip-link:focus { left: 0; }

/* Accessible focus */
:focus-visible { outline: 3px solid var(--amber-500); outline-offset: 3px; border-radius: 6px; }

/* ---- Eyebrow / section heads ---- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  color: var(--accent); font-weight: 800; font-size: 1.25rem;
  letter-spacing: 0.04em; text-transform: none; white-space: nowrap;
  background: transparent; padding: 0; border-radius: 0;
}
.eyebrow svg { width: 20px; height: 20px; flex-shrink: 0; }
.section-head { max-width: 760px; margin: 0 auto clamp(40px, 5vw, 60px); text-align: center; }
.section-head .eyebrow { margin-bottom: 18px; }
.section-head h2 { font-size: clamp(2.6rem, 4.6vw, 3.6rem); margin-bottom: 16px; }
.section-head p { font-size: var(--fs-xl); color: var(--ink-soft); }
.section-head--left { margin-left: 0; text-align: left; }

/* ---- Buttons ---- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-weight: 800; font-size: var(--fs-base); line-height: 1;
  padding: 18px 30px; border-radius: 999px;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.25s;
  white-space: nowrap;
}
.btn svg { width: 22px; height: 22px; }
.btn--primary { background: var(--green-600); color: #fff; box-shadow: var(--shadow-sm); }
.btn--primary:hover { background: var(--green-700); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn--teal { background: var(--primary); color: #fff; box-shadow: var(--shadow-sm); }
.btn--teal:hover { background: var(--primary-dark); transform: translateY(-2px); }
.btn--ghost { background: rgba(255,255,255,0.14); color: #fff; box-shadow: inset 0 0 0 2px rgba(255,255,255,0.55); }
.btn--ghost:hover { background: rgba(255,255,255,0.24); transform: translateY(-3px); }
.btn--sky { background: #3a83c9; color: #fff; box-shadow: var(--shadow-sm); }
.btn--sky:hover { background: #2f6fb0; transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn--outline { background: #fff; color: var(--primary); box-shadow: inset 0 0 0 2px var(--teal-100); }
.btn--outline:hover { background: var(--teal-50); transform: translateY(-3px); }
.btn--lg { padding: 20px 36px; font-size: var(--fs-lg); }
.btn--block { width: 100%; }

/* =================================================================
   Header
   ================================================================= */
.site-header {
  position: sticky; top: 0; z-index: 100;
  height: var(--header-h);
  background: rgba(248, 246, 240, 0.82);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s, box-shadow 0.3s, background 0.3s;
}
.site-header.scrolled { border-color: var(--line); box-shadow: var(--shadow-sm); background: rgba(255,255,255,0.92); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 100%; gap: 24px; }

.brand { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.brand__logo { width: auto; height: 44px; display: block; }
.brand__logo--footer { height: 52px; background: #fff; padding: 6px 8px; border-radius: 10px; }
.brand__text { display: flex; flex-direction: column; line-height: 1.15; }
.brand__name { font-size: 1.32rem; font-weight: 900; letter-spacing: -0.03em; color: var(--teal-800); }
.brand__tag { font-size: 0.8rem; color: var(--muted); font-weight: 600; letter-spacing: 0.04em; }

/* Nav */
.nav { display: flex; align-items: center; gap: 4px; }
.nav__item { position: relative; }
.nav__link {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 12px 16px; border-radius: 12px;
  font-weight: 700; font-size: 1.05rem; color: var(--ink-soft);
  transition: color 0.2s, background 0.2s;
}
.nav__link:hover, .nav__item:hover .nav__link, .nav__link[aria-current="page"] { color: var(--teal-800); background: var(--teal-50); }
.nav__link .caret { width: 14px; height: 14px; transition: transform 0.25s; }
.nav__item:hover .caret { transform: rotate(180deg); }

.nav__menu {
  position: absolute; top: calc(100% + 10px); left: 50%; transform: translateX(-50%) translateY(8px);
  min-width: 250px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-md);
  box-shadow: var(--shadow-lg); padding: 10px; opacity: 0; visibility: hidden;
  transition: opacity 0.22s var(--ease), transform 0.22s var(--ease);
}
.nav__item--has-menu:hover .nav__menu, .nav__menu:focus-within { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.nav__menu a {
  display: flex; flex-direction: column; gap: 2px; padding: 12px 16px; border-radius: 10px;
  font-weight: 700; color: var(--ink); transition: background 0.18s;
}
.nav__menu a span { font-size: 0.86rem; font-weight: 500; color: var(--muted); }
.nav__menu a:hover { background: var(--teal-50); color: var(--teal-800); }

.header-cta { display: flex; align-items: center; gap: 14px; flex-shrink: 0; }
.header-phone { display: flex; flex-direction: column; align-items: flex-end; line-height: 1.2; }
.header-phone__label { font-size: 0.78rem; color: var(--muted); font-weight: 600; }
.header-phone__num { font-size: 1.3rem; font-weight: 900; color: var(--teal-800); letter-spacing: -0.01em; }
.header-call-btn { display: none; }

/* Hamburger */
.nav-toggle { display: none; width: 48px; height: 48px; border-radius: 12px; align-items: center; justify-content: center; }
.nav-toggle span { display: block; width: 24px; height: 2.5px; background: var(--ink); border-radius: 2px; transition: transform 0.3s, opacity 0.2s; position: relative; }
.nav-toggle span + span { margin-top: 6px; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(8.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8.5px) rotate(-45deg); }

/* =================================================================
   Hero
   ================================================================= */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(1100px 560px at 78% -8%, var(--teal-100) 0%, transparent 60%),
    radial-gradient(800px 500px at -5% 110%, var(--amber-100) 0%, transparent 55%),
    var(--cream);
  padding: clamp(56px, 8vw, 104px) 0 clamp(70px, 9vw, 120px);
}
.hero__grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 60px; align-items: center; }
.hero__badge {
  display: inline-flex; align-items: center; gap: 9px; margin-bottom: 26px;
  background: #fff; border: 1px solid var(--teal-100); box-shadow: var(--shadow-sm);
  padding: 9px 18px 9px 12px; border-radius: 999px; font-weight: 700; font-size: 0.98rem; color: var(--teal-800);
}
.hero__badge .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--teal-500); box-shadow: 0 0 0 4px var(--teal-100); }
.hero h1 { font-size: var(--fs-hero); line-height: 1.16; letter-spacing: -0.035em; margin-bottom: 24px; }
.hero h1 .hl { color: var(--teal-700); position: relative; white-space: nowrap; }
.hero h1 .hl::after {
  content: ""; position: absolute; left: -2px; right: -2px; bottom: 6px; height: 14px;
  background: var(--amber-100); z-index: -1; border-radius: 4px;
}
.hero__lead { font-size: var(--fs-xl); color: var(--ink-soft); margin-bottom: 38px; max-width: 540px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 38px; }
.hero__trust { display: flex; flex-wrap: wrap; gap: 12px 26px; }
.hero__trust li { display: flex; align-items: center; gap: 9px; font-weight: 700; color: var(--ink-soft); font-size: 1rem; }
.hero__trust svg { width: 22px; height: 22px; color: var(--teal-600); flex-shrink: 0; }

/* hero 우측 번호 서비스 리스트 (일러스트 대체) */
.hero-list { border-top: 1px solid var(--line); }
.hero-list li { display: flex; gap: 20px; padding: 24px 6px; border-bottom: 1px solid var(--line); align-items: flex-start; }
.hero-list__n { font-weight: 800; font-size: 1.55rem; color: var(--accent); min-width: 40px; padding-top: 1px; letter-spacing: 0.02em; }
.hero-list__b b { display: block; font-size: 1.6rem; font-weight: 700; color: var(--ink); margin-bottom: 7px; letter-spacing: -0.01em; }
.hero-list__b span { color: var(--muted); font-size: 1.14rem; line-height: 1.7; }

/* Hero visual card */
.hero__visual { position: relative; }
.hero__card {
  position: relative; z-index: 2; background: linear-gradient(160deg, #fff, var(--teal-50));
  border-radius: var(--r-xl); box-shadow: var(--shadow-lg); padding: 38px;
  border: 1px solid rgba(255,255,255,0.7);
}
.hero__illus { width: 100%; height: auto; border-radius: var(--r-lg); }
.hero__floating {
  position: absolute; z-index: 3; background: #fff; border-radius: var(--r-md);
  box-shadow: var(--shadow-md); padding: 16px 20px; display: flex; align-items: center; gap: 14px;
}
.hero__floating .fi { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; flex-shrink: 0; }
.hero__floating .ft { line-height: 1.3; }
.hero__floating .ft b { display: block; font-size: 1.5rem; font-weight: 900; color: var(--teal-800); }
.hero__floating .ft span { font-size: 0.9rem; color: var(--muted); font-weight: 600; }
.hero__floating--1 { top: 24px; left: -26px; }
.hero__floating--2 { bottom: 28px; right: -22px; }
.hero__blob { display: none; }

/* =================================================================
   Trust strip
   ================================================================= */
.trust-strip { background: var(--teal-800); color: #fff; }
.trust-strip__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; padding: 44px 0; }
.trust-stat { text-align: center; }
.trust-stat b { display: flex; align-items: baseline; justify-content: center; gap: 2px; font-size: 3.5rem; font-weight: 900; letter-spacing: -0.01em; color: #fff; line-height: 1.05; margin-bottom: 10px; }
.trust-stat b .unit { font-size: 1.85rem; font-weight: 700; }
.trust-stat b .ratio-x { align-self: center; position: relative; display: inline-block; width: 0.42em; height: 1em; color: transparent; }
.trust-stat b .ratio-x::before, .trust-stat b .ratio-x::after { content: ""; position: absolute; left: 50%; transform: translateX(-50%); width: 0.14em; height: 0.14em; border-radius: 50%; background: #fff; }
.trust-stat b .ratio-x::before { top: 0.30em; }
.trust-stat b .ratio-x::after { top: 0.56em; }
.trust-stat > span { display: block; font-size: 1.2rem; color: var(--teal-100); font-weight: 600; }
.trust-stat + .trust-stat { border-left: 1px solid rgba(255,255,255,0.16); }

/* =================================================================
   Cards / Services
   ================================================================= */
.grid { display: grid; gap: 26px; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 38px 36px; transition: transform 0.3s var(--ease), box-shadow 0.3s, border-color 0.3s;
  height: 100%;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--teal-100); }
.card__icon { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 24px; }
.card__icon svg { width: 27px; height: 27px; }
.icon-teal, .icon-amber, .icon-coral { background: var(--teal-50); color: var(--teal-700); }
.card h3 { font-size: var(--fs-xl); margin-bottom: 12px; }
.card p { color: var(--ink-soft); font-size: 1.05rem; }
.card__list { margin-top: 18px; }
.card__list li { position: relative; padding-left: 28px; margin-bottom: 9px; color: var(--ink-soft); }
.card__list li::before {
  content: ""; position: absolute; left: 4px; top: 11px; width: 7px; height: 7px;
  background: var(--teal-500); border-radius: 50%;
}
.card--link { display: flex; flex-direction: column; }
.card__more { margin-top: auto; padding-top: 18px; color: var(--primary); font-weight: 800; display: inline-flex; align-items: center; gap: 7px; }
.card__more svg { width: 18px; height: 18px; transition: transform 0.25s; }
.card:hover .card__more svg { transform: translateX(4px); }

/* Feature row (image + text alternating) */
.feature { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 80px); align-items: center; }
.feature + .feature { margin-top: clamp(60px, 8vw, 110px); }
.feature--reverse .feature__media { order: 2; }
.feature__media { position: relative; }
.feature__panel { border-radius: var(--r-xl); overflow: hidden; box-shadow: var(--shadow-md); background: var(--teal-50); }
.feature h2 { font-size: var(--fs-2xl); margin-bottom: 18px; }
.feature p { font-size: var(--fs-lg); color: var(--ink-soft); }
.feature .check-list { margin-top: 24px; }
/* 도서 페이지 설명 글자 확대 */
.feature--lead .feature__body h2 { font-size: clamp(2.2rem, 3.8vw, 2.9rem); }
.feature--lead .feature__body p { font-size: 1.4rem; line-height: 1.85; }
/* 발간 도서 등 라벨과 본문 사이 줄 간격 */
.feature--lead .feature__body .eyebrow { margin-bottom: 20px; }
/* 인물 사진 섹션 — 사진 칼럼을 더 넓게 */
.feature--photorow { grid-template-columns: 1.35fr 1fr; }

/* 도서/인물 사진 figure */
figure.feature__media { margin: 0; }
.feature__media figcaption { margin-top: 14px; text-align: center; font-size: 0.95rem; color: var(--muted); line-height: 1.5; }
.book-figure .feature__panel { display: flex; justify-content: center; align-items: center; padding: 56px 40px; background: radial-gradient(480px 440px at 50% 40%, rgba(238,140,44,0.20), transparent 70%), linear-gradient(155deg, var(--teal-700), var(--teal-900)); perspective: 1400px; }
.book-figure .feature__panel img { width: auto; max-width: 400px; height: auto; border-radius: 3px 9px 9px 3px; box-shadow: 0 30px 56px rgba(0,0,0,0.48), -3px 0 7px rgba(0,0,0,0.18); transform: rotateY(-14deg) rotateX(3deg); transition: transform .45s var(--ease); }
.book-figure .feature__panel img:hover { transform: rotateY(-4deg) rotateX(0); }
.feature__panel--photo { padding: 30px; background: radial-gradient(520px 460px at 50% 38%, rgba(238,140,44,0.14), transparent 70%), linear-gradient(155deg, var(--teal-800), var(--teal-900)); display: flex; align-items: center; justify-content: center; }
.feature__panel--photo img { width: 100%; max-width: 100%; height: auto; display: block; border: 10px solid #f5f2ea; border-radius: 2px; box-shadow: 0 26px 54px rgba(0,0,0,0.5); transition: transform .4s var(--ease); }
.photo-figure:hover .feature__panel--photo img { transform: translateY(-5px); }

/* Credential / trust card (사람 일러스트 대체 — 신뢰 중심) */
.cred-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-xl); box-shadow: var(--shadow-lg); overflow: hidden; }
.cred-card__top { display: flex; align-items: center; gap: 18px; padding: 30px 32px; background: linear-gradient(140deg, var(--teal-700), var(--teal-900)); color: #fff; }
.cred-card__seal { width: 56px; height: 56px; border-radius: 16px; background: rgba(255,255,255,0.13); display: grid; place-items: center; flex-shrink: 0; box-shadow: inset 0 0 0 1px rgba(255,255,255,0.28); }
.cred-card__seal svg { width: 30px; height: 30px; color: #fff; }
.cred-card__heading span { display: block; font-size: 0.96rem; color: var(--teal-100); font-weight: 700; letter-spacing: 0.03em; }
.cred-card__heading strong { display: block; font-size: 1.5rem; font-weight: 900; letter-spacing: -0.02em; color: #fff; margin-top: 3px; }
.cred-card__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); }
.cred-stat { background: #fff; padding: 26px 28px; }
.cred-stat b { display: flex; align-items: baseline; font-size: 1.95rem; font-weight: 900; color: var(--teal-700); letter-spacing: -0.02em; line-height: 1.05; }
.cred-stat b i { font-style: normal; font-size: 1.15rem; margin-left: 2px; color: var(--accent); }
.cred-stat span { display: block; margin-top: 9px; font-size: 1rem; color: var(--muted); font-weight: 600; }
.cred-card__cta { display: flex; align-items: center; justify-content: center; gap: 10px; padding: 21px; background: var(--teal-800); color: #fff; font-weight: 800; font-size: var(--fs-lg); transition: background 0.25s; }
.cred-card__cta svg { width: 22px; height: 22px; color: var(--amber-500); }
.cred-card__cta:hover { background: var(--teal-900); }

/* Check list */
.check-list li { position: relative; padding-left: 38px; margin-bottom: 14px; font-size: 1.1rem; color: var(--ink-soft); font-weight: 500; }
.check-list li strong { color: var(--ink); }
.check-list li::before {
  content: ""; position: absolute; left: 0; top: 2px; width: 26px; height: 26px; border-radius: 50%;
  background: var(--teal-600) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center / 16px no-repeat;
}

/* =================================================================
   Timeline / Process steps
   ================================================================= */
.steps { counter-reset: step; display: grid; gap: 22px; }
.step {
  display: grid; grid-template-columns: 64px 1fr; gap: 22px; align-items: start;
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 28px 30px;
  position: relative; transition: box-shadow 0.3s, border-color 0.3s;
}
.step:hover { box-shadow: var(--shadow-sm); border-color: var(--teal-100); }
.step__num {
  counter-increment: step; width: 64px; height: 64px; border-radius: 18px;
  background: linear-gradient(150deg, var(--teal-600), var(--teal-800)); color: #fff;
  display: grid; place-items: center; font-size: 1.7rem; font-weight: 900;
}
.step__num::before { content: counter(step); }
.step h3 { font-size: var(--fs-lg); margin-bottom: 8px; }
.step p { color: var(--ink-soft); }
.step__body ul { margin-top: 10px; }
.step__body ul li { position: relative; padding-left: 22px; margin-bottom: 6px; color: var(--ink-soft); }
.step__body ul li::before { content: ""; position: absolute; left: 4px; top: 12px; width: 6px; height: 6px; border-radius: 50%; background: var(--amber-500); }

/* Vertical connector variant */
.timeline { position: relative; padding-left: 8px; }

/* =================================================================
   Accordion (FAQ / 요양보호사)
   ================================================================= */
.accordion { display: grid; gap: 16px; }
.acc-item { background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; transition: box-shadow 0.3s, border-color 0.3s; }
.acc-item.open { box-shadow: var(--shadow-md); border-color: var(--teal-100); }
.acc-head {
  width: 100%; display: flex; align-items: center; gap: 18px; text-align: left;
  padding: 26px 28px; font-size: var(--fs-lg); font-weight: 800; color: var(--ink);
}
.acc-head .q { width: 40px; height: 40px; border-radius: 12px; background: var(--teal-50); color: var(--teal-700); display: grid; place-items: center; font-weight: 900; flex-shrink: 0; font-size: 1.2rem; }
.acc-head .acc-title { flex: 1; }
.acc-head .chev { width: 26px; height: 26px; color: var(--muted); transition: transform 0.3s var(--ease); flex-shrink: 0; }
.acc-item.open .chev { transform: rotate(180deg); color: var(--teal-700); }
.acc-body { max-height: 0; overflow: hidden; transition: max-height 0.4s var(--ease); }
.acc-body__inner { padding: 0 28px 28px 86px; color: var(--ink-soft); font-size: 1.08rem; }
.acc-body__inner > * + * { margin-top: 14px; }
.acc-body__inner h4 { color: var(--ink); font-size: 1.1rem; margin-top: 18px; }
.acc-body__inner ul li { position: relative; padding-left: 22px; margin-bottom: 7px; }
.acc-body__inner ul li::before { content: ""; position: absolute; left: 3px; top: 12px; width: 7px; height: 7px; border-radius: 50%; background: var(--teal-500); }

/* =================================================================
   Info / callout boxes
   ================================================================= */
.callout {
  border-radius: var(--r-md); padding: 24px 28px; display: flex; gap: 18px; align-items: flex-start;
  font-size: 1.05rem;
}
.callout svg { width: 28px; height: 28px; flex-shrink: 0; margin-top: 2px; }
.callout--info { background: var(--teal-50); border: 1px solid var(--teal-100); color: var(--teal-900); }
.callout--info svg { color: var(--teal-600); }
.callout--warn { background: #fff6ec; border: 1px solid var(--amber-100); color: #7a4a14; }
.callout--warn svg { color: var(--amber-600); }
.callout b { font-weight: 800; }

/* Definition / spec list */
.deflist { display: grid; gap: 0; border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; background: #fff; }
.deflist__row { display: grid; grid-template-columns: 220px 1fr; gap: 0; border-bottom: 1px solid var(--line); }
.deflist__row:last-child { border-bottom: none; }
.deflist__row dt { background: var(--cream-2); padding: 20px 24px; font-weight: 800; color: var(--teal-800); }
.deflist__row dd { padding: 20px 24px; color: var(--ink-soft); }

/* Grade table */
.grade-table { display: grid; gap: 14px; }
.grade {
  display: grid; grid-template-columns: 120px 1fr auto; gap: 20px; align-items: center;
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); padding: 22px 26px;
  transition: border-color 0.3s, box-shadow 0.3s;
}
.grade:hover { border-color: var(--teal-100); box-shadow: var(--shadow-sm); }
.grade__badge { font-weight: 900; font-size: 1.15rem; color: #fff; padding: 10px 14px; border-radius: 12px; text-align: center; background: linear-gradient(140deg, var(--teal-600), var(--teal-800)); }
.grade__badge--soft { background: linear-gradient(140deg, var(--amber-500), var(--amber-700)); }
.grade__desc { color: var(--ink-soft); }
.grade__score { font-weight: 800; color: var(--teal-800); white-space: nowrap; background: var(--teal-50); padding: 8px 16px; border-radius: 999px; font-size: 0.98rem; }

/* Prose (article content) */
.prose { font-size: 1.1rem; color: var(--ink-soft); }
.prose > * + * { margin-top: 18px; }
.prose h3 { font-size: var(--fs-xl); color: var(--ink); margin-top: 16px; }
.prose h4 { font-size: 1.15rem; color: var(--teal-800); margin-top: 10px; }
.prose ul li, .prose ol li { position: relative; padding-left: 26px; margin-bottom: 9px; }
.prose ul li::before { content: ""; position: absolute; left: 5px; top: 12px; width: 7px; height: 7px; border-radius: 50%; background: var(--teal-500); }
.prose ol { counter-reset: li; list-style: none; }
.prose ol li { counter-increment: li; }
.prose ol li::before { content: counter(li); position: absolute; left: 0; top: 1px; width: 22px; height: 22px; font-size: 0.8rem; font-weight: 800; color: #fff; background: var(--teal-600); border-radius: 50%; display: grid; place-items: center; }

/* =================================================================
   Page hero (subpages) + breadcrumb
   ================================================================= */
.page-hero {
  background:
    radial-gradient(700px 360px at 88% -20%, var(--teal-100) 0%, transparent 62%),
    var(--cream);
  padding: clamp(40px, 6vw, 70px) 0 clamp(44px, 6vw, 64px);
  border-bottom: 1px solid var(--line);
}
.breadcrumb { display: flex; align-items: center; gap: 8px; font-size: 0.95rem; color: var(--muted); font-weight: 600; margin-bottom: 18px; flex-wrap: wrap; }
.breadcrumb a:hover { color: var(--teal-700); }
.breadcrumb svg { width: 15px; height: 15px; }
.breadcrumb .current { color: var(--teal-800); }
.page-hero h1 { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 14px; }
.page-hero p { font-size: var(--fs-lg); color: var(--ink-soft); max-width: 720px; }

/* 소개 도입부 — 강조 타이틀 */
.page-hero--intro {
  background:
    radial-gradient(640px 300px at 92% -10%, var(--teal-100) 0%, transparent 60%),
    linear-gradient(120deg, #eef2fc 0%, #dde5f7 100%);
  border-bottom: 1px solid var(--teal-100);
  padding-top: clamp(48px, 6vw, 80px); padding-bottom: clamp(48px, 6vw, 72px);
}
.page-hero--intro h1 { font-size: clamp(2.4rem, 4.8vw, 3.7rem); line-height: 1.32; letter-spacing: -0.035em; font-weight: 800; margin-bottom: 20px; }
.hl-accent { color: var(--primary); position: relative; white-space: nowrap; }
.hl-accent::after { content: ""; position: absolute; left: -2px; right: -2px; bottom: 4px; height: 14px; background: var(--amber-100); z-index: -1; border-radius: 4px; }

/* Sub-section title within content pages */
.block { margin-bottom: clamp(48px, 6vw, 72px); }
.block:last-child { margin-bottom: 0; }
.block__title { display: flex; align-items: center; gap: 14px; font-size: var(--fs-2xl); margin-bottom: 26px; }
.block__title .n { width: 46px; height: 46px; border-radius: 13px; background: var(--teal-700); color: #fff; display: grid; place-items: center; font-size: 1.3rem; font-weight: 900; flex-shrink: 0; }

/* =================================================================
   News cards
   ================================================================= */
.news-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; transition: transform 0.3s var(--ease), box-shadow 0.3s, border-color 0.3s; height: 100%; }
.news-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: var(--teal-100); }
.news-card__media { aspect-ratio: 16 / 7; display: grid; place-items: center; position: relative; overflow: hidden; background: linear-gradient(150deg, var(--teal-700), var(--teal-900)); }
.news-card__media::before { content: ""; position: absolute; width: 300px; height: 300px; border-radius: 50%; background: radial-gradient(circle, rgba(238,140,44,0.22), transparent 68%); }
.media-teal, .media-amber { background: linear-gradient(150deg, var(--teal-700), var(--teal-900)); }
.news-card__media svg { position: relative; width: 88px; height: 88px; padding: 24px; border-radius: 50%; color: var(--amber-500); background: rgba(255,255,255,0.06); box-shadow: inset 0 0 0 2px rgba(238,140,44,0.6), 0 10px 26px rgba(0,0,0,0.28); }
.news-card__tag { position: absolute; top: 16px; left: 16px; background: rgba(255,255,255,0.95); color: var(--teal-800); font-weight: 800; font-size: 0.85rem; padding: 6px 14px; border-radius: 999px; letter-spacing: .02em; box-shadow: 0 2px 8px rgba(0,0,0,.18); }
.news-card__body { padding: 30px; display: flex; flex-direction: column; flex: 1; }
.news-card__body h3 { font-size: var(--fs-xl); margin-bottom: 12px; }
.news-card__body p { color: var(--ink-soft); font-size: 1.02rem; flex: 1; line-height: 1.75; }
.news-card__date { margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--line); color: var(--muted); font-weight: 600; font-size: 0.95rem; display: inline-flex; align-items: center; gap: 6px; }
.news-card__date svg { width: 16px; height: 16px; }

/* =================================================================
   CTA band
   ================================================================= */
.cta-band { position: relative; overflow: hidden; background: linear-gradient(135deg, var(--teal-800), var(--teal-600)); color: #fff; }
.cta-band::after { content: ""; position: absolute; inset: auto -60px -80px auto; width: 360px; height: 360px; background: rgba(255,255,255,0.06); border-radius: 50%; }
.cta-band .container { position: relative; z-index: 1; text-align: center; padding: clamp(60px, 8vw, 96px) 24px; }
.cta-band h2 { color: #fff; font-size: var(--fs-3xl); margin-bottom: 18px; }
.cta-band p { font-size: var(--fs-xl); color: var(--teal-100); margin-bottom: 36px; }
.cta-band .hero__actions { justify-content: center; margin-bottom: 0; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 18px 22px; justify-content: center; align-items: stretch; }
.cta-callbtn { display: inline-flex; align-items: center; gap: 14px; padding: 14px 32px; border-radius: 16px; background: rgba(255,255,255,0.12); box-shadow: inset 0 0 0 2px rgba(255,255,255,0.5); color: #fff; transition: background .2s, transform .2s; }
.cta-callbtn:hover { background: rgba(255,255,255,0.22); transform: translateY(-2px); }
.cta-callbtn svg { width: 30px; height: 30px; flex-shrink: 0; }
.cta-callbtn__txt { display: flex; flex-direction: column; line-height: 1.18; text-align: left; }
.cta-callbtn small { font-size: 0.92rem; font-weight: 700; opacity: .9; }
.cta-callbtn b { font-size: 1.85rem; font-weight: 900; letter-spacing: .01em; }
.cta-actions .btn { align-self: center; }
.cta-phone { display: inline-flex; align-items: center; gap: 12px; font-size: 2rem; font-weight: 900; color: #fff; }
.cta-phone svg { width: 34px; height: 34px; }

/* =================================================================
   Location
   ================================================================= */
.map-wrap { border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-md); border: 1px solid var(--line); }
.map-wrap iframe { width: 100%; height: 460px; border: 0; display: block; }
.contact-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 34px; }
.contact-row { display: flex; gap: 18px; align-items: flex-start; padding: 20px 0; border-bottom: 1px solid var(--line); }
.contact-row:last-child { border-bottom: none; }
.contact-row .ci { width: 50px; height: 50px; border-radius: 14px; background: var(--teal-50); color: var(--teal-700); display: grid; place-items: center; flex-shrink: 0; }
.contact-row .ci svg { width: 26px; height: 26px; }
.contact-row .ct b { display: block; font-size: 0.92rem; color: var(--muted); font-weight: 700; margin-bottom: 3px; }
.contact-row .ct span, .contact-row .ct a { font-size: 1.2rem; font-weight: 700; color: var(--ink); }
.contact-row .ct a:hover { color: var(--teal-700); }

/* =================================================================
   Footer
   ================================================================= */
.site-footer { background: var(--teal-900); color: #c6cee4; padding: 70px 0 30px; }
.footer-grid { display: grid; grid-template-columns: 1.8fr 1fr; gap: 50px; padding-bottom: 44px; border-bottom: 1px solid rgba(255,255,255,0.1); }
.footer-addr { margin-top: 14px; display: inline-flex; align-items: center; gap: 8px; color: #aeb8d6; font-size: .98rem; }
.footer-addr svg { width: 18px; height: 18px; color: var(--teal-500); flex-shrink: 0; }
.footer-brand .brand__name { color: #fff; }
.footer-brand .brand__tag { color: var(--teal-100); }
.footer-brand p { margin-top: 18px; color: #a3aece; max-width: 360px; font-size: 1rem; }
.footer-col h4 { color: #fff; font-size: 1.1rem; margin-bottom: 18px; }
.footer-col li { margin-bottom: 11px; }
.footer-col a { color: #aeb8d6; font-weight: 500; transition: color 0.2s; }
.footer-col a:hover { color: #fff; }
.footer-contact li { display: flex; gap: 10px; align-items: flex-start; margin-bottom: 13px; color: #aeb8d6; }
.footer-contact svg { width: 19px; height: 19px; color: var(--teal-500); flex-shrink: 0; margin-top: 4px; }
.footer-contact a { color: #fff; font-weight: 700; }
.footer-bottom { padding-top: 26px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px; font-size: 0.92rem; color: #838fb4; }
.footer-bottom .biz { color: #88a39e; }

/* =================================================================
   Floating mobile call bar
   ================================================================= */
.floating-call {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
  display: none; gap: 12px; padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
  background: rgba(255,255,255,0.96); backdrop-filter: blur(10px); border-top: 1px solid var(--line);
  box-shadow: 0 -6px 24px rgba(20,60,56,0.10);
}
.floating-call .btn { flex: 1; padding: 16px; }

/* =================================================================
   Reveal on scroll
   ================================================================= */
/* Content is visible by default; only hidden when JS is active (html.js),
   so crawlers and no-JS visitors always see everything. */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: 0.08s; }
.reveal[data-delay="2"] { transition-delay: 0.16s; }
.reveal[data-delay="3"] { transition-delay: 0.24s; }

/* =================================================================
   Responsive
   ================================================================= */
@media (max-width: 1024px) {
  .hero__grid { grid-template-columns: 1fr; gap: 50px; }
  .hero__visual { max-width: 520px; margin: 0 auto; width: 100%; }
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .trust-strip__grid { grid-template-columns: repeat(2, 1fr); gap: 0; }
  .trust-stat { padding: 22px 0; }
  .trust-stat + .trust-stat { border-left: none; }
  .trust-stat:nth-child(2) { border-left: 1px solid rgba(255,255,255,0.16); }
  .trust-stat:nth-child(4) { border-left: 1px solid rgba(255,255,255,0.16); }
  .trust-stat:nth-child(n+3) { border-top: 1px solid rgba(255,255,255,0.16); }
  .feature { grid-template-columns: 1fr; gap: 36px; }
  .feature--reverse .feature__media { order: 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 820px) {
  :root { --header-h: 72px; }
  .nav, .header-phone { display: none; }
  .nav-toggle { display: flex; }
  .header-call-btn { display: inline-flex; padding: 12px 18px; }
  .header-call-btn .txt { display: none; }

  /* Mobile drawer */
  .nav {
    position: fixed; inset: var(--header-h) 0 0 auto; width: min(86vw, 360px);
    background: #fff; flex-direction: column; align-items: stretch; gap: 4px;
    padding: 20px; box-shadow: -10px 0 40px rgba(0,0,0,0.14); overflow-y: auto;
    transform: translateX(100%); transition: transform 0.34s var(--ease);
  }
  .nav.open { display: flex; transform: translateX(0); }
  .nav__item { width: 100%; }
  .nav__link { width: 100%; font-size: 1.15rem; padding: 16px; justify-content: space-between; }
  .nav__menu {
    position: static; transform: none; opacity: 1; visibility: visible; box-shadow: none;
    border: none; border-left: 3px solid var(--teal-100); border-radius: 0; margin: 4px 0 8px 16px;
    padding: 4px 0; min-width: 0; max-height: 0; overflow: hidden; transition: max-height 0.3s var(--ease);
  }
  .nav__item--open .nav__menu { max-height: 600px; }
  .nav__item--open .caret { transform: rotate(180deg); }

  .grid--3, .grid--4, .grid--2 { grid-template-columns: 1fr; }
  .floating-call { display: flex; }
  body { padding-bottom: 76px; }
  .deflist__row { grid-template-columns: 1fr; }
  .deflist__row dt { padding-bottom: 8px; }
  .grade { grid-template-columns: 90px 1fr; }
  .grade__score { grid-column: 2; justify-self: start; }
  .step { grid-template-columns: 52px 1fr; gap: 16px; padding: 22px; }
  .step__num { width: 52px; height: 52px; font-size: 1.4rem; }
  .acc-head { padding: 20px; font-size: 1.15rem; gap: 12px; }
  .acc-body__inner { padding: 0 20px 24px 20px; }
  .hero__floating--1 { left: 0; }
  .hero__floating--2 { right: 0; }
  .cta-phone { font-size: 1.7rem; }
}

@media (max-width: 480px) {
  .container { padding: 0 18px; }
  .brand__tag { display: none; }
  .hero__floating { padding: 12px 14px; }
  .hero__floating .ft b { font-size: 1.2rem; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}

/* Print */
@media print {
  .site-header, .floating-call, .cta-band, .nav-toggle { display: none; }
  body { background: #fff; }
}

/* =================================================================
   Sidebar layout (좌측 고정 메뉴) — 전 페이지 적용
   ================================================================= */
.sb-layout { display: flex; min-height: 100vh; }
.sb {
  position: fixed; inset: 0 auto 0 0; width: 360px; z-index: 80;
  background: linear-gradient(180deg, var(--teal-800), var(--teal-900));
  color: #fff; display: flex; flex-direction: column; padding: 26px 18px 22px;
  overflow-y: auto;
}
.sb-brand { background: #fff; border-radius: 16px; padding: 16px 18px; display: block; margin: 0 0 26px; box-shadow: 0 8px 22px rgba(0,0,0,.18); }
.sb-brand img { width: 100%; height: auto; display: block; }
.sb-toggle { display: none; }
.sb-nav { display: flex; flex-direction: column; gap: 4px; }
.sb-link { display: block; padding: 14px 16px; border-radius: 11px; color: #dde4f6; font-weight: 700; font-size: 1.22rem; transition: background .18s, color .18s; }
.sb-link:hover { background: rgba(255,255,255,.10); color: #fff; }
.sb-group { display: flex; flex-direction: column; }
.sb-parent { color: #fff; }
.sb-sub { display: block; padding: 11px 16px 11px 30px; color: #aab6d6; font-size: 1.06rem; font-weight: 600; border-radius: 9px; transition: background .18s, color .18s; }
.sb-sub:hover { color: #fff; background: rgba(255,255,255,.07); }
.sb-link.is-active { background: rgba(255,255,255,.13); color: #fff; box-shadow: inset 3px 0 0 var(--accent); }
.sb-sub.is-active { color: #fff; }
.sb-call { margin-top: 2.6rem; display: flex; align-items: center; gap: 14px; background: var(--green-600); color: #fff; padding: 16px 20px; border-radius: 14px; transition: background .2s; }
.sb-call:hover { background: var(--green-700); }
.sb-call svg { width: 26px; height: 26px; flex-shrink: 0; }
.sb-call__txt { display: flex; flex-direction: column; line-height: 1.25; }
.sb-call small { font-weight: 600; font-size: .82rem; opacity: .88; letter-spacing: .02em; }
.sb-call b { font-size: 1.35rem; font-weight: 800; letter-spacing: .01em; margin: 1px 0; }
.sb-call em { font-style: normal; font-size: .85rem; font-weight: 600; opacity: .92; }

.sb-main { margin-left: 360px; width: calc(100% - 360px); min-width: 0; }
.sb-main .hero { padding-top: clamp(40px, 5vw, 72px); }

@media (max-width: 900px) {
  .sb-layout { flex-direction: column; }
  .sb { position: sticky; top: 0; width: 100%; height: auto; flex-direction: column; padding: 12px 16px; overflow: visible; z-index: 90; }
  .sb-top { display: flex; align-items: center; justify-content: space-between; }
  .sb-brand { max-width: 152px; margin: 0; padding: 8px 11px; }
  .sb-toggle { display: inline-flex; flex-direction: column; gap: 5px; padding: 12px; background: rgba(255,255,255,.12); border-radius: 10px; flex-shrink: 0; }
  .sb-toggle span { display: block; width: 24px; height: 2.5px; background: #fff; border-radius: 2px; transition: transform .2s, opacity .2s; }
  .sb.open .sb-toggle span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
  .sb.open .sb-toggle span:nth-child(2) { opacity: 0; }
  .sb.open .sb-toggle span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }
  .sb-nav { display: none; flex-direction: column; gap: 2px; margin-top: 12px; }
  .sb.open .sb-nav { display: flex; }
  .sb-call { display: none; margin-top: 12px; }
  .sb.open .sb-call { display: flex; }
  .sb-main { margin-left: 0; width: 100%; }
}
