:root {
  --bg: #fbfaf7;
  --bg-soft: #f2f5f6;
  --surface: rgba(255,255,255,0.84);
  --surface-strong: rgba(255,255,255,0.96);
  --surface-alt: #f4f7f8;
  --line: rgba(38, 67, 86, 0.12);
  --line-strong: rgba(38, 67, 86, 0.2);
  --text: #4f6675;
  --text-soft: #738896;
  --heading: #21394a;
  --primary: #63879a;
  --primary-2: #9db4aa;
  --accent: #d9c4a4;
  --shadow: 0 26px 70px rgba(32, 57, 74, 0.08);
  --radius-xl: 34px;
  --radius-lg: 26px;
  --radius-md: 18px;
  --radius-sm: 12px;
  --container: 1280px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Noto Sans KR', sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(157,180,170,0.18), transparent 22%),
    radial-gradient(circle at top right, rgba(99,135,154,0.14), transparent 22%),
    linear-gradient(180deg, #fcfbf8 0%, #f4f6f7 100%);
  overflow-x: hidden;
}
body.nav-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; }
.container { width: min(var(--container), calc(100% - 44px)); margin: 0 auto; }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.76);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(255,255,255,0.6);
  box-shadow: 0 10px 24px rgba(32,57,74,0.04);
}
.site-header.scrolled { background: rgba(255,255,255,0.92); }
.header-inner {
  min-height: 84px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.logo { display: inline-flex; align-items: center; gap: 14px; color: var(--heading); }
.logo-mark {
  width: 48px;
  height: 48px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  box-shadow: 0 12px 28px rgba(99,135,154,0.22);
}
.logo-copy { display: grid; gap: 3px; }
.logo-copy strong { font-size: 1rem; letter-spacing: -0.03em; }
.logo-copy small {
  color: var(--text-soft);
  font-size: 0.74rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.main-nav { display: flex; align-items: center; gap: 22px; }
.main-nav a {
  position: relative;
  color: #5d7686;
  font-size: 0.95rem;
  font-weight: 500;
}
.main-nav a::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -10px;
  height: 2px;
  transform: scaleX(0);
  transition: transform .25s ease;
  background: linear-gradient(90deg, var(--primary), var(--primary-2));
}
.main-nav a:hover,
.main-nav a.active { color: var(--heading); }
.main-nav a:hover::after,
.main-nav a.active::after { transform: scaleX(1); }
.header-actions { display: flex; align-items: center; gap: 12px; }
.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.8);
  border-radius: 14px;
  cursor: pointer;
}
.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--heading);
  margin: 4px auto;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 50px;
  padding: 0 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
  transition: .25s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary,
.btn-solid {
  color: #fff;
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  box-shadow: 0 16px 32px rgba(99,135,154,0.18);
}
.btn-outline,
.btn-ghost {
  color: var(--heading);
  background: rgba(255,255,255,0.76);
  border-color: rgba(33,57,74,0.10);
}
.btn-block { width: 100%; }
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
  color: var(--primary);
  font-weight: 700;
}
.text-link::after { content: '→'; }

.hero,
.page-hero {
  position: relative;
  overflow: hidden;
}
.hero {
  padding: 56px 0 72px;
}
.video-mosaic-hero {
  padding-top: 34px;
}
.hero-video-stage {
  display: grid;
  gap: 18px;
}
.hero-rotator {
  display: grid;
  gap: 18px;
}
.hero-rotator-stage {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  min-height: 380px;
  border-radius: 34px;
  overflow: hidden;
  background: rgba(255,255,255,0.72);
  box-shadow: var(--shadow);
}
.hero-rotator-stage::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(255,255,255,0.05), rgba(255,255,255,0.16));
}
.hero-rotator-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity .6s ease;
}
.hero-rotator-slide.active {
  opacity: 1;
  z-index: 1;
}
.hero-rotator-slide video,
.hero-rotator-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  background: #eef3f5;
  filter: brightness(1.02) saturate(0.96);
}
.adipose-video {
  width: 100%;
  min-height: 420px;
  object-fit: cover;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
}
.hero-thumb-strip {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}
.hero-thumb {
  position: relative;
  min-height: 92px;
  border: 0;
  padding: 0;
  border-radius: 22px;
  background-color: rgba(255,255,255,0.75);
  background-size: cover;
  background-position: center;
  box-shadow: var(--shadow);
  overflow: hidden;
  cursor: pointer;
  transition: transform .24s ease, box-shadow .24s ease;
}
.hero-thumb::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255,255,255,0.08), rgba(255,255,255,0.22));
}
.hero-thumb::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 22px;
  border: 2px solid transparent;
  transition: border-color .24s ease, box-shadow .24s ease;
}
.hero-thumb:hover,
.hero-thumb.active {
  transform: translateY(-3px);
  box-shadow: 0 24px 54px rgba(32,57,74,0.14);
}
.hero-thumb:hover::after,
.hero-thumb.active::after {
  border-color: rgba(99,135,154,0.5);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.55);
}
.hero-thumb:focus-visible {
  outline: 2px solid rgba(99,135,154,0.48);
  outline-offset: 3px;
}
.hero-rotator-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
}
.hero-rotator-dots button {
  width: 44px;
  height: 4px;
  border: 0;
  padding: 0;
  border-radius: 999px;
  background: rgba(33,57,74,0.14);
  cursor: pointer;
}
.hero-rotator-dots button.active {
  background: linear-gradient(90deg, var(--primary), var(--accent));
}
.premium-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 18% 28%, rgba(217,196,164,0.16), transparent 22%),
    radial-gradient(circle at 88% 18%, rgba(157,180,170,0.18), transparent 24%);
  pointer-events: none;
}
.hero-grid,
.about-grid,
.contact-grid,
.split,
.page-hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 34px;
  align-items: center;
}
.premium-grid {
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  align-items: center;
}
.hero-copy,
.page-hero-copy { position: relative; z-index: 2; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 18px;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--primary);
}
.hero h1,
.page-hero h1,
.section-heading h2,
.section-heading h3,
.panel h3,
.cta-copy h2,
.contact-copy h2,
.notice-box strong,
.info-hero h2 {
  margin: 0;
  color: var(--heading);
  font-family: 'Playfair Display', serif;
  letter-spacing: -0.04em;
}
.hero h1 { font-size: clamp(3.2rem, 5vw, 5.5rem); line-height: 0.98; }
.hero-display {
  margin-top: 8px;
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.8rem, 5vw, 5.2rem);
  line-height: 0.92;
  color: #7c9ab0;
  letter-spacing: -0.05em;
}
.hero p.lead,
.page-hero p,
.section-heading p,
.panel p,
.timeline-card p,
.info-card p,
.faq-item p,
.program-card p,
.notice-box p,
.contact-copy p,
.form-note,
.feature-card p,
.resource-card p,
.highlight-card p,
.info-hero p {
  margin: 16px 0 0;
  color: var(--text-soft);
  line-height: 1.9;
}
.hero-actions,
.action-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.hero-actions { margin-top: 30px; }
.hero-meta {
  margin-top: 34px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.hero-meta article,
.stat-card,
.info-card,
.panel,
.program-card,
.timeline-card,
.faq-item,
.notice-box,
.contact-card,
.form-panel,
.resource-card,
.feature-card,
.highlight-card,
.hero-card,
.cta-box,
.info-hero,
.soft-panel {
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid rgba(255,255,255,0.86);
  box-shadow: var(--shadow);
  backdrop-filter: blur(10px);
}
.hero-meta article,
.stat-card,
.info-card,
.timeline-card,
.program-card,
.faq-item,
.resource-card,
.feature-card,
.highlight-card { padding: 28px; }
.hero-meta strong { display: block; color: var(--heading); margin-bottom: 8px; }
.hero-meta span { color: var(--text-soft); line-height: 1.7; }
.panel,
.notice-box,
.form-panel,
.cta-box,
.info-hero,
.hero-card,
.soft-panel { padding: 30px; }

.premium-stage {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 0.42fr 1fr;
  grid-template-rows: 148px 148px 180px 180px;
  grid-template-areas:
    'a main'
    'b main'
    'c info'
    'c info';
  gap: 18px;
  min-height: 676px;
}
.premium-main,
.premium-accent,
.premium-info { position: relative; }
.premium-main {
  grid-area: main;
  border-radius: 34px;
  overflow: hidden;
  min-height: 470px;
  box-shadow: var(--shadow);
  background: rgba(255,255,255,0.86);
}
.hero-progress {
  position: absolute;
  left: 0;
  top: 0;
  height: 3px;
  width: 0;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  z-index: 4;
  transition: width 7s linear;
}
.hero-progress.running { width: 100%; }
.hero-bg.premium-main-visual {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 470px;
  overflow: hidden;
  border-radius: 34px;
}
.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.9s ease;
  background-size: cover;
  background-position: center;
  filter: brightness(1.12) saturate(0.9) contrast(0.94);
}
.hero-slide.active { opacity: 1; }
.video-slide video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: brightness(1.08) saturate(0.92);
}
.premium-main::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255,255,255,0.16), rgba(255,255,255,0.32));
  pointer-events: none;
}
.premium-main-badge {
  position: absolute;
  left: 22px;
  bottom: 20px;
  z-index: 3;
  padding: 10px 16px;
  border-radius: 999px;
  background: rgba(255,255,255,0.78);
  color: var(--heading);
  font-size: 0.82rem;
  font-weight: 700;
  box-shadow: 0 10px 24px rgba(32,57,74,0.08);
}
.premium-accent {
  overflow: hidden;
  border-radius: 28px;
  box-shadow: var(--shadow);
}
.premium-accent img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(1.08) saturate(0.92);
}
.accent-a { grid-area: a; min-height: 148px; }
.accent-b { grid-area: b; min-height: 148px; }
.accent-c { grid-area: c; min-height: 378px; }
.premium-info {
  grid-area: info;
  align-self: stretch;
  background: rgba(255,255,255,0.88);
}
.hero-card .slide-badge,
.page-badge,
.program-card .tag,
.resource-pill,
.num-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  min-height: 42px;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(99,135,154,0.10);
  color: var(--primary);
  font-weight: 800;
  letter-spacing: 0.08em;
  margin-bottom: 14px;
  text-transform: uppercase;
}
.hero-card h2 { margin: 0 0 10px; font-size: 1.9rem; color: var(--heading); }
.hero-card ul,
.panel .check-list,
.program-card ul { margin: 18px 0 0; padding: 0; list-style: none; }
.hero-card li,
.panel .check-list li,
.program-card li {
  position: relative;
  padding-left: 22px;
  margin: 10px 0;
  color: var(--text-soft);
  line-height: 1.85;
}
.hero-card li::before,
.panel .check-list li::before,
.program-card li::before {
  content: '•';
  position: absolute;
  left: 0;
  top: 0;
  color: var(--primary-2);
  font-weight: 800;
}
.slider-dots,
.page-dots { display: flex; gap: 10px; margin-top: 22px; }
.slider-dots button,
.page-dots button {
  width: 42px;
  height: 4px;
  border: 0;
  border-radius: 999px;
  background: rgba(33,57,74,0.14);
  cursor: pointer;
  padding: 0;
}
.slider-dots button.active,
.page-dots button.active { background: linear-gradient(90deg, var(--primary), var(--accent)); }

.page-hero {
  min-height: 520px;
  display: flex;
  align-items: center;
}
.page-slider {
  position: absolute;
  inset: 0;
}
.page-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity .9s ease;
  background-size: cover;
  background-position: center;
  filter: brightness(1.15) saturate(0.90) contrast(0.95);
}
.page-slide.active { opacity: 1; }
.page-slider::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(252,251,248,0.48), rgba(252,251,248,0.92)),
    linear-gradient(90deg, rgba(255,255,255,0.76), rgba(255,255,255,0.24) 44%, rgba(255,255,255,0.72));
}
.page-hero-shell { position: relative; z-index: 2; width: 100%; padding: 116px 0 80px; }
.page-hero-grid { align-items: end; }
.page-side-panel { max-width: 420px; justify-self: end; }
.breadcrumb { margin-bottom: 14px; color: #67808f; font-size: 0.95rem; }
.page-hero h1 { font-size: clamp(2.5rem, 5vw, 4.4rem); line-height: 1.08; }
.section { padding: 108px 0; position: relative; }
.section.alt { background: linear-gradient(180deg, rgba(244,247,248,0.92), rgba(250,248,244,0.94)); }
.intro-band { padding-top: 88px; }
.section-heading { max-width: 840px; margin: 0 auto 42px; text-align: center; }
.section-heading h2,
.section-heading h3,
.info-hero h2 { font-size: clamp(2rem, 4vw, 3.05rem); line-height: 1.18; }
.section-heading.left { text-align: left; margin-left: 0; }
.section-divider {
  width: 68px;
  height: 3px;
  margin: 16px auto 0;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
}

.visual-cover-wrap,
.about-photo,
.premium-photo,
.premium-cards article { position: relative; }
.visual-cover,
.about-photo img,
.premium-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
  filter: brightness(1.08) saturate(0.92);
}
.visual-cover { min-height: 420px; }
.visual-cover.mini { min-height: 200px; }
.about-photo img,
.premium-photo img { min-height: 560px; }
.visual-cover-wrap::before,
.about-photo::before,
.premium-photo::before {
  content: '';
  position: absolute;
  inset: -10px;
  border-radius: 40px;
  z-index: -1;
  background: linear-gradient(135deg, rgba(99,135,154,0.18), rgba(157,180,170,0.12), rgba(217,196,164,0.16));
}
.split-premium { align-items: start; }
.visual-stack { display: grid; gap: 18px; }
.mini-visual-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }

.stat-grid,
.grid-3,
.timeline,
.program-grid,
.faq-grid,
.resource-list,
.highlights-grid {
  display: grid;
  gap: 18px;
}
.stat-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.timeline { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.program-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.faq-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.compact-timeline .timeline-card { padding: 24px; }
.info-card.featured,
.program-card.featured,
.highlight-card.featured {
  background: linear-gradient(135deg, rgba(255,255,255,0.95), rgba(244,247,248,0.96));
  border-color: rgba(99,135,154,0.14);
}
.program-card h3,
.faq-item h3,
.info-card h3,
.timeline-card h3,
.resource-card h3,
.feature-card h3,
.highlight-card h3 {
  margin: 0;
  color: var(--heading);
  font-size: 1.22rem;
}

.contact-grid { align-items: start; }
.contact-cards { display: grid; gap: 14px; margin-top: 22px; }
.contact-card {
  padding: 20px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.contact-card i {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(99,135,154,0.10);
  color: var(--primary);
  flex-shrink: 0;
}
.contact-card strong { display: block; color: var(--heading); margin-bottom: 6px; }
.contact-card p { margin: 0; color: var(--text-soft); line-height: 1.8; }
.form-grid { display: grid; gap: 16px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-grid label { display: grid; gap: 10px; }
.form-grid label span { font-weight: 700; color: var(--heading); }
.form-grid input,
.form-grid select,
.form-grid textarea {
  width: 100%;
  border: 1px solid rgba(33,57,74,0.12);
  background: rgba(255,255,255,0.9);
  border-radius: 14px;
  padding: 15px 16px;
  outline: none;
  color: var(--heading);
}
.form-grid input:focus,
.form-grid select:focus,
.form-grid textarea:focus {
  border-color: rgba(99,135,154,0.38);
  box-shadow: 0 0 0 4px rgba(99,135,154,0.10);
}
.form-grid textarea { min-height: 140px; resize: vertical; }
.form-status { margin-top: 14px; font-size: .94rem; color: var(--text-soft); }
.form-status.success { color: #0c9a69; }
.form-status.error { color: #c74343; }
.cta-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  background: linear-gradient(135deg, rgba(255,255,255,0.96), rgba(244,247,248,0.96));
}
.site-footer {
  padding: 32px 0 40px;
  background: rgba(255,255,255,0.8);
  border-top: 1px solid rgba(33,57,74,0.08);
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  color: var(--text-soft);
  font-size: .94rem;
}
.footer-inner strong { color: var(--heading); }
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: none; }

@media (max-width: 1180px) {
  .premium-grid,
  .about-grid,
  .split,
  .contact-grid,
  .page-hero-grid { grid-template-columns: 1fr; }
  .page-side-panel { justify-self: stretch; max-width: none; }
  .hero-rotator-stage { min-height: 320px; }
  .adipose-video { min-height: 340px; }
  .hero-thumb-strip { grid-template-columns: repeat(5, minmax(88px, 1fr)); }
  .premium-stage {
    grid-template-columns: 0.48fr 1fr;
    min-height: auto;
  }
}

@media (max-width: 980px) {
  .hero-meta,
  .grid-3,
  .timeline,
  .program-grid,
  .faq-grid,
  .form-row { grid-template-columns: 1fr; }
  .hero-rotator-stage { min-height: 280px; }
  .adipose-video { min-height: 280px; }
  .hero-thumb-strip {
    grid-template-columns: repeat(5, 120px);
    overflow-x: auto;
    padding-bottom: 6px;
    scrollbar-width: thin;
  }
  .premium-stage {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto auto auto;
    grid-template-areas:
      'main main'
      'a b'
      'c c'
      'info info';
  }
  .premium-main,
  .hero-bg.premium-main-visual { min-height: 420px; }
  .accent-c { min-height: 220px; }
}

@media (max-width: 860px) {
  .menu-toggle { display: inline-flex; align-items: center; justify-content: center; }
  .main-nav {
    position: fixed;
    top: 82px;
    left: 20px;
    right: 20px;
    padding: 16px;
    border-radius: 24px;
    background: rgba(255,255,255,0.96);
    border: 1px solid rgba(33,57,74,0.08);
    box-shadow: var(--shadow);
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
  }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 12px 14px; border-radius: 12px; }
  .main-nav a::after { display: none; }
  .main-nav a:hover, .main-nav a.active { background: rgba(99,135,154,0.08); }
  .header-actions .btn-outline { display: none; }
  .hero { padding-top: 38px; }
  .mini-visual-grid { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .container { width: min(var(--container), calc(100% - 28px)); }
  .logo-copy small { display: none; }
  .header-inner { min-height: 74px; }
  .main-nav { top: 74px; left: 14px; right: 14px; }
  .hero h1 { font-size: 2.55rem; }
  .hero-display { font-size: 2.5rem; }
  .hero-rotator-stage { min-height: 220px; border-radius: 24px; }
  .adipose-video { min-height: 220px; }
  .hero-thumb { min-height: 76px; border-radius: 18px; }
  .page-hero h1,
  .section-heading h2,
  .section-heading h3,
  .info-hero h2 { font-size: 2.1rem; }
  .hero-actions .btn,
  .action-row .btn { width: 100%; }
  .section { padding: 80px 0; }
  .premium-stage {
    grid-template-columns: 1fr;
    grid-template-areas:
      'main'
      'a'
      'b'
      'c'
      'info';
  }
  .premium-main,
  .hero-bg.premium-main-visual { min-height: 360px; }
  .accent-a,
  .accent-b,
  .accent-c { min-height: 180px; }
  .hero-card,
  .panel,
  .form-panel,
  .cta-box,
  .info-hero,
  .soft-panel { padding: 22px; }
}
.hero-luxury {
  padding-top: 54px;
}
.hero-shell {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: 34px;
  align-items: start;
}
.hero-copy-wrap {
  position: sticky;
  top: 110px;
  z-index: 2;
}
.hero-copy-wrap h1 span,
.section-heading h2 span,
.panel h2 span,
.panel h3 span,
.contact-copy h2 span {
  color: #7f9caf;
}
.hero-copy-wrap .lead {
  max-width: 620px;
  margin-top: 22px;
  font-size: 1.05rem;
  line-height: 1.95;
  color: var(--text-soft);
}
.premium-stat-grid {
  margin-top: 32px;
}
.hero-stage-wrap {
  display: grid;
  gap: 18px;
}
.hero-floating-note {
  max-width: 360px;
  margin-left: auto;
  background: rgba(255,255,255,0.82);
}
.hero-floating-note h3 {
  margin: 0;
  font-size: 1.2rem;
}
.hero-floating-note p {
  margin-top: 10px;
}
.hero-rotator-stage {
  min-height: 620px;
  border-radius: 38px;
}
.hero-rotator-progress {
  position: absolute;
  left: 22px;
  right: 22px;
  top: 18px;
  height: 4px;
  z-index: 4;
  border-radius: 999px;
  background: rgba(255,255,255,0.22);
  overflow: hidden;
}
.hero-rotator-progress span {
  display: block;
  width: 100%;
  height: 100%;
  transform-origin: left center;
  transform: scaleX(0);
  background: linear-gradient(90deg, rgba(255,255,255,0.96), rgba(217,196,164,0.92));
}
.hero-stage-overlay {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: flex;
  align-items: flex-end;
  padding: 30px;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(19,35,45,0.04) 0%, rgba(19,35,45,0.12) 48%, rgba(19,35,45,0.44) 100%);
}
.hero-stage-copy {
  max-width: 620px;
  color: #fff;
}
.hero-stage-kicker {
  margin: 0 0 10px;
  font-size: 0.8rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.82);
}
.hero-stage-copy h2 {
  margin: 0;
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  line-height: 1.15;
  color: #fff;
  font-family: 'Playfair Display', serif;
  letter-spacing: -0.04em;
}
.hero-stage-copy p {
  margin: 14px 0 0;
  color: rgba(255,255,255,0.84);
  line-height: 1.8;
}
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}
.premium-story-panel,
.premium-value-panel {
  background: linear-gradient(135deg, rgba(255,255,255,0.92), rgba(244,247,248,0.98));
}

@media (max-width: 1180px) {
  .hero-shell {
    grid-template-columns: 1fr;
  }
  .hero-copy-wrap {
    position: static;
  }
  .hero-floating-note {
    margin-left: 0;
  }
  .hero-rotator-stage {
    min-height: 520px;
  }
  .process-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 980px) {
  .hero-stage-overlay {
    padding: 22px;
  }
  .hero-stage-copy h2 {
    font-size: 2rem;
  }
  .hero-rotator-stage {
    min-height: 440px;
  }
}

@media (max-width: 560px) {
  .hero-copy-wrap .lead {
    font-size: 0.98rem;
  }
  .hero-rotator-stage {
    min-height: 320px;
    border-radius: 24px;
  }
  .hero-stage-overlay {
    padding: 18px;
  }
  .hero-stage-copy h2 {
    font-size: 1.45rem;
  }
  .hero-stage-copy p {
    font-size: 0.92rem;
    line-height: 1.65;
  }
  .process-grid {
    grid-template-columns: 1fr;
  }
  .hero-floating-note {
    max-width: none;
  }
}

/* ===== SVF premium homepage refresh ===== */
.hero-svf {
  padding-top: 46px;
  padding-bottom: 96px;
}
.hero-shell {
  align-items: center;
  gap: 42px;
}
.hero-svf .hero-copy {
  max-width: 620px;
}
.hero-svf .hero-copy h1 {
  font-size: clamp(3rem, 5vw, 5.2rem);
  line-height: 0.98;
}
.hero-svf .hero-copy h1 span,
.section-heading h2 span,
.panel h3 span,
.contact-copy h2 span {
  color: #7f9fb5;
}
.hero-svf .lead {
  max-width: 58ch;
  margin-top: 24px;
  font-size: 1.05rem;
  line-height: 1.9;
  color: var(--text);
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}
.hero-meta-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 28px;
}
.glass-card {
  background: linear-gradient(180deg, rgba(255,255,255,0.86), rgba(255,255,255,0.68));
  border: 1px solid rgba(33,57,74,0.08);
  box-shadow: 0 20px 54px rgba(32,57,74,0.08);
  backdrop-filter: blur(14px);
}
.hero-meta-card {
  border-radius: 22px;
  padding: 22px 20px;
}
.hero-meta-card strong {
  display: block;
  margin-bottom: 10px;
  color: var(--heading);
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
}
.hero-meta-card p {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.75;
}
.premium-rotator {
  gap: 16px;
}
.premium-stage {
  min-height: 520px;
  border-radius: 38px;
  border: 1px solid rgba(255,255,255,0.62);
  box-shadow: 0 30px 80px rgba(24,48,63,0.14);
}
.premium-stage::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 2;
  background: linear-gradient(135deg, rgba(255,255,255,0.12), rgba(255,255,255,0));
}
.hero-rotator-slide::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(12,24,32,0.02), rgba(12,24,32,0.08));
  pointer-events: none;
}
.hero-thumb-strip {
  gap: 12px;
}
.hero-thumb {
  min-height: 88px;
  border: 1px solid rgba(255,255,255,0.44);
}
.marquee-band {
  padding-top: 0;
}
.marquee-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 28px;
  padding: 28px 34px;
  border-radius: 30px;
  background: linear-gradient(135deg, rgba(255,255,255,0.84), rgba(245,248,249,0.92));
  border: 1px solid rgba(33,57,74,0.08);
  box-shadow: var(--shadow);
}
.marquee-copy h2,
.center-heading h2 {
  margin: 0;
  color: var(--heading);
  font-family: 'Playfair Display', serif;
  letter-spacing: -0.04em;
}
.marquee-copy p:last-child {
  margin-top: 16px;
  line-height: 1.9;
}
.marquee-points {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  align-content: center;
}
.marquee-points span {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 68px;
  padding: 0 18px;
  border-radius: 18px;
  color: var(--heading);
  background: rgba(255,255,255,0.72);
  border: 1px solid rgba(33,57,74,0.08);
}
.center-heading {
  text-align: center;
  max-width: 860px;
  margin: 0 auto 34px;
}
.flow-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}
.flow-card {
  border-radius: 26px;
  padding: 26px 24px;
}
.flow-card h3,
.standard-item strong {
  color: var(--heading);
}
.flow-card p,
.standard-item p {
  margin-bottom: 0;
  line-height: 1.8;
}
.story-section {
  position: relative;
}
.story-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 34px;
  align-items: center;
}
.large-video-frame {
  padding: 12px;
  border-radius: 34px;
  background: linear-gradient(180deg, rgba(255,255,255,0.82), rgba(244,247,248,0.92));
  box-shadow: var(--shadow);
}
.standards-section {
  overflow: hidden;
}
.standards-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 38px;
  align-items: center;
}
.standards-visual {
  position: relative;
  min-height: 620px;
}
.visual-window {
  position: absolute;
  overflow: hidden;
  border-radius: 30px;
  box-shadow: 0 26px 80px rgba(32,57,74,0.16);
  border: 1px solid rgba(255,255,255,0.72);
  background: rgba(255,255,255,0.9);
}
.visual-window img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.main-window {
  inset: 34px 120px 34px 0;
}
.sub-window {
  width: 240px;
  height: 180px;
  right: 0;
}
.window-top {
  top: 30px;
}
.window-bottom {
  bottom: 54px;
}
.standard-list {
  display: grid;
  gap: 16px;
  margin-top: 24px;
}
.standard-item {
  padding: 18px 20px;
  border-radius: 20px;
  background: rgba(255,255,255,0.75);
  border: 1px solid rgba(33,57,74,0.08);
}
.standard-item strong {
  display: block;
  margin-bottom: 8px;
  font-family: 'Playfair Display', serif;
  font-size: 1.05rem;
}
.site-footer {
  margin-top: 12px;
}

@media (max-width: 1180px) {
  .hero-shell,
  .marquee-grid,
  .story-grid,
  .standards-grid,
  .premium-grid {
    grid-template-columns: 1fr;
  }
  .hero-meta-grid,
  .flow-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .premium-stage {
    min-height: 460px;
  }
  .standards-visual {
    min-height: 520px;
  }
}

@media (max-width: 860px) {
  .hero-svf {
    padding-top: 30px;
    padding-bottom: 72px;
  }
  .hero-meta-grid,
  .flow-grid,
  .marquee-points {
    grid-template-columns: 1fr;
  }
  .premium-stage {
    min-height: 340px;
  }
  .hero-thumb {
    min-height: 72px;
    border-radius: 18px;
  }
  .marquee-grid {
    padding: 24px;
  }
  .standards-visual {
    min-height: 420px;
  }
  .main-window {
    inset: 20px 84px 18px 0;
  }
  .sub-window {
    width: 170px;
    height: 128px;
  }
}

@media (max-width: 560px) {
  .hero-svf .hero-copy h1 {
    font-size: clamp(2.3rem, 11vw, 3.3rem);
  }
  .hero-actions {
    flex-direction: column;
  }
  .hero-actions .btn {
    width: 100%;
  }
  .hero-thumb-strip {
    grid-template-columns: repeat(5, minmax(64px, 1fr));
    overflow-x: auto;
    padding-bottom: 4px;
  }
  .hero-thumb {
    min-width: 64px;
    min-height: 64px;
  }
  .premium-stage {
    min-height: 280px;
    border-radius: 26px;
  }
  .marquee-grid,
  .flow-card,
  .hero-meta-card,
  .standard-item {
    padding-left: 18px;
    padding-right: 18px;
  }
  .standards-visual {
    min-height: 350px;
  }
  .main-window {
    inset: 12px 62px 12px 0;
    border-radius: 24px;
  }
  .sub-window {
    width: 126px;
    height: 100px;
    border-radius: 18px;
  }
}

/* ===== Fullscreen landing refresh ===== */
:root {
  --landing-bg: #eef3f7;
  --landing-navy: #213246;
  --landing-blue: #6f8da5;
  --landing-line: rgba(255,255,255,0.18);
}
body {
  background: linear-gradient(180deg, #f4f7fa 0%, #eef3f7 100%);
  color: #5b6d7c;
}
.landing-header {
  position: fixed;
  left: 0;
  right: 0;
  background: rgba(244,248,250,0.82);
  border-bottom: 1px solid rgba(255,255,255,0.55);
  box-shadow: 0 10px 34px rgba(24,40,58,0.06);
}
.landing-main {
  overflow: hidden;
}
.hero-fullscreen {
  min-height: 100vh;
  padding: 0;
  background: #dbe6ee;
}
.hero-viewport {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  background: #dbe5ee;
}
.hero-fullscreen .hero-rotator-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity .8s ease, visibility .8s ease;
}
.hero-fullscreen .hero-rotator-slide.active {
  opacity: 1;
  visibility: visible;
  z-index: 1;
}
.hero-fullscreen .hero-rotator-slide video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: brightness(.74) saturate(.92);
  background: #dbe5ee;
}
.hero-fullscreen .hero-rotator-slide::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(14,27,39,0.62) 0%, rgba(18,34,50,0.48) 24%, rgba(20,37,54,0.20) 52%, rgba(20,37,54,0.06) 70%, rgba(20,37,54,0.14) 100%),
    linear-gradient(180deg, rgba(14,27,39,0.14) 0%, rgba(14,27,39,0.26) 100%);
  pointer-events: none;
}
.hero-overlay {
  position: relative;
  z-index: 3;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 124px 0 42px;
}
.hero-overlay-inner {
  display: grid;
  grid-template-rows: 1fr auto;
  min-height: calc(100vh - 166px);
  align-items: end;
}
.hero-content {
  width: min(640px, 100%);
  padding: 34px 34px 30px;
  border-radius: 30px;
  background: linear-gradient(180deg, rgba(255,255,255,0.14), rgba(255,255,255,0.08));
  border: 1px solid rgba(255,255,255,0.16);
  backdrop-filter: blur(16px);
  box-shadow: 0 24px 80px rgba(5,18,29,0.18);
}
.hero-content .eyebrow,
.hero-content h1,
.hero-content .lead,
.hero-kpis article strong,
.hero-kpis article span {
  color: #f4f8fb;
}
.hero-content .eyebrow {
  color: rgba(225,237,248,0.86);
  margin-bottom: 14px;
}
.hero-content h1 {
  font-size: clamp(2.35rem, 4.8vw, 4.85rem);
  line-height: 1.08;
  letter-spacing: -0.05em;
}
.hero-content h1 span {
  color: #bbd1e4;
}
.hero-content .lead {
  margin-top: 18px;
  max-width: 56ch;
  font-size: clamp(0.96rem, 1.2vw, 1.06rem);
  line-height: 1.9;
  color: rgba(236,243,248,0.9);
}
.compact-actions {
  margin-top: 24px;
}
.compact-actions .btn-ghost {
  background: rgba(255,255,255,0.12);
  color: #f4f8fb;
  border-color: rgba(255,255,255,0.18);
}
.hero-kpis {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 24px;
}
.hero-kpis article {
  padding: 16px 18px;
  border-radius: 18px;
  background: rgba(255,255,255,0.09);
  border: 1px solid rgba(255,255,255,0.12);
}
.hero-kpis article strong {
  display: block;
  font-family: 'Playfair Display', serif;
  font-size: 1.05rem;
  margin-bottom: 4px;
}
.hero-kpis article span {
  display: block;
  font-size: 0.88rem;
  line-height: 1.6;
  color: rgba(232,240,246,0.82);
}
.hero-controls-wrap {
  display: grid;
  gap: 14px;
  align-self: end;
}
.hero-label-strip {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}
.hero-label-strip .hero-thumb {
  min-height: 64px;
  padding: 0 18px;
  border-radius: 18px;
  background: rgba(10,22,33,0.28);
  border: 1px solid rgba(255,255,255,0.16);
  box-shadow: none;
  display: flex;
  align-items: center;
  justify-content: flex-start;
}
.hero-label-strip .hero-thumb::before,
.hero-label-strip .hero-thumb::after {
  display: none;
}
.hero-label-strip .hero-thumb span {
  color: rgba(240,246,250,0.88);
  font-size: 0.92rem;
  font-weight: 600;
  text-align: left;
}
.hero-label-strip .hero-thumb.active {
  background: rgba(238,246,251,0.16);
  border-color: rgba(255,255,255,0.42);
  transform: translateY(-2px);
}
.hero-rotator-dots {
  justify-content: flex-start;
}
.hero-rotator-dots button {
  width: 56px;
  height: 5px;
  background: rgba(255,255,255,0.24);
}
.hero-rotator-dots button.active {
  background: linear-gradient(90deg, #9fc0d9, #ffffff);
}
.overview-band {
  margin-top: -24px;
  position: relative;
  z-index: 4;
}
.overview-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: 22px;
  padding: 0 0 30px;
}
.section-heading-left {
  text-align: left;
}
.overview-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.overview-card {
  padding: 24px 22px;
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(255,255,255,0.92), rgba(247,250,252,0.84));
}
.overview-card i {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  margin-bottom: 14px;
  color: var(--landing-blue);
  background: rgba(111,141,165,0.12);
}
.overview-card strong {
  display: block;
  margin-bottom: 8px;
  color: var(--landing-navy);
  font-family: 'Playfair Display', serif;
}
.overview-card p {
  margin: 0;
  line-height: 1.75;
}
.section {
  padding: 92px 0;
}
.flow-card,
.panel.soft-panel,
.form-panel {
  background: linear-gradient(180deg, rgba(255,255,255,0.92), rgba(248,250,252,0.84));
}
.flow-card,
.overview-card,
.panel.soft-panel,
.form-panel,
.contact-card {
  border: 1px solid rgba(31,53,71,0.08);
  box-shadow: 0 18px 58px rgba(28,45,61,0.08);
}
.story-grid {
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  align-items: center;
}
.story-copy h3,
.contact-copy h2,
.section-heading h2 {
  color: var(--landing-navy);
}
.story-copy p,
.contact-copy p,
.section-heading p {
  color: #617483;
}
.large-video-frame {
  padding: 14px;
  border-radius: 34px;
}
.contact-card {
  background: rgba(255,255,255,0.82);
}
.footer-inner {
  color: #607181;
}

@media (max-width: 1180px) {
  .overview-grid,
  .story-grid {
    grid-template-columns: 1fr;
  }
  .overview-cards {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 980px) {
  .hero-overlay {
    padding-top: 104px;
  }
  .hero-overlay-inner {
    min-height: calc(100vh - 146px);
  }
  .hero-content {
    width: min(100%, 620px);
    padding: 26px 24px;
  }
  .hero-kpis,
  .overview-cards,
  .hero-label-strip,
  .flow-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 760px) {
  .hero-fullscreen,
  .hero-viewport,
  .hero-overlay {
    min-height: 100svh;
  }
  .hero-overlay {
    padding: 92px 0 26px;
  }
  .hero-overlay-inner {
    min-height: calc(100svh - 118px);
    gap: 22px;
  }
  .hero-content {
    padding: 22px 18px;
    border-radius: 22px;
  }
  .hero-content h1 {
    font-size: clamp(2rem, 10vw, 3rem);
  }
  .hero-content .lead {
    font-size: 0.94rem;
    line-height: 1.75;
  }
  .hero-kpis,
  .overview-cards,
  .hero-label-strip,
  .flow-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .hero-label-strip .hero-thumb {
    min-height: 54px;
    justify-content: center;
    text-align: center;
  }
  .hero-label-strip .hero-thumb span {
    font-size: 0.84rem;
    text-align: center;
  }
  .hero-rotator-dots {
    justify-content: center;
  }
  .overview-band {
    margin-top: 0;
  }
  .section {
    padding: 74px 0;
  }
}

/* ===== Institute image integration refresh ===== */
.feature-split,
.profile-split,
.research-split {
  grid-template-columns: minmax(0, 0.96fr) minmax(0, 1.04fr);
  gap: 34px;
  align-items: center;
}
.feature-visual-wrap,
.profile-visual-wrap {
  position: relative;
}
.feature-visual,
.profile-visual {
  width: 100%;
  display: block;
  border-radius: 32px;
  object-fit: cover;
  box-shadow: 0 28px 80px rgba(22,40,56,0.12);
  border: 1px solid rgba(255,255,255,0.72);
}
.feature-visual {
  aspect-ratio: 16 / 10;
}
.profile-visual {
  aspect-ratio: 3 / 4;
  max-height: 760px;
}
.mini-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}
.mini-facts span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 16px;
  border-radius: 999px;
  background: rgba(255,255,255,0.88);
  border: 1px solid rgba(31,53,71,0.08);
  color: var(--landing-navy);
  box-shadow: 0 12px 32px rgba(22,40,56,0.06);
}
.info-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.info-panel {
  padding: 28px 24px;
  border-radius: 26px;
}
.info-panel h3,
.profile-copy h3,
.research-copy h3 {
  margin-top: 14px;
  margin-bottom: 12px;
  color: var(--landing-navy);
  font-family: 'Playfair Display', serif;
  letter-spacing: -0.04em;
}
.info-panel p,
.profile-copy p,
.research-copy p {
  line-height: 1.85;
}
.research-points {
  display: grid;
  gap: 14px;
  margin-top: 20px;
}
.research-points article {
  padding: 18px 20px;
  border-radius: 20px;
  background: rgba(255,255,255,0.74);
  border: 1px solid rgba(31,53,71,0.08);
}
.research-points strong {
  display: block;
  margin-bottom: 8px;
  color: var(--landing-navy);
  font-family: 'Playfair Display', serif;
  font-size: 1.02rem;
}
.research-points p {
  margin: 0;
}
.profile-copy,
.research-copy {
  padding: 34px 32px;
}
.check-list li,
.contact-card p,
.contact-card strong,
.form-note,
label span {
  word-break: keep-all;
}

@media (max-width: 1180px) {
  .feature-split,
  .profile-split,
  .research-split,
  .info-grid {
    grid-template-columns: 1fr;
  }
  .profile-visual {
    max-height: none;
  }
}

@media (max-width: 760px) {
  .feature-visual,
  .profile-visual {
    border-radius: 24px;
  }
  .profile-copy,
  .research-copy,
  .info-panel {
    padding: 22px 18px;
  }
  .mini-facts {
    gap: 10px;
  }
  .mini-facts span {
    width: 100%;
    justify-content: center;
  }
}

/* === 2026-05 premium submenu + responsive landing overrides === */
.landing-main {
  overflow: clip;
}

.header-cta {
  min-width: 118px;
}

.align-start {
  align-items: start;
}

.nav-item {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.nav-link,
.nav-item > a {
  position: relative;
}

.submenu-toggle {
  width: 28px;
  height: 28px;
  display: inline-grid;
  place-items: center;
  border: 0;
  padding: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--text-soft);
  cursor: pointer;
  transition: background .2s ease, color .2s ease, transform .2s ease;
}

.submenu-toggle:hover {
  background: rgba(99,135,154,0.10);
  color: var(--heading);
}

.submenu {
  position: absolute;
  top: calc(100% + 18px);
  left: -14px;
  min-width: 220px;
  display: grid;
  gap: 4px;
  padding: 12px;
  border-radius: 18px;
  background: rgba(255,255,255,0.96);
  border: 1px solid rgba(33,57,74,0.10);
  box-shadow: 0 24px 60px rgba(24,42,58,0.14);
  backdrop-filter: blur(14px);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity .22s ease, transform .22s ease, visibility .22s ease;
  z-index: 30;
}

.submenu a {
  display: flex;
  align-items: center;
  min-height: 42px;
  padding: 0 12px;
  border-radius: 12px;
  color: var(--heading);
  font-size: 0.92rem;
  font-weight: 600;
  background: transparent;
}

.submenu a:hover {
  background: rgba(99,135,154,0.08);
}

.has-submenu:hover .submenu,
.has-submenu:focus-within .submenu,
.has-submenu.open .submenu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.has-submenu:hover .submenu-toggle,
.has-submenu.open .submenu-toggle {
  color: var(--heading);
  transform: rotate(180deg);
}

.hero-fullscreen,
.hero-fullscreen .hero-viewport {
  min-height: 100svh;
  padding: 0;
}

.hero-fullscreen .hero-viewport {
  position: relative;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  z-index: 3;
  background:
    linear-gradient(180deg, rgba(9,20,28,0.08) 0%, rgba(9,20,28,0.20) 42%, rgba(9,20,28,0.52) 100%),
    linear-gradient(90deg, rgba(10,18,24,0.48) 0%, rgba(10,18,24,0.18) 45%, rgba(10,18,24,0.04) 100%);
}

.hero-overlay-inner {
  width: 100%;
  display: grid;
  gap: 24px;
  padding-top: 130px;
  padding-bottom: 34px;
}

.hero-content-compact {
  width: min(100%, 660px);
  padding: 28px 28px 24px;
  background: linear-gradient(180deg, rgba(255,255,255,0.88), rgba(255,255,255,0.78));
  border: 1px solid rgba(255,255,255,0.72);
  box-shadow: 0 28px 80px rgba(13,29,40,0.18);
}

.hero-content-compact h1 {
  font-size: clamp(2rem, 3.4vw, 3.55rem);
  line-height: 1.12;
  letter-spacing: -0.05em;
}

.hero-content-compact .lead {
  font-size: clamp(0.95rem, 1.3vw, 1.06rem);
  line-height: 1.82;
  color: #4d6170;
}

.hero-content-compact .eyebrow {
  margin-bottom: 14px;
  letter-spacing: 0.16em;
}

.compact-actions {
  margin-top: 24px;
}

.compact-kpis {
  margin-top: 22px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.compact-kpis article {
  padding: 14px 16px;
  border-radius: 18px;
  background: rgba(245,248,249,0.88);
  border: 1px solid rgba(33,57,74,0.06);
}

.compact-kpis strong {
  display: block;
  margin-bottom: 6px;
  color: var(--heading);
  font-size: 0.92rem;
}

.compact-kpis span {
  color: var(--text-soft);
  font-size: 0.84rem;
  line-height: 1.55;
}

.hero-controls-wrap {
  display: grid;
  gap: 14px;
}

.hero-label-strip .hero-thumb {
  min-height: 62px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
  background: rgba(255,255,255,0.18);
  border: 1px solid rgba(255,255,255,0.15);
  box-shadow: none;
}

.hero-label-strip .hero-thumb::before {
  background: linear-gradient(180deg, rgba(255,255,255,0.08), rgba(255,255,255,0.10));
}

.hero-label-strip .hero-thumb span {
  position: relative;
  z-index: 2;
  color: #fff;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.hero-label-strip .hero-thumb.active,
.hero-label-strip .hero-thumb:hover {
  background: rgba(255,255,255,0.26);
}

.hero-fullscreen .hero-rotator-dots {
  justify-content: flex-start;
}

.hero-fullscreen .hero-rotator-dots button {
  background: rgba(255,255,255,0.28);
}

.hero-fullscreen .hero-rotator-dots button.active {
  background: linear-gradient(90deg, #d6e4ec, #f4dcc0);
}

.narrow-heading {
  max-width: 860px;
  margin-inline: auto;
}

.content-stack > * + * {
  margin-top: 18px;
}

.fact-strip {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 10px;
}

.fact-strip article {
  padding: 20px 22px;
  border-radius: 22px;
  background: rgba(255,255,255,0.82);
  border: 1px solid rgba(33,57,74,0.08);
  box-shadow: 0 20px 50px rgba(33,57,74,0.08);
}

.fact-strip strong {
  color: var(--heading);
  display: block;
  margin-bottom: 8px;
}

.fact-strip p {
  margin: 0;
  color: var(--text-soft);
  line-height: 1.75;
}

.summary-grid,
.hospital-grid,
.bio-grid {
  display: grid;
  gap: 18px;
}

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

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

.knowledge-card,
.hospital-card,
.greeting-copy,
.institute-main-copy {
  height: 100%;
}

.knowledge-head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 6px;
}

.compact-list li {
  font-size: 0.96rem;
  line-height: 1.78;
}

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

.quote-box {
  margin: 22px 0 0;
  padding: 20px 22px;
  border-left: 4px solid rgba(99,135,154,0.45);
  border-radius: 0 20px 20px 0;
  background: rgba(255,255,255,0.76);
}

.quote-box p {
  margin: 0;
  color: var(--heading);
  line-height: 1.78;
}

.bio-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 20px;
}

.bio-grid article {
  padding: 18px 20px;
  border-radius: 18px;
  background: rgba(247,249,250,0.84);
  border: 1px solid rgba(33,57,74,0.06);
}

.bio-grid strong {
  display: block;
  color: var(--heading);
  margin-bottom: 8px;
}

.bio-grid p {
  margin: 0;
  color: var(--text-soft);
  line-height: 1.72;
}

.institute-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1.15fr);
  gap: 22px;
  align-items: start;
}

.institute-facts {
  margin-top: 18px;
}

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

.hospital-card h3,
.knowledge-card h3,
.institute-main-copy h3 {
  margin-bottom: 8px;
}

.section-heading h2,
.panel h3,
.contact-copy h2 {
  line-height: 1.2;
}

.section-heading p,
.panel p,
.contact-copy p,
.info-panel p {
  font-size: 0.98rem;
}

@media (max-width: 1180px) {
  .header-inner {
    gap: 18px;
  }

  .main-nav {
    gap: 16px;
  }

  .hero-content-compact {
    width: min(100%, 600px);
  }

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

@media (max-width: 991px) {
  .menu-toggle {
    display: inline-grid;
    place-items: center;
  }

  .header-cta {
    display: none;
  }

  .main-nav {
    position: fixed;
    top: 84px;
    right: 22px;
    left: 22px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 14px;
    border-radius: 24px;
    background: rgba(255,255,255,0.97);
    border: 1px solid rgba(33,57,74,0.08);
    box-shadow: 0 28px 70px rgba(18,36,50,0.16);
  }

  .main-nav.open {
    display: flex;
  }

  .main-nav > a,
  .main-nav > .nav-item {
    min-height: 50px;
  }

  .main-nav a,
  .main-nav .nav-item > a {
    display: flex;
    align-items: center;
    min-height: 50px;
    padding: 0 8px;
  }

  .nav-item {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    border-top: 1px solid rgba(33,57,74,0.06);
  }

  .nav-item:first-of-type {
    border-top: 0;
  }

  .submenu-toggle {
    width: 44px;
    height: 44px;
  }

  .submenu {
    position: static;
    min-width: 0;
    margin: 0 8px 10px;
    padding: 8px;
    border-radius: 16px;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    display: none;
    background: rgba(244,247,248,0.96);
  }

  .has-submenu:hover .submenu,
  .has-submenu:focus-within .submenu {
    display: none;
  }

  .has-submenu.open .submenu {
    display: grid;
  }

  .has-submenu.open .submenu-toggle {
    transform: rotate(180deg);
  }

  .hero-overlay-inner {
    padding-top: 110px;
  }

  .hero-content-compact {
    width: 100%;
    padding: 24px 22px 20px;
  }

  .compact-kpis,
  .fact-strip,
  .summary-grid,
  .knowledge-grid,
  .bio-grid,
  .institute-grid,
  .hospital-grid,
  .split,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .hero-thumb-strip {
    grid-template-columns: repeat(5, minmax(140px, 1fr));
    overflow-x: auto;
    padding-bottom: 6px;
  }

  .hero-label-strip .hero-thumb {
    min-width: 140px;
  }
}

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

  .header-inner {
    min-height: 74px;
  }

  .logo-copy small {
    font-size: 0.66rem;
    letter-spacing: 0.08em;
  }

  .hero-overlay-inner {
    gap: 16px;
    padding-top: 96px;
    padding-bottom: 24px;
  }

  .hero-content-compact h1 {
    font-size: clamp(1.7rem, 8vw, 2.45rem);
  }

  .hero-content-compact .lead,
  .section-heading p,
  .panel p,
  .contact-copy p,
  .info-panel p {
    font-size: 0.93rem;
    line-height: 1.72;
  }

  .hero-actions {
    flex-direction: column;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .hero-thumb-strip {
    gap: 10px;
  }

  .hero-label-strip .hero-thumb {
    min-height: 52px;
    border-radius: 16px;
  }

  .hero-label-strip .hero-thumb span {
    font-size: 0.78rem;
  }

  .hero-fullscreen .hero-rotator-dots {
    justify-content: center;
  }

  .mini-facts {
    gap: 10px;
  }

  .mini-facts span {
    width: 100%;
    justify-content: flex-start;
  }

  .section {
    padding-top: 72px;
    padding-bottom: 72px;
  }
}

/* === 2026-05 subpages and linked page cards === */
.page-link-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 22px;
}

.page-link-card {
  display: grid;
  gap: 6px;
  min-height: 116px;
  padding: 20px 22px;
  border-radius: 22px;
  background: rgba(255,255,255,0.84);
  border: 1px solid rgba(33,57,74,0.08);
  box-shadow: 0 22px 54px rgba(33,57,74,0.08);
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}

.page-link-card strong {
  color: var(--heading);
  font-size: 1rem;
}

.page-link-card span {
  color: var(--text-soft);
  line-height: 1.68;
  font-size: 0.92rem;
}

.page-link-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 28px 70px rgba(33,57,74,0.12);
  border-color: rgba(99,135,154,0.24);
}

.compact-links {
  grid-template-columns: 1fr;
}

.subpage-body {
  background: linear-gradient(180deg, #f6f8fa 0%, #eef3f7 100%);
}

.subpage-main {
  padding-top: 84px;
}

.subpage-hero {
  position: relative;
  padding: 72px 0 48px;
  overflow: hidden;
}

.subpage-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 14% 18%, rgba(157,180,170,0.18), transparent 22%),
    radial-gradient(circle at 86% 12%, rgba(99,135,154,0.18), transparent 20%),
    linear-gradient(180deg, rgba(255,255,255,0.28), rgba(255,255,255,0));
}

.warm-hero::before {
  background:
    radial-gradient(circle at 12% 18%, rgba(217,196,164,0.22), transparent 22%),
    radial-gradient(circle at 84% 16%, rgba(99,135,154,0.16), transparent 20%),
    linear-gradient(180deg, rgba(255,255,255,0.32), rgba(255,255,255,0));
}

.subpage-hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.88fr);
  gap: 34px;
  align-items: center;
}

.subpage-copy h1 {
  margin: 0;
  font-family: 'Playfair Display', serif;
  color: var(--heading);
  font-size: clamp(2.2rem, 4vw, 4.3rem);
  line-height: 1.08;
  letter-spacing: -0.05em;
}

.subpage-copy .lead {
  margin-top: 18px;
  color: var(--text-soft);
  line-height: 1.9;
  font-size: 1rem;
}

.subpage-visual {
  position: relative;
}

.subpage-visual img,
.gallery-grid img,
.media-panel img,
.book-showcase img {
  width: 100%;
  display: block;
  border-radius: 28px;
  box-shadow: 0 28px 70px rgba(22,40,58,0.12);
}

.stacked-book-visual {
  padding-right: 80px;
}

.stacked-book-visual .book-card {
  position: absolute;
  right: 0;
  bottom: -28px;
  width: min(44%, 220px);
  border-radius: 22px;
  border: 8px solid rgba(255,255,255,0.8);
  background: #fff;
}

.section-tight {
  padding-top: 56px;
  padding-bottom: 56px;
}

.card-grid.two-col,
.subpage-split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  align-items: center;
}

.content-panel,
.cta-panel,
.quote-panel,
.soft-highlight {
  padding: 34px;
}

.content-panel p,
.cta-panel p,
.quote-panel p,
.soft-highlight p {
  line-height: 1.86;
}

.tall-visual img,
.tall-media img {
  min-height: 420px;
  object-fit: cover;
}

.feature-card-grid,
.service-grid,
.step-grid,
.gallery-grid {
  display: grid;
  gap: 18px;
}

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

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

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

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

.book-showcase {
  max-width: 420px;
  margin-left: auto;
}

.book-stand {
  background: rgba(255,255,255,0.84);
  padding: 18px;
}

.signature-box {
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px solid rgba(33,57,74,0.10);
  display: grid;
  gap: 6px;
}

.signature-box strong,
.signature-box span {
  color: var(--heading);
}

.quote-panel {
  position: relative;
}

.quote-panel::after {
  content: '';
  position: absolute;
  right: 26px;
  top: 26px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(99,135,154,0.08);
}

.institute-hero-bg,
.clinic-hero-bg {
  background: linear-gradient(180deg, rgba(255,255,255,0.6), rgba(238,243,247,0.7));
}

@media (max-width: 1180px) {
  .subpage-hero-grid,
  .card-grid.two-col,
  .subpage-split {
    grid-template-columns: 1fr;
  }

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

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

@media (max-width: 991px) {
  .subpage-main {
    padding-top: 76px;
  }

  .page-link-grid,
  .feature-card-grid,
  .service-grid,
  .step-grid,
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .stacked-book-visual {
    padding-right: 0;
    padding-bottom: 120px;
  }

  .stacked-book-visual .book-card {
    right: 18px;
    bottom: 0;
    width: 180px;
  }
}

@media (max-width: 767px) {
  .subpage-hero {
    padding-top: 52px;
  }

  .subpage-copy h1 {
    font-size: clamp(1.9rem, 8vw, 2.8rem);
  }

  .subpage-copy .lead,
  .page-link-card span,
  .content-panel p,
  .cta-panel p,
  .quote-panel p,
  .soft-highlight p {
    font-size: 0.94rem;
    line-height: 1.74;
  }

  .content-panel,
  .cta-panel,
  .quote-panel,
  .soft-highlight,
  .feature-card,
  .info-panel {
    padding: 24px;
  }

  .tall-visual img,
  .tall-media img {
    min-height: 320px;
  }

  .stacked-book-visual {
    padding-bottom: 92px;
  }

  .stacked-book-visual .book-card {
    width: 146px;
    border-width: 6px;
  }
}

/* === 2026-05 subpages for cell / greeting / center / clinic === */
.page-link-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 22px;
}

.page-link-card {
  display: grid;
  gap: 6px;
  padding: 18px 20px;
  border-radius: 20px;
  background: rgba(255,255,255,0.84);
  border: 1px solid rgba(33,57,74,0.08);
  box-shadow: 0 18px 40px rgba(32,57,74,0.08);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.page-link-card strong {
  color: var(--heading);
  font-size: 1rem;
}

.page-link-card span {
  color: var(--text-soft);
  line-height: 1.6;
  font-size: 0.92rem;
}

.page-link-card:hover {
  transform: translateY(-2px);
  border-color: rgba(99,135,154,0.28);
  box-shadow: 0 24px 54px rgba(32,57,74,0.12);
}

.subpage-body {
  background: linear-gradient(180deg, #f7fafb 0%, #eef3f6 100%);
}

.subpage-main {
  padding-top: 84px;
}

.subpage-hero {
  position: relative;
  padding: 88px 0 54px;
  overflow: hidden;
}

.subpage-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 10% 18%, rgba(155,178,195,0.20), transparent 28%),
    radial-gradient(circle at 90% 18%, rgba(220,201,170,0.18), transparent 24%);
  pointer-events: none;
}

.subpage-hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(320px, 0.98fr);
  gap: 34px;
  align-items: center;
}

.subpage-copy h1 {
  margin: 0;
  color: var(--heading);
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 4vw, 4rem);
  line-height: 1.1;
  letter-spacing: -0.05em;
}

.subpage-copy .lead {
  margin-top: 18px;
  font-size: 1rem;
  line-height: 1.85;
  color: var(--text-soft);
}

.subpage-visual img,
.gallery-grid img,
.media-panel img,
.book-showcase img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  border-radius: 30px;
  box-shadow: 0 24px 70px rgba(27,49,66,0.14);
}

.stacked-book-visual {
  position: relative;
  padding-right: 92px;
}

.stacked-book-visual .book-card {
  position: absolute;
  right: 0;
  bottom: -24px;
  width: 38%;
  max-width: 220px;
  height: auto;
  border-radius: 24px;
  object-fit: contain;
  background: #fff;
}

.section-tight {
  padding-top: 62px;
}

.card-grid.two-col,
.subpage-split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 26px;
  align-items: center;
}

.content-panel,
.cta-panel,
.media-panel,
.quote-panel {
  padding: 34px;
}

.media-panel,
.book-showcase {
  min-height: 100%;
}

.tall-media img,
.tall-visual img {
  min-height: 520px;
}

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

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

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

.quote-panel p + p {
  margin-top: 14px;
}

.signature-box {
  margin-top: 24px;
  display: grid;
  gap: 6px;
  padding-top: 18px;
  border-top: 1px solid rgba(33,57,74,0.10);
}

.signature-box strong {
  color: var(--heading);
}

.signature-box span {
  color: var(--primary);
  font-weight: 700;
}

.book-showcase {
  display: grid;
  place-items: center;
  padding: 24px;
  border-radius: 30px;
  background: linear-gradient(180deg, rgba(255,255,255,0.9), rgba(245,247,248,0.88));
  box-shadow: var(--shadow);
}

.book-stand {
  max-width: 420px;
  object-fit: contain !important;
}

.soft-highlight {
  background: linear-gradient(180deg, rgba(255,255,255,0.9), rgba(240,246,248,0.92));
}

.gallery-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr 1fr;
  gap: 18px;
}

.gallery-grid img {
  min-height: 260px;
}

.compact-links {
  margin-top: 20px;
}

.institute-hero-bg,
.clinic-hero-bg,
.warm-hero {
  background: linear-gradient(180deg, rgba(250,252,253,0.92), rgba(239,244,247,0.96));
}

@media (max-width: 1180px) {
  .service-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

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

@media (max-width: 991px) {
  .subpage-main {
    padding-top: 74px;
  }

  .subpage-hero {
    padding-top: 72px;
  }

  .subpage-hero-grid,
  .card-grid.two-col,
  .subpage-split,
  .feature-card-grid,
  .service-grid,
  .step-grid,
  .gallery-grid,
  .page-link-grid {
    grid-template-columns: 1fr;
  }

  .reverse-mobile {
    display: flex;
    flex-direction: column-reverse;
  }

  .stacked-book-visual {
    padding-right: 0;
    padding-bottom: 56px;
  }

  .stacked-book-visual .book-card {
    width: 42%;
    right: 18px;
    bottom: 0;
  }

  .tall-media img,
  .tall-visual img {
    min-height: 380px;
  }
}

@media (max-width: 767px) {
  .subpage-hero {
    padding: 54px 0 34px;
  }

  .subpage-copy h1 {
    font-size: clamp(1.8rem, 8vw, 2.7rem);
  }

  .subpage-copy .lead,
  .page-link-card span {
    font-size: 0.93rem;
    line-height: 1.72;
  }

  .content-panel,
  .cta-panel,
  .media-panel,
  .quote-panel {
    padding: 24px;
  }

  .gallery-grid img {
    min-height: 220px;
  }

  .book-stand {
    max-width: 280px;
  }

  .stacked-book-visual .book-card {
    width: 46%;
    max-width: 160px;
  }
}



/* === 2026-05 custom page extensions === */
.home-page .landing-header {
  background: linear-gradient(180deg, rgba(15, 26, 35, 0.62), rgba(15, 26, 35, 0.22));
  border-bottom: 1px solid rgba(255,255,255,0.10);
  box-shadow: none;
}

.home-page .landing-header.scrolled {
  background: rgba(15, 26, 35, 0.82);
  border-bottom-color: rgba(255,255,255,0.14);
  box-shadow: 0 16px 30px rgba(7, 14, 20, 0.24);
}

.home-page .landing-header .logo-copy strong,
.home-page .landing-header .logo-copy small,
.home-page .landing-header .main-nav a,
.home-page .landing-header .header-cta {
  color: rgba(245, 249, 252, 0.96);
}

.home-page .landing-header .menu-toggle {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.12);
}

.home-page .landing-header .menu-toggle span {
  background: #f3f8fb;
}

.home-page .hero-content-compact.glass-card {
  background: linear-gradient(180deg, rgba(16, 28, 37, 0.72), rgba(16, 28, 37, 0.48));
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 28px 70px rgba(8, 13, 20, 0.28);
}

.home-page .hero-content-compact,
.home-page .hero-content-compact .eyebrow,
.home-page .hero-content-compact h1,
.home-page .hero-content-compact p,
.home-page .hero-content-compact span,
.home-page .hero-content-compact strong,
.home-page .hero-content-compact article {
  color: #f4f8fb;
}

.home-page .hero-content-compact .lead,
.home-page .hero-content-compact .compact-kpis article span {
  color: rgba(244, 248, 251, 0.82);
}

.home-page .hero-controls-wrap {
  justify-items: center;
  margin-top: 20px;
}

.home-page .hero-label-strip {
  display: none !important;
}

.admin-page-body {
  background: linear-gradient(180deg, #f5f7f8 0%, #edf2f4 100%);
}

.admin-main {
  padding-top: 24px;
}

.admin-shell {
  display: grid;
  gap: 22px;
}

.admin-topbar {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.admin-topbar h1 {
  margin: 0;
  color: var(--heading);
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 3vw, 3rem);
}

.admin-alert {
  padding: 16px 18px;
  border-radius: var(--radius-md);
  font-weight: 600;
}

.admin-alert.error {
  background: rgba(190, 75, 75, 0.10);
  color: #9a4040;
  border: 1px solid rgba(190, 75, 75, 0.18);
}

.admin-alert.success {
  background: rgba(71, 137, 106, 0.10);
  color: #2f6d4f;
  border: 1px solid rgba(71, 137, 106, 0.18);
}

.admin-login-card {
  max-width: 520px;
}

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

.admin-summary-grid article {
  padding: 26px;
}

.admin-summary-grid strong {
  display: block;
  color: var(--heading);
  margin-bottom: 10px;
}

.admin-summary-grid p {
  margin: 0;
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--primary);
}

.admin-list {
  display: grid;
  gap: 18px;
}

.admin-card {
  padding: 28px;
  display: grid;
  gap: 18px;
}

.admin-card-head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: flex-start;
  flex-wrap: wrap;
}

.admin-card-head h3 {
  margin: 0 0 8px;
  color: var(--heading);
}

.admin-card-head p,
.admin-meta-grid p,
.admin-message-box p {
  margin: 0;
  color: var(--text-soft);
  line-height: 1.8;
}

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

.admin-meta-grid strong,
.admin-message-box strong {
  display: block;
  margin-bottom: 8px;
  color: var(--heading);
}

.admin-message-box {
  padding: 18px 20px;
  border-radius: var(--radius-md);
  background: rgba(255,255,255,0.68);
  border: 1px solid rgba(33,57,74,0.08);
}

.admin-status {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 94px;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 0.86rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.status-new {
  background: rgba(217, 196, 164, 0.24);
  color: #906d3c;
}

.status-reviewing {
  background: rgba(99, 135, 154, 0.18);
  color: #355a6d;
}

.status-answered {
  background: rgba(71, 137, 106, 0.16);
  color: #2f6d4f;
}

@media (max-width: 991px) {
  .admin-summary-grid,
  .admin-meta-grid {
    grid-template-columns: 1fr;
  }
}

/* === 2026-05 service page + brighter home overrides === */
.home-page .hero-fullscreen,
.home-page .hero-fullscreen .hero-viewport {
  background: #e9f1f6;
}

.home-page .hero-fullscreen .hero-rotator-slide video {
  filter: brightness(0.96) saturate(1.04);
}

.home-page .hero-fullscreen .hero-rotator-slide::after {
  background:
    linear-gradient(90deg, rgba(15,33,47,0.28) 0%, rgba(15,33,47,0.14) 28%, rgba(15,33,47,0.04) 56%, rgba(15,33,47,0.02) 100%),
    linear-gradient(180deg, rgba(255,255,255,0.08) 0%, rgba(8,20,30,0.16) 100%);
}

.home-page .hero-overlay {
  background:
    linear-gradient(180deg, rgba(255,255,255,0.02) 0%, rgba(14,30,42,0.14) 55%, rgba(14,30,42,0.22) 100%),
    linear-gradient(90deg, rgba(14,30,42,0.18) 0%, rgba(14,30,42,0.04) 46%, rgba(14,30,42,0.00) 100%);
}

.home-page .hero-content-compact,
.home-page .hero-content-compact.glass-card {
  max-width: 760px;
  padding: 0;
  background: transparent !important;
  border: 0;
  box-shadow: none;
  backdrop-filter: none;
}

.home-page .hero-content-compact,
.home-page .hero-content-compact .eyebrow,
.home-page .hero-content-compact h1,
.home-page .hero-content-compact p,
.home-page .hero-content-compact span,
.home-page .hero-content-compact strong,
.home-page .hero-content-compact article {
  color: #f8fcff;
}

.home-page .hero-content-compact h1 {
  text-shadow: 0 8px 24px rgba(10, 24, 36, 0.28);
}

.home-page .hero-content-compact .lead {
  max-width: 60ch;
  color: rgba(247, 252, 255, 0.94);
  text-shadow: 0 4px 16px rgba(10, 24, 36, 0.24);
}

.home-page .compact-actions .btn-ghost {
  background: rgba(255,255,255,0.22);
  color: #fff;
  border-color: rgba(255,255,255,0.34);
}

.home-page .compact-kpis article {
  background: rgba(255,255,255,0.16);
  border: 1px solid rgba(255,255,255,0.28);
  box-shadow: none;
  backdrop-filter: blur(8px);
}

.home-page .hero-controls-wrap {
  justify-items: flex-start;
}

.home-page .hero-fullscreen .hero-rotator-dots button {
  background: rgba(255,255,255,0.44);
}

.home-page .feature-visual-wrap {
  align-self: stretch;
}

.home-page .feature-visual {
  width: 100%;
  height: 100%;
  min-height: 380px;
  object-fit: cover;
  object-position: center top;
  border-radius: 28px;
}

.service-page-body {
  background: linear-gradient(180deg, #f7fafc 0%, #eef4f7 100%);
}

.service-hero {
  padding-bottom: 40px;
}

.service-hero-grid {
  align-items: center;
}

.service-hero-visual img {
  border-radius: 28px;
  box-shadow: 0 26px 60px rgba(20, 42, 58, 0.12);
}

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

.service-quick-card {
  padding: 24px;
}

.service-quick-card strong {
  display: block;
  color: var(--heading);
  margin-bottom: 10px;
}

.service-board-section {
  padding-top: 40px;
}

.service-board {
  padding: 24px;
}

.service-board-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
  flex-wrap: wrap;
}

.service-board-legend {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  color: var(--text-soft);
  font-size: 0.92rem;
}

.status-dot {
  font-size: 0.62rem;
  margin-right: 6px;
}

.status-dot.status-answered { color: #48b66b; }
.status-dot.status-reviewing { color: #95a6b5; }
.status-dot.status-new { color: #6d87db; }

.service-table-head,
.service-row {
  display: grid;
  grid-template-columns: 0.8fr 2.5fr 1.2fr 1fr 1fr 1.4fr;
  gap: 14px;
  align-items: center;
}

.service-table-head {
  padding: 14px 18px;
  border-radius: 18px;
  background: rgba(232, 242, 236, 0.72);
  color: #617789;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.05em;
}

.service-table-body {
  display: grid;
  margin-top: 12px;
}

.service-row {
  padding: 18px;
  border-bottom: 1px solid rgba(114, 168, 135, 0.20);
  background: rgba(236, 248, 240, 0.55);
}

.service-row:nth-child(even) {
  background: rgba(240, 249, 243, 0.82);
}

.service-cell {
  min-width: 0;
  color: var(--heading);
  font-size: 0.94rem;
}

.service-number,
.service-cell[data-label="DATE"] {
  color: #617789;
}

.service-subject {
  font-weight: 700;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.service-status-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 82px;
  min-height: 32px;
  padding: 0 12px;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 700;
  border: 1px solid transparent;
}

.service-status-pill.status-answered {
  color: #23a34f;
  background: rgba(210, 248, 221, 0.86);
  border-color: rgba(48, 180, 92, 0.24);
}

.service-status-pill.status-reviewing {
  color: #617789;
  background: rgba(233, 238, 243, 0.88);
  border-color: rgba(120, 137, 150, 0.18);
}

.service-status-pill.status-new {
  color: #4d67c2;
  background: rgba(222, 230, 255, 0.86);
  border-color: rgba(77, 103, 194, 0.18);
}

.service-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  justify-content: flex-start;
  flex-wrap: wrap;
}

.service-action-btn {
  min-width: 54px;
  height: 38px;
  padding: 0 16px;
  border-radius: 14px;
  border: 1px solid rgba(55, 74, 88, 0.16);
  background: #fff;
  color: var(--heading);
  font-weight: 700;
  cursor: pointer;
  transition: .22s ease;
}

.service-action-btn:hover {
  transform: translateY(-1px);
}

.service-action-btn.primary {
  background: #40579e;
  color: #fff;
  border-color: #40579e;
}

.service-action-btn.primary.is-complete {
  background: rgba(255,255,255,0.98);
  color: #617789;
  border-color: rgba(55, 74, 88, 0.16);
}

.service-loading {
  padding: 28px 20px;
  text-align: center;
  color: var(--text-soft);
}

.modal-open {
  overflow: hidden;
}

.service-modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: none;
}

.service-modal.open {
  display: block;
}

.service-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(9, 18, 26, 0.54);
  backdrop-filter: blur(4px);
}

.service-modal-dialog {
  position: relative;
  width: min(720px, calc(100% - 28px));
  max-height: calc(100vh - 40px);
  overflow-y: auto;
  margin: 20px auto;
  padding: 28px;
  z-index: 2;
}

.service-view-dialog,
.service-reply-dialog {
  width: min(680px, calc(100% - 28px));
}

.service-modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  border: 1px solid rgba(33,57,74,0.12);
  background: rgba(255,255,255,0.92);
  color: var(--heading);
  cursor: pointer;
}

.service-modal-header h3 {
  margin: 0;
  color: var(--heading);
}

.service-modal-header p:last-child {
  margin-top: 12px;
}

.service-detail-body {
  display: grid;
  gap: 16px;
}

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

.service-detail-meta article,
.service-detail-box {
  padding: 18px 20px;
  border-radius: 18px;
  background: rgba(245, 249, 251, 0.95);
  border: 1px solid rgba(33,57,74,0.08);
}

.service-detail-meta strong,
.service-detail-box strong {
  display: block;
  color: var(--heading);
  margin-bottom: 8px;
}

.service-detail-meta span,
.service-detail-box p,
.service-detail-box span {
  color: var(--text-soft);
  line-height: 1.8;
}

.service-detail-box p {
  margin: 0;
}

.service-detail-box.reply-box {
  background: rgba(233, 246, 238, 0.88);
}

.service-detail-box.reply-box.pending {
  background: rgba(244, 247, 250, 0.92);
}

.service-detail-actions {
  display: flex;
  justify-content: flex-end;
}

@media (max-width: 1080px) {
  .service-table-head,
  .service-row {
    grid-template-columns: 0.8fr 2.0fr 1.2fr 1fr 1fr 1.6fr;
  }
}

@media (max-width: 980px) {
  .service-quick-grid {
    grid-template-columns: 1fr;
  }

  .home-page .feature-visual {
    min-height: 280px;
  }

  .service-table-head {
    display: none;
  }

  .service-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px 16px;
    border-radius: 20px;
    margin-bottom: 10px;
    border-bottom: 0;
  }

  .service-cell {
    display: grid;
    gap: 4px;
  }

  .service-cell::before {
    content: attr(data-label);
    font-size: 0.74rem;
    color: #7f92a1;
    font-weight: 800;
    letter-spacing: 0.06em;
  }

  .service-subject {
    white-space: normal;
  }

  .service-actions {
    justify-content: flex-start;
  }
}

@media (max-width: 760px) {
  .home-page .hero-content-compact h1 {
    font-size: clamp(1.9rem, 9vw, 3rem);
  }

  .home-page .compact-kpis {
    grid-template-columns: 1fr;
  }

  .service-modal-dialog {
    padding: 22px;
  }

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

@media (max-width: 560px) {
  .service-board {
    padding: 18px;
  }

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

  .service-action-btn {
    min-width: 72px;
  }
}

/* === 2026-05-02 remove gray main hero veil === */
.home-page .hero-fullscreen .hero-rotator-slide::after {
  display: none !important;
  background: none !important;
}

.home-page .hero-overlay {
  background: transparent !important;
}

.home-page .hero-content-compact,
.home-page .hero-content-compact.glass-card {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
}

.home-page .hero-content-compact h1,
.home-page .hero-content-compact .lead,
.home-page .hero-content-compact .eyebrow {
  text-shadow: 0 6px 18px rgba(10, 24, 36, 0.28);
}

/* === 2026-05-02 brighten main hero videos and 4s rotation === */
.home-page .hero-fullscreen,
.home-page .hero-fullscreen .hero-viewport {
  background: #f2f7fb !important;
}

.home-page .hero-fullscreen .hero-rotator-slide video {
  filter: brightness(1.22) saturate(1.08) contrast(1.02) !important;
}

.home-page .hero-fullscreen .hero-rotator-slide::after,
.home-page .hero-overlay {
  display: none !important;
  background: none !important;
}

.home-page .hero-fullscreen .hero-rotator-dots button {
  background: rgba(255,255,255,0.72) !important;
}

.home-page .hero-fullscreen .hero-rotator-dots button.active {
  background: linear-gradient(90deg, #ffffff, #d8ecf8) !important;
}

/* === 2026-05-02 submenu legibility fix === */
.submenu {
  background: #ffffff !important;
  border: 1px solid rgba(33,57,74,0.14) !important;
  box-shadow: 0 24px 60px rgba(24,42,58,0.18) !important;
  backdrop-filter: none !important;
}
.submenu a {
  color: #21394a !important;
  background: #ffffff !important;
  font-weight: 700 !important;
}
.submenu a:hover,
.submenu a:focus {
  background: rgba(99,135,154,0.14) !important;
  color: #16283a !important;
}

/* === 2026-05-02 service tabs + stem cell background === */
.service-page-body.service-bg-stem {
  position: relative;
  background:
    linear-gradient(180deg, rgba(247,251,253,0.92) 0%, rgba(238,247,250,0.94) 100%),
    url('images/hero-posters/hero-cell-tissue.jpg') center top / cover no-repeat fixed;
}
.service-page-body.service-bg-stem .service-bg-overlay {
  position: fixed;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(circle at 18% 20%, rgba(255,255,255,0.55), transparent 38%),
    radial-gradient(circle at 80% 12%, rgba(168,210,222,0.32), transparent 40%),
    linear-gradient(180deg, rgba(248,252,253,0.78) 0%, rgba(232,243,247,0.86) 100%);
  pointer-events: none;
}
.service-page-body.service-bg-stem .site-header,
.service-page-body.service-bg-stem .service-main,
.service-page-body.service-bg-stem .site-footer {
  position: relative;
  z-index: 1;
}

.service-main {
  padding-top: 32px;
}

.service-intro {
  text-align: center;
  margin-bottom: 28px;
}
.service-intro h1 {
  margin: 0;
  color: var(--heading);
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 3.6vw, 3rem);
  line-height: 1.18;
}
.service-intro p {
  margin: 12px auto 0;
  max-width: 760px;
  color: var(--text-soft);
}

.service-tabs {
  padding: 0;
  overflow: hidden;
  background: rgba(255,255,255,0.96);
}
.service-tab-buttons {
  display: flex;
  gap: 0;
  border-bottom: 1px solid rgba(33,57,74,0.10);
  background: rgba(247,250,252,0.92);
}
.service-tab-button {
  flex: 1;
  min-height: 60px;
  padding: 0 18px;
  border: 0;
  background: transparent;
  color: var(--text-soft);
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  border-bottom: 3px solid transparent;
  transition: color .2s ease, border-color .2s ease, background .2s ease;
}
.service-tab-button:hover { color: var(--heading); }
.service-tab-button.active {
  color: var(--heading);
  border-bottom-color: #40579e;
  background: #ffffff;
}

.service-tab-panels {
  padding: 28px;
}
.service-tab-panel { display: none; }
.service-tab-panel.active { display: block; }

.service-write-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 28px;
  align-items: start;
}
.service-write-info {
  padding: 24px;
  border-radius: 22px;
  background: rgba(238,248,242,0.85);
  border: 1px solid rgba(33,57,74,0.08);
}
.service-write-info h2 {
  margin: 8px 0 12px;
  color: var(--heading);
  font-family: 'Playfair Display', serif;
}
.service-write-info p { color: var(--text-soft); margin: 0 0 16px; }

@media (max-width: 980px) {
  .service-write-grid { grid-template-columns: 1fr; }
  .service-tab-panels { padding: 18px; }
}

/* === 2026-05-02 mobile responsive image + clinic cards + study fix === */

/* Universal responsive image safety */
img {
  max-width: 100%;
  height: auto;
}

.subpage-visual,
.subpage-visual img,
.feature-visual-wrap,
.feature-visual,
.profile-visual-wrap,
.profile-visual {
  max-width: 100%;
  width: 100%;
  height: auto;
}

.feature-visual,
.profile-visual,
.subpage-visual img {
  display: block;
  width: 100%;
  max-height: 540px;
  object-fit: cover;
  border-radius: 28px;
}

.study-hero-image {
  width: 100%;
  height: auto;
  max-height: 540px;
  object-fit: cover;
  border-radius: 28px;
}

/* Clinic list */
.clinic-list {
  display: grid;
  gap: 20px;
}

.clinic-card {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 24px;
  padding: 18px;
  align-items: stretch;
  background: #ffffff;
  border-radius: 22px;
  border: 1px solid rgba(33,57,74,0.06);
  box-shadow: 0 18px 40px rgba(20, 42, 58, 0.06);
}

.clinic-thumb {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  background: #eef3f6;
  min-height: 180px;
}
.clinic-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.clinic-body {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.clinic-body h3 {
  margin: 0;
  color: var(--heading);
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem;
}
.clinic-body p {
  margin: 0;
  color: var(--text-soft);
  line-height: 1.7;
}

.clinic-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: 999px;
  background: rgba(120, 170, 220, 0.15);
  color: #3a6da5;
  font-size: 0.78rem;
  font-weight: 700;
  width: max-content;
}

.clinic-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.clinic-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(120, 170, 220, 0.18);
  color: #2c5b8c;
  font-size: 0.78rem;
  font-weight: 700;
}
.clinic-badge::before {
  content: '\f00c';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  font-size: 0.7rem;
}
.clinic-badge.primary {
  background: rgba(120, 170, 220, 0.18);
  color: #2c5b8c;
}

.clinic-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.clinic-tags span {
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(220, 224, 230, 0.55);
  color: #5a6a7a;
  font-size: 0.74rem;
  font-weight: 600;
}

.clinic-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  color: var(--text-soft);
  font-size: 0.86rem;
  margin-top: 4px;
}
.clinic-meta i { color: #3a6da5; margin-right: 4px; }

.clinic-link {
  background: linear-gradient(135deg, #2f7c52, #3aa07a) !important;
  border: 0 !important;
  width: max-content;
  padding: 8px 18px !important;
  min-height: 38px !important;
  font-size: 0.88rem !important;
  margin-top: 8px;
}

@media (max-width: 760px) {
  .clinic-card {
    grid-template-columns: 1fr;
  }
  .clinic-thumb {
    min-height: 200px;
  }
  .feature-visual,
  .profile-visual,
  .subpage-visual img,
  .study-hero-image {
    max-height: 360px;
  }
}

@media (max-width: 480px) {
  .clinic-thumb {
    min-height: 180px;
  }
  .clinic-body h3 {
    font-size: 1.2rem;
  }
}

/* === 2026-05-02 image full-display + responsive overrides === */

/* 모든 페이지의 메인 비주얼 이미지가 잘리지 않고 전체가 보이도록 처리 */
.feature-visual,
.profile-visual,
.subpage-visual img,
.study-hero-image,
.feature-visual-wrap > img {
  width: 100% !important;
  height: auto !important;
  max-height: none !important;
  object-fit: contain !important;
  background: transparent;
}

/* feature-visual-wrap이 이미지 비율을 유지하도록 */
.feature-visual-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border-radius: 28px;
  overflow: visible;
}

/* index hero overview의 우측 이미지 영역에서 잘리던 부분 보정 */
.feature-split .feature-visual-wrap,
.greeting-grid .profile-visual-wrap,
.research-split .feature-visual-wrap {
  align-self: stretch;
  min-height: auto;
}

/* clinic-thumb 같이 정해진 영역에서는 cover 유지 */
.clinic-thumb img {
  object-fit: cover !important;
  width: 100% !important;
  height: 100% !important;
}

/* 모바일 자동 맞춤 */
@media (max-width: 980px) {
  .split,
  .feature-split,
  .greeting-grid,
  .research-split,
  .subpage-hero-grid {
    grid-template-columns: 1fr !important;
    gap: 24px !important;
  }
  .feature-visual,
  .profile-visual,
  .subpage-visual img,
  .study-hero-image {
    max-height: none !important;
    height: auto !important;
  }
}

@media (max-width: 560px) {
  .container {
    width: min(var(--container), calc(100% - 24px));
  }
  .feature-visual,
  .profile-visual,
  .subpage-visual img,
  .study-hero-image {
    border-radius: 18px;
  }
}

/* === 2026-05-02 mobile nav legibility + reply 2-step gate === */

/* 모바일 햄버거 메뉴를 열었을 때 글자가 보이도록 강제 색상/배경 지정 */
@media (max-width: 991px) {
  .main-nav {
    background: #ffffff !important;
    border: 1px solid rgba(33,57,74,0.10) !important;
    box-shadow: 0 28px 70px rgba(18,36,50,0.18) !important;
    backdrop-filter: none !important;
  }
  .main-nav,
  .main-nav a,
  .main-nav .nav-link,
  .main-nav .nav-item > a,
  .main-nav .submenu a,
  .main-nav .submenu-toggle {
    color: #1d2f40 !important;
  }
  .main-nav a {
    background: transparent !important;
    font-weight: 700 !important;
  }
  .main-nav .nav-link.active,
  .main-nav a:hover {
    background: rgba(99,135,154,0.10) !important;
    color: #16283a !important;
  }
  .main-nav .submenu {
    background: #f5f8fa !important;
    border: 1px solid rgba(33,57,74,0.08) !important;
  }
  .main-nav .submenu a {
    background: transparent !important;
    color: #1d2f40 !important;
    font-weight: 600 !important;
  }
  .main-nav .submenu a:hover {
    background: rgba(99,135,154,0.14) !important;
  }
  /* home-page에서 모바일 메뉴 글자색이 흰색으로 덮어쓰여지던 부분 보정 */
  .home-page .landing-header .main-nav a,
  .home-page .landing-header .main-nav .submenu a {
    color: #1d2f40 !important;
  }
}

/* 답변 모달 2단계 게이트 */
.reply-gate { display: block; }
.reply-form-wrap { display: none; }
.service-reply-dialog.unlocked .reply-gate { display: none; }
.service-reply-dialog.unlocked .reply-form-wrap { display: block; }

.reply-gate-message {
  margin-bottom: 12px;
  color: var(--text-soft);
  line-height: 1.7;
}
.reply-gate input[type="password"] {
  width: 100%;
}
.reply-gate-form {
  display: grid;
  gap: 12px;
}

/* === 2026-05-02 new AaK logo + cinic mobile responsive === */

/* 헤더의 새 로고 이미지 */
.logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}
.logo-image {
  width: 52px;
  height: 52px;
  object-fit: contain;
  display: block;
  background: #ffffff;
  border-radius: 14px;
  padding: 2px;
  box-shadow: 0 8px 18px rgba(33, 57, 74, 0.10);
}
.logo-mark { display: none !important; }

@media (max-width: 560px) {
  .logo-image {
    width: 44px;
    height: 44px;
    border-radius: 12px;
  }
  .logo-copy strong { font-size: 0.95rem; }
  .logo-copy small { font-size: 0.66rem; letter-spacing: 0.10em; }
}

/* === cinic.html 협력 병원 목록 모바일 반응형 보강 === */
.clinic-list {
  display: grid;
  gap: 20px;
}
.clinic-card {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 24px;
  padding: 18px;
  align-items: stretch;
  background: #ffffff;
  border-radius: 22px;
  border: 1px solid rgba(33,57,74,0.06);
  box-shadow: 0 18px 40px rgba(20, 42, 58, 0.06);
}
.clinic-thumb {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  background: #eef3f6;
  min-height: 200px;
}
.clinic-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.clinic-body {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
}
.clinic-body h3 {
  margin: 0;
  word-break: keep-all;
  overflow-wrap: break-word;
}
.clinic-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
  word-break: break-all;
}
.clinic-meta span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}
.clinic-link {
  align-self: flex-start;
}

/* 태블릿 이하 — 1열 카드로 자동 변환 */
@media (max-width: 980px) {
  .clinic-card {
    grid-template-columns: 1fr !important;
    padding: 16px;
  }
  .clinic-thumb {
    min-height: 220px;
    aspect-ratio: 16 / 9;
    height: auto;
  }
}

/* 모바일 — 카드 내부 간격/폰트 자동 축소 */
@media (max-width: 640px) {
  .clinic-list {
    gap: 16px;
  }
  .clinic-card {
    padding: 14px;
    border-radius: 18px;
  }
  .clinic-thumb {
    min-height: 180px;
    border-radius: 14px;
  }
  .clinic-body h3 {
    font-size: 1.15rem;
  }
  .clinic-body p {
    font-size: 0.92rem;
    line-height: 1.65;
  }
  .clinic-badges,
  .clinic-tags {
    gap: 6px;
  }
  .clinic-badge,
  .clinic-tags span {
    font-size: 0.72rem;
    padding: 4px 9px;
  }
  .clinic-meta {
    font-size: 0.82rem;
    gap: 8px 14px;
  }
  .clinic-link {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 420px) {
  .clinic-thumb {
    min-height: 160px;
  }
  .clinic-body h3 {
    font-size: 1.05rem;
  }
}

/* === 2026-05-02 logo background removal — show logo image only === */
.logo-image {
  background: transparent !important;
  box-shadow: none !important;
  padding: 0 !important;
  border-radius: 0 !important;
  width: 56px !important;
  height: 56px !important;
  object-fit: contain !important;
}

@media (max-width: 560px) {
  .logo-image {
    width: 46px !important;
    height: 46px !important;
  }
}
