/* ===========================================
   LU치과 — Branch Site (Home)
   =========================================== */

/* Reset & Base */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Pretendard', 'Apple SD Gothic Neo', -apple-system, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: #2b2331;
  background: #fff;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { background: none; border: none; cursor: pointer; font: inherit; color: inherit; }

:root {
  /* Brand: yellow→orange (강서성모맑은내과의원) */
  --c-orange: #f59222;
  --c-orange-dark: #d97208;
  --c-orange-light: #ffb874;
  --c-orange-pale: #fff3e0;
  --c-yellow: #ffc94a;
  --c-yellow-pale: #fff8e6;
  --c-warm-pale: #fffaf2;
  /* Aliases kept for legacy class names — all mapped to orange */
  --c-purple: var(--c-orange);
  --c-purple-dark: var(--c-orange-dark);
  --c-purple-light: var(--c-orange-light);
  --c-purple-pale: var(--c-orange-pale);
  --c-pink-pale: var(--c-yellow-pale);
  --c-gray: #6b6258;
  --c-gray-light: #b5ada0;
  --c-bg: #ffffff;
  --c-bg-alt: var(--c-warm-pale);
  --c-text: #2a241d;
  --c-text-light: #6b6258;
  --serif: 'Pretendard', 'Apple SD Gothic Neo', sans-serif;
  --maxw: 1280px;
  --grad-brand: linear-gradient(135deg, #ffc94a 0%, #f59222 55%, #e26f08 100%);
  --grad-brand-soft: linear-gradient(135deg, #fff3e0 0%, #ffe6c2 100%);
}

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* ===========================================
   Header
   =========================================== */
.header {
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  height: 80px;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 100;
  transition: background 0.3s ease, box-shadow 0.3s ease;
}
.header.scrolled {
  background: #fff;
  box-shadow: 0 2px 12px rgba(0,0,0,0.05);
}
.header-inner {
  max-width: var(--maxw);
  height: 100%;
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo { display: flex; align-items: center; height: 40px; }
.logo img { height: 100%; width: auto; }

.gnb-list { display: flex; gap: 4px; align-items: stretch; }
.gnb-item { position: relative; }
.gnb-link {
  display: block;
  padding: 28px 22px;
  font-size: 16px;
  font-weight: 500;
  color: #2b2331;
  transition: color 0.2s;
  letter-spacing: -0.02em;
  position: relative;
}
.gnb-link::after {
  content: "";
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: 20px;
  height: 2px;
  background: var(--c-purple);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.gnb-item:hover > .gnb-link::after { transform: scaleX(1); }
.gnb-item:hover > .gnb-link { color: var(--c-purple); }

/* Mega menu: when hovering anywhere on nav, all submenus open at once */
.sub-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(-6px);
  min-width: 140px;
  padding: 18px 0 30px;
  background: transparent;
  text-align: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease;
  z-index: 10;
}
.gnb:hover .sub-menu {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
  pointer-events: auto;
}
.sub-menu li a {
  display: block;
  padding: 9px 14px;
  font-size: 14px;
  white-space: nowrap;
  color: #5b5266;
  transition: color 0.2s;
  font-weight: 400;
}
.sub-menu li a:hover { color: var(--c-purple); font-weight: 600; }

/* Mega menu background panel — only when hovering nav */
.header::after {
  content: "";
  position: absolute;
  top: 80px;
  left: 0; right: 0;
  height: 220px;
  background: #fff;
  border-top: 1px solid #ffe9d0;
  box-shadow: 0 12px 30px rgba(217, 114, 8, 0.08);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  z-index: 1;
}
.header:hover::after { opacity: 1; }

.header-utils { display: flex; align-items: center; gap: 12px; }
.login-btn {
  padding: 8px 22px;
  background: var(--c-purple-pale);
  color: var(--c-purple);
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  transition: background 0.2s, color 0.2s;
}
.login-btn:hover { background: var(--c-purple); color: #fff; }
.mobile-menu-btn { display: none; flex-direction: column; gap: 5px; padding: 8px; }
.mobile-menu-btn span { width: 24px; height: 2px; background: #2b2331; transition: all 0.3s; }

/* ===========================================
   Hero
   =========================================== */
.hero {
  position: relative;
  height: 100vh;
  min-height: 720px;
  overflow: hidden;
  color: #fff;
}
.hero-slider { position: absolute; inset: 0; }
.hero-slide {
  position: absolute; inset: 0;
  opacity: 0;
  transition: opacity 0.9s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-slide.is-active { opacity: 1; z-index: 2; }
.hero-bg { position: absolute; inset: 0; }
.hero-bg--pink {
  background:
    radial-gradient(circle at 30% 40%, #ffe6c2 0%, #fff3e0 70%);
}
.hero-bg--minish {
  background:
    radial-gradient(ellipse at 50% 50%, #ffe6c2 0%, #fff8e6 70%);
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-banner-img {
  max-width: min(1400px, 95%);
  max-height: 88vh;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 16px;
  box-shadow: 0 40px 80px rgba(217, 114, 8, 0.14);
  animation: heroBannerFade 1s ease forwards;
}
.hero-minish-overlay {
  position: absolute;
  right: 8%;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  max-width: 36%;
  color: #fff;
  text-shadow: 0 2px 16px rgba(120, 60, 0, 0.35);
  pointer-events: none;
}
.overlay-eyebrow {
  font-family: var(--serif);
  font-size: 14px;
  font-weight: 500;
  color: #fff;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 24px;
  opacity: 0;
  transform: translateY(20px);
  animation: heroLineUp 1s 0.3s forwards;
}
.overlay-title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(40px, 5.5vw, 76px);
  line-height: 1.1;
  letter-spacing: 0.02em;
  color: #fff;
}
.overlay-title .line {
  display: block;
  opacity: 0;
  transform: translateY(30px);
  animation: heroLineUp 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
.overlay-title .line:nth-child(1) { animation-delay: 0.5s; }
.overlay-title .line:nth-child(2) { animation-delay: 0.8s; }
.overlay-sub {
  margin-top: 28px;
  font-size: 16px;
  color: rgba(255,255,255,0.92);
  line-height: 1.7;
  opacity: 0;
  animation: heroLineUp 1s 1.2s forwards;
}
@keyframes heroBannerFade {
  from { opacity: 0; transform: translateY(20px) scale(0.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
.hero-img {
  width: 100%; height: 100%;
  object-fit: cover;
  animation: heroZoom 12s ease-out forwards;
}
@keyframes heroZoom {
  0% { transform: scale(1.15); }
  100% { transform: scale(1); }
}
.hero-overlay {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(20,12,4,0.30) 0%, rgba(20,12,4,0.10) 30%, rgba(20,12,4,0.55) 100%),
    radial-gradient(ellipse at center, rgba(0,0,0,0.10), transparent 60%);
}
.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 0 20px;
}
.hero-content--minish {
  width: min(880px, 92%);
  display: flex;
  justify-content: center;
}
.minish-panel {
  width: 100%;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 40px 80px rgba(217, 114, 8, 0.20);
}
.minish-panel img { width: 100%; display: block; }
.hero-paging {
  position: absolute;
  right: 32px;
  bottom: 60px;
  z-index: 5;
  display: flex;
  align-items: center;
  gap: 18px;
  color: #fff;
}
.hero-page-num {
  font-family: var(--serif);
  font-size: 14px;
  letter-spacing: 0.15em;
  font-weight: 500;
}
.hero-page-num em { font-style: normal; font-size: 18px; font-weight: 700; }
.hero-page-num i { font-style: normal; opacity: 0.55; }
.hero-arrows { display: flex; gap: 8px; }
.hero-arrow {
  width: 42px; height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.55);
  color: #fff;
  font-size: 18px;
  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(4px);
  transition: background 0.25s, transform 0.25s;
}
.hero-arrow:hover { background: rgba(255,255,255,0.25); transform: translateY(-2px); }
.hero.theme-light .hero-paging { color: #2b2331; }
.hero.theme-light .hero-arrow {
  color: #2b2331;
  border-color: rgba(43,35,49,0.4);
  background: rgba(255,255,255,0.5);
}
.hero-title {
  font-family: var(--serif);
  font-weight: 800;
  font-size: clamp(40px, 6.4vw, 84px);
  line-height: 1.12;
  letter-spacing: -0.01em;
  text-shadow: 0 2px 30px rgba(0,0,0,0.35);
}
.hero-title .line {
  display: block;
  opacity: 0;
  transform: translateY(40px);
  animation: heroLineUp 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
.hero-title .line:nth-child(1) { animation-delay: 0.3s; }
.hero-title .line:nth-child(2) { animation-delay: 0.6s; }
@keyframes heroLineUp {
  to { opacity: 1; transform: translateY(0); }
}
.hero-sub {
  margin-top: 28px;
  font-size: clamp(15px, 1.4vw, 19px);
  font-weight: 300;
  letter-spacing: 0.02em;
  opacity: 0;
  animation: heroLineUp 1.2s cubic-bezier(0.16, 1, 0.3, 1) 1s forwards;
}
.hero-scroll {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 12px;
  letter-spacing: 0.3em;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  opacity: 0.85;
}
.scroll-line {
  display: block;
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.8), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%, 100% { transform: scaleY(0.6); transform-origin: top; opacity: 0.4; }
  50% { transform: scaleY(1); opacity: 1; }
}

/* ===========================================
   Common Section
   =========================================== */
.section { padding: 110px 0; position: relative; }
.section-head { margin-bottom: 55px; }
.section-head--center { text-align: center; }
.section-head--left { text-align: left; }

.eyebrow {
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.1em;
  color: var(--c-purple);
  margin-bottom: 18px;
}
.eyebrow.light { color: rgba(255,255,255,0.85); }
.section-title {
  font-size: clamp(28px, 3.6vw, 44px);
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: -0.02em;
  color: #2b2331;
}
.section-title.light { color: #fff; }
.section-title.large-serif {
  font-family: var(--serif);
  font-weight: 700;
  font-size: clamp(32px, 4vw, 50px);
  letter-spacing: -0.02em;
}
.section-title .brand { color: var(--c-purple); }
.section-title .brand-white { color: #fff; opacity: 0.9; font-weight: 700; }
.section-desc {
  margin-top: 20px;
  font-size: 15px;
  color: var(--c-text-light);
  line-height: 1.7;
}
.section-desc.light { color: rgba(255,255,255,0.78); }

.more-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 26px;
  padding: 11px 24px;
  background: var(--c-purple-pale);
  color: var(--c-purple);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;
  transition: background 0.25s, color 0.25s, transform 0.25s;
}
.more-btn:hover { background: var(--c-purple); color: #fff; transform: translateY(-2px); }
.more-btn--light { background: rgba(255,255,255,0.18); color: #fff; }
.more-btn--light:hover { background: #fff; color: var(--c-purple); }
.more-btn .arrow { font-size: 16px; line-height: 1; }

.black-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 16px 36px;
  background: #2a241d;
  color: #fff;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  transition: transform 0.25s, background 0.25s;
}
.black-btn:hover { transform: translateY(-3px); background: #2b2331; }

.center-btn { text-align: center; margin-top: 50px; }

/* ===========================================
   Intro
   =========================================== */
.intro { background: #fff; padding-top: 90px; }
.intro-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.intro-text .section-title { margin-bottom: 28px; }
.intro-desc {
  font-size: 15px;
  color: var(--c-text-light);
  line-height: 1.85;
  margin-bottom: 18px;
}
.intro-desc.small { font-size: 14px; }
.intro-visual {
  position: relative;
  min-height: 480px;
}
.intro-img-main {
  position: relative;
  z-index: 2;
  border-radius: 24px;
  overflow: hidden;
  aspect-ratio: 1 / 1;
  max-width: 460px;
  margin-left: auto;
}
.intro-img-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s;
}
.intro-visual:hover .intro-img-main img { transform: scale(1.04); }
.intro-img-sub {
  position: absolute;
  right: -20px;
  top: -30px;
  width: 180px;
  aspect-ratio: 3 / 4;
  border-radius: 16px;
  overflow: hidden;
  z-index: 3;
  box-shadow: 0 18px 40px rgba(217, 114, 8, 0.20);
  transform: rotate(4deg);
  transition: transform 0.6s;
}
.intro-visual:hover .intro-img-sub { transform: rotate(0deg) scale(1.04); }
.intro-img-sub img { width: 100%; height: 100%; object-fit: cover; }
.intro-blob {
  position: absolute;
  right: -60px;
  top: 30%;
  width: 360px;
  height: 360px;
  background:
    radial-gradient(circle at 30% 30%, rgba(245, 220, 230, 0.7), rgba(232, 198, 224, 0.45) 60%, transparent 80%);
  border-radius: 50%;
  z-index: 1;
  filter: blur(30px);
  pointer-events: none;
}

/* ===========================================
   Static Brand Phrase Heading
   =========================================== */
.phrase-heading {
  padding: 80px 24px 60px;
  text-align: center;
}
.phrase-heading h2 {
  font-family: var(--serif);
  font-weight: 700;
  font-size: clamp(30px, 4.4vw, 60px);
  line-height: 1.25;
  letter-spacing: -0.02em;
  color: #2b2331;
}
.phrase-heading .ph-line {
  display: block;
}
.phrase-heading .ph-line--2 {
  color: var(--c-purple);
  padding-left: 60px;
  font-weight: 700;
}

/* ===========================================
   Brand Phrase Marquee
   =========================================== */
.phrase-marquee {
  overflow: hidden;
  padding: 36px 0;
  background: linear-gradient(90deg, #fff3e0 0%, #ffe6c2 50%, #fff3e0 100%);
}
.phrase-marquee--bottom {
  background: linear-gradient(90deg, #ffe6c2 0%, #fff3e0 50%, #ffe6c2 100%);
}
.phrase-track {
  display: flex;
  align-items: center;
  gap: 50px;
  white-space: nowrap;
  width: max-content;
  animation: marquee 30s linear infinite;
  font-family: var(--serif);
  font-size: clamp(28px, 3.6vw, 52px);
  font-weight: 600;
  letter-spacing: -0.01em;
}
.phrase-track span { color: #2b2331; }
.phrase-track em {
  color: var(--c-purple);
  font-style: normal;
  font-weight: 700;
}
.phrase-ico { height: 60px; width: auto; opacity: 0.85; }
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ===========================================
   Department
   =========================================== */
.department { background: #fff; padding-top: 70px; }
.section-head .section-desc { margin-top: 16px; }

.department-slider {
  position: relative;
  margin-top: 50px;
}
.department-track {
  display: flex;
  overflow: hidden;
  scroll-behavior: smooth;
}
.department-track::-webkit-scrollbar { display: none; }

.depart-card {
  flex: 0 0 100%;
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 60px;
  align-items: center;
  padding: 0 80px;
}
.depart-img {
  border-radius: 18px;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  position: relative;
  background: #fff3e0;
}
.depart-img::before {
  content: "";
  position: absolute;
  inset: -20px -40px;
  background: radial-gradient(circle, rgba(245, 146, 34, 0.14), transparent 70%);
  z-index: -1;
  opacity: 0;
  transition: opacity 0.5s;
}
.depart-card:hover .depart-img::before { opacity: 1; }
.depart-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.8s;
}
.depart-card:hover .depart-img img { transform: scale(1.06); }
.depart-info { padding-right: 20px; }
.depart-title {
  font-size: 28px;
  font-weight: 700;
  color: var(--c-purple);
  margin-bottom: 20px;
}
.depart-desc {
  font-size: 15px;
  color: var(--c-text-light);
  line-height: 1.85;
  margin-bottom: 8px;
}

.dept-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  margin-top: 40px;
}
.dept-dots { display: flex; gap: 10px; }
.dept-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: #ffd6a8;
  cursor: pointer;
  transition: background 0.25s, transform 0.25s, width 0.25s;
  padding: 0;
}
.dept-dot.is-active {
  background: var(--c-purple);
  width: 30px;
  border-radius: 5px;
}
.slider-counter {
  font-family: var(--serif);
  font-size: 18px;
  letter-spacing: 0.1em;
  color: var(--c-text-light);
}
.slider-counter .cur {
  font-style: normal;
  font-size: 22px;
  font-weight: 500;
  color: var(--c-purple);
}
.slider-counter .total { font-style: normal; }

/* Slider Arrows */
.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px; height: 48px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 4px 16px rgba(0,0,0,0.08);
  color: #2b2331;
  font-size: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 5;
  transition: background 0.25s, color 0.25s, transform 0.25s;
}
.slider-arrow:hover { background: var(--c-purple); color: #fff; }
.slider-arrow--prev { left: -24px; }
.slider-arrow--next { right: -24px; }

.slider-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 30px;
}
.slider-dots .dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #ffd6a8;
  transition: background 0.25s, width 0.25s;
  cursor: pointer;
}
.slider-dots .dot.is-active {
  background: var(--c-purple);
  width: 28px;
  border-radius: 4px;
}

/* ===========================================
   Team
   =========================================== */
.team {
  background:
    linear-gradient(180deg, #fff 0%, var(--c-warm-pale) 100%);
}
.team-intro {
  max-width: 720px;
  margin: 40px auto 70px;
  text-align: center;
}
.team-intro p {
  font-size: 15px;
  color: var(--c-text-light);
  line-height: 1.85;
}

.team-card {
  display: grid;
  grid-template-columns: 460px 1fr;
  gap: 90px;
  align-items: center;
  max-width: 1100px;
  margin: 0 auto;
}
.team-photo {
  position: relative;
  border-radius: 50%;
  overflow: hidden;
  aspect-ratio: 1 / 1;
  background: var(--grad-brand-soft);
  padding: 0;
  box-shadow: 0 24px 60px rgba(245, 146, 34, 0.20);
}
.team-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 100%, rgba(245, 146, 34, 0.38), transparent 60%);
  pointer-events: none;
}
.team-photo img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.team-role {
  font-size: 13px;
  color: var(--c-purple);
  font-weight: 500;
  margin-bottom: 8px;
}
.team-name {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 24px;
}
.team-name span { font-weight: 400; font-size: 24px; }
.team-history li {
  position: relative;
  padding-left: 18px;
  font-size: 14px;
  color: var(--c-text-light);
  margin-bottom: 9px;
  line-height: 1.7;
}
.team-history li::before {
  content: "";
  position: absolute;
  left: 0; top: 9px;
  width: 6px; height: 6px;
  background: var(--c-purple);
  border-radius: 50%;
}

/* ===========================================
   Why
   =========================================== */
.why { background: #fff; overflow: hidden; }
.why-slider { position: relative; margin-top: 50px; }

.why-viewport {
  overflow: visible;
  margin-right: -32%;
}
.why-track {
  display: flex;
  gap: 32px;
  transition: transform 0.75s cubic-bezier(0.6, 0.05, 0.01, 0.9);
}
.why-slide {
  flex: 0 0 68%;
  opacity: 0.45;
  transform: scale(0.95);
  transform-origin: left center;
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.why-slide.is-active {
  opacity: 1;
  transform: scale(1);
}
.why-card-inner {
  display: grid;
  grid-template-columns: 0.85fr 1fr;
  gap: 50px;
  align-items: center;
}
.why-img {
  border-radius: 20px;
  overflow: hidden;
  aspect-ratio: 3 / 4;
  background: #fff3e0;
}
.why-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.8s;
}
.why-slide.is-active:hover .why-img img { transform: scale(1.04); }
.why-text { padding-right: 12px; }
.why-num {
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 500;
  color: var(--c-purple);
  margin-bottom: 18px;
  letter-spacing: 0.1em;
}
.why-text h3 {
  font-size: clamp(22px, 2.4vw, 30px);
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 24px;
  color: #2b2331;
}
.why-text p {
  font-size: 15px;
  color: var(--c-text-light);
  line-height: 1.85;
  max-width: 420px;
}

.why-controls {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-top: 50px;
  padding-left: 4px;
}
.why-arrow {
  width: 48px; height: 48px;
  border-radius: 50%;
  border: 1px solid #ffc987;
  background: #fff;
  color: var(--c-purple);
  font-size: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 3px 10px rgba(245, 146, 34, 0.10);
  transition: all 0.25s;
}
.why-arrow:hover {
  background: var(--c-purple);
  color: #fff;
  border-color: var(--c-purple);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(245, 146, 34, 0.28);
}

/* ===========================================
   Equipment
   =========================================== */
.equipment {
  background:
    linear-gradient(135deg, #ffc94a 0%, #f59222 55%, #d97208 100%);
  color: #fff;
  overflow: hidden;
  padding: 100px 0 90px;
}
.equipment-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 20%, rgba(255,255,255,0.15), transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(255,255,255,0.1), transparent 50%);
  pointer-events: none;
}
.equipment .container { position: relative; z-index: 2; }
.equipment-head { max-width: 580px; margin-bottom: 60px; }

.equipment-track {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  position: relative;
  z-index: 2;
  margin-top: 40px;
}
.equipment-row {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 20px;
  width: 100%;
}
.equip-card {
  background: #fff;
  border-radius: 20px;
  min-height: 300px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 26px 16px 20px;
  gap: 14px;
  transition: transform 0.5s ease, box-shadow 0.5s ease;
  box-shadow: 0 8px 28px rgba(217, 114, 8, 0.18);
  --floatY: 0px;
  transform: translateY(var(--floatY));
  animation: equipFloat 5s ease-in-out infinite;
}
.equip-card img { max-height: 140px; width: auto; }
.equip-name {
  font-size: 15px;
  font-weight: 700;
  color: var(--c-text);
  text-align: center;
  letter-spacing: -0.01em;
  margin-top: 4px;
}
.equip-desc {
  font-size: 12px;
  color: var(--c-text-light);
  text-align: center;
  margin-top: 2px;
  letter-spacing: -0.01em;
}
.equip-card:nth-child(1) { --floatY: 28px; animation-delay: 0s; }
.equip-card:nth-child(2) { --floatY: -4px; animation-delay: 0.5s; }
.equip-card:nth-child(3) { --floatY: -32px; animation-delay: 1s; }
.equip-card:nth-child(4) { --floatY: -32px; animation-delay: 1.5s; }
.equip-card:nth-child(5) { --floatY: -4px; animation-delay: 2s; }
.equip-card:nth-child(6) { --floatY: 28px; animation-delay: 2.5s; }

@keyframes equipFloat {
  0%, 100% { transform: translateY(var(--floatY, 0)); }
  50% { transform: translateY(calc(var(--floatY, 0) - 12px)); }
}

.equipment-track { align-items: flex-start; }
.equipment-row { align-items: start; }

.equip-card:hover {
  animation-play-state: paused;
  transform: translateY(calc(var(--floatY, 0) - 14px));
  box-shadow: 0 16px 40px rgba(217, 114, 8, 0.28);
}
.equip-card img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.equipment-watermark {
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--serif);
  font-weight: 800;
  font-size: clamp(50px, 7.5vw, 110px);
  color: rgba(255,255,255,0.08);
  letter-spacing: 0.02em;
  white-space: nowrap;
  pointer-events: none;
  z-index: 1;
}

/* ===========================================
   Location
   =========================================== */
.location { background: #fff; padding-top: 80px; position: relative; }
.location-layout {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 60px;
  align-items: center;
  margin-top: 50px;
}
.location-text { margin-bottom: 0; }
.location-gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 14px;
  height: 480px;
}
.loc-tile {
  border-radius: 16px;
  overflow: hidden;
  position: relative;
  cursor: pointer;
  display: block;
}
.loc-tile img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.8s;
}
.loc-tile:hover img { transform: scale(1.06); }
.loc-tile--tall { grid-row: 1 / span 2; }
.loc-tile--wide { grid-column: 1 / span 2; }

@media (max-width: 1024px) {
  .location-layout { grid-template-columns: 1fr; gap: 40px; }
  .location-gallery { height: 380px; }
}
.location-watermark {
  position: absolute;
  top: 30px;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--serif);
  font-weight: 800;
  font-size: clamp(42px, 6vw, 80px);
  color: rgba(245, 146, 34, 0.10);
  letter-spacing: -0.02em;
  white-space: nowrap;
  pointer-events: none;
}
.location-slider { position: relative; margin-top: 40px; }
.location-track {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}
.location-track::-webkit-scrollbar { display: none; }
.loc-card {
  flex: 0 0 calc((100% - 60px) / 4);
  scroll-snap-align: start;
  aspect-ratio: 4 / 5;
  border-radius: 16px;
  overflow: hidden;
  position: relative;
  cursor: pointer;
}
.loc-card img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.8s;
}
.loc-card::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(43, 35, 49, 0.5));
  opacity: 0;
  transition: opacity 0.4s;
}
.loc-card:hover img { transform: scale(1.08); }
.loc-card:hover::after { opacity: 1; }

/* ===========================================
   Before & After
   =========================================== */
.before-after {
  background: linear-gradient(180deg, #fff8e6 0%, #fff3e0 100%);
}
.ba-slider { position: relative; margin-top: 50px; }
.ba-track {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}
.ba-track::-webkit-scrollbar { display: none; }
.ba-card {
  flex: 0 0 calc((100% - 48px) / 3);
  scroll-snap-align: start;
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.04);
  transition: transform 0.3s, box-shadow 0.3s;
}
.ba-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 32px rgba(245, 146, 34, 0.18);
}
.ba-head {
  padding: 18px 20px 14px;
  border-bottom: 1px solid #ffe9d0;
}
.ba-head h3 {
  font-size: 15px;
  font-weight: 600;
  line-height: 1.5;
  color: #2b2331;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  min-height: 44px;
}
.ba-images {
  position: relative;
  display: flex;
  background: #2a241d;
  aspect-ratio: 5 / 3;
}
.ba-img {
  flex: 1;
  position: relative;
  overflow: hidden;
}
.ba-img img { width: 100%; height: 100%; object-fit: cover; opacity: 0.92; }
.ba-lock {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 8px;
  background: rgba(26, 20, 33, 0.58);
  backdrop-filter: blur(1px);
  color: rgba(255,255,255,0.9);
  font-size: 13px;
  font-weight: 500;
  transition: opacity 0.3s, background 0.3s;
}
.ba-card:hover .ba-lock { background: rgba(26, 20, 33, 0.42); }
.ba-lock svg { color: rgba(255,255,255,0.85); }
.ba-card:hover .ba-lock { opacity: 0.95; }
.ba-tags {
  padding: 14px 20px 18px;
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.ba-tags .tag {
  padding: 4px 10px;
  background: var(--c-purple-pale);
  color: var(--c-purple);
  font-size: 11px;
  font-weight: 500;
  border-radius: 999px;
}

/* ===========================================
   Media
   =========================================== */
.media { background: #fff; }
.media-tabs {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 30px;
}
.media-tab {
  padding: 12px 32px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  color: var(--c-text-light);
  background: var(--c-purple-pale);
  transition: background 0.25s, color 0.25s;
}
.media-tab.is-active {
  background: var(--c-purple);
  color: #fff;
}

.media-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  margin-top: 55px;
}
.media-thumb { aspect-ratio: 3 / 4.5; }
.media-card {
  display: block;
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s;
  box-shadow: 0 4px 16px rgba(0,0,0,0.04);
}
.media-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(245, 146, 34, 0.14);
}
.media-thumb {
  position: relative;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: #fff3e0;
}
.media-thumb img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}
.media-card:hover .media-thumb img { transform: scale(1.08); }
.media-thumb .play-icon {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 56px; height: 56px;
  border-radius: 50%;
  background: rgba(0,0,0,0.6);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  padding-left: 4px;
  backdrop-filter: blur(4px);
}
.media-meta { padding: 16px 18px 18px; }
.media-meta h3 {
  font-size: 14px;
  font-weight: 600;
  line-height: 1.45;
  margin-bottom: 8px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.media-cat {
  font-size: 11px;
  color: var(--c-purple);
  font-weight: 500;
}
.media-card--insta .media-thumb { aspect-ratio: 1 / 1; }

/* ===========================================
   Map Section
   =========================================== */
.map-section { background: #fff; padding-bottom: 100px; }
.map-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 60px;
  margin-top: 50px;
  align-items: center;
}
.map-wrap {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
  aspect-ratio: 4 / 3;
  background: #f0eef5;
}
.map-iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.map-info { padding: 10px 0; }
.addr-line { font-size: 17px; font-weight: 600; line-height: 1.5; }
.addr-sub { font-size: 14px; color: var(--c-text-light); margin-top: 6px; }
.phone-label, .hours-label {
  font-size: 12px;
  color: var(--c-purple);
  font-weight: 500;
  letter-spacing: 0.05em;
  margin-top: 28px;
  margin-bottom: 8px;
}
.phone-num {
  font-family: 'Pretendard', sans-serif;
  font-size: 36px;
  font-weight: 700;
  color: var(--c-text);
  letter-spacing: 0.02em;
}
.hours-list { margin-top: 6px; }
.hours-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 0;
  font-size: 14px;
  border-bottom: 1px dashed #eae3f0;
}
.hours-list li span:first-child {
  flex: 0 0 80px;
  color: var(--c-text-light);
  font-weight: 500;
}
.hours-list li em {
  flex: 1;
  font-style: normal;
  color: #2b2331;
}
.hours-list .badge {
  flex: 0 0 auto;
  padding: 3px 10px;
  background: var(--c-purple-pale);
  color: var(--c-purple);
  font-size: 11px;
  font-weight: 600;
  border-radius: 999px;
}
.map-btns { display: flex; gap: 10px; margin-top: 24px; }
.map-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  background: #fff3e0;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;
  color: var(--c-purple);
  transition: background 0.25s, color 0.25s;
}
.map-btn:hover { background: var(--c-purple); color: #fff; }
.map-btn:hover img { filter: brightness(0) invert(1); }
.map-btn img { width: 16px; height: 16px; }

/* ===========================================
   CTA
   =========================================== */
.cta {
  background: linear-gradient(180deg, #f59222 0%, #d97208 100%);
  padding: 100px 0;
  text-align: center;
  color: #fff;
}
.cta-eyebrow {
  font-size: 13px;
  color: rgba(255,255,255,0.85);
  margin-bottom: 16px;
  letter-spacing: 0.1em;
}
.cta-title {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 36px;
  color: #fff;
}
.cta-title .heart { color: #ffd6e3; }
.cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 18px 40px;
  background: #2a241d;
  color: #fff;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 500;
  transition: transform 0.3s, background 0.3s;
}
.cta-btn:hover { transform: translateY(-3px); background: #2b2331; }

/* ===========================================
   Footer
   =========================================== */
.footer {
  background: #2a241d;
  background-image:
    radial-gradient(circle at 0% 0%, rgba(245, 146, 34, 0.18), transparent 40%);
  color: rgba(255,255,255,0.6);
  padding: 60px 0 50px;
}
.footer-inner { padding-left: 24px; padding-right: 24px; }
.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 30px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  margin-bottom: 30px;
  flex-wrap: wrap;
  gap: 20px;
}
.footer-logo { height: 36px; }
.footer-logo img { height: 100%; width: auto; filter: brightness(0) invert(1); opacity: 0.9; }
.footer-links { display: flex; gap: 28px; }
.footer-links a {
  font-size: 13px;
  color: rgba(255,255,255,0.7);
  transition: color 0.25s;
  font-weight: 500;
}
.footer-links a:hover { color: #fff; }
.footer-sns { display: flex; gap: 10px; }
.footer-sns a {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  transition: background 0.25s, color 0.25s;
}
.footer-sns a:hover { background: var(--c-purple); color: #fff; }
.footer-bottom p {
  font-size: 13px;
  line-height: 1.8;
  color: rgba(255,255,255,0.5);
}

/* ===========================================
   Popup Widget (right-side persistent banner)
   =========================================== */
.popup-widget {
  position: fixed;
  right: 24px;
  bottom: 96px;
  width: 280px;
  background: linear-gradient(180deg, #fff 0%, #fdf4f8 100%);
  border-radius: 18px;
  box-shadow: 0 18px 50px rgba(217, 114, 8, 0.18);
  z-index: 45;
  padding: 20px 18px 12px;
  font-size: 12px;
  color: var(--c-text);
  transform: translateY(20px) scale(0.95);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.3s ease, opacity 0.3s ease;
}
.popup-widget.open {
  transform: translateY(0) scale(1);
  opacity: 1;
  pointer-events: auto;
}
.popup-widget.hidden { display: none; }
.popup-trigger {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 46;
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--c-purple);
  color: #fff;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 24px rgba(245, 146, 34, 0.45);
  border: 0;
  cursor: pointer;
  animation: popupPulse 2.5s ease-in-out infinite;
}
@keyframes popupPulse {
  0%, 100% { transform: scale(1); box-shadow: 0 10px 24px rgba(245, 146, 34, 0.45); }
  50% { transform: scale(1.08); box-shadow: 0 12px 30px rgba(245, 146, 34, 0.60); }
}
.popup-trigger.hidden { display: none; }
.popup-trigger svg { width: 24px; height: 24px; }
.popup-close {
  position: absolute;
  top: 12px; right: 12px;
  width: 26px; height: 26px;
  border-radius: 50%;
  background: rgba(0,0,0,0.04);
  font-size: 18px;
  color: var(--c-text-light);
}
.popup-eyebrow {
  font-size: 12px;
  color: var(--c-text);
  line-height: 1.6;
  margin-bottom: 14px;
  text-align: center;
}
.popup-thumbs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
  margin-bottom: 12px;
  border-radius: 10px;
  overflow: hidden;
}
.popup-thumbs img {
  width: 100%; aspect-ratio: 1/1;
  object-fit: cover;
  filter: brightness(0.65);
}
.popup-snslogin {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  color: var(--c-text-light);
  margin-bottom: 10px;
}
.popup-snslogin .naver-dot,
.popup-snslogin .kakao-dot {
  width: 16px; height: 16px;
  border-radius: 50%;
  display: inline-block;
}
.popup-snslogin .naver-dot { background: #03c75a; }
.popup-snslogin .kakao-dot { background: #fee500; }
.popup-doctor {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(245, 146, 34, 0.10);
  border-radius: 10px;
  padding: 8px 12px;
  margin-bottom: 10px;
}
.popup-doctor img {
  width: 44px; height: 44px;
  border-radius: 50%;
  object-fit: cover;
}
.popup-doctor p {
  font-size: 12px;
  font-weight: 600;
}
.popup-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 10px;
  border-top: 1px solid rgba(0,0,0,0.06);
}
.popup-footer label {
  font-size: 11px;
  color: var(--c-text-light);
  display: flex;
  align-items: center;
  gap: 4px;
}
.popup-dismiss {
  font-size: 11px;
  color: var(--c-text);
  font-weight: 500;
}

/* ===========================================
   Floating Quick Buttons
   =========================================== */
.floating {
  position: fixed;
  right: 96px;
  bottom: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 50;
}
.float-btn {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.25s, box-shadow 0.25s;
  box-shadow: 0 6px 16px rgba(0,0,0,0.15);
}
.float-btn--quick {
  background: #2a241d;
  color: #fff;
}
.float-btn--top {
  background: var(--c-purple);
  color: #fff;
  font-size: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s, transform 0.25s;
}
.float-btn--top.visible {
  opacity: 1;
  pointer-events: auto;
}
.float-btn:hover { transform: translateY(-4px); }

/* ===========================================
   Scroll Reveal — hidden state only when JS marks .js-reveal-ready
   =========================================== */
.js-reveal-ready .reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1), transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}
.js-reveal-ready .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger reveals inside grids */
.js-reveal-ready .reveal:nth-child(2) { transition-delay: 0.08s; }
.js-reveal-ready .reveal:nth-child(3) { transition-delay: 0.16s; }
.js-reveal-ready .reveal:nth-child(4) { transition-delay: 0.24s; }
.js-reveal-ready .reveal:nth-child(5) { transition-delay: 0.32s; }
.js-reveal-ready .reveal:nth-child(6) { transition-delay: 0.40s; }
.js-reveal-ready .reveal:nth-child(7) { transition-delay: 0.48s; }
.js-reveal-ready .reveal:nth-child(8) { transition-delay: 0.56s; }

/* Variants */
.reveal-left { transform: translateX(-40px); }
.js-reveal-ready .reveal-left.is-visible { transform: translateX(0); }
.reveal-right { transform: translateX(40px); }
.js-reveal-ready .reveal-right.is-visible { transform: translateX(0); }
.reveal-zoom { transform: scale(0.96); }
.js-reveal-ready .reveal-zoom.is-visible { transform: scale(1); }

/* ===========================================
   Responsive
   =========================================== */
@media (max-width: 1280px) {
  .gnb-link { padding: 28px 12px; font-size: 15px; }
}

@media (max-width: 1024px) {
  .header-inner { padding: 0 20px; }
  .gnb {
    position: fixed;
    top: 80px;
    left: 0;
    right: 0;
    bottom: 0;
    background: #fff;
    padding: 30px 24px;
    overflow-y: auto;
    transform: translateX(100%);
    transition: transform 0.35s ease;
    z-index: 90;
  }
  .gnb.is-open { transform: translateX(0); }
  .gnb-list { flex-direction: column; gap: 0; }
  .gnb-item { border-bottom: 1px solid #f0e9f7; }
  .gnb-link { padding: 18px 4px; font-size: 18px; }
  .sub-menu {
    position: static;
    transform: none;
    opacity: 1;
    pointer-events: auto;
    box-shadow: none;
    padding: 0 0 12px 16px;
    min-width: 0;
  }
  .mobile-menu-btn { display: flex; }
  .mobile-menu-btn.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .mobile-menu-btn.is-open span:nth-child(2) { opacity: 0; }
  .mobile-menu-btn.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  body.menu-open { overflow: hidden; }
  .section { padding: 80px 0; }
  .intro-wrap { grid-template-columns: 1fr; gap: 40px; }
  .team-card { grid-template-columns: 1fr; gap: 40px; text-align: center; }
  .team-photo { max-width: 320px; margin: 0 auto; }
  .team-history li { text-align: left; }
  .depart-card { grid-template-columns: 1fr; gap: 30px; padding: 0 30px; text-align: center; }
  .depart-img { max-width: 320px; margin: 0 auto; aspect-ratio: 1 / 1; }
  .why-stage { grid-template-columns: 1fr; gap: 30px; }
  .why-active-img { max-width: 100%; }
  .why-thumbs { grid-template-columns: repeat(5, 1fr); gap: 8px; }
  .phrase-heading { padding: 60px 24px 30px; }
  .phrase-heading .ph-line--2 { padding-left: 40px; }
  .loc-card { flex: 0 0 calc((100% - 40px) / 3); }
  .ba-card { flex: 0 0 calc((100% - 24px) / 2); }
  .media-grid { grid-template-columns: repeat(2, 1fr); }
  .map-grid { grid-template-columns: 1fr; gap: 40px; }
  .slider-arrow--prev { left: 0; }
  .slider-arrow--next { right: 0; }
}

@media (max-width: 768px) {
  .header { height: 64px; }
  .logo { height: 32px; }
  .login-btn { padding: 6px 16px; font-size: 13px; }
  .hero { min-height: 600px; }
  .section { padding: 60px 0; }
  .section-head { margin-bottom: 40px; }
  .depart-card { padding: 0 16px; gap: 20px; }
  .depart-info { padding-right: 0; }
  .depart-img { max-width: 240px; aspect-ratio: 1 / 1; }
  .why-thumbs { gap: 6px; }
  .loc-card { flex: 0 0 75%; }
  .ba-card { flex: 0 0 85%; }
  .ba-info h3 { font-size: 14px; }
  .media-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .equipment { padding: 80px 0; }
  .equip-card { flex: 0 0 170px; height: 220px; }
  .phrase-track { font-size: clamp(30px, 8vw, 50px); gap: 30px; }
  .cta { padding: 70px 0; }
  .footer-top { flex-direction: column; gap: 20px; }
  .footer-links { flex-wrap: wrap; justify-content: center; }
  .floating { right: 12px; bottom: 12px; }
  .float-btn { width: 50px; height: 50px; font-size: 12px; }
}

/* ===========================================
   GANGSEO MALEUN - additional components
   =========================================== */

/* Hero CTA */
.hero-eyebrow {
  font-family: var(--serif);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.28em;
  color: #fff;
  margin-bottom: 22px;
  opacity: 0.92;
}
.hero-title .hl {
  color: var(--c-yellow);
  background: linear-gradient(90deg, #ffc94a 0%, #ffb874 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 800;
}
.hero-sub .muted { opacity: 0.78; font-weight: 300; font-size: 0.92em; }
.hero-cta {
  display: flex;
  gap: 14px;
  margin-top: 36px;
  flex-wrap: wrap;
  justify-content: center;
}
.btn-pri, .btn-sec {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  transition: transform 0.3s, box-shadow 0.3s, background 0.3s;
}
.btn-pri {
  background: var(--grad-brand);
  color: #fff;
  box-shadow: 0 8px 24px rgba(245, 146, 34, 0.45);
}
.btn-pri:hover { transform: translateY(-3px); box-shadow: 0 14px 30px rgba(245, 146, 34, 0.55); }
.btn-sec {
  background: rgba(255,255,255,0.95);
  color: var(--c-orange-dark);
  border: 1px solid rgba(255,255,255,0.6);
}
.btn-sec:hover { background: #fff; transform: translateY(-3px); }

/* Reveal animation — only hide content once JS has confirmed observer is active.
   This prevents content from staying invisible if JS fails or screenshot tools
   bypass IntersectionObserver. */
.js-reveal-ready .reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1), transform 1s cubic-bezier(0.16, 1, 0.3, 1);
  transition-delay: var(--rd, 0s);
}
.js-reveal-ready .reveal.is-visible,
.js-reveal-ready .reveal.is-in {
  opacity: 1;
  transform: translateY(0);
}

/* Hours Section */
.hours-section {
  background: linear-gradient(180deg, var(--c-warm-pale) 0%, #fff 100%);
  padding: 110px 0;
}
.hours-block {
  max-width: 880px;
  margin: 0 auto 40px;
  padding: 36px 40px;
  background: #fff;
  border-radius: 24px;
  box-shadow: 0 18px 40px rgba(245, 146, 34, 0.10);
  border: 1px solid #ffe9d0;
  transition: transform 0.4s, box-shadow 0.4s;
}
.hours-block:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 50px rgba(245, 146, 34, 0.18);
}
.hours-block-head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 24px;
  padding-bottom: 18px;
  border-bottom: 2px dashed #ffd6a8;
}
.hours-icon {
  width: 44px; height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  background: var(--grad-brand-soft);
  border-radius: 12px;
}
.hours-block-head h3 {
  font-size: 22px;
  font-weight: 800;
  color: var(--c-orange-dark);
}
.hours-rows {
  display: grid;
  gap: 12px;
}
.hours-row {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 24px;
  align-items: center;
  padding: 8px 0;
}
.hours-badge {
  display: inline-block;
  padding: 9px 18px;
  background: var(--c-orange);
  color: #fff;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 700;
  text-align: center;
  letter-spacing: -0.01em;
}
.hours-badge.alt { background: #ffd6a8; color: var(--c-orange-dark); }
.hours-time {
  font-size: 17px;
  font-weight: 600;
  color: var(--c-text);
}
.hours-time em {
  display: block;
  font-style: normal;
  font-size: 12px;
  color: var(--c-orange-dark);
  font-weight: 500;
  margin-top: 4px;
}
.hours-phone {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-top: 30px;
  font-size: 36px;
  font-weight: 800;
  color: var(--c-text);
  letter-spacing: 0.02em;
  transition: color 0.3s;
}
.hours-phone:hover { color: var(--c-orange); }
.hours-phone-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px; height: 56px;
  background: #34c759;
  color: #fff;
  border-radius: 50%;
  font-size: 26px;
  box-shadow: 0 8px 18px rgba(52, 199, 89, 0.35);
}

/* Visit Section */
.visit-section { background: #fff; padding-bottom: 110px; }
.visit-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 50px;
  align-items: stretch;
  margin-top: 60px;
}
.visit-map {
  border-radius: 20px;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  box-shadow: 0 18px 40px rgba(245, 146, 34, 0.15);
  position: relative;
  display: block;
  transition: transform 0.4s, box-shadow 0.4s;
}
.visit-map:hover { transform: translateY(-4px); box-shadow: 0 26px 50px rgba(245, 146, 34, 0.25); }
.visit-map .map-iframe { width: 100%; height: 100%; border: 0; }
.map-grid-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, #f0f5fa 0%, #e8f0f8 100%);
  overflow: hidden;
}
.map-grid-bg::before {
  /* Subtle grid lines */
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(120,140,160,0.08) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(120,140,160,0.08) 1px, transparent 1px);
  background-size: 40px 40px;
}
.map-streets {
  position: absolute;
  inset: 0;
  background:
    /* Horizontal roads */
    linear-gradient(180deg, transparent calc(35% - 10px), #fff calc(35% - 10px), #fff calc(35% + 10px), transparent calc(35% + 10px)),
    linear-gradient(180deg, transparent calc(72% - 6px), #fdfdfd calc(72% - 6px), #fdfdfd calc(72% + 6px), transparent calc(72% + 6px)),
    /* Vertical roads */
    linear-gradient(90deg, transparent calc(28% - 8px), #fff calc(28% - 8px), #fff calc(28% + 8px), transparent calc(28% + 8px)),
    linear-gradient(90deg, transparent calc(68% - 5px), #fff calc(68% - 5px), #fff calc(68% + 5px), transparent calc(68% + 5px));
  opacity: 0.95;
}
.map-pin {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -100%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}
.map-pin-dot {
  width: 20px; height: 20px;
  background: var(--c-orange);
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
  box-shadow: 0 6px 14px rgba(217, 114, 8, 0.5);
  animation: mapPinBounce 1.6s ease-in-out infinite;
}
.map-pin-dot::before {
  content: "";
  position: absolute;
  inset: 5px;
  background: #fff;
  border-radius: 50%;
}
.map-pin-label {
  font-size: 13px;
  font-weight: 700;
  background: #fff;
  padding: 6px 14px;
  border-radius: 999px;
  color: var(--c-orange-dark);
  box-shadow: 0 4px 12px rgba(0,0,0,0.10);
  white-space: nowrap;
}
@keyframes mapPinBounce {
  0%, 100% { transform: rotate(-45deg) translateY(0); }
  50% { transform: rotate(-45deg) translateY(-6px); }
}
.map-overlay-cta {
  position: absolute;
  bottom: 16px;
  right: 16px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 16px;
  background: rgba(255,255,255,0.95);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  color: var(--c-orange-dark);
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  z-index: 4;
}
.visit-eyebrow {
  font-size: 12px;
  letter-spacing: 0.2em;
  color: var(--c-orange);
  font-weight: 700;
  margin-bottom: 12px;
}
.visit-subaddr {
  font-size: 14px;
  color: var(--c-text-light);
  font-weight: 500;
  margin-bottom: 18px;
}
.visit-phone-ico {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px; height: 32px;
  background: #34c759;
  border-radius: 50%;
  margin-right: 4px;
  font-size: 14px;
}
.visit-phone {
  display: inline-flex;
  align-items: center;
}
.visit-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 30px;
  background: linear-gradient(180deg, #fff8e6 0%, #fff3e0 100%);
  border-radius: 20px;
}
.visit-addr {
  font-size: 19px;
  font-weight: 700;
  line-height: 1.5;
  margin-bottom: 22px;
  color: var(--c-text);
}
.visit-phone {
  font-size: 28px;
  font-weight: 800;
  color: var(--c-orange-dark);
  margin-bottom: 28px;
  letter-spacing: 0.01em;
}
.visit-buttons { display: flex; flex-direction: column; gap: 12px; }
.visit-btn {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 22px;
  border-radius: 12px;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  transition: transform 0.3s, box-shadow 0.3s;
}
.visit-btn--naver { background: #03c75a; }
.visit-btn--naver:hover { background: #02a94a; transform: translateY(-2px); box-shadow: 0 8px 20px rgba(3, 199, 90, 0.35); }
.visit-btn--kakao { background: #1d61f4; }
.visit-btn--kakao:hover { background: #144bcc; transform: translateY(-2px); box-shadow: 0 8px 20px rgba(29, 97, 244, 0.35); }

@media (max-width: 1024px) {
  .visit-grid { grid-template-columns: 1fr; }
  .hours-row { grid-template-columns: 160px 1fr; gap: 16px; }
  .hours-badge { font-size: 12px; padding: 8px 12px; }
}
@media (max-width: 640px) {
  .hours-row { grid-template-columns: 1fr; gap: 6px; }
  .hours-phone { font-size: 26px; }
  .visit-addr { font-size: 16px; }
  .visit-phone { font-size: 22px; }
}

/* Team intro (multiline) */
.team-intro {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 28px;
  font-size: 16px;
  color: var(--c-text-light);
  line-height: 1.85;
}

/* ===========================================
   Enhanced interactions / cursor glow
   =========================================== */
.depart-card,
.symptom-card,
.point-card,
.value-card,
.equip-card {
  --mx: 0deg;
  --my: 0deg;
  transform-style: preserve-3d;
  will-change: transform;
}
.depart-card,
.symptom-card,
.point-card,
.value-card {
  position: relative;
  isolation: isolate;
}
.symptom-card,
.point-card,
.value-card {
  transform: rotateX(var(--my, 0)) rotateY(var(--mx, 0));
  transition: transform 0.18s ease-out, box-shadow 0.4s, border-color 0.4s;
}
/* Subtle glow that follows mouse */
.symptom-card::before,
.point-card::before,
.value-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(280px circle at var(--glow-x, 50%) var(--glow-y, 50%), rgba(255, 200, 90, 0.18), transparent 60%);
  opacity: 0;
  transition: opacity 0.35s;
  pointer-events: none;
  z-index: -1;
}
.symptom-card:hover::before,
.point-card:hover::before,
.value-card:hover::before { opacity: 1; }

/* Hero zoom — overwrite parallax-incompatible inline */
.hero-img { transition: transform 0.4s ease-out; }
.intro-img-main img { transition: transform 0.4s ease-out; }
.hero-banner img { transition: transform 0.4s ease-out; }

/* Section title underline accent on reveal */
.section-title { display: inline-block; position: relative; }
.section-title.brand-underline::after {
  content: "";
  position: absolute;
  left: 0; bottom: -8px;
  width: 0;
  height: 3px;
  background: var(--grad-brand);
  border-radius: 3px;
  transition: width 1s 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.is-visible .section-title.brand-underline::after { width: 60px; }

/* Phrase-marquee subtle stagger on hover */
.phrase-marquee:hover .phrase-track { animation-play-state: paused; }

/* Button magnetic-ish active */
.btn-pri:active, .btn-sec:active, .cta-btn:active { transform: translateY(0) scale(0.98); }

/* Smooth focus rings */
a:focus-visible, button:focus-visible {
  outline: 2px solid var(--c-orange);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ===========================================
   News list (homepage)
   =========================================== */
.news-section { padding: 100px 0 120px; background: #fff; }
.section-head--row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 40px;
  text-align: left;
}
.section-head--row .more-btn { margin-top: 0; }
.news-list {
  display: grid;
  border-top: 2px solid #ffd6a8;
  border-bottom: 2px solid #ffd6a8;
}
.news-item {
  border-bottom: 1px solid #fff0d6;
}
.news-item:last-child { border-bottom: none; }
.news-item a {
  display: grid;
  grid-template-columns: 100px 1fr auto;
  gap: 22px;
  align-items: center;
  padding: 22px 16px;
  font-size: 15px;
  color: var(--c-text);
  transition: background 0.25s, color 0.25s, padding 0.25s;
}
.news-item a:hover {
  background: var(--c-warm-pale);
  padding-left: 24px;
  color: var(--c-orange-dark);
}
.news-badge {
  display: inline-block;
  text-align: center;
  width: 70px;
  padding: 5px 0;
  background: var(--c-orange);
  color: #fff;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
}
.news-badge--event { background: #34c759; }
.news-badge--news { background: #4a90e2; }
.news-title {
  font-weight: 600;
  letter-spacing: -0.01em;
}
.news-date {
  font-size: 13px;
  color: var(--c-text-light);
  font-weight: 500;
  letter-spacing: 0.02em;
}
@media (max-width: 640px) {
  .section-head--row { flex-direction: column; align-items: flex-start; gap: 18px; }
  .news-item a { grid-template-columns: 70px 1fr; gap: 12px; padding: 18px 8px; }
  .news-date { grid-column: 1 / -1; text-align: right; }
  .news-badge { width: 56px; font-size: 11px; }
}
