/* ============================================================
   K-MEDI SOLUTION :: Global Stylesheet
   - Design tokens + Base + Components + Pages
   ============================================================ */

/* ---- 1. Design Tokens -------------------------------------- */
:root {
  --c-primary: #0b2e4f;
  --c-primary-600: #153f68;
  --c-primary-400: #345b85;
  --c-accent: #4f988e;
  --c-accent-600: #3e847a;
  --c-gold: #c9a96e;
  --c-bg: #f7f9fc;
  --c-surface: #ffffff;
  --c-line: #e5e9f0;
  --c-text: #111827;
  --c-text-2: #374151;
  --c-muted: #6b7280;
  --c-white: #ffffff;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 24px;
  --radius-pill: 999px;

  --shadow-1: 0 6px 20px rgba(17, 24, 39, 0.06);
  --shadow-2: 0 16px 48px rgba(11, 46, 79, 0.12);
  --shadow-3: 0 24px 64px rgba(11, 46, 79, 0.18);

  --font-kr:
    "Pretendard", system-ui, -apple-system, "Apple SD Gothic Neo",
    "Malgun Gothic", sans-serif;
  --font-en: "Manrope", var(--font-kr);
  --font-display: "Unbounded", "Manrope", var(--font-kr);

  --container: 1480px;
  --container-wide: 1680px;
  --gutter: 40px;
  --header-h: 84px;

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* ---- 2. Reset ---------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  word-break: keep-all;
}
html,
body {
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}
body {
  font-family: var(--font-kr);
  color: var(--c-text);
  background: var(--c-surface);
  line-height: 1.6;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-synthesis: none;
  overflow-x: hidden;
}
img,
svg,
video {
  max-width: 100%;
  display: block;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  font: inherit;
  border: 0;
  background: none;
  cursor: pointer;
  color: inherit;
}
ul,
ol,
dl {
  list-style: none;
  padding: 0;
  margin: 0;
}
dt,
dd {
  margin: 0;
}
h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.02em;
}
p {
  margin: 0;
}
input,
textarea,
select {
  font: inherit;
  color: inherit;
}

/* ---- 3. Layout Utility ------------------------------------- */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.container-wide {
  max-width: var(--container-wide);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.section {
  padding: 140px 0;
  position: relative;
}
@media (max-width: 1200px) {
  :root {
    --gutter: 32px;
  }
}
@media (max-width: 768px) {
  :root {
    --gutter: 20px;
  }
  .section {
    padding: 80px 0;
  }
}
@media (max-width: 768px) {
  .section {
    padding: 72px 0;
  }
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-en);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--c-accent);
  margin-bottom: 18px;
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--c-accent);
}

.section-title {
  font-size: clamp(28px, 4vw, 44px);
  color: var(--c-primary);
  margin-bottom: 18px;
}
.section-desc {
  color: var(--c-muted);
  font-size: 16px;
  max-width: 680px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 32px;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 15px;
  transition: all 0.3s var(--ease);
  border: 1px solid transparent;
  white-space: nowrap;
}
.btn-primary {
  background: var(--c-primary);
  color: #fff;
}
.btn-primary:hover {
  background: var(--c-primary-600);
  transform: translateY(-2px);
  box-shadow: var(--shadow-2);
}
.btn-ghost {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.4);
  color: #fff;
}
.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: #fff;
}
.btn-outline {
  border-color: var(--c-primary);
  color: var(--c-primary);
}
.btn-outline:hover {
  background: var(--c-primary);
  color: #fff;
}

/* ---- 4. Header --------------------------------------------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 200;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: all 0.4s var(--ease);
}
.site-header.scrolled {
  background: rgba(255, 255, 255, 0.96);
  border-bottom-color: var(--c-line);
  box-shadow: 0 1px 0 rgba(11, 46, 79, 0.04);
}
.home-page .site-header:not(.scrolled):not(.mega-open) {
  background: transparent;
  border-bottom-color: transparent;
}
.home-page .site-header:not(.scrolled):not(.mega-open) .gnb-link,
.home-page .site-header:not(.scrolled):not(.mega-open) .brand-en,
.home-page .site-header:not(.scrolled):not(.mega-open) .brand-ko,
.home-page .site-header:not(.scrolled):not(.mega-open) .tel-btn {
  color: #fff;
}
.home-page .site-header:not(.scrolled):not(.mega-open) .brand-mark {
  background: #fff;
  color: var(--c-primary);
}
.home-page .site-header:not(.scrolled):not(.mega-open) .menu-toggle span {
  background: #fff;
}

.header-inner {
  max-width: 1920px;
  margin: 0 auto;
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 var(--gutter);
  gap: 32px;
}

/* Brand */
.site-header .brand {
  margin: 0;
  filter: brightness(0) invert(1) drop-shadow(0 2px 4px rgba(0, 0, 0, 0.25));
}
.site-header.scrolled .brand {
  margin: 0;
  filter: none;
}
.site-header .brand img {
  object-fit: contain;
}

/* GNB */
.gnb {
  flex: 1;
}
.gnb-list {
  display: flex;
  justify-content: center;
  gap: 48px;
}
.gnb-item {
  position: relative;
}
.gnb-link {
  display: inline-block;
  padding: 30px 4px;
  font-weight: 600;
  font-size: 16px;
  color: var(--c-text);
  transition: color 0.2s;
  position: relative;
}
.gnb-link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 22px;
  height: 2px;
  background: var(--c-accent);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.3s var(--ease);
}
.gnb-item:hover .gnb-link::after {
  transform: scaleX(1);
}
.gnb-item:hover .gnb-link {
  color: var(--c-accent);
}

.gnb-sub {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  min-width: 180px;
  padding: 12px 0;
  opacity: 0;
  display: flex;
  visibility: hidden;
  transition:
    opacity 0.3s var(--ease),
    transform 0.3s var(--ease),
    visibility 0.3s;
  pointer-events: none;
  z-index: 5; /* .gnb-bg 위에 그려지도록 */
}
/* 링크와 서브메뉴 사이 호버 gap 제거(마우스가 서브로 내려갈 때 끊김 방지) */
.gnb-sub::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -12px;
  height: 12px;
}
.gnb-item:hover .gnb-sub,
.gnb-item:focus-within .gnb-sub {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
  pointer-events: auto;
}
.gnb-sub li {
  text-align: center;
}
.gnb-sub li a {
  display: block;
  padding: 10px 16px;
  font-size: 15px;
  color: var(--c-text-2);
  transition: color 0.2s;
}
.gnb-sub li a:hover {
  color: var(--c-accent);
  font-weight: 600;
}

.gnb-bg {
  position: absolute;
  top: var(--header-h);
  left: 0;
  right: 0;
  height: 0;
  background: #fff;
  border-top: 1px solid var(--c-line);
  box-shadow: 0 16px 32px rgba(11, 46, 79, 0.06);
  transition: height 0.3s var(--ease);
  pointer-events: none;
  z-index: 1; /* 서브메뉴(z:5)보다 아래, 기본 static 요소보다는 위 */
}
.site-header.mega-open .gnb-bg {
  height: 70px;
}

/* Header tools */
.header-tools {
  display: flex;
  align-items: center;
  gap: 12px;
}
.tel-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 14px;
  color: var(--c-primary);
  background: rgba(79, 152, 142, 0.1);
  border: 1px solid transparent;
  transition: all 0.2s;
}
.tel-btn:hover {
  background: var(--c-accent);
  color: #fff;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  position: relative;
}
.menu-toggle span {
  display: block;
  position: absolute;
  left: 12px;
  right: 12px;
  height: 2px;
  background: var(--c-primary);
  transition: all 0.3s var(--ease);
}
.menu-toggle span:nth-child(1) {
  top: 14px;
}
.menu-toggle span:nth-child(2) {
  top: 21px;
}
.menu-toggle span:nth-child(3) {
  top: 28px;
}
.menu-toggle.active span:nth-child(1) {
  top: 21px;
  transform: rotate(45deg);
}
.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}
.menu-toggle.active span:nth-child(3) {
  top: 21px;
  transform: rotate(-45deg);
}

/* Mobile menu */
.mobile-menu {
  position: fixed;
  inset: var(--header-h) 0 0 0;
  background: #fff;
  z-index: 150;
  transform: translateX(100%);
  transition: transform 0.4s var(--ease);
  overflow-y: auto;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-inner {
  padding: 24px;
}
.m-gnb-item {
  border-bottom: 1px solid var(--c-line);
}
.m-gnb-toggle {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 0;
  font-size: 18px;
  font-weight: 600;
  color: var(--c-primary);
}
.m-gnb-toggle i {
  transition: transform 0.3s;
  font-size: 14px;
}
.m-gnb-item.open .m-gnb-toggle i {
  transform: rotate(180deg);
}
.m-gnb-sub {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s var(--ease);
}
.m-gnb-item.open .m-gnb-sub {
  max-height: 400px;
}
.m-gnb-sub li a {
  display: block;
  padding: 14px 16px;
  color: var(--c-text-2);
  font-size: 16px;
  border-left: 2px solid transparent;
}
.m-gnb-sub li a:hover {
  border-left-color: var(--c-accent);
  color: var(--c-accent);
  background: var(--c-bg);
}
.m-contact {
  margin-top: 32px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.m-contact a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border-radius: var(--radius-md);
  background: var(--c-bg);
  color: var(--c-primary);
  font-weight: 500;
}

@media (max-width: 1024px) {
  .gnb {
    display: none;
  }
  .menu-toggle {
    display: inline-block;
  }
  .tel-btn span {
    display: none;
  }
  .tel-btn {
    padding: 10px 14px;
  }
}

/* ---- 5. HOME :: Hero --------------------------------------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  color: #fff;
  overflow: hidden;
  padding: calc(var(--header-h) + 40px) 0 80px;
  isolation: isolate;
}
/* Hero 배경 이미지 (Unsplash placeholder) */
.hero-bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -3;
  filter: brightness(0.55) saturate(1.05);
  animation: heroZoom 20s ease-out forwards;
}
@keyframes heroZoom {
  from {
    transform: scale(1.12);
  }
  to {
    transform: scale(1);
  }
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      circle at 20% 30%,
      rgba(79, 152, 142, 0.35),
      transparent 55%
    ),
    radial-gradient(
      circle at 85% 75%,
      rgba(201, 169, 110, 0.22),
      transparent 50%
    ),
    linear-gradient(
      135deg,
      rgba(8, 35, 65, 0.82) 0%,
      rgba(11, 46, 79, 0.72) 45%,
      rgba(21, 63, 104, 0.6) 100%
    );
  z-index: -2;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(
    ellipse at center,
    rgba(0, 0, 0, 0.9) 30%,
    transparent 80%
  );
  -webkit-mask-image: radial-gradient(
    ellipse at center,
    rgba(0, 0, 0, 0.9) 30%,
    transparent 80%
  );
  z-index: -1;
}
.hero-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
  width: 100%;
  position: relative;
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-en);
  font-size: 13px;
  letter-spacing: 0.3em;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 28px;
}
.hero-eyebrow::before {
  content: "";
  width: 40px;
  height: 1px;
  background: var(--c-accent);
}
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(44px, 9vw, 128px);
  font-weight: 700;
  line-height: 0.95;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
}
.hero-title .line1 {
  display: block;
  font-style: italic;
  color: var(--c-accent);
  font-size: 0.5em;
  font-weight: 400;
  margin-bottom: 8px;
}
.hero-title .line2 {
  display: block;
  color: #fff;
  text-shadow:
    0 0 30px rgba(79, 152, 142, 0.25),
    0 2px 24px rgba(0, 0, 0, 0.35);
}
.hero-sub {
  font-size: clamp(17px, 1.4vw, 21px);
  color: rgba(255, 255, 255, 0.82);
  max-width: 640px;
  margin: 32px 0 20px;
  line-height: 1.65;
}
.hero-sub strong {
  color: #fff;
  font-weight: 600;
}

.hero-motto {
  display: inline-block;
  margin: 16px 0 40px;
  padding: 10px 22px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  font-size: 14px;
  color: #fff;
  letter-spacing: 0.02em;
}
.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

/* scrolling ticker */
.hero-ticker {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 24px 0;
  overflow: hidden;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(0, 0, 0, 0.15);
}
.ticker-track {
  display: flex;
  gap: 60px;
  white-space: nowrap;
  animation: tickerRoll 30s linear infinite;
  font-family: var(--font-display);
  font-size: clamp(24px, 3vw, 40px);
  font-style: italic;
  color: rgba(255, 255, 255, 0.18);
  font-weight: 400;
}
.ticker-track span {
  display: inline-flex;
  align-items: center;
  gap: 60px;
}
.ticker-track span::after {
  content: "◆";
  color: var(--c-accent);
  font-size: 0.55em;
}
@keyframes tickerRoll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

.hero-scroll {
  position: absolute;
  left: 50%;
  bottom: 100px;
  transform: translateX(-50%);
  color: rgba(255, 255, 255, 0.6);
  font-family: var(--font-en);
  font-size: 12px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
.hero-scroll::after {
  content: "";
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0.6), transparent);
  animation: scrollLine 2s ease-in-out infinite;
}
@keyframes scrollLine {
  0%,
  100% {
    transform: scaleY(1);
    transform-origin: top;
  }
  50% {
    transform: scaleY(0.3);
  }
}

@media (max-width: 768px) {
  .hero-scroll,
  .hero-ticker {
    display: none;
  }
  .hero {
    min-height: 92vh;
  }
}

/* ---- 6. HOME :: About -------------------------------------- */
.about {
  background: var(--c-bg);
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.about::before,
.about::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: -1;
  filter: blur(70px);
}
.about::before {
  top: -15%;
  right: -10%;
  width: 55vw;
  max-width: 780px;
  aspect-ratio: 1;
  background: radial-gradient(
    circle at center,
    rgba(79, 152, 142, 0.3),
    transparent 70%
  );
}
.about::after {
  bottom: -20%;
  left: -12%;
  width: 48vw;
  max-width: 680px;
  aspect-ratio: 1;
  background: radial-gradient(
    circle at center,
    rgba(11, 46, 79, 0.14),
    transparent 70%
  );
}
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 80px;
  align-items: center;
}
.about-head .section-title {
  max-width: 440px;
}
.about-lead {
  font-size: 18px;
  color: var(--c-text-2);
  line-height: 1.75;
  margin: 24px 0 28px;
}
.about-signature {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 14px 22px;
  background: linear-gradient(135deg, #fff, rgba(79, 152, 142, 0.1));
  border: 1px solid rgba(79, 152, 142, 0.25);
  border-radius: var(--radius-pill);
  box-shadow: 0 8px 24px -10px rgba(79, 152, 142, 0.3);
  font-size: 14px;
  color: var(--c-primary);
  font-weight: 600;
}
.about-signature i {
  color: var(--c-accent);
}

/* About 피처 이미지 (Unsplash placeholder) */
.about-visual {
  position: relative;
  margin: 48px 0 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4 / 5;
  max-width: 420px;
  box-shadow: var(--shadow-2);
}
.about-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1s var(--ease);
}
.about-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    transparent 50%,
    rgba(11, 46, 79, 0.35) 100%
  );
  pointer-events: none;
}
.about-visual:hover img {
  transform: scale(1.05);
}
.about-badge {
  position: absolute;
  right: 20px;
  bottom: 20px;
  padding: 18px 22px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-2);
  display: flex;
  flex-direction: column;
  gap: 2px;
  z-index: 1;
}
.about-badge strong {
  font-family: var(--font-display);
  font-size: 32px;
  color: var(--c-primary);
  line-height: 1;
  font-weight: 700;
}
.about-badge span {
  font-family: var(--font-en);
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--c-muted);
  font-weight: 600;
  text-transform: uppercase;
}

.about-values {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.value-card {
  padding: 36px 30px 32px;
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-1);
  border: 1px solid rgba(11, 46, 79, 0.06);
  transition: all 0.4s var(--ease);
  position: relative;
  overflow: hidden;
}
.value-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--c-accent), var(--c-primary));
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.55s var(--ease);
}
.value-card:hover {
  transform: translateY(-8px);
  border-color: transparent;
  box-shadow:
    0 20px 48px -12px rgba(11, 46, 79, 0.18),
    0 0 0 1px rgba(79, 152, 142, 0.22);
}
.value-card:hover::before {
  transform: scaleX(1);
}
.value-card:nth-child(2n) {
  transform: translateY(28px);
}
.value-card:nth-child(2n):hover {
  transform: translateY(20px);
}
.value-num {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 12px;
  color: var(--c-accent-600);
  font-weight: 700;
  letter-spacing: 0.12em;
  padding: 5px 12px;
  background: rgba(79, 152, 142, 0.12);
  border-radius: var(--radius-pill);
}
.value-card h3 {
  font-size: 20px;
  color: var(--c-primary);
  margin: 16px 0 10px;
}
.value-card p {
  color: var(--c-muted);
  font-size: 14px;
  line-height: 1.7;
}
.value-card .v-icon {
  position: absolute;
  right: 24px;
  top: 32px;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--c-accent), var(--c-primary));
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 18px;
  box-shadow: 0 8px 20px -6px rgba(79, 152, 142, 0.55);
  transition: transform 0.45s var(--ease);
}
.value-card:hover .v-icon {
  transform: scale(1.08) rotate(-4deg);
}

@media (max-width: 900px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .value-card:nth-child(2n) {
    transform: none;
  }
  .value-card:nth-child(2n):hover {
    transform: translateY(-6px);
  }
}
@media (max-width: 560px) {
  .about-values {
    grid-template-columns: 1fr;
  }
}

/* ---- 7. HOME :: Cards -------------------------------------- */
.service-cards {
  background: var(--c-primary);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.service-cards::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      circle at 15% 20%,
      rgba(79, 152, 142, 0.22),
      transparent 50%
    ),
    radial-gradient(
      circle at 85% 80%,
      rgba(201, 169, 110, 0.15),
      transparent 45%
    );
}
.cards-inner {
  position: relative;
}
.cards-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 60px;
  gap: 40px;
  flex-wrap: wrap;
}
.cards-head .eyebrow {
  color: var(--c-accent);
}
.cards-head .section-title {
  color: #fff;
}
.cards-head p {
  color: rgba(255, 255, 255, 0.7);
  max-width: 420px;
}

.cards-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}
.service-card {
  padding: 48px 40px 40px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(10px);
  transition: all 0.4s var(--ease);
  position: relative;
  overflow: hidden;
  min-height: 340px;
  display: flex;
  flex-direction: column;
  isolation: isolate;
}
/* Service 카드 배경 이미지 (Unsplash placeholder) */
.service-card .sc-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
  opacity: 0.5;
  transition:
    opacity 0.5s var(--ease),
    transform 0.8s var(--ease);
}
.service-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(11, 46, 79, 0.55) 0%,
    rgba(11, 46, 79, 0.88) 100%
  );
  z-index: -1;
  transition: background 0.4s var(--ease);
}
.service-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(79, 152, 142, 0.18),
    transparent 60%
  );
  opacity: 0;
  transition: opacity 0.4s;
  z-index: -1;
}
.service-card:hover {
  transform: translateY(-8px);
  border-color: var(--c-accent);
}
.service-card:hover .sc-bg {
  opacity: 0.7;
  transform: scale(1.06);
}
.service-card:hover::before {
  background: linear-gradient(
    180deg,
    rgba(11, 46, 79, 0.35) 0%,
    rgba(11, 46, 79, 0.75) 100%
  );
}
.service-card:hover::after {
  opacity: 1;
}
.sc-tag {
  font-family: var(--font-en);
  font-size: 12px;
  letter-spacing: 0.25em;
  color: var(--c-accent);
  font-weight: 600;
  text-transform: uppercase;
}
.sc-title {
  font-family: var(--font-display);
  font-size: clamp(28px, 3.5vw, 42px);
  margin: 16px 0 12px;
  line-height: 1.15;
  font-weight: 700;
}
.sc-sub {
  font-size: 17px;
  color: rgba(255, 255, 255, 0.75);
  font-weight: 500;
  margin-bottom: auto;
  padding-bottom: 40px;
}
.sc-more {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-en);
  font-size: 13px;
  letter-spacing: 0.2em;
  font-weight: 600;
  color: #fff;
  position: relative;
  z-index: 1;
}
.sc-more .arrow {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.3);
  display: grid;
  place-items: center;
  transition: all 0.3s var(--ease);
}
.service-card:hover .sc-more .arrow {
  background: var(--c-accent);
  border-color: var(--c-accent);
  transform: rotate(-45deg);
}

@media (max-width: 768px) {
  .cards-grid {
    grid-template-columns: 1fr;
  }
  .service-card {
    min-height: 260px;
    padding: 36px 28px;
  }
}

/* ---- 8. HOME :: Contact Bar -------------------------------- */
.contact-bar {
  position: relative;
  padding: 130px 0;
  background: linear-gradient(180deg, #f7f9fc 0%, #eef3f9 100%);
  overflow: hidden;
}
.contact-bar::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(
    rgba(11, 46, 79, 0.06) 1px,
    transparent 1px
  );
  background-size: 28px 28px;
  opacity: 0.55;
  pointer-events: none;
}
.cb-deco {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  pointer-events: none;
  z-index: 0;
}
.cb-deco-1 {
  width: 420px;
  height: 420px;
  top: -120px;
  right: -80px;
  background: radial-gradient(
    circle,
    rgba(79, 152, 142, 0.22),
    transparent 70%
  );
}
.cb-deco-2 {
  width: 360px;
  height: 360px;
  bottom: -140px;
  left: -60px;
  background: radial-gradient(circle, rgba(11, 46, 79, 0.18), transparent 70%);
}
.cb-deco-3 {
  width: 480px;
  height: 480px;
  top: 50%;
  left: -180px;
  transform: translateY(-50%);
  background: radial-gradient(circle, rgba(11, 46, 79, 0.22), transparent 70%);
  filter: blur(80px);
}

.cb-layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 0.95fr 1.2fr;
  gap: 72px;
  align-items: center;
}

/* --- 좌측 인트로 --- */
.cb-intro .eyebrow {
  color: var(--c-accent);
}
.cb-intro .section-title {
  margin-bottom: 24px;
}
.cb-lead {
  font-size: 17px;
  line-height: 1.75;
  color: var(--c-text-2);
  margin: 0 0 40px;
}
.cb-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px 28px;
}
.cb-call {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 10px 4px;
  color: var(--c-primary);
  transition: color 0.3s var(--ease);
}
.cb-call i {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #fff;
  color: var(--c-primary);
  display: grid;
  place-items: center;
  font-size: 18px;
  box-shadow: var(--shadow-1);
  transition: all 0.3s var(--ease);
}
.cb-call span {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}
.cb-call small {
  font-family: var(--font-en);
  font-size: 11px;
  letter-spacing: 0.25em;
  color: var(--c-muted);
  font-weight: 600;
  margin-bottom: 4px;
}
.cb-call strong {
  font-family: var(--font-en);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.01em;
}
.cb-call:hover {
  color: var(--c-accent);
}
.cb-call:hover i {
  background: var(--c-accent);
  color: #fff;
  transform: translateY(-2px);
}

/* --- 우측 카드 스택 --- */
.cb-cards {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.cb-card {
  position: relative;
  display: grid;
  grid-template-columns: auto auto 1fr auto;
  align-items: center;
  gap: 24px;
  padding: 28px 36px;
  background: #fff;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(11, 46, 79, 0.06);
  box-shadow: var(--shadow-1);
  transition: all 0.35s var(--ease);
  overflow: hidden;
}
.cb-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    var(--c-primary) 0%,
    var(--c-accent) 100%
  );
  opacity: 0;
  transition: opacity 0.35s var(--ease);
  z-index: 0;
}
.cb-card > * {
  position: relative;
  z-index: 1;
}
.cb-card:hover {
  border-color: transparent;
  box-shadow: var(--shadow-3);
  transform: translateX(6px);
}
.cb-card:hover::before {
  opacity: 1;
}

.cb-num {
  font-family: var(--font-en);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--c-muted);
  transition: color 0.35s var(--ease);
}
.cb-card:hover .cb-num {
  color: rgba(255, 255, 255, 0.6);
}

.cb-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--c-primary), var(--c-primary-600));
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 20px;
  transition: all 0.35s var(--ease);
  flex-shrink: 0;
}
.cb-card:hover .cb-icon {
  background: #fff;
  color: var(--c-primary);
  transform: rotate(-8deg) scale(1.05);
}

.cb-body {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}
.cb-tag {
  font-family: var(--font-en);
  font-size: 11px;
  letter-spacing: 0.3em;
  font-weight: 700;
  color: var(--c-accent);
  transition: color 0.35s var(--ease);
}
.cb-card:hover .cb-tag {
  color: var(--c-gold);
}
.cb-text {
  margin: 0;
  font-size: 17px;
  font-weight: 600;
  color: var(--c-primary);
  line-height: 1.45;
  transition: color 0.35s var(--ease);
  overflow-wrap: anywhere;
}
.cb-card:hover .cb-text {
  color: #fff;
}

.cb-arrow {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--c-line);
  color: var(--c-primary);
  display: grid;
  place-items: center;
  font-size: 14px;
  transition: all 0.35s var(--ease);
  flex-shrink: 0;
}
.cb-card:hover .cb-arrow {
  background: var(--c-accent);
  border-color: var(--c-accent);
  color: #fff;
  transform: translateX(4px);
}

@media (max-width: 1100px) {
  .cb-layout {
    grid-template-columns: 1fr;
    gap: 56px;
  }
  .cb-intro {
    text-align: center;
  }
  .cb-intro .eyebrow {
    justify-content: center;
  }
  .cb-actions {
    justify-content: center;
  }
}
@media (max-width: 768px) {
  .contact-bar {
    padding: 90px 0;
  }
  .cb-card {
    grid-template-columns: auto 1fr auto;
    gap: 16px;
    padding: 22px 22px;
  }
  .cb-num {
    display: none;
  }
  .cb-icon {
    width: 48px;
    height: 48px;
    font-size: 17px;
    border-radius: 14px;
  }
  .cb-text {
    font-size: 15px;
  }
  .cb-arrow {
    width: 38px;
    height: 38px;
  }
  .cb-actions {
    gap: 18px;
  }
  .cb-call strong {
    font-size: 18px;
  }
}

/* ---- 9. Footer --------------------------------------------- */
.site-footer {
  background: #0a1e34;
  color: rgba(255, 255, 255, 0.75);
  position: relative;
}
.footer-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 80px 24px 40px;
}
.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 2fr;
  gap: 60px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.f-logo {
  width: 100px;
  filter: brightness(0) invert(1) drop-shadow(0 2px 4px rgba(0, 0, 0, 0.25));
}
.f-logo img {
  object-fit: contain;
}
.f-logo-mark {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--c-accent);
  color: #fff;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 22px;
}
.f-logo-text {
  font-family: var(--font-en);
  font-weight: 700;
  letter-spacing: 0.1em;
  color: #fff;
  font-size: 18px;
}
.f-slogan {
  margin-top: 20px;
  color: rgba(255, 255, 255, 0.6);
  font-size: 14px;
  line-height: 1.7;
  max-width: 320px;
}
.footer-nav {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.footer-nav dl dt {
  color: #fff;
  font-weight: 600;
  font-size: 15px;
  margin-bottom: 18px;
}
.footer-nav dl dd {
  margin: 0 0 10px;
}
.footer-nav dl dd a {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.58);
  transition: color 0.2s;
}
.footer-nav dl dd a:hover {
  color: var(--c-accent);
}

.footer-info {
  padding-top: 32px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.75;
}
.f-company span {
  display: inline-block;
  margin-right: 16px;
}
.f-company span + span::before {
  content: "|";
  margin-right: 16px;
  color: rgba(255, 255, 255, 0.2);
}
.f-copy {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px dashed rgba(255, 255, 255, 0.08);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 12px;
  letter-spacing: 0.02em;
}
.f-designer {
  color: rgba(255, 255, 255, 0.35);
}

@media (max-width: 900px) {
  .footer-top {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .footer-nav {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }
  .f-company span + span::before {
    display: none;
  }
  .f-company span {
    display: block;
    margin: 0 0 4px;
  }
}
@media (max-width: 560px) {
  .footer-nav {
    grid-template-columns: 1fr 1fr;
  }
}

/* ---- 10. Float widgets ------------------------------------- */
.btn-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--c-primary);
  color: #fff;
  display: grid;
  place-items: center;
  box-shadow: var(--shadow-2);
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all 0.3s var(--ease);
  z-index: 90;
}
.btn-top.show {
  opacity: 1;
  visibility: visible;
  transform: none;
}
.btn-top:hover {
  background: var(--c-accent);
  transform: translateY(-3px);
}

.quick-consult {
  position: fixed;
  right: 24px;
  bottom: 84px;
  z-index: 95;
}
.qc-toggle {
  width: 62px;
  height: 62px;
  border-radius: 50%;
  background: var(--c-accent);
  color: #fff;
  display: grid;
  place-items: center;
  box-shadow: 0 12px 28px rgba(79, 152, 142, 0.35);
  position: relative;
  animation: pulse 2.4s ease-in-out infinite;
}
.qc-toggle i {
  font-size: 22px;
}
.qc-toggle span {
  position: absolute;
  right: 74px;
  top: 50%;
  transform: translateY(-50%);
  background: var(--c-primary);
  color: #fff;
  font-size: 13px;
  padding: 8px 14px;
  border-radius: var(--radius-pill);
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
  font-weight: 500;
}
.qc-toggle:hover span {
  opacity: 1;
}

@keyframes pulse {
  0%,
  100% {
    box-shadow:
      0 12px 28px rgba(79, 152, 142, 0.35),
      0 0 0 0 rgba(79, 152, 142, 0.4);
  }
  50% {
    box-shadow:
      0 12px 28px rgba(79, 152, 142, 0.35),
      0 0 0 14px rgba(79, 152, 142, 0);
  }
}

.qc-panel {
  position: absolute;
  right: 0;
  bottom: 76px;
  width: 300px;
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-3);
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.3s var(--ease);
}
.quick-consult.open .qc-panel {
  opacity: 1;
  visibility: visible;
  transform: none;
}
.qc-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 14px;
  margin-bottom: 10px;
  border-bottom: 1px solid var(--c-line);
}
.qc-head strong {
  color: var(--c-primary);
  font-size: 15px;
}
.qc-close {
  color: var(--c-muted);
  padding: 4px 8px;
}
.qc-list li a {
  display: grid;
  grid-template-columns: 36px 1fr auto;
  align-items: center;
  padding: 12px 8px;
  gap: 12px;
  border-radius: 10px;
  transition: background 0.2s;
}
.qc-list li a:hover {
  background: var(--c-bg);
}
.qc-list li a i {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--c-bg);
  color: var(--c-primary);
  display: grid;
  place-items: center;
}
.qc-list li a:hover i {
  background: var(--c-primary);
  color: #fff;
}
.qc-list li a span {
  font-size: 12px;
  color: var(--c-muted);
  display: block;
}
.qc-list li a em {
  grid-column: 2;
  font-style: normal;
  font-weight: 600;
  font-size: 14px;
  color: var(--c-primary);
}
.qc-list li a > i {
  grid-row: span 2;
}

@media (max-width: 560px) {
  .qc-panel {
    width: calc(100vw - 48px);
    right: 0;
  }
}

/* ---- 11. Sub-page :: Sub visual ---------------------------- */
.sub-visual {
  position: relative;
  padding: calc(var(--header-h) + 80px) 0 80px;
  background: linear-gradient(135deg, #082341, #0b2e4f 60%, #153f68);
  color: #fff;
  overflow: hidden;
  isolation: isolate;
}
/* 서브비주얼 배경 이미지 (Unsplash placeholder) */
.sub-visual-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
  filter: brightness(0.55) saturate(1.05);
  animation: subVisualZoom 16s ease-out forwards;
}
@keyframes subVisualZoom {
  from {
    transform: scale(1.08);
  }
  to {
    transform: scale(1);
  }
}
.sub-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(
      circle at 80% 30%,
      rgba(79, 152, 142, 0.35),
      transparent 55%
    ),
    radial-gradient(
      circle at 20% 80%,
      rgba(201, 169, 110, 0.22),
      transparent 50%
    ),
    linear-gradient(
      135deg,
      rgba(8, 35, 65, 0.78),
      rgba(11, 46, 79, 0.68) 60%,
      rgba(21, 63, 104, 0.58)
    );
}
.sub-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(
    ellipse at center,
    rgba(0, 0, 0, 0.9) 20%,
    transparent 80%
  );
  -webkit-mask-image: radial-gradient(
    ellipse at center,
    rgba(0, 0, 0, 0.9) 20%,
    transparent 80%
  );
}
.sub-visual-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 40px 24px;
  position: relative;
  text-align: center;
}
.sub-eyebrow {
  font-family: var(--font-en);
  font-size: 13px;
  letter-spacing: 0.3em;
  color: var(--c-accent);
  font-weight: 600;
  margin-bottom: 16px;
}
.sub-title {
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 700;
  letter-spacing: -0.02em;
  font-family: var(--font-display);
}
.breadcrumb {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 24px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
}
.breadcrumb i {
  font-size: 10px;
  margin-top: 4px;
}

/* ---- 12. Sub-page :: Tabs ---------------------------------- */
.sub-tabs {
  background: #fff;
  border-bottom: 1px solid var(--c-line);
  position: sticky;
  top: var(--header-h);
  z-index: 80;
}
.sub-tabs-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: flex;
  gap: 8px;
  overflow-x: auto;
}
.sub-tabs a {
  padding: 20px 24px;
  color: var(--c-muted);
  font-weight: 500;
  font-size: 15px;
  white-space: nowrap;
  border-bottom: 2px solid transparent;
  transition: all 0.2s;
}
.sub-tabs a:hover {
  color: var(--c-primary);
}
.sub-tabs a.active {
  color: var(--c-primary);
  font-weight: 700;
  border-bottom-color: var(--c-accent);
}

/* ---- 13. Sub-page :: Content ------------------------------- */
.page {
  padding: 120px 0;
}
.page-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.page-title {
  font-size: clamp(28px, 3.6vw, 38px);
  color: var(--c-primary);
  margin-bottom: 18px;
}
.page-lead {
  color: var(--c-text-2);
  font-size: 17px;
  line-height: 1.75;
  margin-bottom: 56px;
  max-width: 760px;
}

/* ==== Common :: Feature banner (full-bleed) ==== */
.sub-feature {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
}

/* Center-out reveal (overrides the generic [data-aos="fade-up"] behavior) */
.sub-feature[data-aos] {
  opacity: 1;
  transform: none;
  clip-path: inset(0 50% 0 50%);
  -webkit-clip-path: inset(0 50% 0 50%);
  transition:
    clip-path 1.25s cubic-bezier(0.77, 0, 0.175, 1),
    -webkit-clip-path 1.25s cubic-bezier(0.77, 0, 0.175, 1);
  will-change: clip-path;
}
.sub-feature[data-aos].aos-animate {
  clip-path: inset(0 0 0 0);
  -webkit-clip-path: inset(0 0 0 0);
}
/* Image subtle zoom while banner expands */
.sub-feature[data-aos] .sub-feature-inner img {
  transform: scale(1.08);
  transition: transform 1.6s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.sub-feature[data-aos].aos-animate .sub-feature-inner img {
  transform: scale(1);
}
.sub-feature[data-aos] .sub-feature-inner:hover img {
  transform: scale(1.04);
}
@media (prefers-reduced-motion: reduce) {
  .sub-feature[data-aos],
  .sub-feature[data-aos] .sub-feature-inner img {
    clip-path: inset(0);
    -webkit-clip-path: inset(0);
    transform: none;
    transition: none;
  }
}
.sub-feature-inner {
  position: relative;
  width: 100%;
  border-radius: 0;
  overflow: hidden;
  aspect-ratio: 16 / 6;
  box-shadow: none;
  isolation: isolate;
  display: grid;
  place-items: center;
}
.sub-feature-inner img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 1.2s ease;
  z-index: 0;
}
.sub-feature-inner:hover img {
  transform: scale(1.04);
}
.sub-feature-inner::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(6, 26, 48, 0.72) 0%,
    rgba(6, 26, 48, 0.45) 45%,
    rgba(6, 26, 48, 0.15) 100%
  );
  pointer-events: none;
  z-index: 1;
}
.sub-feature-cap {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--container-wide, 1680px);
  margin: 0 auto;
  padding: 0 var(--gutter);
  color: #fff;
}
.sub-feature-cap .cap-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-en);
  font-size: 11px;
  letter-spacing: 0.32em;
  font-weight: 700;
  color: var(--c-accent);
  margin-bottom: 20px;
  padding: 7px 16px;
  border: 1px solid rgba(79, 152, 142, 0.55);
  border-radius: 999px;
  background: rgba(6, 26, 48, 0.35);
  backdrop-filter: blur(6px);
  text-transform: uppercase;
}
.sub-feature-cap .cap-title {
  font-size: clamp(24px, 2.6vw, 38px);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.3;
  color: #fff;
  max-width: 680px;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.35);
}
.sub-feature-cap .cap-title em {
  font-style: normal;
  color: var(--c-accent);
  position: relative;
}
.sub-feature-cap .cap-title em::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0.1em;
  height: 0.25em;
  background: rgba(79, 152, 142, 0.25);
  z-index: -1;
}

/* ==== Common :: 3-image gallery ==== */
.sub-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: var(--container-wide, 1680px);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.sub-gallery-item {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-1);
  isolation: isolate;
  margin: 0;
}
.sub-gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.8s ease;
}
.sub-gallery-item:hover img {
  transform: scale(1.05);
}
.sub-gallery-item .cap {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 36px 24px 22px;
  background: linear-gradient(
    transparent,
    rgba(11, 46, 79, 0.35) 40%,
    rgba(11, 46, 79, 0.85)
  );
  color: #fff;
  pointer-events: none;
}
.sub-gallery-item .cap strong {
  display: block;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: 4px;
}
.sub-gallery-item .cap small {
  font-family: var(--font-en);
  font-size: 11px;
  letter-spacing: 0.22em;
  color: var(--c-accent);
  font-weight: 700;
  text-transform: uppercase;
}

@media (max-width: 900px) {
  .sub-feature-inner {
    aspect-ratio: 16 / 9;
  }
  .sub-gallery {
    grid-template-columns: 1fr 1fr;
    gap: 14px;
  }
  .sub-gallery-item:nth-child(3) {
    grid-column: 1 / -1;
  }
}
@media (max-width: 560px) {
  .sub-feature-inner {
    aspect-ratio: 4 / 5;
  }
  .sub-gallery {
    grid-template-columns: 1fr;
  }
  .sub-gallery-item:nth-child(3) {
    grid-column: auto;
  }
}

/* Greeting */
.greeting-layout {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 72px;
  align-items: start;
}
.greeting-visual {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/5;
  background: linear-gradient(135deg, #0b2e4f, #4f988e);
  box-shadow: var(--shadow-2);
  color: #fff;
  padding: 40px;
  display: flex;
  align-items: flex-end;
}
.greeting-visual::before {
  content: '"';
  position: absolute;
  top: 20px;
  left: 30px;
  font-family: var(--font-display);
  font-size: 240px;
  line-height: 1;
  color: rgba(255, 255, 255, 0.08);
  font-weight: 700;
}
.greeting-visual .sign {
  position: relative;
  z-index: 1;
}
.greeting-visual .sign small {
  display: block;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 6px;
  letter-spacing: 0.2em;
}
.greeting-visual .sign strong {
  font-size: 24px;
  font-family: var(--font-display);
}

.greeting-text h3 {
  color: var(--c-primary);
  font-size: 26px;
  margin-bottom: 28px;
  line-height: 1.4;
}
.greeting-text p {
  color: var(--c-text-2);
  font-size: 16px;
  line-height: 1.85;
  margin-bottom: 18px;
}
.greeting-text p strong {
  color: var(--c-primary);
}
.greeting-sign {
  margin-top: 40px;
  font-weight: 600;
  color: var(--c-primary);
}

@media (max-width: 900px) {
  .greeting-layout {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .greeting-visual {
    aspect-ratio: 16/10;
  }
}

/* ---- Greeting :: Redesign (no photo) ------------ */
.greeting-page {
  padding: 0;
}

/* Hero — modern editorial (no Korean italic, no cliché quotes) */
.gr-hero {
  position: relative;
  padding: 160px 0 140px;
  background: linear-gradient(180deg, #ffffff 0%, var(--c-bg) 100%);
  overflow: hidden;
  text-align: center;
  isolation: isolate;
}
/* 상단 중앙에 떨어지는 가느다란 라인 악센트 */
.gr-hero::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  width: 1px;
  height: 80px;
  background: linear-gradient(to bottom, transparent, var(--c-accent));
  z-index: 1;
}
/* 우측 하단 영문 워터마크 (은은한 브랜드 감성) */
.gr-hero::after {
  content: "GREETINGS";
  position: absolute;
  right: -20px;
  bottom: 60px;
  font-family: var(--font-display);
  font-size: clamp(120px, 18vw, 260px);
  font-weight: 700;
  font-style: italic;
  color: rgba(11, 46, 79, 0.04);
  letter-spacing: -0.03em;
  line-height: 1;
  pointer-events: none;
  z-index: -1;
}
.gr-hero-inner {
  position: relative;
  max-width: 1080px;
  margin: 0 auto;
}

/* Kicker pill */
.gr-kicker {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 10px 20px 10px 16px;
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: var(--radius-pill);
  margin-bottom: 48px;
  box-shadow: 0 2px 10px rgba(11, 46, 79, 0.04);
}
.gr-kicker .dot {
  width: 7px;
  height: 7px;
  background: var(--c-accent);
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(79, 152, 142, 0.18);
  animation: dotPulse 1.8s ease-in-out infinite;
}
.gr-kicker .en {
  font-family: var(--font-en);
  font-size: 12px;
  letter-spacing: 0.25em;
  font-weight: 700;
  color: var(--c-muted);
}
.gr-kicker .ko {
  padding-left: 14px;
  border-left: 1px solid var(--c-line);
  font-size: 13px;
  font-weight: 700;
  color: var(--c-primary);
  letter-spacing: -0.01em;
}
@keyframes dotPulse {
  0%,
  100% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(0.7);
    opacity: 0.55;
  }
}

/* Headline (Korean, no italic) */
.gr-headline {
  font-family: var(--font-kr);
  font-size: clamp(36px, 5.4vw, 72px);
  font-weight: 800;
  color: var(--c-primary);
  line-height: 1.25;
  letter-spacing: -0.035em;
  margin-bottom: 34px;
}
.gr-headline .accent {
  position: relative;
  display: inline-block;
  color: var(--c-primary);
  z-index: 0;
}
.gr-headline .accent::after {
  content: "";
  position: absolute;
  left: -4px;
  right: -4px;
  bottom: 6px;
  height: 10px;
  background: var(--c-accent);
  opacity: 0.3;
  z-index: -1;
  border-radius: 2px;
  transition: height 0.5s var(--ease);
}
.gr-headline .accent:hover::after {
  height: 40%;
  opacity: 0.22;
}

.gr-sub {
  font-size: 18px;
  color: var(--c-muted);
  line-height: 1.8;
  max-width: 620px;
  margin: 0 auto 56px;
  font-weight: 500;
}

/* Bottom meta signature */
.gr-hero-meta {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  font-family: var(--font-en);
  font-size: 11px;
  letter-spacing: 0.35em;
  color: var(--c-muted);
  font-weight: 700;
}
.gr-hero-meta .sep {
  width: 28px;
  height: 1px;
  background: currentColor;
  opacity: 0.4;
}

/* ==== Greeting Editorial ==== */
.gr-body {
  padding: 140px 0 160px;
  background:
    radial-gradient(
      ellipse at 10% 0%,
      rgba(79, 152, 142, 0.05),
      transparent 45%
    ),
    radial-gradient(
      ellipse at 100% 100%,
      rgba(11, 46, 79, 0.04),
      transparent 50%
    ),
    #fff;
  position: relative;
}
.gr-editorial {
  max-width: 1080px;
  margin: 0 auto;
  position: relative;
}

/* Title block */
.gr-ed-head {
  margin-bottom: 72px;
}
.gr-ed-kicker {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  font-family: var(--font-en);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--c-accent);
  margin-bottom: 32px;
}
.gr-ed-kicker .num {
  background: var(--c-accent);
  color: #fff;
  padding: 5px 12px;
  border-radius: 999px;
  letter-spacing: 0.2em;
  font-size: 11px;
}
.gr-ed-kicker .bar {
  width: 40px;
  height: 1px;
  background: var(--c-accent);
  opacity: 0.5;
}
.gr-ed-kicker .brand {
  color: var(--c-primary);
  font-weight: 700;
}
.gr-ed-title {
  font-size: clamp(36px, 4.6vw, 58px);
  line-height: 1.25;
  font-weight: 800;
  letter-spacing: -0.025em;
  color: var(--c-primary);
  margin-bottom: 40px;
}
.gr-ed-title .accent-ko {
  color: var(--c-accent);
  position: relative;
  white-space: nowrap;
}
.gr-ed-title .accent-ko::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0.12em;
  height: 0.28em;
  background: rgba(79, 152, 142, 0.18);
  z-index: -1;
}
.gr-ed-rule {
  display: block;
  width: 64px;
  height: 2px;
  background: var(--c-primary);
}

/* Body paragraphs */
.gr-ed-text {
  max-width: 760px;
  margin-bottom: 96px;
}
.gr-ed-lead {
  font-size: clamp(20px, 1.6vw, 23px);
  line-height: 1.75;
  color: var(--c-primary);
  font-weight: 600;
  letter-spacing: -0.01em;
  padding-bottom: 36px;
  margin-bottom: 36px;
  border-bottom: 1px solid var(--c-line);
}
.gr-ed-lead strong {
  color: var(--c-accent);
  font-weight: 800;
}
.gr-ed-text p:not(.gr-ed-lead) {
  font-size: 17px;
  line-height: 2;
  color: var(--c-text-2);
  margin-bottom: 22px;
}
.gr-ed-text p strong {
  color: var(--c-primary);
  font-weight: 700;
}
.gr-ed-text mark {
  background: linear-gradient(transparent 62%, rgba(79, 152, 142, 0.3) 62%);
  color: var(--c-primary);
  font-weight: 700;
  padding: 0 4px;
}

/* 4 Promise row */
.gr-ed-promises {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--c-line);
  border-bottom: 1px solid var(--c-line);
  padding: 44px 0;
}
.gr-ed-promises li {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  padding: 0 28px;
  border-right: 1px solid var(--c-line);
  transition: transform 0.35s ease;
}
.gr-ed-promises li:first-child {
  padding-left: 0;
}
.gr-ed-promises li:last-child {
  padding-right: 0;
  border-right: 0;
}
.gr-ed-promises li:hover {
  transform: translateY(-4px);
}
.gr-ed-promises .p-num {
  font-family: var(--font-display);
  font-size: 34px;
  font-weight: 700;
  line-height: 1;
  color: var(--c-accent);
  letter-spacing: -0.01em;
}
.gr-ed-promises .p-text {
  font-size: 15px;
  line-height: 1.5;
  color: var(--c-primary);
  font-weight: 600;
  padding-top: 4px;
}

/* Stats */
.gr-stats {
  background: var(--c-primary);
  color: #fff;
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}
.gr-stats::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      circle at 15% 50%,
      rgba(79, 152, 142, 0.18),
      transparent 55%
    ),
    radial-gradient(
      circle at 85% 50%,
      rgba(201, 169, 110, 0.1),
      transparent 55%
    );
}
.gr-stats-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
}
.gr-stat {
  text-align: center;
  padding: 0 20px;
  border-right: 1px solid rgba(255, 255, 255, 0.12);
}
.gr-stat:last-child {
  border-right: 0;
}
.gr-stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(48px, 6vw, 80px);
  font-weight: 700;
  line-height: 1;
  color: #fff;
  margin-bottom: 14px;
  letter-spacing: -0.02em;
}
.gr-stat strong span {
  color: var(--c-accent);
  font-style: italic;
}
.gr-stat strong .count {
  color: #fff;
  font-style: normal;
}
.gr-stat strong .scramble {
  color: #fff;
  font-style: normal;
  display: inline-block;
  min-width: 0.6em;
  text-align: center;
}
.gr-stat strong .to {
  color: var(--c-accent);
  font-style: italic;
  margin: 0 0.08em;
}
.gr-stat p {
  font-family: var(--font-en);
  font-size: 13px;
  letter-spacing: 0.18em;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.5;
  text-transform: uppercase;
}

.br-sm {
  display: none;
}

@media (max-width: 1100px) {
  .gr-ed-promises {
    grid-template-columns: repeat(2, 1fr);
    row-gap: 36px;
  }
  .gr-ed-promises li {
    padding: 0 20px;
  }
  .gr-ed-promises li:nth-child(2) {
    border-right: 0;
    padding-right: 0;
  }
  .gr-ed-promises li:nth-child(3) {
    padding-left: 0;
    padding-top: 36px;
    border-top: 1px solid var(--c-line);
  }
  .gr-ed-promises li:nth-child(4) {
    padding-top: 36px;
    border-top: 1px solid var(--c-line);
  }
  .gr-stats-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 36px 20px;
  }
  .gr-stat {
    border-right: 0;
    padding: 0 12px;
  }
  .gr-stat:nth-child(odd) {
    border-right: 1px solid rgba(255, 255, 255, 0.12);
  }
  .gr-stat:nth-child(n + 3) {
    padding-top: 36px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
  }
}
@media (max-width: 768px) {
  .gr-hero {
    padding: 90px 0 80px;
  }
  .gr-hero::before {
    height: 60px;
  }
  .gr-hero::after {
    bottom: 20px;
    right: -8px;
  }
  .gr-kicker {
    margin-bottom: 32px;
    padding: 8px 16px 8px 12px;
    gap: 10px;
  }
  .gr-kicker .en {
    font-size: 11px;
  }
  .gr-kicker .ko {
    font-size: 12px;
    padding-left: 10px;
  }
  .gr-sub {
    margin-bottom: 36px;
    font-size: 16px;
  }
  .gr-body {
    padding: 80px 0 96px;
  }
  .gr-stats {
    padding: 64px 0;
  }
  .gr-ed-head {
    margin-bottom: 48px;
  }
  .gr-ed-kicker {
    gap: 10px;
    margin-bottom: 20px;
  }
  .gr-ed-kicker .bar {
    width: 24px;
  }
  .gr-ed-title {
    margin-bottom: 28px;
  }
  .gr-ed-text {
    margin-bottom: 64px;
  }
  .gr-ed-lead {
    font-size: 18px;
    padding-bottom: 28px;
    margin-bottom: 28px;
  }
  .gr-ed-text p:not(.gr-ed-lead) {
    font-size: 16px;
    line-height: 1.9;
  }
  .gr-ed-promises {
    padding: 32px 0;
  }
  .gr-ed-promises li {
    gap: 14px;
  }
  .gr-ed-promises .p-num {
    font-size: 28px;
  }
  .gr-ed-promises .p-text {
    font-size: 14px;
  }
  .br-sm {
    display: inline;
  }
}
@media (max-width: 560px) {
  .gr-ed-promises {
    grid-template-columns: 1fr;
    row-gap: 24px;
  }
  .gr-ed-promises li,
  .gr-ed-promises li:nth-child(2),
  .gr-ed-promises li:nth-child(3),
  .gr-ed-promises li:nth-child(4) {
    padding: 20px 0 !important;
    border-right: 0;
    border-top: 1px solid var(--c-line);
  }
  .gr-ed-promises li:first-child {
    border-top: 0;
    padding-top: 0 !important;
  }
  .gr-ed-promises li:last-child {
    padding-bottom: 0 !important;
  }
  .gr-stats {
    padding: 48px 0;
  }
  .gr-stats-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px 10px;
  }
  .gr-stat {
    padding: 0 4px;
  }
  .gr-stat strong {
    font-size: clamp(24px, 7.5vw, 34px);
    margin-bottom: 6px;
    word-break: keep-all;
  }
  .gr-stat strong .to {
    margin: 0 0.05em;
  }
  .gr-stat p {
    font-size: 10px;
    letter-spacing: 0.12em;
    line-height: 1.45;
  }
  .gr-stat:nth-child(n + 3) {
    padding-top: 22px;
  }
}

@media (max-width: 360px) {
  .gr-stat strong {
    font-size: 22px;
  }
  .gr-stat p {
    font-size: 9px;
    letter-spacing: 0.08em;
  }
}

/* ==== Consulting page ==== */
.cs-page {
  background: #fff;
}

/* Intro block */
.cs-intro {
  padding: 130px 0 110px;
  position: relative;
  background:
    radial-gradient(
      ellipse at 0% 10%,
      rgba(79, 152, 142, 0.06),
      transparent 45%
    ),
    radial-gradient(
      ellipse at 100% 100%,
      rgba(11, 46, 79, 0.05),
      transparent 55%
    ),
    #fff;
  overflow: hidden;
}
.cs-intro::before {
  content: "CONSULTING";
  position: absolute;
  top: -40px;
  right: -30px;
  font-family: var(--font-display);
  font-size: clamp(140px, 18vw, 260px);
  font-weight: 700;
  color: rgba(11, 46, 79, 0.035);
  letter-spacing: -0.03em;
  line-height: 1;
  pointer-events: none;
  user-select: none;
}
.cs-intro-inner {
  position: relative;
  max-width: 1080px;
  margin: 0 auto;
}
.cs-kicker {
  display: flex;
  align-items: flex-end;
  gap: 28px;
  margin-bottom: 64px;
}
.cs-kicker .k-en {
  font-family: var(--font-display);
  font-size: clamp(40px, 5vw, 64px);
  font-weight: 700;
  line-height: 1;
  color: var(--c-primary);
  letter-spacing: -0.02em;
}
.cs-kicker .k-bar {
  flex: 0 0 64px;
  height: 2px;
  background: var(--c-accent);
  margin-bottom: 16px;
}
.cs-kicker .k-ko {
  font-size: clamp(16px, 1.4vw, 20px);
  color: var(--c-text-2);
  font-weight: 500;
  letter-spacing: -0.01em;
  padding-bottom: 6px;
}
.cs-lead {
  font-size: clamp(32px, 4.2vw, 54px);
  line-height: 1.25;
  font-weight: 800;
  letter-spacing: -0.025em;
  color: var(--c-primary);
  margin-bottom: 36px;
}
.cs-lead .line {
  display: block;
}
.cs-lead em {
  font-style: normal;
  color: var(--c-accent);
  position: relative;
}
.cs-lead em::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0.12em;
  height: 0.28em;
  background: rgba(79, 152, 142, 0.18);
  z-index: -1;
}
.cs-sub {
  font-size: clamp(16px, 1.3vw, 19px);
  line-height: 1.75;
  color: var(--c-text-2);
  letter-spacing: -0.01em;
  max-width: 720px;
}
.cs-sub strong {
  color: var(--c-primary);
  font-weight: 800;
}
.cs-sub-en {
  font-family: var(--font-en);
  font-size: 0.85em;
  color: var(--c-muted);
  letter-spacing: 0.08em;
  margin-left: 4px;
}

/* Services */
.cs-services {
  padding: 120px 0 160px;
  background: linear-gradient(180deg, #fff 0%, #f6f9fb 100%);
}
.cs-sv-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 72px;
}
.cs-sv-head .sv-eyebrow {
  display: inline-block;
  font-family: var(--font-en);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.3em;
  color: var(--c-accent);
  text-transform: uppercase;
  margin-bottom: 20px;
  padding: 6px 16px;
  border: 1px solid rgba(79, 152, 142, 0.3);
  border-radius: 999px;
}
.cs-sv-head .sv-title {
  font-size: clamp(32px, 3.6vw, 44px);
  font-weight: 800;
  letter-spacing: -0.025em;
  color: var(--c-primary);
  line-height: 1.25;
  margin-bottom: 18px;
}
.cs-sv-head .sv-sub {
  font-size: 17px;
  color: var(--c-text-2);
  line-height: 1.7;
  letter-spacing: -0.01em;
}

.cs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 1280px;
  margin: 0 auto;
}
.cs-item {
  position: relative;
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 40px 36px 36px;
  border: 1px solid var(--c-line);
  overflow: hidden;
  transition:
    transform 0.4s ease,
    box-shadow 0.4s ease,
    border-color 0.4s ease;
}
.cs-item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--c-accent), var(--c-primary));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s ease;
}
.cs-item:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-3);
  border-color: transparent;
}
.cs-item:hover::before {
  transform: scaleX(1);
}
.cs-item .cs-num {
  display: block;
  font-family: var(--font-display);
  font-size: 42px;
  font-weight: 700;
  color: var(--c-accent);
  letter-spacing: -0.02em;
  line-height: 1;
  margin-bottom: 18px;
  opacity: 0.9;
}
.cs-item .cs-ico {
  position: absolute;
  top: 36px;
  right: 32px;
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: rgba(79, 152, 142, 0.08);
  color: var(--c-accent);
  display: grid;
  place-items: center;
  font-size: 22px;
  transition:
    background 0.35s ease,
    color 0.35s ease,
    transform 0.35s ease;
}
.cs-item:hover .cs-ico {
  background: var(--c-accent);
  color: #fff;
  transform: rotate(-6deg) scale(1.05);
}
.cs-item h4 {
  font-size: 21px;
  font-weight: 700;
  color: var(--c-primary);
  letter-spacing: -0.02em;
  margin: 0 0 14px;
  padding-top: 6px;
  line-height: 1.35;
}
.cs-item p {
  font-size: 15px;
  line-height: 1.7;
  color: var(--c-text-2);
  letter-spacing: -0.01em;
}

@media (max-width: 1024px) {
  .cs-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 900px) {
  .cs-intro {
    padding: 90px 0 80px;
  }
  .cs-kicker {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 40px;
  }
  .cs-kicker .k-bar {
    flex: 0 0 auto;
    width: 48px;
    margin-bottom: 0;
  }
  .cs-services {
    padding: 80px 0 100px;
  }
  .cs-sv-head {
    margin-bottom: 48px;
  }
  .cs-item {
    padding: 32px 28px;
  }
  .cs-item .cs-ico {
    top: 28px;
    right: 24px;
    width: 44px;
    height: 44px;
    font-size: 18px;
  }
  .cs-item .cs-num {
    font-size: 34px;
  }
  .cs-item h4 {
    font-size: 19px;
  }
}
@media (max-width: 600px) {
  .cs-grid {
    grid-template-columns: 1fr;
  }
}

/* ==== Preparation Process page ==== */
.pp-page {
  background: #fff;
}

/* Intro */
.pp-intro {
  position: relative;
  padding: 130px 0 90px;
  background:
    radial-gradient(
      ellipse at 0% 0%,
      rgba(79, 152, 142, 0.06),
      transparent 45%
    ),
    radial-gradient(
      ellipse at 100% 100%,
      rgba(11, 46, 79, 0.05),
      transparent 55%
    ),
    #fff;
  overflow: hidden;
}
.pp-intro::before {
  content: "PROCESS";
  position: absolute;
  top: -20px;
  right: -30px;
  font-family: var(--font-display);
  font-size: clamp(140px, 18vw, 260px);
  font-weight: 700;
  color: rgba(11, 46, 79, 0.035);
  letter-spacing: -0.03em;
  line-height: 1;
  pointer-events: none;
  user-select: none;
}
.pp-intro-inner {
  position: relative;
  max-width: 1080px;
  margin: 0 auto;
}
.pp-kicker {
  display: flex;
  align-items: flex-end;
  gap: 28px;
  margin-bottom: 48px;
}
.pp-kicker .k-en {
  font-family: var(--font-display);
  font-size: clamp(40px, 5vw, 64px);
  font-weight: 700;
  line-height: 1;
  color: var(--c-primary);
  letter-spacing: -0.02em;
}
.pp-kicker .k-bar {
  flex: 0 0 64px;
  height: 2px;
  background: var(--c-accent);
  margin-bottom: 16px;
}
.pp-kicker .k-ko {
  font-size: clamp(16px, 1.4vw, 20px);
  color: var(--c-text-2);
  font-weight: 500;
  letter-spacing: -0.01em;
  padding-bottom: 6px;
}
.pp-lead {
  font-size: clamp(28px, 3.6vw, 44px);
  line-height: 1.3;
  font-weight: 800;
  letter-spacing: -0.025em;
  color: var(--c-primary);
}
.pp-lead em {
  font-style: normal;
  color: var(--c-accent);
  position: relative;
}
.pp-lead em::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0.12em;
  height: 0.28em;
  background: rgba(79, 152, 142, 0.18);
  z-index: -1;
}

/* Step grid */
.pp-steps {
  padding: 30px 0 130px;
  background: #fff;
}
.pp-step-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  max-width: 1280px;
  margin: 0 auto;
  counter-reset: step;
}
.pp-step {
  position: relative;
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: var(--radius-lg);
  padding: 36px 32px 32px;
  transition:
    transform 0.4s ease,
    box-shadow 0.4s ease,
    border-color 0.4s ease;
  overflow: hidden;
}
.pp-step::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--c-accent), var(--c-primary));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s ease;
}
.pp-step:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-3);
  border-color: transparent;
}
.pp-step:hover::before {
  transform: scaleX(1);
}
.pp-step-head {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 26px;
  padding-bottom: 24px;
  border-bottom: 1px dashed var(--c-line);
  position: relative;
}
.pp-step-label {
  font-family: var(--font-en);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.22em;
  color: var(--c-muted);
  text-transform: uppercase;
}
.pp-step-label em {
  font-style: normal;
  color: var(--c-accent);
  margin-left: 4px;
  letter-spacing: 0.1em;
}
.pp-step-ico {
  position: absolute;
  top: 0;
  right: 0;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(79, 152, 142, 0.08);
  color: var(--c-accent);
  display: grid;
  place-items: center;
  font-size: 18px;
  transition:
    background 0.35s ease,
    color 0.35s ease,
    transform 0.35s ease;
}
.pp-step:hover .pp-step-ico {
  background: var(--c-accent);
  color: #fff;
  transform: rotate(-6deg) scale(1.05);
}
.pp-step-title {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--c-primary);
  line-height: 1.3;
}
.pp-step-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.pp-step-list li {
  position: relative;
  padding-left: 26px;
  font-size: 15px;
  line-height: 1.55;
  color: var(--c-text-2);
  font-weight: 500;
  letter-spacing: -0.01em;
}
.pp-step-list li::before {
  content: "\f00c";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  position: absolute;
  left: 0;
  top: 2px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: rgba(79, 152, 142, 0.12);
  color: var(--c-accent);
  font-size: 9px;
  display: grid;
  place-items: center;
}

/* Revenue / message banner */
.pp-banner {
  background: var(--c-primary);
  color: #fff;
  padding: 110px 0;
  position: relative;
  overflow: hidden;
}
.pp-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      circle at 15% 40%,
      rgba(79, 152, 142, 0.18),
      transparent 55%
    ),
    radial-gradient(
      circle at 85% 70%,
      rgba(201, 169, 110, 0.1),
      transparent 55%
    );
  pointer-events: none;
}
.pp-banner-inner {
  position: relative;
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 80px;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}
.pp-revenue {
  position: relative;
  padding-left: 32px;
}
.pp-revenue::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: var(--c-accent);
}
.pp-revenue .pr-label {
  display: inline-block;
  font-family: var(--font-en);
  font-size: 11px;
  letter-spacing: 0.3em;
  font-weight: 700;
  color: var(--c-accent);
  margin-bottom: 18px;
  text-transform: uppercase;
}
.pp-revenue .pr-line {
  font-size: clamp(20px, 1.7vw, 24px);
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.45;
  font-weight: 500;
  letter-spacing: -0.01em;
}
.pp-revenue .pr-line strong {
  font-family: var(--font-display);
  font-size: clamp(38px, 4.2vw, 58px);
  color: #fff;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-left: 8px;
  line-height: 1;
}
.pp-message .pm-en {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(16px, 1.3vw, 20px);
  font-weight: 400;
  color: var(--c-accent);
  letter-spacing: 0.02em;
  margin-bottom: 18px;
}
.pp-message .pm-title {
  font-size: clamp(28px, 3.2vw, 40px);
  font-weight: 800;
  line-height: 1.35;
  letter-spacing: -0.02em;
  color: #fff;
  margin-bottom: 28px;
}
.pp-message .pm-title em {
  font-style: normal;
  color: var(--c-accent);
}
.pp-message .pm-desc {
  font-size: 16px;
  line-height: 1.85;
  color: rgba(255, 255, 255, 0.78);
  letter-spacing: -0.01em;
  max-width: 540px;
}

/* MEDI SOLUTION features */
.pp-features {
  padding: 130px 0;
  background: linear-gradient(180deg, #f6f9fb 0%, #fff 100%);
}
.pp-ft-head {
  text-align: center;
  margin-bottom: 70px;
}
.pp-ft-eyebrow {
  display: inline-block;
  font-family: var(--font-en);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.3em;
  color: var(--c-accent);
  text-transform: uppercase;
  margin-bottom: 20px;
  padding: 6px 16px;
  border: 1px solid rgba(79, 152, 142, 0.3);
  border-radius: 999px;
}
.pp-ft-title {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px 28px;
  font-family: var(--font-display);
  font-size: clamp(20px, 1.8vw, 28px);
  font-weight: 400;
  font-style: italic;
  color: var(--c-muted);
  letter-spacing: -0.01em;
  line-height: 1.4;
}
.pp-ft-title .en + .en::before {
  content: "·";
  margin-right: 20px;
  color: var(--c-accent);
  font-style: normal;
}
.pp-ft-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  max-width: 1280px;
  margin: 0 auto;
}
.pp-ft-item {
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: var(--radius-lg);
  padding: 44px 32px 36px;
  text-align: left;
  transition:
    transform 0.4s ease,
    box-shadow 0.4s ease,
    border-color 0.4s ease;
}
.pp-ft-item:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-3);
  border-color: transparent;
}
.pp-ft-item .ft-ico {
  width: 60px;
  height: 60px;
  border-radius: 16px;
  background: var(--c-primary);
  color: var(--c-accent);
  display: grid;
  place-items: center;
  font-size: 24px;
  margin-bottom: 28px;
  transition:
    background 0.35s ease,
    color 0.35s ease;
}
.pp-ft-item:hover .ft-ico {
  background: var(--c-accent);
  color: #fff;
}
.pp-ft-item .ft-en {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 700;
  font-style: italic;
  color: var(--c-primary);
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin-bottom: 18px;
}
.pp-ft-item .ft-desc {
  font-size: 15px;
  line-height: 1.7;
  color: var(--c-text-2);
  letter-spacing: -0.01em;
}

/* 2 Promo points */
.pp-points {
  padding: 130px 0 160px;
  background: #fff;
  position: relative;
}
.pp-pt-head {
  text-align: center;
  margin-bottom: 72px;
}
.pp-pt-eyebrow {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 14px;
  font-style: italic;
  color: var(--c-accent);
  letter-spacing: 0.12em;
  margin-bottom: 18px;
}
.pp-pt-title {
  font-size: clamp(30px, 3.4vw, 42px);
  font-weight: 800;
  letter-spacing: -0.025em;
  color: var(--c-primary);
  line-height: 1.3;
}
.pp-pt-title em {
  font-style: normal;
  color: var(--c-accent);
  position: relative;
}
.pp-pt-title em::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0.12em;
  height: 0.28em;
  background: rgba(79, 152, 142, 0.18);
  z-index: -1;
}
.pp-pt-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  max-width: 1080px;
  margin: 0 auto;
}
.pp-pt-item {
  position: relative;
  background: linear-gradient(160deg, #0b2e4f 0%, #153f68 100%);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 60px 48px 54px;
  overflow: hidden;
  transition:
    transform 0.4s ease,
    box-shadow 0.4s ease;
}
.pp-pt-item:nth-child(2) {
  background: linear-gradient(160deg, #0b2e4f 0%, #1d5572 100%);
}
.pp-pt-item::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      circle at 85% 15%,
      rgba(79, 152, 142, 0.2),
      transparent 55%
    ),
    radial-gradient(
      circle at 15% 100%,
      rgba(201, 169, 110, 0.12),
      transparent 55%
    );
  pointer-events: none;
}
.pp-pt-item:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-3);
}
.pp-pt-item > * {
  position: relative;
}
.pp-pt-item .pt-num {
  font-family: var(--font-en);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.3em;
  color: var(--c-accent);
  text-transform: uppercase;
  display: block;
  margin-bottom: 24px;
}
.pp-pt-item .pt-ico {
  position: absolute;
  top: 44px;
  right: 44px;
  font-size: 48px;
  color: rgba(79, 152, 142, 0.5);
}
.pp-pt-item .pt-title {
  font-size: clamp(28px, 2.8vw, 36px);
  font-weight: 800;
  letter-spacing: -0.025em;
  color: #fff;
  margin-bottom: 20px;
  line-height: 1.2;
}
.pp-pt-item .pt-desc {
  font-size: 16px;
  line-height: 1.85;
  color: rgba(255, 255, 255, 0.82);
  letter-spacing: -0.01em;
  max-width: 440px;
}

/* Responsive */
@media (max-width: 1100px) {
  .pp-step-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .pp-ft-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .pp-banner-inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }
}
@media (max-width: 768px) {
  .pp-intro {
    padding: 90px 0 60px;
  }
  .pp-kicker {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 32px;
  }
  .pp-kicker .k-bar {
    flex: 0 0 auto;
    width: 48px;
    margin-bottom: 0;
  }
  .pp-steps {
    padding: 20px 0 90px;
  }
  .pp-step {
    padding: 30px 26px 28px;
  }
  .pp-step-title {
    font-size: 20px;
  }
  .pp-banner {
    padding: 80px 0;
  }
  .pp-features {
    padding: 90px 0;
  }
  .pp-ft-head {
    margin-bottom: 48px;
  }
  .pp-ft-item {
    padding: 36px 28px 30px;
  }
  .pp-ft-item .ft-en {
    font-size: 21px;
  }
  .pp-points {
    padding: 90px 0 110px;
  }
  .pp-pt-head {
    margin-bottom: 48px;
  }
  .pp-pt-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .pp-pt-item {
    padding: 44px 32px 40px;
  }
  .pp-pt-item .pt-ico {
    top: 32px;
    right: 28px;
    font-size: 38px;
  }
}
@media (max-width: 560px) {
  .pp-step-grid {
    grid-template-columns: 1fr;
  }
  .pp-ft-grid {
    grid-template-columns: 1fr;
  }
}

/* Vision */
.vision-mission {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  margin-bottom: 80px;
}
.vm-card {
  padding: 48px 40px;
  background: var(--c-bg);
  border-radius: var(--radius-lg);
  position: relative;
  overflow: hidden;
}
.vm-card .tag {
  font-family: var(--font-en);
  font-size: 12px;
  letter-spacing: 0.3em;
  font-weight: 700;
  color: var(--c-accent);
  text-transform: uppercase;
}
.vm-card h3 {
  font-size: 30px;
  color: var(--c-primary);
  margin: 14px 0 18px;
  line-height: 1.3;
}
.vm-card p {
  color: var(--c-text-2);
  line-height: 1.8;
}
.vm-card .bg-num {
  position: absolute;
  right: -10px;
  bottom: -40px;
  font-family: var(--font-display);
  font-size: 200px;
  color: rgba(11, 46, 79, 0.05);
  line-height: 1;
  font-weight: 700;
  font-style: italic;
}

.vision-values h3 {
  text-align: center;
  font-size: 28px;
  color: var(--c-primary);
  margin-bottom: 48px;
}
.vv-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.vv-card {
  background: #fff;
  padding: 36px 28px;
  border: 1px solid var(--c-line);
  border-radius: var(--radius-lg);
  transition: all 0.3s var(--ease);
  text-align: center;
}
.vv-card:hover {
  border-color: var(--c-accent);
  transform: translateY(-6px);
  box-shadow: var(--shadow-2);
}
.vv-ico {
  width: 64px;
  height: 64px;
  margin: 0 auto 22px;
  border-radius: 18px;
  background: linear-gradient(135deg, var(--c-accent), var(--c-primary));
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 24px;
}
.vv-card h4 {
  font-size: 18px;
  color: var(--c-primary);
  margin-bottom: 10px;
}
.vv-card p {
  font-size: 14px;
  color: var(--c-muted);
  line-height: 1.65;
}

@media (max-width: 900px) {
  .vision-mission {
    grid-template-columns: 1fr;
  }
  .vv-grid {
    grid-template-columns: 1fr;
  }
}

/* ---- Vision :: Page wrapper & background orbs --- */
.vision-page {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.vision-page .page-inner {
  position: relative;
  z-index: 1;
}
.vp-orbs {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}
.vp-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(160px);
  opacity: 0.7;
  mix-blend-mode: multiply;
  animation: orbFloat 22s ease-in-out infinite;
  will-change: transform;
}
.vp-orb--1 {
  width: 900px;
  height: 900px;
  top: -280px;
  left: -260px;
  background: radial-gradient(
    circle,
    rgba(79, 152, 142, 0.25) 0%,
    rgba(79, 152, 142, 0) 72%
  );
  animation-delay: 0s;
}
.vp-orb--2 {
  width: 1100px;
  height: 1100px;
  top: 32%;
  right: -360px;
  background: radial-gradient(
    circle,
    rgba(201, 169, 110, 0.3) 0%,
    rgba(201, 169, 110, 0) 72%
  );
  animation-delay: -8s;
  animation-duration: 26s;
}
.vp-orb--3 {
  width: 820px;
  height: 820px;
  bottom: -260px;
  left: 30%;
  background: radial-gradient(
    circle,
    rgba(11, 46, 79, 0.35) 0%,
    rgba(11, 46, 79, 0) 72%
  );
  animation-delay: -14s;
  animation-duration: 30s;
}
@keyframes orbFloat {
  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }
  33% {
    transform: translate(70px, -50px) scale(1.12);
  }
  66% {
    transform: translate(-60px, 70px) scale(0.92);
  }
}
@media (prefers-reduced-motion: reduce) {
  .vp-orb {
    animation: none;
  }
}
@media (max-width: 768px) {
  .vp-orb {
    filter: blur(110px);
    opacity: 0.55;
  }
  .vp-orb--1 {
    width: 560px;
    height: 560px;
    top: -180px;
    left: -160px;
  }
  .vp-orb--2 {
    width: 620px;
    height: 620px;
    right: -220px;
  }
  .vp-orb--3 {
    width: 520px;
    height: 520px;
    bottom: -180px;
  }
}

/* ---- Vision :: Intro ---------------------------- */
.vision-intro {
  text-align: center;
  padding: 0 0 80px;
}
.vi-kicker {
  font-size: 16px;
  color: var(--c-muted);
  letter-spacing: 0.02em;
  margin-bottom: 18px;
}
.vi-title {
  font-family: var(--font-display);
  font-size: clamp(40px, 6vw, 72px);
  font-weight: 700;
  line-height: 1.05;
  color: var(--c-primary);
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}
.vi-title em {
  font-style: italic;
  color: var(--c-accent);
}
.vi-title span {
  display: inline-block;
  position: relative;
}
.vi-title span::after {
  content: ".";
  color: var(--c-gold);
}
.vi-desc {
  font-family: var(--font-en);
  font-size: 15px;
  letter-spacing: 0.08em;
  color: var(--c-muted);
  margin-bottom: 32px;
  font-weight: 500;
}
.vi-tags {
  display: inline-flex;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: center;
}
.vi-tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 22px;
  border-radius: var(--radius-pill);
  background: #fff;
  border: 1px solid var(--c-line);
  box-shadow: var(--shadow-1);
  font-family: var(--font-en);
  font-size: 14px;
  color: var(--c-primary);
  font-weight: 600;
  letter-spacing: 0.02em;
}
.vi-tag i {
  color: var(--c-accent);
}

/* ---- Vision :: Promise Block -------------------- */
.promise-block {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 72px;
  align-items: center;
  margin-bottom: 120px;
}
.promise-block.reverse {
  grid-template-columns: 1.1fr 1fr;
}
.promise-block.reverse .promise-img {
  order: 2;
}
.promise-block.reverse .promise-text {
  order: 1;
}

.promise-img {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4 / 5;
  box-shadow: var(--shadow-2);
}
.promise-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1s var(--ease);
}
.promise-img:hover img {
  transform: scale(1.05);
}
.promise-img::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    transparent 55%,
    rgba(11, 46, 79, 0.4) 100%
  );
  pointer-events: none;
}
.promise-num {
  position: absolute;
  left: 28px;
  bottom: 24px;
  font-family: var(--font-display);
  font-size: 120px;
  font-weight: 700;
  font-style: italic;
  color: #fff;
  line-height: 1;
  letter-spacing: -0.04em;
  text-shadow: 0 6px 24px rgba(0, 0, 0, 0.25);
  z-index: 1;
}

.promise-text .promise-en {
  font-family: var(--font-display);
  font-size: 16px;
  font-style: italic;
  font-weight: 600;
  color: var(--c-accent);
  letter-spacing: 0.02em;
  display: inline-block;
  margin-bottom: 8px;
}
.promise-text .promise-ko {
  font-size: clamp(32px, 4vw, 46px);
  font-weight: 700;
  color: var(--c-primary);
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 18px;
}
.promise-text .promise-lead {
  font-size: 19px;
  font-weight: 600;
  color: var(--c-text);
  padding: 16px 22px;
  background: var(--c-bg);
  border-left: 4px solid var(--c-accent);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  margin-bottom: 24px;
}
.promise-text p {
  color: var(--c-text-2);
  font-size: 16px;
  line-height: 1.8;
  margin-bottom: 14px;
}
.promise-text p strong {
  color: var(--c-primary);
}

/* Promise 01 check list */
.promise-list {
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.promise-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 18px;
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: var(--radius-md);
  font-size: 15px;
  color: var(--c-text-2);
  transition: all 0.25s var(--ease);
}
.promise-list li:hover {
  border-color: var(--c-accent);
  transform: translateX(4px);
}
.promise-list li i {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--c-accent);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 10px;
  flex-shrink: 0;
  margin-top: 2px;
}

/* Promise 02 A-to-Z grid */
.atoz-grid {
  margin-top: 28px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.atoz-grid span {
  padding: 16px 14px;
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: var(--radius-md);
  text-align: center;
  font-size: 14px;
  font-weight: 600;
  color: var(--c-primary);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  transition: all 0.25s var(--ease);
}
.atoz-grid span i {
  color: var(--c-accent);
  font-size: 18px;
  transition: transform 0.3s var(--ease);
}
.atoz-grid span:hover {
  background: var(--c-primary);
  color: #fff;
  border-color: var(--c-primary);
  transform: translateY(-3px);
  box-shadow: var(--shadow-2);
}
.atoz-grid span:hover i {
  color: var(--c-accent);
  transform: scale(1.2);
}

@media (max-width: 900px) {
  .promise-block,
  .promise-block.reverse {
    grid-template-columns: 1fr;
    gap: 40px;
    margin-bottom: 80px;
  }
  .promise-block.reverse .promise-img {
    order: 0;
  }
  .promise-block.reverse .promise-text {
    order: 0;
  }
  .promise-img {
    aspect-ratio: 16 / 10;
    max-width: 560px;
    margin: 0 auto;
  }
  .promise-num {
    font-size: 80px;
  }
  .atoz-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 560px) {
  .vision-intro {
    padding: 0 0 56px;
    margin-bottom: 56px;
  }
  .vi-tags {
    flex-direction: column;
  }
}

/* Consulting services */
.svc-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-bottom: 80px;
}
.svc-item {
  padding: 40px 32px;
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: var(--radius-lg);
  transition: all 0.3s var(--ease);
  position: relative;
}
.svc-item:hover {
  border-color: var(--c-accent);
  transform: translateY(-4px);
  box-shadow: var(--shadow-2);
}
.svc-item .num {
  font-family: var(--font-display);
  font-size: 14px;
  color: var(--c-accent);
  font-style: italic;
  font-weight: 600;
  letter-spacing: 0.1em;
}
.svc-item h4 {
  font-size: 22px;
  color: var(--c-primary);
  margin: 10px 0 14px;
}
.svc-item p {
  color: var(--c-muted);
  font-size: 14px;
  line-height: 1.7;
}
.svc-item .ico {
  position: absolute;
  right: 28px;
  top: 36px;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--c-bg);
  color: var(--c-primary);
  display: grid;
  place-items: center;
  font-size: 16px;
  transition: all 0.3s;
}
.svc-item:hover .ico {
  background: var(--c-accent);
  color: #fff;
}

.cta-block {
  margin-top: 60px;
  padding: 64px 40px;
  background: linear-gradient(135deg, #0b2e4f, #153f68);
  border-radius: var(--radius-lg);
  color: #fff;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-block::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle at 70% 30%,
    rgba(79, 152, 142, 0.3),
    transparent 50%
  );
}
.cta-block h3 {
  font-size: 30px;
  margin-bottom: 14px;
  position: relative;
}
.cta-block p {
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 32px;
  position: relative;
}
.cta-block .btn {
  position: relative;
}
.cta-block .btn-primary {
  background: var(--c-accent);
}
.cta-block .btn-primary:hover {
  background: var(--c-accent-600);
}

@media (max-width: 768px) {
  .svc-list {
    grid-template-columns: 1fr;
  }
}

/* Process timeline */
.process-steps {
  position: relative;
  margin-bottom: 80px;
}
.process-steps::before {
  content: "";
  position: absolute;
  left: 40px;
  top: 40px;
  bottom: 40px;
  width: 2px;
  background: linear-gradient(
    to bottom,
    var(--c-accent),
    var(--c-primary),
    transparent
  );
}
.p-step {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 28px;
  margin-bottom: 40px;
  align-items: flex-start;
}
.p-step .step-num {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid var(--c-line);
  color: var(--c-primary);
  font-family: var(--font-display);
  font-size: 24px;
  font-style: italic;
  font-weight: 700;
  display: grid;
  place-items: center;
  position: relative;
  z-index: 1;
  transition: all 0.3s var(--ease);
}
.p-step:hover .step-num {
  background: var(--c-accent);
  color: #fff;
  border-color: var(--c-accent);
  transform: scale(1.08);
}
.p-step .step-body {
  padding: 16px 28px 28px;
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-1);
  border: 1px solid var(--c-line);
}
.p-step h4 {
  color: var(--c-primary);
  font-size: 22px;
  margin-bottom: 8px;
}
.p-step .tag {
  display: inline-block;
  padding: 4px 12px;
  font-size: 11px;
  border-radius: var(--radius-pill);
  background: var(--c-bg);
  color: var(--c-accent);
  font-weight: 600;
  letter-spacing: 0.1em;
  margin-bottom: 12px;
}
.p-step p {
  color: var(--c-text-2);
  font-size: 15px;
  line-height: 1.7;
}

@media (max-width: 768px) {
  .process-steps::before {
    left: 26px;
  }
  .p-step {
    grid-template-columns: 52px 1fr;
    gap: 18px;
  }
  .p-step .step-num {
    width: 52px;
    height: 52px;
    font-size: 16px;
  }
}

/* Inquiry form */
.inquiry-wrap {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 60px;
}
.inquiry-info {
  background: var(--c-primary);
  color: #fff;
  padding: 48px 40px;
  border-radius: var(--radius-lg);
  position: relative;
  overflow: hidden;
}
.inquiry-info::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle at 80% 90%,
    rgba(79, 152, 142, 0.3),
    transparent 55%
  );
}
.inquiry-info h3 {
  font-size: 26px;
  margin-bottom: 12px;
  position: relative;
}
.inquiry-info > p {
  color: rgba(255, 255, 255, 0.7);
  position: relative;
  margin-bottom: 40px;
  font-size: 14px;
}
.inquiry-info .ii-list {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.ii-list li {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.ii-list li i {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--c-accent);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.ii-list li small {
  display: block;
  color: rgba(255, 255, 255, 0.5);
  font-size: 12px;
  letter-spacing: 0.2em;
  margin-bottom: 4px;
  font-family: var(--font-en);
  font-weight: 500;
}
.ii-list li strong {
  font-size: 17px;
  font-weight: 600;
  line-height: 1.45;
  display: block;
}

.inquiry-form {
  padding: 48px 0;
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 24px;
}
.form-field {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.form-field.full {
  grid-column: 1 / -1;
}
.form-field label {
  font-size: 13px;
  font-weight: 600;
  color: var(--c-primary);
  letter-spacing: 0.02em;
}
.form-field label span {
  color: #e25;
}
.form-field input,
.form-field select,
.form-field textarea {
  padding: 14px 16px;
  border: 1px solid var(--c-line);
  border-radius: var(--radius-md);
  background: var(--c-bg);
  font-size: 15px;
  transition: all 0.2s;
  width: 100%;
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--c-accent);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(79, 152, 142, 0.12);
}
.form-field textarea {
  min-height: 160px;
  resize: vertical;
}
.form-agree {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 24px 0;
  font-size: 14px;
  color: var(--c-muted);
  line-height: 1.6;
}
.form-agree input[type="checkbox"] {
  margin-top: 3px;
  flex-shrink: 0;
}
.form-agree small {
  display: block;
  font-size: 12px;
  color: var(--c-muted);
  margin-top: 4px;
  letter-spacing: -0.005em;
}
.form-actions {
  display: flex;
  gap: 12px;
  justify-content: flex-end;
}
.form-actions .btn {
  min-width: 180px;
  justify-content: center;
}

@media (max-width: 900px) {
  .inquiry-wrap {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .form-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .form-actions {
    flex-direction: column;
  }
  .form-actions .btn {
    width: 100%;
  }
}

/* ==== Contact page ==== */
.ct-page {
  background: #fff;
}

/* Intro */
.ct-intro {
  position: relative;
  padding: 130px 0 90px;
  background:
    radial-gradient(
      ellipse at 0% 0%,
      rgba(79, 152, 142, 0.06),
      transparent 45%
    ),
    radial-gradient(
      ellipse at 100% 100%,
      rgba(11, 46, 79, 0.05),
      transparent 55%
    ),
    #fff;
  overflow: hidden;
}
.ct-intro::before {
  content: "CONTACT";
  position: absolute;
  top: -30px;
  right: -30px;
  font-family: var(--font-display);
  font-size: clamp(140px, 18vw, 260px);
  font-weight: 700;
  color: rgba(11, 46, 79, 0.035);
  letter-spacing: -0.03em;
  line-height: 1;
  pointer-events: none;
  user-select: none;
}
.ct-intro-inner {
  position: relative;
  max-width: 1080px;
  margin: 0 auto;
}
.ct-eyebrow {
  margin-bottom: 24px;
}
.ct-eyebrow .ct-eb-en {
  display: inline-block;
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(18px, 1.6vw, 24px);
  color: var(--c-accent);
  letter-spacing: 0.02em;
  padding-bottom: 4px;
  border-bottom: 2px solid var(--c-accent);
}
.ct-title {
  font-size: clamp(36px, 4.6vw, 58px);
  line-height: 1.25;
  font-weight: 800;
  letter-spacing: -0.025em;
  color: var(--c-primary);
}
.ct-title em {
  font-style: normal;
  color: var(--c-accent);
  position: relative;
  white-space: nowrap;
}
.ct-title em::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0.12em;
  height: 0.28em;
  background: rgba(79, 152, 142, 0.18);
  z-index: -1;
}

/* 3 Channel cards */
.ct-channels {
  padding: 20px 0 120px;
  background: #fff;
}
.ct-ch-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 1200px;
  margin: 0 auto;
}
.ct-ch {
  position: relative;
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: var(--radius-lg);
  padding: 48px 40px 40px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  overflow: hidden;
  transition:
    transform 0.4s ease,
    box-shadow 0.4s ease,
    border-color 0.4s ease;
}
.ct-ch::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--c-accent), var(--c-primary));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s ease;
}
.ct-ch:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-3);
  border-color: transparent;
}
.ct-ch:hover::before {
  transform: scaleX(1);
}

/* Middle accent card (TEL) */
.ct-ch--accent {
  background: linear-gradient(160deg, #0b2e4f 0%, #153f68 100%);
  color: #fff;
  border-color: transparent;
}
.ct-ch--accent::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      circle at 85% 15%,
      rgba(79, 152, 142, 0.25),
      transparent 55%
    ),
    radial-gradient(
      circle at 15% 100%,
      rgba(201, 169, 110, 0.12),
      transparent 55%
    );
  pointer-events: none;
}
.ct-ch--accent > * {
  position: relative;
  z-index: 1;
}

.ct-ch-label {
  font-family: var(--font-en);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.3em;
  color: var(--c-accent);
  text-transform: uppercase;
}
.ct-ch-ico {
  width: 60px;
  height: 60px;
  border-radius: 16px;
  background: rgba(79, 152, 142, 0.1);
  color: var(--c-accent);
  display: grid;
  place-items: center;
  font-size: 22px;
  margin-top: 4px;
  transition:
    background 0.35s ease,
    color 0.35s ease,
    transform 0.35s ease;
}
.ct-ch:hover .ct-ch-ico {
  background: var(--c-accent);
  color: #fff;
  transform: rotate(-6deg) scale(1.05);
}
.ct-ch--accent .ct-ch-ico {
  background: rgba(255, 255, 255, 0.1);
  color: var(--c-accent);
}
.ct-ch--accent:hover .ct-ch-ico {
  background: var(--c-accent);
  color: #fff;
}
.ct-ch-title {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--c-primary);
  line-height: 1.3;
  margin-top: 8px;
}
.ct-ch--accent .ct-ch-title {
  color: #fff;
}

.ct-ch-value {
  font-family: var(--font-display);
  font-size: clamp(22px, 2vw, 28px);
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--c-accent);
  line-height: 1.2;
  word-break: break-all;
}
.ct-ch-desc {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 15px;
  line-height: 1.6;
  color: var(--c-text-2);
  letter-spacing: 0.01em;
  margin-top: auto;
  padding-top: 8px;
}
.ct-ch--accent .ct-ch-desc {
  color: rgba(255, 255, 255, 0.75);
}
.ct-ch-cta {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 24px;
  padding: 16px 22px;
  background: var(--c-primary);
  color: #fff;
  border-radius: var(--radius-md);
  text-decoration: none;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.01em;
  transition:
    background 0.3s ease,
    transform 0.3s ease;
}
.ct-ch-cta i {
  transition: transform 0.3s ease;
}
.ct-ch-cta:hover {
  background: var(--c-accent);
}
.ct-ch-cta:hover i {
  transform: translateX(4px);
}
.ct-ch--accent .ct-ch-cta {
  background: var(--c-accent);
}
.ct-ch--accent .ct-ch-cta:hover {
  background: #fff;
  color: var(--c-primary);
}

/* Location */
.ct-location {
  padding: 130px 0 160px;
  background: linear-gradient(180deg, #f6f9fb 0%, #fff 100%);
}
.ct-loc-head {
  text-align: center;
  margin-bottom: 56px;
}
.ct-loc-eyebrow {
  display: inline-block;
  font-family: var(--font-en);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.3em;
  color: var(--c-accent);
  text-transform: uppercase;
  margin-bottom: 18px;
  padding: 6px 16px;
  border: 1px solid rgba(79, 152, 142, 0.3);
  border-radius: 999px;
}
.ct-loc-title {
  font-size: clamp(30px, 3.4vw, 42px);
  font-weight: 800;
  letter-spacing: -0.025em;
  color: var(--c-primary);
  line-height: 1.25;
}
.ct-loc-grid {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
  align-items: stretch;
}
.ct-loc-map {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  box-shadow: var(--shadow-2);
  border: 1px solid var(--c-line);
  background: #fff;
}
.ct-loc-map iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}
.ct-loc-info {
  display: flex;
  flex-direction: column;
  gap: 22px;
  padding: 40px;
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: var(--radius-lg);
}
.ct-loc-row {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  padding-bottom: 22px;
  border-bottom: 1px dashed var(--c-line);
}
.ct-loc-row i {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(79, 152, 142, 0.1);
  color: var(--c-accent);
  display: grid;
  place-items: center;
  font-size: 16px;
  flex-shrink: 0;
}
.ct-loc-row small {
  display: block;
  font-family: var(--font-en);
  font-size: 11px;
  letter-spacing: 0.25em;
  color: var(--c-muted);
  font-weight: 700;
  margin-bottom: 6px;
}
.ct-loc-row strong {
  font-size: 16px;
  font-weight: 600;
  color: var(--c-primary);
  line-height: 1.55;
  display: block;
  letter-spacing: -0.01em;
}
.ct-loc-access {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 10px;
}
.ct-loc-access li {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 18px 8px;
  background: var(--c-bg);
  border-radius: var(--radius-md);
  text-align: center;
}
.ct-loc-access li i {
  color: var(--c-accent);
  font-size: 20px;
}
.ct-loc-access .ac-label {
  font-size: 12px;
  color: var(--c-muted);
  letter-spacing: 0.05em;
}
.ct-loc-access .ac-value {
  font-size: 13px;
  font-weight: 700;
  color: var(--c-primary);
  letter-spacing: -0.01em;
  line-height: 1.3;
}

/* Responsive */
@media (max-width: 1024px) {
  .ct-ch-grid {
    grid-template-columns: 1fr;
    max-width: 560px;
  }
  .ct-loc-grid {
    grid-template-columns: 1fr;
  }
  .ct-loc-map {
    aspect-ratio: 16 / 10;
  }
}
@media (max-width: 768px) {
  .ct-intro {
    padding: 90px 0 60px;
  }
  .ct-channels {
    padding: 10px 0 80px;
  }
  .ct-ch {
    padding: 40px 32px 36px;
  }
  .ct-location {
    padding: 90px 0 110px;
  }
  .ct-loc-head {
    margin-bottom: 40px;
  }
  .ct-loc-info {
    padding: 32px 28px;
  }
  .ct-loc-access {
    grid-template-columns: 1fr 1fr 1fr;
    gap: 8px;
  }
}
@media (max-width: 480px) {
  .ct-loc-access {
    grid-template-columns: 1fr;
  }
}

/* ---- 14. Animations --------------------------------------- */
[data-aos="fade-up"] {
  opacity: 0;
  transform: translateY(24px);
  transition: all 0.8s var(--ease);
}
[data-aos="fade-up"].aos-animate {
  opacity: 1;
  transform: none;
}

/* ==== Main :: Brand Film ==================================== */
.brand-film {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding-block: 140px;
  color: #fff;
}
.brand-film .bf-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(
      1200px 600px at 15% 10%,
      rgba(52, 91, 133, 0.28),
      transparent 60%
    ),
    radial-gradient(
      1000px 500px at 90% 90%,
      rgba(79, 152, 142, 0.18),
      transparent 60%
    ),
    linear-gradient(180deg, #0b1220 0%, #0f172a 60%, #0b1220 100%);
}
.brand-film .bf-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(
    ellipse at center,
    #000 30%,
    transparent 75%
  );
  opacity: 0.6;
}

.brand-film .bf-head {
  max-width: 720px;
  margin: 0 auto 56px;
  text-align: center;
}
.brand-film .bf-lead {
  margin-top: 20px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 16px;
  line-height: 1.85;
}

.bf-stage {
  position: relative;
  margin: 0 auto;
  width: 100%;
  max-width: 1200px;
  aspect-ratio: 16 / 9;
  border-radius: 20px;
  overflow: hidden;
  background: #000;
  box-shadow:
    0 40px 80px -30px rgba(0, 0, 0, 0.6),
    0 0 0 1px rgba(255, 255, 255, 0.06) inset;
}
.bf-video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  background: #000;
}
.bf-playbtn {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 96px;
  height: 96px;
  border-radius: 50%;
  border: 0;
  background: var(--c-accent);
  color: #fff;
  font-size: 28px;
  cursor: pointer;
  display: grid;
  place-items: center;
  box-shadow:
    0 18px 40px -10px rgba(0, 0, 0, 0.5),
    0 0 0 0 rgba(79, 152, 142, 0.4);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease,
    background 0.3s ease;
  animation: bfPulse 2.4s ease-out infinite;
}
.bf-playbtn i {
  margin-left: 6px;
}
.bf-playbtn:hover {
  transform: scale(1.08);
  background: color-mix(in srgb, var(--c-accent) 85%, #fff);
}
.bf-playbtn.is-hidden {
  opacity: 0;
  pointer-events: none;
  transform: scale(0.8);
}
@keyframes bfPulse {
  0% {
    box-shadow:
      0 18px 40px -10px rgba(0, 0, 0, 0.5),
      0 0 0 0 rgba(79, 152, 142, 0.4);
  }
  70% {
    box-shadow:
      0 18px 40px -10px rgba(0, 0, 0, 0.5),
      0 0 0 24px rgba(79, 152, 142, 0);
  }
  100% {
    box-shadow:
      0 18px 40px -10px rgba(0, 0, 0, 0.5),
      0 0 0 0 rgba(79, 152, 142, 0);
  }
}
@media (max-width: 768px) {
  .brand-film {
    padding-block: 96px;
  }
  .brand-film .bf-head {
    margin-bottom: 40px;
  }
  .bf-stage {
    border-radius: 14px;
  }
  .bf-playbtn {
    width: 72px;
    height: 72px;
    font-size: 22px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .bf-playbtn {
    animation: none;
  }
}

/* ---- 15. Selection ---------------------------------------- */
::selection {
  background: var(--c-accent);
  color: #fff;
}

/* ============================================================
   16. SITE POPUP (관리자 등록 팝업)
   ============================================================ */
.site-popup-root {
  position: fixed;
  inset: 0;
  z-index: 9500;
  pointer-events: none;
}

/* 공통 팝업 컨테이너 */
.site-popup {
  position: fixed;
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.35);
  pointer-events: auto;
  animation: sp-in 0.28s ease;
}

@keyframes sp-in {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* 슬라이더 모드 - 중앙 모달 */
.site-popup-slider {
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: min(460px, calc(100vw - 32px));
  max-width: calc(100vw - 32px);
}
/* 배경 딤 */
.site-popup-root:has(.site-popup-slider)::before {
  content: "";
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.55);
  pointer-events: auto;
  z-index: -1;
}

/* 나열 모드 */
.site-popup-stack {
  width: min(360px, calc(100vw - 32px));
}

.site-popup .sp-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  background: #1a1a2e;
  color: #fff;
  font-size: 14px;
}
.site-popup .sp-counter {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.6);
}

.site-popup .sp-body {
  position: relative;
  background: #000;
}
.site-popup .sp-body img {
  display: block;
  width: 100%;
  height: auto;
}
.site-popup .sp-body a {
  display: block;
}

/* 슬라이드 */
.site-popup .sp-slides {
  position: relative;
  width: 100%;
}
.site-popup .sp-slide {
  display: none;
}
.site-popup .sp-slide.active {
  display: block;
}

/* 좌우 네비 */
.site-popup .sp-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: none;
  background: rgba(0, 0, 0, 0.5);
  color: #fff;
  cursor: pointer;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.18s;
}
.site-popup .sp-nav:hover {
  background: rgba(0, 0, 0, 0.8);
}
.site-popup .sp-prev {
  left: 10px;
}
.site-popup .sp-next {
  right: 10px;
}

/* 푸터 */
.site-popup .sp-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  background: #f5f4f9;
  font-size: 13px;
  color: #0f172a;
}
.site-popup .sp-foot label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  user-select: none;
}
.site-popup .sp-foot input[type="checkbox"] {
  accent-color: var(--c-primary, #7b6cb0);
}
.site-popup .sp-close {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  border: none;
  background: transparent;
  color: #475569;
  font-size: 13px;
  cursor: pointer;
  padding: 4px 8px;
  border-radius: 6px;
  transition: background 0.15s;
}
.site-popup .sp-close:hover {
  background: #e5e7eb;
}

/* ==== INQUIRY FORM :: 결과/알림 =========================== */
.inquiry-alert {
  padding: 12px 16px;
  background: #fef3c7;
  color: #92400e;
  border: 1px solid #fde68a;
  border-radius: 10px;
  font-size: 14px;
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.inquiry-result {
  background: #fff;
  border: 1px solid var(--c-line, #e9e7ee);
  border-radius: 14px;
  padding: 60px 28px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.05);
}
.inquiry-result .ir-icon {
  font-size: 56px;
  color: #22c55e;
  margin-bottom: 14px;
}
.inquiry-result h3 {
  font-size: 22px;
  color: #0f172a;
  margin-bottom: 10px;
}
.inquiry-result p {
  color: #475569;
  line-height: 1.7;
  margin-bottom: 24px;
}

@media (max-width: 640px) {
  .site-popup .sp-foot {
    flex-wrap: wrap;
    gap: 8px;
  }
}
