/* =========================================================================
   봄맘케어 — 민트그린 테마 (시안 1차)
   스타터 스캐폴딩 기반: 리셋 · 모션폴백 · 폼 · 반응형 유지, 색/컴포넌트 재설계
   ========================================================================= */

@font-face { font-family:'Pretendard Variable'; src:url('assets/fonts/PretendardVariable.woff2') format('woff2-variations'); font-weight:45 920; font-display:swap; }
@font-face { font-family:'GmarketSans'; src:url('assets/fonts/GmarketSansMedium.woff') format('woff'); font-weight:500; font-display:swap; }
@font-face { font-family:'GmarketSans'; src:url('assets/fonts/GmarketSansBold.woff') format('woff'); font-weight:700; font-display:swap; }
@font-face { font-family:'Nanum Myeongjo'; src:url('assets/fonts/NanumMyeongjo-400.woff2') format('woff2'); font-weight:400; font-display:swap; }
@font-face { font-family:'Nanum Myeongjo'; src:url('assets/fonts/NanumMyeongjo-700.woff2') format('woff2'); font-weight:700; font-display:swap; }
@font-face { font-family:'Nanum Myeongjo'; src:url('assets/fonts/NanumMyeongjo-800.woff2') format('woff2'); font-weight:800; font-display:swap; }

/* ---------- 리셋 ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; } /* 오프셋은 .anchor의 scroll-margin-top으로만(이중 합산 금지) */
main { scroll-margin-top: 84px; }
img, picture, svg, video { display: block; max-width: 100%; height: auto; }
input, button, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; padding: 0; }

/* ---------- 토큰 ---------- */
:root {
  --green-deep: #46614e;   /* 로고 세이지 */
  --green: #4f7a63;
  --mint: #62c1a8;         /* 포인트 민트 */
  --mint-2: #7fd0ba;
  --mint-soft: #cfeee4;
  --mint-bg: #eef7f2;      /* 연한 섹션 배경 */
  --cream: #faf7f1;
  --ink: #2b332e;
  --muted: #6c756e;
  --line: #e4ece7;
  --accent: #ef9a8f;       /* 소프트 코랄 포인트 */
  --white: #ffffff;

  --font-serif: 'Nanum Myeongjo', 'Batang', serif;
  --font-title: 'GmarketSans', 'Pretendard Variable', system-ui, sans-serif;
  --font-body: 'Pretendard Variable', system-ui, -apple-system, 'Malgun Gothic', sans-serif;

  --container: 1160px;
  --radius: 18px;
  --header-h: 76px;
  --shadow: 0 14px 40px rgba(70, 97, 78, .12);
  --shadow-sm: 0 6px 18px rgba(70, 97, 78, .08);
}

/* ---------- 베이스 ---------- */
body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--white);
  line-height: 1.65;
  letter-spacing: -0.02em;
  overflow-x: hidden;
  word-break: keep-all;        /* 한국어 단어 단위 줄바꿈 — 단어 중간 끊김 방지 */
  overflow-wrap: break-word;   /* 이메일·URL 등 긴 문자열은 넘치지 않게 */
}
h1, h2 { font-family: var(--font-serif); line-height: 1.32; letter-spacing: -0.005em; font-weight: 700; }
h3, .font-title { font-family: var(--font-title); line-height: 1.3; letter-spacing: -0.01em; font-weight: 700; }
p { text-wrap: pretty; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 22px; }
.section { padding: clamp(64px, 9vw, 116px) 0; }
.section.tint { background: var(--mint-bg); }
.section.cream { background: var(--cream); }

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

/* 섹션 헤더 공통 */
.eyebrow {
  display: inline-flex; align-items: center; gap: 7px;
  font-family: var(--font-title); font-weight: 700; letter-spacing: .04em;
  font-size: .8rem; color: var(--mint); text-transform: uppercase; margin-bottom: 14px;
}
.eyebrow::before { content: ''; width: 22px; height: 2px; background: var(--mint); border-radius: 2px; }
.section-head { max-width: 680px; margin: 0 auto clamp(34px, 5vw, 56px); text-align: center; }
.section-head.left { margin-left: 0; text-align: left; }
.section-head h2 { font-size: clamp(1.7rem, 4.4vw, 2.6rem); color: var(--green-deep); }
.section-head p { margin-top: 16px; color: var(--muted); font-size: clamp(1rem, 2.3vw, 1.12rem); }

/* 버튼 */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 15px 30px; border-radius: 999px; font-family: var(--font-title); font-weight: 700; font-size: 1rem; transition: transform .2s, box-shadow .2s, background .2s; }
.btn svg { width: 18px; height: 18px; }
.btn-primary { background: var(--mint); color: #fff; box-shadow: 0 12px 26px rgba(98, 193, 168, .38); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 32px rgba(98, 193, 168, .5); }
.btn-ghost { background: rgba(255,255,255,.14); color: #fff; border: 1.5px solid rgba(255,255,255,.6); backdrop-filter: blur(4px); }
.btn-ghost:hover { background: rgba(255,255,255,.24); }
.btn-outline { background: #fff; color: var(--green-deep); border: 1.5px solid var(--line); box-shadow: var(--shadow-sm); }
.btn-outline:hover { border-color: var(--mint); color: var(--mint); }

/* =========================================================================
   헤더
   ========================================================================= */
.site-header {
  position: sticky; top: 0; z-index: 100; height: var(--header-h);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 26px; background: rgba(255,255,255,.92); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.brand { display: flex; align-items: center; gap: 11px; }
.brand img { height: 56px; width: auto; }
.brand .brand-text { display: flex; flex-direction: column; line-height: 1.2; }
.brand .brand-name { font-family: var(--font-serif); font-weight: 800; color: var(--green-deep); font-size: 1.32rem; letter-spacing: .1em; }
.brand .brand-en { font-family: var(--font-serif); font-size: .58rem; letter-spacing: .26em; color: #b08a5a; margin-top: 3px; }
.brand .brand-ko { font-size: .68rem; color: var(--muted); letter-spacing: .04em; margin-top: 1px; }
.desktop-nav { display: flex; align-items: center; gap: 30px; font-family: var(--font-title); font-weight: 700; font-size: .98rem; }
.desktop-nav a { color: var(--ink); transition: color .15s; position: relative; }
.desktop-nav a:hover { color: var(--mint); }

/* 대메뉴 호버 드롭다운 (이레아이맘 방식) */
.nav-item { position: relative; display: flex; align-items: center; height: var(--header-h); }
.nav-drop {
  position: absolute; top: 100%; left: 50%; transform: translateX(-50%) translateY(8px);
  display: flex; flex-direction: column; min-width: 200px; padding: 10px;
  background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow);
  opacity: 0; visibility: hidden; transition: opacity .18s ease, transform .18s ease, visibility .18s;
  z-index: 120;
}
.nav-item:hover .nav-drop, .nav-item:focus-within .nav-drop { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.nav-drop a { padding: 10px 16px; border-radius: 9px; font-size: .92rem; font-weight: 600; white-space: nowrap; }
.nav-drop a:hover { background: var(--mint-bg); color: var(--mint); }
.header-cta { display: inline-flex; align-items: center; gap: 7px; color: var(--green-deep); font-family: var(--font-title); font-weight: 700; }
.header-cta svg { width: 18px; height: 18px; color: var(--mint); }
.header-cta .num { color: var(--green-deep); }
.nav-toggle { display: none; padding: 8px; color: var(--green-deep); }
.nav-toggle svg { width: 26px; height: 26px; }

/* 모바일 메뉴 — 헤더 아래 고정 패널. 표시/숨김은 hidden 속성으로만 제어 */
.mobile-nav {
  position: fixed; top: var(--header-h); left: 0; right: 0; z-index: 95;
  display: flex; flex-direction: column;
  max-height: calc(100vh - var(--header-h)); overflow-y: auto;
  padding: 8px 22px 20px; background: #fff; border-bottom: 1px solid var(--line);
  box-shadow: 0 18px 30px rgba(70, 97, 78, .16);
}
.mobile-nav[hidden] { display: none; }
.mobile-nav .m-group { border-bottom: 1px solid var(--line); padding-bottom: 10px; }
.mobile-nav .m-top { display: block; padding: 13px 4px 7px; font-family: var(--font-title); font-weight: 700; font-size: 1.02rem; color: var(--green-deep); }
.mobile-nav .m-subs { display: grid; grid-template-columns: 1fr 1fr; gap: 2px 12px; }
.mobile-nav .m-subs a { padding: 8px 6px; font-size: .92rem; font-weight: 500; color: var(--muted); border-radius: 8px; }
.mobile-nav .m-subs a:active { background: var(--mint-bg); color: var(--mint); }
.mobile-nav .m-call { display: block; color: var(--mint); margin-top: 10px; padding: 12px 4px; font-family: var(--font-title); font-weight: 700; }

/* =========================================================================
   히어로
   ========================================================================= */
.hero {
  position: relative; overflow: hidden;
  padding: clamp(70px, 11vw, 130px) 0 clamp(80px, 12vw, 140px);
  /* 왼쪽(대표사진의 피치톤)과 자연스럽게 이어지도록 웜 블러시 → 민트 블렌드 (이레아이맘 투톤 방식) */
  background:
    radial-gradient(85% 95% at 18% 38%, rgba(243, 210, 200, .5), transparent 62%),
    radial-gradient(70% 80% at 4% 96%, rgba(249, 231, 224, .55), transparent 60%),
    radial-gradient(110% 95% at 88% 6%, rgba(127, 208, 186, .34), transparent 58%),
    linear-gradient(115deg, #fbf2ee 0%, #f4f6f0 45%, #e6f5ee 100%);
}
.hero::after { /* 부드러운 곡선 하단 */
  content: ''; position: absolute; left: 0; right: 0; bottom: -1px; height: 70px;
  background: #fff; border-radius: 50% 50% 0 0 / 100% 100% 0 0;
}
.hero-inner { position: relative; z-index: 2; display: grid; grid-template-columns: .95fr 1.05fr; gap: 48px; align-items: center; }
.hero-copy .hero-badge {
  display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px; border-radius: 999px;
  background: #fff; box-shadow: var(--shadow-sm); font-weight: 700; font-family: var(--font-title);
  font-size: .84rem; color: var(--green-deep); margin-bottom: 22px;
}
.hero-badge svg { width: 15px; height: 15px; color: var(--mint); }
/* 히어로 브랜드 락업 — 이레아이맘처럼 마크+글자 좌측 정렬 */
.hero-brand { display: flex; align-items: center; gap: 16px; margin-bottom: 26px; }
.hero-brand img { height: 92px; width: auto; }
.hero-brand .hb-text { display: flex; flex-direction: column; line-height: 1.25; }
.hero-brand .hb-name { font-family: var(--font-serif); font-weight: 800; font-size: clamp(1.6rem, 3.2vw, 2rem); color: var(--green-deep); letter-spacing: .14em; }
.hero-brand .hb-en { font-family: var(--font-serif); font-size: .72rem; letter-spacing: .3em; color: #b08a5a; margin-top: 5px; }
.hero-brand .hb-ko { font-size: .8rem; color: #5c6a60; letter-spacing: .05em; margin-top: 2px; }
.hero h1 { font-size: clamp(2.1rem, 5.4vw, 3.5rem); color: var(--green-deep); line-height: 1.24; }
.hero h1 .em { color: var(--mint); }
.hero-sub { margin-top: 22px; font-size: clamp(1.02rem, 2.4vw, 1.18rem); color: #4d574f; line-height: 1.8; }
.hero-sub .hl { font-weight: 700; color: var(--green-deep); background: linear-gradient(transparent 64%, var(--mint-soft) 64%); padding: 0 3px; } /* 형광펜 포인트 */
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.hero-trust { display: flex; gap: 22px; margin-top: 36px; flex-wrap: wrap; }
.hero-trust li { display: flex; align-items: center; gap: 8px; font-size: .92rem; color: #4d574f; font-weight: 600; }
.hero-trust svg { width: 17px; height: 17px; color: var(--mint); }

.hero-visual { position: relative; order: -1; } /* 이레아이맘처럼 사진 왼쪽 · 텍스트 오른쪽 */
.hero-visual::before { /* 사진 피치톤이 배경으로 번지는 웜 글로우 */
  content: ''; position: absolute; inset: -12% -14%;
  background: radial-gradient(55% 55% at 50% 46%, rgba(240, 200, 188, .5), transparent 72%);
}
.hero-photo { z-index: 1; }
.hero-photo { position: relative; border-radius: 26px; overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 4/5; background: var(--mint-soft); }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; }
.hero-logo-card {
  position: absolute; left: -22px; bottom: 26px; background: #fff; border-radius: 18px;
  padding: 16px 20px; box-shadow: var(--shadow); display: flex; align-items: center; gap: 12px; max-width: 240px;
}
.hero-logo-card img { height: 52px; width: auto; }
.hero-logo-card span { font-size: .82rem; color: var(--muted); line-height: 1.4; }

/* =========================================================================
   인사말
   ========================================================================= */
.greeting-inner { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(32px, 5vw, 68px); align-items: center; }
.greeting-photo { border-radius: 22px; overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 3/4; }
.greeting-photo img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(6%); }
.greeting-body h2 { font-size: clamp(1.6rem, 4vw, 2.35rem); color: var(--green-deep); line-height: 1.32; }
.greeting-body .lead { margin-top: 18px; font-size: 1.12rem; font-weight: 600; color: var(--green); }
.greeting-body p { margin-top: 16px; color: #55605a; }
.greeting-sign { margin-top: 26px; font-family: var(--font-title); font-weight: 700; color: var(--green-deep); }
.greeting-sign small { display: block; font-weight: 500; color: var(--muted); font-size: .85rem; margin-top: 2px; }

/* =========================================================================
   서비스 카드
   ========================================================================= */
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.svc-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 34px 28px;
  box-shadow: var(--shadow-sm); transition: transform .2s, box-shadow .2s; position: relative; overflow: hidden;
}
.svc-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.svc-icon { width: 58px; height: 58px; border-radius: 16px; background: var(--mint-bg); display: flex; align-items: center; justify-content: center; margin-bottom: 20px; }
.svc-icon svg { width: 28px; height: 28px; color: var(--mint); }
.svc-card h3 { font-size: 1.28rem; color: var(--green-deep); margin-bottom: 10px; }
.svc-card p { color: var(--muted); font-size: .98rem; }
.svc-card .svc-more { display: inline-flex; align-items: center; gap: 5px; margin-top: 16px; color: var(--mint); font-weight: 700; font-family: var(--font-title); font-size: .9rem; }
.svc-card .svc-more svg { width: 15px; height: 15px; }
.svc-card.badge-gov::after { content: '정부지원'; position: absolute; top: 18px; right: 18px; font-size: .72rem; font-weight: 700; color: #fff; background: var(--accent); padding: 4px 10px; border-radius: 999px; }

/* =========================================================================
   서비스안내 상세 (이레아이맘 service01 구성: 케어 카드 + 기타 서비스 리스트)
   ========================================================================= */
.care-head { font-family: var(--font-title); font-size: clamp(1.35rem, 3.2vw, 1.8rem); color: var(--ink); margin-bottom: clamp(22px, 3.5vw, 34px); }
.care-head b { color: var(--mint); }
.care-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(22px, 3.5vw, 34px) 22px; }
.care-card .cc-img { aspect-ratio: 1 / 1; border-radius: var(--radius); overflow: hidden; background: var(--mint-bg); border: 1px dashed var(--mint-2); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; }
.care-card .cc-img svg { width: 42px; height: 42px; color: var(--mint); }
.care-card .cc-img small { font-size: .78rem; color: var(--muted); }
.care-card .cc-img img { width: 100%; height: 100%; object-fit: cover; } /* 실제 사진 수급 시 img로 교체 */
.care-card h4 { text-align: center; margin-top: 14px; font-family: var(--font-title); font-weight: 700; font-size: 1.05rem; color: var(--ink); }
.care-card p { text-align: center; color: var(--muted); font-size: .92rem; margin-top: 4px; }
.etc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 clamp(30px, 5vw, 70px); }
.etc-item { display: grid; grid-template-columns: minmax(130px, 190px) 1fr; gap: 18px; align-items: start; padding: clamp(26px, 4vw, 38px) 0; border-top: 1px solid var(--line); }
.etc-item h3 { font-family: var(--font-title); font-size: clamp(1.2rem, 2.6vw, 1.55rem); line-height: 1.35; color: var(--ink); }
.etc-item h3 b { display: block; color: var(--mint); }
.etc-item ul li { color: #44504a; padding: 4px 0; display: flex; gap: 8px; align-items: flex-start; }
.etc-item ul li::before { content: '–'; color: var(--mint); font-weight: 700; flex: 0 0 auto; }

/* 기타 서비스의 제휴 안내 — 기존 카드·색상 체계에 맞춘 사진 카드 */
.affiliated-services { margin-top: clamp(36px, 6vw, 64px); padding-top: clamp(36px, 5vw, 54px); border-top: 1px solid var(--line); }
.affiliated-heading { margin-bottom: 28px; }
.affiliated-heading .eyebrow { margin-bottom: 10px; color: var(--green); }
.affiliated-heading h3 { color: var(--green-deep); font-size: clamp(1.2rem, 3.2vw, 1.65rem); line-height: 1.5; }
.affiliated-heading p { margin-top: 10px; color: var(--muted); }
.affiliated-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
.affiliated-card { min-width: 0; display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #fff; box-shadow: var(--shadow-sm); }
.affiliated-photo { aspect-ratio: 16 / 10; overflow: hidden; background: var(--cream); }
.affiliated-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 47%; }
.affiliated-photo-insurance { background: #f4f5f6; }
.affiliated-photo-insurance img { object-position: center; transform: scale(1.36); transform-origin: 38% 50%; }
.affiliated-body { display: flex; flex: 1; flex-direction: column; align-items: flex-start; padding: clamp(22px, 3vw, 30px); }
.affiliated-label { color: var(--green); font-weight: 600; font-size: .82rem; }
.affiliated-body h3 { margin-top: 8px; color: var(--green-deep); font-size: clamp(1.15rem, 2.7vw, 1.45rem); }
.affiliated-body p { margin: 14px 0 22px; color: var(--muted); line-height: 1.8; }
.affiliated-cta { display: inline-flex; align-items: center; gap: 12px; min-height: 44px; margin-top: auto; padding: 10px 0; font-weight: 700; color: var(--green-deep); }
.affiliated-cta svg { width: 18px; height: 18px; transition: transform .2s ease; }
.affiliated-cta:hover svg { transform: translateX(4px); }
.affiliated-cta:focus-visible { outline: 2px solid var(--green-deep); outline-offset: 5px; border-radius: 3px; }
@media (max-width: 720px) {
  .care-grid { grid-template-columns: 1fr 1fr; }
  .etc-grid { grid-template-columns: 1fr; }
  .etc-item { grid-template-columns: 1fr; gap: 8px; }
  .affiliated-grid { grid-template-columns: 1fr; gap: 24px; }
}

/* =========================================================================
   서비스안내 포토 카드 (이레아이맘 홈 구조: 제목 + 더보기 + 사진 카드)
   ========================================================================= */
.svc-head-row { position: relative; margin-bottom: clamp(30px, 5vw, 48px); }
.svc-head-row .section-head { margin-bottom: 0; }
.svc-head-row .more-abs { position: absolute; right: 0; top: 8px; }
.btn-sm { padding: 10px 22px; font-size: .9rem; }
.svc-photo-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-bottom: clamp(30px, 5vw, 48px); }
.svc-photo-card { position: relative; display: block; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); aspect-ratio: 4 / 5; background: var(--mint-bg); }
.svc-photo-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.svc-photo-card:hover img { transform: scale(1.05); }
.svc-photo-card .label { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%) scale(.96); background: rgba(70, 97, 78, .78); color: #fff; font-family: var(--font-title); font-weight: 700; font-size: clamp(.92rem, 2vw, 1.05rem); padding: 13px 24px; white-space: nowrap; letter-spacing: .02em; opacity: 0; transition: opacity .25s ease, transform .25s ease; }
.svc-photo-card:hover .label, .svc-photo-card:focus-visible .label { opacity: 1; transform: translate(-50%, -50%) scale(1); }
@media (hover: none) { /* 터치 기기(호버 없음)에서는 라벨 상시 표시 */
  .svc-photo-card .label { opacity: 1; transform: translate(-50%, -50%); }
}
@media (max-width: 720px) {
  .svc-photo-grid { grid-template-columns: 1fr; }
  .svc-photo-card { aspect-ratio: 16 / 10; }
  .svc-head-row .more-abs { position: static; display: inline-flex; margin-top: 16px; }
  .svc-head-row { text-align: center; }
}

/* =========================================================================
   신뢰 (왜 봄맘케어)
   ========================================================================= */
.why-inner { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(34px, 5vw, 64px); align-items: center; }
.why-photo { border-radius: 22px; overflow: hidden; box-shadow: var(--shadow); }
.why-list { display: grid; gap: 20px; }
.why-item { display: flex; gap: 16px; }
.why-item .n { flex: 0 0 auto; width: 44px; height: 44px; border-radius: 12px; background: var(--green-deep); color: #fff; display: flex; align-items: center; justify-content: center; font-family: var(--font-title); font-weight: 700; }
.why-item h4 { font-size: 1.1rem; color: var(--green-deep); margin-bottom: 4px; }
.why-item p { color: var(--muted); font-size: .96rem; }

/* =========================================================================
   지점모집 배너
   ========================================================================= */
.franchise {
  position: relative; overflow: hidden; color: #fff;
  background: linear-gradient(135deg, var(--green-deep), var(--green) 60%, var(--mint));
}
.franchise .container { position: relative; z-index: 2; display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.franchise h2 { font-size: clamp(1.5rem, 3.6vw, 2.1rem); }
.franchise p { margin-top: 12px; color: rgba(255,255,255,.88); max-width: 52ch; }
.franchise .fr-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.franchise .fr-tags span { font-size: .82rem; background: rgba(255,255,255,.16); border: 1px solid rgba(255,255,255,.3); padding: 6px 12px; border-radius: 999px; }

/* =========================================================================
   지점모집 상세 (자격요건 · 본사지원 · 대상지역 · 상담신청)
   ========================================================================= */
.fr-detail { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }
.fr-box { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow-sm); }
.fr-box .ic { width: 48px; height: 48px; border-radius: 14px; background: var(--mint-bg); display: flex; align-items: center; justify-content: center; margin-bottom: 15px; }
.fr-box .ic svg { width: 25px; height: 25px; color: var(--mint); }
.fr-box h4 { font-family: var(--font-title); font-size: 1.1rem; color: var(--green-deep); margin-bottom: 10px; }
.fr-box .spec-list { margin-top: 0; }
.fr-box .spec-list li { font-size: .94rem; }

.fr-region { display: grid; grid-template-columns: 200px 1fr; gap: 20px; align-items: center; background: var(--mint-bg); border: 1px solid var(--mint-soft); border-radius: var(--radius); padding: 24px 26px; }
.fr-region .fr-region-k { font-family: var(--font-title); font-weight: 700; color: var(--green-deep); }
.fr-region .fr-region-k small { display: block; font-family: var(--font-body); font-weight: 400; font-size: .84rem; color: var(--muted); margin-top: 4px; }
.fr-region .fr-region-v { display: flex; flex-wrap: wrap; gap: 8px; }
.fr-region .fr-region-v span { background: #fff; border: 1px solid var(--mint-soft); color: var(--green-deep); font-size: .88rem; font-weight: 600; padding: 7px 14px; border-radius: 999px; }
.fr-region + .fr-region { margin-top: 14px; }

.fr-cost { margin-top: 20px; }

/* =========================================================================
   제휴업체
   ========================================================================= */
.partner-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin: 0 auto; }
.partner-card { display: flex; flex-direction: column; align-items: flex-start; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 28px; box-shadow: var(--shadow-sm); }
.partner-card .p-tag { font-size: .78rem; font-weight: 700; color: var(--mint); }
.partner-card h4 { font-size: 1.2rem; color: var(--green-deep); margin: 6px 0 8px; }
.partner-card p { color: var(--muted); font-size: .94rem; display: flex; align-items: center; gap: 6px; }
.partner-card p svg { width: 15px; height: 15px; color: var(--mint); flex: 0 0 auto; }
.partner-card-logo { display: flex; align-items: center; justify-content: flex-start; height: 88px; margin-bottom: 18px; }
.partner-card-logo > img { width: auto; height: 88px; object-fit: contain; }
.partner-card-symbol { display: flex; align-items: center; justify-content: center; width: 68px; height: 68px; border-radius: 50%; background: var(--mint-bg); color: var(--green); }
.partner-card-symbol svg { width: 36px; height: 36px; stroke-width: 1.25; }
.partner-card-link { display: inline-flex; align-items: center; gap: 8px; min-height: 58px; margin-top: auto; padding-top: 14px; font-size: .9rem; font-weight: 700; color: var(--green-deep); }
.partner-card-link svg { width: 16px; height: 16px; }
.partner-card-link:focus-visible { outline: 2px solid var(--green-deep); outline-offset: 4px; }
@media (max-width: 900px) {
  .partner-grid { grid-template-columns: 1fr; max-width: 580px; }
}

/* =========================================================================
   찾아오는길
   ========================================================================= */
.location-inner { display: grid; grid-template-columns: 1.2fr .8fr; gap: 34px; align-items: stretch; }
.map-box { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); min-height: 320px; background: var(--mint-bg); display: flex; align-items: center; justify-content: center; text-align: center; border: 1px dashed var(--mint-2); }
.map-box .map-ph { color: var(--green); font-weight: 600; padding: 26px; }
.map-box .map-ph svg { width: 34px; height: 34px; margin: 0 auto 10px; color: var(--mint); }
.map-box .map-ph .map-addr { font-family: var(--font-title); font-size: 1.05rem; color: var(--green-deep); }
.map-box .map-ph .map-sub { font-weight: 400; font-size: .88rem; color: var(--muted); margin-top: 6px; }
.map-box .map-ph .map-links { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-top: 18px; }
.map-box .map-ph .map-links a { display: inline-flex; align-items: center; gap: 7px; background: #fff; border: 1px solid var(--mint-soft); color: var(--green-deep); font-size: .9rem; font-weight: 700; padding: 10px 16px; border-radius: 999px; box-shadow: var(--shadow-sm); }
.map-box .map-ph .map-links a svg { width: 16px; height: 16px; margin: 0; }
.map-box iframe { width: 100%; height: 100%; min-height: 320px; border: 0; display: block; }
.map-box.is-embed { border-style: solid; border-color: var(--line); padding: 0; display: block; height: 100%; min-height: 360px; }
.info-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; justify-content: center; gap: 18px; }
.info-row { display: flex; gap: 14px; }
.info-row svg { width: 20px; height: 20px; color: var(--mint); flex: 0 0 auto; margin-top: 3px; }
.info-row .k { font-size: .8rem; color: var(--muted); font-weight: 600; }
.info-row .v { font-weight: 600; color: var(--ink); }

/* =========================================================================
   푸터
   ========================================================================= */
.site-footer { background: var(--green-deep); color: #cdd8d0; padding: 54px 22px 40px; }
.footer-partners { max-width: var(--container); margin: 0 auto 42px; }
.footer-partners-heading { margin-bottom: 18px; }
.footer-partners-heading h2 { color: #fff; font-family: var(--font-body); font-size: 1rem; font-weight: 600; line-height: 1.6; }
.partner-links { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); border-radius: var(--radius); overflow: hidden; background: #fff; }
.partner-links li { min-width: 0; }
.partner-links li + li { border-left: 1px solid var(--line); }
.partner-link { display: flex; height: 100%; min-height: 120px; align-items: center; justify-content: center; padding: 16px 12px; color: var(--ink); transition: background .2s; }
.partner-link:hover { background: #f5f9f6; }
.partner-link:focus-visible { outline: 3px solid var(--mint); outline-offset: -5px; border-radius: 8px; }
.partner-logo { width: 100%; height: 88px; display: flex; align-items: center; justify-content: center; }
.partner-logo > img { max-width: 100%; width: auto; height: auto; max-height: 60px; object-fit: contain; }
.partner-logo > .viv-logo { width: auto; max-width: 100%; height: 88px; max-height: 88px; }
.hanwha-logo { display: block; position: relative; width: 154px; max-width: 100%; height: 68px; overflow: hidden; }
.hanwha-logo img { position: absolute; width: 326px; max-width: none; height: auto; left: -17px; top: -17px; }
@media (max-width: 900px) {
  .partner-link { padding-right: 8px; padding-left: 8px; }
  .hanwha-logo { width: 134px; }
  .hanwha-logo img { width: 290px; left: -15px; top: -14px; }
}
@media (max-width: 620px) {
  .footer-partners { margin-bottom: 32px; }
  .footer-partners-heading { margin-bottom: 14px; }
  .footer-partners-heading h2 { font-size: .94rem; }
  .partner-links { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .partner-links li + li { border-left: 0; }
  .partner-links li:nth-child(even) { border-left: 1px solid var(--line); }
  .partner-links li:nth-child(n+3) { border-top: 1px solid var(--line); }
  .partner-links li:last-child { grid-column: 1 / -1; }
  .partner-link { min-height: 100px; padding: 14px 10px; }
  .partner-logo { height: 60px; }
  .partner-link-viv { min-height: 112px; }
  .partner-link-viv .partner-logo { width: auto; height: 84px; }
  .partner-link-viv .viv-logo { height: 84px; }
}
@media (prefers-reduced-motion: reduce) {
  .affiliated-cta svg, .partner-link { transition: none; }
}
.footer-inner { max-width: var(--container); margin: 0 auto; display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 30px; }
.f-brand-lockup { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.f-brand-lockup img { height: 52px; width: auto; filter: brightness(0) invert(1); opacity: .95; }
.f-brand-name { display: flex; flex-direction: column; font-family: var(--font-serif); font-weight: 800; font-size: 1.28rem; color: #fff; letter-spacing: .1em; line-height: 1.2; }
.f-brand-name small { font-size: .58rem; letter-spacing: .26em; color: rgba(255,255,255,.55); margin-top: 3px; }
.footer-brand p { font-size: .88rem; line-height: 1.7; opacity: .8; }
.footer-col h5 { font-family: var(--font-title); font-weight: 700; color: #fff; font-size: .95rem; margin-bottom: 14px; }
.footer-col a, .footer-col p { display: block; font-size: .88rem; opacity: .8; padding: 3px 0; }
.footer-bottom { max-width: var(--container); margin: 30px auto 0; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.14); font-size: .82rem; opacity: .7; text-align: center; }

/* =========================================================================
   폼(예약/상담) — 스타터 재활용 + 민트 테마
   ========================================================================= */
.honeypot { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }
.form-field { margin-bottom: 16px; }
.form-field > label { display: block; font-weight: 600; font-size: .9rem; margin-bottom: 7px; }
.form-field input, .form-field select, .form-field textarea { width: 100%; padding: 13px 14px; border: 1.5px solid var(--line); border-radius: 11px; background: #fff; transition: border-color .15s; }
.form-field input:focus, .form-field select:focus, .form-field textarea:focus { outline: none; border-color: var(--mint); }
.form-field textarea { resize: vertical; min-height: 82px; }
[aria-invalid="true"] { border-color: #d9534f !important; }
.field-error { display: block; min-height: 1em; margin-top: 5px; font-size: .8rem; color: #d9534f; }
.phone-inputs { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 8px; }
.phone-inputs input { text-align: center; }
.radio-row { display: flex; gap: 10px; }
.radio-row label { flex: 1; }
.radio-row input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.radio-row span { display: block; text-align: center; padding: 12px; border: 1.5px solid var(--line); border-radius: 11px; font-weight: 600; transition: all .15s; }
.radio-row input:checked + span { border-color: var(--mint); background: var(--mint); color: #fff; }
.select-wrap { position: relative; }
.select-wrap select { appearance: none; padding-right: 40px; }
.select-wrap svg { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); width: 18px; height: 18px; color: var(--muted); pointer-events: none; }
.consent { margin: 4px 0 18px; }
.consent > label { display: inline-flex; align-items: center; gap: 9px; cursor: pointer; font-size: .9rem; }
.consent > label > input { position: absolute; opacity: 0; width: 0; height: 0; }
.consent > label > span { flex: 0 0 auto; width: 20px; height: 20px; border: 1.5px solid #cfc4b6; border-radius: 6px; display: inline-flex; align-items: center; justify-content: center; transition: all .15s; }
.consent > label > span svg { width: 15px; height: 15px; color: #fff; opacity: 0; transform: translateY(-2.5px); }
.consent > label > input:checked + span { background: var(--mint); border-color: var(--mint); }
.consent > label > input:checked + span svg { opacity: 1; }
.submit-button { width: 100%; display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 16px; border-radius: 12px; font-family: var(--font-title); font-weight: 700; font-size: 1.05rem; background: var(--mint); color: #fff; transition: filter .15s; }
.submit-button:hover { filter: brightness(1.06); }
.submit-button:disabled { opacity: .7; cursor: default; }
.submit-button svg { width: 18px; height: 18px; }
.form-status { margin-top: 12px; text-align: center; font-size: .9rem; color: var(--green); min-height: 1.2em; }

/* 예약 CTA 섹션 */
.reserve-inner { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 5vw, 60px); align-items: center; }
.reserve-copy h2 { font-size: clamp(1.6rem, 4vw, 2.35rem); color: var(--green-deep); }
.reserve-copy p { margin-top: 16px; color: #55605a; }
.reserve-copy .r-contact { margin-top: 24px; display: grid; gap: 12px; }
.reserve-copy .r-contact a { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-title); font-weight: 700; color: var(--green-deep); }
.reserve-copy .r-contact svg { width: 20px; height: 20px; color: var(--mint); }
.reserve-form { background: #fff; border-radius: 22px; padding: clamp(26px, 4vw, 38px); box-shadow: var(--shadow); border: 1px solid var(--line); }
.reserve-form h3 { font-size: 1.3rem; color: var(--green-deep); margin-bottom: 6px; }
.reserve-form .rf-desc { font-size: .9rem; color: var(--muted); margin-bottom: 22px; }

.br-mo { display: none; }

/* =========================================================================
   모션 — 폴백 우선
   ========================================================================= */
.reveal { opacity: 1; }
.hero-sequence > * { opacity: 1; }
html.motion-ready .reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
html.motion-ready .reveal.is-visible { opacity: 1; transform: none; }
html.motion-ready .hero-sequence > * { opacity: 0; animation: rise-in .8s ease forwards; }
html.motion-ready .hero-sequence > *:nth-child(1) { animation-delay: .05s; }
html.motion-ready .hero-sequence > *:nth-child(2) { animation-delay: .18s; }
html.motion-ready .hero-sequence > *:nth-child(3) { animation-delay: .32s; }
html.motion-ready .hero-sequence > *:nth-child(4) { animation-delay: .46s; }
html.motion-ready .hero-sequence > *:nth-child(5) { animation-delay: .6s; }
html.motion-ready .hero-sequence > *:nth-child(6) { animation-delay: .74s; }
@keyframes rise-in { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  html.motion-ready .reveal, html.motion-ready .hero-sequence > * { opacity: 1 !important; transform: none !important; animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}

/* =========================================================================
   반응형
   ========================================================================= */
@media (max-width: 980px) {
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { max-width: 440px; margin: 0 auto; width: 100%; order: 0; } /* 모바일은 텍스트 먼저 */
  .greeting-inner, .why-inner, .location-inner, .reserve-inner { grid-template-columns: 1fr; }
  .greeting-photo, .why-photo { max-width: 460px; }
  .service-grid { grid-template-columns: 1fr 1fr; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .desktop-nav, .header-cta { display: none; }
  .nav-toggle { display: inline-flex; }
}
@media (min-width: 861px) { .mobile-nav { display: none !important; } }
@media (max-width: 620px) {
  .br-mo { display: inline; }
  .service-grid { grid-template-columns: 1fr; }
  .partner-grid { grid-template-columns: 1fr; }
  .fr-region { grid-template-columns: 1fr; gap: 12px; }
  .hero-brand { gap: 12px; }
  .hero-brand img { height: 70px; }
  .hero-brand .hb-name { font-size: 1.45rem; }
  .hero-brand .hb-en { letter-spacing: .22em; }
  .footer-inner { grid-template-columns: 1fr; gap: 22px; }
  .section-head { text-align: left; }
  .hero-logo-card { left: 0; }
}
@media (max-width: 420px) {
  .container { padding: 0 16px; }
  .radio-row { flex-direction: column; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { width: 100%; }
}

/* =========================================================================
   내부 페이지 공통 컴포넌트
   ========================================================================= */
/* 신뢰 배지 스트립 */
.credential-strip { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.credential-strip .container { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px 34px; padding-top: 22px; padding-bottom: 22px; }
.credential-strip .cred { display: flex; align-items: center; gap: 9px; font-weight: 600; color: var(--green-deep); font-size: .94rem; }
.credential-strip .cred svg { width: 20px; height: 20px; color: var(--mint); flex: 0 0 auto; }
@media (max-width: 720px) { /* 모바일: 좁은 화면 넘침 방지 — 2열 그리드 */
  .credential-strip .container { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 14px; padding-top: 16px; padding-bottom: 16px; }
  .credential-strip .cred { font-size: .8rem; align-items: flex-start; line-height: 1.4; }
  .credential-strip .cred svg { width: 16px; height: 16px; margin-top: 2px; }
}

/* 페이지 배너(내부 페이지 상단) */
.page-hero {
  position: relative; overflow: hidden; text-align: center;
  padding: clamp(56px, 8vw, 92px) 0 clamp(48px, 6vw, 72px);
  background:
    radial-gradient(120% 100% at 80% 0%, rgba(127,208,186,.35), transparent 55%),
    linear-gradient(160deg, #f3faf6, #e6f5ee);
}
.page-hero .eyebrow { justify-content: center; }
.page-hero h1 { font-size: clamp(1.9rem, 5vw, 3rem); color: var(--green-deep); }
.page-hero p { margin-top: 14px; color: #55605a; max-width: 60ch; margin-left: auto; margin-right: auto; }
.breadcrumb { display: flex; justify-content: center; gap: 8px; margin-top: 18px; font-size: .84rem; color: var(--muted); }
.breadcrumb a:hover { color: var(--mint); }
.breadcrumb .sep { opacity: .5; }

/* 페이지 내 서브섹션 앵커 여백 */
.anchor { scroll-margin-top: 90px; } /* 헤더 76 + 여유 (서브내비 제거됨) */

/* 상세 블록(제목 + 본문/리스트) */
.detail { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 5vw, 60px); align-items: center; }
.detail.reverse .detail-media { order: 2; }
.detail + .detail { margin-top: clamp(48px, 7vw, 90px); }
.detail-media { border-radius: 20px; overflow: hidden; box-shadow: var(--shadow); }
.detail-media img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4/3; }
.detail-media img[src*="emo-collage"] { height: auto; aspect-ratio: auto; } /* 3컷 콜라주 잘림 방지 — 어느 페이지든 전체 표시 */
.detail-body h3 { font-size: clamp(1.3rem, 3vw, 1.7rem); color: var(--green-deep); }
.detail-body > p { margin-top: 12px; color: #55605a; }

/* 스펙 리스트(체크) */
.spec-list { margin-top: 18px; display: grid; gap: 10px; }
.spec-list li { display: flex; gap: 10px; align-items: flex-start; color: #44504a; }
.spec-list li svg { width: 18px; height: 18px; color: var(--mint); flex: 0 0 auto; margin-top: 4px; }
.spec-list.excl li svg { color: #c98b84; }

/* 정보 카드 그리드 */
.info-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }
.info-box { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow-sm); }
.info-box .ic { width: 50px; height: 50px; border-radius: 14px; background: var(--mint-bg); display: flex; align-items: center; justify-content: center; margin-bottom: 16px; }
.info-box .ic svg { width: 26px; height: 26px; color: var(--mint); }
.info-box h4 { font-family: var(--font-title); font-size: 1.12rem; color: var(--green-deep); margin-bottom: 8px; }
.info-box p { color: var(--muted); font-size: .95rem; }
.info-box .price { margin-top: 12px; font-family: var(--font-title); font-weight: 700; color: var(--mint); }

/* 절차 스텝 */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; counter-reset: step; }
.step { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 22px; box-shadow: var(--shadow-sm); position: relative; }
.step::before { counter-increment: step; content: counter(step, decimal-leading-zero); font-family: var(--font-title); font-weight: 700; color: var(--mint); font-size: 1.4rem; }
.step h4 { font-family: var(--font-title); font-size: 1.05rem; color: var(--green-deep); margin: 10px 0 6px; }
.step p { color: var(--muted); font-size: .9rem; }

/* 콜아웃(안내 박스) */
.callout { display: flex; gap: 14px; background: var(--mint-bg); border: 1px solid var(--mint-soft); border-radius: var(--radius); padding: 22px 24px; color: #3f5a4d; }
.callout svg { width: 22px; height: 22px; color: var(--mint); flex: 0 0 auto; margin-top: 2px; }
.callout b { color: var(--green-deep); }

/* 요금 카드 */
.price-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 22px; }
.price-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 26px; box-shadow: var(--shadow-sm); text-align: center; }
.price-card.feat { border-color: var(--mint); box-shadow: var(--shadow); position: relative; }
.price-card.feat::before { content: '추천'; position: absolute; top: -12px; left: 50%; transform: translateX(-50%); background: var(--mint); color: #fff; font-size: .74rem; font-weight: 700; padding: 4px 14px; border-radius: 999px; }
.price-card .pc-name { font-family: var(--font-title); font-weight: 700; color: var(--green-deep); font-size: 1.2rem; }
.price-card .pc-img { margin: 18px 0; border-radius: 12px; overflow: hidden; background: var(--mint-bg); min-height: 120px; display: flex; align-items: center; justify-content: center; border: 1px dashed var(--mint-2); color: var(--green); font-size: .88rem; text-align: center; padding: 16px; }
.price-card .pc-note { color: var(--muted); font-size: .9rem; margin-top: 6px; }

/* 요금 상세 — 표 형태 */
.price-block + .price-block { margin-top: clamp(40px, 6vw, 66px); }
.price-block .pb-head { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; margin-bottom: 16px; }
.price-block .pb-head h3 { font-size: clamp(1.15rem, 2.6vw, 1.45rem); color: var(--green-deep); }
.price-block .pb-head .pb-tag { font-size: .78rem; font-weight: 700; color: var(--mint); background: var(--mint-bg); border: 1px solid var(--mint-soft); padding: 4px 12px; border-radius: 999px; }
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; border-radius: var(--radius); border: 1px solid var(--line); box-shadow: var(--shadow-sm); background: #fff; }
.price-table { width: 100%; min-width: 480px; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.price-table th, .price-table td { padding: 15px 18px; text-align: left; border-bottom: 1px solid var(--line); }
.price-table thead th { background: var(--mint-bg); font-family: var(--font-body); font-weight: 700; color: var(--green-deep); font-size: .95rem; white-space: nowrap; }
.price-table tbody th { font-weight: 600; color: var(--ink); }
.price-table tbody tr:last-child th, .price-table tbody tr:last-child td { border-bottom: 0; }
.price-table td.amount { text-align: right; font-family: var(--font-body); font-weight: 700; color: var(--green-deep); white-space: nowrap; }
.price-table td.amount .tbd { display: inline-flex; align-items: center; gap: 6px; font-family: var(--font-body); font-weight: 600; font-size: .9rem; color: var(--mint); background: var(--mint-bg); border: 1px dashed var(--mint-2); padding: 5px 12px; border-radius: 999px; }
.price-note { margin-top: 14px; display: grid; gap: 7px; }
.price-note li { color: var(--muted); font-size: .9rem; display: flex; gap: 8px; align-items: flex-start; }
.price-note li::before { content: '·'; color: var(--mint); font-weight: 700; }

/* 요금 구분 대탭 — 정부지원요금 / 일반요금 (이레아이맘 구조) */
.fee-mode-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; max-width: 560px; margin: 0 auto clamp(30px, 5vw, 46px); }
.fee-mode-tabs [role="tab"] { padding: 16px 12px; border-radius: 14px; border: 1.5px solid var(--line); background: #fff; font-family: var(--font-title); font-weight: 700; font-size: clamp(.96rem, 2.4vw, 1.05rem); color: var(--muted); transition: all .15s; }
.fee-mode-tabs [role="tab"]:hover { border-color: var(--mint); color: var(--mint); }
.fee-mode-tabs [role="tab"][aria-selected="true"] { background: var(--mint); border-color: var(--mint); color: #fff; box-shadow: 0 10px 22px rgba(98, 193, 168, .35); }

/* 정부지원 바우처 요금 — 태아유형 탭 + 기간별 표 */
.fee-legend { font-size: .85rem; color: var(--muted); margin: -4px 0 16px; }
.fee-legend b { color: var(--green-deep); }
.gov-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.gov-tabs [role="tab"] { padding: 10px 20px; border-radius: 999px; border: 1.5px solid var(--line); background: #fff; font-family: var(--font-title); font-weight: 700; font-size: .92rem; color: var(--muted); transition: all .15s; }
.gov-tabs [role="tab"]:hover { border-color: var(--mint); color: var(--mint); }
.gov-tabs [role="tab"][aria-selected="true"] { background: var(--mint); border-color: var(--mint); color: #fff; }
.gov-panel + .gov-panel { margin-top: 34px; } /* JS 꺼짐(전체 나열) 대비 간격 */
.gov-panel-title { font-family: var(--font-title); font-size: 1.08rem; color: var(--green-deep); margin-bottom: 14px; display: flex; align-items: center; gap: 10px; }
.gov-panel-title .chip { font-size: .74rem; font-weight: 700; color: var(--mint); background: var(--mint-bg); border: 1px solid var(--mint-soft); padding: 3px 10px; border-radius: 999px; }
.fee-sub + .fee-sub { margin-top: 24px; }
.fee-sub h5 { font-family: var(--font-title); font-size: .95rem; font-weight: 700; color: var(--ink); margin-bottom: 10px; display: flex; align-items: center; gap: 8px; }
.fee-sub h5::before { content: ''; width: 8px; height: 8px; border-radius: 3px; background: var(--mint); }
.fee-table { min-width: 560px; }
.fee-table.slim { min-width: 0; } /* 2열 표(기간·금액 등)는 모바일에서 스크롤 없이 */
@media (max-width: 720px) { /* 모바일: 표 압축 + 가로 스크롤 힌트 */
  .fee-table { min-width: 470px; font-size: .86rem; }
  .fee-table th, .fee-table td { padding: 10px 10px; }
  .fee-table td.num small { font-size: .68rem; }
  .fee-table.slim { min-width: 0; }
  .table-scroll:has(.fee-table:not(.slim))::before { content: '⇄ 표를 옆으로 밀어 전체를 확인하세요'; display: block; font-size: .74rem; color: var(--muted); padding: 8px 12px 2px; }
}
.fee-table thead th { text-align: right; }
.fee-table thead th:first-child { text-align: left; }
.fee-table tbody th { white-space: nowrap; }
.fee-table td.num { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.fee-table td.num b { display: block; font-family: var(--font-body); font-weight: 700; color: var(--green-deep); }
.fee-table td.num small { display: block; font-size: .76rem; font-weight: 400; color: var(--muted); margin-top: 2px; }
.fee-table .price { font-family: var(--font-title); font-weight: 700; color: var(--green-deep); } /* 한 줄 표기용 */
.fee-table .deposit { font-weight: 400; color: var(--muted); font-size: .88em; } /* 괄호 예약금 */
.fee-table td .sub { display: block; font-size: .78rem; font-weight: 400; color: var(--muted); margin-top: 2px; } /* 상품 보조설명 */
.fee-table .mid { text-align: center; }
.fee-table th[rowspan] { vertical-align: middle; }
.fee-table tr.total-row th { font-size: .86rem; color: var(--muted); }
.fee-table tr.total-row th small { display: block; font-size: .74rem; font-weight: 400; }
.fee-table tr.total-row td { background: #f7fbf8; font-weight: 700; color: var(--ink); }

/* 후기 / 공지 / 이벤트 */
.review-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; }
.review-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow-sm); }
.review-card .stars { color: #f2b705; letter-spacing: 2px; margin-bottom: 10px; }
.review-card p { color: #4d574f; }
.review-card .who { margin-top: 14px; font-weight: 600; color: var(--green-deep); font-size: .9rem; }
.notice-list { border-top: 2px solid var(--green-deep); }
.notice-list li a { display: flex; justify-content: space-between; gap: 16px; padding: 18px 6px; border-bottom: 1px solid var(--line); transition: background .15s; }
.notice-list li a:hover { background: var(--mint-bg); }
.notice-list .nt-title { font-weight: 600; color: var(--ink); display: flex; align-items: flex-start; gap: 10px; } /* 태그·제목 분리 — 줄바꿈 시 제목 시작점에 정렬 */
.notice-list .nt-title .tag { flex: 0 0 auto; background: var(--mint-bg); color: var(--green); font-size: .74rem; font-weight: 700; padding: 2px 8px; border-radius: 6px; margin-top: 2px; }
.notice-list .nt-date { color: var(--muted); font-size: .86rem; flex: 0 0 auto; }
.event-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; }
.event-card { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); border: 1px solid var(--line); background: #fff; }
.event-card .ev-band { background: linear-gradient(135deg, var(--green-deep), var(--mint)); color: #fff; padding: 30px 24px; }
.event-card .ev-band .ev-tag { font-size: .76rem; opacity: .9; }
.event-card .ev-band h4 { font-family: var(--font-title); font-size: 1.2rem; margin-top: 6px; }
.event-card .ev-body { padding: 20px 24px; color: var(--muted); font-size: .92rem; }
.event-card .ev-photo { width: 100%; height: 220px; object-fit: cover; object-position: 50% 28%; display: block; }

/* 탭 앵커 네비(페이지 내부) */
/* 서브내비 — 밑줄 탭 스타일 + 스크롤스파이(.is-active) */
.subnav { position: sticky; top: var(--header-h); z-index: 40; background: rgba(255,255,255,.96); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.subnav .container { display: flex; gap: clamp(18px, 3.2vw, 36px); justify-content: center; overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
.subnav .container::-webkit-scrollbar { display: none; }
.subnav a { flex: 0 0 auto; position: relative; padding: 15px 2px 14px; font-family: var(--font-title); font-weight: 700; font-size: .92rem; color: var(--muted); white-space: nowrap; transition: color .15s; }
.subnav a::after { content: ''; position: absolute; left: 0; right: 0; bottom: -1px; height: 3px; border-radius: 3px 3px 0 0; background: var(--mint); transform: scaleX(0); transform-origin: center; transition: transform .22s ease; }
.subnav a:hover { color: var(--mint); }
.subnav a.is-active { color: var(--green-deep); }
.subnav a.is-active::after { transform: scaleX(1); }
@media (max-width: 620px) { .subnav .container { justify-content: flex-start; } }

@media (max-width: 820px) {
  .detail, .detail.reverse .detail-media { grid-template-columns: 1fr; }
  .detail.reverse .detail-media { order: 0; }
  .steps { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  .steps { grid-template-columns: 1fr; }
}

/* ── 개인정보 동의내역(폼) ── */
.consent-detail { margin-top: 8px; font-size: .82rem; }
.consent-detail summary { cursor: pointer; color: var(--mint); font-weight: 600; list-style: none; display: inline-flex; align-items: center; gap: 5px; }
.consent-detail summary::-webkit-details-marker { display: none; }
.consent-detail summary::before { content: '▸'; transition: transform .15s; }
.consent-detail[open] summary::before { transform: rotate(90deg); }
.consent-detail .cd-body { margin-top: 8px; padding: 12px 14px; background: var(--mint-bg); border: 1px solid var(--mint-soft); border-radius: 10px; color: #55605a; line-height: 1.65; }
.consent-detail .cd-body p { margin: 2px 0; }
.consent-detail .cd-more { margin-top: 8px !important; }
.consent-detail .cd-more a { color: var(--green); font-weight: 700; text-decoration: underline; }
/* ── 푸터 법적표기 ── */
.footer-biz { font-size: .82rem; opacity: .85; line-height: 1.7; }
.footer-legal { font-size: .82rem; opacity: .8; margin-top: 6px; }
.footer-legal a { color: #fff; font-weight: 600; text-decoration: underline; }
/* ── 개인정보처리방침 페이지 ── */
.policy { max-width: 820px; }
.policy .policy-intro { color: var(--muted); padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.policy-item { padding: 22px 0; border-bottom: 1px solid var(--line); }
.policy-item h2 { font-family: var(--font-title); font-size: 1.1rem; color: var(--green-deep); margin-bottom: 10px; }
.policy-item p { color: #55605a; }
.policy-item ul { margin-top: 8px; display: grid; gap: 6px; }
.policy-item li { display: flex; gap: 8px; color: #55605a; }
.policy-item li::before { content: '·'; color: var(--mint); font-weight: 700; }
.policy-date { margin-top: 20px; color: var(--muted); font-size: .9rem; }
