@import url("../mega-menu.css?v=20261022-policy-text");

:root { --blue: #123a72; --brand: #1756ae; --ink: #242424; --max: 1200px; }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-anchor: none; }
body { margin: 0; overflow-x: hidden; color: var(--ink); background: #fff; font-family: Pretendard, "Noto Sans KR", "Malgun Gothic", sans-serif; line-height: 1.6; word-break: keep-all; }
body.menu-open { overflow: hidden; }
img { display: block; width: 100%; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; font: inherit; }
.section-inner { width: min(calc(100% - 80px), var(--max)); margin: 0 auto; }
.skip-link { position: fixed; z-index: 999; left: 16px; top: -80px; padding: 10px 16px; background: #fff; color: #111; }
.skip-link:focus { top: 16px; }
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: none; }

.site-header { position: sticky; z-index: 50; top: 0; background: #fff; box-shadow: 0 1px rgba(0,0,0,.12); }
.utility-bar { height: 108px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; padding: 0 64px; }
.brand img { width: 292px; height: 62px; object-fit: contain; }
.search-pill { width: 1px; height: 1px; overflow: hidden; opacity: 0; pointer-events: none; border: 0; }
.utility-actions { justify-self: end; display: flex; align-items: center; gap: 42px; color: #111; font-size: 17px; white-space: nowrap; }
.language { display: flex; align-items: center; gap: 7px; padding: 8px 14px; color: #555; background: #fff; border: 1px solid #ddd; border-radius: 24px; font-size: 15px; }
.language-flag { width: 29px; height: 20px; object-fit: cover; }
.language-chevron { color: #777; }
.menu-toggle { width: 42px; height: 42px; padding: 9px 6px; background: transparent; border: 0; }
.menu-toggle span { display: block; height: 1px; margin: 6px 0; background: #777; transition: .25s ease; }
.main-nav { height: 90px; display: flex; align-items: center; justify-content: center; gap: clamp(20px, 3vw, 58px); padding: 0 30px; overflow: hidden; font-size: 19px; font-weight: 700; transition: height .28s cubic-bezier(.22,.78,.28,1), opacity .18s ease; }
.main-nav a { position: relative; }
.main-nav a::after { content: ""; position: absolute; left: 50%; right: 50%; bottom: -13px; height: 2px; background: var(--brand); transition: .25s ease; }
.main-nav a:hover::after, .main-nav a:focus-visible::after, .main-nav a[aria-current="page"]::after { left: 0; right: 0; }
@media (min-width: 801px) { .site-header.is-nav-collapsed:not(:hover):not(:focus-within) .main-nav { height: 0; opacity: 0; pointer-events: none; } }

.disease-hero { position: relative; min-height: 784px; display: grid; place-items: center; overflow: hidden; color: #fff; background-image: var(--hero-image); background-position: var(--hero-position, center); background-size: cover; background-repeat: no-repeat; }
.disease-hero-shade { position: absolute; inset: 0; background: rgba(30,24,20,.36); }
.disease-hero-inner { position: relative; z-index: 1; max-width: 930px; margin-top: -40px; text-align: center; text-shadow: 0 2px 14px rgba(0,0,0,.3); }
.breadcrumb { margin: 0 0 23px; font-size: 14px; font-weight: 500; }
.breadcrumb span { margin: 0 5px; }
.home-mark { font-size: 17px; }
.disease-hero h1 { margin: 0 0 22px; font-family: "Noto Serif KR", Georgia, serif; font-size: clamp(48px,3.5vw,66px); font-weight: 500; letter-spacing: -.055em; line-height: 1.2; }
.disease-hero h2 { margin: 0 0 27px; font-size: clamp(29px,2.1vw,38px); font-weight: 500; letter-spacing: -.05em; }
.disease-hero-inner > p:not(.breadcrumb) { margin: 0; font-size: 19px; line-height: 1.55; letter-spacing: -.04em; }
.disease-tabs { position: absolute; z-index: 2; left: 50%; bottom: 76px; width: min(calc(100% - 80px), 1132px); min-height: 96px; display: grid; grid-template-columns: repeat(7,1fr); align-items: stretch; transform: translateX(-50%); overflow: hidden; color: #e9e9e9; background: rgba(255,255,255,.27); border: 1px solid rgba(255,255,255,.88); border-radius: 17px; backdrop-filter: blur(6px); font-size: 17px; font-weight: 600; }
.disease-tabs > a { position: relative; display: grid; place-items: center; min-height: 94px; padding: 0 10px; text-align: center; transition: color .2s ease, background-color .2s ease; }
.disease-tabs a:hover, .disease-tabs a:focus-visible { color: #fff; background: rgba(255,255,255,.1); }
.disease-tabs a:focus-visible { outline: 2px solid #fff; outline-offset: -4px; }
.disease-tabs a[aria-current="page"] { color: #fff; }
.disease-tabs a[aria-current="page"]::after { content: ""; position: absolute; left: 17%; right: 17%; bottom: 16px; height: 4px; background: #fff; border-radius: 10px; }

.causes { min-height: 820px; padding: 116px 0 100px; background: #fff; }
.section-heading h2 { margin: 0; font-size: 40px; line-height: 1.3; letter-spacing: -.05em; }
.section-heading > p { margin: 68px 0 0; font-size: 18px; line-height: 1.62; letter-spacing: -.04em; }
.cause-timeline { position: relative; display: grid; grid-template-columns: repeat(4,1fr); gap: 34px; margin-top: 88px; }
.cause-timeline::before { content: ""; position: absolute; z-index: 0; top: 96px; left: calc((100vw - 100%)/-2); right: calc((100vw - 100%)/-2); height: 2px; background: #1a58b0; }
.cause-point { position: relative; z-index: 1; text-align: center; }
.cause-point.reveal { transform: none; transition: opacity .46s ease; }
.cause-point.reveal:nth-child(2) { transition-delay: .18s; }
.cause-point.reveal:nth-child(3) { transition-delay: .36s; }
.cause-point.reveal:nth-child(4) { transition-delay: .54s; }
.cause-point.reveal.visible { transform: none; }
.cause-number { width: 68px; height: 68px; display: grid; place-items: center; margin: 0 auto 22px; color: #222; background: #e0e0e0; border-radius: 50%; font-size: 34px; font-weight: 700; line-height: 1; }
.cause-dot { width: 13px; height: 13px; display: block; margin: 0 auto 28px; background: #13bdf3; border-radius: 50%; }
.cause-point h3 { min-height: 64px; margin: 0; font-size: 24px; line-height: 1.3; letter-spacing: -.05em; }
.cause-point p { width: min(100%,220px); margin: 24px auto 0; color: #666; font-size: 15px; line-height: 1.55; letter-spacing: -.035em; }

.symptoms { --symptom-height: clamp(700px,50vw,960px); position: relative; min-height: var(--symptom-height); overflow: hidden; color: #fff; background: #07162f url("../assets/subpages/shoulder/symptom-shoulder.png") center/cover no-repeat; }
.symptoms-shade { position: absolute; inset: 0; background: linear-gradient(90deg,rgba(3,18,43,.22),rgba(3,18,43,.03)); }
.symptoms-inner { position: relative; z-index: 1; min-height: var(--symptom-height); display: flex; align-items: center; padding: 70px 0; }
.symptoms-copy { width: 100%; text-shadow: 0 2px 12px rgba(0,0,0,.28); }
.symptoms-copy h2 { margin: 0; font-size: clamp(32px,2.15vw,42px); line-height: 1.32; letter-spacing: -.05em; }
.symptoms-copy h2, .symptoms-copy > p { max-width: 620px; }
.symptoms-copy > p { margin: 45px 0 0; font-size: 17px; line-height: 1.6; letter-spacing: -.035em; }
.symptom-checklist { display: grid; gap: 20px; margin: 72px 0 0; padding: 0; list-style: none; }
.symptom-checklist li { min-height: 76px; display: flex; align-items: center; gap: 20px; padding: 12px 24px; background: rgba(220,228,239,.34); border: 1px solid rgba(255,255,255,.16); border-radius: 8px; font-size: 20px; font-weight: 650; backdrop-filter: blur(4px); }
.symptom-checklist span { width: 24px; height: 24px; flex: 0 0 24px; display: grid; place-items: center; border: 2px solid rgba(255,255,255,.92); font-size: 13px; line-height: 1; }
.symptoms-copy.reveal .symptom-checklist li { opacity: 0; transform: translateY(14px); transition: opacity .5s ease, transform .5s ease; }
.symptoms-copy.reveal.visible .symptom-checklist li { opacity: 1; transform: none; }
.symptoms-copy.reveal.visible .symptom-checklist li:nth-child(1) { transition-delay: .2s; }
.symptoms-copy.reveal.visible .symptom-checklist li:nth-child(2) { transition-delay: .34s; }
.symptoms-copy.reveal.visible .symptom-checklist li:nth-child(3) { transition-delay: .48s; }
.symptoms-copy.reveal.visible .symptom-checklist li:nth-child(4) { transition-delay: .62s; }

.treatments { min-height: 1370px; padding: 138px 0 170px; background: #f2f2f2; }
.treatments .section-heading > p { margin-top: 42px; }
.treatment-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; margin-top: 62px; }
.treatment-card { position: relative; min-height: 810px; overflow: hidden; background: #fff; }
.treatment-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg,rgba(255,255,255,.02) 45%,rgba(255,255,255,.76) 72%,#fff 88%); }
.treatment-card img { height: 100%; object-fit: cover; }
.treatment-card-copy { position: absolute; z-index: 1; right: 24px; bottom: 30px; left: 24px; }
.round-check { width: 28px; height: 28px; display: grid; place-items: center; color: #144b86; border: 2px solid #144b86; border-radius: 50%; font-size: 15px; font-weight: 800; }
.treatment-card h3 { margin: 18px 0 18px; font-size: 32px; line-height: 1.2; letter-spacing: -.05em; }
.treatment-card p { margin: 0; font-size: 17px; line-height: 1.55; letter-spacing: -.035em; }

.eyebrow { margin: 0 0 18px; font-size: 20px; font-weight: 500; }
.eyebrow::before { content: "("; margin-right: 8px; }
.eyebrow::after { content: ")"; margin-left: 8px; }
.site-footer { min-height: 296px; background: #123764; }

@media (max-width: 1500px) {
  .utility-bar { height: 76px; padding-inline: 40px; }
  .brand img { width: 220px; height: 49px; }
  .utility-actions { gap: 27px; font-size: 13px; }
  .main-nav { height: 68px; font-size: 17px; }
  .disease-hero { min-height: 700px; }
  .disease-tabs { bottom: 60px; min-height: 82px; font-size: 14px; }
  .disease-tabs > a { min-height: 80px; }
  .causes { min-height: 720px; padding-top: 96px; }
  .cause-timeline { margin-top: 72px; }
  .cause-timeline::before { top: 86px; }
  .cause-number { width: 58px; height: 58px; font-size: 29px; }
  .treatments { min-height: auto; }
  .treatment-card { min-height: 680px; }
}

@media (max-width: 1000px) {
  .disease-tabs { width: calc(100% - 50px); display: flex; justify-content: flex-start; overflow-x: auto; scrollbar-width: none; }
  .disease-tabs::-webkit-scrollbar { display: none; }
  .disease-tabs > a { min-width: 145px; }
  .cause-timeline { gap: 18px; }
  .cause-point h3 { font-size: 21px; }
  .treatment-card { min-height: 590px; }
  .treatment-card h3 { font-size: 26px; }
  .treatment-card p { font-size: 17px; }
}

@media (max-width: 800px) {
  .section-inner { width: min(calc(100% - 40px),var(--max)); }
  .utility-bar { height: 64px; display: flex; justify-content: space-between; padding: 0 20px; }
  .brand img { width: 160px; height: auto; }
  .search-pill, .utility-actions > a, .language { display: none; }
  .main-nav { position: fixed; z-index: 60; inset: 64px 0 0; height: auto; display: grid; align-content: center; gap: 34px; color: #fff; background: rgba(16,54,101,.97); transform: translateX(100%); transition: transform .3s ease; }
  body.menu-open .main-nav { transform: translateX(0); }
  body.menu-open .menu-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  body.menu-open .menu-toggle span:nth-child(2) { opacity: 0; }
  body.menu-open .menu-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .disease-hero { min-height: 680px; padding: 70px 20px 150px; }
  .disease-hero-inner { width: 100%; margin-top: 0; }
  .breadcrumb { font-size: 12px; }
  .disease-hero h1 { font-size: clamp(36px,10vw,50px); }
  .disease-hero h2 { font-size: 23px; }
  .disease-hero-inner > p:not(.breadcrumb) { width: min(100%,350px); margin-inline: auto; font-size: 14px; line-height: 1.7; }
  .disease-hero-inner br { display: none; }
  .disease-tabs { right: 20px; bottom: 28px; left: 20px; width: auto; min-height: 74px; transform: none; border-radius: 12px; font-size: 13px; }
  .disease-tabs > a { min-width: 135px; min-height: 72px; }
  .causes { min-height: 0; padding: 78px 0; }
  .section-heading h2 { font-size: 31px; }
  .section-heading > p { margin-top: 34px; font-size: 15px; }
  .cause-timeline { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 36px 18px; margin-top: 48px; }
  .cause-timeline::before { display: none; }
  .cause-number { width: 52px; height: 52px; margin-bottom: 20px; font-size: 25px; }
  .cause-dot { position: relative; z-index: 1; width: 12px; height: 12px; display: block; margin-bottom: 18px; }
  .cause-point { min-width: 0; padding-top: 0; border-top: 0; }
  .cause-point::before { content: ""; position: absolute; top: 77px; right: -18px; left: 0; height: 2px; background: #1a58b0; pointer-events: none; }
  .cause-point:nth-child(even)::before { right: 0; }
  .cause-point h3 { min-height: 56px; font-size: 20px; }
  .cause-point p { margin-top: 14px; font-size: 14px; line-height: 1.55; }
  .symptoms { --symptom-height: 0px; min-height: 0; background-position: 58% center; }
  .symptoms-shade { background: rgba(3,18,43,.38); }
  .symptoms-inner { min-height: 0; align-items: flex-start; padding: 48px 0; }
  .symptoms-copy { width: 100%; }
  .symptoms-copy h2 { font-size: 30px; }
  .symptoms-copy > p { margin-top: 30px; font-size: 15px; }
  .symptom-checklist { gap: 12px; margin-top: 48px; }
  .symptom-checklist li { min-height: 58px; padding: 12px 16px; font-size: 15px; }
  .treatments { min-height: 0; padding: 82px 0; }
  .treatment-grid { grid-template-columns: 1fr; gap: 22px; margin-top: 50px; }
  .treatment-card { min-height: 570px; }
  .treatment-card h3 { font-size: 28px; }
  .treatment-card p { font-size: 17px; }
}

@media (max-width: 520px) {
  .disease-hero { min-height: 650px; }
  .disease-hero h1 { font-size: 34px; }
  .disease-hero h2 { font-size: 20px; }
  .cause-point h3 { font-size: 18px; }
  .symptoms-copy h2 { font-size: 27px; }
  .treatment-card { min-height: 500px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .main-nav, .reveal { transition: none; }
  .cause-point.reveal { transition: none; }
  .reveal, .symptoms-copy.reveal .symptom-checklist li { opacity: 1; transform: none; }
}
