:root {
  --blue: #0054c8;
  --blue-2: #0868e8;
  --navy: #0e2138;
  --text: #162536;
  --muted: #617287;
  --line: #dde6f0;
  --bg: #f5f8fc;
  --surface: #ffffff;
  --shadow: 0 18px 45px rgba(20, 59, 105, .12);
  --radius: 12px;
  --container: 1280px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: "Noto Sans KR", sans-serif; color: var(--text); background: var(--bg); }
a { color: inherit; text-decoration: none; }
button { font: inherit; border: 0; background: none; cursor: pointer; }
img { display: block; max-width: 100%; }
.site-header {
  position: sticky; top: 0; z-index: 20;
  height: 92px; display: grid; grid-template-columns: 260px 1fr 260px; align-items: center;
  padding: 0 36px; background: rgba(255,255,255,.96); border-bottom: 1px solid var(--line); backdrop-filter: blur(16px);
}
.brand { display: flex; align-items: center; gap: 12px; font-weight: 900; }
.brand strong { display: block; font-size: 21px; letter-spacing: -.04em; }
.brand small { display: block; margin-top: 2px; font-size: 9px; color: #52708e; letter-spacing: .04em; }
.logo-mark {
  width: 42px; height: 42px; display: grid; place-items: center; border: 4px solid var(--blue); border-radius: 10px;
  color: var(--blue); font-size: 30px; line-height: 1; font-weight: 900;
}
.main-nav { display: flex; justify-content: center; gap: clamp(24px, 4vw, 70px); font-weight: 800; font-size: 15px; }
.main-nav a:hover { color: var(--blue); }
.utility { display: flex; justify-content: flex-end; align-items: center; gap: 9px; font-size: 12px; color: #6a7787; }
.utility button { margin-left: 18px; font-size: 25px; color: var(--navy); }
.hero { position: relative; min-height: 760px; overflow: hidden; background: #dff0ff; }
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(244,250,255,.98) 0%, rgba(244,250,255,.72) 34%, rgba(244,250,255,.06) 68%); }
.hero-copy { position: relative; z-index: 2; width: min(1240px, calc(100% - 96px)); margin: 0 auto; padding-top: 135px; }
.eyebrow { color: var(--blue); font-size: 12px; font-weight: 900; letter-spacing: .15em; }
.hero h1 { margin: 0; font-size: clamp(40px, 4.2vw, 66px); line-height: 1.32; letter-spacing: -.06em; word-break: keep-all; }
.hero h1 strong { color: var(--blue); font-weight: 900; }
.hero-copy > p:not(.eyebrow) { margin: 42px 0 0; max-width: 380px; color: #40576e; line-height: 1.9; font-weight: 600; }
.hero-actions { display: flex; gap: 18px; margin-top: 38px; }
.btn { min-width: 144px; padding: 17px 28px; border-radius: 5px; text-align: center; font-weight: 900; border: 1px solid var(--blue); }
.primary { background: var(--blue); color: white; }
.ghost { background: rgba(255,255,255,.72); color: var(--blue); }
.slider { display: flex; align-items: center; gap: 15px; margin-top: 88px; color: #5b6c80; }
.slider button { width: 34px; height: 34px; border-radius: 999px; background: white; box-shadow: var(--shadow); }
.slider b { color: var(--navy); }
.slider span { width: 52px; height: 2px; background: var(--blue); }
.quick-menu { position: absolute; z-index: 4; right: 44px; top: 220px; width: 96px; border-radius: 6px; overflow: hidden; box-shadow: var(--shadow); background: white; }
.quick-menu a { height: 92px; display: grid; place-items: center; gap: 5px; font-size: 13px; font-weight: 800; border-bottom: 1px solid #e5edf7; }
.quick-menu b { font-size: 24px; color: var(--blue); }
.quick-menu .active { background: var(--blue); color: white; }
.quick-menu .active b { color: white; }
.overview { position: relative; z-index: 5; width: min(1240px, calc(100% - 96px)); margin: -68px auto 0; padding: 42px 48px 54px; background: white; border-radius: 8px; box-shadow: var(--shadow); }
.overview h2 { margin: 0 0 38px; font-size: 22px; }
.overview h2 strong { color: var(--blue); }
.overview-grid { display: grid; grid-template-columns: repeat(5, 1fr); }
.overview article { text-align: center; padding: 0 24px; border-right: 1px solid var(--line); }
.overview article:last-child { border-right: 0; }
.overview i { display: block; margin-bottom: 20px; color: var(--blue); font-size: 45px; font-style: normal; }
.overview b { display: block; margin-bottom: 12px; }
.overview p { margin: 0; color: var(--muted); font-size: 13px; }
.section { width: min(1240px, calc(100% - 96px)); margin: 72px auto 0; }
.section-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 28px; }
.section-head h2 { margin: 0; font-size: 27px; letter-spacing: -.04em; }
.section-head a { color: #33465a; font-weight: 800; }
.dept-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; }
.dept-grid article { overflow: hidden; min-height: 320px; background: white; border: 1px solid var(--line); border-radius: 8px; box-shadow: 0 12px 28px rgba(9, 53, 99, .07); transition: transform .22s ease, box-shadow .22s ease; }
.dept-grid article:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.med-ill { height: 165px; display: grid; place-items: center; background: linear-gradient(135deg, #ecf5ff, #d8e9fb); }
.med-ill::before { font-size: 74px; filter: drop-shadow(0 14px 18px rgba(31, 100, 174, .18)); }
.heart::before { content: "♥"; color: #d6414e; }
.brain::before { content: "☁"; color: #2073d6; }
.stomach::before { content: "∞"; color: #bd6548; }
.bone::before { content: "╱"; color: #8aa5cf; font-size: 96px; }
.lung::before { content: "♢"; color: #2b78cf; }
.dept-grid h3 { margin: 26px 22px 12px; font-size: 18px; }
.dept-grid p { min-height: 52px; margin: 0 22px; color: var(--muted); line-height: 1.7; font-size: 14px; }
.dept-grid a { display: block; margin: 22px; color: var(--blue); font-size: 22px; }
.care-system { display: grid; grid-template-columns: 330px 1fr; border-radius: 10px; overflow: hidden; background: linear-gradient(135deg, #0066d8, #003eae); color: white; box-shadow: var(--shadow); }
.care-copy { padding: 72px 58px; background: linear-gradient(135deg, #0063d6, #004fbd); }
.care-copy h2 { margin: 0; font-size: 34px; line-height: 1.45; letter-spacing: -.05em; }
.care-copy p { margin: 30px 0; color: rgba(255,255,255,.82); line-height: 1.8; }
.care-copy a { display: inline-block; padding: 14px 28px; border: 1px solid rgba(255,255,255,.62); border-radius: 4px; font-weight: 800; }
.care-grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.care-grid article { min-height: 190px; padding: 44px 38px; border-left: 1px solid rgba(255,255,255,.2); border-bottom: 1px solid rgba(255,255,255,.2); }
.care-grid i { display: block; margin-bottom: 18px; font-size: 43px; font-style: normal; }
.care-grid b { display: block; font-size: 19px; }
.care-grid p { margin: 10px 0 0; color: rgba(255,255,255,.72); font-size: 13px; }
.health { padding-bottom: 82px; }
.health-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.health article { overflow: hidden; background: white; border: 1px solid var(--line); border-radius: 8px; box-shadow: 0 10px 26px rgba(13, 46, 77, .07); }
.health img { width: 100%; height: 190px; object-fit: cover; }
.health span { display: inline-block; margin: 22px 22px 10px; padding: 5px 9px; background: #eaf3ff; color: var(--blue); font-size: 12px; font-weight: 900; }
.health h3 { margin: 0 22px 10px; font-size: 18px; }
.health p { min-height: 50px; margin: 0 22px; color: var(--muted); line-height: 1.65; font-size: 14px; }
.health time { display: block; margin: 18px 22px 24px; color: #8b98a7; font-size: 13px; }
.site-footer { position: relative; padding: 58px 0 34px; background: #1f2b39; color: white; }
.footer-grid { width: min(1240px, calc(100% - 96px)); margin: 0 auto; display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px; }
.footer-grid section { padding-right: 42px; border-right: 1px solid rgba(255,255,255,.18); }
.footer-grid section:last-child { border-right: 0; }
.footer-grid h2 { margin: 0 0 18px; font-size: 18px; }
.footer-grid b { display: block; font-size: 30px; }
.footer-grid p { color: rgba(255,255,255,.72); line-height: 1.8; }
.footer-grid a { display: inline-block; margin-top: 18px; padding: 10px 20px; border: 1px solid rgba(255,255,255,.35); border-radius: 4px; }
.footer-bottom { width: min(1240px, calc(100% - 96px)); margin: 42px auto 0; padding-top: 28px; border-top: 1px solid rgba(255,255,255,.12); display: grid; grid-template-columns: 260px 1fr auto; align-items: center; gap: 28px; color: rgba(255,255,255,.68); font-size: 12px; }
.light .logo-mark { border-color: white; color: white; }
.light small { color: rgba(255,255,255,.65); }
.footer-bottom nav { display: flex; gap: 24px; flex-wrap: wrap; }
.to-top { position: absolute; right: 54px; bottom: 52px; width: 48px; height: 48px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.35); border-radius: 999px; }
@media (max-width: 980px) {
  .site-header { grid-template-columns: 1fr auto; height: auto; min-height: 82px; padding: 18px 24px; }
  .main-nav { grid-column: 1 / -1; justify-content: flex-start; overflow-x: auto; padding: 14px 0 4px; }
  .utility a, .utility span { display: none; }
  .hero { min-height: 650px; }
  .hero-copy, .overview, .section, .footer-grid, .footer-bottom { width: calc(100% - 40px); }
  .quick-menu { position: static; width: calc(100% - 40px); margin: -35px auto 0; display: grid; grid-template-columns: repeat(4, 1fr); }
  .quick-menu a { height: 78px; }
  .overview { margin-top: 24px; }
  .overview-grid, .dept-grid, .health-grid { grid-template-columns: repeat(2, 1fr); }
  .overview article:nth-child(2n) { border-right: 0; }
  .care-system { grid-template-columns: 1fr; }
  .footer-grid, .footer-bottom { grid-template-columns: 1fr; }
  .footer-grid section { border-right: 0; border-bottom: 1px solid rgba(255,255,255,.15); padding-bottom: 22px; }
}
@media (max-width: 560px) {
  .site-header { padding: 16px 20px; }
  .brand strong { font-size: 18px; }
  .hero { min-height: 600px; }
  .hero::after { background: rgba(245,250,255,.72); }
  .hero-copy { width: calc(100% - 40px); padding-top: 72px; }
  .hero h1 { font-size: 37px; }
  .hero-actions { flex-direction: column; }
  .quick-menu { grid-template-columns: repeat(2, 1fr); }
  .overview { padding: 30px 22px; }
  .overview-grid, .dept-grid, .health-grid, .care-grid { grid-template-columns: 1fr; }
  .overview article { border-right: 0; border-bottom: 1px solid var(--line); padding: 22px 0; }
  .section { width: calc(100% - 32px); margin-top: 52px; }
  .section-head { align-items: flex-start; gap: 10px; flex-direction: column; }
  .care-copy, .care-grid article { padding: 34px 28px; }
  .footer-grid, .footer-bottom { width: calc(100% - 32px); }
}

/* Added by AI to replace CSS shapes with generated medical images */
.med-ill::before { display: none !important; }
.med-ill { background-size: cover; background-position: center; background-repeat: no-repeat; }
.med-ill.heart { background-image: url('assets/dept_heart.webp'); }
.med-ill.brain { background-image: url('assets/dept_brain.webp'); }
.med-ill.stomach { background-image: url('assets/dept_stomach.webp'); }
.med-ill.bone { background-image: url('assets/dept_bone.webp'); }
.med-ill.lung { background-image: url('assets/dept_lung.webp'); }
