/* =========================================================
   겨울신록에듀 — Design System
   BI: Glacier Blue #11B2EA / Deep Blue #377495
   ========================================================= */

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

:root {
  /* Brand */
  --glacier: #11b2ea;
  --glacier-600: #0e97c7;
  --glacier-300: #6fd4f4;
  --glacier-100: #d8f2fb;
  --deep: #377495;
  --deep-900: #1f4a61;
  --deep-800: #2a5d78;

  /* Neutrals */
  --ink: #0b1f2a;
  --ink-700: #1d3846;
  --ink-500: #4c6673;
  --ink-400: #7b93a0;
  --ink-300: #a9bcc6;
  --line: #e3ebef;
  --line-soft: #eef3f6;
  --paper: #ffffff;
  --paper-2: #f7fafb;
  --paper-3: #eef6f9;

  /* Dark section */
  --night: #061620;
  --night-2: #0b2432;
  --night-3: #103143;

  /* Radii */
  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 22px;
  --r-xl: 32px;

  /* Shadows */
  --sh-sm: 0 1px 2px rgba(11, 31, 42, 0.05), 0 2px 8px rgba(11, 31, 42, 0.04);
  --sh-md: 0 4px 12px rgba(11, 31, 42, 0.07), 0 12px 32px rgba(11, 31, 42, 0.06);
  --sh-lg: 0 18px 48px rgba(11, 31, 42, 0.12);
  --sh-brand: 0 10px 30px rgba(17, 178, 234, 0.25);

  --maxw: 1200px;
  --header-h: 76px;

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

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: 'Pretendard Variable', Pretendard, -apple-system, BlinkMacSystemFont,
    'Malgun Gothic', '맑은 고딕', system-ui, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.7;
  font-size: 16px;
  letter-spacing: -0.01em;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  margin: 0;
  line-height: 1.28;
  letter-spacing: -0.035em;
  font-weight: 700;
}

p { margin: 0; }

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

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

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  letter-spacing: inherit;
}

ul, ol { margin: 0; padding: 0; list-style: none; }

::selection {
  background: var(--glacier);
  color: #fff;
}

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

.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;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--deep);
}

.eyebrow::before {
  content: '';
  width: 22px;
  height: 2px;
  background: var(--glacier);
  border-radius: 2px;
}

.eyebrow.on-dark { color: var(--glacier-300); }

.section {
  padding: 108px 0;
}

.section.tight { padding: 76px 0; }
.section.tinted { background: var(--paper-2); }
.section.night {
  background: var(--night);
  color: #eaf4f8;
}

.section-head {
  max-width: 760px;
  margin-bottom: 56px;
}

.section-head.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.section-head h2 {
  font-size: clamp(28px, 3.6vw, 44px);
  margin-top: 16px;
  font-weight: 800;
}

.section-head .lead {
  margin-top: 18px;
  font-size: 17px;
  color: var(--ink-500);
  line-height: 1.75;
}

.section.night .section-head h2 { color: #fff; }
.section.night .section-head .lead { color: #a9c6d3; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  height: 52px;
  padding: 0 28px;
  border-radius: 100px;
  font-size: 15.5px;
  font-weight: 700;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.22s var(--ease), box-shadow 0.22s var(--ease),
    background 0.22s var(--ease), color 0.22s var(--ease);
  white-space: nowrap;
}

.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn-primary {
  background: linear-gradient(135deg, var(--glacier) 0%, var(--glacier-600) 100%);
  color: #fff;
  box-shadow: var(--sh-brand);
}
.btn-primary:hover { box-shadow: 0 14px 36px rgba(17, 178, 234, 0.36); }

.btn-dark {
  background: var(--ink);
  color: #fff;
  box-shadow: var(--sh-md);
}
.btn-dark:hover { background: var(--ink-700); }

.btn-outline {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}
.btn-outline:hover {
  border-color: var(--glacier);
  color: var(--glacier-600);
  background: rgba(17, 178, 234, 0.04);
}

.btn-ghost-light {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(8px);
}
.btn-ghost-light:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.4);
}

.btn-sm {
  height: 42px;
  padding: 0 18px;
  font-size: 14px;
}

.btn-block { width: 100%; }

.btn[disabled] {
  opacity: 0.55;
  cursor: not-allowed;
  transform: none !important;
}

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: saturate(160%) blur(16px);
  -webkit-backdrop-filter: saturate(160%) blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease),
    background 0.3s var(--ease);
}

.site-header.scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 1px 20px rgba(11, 31, 42, 0.05);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  height: 40px;
  flex-shrink: 0;
}

.brand-logo img {
  height: 100%;
  width: auto;
  object-fit: contain;
}

.brand-logo .mark-only { height: 40px; }

.nav-main {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
}

.nav-main a {
  position: relative;
  padding: 10px 15px;
  font-size: 15px;
  font-weight: 600;
  color: var(--ink-700);
  border-radius: 100px;
  transition: color 0.2s var(--ease), background 0.2s var(--ease);
  white-space: nowrap;
}

.nav-main a:hover { color: var(--glacier-600); background: rgba(17, 178, 234, 0.07); }
.nav-main a.active { color: var(--glacier-600); }

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: 14px;
}

.nav-phone {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 14.5px;
  font-weight: 700;
  color: var(--deep);
  padding: 8px 4px;
}

.nav-phone svg { width: 15px; height: 15px; }

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 12px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  padding: 0;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.25s var(--ease), opacity 0.2s var(--ease);
}

.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-drawer {
  position: fixed;
  top: var(--header-h);
  left: 0;
  right: 0;
  background: #fff;
  border-bottom: 1px solid var(--line);
  box-shadow: var(--sh-lg);
  padding: 12px 24px 26px;
  display: none;
  z-index: 99;
}

.mobile-drawer.open { display: block; }

.mobile-drawer a {
  display: block;
  padding: 14px 4px;
  font-size: 16.5px;
  font-weight: 600;
  border-bottom: 1px solid var(--line-soft);
}

.mobile-drawer .btn { margin-top: 18px; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: calc(var(--header-h) + 60px) 0 80px;
  background: radial-gradient(120% 100% at 78% 8%, #14425a 0%, #0a2433 42%, var(--night) 100%);
  color: #fff;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.055) 1px, transparent 1px);
  background-size: 30px 30px;
  mask-image: radial-gradient(90% 70% at 60% 30%, #000 0%, transparent 75%);
  -webkit-mask-image: radial-gradient(90% 70% at 60% 30%, #000 0%, transparent 75%);
  pointer-events: none;
}

.hero-glow {
  position: absolute;
  width: 780px;
  height: 780px;
  right: -180px;
  top: -160px;
  background: radial-gradient(circle, rgba(17, 178, 234, 0.32) 0%, transparent 62%);
  filter: blur(20px);
  pointer-events: none;
  animation: breathe 12s ease-in-out infinite;
}

@keyframes breathe {
  0%, 100% { transform: scale(1); opacity: 0.85; }
  50% { transform: scale(1.12); opacity: 1; }
}

.hero .wrap {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 60px;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 7px 16px 7px 12px;
  border-radius: 100px;
  background: rgba(17, 178, 234, 0.14);
  border: 1px solid rgba(17, 178, 234, 0.34);
  font-size: 13px;
  font-weight: 700;
  color: var(--glacier-300);
  letter-spacing: 0.01em;
}

.hero-badge .dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--glacier);
  box-shadow: 0 0 0 4px rgba(17, 178, 234, 0.2);
  animation: pulse 2.4s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 3px rgba(17, 178, 234, 0.24); }
  50% { box-shadow: 0 0 0 7px rgba(17, 178, 234, 0.05); }
}

.hero h1 {
  margin-top: 26px;
  font-size: clamp(34px, 4.6vw, 62px);
  font-weight: 800;
  line-height: 1.22;
  letter-spacing: -0.045em;
}

.hero h1 .accent {
  background: linear-gradient(120deg, var(--glacier-300) 0%, var(--glacier) 55%, #7fe3ff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-sub {
  margin-top: 24px;
  max-width: 540px;
  font-size: 17px;
  line-height: 1.8;
  color: #9fc2d2;
}

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

.hero-proof {
  margin-top: 52px;
  display: flex;
  gap: 34px;
  flex-wrap: wrap;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-proof div strong {
  display: block;
  font-size: 27px;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.03em;
}

.hero-proof div strong em {
  font-style: normal;
  font-size: 15px;
  font-weight: 700;
  color: var(--glacier);
  margin-left: 3px;
}

.hero-proof div span {
  font-size: 13px;
  color: #8fb4c4;
  letter-spacing: 0;
}

/* Hero visual: iceberg motif */
.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-iceberg {
  position: relative;
  width: 100%;
  max-width: 380px;
  filter: drop-shadow(0 30px 60px rgba(0, 0, 0, 0.45));
  animation: float 9s ease-in-out infinite;
}

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

.hero-ring {
  position: absolute;
  inset: -18%;
  border: 1px solid rgba(127, 216, 245, 0.16);
  border-radius: 50%;
  animation: spin 26s linear infinite;
}

.hero-ring::after {
  content: '';
  position: absolute;
  top: -4px; left: 50%;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--glacier);
  box-shadow: 0 0 16px 4px rgba(17, 178, 234, 0.6);
}

.hero-ring.two {
  inset: -34%;
  border-style: dashed;
  border-color: rgba(127, 216, 245, 0.1);
  animation-duration: 40s;
  animation-direction: reverse;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* ---------- Stats band ---------- */
.stats-band {
  background: var(--ink);
  color: #fff;
  padding: 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  divide-x: 1px solid rgba(255, 255, 255, 0.1);
}

.stat-cell {
  padding: 46px 30px;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
  position: relative;
  overflow: hidden;
}

.stat-cell:last-child { border-right: 0; }

.stat-cell::before {
  content: '';
  position: absolute;
  left: 0; top: 0;
  width: 0; height: 2px;
  background: var(--glacier);
  transition: width 0.5s var(--ease);
}

.stat-cell:hover::before { width: 100%; }

.stat-num {
  font-size: clamp(32px, 3.4vw, 44px);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
  color: #fff;
}

.stat-num em {
  font-style: normal;
  font-size: 16px;
  color: var(--glacier);
  font-weight: 700;
  margin-left: 4px;
}

.stat-label {
  margin-top: 12px;
  font-size: 14.5px;
  font-weight: 600;
  color: #cfe3ec;
}

.stat-note {
  margin-top: 4px;
  font-size: 12.5px;
  color: #7f9dad;
}

/* ---------- Cards / grids ---------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 32px;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease),
    border-color 0.3s var(--ease);
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--sh-md);
  border-color: rgba(17, 178, 234, 0.35);
}

.card h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 10px;
}

.card p {
  font-size: 14.5px;
  color: var(--ink-500);
  line-height: 1.72;
}

.feature-icon {
  width: 48px; height: 48px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: var(--paper-3);
  color: var(--glacier-600);
  margin-bottom: 20px;
}

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

/* ---------- Program showcase ---------- */
.program-row {
  display: grid;
  grid-template-columns: 96px 1fr 320px;
  gap: 40px;
  padding: 44px 0;
  border-bottom: 1px solid var(--line);
  align-items: start;
  transition: background 0.3s var(--ease);
}

.program-row:first-of-type { border-top: 1px solid var(--line); }

.program-row:hover { background: linear-gradient(90deg, var(--paper-3) 0%, transparent 65%); }

.program-code {
  font-size: 14px;
  font-weight: 800;
  color: var(--glacier);
  letter-spacing: 0.08em;
  padding-top: 6px;
}

.program-title {
  font-size: clamp(22px, 2.4vw, 30px);
  font-weight: 800;
  letter-spacing: -0.035em;
}

.program-sub {
  margin-top: 8px;
  font-size: 15px;
  font-weight: 600;
  color: var(--deep);
}

.program-desc {
  margin-top: 16px;
  font-size: 15px;
  color: var(--ink-500);
  line-height: 1.78;
  max-width: 620px;
}

.program-points {
  margin-top: 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tag {
  display: inline-flex;
  align-items: center;
  padding: 6px 13px;
  border-radius: 100px;
  background: var(--paper-3);
  color: var(--deep-800);
  font-size: 12.5px;
  font-weight: 600;
  border: 1px solid rgba(55, 116, 149, 0.1);
}

.program-aside {
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 22px;
  background: var(--paper-2);
}

.program-aside .label {
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--ink-400);
  text-transform: uppercase;
}

.program-aside .target {
  margin-top: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-700);
  line-height: 1.6;
}

.program-aside .btn { margin-top: 16px; }

/* ---------- Timeline ---------- */
.timeline {
  display: grid;
  gap: 0;
  border-left: 2px solid var(--line);
  margin-left: 8px;
}

.timeline-item {
  position: relative;
  padding: 0 0 34px 34px;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: -7px; top: 6px;
  width: 12px; height: 12px;
  border-radius: 50%;
  background: #fff;
  border: 2.5px solid var(--glacier);
}

.timeline-item:last-child { padding-bottom: 0; }

.timeline-time {
  font-size: 13px;
  font-weight: 800;
  color: var(--glacier-600);
  letter-spacing: 0.04em;
}

.timeline-title {
  margin-top: 4px;
  font-size: 17px;
  font-weight: 700;
}

.timeline-body {
  margin-top: 6px;
  font-size: 14.5px;
  color: var(--ink-500);
  line-height: 1.7;
}

/* ---------- Results ---------- */
.result-hero {
  background: var(--night);
}

.univ-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 12px;
}

.univ-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 15px 20px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: var(--r-md);
  transition: background 0.25s var(--ease), border-color 0.25s var(--ease);
}

.univ-item:hover {
  background: rgba(17, 178, 234, 0.1);
  border-color: rgba(17, 178, 234, 0.4);
}

.univ-name {
  font-size: 14.5px;
  font-weight: 600;
  color: #dceaf1;
}

.univ-count {
  font-size: 15px;
  font-weight: 800;
  color: var(--glacier-300);
  font-variant-numeric: tabular-nums;
}

.univ-count em { font-style: normal; font-size: 12px; opacity: 0.7; margin-left: 1px; }

/* ---------- Journal ---------- */
.journal-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.journal-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: #fff;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease),
    border-color 0.3s var(--ease);
  height: 100%;
}

.journal-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--sh-md);
  border-color: rgba(17, 178, 234, 0.3);
}

.journal-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12.5px;
  color: var(--ink-400);
}

.journal-cat {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 100px;
  background: var(--paper-3);
  color: var(--deep);
  font-weight: 700;
  font-size: 11.5px;
}

.journal-card h3 {
  font-size: 17.5px;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: -0.025em;
}

.journal-card p {
  font-size: 14px;
  color: var(--ink-500);
  line-height: 1.7;
  flex: 1;
}

.journal-more {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--glacier-600);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* ---------- CTA band ---------- */
.cta-band {
  position: relative;
  background: linear-gradient(120deg, var(--deep-900) 0%, var(--night-2) 55%, #0d3a4e 100%);
  color: #fff;
  border-radius: var(--r-xl);
  padding: 64px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}

.cta-band::after {
  content: '';
  position: absolute;
  right: -60px; bottom: -140px;
  width: 420px; height: 420px;
  background: radial-gradient(circle, rgba(17, 178, 234, 0.28) 0%, transparent 62%);
  pointer-events: none;
}

.cta-band h2 {
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 800;
  position: relative;
  z-index: 1;
}

.cta-band p {
  margin-top: 12px;
  color: #a9c6d3;
  font-size: 15.5px;
  position: relative;
  z-index: 1;
}

.cta-band .btn-group {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--night);
  color: #93aebb;
  padding: 72px 0 40px;
  font-size: 14px;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 48px;
  padding-bottom: 44px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
}

.footer-logo {
  height: 34px;
  margin-bottom: 20px;
}

.footer-brand p {
  line-height: 1.85;
  font-size: 13.5px;
  color: #86a4b3;
}

.footer-col h4 {
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 18px;
}

.footer-col a,
.footer-col span {
  display: block;
  padding: 6px 0;
  font-size: 14px;
  color: #93aebb;
  transition: color 0.2s var(--ease);
}

.footer-col a:hover { color: var(--glacier); }

.footer-contact strong {
  display: block;
  font-size: 22px;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.02em;
  margin-bottom: 10px;
}

.footer-bottom {
  padding-top: 28px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  font-size: 12.5px;
  color: #6d8a99;
}

.footer-bottom .biz { line-height: 1.9; }

/* ---------- Page hero (sub pages) ---------- */
.page-hero {
  padding: calc(var(--header-h) + 76px) 0 68px;
  background: linear-gradient(180deg, var(--paper-2) 0%, #fff 100%);
  border-bottom: 1px solid var(--line-soft);
  position: relative;
  overflow: hidden;
}

.page-hero::after {
  content: '';
  position: absolute;
  right: -120px; top: -80px;
  width: 460px; height: 460px;
  background: radial-gradient(circle, rgba(17, 178, 234, 0.11) 0%, transparent 62%);
  pointer-events: none;
}

.page-hero h1 {
  font-size: clamp(30px, 4vw, 48px);
  font-weight: 800;
  letter-spacing: -0.04em;
  margin-top: 18px;
}

.page-hero .lead {
  margin-top: 20px;
  max-width: 680px;
  font-size: 17px;
  color: var(--ink-500);
  line-height: 1.78;
}

.page-hero.on-dark {
  background: radial-gradient(110% 100% at 80% 0%, #14425a 0%, var(--night) 62%);
  border-bottom-color: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.page-hero.on-dark h1 { color: #fff; }
.page-hero.on-dark .lead { color: #a9c6d3; }

/* ---------- Info blocks ---------- */
.info-list { border-top: 1px solid var(--line); }

.info-row {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 24px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
  font-size: 15px;
}

.info-row dt {
  font-weight: 700;
  color: var(--ink-400);
  font-size: 13.5px;
  letter-spacing: 0.02em;
}

.info-row dd { margin: 0; color: var(--ink-700); line-height: 1.7; }

.value-card {
  padding: 36px 32px;
  border-radius: var(--r-lg);
  background: var(--paper-2);
  border: 1px solid var(--line-soft);
  height: 100%;
}

.value-card .num {
  font-size: 12.5px;
  font-weight: 800;
  color: var(--glacier-600);
  letter-spacing: 0.1em;
}

.value-card h3 {
  margin-top: 14px;
  font-size: 20px;
}

.value-card p {
  margin-top: 12px;
  font-size: 14.5px;
  color: var(--ink-500);
  line-height: 1.75;
}

.map-frame {
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--paper-2);
  min-height: 420px;
}

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

/* ---------- FAQ ---------- */
.faq-item {
  border-bottom: 1px solid var(--line);
}

.faq-q {
  width: 100%;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  padding: 24px 0;
  background: none;
  border: 0;
  text-align: left;
  cursor: pointer;
  font-size: 16.5px;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.55;
}

.faq-q .plus {
  flex-shrink: 0;
  width: 26px; height: 26px;
  border-radius: 50%;
  background: var(--paper-3);
  color: var(--glacier-600);
  display: grid;
  place-items: center;
  font-size: 17px;
  font-weight: 600;
  transition: transform 0.25s var(--ease), background 0.25s var(--ease);
  margin-top: 2px;
}

.faq-item.open .faq-q .plus {
  transform: rotate(45deg);
  background: var(--glacier);
  color: #fff;
}

.faq-a {
  display: none;
  padding: 0 0 26px;
  font-size: 15px;
  color: var(--ink-500);
  line-height: 1.8;
  max-width: 800px;
}

.faq-item.open .faq-a { display: block; }

/* ---------- Forms ---------- */
.form-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  padding: 44px;
  box-shadow: var(--sh-sm);
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}

.field { display: flex; flex-direction: column; gap: 9px; }
.field.full { grid-column: 1 / -1; }

.field label {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--ink-700);
  display: flex;
  align-items: center;
  gap: 6px;
}

.field label .req {
  color: var(--glacier-600);
  font-size: 15px;
  line-height: 1;
}

.field .hint {
  font-size: 12.5px;
  color: var(--ink-400);
  font-weight: 500;
}

.input,
.select,
.textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1.5px solid var(--line);
  border-radius: var(--r-md);
  background: #fff;
  color: var(--ink);
  font-size: 15px;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
  outline: none;
}

.input::placeholder, .textarea::placeholder { color: var(--ink-300); }

.input:focus,
.select:focus,
.textarea:focus {
  border-color: var(--glacier);
  box-shadow: 0 0 0 4px rgba(17, 178, 234, 0.12);
}

.input.error, .select.error, .textarea.error {
  border-color: #e05252;
  box-shadow: 0 0 0 4px rgba(224, 82, 82, 0.1);
}

.textarea { resize: vertical; min-height: 110px; line-height: 1.65; }

.select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9'%3E%3Cpath d='M1 1l6 6 6-6' stroke='%237b93a0' stroke-width='2' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 42px;
  cursor: pointer;
}

/* Date slot picker */
.slot-days {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 8px;
  margin-top: 4px;
}

.slot-day {
  border: 1.5px solid var(--line);
  background: #fff;
  border-radius: var(--r-md);
  padding: 12px 4px;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s var(--ease);
  font-family: inherit;
}

.slot-day .dow {
  display: block;
  font-size: 11.5px;
  font-weight: 700;
  color: var(--ink-400);
  letter-spacing: 0.02em;
}

.slot-day .day {
  display: block;
  font-size: 18px;
  font-weight: 800;
  color: var(--ink);
  margin-top: 2px;
  line-height: 1.2;
}

.slot-day:hover:not(:disabled) {
  border-color: var(--glacier);
  background: rgba(17, 178, 234, 0.05);
}

.slot-day.selected {
  background: var(--glacier);
  border-color: var(--glacier);
  box-shadow: var(--sh-brand);
}

.slot-day.selected .dow,
.slot-day.selected .day { color: #fff; }

.slot-day:disabled {
  opacity: 0.4;
  cursor: not-allowed;
  background: var(--paper-2);
}

.slot-day.sun .dow { color: #d97a7a; }
.slot-day.sat .dow { color: #6d8fd6; }

.slot-times {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(88px, 1fr));
  gap: 8px;
  margin-top: 4px;
}

.slot-time {
  padding: 11px 6px;
  border: 1.5px solid var(--line);
  background: #fff;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-700);
  cursor: pointer;
  transition: all 0.2s var(--ease);
  font-family: inherit;
  font-variant-numeric: tabular-nums;
}

.slot-time:hover:not(:disabled) {
  border-color: var(--glacier);
  color: var(--glacier-600);
  background: rgba(17, 178, 234, 0.05);
}

.slot-time.selected {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}

.slot-time:disabled {
  background: var(--paper-2);
  color: var(--ink-300);
  cursor: not-allowed;
  text-decoration: line-through;
  opacity: 0.7;
}

.checkbox-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13.5px;
  color: var(--ink-500);
  line-height: 1.65;
}

.checkbox-row input[type='checkbox'] {
  width: 18px; height: 18px;
  margin: 2px 0 0;
  accent-color: var(--glacier);
  flex-shrink: 0;
  cursor: pointer;
}

.checkbox-row a { color: var(--glacier-600); font-weight: 600; text-decoration: underline; }

.form-alert {
  display: none;
  padding: 14px 18px;
  border-radius: var(--r-md);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.6;
  margin-bottom: 20px;
}

.form-alert.show { display: block; }
.form-alert.error { background: #fdf0f0; color: #b23c3c; border: 1px solid #f6d5d5; }
.form-alert.success { background: #edfaf3; color: #1c7a4f; border: 1px solid #c8ecd9; }

/* Reserve summary sidebar */
.reserve-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 36px;
  align-items: start;
}

.summary-card {
  position: sticky;
  top: calc(var(--header-h) + 24px);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 28px;
  background: linear-gradient(170deg, #fff 0%, var(--paper-2) 100%);
  box-shadow: var(--sh-sm);
}

.summary-card h3 {
  font-size: 16px;
  font-weight: 800;
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}

.summary-line {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 9px 0;
  font-size: 14px;
}

.summary-line span:first-child { color: var(--ink-400); font-weight: 600; }
.summary-line span:last-child { font-weight: 700; text-align: right; }

.summary-note {
  margin-top: 18px;
  padding: 14px;
  background: var(--paper-3);
  border-radius: var(--r-md);
  font-size: 12.5px;
  color: var(--deep-800);
  line-height: 1.65;
}

/* Success panel */
.success-panel {
  text-align: center;
  padding: 56px 32px;
  border-radius: var(--r-xl);
  background: linear-gradient(170deg, #fff 0%, var(--paper-2) 100%);
  border: 1px solid var(--line);
}

.success-icon {
  width: 68px; height: 68px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--glacier) 0%, var(--glacier-600) 100%);
  color: #fff;
  display: grid;
  place-items: center;
  margin: 0 auto 24px;
  box-shadow: var(--sh-brand);
}

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

.receipt {
  max-width: 380px;
  margin: 28px auto 0;
  text-align: left;
  border: 1px dashed var(--line);
  border-radius: var(--r-md);
  padding: 22px;
  background: #fff;
}

.receipt .summary-line:last-child { border-top: 1px solid var(--line-soft); margin-top: 6px; padding-top: 12px; }

/* ---------- Admin ---------- */
.admin-shell {
  min-height: 100vh;
  background: var(--paper-2);
  padding-top: var(--header-h);
}

.login-wrap {
  min-height: calc(100vh - var(--header-h));
  display: grid;
  place-items: center;
  padding: 40px 24px;
  background: radial-gradient(100% 100% at 50% 0%, #14425a 0%, var(--night) 65%);
}

.login-card {
  width: 100%;
  max-width: 420px;
  background: #fff;
  border-radius: var(--r-xl);
  padding: 44px 40px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.35);
}

.login-card .mark { height: 52px; margin: 0 auto 22px; }
.login-card h1 { font-size: 23px; text-align: center; font-weight: 800; }
.login-card .sub {
  text-align: center;
  font-size: 13.5px;
  color: var(--ink-400);
  margin-top: 8px;
  margin-bottom: 30px;
}

.login-card .field { margin-bottom: 18px; }

.admin-head {
  background: #fff;
  border-bottom: 1px solid var(--line);
  padding: 26px 0;
}

.admin-head .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.admin-head h1 { font-size: 24px; font-weight: 800; }
.admin-head .meta { font-size: 13.5px; color: var(--ink-400); margin-top: 4px; }

.admin-actions { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }

.kpi-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  margin: 26px 0;
}

.kpi {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 20px;
}

.kpi .k-label {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--ink-400);
  letter-spacing: 0.02em;
}

.kpi .k-value {
  margin-top: 8px;
  font-size: 27px;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.kpi .k-value small { font-size: 13px; font-weight: 700; color: var(--ink-400); margin-left: 3px; }

.kpi.accent { border-color: rgba(17, 178, 234, 0.4); background: linear-gradient(160deg, #fff, #f2fbfe); }
.kpi.accent .k-value { color: var(--glacier-600); }

.admin-panel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
}

.panel-toolbar {
  padding: 18px 22px;
  border-bottom: 1px solid var(--line);
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
}

.filter-chip {
  padding: 8px 15px;
  border-radius: 100px;
  border: 1.5px solid var(--line);
  background: #fff;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink-500);
  cursor: pointer;
  transition: all 0.2s var(--ease);
  font-family: inherit;
}

.filter-chip:hover { border-color: var(--glacier); color: var(--glacier-600); }

.filter-chip.active {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}

.filter-chip .count {
  display: inline-block;
  margin-left: 6px;
  padding: 1px 6px;
  border-radius: 100px;
  background: rgba(0, 0, 0, 0.07);
  font-size: 11.5px;
  font-variant-numeric: tabular-nums;
}

.filter-chip.active .count { background: rgba(255, 255, 255, 0.2); }

.search-input {
  margin-left: auto;
  width: 240px;
  padding: 9px 14px;
  border: 1.5px solid var(--line);
  border-radius: 100px;
  font-size: 13.5px;
  outline: none;
  transition: border-color 0.2s var(--ease);
}

.search-input:focus { border-color: var(--glacier); }

.table-scroll { overflow-x: auto; }

.admin-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  min-width: 900px;
}

.admin-table th {
  text-align: left;
  padding: 13px 18px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-400);
  background: var(--paper-2);
  border-bottom: 1px solid var(--line);
  white-space: nowrap;
}

.admin-table td {
  padding: 16px 18px;
  border-bottom: 1px solid var(--line-soft);
  vertical-align: middle;
}

.admin-table tbody tr { transition: background 0.15s var(--ease); cursor: pointer; }
.admin-table tbody tr:hover { background: var(--paper-3); }
.admin-table tbody tr:last-child td { border-bottom: 0; }

.cell-name { font-weight: 700; color: var(--ink); }
.cell-phone { font-variant-numeric: tabular-nums; color: var(--ink-700); }
.cell-sub { font-size: 12.5px; color: var(--ink-400); margin-top: 2px; }
.cell-date { font-variant-numeric: tabular-nums; font-weight: 700; color: var(--ink-700); white-space: nowrap; }
.cell-time { font-variant-numeric: tabular-nums; color: var(--deep); font-weight: 600; }

.badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 11px;
  border-radius: 100px;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}

.badge::before {
  content: '';
  width: 5px; height: 5px;
  border-radius: 50%;
  background: currentColor;
}

.badge.pending { background: #fff8e6; color: #a06a00; }
.badge.confirmed { background: #e8f6fd; color: #0b7ea3; }
.badge.completed { background: #edf9f1; color: #1c7a4f; }
.badge.cancelled { background: #f4f5f7; color: #6d7a83; }
.badge.noshow { background: #fdf0f0; color: #b23c3c; }

.empty-state {
  padding: 64px 24px;
  text-align: center;
  color: var(--ink-400);
}

.empty-state svg { width: 44px; height: 44px; margin: 0 auto 14px; opacity: 0.35; }
.empty-state p { font-size: 14.5px; }

/* Modal */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(6, 22, 32, 0.55);
  backdrop-filter: blur(4px);
  z-index: 200;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.modal-backdrop.open { display: flex; }

.modal {
  background: #fff;
  border-radius: var(--r-lg);
  width: 100%;
  max-width: 560px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.35);
  animation: modalIn 0.24s var(--ease);
}

@keyframes modalIn {
  from { opacity: 0; transform: translateY(14px) scale(0.98); }
  to { opacity: 1; transform: none; }
}

.modal-head {
  padding: 24px 28px;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  position: sticky;
  top: 0;
  background: #fff;
  z-index: 1;
}

.modal-head h3 { font-size: 19px; font-weight: 800; }
.modal-head .sub { font-size: 13px; color: var(--ink-400); margin-top: 3px; }

.modal-close {
  border: 0;
  background: var(--paper-2);
  width: 34px; height: 34px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 18px;
  color: var(--ink-500);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  transition: background 0.2s var(--ease);
}

.modal-close:hover { background: var(--line); }

.modal-body { padding: 24px 28px; }

.modal-foot {
  padding: 18px 28px 24px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  position: sticky;
  bottom: 0;
  background: #fff;
  border-top: 1px solid var(--line);
}

.detail-grid { display: grid; gap: 0; }

.detail-row {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 14px;
  padding: 11px 0;
  border-bottom: 1px solid var(--line-soft);
  font-size: 14px;
}

.detail-row:last-child { border-bottom: 0; }
.detail-row dt { color: var(--ink-400); font-weight: 600; font-size: 13px; }
.detail-row dd { margin: 0; font-weight: 600; color: var(--ink-700); word-break: break-all; }

.memo-box {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.memo-box label {
  display: block;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--ink-400);
  margin-bottom: 8px;
  letter-spacing: 0.02em;
}

/* Toast */
.toast {
  position: fixed;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: var(--ink);
  color: #fff;
  padding: 13px 24px;
  border-radius: 100px;
  font-size: 14px;
  font-weight: 600;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s var(--ease), transform 0.25s var(--ease);
  z-index: 300;
  max-width: calc(100vw - 48px);
}

.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }
.toast.error { background: #b23c3c; }

/* ---------- Reveal animation ---------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero-iceberg, .hero-ring, .hero-glow, .hero-badge .dot { animation: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .hero .wrap { grid-template-columns: 1fr; gap: 44px; }
  .hero-visual { order: -1; max-width: 260px; margin: 0 auto; }
  .hero { min-height: auto; }
  .program-row { grid-template-columns: 60px 1fr; }
  .program-aside { grid-column: 2; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 36px; }
  .kpi-grid { grid-template-columns: repeat(3, 1fr); }
  .reserve-layout { grid-template-columns: 1fr; }
  .summary-card { position: static; }
}

@media (max-width: 900px) {
  .nav-main, .nav-phone { display: none; }
  .nav-toggle { display: flex; }
  .grid-3, .journal-grid { grid-template-columns: 1fr 1fr; }
  .grid-4 { grid-template-columns: 1fr 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .stat-cell:nth-child(2) { border-right: 0; }
  .stat-cell:nth-child(1), .stat-cell:nth-child(2) { border-bottom: 1px solid rgba(255,255,255,0.08); }
  .cta-band { padding: 44px 32px; }
  .section { padding: 76px 0; }
  .form-card { padding: 30px 24px; }
}

@media (max-width: 680px) {
  :root { --header-h: 66px; }
  .wrap { padding: 0 18px; }
  .grid-3, .grid-2, .journal-grid, .grid-4 { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .hero { padding-top: calc(var(--header-h) + 40px); }
  .hero-proof { gap: 22px; }
  .hero-proof div strong { font-size: 22px; }
  .program-row { grid-template-columns: 1fr; gap: 16px; padding: 32px 0; }
  .program-aside { grid-column: 1; }
  .info-row { grid-template-columns: 1fr; gap: 4px; }
  .footer-top { grid-template-columns: 1fr; gap: 30px; }
  .cta-band { padding: 34px 24px; border-radius: var(--r-lg); }
  .stats-grid { grid-template-columns: 1fr; }
  .stat-cell { border-right: 0 !important; border-bottom: 1px solid rgba(255,255,255,0.08); }
  .kpi-grid { grid-template-columns: 1fr 1fr; }
  .login-card { padding: 32px 24px; }
  .detail-row { grid-template-columns: 1fr; gap: 2px; }
  .slot-days { grid-template-columns: repeat(4, 1fr); }
  .form-card { border-radius: var(--r-lg); }
  .toast { width: calc(100vw - 36px); text-align: center; border-radius: var(--r-md); }
}

/* Print (예약 확인서) */
@media print {
  .site-header, .site-footer, .no-print, .hero-glow { display: none !important; }
  body { background: #fff; }
  .section { padding: 0; }
}

/* =========================================================
   시설 안내 · 원장 소개 (blog.naver.com/shinrok1004 원문 기반)
   ========================================================= */

/* ---------- 시설 안내 ---------- */
.facility-intro-note {
  margin-top: 14px;
  font-size: 14px;
  color: var(--ink-400);
}

.facility-jump {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 30px;
}

.facility-jump a {
  display: inline-flex;
  align-items: center;
  padding: 9px 16px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--deep);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 100px;
  transition: all 0.2s var(--ease);
}

.facility-jump a:hover {
  color: #fff;
  background: var(--glacier);
  border-color: var(--glacier);
  transform: translateY(-1px);
}

.facility-section {
  scroll-margin-top: calc(var(--header-h) + 12px);
}

.facility-section + .facility-section {
  border-top: 1px solid var(--line-soft);
}

.facility-body {
  margin-top: 40px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 34px;
}

.facility-copy {
  max-width: 860px;
  font-size: 16px;
  line-height: 1.95;
  color: var(--ink-500);
}

.facility-copy p + p { margin-top: 16px; }

.facility-bullets {
  margin-top: 26px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 10px 22px;
  list-style: none;
  padding: 0;
}

.facility-bullets li {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--ink-700);
  line-height: 1.6;
}

.facility-bullets .ico {
  flex: 0 0 auto;
  width: 16px;
  height: 16px;
  margin-top: 4px;
  color: var(--glacier-600);
}

/* 사진 그리드 */
.facility-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.facility-shot {
  margin: 0;
  border-radius: var(--r-md);
  overflow: hidden;
  background: var(--paper-2);
  border: 1px solid var(--line-soft);
  position: relative;
}

.facility-shot img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 0.5s var(--ease);
}

.facility-shot:hover img { transform: scale(1.03); }

.facility-shot.wide {
  grid-column: span 2;
}

.facility-shot.wide img { aspect-ratio: 16 / 10; }

.facility-shot figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 30px 16px 13px;
  font-size: 12.5px;
  font-weight: 600;
  color: #fff;
  background: linear-gradient(180deg, transparent 0%, rgba(6, 22, 32, 0.82) 100%);
}

.facility-outro {
  max-width: 820px;
  margin-top: 26px;
  font-size: 16.5px;
  line-height: 1.95;
  color: #a9c6d3;
}

.facility-outro p + p { margin-top: 18px; }

.facility-outro-note {
  margin-top: 30px !important;
  padding: 18px 22px;
  border-left: 3px solid var(--glacier);
  background: rgba(17, 178, 234, 0.09);
  border-radius: 0 var(--r-md) var(--r-md) 0;
  color: #fff !important;
  font-weight: 700;
}

/* ---------- 원장 소개 ---------- */
.director-photo-section {
  padding-top: 44px;
  padding-bottom: 0;
}

/* 첫 이미지 위 제목 — 일반 page-hero 보다 작게 */
.director-hero h1 {
  font-size: clamp(22px, 2.6vw, 33px);
  line-height: 1.42;
  letter-spacing: -0.035em;
  font-weight: 700;
}

/* 원장 히어로 카드: 원형 인물 + 텍스트(이미지 속 문구를 HTML로 재현) */
.director-hero-card {
  display: grid;
  grid-template-columns: 300px 1fr;
  align-items: center;
  gap: 44px;
  max-width: 940px;
  margin: 0 auto;
  padding: 34px 40px 34px 34px;
  background: var(--paper-2);
  border: 1px solid var(--line-soft);
  border-radius: var(--r-lg);
}

.director-portrait {
  margin: 0;
  line-height: 0;
}

.director-portrait img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 50%;
}

.director-hero-text { min-width: 0; }

/* 첫 이미지의 큰 문구 — 기존보다 작게 */
.director-hero-quote {
  font-size: clamp(15px, 1.5vw, 19px);
  font-weight: 700;
  line-height: 1.62;
  letter-spacing: -0.02em;
  color: var(--ink);
  word-break: keep-all;
}

/* 현재 직함 */
.director-hero-current {
  margin-top: 20px;
  font-size: 12.5px;
  font-weight: 800;
  color: var(--deep);
  letter-spacing: 0.01em;
}

/* 약력 — 이미지 속보다 작게 */
.director-hero-career {
  margin-top: 7px;
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.director-hero-career li {
  font-size: 12px;
  font-weight: 500;
  line-height: 1.55;
  color: var(--ink-500);
  word-break: keep-all;
}

.director-body {
  display: block;
  max-width: 860px;
}

.director-copy {
  font-size: 16px;
  line-height: 1.98;
  color: var(--ink-500);
}

.director-copy h2 {
  margin-top: 16px;
  margin-bottom: 24px;
  font-size: clamp(23px, 2.7vw, 32px);
  letter-spacing: -0.03em;
  color: var(--ink);
}

.director-copy p + p { margin-top: 20px; }

.director-card {
  padding: 22px 20px;
  background: var(--paper-2);
  border: 1px solid var(--line-soft);
  border-radius: var(--r-lg);
}

.director-card h3 {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: var(--glacier-600);
  text-transform: uppercase;
}

.career-list {
  margin-top: 13px;
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.career-list li {
  display: flex;
  align-items: flex-start;
  gap: 7px;
  font-size: 12.5px;
  font-weight: 500;
  color: var(--ink-700);
  line-height: 1.55;
}

.career-dot {
  flex: 0 0 auto;
  width: 16px;
  height: 16px;
  margin-top: 1px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(17, 178, 234, 0.13);
  color: var(--glacier-600);
}

.career-dot .ico { width: 8px; height: 8px; }

.director-current {
  margin-top: 16px;
  padding-top: 13px;
  border-top: 1px solid var(--line);
  font-size: 12.5px;
  font-weight: 800;
  color: var(--deep);
  line-height: 1.6;
}

.director-philosophy { background: var(--paper-2); }

.director-philosophy .director-copy {
  max-width: 860px;
  margin-top: 22px;
}

.director-systems .card { text-align: left; }

.director-sys-icon {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: rgba(17, 178, 234, 0.11);
  color: var(--glacier-600);
  margin-bottom: 16px;
}

.director-sys-icon svg { width: 21px; height: 21px; }

.director-closing {
  max-width: 860px;
  font-size: 16.5px;
  line-height: 1.98;
  color: #a9c6d3;
}

.director-closing p + p { margin-top: 20px; }

/* ---------- 반응형 ---------- */
@media (max-width: 1240px) {
  .nav-main { gap: 0; margin-left: 12px; }
  .nav-main a { padding: 10px 9px; font-size: 14px; }
  .nav-phone { display: none; }
}

@media (max-width: 900px) {
  .facility-gallery { grid-template-columns: repeat(2, 1fr); }
  .facility-shot.wide { grid-column: span 2; }
}

@media (max-width: 680px) {
  .facility-gallery { grid-template-columns: 1fr; gap: 12px; }
  .facility-shot.wide { grid-column: span 1; }
  .facility-shot img,
  .facility-shot.wide img { aspect-ratio: 4 / 3; }
  .facility-body { margin-top: 28px; gap: 26px; }
  .facility-copy { font-size: 15px; line-height: 1.9; }
  .facility-jump { gap: 7px; margin-top: 24px; }
  .facility-jump a { padding: 8px 13px; font-size: 12.5px; }
  .director-photo-section { padding-top: 30px; }
  .director-figure { border-radius: var(--r-md); }
  .director-hero-card {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 26px 22px;
    justify-items: center;
    text-align: center;
  }
  .director-portrait { max-width: 210px; }
  .director-hero-career { align-items: center; }
  .director-hero-quote { font-size: 15px; }
  .director-card { padding: 26px 22px; }
  .director-copy { font-size: 15px; }
}

/* ---------- 홈 시설 미리보기 ---------- */
.home-facility-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.home-facility-card {
  position: relative;
  display: block;
  border-radius: var(--r-md);
  overflow: hidden;
  border: 1px solid var(--line-soft);
  background: var(--paper-2);
  min-height: 210px;
}

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

.home-facility-card img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 210px;
  object-fit: cover;
  transition: transform 0.5s var(--ease);
}

.home-facility-card:hover img { transform: scale(1.04); }

.home-facility-card span {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 34px 18px 15px;
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(180deg, transparent 0%, rgba(6, 22, 32, 0.82) 100%);
}

@media (max-width: 680px) {
  .home-facility-grid { grid-template-columns: 1fr; }
  .home-facility-card.wide { grid-row: span 1; }
  .home-facility-card,
  .home-facility-card img { min-height: 180px; }
}

/* =========================================================
   버튼 내부 아이콘 크기 정규화
   (규칙이 없으면 SVG가 브라우저 기본 크기 300x150으로 렌더링됨)
   ========================================================= */
.btn svg,
.btn .ico {
  width: 17px;
  height: 17px;
  flex: 0 0 auto;
  pointer-events: none;
}

.btn-sm svg,
.btn-sm .ico {
  width: 15px;
  height: 15px;
}

/* 하단 통화(전화) 바로가기 버튼 — 아이콘·글자 크기 균형 */
.btn-block svg,
.btn-block .ico { width: 16px; height: 16px; }

.mobile-drawer svg,
.mobile-drawer .ico {
  width: 16px;
  height: 16px;
  flex: 0 0 auto;
}

.nav-phone svg,
.m-phone svg { width: 15px; height: 15px; }

/* =========================================================
   겨울신록 일상 — 하위 게시판 (아침명상 · 공지사항 · 우리의 하루)
   ========================================================= */

.board-tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  padding: 6px;
  margin-bottom: 30px;
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: 100px;
  width: fit-content;
  max-width: 100%;
}

.board-tab {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 10px 18px;
  border-radius: 100px;
  font-size: 14px;
  font-weight: 700;
  color: var(--ink-500);
  transition: all 0.2s var(--ease);
  white-space: nowrap;
}

.board-tab svg { width: 16px; height: 16px; flex: 0 0 auto; }

.board-tab:hover { color: var(--glacier-600); background: #fff; }

.board-tab.active {
  background: var(--ink);
  color: #fff;
  box-shadow: 0 4px 14px rgba(11, 31, 42, 0.18);
}

/* ---------- 게시판 카드 (허브) ---------- */
.board-card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.board-card {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 26px 24px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease),
    border-color 0.3s var(--ease);
  overflow: hidden;
}

.board-card::before {
  content: '';
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  background: var(--tone-fg, var(--glacier));
  opacity: 0.85;
}

.board-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--sh-md);
  border-color: var(--tone-fg, var(--glacier));
}

.board-card-icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  flex: 0 0 auto;
}

.board-card-icon svg { width: 22px; height: 22px; }

.board-card-body { display: flex; flex-direction: column; gap: 8px; flex: 1; min-width: 0; }

.board-card-head { display: flex; align-items: center; gap: 10px; }
.board-card-head strong { font-size: 17.5px; font-weight: 800; letter-spacing: -0.02em; }

.board-card-count {
  font-size: 11.5px;
  font-weight: 700;
  color: var(--tone-fg, var(--deep));
  background: var(--tone-bg, var(--paper-3));
  padding: 2px 9px;
  border-radius: 100px;
}

.board-card-desc {
  font-size: 13.5px;
  color: var(--ink-500);
  line-height: 1.65;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.board-card-latest {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-top: 4px;
  padding-top: 12px;
  border-top: 1px solid var(--line-soft);
  font-size: 12.5px;
  color: var(--ink-500);
  min-width: 0;
}

.board-card-latest em {
  font-style: normal;
  font-weight: 700;
  font-size: 11px;
  padding: 2px 7px;
  border-radius: 100px;
  flex: 0 0 auto;
}

.board-card-latest > span:not(.board-card-date) {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  flex: 1;
  min-width: 0;
}

.board-card-date { flex: 0 0 auto; color: var(--ink-300); font-variant-numeric: tabular-nums; }

.board-card-go {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--paper-2);
  color: var(--ink-400);
  flex: 0 0 auto;
  transition: all 0.2s var(--ease);
}
.board-card-go svg { width: 14px; height: 14px; }
.board-card:hover .board-card-go { background: var(--tone-fg, var(--glacier)); color: #fff; }

/* ---------- 섹션 프리뷰 ---------- */
.board-preview + .board-preview { border-top: 1px solid var(--line-soft); }

.board-preview-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  max-width: none;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 30px;
}
.board-preview-head > div { max-width: 660px; }
.board-preview-head h2 { font-size: clamp(24px, 3vw, 32px); margin-top: 12px; font-weight: 800; }
.board-preview-head .lead { margin-top: 12px; }

.board-kicker {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: 100px;
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.board-kicker svg { width: 13px; height: 13px; }

/* ---------- 글 목록 ---------- */
.post-list { display: grid; gap: 12px; }

.post-row {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px 24px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  transition: all 0.22s var(--ease);
}

.post-row:hover {
  border-color: rgba(17, 178, 234, 0.4);
  box-shadow: var(--sh-sm);
  transform: translateX(3px);
}

.post-row-body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 6px; }

.post-row-meta {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 12px;
  color: var(--ink-400);
  flex-wrap: wrap;
}

.post-row-date { font-variant-numeric: tabular-nums; }

.post-row-photos {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  color: var(--ink-400);
  font-weight: 600;
}
.post-row-photos svg { width: 13px; height: 13px; }

.post-row-title {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.45;
  color: var(--ink);
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.post-row-excerpt {
  font-size: 13.5px;
  color: var(--ink-500);
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.post-row-arrow {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--paper-2);
  color: var(--ink-300);
  flex: 0 0 auto;
  transition: all 0.2s var(--ease);
}
.post-row-arrow svg { width: 14px; height: 14px; }
.post-row:hover .post-row-arrow { background: var(--glacier); color: #fff; }

.board-thumb {
  width: 92px;
  flex: 0 0 auto;
  border-radius: var(--r-sm);
  overflow: hidden;
  background: var(--paper-3);
  aspect-ratio: 4 / 3;
}

.board-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }

.board-thumb-empty {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  color: var(--ink-300);
}
.board-thumb-empty svg { width: 22px; height: 22px; }

.pin-badge {
  display: inline-flex;
  align-items: center;
  padding: 2px 8px;
  margin-right: 6px;
  border-radius: 5px;
  background: var(--glacier);
  color: #fff;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.02em;
  vertical-align: 1px;
}

/* 목록 툴바 */
.board-list-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 22px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line-soft);
}

.board-list-count { font-size: 13.5px; color: var(--ink-400); }
.board-list-count strong { color: var(--ink); font-weight: 800; }

.board-search { display: flex; gap: 8px; align-items: center; }
.board-search .search-input { margin-left: 0; width: 220px; }

/* 페이지네이션 */
.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: 40px;
  flex-wrap: wrap;
}

.page-btn {
  display: inline-grid;
  place-items: center;
  min-width: 38px;
  height: 38px;
  padding: 0 12px;
  border-radius: var(--r-sm);
  border: 1px solid var(--line);
  background: #fff;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--ink-500);
  transition: all 0.2s var(--ease);
}

.page-btn:hover { border-color: var(--glacier); color: var(--glacier-600); }

.page-btn.active {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}

.page-gap { color: var(--ink-300); padding: 0 4px; }

/* 블로그 안내 */
.board-blog-note {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  flex-wrap: wrap;
  margin-top: 40px;
  padding: 26px 30px;
  background: #fff;
  border: 1px dashed var(--line);
  border-radius: var(--r-lg);
}
.board-blog-note strong { display: block; font-size: 15.5px; font-weight: 800; }
.board-blog-note p { margin: 6px 0 0; font-size: 13.5px; color: var(--ink-400); }

/* ---------- 게시글 상세 ---------- */
.article-hero {
  padding: calc(var(--header-h) + 56px) 0 34px;
  background: linear-gradient(180deg, var(--paper-2) 0%, #fff 100%);
  border-bottom: 1px solid var(--line-soft);
}

.article-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 18px;
  font-size: 13px;
  font-weight: 700;
  color: var(--ink-400);
  transition: color 0.2s var(--ease);
}
.article-back:hover { color: var(--glacier-600); }
.article-back .back-ico { width: 14px; height: 14px; transform: rotate(180deg); }

.article-hero h1 {
  margin-top: 16px;
  font-size: clamp(24px, 3.4vw, 38px);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.35;
}

.article-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 18px;
  font-size: 13px;
  color: var(--ink-400);
}
.article-meta time { font-variant-numeric: tabular-nums; }
.dot-sep { color: var(--ink-300); }

.article-body { padding-top: 44px; }

.article-gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 40px;
}

.article-gallery.single { grid-template-columns: 1fr; }

.article-figure {
  margin: 0;
  border-radius: var(--r-md);
  overflow: hidden;
  background: var(--paper-2);
  border: 1px solid var(--line-soft);
}
.article-figure img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 620px;
  object-fit: cover;
  transition: transform 0.5s var(--ease);
}
.article-figure:hover img { transform: scale(1.02); }

.article-gallery.single .article-figure img { max-height: none; }

.article-content {
  font-size: 16.5px;
  line-height: 1.95;
  color: var(--ink-700);
}
.article-content p + p { margin-top: 18px; }

.article-nav {
  display: grid;
  gap: 10px;
  margin-top: 56px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}

.article-nav-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 20px;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: #fff;
  transition: all 0.2s var(--ease);
}
.article-nav-item:not(.empty):hover { border-color: var(--glacier); background: var(--paper-2); }
.article-nav-item .labels { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.article-nav-item em { font-style: normal; font-size: 11.5px; font-weight: 700; color: var(--ink-400); }
.article-nav-item strong {
  font-size: 14.5px;
  font-weight: 700;
  color: var(--ink);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.article-nav-item svg { width: 15px; height: 15px; color: var(--ink-300); flex: 0 0 auto; }
.article-nav-item svg.up { transform: rotate(-90deg); }
.article-nav-item svg.down { transform: rotate(90deg); }
.article-nav-item.empty { color: var(--ink-300); font-size: 13.5px; border-style: dashed; }

.article-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 28px;
}

/* ---------- 관리자: 게시판 ---------- */
.admin-notice {
  margin: 22px 0 0;
  padding: 14px 20px;
  border-radius: var(--r-md);
  background: #edf9f1;
  border: 1px solid #c9ecd8;
  color: #1c7a4f;
  font-size: 13.5px;
  font-weight: 700;
}

.board-stat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin: 22px 0;
}

.board-stat {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 16px 18px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  transition: all 0.2s var(--ease);
}
.board-stat:hover { border-color: var(--tone-fg, var(--glacier)); transform: translateY(-2px); }
.board-stat.active {
  border-color: var(--tone-fg, var(--glacier));
  box-shadow: 0 0 0 3px var(--tone-bg, rgba(17,178,234,0.12));
}

.bs-icon {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  flex: 0 0 auto;
}
.bs-icon svg { width: 19px; height: 19px; }

.bs-body { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.bs-label { font-size: 12px; font-weight: 700; color: var(--ink-400); }
.bs-value { font-size: 21px; font-weight: 800; letter-spacing: -0.03em; color: var(--ink); line-height: 1.15; }

.board-admin-table { min-width: 820px; }
.cell-title-link {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 420px;
}
.cell-title-link:hover { color: var(--glacier-600); }

.btn-danger {
  background: #fdf0f0;
  color: #b23c3c;
  border-color: #f2d4d4;
}
.btn-danger:hover { background: #b23c3c; color: #fff; border-color: #b23c3c; }

/* ---------- 관리자: 글쓰기 ---------- */
.board-editor { padding: 34px; }

.editor-grid {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 34px;
  align-items: start;
}

.editor-main { display: flex; flex-direction: column; gap: 24px; min-width: 0; }

.editor-main .field + .field { margin-top: 0; }

.board-picker {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.board-pick { cursor: pointer; }
.board-pick input { position: absolute; opacity: 0; pointer-events: none; }

.bp-inner {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 13px 15px;
  border: 1.5px solid var(--line);
  border-radius: var(--r-md);
  background: #fff;
  transition: all 0.2s var(--ease);
}
.bp-icon {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  flex: 0 0 auto;
}
.bp-icon svg { width: 17px; height: 17px; }
.bp-text { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.bp-text strong { font-size: 14px; font-weight: 800; color: var(--ink); }
.bp-text em { font-style: normal; font-size: 10.5px; font-weight: 600; color: var(--ink-300); letter-spacing: 0.04em; text-transform: uppercase; }

.board-pick:hover .bp-inner { border-color: var(--tone-fg); }
.board-pick input:checked + .bp-inner {
  border-color: var(--tone-fg);
  background: var(--tone-bg);
  box-shadow: 0 0 0 3px var(--tone-bg);
}

/* 업로드존 */
.upload-zone {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 32px 22px;
  border: 2px dashed var(--line);
  border-radius: var(--r-md);
  background: var(--paper-2);
  cursor: pointer;
  text-align: center;
  transition: all 0.2s var(--ease);
  outline: none;
}
.upload-zone:hover,
.upload-zone:focus-visible,
.upload-zone.dragover {
  border-color: var(--glacier);
  background: #f2fbfe;
}
.upload-zone > svg { width: 30px; height: 30px; color: var(--glacier-600); margin-bottom: 2px; }
.upload-zone strong { font-size: 14px; font-weight: 700; color: var(--ink-700); }
.upload-zone span { font-size: 12px; color: var(--ink-400); }

.upload-previews {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(96px, 1fr));
  gap: 10px;
  margin-top: 12px;
}
.upload-previews:empty { display: none; }

.upload-previews figure,
.existing-grid figure {
  position: relative;
  margin: 0;
  border-radius: var(--r-sm);
  overflow: hidden;
  background: var(--paper-3);
  aspect-ratio: 1;
}
.upload-previews figure img,
.existing-grid figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.upload-previews figure button,
.existing-grid figure button {
  position: absolute;
  top: 4px;
  right: 4px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 0;
  background: rgba(6, 22, 32, 0.72);
  color: #fff;
  font-size: 13px;
  line-height: 1;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: background 0.2s var(--ease);
}
.upload-previews figure button:hover,
.existing-grid figure button:hover { background: #b23c3c; }

.upload-previews figure .up-busy {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background: rgba(6, 22, 32, 0.45);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
}

.existing-images { margin-top: 18px; }
.existing-label {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-400);
  margin-bottom: 10px;
}
.existing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(96px, 1fr));
  gap: 10px;
}

/* 사이드 */
.editor-side { display: flex; flex-direction: column; gap: 16px; position: sticky; top: calc(var(--header-h) + 20px); }

.side-card {
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 22px;
}

.side-title {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-400);
  margin-bottom: 18px;
}

.side-card .field { margin-bottom: 16px; }
.side-card .input { background: #fff; padding: 11px 13px; font-size: 14px; }

.switch-row {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  padding: 11px 0;
  cursor: pointer;
  border-top: 1px solid var(--line-soft);
}
.switch-row input { position: absolute; opacity: 0; pointer-events: none; }

.switch {
  position: relative;
  width: 38px;
  height: 22px;
  border-radius: 100px;
  background: var(--line);
  flex: 0 0 auto;
  margin-top: 2px;
  transition: background 0.2s var(--ease);
}
.switch::after {
  content: '';
  position: absolute;
  top: 3px;
  left: 3px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
  transition: transform 0.2s var(--ease);
}
.switch-row input:checked + .switch { background: var(--glacier); }
.switch-row input:checked + .switch::after { transform: translateX(16px); }

.switch-text { display: flex; flex-direction: column; gap: 2px; }
.switch-text strong { font-size: 13.5px; font-weight: 700; color: var(--ink-700); }
.switch-text em { font-style: normal; font-size: 11.5px; color: var(--ink-400); line-height: 1.5; }

.side-actions { display: flex; flex-direction: column; gap: 9px; background: #fff; }
.side-actions .btn { height: 44px; font-size: 14px; }

.side-note {
  padding: 16px 18px;
  border-radius: var(--r-md);
  background: rgba(17, 178, 234, 0.06);
  border-left: 3px solid var(--glacier);
}
.side-note strong {
  display: block;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--glacier-600);
  margin-bottom: 7px;
}
.side-note p { margin: 0; font-size: 12.5px; line-height: 1.65; color: var(--ink-500); }
.side-note p + p { margin-top: 8px; }

/* ---------- 반응형 ---------- */
@media (max-width: 1080px) {
  .editor-grid { grid-template-columns: 1fr; }
  .editor-side { position: static; }
  .board-card-grid { grid-template-columns: 1fr 1fr; }
  .board-card-grid .board-card:last-child { grid-column: 1 / -1; }
}

@media (max-width: 860px) {
  .board-stat-grid { grid-template-columns: 1fr 1fr; }
  .board-card-grid { grid-template-columns: 1fr; }
  .board-card-grid .board-card:last-child { grid-column: auto; }
  .board-picker { grid-template-columns: 1fr; }
  .article-gallery { grid-template-columns: 1fr; }
  .board-tabs { border-radius: var(--r-md); width: 100%; }
  .board-tab { font-size: 13px; padding: 8px 13px; }
  .board-search .search-input { width: 100%; }
  .board-search { flex: 1; }
  .post-row { padding: 16px 18px; gap: 14px; }
  .board-thumb { width: 64px; }
  .board-editor { padding: 22px 18px; }
  .cell-title-link { max-width: 200px; }
}

@media (max-width: 560px) {
  .board-stat-grid { grid-template-columns: 1fr; }
  .post-row-excerpt { display: none; }
  .post-row-title { -webkit-line-clamp: 2; display: -webkit-box; }
  .article-actions .btn { flex: 1; }
  .board-blog-note { padding: 20px; }
}

.pc-only { display: inline; }
@media (max-width: 700px) { .pc-only { display: none; } }

/* ---------- 홈: 우리의 하루 사진 스트립 ---------- */
.home-photo-strip {
  margin-top: 40px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--paper-2);
}

.home-photo-head {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}
.home-photo-head strong { font-size: 15.5px; font-weight: 800; }
.home-photo-more {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 13px;
  font-weight: 700;
  color: var(--glacier-600);
}
.home-photo-more svg { width: 14px; height: 14px; }

.home-photo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.home-photo-item {
  position: relative;
  display: block;
  border-radius: var(--r-md);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--paper-3);
}
.home-photo-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s var(--ease);
}
.home-photo-item:hover img { transform: scale(1.04); }

.home-photo-caption {
  position: absolute;
  inset: auto 0 0;
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 34px 16px 14px;
  background: linear-gradient(180deg, transparent 0%, rgba(6, 22, 32, 0.86) 100%);
}
.home-photo-caption strong {
  font-size: 13.5px;
  font-weight: 700;
  color: #fff;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.home-photo-caption em {
  font-style: normal;
  font-size: 11.5px;
  color: rgba(255, 255, 255, 0.72);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

@media (max-width: 760px) {
  .home-photo-grid { grid-template-columns: 1fr; }
  .home-photo-strip { padding: 18px; }
}

/* =========================================================
   프로그램(상품) — 공개 페이지 사진 · 배지 · 갤러리
   ========================================================= */
.program-title-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.program-badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 100px;
  background: var(--glacier);
  color: #fff;
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.program-photo {
  margin: 0 0 22px;
  border-radius: var(--r-md);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--paper-3);
  aspect-ratio: 16 / 9;
}

.program-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.program-price {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  display: grid;
  gap: 4px;
}

.program-price .label {
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--ink-400);
  text-transform: uppercase;
}

.program-price strong {
  font-size: 17px;
  font-weight: 800;
  color: var(--deep-800);
  letter-spacing: -0.02em;
}

.program-gallery {
  margin-top: 20px;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: 10px;
}

.program-gallery-item {
  display: block;
  border-radius: var(--r-sm);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--paper-3);
  aspect-ratio: 1;
  transition: transform 0.25s var(--ease), border-color 0.25s var(--ease);
}

.program-gallery-item:hover {
  transform: translateY(-2px);
  border-color: var(--glacier);
}

.program-gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* =========================================================
   관리자 — 프로그램(상품) 목록 카드
   ========================================================= */
.program-admin-list {
  display: grid;
  gap: 14px;
  padding: 18px;
}

.program-admin-card {
  display: grid;
  grid-template-columns: 168px 1fr 210px;
  gap: 20px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: #fff;
  transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.program-admin-card:hover {
  border-color: rgba(17, 178, 234, 0.45);
  box-shadow: var(--sh-sm);
}

.pac-thumb {
  position: relative;
  border-radius: var(--r-sm);
  overflow: hidden;
  background: var(--paper-3);
  aspect-ratio: 4 / 3;
}

.pac-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.pac-thumb-empty {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  gap: 6px;
  color: var(--ink-400);
  font-size: 12px;
}

.pac-thumb-empty svg {
  width: 26px;
  height: 26px;
}

.pac-thumb-empty em {
  font-style: normal;
  font-weight: 600;
}

.pac-order {
  position: absolute;
  top: 8px;
  left: 8px;
  min-width: 24px;
  height: 24px;
  padding: 0 6px;
  border-radius: 100px;
  background: rgba(6, 22, 32, 0.72);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  display: grid;
  place-items: center;
}

.pac-body {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.pac-head {
  display: flex;
  align-items: center;
  gap: 9px;
  flex-wrap: wrap;
}

.pac-code {
  font-size: 12px;
  font-weight: 800;
  color: var(--glacier);
  letter-spacing: 0.08em;
}

.pac-title {
  font-size: 17px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--ink-900);
  margin: 0;
}

.pac-sub {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--deep);
}

.pac-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  font-size: 12.5px;
  color: var(--ink-400);
}

.pac-meta span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.pac-meta svg {
  width: 14px;
  height: 14px;
}

.pac-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.pac-slug {
  font-size: 11.5px;
  color: var(--ink-300);
  word-break: break-all;
}

.pac-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-self: start;
}

.pac-btn-row {
  display: flex;
  gap: 6px;
}

/* 대표 이미지 표시 */
.existing-grid figure .cover-flag {
  position: absolute;
  bottom: 4px;
  left: 4px;
  padding: 2px 7px;
  border-radius: 100px;
  background: var(--glacier);
  color: #fff;
  font-size: 10.5px;
  font-weight: 800;
}

@media (max-width: 980px) {
  .program-admin-card { grid-template-columns: 132px 1fr; }
  .pac-actions { grid-column: 1 / -1; flex-direction: row; flex-wrap: wrap; }
  .pac-actions .btn { flex: 1; min-width: 120px; }
}

@media (max-width: 640px) {
  .program-admin-card { grid-template-columns: 1fr; }
  .pac-thumb { aspect-ratio: 16 / 9; }
  .program-admin-list { padding: 12px; gap: 12px; }
}

/* ============================================================
   입학원서 관리 (관리자) — 목록 · 상세 · LMCT 통계
   ============================================================ */

.adm-kpi-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 14px;
  margin-bottom: 22px;
}
.adm-kpi {
  padding: 20px 22px;
  border-radius: var(--r-lg, 16px);
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--sh-sm, 0 1px 2px rgba(6, 22, 32, 0.05));
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.adm-kpi-label {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-400, #7b95a3);
}
.adm-kpi-value {
  font-size: 34px;
  font-weight: 900;
  letter-spacing: -0.03em;
  color: var(--deep);
  line-height: 1.15;
}
.adm-kpi-value.adm-kpi-text { font-size: 18px; letter-spacing: -0.02em; line-height: 1.4; }
.adm-kpi-sub { font-size: 12.5px; color: var(--ink-400, #7b95a3); line-height: 1.5; }

.adm-code {
  display: inline-block;
  padding: 3px 9px;
  border-radius: 6px;
  background: var(--paper-3, #eef6f9);
  color: var(--deep);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.04em;
  white-space: nowrap;
}
.adm-head-code {
  display: inline-block;
  vertical-align: middle;
  margin-left: 10px;
  padding: 3px 10px;
  border-radius: 6px;
  background: var(--paper-3, #eef6f9);
  color: var(--deep);
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: 0.05em;
}

.adm-score {
  display: inline-block;
  min-width: 42px;
  padding: 3px 8px;
  border-radius: 7px;
  font-size: 13px;
  font-weight: 900;
  text-align: center;
  background: #eef6f9;
  color: var(--deep);
}
.adm-score.good { background: #edf9f1; color: #1c7a4f; }
.adm-score.mid { background: #e8f6fd; color: #0b7ea3; }
.adm-score.low { background: #fff8e6; color: #a06a00; }
.adm-score.vlow { background: #fdeeee; color: #a83a3a; }

.adm-app-table td { vertical-align: middle; }

/* 상세 */
.adm-detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(280px, 1fr);
  gap: 18px;
  margin-bottom: 22px;
  align-items: start;
}
.adm-info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2px 22px;
  padding: 4px 22px 18px;
}
.adm-info-row {
  display: flex;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line-soft);
  font-size: 14px;
}
.adm-info-row dt {
  flex: 0 0 96px;
  font-size: 12.5px;
  font-weight: 800;
  color: var(--ink-400, #7b95a3);
}
.adm-info-row dd {
  margin: 0;
  flex: 1;
  color: var(--ink-800, #16303d);
  font-weight: 600;
  word-break: break-all;
  line-height: 1.55;
}

.adm-longform { padding: 6px 22px 22px; display: grid; gap: 16px; }
.adm-longform-item {
  padding: 16px 18px;
  border-radius: 12px;
  background: var(--paper-2, #f7fafb);
  border: 1px solid var(--line-soft);
}
.adm-longform-item h3 {
  margin: 0 0 8px;
  font-size: 13px;
  font-weight: 900;
  color: var(--glacier);
  letter-spacing: 0.02em;
}
.adm-longform-item p {
  margin: 0;
  font-size: 14px;
  line-height: 1.75;
  color: var(--ink-600, #3c5a68);
  white-space: pre-wrap;
  word-break: break-word;
}

.adm-side-body { padding: 18px 22px 22px; }

/* 차트 패널 */
.adm-chart-panel { margin-bottom: 22px; }
.adm-chart-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-bottom: 22px;
  align-items: start;
}
.adm-panel-sub {
  margin-left: auto;
  font-size: 12.5px;
  color: var(--ink-400, #7b95a3);
}
.adm-chart-inner {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 24px;
  padding: 20px 22px;
  align-items: center;
}
.adm-chart-inner.single { grid-template-columns: 1fr; }
.adm-chart-fig { margin: 0; }
.adm-chart-fig figcaption {
  margin-top: 10px;
  font-size: 12px;
  font-weight: 700;
  color: var(--ink-400, #7b95a3);
  text-align: center;
}
.adm-canvas { position: relative; height: 230px; }
.adm-canvas.tall { height: 280px; }

.adm-summary-box {
  margin: 0 22px 18px;
  padding: 16px 18px;
  border-radius: 12px;
  background: var(--paper-3, #eef6f9);
  border-left: 3px solid var(--glacier);
}
.adm-summary-box h3 {
  margin: 0 0 7px;
  font-size: 12.5px;
  font-weight: 900;
  letter-spacing: 0.04em;
  color: var(--deep);
}
.adm-summary-box p {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.75;
  color: var(--ink-600, #3c5a68);
}

.adm-flag-list { padding: 0 22px 22px; display: grid; gap: 10px; }
.adm-flag {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 13px 16px;
  border-radius: 10px;
  background: #fffaf0;
  border: 1px solid #f3e3c4;
}
.adm-flag-badge {
  flex: 0 0 auto;
  padding: 3px 9px;
  border-radius: 6px;
  background: #c9821e;
  color: #fff;
  font-size: 11.5px;
  font-weight: 800;
  white-space: nowrap;
}
.adm-flag p {
  margin: 0;
  font-size: 13px;
  line-height: 1.65;
  color: #7a5a1c;
}

/* 분포 그래프 */
.adm-dist-list { padding: 16px 22px 6px; display: grid; gap: 12px; }
.adm-dist-row {
  display: grid;
  grid-template-columns: 84px 1fr 54px;
  align-items: center;
  gap: 12px;
}
.adm-dist-label { font-size: 12.5px; font-weight: 700; color: var(--ink-600, #3c5a68); }
.adm-dist-track {
  height: 11px;
  border-radius: 100px;
  background: #eef4f7;
  overflow: hidden;
}
.adm-dist-fill {
  display: block;
  height: 100%;
  border-radius: 100px;
  background: linear-gradient(90deg, var(--glacier), var(--deep));
  min-width: 2px;
  transition: width 0.5s ease;
}
.adm-dist-fill.alt { background: linear-gradient(90deg, #45b06a, #1f7a44); }
.adm-dist-count {
  font-size: 12.5px;
  font-weight: 800;
  color: var(--deep);
  text-align: right;
}
.adm-mini-h {
  margin: 0 0 10px;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-400, #7b95a3);
}

/* 원응답 */
.adm-raw { padding: 0; }
.adm-raw > summary {
  padding: 18px 22px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 800;
  color: var(--ink-700, #23414f);
  list-style: none;
  display: flex;
  align-items: center;
  gap: 8px;
}
.adm-raw > summary::-webkit-details-marker { display: none; }
.adm-raw > summary::before {
  content: '▸';
  color: var(--glacier);
  font-size: 13px;
  transition: transform 0.16s ease;
}
.adm-raw[open] > summary::before { transform: rotate(90deg); }
.adm-raw-body {
  padding: 0 22px 22px;
  border-top: 1px solid var(--line-soft);
}
.adm-raw-body h4 {
  margin: 18px 0 10px;
  font-size: 12.5px;
  font-weight: 900;
  color: var(--ink-400, #7b95a3);
  letter-spacing: 0.03em;
}
.adm-raw-chips { display: flex; flex-wrap: wrap; gap: 7px; }
.adm-raw-chip {
  padding: 4px 10px;
  border-radius: 7px;
  background: var(--paper-2, #f7fafb);
  border: 1px solid var(--line-soft);
  font-size: 11.5px;
  font-weight: 700;
  color: var(--ink-500, #5b7482);
  letter-spacing: 0.02em;
}
.adm-raw-chip strong { color: var(--deep); margin-left: 3px; }

@media (max-width: 1080px) {
  .adm-detail-grid { grid-template-columns: 1fr; }
  .adm-chart-grid { grid-template-columns: 1fr; }
  .adm-chart-inner { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .adm-kpi-value { font-size: 28px; }
  .adm-info-grid { grid-template-columns: 1fr; }
  .adm-dist-row { grid-template-columns: 66px 1fr 46px; gap: 8px; }
  .adm-canvas { height: 200px; }
}

@media print {
  .site-header, .site-footer, .admin-head, .admin-actions,
  .mobile-drawer, .toast, #mobile-drawer { display: none !important; }
  .admin-shell { background: #fff !important; }
  .adm-detail-grid { grid-template-columns: 1fr; }
  .admin-panel, .adm-kpi { break-inside: avoid; box-shadow: none; }
  .adm-canvas { height: 210px; }
  body { background: #fff !important; }
}

/* ============================================================
   사이드 배너 — 사이버 입학원서 (상단 탭 대신 상시 노출)
   ≥1780px : 우측 고정 카드
   ≥900px  : 우측 세로 리본
   <900px  : 하단 고정 바
   ============================================================ */

.side-banner {
  position: fixed;
  z-index: 150;
  pointer-events: none;
}
.side-banner > * { pointer-events: auto; }

/* ---------------- 세로 리본 (중간 화면) ---------------- */
.sb-ribbon {
  position: fixed;
  top: 50%;
  right: 0;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 15px 11px;
  border-radius: 14px 0 0 14px;
  background: linear-gradient(160deg, var(--glacier), var(--deep));
  color: #fff;
  text-decoration: none;
  box-shadow: 0 12px 30px -10px rgba(17, 178, 234, 0.55);
  transition: padding 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.sb-ribbon:hover {
  padding-right: 16px;
  box-shadow: 0 16px 38px -10px rgba(17, 178, 234, 0.7);
}
.sb-ribbon-icon {
  display: grid;
  place-items: center;
  width: 27px;
  height: 27px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.22);
}
.sb-ribbon-icon svg { width: 15px; height: 15px; }
.sb-ribbon-text {
  writing-mode: vertical-rl;
  letter-spacing: 0.12em;
  font-size: 13px;
  font-weight: 800;
  white-space: nowrap;
}
.sb-ribbon-arrow {
  width: 14px;
  height: 14px;
  transform: rotate(90deg);
  opacity: 0.85;
}

/* ---------------- 카드 (넓은 화면 기본) ---------------- */
.sb-card {
  position: fixed;
  top: 50%;
  right: 22px;
  transform: translateY(-50%);
  width: 246px;
  padding: 22px 20px 18px;
  border-radius: var(--r-lg, 22px);
  background: linear-gradient(168deg, #0b2432 0%, #061620 62%, #08202c 100%);
  color: #dff2fa;
  border: 1px solid rgba(111, 212, 244, 0.24);
  box-shadow: 0 24px 60px -22px rgba(6, 22, 32, 0.7), 0 0 0 1px rgba(17, 178, 234, 0.08);
  overflow: hidden;
}
.sb-card::before {
  content: '';
  position: absolute;
  top: -60px;
  right: -50px;
  width: 170px;
  height: 170px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(17, 178, 234, 0.34), transparent 68%);
  pointer-events: none;
}

.sb-close {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: #a9cfe0;
  cursor: pointer;
  transition: background 0.16s ease, color 0.16s ease;
}
.sb-close:hover { background: rgba(255, 255, 255, 0.2); color: #fff; }
.sb-close svg { width: 13px; height: 13px; }

.sb-badge {
  position: relative;
  display: inline-block;
  margin-bottom: 12px;
  padding: 4px 10px;
  border-radius: 100px;
  background: rgba(17, 178, 234, 0.18);
  border: 1px solid rgba(111, 212, 244, 0.32);
  color: var(--glacier-300, #6fd4f4);
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.03em;
}

.sb-title {
  position: relative;
  margin: 0 0 10px;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.25;
  color: #fff;
}
.sb-title strong {
  display: block;
  color: var(--glacier-300, #6fd4f4);
}

.sb-desc {
  position: relative;
  margin: 0 0 15px;
  font-size: 12.5px;
  line-height: 1.65;
  color: #9fc0cf;
}
.sb-desc em {
  font-style: normal;
  color: #cdeaf6;
  font-weight: 700;
}

.sb-list {
  position: relative;
  margin: 0 0 18px;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 7px;
}
.sb-list li {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 12px;
  font-weight: 600;
  color: #b8d6e3;
}
.sb-list svg {
  flex-shrink: 0;
  width: 13px;
  height: 13px;
  color: var(--glacier, #11b2ea);
}

.sb-cta {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  width: 100%;
  padding: 13px 12px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--glacier), var(--glacier-600, #0e97c7));
  color: #fff;
  font-size: 13.5px;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 10px 26px -12px rgba(17, 178, 234, 0.9);
  transition: transform 0.16s var(--ease), box-shadow 0.16s var(--ease);
}
.sb-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 32px -12px rgba(17, 178, 234, 1);
}
.sb-cta svg { width: 15px; height: 15px; }

.sb-tel {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: 9px;
  font-size: 11.5px;
  font-weight: 700;
  color: #8fb4c5;
  text-decoration: none;
}
.sb-tel:hover { color: var(--glacier-300, #6fd4f4); }
.sb-tel svg { width: 12px; height: 12px; }

/* ---------------- 화면 폭별 전환 ---------------- */

/* 기본(중간 화면): 리본만 */
.sb-card { display: none; }
.sb-ribbon { display: inline-flex; }

/* 아주 넓은 화면: 카드 표시, 리본 숨김 */
@media (min-width: 1780px) {
  .sb-card { display: block; }
  .sb-ribbon { display: none; }
}

/* 모바일: 하단 고정 바 */
@media (max-width: 899px) {
  .sb-ribbon { display: none; }
  .sb-card {
    display: block;
    position: fixed;
    top: auto;
    right: 0;
    left: 0;
    bottom: 0;
    transform: none;
    width: 100%;
    padding: 13px 16px calc(13px + env(safe-area-inset-bottom, 0px));
    border-radius: 18px 18px 0 0;
    border-left: 0;
    border-right: 0;
    border-bottom: 0;
    background: linear-gradient(180deg, #0b2432, #061620);
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 -10px 34px -16px rgba(6, 22, 32, 0.8);
  }
  .sb-card::before { display: none; }
  .sb-badge, .sb-list { display: none; }
  .sb-title {
    margin: 0;
    font-size: 15px;
    flex: 1 1 auto;
    min-width: 0;
  }
  .sb-title strong { display: inline; }
  .sb-desc {
    display: none;
  }
  .sb-cta {
    flex: 0 0 auto;
    width: auto;
    padding: 11px 16px;
    font-size: 12.5px;
    white-space: nowrap;
  }
  .sb-tel { display: none; }
  .sb-close { top: 6px; right: 6px; width: 22px; height: 22px; }
  .sb-close svg { width: 11px; height: 11px; }
}

/* 하단 바가 본문을 가리지 않도록 여백 확보 */
@media (max-width: 899px) {
  body:not(.no-side-banner) .site-footer { padding-bottom: 84px; }
}

/* ============================================================
 * 상단 프로모 띠 + 메인 롤링 히어로 + 2027 윈터스쿨
 * ============================================================ */

:root { --promo-h: 0px; }
body.has-promo { --promo-h: 46px; }

/* ---------- 상단 프로모 띠 ---------- */
.promo-strip {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 105;
  height: var(--promo-h);
  display: flex;
  align-items: center;
  background: linear-gradient(90deg, #0a2433 0%, #103143 46%, #0e5f80 100%);
  color: #fff;
  border-bottom: 1px solid rgba(17, 178, 234, 0.28);
}

.promo-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.promo-left {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  min-width: 0;
  font-size: 14px;
  color: #dceef7;
}

.promo-live {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
  padding: 3px 9px;
  border-radius: 100px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.22);
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: #fff;
}

.promo-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #4ce0a5;
  box-shadow: 0 0 0 3px rgba(76, 224, 165, 0.24);
  animation: pulse-dot 1.8s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.55; transform: scale(0.82); }
}

.promo-left strong {
  font-size: 14px;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.01em;
  white-space: nowrap;
}

.promo-sep {
  width: 1px;
  height: 13px;
  background: rgba(255, 255, 255, 0.24);
}

.promo-copy {
  color: #a8cede;
  font-size: 13.5px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.promo-right {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
}

.promo-tel {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13.5px;
  font-weight: 700;
  color: #cfe8f3;
  white-space: nowrap;
}

.promo-tel svg { width: 14px; height: 14px; }

.promo-apply {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 30px;
  padding: 0 14px;
  border-radius: 100px;
  background: var(--glacier);
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  white-space: nowrap;
  transition: background 0.2s var(--ease), transform 0.2s var(--ease);
}

.promo-apply svg { width: 13px; height: 13px; }
.promo-apply:hover { background: var(--glacier-600); transform: translateY(-1px); }

body.has-promo .site-header { top: var(--promo-h); }
body.has-promo .mobile-drawer { top: calc(var(--header-h) + var(--promo-h)); }

/* ---------- 롤링 히어로 ---------- */
.hero-roll {
  position: relative;
  overflow: hidden;
  background: var(--night);
  color: #fff;
  padding-top: calc(var(--header-h) + var(--promo-h));
}

.hr-track {
  position: relative;
  display: grid;
  grid-template-areas: 'stack';
  min-height: clamp(540px, calc(100vh - var(--header-h) - var(--promo-h)), 780px);
}

.hr-slide {
  grid-area: stack;
  position: relative;
  display: flex;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  transform: scale(1.03);
  transition: opacity 0.85s var(--ease), transform 1.2s var(--ease), visibility 0.85s;
  will-change: opacity, transform;
}

.hr-slide.is-active {
  opacity: 1;
  visibility: visible;
  transform: none;
  z-index: 2;
}

.hr-media {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.hr-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 42%;
  transform: scale(1.06);
  transition: transform 9s linear;
}

.hr-slide.is-active .hr-media img { transform: scale(1.14); }

.hr-veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(100deg, rgba(4, 16, 24, 0.95) 0%, rgba(5, 20, 30, 0.88) 34%, rgba(6, 22, 32, 0.5) 62%, rgba(6, 22, 32, 0.72) 100%),
    linear-gradient(180deg, rgba(4, 16, 24, 0.7) 0%, transparent 30%, transparent 62%, rgba(4, 16, 24, 0.9) 100%);
}

.hr-grid-pattern {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.07) 1px, transparent 1px);
  background-size: 34px 34px;
  mask-image: radial-gradient(80% 70% at 24% 40%, #000 0%, transparent 72%);
  -webkit-mask-image: radial-gradient(80% 70% at 24% 40%, #000 0%, transparent 72%);
  pointer-events: none;
}

.hr-inner {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 56px;
  align-items: center;
  padding-top: 56px;
  padding-bottom: 96px;
}

.hr-copy { max-width: 700px; }

.hr-chip {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 7px 15px 7px 12px;
  border-radius: 100px;
  background: rgba(17, 178, 234, 0.16);
  border: 1px solid rgba(17, 178, 234, 0.4);
  color: var(--glacier-300);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.01em;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.hr-chip-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--glacier);
  box-shadow: 0 0 0 4px rgba(17, 178, 234, 0.22);
  animation: pulse 2.4s ease-in-out infinite;
}

.hr-title {
  margin-top: 24px;
  font-size: clamp(36px, 5.2vw, 68px);
  font-weight: 800;
  line-height: 1.16;
  letter-spacing: -0.05em;
  text-shadow: 0 2px 30px rgba(0, 0, 0, 0.35);
}

.hr-accent {
  display: inline-block;
  background: linear-gradient(115deg, #8ff0ff 0%, var(--glacier) 46%, #4bd6a8 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hr-sub {
  margin-top: 22px;
  max-width: 520px;
  font-size: 16.5px;
  line-height: 1.85;
  color: #b4d3e0;
}

.hr-cta {
  margin-top: 34px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.btn-lg {
  height: 58px;
  padding: 0 34px;
  font-size: 16.5px;
}

.hr-specs {
  margin: 40px 0 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  max-width: 640px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  padding-top: 22px;
}

.hr-spec {
  padding-right: 18px;
  border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.hr-spec:last-child { border-right: 0; }
.hr-spec + .hr-spec { padding-left: 18px; }

.hr-spec dt {
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: #7fa8bb;
  text-transform: uppercase;
}

.hr-spec dd {
  margin: 6px 0 0;
  font-size: 15.5px;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.02em;
  line-height: 1.4;
}

.hr-spec dd em {
  display: block;
  margin-top: 3px;
  font-style: normal;
  font-size: 11.5px;
  font-weight: 600;
  color: var(--glacier);
  letter-spacing: 0;
}

/* 우측 패널 */
.hr-panel {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-self: center;
}

.hr-deadline {
  padding: 22px 24px;
  border-radius: var(--r-lg);
  background: linear-gradient(140deg, var(--glacier) 0%, var(--glacier-600) 58%, #0d6f93 100%);
  box-shadow: 0 20px 50px rgba(17, 178, 234, 0.32);
  color: #fff;
}

.hr-deadline-label {
  display: block;
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: 0.05em;
  color: rgba(255, 255, 255, 0.86);
}

.hr-deadline-value {
  display: block;
  margin: 6px 0 4px;
  font-size: 40px;
  font-weight: 800;
  letter-spacing: -0.05em;
  line-height: 1.05;
  font-variant-numeric: tabular-nums;
}

.hr-deadline-note {
  font-size: 12px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.82);
}

.hr-badge-card {
  padding: 20px 24px;
  border-radius: var(--r-lg);
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.hr-badge-value {
  display: block;
  font-size: 34px;
  font-weight: 800;
  letter-spacing: -0.05em;
  line-height: 1.1;
  color: #fff;
}

.hr-badge-value em {
  font-style: normal;
  margin-left: 3px;
  font-size: 15px;
  font-weight: 800;
  color: var(--glacier);
}

.hr-badge-label {
  display: block;
  margin-top: 6px;
  font-size: 12.5px;
  font-weight: 600;
  color: #96bdcd;
  line-height: 1.5;
}

/* 하단 UI */
.hr-ui {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 5;
}

.hr-ui-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding-bottom: 26px;
}

.hr-dots {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.hr-dot {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 100px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.05);
  color: #9dc0d0;
  font-size: 12.5px;
  font-weight: 700;
  cursor: pointer;
  overflow: hidden;
  transition: color 0.25s var(--ease), border-color 0.25s var(--ease),
    background 0.25s var(--ease);
}

.hr-dot:hover { color: #fff; border-color: rgba(255, 255, 255, 0.34); }

.hr-dot.is-active {
  color: #fff;
  border-color: rgba(17, 178, 234, 0.6);
  background: rgba(17, 178, 234, 0.16);
}

.hr-dot-fill {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 0;
  background: rgba(17, 178, 234, 0.28);
  pointer-events: none;
}

.hr-dot-label { position: relative; z-index: 1; white-space: nowrap; }

.hr-nav { display: flex; gap: 8px; flex-shrink: 0; }

.hr-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.24);
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  cursor: pointer;
  transition: background 0.2s var(--ease), border-color 0.2s var(--ease),
    transform 0.2s var(--ease);
}

.hr-arrow svg { width: 18px; height: 18px; }
.hr-arrow:hover { background: rgba(17, 178, 234, 0.9); border-color: transparent; }
.hr-arrow:first-child svg { transform: rotate(180deg); }
.hr-arrow:active { transform: scale(0.94); }

/* ---------- 2027 윈터스쿨 모집요강 ---------- */
.winter-sec {
  background:
    radial-gradient(80% 60% at 92% 0%, rgba(17, 178, 234, 0.07) 0%, transparent 60%),
    var(--paper);
}

.winter-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
  padding-bottom: 34px;
  border-bottom: 1px solid var(--line);
}

.winter-head-copy h2 {
  margin: 14px 0 0;
  font-size: clamp(28px, 3.4vw, 42px);
  font-weight: 800;
  letter-spacing: -0.045em;
  color: var(--ink);
}

.winter-head-copy h2 span {
  background: linear-gradient(115deg, var(--glacier-600) 0%, var(--deep) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.winter-head-copy .lead {
  margin: 14px 0 0;
  max-width: 560px;
  font-size: 16px;
  line-height: 1.75;
  color: var(--ink-500);
}

.winter-deadline {
  flex-shrink: 0;
  display: grid;
  gap: 2px;
  padding: 16px 24px;
  border-radius: var(--r-md);
  background: var(--ink);
  color: #fff;
  text-align: right;
}

.winter-deadline span {
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--glacier-300);
  text-transform: uppercase;
}

.winter-deadline strong {
  font-size: 30px;
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.1;
}

.winter-deadline em {
  font-style: normal;
  font-size: 11.5px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.66);
}

.winter-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 358px;
  gap: 36px;
  margin-top: 38px;
  align-items: start;
}

.winter-rows { margin: 0; }

.winter-row {
  display: grid;
  grid-template-columns: 132px minmax(0, 1fr);
  gap: 18px;
  padding: 17px 4px;
  border-bottom: 1px solid var(--line-soft);
}

.winter-row:first-child { border-top: 1px solid var(--line-soft); }

.winter-row dt {
  font-size: 13.5px;
  font-weight: 800;
  color: var(--deep);
  letter-spacing: -0.01em;
}

.winter-row dd {
  margin: 0;
  font-size: 15.5px;
  font-weight: 600;
  color: var(--ink-700);
  line-height: 1.6;
}

.winter-notes {
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
}

.winter-notes li {
  position: relative;
  padding-left: 16px;
  font-size: 13.5px;
  line-height: 1.65;
  color: var(--ink-500);
}

.winter-notes li::before {
  content: '';
  position: absolute;
  left: 2px;
  top: 8px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--glacier);
}

.winter-cta-card {
  position: sticky;
  top: calc(var(--header-h) + var(--promo-h) + 24px);
  padding: 30px 26px;
  border-radius: var(--r-lg);
  background: linear-gradient(160deg, #0b2432 0%, #061620 62%, #08202c 100%);
  color: #fff;
  box-shadow: var(--sh-lg);
  display: grid;
  gap: 12px;
}

.winter-cta-kicker {
  justify-self: start;
  padding: 4px 11px;
  border-radius: 100px;
  background: rgba(17, 178, 234, 0.18);
  border: 1px solid rgba(17, 178, 234, 0.42);
  color: var(--glacier-300);
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.03em;
}

.winter-cta-title {
  display: block;
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 1.15;
}

.winter-cta-title em {
  display: block;
  margin-top: 4px;
  font-style: normal;
  font-size: 13px;
  font-weight: 700;
  color: var(--glacier);
  letter-spacing: 0;
}

.winter-cta-card p {
  margin: 4px 0 8px;
  font-size: 13.5px;
  line-height: 1.7;
  color: #a6c6d4;
}

.winter-cta-card .btn-outline {
  border-color: rgba(255, 255, 255, 0.28);
  color: #fff;
}

.winter-cta-card .btn-outline:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.45);
}

.winter-cta-tel {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 4px;
  padding: 12px 0 2px;
  font-size: 17px;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.01em;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.winter-cta-tel svg { width: 16px; height: 16px; color: var(--glacier); }

.winter-perks {
  margin-top: 44px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.winter-perk {
  padding: 26px 22px;
  border-radius: var(--r-md);
  background: var(--paper-2);
  border: 1px solid var(--line);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease),
    border-color 0.25s var(--ease);
}

.winter-perk:hover {
  transform: translateY(-4px);
  border-color: var(--glacier-100);
  box-shadow: var(--sh-md);
}

.winter-perk-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--glacier-100);
  color: var(--deep);
}

.winter-perk-icon svg { width: 21px; height: 21px; }

.winter-perk h3 {
  margin: 16px 0 8px;
  font-size: 15.5px;
  font-weight: 800;
  letter-spacing: -0.025em;
  color: var(--ink);
}

.winter-perk p {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.7;
  color: var(--ink-500);
}

.winter-schedule {
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.winter-step {
  position: relative;
  display: grid;
  gap: 3px;
  padding: 22px 24px;
  border-radius: var(--r-md);
  background: var(--ink);
  color: #fff;
  overflow: hidden;
}

.winter-step::after {
  content: '';
  position: absolute;
  right: -40px;
  top: -40px;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(17, 178, 234, 0.22) 0%, transparent 70%);
}

.winter-step-no {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: var(--glacier);
}

.winter-step-period {
  font-size: 12.5px;
  font-weight: 700;
  color: #8fb4c4;
  font-variant-numeric: tabular-nums;
}

.winter-step strong {
  margin-top: 4px;
  font-size: 19px;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.winter-step em {
  font-style: normal;
  font-size: 12.5px;
  font-weight: 600;
  color: #9dc0d0;
  line-height: 1.5;
}

/* ---------- 반응형 ---------- */
@media (max-width: 1180px) {
  .hr-inner { grid-template-columns: minmax(0, 1fr) 300px; gap: 34px; }
  .winter-body { grid-template-columns: minmax(0, 1fr) 320px; gap: 26px; }
  .winter-perks { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 1024px) {
  .hr-panel { display: none; }
  .hr-inner { grid-template-columns: minmax(0, 1fr); padding-bottom: 88px; }
  .hr-copy { max-width: 640px; }
  .winter-body { grid-template-columns: minmax(0, 1fr); }
  .winter-cta-card { position: static; }
  .winter-schedule { grid-template-columns: 1fr; }
}

@media (max-width: 900px) {
  .promo-copy, .promo-tel { display: none; }
  .hr-title { font-size: clamp(32px, 7vw, 46px); }
  .hr-track { min-height: 0; }
  .hr-inner { padding-top: 44px; padding-bottom: 110px; }
  .hr-dot-label { display: none; }
  .hr-dot { width: 34px; height: 8px; padding: 0; border-radius: 100px; }
  .hr-dot-fill { width: 100%; transform: scaleX(0); transform-origin: left center;
    background: var(--glacier); transition: transform 0 linear; }
  .hr-dot.is-active { background: rgba(255, 255, 255, 0.18); }
}

@media (max-width: 700px) {
  body.has-promo { --promo-h: 42px; }
  .promo-copy, .promo-sep { display: none; }
  .promo-left { font-size: 13px; gap: 8px; }
  .promo-left strong { font-size: 13px; }
  .hr-specs { grid-template-columns: 1fr 1fr; gap: 16px 0; }
  .hr-spec:nth-child(2) { border-right: 0; }
  .hr-spec:last-child { grid-column: 1 / -1; border-right: 0; padding-left: 0; }
  .btn-lg { height: 52px; padding: 0 22px; font-size: 15px; }
  .winter-head { align-items: flex-start; }
  .winter-deadline { text-align: left; }
  .winter-row { grid-template-columns: 1fr; gap: 4px; padding: 14px 2px; }
  .winter-perks { grid-template-columns: 1fr; }
  .hr-ui-inner { gap: 12px; }
  .hr-arrow { width: 40px; height: 40px; }
  .promo-apply { height: 27px; padding: 0 11px; font-size: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  .hr-slide { transition: opacity 0.2s linear; transform: none; }
  .hr-media img, .hr-slide.is-active .hr-media img { transition: none; transform: none; }
  .promo-dot, .hr-chip-dot { animation: none; }
  .hr-dot-fill { transition: none; }
}

/* 앵커 이동 시 고정 헤더 + 프로모 띠 회피 */
#winter-2027 { scroll-margin-top: calc(var(--header-h) + var(--promo-h) + 16px); }
