/* [CSS BLOCK 01] 웹폰트 / 기본 변수 */
@import url("https://cdn.jsdelivr.net/gh/orioncactus/pretendard/dist/web/static/pretendard.css");
@import url("https://fonts.googleapis.com/css2?family=Marcellus&family=Gowun+Dodum&display=swap");
@font-face { font-family: "GmarketSansMedium"; src: url("https://cdn.jsdelivr.net/gh/projectnoonnu/noonfonts_2001@1.1/GmarketSansMedium.woff") format("woff"); font-weight: normal; font-style: normal; }

:root {
  --font-sans: "Pretendard", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-serif: "Marcellus", "Pretendard", serif;

  --color-ink: #17343b;
  --brand-blue: #008a98;
  --brand-teal: #009c9c;
  --color-muted: #6f7771;
  --color-deep: #008a98;
  --color-deep-2: #004b59;
  --color-green: #009c9c;
  --color-sage: #d9f3f1;
  --color-cream: #f7fbfa;
  --color-warm: #e6f6f4;
  --color-soft: #eef8f7;
  --color-line: rgba(0, 159, 159, 0.18);
  --color-white: #ffffff;

  --container: 1180px;
  --radius-large: 34px;
  --radius-medium: 24px;
  --shadow-soft: 0 26px 80px rgba(0, 138, 152, 0.13);
  --shadow-card: 0 18px 45px rgba(0, 138, 152, 0.08);
}

/* [CSS BLOCK 02] 초기화 / 공통 */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--color-ink);
  background: var(--color-cream);
  line-height: 1.65;
  word-break: keep-all;
}

body.is-menu-open {
  overflow: hidden;
}

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

button,
input,
textarea,
select {
  font: inherit;
}

button {
  border: 0;
  cursor: pointer;
}

img,
svg {
  display: block;
  max-width: 100%;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 9999;
  padding: 10px 14px;
  color: var(--color-white);
  background: var(--color-deep);
  border-radius: 999px;
  transform: translateY(-140%);
  transition: transform 0.2s ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.container {
  width: min(var(--container), calc(100% - 40px));
  margin: 0 auto;
}

.section-dark {
  color: var(--color-white);
  background: var(--color-deep-2);
}

.section-warm {
  background: var(--color-warm);
}

.section-soft {
  background: var(--color-soft);
}

.eyebrow {
  margin: 0 0 16px;
  font-family: var(--font-serif);
  font-size: 13px;
  letter-spacing: 0.24em;
  color: var(--color-green);
  text-transform: uppercase;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 24px;
  border-radius: 999px;
  font-weight: 800;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, color 0.25s ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  color: var(--color-white);
  background: var(--color-deep);
  box-shadow: 0 16px 35px rgba(28, 58, 47, 0.24);
}

.section-dark .button-primary,
.contact-box .button-primary {
  color: var(--color-deep);
  background: #f7f0e3;
}

.button-ghost {
  color: var(--color-white);
  border: 1px solid rgba(255, 255, 255, 0.34);
}

.button-ghost-dark {
  color: var(--color-deep);
  border: 1px solid rgba(32, 58, 49, 0.22);
}

.text-link,
.card-link {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  margin-top: 22px;
  font-weight: 800;
  color: var(--color-deep);
}

.text-link::after,
.card-link::after {
  content: "→";
  transition: transform 0.2s ease;
}

.text-link:hover::after,
.service-card:hover .card-link::after {
  transform: translateX(4px);
}

.inline-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* [CSS BLOCK 03] 상단바 */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(248, 244, 236, 0.84);
  border-bottom: 1px solid rgba(32, 58, 49, 0.08);
  backdrop-filter: blur(18px);
  transition: background 0.25s ease, box-shadow 0.25s ease;
}

.site-header.is-scrolled {
  background: rgba(248, 244, 236, 0.96);
  box-shadow: 0 10px 30px rgba(27, 39, 33, 0.08);
}

.header-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  width: calc(100% - 56px);
  height: 86px;
  margin: 0 auto;
}

.brand {
  display: inline-flex;
  gap: 14px;
  align-items: center;
}

.brand-logo-wrap {
  display: grid;
  width: 54px;
  height: 54px;
  place-items: center;
}

.brand-logo {
  width: 54px;
  height: 54px;
  object-fit: contain;
}

.brand-text {
  display: grid;
  gap: 1px;
}

.brand-text strong {
  color: var(--color-ink);
  font-family: "Gowun Dodum", var(--font-sans);
  font-size: 24px;
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: 0.015em;
}

.brand-text em {
  font-family: var(--font-serif);
  font-size: 11px;
  font-style: normal;
  letter-spacing: 0.2em;
  color: var(--color-muted);
  text-transform: uppercase;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-item {
  position: relative;
}

.nav-item > a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 16px;
  font-size: 15px;
  font-weight: 800;
  color: #28362f;
  border-radius: 999px;
}

.nav-item:hover > a,
.nav-item.is-current > a {
  background: rgba(32, 58, 49, 0.08);
}

.nav-dropdown {
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  display: grid;
  min-width: 205px;
  padding: 10px;
  pointer-events: none;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(32, 58, 49, 0.08);
  border-radius: 18px;
  box-shadow: var(--shadow-card);
  opacity: 0;
  transform: translate(-50%, 8px);
  transition: opacity 0.2s ease, transform 0.2s ease;
  backdrop-filter: blur(12px);
}

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

.nav-dropdown a:hover,
.nav-dropdown a.is-current-link {
  color: var(--color-deep);
  background: #eef8fb;
}

.nav-item:hover .nav-dropdown {
  pointer-events: auto;
  opacity: 1;
  transform: translate(-50%, 0);
}

.header-actions {
  display: flex;
  gap: 12px;
  align-items: center;
}

.header-phone {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  color: var(--color-white);
  font-size: 14px;
  font-weight: 800;
  background: var(--color-deep);
  border-radius: 999px;
}

.mobile-menu-button {
  display: none;
  width: 46px;
  height: 46px;
  background: var(--color-white);
  border: 1px solid rgba(32, 58, 49, 0.1);
  border-radius: 50%;
}

.mobile-menu-button span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: var(--color-deep);
  border-radius: 999px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.mobile-menu-button.is-active span:first-child {
  transform: translateY(3px) rotate(45deg);
}

.mobile-menu-button.is-active span:last-child {
  transform: translateY(-3px) rotate(-45deg);
}

.mobile-menu {
  display: none;
}

/* [CSS BLOCK 04] 이미지 슬롯 */
.image-slot {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 78% 20%, rgba(255, 255, 255, 0.46), transparent 22%),
    linear-gradient(135deg, rgba(35, 58, 49, 0.12), rgba(244, 231, 204, 0.38)),
    linear-gradient(135deg, #7b907f, #d6c7a7);
  isolation: isolate;
}

.image-slot::before {
  position: absolute;
  inset: 0;
  content: "";
  background:
    linear-gradient(120deg, transparent 0 44%, rgba(255, 255, 255, 0.16) 44% 46%, transparent 46%),
    radial-gradient(circle at 24% 84%, rgba(18, 36, 30, 0.18), transparent 26%);
  z-index: -1;
}

.image-hero-01,
.sub-visual-greeting { background-image: linear-gradient(135deg, rgba(35, 58, 49, 0.12), rgba(244, 231, 204, 0.38)), url("../images/main.webp"); }
.image-hero-02,
.sub-visual-facilities { background-image: linear-gradient(135deg, rgba(35, 58, 49, 0.12), rgba(244, 231, 204, 0.38)), url("../images/main-hero-02.jpg"); }
.slide-image-01,
.sub-visual-care { background-image: linear-gradient(135deg, rgba(35, 58, 49, 0.12), rgba(244, 231, 204, 0.38)), url("../images/activity-01.jpg"); }
.slide-image-02,
.sub-visual-medical { background-image: linear-gradient(135deg, rgba(35, 58, 49, 0.12), rgba(244, 231, 204, 0.38)), url("../images/activity-02.jpg"); }
.slide-image-03,
.sub-visual-program { background-image: linear-gradient(135deg, rgba(35, 58, 49, 0.12), rgba(244, 231, 204, 0.38)), url("../images/activity-03.jpg"); }
.space-image-01,
.facility-01 { background-image: linear-gradient(135deg, rgba(35, 58, 49, 0.12), rgba(244, 231, 204, 0.38)), url("../images/facility-01.jpg"); }
.space-image-02,
.facility-02 { background-image: linear-gradient(135deg, rgba(35, 58, 49, 0.12), rgba(244, 231, 204, 0.38)), url("../images/facility-02.jpg"); }
.space-image-03,
.facility-03 { background-image: linear-gradient(135deg, rgba(35, 58, 49, 0.12), rgba(244, 231, 204, 0.38)), url("../images/facility-03.jpg"); }
.facility-04 { background-image: linear-gradient(135deg, rgba(35, 58, 49, 0.12), rgba(244, 231, 204, 0.38)), url("../images/facility-04.jpg"); }
.gallery-01,
.sub-visual-cost { background-image: linear-gradient(135deg, rgba(35, 58, 49, 0.12), rgba(244, 231, 204, 0.38)), url("../images/program-01.jpg"); }
.gallery-02,
.sub-visual-process { background-image: linear-gradient(135deg, rgba(35, 58, 49, 0.12), rgba(244, 231, 204, 0.38)), url("../images/program-02.jpg"); }
.gallery-03,
.sub-visual-news { background-image: linear-gradient(135deg, rgba(35, 58, 49, 0.12), rgba(244, 231, 204, 0.38)), url("../images/program-03.jpg"); }
.news-01,
.sub-visual-meal { background-image: linear-gradient(135deg, rgba(35, 58, 49, 0.12), rgba(244, 231, 204, 0.38)), url("../images/news-01.jpg"); }
.news-02,
.sub-visual-contact { background-image: linear-gradient(135deg, rgba(35, 58, 49, 0.12), rgba(244, 231, 204, 0.38)), url("../images/news-02.jpg"); }
.news-03 { background-image: linear-gradient(135deg, rgba(35, 58, 49, 0.12), rgba(244, 231, 204, 0.38)), url("../images/news-03.jpg"); }

.image-slot {
  background-size: cover;
  background-position: center;
}

/* [CSS BLOCK 05] 메인 1섹션 */
.hero-section {
  position: relative;
  min-height: calc(100svh - 86px);
  padding: 92px 0 90px;
  overflow: hidden;
}

.hero-bg,
.sub-hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 82% 22%, rgba(228, 216, 190, 0.22), transparent 30%),
    linear-gradient(125deg, rgba(0, 75, 89, 0.96), rgba(0, 138, 152, 0.92)),
    linear-gradient(90deg, #004b59, #008a98);
}

.hero-bg::before,
.sub-hero-bg::before {
  position: absolute;
  inset: 0;
  content: "";
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 82px 82px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.9), transparent);
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 520px;
  gap: 72px;
  align-items: center;
}

.hero-copy h1 {
  max-width: 790px;
  margin: 0;
  font-size: clamp(42px, 5.5vw, 76px);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.065em;
}

.hero-copy h1 span {
  color: #e8dec9;
}

.hero-description {
  max-width: 640px;
  margin: 28px 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 18px;
  line-height: 1.85;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 38px;
}

.hero-visual {
  position: relative;
  min-height: 640px;
}

.hero-photo {
  position: absolute;
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: var(--shadow-soft);
}

.hero-photo-main {
  top: 0;
  right: 0;
  width: 74%;
  height: 460px;
  border-radius: 260px 260px 28px 28px;
}

.hero-photo-sub {
  bottom: 34px;
  left: 0;
  width: 52%;
  height: 260px;
  border-radius: 28px 28px 170px 170px;
}

.hero-card {
  position: absolute;
  right: 22px;
  bottom: 118px;
  width: 270px;
  padding: 24px;
  color: var(--color-deep);
  background: rgba(255, 250, 241, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 26px;
  box-shadow: 0 20px 50px rgba(9, 24, 18, 0.18);
  backdrop-filter: blur(14px);
}

.hero-card strong {
  display: block;
  font-family: var(--font-serif);
  font-size: 18px;
  letter-spacing: 0.04em;
}

.hero-card p {
  margin: 8px 0 0;
  color: var(--color-muted);
  font-size: 14px;
}

/* [CSS BLOCK 06] 메인 공통 섹션 */
.mission-section,
.service-section,
.activity-section,
.space-section,
.cost-section,
.life-section {
  padding: 120px 0;
}

.section-heading {
  max-width: 760px;
  margin: 0 auto 54px;
  text-align: center;
}

.section-heading h2,
.activity-copy h2,
.space-top h2,
.cost-copy h2,
.life-card h2,
.contact-box h2,
.content-copy h2,
.notice-box h2,
.blog-link-box h2,
.contact-info-card h2,
.map-placeholder h2 {
  margin: 0;
  font-size: clamp(34px, 4vw, 54px);
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: -0.055em;
}

.section-heading p,
.content-copy p,
.notice-box p,
.blog-link-box p,
.contact-info-card p,
.map-placeholder p {
  max-width: 650px;
  margin: 18px auto 0;
  color: var(--color-muted);
  font-size: 17px;
}

.content-copy p {
  margin-right: 0;
  margin-left: 0;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.service-card {
  min-height: 360px;
  padding: 34px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(32, 58, 49, 0.1);
  border-radius: var(--radius-large);
  box-shadow: var(--shadow-card);
  transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}

.service-card:hover {
  background: var(--color-white);
  box-shadow: 0 26px 70px rgba(34, 45, 39, 0.14);
  transform: translateY(-8px);
}

.service-icon {
  display: grid;
  width: 78px;
  height: 78px;
  place-items: center;
  margin-bottom: 34px;
  background: #e2f6f6;
  border-radius: 26px;
}

.service-icon svg {
  width: 42px;
  height: 42px;
}

.service-icon path {
  fill: none;
  stroke: var(--color-deep);
  stroke-width: 3.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.service-card h3 {
  margin: 0 0 12px;
  font-size: 24px;
  letter-spacing: -0.04em;
}

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

.activity-section {
  overflow: hidden;
}

.activity-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
  gap: 60px;
  align-items: center;
}

.activity-copy p:not(.eyebrow) {
  margin: 22px 0 0;
  color: var(--color-muted);
  font-size: 17px;
}

.care-list {
  display: grid;
  gap: 14px;
  margin-top: 36px;
}

.care-list div {
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 16px;
  align-items: center;
  padding: 18px 20px;
  background: rgba(255, 255, 255, 0.52);
  border: 1px solid rgba(32, 58, 49, 0.1);
  border-radius: 20px;
}

.care-list strong {
  color: var(--color-green);
  font-family: var(--font-serif);
  font-size: 20px;
}

.care-list span {
  font-weight: 700;
}

.activity-slider {
  position: relative;
  min-height: 520px;
  padding: 20px;
  background: rgba(255, 255, 255, 0.42);
  border: 1px solid rgba(32, 58, 49, 0.1);
  border-radius: 42px;
  box-shadow: var(--shadow-soft);
}

.slider-track {
  position: relative;
  height: 480px;
  overflow: hidden;
  border-radius: 30px;
}

.slide {
  position: absolute;
  inset: 0;
  margin: 0;
  opacity: 0;
  transform: scale(1.04);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.slide.is-active {
  opacity: 1;
  transform: scale(1);
}

.slide-image {
  height: 100%;
}

.slide figcaption {
  position: absolute;
  left: 24px;
  bottom: 22px;
  padding: 9px 14px;
  color: var(--color-deep);
  font-size: 13px;
  font-weight: 800;
  background: rgba(255, 255, 255, 0.82);
  border-radius: 999px;
}

.slider-button {
  position: absolute;
  top: 50%;
  z-index: 2;
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  color: var(--color-deep);
  font-size: 34px;
  line-height: 1;
  background: rgba(255, 255, 255, 0.84);
  border: 1px solid rgba(32, 58, 49, 0.1);
  border-radius: 50%;
  box-shadow: 0 14px 32px rgba(32, 58, 49, 0.16);
  transform: translateY(-50%);
}

.slider-prev {
  left: -4px;
}

.slider-next {
  right: -4px;
}

.slider-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 18px;
}

.slider-dots button {
  width: 8px;
  height: 8px;
  padding: 0;
  background: rgba(32, 58, 49, 0.22);
  border-radius: 50%;
}

.slider-dots button.is-active {
  width: 28px;
  background: var(--color-deep);
  border-radius: 999px;
}

.space-top {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 0.72fr);
  gap: 60px;
  align-items: end;
  margin-bottom: 44px;
}

.space-top p:not(.eyebrow) {
  margin: 0;
  color: var(--color-muted);
  font-size: 17px;
}

.space-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 22px;
}

.space-card {
  overflow: hidden;
  background: var(--color-white);
  border: 1px solid rgba(32, 58, 49, 0.1);
  border-radius: var(--radius-large);
  box-shadow: var(--shadow-card);
}

.space-card.large {
  grid-row: span 2;
}

.space-image {
  min-height: 260px;
}

.space-card.large .space-image {
  min-height: 560px;
}

.space-card-copy {
  padding: 26px 30px 30px;
}

.space-card-copy span {
  color: var(--color-green);
  font-family: var(--font-serif);
  font-size: 18px;
}

.space-card-copy h3 {
  margin: 8px 0 8px;
  font-size: 24px;
  letter-spacing: -0.04em;
}

.space-card-copy p {
  margin: 0;
  color: var(--color-muted);
}

.cost-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 58px;
  align-items: start;
}

.cost-copy p:not(.eyebrow) {
  margin: 20px 0 0;
  color: var(--color-muted);
  font-size: 17px;
}

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

.process-item {
  display: grid;
  grid-template-columns: 72px 150px 1fr;
  gap: 22px;
  align-items: center;
  padding: 24px;
  background: rgba(255, 255, 255, 0.66);
  border: 1px solid rgba(32, 58, 49, 0.1);
  border-radius: 24px;
}

.process-item span {
  color: var(--color-green);
  font-family: var(--font-serif);
  font-size: 28px;
}

.process-item strong {
  font-size: 18px;
}

.process-item p {
  margin: 0;
  color: var(--color-muted);
}

.life-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 24px;
}

.life-card,
.life-panel {
  padding: 38px;
  background: var(--color-white);
  border: 1px solid rgba(32, 58, 49, 0.1);
  border-radius: var(--radius-large);
  box-shadow: var(--shadow-card);
}

.life-card p:not(.eyebrow) {
  margin: 18px 0 0;
  color: var(--color-muted);
}

.life-panel {
  display: grid;
  gap: 14px;
}

.life-panel a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 22px 24px;
  background: #f3fbfb;
  border-radius: 20px;
  transition: transform 0.2s ease, background 0.2s ease;
}

.life-panel a:hover {
  background: #e4f6f7;
  transform: translateY(-2px);
}

.life-panel strong {
  font-size: 18px;
}

.life-panel span {
  color: var(--color-muted);
}

/* [CSS BLOCK 07] 상담 CTA / 푸터 */
.contact-section {
  padding: 0 0 110px;
}

.inner-contact {
  padding-top: 40px;
}

.contact-box {
  padding: 74px 48px;
  color: var(--color-white);
  text-align: center;
  background:
    radial-gradient(circle at 15% 15%, rgba(241, 229, 202, 0.18), transparent 30%),
    linear-gradient(135deg, var(--color-deep), #008f9f);
  border-radius: 42px;
  box-shadow: var(--shadow-soft);
}

.contact-box .eyebrow {
  color: #d2dfd1;
}

.contact-box h2 {
  max-width: 780px;
  margin: 0 auto;
}

.contact-box p {
  max-width: 640px;
  margin: 18px auto 0;
  color: rgba(255, 255, 255, 0.78);
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 34px;
}

.contact-box .button-ghost-dark {
  color: var(--color-white);
  border-color: rgba(255, 255, 255, 0.26);
}

.site-footer {
  padding: 48px 0 34px;
  color: rgba(255, 255, 255, 0.75);
  background: #043943;
}

.footer-grid {
  display: flex;
  justify-content: space-between;
  gap: 32px;
  padding-bottom: 30px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-grid strong {
  display: block;
  margin-bottom: 8px;
  color: var(--color-white);
  font-size: 22px;
}

.footer-logo {
  display: block;
  width: 168px;
  max-width: 100%;
  height: auto;
  margin-bottom: 10px;
}

.footer-grid p {
  margin: 0;
}

.footer-info {
  display: grid;
  gap: 6px;
  text-align: right;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding-top: 24px;
  font-size: 14px;
}

.footer-bottom a {
  color: var(--color-white);
}

/* [CSS BLOCK 08] 서브 페이지 공통 */
.sub-hero {
  position: relative;
  overflow: hidden;
  padding: 92px 0 82px;
}

.sub-hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 420px;
  gap: 64px;
  align-items: center;
}

.sub-hero-copy h1 {
  max-width: 790px;
  margin: 0;
  font-size: clamp(40px, 5vw, 68px);
  font-weight: 800;
  line-height: 1.13;
  letter-spacing: -0.065em;
}

.sub-hero-copy p:not(.eyebrow) {
  max-width: 630px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.76);
  font-size: 18px;
}

.sub-visual {
  height: 420px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 220px 220px 28px 28px;
  box-shadow: var(--shadow-soft);
}

.sub-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 28px 0 -28px;
  padding: 14px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(32, 58, 49, 0.1);
  border-radius: 999px;
  box-shadow: 0 14px 38px rgba(34, 45, 39, 0.08);
  backdrop-filter: blur(12px);
}

.sub-tabs a {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 18px;
  color: var(--color-muted);
  font-weight: 800;
  border-radius: 999px;
}

.sub-tabs a.is-active,
.sub-tabs a:hover {
  color: var(--color-white);
  background: var(--color-deep);
}

.content-section,
.card-section,
.gallery-section,
.blog-link-section,
.map-section,
.feature-band {
  padding: 110px 0;
}

.split-layout,
.service-detail-grid,
.program-layout,
.contact-page-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 56px;
  align-items: center;
}

.quote-card,
.check-panel,
.timeline-card,
.notice-box,
.blog-link-box,
.contact-info-card,
.map-placeholder {
  padding: 38px;
  background: rgba(255, 255, 255, 0.76);
  border: 1px solid rgba(32, 58, 49, 0.1);
  border-radius: var(--radius-large);
  box-shadow: var(--shadow-card);
}

.quote-card span {
  display: block;
  height: 52px;
  color: var(--color-green);
  font-family: var(--font-serif);
  font-size: 76px;
  line-height: 0.8;
}

.quote-card blockquote {
  margin: 0;
  font-size: 30px;
  font-weight: 800;
  line-height: 1.38;
  letter-spacing: -0.05em;
}

.quote-card p {
  margin: 20px 0 0;
  color: var(--color-muted);
}

.value-grid,
.card-3-grid,
.step-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.value-card,
.info-card,
.step-card {
  padding: 34px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(32, 58, 49, 0.1);
  border-radius: var(--radius-large);
  box-shadow: var(--shadow-card);
}

.value-card span,
.info-card span,
.step-card span {
  color: var(--color-green);
  font-family: var(--font-serif);
  font-size: 26px;
}

.value-card h3,
.info-card h3,
.step-card h3 {
  margin: 14px 0 10px;
  font-size: 25px;
  letter-spacing: -0.04em;
}

.value-card p,
.info-card p,
.step-card p {
  margin: 0;
  color: var(--color-muted);
}

.facility-grid {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 22px;
}

.facility-card {
  overflow: hidden;
  background: var(--color-white);
  border: 1px solid rgba(32, 58, 49, 0.1);
  border-radius: var(--radius-large);
  box-shadow: var(--shadow-card);
}

.facility-card.large {
  grid-row: span 2;
}

.facility-image {
  min-height: 280px;
}

.facility-card.large .facility-image {
  min-height: 560px;
}

.facility-card h3,
.facility-card p {
  padding-right: 30px;
  padding-left: 30px;
}

.facility-card h3 {
  margin: 28px 0 8px;
  font-size: 24px;
}

.facility-card p {
  margin: 0 0 30px;
  color: var(--color-muted);
}

.feature-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.feature-item {
  display: grid;
  gap: 8px;
  padding: 30px;
  text-align: center;
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid rgba(32, 58, 49, 0.1);
  border-radius: 26px;
}

.feature-item strong {
  font-size: 24px;
}

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

.check-panel h3 {
  margin: 0 0 18px;
  font-size: 24px;
  letter-spacing: -0.04em;
}

.check-panel ul {
  display: grid;
  gap: 12px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.check-panel li {
  position: relative;
  padding-left: 28px;
  color: var(--color-muted);
}

.check-panel li::before {
  position: absolute;
  top: 10px;
  left: 0;
  width: 10px;
  height: 10px;
  content: "";
  background: var(--color-green);
  border-radius: 50%;
}

.timeline-card {
  display: grid;
  gap: 14px;
}

.timeline-card div {
  padding: 22px;
  background: #f3fbfb;
  border-radius: 22px;
}

.timeline-card span {
  display: inline-flex;
  margin-bottom: 8px;
  color: var(--color-green);
  font-family: var(--font-serif);
  font-size: 18px;
}

.timeline-card strong {
  display: block;
  font-size: 20px;
}

.timeline-card p {
  margin: 6px 0 0;
  color: var(--color-muted);
}

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

.program-list div {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 22px 24px;
  background: rgba(255, 255, 255, 0.74);
  border: 1px solid rgba(32, 58, 49, 0.1);
  border-radius: 22px;
  box-shadow: var(--shadow-card);
}

.program-list strong {
  font-size: 18px;
}

.program-list span {
  color: var(--color-muted);
  text-align: right;
}

.gallery-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.8fr;
  gap: 22px;
}

.gallery-tile {
  min-height: 430px;
  border-radius: var(--radius-large);
  box-shadow: var(--shadow-card);
}

.table-wrap {
  overflow: auto;
  background: var(--color-white);
  border: 1px solid rgba(32, 58, 49, 0.1);
  border-radius: var(--radius-large);
  box-shadow: var(--shadow-card);
}

.guide-table {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
}

.guide-table th,
.guide-table td {
  padding: 22px 24px;
  text-align: left;
  border-bottom: 1px solid rgba(32, 58, 49, 0.1);
}

.guide-table th {
  color: var(--color-deep);
  background: #e7f6f8;
}

.guide-table td {
  color: var(--color-muted);
}

.guide-table tr:last-child td {
  border-bottom: 0;
}

.step-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.news-grid {
  display: grid;
  gap: 22px;
}

.news-card {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 28px;
  align-items: center;
  padding: 24px;
  background: var(--color-white);
  border: 1px solid rgba(32, 58, 49, 0.1);
  border-radius: var(--radius-large);
  box-shadow: var(--shadow-card);
}

.news-image {
  min-height: 220px;
  border-radius: 24px;
}

.news-card span {
  color: var(--color-green);
  font-weight: 800;
}

.news-card h3 {
  margin: 8px 0 10px;
  font-size: 25px;
  letter-spacing: -0.04em;
}

.news-card p {
  margin: 0;
  color: var(--color-muted);
}

.news-card a {
  display: inline-flex;
  margin-top: 18px;
  font-weight: 800;
  color: var(--color-deep);
}

.blog-link-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.blog-link-box p {
  margin-right: 0;
  margin-left: 0;
}

.big-phone {
  display: inline-flex;
  margin-top: 20px;
  color: var(--color-deep);
  font-size: clamp(34px, 4vw, 52px);
  font-weight: 900;
  letter-spacing: -0.04em;
}

.address-line {
  display: block;
  margin-top: 20px;
  font-size: 28px;
  letter-spacing: -0.04em;
}

.map-placeholder {
  min-height: 340px;
  display: grid;
  place-items: center;
  text-align: center;
}

/* [CSS BLOCK 09] 반응형 */
@media (max-width: 1100px) {
  .desktop-nav {
    display: none;
  }

  .mobile-menu-button {
    display: block;
  }

  .mobile-menu {
    position: fixed;
    top: 86px;
    right: 20px;
    left: 20px;
    z-index: 999;
    display: grid;
    gap: 8px;
    max-height: calc(100svh - 106px);
    padding: 16px;
    overflow: auto;
    pointer-events: none;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid rgba(32, 58, 49, 0.1);
    border-radius: 24px;
    box-shadow: var(--shadow-soft);
    opacity: 0;
    transform: translateY(-12px);
    transition: opacity 0.22s ease, transform 0.22s ease;
  }

  .mobile-menu.is-open {
    pointer-events: auto;
    opacity: 1;
    transform: translateY(0);
  }

  .mobile-menu a {
    padding: 14px 16px;
    font-weight: 800;
    border-radius: 16px;
  }

  .mobile-menu a:hover,
  .mobile-menu a.is-current-link {
    background: #eef8fb;
  }

  .hero-grid,
  .activity-grid,
  .space-top,
  .cost-grid,
  .life-grid,
  .sub-hero-grid,
  .split-layout,
  .service-detail-grid,
  .program-layout,
  .contact-page-grid {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    min-height: 540px;
  }

  .hero-photo-main {
    width: 78%;
  }

  .space-grid,
  .facility-grid {
    grid-template-columns: 1fr;
  }

  .space-card.large,
  .facility-card.large {
    grid-row: auto;
  }

  .space-card.large .space-image,
  .facility-card.large .facility-image {
    min-height: 360px;
  }

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

  .process-item p {
    grid-column: 2;
  }

  .feature-list,
  .step-grid,
  .gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .news-card {
    grid-template-columns: 260px 1fr;
  }
}

@media (max-width: 760px) {
  .container,
  .header-inner {
    width: min(100% - 28px, var(--container));
  }

  .header-inner {
    height: 72px;
  }

  .brand-logo-wrap {
    width: 40px;
    height: 40px;
    border-radius: 13px;
  }

  .brand-logo {
    width: 30px;
    height: 30px;
  }

  .brand-text strong {
    font-size: 17px;
  }

  .brand-text em {
    display: none;
  }

  .header-phone {
    display: none;
  }

  .mobile-menu {
    top: 72px;
    right: 14px;
    left: 14px;
  }

  .hero-section {
    min-height: auto;
    padding: 70px 0 72px;
  }

  .hero-grid {
    gap: 46px;
  }

  .hero-description,
  .section-heading p,
  .activity-copy p:not(.eyebrow),
  .space-top p:not(.eyebrow),
  .cost-copy p:not(.eyebrow),
  .sub-hero-copy p:not(.eyebrow),
  .content-copy p,
  .notice-box p,
  .blog-link-box p,
  .contact-info-card p,
  .map-placeholder p {
    font-size: 16px;
  }

  .hero-buttons,
  .contact-actions,
  .inline-actions {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .hero-visual {
    min-height: 430px;
  }

  .hero-photo-main {
    width: 82%;
    height: 330px;
  }

  .hero-photo-sub {
    width: 56%;
    height: 190px;
  }

  .hero-card {
    right: 0;
    bottom: 80px;
    width: min(255px, 74vw);
  }

  .mission-section,
  .service-section,
  .activity-section,
  .space-section,
  .cost-section,
  .life-section,
  .content-section,
  .card-section,
  .gallery-section,
  .blog-link-section,
  .map-section,
  .feature-band {
    padding: 82px 0;
  }

  .service-grid,
  .value-grid,
  .card-3-grid,
  .feature-list,
  .step-grid,
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .service-card,
  .value-card,
  .info-card,
  .step-card {
    min-height: auto;
    padding: 28px;
  }

  .activity-slider {
    min-height: 420px;
    padding: 14px;
    border-radius: 30px;
  }

  .slider-track {
    height: 380px;
    border-radius: 22px;
  }

  .slider-button {
    width: 42px;
    height: 42px;
  }

  .space-card.large .space-image,
  .space-image,
  .facility-card.large .facility-image,
  .facility-image,
  .gallery-tile {
    min-height: 300px;
  }

  .life-card,
  .life-panel,
  .quote-card,
  .check-panel,
  .timeline-card,
  .notice-box,
  .blog-link-box,
  .contact-info-card,
  .map-placeholder {
    padding: 28px;
  }

  .life-panel a,
  .program-list div,
  .blog-link-box {
    align-items: flex-start;
    flex-direction: column;
  }

  .program-list span {
    text-align: left;
  }

  .contact-section {
    padding-bottom: 82px;
  }

  .contact-box {
    padding: 52px 24px;
    border-radius: 30px;
  }

  .sub-hero {
    padding: 70px 0 72px;
  }

  .sub-visual {
    height: 320px;
  }

  .sub-tabs {
    overflow-x: auto;
    flex-wrap: nowrap;
    justify-content: flex-start;
    border-radius: 22px;
  }

  .sub-tabs a {
    flex: 0 0 auto;
  }

  .quote-card blockquote {
    font-size: 24px;
  }

  .news-card {
    grid-template-columns: 1fr;
  }

  .news-image {
    min-height: 220px;
  }

  .footer-grid,
  .footer-bottom {
    flex-direction: column;
  }

  .footer-info {
    text-align: left;
  }
}

@media (max-width: 420px) {
  body {
    line-height: 1.6;
  }

  .hero-copy h1 {
    font-size: 39px;
  }

  .section-heading h2,
  .activity-copy h2,
  .space-top h2,
  .cost-copy h2,
  .life-card h2,
  .contact-box h2,
  .content-copy h2,
  .notice-box h2,
  .blog-link-box h2,
  .contact-info-card h2,
  .map-placeholder h2 {
    font-size: 31px;
  }

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

  .process-item p {
    grid-column: auto;
  }

  .big-phone {
    font-size: 32px;
  }
}


/* [CSS BLOCK 10] v4 요청사항 반영 */
.desktop-nav {
  justify-self: center;
}

.brand {
  justify-self: start;
}

.header-actions {
  justify-self: end;
}

.header-phone {
  background: linear-gradient(135deg, var(--brand-teal), #007c8b);
  box-shadow: 0 14px 30px rgba(0, 138, 152, 0.22);
}

.hero-bg,
.sub-hero-bg {
  background:
    radial-gradient(circle at 82% 22%, rgba(103, 214, 206, 0.22), transparent 30%),
    linear-gradient(125deg, rgba(0, 75, 89, 0.96), rgba(0, 138, 152, 0.92)),
    linear-gradient(90deg, #004b59, #008a98);
}

.hero-copy h1 span {
  color: #dff7f3;
}

.button-primary {
  background: linear-gradient(135deg, var(--brand-teal), #007c8b);
  box-shadow: 0 16px 35px rgba(0, 138, 152, 0.24);
}

.section-dark .button-primary,
.contact-box .button-primary {
  color: #004b59;
  background: #f2fffb;
}

.underline-animate {
  position: relative;
  display: inline-block;
  z-index: 1;
}

.underline-animate::after {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0.05em;
  z-index: -1;
  height: 0.26em;
  content: "";
  background: linear-gradient(90deg, rgba(0, 156, 156, 0.18), rgba(0, 156, 156, 0.5));
  border-radius: 999px;
  transform: scaleX(0);
  transform-origin: left center;
  animation: underlineGrow 1.2s ease forwards;
}

@keyframes underlineGrow {
  to {
    transform: scaleX(1);
  }
}

.service-icon {
  width: 86px;
  height: 86px;
  background: linear-gradient(135deg, rgba(0, 156, 156, 0.08), rgba(0, 138, 152, 0.16));
  border: 1px solid rgba(0, 156, 156, 0.14);
  border-radius: 30px;
}

.service-icon svg {
  width: 52px;
  height: 52px;
}

.service-icon path {
  stroke: #008a98;
  stroke-width: 3;
}

.slider-button {
  width: 56px;
  height: 56px;
  color: transparent;
  font-size: 0;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(0, 156, 156, 0.18);
  box-shadow: 0 18px 44px rgba(0, 75, 89, 0.16);
  backdrop-filter: blur(16px);
}

.slider-button::before {
  width: 13px;
  height: 13px;
  content: "";
  border-top: 2px solid var(--brand-teal);
  border-right: 2px solid var(--brand-teal);
}

.slider-prev::before {
  transform: rotate(-135deg) translate(-1px, -1px);
}

.slider-next::before {
  transform: rotate(45deg) translate(-1px, 1px);
}

.space-gallery-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr 0.85fr;
  grid-auto-rows: 260px;
  gap: 18px;
}

.space-gallery-tile {
  display: block;
  min-height: 260px;
  border-radius: 32px;
  box-shadow: var(--shadow-card);
  transition: transform 0.28s ease, box-shadow 0.28s ease;
}

.space-gallery-tile:hover {
  transform: translateY(-5px);
  box-shadow: 0 24px 70px rgba(0, 138, 152, 0.14);
}

.space-gallery-large {
  grid-row: span 2;
  min-height: 538px;
}

.contact-box {
  background:
    radial-gradient(circle at 15% 15%, rgba(217, 243, 241, 0.22), transparent 30%),
    linear-gradient(135deg, #004b59, #008a98);
}

.contact-form-card {
  padding: 38px;
  background: rgba(255, 255, 255, 0.76);
  border: 1px solid rgba(0, 156, 156, 0.12);
  border-radius: var(--radius-large);
  box-shadow: var(--shadow-card);
}

.contact-form-card h2 {
  margin: 0;
  font-size: clamp(34px, 4vw, 48px);
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: -0.055em;
}

.contact-form-card p:not(.eyebrow) {
  margin: 16px 0 28px;
  color: var(--color-muted);
}

.form-field {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.form-field span {
  color: var(--color-ink);
  font-weight: 800;
}

.form-field input,
.form-field textarea {
  width: 100%;
  padding: 16px 18px;
  color: var(--color-ink);
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(0, 156, 156, 0.16);
  border-radius: 18px;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-field textarea {
  resize: vertical;
}

.form-field input:focus,
.form-field textarea:focus {
  border-color: var(--brand-teal);
  box-shadow: 0 0 0 4px rgba(0, 156, 156, 0.1);
}

.form-submit {
  width: 100%;
  margin-top: 22px;
}

.map-block {
  overflow: hidden;
  background: var(--color-white);
  border: 1px solid rgba(0, 156, 156, 0.12);
  border-radius: 38px;
  box-shadow: var(--shadow-card);
}

.map-info {
  padding: 36px 38px 28px;
}

.map-info h2 {
  margin: 0;
  font-size: clamp(34px, 4vw, 48px);
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: -0.055em;
}

.map-info p:not(.eyebrow) {
  margin: 14px 0 0;
  color: var(--color-muted);
  font-size: 17px;
}

.map-frame-wrap {
  height: 440px;
  background: var(--color-soft);
}

.map-frame-wrap iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

@media (max-width: 1100px) {
  .header-inner {
    display: flex;
    width: min(100% - 40px, 1360px);
  }

  .space-gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .space-gallery-large {
    grid-row: span 1;
    min-height: 260px;
  }
}

@media (max-width: 760px) {
  .brand-logo-wrap {
    width: 46px;
    height: 46px;
  }

  .brand-logo {
    width: 46px;
    height: 46px;
  }

  .brand-text strong {
    font-size: 20px;
  }

  .space-gallery-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: 260px;
  }

  .map-frame-wrap {
    height: 360px;
  }
}


/* [CSS BLOCK 11] v5 요청사항 반영 */
.section-heading .eyebrow,
.contact-box .eyebrow {
  margin-bottom: 26px;
}

.gradient-word {
  display: inline-block;
  font-style: normal;
  background: linear-gradient(90deg, #f2fffb, #88eee5, #ffffff, #00c4b8, #f2fffb);
  background-size: 260% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: gradientTextMove 3.2s linear infinite;
}

@keyframes gradientTextMove {
  0% {
    background-position: 0% center;
  }
  100% {
    background-position: 260% center;
  }
}

.hero-card {
  color: #004b59;
}

.hero-card strong {
  color: #006f7a;
}

.hero-card p {
  color: #425f63;
}

.slider-button {
  width: 42px;
  height: 42px;
  background: transparent;
  border: 0;
  box-shadow: none;
  backdrop-filter: none;
}

.slider-button::before {
  width: 18px;
  height: 18px;
  border-top-width: 3px;
  border-right-width: 3px;
}

.space-description-align {
  max-width: 620px;
  margin-left: auto !important;
  text-align: right;
}

.process-list {
  gap: 22px;
}

.contact-box .contact-actions {
  margin-top: 42px;
}

.contact-section .contact-box {
  padding-top: 82px;
  padding-bottom: 82px;
}

.contact-consult-visual {
  height: 420px;
  background-image: url("../images/contact-consult.svg");
  background-size: cover;
  background-position: center;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 220px 220px 28px 28px;
  box-shadow: var(--shadow-soft);
}

.contact-side-stack {
  display: grid;
  gap: 18px;
}

.contact-check-card {
  padding: 30px;
  background: rgba(255, 255, 255, 0.76);
  border: 1px solid rgba(0, 156, 156, 0.12);
  border-radius: var(--radius-large);
  box-shadow: var(--shadow-card);
}

.contact-check-card h3 {
  margin: 0 0 18px;
  font-size: 24px;
  letter-spacing: -0.04em;
}

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

.contact-check-card li {
  position: relative;
  padding-left: 28px;
  color: var(--color-muted);
}

.contact-check-card li::before {
  position: absolute;
  top: 10px;
  left: 0;
  width: 10px;
  height: 10px;
  content: "";
  background: var(--brand-teal);
  border-radius: 50%;
}

.form-modal {
  position: fixed;
  inset: 0;
  z-index: 5000;
  display: none;
  place-items: center;
  padding: 20px;
}

.form-modal.is-open {
  display: grid;
}

.form-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(9, 34, 39, 0.46);
  backdrop-filter: blur(10px);
}

.form-modal-box {
  position: relative;
  z-index: 1;
  width: min(440px, 100%);
  padding: 44px 32px 34px;
  text-align: center;
  background: #ffffff;
  border: 1px solid rgba(0, 156, 156, 0.12);
  border-radius: 30px;
  box-shadow: 0 30px 90px rgba(0, 75, 89, 0.22);
}

.form-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 34px;
  height: 34px;
  color: var(--color-muted);
  font-size: 24px;
  line-height: 1;
  background: transparent;
}

.form-modal-icon {
  display: grid;
  width: 66px;
  height: 66px;
  place-items: center;
  margin: 0 auto 20px;
  color: #ffffff;
  font-size: 34px;
  font-weight: 900;
  background: linear-gradient(135deg, var(--brand-teal), #007c8b);
  border-radius: 50%;
}

.form-modal-box h2 {
  margin: 0;
  font-size: 25px;
  letter-spacing: -0.04em;
}

.form-modal-box p {
  margin: 10px 0 24px;
  color: var(--color-muted);
}

.form-modal-box .button {
  width: 100%;
}

@media (max-width: 760px) {
  .brand-logo-wrap {
    width: 46px;
    height: 46px;
  }

  .brand-logo {
    width: 46px;
    height: 46px;
  }

  .brand-text strong {
    font-size: 20px;
  }

  .space-description-align {
    text-align: left;
  }

  .contact-consult-visual {
    height: 320px;
  }
}


/* [CSS BLOCK 12] v6 푸터 / 상담문의 / 공통 영문 라벨 / 메인 표시 안정화 */
.eyebrow,
.section-dark .eyebrow,
.contact-box .eyebrow,
.map-info .eyebrow,
.contact-info-card .eyebrow,
.contact-form-card .eyebrow,
.contact-check-card .eyebrow,
.notice-box .eyebrow,
.blog-link-box .eyebrow,
.map-placeholder .eyebrow {
  font-size: 13px;
  line-height: 1.2;
  letter-spacing: 0.24em;
}

.contact-check-card .check-desc {
  margin: -4px 0 18px;
  color: var(--color-muted);
  font-size: 14px;
  line-height: 1.65;
}

.footer-info p {
  line-height: 1.75;
}

.footer-info p + p {
  margin-top: 2px;
}

/* 메인페이지 흰 화면 방지: 핵심 영역 표시값 고정 */
body[data-page="home"] main,
body[data-page="home"] .hero-section,
body[data-page="home"] .mission-section,
body[data-page="home"] .service-section,
body[data-page="home"] .activity-section,
body[data-page="home"] .space-section,
body[data-page="home"] .cost-section,
body[data-page="home"] .contact-section {
  display: block;
}

body[data-page="home"] .hero-grid,
body[data-page="home"] .service-grid,
body[data-page="home"] .activity-grid,
body[data-page="home"] .space-top,
body[data-page="home"] .cost-grid {
  visibility: visible;
}

body[data-page="home"] .reveal {
  opacity: 1;
  transform: none;
}


/* [CSS BLOCK 13] v8 디테일 수정 */
.brand-logo-wrap {
  width: 64px;
  height: 64px;
}

.brand-logo {
  width: 64px;
  height: 64px;
}

.brand-text {
  gap: 5px;
}

.brand-text strong {
  font-family: "GmarketSansMedium", var(--font-sans);
  font-size: 25px;
  font-weight: 700;
  letter-spacing: 0.03em;
}

.desktop-nav {
  gap: 14px;
}

.nav-item {
  padding-bottom: 18px;
  margin-bottom: -18px;
}

.nav-item::after {
  position: absolute;
  top: 44px;
  left: 0;
  right: 0;
  height: 24px;
  content: "";
}

.nav-item > a {
  font-weight: 700;
}

.nav-dropdown {
  top: calc(100% + 2px);
}

.hero-copy h1 {
  font-size: clamp(39px, 5.05vw, 70px);
  line-height: 1.19;
}

.gradient-word {
  background: linear-gradient(105deg, #eafffb 0%, #bcefea 32%, #f6fffd 50%, #9ee2dd 68%, #eafffb 100%);
  background-size: 220% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: gradientTextMove 8.5s ease-in-out infinite;
}

@keyframes gradientTextMove {
  0% {
    background-position: 0% center;
  }
  50% {
    background-position: 100% center;
  }
  100% {
    background-position: 0% center;
  }
}

.hero-card strong {
  line-height: 1.15;
}

.hero-card p {
  margin-top: 4px;
  line-height: 1.45;
}

.soft-underline {
  display: inline;
  background-image: linear-gradient(to top, rgba(0, 156, 156, 0.2) 0.34em, transparent 0.34em);
  background-repeat: no-repeat;
  background-size: 100% 100%;
  border-radius: 0.2em;
}

.slider-button::before {
  border-color: rgba(0, 156, 156, 0.42);
}

.cost-section .button-primary {
  box-shadow: none;
}

.process-list {
  gap: 26px;
}

.contact-box .eyebrow {
  font-size: 15px;
  margin-bottom: 34px;
}

.footer-info p:nth-child(2) {
  white-space: nowrap;
}

/* 상담문의 페이지 */
body[data-page="contact"] .sub-hero {
  padding: 44px 0 42px;
}

body[data-page="contact"] .sub-hero-copy .eyebrow {
  font-size: 18px;
  margin-bottom: 22px;
}

body[data-page="contact"] .sub-hero-copy h1 {
  font-size: clamp(34px, 4vw, 52px);
}

body[data-page="contact"] .sub-hero-copy p:not(.eyebrow) {
  margin-top: 16px;
}

body[data-page="contact"] .sub-visual,
body[data-page="contact"] .contact-consult-visual {
  height: 260px;
}

.contact-page-grid-align {
  align-items: stretch;
}

.contact-page-grid-align .contact-side-stack {
  height: 100%;
  grid-template-rows: 1fr 1fr;
}

.contact-page-grid-align .contact-info-card,
.contact-page-grid-align .contact-check-card,
.contact-page-grid-align .contact-form-card {
  height: 100%;
}

.contact-info-card .eyebrow,
.contact-form-card .eyebrow,
.contact-check-card .eyebrow,
.map-info .eyebrow {
  min-height: 16px;
  margin-bottom: 24px;
  font-size: 13px;
  line-height: 1.2;
  letter-spacing: 0.24em;
}

.contact-info-card h2,
.contact-form-card h2,
.contact-check-card h3,
.map-info h2 {
  margin: 0;
  font-size: 34px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.055em;
}

.contact-check-card .check-desc {
  margin-top: 20px;
}

/* 나은소개 */
.greeting-value-section {
  padding: 90px 0 42px;
  background: var(--color-soft);
}

.greeting-value-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 24px;
  align-items: stretch;
}

.greeting-quote-card {
  height: 100%;
}

.greeting-quote-card p {
  display: none;
}

.greeting-value-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.greeting-value-grid .value-card {
  min-height: 100%;
}

.greeting-message-wrap {
  max-width: 920px;
}

.greeting-message {
  margin-top: 30px;
}

.greeting-message p {
  max-width: none;
  margin: 0 0 22px;
  color: var(--color-muted);
  font-size: 18px;
  line-height: 1.9;
}

.greeting-message p:first-child,
.greeting-message p:last-child {
  color: var(--color-ink);
  font-weight: 800;
}

@media (max-width: 1100px) {
  .brand-logo-wrap,
  .brand-logo {
    width: 56px;
    height: 56px;
  }

  .greeting-value-layout,
  .contact-page-grid-align {
    grid-template-columns: 1fr;
  }

  .greeting-value-grid {
    grid-template-columns: 1fr;
  }

  .contact-page-grid-align .contact-side-stack {
    grid-template-rows: auto;
  }
}

@media (max-width: 760px) {
  .brand-logo-wrap,
  .brand-logo {
    width: 48px;
    height: 48px;
  }

  .brand-text {
    gap: 3px;
  }

  .brand-text strong {
    font-size: 20px;
  }

  body[data-page="contact"] .sub-hero {
    padding: 42px 0;
  }

  body[data-page="contact"] .sub-visual,
  body[data-page="contact"] .contact-consult-visual {
    height: 240px;
  }

  .contact-info-card h2,
  .contact-form-card h2,
  .contact-check-card h3,
  .map-info h2 {
    font-size: 28px;
  }
}


/* [CSS BLOCK 14] v9 디테일 수정 */
.brand-logo-wrap,
.brand-logo {
  width: 72px;
  height: 72px;
}

.brand-text {
  gap: 3px;
}

.desktop-nav {
  gap: 16px;
}

.nav-item > a {
  font-weight: 600;
}

.hero-copy h1 {
  font-size: clamp(37px, 4.7vw, 66px);
  line-height: 1.2;
}

.hero-nowrap {
  white-space: nowrap;
}

.hero-card strong {
  margin-bottom: 8px;
}

.hero-card p {
  margin-top: 8px;
  line-height: 1.52;
}

.soft-underline {
  background-image: linear-gradient(to top, rgba(0, 156, 156, 0.11) 0.34em, transparent 0.34em);
}

.process-list {
  gap: 28px;
}

.contact-page-grid-align .contact-side-stack {
  grid-template-rows: 0.82fr 1.18fr;
}

.contact-page-grid-align .contact-info-card {
  padding-top: 30px;
  padding-bottom: 30px;
}

.contact-page-grid-align .contact-check-card {
  padding-top: 36px;
  padding-bottom: 36px;
}

.greeting-value-layout {
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
}

.greeting-quote-card {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.greeting-value-grid {
  align-items: stretch;
}

.greeting-message-wrap {
  max-width: 980px;
}

.greeting-message p:first-child {
  font-size: 20px;
  line-height: 1.7;
}

.facility-feature-top {
  padding: 86px 0 54px;
}

.facility-feature-list {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.facility-feature-list .feature-item {
  display: flex;
  align-items: center;
  gap: 18px;
  min-height: 128px;
  padding: 28px;
  text-align: left;
}

.feature-icon {
  display: grid;
  flex: 0 0 48px;
  width: 48px;
  height: 48px;
  place-items: center;
  background: rgba(0, 156, 156, 0.1);
  border: 1px solid rgba(0, 156, 156, 0.16);
  border-radius: 16px;
}

.feature-icon svg {
  width: 28px;
  height: 28px;
}

.feature-icon path,
.feature-icon circle {
  fill: none;
  stroke: var(--brand-teal);
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.facility-feature-list .feature-item span:last-child {
  display: grid;
  gap: 4px;
}

.facility-feature-list .feature-item strong {
  font-size: 22px;
}

.facility-feature-list .feature-item em {
  color: var(--color-muted);
  font-style: normal;
}

.facility-content-section {
  padding-top: 76px;
}

.facility-content-section .section-heading {
  max-width: 960px;
}

.facility-content-section .section-heading p {
  max-width: 920px;
  line-height: 1.9;
}

@media (max-width: 1100px) {
  .brand-logo-wrap,
  .brand-logo {
    width: 62px;
    height: 62px;
  }

  .hero-nowrap {
    white-space: normal;
  }

  .facility-feature-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .brand-logo-wrap,
  .brand-logo {
    width: 52px;
    height: 52px;
  }

  .hero-copy h1 {
    font-size: 36px;
  }

  .facility-feature-list {
    grid-template-columns: 1fr;
  }
}


/* [CSS BLOCK 15] v10 디테일 수정 */
.brand-logo-wrap,
.brand-logo {
  width: 84px;
  height: 84px;
}

.header-inner {
  height: 96px;
}

.hero-copy h1 {
  font-size: clamp(36px, 4.45vw, 62px);
  line-height: 1.2;
}

body[data-page="home"] .hero-copy h1 {
  font-size: clamp(36px, 4.45vw, 62px) !important;
  line-height: 1.2 !important;
}

.cost-section .button-primary {
  border: 1px solid rgba(0, 156, 156, 0.22);
}

.contact-page-grid-align .contact-check-card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: 48px;
  padding-bottom: 48px;
}

.contact-check-card .eyebrow,
.contact-check-card h3,
.contact-check-card .check-desc,
.contact-check-card ul {
  margin-left: 22px;
}

.contact-check-card .check-desc {
  margin-top: 22px;
  margin-bottom: 20px;
}

body[data-page="greeting"] .sub-hero-copy h1 {
  line-height: 1.28;
}

.facility-feature-list .feature-item {
  gap: 24px;
}

/* 생활 안내 메뉴 제거 후 중앙 메뉴 간격 보정 */
.desktop-nav {
  gap: 24px;
}

@media (max-width: 1100px) {
  .brand-logo-wrap,
  .brand-logo {
    width: 70px;
    height: 70px;
  }

  .header-inner {
    height: 90px;
  }
}

@media (max-width: 760px) {
  .brand-logo-wrap,
  .brand-logo {
    width: 58px;
    height: 58px;
  }

  .header-inner {
    height: 76px;
  }

  .contact-check-card .eyebrow,
  .contact-check-card h3,
  .contact-check-card .check-desc,
  .contact-check-card ul {
    margin-left: 0;
  }
}


/* [CSS BLOCK 16] v11 디테일 수정 */
.brand {
  gap: 10px;
}

.brand-logo-wrap,
.brand-logo {
  width: 78px;
  height: 78px;
}

.header-inner {
  height: 92px;
}

.gradient-word {
  background: linear-gradient(105deg, #fff7e8 0%, #f0c880 32%, #fff3d6 50%, #d99645 68%, #fff7e8 100%);
  background-size: 220% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: gradientTextMove 8.5s ease-in-out infinite;
}

.service-summary-section {
  padding: 90px 0 42px;
}

.service-summary-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.service-list-section {
  padding-top: 86px;
}

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

.program-detail-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.detail-service-card {
  display: grid;
  grid-template-columns: 66px 1fr;
  gap: 22px;
  align-items: start;
  min-height: 210px;
  padding: 30px;
  background: rgba(255, 255, 255, 0.76);
  border: 1px solid rgba(0, 156, 156, 0.12);
  border-radius: var(--radius-large);
  box-shadow: var(--shadow-card);
}

.detail-icon {
  display: grid;
  width: 60px;
  height: 60px;
  place-items: center;
  background: rgba(0, 156, 156, 0.1);
  border: 1px solid rgba(0, 156, 156, 0.16);
  border-radius: 20px;
}

.detail-icon svg {
  width: 34px;
  height: 34px;
}

.detail-icon path,
.detail-icon circle {
  fill: none;
  stroke: var(--brand-teal);
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.detail-service-card h3 {
  margin: 0 0 10px;
  font-size: 22px;
  letter-spacing: -0.04em;
}

.detail-service-card p {
  margin: 0;
  color: var(--color-muted);
  line-height: 1.75;
}

.process-step-grid {
  margin-bottom: 28px;
}

.process-check-panel {
  margin-top: 24px;
}

.facility-content-section .soft-underline {
  background-image: linear-gradient(to top, rgba(0, 156, 156, 0.11) 0.34em, transparent 0.34em);
}

@media (max-width: 1100px) {
  .brand-logo-wrap,
  .brand-logo {
    width: 66px;
    height: 66px;
  }

  .service-summary-grid,
  .program-detail-grid {
    grid-template-columns: 1fr;
  }

  .detail-service-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .brand-logo-wrap,
  .brand-logo {
    width: 54px;
    height: 54px;
  }

  .header-inner {
    height: 76px;
  }

  .detail-service-card {
    grid-template-columns: 1fr;
  }
}


/* [CSS BLOCK 17] v12 디테일 수정 */
.brand {
  gap: 6px;
}

.brand-logo-wrap,
.brand-logo {
  width: 74px;
  height: 74px;
}

.brand-logo {
  transform: translateY(-3px);
}

.header-phone {
  min-width: 118px;
  padding-right: 24px;
  padding-left: 24px;
}

.nav-item > a {
  gap: 6px;
}

.nav-icon {
  display: inline-grid;
  width: 20px;
  height: 20px;
  place-items: center;
  color: var(--brand-teal);
  font-size: 15px;
  font-weight: 700;
  line-height: 1;
  background: rgba(0, 156, 156, 0.08);
  border: 1px solid rgba(0, 156, 156, 0.12);
  border-radius: 50%;
}

.gradient-word {
  background: linear-gradient(105deg, #fff6e7 0%, #ead39e 36%, #fffaf0 52%, #d9b879 70%, #fff6e7 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: gradientTextMove 10s ease-in-out infinite;
}

.hero-copy h1 {
  line-height: 1.24;
}

body[data-page="home"] .hero-copy h1 {
  line-height: 1.24 !important;
}

.cost-copy h2 {
  line-height: 1.3;
}

.inner-contact {
  border-top: 1px solid rgba(0, 156, 156, 0.16);
  padding-top: 76px;
}

.map-section {
  border-top: 1px solid rgba(0, 156, 156, 0.16);
  padding-top: 90px;
}

/* 서브 7개 페이지 1섹션 높이 축소 */
body[data-page="greeting"] .sub-hero,
body[data-page="facilities"] .sub-hero,
body[data-page="care"] .sub-hero,
body[data-page="medical"] .sub-hero,
body[data-page="program"] .sub-hero,
body[data-page="cost"] .sub-hero,
body[data-page="process"] .sub-hero {
  padding: 30px 0 28px;
}

body[data-page="greeting"] .sub-visual,
body[data-page="facilities"] .sub-visual,
body[data-page="care"] .sub-visual,
body[data-page="medical"] .sub-visual,
body[data-page="program"] .sub-visual,
body[data-page="cost"] .sub-visual,
body[data-page="process"] .sub-visual {
  height: 210px;
}

body[data-page="greeting"] .sub-hero-copy h1,
body[data-page="facilities"] .sub-hero-copy h1,
body[data-page="care"] .sub-hero-copy h1,
body[data-page="medical"] .sub-hero-copy h1,
body[data-page="program"] .sub-hero-copy h1,
body[data-page="cost"] .sub-hero-copy h1,
body[data-page="process"] .sub-hero-copy h1 {
  font-size: clamp(31px, 3.8vw, 48px);
}

.longterm-process {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
  gap: 8px;
  align-items: stretch;
  margin-top: 42px;
}

.longterm-card {
  display: grid;
  gap: 22px;
  align-content: center;
  min-height: 150px;
  padding: 24px;
  color: #fff;
  text-align: center;
  background: #76510f;
  border-radius: 4px;
  box-shadow: var(--shadow-card);
}

.longterm-card strong {
  font-size: 18px;
  line-height: 1.45;
}

.longterm-card span {
  display: inline-flex;
  justify-content: center;
  padding: 12px 16px;
  color: #76510f;
  font-weight: 800;
  background: #fff;
  border-radius: 999px;
}

.longterm-arrow {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  align-self: center;
  color: #fff;
  font-weight: 900;
  background: #5e3f0b;
  border-radius: 50%;
  transform: translateX(-2px);
  z-index: 2;
}

.process-info-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.process-info-card {
  padding: 30px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(0, 156, 156, 0.12);
  border-radius: var(--radius-large);
  box-shadow: var(--shadow-card);
}

.process-info-card span {
  color: var(--brand-teal);
  font-family: var(--font-serif);
  font-size: 26px;
}

.process-info-card h3 {
  margin: 12px 0 10px;
  font-size: 22px;
}

.process-info-card p {
  margin: 0;
  color: var(--color-muted);
  line-height: 1.75;
}

.process-callout {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-top: 28px;
  color: var(--color-ink);
  font-size: 18px;
}

.process-callout a {
  color: var(--brand-teal);
  font-size: 24px;
  font-weight: 900;
}

.cost-standard {
  max-width: 1180px;
  margin: -20px auto 14px;
  color: var(--color-muted);
  text-align: right;
  font-weight: 800;
}

.cost-table {
  min-width: 920px;
}

.cost-table th {
  color: #fff;
  text-align: center;
  background: #4a321c;
}

.cost-table td {
  color: #5f6563;
  font-weight: 800;
  text-align: center;
  vertical-align: middle;
}

.cost-table td:first-child {
  color: #555;
  font-size: 18px;
}

.cost-note {
  margin: 22px 0 0;
  color: var(--color-muted);
  font-size: 15px;
}

@media (max-width: 1100px) {
  .brand-logo-wrap,
  .brand-logo {
    width: 64px;
    height: 64px;
  }

  .longterm-process {
    grid-template-columns: 1fr;
  }

  .longterm-arrow {
    margin: -4px auto;
    transform: rotate(90deg);
  }

  .process-info-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .brand-logo-wrap,
  .brand-logo {
    width: 54px;
    height: 54px;
  }

  .header-phone {
    min-width: auto;
  }

  .nav-icon {
    display: none;
  }
}


/* [CSS BLOCK 18] v13 디테일 수정 */
.brand-text {
  transform: translateX(-1px);
}

.brand {
  gap: 5px;
}

.nav-icon {
  display: none !important;
}

.gradient-word {
  background: linear-gradient(105deg, #fff9ee 0%, #eadbb9 34%, #fffaf3 52%, #d9c49b 70%, #fff9ee 100%);
  background-size: 190% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: gradientTextMove 11s ease-in-out infinite;
}

/* 구분선은 본문 너비에 맞춤 */
.inner-contact,
.map-section {
  position: relative;
  border-top: 0 !important;
}

.inner-contact::before,
.map-section::before {
  position: absolute;
  top: 0;
  left: 50%;
  width: min(var(--container), calc(100% - 40px));
  height: 1px;
  content: "";
  background: rgba(0, 156, 156, 0.16);
  transform: translateX(-50%);
}

/* 비용안내 회색 계열 */
.cost-table th {
  color: #ffffff;
  background: #5f6568;
}

.cost-table td:first-child {
  background: rgba(95, 101, 104, 0.045);
}

.cost-table td {
  color: #5f6568;
}

/* 대상 및 서비스 이용 절차 */
.process-info-grid-two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: 900px;
  margin: 0 auto;
}

.process-flow-section {
  margin-top: 44px;
}

.process-section-title {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
}

.process-section-title span {
  color: var(--brand-teal);
  font-family: var(--font-serif);
  font-size: 28px;
}

.process-section-title h3 {
  margin: 0;
  font-size: 28px;
  letter-spacing: -0.045em;
}

.admission-flow {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.admission-step {
  position: relative;
  min-height: 150px;
  padding: 28px 24px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(0, 156, 156, 0.12);
  border-radius: 26px;
  box-shadow: var(--shadow-card);
}

.admission-step:not(:last-child)::after {
  position: absolute;
  top: 50%;
  right: -14px;
  z-index: 2;
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  color: var(--brand-teal);
  font-weight: 900;
  content: "→";
  background: #ffffff;
  border: 1px solid rgba(0, 156, 156, 0.14);
  border-radius: 50%;
  transform: translateY(-50%);
}

.admission-step strong {
  display: block;
  margin-bottom: 12px;
  color: var(--color-ink);
  font-size: 18px;
  line-height: 1.45;
}

.admission-step p {
  margin: 0;
  color: var(--color-muted);
  line-height: 1.65;
}

.longterm-process-gray .longterm-card {
  color: var(--color-ink);
  background: #f0f3f3;
  border: 1px solid rgba(95, 101, 104, 0.14);
}

.longterm-process-gray .longterm-card span {
  color: #5f6568;
  background: #ffffff;
  border: 1px solid rgba(95, 101, 104, 0.12);
}

.longterm-process-gray .longterm-arrow {
  color: #ffffff;
  background: #8b9396;
}

@media (max-width: 1100px) {
  .process-info-grid-two,
  .admission-flow {
    grid-template-columns: 1fr;
  }

  .admission-step:not(:last-child)::after {
    top: auto;
    right: 50%;
    bottom: -22px;
    transform: translateX(50%) rotate(90deg);
  }
}


/* [CSS BLOCK 19] v14 디테일 수정 */
.brand-text em {
  transform: translateX(1px);
}

.gradient-word {
  background: linear-gradient(105deg, rgba(245, 255, 250, 0.94) 0%, rgba(188, 232, 214, 0.72) 36%, rgba(255, 255, 255, 0.96) 52%, rgba(151, 210, 188, 0.66) 70%, rgba(245, 255, 250, 0.94) 100%);
  background-size: 185% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: gradientTextMove 12s ease-in-out infinite;
}

/* 비용안내 표 정리 */
.cost-table-wrap {
  border-radius: 24px;
}

.cost-table {
  min-width: 940px;
  table-layout: fixed;
  border-collapse: collapse;
}

.cost-col-grade {
  width: 20%;
}

.cost-col-rate {
  width: 10%;
}

.cost-col-price {
  width: 17%;
}

.cost-col-calc {
  width: 53%;
}

.cost-table th,
.cost-table td {
  border-right: 1px solid rgba(95, 101, 104, 0.18);
  border-bottom: 1px solid rgba(95, 101, 104, 0.16);
}

.cost-table th:last-child,
.cost-table td:last-child {
  border-right: 0;
}

.cost-table th {
  padding: 20px 24px;
  color: #ffffff;
  background: #5f6568;
}

.cost-table td {
  padding: 20px 24px;
  color: #5f6568;
  font-weight: 800;
  text-align: center;
  vertical-align: middle;
  background: #fbfbfb;
}

.cost-table tbody tr:nth-child(3n+1) td {
  border-top: 1px solid rgba(95, 101, 104, 0.22);
}

.cost-table .grade-cell {
  color: #4f5557;
  font-size: 18px;
  background: #f3f4f4;
}

.cost-standard {
  max-width: 1180px;
  margin: 14px auto 0;
  color: var(--color-muted);
  text-align: right;
  font-size: 15px;
  font-weight: 800;
}

/* 대상 및 서비스 이용 절차 */
.process-info-grid-two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: none;
  margin: 0;
}

.process-flow-card {
  margin-top: 28px;
  padding: 34px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(0, 156, 156, 0.12);
  border-radius: var(--radius-large);
  box-shadow: var(--shadow-card);
}

.process-section-title {
  margin-bottom: 24px;
}

.process-flow-card .admission-flow {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.process-flow-card .admission-step {
  min-height: 156px;
  background: #f7fbfa;
  border: 1px solid rgba(0, 156, 156, 0.13);
  box-shadow: none;
}

.process-flow-card .longterm-process {
  margin-top: 0;
}

.process-flow-card .longterm-process-gray .longterm-card {
  min-height: 156px;
  color: var(--color-ink);
  background: #f3f5f5;
  border: 1px solid rgba(95, 101, 104, 0.14);
  box-shadow: none;
}

.process-flow-card .longterm-process-gray .longterm-card span {
  color: #5f6568;
  background: #ffffff;
  border: 1px solid rgba(95, 101, 104, 0.12);
}

.process-flow-card .longterm-process-gray .longterm-arrow {
  color: #ffffff;
  background: #9aa1a3;
}

@media (max-width: 1100px) {
  .process-info-grid-two,
  .process-flow-card .admission-flow {
    grid-template-columns: 1fr;
  }
}


/* [CSS BLOCK 20] v15 디테일 수정 */
.brand-text em {
  display: block;
  transform: translateX(2px);
}

.brand-text {
  gap: 2px;
}

.cost-standard {
  display: none;
}

.cost-note strong {
  color: var(--color-ink);
  font-weight: 900;
}

.longterm-admission-flow .longterm-admission-step {
  background: #f7fbfa;
  border: 1px solid rgba(95, 101, 104, 0.14);
}

.longterm-admission-flow .longterm-admission-step p {
  display: inline-flex;
  width: fit-content;
  margin-top: 14px;
  padding: 8px 14px;
  color: #5f6568;
  font-weight: 800;
  background: #ffffff;
  border: 1px solid rgba(95, 101, 104, 0.12);
  border-radius: 999px;
}

.floating-quick {
  position: fixed;
  right: 28px;
  bottom: 28px;
  z-index: 1400;
}

.floating-quick a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 22px;
  color: #ffffff;
  font-weight: 900;
  letter-spacing: -0.03em;
  background: linear-gradient(135deg, var(--brand-teal), #007c8b);
  border-radius: 999px;
  box-shadow: 0 18px 46px rgba(0, 138, 152, 0.28);
  transition: transform 0.24s ease, box-shadow 0.24s ease;
}

.floating-quick a:hover {
  transform: translateY(-3px);
  box-shadow: 0 24px 58px rgba(0, 138, 152, 0.34);
}

@media (max-width: 760px) {
  .floating-quick {
    right: 18px;
    bottom: 18px;
  }

  .floating-quick a {
    min-height: 48px;
    padding: 0 18px;
    font-size: 14px;
  }
}


/* [CSS BLOCK 21] v16 디테일 수정 */
.longterm-org-link {
  display: inline-flex;
  width: fit-content;
  margin-top: 14px;
  padding: 8px 14px;
  color: #5f6568;
  font-weight: 800;
  background: #ffffff;
  border: 1px solid rgba(95, 101, 104, 0.12);
  border-radius: 999px;
  transition: transform 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.longterm-org-link:hover {
  color: var(--brand-teal);
  border-color: rgba(0, 156, 156, 0.28);
  transform: translateY(-1px);
}

.floating-quick a {
  gap: 9px;
  padding: 0 20px 0 14px;
}

.floating-blog-icon {
  display: inline-grid;
  width: 30px;
  height: 30px;
  place-items: center;
  flex: 0 0 30px;
}

.floating-blog-icon svg {
  width: 30px;
  height: 30px;
}

.floating-blog-icon rect,
.floating-blog-icon path {
  fill: none;
  stroke: #ffffff;
  stroke-width: 2.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

@media (max-width: 760px) {
  .floating-blog-icon {
    width: 28px;
    height: 28px;
    flex-basis: 28px;
  }

  .floating-blog-icon svg {
    width: 28px;
    height: 28px;
  }
}


/* [CSS BLOCK 22] v17 블로그 플로팅 이미지 아이콘 */
.floating-blog-icon img {
  display: block;
  width: 28px;
  height: 28px;
  object-fit: contain;
}

.floating-blog-icon svg {
  display: none;
}


/* [CSS BLOCK 23] v18 우측 하단 플로팅 버튼 색상 변경 */
.floating-quick a {
  color: var(--color-ink);
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(95, 101, 104, 0.18);
  box-shadow: 0 16px 40px rgba(23, 52, 59, 0.12);
  backdrop-filter: blur(12px);
}

.floating-quick a:hover {
  box-shadow: 0 20px 52px rgba(23, 52, 59, 0.16);
}

.floating-blog-icon img {
  filter: none;
}


/* [CSS BLOCK 24] v19 이미지 삽입 영역 */
.hero-photo-sub {
  background-image:
    linear-gradient(135deg, rgba(35, 58, 49, 0.06), rgba(244, 231, 204, 0.12)),
    url("../images/main1-2.webp");
  background-size: cover;
  background-position: center;
}

.main3-image-1 { background-image: linear-gradient(135deg, rgba(35, 58, 49, 0.08), rgba(244, 231, 204, 0.15)), url("../images/main3-1.png"); }
.main3-image-2 { background-image: linear-gradient(135deg, rgba(35, 58, 49, 0.08), rgba(244, 231, 204, 0.15)), url("../images/main3-2.png"); }
.main3-image-3 { background-image: linear-gradient(135deg, rgba(35, 58, 49, 0.08), rgba(244, 231, 204, 0.15)), url("../images/main3-3.png"); }
.main3-image-4 { background-image: linear-gradient(135deg, rgba(35, 58, 49, 0.08), rgba(244, 231, 204, 0.15)), url("../images/main3-4.png"); }
.main3-image-5 { background-image: linear-gradient(135deg, rgba(35, 58, 49, 0.08), rgba(244, 231, 204, 0.15)), url("../images/main3-5.png"); }
.main3-image-6 { background-image: linear-gradient(135deg, rgba(35, 58, 49, 0.08), rgba(244, 231, 204, 0.15)), url("../images/main3-6.png"); }
.main3-image-7 { background-image: linear-gradient(135deg, rgba(35, 58, 49, 0.08), rgba(244, 231, 204, 0.15)), url("../images/main3-7.png"); }

.main4-image-1 { background-image: linear-gradient(135deg, rgba(35, 58, 49, 0.06), rgba(244, 231, 204, 0.1)), url("../images/main4-1.webp"); }
.main4-image-2 { background-image: linear-gradient(135deg, rgba(35, 58, 49, 0.06), rgba(244, 231, 204, 0.1)), url("../images/main4-2.webp"); }
.main4-image-3 { background-image: linear-gradient(135deg, rgba(35, 58, 49, 0.06), rgba(244, 231, 204, 0.1)), url("../images/main4-3.webp"); }
.main4-image-4 { background-image: linear-gradient(135deg, rgba(35, 58, 49, 0.06), rgba(244, 231, 204, 0.1)), url("../images/main4-4.webp"); }
.main4-image-5 { background-image: linear-gradient(135deg, rgba(35, 58, 49, 0.06), rgba(244, 231, 204, 0.1)), url("../images/main4-5.webp"); }

body[data-page="facilities"] .sub-visual-facilities {
  height: 250px;
  background-image:
    linear-gradient(135deg, rgba(35, 58, 49, 0.06), rgba(244, 231, 204, 0.1)),
    url("../images/facilities1.webp");
  background-size: cover;
  background-position: center;
  border-radius: 120px 36px 120px 36px;
}

.facilities2-1-1 { background-image: linear-gradient(135deg, rgba(35, 58, 49, 0.06), rgba(244, 231, 204, 0.1)), url("../images/facilities2-1-1.png"); }
.facilities2-2-1 { background-image: linear-gradient(135deg, rgba(35, 58, 49, 0.06), rgba(244, 231, 204, 0.1)), url("../images/facilities2-2-1.webp"); }
.facilities2-2-2 { background-image: linear-gradient(135deg, rgba(35, 58, 49, 0.06), rgba(244, 231, 204, 0.1)), url("../images/facilities2-2-2.webp"); }
.facilities2-3-1 { background-image: linear-gradient(135deg, rgba(35, 58, 49, 0.06), rgba(244, 231, 204, 0.1)), url("../images/facilities2-3-1.webp"); }
.facilities2-4-1 { background-image: linear-gradient(135deg, rgba(35, 58, 49, 0.06), rgba(244, 231, 204, 0.1)), url("../images/facilities2-4-1.webp"); }
.facilities2-4-2 { background-image: linear-gradient(135deg, rgba(35, 58, 49, 0.06), rgba(244, 231, 204, 0.1)), url("../images/facilities2-4-2.webp"); }

.facility-mini-slider {
  position: relative;
  overflow: hidden;
}

.facility-mini-track {
  position: relative;
  min-height: inherit;
}

.facility-mini-track .facility-image {
  position: absolute;
  inset: 0;
  min-height: inherit;
  opacity: 0;
  transform: scale(1.025);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.facility-mini-track .facility-image.is-active {
  position: relative;
  opacity: 1;
  transform: scale(1);
}

.facility-card.large .facility-mini-slider,
.facility-card.large .facility-mini-track,
.facility-card.large .facility-image {
  min-height: 560px;
}

.facility-card:not(.large) .facility-mini-slider,
.facility-card:not(.large) .facility-mini-track,
.facility-card:not(.large) .facility-image {
  min-height: 280px;
}

@media (max-width: 1100px) {
  .facility-card.large .facility-mini-slider,
  .facility-card.large .facility-mini-track,
  .facility-card.large .facility-image {
    min-height: 360px;
  }
}

@media (max-width: 760px) {
  body[data-page="facilities"] .sub-visual-facilities {
    height: 230px;
    border-radius: 76px 28px 76px 28px;
  }

  .facility-card.large .facility-mini-slider,
  .facility-card.large .facility-mini-track,
  .facility-card.large .facility-image,
  .facility-card:not(.large) .facility-mini-slider,
  .facility-card:not(.large) .facility-mini-track,
  .facility-card:not(.large) .facility-image {
    min-height: 300px;
  }
}


/* [CSS BLOCK 25] v21 실제 업로드 파일명 보정 */
/* FTP에 업로드된 시설 이미지 파일명이 facilities가 아니라 facilties로 되어 있어 해당 이름을 우선 적용합니다. */
body[data-page="facilities"] .sub-visual-facilities {
  background-image:
    linear-gradient(135deg, rgba(35, 58, 49, 0.06), rgba(244, 231, 204, 0.1)),
    url("../images/facilities1.webp");
}

.facilities2-1-1 {
  background-image:
    linear-gradient(135deg, rgba(35, 58, 49, 0.06), rgba(244, 231, 204, 0.1)),
    url("../images/facilities2-1-1.webp");
}

.facilities2-2-1 {
  background-image:
    linear-gradient(135deg, rgba(35, 58, 49, 0.06), rgba(244, 231, 204, 0.1)),
    url("../images/facilities2-2-1.webp");
}

.facilities2-2-2 {
  background-image:
    linear-gradient(135deg, rgba(35, 58, 49, 0.06), rgba(244, 231, 204, 0.1)),
    url("../images/facilities2-2-2.webp");
}

.facilities2-3-1 {
  background-image:
    linear-gradient(135deg, rgba(35, 58, 49, 0.06), rgba(244, 231, 204, 0.1)),
    url("../images/facilities2-3-1.webp");
}

.facilities2-4-1 {
  background-image:
    linear-gradient(135deg, rgba(35, 58, 49, 0.06), rgba(244, 231, 204, 0.1)),
    url("../images/facilities2-4-1.webp");
}

.facilities2-4-2 {
  background-image:
    linear-gradient(135deg, rgba(35, 58, 49, 0.06), rgba(244, 231, 204, 0.1)),
    url("../images/facilities2-4-2.webp");
}


/* [CSS BLOCK 26] v22 시설 이미지 및 공통 1섹션 이미지 프레임 수정 */
.sub-visual,
.contact-consult-visual {
  border-radius: 120px 36px 120px 36px;
}

body[data-page="care"] .sub-visual-care {
  background-image: linear-gradient(135deg, rgba(35,58,49,.04), rgba(244,231,204,.08)), url("../images/care1.webp");
  background-size: cover;
  background-position: center;
}

body[data-page="medical"] .sub-visual-medical {
  background-image: linear-gradient(135deg, rgba(35,58,49,.04), rgba(244,231,204,.08)), url("../images/medical1.webp");
  background-size: cover;
  background-position: center;
}

body[data-page="program"] .sub-visual-program {
  background-image: linear-gradient(135deg, rgba(35,58,49,.04), rgba(244,231,204,.08)), url("../images/program1.webp");
  background-size: cover;
  background-position: center;
}

.hero-photo-main::before,
.hero-photo-sub::before,
.slide-image::before,
.space-gallery-tile::before,
.sub-visual::before,
.contact-consult-visual::before,
.facility-image::before,
.floor-guide-image::before {
  display: none;
}

body[data-page="facilities"] .facility-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: stretch;
}

body[data-page="facilities"] .facility-card.large {
  grid-row: auto;
}

body[data-page="facilities"] .facility-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

body[data-page="facilities"] .facility-card.large .facility-mini-slider,
body[data-page="facilities"] .facility-card.large .facility-mini-track,
body[data-page="facilities"] .facility-card.large .facility-image,
body[data-page="facilities"] .facility-card:not(.large) .facility-mini-slider,
body[data-page="facilities"] .facility-card:not(.large) .facility-mini-track,
body[data-page="facilities"] .facility-card:not(.large) .facility-image {
  min-height: 320px;
}

body[data-page="facilities"] .facility-card h3 {
  margin-top: 24px;
}

.floor-guide-section {
  padding: 96px 0;
}

.floor-guide-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 26px;
}

.floor-guide-card {
  overflow: hidden;
  background: rgba(255,255,255,.78);
  border: 1px solid rgba(0,156,156,.12);
  border-radius: var(--radius-large);
  box-shadow: var(--shadow-card);
}

.floor-guide-card h3 {
  margin: 0;
  padding: 26px 30px 18px;
  font-size: 28px;
  line-height: 1.2;
  letter-spacing: -.045em;
}

.floor-guide-image {
  min-height: 520px;
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  background-color: #fff;
}

.floor-guide-1 {
  background-image: url("../images/facilities1.webp");
}

.floor-guide-2 {
  background-image: url("../images/facilities2.webp");
}

@media (max-width: 1100px) {
  body[data-page="facilities"] .facility-grid,
  .floor-guide-grid {
    grid-template-columns: 1fr;
  }

  body[data-page="facilities"] .facility-card.large .facility-mini-slider,
  body[data-page="facilities"] .facility-card.large .facility-mini-track,
  body[data-page="facilities"] .facility-card.large .facility-image,
  body[data-page="facilities"] .facility-card:not(.large) .facility-mini-slider,
  body[data-page="facilities"] .facility-card:not(.large) .facility-mini-track,
  body[data-page="facilities"] .facility-card:not(.large) .facility-image {
    min-height: 340px;
  }
}

@media (max-width: 760px) {
  .sub-visual,
  .contact-consult-visual {
    border-radius: 76px 28px 76px 28px;
  }

  .floor-guide-section {
    padding: 76px 0;
  }

  .floor-guide-card h3 {
    padding: 22px 24px 14px;
    font-size: 24px;
  }

  .floor-guide-image {
    min-height: 360px;
  }
}


/* [CSS BLOCK 27] v23 시설 3섹션 / 비용·절차 1섹션 이미지 / 문의폼 메일 */
.floor-guide-grid {
  grid-template-columns: 1fr !important;
  gap: 34px;
}

.floor-guide-image {
  min-height: 720px;
  background-size: contain !important;
  background-position: center;
  background-repeat: no-repeat !important;
}

body[data-page="cost"] .sub-visual-cost {
  background-image:
    linear-gradient(135deg, rgba(35, 58, 49, 0.04), rgba(244, 231, 204, 0.08)),
    url("../images/cost1.webp");
  background-size: cover;
  background-position: center;
}

body[data-page="process"] .sub-visual-process {
  background-image:
    linear-gradient(135deg, rgba(35, 58, 49, 0.04), rgba(244, 231, 204, 0.08)),
    url("../images/process1.webp");
  background-size: cover;
  background-position: center;
}

.form-alert {
  display: none;
  margin-bottom: 18px;
  padding: 14px 16px;
  color: var(--color-ink);
  font-weight: 800;
  background: rgba(0, 156, 156, 0.08);
  border: 1px solid rgba(0, 156, 156, 0.16);
  border-radius: 16px;
}

body[data-contact-result="sent"] .form-alert.is-success,
body[data-contact-result="error"] .form-alert.is-error {
  display: block;
}

@media (max-width: 1100px) {
  .floor-guide-image {
    min-height: 620px;
  }
}

@media (max-width: 760px) {
  .floor-guide-image {
    min-height: 420px;
  }
}


/* [CSS BLOCK 28] v24 메일주소 / 1섹션 이미지 프레임 내부선 제거 */
.sub-visual,
.contact-consult-visual {
  overflow: hidden;
  border: 0 !important;
  outline: 0 !important;
  background-clip: border-box;
  box-shadow: var(--shadow-soft);
}

.sub-visual.image-slot,
.contact-consult-visual,
body[data-page="facilities"] .sub-visual-facilities,
body[data-page="care"] .sub-visual-care,
body[data-page="medical"] .sub-visual-medical,
body[data-page="program"] .sub-visual-program,
body[data-page="cost"] .sub-visual-cost,
body[data-page="process"] .sub-visual-process {
  background-size: calc(100% + 4px) calc(100% + 4px) !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
}

.sub-visual::after,
.contact-consult-visual::after {
  display: none !important;
}

/* 이미지가 들어간 1섹션 우측 박스에서 배경색/그라데이션 경계가 보이지 않도록 이미지 레이어 우선 */
body[data-page="facilities"] .sub-visual-facilities,
body[data-page="care"] .sub-visual-care,
body[data-page="medical"] .sub-visual-medical,
body[data-page="program"] .sub-visual-program,
body[data-page="cost"] .sub-visual-cost,
body[data-page="process"] .sub-visual-process {
  background-color: transparent !important;
}


/* [CSS BLOCK 29] v25 1섹션 이미지 비율 보존 */
.sub-visual.image-slot,
.contact-consult-visual,
body[data-page="facilities"] .sub-visual-facilities,
body[data-page="care"] .sub-visual-care,
body[data-page="medical"] .sub-visual-medical,
body[data-page="program"] .sub-visual-program,
body[data-page="cost"] .sub-visual-cost,
body[data-page="process"] .sub-visual-process {
  background-size: cover !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
  border: 0 !important;
  outline: 0 !important;
  overflow: hidden;
}


/* [CSS BLOCK 30] v27 메인 3섹션 자동 슬라이드 */
.activity-slider figcaption,
.slider-track figcaption {
  display: none !important;
}

.auto-main-slide-image {
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.auto-main-slide-image::before {
  display: none !important;
}


/* [CSS BLOCK 31] v28 메인 1섹션 우측 이미지 크기 / 따뜻한 필터 */
body[data-page="home"] .hero-photo-main {
  width: 78% !important;
  filter: saturate(1.04) sepia(0.045) brightness(1.015);
}

body[data-page="home"] .hero-photo-sub {
  width: 56% !important;
  filter: saturate(1.04) sepia(0.045) brightness(1.015);
}

body[data-page="home"] .hero-photo-main::after,
body[data-page="home"] .hero-photo-sub::after {
  position: absolute;
  inset: 0;
  content: "";
  pointer-events: none;
  background: rgba(255, 222, 184, 0.09);
  mix-blend-mode: soft-light;
}

@media (max-width: 760px) {
  body[data-page="home"] .hero-photo-main {
    width: 84% !important;
  }

  body[data-page="home"] .hero-photo-sub {
    width: 58% !important;
  }
}

/* [CSS BLOCK 32] v31 시설안내 1섹션 이미지 수정 */
body[data-page="facilities"] .sub-visual-facilities {
  background-image:
    linear-gradient(135deg, rgba(35, 58, 49, 0.04), rgba(244, 231, 204, 0.08)),
    url("../images/main.webp") !important;
  background-size: cover !important;
  background-position: center !important;
}

/* [CSS BLOCK 25] 요청 반영: 상단 logo.webp 가로 로고 확대 / 상단바 높이 복구 / 푸터 로고 표시 보정 */
.brand-logo-wrap,
body[data-page="home"] .brand-logo-wrap {
  width: 180px;
  height: 54px;
}

.brand-logo,
body[data-page="home"] .brand-logo {
  display: block;
  width: 180px;
  height: auto;
  max-height: 42px;
  object-fit: contain;
  transform: none;
}

.header-inner,
body[data-page="home"] .header-inner {
  height: 86px;
}

.footer-logo {
  display: block;
  width: 168px;
  max-width: 100%;
  height: auto;
  margin-bottom: 10px;
  object-fit: contain;
}

@media (max-width: 1100px) {
  .brand-logo-wrap,
  body[data-page="home"] .brand-logo-wrap {
    width: 150px;
    height: 50px;
  }

  .brand-logo,
  body[data-page="home"] .brand-logo {
    width: 150px;
    height: auto;
    max-height: 38px;
  }

  .header-inner,
  body[data-page="home"] .header-inner {
    height: 82px;
  }
}

@media (max-width: 760px) {
  .brand-logo-wrap,
  body[data-page="home"] .brand-logo-wrap {
    width: 122px;
    height: 44px;
  }

  .brand-logo,
  body[data-page="home"] .brand-logo {
    width: 122px;
    height: auto;
    max-height: 32px;
  }

  .header-inner,
  body[data-page="home"] .header-inner {
    height: 72px;
  }
}

/* [CSS BLOCK 26] 인사말 본문 대표 사진 / 서명 이미지 배치 */
.greeting-message-wrap {
  max-width: var(--container);
}

.greeting-message-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 450px;
  gap: 54px;
  align-items: start;
}

.greeting-ceo-photo {
  margin: 118px 0 0;
  overflow: hidden;
  border: 1px solid rgba(0, 156, 156, 0.18);
  border-radius: 30px;
  background: var(--color-white);
  box-shadow: var(--shadow-card);
}

.greeting-ceo-photo img {
  width: 100%;
  aspect-ratio: 4 / 5;
  height: auto;
  object-fit: cover;
  object-position: center top;
}

.greeting-message .greeting-sign-name {
  margin-bottom: 6px;
  color: var(--color-ink);
  font-weight: 800;
}

.greeting-sign {
  width: 180px;
  max-width: 42%;
  height: auto;
  margin-top: 2px;
}

@media (max-width: 980px) {
  .greeting-message-layout {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .greeting-ceo-photo {
    max-width: 430px;
    margin-top: 18px;
  }
}

@media (max-width: 760px) {
  .greeting-sign {
    width: 150px;
    max-width: 52%;
  }
}

/* [CSS BLOCK 27] 요청 반영: 메인 1섹션 우측 이미지 확대/애니메이션 + 비용안내 비급여 표 */
body[data-page="home"] .hero-visual {
  min-height: 690px;
}

body[data-page="home"] .hero-photo-main {
  width: 84% !important;
  height: 500px;
  animation: heroFloatMain 8s ease-in-out infinite;
}

body[data-page="home"] .hero-photo-sub {
  width: 62% !important;
  height: 295px;
  animation: heroFloatSub 9s ease-in-out infinite;
}

@keyframes heroFloatMain {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

@keyframes heroFloatSub {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(10px); }
}

.extra-cost-guide {
  margin-top: 34px;
}

.extra-cost-guide h3 {
  margin: 0 0 14px;
  color: var(--color-ink);
  font-size: 24px;
  line-height: 1.35;
  letter-spacing: -0.04em;
}

.extra-cost-table {
  min-width: 640px;
  table-layout: fixed;
}

.extra-cost-col-item {
  width: 26%;
}

.extra-cost-table th,
.extra-cost-table td {
  padding: 16px 20px;
  text-align: center;
}

.extra-cost-table th {
  color: #4a321c;
  background: #f4efe6;
}

.extra-cost-table td:first-child {
  color: var(--color-ink);
  font-size: 16px;
  font-weight: 900;
}

.extra-cost-table td:last-child {
  color: var(--color-muted);
  font-weight: 800;
}

@media (max-width: 1100px) {
  body[data-page="home"] .hero-visual {
    min-height: 620px;
  }
}

@media (max-width: 760px) {
  body[data-page="home"] .hero-visual {
    min-height: 460px;
  }

  body[data-page="home"] .hero-photo-main {
    width: 86% !important;
    height: 350px;
  }

  body[data-page="home"] .hero-photo-sub {
    width: 62% !important;
    height: 210px;
  }

  .extra-cost-guide h3 {
    font-size: 21px;
  }

  .extra-cost-table {
    min-width: 560px;
  }
}

/* [CSS BLOCK 28] 요청 반영: 비용안내 비급여 구분선 / 메인 1섹션 이미지 애니메이션 보강 */
body[data-page="home"] .hero-visual {
  min-height: 710px;
}

body[data-page="home"] .hero-photo-main {
  width: 88% !important;
  height: 530px;
  will-change: transform;
  animation: heroMainSoftMotion 5.8s ease-in-out infinite !important;
}

body[data-page="home"] .hero-photo-sub {
  width: 66% !important;
  height: 315px;
  will-change: transform;
  animation: heroSubSoftMotion 6.6s ease-in-out infinite !important;
}

body[data-page="home"] .hero-photo-main:hover,
body[data-page="home"] .hero-photo-sub:hover {
  animation-play-state: paused;
}

@keyframes heroMainSoftMotion {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
  50% { transform: translate3d(0, -18px, 0) scale(1.018); }
}

@keyframes heroSubSoftMotion {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
  50% { transform: translate3d(0, 16px, 0) scale(1.018); }
}

.extra-cost-guide {
  margin-top: 42px;
  padding-top: 34px;
  border-top: 1px solid rgba(23, 52, 59, 0.18);
}

@media (max-width: 1100px) {
  body[data-page="home"] .hero-visual {
    min-height: 640px;
  }

  body[data-page="home"] .hero-photo-main {
    width: 86% !important;
    height: 500px;
  }

  body[data-page="home"] .hero-photo-sub {
    width: 64% !important;
    height: 295px;
  }
}

@media (max-width: 760px) {
  body[data-page="home"] .hero-visual {
    min-height: 470px;
  }

  body[data-page="home"] .hero-photo-main {
    width: 88% !important;
    height: 355px;
  }

  body[data-page="home"] .hero-photo-sub {
    width: 64% !important;
    height: 215px;
  }
}

@media (prefers-reduced-motion: reduce) {
  body[data-page="home"] .hero-photo-main,
  body[data-page="home"] .hero-photo-sub {
    animation: none !important;
  }
}

/* [CSS BLOCK 29] 요청 반영: 메인 1섹션 이미지 위치 / 1회 로딩 애니메이션 */
body[data-page="home"] .hero-visual {
  min-height: 680px;
}

body[data-page="home"] .hero-photo-main {
  right: -22px;
  width: 84% !important;
  height: 500px;
  animation: heroMainLoadIn 0.72s cubic-bezier(0.18, 0.86, 0.32, 1) 0.05s both !important;
}

body[data-page="home"] .hero-photo-sub {
  left: -24px;
  width: 66% !important;
  height: 315px;
  animation: heroSubLoadIn 0.72s cubic-bezier(0.18, 0.86, 0.32, 1) 0.16s both !important;
}

body[data-page="home"] .hero-card {
  right: 0;
  animation: heroCardLoadIn 0.62s cubic-bezier(0.18, 0.86, 0.32, 1) 0.28s both !important;
}

@keyframes heroMainLoadIn {
  0% {
    opacity: 0;
    transform: translate3d(26px, 22px, 0) scale(0.96);
  }
  100% {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
  }
}

@keyframes heroSubLoadIn {
  0% {
    opacity: 0;
    transform: translate3d(-18px, 22px, 0) scale(0.96);
  }
  100% {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
  }
}

@keyframes heroCardLoadIn {
  0% {
    opacity: 0;
    transform: translate3d(18px, 16px, 0) scale(0.94);
  }
  100% {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
  }
}

@media (max-width: 1100px) {
  body[data-page="home"] .hero-visual {
    min-height: 630px;
  }

  body[data-page="home"] .hero-photo-main {
    right: -14px;
    width: 84% !important;
    height: 480px;
  }

  body[data-page="home"] .hero-photo-sub {
    left: -16px;
    width: 64% !important;
    height: 290px;
  }

  body[data-page="home"] .hero-card {
    right: 0;
  }
}

@media (max-width: 760px) {
  body[data-page="home"] .hero-visual {
    min-height: 460px;
  }

  body[data-page="home"] .hero-photo-main {
    right: 0;
    width: 86% !important;
    height: 340px;
  }

  body[data-page="home"] .hero-photo-sub {
    left: 0;
    width: 62% !important;
    height: 205px;
  }

  body[data-page="home"] .hero-card {
    right: 10px;
  }
}

@media (prefers-reduced-motion: reduce) {
  body[data-page="home"] .hero-photo-main,
  body[data-page="home"] .hero-photo-sub,
  body[data-page="home"] .hero-card {
    opacity: 1 !important;
    transform: none !important;
    animation: none !important;
  }
}


/* [CSS BLOCK 30] 모바일 전용 요청 반영 - PC 레이아웃 영향 없음 */
.mobile-only-break,
.mobile-period {
  display: none;
}

@media (max-width: 760px) {
  html,
  body {
    max-width: 100%;
    overflow-x: hidden;
  }

  /* 공통 모바일 상단바: 메뉴 버튼을 우측 끝으로 정렬 */
  .site-header .header-inner,
  body[data-page="home"] .header-inner {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    width: min(100% - 28px, var(--container)) !important;
    height: 72px !important;
  }

  .site-header .brand,
  body[data-page="home"] .brand {
    flex: 0 1 auto;
  }

  .site-header .header-actions,
  body[data-page="home"] .header-actions {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
    gap: 10px !important;
    margin-left: auto !important;
  }

  .site-header .mobile-menu-button,
  body[data-page="home"] .mobile-menu-button {
    display: block !important;
    flex: 0 0 46px;
  }

  /* 모바일 문의하기 버튼: 상단바에서 우측 하단 플로팅 버튼 왼쪽으로 이동 */
  .site-header .header-phone,
  body[data-page="home"] .header-phone {
    position: fixed !important;
    right: 142px !important;
    bottom: 18px !important;
    z-index: 1402 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-width: 82px !important;
    min-height: 48px !important;
    padding: 0 16px !important;
    color: #ffffff !important;
    font-size: 14px !important;
    font-weight: 900 !important;
    line-height: 1 !important;
    letter-spacing: -0.04em !important;
    background: linear-gradient(135deg, var(--brand-teal), #007c8b) !important;
    border: 0 !important;
    border-radius: 999px !important;
    box-shadow: 0 16px 40px rgba(0, 138, 152, 0.22) !important;
  }

  .floating-quick {
    right: 14px !important;
    bottom: 18px !important;
  }

  .floating-quick a {
    min-height: 48px !important;
    padding: 0 13px 0 11px !important;
    gap: 7px !important;
    font-size: 13px !important;
    letter-spacing: -0.04em !important;
  }

  .floating-blog-icon,
  .floating-blog-icon img {
    width: 26px !important;
    height: 26px !important;
  }

  .floating-blog-icon {
    flex: 0 0 26px !important;
  }

  /* 메인 1섹션: 배너 중앙 배치 및 모바일 로딩 1회 애니메이션 */
  body[data-page="home"] .hero-card {
    left: 50% !important;
    right: auto !important;
    bottom: 70px !important;
    width: 250px !important;
    max-width: calc(100vw - 56px) !important;
    padding: 18px 18px !important;
    text-align: center !important;
    animation: heroCardMobileLoadIn 0.62s cubic-bezier(0.18, 0.86, 0.32, 1) 0.28s both !important;
  }

  body[data-page="home"] .hero-card strong {
    font-size: 16px !important;
    line-height: 1.18 !important;
  }

  body[data-page="home"] .hero-card p {
    font-size: 13px !important;
    line-height: 1.35 !important;
  }

  @keyframes heroCardMobileLoadIn {
    0% {
      opacity: 0;
      transform: translate3d(-50%, 16px, 0) scale(0.94);
    }
    100% {
      opacity: 1;
      transform: translate3d(-50%, 0, 0) scale(1);
    }
  }

  /* 메인 2섹션: 아이콘과 항목 제목 사이 간격 축소 */
  body[data-page="home"] .service-icon {
    margin-bottom: 18px !important;
  }

  body[data-page="home"] .service-card h3 {
    margin-bottom: 9px !important;
  }

  /* 메인 3섹션: 문구 줄바꿈, 01~03 순서 정상화, 우측 잘림 보정 */
  .mobile-only-break {
    display: block;
  }

  body[data-page="home"] #activity-title {
    max-width: 100%;
  }

  body[data-page="home"] .activity-grid,
  body[data-page="home"] .activity-copy,
  body[data-page="home"] .activity-slider,
  body[data-page="home"] .slider-track {
    min-width: 0 !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  body[data-page="home"] .care-list {
    width: 100% !important;
    max-width: 100% !important;
  }

  body[data-page="home"] .care-list div {
    grid-template-columns: 44px minmax(0, 1fr) !important;
    gap: 10px !important;
    width: 100% !important;
    padding: 15px 16px !important;
    box-sizing: border-box !important;
  }

  body[data-page="home"] .care-list div:nth-child(1) {
    order: 3;
  }

  body[data-page="home"] .care-list div:nth-child(2) {
    order: 1;
  }

  body[data-page="home"] .care-list div:nth-child(3) {
    order: 2;
  }

  body[data-page="home"] .activity-slider {
    width: 100% !important;
    padding: 12px !important;
    overflow: hidden !important;
  }

  body[data-page="home"] .slider-track {
    height: 350px !important;
    overflow: hidden !important;
  }

  body[data-page="home"] .slider-prev {
    left: 8px !important;
  }

  body[data-page="home"] .slider-next {
    right: 8px !important;
  }

  /* 메인 4섹션: 제목 모바일 줄바꿈, 설명 문단 줄바꿈 제거 */
  body[data-page="home"] .space-description-align br {
    display: none !important;
  }

  body[data-page="home"] .space-top {
    gap: 20px !important;
  }

  /* 메인 5섹션: 설명 줄바꿈 제거, 01~03 배너 높이 축소 */
  body[data-page="home"] .cost-copy p:not(.eyebrow) br {
    display: none !important;
  }

  body[data-page="home"] .process-list {
    gap: 10px !important;
  }

  body[data-page="home"] .process-item {
    grid-template-columns: 42px minmax(0, 1fr) !important;
    gap: 6px 12px !important;
    padding: 15px 16px !important;
    border-radius: 18px !important;
  }

  body[data-page="home"] .process-item span {
    font-size: 23px !important;
  }

  body[data-page="home"] .process-item strong {
    font-size: 16px !important;
  }

  body[data-page="home"] .process-item p {
    grid-column: 2 / -1 !important;
    font-size: 14px !important;
    line-height: 1.55 !important;
  }

  /* 메인 6섹션: 2줄 유지 및 모바일 글자 크기 축소 */
  body[data-page="home"] .contact-box h2 {
    font-size: clamp(24px, 6.7vw, 30px) !important;
    line-height: 1.34 !important;
    letter-spacing: -0.06em !important;
  }

  .mobile-keep {
    white-space: nowrap;
  }

  .mobile-period {
    display: inline;
  }

  /* 요양서비스 / 건강인지향상 프로그램: 첫섹션 설명 모바일 줄바꿈 제거 */
  body[data-page="care"] .sub-hero-copy p br,
  body[data-page="program"] .sub-hero-copy p br {
    display: none !important;
  }

  /* 비용안내: 모바일에서 테이블 전체가 화면 안에 보이도록 재구성 */
  body[data-page="cost"] .table-wrap {
    overflow: visible !important;
    border-radius: 18px !important;
  }

  body[data-page="cost"] .cost-table,
  body[data-page="cost"] .extra-cost-table {
    width: 100% !important;
    min-width: 0 !important;
    table-layout: fixed !important;
  }

  body[data-page="cost"] .cost-col-grade {
    width: 18% !important;
  }

  body[data-page="cost"] .cost-col-rate {
    width: 13% !important;
  }

  body[data-page="cost"] .cost-col-price {
    width: 21% !important;
  }

  body[data-page="cost"] .cost-col-calc {
    width: 48% !important;
  }

  body[data-page="cost"] .cost-table th,
  body[data-page="cost"] .cost-table td {
    padding: 8px 4px !important;
    font-size: 10.5px !important;
    line-height: 1.42 !important;
    letter-spacing: -0.06em !important;
    word-break: keep-all !important;
  }

  body[data-page="cost"] .cost-table td:last-child,
  body[data-page="cost"] .cost-table th:last-child {
    font-size: 10px !important;
    word-break: break-all !important;
  }

  body[data-page="cost"] .cost-table .grade-cell {
    font-size: 12px !important;
  }

  body[data-page="cost"] .extra-cost-col-item {
    width: 32% !important;
  }

  body[data-page="cost"] .extra-cost-table th,
  body[data-page="cost"] .extra-cost-table td {
    padding: 9px 5px !important;
    font-size: 12px !important;
    line-height: 1.45 !important;
    letter-spacing: -0.055em !important;
    word-break: keep-all !important;
  }
}

@media (max-width: 360px) {
  .site-header .header-phone,
  body[data-page="home"] .header-phone {
    right: 132px !important;
    min-width: 76px !important;
    padding: 0 13px !important;
    font-size: 13px !important;
  }

  .floating-quick a {
    padding: 0 11px 0 9px !important;
    font-size: 12.5px !important;
  }

  body[data-page="home"] .hero-card {
    width: calc(100vw - 58px) !important;
  }

  body[data-page="cost"] .cost-table th,
  body[data-page="cost"] .cost-table td {
    font-size: 9.8px !important;
    padding-right: 3px !important;
    padding-left: 3px !important;
  }

  body[data-page="cost"] .cost-table td:last-child,
  body[data-page="cost"] .cost-table th:last-child {
    font-size: 9.2px !important;
  }
}

/* [CSS BLOCK 31] 요청 반영: 로딩 애니메이션 속도 조정 + 이미지/배너 영역 부드러운 등장 효과 */
body[data-page="home"] .hero-photo-main {
  animation: heroMainLoadIn 1.18s cubic-bezier(0.16, 0.84, 0.28, 1) 0.10s both !important;
}

body[data-page="home"] .hero-photo-sub {
  animation: heroSubLoadIn 1.22s cubic-bezier(0.16, 0.84, 0.28, 1) 0.24s both !important;
}

body[data-page="home"] .hero-card {
  animation: heroCardLoadIn 1.08s cubic-bezier(0.16, 0.84, 0.28, 1) 0.38s both !important;
}

.reveal.is-visible.service-card,
.reveal.is-visible.activity-slider,
.reveal.is-visible.space-gallery-grid,
.reveal.is-visible.process-list,
.reveal.is-visible.contact-box,
.reveal.is-visible.sub-hero-visual,
.reveal.is-visible.info-card,
.reveal.is-visible.detail-service-card,
.reveal.is-visible.feature-item,
.reveal.is-visible.facility-card,
.reveal.is-visible.floor-guide-grid,
.reveal.is-visible.quote-card,
.reveal.is-visible.value-card,
.reveal.is-visible.greeting-ceo-photo,
.reveal.is-visible.contact-side-stack,
.reveal.is-visible.contact-form-card,
.reveal.is-visible.map-block,
.reveal.is-visible.table-wrap,
.reveal.is-visible.extra-cost-guide,
.reveal.is-visible.process-info-card,
.reveal.is-visible.process-flow-card,
.reveal.is-visible.notice-box {
  animation: naeunSoftReveal 1.05s cubic-bezier(0.18, 0.82, 0.28, 1) both;
}

.reveal.is-visible.service-card:nth-child(2),
.reveal.is-visible.info-card:nth-child(2),
.reveal.is-visible.detail-service-card:nth-child(2),
.reveal.is-visible.feature-item:nth-child(2),
.reveal.is-visible.facility-card:nth-child(2),
.reveal.is-visible.value-card:nth-child(2),
.reveal.is-visible.process-info-card:nth-child(2),
.reveal.is-visible.process-flow-card:nth-child(2) {
  animation-delay: 0.08s;
}

.reveal.is-visible.service-card:nth-child(3),
.reveal.is-visible.info-card:nth-child(3),
.reveal.is-visible.detail-service-card:nth-child(3),
.reveal.is-visible.feature-item:nth-child(3),
.reveal.is-visible.facility-card:nth-child(3),
.reveal.is-visible.value-card:nth-child(3),
.reveal.is-visible.process-flow-card:nth-child(3) {
  animation-delay: 0.16s;
}

.image-slot,
.service-card,
.detail-service-card,
.info-card,
.feature-item,
.facility-card,
.value-card,
.process-item,
.process-info-card,
.process-flow-card,
.contact-box,
.contact-form-card,
.contact-info-card,
.contact-check-card,
.notice-box,
.table-wrap,
.extra-cost-guide,
.greeting-ceo-photo,
.space-gallery-tile {
  transition: transform 0.38s ease, box-shadow 0.38s ease, filter 0.38s ease;
}

@media (hover: hover) {
  .service-card:hover,
  .detail-service-card:hover,
  .info-card:hover,
  .feature-item:hover,
  .facility-card:hover,
  .value-card:hover,
  .process-item:hover,
  .process-info-card:hover,
  .process-flow-card:hover,
  .contact-box:hover,
  .contact-form-card:hover,
  .contact-info-card:hover,
  .contact-check-card:hover,
  .notice-box:hover,
  .table-wrap:hover,
  .extra-cost-guide:hover,
  .greeting-ceo-photo:hover,
  .space-gallery-tile:hover {
    transform: translateY(-4px);
  }

  .image-slot:hover,
  .space-gallery-tile:hover,
  .facility-image:hover,
  .floor-guide-image:hover,
  .slide-image:hover {
    filter: saturate(1.04) contrast(1.02);
  }
}

@keyframes naeunSoftReveal {
  0% {
    opacity: 0;
    transform: translate3d(0, 22px, 0) scale(0.985);
  }
  100% {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
  }
}

@media (max-width: 760px) {
  body[data-page="home"] .hero-card {
    animation: heroCardMobileLoadIn 1.08s cubic-bezier(0.16, 0.84, 0.28, 1) 0.38s both !important;
  }

  .reveal.is-visible.service-card,
  .reveal.is-visible.activity-slider,
  .reveal.is-visible.space-gallery-grid,
  .reveal.is-visible.process-list,
  .reveal.is-visible.contact-box,
  .reveal.is-visible.sub-hero-visual,
  .reveal.is-visible.info-card,
  .reveal.is-visible.detail-service-card,
  .reveal.is-visible.feature-item,
  .reveal.is-visible.facility-card,
  .reveal.is-visible.floor-guide-grid,
  .reveal.is-visible.quote-card,
  .reveal.is-visible.value-card,
  .reveal.is-visible.greeting-ceo-photo,
  .reveal.is-visible.contact-side-stack,
  .reveal.is-visible.contact-form-card,
  .reveal.is-visible.map-block,
  .reveal.is-visible.table-wrap,
  .reveal.is-visible.extra-cost-guide,
  .reveal.is-visible.process-info-card,
  .reveal.is-visible.process-flow-card,
  .reveal.is-visible.notice-box {
    animation-duration: 0.92s;
  }
}

@media (prefers-reduced-motion: reduce) {
  body[data-page="home"] .hero-photo-main,
  body[data-page="home"] .hero-photo-sub,
  body[data-page="home"] .hero-card,
  .reveal.is-visible.service-card,
  .reveal.is-visible.activity-slider,
  .reveal.is-visible.space-gallery-grid,
  .reveal.is-visible.process-list,
  .reveal.is-visible.contact-box,
  .reveal.is-visible.sub-hero-visual,
  .reveal.is-visible.info-card,
  .reveal.is-visible.detail-service-card,
  .reveal.is-visible.feature-item,
  .reveal.is-visible.facility-card,
  .reveal.is-visible.floor-guide-grid,
  .reveal.is-visible.quote-card,
  .reveal.is-visible.value-card,
  .reveal.is-visible.greeting-ceo-photo,
  .reveal.is-visible.contact-side-stack,
  .reveal.is-visible.contact-form-card,
  .reveal.is-visible.map-block,
  .reveal.is-visible.table-wrap,
  .reveal.is-visible.extra-cost-guide,
  .reveal.is-visible.process-info-card,
  .reveal.is-visible.process-flow-card,
  .reveal.is-visible.notice-box {
    animation: none !important;
  }
}


/* [CSS BLOCK 32] 모바일 전용 요청 반영 - 상단바 고정 / 문의 버튼 플로팅 / 메인 배너 위치 */
@media (max-width: 1100px) {
  html,
  body {
    max-width: 100% !important;
    overflow-x: hidden !important;
  }

  body {
    padding-top: 86px !important;
  }

  .site-header,
  body[data-page="home"] .site-header {
    position: fixed !important;
    top: 0 !important;
    right: 0 !important;
    left: 0 !important;
    z-index: 1500 !important;
    width: 100% !important;
    background: rgba(248, 244, 236, 0.94) !important;
    backdrop-filter: blur(18px) !important;
    box-shadow: 0 10px 28px rgba(27, 39, 33, 0.06) !important;
  }

  .site-header .header-inner,
  body[data-page="home"] .header-inner {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
  }

  .site-header .header-actions,
  body[data-page="home"] .header-actions {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
    margin-left: auto !important;
  }

  .site-header .mobile-menu-button,
  body[data-page="home"] .mobile-menu-button {
    display: block !important;
    margin-left: auto !important;
  }

  .site-header .header-phone,
  body[data-page="home"] .header-phone {
    position: fixed !important;
    right: 158px !important;
    bottom: 18px !important;
    z-index: 1502 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: auto !important;
    min-width: 92px !important;
    min-height: 48px !important;
    padding: 0 17px !important;
    color: #ffffff !important;
    font-size: 14px !important;
    font-weight: 900 !important;
    line-height: 1 !important;
    letter-spacing: -0.04em !important;
    white-space: nowrap !important;
    background: linear-gradient(135deg, var(--brand-teal), #007c8b) !important;
    border: 0 !important;
    border-radius: 999px !important;
    box-shadow: 0 16px 40px rgba(0, 138, 152, 0.24) !important;
    transform: none !important;
  }

  .floating-quick {
    right: 18px !important;
    bottom: 18px !important;
    z-index: 1501 !important;
  }

  .mobile-menu,
  body[data-page="home"] .mobile-menu {
    top: 92px !important;
    z-index: 1499 !important;
  }
}

@media (max-width: 760px) {
  body {
    padding-top: 72px !important;
  }

  .site-header,
  body[data-page="home"] .site-header {
    min-height: 72px !important;
  }

  .site-header .header-inner,
  body[data-page="home"] .header-inner {
    height: 72px !important;
  }

  .mobile-menu,
  body[data-page="home"] .mobile-menu {
    top: 72px !important;
  }

  .site-header .header-phone,
  body[data-page="home"] .header-phone {
    right: 144px !important;
    bottom: 18px !important;
    min-width: 82px !important;
    min-height: 48px !important;
    padding: 0 15px !important;
    font-size: 13.5px !important;
  }

  body[data-page="home"] .hero-card {
    bottom: 118px !important;
  }
}

@media (max-width: 380px) {
  .site-header .header-phone,
  body[data-page="home"] .header-phone {
    right: 134px !important;
    min-width: 76px !important;
    padding: 0 12px !important;
    font-size: 12.8px !important;
  }

  .floating-quick a {
    padding-right: 11px !important;
    padding-left: 9px !important;
    font-size: 12.2px !important;
  }
}


/* [CSS BLOCK 33] v14 모바일 문의버튼 위치 / comfort 배너 위치 / PC 1섹션 로딩 애니메이션 속도 보정 */
.floating-contact-mobile {
  display: none;
}

@media (min-width: 761px) {
  body[data-page="home"] .hero-photo-main {
    animation: heroMainLoadIn 1.95s cubic-bezier(0.16, 0.84, 0.30, 1) 0.12s both !important;
  }

  body[data-page="home"] .hero-photo-sub {
    animation: heroSubLoadIn 2.05s cubic-bezier(0.16, 0.84, 0.30, 1) 0.30s both !important;
  }

  body[data-page="home"] .hero-card {
    animation: heroCardLoadIn 1.75s cubic-bezier(0.16, 0.84, 0.30, 1) 0.48s both !important;
  }
}

@keyframes heroMainLoadIn {
  0% {
    opacity: 0;
    transform: translate3d(14px, 14px, 0) scale(0.98);
  }
  100% {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
  }
}

@keyframes heroSubLoadIn {
  0% {
    opacity: 0;
    transform: translate3d(-12px, 14px, 0) scale(0.98);
  }
  100% {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
  }
}

@keyframes heroCardLoadIn {
  0% {
    opacity: 0;
    transform: translate3d(10px, 10px, 0) scale(0.97);
  }
  100% {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
  }
}

@media (max-width: 1100px) {
  .site-header .header-phone,
  body[data-page="home"] .site-header .header-phone {
    display: none !important;
  }

  .floating-contact-mobile {
    position: fixed !important;
    right: 158px !important;
    bottom: 18px !important;
    z-index: 1502 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-width: 92px !important;
    min-height: 48px !important;
    padding: 0 17px !important;
    color: #ffffff !important;
    font-size: 14px !important;
    font-weight: 900 !important;
    line-height: 1 !important;
    letter-spacing: -0.04em !important;
    white-space: nowrap !important;
    text-decoration: none !important;
    background: linear-gradient(135deg, var(--brand-teal), #007c8b) !important;
    border: 0 !important;
    border-radius: 999px !important;
    box-shadow: 0 16px 40px rgba(0, 138, 152, 0.24) !important;
  }
}

@media (max-width: 760px) {
  .floating-contact-mobile {
    right: 144px !important;
    bottom: 18px !important;
    min-width: 82px !important;
    min-height: 48px !important;
    padding: 0 15px !important;
    font-size: 13.5px !important;
  }

  body[data-page="home"] .hero-card {
    bottom: 178px !important;
  }
}

@media (max-width: 380px) {
  .floating-contact-mobile {
    right: 134px !important;
    min-width: 76px !important;
    padding: 0 12px !important;
    font-size: 12.8px !important;
  }

  body[data-page="home"] .hero-card {
    bottom: 188px !important;
  }
}


/* v17 mission / vision section */
.mission-vision-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 22px;
  align-items: stretch;
}

.mission-card,
.vision-card {
  position: relative;
  overflow: hidden;
  min-height: 280px;
  padding: 40px;
  background: rgba(255, 255, 255, 0.76);
  border: 1px solid rgba(32, 58, 49, 0.1);
  border-radius: var(--radius-large);
  box-shadow: var(--shadow-card);
}

.mission-card::after,
.vision-card::after {
  content: "";
  position: absolute;
  right: -90px;
  bottom: -100px;
  width: 230px;
  height: 230px;
  background: radial-gradient(circle, rgba(0, 156, 156, 0.12), transparent 68%);
  pointer-events: none;
}

.mission-label {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin: 0 0 26px;
  color: var(--color-accent);
  font-size: 19px;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.mission-label span {
  color: rgba(0, 124, 139, 0.72);
  font-size: 15px;
  font-family: var(--font-serif);
  font-weight: 600;
  letter-spacing: 0.12em;
}

.mission-text {
  position: relative;
  z-index: 1;
  margin: 0;
  color: var(--color-ink);
  font-size: 27px;
  font-weight: 800;
  line-height: 1.55;
  letter-spacing: -0.055em;
  word-break: keep-all;
}



.mission-highlight {
  position: relative;
  display: inline;
  padding: 0 0.04em;
  color: inherit;
  z-index: 0;
}

.mission-highlight::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0.1em;
  height: 0.34em;
  background: rgba(129, 201, 186, 0.42);
  border-radius: 999px;
  transform: rotate(-1.2deg);
  z-index: -1;
}
.vision-list {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.vision-list li {
  position: relative;
  padding-left: 22px;
  color: var(--color-ink);
  font-size: 19px;
  font-weight: 750;
  line-height: 1.6;
  letter-spacing: -0.04em;
  word-break: keep-all;
}

.vision-list li::before {
  content: "▸";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--color-accent);
  font-weight: 900;
}

.home-mission-vision {
  margin: 0;
}

.mission-section .home-mission-vision {
  margin: 0;
}

.greeting-value-layout.mission-vision-panel {
  align-items: stretch;
}

.greeting-value-layout.mission-vision-panel .mission-card,
.greeting-value-layout.mission-vision-panel .vision-card {
  min-height: 300px;
}

@media (max-width: 1100px) {
  .mission-vision-panel {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .home-mission-vision {
    margin: 0;
  }

  .mission-card,
  .vision-card {
    min-height: auto;
    padding: 28px 24px;
    border-radius: 28px;
  }

  .mission-label {
    margin-bottom: 18px;
    font-size: 17px;
  }

  .mission-label span {
    font-size: 13px;
  }

  .mission-text {
    font-size: 21px;
    line-height: 1.55;
  }

  .vision-list {
    gap: 10px;
  }

  .vision-list li {
    font-size: 16px;
    line-height: 1.55;
  }
}


/* [CSS BLOCK 21] 문의 접수 완료 페이지 */
.thankyou-section {
  min-height: calc(100vh - 360px);
  padding: 150px 0 130px;
  background:
    radial-gradient(circle at 78% 18%, rgba(0, 156, 156, 0.12), transparent 32%),
    linear-gradient(180deg, #f6fbfa 0%, #eef8f7 100%);
}

.thankyou-box {
  width: min(760px, 100%);
  margin: 0 auto;
  padding: 76px 48px;
  text-align: center;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(32, 58, 49, 0.1);
  border-radius: 42px;
  box-shadow: var(--shadow-card);
}

.thankyou-box .eyebrow {
  color: var(--color-accent);
}

.thankyou-box h1 {
  margin: 0 0 18px;
  color: var(--color-ink);
  font-size: clamp(44px, 5vw, 72px);
  font-weight: 800;
  letter-spacing: -0.055em;
}

.thankyou-box p {
  margin: 0;
  color: var(--color-ink);
  font-size: 24px;
  font-weight: 800;
  line-height: 1.6;
  letter-spacing: -0.04em;
}

.thankyou-box .button {
  margin-top: 34px;
}

@media (max-width: 760px) {
  .thankyou-section {
    min-height: calc(100vh - 260px);
    padding: 120px 0 92px;
  }

  .thankyou-box {
    padding: 54px 24px;
    border-radius: 30px;
  }

  .thankyou-box h1 {
    font-size: 42px;
  }

  .thankyou-box p {
    font-size: 20px;
  }
}
