:root {
  --ink: #111820;
  --muted: #697784;
  --line: #dde5eb;
  --paper: #f5f8fb;
  --white: #ffffff;
  --navy: #071d37;
  --blue: #315f89;
  --blue-soft: #dbe8f3;
  --steel: #8ea6b7;
  --shadow: 0 26px 80px rgba(7, 29, 55, 0.16);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Pretendard", "Noto Sans KR", "Apple SD Gothic Neo", Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.68;
  letter-spacing: 0;
}

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

img {
  display: block;
  width: 100%;
}

section[id] {
  scroll-margin-top: 92px;
}

.guide-panel[id] {
  scroll-margin-top: 112px;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

.container,
.header-inner {
  width: min(1180px, calc(100% - 44px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  border-bottom: 1px solid rgba(221, 229, 235, 0.8);
  background: rgba(245, 248, 251, 0.88);
  backdrop-filter: blur(18px);
}

.header-inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  gap: 24px;
}

.brand {
  position: relative;
  z-index: 80;
  display: flex;
  align-items: center;
  width: 210px;
  height: 48px;
  gap: 0;
  overflow: hidden;
  background: url("assets/reum/logo2.png") left center / contain no-repeat;
}

.brand-mark,
.brand > span:not(.brand-mark) {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 19px;
  line-height: 1.1;
}

.brand small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 15px;
  font-weight: 700;
}

.main-nav a,
.nav-parent {
  display: block;
  padding: 10px 12px;
  border-radius: 8px;
  color: #233446;
}

.main-nav a:hover,
.nav-parent:hover,
.nav-group:focus-within > .nav-parent {
  background: var(--blue-soft);
  color: var(--navy);
}

.main-nav a.active,
.nav-parent.active {
  background: var(--blue-soft);
  color: var(--navy);
}

.nav-group {
  position: relative;
}

.nav-sub {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  z-index: 60;
  display: none;
  min-width: 150px;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 18px 46px rgba(7, 29, 55, 0.12);
}

.nav-group:hover .nav-sub,
.nav-group:focus-within .nav-sub {
  display: grid;
}

.nav-sub a {
  padding: 10px 12px;
  white-space: nowrap;
}

.nav-toggle {
  display: none;
}

.nav-check {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.hero {
  position: relative;
  min-height: 680px;
  overflow: hidden;
  background: #f7fbff;
}

.hero-media {
  position: absolute;
  inset: 0 0 0 auto;
  width: 68%;
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(247, 251, 255, 0.98) 0%, rgba(247, 251, 255, 0.72) 34%, rgba(247, 251, 255, 0.08) 82%),
    linear-gradient(180deg, rgba(247, 251, 255, 0.18) 0%, rgba(247, 251, 255, 0.06) 100%);
}

.hero-media img {
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: saturate(0.98) contrast(1.02);
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  z-index: 2;
  pointer-events: none;
}

.hero::before {
  height: 130px;
  background: #e9f6ff;
  clip-path: ellipse(78% 54% at 36% 100%);
}

.hero::after {
  height: 104px;
  background: linear-gradient(112deg, rgba(229, 246, 255, 0) 0%, rgba(229, 246, 255, 0.2) 52%, #1680c3 100%);
  clip-path: ellipse(62% 48% at 86% 100%);
}

.hero-copy {
  position: relative;
  z-index: 3;
  width: min(1180px, calc(100% - 44px));
  min-height: 680px;
  display: grid;
  align-content: center;
  margin: 0 auto;
  padding: 118px 0 150px;
  color: var(--navy);
}

.eyebrow {
  margin-bottom: 18px;
  color: var(--blue);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #1469a8;
}

.hero h1 {
  max-width: 720px;
  margin-bottom: 30px;
  color: #1469a8;
  font-size: 54px;
  font-weight: 400;
  line-height: 1.22;
}

.hero h1 strong {
  display: block;
  color: #062f5e;
  font-weight: 800;
}

.hero-subcopy {
  max-width: 520px;
  margin-bottom: 0;
  color: #4c5b68;
  font-size: 21px;
  line-height: 1.7;
}

.hero-actions,
.hero-icons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.hero-icons {
  gap: 58px;
  margin-top: 56px;
}

.hero-icons > div {
  display: grid;
  justify-items: center;
  gap: 12px;
  color: #063c73;
  font-weight: 800;
  text-align: center;
}

.hero-icon {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  color: #0b66a8;
}

.hero-icon svg {
  width: 58px;
  height: 58px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.6;
}

.primary-button,
.ghost-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 22px;
  border-radius: 8px;
  font-weight: 800;
}

.primary-button {
  background: #0b66a8;
  color: var(--white);
}

.ghost-button {
  border: 1px solid rgba(11, 102, 168, 0.26);
  background: rgba(255, 255, 255, 0.74);
  color: #063c73;
}

.hero-panel {
  position: absolute;
  z-index: 3;
  right: max(22px, calc((100vw - 1180px) / 2));
  bottom: 58px;
  width: min(360px, calc(100% - 44px));
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 8px;
  background: rgba(7, 29, 55, 0.64);
  color: var(--white);
  backdrop-filter: blur(16px);
}

.hero-panel b,
.hero-panel span,
.hero-panel a {
  display: block;
}

.hero-panel b {
  margin-bottom: 12px;
  font-size: 18px;
}

.hero-panel span {
  color: rgba(255, 255, 255, 0.78);
}

.hero-panel a {
  margin-top: 18px;
  color: #cce5f7;
  font-weight: 900;
}

.quick-strip {
  position: relative;
  z-index: 5;
  width: min(1180px, calc(100% - 44px));
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin: 18px auto 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--line);
  color: var(--ink);
  box-shadow: 0 18px 46px rgba(7, 29, 55, 0.08);
}

.quick-strip a {
  display: grid;
  gap: 4px;
  min-height: 100px;
  padding: 24px 30px;
  background: rgba(255, 255, 255, 0.98);
  border-right: 0;
}

.quick-strip a:last-child {
  border-right: 0;
}

.quick-strip b {
  color: var(--navy);
  font-size: 18px;
}

.quick-strip span {
  color: var(--muted);
}

.home-team-section {
  width: min(1180px, calc(100% - 44px));
  margin: 42px auto 0;
}

.home-team-head {
  margin-bottom: 18px;
}

.home-team-head h2 {
  margin: 0;
  color: var(--navy);
  font-size: 34px;
  line-height: 1.25;
}

.home-team-photo {
  margin: 0;
  overflow: hidden;
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 18px 46px rgba(7, 29, 55, 0.08);
}

.home-team-photo img {
  width: 100%;
  aspect-ratio: 16 / 6.4;
  object-fit: cover;
  object-position: center 34%;
}

.section {
  padding: 112px 0;
}

.compact-section {
  padding-bottom: 78px;
}

.sub-hero {
  position: relative;
  min-height: 460px;
  display: grid;
  align-items: end;
  overflow: hidden;
  color: var(--white);
  background: var(--navy);
}

.sub-hero.compact {
  min-height: 460px;
}

.doctor-hero {
  min-height: 520px;
}

.sub-hero > img {
  position: absolute;
  inset: 0;
  height: 100%;
  object-fit: cover;
}

.doctor-hero > img {
  object-position: center 30%;
}

.sub-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(7, 29, 55, 0.78), rgba(7, 29, 55, 0.22)),
    linear-gradient(180deg, rgba(7, 29, 55, 0.08), rgba(7, 29, 55, 0.74));
}

.sub-hero-copy {
  position: relative;
  z-index: 2;
  padding: 0 0 82px;
}

.sub-hero .eyebrow {
  color: #b9d9f2;
}

.sub-hero h1 {
  max-width: 900px;
  margin-bottom: 30px;
  font-size: 58px;
  line-height: 1.28;
}

.sub-hero p:not(.eyebrow) {
  max-width: 1040px;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 20px;
  white-space: nowrap;
}

.intro-grid,
.feature-grid,
.doctor-grid,
.info-grid,
.reservation-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 72px;
  align-items: start;
}

.intro-section h2,
.section-head h2,
.feature-grid h2,
.doctor-grid h2,
.info-section h2,
.reservation-section h2 {
  margin-bottom: 0;
  font-size: 46px;
  line-height: 1.22;
}

.intro-copy p,
.feature-grid p,
.reservation-section p {
  color: var(--muted);
  font-size: 19px;
}

.line-list {
  display: grid;
  gap: 0;
  margin: 36px 0 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.line-list li {
  display: grid;
  grid-template-columns: 62px 1fr;
  gap: 18px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
  color: #273848;
  font-weight: 700;
}

.line-list span {
  color: var(--blue);
  font-weight: 900;
}

.image-band {
  position: relative;
  min-height: 640px;
  overflow: hidden;
  color: var(--white);
  background: var(--navy);
}

.image-band img {
  height: 100%;
  min-height: 640px;
  object-fit: cover;
  object-position: center;
}

.image-band::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(7, 29, 55, 0.06) 0%, rgba(7, 29, 55, 0.76) 100%);
}

.image-band-text {
  position: absolute;
  left: max(22px, calc((100vw - 1180px) / 2));
  bottom: 64px;
  z-index: 2;
  max-width: 560px;
}

.image-band-text .eyebrow {
  color: #b9d9f2;
}

.image-band-text h2 {
  margin-bottom: 18px;
  font-size: 52px;
  line-height: 1.14;
}

.image-band-text p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.82);
  font-size: 19px;
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 42px;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  border: 1px solid var(--line);
  background: var(--line);
}

.service-grid article {
  position: relative;
  min-height: 260px;
  padding: 34px 32px 32px;
  background: var(--white);
}

.service-grid article::before {
  display: block;
  margin-bottom: 34px;
  color: #0a5f9d;
  font-size: 13px;
  font-weight: 900;
}

.service-grid article:nth-child(1)::before {
  content: "01";
}

.service-grid article:nth-child(2)::before {
  content: "02";
}

.service-grid article:nth-child(3)::before {
  content: "03";
}

.service-grid article:nth-child(4)::before {
  content: "04";
}

.service-icon {
  display: none;
  place-items: center;
  width: 50px;
  height: 50px;
  margin-bottom: 30px;
  border: 1px solid #c5d9ea;
  border-radius: 50%;
  color: #0a5f9d;
}

.service-icon svg {
  width: 26px;
  height: 26px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.service-grid h3 {
  margin-bottom: 12px;
  font-size: 22px;
}

.service-grid p {
  margin-bottom: 0;
  color: var(--muted);
}

.price-section {
  padding-top: 78px;
  background: var(--white);
}

.price-table {
  display: grid;
  border-top: 2px solid var(--navy);
}

.price-table > div {
  display: grid;
  grid-template-columns: minmax(180px, 0.9fr) minmax(150px, 0.55fr) minmax(0, 1.2fr);
  gap: 20px;
  align-items: center;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.price-table strong {
  color: var(--ink);
  font-size: 18px;
}

.price-table span {
  color: var(--blue);
  font-weight: 900;
}

.price-table p {
  margin: 0;
  color: var(--muted);
}

.check-list {
  display: grid;
  gap: 10px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 22px;
  color: rgba(255, 255, 255, 0.84);
  font-weight: 800;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 12px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #b9d9f2;
}

.dark-section {
  padding: 0;
  background: var(--navy);
  color: var(--white);
}

.dark-section .eyebrow {
  color: #b9d9f2;
}

.dark-section p {
  color: rgba(255, 255, 255, 0.76);
}

.dark-section h2 {
  margin-bottom: 34px;
  line-height: 1.42;
}

.dark-section p:not(.eyebrow) {
  line-height: 1.9;
}

.feature-grid {
  align-items: center;
}

.feature-bg {
  position: relative;
  min-height: 640px;
  padding: 110px max(44px, calc((100vw - 1180px) / 2));
  overflow: hidden;
  border-radius: 0;
  background: var(--feature-bg) center / cover fixed no-repeat;
}

.dark-section .container.feature-bg {
  width: 100%;
  max-width: none;
  margin: 0;
}

.feature-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(5, 31, 58, 0.95) 0%, rgba(5, 31, 58, 0.82) 42%, rgba(5, 31, 58, 0.2) 100%),
    linear-gradient(180deg, rgba(5, 31, 58, 0.08), rgba(5, 31, 58, 0.38));
}

.feature-bg > div {
  position: relative;
  z-index: 1;
  max-width: 560px;
}

.feature-grid img {
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.28);
}

.greeting-section {
  background: var(--white);
}

.greeting-grid {
  display: grid;
  grid-template-columns: 0.7fr 1.3fr;
  gap: 72px;
}

.greeting-grid h2 {
  margin-bottom: 0;
  font-size: 44px;
  line-height: 1.22;
}

.greeting-copy {
  color: #2b3f51;
  font-size: 18px;
}

.greeting-copy p {
  margin-bottom: 22px;
}

.greeting-copy strong {
  display: block;
  margin-top: 34px;
  color: var(--navy);
  font-size: 19px;
}

.space-section {
  background: var(--white);
}

.space-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.space-grid figure {
  margin: 0;
  overflow: hidden;
  border-radius: 8px;
  background: var(--paper);
  box-shadow: 0 18px 46px rgba(7, 29, 55, 0.08);
}

.space-grid img {
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.space-grid figcaption {
  padding: 18px;
  color: var(--navy);
  font-weight: 900;
}

.doctors-section {
  background: linear-gradient(180deg, var(--paper), #ebf2f7);
}

.doctor-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.doctor-cards article {
  overflow: hidden;
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.doctor-cards img {
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.doctor-cards h3,
.doctor-cards p {
  margin-left: 24px;
  margin-right: 24px;
}

.doctor-cards h3 {
  margin-top: 24px;
  margin-bottom: 10px;
}

.doctor-cards p {
  margin-bottom: 26px;
  color: var(--muted);
}

.doctors-list {
  display: grid;
  gap: 22px;
}

.doctor-profile-card {
  display: grid;
  grid-template-columns: minmax(300px, 0.75fr) minmax(0, 1.25fr);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 18px 46px rgba(7, 29, 55, 0.08);
}

.doctor-profile-card img {
  height: 100%;
  min-height: 380px;
  object-fit: cover;
}

.doctor-profile-card > div {
  display: grid;
  align-content: center;
  padding: 42px;
}

.doctor-profile-card h2 {
  margin-bottom: 12px;
  font-size: 34px;
  line-height: 1.25;
}

.doctor-profile-card p:not(.eyebrow) {
  color: var(--muted);
  font-size: 18px;
}

.doctor-profile-card ul {
  display: grid;
  gap: 10px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.doctor-profile-card li {
  position: relative;
  padding-left: 18px;
  color: #293b4c;
}

.doctor-profile-card li::before {
  content: "";
  position: absolute;
  top: 12px;
  left: 0;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--blue);
}

.service-detail-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.service-detail-grid article {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 18px 46px rgba(7, 29, 55, 0.08);
}

.service-detail-grid img {
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.service-detail-grid h2,
.service-detail-grid p {
  margin-left: 28px;
  margin-right: 28px;
}

.service-detail-grid h2 {
  margin-top: 28px;
  margin-bottom: 10px;
  font-size: 28px;
}

.service-detail-grid p {
  margin-bottom: 32px;
  color: var(--muted);
}

.guide-section {
  background: var(--paper);
}

.guide-layout {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 34px;
  align-items: start;
}

.guide-nav {
  position: sticky;
  top: 104px;
  display: grid;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.guide-nav a {
  padding: 16px 18px;
  border-bottom: 1px solid var(--line);
  color: var(--navy);
  font-weight: 900;
}

.guide-nav a:last-child {
  border-bottom: 0;
}

.guide-content {
  display: grid;
  gap: 20px;
}

.guide-panel {
  padding: 38px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.guide-panel h2 {
  margin-bottom: 14px;
  font-size: 36px;
  line-height: 1.22;
}

.guide-panel > p:not(.eyebrow) {
  color: var(--muted);
  font-size: 18px;
}

.item-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  margin-top: 28px;
  border: 1px solid var(--line);
  background: var(--line);
}

.item-grid > div {
  min-height: 112px;
  padding: 22px;
  background: var(--white);
}

.item-grid strong,
.item-grid span {
  display: block;
}

.item-grid strong {
  margin-bottom: 8px;
  color: var(--navy);
  font-size: 18px;
}

.item-grid span {
  color: var(--muted);
}

.compact-price {
  margin-top: 26px;
}

.compact-price > div {
  grid-template-columns: minmax(170px, 0.9fr) minmax(130px, 0.55fr) minmax(0, 1fr);
}

.dark-text li {
  color: #273848;
}

.dark-text li::before {
  background: var(--blue);
}

.info-section {
  background: var(--white);
}

.hours-location-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: stretch;
}

.hours-box,
.location-box {
  min-height: 372px;
}

.hours-box {
  display: flex;
  flex-direction: column;
  padding: 36px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}

.hours-page-section .hours-box h2,
.hours-page-section .location-box h2 {
  margin-bottom: 34px;
}

.hours-page-section .location-box {
  display: flex;
  flex-direction: column;
}

.hours-page-section .notice-box ul {
  margin-top: 0;
}

.hours-list {
  margin: 0;
  border-top: 1px solid var(--line);
}

.hours-list div {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 20px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.hours-list dt {
  color: var(--blue);
  font-weight: 900;
}

.hours-list dd {
  margin: 0;
  font-weight: 800;
}

.notice-box {
  padding: 36px;
  border-radius: 8px;
  background: var(--paper);
}

.notice-box ul {
  display: grid;
  gap: 18px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.notice-box li {
  display: grid;
  gap: 4px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.notice-box span {
  color: var(--blue);
  font-size: 13px;
  font-weight: 900;
}

.notice-list-page {
  display: grid;
  gap: 14px;
}

.notice-list-page article {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.notice-list-page time {
  display: block;
  margin-bottom: 10px;
  color: var(--blue);
  font-size: 14px;
  font-weight: 900;
}

.notice-list-page h2 {
  margin-bottom: 8px;
  font-size: 24px;
}

.notice-list-page p {
  margin-bottom: 0;
  color: var(--muted);
}

.notice-board-section {
  background: var(--white);
}

.notice-board-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 24px;
}

.notice-board-head p {
  margin: 0;
  color: var(--muted);
  font-weight: 700;
}

.notice-board-head strong {
  color: var(--blue);
}

.notice-board-head label {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--blue);
  font-size: 14px;
  font-weight: 900;
}

.notice-board-head input {
  width: 260px;
  height: 44px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  font: inherit;
}

.notice-board {
  border-top: 2px solid var(--navy);
  border-bottom: 1px solid var(--line);
}

.notice-board-row {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr) 150px 92px;
  align-items: center;
  min-height: 64px;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
}

.notice-board-row > * {
  min-width: 0;
  padding: 0 16px;
}

.notice-board-header {
  min-height: 56px;
  background: var(--paper);
  color: var(--blue);
  font-size: 14px;
  font-weight: 900;
}

.notice-board-row span,
.notice-board-row time {
  color: var(--muted);
  text-align: center;
  font-size: 14px;
}

.notice-board-row strong {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 17px;
}

.notice-board-row:hover strong {
  color: var(--blue);
}

.notice-board-row.pinned > span:first-child {
  display: inline-grid;
  place-items: center;
  justify-self: center;
  width: 46px;
  height: 26px;
  padding: 0;
  border-radius: 999px;
  background: var(--blue-soft);
  color: var(--navy);
  font-size: 13px;
  font-weight: 900;
}

.notice-pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 30px;
}

.notice-pagination a {
  display: grid;
  place-items: center;
  min-width: 38px;
  height: 38px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--muted);
  font-weight: 800;
}

.notice-pagination a.active {
  border-color: var(--navy);
  background: var(--navy);
  color: var(--white);
}

.reservation-page-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.reservation-page-grid article {
  min-height: 280px;
  display: grid;
  align-content: space-between;
  padding: 32px;
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 18px 46px rgba(7, 29, 55, 0.08);
}

.reservation-page-grid h2 {
  margin-bottom: 12px;
  font-size: 28px;
}

.reservation-page-grid p {
  color: var(--muted);
}

.reservation-page-grid a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 8px;
  background: var(--navy);
  color: var(--white);
  font-weight: 900;
}

.map-preview {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 0;
  overflow: hidden;
  margin-top: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 18px 46px rgba(7, 29, 55, 0.08);
}

.map-canvas {
  position: relative;
  min-height: 360px;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.46) 0 1px, transparent 1px 74px),
    linear-gradient(0deg, rgba(255, 255, 255, 0.52) 0 1px, transparent 1px 74px),
    #dce9f3;
}

.map-road,
.map-block {
  position: absolute;
  display: block;
}

.map-road {
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 0 0 1px rgba(142, 166, 183, 0.2);
}

.road-1 {
  left: -10%;
  top: 45%;
  width: 120%;
  height: 34px;
  transform: rotate(-8deg);
}

.road-2 {
  left: 42%;
  top: -16%;
  width: 34px;
  height: 132%;
  transform: rotate(18deg);
}

.road-3 {
  left: -18%;
  bottom: 12%;
  width: 88%;
  height: 26px;
  transform: rotate(18deg);
}

.map-block {
  width: 86px;
  height: 64px;
  border-radius: 8px;
  background: rgba(49, 95, 137, 0.12);
}

.block-1 {
  left: 12%;
  top: 18%;
}

.block-2 {
  right: 18%;
  top: 16%;
}

.block-3 {
  right: 26%;
  bottom: 18%;
}

.map-pin {
  position: absolute;
  left: 50%;
  top: 48%;
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 16px;
  border-radius: 999px;
  background: var(--navy);
  color: var(--white);
  font-weight: 900;
  box-shadow: 0 16px 36px rgba(7, 29, 55, 0.24);
  transform: translate(-50%, -50%);
}

.map-pin::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -9px;
  width: 16px;
  height: 16px;
  background: var(--navy);
  transform: translateX(-50%) rotate(45deg);
}

.map-info {
  display: grid;
  align-content: center;
  padding: 36px;
}

.map-info h2 {
  margin-bottom: 12px;
  font-size: 28px;
  line-height: 1.3;
}

.map-info p:not(.eyebrow) {
  margin-bottom: 0;
  color: var(--muted);
}

.reservation-section {
  padding: 120px 0;
  background:
    linear-gradient(90deg, rgba(7, 29, 55, 0.86), rgba(7, 29, 55, 0.62)),
    url("assets/reum/logo_new.png") center / cover no-repeat;
  color: var(--white);
}

.reservation-section .eyebrow {
  color: #b9d9f2;
}

.reservation-section h2 {
  margin-bottom: 24px;
}

.reservation-section p {
  color: rgba(255, 255, 255, 0.78);
}

.reservation-actions {
  display: grid;
  gap: 12px;
}

.reservation-actions a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  padding: 0 24px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
  font-weight: 900;
  backdrop-filter: blur(14px);
}

.reservation-actions a::after {
  content: "→";
  font-size: 22px;
}

.site-footer {
  padding: 40px 0;
  background: #061523;
  color: rgba(255, 255, 255, 0.76);
}

.footer-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

.footer-grid strong {
  color: var(--white);
}

.footer-grid p {
  margin: 0;
}

.mobile-action-bar {
  display: none;
}

.floating-contact {
  position: fixed;
  right: 18px;
  bottom: 96px;
  z-index: 55;
  display: grid;
  gap: 12px;
}

.floating-contact a {
  display: grid;
  place-items: center;
  gap: 6px;
  width: 76px;
  min-height: 76px;
  padding: 10px 8px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 14px 36px rgba(7, 29, 55, 0.14);
  color: var(--ink);
  font-size: 12px;
  font-weight: 900;
  line-height: 1.15;
  text-align: center;
}

.floating-contact img,
.floating-phone {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
}

.floating-contact img {
  object-fit: contain;
}

.floating-phone {
  background: #7a4f3b;
  color: var(--white);
  font-size: 18px;
  line-height: 1;
}


@media (max-width: 960px) {
  body {
    padding-bottom: calc(68px + env(safe-area-inset-bottom));
  }

  .floating-contact {
    display: none;
  }

  .nav-toggle {
    position: relative;
    z-index: 90;
    display: inline-grid;
    place-items: center;
    width: 58px;
    height: 40px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--white);
    color: var(--navy);
    font-size: 14px;
    font-weight: 900;
    cursor: pointer;
  }

  .main-nav {
    position: absolute;
    top: 76px;
    right: 22px;
    z-index: 70;
    display: none;
    width: min(310px, calc(100vw - 44px));
    max-height: calc(100vh - 96px);
    overflow-y: auto;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--white);
    box-shadow: var(--shadow);
  }

  .nav-check:checked ~ .main-nav {
    display: grid;
  }

  .main-nav a {
    padding: 14px 12px;
  }

  .nav-group {
    display: grid;
  }

  .nav-parent {
    padding: 14px 12px;
  }

  .nav-sub {
    position: static;
    display: grid;
    min-width: 0;
    padding: 0 0 0 14px;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
  }

  .nav-sub a {
    padding: 10px 12px;
    color: var(--muted);
    font-size: 14px;
  }

  .main-nav a:hover,
  .nav-parent:hover,
  .nav-group:focus-within > .nav-parent {
    background: transparent;
    color: #233446;
  }

  .main-nav a.active,
  .main-nav a.active:hover,
  .nav-parent.active,
  .nav-parent.active:hover {
    background: var(--blue-soft);
    color: var(--navy);
  }

  .hero,
  .hero-copy {
    min-height: 560px;
  }

  .hero-media {
    width: 100%;
  }

  .hero-copy {
    padding-top: 108px;
  }

  .hero h1 {
    font-size: 42px;
    line-height: 1.3;
  }

  .intro-section h2,
  .section-head h2,
  .feature-grid h2,
  .doctor-grid h2,
  .info-section h2,
  .reservation-section h2 {
    font-size: 36px;
  }

  .image-band-text h2 {
    font-size: 42px;
  }

  .quick-strip,
  .intro-grid,
  .feature-grid,
  .guide-layout,
  .doctor-grid,
  .greeting-grid,
  .info-grid,
  .reservation-grid,
  .service-grid,
  .space-grid,
  .doctor-profile-card,
  .service-detail-grid,
  .reservation-page-grid,
  .map-preview {
    grid-template-columns: 1fr;
  }

  .quick-strip a {
    min-height: 82px;
    padding: 20px 24px;
    border-right: 0;
    border-bottom: 0;
  }

  .section {
    padding: 62px 0;
  }

  .dark-section {
    padding: 0;
  }

  .intro-grid,
  .feature-grid,
  .doctor-grid,
  .info-grid,
  .reservation-grid {
    gap: 26px;
  }

  .feature-bg {
    min-height: 440px;
    padding: 72px 30px;
    align-items: end;
    background-attachment: scroll;
  }

  .guide-nav {
    position: static;
    grid-template-columns: repeat(4, 1fr);
  }

  .guide-nav a {
    padding: 14px 10px;
    border-right: 1px solid var(--line);
    border-bottom: 0;
    text-align: center;
    font-size: 14px;
  }

  .price-table > div,
  .compact-price > div {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .item-grid {
    grid-template-columns: 1fr;
  }

  .service-grid article {
    min-height: auto;
  }

  .section:has(.service-grid) .container {
    width: 100%;
  }

  .section:has(.service-grid) .section-head {
    width: min(100% - 30px, 1180px);
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 26px;
  }

  .service-grid {
    border-left: 0;
    border-right: 0;
  }

  .service-grid article {
    padding: 22px 30px;
  }

  .service-grid article::before {
    margin-bottom: 16px;
  }

  .service-icon {
    display: none;
  }

  .sub-hero {
    min-height: 260px;
  }

  .sub-hero.compact {
    min-height: 260px;
  }

  .doctor-hero {
    min-height: 360px;
  }

  .sub-hero h1 {
    font-size: 30px;
    line-height: 1.32;
  }

  .sub-hero-copy {
    padding-bottom: 30px;
  }

  .sub-hero .eyebrow,
  .sub-hero p:not(.eyebrow) {
    display: none;
  }

  .sub-hero p:not(.eyebrow) {
    white-space: normal;
  }

  .doctor-profile-card img {
    min-height: 0;
    aspect-ratio: 4 / 3;
  }

  .doctor-profile-card > div {
    padding: 30px;
  }

  .space-grid {
    gap: 12px;
  }

  .space-grid img {
    aspect-ratio: 16 / 10;
  }

  .doctor-cards {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    display: grid;
  }

  .mobile-action-bar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 50;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    min-height: 82px;
    padding-bottom: env(safe-area-inset-bottom);
    background: var(--navy);
    box-shadow: 0 -18px 36px rgba(7, 29, 55, 0.22);
  }

  .mobile-action-bar a {
    display: grid;
    place-items: center;
    align-content: center;
    gap: 4px;
    min-width: 0;
    color: var(--white);
    font-size: 13px;
    font-weight: 700;
    border-right: 1px solid rgba(255, 255, 255, 0.12);
  }

  .mobile-action-bar a:last-child {
    border-right: 0;
  }

  .mobile-action-bar img,
  .mobile-phone-icon {
    display: grid;
    place-items: center;
    width: 30px;
    height: 30px;
    border-radius: 50%;
  }

  .mobile-action-bar img {
    object-fit: contain;
  }

  .mobile-phone-icon {
    width: 26px;
    height: 26px;
    background: #7a4f3b;
    color: var(--white);
    font-size: 14px;
    line-height: 1;
  }

  .mobile-action-bar b {
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font: inherit;
  }
}

@media (max-width: 560px) {
  .container,
  .header-inner,
  .hero-copy {
    width: min(100% - 30px, 1180px);
  }

  .brand-mark {
    width: 1px;
    height: 1px;
  }

  .brand {
    width: 172px;
    height: 42px;
  }

  .sub-hero,
  .sub-hero.compact {
    min-height: 210px;
  }

  .doctor-hero {
    min-height: 330px;
  }

  .sub-hero-copy {
    padding-bottom: 20px;
  }

  .hero,
  .hero-copy {
    min-height: 520px;
  }

  .hero-copy {
    padding-top: 74px;
    padding-bottom: 98px;
  }

  .hero-media::after {
    background:
      linear-gradient(180deg, rgba(247, 251, 255, 0.92) 0%, rgba(247, 251, 255, 0.7) 52%, rgba(247, 251, 255, 0.22) 100%),
      linear-gradient(90deg, rgba(247, 251, 255, 0.96) 0%, rgba(247, 251, 255, 0.54) 100%);
  }

  .hero h1 {
    font-size: 32px;
    line-height: 1.34;
  }

  .hero .eyebrow {
    max-width: 280px;
    font-size: 12px;
    line-height: 1.45;
  }

  .hero-subcopy {
    max-width: 340px;
    font-size: 17px;
    line-height: 1.65;
  }

  .hero-icons {
    width: 100%;
    max-width: 330px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    display: grid;
    gap: 6px;
    margin-top: 32px;
  }

  .hero-icons > div {
    min-width: 0;
  }

  .hero-icon,
  .hero-icon svg {
    width: 38px;
    height: 38px;
  }

  .hero-icons b {
    font-size: 11px;
    line-height: 1.25;
  }

  .hero-actions {
    display: none;
  }

  .quick-strip {
    width: 100%;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1px;
    margin-top: 0;
    border-left: 0;
    border-right: 0;
    border-radius: 0;
    box-shadow: none;
  }

  .quick-strip a {
    min-height: 72px;
    padding: 15px 16px;
  }

  .quick-strip a:last-child {
    grid-column: 1 / -1;
  }

  .quick-strip b {
    font-size: 15px;
  }

  .quick-strip span {
    font-size: 13px;
  }

  .home-team-section {
    width: 100%;
    margin-top: 0;
  }

  .home-team-head {
    width: min(100% - 30px, 1180px);
    margin: 30px auto 16px;
  }

  .home-team-head h2 {
    font-size: 24px;
    line-height: 1.32;
  }

  .home-team-photo {
    border-radius: 0;
    box-shadow: none;
  }

  .home-team-photo img {
    aspect-ratio: 4 / 2.35;
    object-position: center 30%;
  }

  .hero::before {
    height: 82px;
  }

  .hero::after {
    height: 68px;
  }

  .intro-section h2,
  .section-head h2,
  .feature-grid h2,
  .doctor-grid h2,
  .info-section h2,
  .reservation-section h2 {
    font-size: 30px;
  }

  .section-head {
    display: block;
  }

  .section {
    padding: 48px 0;
  }

  .compact-section,
  .price-section {
    padding-top: 48px;
    padding-bottom: 48px;
  }

  .dark-section {
    padding: 0;
  }

  .line-list {
    margin-top: 24px;
  }

  .feature-bg {
    min-height: 520px;
    padding: 78px 22px;
    background-position: center;
  }

  .guide-panel {
    padding: 26px;
  }

  .guide-panel[id] {
    scroll-margin-top: 106px;
  }

  .guide-panel h2 {
    font-size: 28px;
  }

  .guide-nav {
    grid-template-columns: repeat(2, 1fr);
  }

  .price-table strong,
  .item-grid strong {
    font-size: 16px;
  }

  .feature-bg::before {
    background:
      linear-gradient(180deg, rgba(5, 31, 58, 0.92) 0%, rgba(5, 31, 58, 0.76) 52%, rgba(5, 31, 58, 0.34) 100%),
      linear-gradient(90deg, rgba(5, 31, 58, 0.84), rgba(5, 31, 58, 0.22));
  }

  .image-band,
  .image-band img {
    min-height: 520px;
  }

  .image-band-text {
    left: 15px;
    right: 15px;
    bottom: 42px;
  }

  .line-list li,
  .hours-list div {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .line-list li {
    padding: 14px 0;
  }

  .hours-box,
  .location-box {
    min-height: auto;
  }

  .hours-box {
    padding: 26px;
  }

  .hours-page-section .hours-box h2,
  .hours-page-section .location-box h2 {
    margin-bottom: 24px;
  }

  .notice-box {
    padding: 26px;
  }

  .notice-board-head {
    display: grid;
    gap: 14px;
  }

  .notice-board-head label {
    display: grid;
    gap: 8px;
  }

  .notice-board-head input {
    width: 100%;
  }

  .notice-board-header {
    display: none;
  }

  .notice-board-row {
    grid-template-columns: 58px minmax(0, 1fr);
    gap: 6px 10px;
    min-height: auto;
    padding: 16px 0;
  }

  .notice-board-row > * {
    padding: 0;
  }

  .notice-board-row strong {
    white-space: normal;
    font-size: 16px;
  }

  .notice-board-row time {
    grid-column: 2;
    text-align: left;
  }

  .notice-board-row > span:last-child {
    display: none;
  }
}
