/* ============================================================
   아산천수한의원 — Design tokens & shared styles
   Palette: 아이보리 크림 / 짙은 목조 브라운 / 도장 진홍 / 약초 세이지
   ============================================================ */

:root{
  --cream:       #F6F1E7;
  --cream-soft:  #FBF8F2;
  --cream-deep:  #EFE6D3;
  --ink:         #382a1d;
  --ink-soft:    #6b5a48;
  --red:         #9b2c1e;
  --red-deep:    #7a2116;
  --sage:        #4f5d42;
  --sage-soft:   #7c8b6c;
  --line:        #d9cbb3;
  --gold:        #a97848;
  --shadow:      0 24px 60px -30px rgba(56, 42, 29, 0.45);

  --font-display: 'Spoqa Han Sans Neo', 'Pretendard', -apple-system, BlinkMacSystemFont, 'Malgun Gothic', sans-serif;
  --font-body: 'Spoqa Han Sans Neo', 'Pretendard', -apple-system, BlinkMacSystemFont, 'Malgun Gothic', sans-serif;
  --font-serif: 'Noto Serif KR', serif;
  --font-seal: 'Song Myung', 'Noto Serif KR', serif;

  --header-h: 76px;
}

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

html{ scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior: auto; }
  *, *::before, *::after{
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

body{
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img{ max-width: 100%; display: block; }
a{ color: inherit; text-decoration: none; }

::selection{ background: var(--red); color: var(--cream); }

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

/* ---------------- Seal mark (logo signature) ---------------- */
.seal{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 7px;
  background: var(--red);
  color: var(--cream-soft);
  font-family: var(--font-seal);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1;
  flex: none;
  position: relative;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.2);
}
.seal::before{
  content: "❋";
  position: absolute;
  top: -7px; left: -7px;
  font-size: 0.6rem;
  color: var(--red);
  background: var(--cream-soft);
  border-radius: 50%;
  width: 13px; height: 13px;
  display: flex; align-items: center; justify-content: center;
  line-height: 1;
}

/* ---------------- Header ---------------- */
.site-header{
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 0 clamp(20px, 4vw, 56px);
  background: var(--cream);
  border-bottom: 1px solid var(--line);
  position: relative;
  z-index: 30;
}

.brand{
  display: flex;
  align-items: center;
  gap: 12px;
}
.brand-name{
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: clamp(1.05rem, 1.6vw, 1.35rem);
  letter-spacing: 0;
  color: var(--ink);
}

.header-right{
  display: flex;
  align-items: center;
  gap: clamp(16px, 2.4vw, 28px);
}

@media (max-width: 760px){
  .site-header{ height: auto; flex-wrap: wrap; row-gap: 10px; padding-top: 14px; padding-bottom: 14px; }
  .header-right{ flex-wrap: wrap; row-gap: 10px; }
}

.site-nav{
  display: flex;
  align-items: center;
  gap: clamp(18px, 3vw, 34px);
  font-size: 1.02rem;
  letter-spacing: 0.02em;
}
.site-nav a{
  position: relative;
  padding: 6px 2px;
  color: var(--ink-soft);
  transition: color 0.25s ease;
}
.site-nav a::after{
  content: "";
  position: absolute;
  left: 0; right: 100%;
  bottom: 0;
  height: 1px;
  background: var(--red);
  transition: right 0.3s ease;
}
.site-nav a:hover, .site-nav a[aria-current="page"]{ color: var(--ink); }
.site-nav a:hover::after, .site-nav a[aria-current="page"]::after{ right: 0; }

.phone-link{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 999px;
  border: 1px solid var(--ink);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(0.92rem, 1.3vw, 1rem);
  color: var(--ink);
  white-space: nowrap;
  transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease;
}
.phone-link svg{
  flex: none;
  color: var(--red);
  transition: color 0.25s ease;
}
.phone-link:hover{ background: var(--ink); color: var(--cream-soft); transform: translateY(-1px); }
.phone-link:hover svg{ color: var(--cream-soft); }

.naver-link{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px 10px 14px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: #03c75a;
  color: #ffffff;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(0.92rem, 1.3vw, 1rem);
  white-space: nowrap;
  transition: background 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}
.naver-link .n-badge{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px; height: 18px;
  border-radius: 5px;
  background: rgba(255,255,255,0.22);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.72rem;
  flex: none;
}
.naver-link:hover{
  background: #02a94c;
  transform: translateY(-1px);
  box-shadow: 0 8px 20px -10px rgba(3,199,90,0.6);
}

.blog-link{
  display: inline-flex;
  align-items: center;
  padding: 10px 18px;
  border-radius: 999px;
  border: 1px solid var(--ink);
  color: var(--ink);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(0.92rem, 1.3vw, 1rem);
  white-space: nowrap;
  transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease;
}
.blog-link:hover{ background: var(--ink); color: var(--cream-soft); transform: translateY(-1px); }

/* ================================================================
   INDEX — split landing (folding-screen / 병풍 concept)
   ================================================================ */
.split{
  display: flex;
  min-height: 100vh;
  min-height: 100svh;
  min-height: calc(100vh - var(--header-h));
  min-height: calc(100svh - var(--header-h));
  position: relative;
}

.panel{
  position: relative;
  flex: 1 1 50%;
  min-height: 560px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  isolation: isolate;
  opacity: 0;
  transform: translateY(18px);
  animation: panel-in 0.9s cubic-bezier(.16,.8,.24,1) forwards;
}
.panel:nth-child(1){ animation-delay: 0.05s; }
.panel:nth-child(2){ animation-delay: 0.22s; }
@keyframes panel-in{
  to{ opacity: 1; transform: translateY(0); }
}
@media (prefers-reduced-motion: reduce){
  .panel{ opacity: 1; transform: none; animation: none; }
}

.panel-link-cover{
  position: absolute;
  inset: 0;
  z-index: 1;
}

.panel-media{
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.04);
  transition: transform 1.6s cubic-bezier(.16,.8,.24,1);
}
.panel:hover .panel-media{ transform: scale(1.1); }

.panel-ward .panel-media{ background-image: url('../images/ward/ward-09-panorama-clean.jpg'); }

.panel-clinic{
  background:
    radial-gradient(90% 120% at 20% 100%, rgba(155,44,30,0.14), transparent 60%),
    linear-gradient(175deg, #ede1c8 0%, #e2d0ac 60%, #d3ba8b 100%);
}
.panel-clinic .panel-media{ display: none; }
.panel-clinic .meridian-bg{
  position: absolute;
  right: -6%;
  bottom: -8%;
  width: 62%;
  height: auto;
  color: var(--red);
  opacity: 0.16;
  pointer-events: none;
}

.panel-overlay{
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(10,8,6,0.86) 0%, rgba(10,8,6,0.38) 42%, rgba(10,8,6,0.05) 66%);
  transition: filter 0.6s ease;
  z-index: 1;
}
.panel-clinic .panel-overlay{
  background: linear-gradient(0deg, rgba(56,42,29,0.22) 0%, rgba(56,42,29,0.02) 58%);
}
.panel:hover .panel-overlay{ filter: brightness(1.08); }

.panel-content{
  position: relative;
  z-index: 2;
  padding: clamp(32px, 5.5vw, 80px);
  width: 100%;
  max-width: 520px;
  color: var(--cream-soft);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.panel-clinic .panel-content{ color: var(--ink); }

.panel-eyebrow-line{
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.86rem;
  letter-spacing: 0.02em;
  opacity: 0.88;
  margin-bottom: 4px;
}
.panel-eyebrow-line::before{
  content: "";
  width: 26px; height: 1px;
  background: currentColor;
  opacity: 0.6;
  flex: none;
}

.panel-stat{
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 18px;
}
.panel-stat .num{
  font-family: var(--font-serif);
  font-weight: 700;
  letter-spacing: -0.02em;
  font-size: clamp(2.6rem, 6.5vw, 4.2rem);
  line-height: 1;
  color: #f6c877;
  text-shadow: 0 4px 20px rgba(0,0,0,0.5), 0 1px 2px rgba(0,0,0,0.4);
}
.panel-stat .num .unit{
  font-size: 0.4em;
  margin-left: 2px;
  color: var(--cream-soft);
}
.panel-stat .label{
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--cream-soft);
  text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}
.panel-clinic .panel-stat .num{ color: var(--red); text-shadow: none; }
.panel-clinic .panel-stat .num .unit{ color: var(--ink); }
.panel-clinic .panel-stat .label{ color: var(--ink-soft); text-shadow: none; }

.panel-buttons{
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 26px;
}
.panel-btn{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 3px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.92rem;
  letter-spacing: 0.01em;
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}
.panel-btn:hover{ transform: translateY(-1px); }
.panel-ward .panel-btn.primary{ background: var(--cream-soft); color: var(--ink); }
.panel-ward .panel-btn.primary:hover{ background: #ffffff; }
.panel-ward .panel-btn.ghost{ background: transparent; color: var(--cream-soft); border: 1px solid rgba(251,248,242,0.5); }
.panel-ward .panel-btn.ghost:hover{ background: rgba(251,248,242,0.12); border-color: var(--cream-soft); }
.panel-clinic .panel-btn.primary{ background: var(--ink); color: var(--cream-soft); }
.panel-clinic .panel-btn.primary:hover{ background: var(--red-deep); }
.panel-clinic .panel-btn.ghost{ background: transparent; color: var(--ink); border: 1px solid rgba(56,42,29,0.45); }
.panel-clinic .panel-btn.ghost:hover{ background: rgba(56,42,29,0.08); border-color: var(--ink); }

.panel-eyebrow{
  display: block;
  font-size: 0.82rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  opacity: 0.82;
  margin-bottom: 14px;
}
.panel-title{
  font-family: var(--font-serif);
  font-weight: 600;
  letter-spacing: -0.01em;
  font-size: clamp(2.6rem, 6.4vw, 4.4rem);
  line-height: 1.12;
  margin: 0 0 18px;
  text-shadow: 0 2px 24px rgba(0,0,0,0.3);
}
.panel-clinic .panel-title{ text-shadow: none; }
.panel-desc{
  max-width: 38ch;
  font-size: clamp(1rem, 1.4vw, 1.1rem);
  font-weight: 300;
  line-height: 1.75;
  opacity: 0.94;
  margin: 0;
}

/* Hinge / seam */
.hinge{
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 1px;
  background: rgba(246,241,231,0.55);
  z-index: 5;
  transform: translateX(-50%);
  pointer-events: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.hinge-seal{
  pointer-events: auto;
  width: 84px; height: 84px;
  border-radius: 16px;
  background: var(--red);
  box-shadow: var(--shadow), inset 0 0 0 1px rgba(255,255,255,0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  color: var(--cream-soft);
  text-align: center;
}
.hinge-seal .cn{
  font-family: var(--font-seal);
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1;
}
.hinge-seal .kr{
  font-size: 0.66rem;
  letter-spacing: 0.16em;
  margin-top: 5px;
  opacity: 0.9;
}
.hinge-tick{
  width: 16px; height: 1px;
  background: rgba(246,241,231,0.55);
  margin: 0;
}

@media (max-width: 860px){
  .split{ flex-direction: column; }
  .panel{ min-height: 56vh; }
  .hinge{
    left: 0; right: 0; top: 50%; bottom: auto;
    width: 100%; height: 1px;
    flex-direction: row;
    transform: translateY(-50%);
  }
  .hinge-tick{ width: 1px; height: 16px; }
}

/* ================================================================
   WARD PAGE
   ================================================================ */
.page-hero{
  position: relative;
  min-height: 62vh;
  display: flex;
  align-items: flex-end;
  background-size: cover;
  background-position: center;
  overflow: hidden;
}
.page-hero::after{
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(28,20,13,0.78) 0%, rgba(28,20,13,0.28) 50%, rgba(28,20,13,0.08) 75%);
}
.page-hero-content{
  position: relative;
  z-index: 1;
  color: var(--cream-soft);
  padding: clamp(36px, 6vw, 76px) clamp(20px, 6vw, 88px);
  max-width: 900px;
}
.page-hero .tag{
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.94rem;
  letter-spacing: 0.02em;
  color: var(--cream-soft);
  border: 1px solid rgba(251,248,242,0.55);
  border-radius: 999px;
  padding: 6px 16px;
  margin-bottom: 18px;
}
.page-hero .page-eyebrow{
  display: block;
  font-size: 0.86rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  opacity: 0.85;
  margin-bottom: 16px;
}
.page-hero h1{
  font-family: var(--font-serif);
  font-weight: 600;
  letter-spacing: -0.01em;
  font-size: clamp(2.5rem, 6vw, 3.9rem);
  line-height: 1.12;
  margin: 0 0 18px;
}
.page-hero p{
  font-size: clamp(1.06rem, 1.5vw, 1.2rem);
  line-height: 1.75;
  max-width: 56ch;
  opacity: 0.94;
}

.section{
  padding: clamp(48px, 8vw, 100px) clamp(20px, 6vw, 88px);
  max-width: 1180px;
  margin: 0 auto;
}
.section-head{
  max-width: 640px;
  margin-bottom: clamp(36px, 5vw, 64px);
}
.section-eyebrow{
  display: block;
  font-size: 0.86rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 14px;
}
.section-head h2{
  font-family: var(--font-serif);
  font-weight: 600;
  letter-spacing: -0.005em;
  font-size: clamp(1.8rem, 3.4vw, 2.4rem);
  line-height: 1.28;
  margin: 0 0 14px;
  color: var(--ink);
}
.section-head p{
  color: var(--ink-soft);
  line-height: 1.75;
  font-size: 1.08rem;
}

.room-row{
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
  padding: clamp(32px, 5vw, 56px) 0;
  border-top: 1px solid var(--line);
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.room-row.is-visible{ opacity: 1; transform: translateY(0); }
.room-row:nth-child(even){ direction: rtl; }
.room-row:nth-child(even) > *{ direction: ltr; }
.room-row:last-child{ border-bottom: 1px solid var(--line); }

.room-photo{
  border-radius: 4px;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.room-photo img{ width: 100%; height: clamp(220px, 32vw, 340px); object-fit: cover; }

.room-copy .room-tag{
  display: block;
  font-size: 0.86rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 14px;
}
.room-copy h3{
  font-family: var(--font-serif);
  font-weight: 600;
  letter-spacing: 0;
  font-size: clamp(1.35rem, 2.4vw, 1.75rem);
  margin: 0 0 12px;
  color: var(--ink);
}
.room-copy p{
  color: var(--ink-soft);
  line-height: 1.75;
  max-width: 46ch;
}

@media (max-width: 720px){
  .room-row{ grid-template-columns: 1fr; }
  .room-row:nth-child(even){ direction: ltr; }
}

/* ---------------- Process steps (교통사고 후유증 치료 절차) ---------------- */
.process-steps{
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}
.step{
  display: grid;
  grid-template-columns: auto 1fr;
  gap: clamp(16px, 4vw, 40px);
  align-items: center;
  padding: clamp(22px, 3.5vw, 32px) 0;
  border-bottom: 1px solid var(--line);
}
.step-num{
  width: clamp(58px, 11vw, 96px);
  height: clamp(58px, 11vw, 96px);
  border-radius: 6px;
  background: var(--red);
  transform: rotate(-3deg);
  box-shadow: 0 10px 22px -12px rgba(155,44,30,0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--cream-soft);
  font-size: clamp(0.88rem, 2.4vw, 1.3rem);
  flex: none;
}
.step-body h3{
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.12rem, 3.4vw, 1.85rem);
  margin: 0 0 8px;
  color: var(--ink);
}
.step-body p{
  color: var(--ink-soft);
  line-height: 1.6;
  margin: 0;
  font-size: clamp(0.95rem, 2.6vw, 1.48rem);
}
.step-body .sub{
  display: block;
  margin-top: 6px;
  font-size: clamp(0.85rem, 2.2vw, 1.33rem);
  color: var(--sage);
}

.stat-highlight{
  display: flex;
  align-items: baseline;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}
.stat-number{
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.02em;
  font-size: clamp(2.8rem, 8vw, 5rem);
  line-height: 1;
  color: var(--red);
}
.stat-number .unit{
  font-size: 0.42em;
  margin-left: 2px;
  color: var(--ink);
}
.stat-label{
  font-size: 1.18rem;
  color: var(--ink-soft);
  line-height: 1.6;
  max-width: 26ch;
}

.note-box{
  margin-top: 24px;
  padding: 16px 20px;
  background: var(--cream-deep);
  border-left: 3px solid var(--red);
  border-radius: 2px;
  color: var(--ink-soft);
  font-size: clamp(0.92rem, 2.6vw, 1.46rem);
  line-height: 1.6;
}

/* ---------------- 10가지 이유 checklist ---------------- */
.reason-grid{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 clamp(32px, 5vw, 64px);
}
.reason-item{
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 16px;
  align-items: baseline;
  padding: 16px 0;
  border-top: 1px solid var(--line);
}
.reason-item:nth-last-child(1), .reason-item:nth-last-child(2){ border-bottom: 1px solid var(--line); }
.reason-num{
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--red);
  font-size: 1.05rem;
}
.reason-item p{ margin: 0; color: var(--ink); line-height: 1.55; font-size: 1.06rem; }
@media (max-width: 720px){
  .reason-grid{ grid-template-columns: 1fr; }
  .reason-item:nth-last-child(2){ border-bottom: none; }
}

/* ---------------- 약침 대표 질환 ---------------- */
.disease-grid{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 clamp(32px, 5vw, 64px);
}
.disease-item{
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 16px;
  padding: 20px 0;
  border-top: 1px solid var(--line);
}
.disease-item:nth-last-child(1), .disease-item:nth-last-child(2){ border-bottom: 1px solid var(--line); }
.disease-item .num{
  font-family: var(--font-serif);
  font-weight: 700;
  color: var(--red);
  font-size: 1.05rem;
  padding-top: 2px;
}
.disease-item h3{
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 1.15rem;
  margin: 0 0 6px;
  color: var(--ink);
}
.disease-item p{
  margin: 0;
  color: var(--ink-soft);
  line-height: 1.6;
  font-size: 0.96rem;
}
@media (max-width: 720px){
  .disease-grid{ grid-template-columns: 1fr; }
  .disease-item:nth-last-child(2){ border-bottom: none; }
}

/* ---------------- Quote / statement band ---------------- */
.quote-band{
  background: var(--cream-deep);
  border-radius: 6px;
  padding: clamp(36px, 6vw, 64px);
  text-align: center;
}
.quote-band .quote-eyebrow{
  display: block;
  font-size: 0.8rem;
  color: var(--sage);
  letter-spacing: 0.08em;
  margin-bottom: 14px;
}
.quote-band h2{
  font-family: var(--font-serif);
  font-weight: 600;
  letter-spacing: 0;
  font-size: clamp(1.55rem, 3.2vw, 2.2rem);
  line-height: 1.4;
  color: var(--ink);
  max-width: 26ch;
  margin: 0 auto 16px;
}
.quote-band .highlight{ color: var(--red); }
.quote-band p{
  color: var(--ink-soft);
  line-height: 1.75;
  max-width: 52ch;
  margin: 0 auto;
}

.text-row{
  padding: clamp(28px, 4vw, 44px) 0;
  border-top: 1px solid var(--line);
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.text-row.is-visible{ opacity: 1; transform: translateY(0); }
.text-row:last-child{ border-bottom: 1px solid var(--line); }
.text-row .room-copy{ max-width: 640px; }

/* ---------------- Treatment tag list (한방치료 프로그램) ---------------- */
.tag-list{
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  margin: 18px 0 0;
  font-size: 1.02rem;
  color: var(--sage);
  font-weight: 700;
}
.tag-list span:not(:last-child)::after{
  content: "·";
  margin: 0 10px;
  color: var(--line);
  font-weight: 400;
}

/* ================================================================
   CLINIC PAGE
   ================================================================ */
.clinic-hero{
  padding: clamp(64px, 10vw, 120px) clamp(20px, 6vw, 88px) clamp(48px, 7vw, 88px);
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(32px, 6vw, 72px);
  align-items: center;
}
.clinic-hero .tag{
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.04rem;
  letter-spacing: 0.04em;
  color: var(--red);
  border: 1px solid var(--red);
  border-radius: 999px;
  padding: 7px 18px;
  margin-bottom: 22px;
}
.clinic-hero h1{
  font-family: var(--font-serif);
  font-weight: 600;
  letter-spacing: -0.01em;
  font-size: clamp(2.4rem, 5.4vw, 3.7rem);
  line-height: 1.16;
  margin: 0 0 22px;
  color: var(--ink);
}
.clinic-hero h1 em{
  font-style: normal;
  color: var(--red);
}
.clinic-hero p{
  font-size: clamp(1rem, 1.5vw, 1.12rem);
  line-height: 1.8;
  color: var(--ink-soft);
  max-width: 52ch;
  margin: 0 0 26px;
}

.meridian{ width: 100%; height: auto; color: var(--red); }
.hero-photo{
  border-radius: 4px;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.hero-photo img{ width: 100%; height: auto; display: block; }

.btn{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--ink);
  color: var(--cream-soft);
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.01em;
  font-size: 1.05rem;
  padding: 14px 28px;
  border-radius: 3px;
  transition: background 0.3s ease, transform 0.3s ease;
}
.btn:hover{ background: var(--red-deep); transform: translateY(-1px); }
.btn.ghost{
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--ink);
}
.btn.ghost:hover{ background: var(--ink); color: var(--cream-soft); }

.acu-feature{
  background: var(--cream-deep);
  border-radius: 6px;
  padding: clamp(32px, 5vw, 56px);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(28px, 5vw, 56px);
  align-items: center;
}
.acu-feature h2{
  font-family: var(--font-serif);
  font-weight: 600;
  letter-spacing: 0;
  font-size: clamp(1.55rem, 3vw, 2.1rem);
  color: var(--ink);
  margin: 0 0 16px;
  line-height: 1.32;
}
.acu-feature p{ color: var(--ink-soft); line-height: 1.8; margin: 0 0 14px; }
.acu-list{ list-style: none; margin: 20px 0 0; padding: 0; display: grid; gap: 12px; }
.acu-list li{
  display: flex;
  gap: 12px;
  align-items: baseline;
  color: var(--ink-soft);
  line-height: 1.7;
  font-size: 1.05rem;
}
.acu-list li::before{
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--red);
  flex: none;
  transform: translateY(-2px);
}

.care-grid{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.care-card{
  background: var(--cream);
  padding: clamp(26px, 3vw, 34px) clamp(22px, 3vw, 28px);
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.care-card svg{ color: var(--sage); width: 30px; height: 30px; }
.care-card h3{
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.01em;
  font-size: 1.16rem;
  margin: 0;
  color: var(--ink);
}
.care-card p{
  font-size: 1rem;
  line-height: 1.65;
  color: var(--ink-soft);
  margin: 0;
}

.cta-band{
  background: var(--ink);
  color: var(--cream-soft);
  padding: clamp(48px, 7vw, 80px) clamp(20px, 6vw, 88px);
  text-align: center;
}
.cta-band h2{
  font-family: var(--font-serif);
  font-weight: 600;
  letter-spacing: 0;
  font-size: clamp(1.55rem, 3vw, 2.2rem);
  margin: 0 0 16px;
}
.cta-band p{ opacity: 0.85; margin: 0 0 26px; line-height: 1.7; }

/* ---------------- Legal / business footer ---------------- */
.legal-footer{
  background: var(--cream-deep);
  border-top: 1px solid var(--line);
  padding: clamp(36px, 5vw, 52px) clamp(20px, 6vw, 88px) clamp(40px, 5vw, 56px);
}
.legal-footer .legal-brand{
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  text-align: center;
  margin-bottom: 20px;
}
.legal-footer .legal-brand .legal-name{
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 1.06rem;
  color: var(--ink);
}
.legal-footer .disclaimer{
  max-width: 640px;
  margin: 0 auto clamp(24px, 4vw, 32px);
  text-align: center;
  font-size: 0.86rem;
  line-height: 1.8;
  color: var(--ink-soft);
}
.legal-footer .biz-info{
  max-width: 640px;
  margin: 0 auto;
  padding-top: clamp(20px, 3vw, 28px);
  border-top: 1px solid var(--line);
  font-size: 0.84rem;
  line-height: 2;
  color: var(--ink-soft);
}
.legal-footer .biz-info strong{ color: var(--ink); font-weight: 700; }
.legal-footer .biz-info a{ color: var(--ink); border-bottom: 1px solid var(--ink-soft); }

/* ---------------- Footer ---------------- */
.site-footer{
  border-top: 1px solid var(--line);
  padding: 28px clamp(20px, 6vw, 88px);
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  align-items: center;
  justify-content: space-between;
  font-size: 0.94rem;
  color: var(--ink-soft);
}

@media (max-width: 780px){
  .clinic-hero, .acu-feature{ grid-template-columns: 1fr; }
}
