/* ================================================
   IDREAM v13 — Premium Redesign
   Design System: Editorial Dark + Gold Accent
   ================================================ */

@import url('https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/dist/web/variable/pretendardvariable-dynamic-subset.min.css');

/* ─── Design Tokens ─── */
:root {
  /* Core Palette */
  --ink:     #070E1C;
  --navy:    #0F2044;
  --navy2:   #1A3A6E;
  --blue:    #1A6DDB;
  --blue-lt: #3B8EFF;
  --sky:     #EEF5FF;
  --gold:    #E8A020;
  --gold-lt: #FEF3D7;
  --gold-dk: #B87A10;
  --white:   #FFFFFF;
  --off:     #F7F9FC;
  --ink2:    #1E293B;
  --muted:   #64748B;
  --line:    #E2E8F0;
  --green:   #10B981;
  --orange:  #F59E0B;
  --red:     #EF4444;
  --purple:  #7C3AED;

  /* Shadows */
  --shadow-sm:  0 2px 8px rgba(7,14,28,.07);
  --shadow-md:  0 8px 28px rgba(7,14,28,.10);
  --shadow-lg:  0 20px 60px rgba(7,14,28,.14);
  --shadow-xl:  0 32px 80px rgba(7,14,28,.18);
  --shadow-glow: 0 0 40px rgba(26,109,219,.22);

  /* Layout */
  --max: 1180px;
  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 28px;
  --radius-xl: 40px;
}

/* ─── Reset & Base ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body {
  font-family: 'Pretendard Variable', 'Pretendard', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink2);
  background: var(--white);
  word-break: keep-all;
  overflow-x: hidden;
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
button { font-family: inherit; }
.container {
  width: min(var(--max), calc(100% - 48px));
  margin: 0 auto;
}

/* ─── Typography ─── */
h1, h2, h3, h4 {
  color: var(--ink);
  line-height: 1.15;
  letter-spacing: -0.04em;
  font-weight: 800;
}
h1 { font-size: clamp(42px, 5.5vw, 72px); font-weight: 900; }
h2 { font-size: clamp(30px, 3.6vw, 48px); font-weight: 800; }
h3 { font-size: 22px; font-weight: 750; }
.lead {
  font-size: 18px;
  color: var(--muted);
  line-height: 1.75;
  max-width: 580px;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  border-radius: 999px;
  background: var(--sky);
  color: var(--blue);
  border: 1px solid rgba(26,109,219,.18);
  font-weight: 800;
  font-size: 13px;
  letter-spacing: .01em;
}
.eyebrow-gold {
  background: var(--gold-lt);
  color: var(--gold-dk);
  border-color: rgba(232,160,32,.25);
}
.muted { color: var(--muted); }

/* ─── Buttons ─── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: none;
  border-radius: 999px;
  padding: 14px 24px;
  font-family: inherit;
  font-weight: 800;
  font-size: 15px;
  cursor: pointer;
  transition: transform .2s, box-shadow .2s, background .2s;
  white-space: nowrap;
  letter-spacing: -.01em;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  background: linear-gradient(135deg, #1A6DDB, #0E4FA8);
  color: #fff;
  box-shadow: 0 12px 32px rgba(26,109,219,.30);
}
.btn-primary:hover { box-shadow: 0 18px 44px rgba(26,109,219,.38); }
.btn-gold {
  background: linear-gradient(135deg, var(--gold), var(--gold-dk));
  color: #fff;
  box-shadow: 0 12px 32px rgba(232,160,32,.35);
}
.btn-gold:hover { box-shadow: 0 18px 44px rgba(232,160,32,.45); }
.btn-ghost {
  background: #fff;
  color: var(--navy);
  border: 1.5px solid var(--line);
  box-shadow: var(--shadow-sm);
}
.btn-ghost:hover { border-color: var(--blue); color: var(--blue); }
.btn-ghost-dark {
  background: rgba(255,255,255,.08);
  color: rgba(255,255,255,.9);
  border: 1.5px solid rgba(255,255,255,.18);
}
.btn-ghost-dark:hover { background: rgba(255,255,255,.14); }
.btn-soft { background: var(--sky); color: var(--blue); border: 1px solid rgba(26,109,219,.14); }
.btn-navy { background: var(--navy); color: #fff; box-shadow: var(--shadow-md); }

/* ─── Badges & Tags ─── */
.badge {
  display: inline-flex;
  padding: 5px 11px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .01em;
}
.blue   { background: var(--sky); color: var(--blue); }
.green  { background: #ECFDF5; color: #065F46; }
.orange { background: #FFFBEB; color: #92400E; }
.red    { background: #FEF2F2; color: #991B1B; }
.purple { background: #F5F3FF; color: #5B21B6; }
.gold   { background: var(--gold-lt); color: var(--gold-dk); }
.tag {
  display: inline-flex;
  padding: 5px 10px;
  border-radius: 999px;
  background: var(--off);
  color: var(--muted);
  border: 1px solid var(--line);
  font-size: 12px;
  font-weight: 700;
}
.tags { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 14px; }

/* ─── Navigation ─── */
.topbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--line);
}
.nav {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  font-weight: 900;
  color: var(--ink);
  letter-spacing: -.04em;
  flex-shrink: 0;
}
.brand-mark {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: linear-gradient(135deg, #1A6DDB 0%, #0A2E6E 100%);
  display: grid;
  place-items: center;
  position: relative;
  box-shadow: 0 8px 24px rgba(26,109,219,.30);
}
.brand-mark::before {
  content: "i";
  color: var(--gold);
  font-weight: 900;
  font-size: 22px;
  line-height: 1;
  letter-spacing: 0;
}
.brand small {
  display: block;
  color: var(--muted);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0;
  margin-top: -3px;
}
.nav-links {
  display: flex;
  gap: 2px;
  font-size: 14px;
  font-weight: 700;
  color: #475569;
}
.nav-links a {
  padding: 8px 12px;
  border-radius: 10px;
  transition: background .15s, color .15s;
}
.nav-links a:hover, .nav-links a.active {
  background: var(--sky);
  color: var(--blue);
}
.nav-actions { display: flex; gap: 8px; align-items: center; flex-shrink: 0; }
.hamburger {
  display: none;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  border: 1.5px solid var(--line);
  background: #fff;
  font-size: 20px;
  cursor: pointer;
  place-items: center;
}

/* ─── HERO — Dark + Gold ─── */
.hero {
  position: relative;
  overflow: hidden;
  background: var(--ink);
  padding: 96px 0 80px;
}

/* dot grid texture */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,.08) 1px, transparent 1px);
  background-size: 32px 32px;
  pointer-events: none;
}

/* radial glow orbs */
.hero::after {
  content: "";
  position: absolute;
  top: -200px;
  right: -200px;
  width: 700px;
  height: 700px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(26,109,219,.22) 0%, transparent 65%);
  pointer-events: none;
}
.hero-glow-gold {
  position: absolute;
  bottom: -160px;
  left: -160px;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(232,160,32,.12) 0%, transparent 65%);
  pointer-events: none;
}
.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 52px;
  align-items: center;
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  border-radius: 999px;
  background: rgba(255,255,255,.07);
  color: rgba(255,255,255,.8);
  border: 1px solid rgba(255,255,255,.12);
  font-size: 13px;
  font-weight: 700;
}
.hero-eyebrow .dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 4px rgba(232,160,32,.22);
  flex-shrink: 0;
}
.hero h1 {
  color: #fff;
  margin-top: 20px;
  font-size: clamp(44px, 5.8vw, 76px);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -.05em;
}
.hero h1 .hl {
  color: var(--gold);
  display: inline;
}
.hero .lead {
  color: rgba(255,255,255,.62);
  margin-top: 20px;
  max-width: 520px;
  font-size: 17px;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}
.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 40px;
}
.hero-stat {
  padding: 16px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.09);
  border-radius: var(--radius-md);
  backdrop-filter: blur(8px);
}
.hero-stat strong {
  display: block;
  font-size: 26px;
  font-weight: 900;
  color: #fff;
  letter-spacing: -.05em;
  line-height: 1;
}
.hero-stat strong em {
  font-style: normal;
  color: var(--gold);
}
.hero-stat span {
  display: block;
  font-size: 12px;
  color: rgba(255,255,255,.5);
  font-weight: 600;
  margin-top: 5px;
}

/* Hero right panel */
.hero-panel {
  position: relative;
  z-index: 2;
}
.hero-panel-inner {
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.10);
  border-radius: var(--radius-xl);
  padding: 28px;
  backdrop-filter: blur(12px);
}
.panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}
.panel-dot-row {
  display: flex;
  gap: 6px;
}
.panel-dot-row span {
  width: 10px; height: 10px;
  border-radius: 50%;
}
.pd-red { background: #FF5F57; }
.pd-yellow { background: #FEBC2E; }
.pd-green { background: #28C840; }
.panel-label {
  font-size: 12px;
  color: rgba(255,255,255,.45);
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.hero-big-card {
  background: linear-gradient(135deg, #1A3A6E, #0E2454);
  border: 1px solid rgba(255,255,255,.10);
  border-radius: var(--radius-lg);
  padding: 22px;
  position: relative;
  overflow: hidden;
}
.hero-big-card::after {
  content: "";
  position: absolute;
  right: -30px; top: -30px;
  width: 140px; height: 140px;
  border-radius: 50%;
  background: rgba(255,255,255,.06);
}
.hero-big-card h3 {
  color: #fff;
  font-size: 17px;
  font-weight: 750;
  line-height: 1.4;
  position: relative;
  z-index: 1;
}
.hero-big-card p {
  color: rgba(255,255,255,.6);
  font-size: 13px;
  margin-top: 8px;
  position: relative;
  z-index: 1;
}
.hero-mini-stack {
  display: grid;
  gap: 10px;
  margin-top: 14px;
}
.hero-mini-card {
  display: grid;
  grid-template-columns: 44px 1fr auto;
  gap: 12px;
  align-items: center;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--radius-md);
  padding: 13px 14px;
  transition: background .2s;
}
.hero-mini-card:hover { background: rgba(255,255,255,.10); }
.hmc-icon {
  width: 44px; height: 44px;
  border-radius: 13px;
  background: rgba(255,255,255,.09);
  display: grid;
  place-items: center;
  color: var(--gold);
  font-size: 16px;
  font-weight: 900;
}
.hero-mini-card strong {
  display: block;
  color: #fff;
  font-size: 14px;
  font-weight: 750;
}
.hero-mini-card span {
  color: rgba(255,255,255,.5);
  font-size: 12px;
}

/* 히어로 미니카드 내부 뱃지 — 다크 배경 전용 오버라이드 */
.hero-mini-card .badge {
  font-size: 11px;
  font-weight: 900;
  padding: 5px 10px;
  border-radius: 999px;
  white-space: nowrap;
}
.hero-mini-card .badge.orange {
  background: rgba(245,158,11,.22);
  color: #FCD34D;
  border: 1px solid rgba(245,158,11,.35);
}
.hero-mini-card .badge.green {
  background: rgba(16,185,129,.22);
  color: #6EE7B7;
  border: 1px solid rgba(16,185,129,.35);
}
.hero-mini-card .badge.purple {
  background: rgba(124,58,237,.25);
  color: #C4B5FD;
  border: 1px solid rgba(124,58,237,.35);
}
.hero-mini-card .badge.blue {
  background: rgba(26,109,219,.25);
  color: #93C5FD;
  border: 1px solid rgba(26,109,219,.35);
}
.hero-mini-card .badge.gold {
  background: rgba(232,160,32,.22);
  color: #FCD04F;
  border: 1px solid rgba(232,160,32,.35);
}

/* ─── Sections ─── */
section { padding: 88px 0; }
section.tight { padding: 60px 0; }
.section-label {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 52px;
}
.section-label h2 { margin-top: 8px; }
.section-label p { color: var(--muted); max-width: 600px; margin-top: 10px; }
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  margin-bottom: 40px;
}
.section-head p { color: var(--muted); margin-top: 10px; }

/* background variants */
.bg-dark { background: var(--ink); }
.bg-navy { background: var(--navy); }
.bg-off  { background: var(--off); }
.bg-gold { background: linear-gradient(135deg, #FEF3D7, #FFFDF5); border-top: 1px solid rgba(232,160,32,.15); border-bottom: 1px solid rgba(232,160,32,.15); }

/* ─── Why IDREAM — Large Number Cards ─── */
.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.why-card {
  position: relative;
  overflow: hidden;
  background: #fff;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-sm);
  transition: transform .22s, box-shadow .22s, border-color .22s;
}
.why-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(26,109,219,.22);
}
.why-num {
  position: absolute;
  right: -8px;
  bottom: -20px;
  font-size: 130px;
  font-weight: 900;
  color: rgba(26,109,219,.05);
  line-height: 1;
  letter-spacing: -.06em;
  pointer-events: none;
  user-select: none;
}
.why-card-accent {
  width: 44px; height: 4px;
  background: linear-gradient(90deg, var(--blue), var(--blue-lt));
  border-radius: 2px;
  margin-bottom: 20px;
}
.why-card h3 {
  font-size: 21px;
  font-weight: 800;
  color: var(--ink);
}
.why-card p {
  color: var(--muted);
  margin-top: 10px;
  font-size: 15px;
  line-height: 1.7;
}

/* ─── Programs — Hover Cards ─── */
.programs-dark {
  background: linear-gradient(160deg, #070E1C 0%, #0F2044 100%);
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}
.programs-dark::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 28px 28px;
}
.programs-dark .eyebrow { background: rgba(255,255,255,.08); color: rgba(255,255,255,.75); border-color: rgba(255,255,255,.12); }
.programs-dark h2 { color: #fff; }
.programs-dark .lead { color: rgba(255,255,255,.55); }
.prog-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: 40px;
  position: relative;
  z-index: 2;
}
.prog-card {
  display: flex;
  flex-direction: column;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.09);
  border-radius: var(--radius-lg);
  padding: 26px 22px;
  transition: background .22s, transform .22s, border-color .22s;
  cursor: pointer;
  text-decoration: none;
  position: relative;
  overflow: hidden;
}
.prog-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  border-radius: 3px 3px 0 0;
  opacity: 0;
  transition: opacity .22s;
}
.prog-card:hover { background: rgba(255,255,255,.10); transform: translateY(-4px); border-color: rgba(255,255,255,.16); }
.prog-card:hover::before { opacity: 1; }
.prog-card.c-blue::before   { background: linear-gradient(90deg, var(--blue), var(--blue-lt)); }
.prog-card.c-green::before  { background: linear-gradient(90deg, #10B981, #34D399); }
.prog-card.c-gold::before   { background: linear-gradient(90deg, var(--gold), #FCD04F); }
.prog-card.c-purple::before { background: linear-gradient(90deg, #7C3AED, #A78BFA); }
.prog-icon {
  width: 52px; height: 52px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  font-weight: 900;
  font-size: 15px;
  margin-bottom: 18px;
  flex-shrink: 0;
}
.prog-card.c-blue   .prog-icon { background: rgba(26,109,219,.18); color: #7DB8FF; }
.prog-card.c-green  .prog-icon { background: rgba(16,185,129,.18); color: #6EE7B7; }
.prog-card.c-gold   .prog-icon { background: rgba(232,160,32,.18); color: #FCD04F; }
.prog-card.c-purple .prog-icon { background: rgba(124,58,237,.18); color: #C4B5FD; }
.prog-card h3 { color: #fff; font-size: 17px; font-weight: 800; flex: 1; }
.prog-card p  { color: rgba(255,255,255,.5); font-size: 13px; margin-top: 8px; line-height: 1.6; }
.prog-arrow {
  margin-top: 20px;
  font-size: 18px;
  color: rgba(255,255,255,.28);
  transition: color .2s, transform .2s;
}
.prog-card:hover .prog-arrow { color: rgba(255,255,255,.7); transform: translateX(4px); }

/* ─── Books Banner ─── */
.home-book-banner { padding: 0; }
.product-banner {
  background: linear-gradient(135deg, #0A2E6E, #1A6DDB);
  border-radius: var(--radius-xl);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 32px;
  align-items: center;
  padding: 40px 44px;
  box-shadow: var(--shadow-xl);
  position: relative;
  overflow: hidden;
}
.product-banner::before {
  content: "";
  position: absolute;
  right: -80px; top: -80px;
  width: 320px; height: 320px;
  border-radius: 50%;
  background: rgba(255,255,255,.06);
}
.product-banner h2, .product-banner h3 { color: #fff; }
.product-banner p { color: rgba(255,255,255,.7); margin: 12px 0 0; }
.home-book-metrics { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 22px; }
.home-book-metric {
  background: rgba(255,255,255,.10);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: var(--radius-md);
  padding: 12px 16px;
  min-width: 160px;
}
.home-book-metric strong { display: block; color: #fff; font-size: 22px; letter-spacing: -.04em; }
.home-book-metric span   { font-size: 12px; color: rgba(255,255,255,.6); font-weight: 700; }
.product-banner .hero-actions { margin-top: 0; position: relative; z-index: 2; }

/* ─── Latest Articles ─── */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.card {
  background: #fff;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  padding: 26px;
  transition: transform .22s, box-shadow .22s, border-color .22s;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.card p, .card .muted { color: var(--muted); }
.post-card { display: flex; flex-direction: column; min-height: 240px; }
.post-card .meta { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 14px; }
.post-card h3 { font-size: 20px; }
.post-card p  { flex: 1; margin-top: 8px; }
.post-card .btn { margin-top: 18px; align-self: flex-start; }
.feature-card {
  min-height: 260px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.icon {
  width: 48px; height: 48px;
  border-radius: 15px;
  display: grid;
  place-items: center;
  background: var(--sky);
  color: var(--blue);
  font-weight: 900;
  font-size: 15px;
}

/* ─── Reviews — Marquee ─── */
.reviews-section {
  background: var(--off);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
  padding: 72px 0;
}
.marquee-track {
  display: flex;
  gap: 16px;
  width: max-content;
  animation: marquee 36s linear infinite;
}
.marquee-track:hover { animation-play-state: paused; }
@keyframes marquee {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.review-chip {
  background: #fff;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 22px 26px;
  min-width: 300px;
  max-width: 340px;
  flex-shrink: 0;
  box-shadow: var(--shadow-sm);
  position: relative;
}
.review-chip::before {
  content: "\201C";
  position: absolute;
  top: 14px; right: 20px;
  font-size: 52px;
  line-height: 1;
  color: rgba(26,109,219,.10);
  font-weight: 900;
}
.review-chip p {
  font-size: 15px;
  color: var(--ink2);
  line-height: 1.65;
  font-style: italic;
  position: relative;
  z-index: 1;
}
.review-chip-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}
.review-chip-meta span { font-size: 12px; color: var(--muted); font-weight: 700; }
.quote { font-size: 46px; line-height: 1; color: rgba(26,109,219,.15); font-weight: 900; margin-bottom: 4px; }
.review-card { position: relative; overflow: hidden; min-height: 260px; }
.review-card p { font-size: 15px; color: var(--ink2); }
.story-meta {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}
.story-meta strong { color: var(--ink); font-size: 13px; }

/* ─── Cases ─── */
.case-detail-card { position: relative; overflow: hidden; min-height: 360px; }
.case-labels { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 14px; }
.case-block { border-top: 1px solid var(--line); padding-top: 14px; margin-top: 14px; }
.case-block strong { display: block; color: var(--ink); margin-bottom: 5px; }
.case-block p { margin: 0; color: var(--ink2); }
.case-outcome {
  margin-top: 16px;
  padding: 14px;
  border-radius: var(--radius-sm);
  background: var(--sky);
  border: 1px solid rgba(26,109,219,.12);
}
.case-outcome strong { display: block; color: var(--blue); margin-bottom: 4px; font-size: 13px; }
.case-outcome p { margin: 0; color: var(--ink2); font-size: 14px; }

/* ─── CTA Section ─── */
.cta-section {
  background: linear-gradient(145deg, #070E1C 0%, #0F2044 60%, #0A2E6E 100%);
  padding: 96px 0;
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,.06) 1px, transparent 1px);
  background-size: 30px 30px;
}
.cta-section::after {
  content: "";
  position: absolute;
  right: -100px; top: -100px;
  width: 500px; height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(232,160,32,.14) 0%, transparent 65%);
}
.cta-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 40px;
  align-items: center;
}
.cta-inner h2 { color: #fff; }
.cta-inner p  { color: rgba(255,255,255,.6); margin-top: 12px; max-width: 540px; }
.cta-checks { display: grid; gap: 10px; margin-top: 22px; }
.cta-check {
  display: flex;
  align-items: center;
  gap: 11px;
  color: rgba(255,255,255,.78);
  font-size: 15px;
  font-weight: 600;
}
.cta-check-icon {
  width: 24px; height: 24px;
  border-radius: 50%;
  background: rgba(232,160,32,.18);
  color: var(--gold);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  font-size: 13px;
  font-weight: 900;
}
.cta-card {
  background: rgba(255,255,255,.06);
  border: 1.5px solid rgba(255,255,255,.10);
  border-radius: var(--radius-xl);
  padding: 36px 32px;
  text-align: center;
  min-width: 280px;
  backdrop-filter: blur(12px);
}
.cta-card h3 { color: #fff; font-size: 20px; }
.cta-card p  { color: rgba(255,255,255,.55); font-size: 14px; margin-top: 8px; }
.cta-btns { display: grid; gap: 10px; margin-top: 22px; }

/* ─── Footer ─── */
.footer {
  background: #040A14;
  color: rgba(255,255,255,.65);
  padding: 52px 0 100px;
  border-top: 3px solid var(--gold);
}
.footer-grid { display: grid; grid-template-columns: 1.3fr .9fr .9fr; gap: 32px; }
.footer h3 { color: rgba(255,255,255,.9); font-size: 15px; font-weight: 800; margin-bottom: 14px; }
.footer p  { font-size: 14px; line-height: 1.8; }
.footer a  { color: rgba(255,255,255,.75); transition: color .15s; }
.footer a:hover { color: var(--gold); }
.footer small { display: block; color: rgba(255,255,255,.3); margin-top: 24px; font-size: 12px; }
.contact-footer a { display: block; margin: 3px 0; }
.footer-brand-mark {
  width: 38px; height: 38px;
  border-radius: 12px;
  background: linear-gradient(135deg, #1A6DDB, #0A2E6E);
  display: grid;
  place-items: center;
  margin-bottom: 16px;
  font-size: 19px;
  font-weight: 900;
  color: var(--gold);
}

/* ─── Fixed Mobile CTA ─── */
.fixed-mobile {
  display: none;
  position: fixed;
  left: 14px; right: 14px; bottom: 14px;
  z-index: 200;
  gap: 10px;
  padding: 10px;
  border-radius: var(--radius-lg);
  background: rgba(255,255,255,.95);
  backdrop-filter: blur(18px);
  border: 1.5px solid var(--line);
  box-shadow: var(--shadow-xl);
}
.fixed-mobile .btn { flex: 1; }

/* ─── Promo (상담신청) ─── */
.promo { background: var(--off); border-top: 1px solid var(--line); }
.promo-box { display: grid; grid-template-columns: 1fr .9fr; gap: 32px; align-items: stretch; }
.promo-list { display: grid; gap: 12px; margin-top: 22px; }
.promo-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: #fff;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-md);
  padding: 16px;
}
.check {
  flex: 0 0 28px;
  height: 28px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #ECFDF5;
  color: var(--green);
  font-weight: 900;
  font-size: 14px;
}
.apply-card {
  min-height: 400px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
  background: linear-gradient(160deg, #EEF5FF, #fff);
  border: 2px solid rgba(26,109,219,.12);
}
.apply-card .icon { margin: 0 auto 18px; width: 64px; height: 64px; border-radius: 20px; font-size: 22px; }
.notice {
  margin-top: 18px;
  padding: 14px;
  border-radius: var(--radius-sm);
  background: var(--sky);
  border: 1px solid rgba(26,109,219,.12);
  color: var(--muted);
  font-size: 13px;
  text-align: left;
}

/* ─── Page Hero (서브 페이지) ─── */
.page-hero {
  padding: 72px 0 48px;
  background: linear-gradient(160deg, #EEF5FF 0%, #fff 55%);
  border-bottom: 1px solid var(--line);
}
.page-hero h1 { font-size: clamp(36px, 4.8vw, 58px); }
.breadcrumb { font-size: 13px; color: var(--muted); font-weight: 700; margin-bottom: 12px; }
.pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 14px;
  background: #fff;
  border: 1.5px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}
.dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 5px rgba(16,185,129,.12);
}

/* ─── Filter & Blog ─── */
.filterbar { display: flex; gap: 10px; flex-wrap: wrap; margin: 20px 0 28px; }
.filter-btn {
  border: 1.5px solid var(--line);
  background: #fff;
  color: var(--ink2);
  border-radius: 999px;
  padding: 10px 16px;
  font-weight: 800;
  font-size: 14px;
  cursor: pointer;
  transition: .15s;
}
.filter-btn.active { background: var(--ink); color: #fff; border-color: var(--ink); }
.filter-btn:hover:not(.active) { border-color: var(--blue); color: var(--blue); }

/* ─── Article / Post ─── */
.article { max-width: 860px; margin: 0 auto; }
.article h2 { font-size: 30px; margin-top: 40px; }
.article h3 { margin-top: 26px; }
.article p  { color: var(--ink2); }
.article ul { padding-left: 22px; }
.article li { margin: 8px 0; }
.article-box {
  background: #fff;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  margin: 24px 0;
}

/* ─── Cases Page ─── */
.case-hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 26px; align-items: stretch; }
.case-flow { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 22px; }
.case-flow div { background: #fff; border: 1.5px solid var(--line); border-radius: var(--radius-md); padding: 16px; box-shadow: var(--shadow-sm); }
.case-flow strong { display: block; color: var(--ink); font-size: 17px; letter-spacing: -.03em; }
.case-flow span   { color: var(--muted); font-size: 13px; font-weight: 700; }
.case-matrix { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.case-matrix .card { min-height: 240px; }
.case-matrix h3 { font-size: 20px; }
.case-quote {
  background: linear-gradient(135deg, var(--ink), #0F2044);
  color: #fff;
  border-radius: var(--radius-xl);
  padding: 32px;
  box-shadow: var(--shadow-xl);
}
.case-quote h2, .case-quote h3 { color: #fff; }
.case-quote p { color: rgba(255,255,255,.72); }
.case-checklist { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-top: 18px; }
.case-checklist div { display: flex; gap: 10px; align-items: flex-start; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.10); border-radius: var(--radius-md); padding: 14px; }
.case-checklist span { flex: 0 0 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: rgba(16,185,129,.15); color: #6EE7B7; font-weight: 900; }
.case-checklist p { margin: 0; color: rgba(255,255,255,.75); font-size: 14px; }

/* 밝은 배경 체크리스트 변형 */
.case-checklist.light div { background: #fff; border: 1.5px solid var(--line); }
.case-checklist.light span { background: #ECFDF5; color: #059669; }
.case-checklist.light p { color: var(--ink2); }
.case-table { width: 100%; border-collapse: collapse; background: #fff; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm); }
.case-table th, .case-table td { padding: 14px 16px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.case-table th { background: var(--sky); color: var(--ink); font-weight: 800; }

/* ─── Dark Section (기존 호환) ─── */
.dark-section {
  background: linear-gradient(135deg, var(--ink), #0F2044);
  color: #fff;
  border-radius: var(--radius-xl);
  padding: 36px;
  box-shadow: var(--shadow-xl);
  overflow: hidden;
  position: relative;
}
.dark-section::before { content: ""; position: absolute; right: -150px; top: -160px; width: 430px; height: 430px; border-radius: 50%; background: rgba(26,109,219,.18); }
.dark-section > * { position: relative; z-index: 2; }
.dark-section h2, .dark-section h3 { color: #fff; }
.dark-section p { color: rgba(255,255,255,.72); }
.program-card {
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 16px;
  padding: 22px;
  border-radius: var(--radius-lg);
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.12);
  text-decoration: none;
  transition: background .2s;
}
.program-card:hover { background: rgba(255,255,255,.13); }
.program-icon { width: 60px; height: 60px; border-radius: var(--radius-md); display: grid; place-items: center; background: rgba(255,255,255,.12); color: #fff; font-weight: 900; font-size: 18px; }
.program-card h3 { color: #fff; }
.program-card p  { color: rgba(255,255,255,.65); font-size: 14px; margin-top: 6px; }

/* ─── Process Steps ─── */
.process { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; counter-reset: step; }
.step {
  background: #fff;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 22px;
  box-shadow: var(--shadow-sm);
  min-height: 170px;
}
.step::before {
  counter-increment: step;
  content: counter(step);
  display: grid;
  place-items: center;
  width: 36px; height: 36px;
  border-radius: 12px;
  background: var(--ink);
  color: #fff;
  font-weight: 900;
  margin-bottom: 16px;
}
.step p { color: var(--muted); font-size: 14px; margin: 8px 0 0; }

/* ─── Result strip ─── */
.result-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 22px; }
.result-box { background: #fff; border: 1.5px solid var(--line); border-radius: var(--radius-lg); padding: 20px; box-shadow: var(--shadow-sm); }
.result-box strong { display: block; color: var(--ink); font-size: 22px; letter-spacing: -.04em; }
.result-box span   { color: var(--muted); font-size: 13px; font-weight: 700; }

/* ─── FAQ ─── */
.faq { display: grid; gap: 10px; }
.faq-item { background: #fff; border: 1.5px solid var(--line); border-radius: var(--radius-md); overflow: hidden; }
.faq-q { width: 100%; border: 0; background: #fff; display: flex; justify-content: space-between; padding: 18px 20px; cursor: pointer; font-weight: 800; color: var(--ink); text-align: left; font-size: 15px; transition: color .15s; font-family: inherit; }
.faq-q:hover { color: var(--blue); }
.faq-a { display: none; padding: 0 20px 18px; color: var(--muted); }
.faq-item.open .faq-a { display: block; }

/* ─── Question Page ─── */
.question-layout { display: grid; grid-template-columns: .9fr 1.1fr; gap: 28px; align-items: start; }
.question-form { display: grid; gap: 16px; }
.question-form .field { display: grid; gap: 7px; }
.question-form label { color: var(--ink2); font-size: 14px; font-weight: 800; }
.question-form input, .question-form select, .question-form textarea { width: 100%; border: 1.5px solid var(--line); background: #fff; color: var(--ink); border-radius: var(--radius-sm); padding: 13px 15px; outline: none; font-family: inherit; font-size: 15px; transition: border-color .15s, box-shadow .15s; }
.question-form textarea { min-height: 160px; resize: vertical; }
.question-form input:focus, .question-form select:focus, .question-form textarea:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(26,109,219,.12); }
.hidden-field { display: none !important; }
.question-guide { display: grid; gap: 12px; margin-top: 20px; }
.question-guide div { display: flex; gap: 12px; align-items: flex-start; background: #fff; border: 1.5px solid var(--line); border-radius: var(--radius-md); padding: 16px; box-shadow: var(--shadow-sm); }
.question-guide span { flex: 0 0 28px; height: 28px; display: grid; place-items: center; border-radius: 50%; background: #ECFDF5; color: var(--green); font-weight: 900; }
.question-guide p { margin: 0; color: var(--ink2); }
.question-type-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.question-type-grid .card { min-height: 200px; }

/* ─── Premium Books Page ─── */
.premium-books-page { background: radial-gradient(circle at 88% 2%, rgba(26,109,219,.10), transparent 28%), linear-gradient(180deg, #EEF5FF 0%, #fff 22%, #F7F9FC 100%); }
.books-hero { padding: 70px 0 58px; position: relative; overflow: hidden; }
.books-hero::before { content: ""; position: absolute; right: -100px; top: -120px; width: 530px; height: 530px; border-radius: 50%; background: radial-gradient(circle, rgba(26,109,219,.18), transparent 66%); }
.books-hero-grid { position: relative; display: grid; grid-template-columns: 1.01fr .99fr; gap: 42px; align-items: center; }
.books-hero h1 { font-size: clamp(37px, 4.9vw, 63px); margin-top: 18px; }
.books-hero .lead { font-size: 18px; max-width: 650px; }
.books-eyebrow { background: #EEF5FF; color: var(--blue); border-color: #C3D9FF; }
.books-scorebar { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-top: 30px; }
.score-card { background: #fff; border: 1.5px solid var(--line); border-radius: var(--radius-lg); padding: 18px; box-shadow: var(--shadow-sm); position: relative; overflow: hidden; }
.score-card::before { content: ""; position: absolute; left: 0; top: 0; width: 100%; height: 4px; background: linear-gradient(90deg, var(--blue), #63C6FF); }
.score-card.pharm::before { background: linear-gradient(90deg, #0D9488, #36C59C); }
.score-kicker { display: block; font-size: 12px; font-weight: 800; color: var(--muted); margin-bottom: 8px; }
.score-number { font-weight: 900; color: var(--ink); font-size: 44px; letter-spacing: -.07em; line-height: 1; }
.score-number small { font-size: 21px; color: var(--blue); }
.score-card.pharm .score-number small { color: #0F8C70; }
.score-desc { display: block; font-size: 13px; color: #475467; font-weight: 700; line-height: 1.5; margin-top: 9px; }
.books-panel { position: relative; min-height: 548px; }
.preview-window { position: absolute; background: #fff; border: 1.5px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; box-shadow: 0 24px 62px rgba(6,25,54,.17); }
.preview-window.med   { top: 4px; left: 0; width: 93%; transform: rotate(-1.1deg); }
.preview-window.pharm { right: 0; bottom: 8px; width: 88%; transform: rotate(1.2deg); }
.preview-window img { width: 100%; height: auto; display: block; }
.preview-label { position: absolute; left: 18px; top: 16px; z-index: 2; background: rgba(6,25,54,.92); color: #fff; border-radius: 999px; padding: 7px 13px; font-size: 12px; font-weight: 800; }
.preview-window.pharm .preview-label { background: rgba(15,118,110,.96); }
.books-mini-note { position: absolute; left: 9%; bottom: 0; background: #fff; border: 1.5px solid var(--line); border-radius: var(--radius-md); padding: 12px 16px; box-shadow: var(--shadow-md); z-index: 4; font-size: 13px; font-weight: 800; color: var(--ink); }
.books-mini-note strong { color: var(--blue); }
.books-anchorbar { position: sticky; top: 72px; z-index: 20; background: rgba(255,255,255,.93); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); backdrop-filter: blur(14px); }
.books-anchorbar .container { display: flex; gap: 8px; overflow: auto; padding: 12px 0; scrollbar-width: none; }
.books-anchorbar .container::-webkit-scrollbar { display: none; }
.books-anchorbar a { white-space: nowrap; padding: 8px 14px; border-radius: 999px; background: var(--off); border: 1.5px solid var(--line); color: #315073; font-size: 13px; font-weight: 800; transition: .15s; }
.books-anchorbar a:hover { color: var(--blue); border-color: #B3D0FF; background: var(--sky); }
.books-dark { background: linear-gradient(135deg, var(--ink), #0F2044 70%, #1557A6); color: #fff; border-radius: var(--radius-xl); padding: 34px; box-shadow: var(--shadow-xl); }
.books-dark h2, .books-dark h3 { color: #fff; }
.books-dark p { color: rgba(255,255,255,.72); }
.analysis-grid { display: grid; grid-template-columns: 1.08fr .92fr; gap: 20px; align-items: start; }
.analysis-kpis { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin-top: 20px; }
.analysis-kpi { background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.12); border-radius: var(--radius-md); padding: 16px; }
.analysis-kpi strong { display: block; color: #fff; font-size: 28px; letter-spacing: -.05em; }
.analysis-kpi span { font-size: 12px; font-weight: 800; color: rgba(255,255,255,.55); }
.analysis-note { background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.10); border-radius: var(--radius-md); padding: 18px; color: rgba(255,255,255,.78); font-size: 14px; }
.analysis-note b { color: #9FD1FF; }
.books-products { display: grid; gap: 28px; }
.product-shell { background: #fff; border: 1.5px solid var(--line); border-radius: var(--radius-xl); padding: 32px; box-shadow: var(--shadow-sm); overflow: hidden; }
.product-grid { display: grid; grid-template-columns: .93fr 1.07fr; gap: 32px; align-items: start; }
.product-grid.reverse { grid-template-columns: 1.07fr .93fr; }
.product-title { margin-top: 12px; font-size: clamp(28px, 3vw, 39px); }
.product-sub { color: var(--ink2); font-size: 16px; margin: 13px 0 0; }
.product-tags { display: flex; gap: 7px; flex-wrap: wrap; margin-top: 18px; }
.product-shot { border: 1.5px solid var(--line); background: #F3F7FD; border-radius: var(--radius-lg); padding: 9px; box-shadow: var(--shadow-sm); margin-top: 4px; }
.product-shot img { border-radius: var(--radius-sm); width: 100%; }
.book-feature-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 9px; margin-top: 20px; }
.book-feature { border: 1.5px solid var(--line); background: var(--off); border-radius: var(--radius-sm); padding: 12px; color: #334155; font-size: 13px; font-weight: 700; }
.book-feature b { display: block; color: var(--ink); font-size: 14px; margin-bottom: 3px; }
.use-table, .books-table { width: 100%; border-collapse: separate; border-spacing: 0; border: 1.5px solid var(--line); border-radius: var(--radius-md); overflow: hidden; background: #fff; margin-top: 20px; font-size: 14px; }
.use-table th, .use-table td, .books-table th, .books-table td { padding: 13px 15px; border-bottom: 1px solid var(--line); vertical-align: top; text-align: left; }
.use-table tr:last-child td, .books-table tr:last-child td { border-bottom: none; }
.use-table th, .books-table th { background: var(--sky); color: var(--ink); font-weight: 800; }
.use-table td:first-child { font-weight: 800; color: var(--ink); white-space: nowrap; }
.books-table td:last-child { font-weight: 800; color: var(--blue); white-space: nowrap; }
.pharm-score-table td:last-child { color: #0F8C70; }
.disclaimer { margin-top: 17px; padding: 15px 17px; background: var(--sky); border: 1.5px solid rgba(26,109,219,.12); border-radius: var(--radius-md); color: #4B6079; font-size: 13px; line-height: 1.75; }
.disclaimer strong { color: var(--ink); }
.product-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 24px; }
.viewer-benefits { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 28px; }
.viewer-benefit { background: #fff; border: 1.5px solid var(--line); border-radius: var(--radius-lg); padding: 20px; box-shadow: var(--shadow-sm); }
.viewer-benefit strong { display: block; color: var(--ink); font-size: 17px; margin-top: 10px; }
.viewer-benefit p { margin: 7px 0 0; color: var(--muted); font-size: 13px; }
.viewer-benefit .icon { width: 46px; height: 46px; }
.process-books { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 28px; }
.process-books .step { min-height: 155px; }
.policy-box { display: grid; grid-template-columns: 1.05fr .95fr; gap: 22px; align-items: start; }
.policy-items { display: grid; gap: 10px; margin-top: 18px; }
.policy-item { display: flex; gap: 11px; align-items: flex-start; background: #fff; border: 1.5px solid var(--line); border-radius: var(--radius-md); padding: 14px; font-size: 14px; color: var(--ink2); }
.policy-item b { color: var(--ink); display: block; }
.books-contact { background: linear-gradient(135deg, var(--navy), #123F89); border-radius: var(--radius-xl); padding: 42px; color: #fff; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 28px; box-shadow: var(--shadow-xl); }
.books-contact h2 { color: #fff; }
.books-contact p { color: rgba(255,255,255,.72); margin: 13px 0 0; }
.books-contact .hero-actions { margin-top: 0; justify-content: flex-end; }
.book-cta-band { margin-top: 32px; background: linear-gradient(105deg, var(--ink), #0C3C81); border-radius: var(--radius-xl); padding: 28px 32px; display: flex; align-items: center; justify-content: space-between; gap: 22px; color: #fff; }
.book-cta-band h3 { color: #fff; font-size: 24px; }
.book-cta-band p  { color: rgba(255,255,255,.68); margin: 8px 0 0; }
.book-cta-band .btn-ghost-dark { background: rgba(255,255,255,.10); border-color: rgba(255,255,255,.20); color: #fff; }
.book-fixed-mobile { display: none; }

/* ─── Reviews Page ─── */
.review-kpi { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 24px; }
.review-kpi div { background: #fff; border: 1.5px solid var(--line); border-radius: var(--radius-lg); padding: 18px; box-shadow: var(--shadow-sm); }
.review-kpi strong { display: block; color: var(--ink); font-size: 24px; letter-spacing: -.05em; }
.review-kpi span { color: var(--muted); font-size: 13px; font-weight: 700; }
.review-source-note { background: #fff; border: 1.5px solid var(--line); border-radius: var(--radius-lg); padding: 24px; box-shadow: var(--shadow-sm); }
.review-warning { margin-top: 16px; color: #7A4B00; background: var(--gold-lt); border: 1px solid rgba(232,160,32,.25); border-radius: var(--radius-md); padding: 14px; font-size: 14px; }
.review-hero-panel { background: linear-gradient(135deg, var(--ink), #0B3F8F); border-radius: var(--radius-xl); padding: 30px; color: #fff; box-shadow: var(--shadow-xl); position: relative; overflow: hidden; }
.review-hero-panel::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: linear-gradient(90deg, var(--gold), #FCD04F); border-radius: 3px 3px 0 0; }
.review-hero-panel h3 { color: #fff; font-size: 26px; }
.review-hero-panel p  { color: rgba(255,255,255,.72); }
.warm-section { background: linear-gradient(180deg, #FFFDF5, #fff); border-top: 1px solid rgba(232,160,32,.15); border-bottom: 1px solid rgba(232,160,32,.15); }

/* ─── Contact ─── */
.contact-line { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.contact-chip { display: inline-flex; align-items: center; gap: 8px; border: 1.5px solid var(--line); background: #fff; border-radius: 999px; padding: 10px 16px; font-weight: 800; color: var(--ink); box-shadow: var(--shadow-sm); }
.contact-chip strong { color: var(--blue); }
.contact-card { background: #fff; border: 1.5px solid var(--line); border-radius: var(--radius-lg); padding: 24px; box-shadow: var(--shadow-sm); }
.contact-card a { color: var(--ink); font-weight: 900; }

/* ─── Big Card ─── */
.big-card { position: relative; overflow: hidden; background: linear-gradient(135deg, var(--navy), #103D83); color: #fff; border-radius: var(--radius-xl); padding: 26px; }
.big-card::after { content: ""; position: absolute; right: -42px; top: -54px; width: 190px; height: 190px; border-radius: 50%; background: rgba(255,255,255,.10); }
.big-card h3 { color: #fff; font-size: 23px; position: relative; z-index: 1; }
.big-card p  { color: rgba(255,255,255,.72); margin: 10px 0 0; position: relative; z-index: 1; }
.mini-card { display: grid; grid-template-columns: 48px 1fr auto; gap: 12px; align-items: center; background: #fff; border: 1.5px solid var(--line); border-radius: var(--radius-lg); padding: 15px; }
.mini-card strong { display: block; color: var(--ink); font-size: 14px; font-weight: 750; }
.mini-card span { color: var(--muted); font-size: 13px; }
.mini-stack { display: grid; gap: 11px; margin-top: 16px; }
.panel-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.hero-panel.old { background: linear-gradient(180deg, #fff, #F4F9FF); border: 1.5px solid var(--line); border-radius: var(--radius-xl); padding: 26px; box-shadow: var(--shadow-lg); }
.hero-proof { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 32px; }
.proof-chip { background: #fff; border: 1.5px solid rgba(26,109,219,.14); border-left: 3px solid var(--blue); border-radius: var(--radius-md); padding: 15px 17px; box-shadow: var(--shadow-sm); }
.proof-chip strong { display: block; color: var(--blue); font-size: 18px; letter-spacing: -.03em; }
.proof-chip span { display: block; color: var(--muted); font-size: 12px; font-weight: 700; margin-top: 3px; }

/* ─── Responsive ─── */
@media (max-width: 1040px) {
  .hero-grid, .promo-box, .cta-inner, .books-contact { grid-template-columns: 1fr; }
  .prog-grid { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .process, .result-strip { grid-template-columns: repeat(2, 1fr); }
  .case-hero-grid, .case-flow, .case-matrix { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: 1fr; }
  .books-hero-grid, .analysis-grid, .product-grid, .product-grid.reverse, .policy-box { grid-template-columns: 1fr; }
  .books-panel { min-height: 555px; margin-top: 18px; }
  .books-contact .hero-actions { justify-content: flex-start; }
  .viewer-benefits { grid-template-columns: repeat(2, 1fr); }
  .process-books { grid-template-columns: repeat(2, 1fr); }
  .review-kpi { grid-template-columns: repeat(2, 1fr); }
  .nav-links {
    display: none;
    position: absolute;
    left: 20px; right: 20px; top: 72px;
    background: #fff;
    border: 1.5px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 12px;
    box-shadow: var(--shadow-lg);
    flex-direction: column;
    align-items: stretch;
    z-index: 200;
  }
  .nav-links.open { display: flex; }
  .hamburger { display: inline-grid; }
  .product-banner { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .container { width: min(100% - 28px, var(--max)); }
  .nav { min-height: 64px; }
  .nav .btn-ghost, .nav .btn-primary, .nav .btn-navy { display: none; }
  .hero { padding: 52px 0 44px; }
  .hero-stats, .grid-3, .grid-2, .grid-4, .process, .result-strip, .footer-grid { grid-template-columns: 1fr; }
  .prog-grid { grid-template-columns: 1fr 1fr; }
  section { padding: 56px 0; }
  .section-head { display: block; }
  .hero-panel-inner, .dark-section { border-radius: var(--radius-xl); padding: 20px; }
  .fixed-mobile { display: flex; }
  .brand small { display: none; }
  .case-table { font-size: 13px; }
  .case-table th, .case-table td { padding: 10px 12px; }
  .cta-card { min-width: unset; }
  .hero h1 { font-size: clamp(36px, 9vw, 52px); }
  .case-hero-grid, .case-flow, .case-matrix, .case-checklist { grid-template-columns: 1fr; }
  .question-layout, .question-type-grid { grid-template-columns: 1fr; }
  .books-hero { padding: 44px 0 34px; }
  .books-scorebar, .analysis-kpis, .book-feature-list, .viewer-benefits, .process-books { grid-template-columns: 1fr; }
  .books-panel { min-height: 344px; }
  .preview-window.med  { width: 96%; }
  .preview-window.pharm { width: 92%; bottom: 8px; }
  .books-mini-note { display: none; }
  .books-anchorbar { top: 64px; }
  .product-shell { padding: 20px; border-radius: var(--radius-xl); }
  .score-number { font-size: 38px; }
  .books-dark { padding: 22px; border-radius: var(--radius-xl); }
  .books-contact { padding: 26px; border-radius: var(--radius-xl); }
  .book-cta-band { display: block; padding: 22px; }
  .book-cta-band .product-actions { margin-top: 18px; }
  .book-fixed-mobile { display: flex; }
  .review-kpi { grid-template-columns: 1fr; }
  .contact-line { display: grid; grid-template-columns: 1fr; }
  .contact-chip { justify-content: center; }
  .why-num { font-size: 90px; }
}
