/*
Theme Name: 윤호병원 여성성형
Theme URI: https://yoonhowomen.com
Author: 5FUNNEL (OSC)
Description: 윤호병원 여성성형 특화 사이트 — Astro 정본(sites/yoonhowomen)의 충실 WP 포팅. 앤틱로즈 / 웜 아이보리 / 의료광고 규정 준수.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.9
Requires PHP: 8.0
Text Domain: yoonho
*/

/* ===== @osc/ui global.css (base resets + tokens + .osc-* + font-face) ===== */
/* ===========================================================================
   @osc/ui — global design tokens + Korean web guardrails
   Imported once per site (sites/<client>/src/layouts/BaseLayout.astro).
   Tailwind v4 is configured via @import "tailwindcss" in the site entry CSS;
   this file holds tokens + base resets shared across all client sites.
   =========================================================================== */

/* --- Pretendard Variable (self-hosted via CDN fallback) ------------------- */
@font-face {
  font-family: "Pretendard Variable";
  font-weight: 45 920;
  font-style: normal;
  font-display: swap;
  src: url("https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/dist/web/variable/woff2/PretendardVariable.woff2")
    format("woff2-variations");
}

:root {
  /* Brand — OSC client default (overridable per site).
     으뜸ENG = trust/blue construction tone. Single brand blue, no gradient soup. */
  --brand-primary: #1f5fbf;        /* primary blue */
  --brand-primary-dark: #16498f;
  --brand-primary-soft: #eaf1fb;   /* tinted background */
  --brand-ink: #16202e;            /* near-black text */
  --brand-ink-soft: #54616f;       /* secondary text */
  --brand-line: #e2e7ee;           /* hairline borders */
  --brand-surface: #ffffff;
  --brand-surface-alt: #f6f8fb;
  --brand-accent: #ff7a1a;         /* CTA / phone accent (warm) */
  --brand-success: #14924d;

  /* Typography */
  --font-sans: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont,
    "Apple SD Gothic Neo", "Malgun Gothic", "Noto Sans KR", system-ui, sans-serif;

  /* Radius / shadow (restrained — no heavy blobs) */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --shadow-card: 0 1px 2px rgba(22, 32, 46, 0.04), 0 8px 24px rgba(22, 32, 46, 0.06);

  /* Layout */
  --container-max: 720px;          /* mobile-first single-column lead page */
  --mobile-callbar-h: 64px;        /* reserved space for fixed bottom call bar */
}

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

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

body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--brand-ink);
  background: var(--brand-surface);
  line-height: 1.7;
  /* Korean text: prevent mid-syllable line breaks across the whole page. */
  word-break: keep-all;
  overflow-wrap: anywhere;
  /* iOS Safari address-bar safe — use dvh, never 100vh. */
  min-height: 100dvh;
}

/* Korean headlines: snug leading + balanced wrap (no orphan words). */
h1,
h2,
h3 {
  line-height: 1.25;
  text-wrap: balance;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin: 0;
}

p {
  text-wrap: pretty;
  margin: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

button {
  font-family: inherit;
  cursor: pointer;
}

/* --- Shared utility classes (framework-agnostic, used by @osc/ui parts) --- */
.osc-container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: 20px;
}

.osc-eyebrow {
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--brand-primary);
  text-transform: none;
}

/* CTA buttons — GPU-safe transitions only (transform/opacity). */
.osc-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 600;
  border-radius: var(--radius-md);
  padding: 14px 22px;
  border: 1px solid transparent;
  transition: transform 0.15s ease, opacity 0.15s ease;
  will-change: transform;
}
.osc-btn:active {
  transform: translateY(1px);
}
.osc-btn-primary {
  background: var(--brand-primary);
  color: #fff;
}
.osc-btn-call {
  background: var(--brand-accent);
  color: #fff;
}
.osc-btn-ghost {
  background: #fff;
  color: var(--brand-primary);
  border-color: var(--brand-primary);
}

/* Placeholder image slot — labeled, never a real unverified asset. */
.osc-image-slot {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: var(--brand-surface-alt);
  border: 1px dashed var(--brand-line);
  border-radius: var(--radius-md);
  color: var(--brand-ink-soft);
  font-size: 0.8125rem;
  padding: 24px;
  min-height: 160px;
}

/* Reduced-motion respect. */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .osc-btn {
    transition: none;
  }
}

/* ===== app.css (:root 앤틱로즈 오버라이드 + 3D 버튼) ===== */
/* Tailwind v4 (via @tailwindcss/vite) + shared OSC design tokens. */


/* ── 윤호병원 여성성형 — 앤틱 로즈 / 웜 아이보리 / 웜 차콜 / 베이지 ──
   global.css :root 토큰을 site 단위로 오버라이드 (import 뒤에 와서 우선 적용).
   무드: 차분·우아·여성 의료 신뢰. 주조 앤틱 로즈 + 웜 아이보리 배경. */
:root {
  --brand-primary: #8c4a5b;        /* 앤틱 로즈 (주조) */
  --brand-primary-dark: #6e3646;   /* 딥 앤틱 로즈 */
  --brand-primary-soft: #f3e7ea;   /* 앤틱 로즈 소프트 (틴트) */
  --brand-ink: #2c2622;            /* 웜 차콜 */
  --brand-ink-soft: #6f655e;       /* 보조 텍스트 (웜) */
  --brand-line: #eae0d6;           /* 헤어라인 (웜) */
  --brand-surface: #fbf7f2;        /* 웜 아이보리 (페이지 배경) */
  --brand-surface-alt: #f5eee6;    /* alt 섹션 / 입력 배경 (웜) */
  --brand-accent: #8c4a5b;         /* 전화 CTA 강조 (앤틱 로즈) */
  --brand-success: #3e7d5a;        /* 접수 완료 표시 */

  /* ── 클론 전용 토큰 (앤틱 로즈 팔레트) ── */
  --brand-dark: #2c2622;           /* 다크 섹션·푸터 (웜 차콜) */
  --brand-dark-2: #3a342f;         /* 다크 카드 (웜) */
  --brand-beige: #c9b8a8;          /* 커뮤니티 섹션 베이지 (유지) */
  --brand-beige-dark: #b7a08e;     /* 베이지 딥 */
  --brand-sage: #6c7a5e;           /* 서브 세이지 */
  --brand-gold: #b0895a;           /* 포인트 골드 */
  --brand-purple-1: #f3e7ea;       /* 그라데이션 시작 (앤틱 로즈 소프트) */
  --brand-purple-2: #fbf7f2;       /* 그라데이션 끝 (웜 아이보리) */

  /* ── 버튼 입체감(3D) 공통 토큰 ── 절제된 depth, 의료 신뢰 톤.
     sheen = 같은 색 위 세로 명도차(상단 하이라이트 → 하단 음영)로 버벨감.
     shadow = 다단 box-shadow. transform·box-shadow만 애니메이션(GPU). */
  --btn-sheen: linear-gradient(180deg, rgba(255, 255, 255, 0.16) 0%, rgba(255, 255, 255, 0) 46%, rgba(0, 0, 0, 0.12) 100%);
  --btn-shadow: 0 1px 2px rgba(44, 38, 34, 0.18), 0 3px 8px rgba(44, 38, 34, 0.14);
  --btn-shadow-hover: 0 3px 6px rgba(44, 38, 34, 0.20), 0 10px 22px rgba(44, 38, 34, 0.18);
  --btn-shadow-active: 0 1px 2px rgba(44, 38, 34, 0.22);
  --btn-shadow-dark: 0 2px 8px rgba(0, 0, 0, 0.32);
  --btn-shadow-dark-hover: 0 6px 20px rgba(0, 0, 0, 0.42);
}

/* ── 상담 폼 제출 · 전화 버튼(@osc/ui LeadForm .osc-btn) 입체감 ──
   공유 패키지는 수정하지 않고 site 레벨에서 오버라이드(@import 뒤 = 소스 순서 우선).
   solid 앤틱로즈 배경 위 sheen + depth shadow + hover 리프트 + active press. */
.osc-btn-primary,
.osc-btn-call {
  background: var(--btn-sheen), var(--brand-primary);
  box-shadow: var(--btn-shadow);
  transition: transform 0.18s ease-out, box-shadow 0.18s ease-out, filter 0.18s ease-out;
}
.osc-btn-call {
  background: var(--btn-sheen), var(--brand-accent);
}
.osc-btn-primary:hover,
.osc-btn-call:hover {
  transform: translateY(-2px);
  box-shadow: var(--btn-shadow-hover);
  filter: brightness(1.04);
}
.osc-btn-primary:active,
.osc-btn-call:active {
  transform: translateY(0);
  box-shadow: var(--btn-shadow-active);
}
@media (prefers-reduced-motion: reduce) {
  .osc-btn-primary,
  .osc-btn-call {
    transition: none;
  }
  .osc-btn-primary:hover,
  .osc-btn-call:hover {
    transform: none;
  }
}

/* ===== SiteHeader ===== */
.site-header {
    background: #fff;
    border-bottom: 1px solid var(--brand-line);
    position: relative;
    z-index: 40;
  }
  .site-header__util {
    display: flex;
    justify-content: flex-end;
    gap: 0.6rem;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0.55rem 1.25rem 0;
    font-size: 0.75rem;
    color: #9a9a9a;
  }
  .site-header__util a {
    color: #9a9a9a;
    text-decoration: none;
  }
  .site-header__util a:hover {
    color: var(--brand-primary);
  }
  .site-header__bar {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1.1rem 1.25rem;
    display: flex;
    align-items: center;
    gap: 2.5rem;
  }
  .brand {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    text-decoration: none;
    flex-shrink: 0;
  }
  .brand__mark {
    position: relative;
    width: 30px;
    height: 30px;
    display: inline-block;
  }
  .brand__mark-g {
    position: absolute;
    top: 0;
    left: 0;
    width: 22px;
    height: 22px;
    border-radius: 6px;
    background: var(--brand-primary-dark); /* 딥 앤틱 로즈 (실 로고 도착 전 임시 마크) */
  }
  .brand__mark-b {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 12px;
    height: 12px;
    border-radius: 3px;
    background: var(--brand-primary); /* 앤틱 로즈 */
  }
  .brand__name {
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--brand-ink);
    letter-spacing: -0.01em;
  }
  .site-nav {
    display: flex;
    align-items: center;
    gap: 1.75rem;
  }
  .site-nav__link {
    font-size: 1.0rem;
    font-weight: 600;
    color: #333;
    text-decoration: none;
    padding: 0.35rem 0;
    white-space: nowrap;
    transition: color 0.15s ease;
  }
  .site-nav__link:hover,
  .site-nav__link.active {
    color: var(--brand-primary);
  }

  /* 햄버거 버튼 — 데스크탑 숨김 */
  .site-nav__toggle {
    display: none;
    margin-left: auto;
    width: 44px;
    height: 44px;
    border: none;
    background: transparent;
    cursor: pointer;
    padding: 0;
    align-items: center;
    justify-content: center;
  }
  .site-nav__bars {
    position: relative;
    width: 24px;
    height: 16px;
  }
  .site-nav__bars span {
    position: absolute;
    left: 0;
    width: 100%;
    height: 2px;
    border-radius: 2px;
    background: var(--brand-ink);
    transition: transform 0.25s ease, opacity 0.2s ease, top 0.25s ease;
  }
  .site-nav__bars span:nth-child(1) { top: 0; }
  .site-nav__bars span:nth-child(2) { top: 7px; }
  .site-nav__bars span:nth-child(3) { top: 14px; }
  .site-nav__toggle.is-open .site-nav__bars span:nth-child(1) {
    top: 7px;
    transform: rotate(45deg);
  }
  .site-nav__toggle.is-open .site-nav__bars span:nth-child(2) { opacity: 0; }
  .site-nav__toggle.is-open .site-nav__bars span:nth-child(3) {
    top: 7px;
    transform: rotate(-45deg);
  }

  @media (max-width: 900px) {
    .site-header__bar {
      flex-wrap: nowrap;
      gap: 1rem;
      padding: 0.9rem 1.25rem;
    }
    .site-nav__toggle {
      display: inline-flex;
    }
    /* 네비 = 헤더 하단 드롭다운 패널 */
    .site-nav {
      position: absolute;
      left: 0;
      right: 0;
      top: 100%;
      flex-direction: column;
      align-items: stretch;
      gap: 0;
      background: #fff;
      border-bottom: 1px solid var(--brand-line);
      box-shadow: 0 14px 24px rgba(44, 38, 34, 0.1);
      max-height: 0;
      overflow: hidden;
      transition: max-height 0.28s ease;
      z-index: 50;
    }
    .site-nav.is-open {
      max-height: 82vh;
    }
    .site-nav__link {
      padding: 0.95rem 1.5rem;
      font-size: 1rem;
      border-top: 1px solid var(--brand-line);
    }
  }
  @media (prefers-reduced-motion: reduce) {
    .site-nav,
    .site-nav__bars span {
      transition: none;
    }
  }

/* ===== SiteHero ===== */
.hero {
    position: relative;
    width: 100%;
    height: 760px;
    overflow: hidden;
    background: #1c1c1c;
  }
  .hero__bg {
    position: absolute;
    inset: 0;
  }
  .hero__bg .img-slot {
    height: 100%;
  }
  /* 인물 머리가 상단에서 잘리지 않게 크롭 기준을 상단 쪽으로 */
  .hero__bg .img-slot__img {
    object-position: center top;
  }
  .hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
      90deg,
      rgba(20, 24, 26, 0.82) 0%,
      rgba(20, 24, 26, 0.55) 45%,
      rgba(20, 24, 26, 0.25) 100%
    );
  }
  .hero__constellation {
    position: absolute;
    top: 40px;
    left: 40px;
    width: 480px;
    height: 320px;
    pointer-events: none;
  }
  .hero__inner {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.25rem;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
  .hero__brandline {
    line-height: 1;
    margin-bottom: 1.5rem;
    font-family: Georgia, "Times New Roman", serif;
  }
  .hero__secret {
    font-size: 6rem;
    font-weight: 700;
    color: var(--brand-primary);
    letter-spacing: -0.02em;
  }
  .hero__beauty {
    font-size: 6rem;
    font-weight: 400;
    font-style: italic;
    color: #d9a7b4;
    margin-left: 0.4rem;
  }
  .hero__sub {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.15rem;
    margin-bottom: 0.6rem;
    font-weight: 400;
  }
  .hero__headline {
    color: #fff;
    font-size: 3.6rem;
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.02em;
    background: linear-gradient(180deg, #d9a7b4 0%, var(--brand-primary) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 2.4rem;
  }
  .hero__btn {
    align-self: flex-start;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.9rem 2rem;
    border: 1px solid rgba(255, 255, 255, 0.55);
    color: #fff;
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    letter-spacing: 0.02em;
    background: rgba(255, 255, 255, 0.04);
    box-shadow: var(--btn-shadow-dark);
    transition: transform 0.18s ease-out, box-shadow 0.18s ease-out,
      border-color 0.18s ease-out, color 0.18s ease-out, background-color 0.18s ease-out;
  }
  .hero__btn:hover {
    border-color: var(--brand-primary);
    color: var(--brand-primary);
    background: rgba(140, 74, 91, 0.14);
    transform: translateY(-2px);
    box-shadow: var(--btn-shadow-dark-hover);
  }
  .hero__btn:active {
    transform: translateY(0);
    box-shadow: var(--btn-shadow-dark);
  }
  @media (prefers-reduced-motion: reduce) {
    .hero__btn {
      transition: none;
    }
    .hero__btn:hover {
      transform: none;
    }
  }
  .hero__btn-arrow {
    font-size: 1.2rem;
    line-height: 1;
  }
  .hero__dots {
    position: absolute;
    bottom: 26px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.5rem;
    z-index: 3;
  }
  .hero__dots span {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.45);
  }
  .hero__dots span.on {
    background: var(--brand-primary);
  }

  @media (max-width: 900px) {
    .hero {
      height: 560px;
    }
    .hero__secret,
    .hero__beauty {
      font-size: 3.4rem;
    }
    .hero__headline {
      font-size: 2.2rem;
    }
    .hero__constellation {
      width: 260px;
      height: 180px;
    }
  }

/* ===== CommunitySection ===== */
.community {
    position: relative;
    min-height: 470px;
    background: var(--brand-beige);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
  }
  /* 좌측 모델 이미지 — 절대배치(세로 꽉), 콘텐츠는 섹션 전체 기준 중앙 */
  .community__model {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 340px;
  }
  .community__model .img-slot {
    height: 100%;
  }
  /* 우상단 상담박스(전화만) */
  .community__contact {
    position: absolute;
    top: 1.6rem;
    right: 6.5rem;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.3rem;
    padding: 0.9rem 1.3rem;
    background: rgba(40, 40, 40, 0.9);
    border-radius: 6px;
    color: #fff;
    text-decoration: none;
  }
  .community__contact-label {
    font-size: 0.72rem;
    color: rgba(255, 255, 255, 0.7);
  }
  .community__contact-phone {
    font-size: 1.35rem;
    font-weight: 800;
  }
  /* 중앙 콘텐츠 그룹 */
  .community__inner {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: 3rem 2rem;
  }
  .community__head {
    margin-bottom: 2rem;
  }
  .community__title {
    font-size: 2.15rem;
    font-weight: 400;
    color: #4a3f36;
    letter-spacing: 0.02em;
    word-break: keep-all;
  }
  .community__title strong {
    font-weight: 800;
    color: #33291f;
  }
  .community__sub {
    margin-top: 0.55rem;
    color: #6b5c4e;
    font-size: 0.95rem;
  }
  .community__menu {
    display: flex;
    gap: 3.2rem;
    justify-content: center;
  }
  .community__menu-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.7rem;
    text-decoration: none;
    color: #3f342b;
  }
  .community__menu-icon {
    width: 46px;
    height: 46px;
    color: #4a3f36;
    transition: color 0.15s ease;
  }
  .community__menu-icon svg {
    width: 100%;
    height: 100%;
  }
  .community__menu-item:hover .community__menu-icon {
    color: var(--brand-primary);
  }
  .community__menu-label {
    font-size: 0.9rem;
    font-weight: 600;
  }

  @media (max-width: 900px) {
    .community {
      flex-direction: column;
      min-height: auto;
    }
    .community__model {
      position: static;
      width: 100%;
      height: 220px;
    }
    .community__contact {
      position: static;
      margin: 1.5rem auto 0;
      align-self: center;
    }
    .community__inner {
      padding: 2.5rem 1.5rem;
    }
    .community__menu {
      gap: 1.5rem;
      flex-wrap: wrap;
    }
  }

/* ===== ClinicGrid ===== */
.clinics {
    background: #f2f2f2;
    padding: 3.5rem 1.25rem;
  }
  .clinics__grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    border: 1px solid #e2e2e2;
  }
  .card {
    display: flex;
    flex-direction: column;
    min-height: 220px;
    text-decoration: none;
    border: 1px solid #e2e2e2;
    margin: -0.5px;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
  }
  .card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.12);
    z-index: 2;
  }
  .card__img {
    width: 100%;
  }
  .card__body {
    flex: 1;
    padding: 1.25rem 1.4rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
  .card__eyebrow {
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    opacity: 0.85;
    margin-bottom: 0.2rem;
  }
  .card__title {
    font-size: 1.2rem;
    font-weight: 800;
    line-height: 1.3;
  }
  .card__desc {
    margin-top: 0.55rem;
    font-size: 0.85rem;
    line-height: 1.5;
    opacity: 0.85;
  }

  /* tone 팔레트 */
  .card--white {
    background: #fff;
    color: var(--brand-ink);
  }
  .card--grey {
    background: #e4e4e4;
    color: #333;
  }
  .card--beige {
    background: var(--brand-beige);
    color: #3f342b;
  }
  .card--turquoise {
    background: var(--brand-primary);
    color: #fff;
  }
  .card--turquoise .card__desc {
    opacity: 0.92;
  }
  .card--rosedeep {
    background: var(--brand-primary-dark);
    color: #fff;
  }
  .card--rosedeep .card__desc {
    opacity: 0.92;
  }
  .card--dark {
    background: var(--brand-dark);
    color: #fff;
  }

  @media (max-width: 900px) {
    .clinics__grid {
      grid-template-columns: repeat(2, 1fr);
    }
  }
  @media (max-width: 560px) {
    .clinics__grid {
      grid-template-columns: 1fr;
    }
  }

/* ===== ImageSlot ===== */
.img-slot {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: repeating-linear-gradient(
      -45deg,
      #dcdcdc,
      #dcdcdc 12px,
      #d3d3d3 12px,
      #d3d3d3 24px
    );
    color: #7a7a7a;
    overflow: hidden;
  }
  .img-slot.dark {
    background: repeating-linear-gradient(
      -45deg,
      #3b3b3b,
      #3b3b3b 12px,
      #333 12px,
      #333 24px
    );
    color: #b8b8b8;
  }
  .img-slot__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
  }
  .img-slot__label {
    font-size: 0.8rem;
    letter-spacing: 0.02em;
    padding: 0.35em 0.9em;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.72);
    color: #555;
    white-space: nowrap;
  }
  .img-slot.dark .img-slot__label {
    background: rgba(0, 0, 0, 0.4);
    color: #ddd;
  }

/* ===== SectionHead ===== */
.sec-head {
    max-width: 760px;
    margin: 0 auto 2.8rem;
    text-align: center;
  }
  .sec-head__eyebrow {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    color: var(--brand-primary);
    margin-bottom: 0.85rem;
  }
  .sec-head__title {
    font-size: 2.1rem;
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: 0.01em;
    color: var(--brand-ink);
    word-break: keep-all;
  }
  .sec-head__title strong {
    font-weight: 800;
    color: var(--brand-primary-dark);
  }
  .sec-head__sub {
    margin-top: 0.95rem;
    color: var(--brand-ink-soft);
    font-size: 0.98rem;
    line-height: 1.6;
    word-break: keep-all;
  }

  @media (max-width: 900px) {
    .sec-head {
      margin-bottom: 2rem;
    }
    .sec-head__title {
      font-size: 1.55rem;
    }
  }

/* ===== ConcernSection ===== */
.concern {
    background: var(--brand-surface);
    padding: 4.5rem 1.25rem;
  }
  .concern__inner {
    max-width: 1080px;
    margin: 0 auto;
  }
  .concern__grid {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
  }
  .concern__item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.35rem 1.5rem;
    background: var(--brand-primary-soft);
    border: 1px solid var(--brand-line);
    border-radius: 4px;
    font-size: 1.02rem;
    color: var(--brand-ink);
    word-break: keep-all;
    line-height: 1.5;
  }
  .concern__check {
    flex: 0 0 auto;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: var(--brand-primary);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
  .concern__check svg {
    width: 18px;
    height: 18px;
  }

  @media (max-width: 720px) {
    .concern__grid {
      grid-template-columns: 1fr;
    }
    .concern {
      padding: 3rem 1.25rem;
    }
  }

/* ===== TrustSection ===== */
.trust {
    background: var(--brand-surface-alt);
    padding: 4.5rem 1.25rem;
  }
  .trust__inner {
    max-width: 1200px;
    margin: 0 auto;
  }
  .trust__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    border: 1px solid var(--brand-line);
  }
  .trust__card {
    display: flex;
    flex-direction: column;
    min-height: 260px;
    padding: 2.2rem 2rem;
    border: 1px solid var(--brand-line);
    margin: -0.5px;
  }
  .trust__num {
    font-size: 0.9rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    opacity: 0.55;
    margin-bottom: 1.4rem;
  }
  .trust__title {
    font-size: 1.3rem;
    font-weight: 800;
    line-height: 1.35;
    word-break: keep-all;
  }
  .trust__body {
    margin-top: 0.9rem;
    font-size: 0.95rem;
    line-height: 1.7;
    opacity: 0.9;
    word-break: keep-all;
  }

  .trust__card--white {
    background: #fff;
    color: var(--brand-ink);
  }
  .trust__card--rose {
    background: var(--brand-primary);
    color: #fff;
  }
  .trust__card--beige {
    background: var(--brand-beige);
    color: #3f342b;
  }

  @media (max-width: 900px) {
    .trust__grid {
      grid-template-columns: 1fr;
    }
    .trust__card {
      min-height: 0;
    }
    .trust {
      padding: 3rem 1.25rem;
    }
  }

/* ===== TreatmentPointSection ===== */
.tpoint {
    background: var(--brand-surface);
    padding: 4.5rem 1.25rem;
  }
  .tpoint__inner {
    max-width: 1120px;
    margin: 0 auto;
  }
  .tpoint__rows {
    display: grid;
    gap: 2rem;
  }
  .tpoint__row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: stretch;
    border: 1px solid var(--brand-line);
    background: #fff;
    overflow: hidden;
  }
  .tpoint__media {
    min-height: 300px;
  }
  .tpoint__media .img-slot {
    height: 100%;
  }
  .tpoint__copy {
    padding: 2.6rem 2.6rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: var(--brand-primary-soft);
    border-left: 4px solid var(--brand-primary);
  }
  .tpoint__row[data-flip="true"] .tpoint__media {
    order: 2;
  }
  .tpoint__row[data-flip="true"] .tpoint__copy {
    border-left: 0;
    border-right: 4px solid var(--brand-primary);
  }
  .tpoint__num {
    font-size: 0.9rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    color: var(--brand-primary-dark);
  }
  .tpoint__title {
    margin-top: 0.5rem;
    font-size: 1.45rem;
    font-weight: 800;
    color: var(--brand-ink);
    word-break: keep-all;
  }
  .tpoint__body {
    margin-top: 0.9rem;
    font-size: 0.98rem;
    line-height: 1.75;
    color: var(--brand-ink-soft);
    word-break: keep-all;
  }
  .tpoint__link {
    align-self: flex-start;
    margin-top: 1.6rem;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--brand-primary-dark);
    text-decoration: none;
    padding-bottom: 2px;
    border-bottom: 1px solid var(--brand-primary);
  }

  @media (max-width: 860px) {
    .tpoint__row {
      grid-template-columns: 1fr;
    }
    .tpoint__row[data-flip="true"] .tpoint__media {
      order: 0;
    }
    .tpoint__media {
      min-height: 220px;
    }
    .tpoint__copy,
    .tpoint__row[data-flip="true"] .tpoint__copy {
      border-left: 0;
      border-right: 0;
      border-top: 4px solid var(--brand-primary);
      padding: 2rem 1.8rem;
    }
    .tpoint {
      padding: 3rem 1.25rem;
    }
  }

/* ===== ProcessSection ===== */
.proc {
    background: var(--brand-surface-alt);
    padding: 4.5rem 1.25rem;
  }
  .proc__inner {
    max-width: 1120px;
    margin: 0 auto;
  }
  .proc__steps {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(var(--proc-count), 1fr);
    position: relative;
  }
  /* 번호 원을 잇는 연결선 (원 중심 높이에 정렬) */
  .proc__steps::before {
    content: "";
    position: absolute;
    top: 32px;
    left: 10%;
    right: 10%;
    height: 2px;
    background: var(--brand-primary);
    opacity: 0.35;
  }
  .proc__step {
    position: relative;
    text-align: center;
    padding: 0 0.6rem;
  }
  .proc__num {
    width: 64px;
    height: 64px;
    margin: 0 auto 1.1rem;
    border-radius: 50%;
    background: var(--brand-primary);
    color: #fff;
    font-size: 1.5rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 16px rgba(140, 74, 91, 0.28);
  }
  .proc__label {
    font-size: 1.02rem;
    font-weight: 800;
    color: var(--brand-ink);
    word-break: keep-all;
  }
  .proc__body {
    margin-top: 0.5rem;
    font-size: 0.86rem;
    line-height: 1.6;
    color: var(--brand-ink-soft);
    word-break: keep-all;
  }

  @media (max-width: 860px) {
    .proc__steps {
      grid-template-columns: 1fr;
      gap: 1rem;
      max-width: 420px;
      margin: 0 auto;
    }
    .proc__steps::before {
      display: none;
    }
    .proc__step {
      display: grid;
      grid-template-columns: 64px 1fr;
      gap: 1rem;
      align-items: center;
      text-align: left;
    }
    .proc__num {
      margin: 0;
    }
    .proc__label {
      grid-column: 2;
    }
    .proc__body {
      grid-column: 2;
      margin-top: 0.2rem;
    }
    .proc {
      padding: 3rem 1.25rem;
    }
  }

/* ===== CompareSection ===== */
.cmp {
    background: var(--brand-surface);
    padding: 4.5rem 1.25rem;
  }
  .cmp__inner {
    max-width: 1000px;
    margin: 0 auto;
  }
  .cmp__blocks {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
    align-items: stretch;
  }
  .cmp__block {
    border-radius: 6px;
    overflow: hidden;
    border: 1px solid var(--brand-line);
  }
  .cmp__head {
    padding: 1.2rem 1.6rem;
    font-size: 1.1rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.6rem;
    word-break: keep-all;
  }
  .cmp__pill {
    flex: 0 0 auto;
    font-size: 0.68rem;
    font-weight: 800;
    font-style: normal;
    background: #fff;
    color: var(--brand-primary-dark);
    padding: 0.2rem 0.6rem;
    border-radius: 999px;
  }
  .cmp__list {
    list-style: none;
    margin: 0;
    padding: 0.6rem 0;
  }
  .cmp__item {
    display: flex;
    align-items: flex-start;
    gap: 0.85rem;
    padding: 1rem 1.6rem;
  }
  .cmp__mark {
    flex: 0 0 auto;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-size: 0.75rem;
    font-weight: 900;
    margin-top: 0.1rem;
  }
  .cmp__row-copy {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    word-break: keep-all;
  }
  .cmp__axis {
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    opacity: 0.7;
  }
  .cmp__val {
    font-size: 0.98rem;
    line-height: 1.45;
  }

  /* 좌: 공장형 (웜 그레이, 담백) */
  .cmp__block--others {
    background: var(--brand-surface-alt);
    color: var(--brand-ink-soft);
  }
  .cmp__block--others .cmp__head {
    background: #e7ddd2;
    color: var(--brand-ink);
  }
  .cmp__mark--x {
    background: #f3e0e0;
    color: #b3524f;
  }

  /* 우: 윤호 (앤틱로즈 솔리드 강조) */
  .cmp__block--ours {
    background: var(--brand-primary);
    color: #fff;
    border-color: var(--brand-primary-dark);
  }
  .cmp__block--ours .cmp__head {
    background: var(--brand-primary-dark);
    color: #fff;
  }
  .cmp__block--ours .cmp__axis {
    opacity: 0.8;
  }
  .cmp__mark--v {
    background: #fff;
    color: var(--brand-primary-dark);
  }

  @media (max-width: 720px) {
    .cmp__blocks {
      grid-template-columns: 1fr;
    }
    .cmp {
      padding: 3rem 1.25rem;
    }
  }

/* ===== FaqSection ===== */
.faq {
    background: var(--brand-surface-alt);
    padding: 4.5rem 1.25rem;
  }
  .faq__inner {
    max-width: 820px;
    margin: 0 auto;
  }
  .faq__list {
    display: grid;
    gap: 0.75rem;
  }
  .faq__item {
    background: #fff;
    border: 1px solid var(--brand-line);
    border-radius: 6px;
    padding: 0 1.5rem;
  }
  .faq__q {
    cursor: pointer;
    list-style: none;
    display: flex;
    align-items: center;
    gap: 0.9rem;
    padding: 1.25rem 0;
    font-weight: 700;
    color: var(--brand-ink);
    word-break: keep-all;
  }
  .faq__q::-webkit-details-marker {
    display: none;
  }
  .faq__q-badge {
    flex: 0 0 auto;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--brand-primary);
    color: #fff;
    font-size: 0.85rem;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
  .faq__q-text {
    flex: 1;
  }
  .faq__q::after {
    content: "+";
    flex: 0 0 auto;
    color: var(--brand-primary);
    font-size: 1.35rem;
    font-weight: 700;
    line-height: 1;
  }
  .faq__item[open] .faq__q::after {
    content: "−";
  }
  .faq__a {
    padding: 0 0 1.4rem 1.9rem;
    color: var(--brand-ink-soft);
    font-size: 0.95rem;
    line-height: 1.75;
    word-break: keep-all;
  }

  @media (max-width: 720px) {
    .faq {
      padding: 3rem 1.25rem;
    }
  }

/* ===== ContactSection ===== */
.contact {
    position: relative;
    background: linear-gradient(
      165deg,
      var(--brand-primary-soft) 0%,
      #f7ebee 42%,
      var(--brand-surface) 100%
    );
    padding: 5rem 1.25rem 5.5rem;
    overflow: hidden;
  }
  /* 상단 은은한 앤틱로즈 광원 */
  .contact::before {
    content: "";
    position: absolute;
    top: -140px;
    left: 50%;
    transform: translateX(-50%);
    width: 620px;
    height: 620px;
    background: radial-gradient(circle, rgba(140, 74, 91, 0.14) 0%, transparent 62%);
    pointer-events: none;
  }
  .contact__inner {
    position: relative;
    z-index: 1;
    max-width: 1000px;
    margin: 0 auto;
  }
  .contact__form {
    max-width: 540px;
    margin: 0 auto;
  }

  @media (max-width: 720px) {
    .contact {
      padding: 3.2rem 1.25rem 3.6rem;
    }
  }

/* ===== DarkCta ===== */
.darkcta {
    position: relative;
    overflow: hidden;
    background: #232628;
  }
  .darkcta__bg {
    position: absolute;
    inset: 0;
    filter: blur(2px);
  }
  .darkcta__bg .img-slot {
    height: 100%;
  }
  .darkcta__overlay {
    position: absolute;
    inset: 0;
    background: rgba(25, 28, 30, 0.82);
  }
  .darkcta__inner {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    padding: 4.5rem 1.25rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    flex-wrap: wrap;
  }
  .darkcta__title {
    color: #fff;
    font-size: 2rem;
    font-weight: 800;
    letter-spacing: -0.01em;
  }
  .darkcta__lead {
    color: rgba(255, 255, 255, 0.75);
    margin-top: 0.7rem;
    font-size: 0.98rem;
  }
  .darkcta__btns {
    display: flex;
    gap: 0.75rem;
    margin-top: 1.6rem;
    flex-wrap: wrap;
  }
  .darkcta__btn {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.75rem 1.4rem;
    border: 1px solid rgba(255, 255, 255, 0.4);
    color: #fff;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    box-shadow: var(--btn-shadow-dark);
    transition: transform 0.18s ease-out, box-shadow 0.18s ease-out,
      border-color 0.18s ease-out, color 0.18s ease-out, background-color 0.18s ease-out;
  }
  .darkcta__btn:hover {
    border-color: var(--brand-primary);
    color: var(--brand-primary);
    background: rgba(140, 74, 91, 0.16);
    transform: translateY(-2px);
    box-shadow: var(--btn-shadow-dark-hover);
  }
  .darkcta__btn:active {
    transform: translateY(0);
    box-shadow: var(--btn-shadow-dark);
  }
  @media (prefers-reduced-motion: reduce) {
    .darkcta__btn {
      transition: none;
    }
    .darkcta__btn:hover {
      transform: none;
    }
  }
  .darkcta__right {
    text-align: right;
  }
  .darkcta__phone-label {
    color: rgba(255, 255, 255, 0.85);
    font-size: 1.05rem;
    margin-bottom: 0.3rem;
  }
  .darkcta__phone {
    display: block;
    color: var(--brand-primary);
    font-size: 3rem;
    font-weight: 800;
    letter-spacing: 0.01em;
    text-decoration: none;
    line-height: 1.1;
  }
  .darkcta__subphone {
    color: var(--brand-primary);
    font-size: 1.05rem;
    font-weight: 600;
    margin-top: 0.2rem;
  }

  @media (max-width: 900px) {
    .darkcta__inner {
      flex-direction: column;
      align-items: flex-start;
    }
    .darkcta__right {
      text-align: left;
    }
    .darkcta__phone {
      font-size: 2.2rem;
    }
  }

/* ===== SiteFooter ===== */
.site-footer {
    background: var(--brand-dark);
    color: #b9b9b9;
  }
  .site-footer__inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 3rem 1.25rem 3.5rem;
  }
  .site-footer__util {
    display: flex;
    justify-content: flex-end;
    gap: 0.5rem;
    margin-bottom: 1.75rem;
  }
  .site-footer__util a {
    font-size: 0.75rem;
    color: #cfcfcf;
    text-decoration: none;
    padding: 0.35rem 0.85rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 3px;
  }
  .site-footer__util a:hover {
    border-color: var(--brand-primary);
    color: var(--brand-primary);
  }
  .site-footer__sitemap {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 1.75rem 1.25rem;
    padding-bottom: 2.25rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }
  .fcol__head {
    display: block;
    font-size: 0.95rem;
    font-weight: 700;
    color: #fff;
    text-decoration: none;
    margin-bottom: 0.9rem;
  }
  .fcol__head:hover {
    color: var(--brand-primary);
  }
  .fcol__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
  }
  .fcol__list a {
    font-size: 0.82rem;
    color: #9a9a9a;
    text-decoration: none;
  }
  .fcol__list a:hover {
    color: #ddd;
  }
  .site-footer__biz {
    padding-top: 1.75rem;
  }
  .site-footer__bizline {
    font-size: 0.82rem;
    color: #aeaeae;
    line-height: 1.7;
  }
  .site-footer__notice {
    font-size: 0.8rem;
    color: var(--brand-primary);
    margin-top: 0.5rem;
  }
  .site-footer__copy {
    font-size: 0.75rem;
    color: #7d7d7d;
    margin-top: 0.75rem;
  }

  @media (max-width: 1100px) {
    .site-footer__sitemap {
      grid-template-columns: repeat(3, 1fr);
    }
  }
  @media (max-width: 600px) {
    .site-footer__sitemap {
      grid-template-columns: repeat(2, 1fr);
    }
  }

/* ===== QuickMenu ===== */
.quickmenu {
    position: fixed;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    z-index: 45;
    display: flex;
    flex-direction: column;
    background: rgba(40, 40, 40, 0.82);
    border-radius: 4px 0 0 4px;
    overflow: hidden;
  }
  .quickmenu__item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    width: 74px;
    padding: 0.95rem 0.5rem;
    color: #e8e8e8;
    text-decoration: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: background 0.15s ease, color 0.15s ease;
  }
  .quickmenu__item:last-child {
    border-bottom: none;
  }
  .quickmenu__item:hover {
    background: var(--brand-primary);
    color: #fff;
  }
  .quickmenu__icon {
    width: 26px;
    height: 26px;
    display: inline-flex;
  }
  .quickmenu__icon svg {
    width: 100%;
    height: 100%;
  }
  .quickmenu__label {
    font-size: 0.72rem;
    letter-spacing: -0.01em;
  }

  @media (max-width: 900px) {
    .quickmenu {
      display: none;
    }
  }

/* ===== ContactBox ===== */
.contactbox {
    position: fixed;
    bottom: 0;
    right: 0;
    z-index: 45;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.2rem;
    padding: 0.85rem 1.6rem 1rem;
    min-width: 260px;
    background: rgba(40, 40, 40, 0.86);
    color: #fff;
    text-decoration: none;
    border-radius: 6px 0 0 0;
  }
  .contactbox__label {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.75);
    letter-spacing: 0.02em;
  }
  .contactbox__phone {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.7rem;
    font-weight: 800;
    color: #fff;
    letter-spacing: 0.01em;
  }
  .contactbox__ic {
    width: 22px;
    height: 22px;
    display: inline-flex;
    color: var(--brand-primary);
  }
  .contactbox__ic svg {
    width: 100%;
    height: 100%;
  }

  @media (max-width: 900px) {
    .contactbox {
      display: none;
    }
  }

/* ===== TreatmentSubnav ===== */
.tsubnav {
    background: #fff;
  }
  .tsubnav__band {
    background: var(--brand-surface-alt);
    border-top: 1px solid var(--brand-line);
    border-bottom: 1px solid var(--brand-line);
  }
  .tsubnav__tabs {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.25rem;
    list-style: none;
    display: flex;
    flex-wrap: wrap;
  }
  .tsubnav__tab {
    display: inline-flex;
    align-items: center;
    height: 48px;
    padding: 0 1.4rem;
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--brand-ink-soft);
    text-decoration: none;
    white-space: nowrap;
    transition: color 0.15s ease, background 0.15s ease;
  }
  .tsubnav__tab:hover {
    color: var(--brand-primary-dark);
  }
  .tsubnav__tab.active {
    background: var(--brand-primary);
    color: #fff;
    font-weight: 700;
  }
  .tsubnav__head {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2.6rem 1.25rem 2.4rem;
  }
  .tsubnav__crumb {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.82rem;
    color: var(--brand-ink-soft);
  }
  .tsubnav__home {
    display: inline-block;
    padding: 0.2rem 0.6rem;
    background: var(--brand-ink);
    color: #fff;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-decoration: none;
    border-radius: 2px;
  }
  .tsubnav__sep {
    color: var(--brand-line);
  }
  .tsubnav__crumb-leaf {
    color: var(--brand-primary-dark);
    font-weight: 600;
  }
  .tsubnav__title {
    margin-top: 0.9rem;
    font-size: 2.7rem;
    font-weight: 800;
    letter-spacing: -0.01em;
    color: var(--brand-ink);
    word-break: keep-all;
  }

  @media (max-width: 900px) {
    .tsubnav__tabs {
      overflow-x: auto;
    }
    .tsubnav__tab {
      height: 42px;
      padding: 0 1rem;
      font-size: 0.82rem;
    }
    .tsubnav__title {
      font-size: 1.8rem;
    }
  }

/* ===== TreatmentHero ===== */
.thero {
    background: linear-gradient(
      120deg,
      var(--brand-purple-1) 0%,
      #f7ecef 46%,
      var(--brand-purple-2) 100%
    );
  }
  .thero__inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 3.4rem 1.25rem 3.6rem;
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    align-items: center;
    gap: 2.5rem;
  }
  .thero__eyebrow {
    display: inline-block;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    color: var(--brand-primary);
    margin-bottom: 1rem;
  }
  .thero__headline {
    font-size: 2.6rem;
    font-weight: 800;
    line-height: 1.3;
    letter-spacing: -0.01em;
    color: var(--brand-ink);
    word-break: keep-all;
  }
  .thero__headline strong {
    color: var(--brand-primary-dark);
  }
  .thero__sub {
    margin-top: 1.15rem;
    font-size: 1.02rem;
    line-height: 1.75;
    color: var(--brand-ink-soft);
    word-break: keep-all;
    max-width: 30rem;
  }
  .thero__ctas {
    display: flex;
    gap: 0.75rem;
    margin-top: 2.1rem;
    flex-wrap: wrap;
  }
  .thero__cta {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    min-height: 58px;
    padding: 0 1.5rem;
    color: #fff;
    text-decoration: none;
    border-radius: 3px;
    font-weight: 600;
    box-shadow: var(--btn-shadow);
    transition: transform 0.18s ease-out, box-shadow 0.18s ease-out, filter 0.18s ease-out;
  }
  .thero__cta:hover {
    filter: brightness(1.05);
    transform: translateY(-2px);
    box-shadow: var(--btn-shadow-hover);
  }
  .thero__cta:active {
    transform: translateY(0);
    box-shadow: var(--btn-shadow-active);
  }
  .thero__cta-ic {
    width: 24px;
    height: 24px;
    display: inline-flex;
    flex: 0 0 auto;
  }
  .thero__cta-ic svg {
    width: 100%;
    height: 100%;
  }
  .thero__cta-tx {
    font-size: 0.98rem;
  }
  .thero__cta--rose {
    background: var(--btn-sheen), var(--brand-primary);
  }
  .thero__cta--sage {
    background: var(--btn-sheen), var(--brand-sage);
  }
  .thero__cta--gold {
    background: var(--btn-sheen), var(--brand-gold);
  }
  @media (prefers-reduced-motion: reduce) {
    .thero__cta {
      transition: none;
    }
    .thero__cta:hover {
      transform: none;
    }
  }
  .thero__cta-stack {
    display: flex;
    flex-direction: column;
    line-height: 1.15;
  }
  .thero__cta-cap {
    font-size: 0.72rem;
    opacity: 0.9;
  }
  .thero__cta-phone {
    font-size: 1.12rem;
    font-weight: 800;
    letter-spacing: 0.01em;
  }
  .thero__media {
    align-self: stretch;
    min-height: 340px;
  }
  .thero__media .img-slot {
    height: 100%;
    border-radius: 4px;
  }

  @media (max-width: 900px) {
    .thero__inner {
      grid-template-columns: 1fr;
      gap: 1.75rem;
      padding: 2.4rem 1.25rem 2.6rem;
    }
    .thero__headline {
      font-size: 1.9rem;
    }
    .thero__media {
      min-height: 260px;
      order: -1;
    }
  }

/* ===== DoctorSection ===== */
.doctor {
    background: var(--brand-dark);
  }
  .doctor__inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0;
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    align-items: stretch;
  }
  .doctor__media {
    min-height: 360px;
  }
  .doctor__media .img-slot {
    height: 100%;
  }
  .doctor__copy {
    padding: 3.6rem 3.2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
  .doctor__title {
    font-size: 2rem;
    font-weight: 800;
    line-height: 1.35;
    color: #fff;
    word-break: keep-all;
  }
  .doctor__title-em {
    color: #d9a7b4;
  }
  .doctor__lead {
    margin-top: 1.3rem;
    font-size: 1.02rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.86);
    word-break: keep-all;
  }
  .doctor__note {
    margin-top: 1rem;
    font-size: 0.9rem;
    line-height: 1.75;
    color: rgba(255, 255, 255, 0.6);
    word-break: keep-all;
  }

  @media (max-width: 900px) {
    .doctor__inner {
      grid-template-columns: 1fr;
    }
    .doctor__media {
      min-height: 240px;
    }
    .doctor__copy {
      padding: 2.4rem 1.5rem;
    }
    .doctor__title {
      font-size: 1.55rem;
    }
  }

/* ===== TreatmentDetail ===== */
.tdpoints {
    background: var(--brand-surface);
    padding: 4.5rem 1.25rem;
  }
  .tdpoints__inner {
    max-width: 1120px;
    margin: 0 auto;
  }
  .tdpoints__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    border: 1px solid var(--brand-line);
  }
  .tdpoints__card {
    display: flex;
    flex-direction: column;
    min-height: 260px;
    padding: 2.2rem 2rem;
    border: 1px solid var(--brand-line);
    margin: -0.5px;
  }
  .tdpoints__num {
    font-size: 0.9rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    opacity: 0.55;
    margin-bottom: 1.4rem;
  }
  .tdpoints__title {
    font-size: 1.25rem;
    font-weight: 800;
    line-height: 1.35;
    word-break: keep-all;
  }
  .tdpoints__body {
    margin-top: 0.9rem;
    font-size: 0.95rem;
    line-height: 1.75;
    opacity: 0.92;
    word-break: keep-all;
  }
  .tdpoints__card--white {
    background: #fff;
    color: var(--brand-ink);
  }
  .tdpoints__card--rose {
    background: var(--brand-primary);
    color: #fff;
  }
  .tdpoints__card--beige {
    background: var(--brand-beige);
    color: #3f342b;
  }

  .tdnote {
    background: var(--brand-surface);
    padding: 0 1.25rem 4.5rem;
  }
  .tdnote__inner {
    max-width: 1120px;
    margin: 0 auto;
    padding: 1.6rem 1.8rem;
    background: var(--brand-primary-soft);
    border-left: 4px solid var(--brand-primary);
    border-radius: 0 4px 4px 0;
  }
  .tdnote__label {
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    color: var(--brand-primary-dark);
    margin-bottom: 0.5rem;
  }
  .tdnote__body {
    font-size: 0.92rem;
    line-height: 1.75;
    color: var(--brand-ink-soft);
    word-break: keep-all;
  }

  @media (max-width: 900px) {
    .tdpoints {
      padding: 3rem 1.25rem;
    }
    .tdpoints__grid {
      grid-template-columns: 1fr;
    }
    .tdpoints__card {
      min-height: 0;
    }
    .tdnote {
      padding: 0 1.25rem 3rem;
    }
  }

/* ===== @osc/ui LeadForm ===== */
.osc-leadform {
    background: #fff;
    border: 1px solid var(--brand-line);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card);
    padding: 22px;
  }
  .osc-leadform-head h3 {
    font-size: 1.15rem;
  }
  .osc-leadform-head p {
    margin-top: 6px;
    color: var(--brand-ink-soft);
    font-size: 0.9rem;
  }
  .osc-leadform-form {
    display: grid;
    gap: 14px;
    margin-top: 18px;
  }
  .osc-field {
    display: grid;
    gap: 6px;
    font-size: 0.875rem;
    font-weight: 500;
  }
  .osc-field em {
    color: var(--brand-accent);
    font-style: normal;
  }
  .osc-field input,
  .osc-field textarea {
    font-family: inherit;
    font-size: 1rem;
    padding: 12px 14px;
    border: 1px solid var(--brand-line);
    border-radius: var(--radius-md);
    background: var(--brand-surface-alt);
  }
  .osc-field input:focus,
  .osc-field textarea:focus {
    outline: 2px solid var(--brand-primary);
    outline-offset: 1px;
    background: #fff;
  }
  .osc-hp {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
  }
  .osc-consent {
    display: flex;
    gap: 8px;
    align-items: flex-start;
    font-size: 0.78rem;
    color: var(--brand-ink-soft);
    line-height: 1.5;
  }
  .osc-consent input {
    margin-top: 3px;
    flex: 0 0 auto;
  }
  .osc-leadform-error {
    margin: 0;
    color: #c0392b;
    font-size: 0.85rem;
    font-weight: 500;
  }
  .osc-leadform-actions {
    display: grid;
    gap: 10px;
  }
  .osc-leadform-actions .osc-btn {
    width: 100%;
  }
  .osc-leadform-done {
    text-align: center;
    padding: 28px 12px;
  }
  .osc-done-title {
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--brand-success);
  }
  .osc-done-sub {
    margin-top: 8px;
    color: var(--brand-ink-soft);
    font-size: 0.9rem;
  }
  @media (min-width: 480px) {
    .osc-leadform-actions {
      grid-template-columns: 1fr auto;
    }
    .osc-leadform-actions .osc-btn-primary {
      width: 100%;
    }
  }

/* ===== @osc/ui MobileCallBar ===== */
.osc-callbar {
    position: fixed;
    inset-inline: 0;
    bottom: 0;
    z-index: 60;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1px;
    height: var(--mobile-callbar-h);
    background: var(--brand-line);
    box-shadow: 0 -2px 12px rgba(22, 32, 46, 0.12);
    padding-bottom: env(safe-area-inset-bottom);
  }
  .osc-callbar a {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-weight: 700;
    font-size: 0.98rem;
  }
  .osc-callbar-phone {
    background: var(--brand-accent);
    color: #fff;
  }
  .osc-callbar-form {
    background: var(--brand-primary);
    color: #fff;
  }
  /* desktop: hide the bar (header already shows the phone). */
  @media (min-width: 768px) {
    .osc-callbar {
      display: none;
    }
  }

/* ===== @osc/ui PrivacyPolicy ===== */
.pp-wrap {
    max-width: 720px;
    margin-inline: auto;
    padding-inline: 20px;
    padding-block: 56px 80px;
    color: var(--brand-ink);
    font-size: 0.9375rem;
    line-height: 1.75;
    word-break: keep-all;
  }

  .pp-header {
    margin-bottom: 48px;
    border-bottom: 1px solid var(--brand-line);
    padding-bottom: 28px;
  }

  .pp-eyebrow {
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    color: var(--brand-primary);
    margin-bottom: 8px;
  }

  .pp-title {
    font-size: 1.75rem;
    font-weight: 700;
    letter-spacing: -0.01em;
    color: var(--brand-ink);
    margin: 0 0 10px;
    line-height: 1.25;
    text-wrap: balance;
  }

  .pp-meta {
    font-size: 0.8125rem;
    color: var(--brand-ink-soft);
    margin: 0;
  }

  .pp-section {
    margin-bottom: 36px;
  }

  .pp-section h2 {
    font-size: 1.0625rem;
    font-weight: 700;
    color: var(--brand-ink);
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--brand-line);
    line-height: 1.4;
    text-wrap: balance;
  }

  .pp-section p {
    color: var(--brand-ink);
    margin-bottom: 10px;
  }

  .pp-section p:last-child {
    margin-bottom: 0;
  }

  .pp-dl {
    display: grid;
    gap: 12px;
    margin: 0;
  }

  .pp-dl > div {
    display: grid;
    grid-template-columns: 120px 1fr;
    gap: 8px;
    align-items: start;
  }

  .pp-dl dt {
    font-weight: 600;
    color: var(--brand-ink-soft);
    font-size: 0.875rem;
    margin: 0;
    padding-top: 2px;
  }

  .pp-dl dd {
    margin: 0;
    color: var(--brand-ink);
  }

  .pp-dl a {
    color: var(--brand-primary);
    text-decoration: underline;
    text-underline-offset: 2px;
  }

  .pp-list {
    margin: 8px 0 0;
    padding-left: 20px;
    display: grid;
    gap: 4px;
  }

  .pp-list li {
    color: var(--brand-ink);
  }

  .pp-placeholder {
    color: var(--brand-ink-soft);
    font-style: italic;
    font-size: 0.875rem;
  }

  @media (max-width: 480px) {
    .pp-title {
      font-size: 1.375rem;
    }

    .pp-dl > div {
      grid-template-columns: 1fr;
      gap: 2px;
    }

    .pp-dl dt {
      font-size: 0.8125rem;
    }
  }

/* ===== page contact ===== */
/* 병원 소개 */
  .intro {
    background: var(--brand-surface);
    padding: 4.5rem 1.25rem 3.5rem;
  }
  .intro__inner {
    max-width: 1080px;
    margin: 0 auto;
  }
  .intro__cols {
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    gap: 3rem;
    align-items: center;
    margin-top: 2rem;
  }
  .intro__media .img-slot {
    border-radius: 8px;
    border: 1px solid var(--brand-line);
  }
  .intro__body {
    text-align: left;
  }
  .intro__body p {
    font-size: 1.05rem;
    line-height: 1.9;
    color: var(--brand-ink-soft);
    word-break: keep-all;
  }
  .intro__body p + p {
    margin-top: 1.1rem;
  }
  .intro__note {
    margin-top: 1.6rem;
    font-size: 0.9rem !important;
    color: var(--brand-ink-soft);
    opacity: 0.85;
  }

  /* 오시는 길 · 진료시간 */
  .visit {
    background: var(--brand-surface-alt);
    padding: 4.5rem 1.25rem 5rem;
  }
  .visit__inner {
    max-width: 1080px;
    margin: 0 auto;
  }
  .visit__grid {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 2.5rem;
    align-items: start;
  }
  .visit__map .img-slot {
    border-radius: 6px;
    border: 1px solid var(--brand-line);
  }
  .visit__info {
    list-style: none;
    margin: 0;
    padding: 0;
    background: #fff;
    border: 1px solid var(--brand-line);
    border-radius: 8px;
    overflow: hidden;
  }
  .visit__row {
    display: grid;
    grid-template-columns: 96px 1fr;
    gap: 1rem;
    padding: 1.3rem 1.6rem;
    border-bottom: 1px solid var(--brand-line);
  }
  .visit__row:last-child {
    border-bottom: none;
  }
  .visit__k {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--brand-primary-dark);
  }
  .visit__v {
    font-size: 0.98rem;
    line-height: 1.7;
    color: var(--brand-ink);
    word-break: keep-all;
  }
  .visit__vsub {
    font-size: 0.86rem;
    color: var(--brand-ink-soft);
  }
  .visit__tel {
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--brand-primary);
    text-decoration: none;
    letter-spacing: 0.01em;
  }
  .visit__tel:hover {
    color: var(--brand-primary-dark);
  }

  @media (max-width: 900px) {
    .intro {
      padding: 3rem 1.25rem 2.4rem;
    }
    .intro__cols {
      grid-template-columns: 1fr;
      gap: 1.75rem;
      margin-top: 1.5rem;
    }
    .visit {
      padding: 3rem 1.25rem 3.4rem;
    }
    .visit__grid {
      grid-template-columns: 1fr;
      gap: 1.5rem;
    }
  }

/* ===== SiteLayout globals ===== */
@media (max-width: 767px) {
  body { padding-bottom: var(--mobile-callbar-h); }
}
/* ============================================================
   블로그 (/blog) — 윤호병원 브랜드 톤(앤틱로즈/웜 아이보리/Pretendard).
   Astro 사이트엔 블로그 없음 → WP 블로그 전용 디자인(사이트 결 통일).
   본문 섹션 헤딩(.sec-head)·토큰(--brand-*)·버튼은 메인과 공유.
   RankMath sitemap/schema 호환(마크업 시맨틱 <article>).
   ============================================================ */
.blog-wrap {
  max-width: 1120px;
  margin: 0 auto;
  padding: 3.5rem 1.25rem 4.5rem;
}
.blog-head {
  text-align: center;
  margin-bottom: 2.6rem;
}
.blog-head__eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--brand-primary);
  margin-bottom: 0.7rem;
}
.blog-head__title {
  font-size: 2.1rem;
  font-weight: 800;
  color: var(--brand-ink);
  letter-spacing: 0.01em;
}
.blog-head__sub {
  margin-top: 0.8rem;
  color: var(--brand-ink-soft);
  font-size: 0.98rem;
}

/* 목록 그리드 */
.blog-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.6rem;
}
.blog-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--brand-line);
  border-radius: 10px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: transform 0.16s ease, box-shadow 0.16s ease;
}
.blog-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 26px rgba(44, 38, 34, 0.12);
}
.blog-card__thumb {
  aspect-ratio: 16 / 10;
  background: var(--brand-surface-alt);
  overflow: hidden;
}
.blog-card__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.blog-card__thumb--empty {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand-beige-dark);
  font-size: 1.4rem;
  font-weight: 800;
  letter-spacing: 0.1em;
}
.blog-card__body {
  padding: 1.3rem 1.4rem 1.5rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.blog-card__cat {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--brand-primary);
  letter-spacing: 0.02em;
  margin-bottom: 0.5rem;
}
.blog-card__title {
  font-size: 1.12rem;
  font-weight: 800;
  line-height: 1.4;
  color: var(--brand-ink);
  word-break: keep-all;
}
.blog-card__excerpt {
  margin-top: 0.6rem;
  font-size: 0.9rem;
  line-height: 1.65;
  color: var(--brand-ink-soft);
  word-break: keep-all;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.blog-card__meta {
  margin-top: auto;
  padding-top: 1rem;
  font-size: 0.78rem;
  color: var(--brand-ink-soft);
  display: flex;
  gap: 0.6rem;
  align-items: center;
}
.blog-card__meta span::before {
  content: "·";
  margin-right: 0.6rem;
  color: var(--brand-line);
}
.blog-card__meta span:first-child::before {
  content: none;
  margin: 0;
}

/* 페이지네이션 */
.blog-pagination {
  margin-top: 3rem;
  display: flex;
  justify-content: center;
  gap: 0.4rem;
  flex-wrap: wrap;
}
.blog-pagination a,
.blog-pagination span {
  min-width: 40px;
  height: 40px;
  padding: 0 0.6rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--brand-line);
  border-radius: 6px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--brand-ink-soft);
  text-decoration: none;
}
.blog-pagination .current {
  background: var(--brand-primary);
  border-color: var(--brand-primary);
  color: #fff;
}
.blog-pagination a:hover {
  border-color: var(--brand-primary);
  color: var(--brand-primary);
}

/* 빈 상태 */
.blog-empty {
  text-align: center;
  padding: 4rem 1rem;
  color: var(--brand-ink-soft);
}

/* ── 단일 포스트 ── */
.progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0;
  background: var(--brand-primary);
  z-index: 60;
  transition: width 0.1s linear;
}
.post {
  max-width: 760px;
  margin: 0 auto;
  padding: 3rem 1.25rem 4.5rem;
}
.post__cat {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--brand-primary);
  letter-spacing: 0.02em;
}
.post__title {
  margin-top: 0.7rem;
  font-size: 2.3rem;
  font-weight: 800;
  line-height: 1.28;
  color: var(--brand-ink);
  word-break: keep-all;
}
.post__meta {
  margin-top: 1.1rem;
  padding-bottom: 1.6rem;
  border-bottom: 1px solid var(--brand-line);
  font-size: 0.85rem;
  color: var(--brand-ink-soft);
  display: flex;
  gap: 0.7rem;
  flex-wrap: wrap;
}
.post__meta span::before {
  content: "·";
  margin-right: 0.7rem;
  color: var(--brand-line);
}
.post__meta span:first-child::before {
  content: none;
  margin: 0;
}
.post__feature {
  margin: 2rem 0 0;
  border-radius: 10px;
  overflow: hidden;
}
.post__feature img {
  width: 100%;
  height: auto;
  display: block;
}
.post__content {
  margin-top: 2rem;
  font-size: 1.02rem;
  line-height: 1.85;
  color: #3a332e;
  word-break: keep-all;
}
.post__content > * + * {
  margin-top: 1.2rem;
}
.post__content h2 {
  margin-top: 2.6rem;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--brand-ink);
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--brand-primary-soft);
}
.post__content h3 {
  margin-top: 2rem;
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--brand-primary-dark);
}
.post__content a {
  color: var(--brand-primary-dark);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.post__content ul,
.post__content ol {
  padding-left: 1.4rem;
}
.post__content li {
  margin-top: 0.4rem;
}
.post__content img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin: 1.6rem 0;
}
.post__content blockquote {
  margin: 1.6rem 0;
  padding: 1rem 1.4rem;
  background: var(--brand-primary-soft);
  border-left: 4px solid var(--brand-primary);
  border-radius: 0 6px 6px 0;
  color: var(--brand-ink);
}
.post__content strong { font-weight: 800; }
.post__nav {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 1.25rem 3rem;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}
.post__nav a {
  flex: 1;
  padding: 1rem 1.2rem;
  border: 1px solid var(--brand-line);
  border-radius: 8px;
  text-decoration: none;
  color: var(--brand-ink);
  font-size: 0.9rem;
  font-weight: 600;
}
.post__nav a:hover { border-color: var(--brand-primary); color: var(--brand-primary); }
.post__nav .post__nav-next { text-align: right; }

/* 포스트 하단 상담 CTA */
.post__cta {
  max-width: 760px;
  margin: 2rem auto 0;
  padding: 2.2rem 1.6rem;
  background: var(--brand-primary-soft);
  border-radius: 12px;
  text-align: center;
}
.post__cta h3 {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--brand-ink);
}
.post__cta p {
  margin-top: 0.6rem;
  color: var(--brand-ink-soft);
  font-size: 0.95rem;
}
.post__cta-btns {
  margin-top: 1.4rem;
  display: flex;
  gap: 0.7rem;
  justify-content: center;
  flex-wrap: wrap;
}

@media (max-width: 900px) {
  .blog-list { grid-template-columns: repeat(2, 1fr); }
  .post__title { font-size: 1.8rem; }
}
@media (max-width: 560px) {
  .blog-list { grid-template-columns: 1fr; }
}
