/* ============================================================
   AION — DASHBOARD LANDING
   - Split hero: left = poster copy, right = 2x2 category cards
   - Cards click → fullscreen detail panels (slide in from right)
   - ESC + backdrop click + card-to-card switching supported
   - 100~150ms snappy easing
   ============================================================ */

/* -----------------------------------------------------------
   Social rail (bottom bar)
   ----------------------------------------------------------- */
.social-rail {
  margin-top: 56px;
  padding-top: 24px;
  border-top: 1px solid var(--line-2);
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.social-rail-meta {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--ink-dim);
}
.social-rail-links {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}
@media (max-width: 900px) {
  .social-rail-links { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .social-rail-links { grid-template-columns: 1fr; }
}
.social-tile {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  background: var(--bg-2);
  border: 1px solid var(--line);
  text-decoration: none;
  color: inherit;
  position: relative;
  transition: background 0.12s ease, border-color 0.12s ease, transform 0.12s ease;
}
.social-tile:hover {
  background: var(--bg-3);
  border-color: var(--line-2);
  transform: translateY(-2px);
}
.social-icon {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.social-icon svg { width: 100%; height: 100%; display: block; }
.social-icon img { width: 100%; height: 100%; display: block; object-fit: contain; border-radius: 8px; }
.social-icon.social-icon-img { background: transparent; }
.social-label {
  display: flex;
  flex-direction: column;
  gap: 3px;
  flex: 1;
  min-width: 0;
}
.social-name {
  font-family: var(--display);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0;
  color: var(--ink);
  text-transform: uppercase;
}
.social-desc {
  font-family: var(--sans);
  font-size: 11px;
  color: var(--ink-dim);
  letter-spacing: 0.03em;
}
.social-arrow {
  font-family: var(--mono);
  font-size: 14px;
  color: var(--ink-dim);
  transition: color 0.12s ease, transform 0.12s ease;
}
.social-tile:hover .social-arrow {
  color: var(--acid);
  transform: translate(3px, -3px);
}

/* -----------------------------------------------------------
   MAIN VIEW LAYOUT
   ----------------------------------------------------------- */
.main-view {
  min-height: calc(100vh - 71px); /* minus nav */
  padding: 48px 40px 64px; /* preserve container side-padding */
  position: relative;
}
@media (max-width: 720px) { .main-view { padding: 40px 22px 56px; } }

.main-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 48px;
  align-items: stretch;
}

@media (max-width: 1100px) {
  .main-grid { grid-template-columns: 1fr; gap: 40px; }
}

/* -----------------------------------------------------------
   HERO — left column, same poster DNA
   ----------------------------------------------------------- */
.hero-block {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 40px;
  padding: 20px 0 12px;
  min-height: 640px;
}

.hero-top-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px 24px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--ink-dim);
  flex-wrap: wrap;
  padding-bottom: 6px;
}
.hero-top-meta .live {
  color: #ff3a4a;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
}
.hero-top-meta .live::before {
  content: '';
  width: 7px; height: 7px;
  border-radius: 50%;
  background: #ff3a4a;
  box-shadow: 0 0 8px rgba(255, 58, 74, 0.65);
  animation: blink 1.2s infinite;
  flex-shrink: 0;
}

/* Circular social buttons — sit opposite the LIVE badge */
.hero-social {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.hs-btn {
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  overflow: hidden;
  text-decoration: none;
  transition: transform 0.18s ease, filter 0.18s ease;
  flex-shrink: 0;
}
.hs-btn svg {
  width: 100%;
  height: 100%;
  display: block;
}
.hs-btn img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  border-radius: 0;
}
.hs-btn-img {
  background: transparent;
  border-radius: 0;
  overflow: visible;
}
.hs-btn:hover {
  transform: translateY(-2px) scale(1.08);
  filter: brightness(1.1) drop-shadow(0 4px 10px rgba(201, 162, 74, 0.35));
}
.hs-btn:active { transform: translateY(0) scale(1); }

.hero-title-block {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.hero-eyebrow {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--acid);
}
.hero-eyebrow::before { content: '// '; opacity: 0.55; }

.hero-display {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(44px, 5vw, 82px);
  line-height: 1.14;
  /* Wide, breathable spacing — this is the key spec */
  letter-spacing: 0.02em;
  text-transform: none;
  text-wrap: balance;
  word-break: keep-all;
}
.hero-display em {
  font-style: normal;
  color: var(--acid);
  font-weight: 800;
}

/* Line 1-2: '따뜻한 온기로, 육아의 시작을' — Archivo, wide-tracked */
.hero-display .hd-lead {
  display: inline-block;
  font-family: var(--display);
  font-weight: 700;
  letter-spacing: 0.03em;
  color: var(--ink);
}
.hero-display .hd-lead em {
  color: var(--acid);
  font-weight: 800;
}

/* Line 3: '아이온과 함께.' — heavy display serif, dramatic italic */
.hero-display .hd-signature {
  display: inline-block;
  font-family: 'Playfair Display', 'Fraunces', var(--serif);
  font-style: italic;
  font-weight: 900;
  color: var(--ink);
  letter-spacing: -0.01em;
  font-size: 1.18em;
  line-height: 1.08;
  margin-top: 10px;
  /* Slight optical downshift so the descender-heavy italic sits balanced with the block above */
}
.hero-display .hd-signature em {
  font-style: italic;
  color: var(--acid);
  font-weight: 900;
}

.hero-sub {
  max-width: 620px;
  font-family: var(--sans);
  font-size: 15.5px;
  line-height: 1.75;
  letter-spacing: 0.01em;
  color: var(--ink-2);
  text-wrap: pretty;
  word-break: keep-all;
}
.hero-sub strong { color: var(--ink); font-weight: 600; }
.hero-sub em {
  font-style: normal;
  color: var(--acid);
  font-weight: 500;
}
.hero-sub .hero-sub-lead {
  display: inline-block;
  margin-top: 8px;
  color: var(--ink);
  font-weight: 600;
  font-size: 17px;
  letter-spacing: -0.005em;
  border-bottom: 1px solid var(--acid);
  padding-bottom: 2px;
}

/* Dedicated lead paragraph (below hero-sub) — one solid line, subtle underline */
.hero-sub-lead-line {
  max-width: 620px;
  margin-top: 14px;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.55;
  color: var(--ink);
  word-break: keep-all;
  text-wrap: pretty;
}
.hero-sub-lead-line strong {
  display: inline;
  font-weight: 600;
  background: linear-gradient(180deg, transparent 60%, rgba(201, 162, 74, 0.22) 60% 92%, transparent 92%);
  padding: 0 2px;
}

.hero-cta-row {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 12px;
}

/* Bottom hero strip — trust markers */
.hero-trust {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--line-2);
  padding-top: 28px;
  margin-top: 28px;
}
.hero-trust-item {
  padding-right: 18px;
  border-right: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.hero-trust-item:last-child { border-right: none; }
.hero-trust-item .l {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--ink-dim);
}
.hero-trust-item .v {
  font-family: var(--display);
  font-weight: 800;
  font-size: 30px;
  color: var(--ink);
  letter-spacing: -0.005em;
  line-height: 0.95;
}
.hero-trust-item .v em {
  font-style: normal;
  color: var(--acid);
  font-weight: 900;
}
.hero-trust-item .cap {
  font-family: var(--sans);
  font-size: 11.5px;
  color: var(--ink-dim);
  line-height: 1.5;
  letter-spacing: 0.03em;
  word-break: keep-all;
}

/* -----------------------------------------------------------
   CARD GRID — right column, 2x2
   ----------------------------------------------------------- */
.card-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 14px;
  min-height: 620px;
}
@media (max-width: 640px) {
  .card-grid { grid-template-columns: 1fr; grid-template-rows: auto; }
}

.cat-card {
  background: var(--bg-2);
  border: 1px solid var(--line);
  padding: 26px 24px 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: background 0.12s ease-out,
              border-color 0.12s ease-out,
              transform 0.12s ease-out;
  min-height: 280px;
  text-align: left;
  color: inherit;
  font-family: inherit;
}
.cat-card:hover {
  background: var(--bg-3);
  border-color: var(--line-2);
  transform: translateY(-2px);
}
.cat-card:active {
  transform: translateY(0);
  transition-duration: 0.06s;
}

/* subtle diagonal texture on hover */
.cat-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    -45deg,
    rgba(201, 162, 74, 0.06) 0 1px,
    transparent 1px 24px
  );
  opacity: 0;
  transition: opacity 0.15s ease-out;
  pointer-events: none;
}
.cat-card:hover::before { opacity: 1; }

.cat-num {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.28em;
  color: var(--acid);
  font-weight: 700;
}

.cat-icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line-2);
  border-radius: 50%;
  color: var(--acid);
  margin-top: 4px;
  transition: border-color 0.12s ease-out, background 0.12s ease-out;
}
.cat-card:hover .cat-icon {
  border-color: var(--acid);
  background: rgba(201, 162, 74, 0.10);
}
.cat-icon svg { width: 22px; height: 22px; }

.cat-title-block {
  margin-top: auto;
}
.cat-title-en {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--ink-dim);
  margin-bottom: 8px;
}
.cat-title {
  font-family: var(--display);
  font-weight: 800;
  font-size: 34px;
  line-height: 1.08;
  letter-spacing: -0.005em;
  text-transform: none;
  color: var(--ink);
  word-break: keep-all;
}
.cat-title em { font-style: normal; color: var(--acid); }
.cat-desc {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  font-family: var(--sans);
  font-size: 13px;
  line-height: 1.65;
  color: var(--ink-2);
  word-break: keep-all;
  text-wrap: pretty;
  max-width: 30ch;
}

.cat-arrow {
  position: absolute;
  top: 26px;
  right: 24px;
  font-family: var(--mono);
  font-size: 14px;
  color: var(--ink-dim);
  transition: color 0.12s ease-out, transform 0.12s ease-out;
}
.cat-card:hover .cat-arrow {
  color: var(--acid);
  transform: translate(3px, -3px);
}

/* Accent card variant — first card (회사소개) uses acid tint */
.cat-card.accent {
  background: linear-gradient(180deg, #1f1c14, var(--bg-2));
  border-color: rgba(201, 162, 74, 0.26);
}
.cat-card.accent .cat-icon {
  border-color: var(--acid);
  background: rgba(201, 162, 74, 0.12);
}

/* Highlight CTA card (마지막 — 상담신청) */
.cat-card.cta {
  background: var(--acid);
  color: var(--bg);
  border-color: var(--acid);
}
.cat-card.cta:hover {
  background: #e6ff5f;
  border-color: #e6ff5f;
  box-shadow: 0 8px 40px -8px rgba(201, 162, 74, 0.42);
}
.cat-card.cta::before { display: none; }
.cat-card.cta .cat-num { color: var(--bg); opacity: 0.5; }
.cat-card.cta .cat-icon { border-color: rgba(10,10,10,0.34); color: var(--bg); }
.cat-card.cta:hover .cat-icon { border-color: var(--bg); background: rgba(10,10,10,0.12); }
.cat-card.cta .cat-title-en { color: rgba(10,10,10,0.58); }
.cat-card.cta .cat-title { color: var(--bg); }
.cat-card.cta .cat-title em { color: var(--bg); }
.cat-card.cta .cat-desc { color: rgba(10,10,10,0.78); }
.cat-card.cta .cat-arrow { color: var(--bg); }
.cat-card.cta:hover .cat-arrow { color: var(--bg); transform: translate(4px,-4px); }

/* -----------------------------------------------------------
   FULLSCREEN DETAIL PANEL
   ----------------------------------------------------------- */
.panel-backdrop {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(10, 10, 10, 0.78);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.12s ease-out;
}
.panel-backdrop.open {
  opacity: 1;
  pointer-events: auto;
}

.detail-panel {
  position: fixed;
  inset: 0;
  z-index: 101;
  background: var(--bg);
  transform: translateX(100%);
  transition: transform 0.14s cubic-bezier(0.4, 0.0, 0.2, 1);
  overflow-y: auto;
  visibility: hidden;
}
.detail-panel.open {
  transform: translateX(0);
  visibility: visible;
}

/* Panel Header — sticky back bar */
.panel-header {
  position: sticky;
  top: 0;
  z-index: 5;
  background: rgba(10, 10, 10, 0.88);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--line);
  padding: 18px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
@media (max-width: 720px) { .panel-header { padding: 16px 22px; } }

.panel-back {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: transparent;
  border: 1px solid var(--line-2);
  color: var(--ink);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  padding: 10px 18px 10px 14px;
  border-radius: 100px;
  cursor: pointer;
  transition: border-color 0.12s ease-out, color 0.12s ease-out, background 0.12s ease-out;
  font-weight: 600;
}
.panel-back:hover {
  border-color: var(--acid);
  color: var(--acid);
}
.panel-back .arrow-back {
  transition: transform 0.12s ease-out;
}
.panel-back:hover .arrow-back {
  transform: translateX(-3px);
}

.panel-crumb {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--ink-dim);
  flex: 1;
  text-align: center;
}
.panel-crumb .active { color: var(--acid); }

.panel-close {
  background: transparent;
  border: none;
  color: var(--ink-2);
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.18em;
  cursor: pointer;
  padding: 10px 14px;
  border-radius: 100px;
  border: 1px solid var(--line-2);
  transition: color 0.12s, border-color 0.12s;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.panel-close:hover { color: var(--acid); border-color: var(--acid); }

/* Panel body */
.panel-body {
  padding: 56px 40px 80px;
  max-width: 1600px;
  margin: 0 auto;
}
@media (max-width: 720px) { .panel-body { padding: 40px 22px 60px; } }

.panel-lead {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 60px;
  align-items: end;
  margin-bottom: 72px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--line);
}
@media (max-width: 900px) {
  .panel-lead { grid-template-columns: 1fr; gap: 24px; padding-bottom: 32px; margin-bottom: 48px; }
}

.panel-num {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--acid);
  margin-bottom: 16px;
}
.panel-title {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(44px, 5.8vw, 92px);
  line-height: 1.06;
  letter-spacing: -0.01em;
  text-transform: none;
  word-break: keep-all;
}
.panel-title em { font-style: normal; color: var(--acid); }
.panel-title .soft {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 300;
  color: var(--acid);
  letter-spacing: 0;
  text-transform: none;
  font-variation-settings: "opsz" 144, "SOFT" 100;
}

.panel-lead-desc {
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.7;
  color: var(--ink-2);
  max-width: 640px;
}
.panel-lead-desc strong { color: var(--ink); font-weight: 500; }
.panel-lead-desc em { font-style: normal; color: var(--acid); }

/* Reset scroll of an opened panel */
body.panel-open { overflow: hidden; }

/* Panel enter animation */
.panel-body > * {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.2s ease-out, transform 0.2s ease-out;
}
.detail-panel.open .panel-body > * {
  opacity: 1;
  transform: translateY(0);
}
.detail-panel.open .panel-body > *:nth-child(1) { transition-delay: 0.08s; }
.detail-panel.open .panel-body > *:nth-child(2) { transition-delay: 0.13s; }
.detail-panel.open .panel-body > *:nth-child(3) { transition-delay: 0.18s; }
.detail-panel.open .panel-body > *:nth-child(4) { transition-delay: 0.22s; }
.detail-panel.open .panel-body > *:nth-child(5) { transition-delay: 0.26s; }

/* -----------------------------------------------------------
   PANEL — About content
   ----------------------------------------------------------- */
.about-meta-panel {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  margin-bottom: 64px;
}
@media (max-width: 900px) { .about-meta-panel { grid-template-columns: 1fr 1fr; } }

.about-meta-cell {
  background: var(--bg);
  padding: 28px 24px 30px;
}
.about-meta-cell .l {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--ink-dim);
  margin-bottom: 8px;
}
.about-meta-cell .v {
  font-family: var(--display);
  font-weight: 700;
  font-size: 17px;
  color: var(--ink);
  letter-spacing: 0;
  line-height: 1.35;
}
.about-meta-cell .v em { font-style: normal; color: var(--acid); }

.subsection-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 24px;
  margin-bottom: 40px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
  flex-wrap: wrap;
}
.subsection-num {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.26em;
  color: var(--acid);
}
.subsection-title {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(28px, 3vw, 44px);
  letter-spacing: -0.005em;
  text-transform: none;
  line-height: 1.15;
  word-break: keep-all;
}
.subsection-title em { font-style: normal; color: var(--acid); }

/* Points grid inside About panel */
.points-mini {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  margin-bottom: 72px;
}
@media (max-width: 900px) { .points-mini { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .points-mini { grid-template-columns: 1fr; } }

.point-mini {
  background: var(--bg);
  padding: 32px 26px 36px;
  min-height: 240px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: background 0.12s;
}
.point-mini:hover { background: var(--bg-2); }
.point-mini .idx {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.28em;
  color: var(--acid);
}
.point-mini .ttl {
  font-family: var(--display);
  font-weight: 800;
  font-size: 24px;
  line-height: 0.95;
  letter-spacing: 0;
  text-transform: uppercase;
  margin-top: 6px;
}
.point-mini .ttl em { font-style: normal; color: var(--acid); }
.point-mini .en {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--ink-dim);
}
.point-mini .desc {
  font-family: var(--sans);
  font-size: 13px;
  line-height: 1.65;
  color: var(--ink-2);
  margin-top: auto;
}

/* -----------------------------------------------------------
   PANEL — Services content (reuses svc-grid tokens)
   ----------------------------------------------------------- */
.svc-grid-panel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 72px;
}
@media (max-width: 900px) { .svc-grid-panel { grid-template-columns: 1fr; } }

.svc-card-panel {
  background: var(--bg-2);
  border: 1px solid var(--line);
  padding: 44px 36px 40px;
  display: flex;
  flex-direction: column;
  gap: 22px;
  position: relative;
  overflow: hidden;
}
.svc-card-panel.featured {
  border-color: var(--acid);
  background: linear-gradient(180deg, var(--bg-2), #0b1830);
}
.svc-card-panel.featured::before {
  content: 'RECOMMENDED';
  position: absolute;
  top: 22px;
  right: 22px;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.28em;
  color: var(--bg);
  background: var(--acid);
  padding: 5px 10px;
  border-radius: 4px;
  font-weight: 700;
}

/* Process rail — reused */
.process-list {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}
@media (max-width: 900px) { .process-list { grid-template-columns: 1fr 1fr; } }
@media (max-width: 500px) { .process-list { grid-template-columns: 1fr; } }

/* -----------------------------------------------------------
   PANEL — Reviews content (extended list)
   ----------------------------------------------------------- */
.reviews-hero {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  margin-bottom: 56px;
}
@media (max-width: 900px) { .reviews-hero { grid-template-columns: 1fr 1fr; } }

.reviews-hero-cell {
  background: var(--bg);
  padding: 28px 24px 30px;
}
.reviews-hero-cell .l {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--ink-dim);
  margin-bottom: 10px;
}
.reviews-hero-cell .v {
  font-family: var(--display);
  font-weight: 800;
  font-size: 40px;
  line-height: 0.9;
  letter-spacing: -0.005em;
  color: var(--ink);
}
.reviews-hero-cell .v em { font-style: normal; color: var(--acid); }
.reviews-hero-cell .v .unit {
  font-size: 0.4em;
  color: var(--acid);
  margin-left: 4px;
}

.reviews-grid-panel {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 56px;
}
@media (max-width: 900px) { .reviews-grid-panel { grid-template-columns: 1fr; } }

/* -----------------------------------------------------------
   PANEL — Contact content
   ----------------------------------------------------------- */
.contact-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: end;
  margin-bottom: 56px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--line);
}
@media (max-width: 900px) { .contact-hero { grid-template-columns: 1fr; gap: 24px; } }

.contact-phone {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(56px, 8vw, 128px);
  letter-spacing: -0.005em;
  line-height: 0.9;
  color: var(--ink);
  text-decoration: none;
  display: block;
}
.contact-phone em { font-style: normal; color: var(--acid); }
.contact-phone-label {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--ink-dim);
  margin-bottom: 14px;
}
.contact-phone-note {
  font-family: var(--sans);
  font-size: 14px;
  color: var(--ink-2);
  margin-top: 14px;
}
.contact-phone-note strong { color: var(--acid); font-weight: 500; }

.contact-channels {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 56px;
}
@media (max-width: 900px) { .contact-channels { grid-template-columns: 1fr 1fr; } }
@media (max-width: 500px) { .contact-channels { grid-template-columns: 1fr; } }

/* Inquiry form */
.contact-form {
  background: var(--bg-2);
  border: 1px solid var(--line);
  padding: 48px 40px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}
@media (max-width: 720px) { .contact-form { grid-template-columns: 1fr; padding: 32px 22px; } }

.contact-form h3 {
  grid-column: 1 / -1;
  font-family: var(--display);
  font-weight: 800;
  font-size: 32px;
  letter-spacing: 0;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.contact-form h3 em { font-style: normal; color: var(--acid); }
.form-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.form-field.full { grid-column: 1 / -1; }
.form-field label {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--ink-dim);
}
.form-field input, .form-field textarea, .form-field select {
  background: var(--bg);
  border: 1px solid var(--line-2);
  padding: 14px 16px;
  color: var(--ink);
  font-family: var(--sans);
  font-size: 14px;
  border-radius: 4px;
  transition: border-color 0.12s;
  width: 100%;
}
.form-field input:focus, .form-field textarea:focus, .form-field select:focus {
  outline: none;
  border-color: var(--acid);
}
.form-field textarea { min-height: 120px; resize: vertical; font-family: var(--sans); }
.form-submit-row {
  grid-column: 1 / -1;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-top: 12px;
  flex-wrap: wrap;
}
.form-note {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-dim);
}

/* Small footer inside detail panels */
.panel-footer {
  margin-top: 72px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
.panel-footer-meta {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--ink-dim);
}
.panel-footer-copy {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.26em;
  color: var(--ink-dim);
}

/* ============================================================
   MOBILE POLISH — dashboard-specific
   ============================================================ */

@media (max-width: 720px) {
  /* Main view — tighter padding */
  .main-view { padding: 24px 18px 40px; }
  .main-grid { gap: 28px; }

  /* Hero — release rigid heights & spacing */
  .hero-block { min-height: 0; gap: 28px; padding: 8px 0 0; }
  .hero-title-block { gap: 18px; }

  /* Hero top row — LIVE + socials stack vertically so nothing clips */
  .hero-top-meta {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    font-size: 10px;
    letter-spacing: 0.2em;
  }
  .hero-social {
    gap: 12px;
    flex-wrap: wrap;
  }
  .hs-btn { width: 34px; height: 34px; }

  /* Hero display type — dial down so nothing overshoots */
  .hero-display {
    font-size: 38px;
    line-height: 1.15;
    letter-spacing: 0.01em;
  }
  .hero-display .hd-lead { letter-spacing: 0.01em; }
  .hero-display .hd-signature {
    font-size: 1.1em;
    line-height: 1.05;
    margin-top: 6px;
    letter-spacing: -0.02em;
  }

  /* Hero body copy — remove clip risk, allow natural wrapping */
  .hero-sub,
  .hero-sub-lead-line {
    font-size: 14.5px;
    line-height: 1.65;
    max-width: 100%;
  }
  .hero-sub-lead-line { font-size: 15px; margin-top: 10px; }
  /* Neutralize hardcoded <br> that create odd 1-word lines on 390px */
  .hero-sub br { display: none; }
  .hero-sub-lead-line br { display: none; }

  /* CTA row — stack full-width */
  .hero-cta-row { flex-direction: column; align-items: stretch; gap: 10px; margin-top: 4px; }
  .hero-cta-row .btn { width: 100%; justify-content: center; padding: 14px 18px; font-size: 13px !important; }

  /* Trust markers — 2 columns instead of 4, more air */
  .hero-trust {
    grid-template-columns: 1fr 1fr;
    gap: 20px 16px;
    padding-top: 22px;
    margin-top: 22px;
  }
  .hero-trust-item {
    padding-right: 0;
    border-right: none;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--line);
  }
  .hero-trust-item:nth-last-child(-n+2) {
    padding-bottom: 0;
    border-bottom: none;
  }
  .hero-trust-item .v { font-size: 26px; }
  .hero-trust-item .cap { font-size: 11px; }

  /* Card grid — full column on phones, no forced tall min-height */
  .card-grid {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    gap: 10px;
    min-height: 0;
  }
  .cat-card {
    min-height: 0;
    padding: 22px 20px 24px;
  }
  .cat-title { font-size: 26px; }
  .cat-icon { width: 40px; height: 40px; }
  .cat-icon svg { width: 20px; height: 20px; }
  .cat-title-block { margin-top: 16px; }
  .cat-desc { font-size: 12.5px; max-width: 100%; }
  .cat-arrow { top: 22px; right: 20px; }

  /* Social rail meta — stack for readability */
  .social-rail { margin-top: 40px; padding-top: 20px; }
  .social-rail-meta {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    font-size: 9px;
    letter-spacing: 0.22em;
  }

  /* Detail panels — header row must fit */
  .panel-header {
    padding: 14px 18px;
    gap: 10px;
  }
  .panel-back {
    padding: 8px 14px 8px 11px;
    font-size: 10px;
    letter-spacing: 0.15em;
    gap: 8px;
  }
  .panel-close {
    padding: 8px 12px;
    font-size: 10px;
    letter-spacing: 0.12em;
  }
  .panel-crumb {
    display: none; /* Free up space; back button + close is enough */
  }

  .panel-body { padding: 32px 18px 56px; }

  /* Panel title — scale down */
  .panel-title { font-size: 40px; line-height: 1.08; }

  /* Panel lead — no forced grid */
  .panel-lead { gap: 20px; margin-bottom: 40px; padding-bottom: 28px; }
  .panel-lead-desc { font-size: 15px; line-height: 1.7; }
  .panel-lead-desc br { display: none; } /* let it flow */

  /* About meta panel — 2 columns, breathing room */
  .about-meta-panel { grid-template-columns: 1fr 1fr; }
  .about-meta-cell { padding: 22px 18px 24px; }
  .about-meta-cell .v { font-size: 14px; }

  /* Subsection headers */
  .subsection-header { margin-bottom: 28px; padding-bottom: 16px; gap: 12px; }
  .subsection-title { font-size: 28px; }
  .subsection-num { font-size: 10px; }

  /* Points mini + regular */
  .point-mini { min-height: 0; padding: 26px 20px 28px; }
  .point-mini .ttl { font-size: 20px; }

  /* Services panel cards */
  .svc-card-panel { padding: 32px 22px 30px; }

  /* Reviews panel hero — 2 columns on phones */
  .reviews-hero { grid-template-columns: 1fr 1fr; }
  .reviews-hero-cell { padding: 22px 18px 24px; }
  .reviews-hero-cell .v { font-size: 32px; }

  /* Contact — big phone number scale */
  .contact-hero { margin-bottom: 40px; padding-bottom: 28px; }
  .contact-phone { font-size: 56px; }
  .contact-phone-label { font-size: 10px; }
  .contact-phone-note { font-size: 13px; }
  .contact-channels { gap: 10px; margin-bottom: 40px; }

  /* Form — full width fields */
  .contact-form { padding: 28px 20px; gap: 16px; }
  .contact-form h3 { font-size: 26px; }
  .form-field input, .form-field textarea, .form-field select {
    font-size: 15px; /* Prevents iOS auto-zoom on focus */
    padding: 12px 14px;
  }
  .form-submit-row { flex-direction: column; align-items: stretch; }
  .form-submit-row .btn { width: 100%; justify-content: center; }

  /* Panel footer — stack */
  .panel-footer { flex-direction: column; align-items: stretch; gap: 14px; margin-top: 48px; }
  .panel-footer > div[style*="flex"] { width: 100%; flex-direction: column !important; }
  .panel-footer .btn { width: 100%; justify-content: center; }
}

@media (max-width: 400px) {
  /* Extra-small phones (Galaxy S8 / iPhone SE-ish 360-375px) */
  .hero-display { font-size: 34px; }
  .hero-display .hd-signature { font-size: 1.08em; }
  .panel-title { font-size: 34px; }
  .contact-phone { font-size: 48px; }
  .cat-title { font-size: 24px; }
  .hero-trust-item .v { font-size: 24px; }
  .stat-cell .v { font-size: 50px; }
}

/* ============================================================
   NEW SECTIONS — About / Services / Reviews / Contact updates
   ============================================================ */

/* ---- About: hero image after lead ---- */
.about-hero-image {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 36px;
  align-items: center;
  margin: 64px 0 80px;
  padding-top: 48px;
  border-top: 1px solid var(--line);
}
.about-hero-image-wrap {
  position: relative;
  overflow: hidden;
  aspect-ratio: 3 / 4;
  background: var(--bg-2);
  border: 1px solid var(--line);
}
.about-hero-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 60% 60%;
  display: block;
}
.about-hero-image-caption { display: flex; flex-direction: column; gap: 16px; }
.about-hero-image-caption .l {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--acid);
}
.about-hero-image-caption .v {
  font-family: var(--display);
  font-size: 34px;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.about-hero-image-caption .v em {
  font-style: italic;
  color: var(--acid);
  font-weight: 800;
}
.about-hero-image-caption .cap {
  font-size: 14px;
  color: var(--ink-dim);
  line-height: 1.6;
  border-left: 2px solid var(--acid);
  padding-left: 14px;
}
@media (max-width: 900px) {
  .about-hero-image { grid-template-columns: 1fr; gap: 24px; margin: 48px 0 56px; }
  .about-hero-image-wrap { aspect-ratio: 4 / 3; }
  .about-hero-image-caption .v { font-size: 26px; }
}

/* ---- About: EDUCATION SYSTEM ---- */
.edu-system {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 44px;
  align-items: center;
  margin: 80px 0;
  padding: 56px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.edu-system-image {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--bg-2);
  border: 1px solid var(--line);
}
.edu-system-image img {
  width: 100%; height: 100%; object-fit: cover; display: block;
}
.edu-system-copy { display: flex; flex-direction: column; gap: 18px; }
.edu-system-title {
  font-family: var(--display);
  font-size: 40px;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin: 6px 0 6px;
  color: var(--ink);
}
.edu-system-title em {
  font-style: italic;
  color: var(--acid);
  font-weight: 800;
}
.edu-system-desc {
  font-size: 15px;
  line-height: 1.7;
  color: var(--ink-dim);
  margin-bottom: 8px;
}
.edu-system-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-top: 8px;
}
.edu-item {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 16px;
  align-items: start;
  padding: 18px 0;
  border-top: 1px solid var(--line);
}
.edu-item:last-child { border-bottom: 1px solid var(--line); }
.edu-ico {
  width: 34px; height: 34px;
  color: var(--acid);
  display: flex;
  align-items: center;
  justify-content: center;
}
.edu-ico svg { width: 24px; height: 24px; }
.edu-ttl {
  font-family: var(--display);
  font-weight: 700;
  font-size: 17px;
  color: var(--ink);
  margin-bottom: 4px;
}
.edu-sub {
  font-size: 13.5px;
  color: var(--ink-dim);
  letter-spacing: 0.01em;
  line-height: 1.5;
}
@media (max-width: 900px) {
  .edu-system { grid-template-columns: 1fr; gap: 28px; padding: 40px 0; margin: 56px 0; }
  .edu-system-title { font-size: 30px; }
}

/* ---- About: Field scenes 3-grid ---- */
.field-scenes { margin: 80px 0; }
.field-scenes-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 28px;
}
.field-scene {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--bg-2);
  border: 1px solid var(--line);
  overflow: hidden;
  margin: 0;
}
.fs-num {
  position: absolute;
  top: 14px; left: 16px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.28em;
  color: #fff;
  background: rgba(0,0,0,0.55);
  padding: 4px 10px;
  z-index: 2;
}
.fs-img {
  aspect-ratio: 3 / 4;
  background-size: cover;
  background-repeat: no-repeat;
  background-color: var(--bg-2);
}
.field-scene figcaption {
  padding: 20px 20px 22px;
  border-top: 1px solid var(--line);
}
.fs-ttl {
  font-family: var(--display);
  font-weight: 800;
  font-size: 20px;
  color: var(--ink);
  margin-bottom: 6px;
}
.fs-desc {
  font-size: 13.5px;
  color: var(--ink-dim);
  line-height: 1.55;
}
@media (max-width: 900px) {
  .field-scenes-grid { grid-template-columns: 1fr; }
  .fs-img { aspect-ratio: 4 / 3; }
}

/* ---- Services: 10 CERTIFIED banner ---- */
.certified-banner {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 44px;
  align-items: center;
  margin: 48px 0 72px;
  padding: 40px 44px;
  background: linear-gradient(135deg, rgba(207,166,90,0.09) 0%, rgba(207,166,90,0.03) 100%);
  border: 1px solid var(--acid);
  border-radius: 6px;
}
.cb-left { display: flex; justify-content: center; }
.cb-badge {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: var(--acid);
  color: #1a1614;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  box-shadow: 0 12px 40px rgba(207,166,90,0.35);
  border: 6px solid var(--bg);
  outline: 1px solid var(--acid);
}
.cb-badge-num {
  font-family: var(--display);
  font-weight: 900;
  font-size: 82px;
  line-height: 0.9;
  letter-spacing: -0.02em;
}
.cb-badge-lbl {
  font-family: var(--mono);
  font-weight: 700;
  font-size: 10px;
  letter-spacing: 0.28em;
  text-align: center;
  line-height: 1.35;
}
.cb-title {
  font-family: var(--display);
  font-size: 36px;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin: 8px 0 4px;
  color: var(--ink);
}
.cb-title em {
  font-style: italic;
  color: var(--acid);
  font-weight: 800;
}
.cb-desc {
  font-size: 15px;
  line-height: 1.7;
  color: var(--ink-dim);
  margin-bottom: 16px;
}
.cb-list {
  list-style: none;
  padding: 0;
  margin: 8px 0 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px 24px;
}
.cb-list li {
  position: relative;
  padding: 8px 0 8px 24px;
  font-size: 14px;
  color: var(--ink);
  border-bottom: 1px dashed var(--line);
}
.cb-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 8px;
  color: var(--acid);
  font-weight: 900;
  font-family: var(--mono);
}
@media (max-width: 900px) {
  .certified-banner { grid-template-columns: 1fr; gap: 24px; padding: 32px 24px; }
  .cb-badge { width: 150px; height: 150px; }
  .cb-badge-num { font-size: 66px; }
  .cb-title { font-size: 28px; }
  .cb-list { grid-template-columns: 1fr; }
}

/* ---- Reviews: REVIEW POINTS 5 cards ---- */
.review-points {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  margin: 32px 0 64px;
}
.rp-card {
  padding: 26px 22px 28px;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-top: 3px solid var(--acid);
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-height: 240px;
  transition: transform 0.2s, border-color 0.2s;
}
.rp-card:hover {
  transform: translateY(-4px);
  border-color: var(--acid);
}
.rp-num {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.28em;
  color: var(--acid);
}
.rp-ico {
  width: 36px; height: 36px;
  color: var(--ink);
  display: flex; align-items: center; justify-content: center;
}
.rp-ico svg { width: 26px; height: 26px; }
.rp-ttl {
  font-family: var(--display);
  font-weight: 800;
  font-size: 18px;
  color: var(--ink);
  margin-top: 4px;
}
.rp-desc {
  font-size: 13px;
  color: var(--ink-dim);
  line-height: 1.6;
  margin-top: auto;
}
@media (max-width: 900px) {
  .review-points { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 500px) {
  .review-points { grid-template-columns: 1fr; }
}

/* ---- Contact: 간편 상담신청 form styling ---- */
.contact-form .form-header {
  grid-column: 1 / -1;
  margin-bottom: 4px;
}
.contact-form .form-header h3 {
  grid-column: unset;
  margin-bottom: 8px;
  font-size: 34px;
}
.contact-form .form-lead {
  font-size: 13.5px;
  color: var(--ink-dim);
  line-height: 1.6;
  margin: 0;
}
.form-field .req {
  color: var(--acid);
  margin-left: 2px;
}
.form-field input[type="date"] {
  font-family: var(--sans);
  color: var(--ink);
}
.form-agree {
  margin-top: 4px;
}
.agree-label {
  display: flex !important;
  flex-direction: row !important;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
  font-family: var(--sans) !important;
  font-size: 13px !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
  color: var(--ink-dim) !important;
  line-height: 1.55;
  padding: 8px 0;
}
.agree-label input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.agree-check {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  border: 1.5px solid var(--line-2);
  border-radius: 3px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: transparent;
  font-size: 13px;
  font-weight: 900;
  background: var(--bg);
  transition: all 0.15s;
  margin-top: 1px;
}
.agree-label input[type="checkbox"]:checked ~ .agree-check {
  background: var(--acid);
  border-color: var(--acid);
  color: #1a1614;
}
.agree-text { flex: 1; }
.btn-sms-submit {
  grid-column: 1 / -1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: #1a1614;
  color: #f6f2e9;
  border: none;
  padding: 20px 24px;
  font-family: var(--display);
  font-weight: 700;
  font-size: 17px;
  letter-spacing: 0.02em;
  cursor: pointer;
  border-radius: 4px;
  transition: background 0.15s, transform 0.1s;
  margin-top: 4px;
}
.btn-sms-submit:hover {
  background: #2a2320;
}
.btn-sms-submit:active { transform: translateY(1px); }
.sms-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--acid);
}
.sms-arrow svg { width: 20px; height: 20px; }

/* ---- Contact: 가맹·일반 문의 분리 카드 ---- */
.other-inquiry {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 40px;
}
.oi-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 28px 28px 26px;
  background: var(--bg);
  border: 1px solid var(--line);
  text-decoration: none;
  color: var(--ink);
  transition: border-color 0.2s, transform 0.2s;
  position: relative;
}
.oi-card:hover {
  border-color: var(--acid);
  transform: translateY(-2px);
}
.oi-tag {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.28em;
  color: var(--acid);
  text-transform: uppercase;
}
.oi-title {
  font-family: var(--display);
  font-weight: 800;
  font-size: 26px;
  line-height: 1.15;
  color: var(--ink);
  margin: 4px 0 4px;
}
.oi-title em { font-style: italic; color: var(--acid); font-weight: 800; }
.oi-desc {
  font-size: 13.5px;
  color: var(--ink-dim);
  line-height: 1.6;
  margin-bottom: 8px;
}
.oi-cta {
  margin-top: auto;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--acid);
  font-weight: 700;
}
.oi-cta span { transition: transform 0.15s; display: inline-block; }
.oi-card:hover .oi-cta span { transform: translateX(4px); }
@media (max-width: 720px) {
  .other-inquiry { grid-template-columns: 1fr; }
}

/* ============================================
   상담 신청 완료 화면 (form-success)
   ============================================ */
.form-success {
  grid-column: 1 / -1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 48px 32px 40px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 4px;
  animation: fs-in 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}
@keyframes fs-in {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}
.form-success[hidden] { display: none; }

.fs-check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 88px;
  height: 88px;
  border-radius: 50%;
  background: rgba(197, 165, 114, 0.12);
  color: var(--acid);
  margin-bottom: 22px;
  animation: fs-check-pop 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) 0.15s both;
}
@keyframes fs-check-pop {
  0%   { transform: scale(0.4); opacity: 0; }
  70%  { transform: scale(1.08); opacity: 1; }
  100% { transform: scale(1); }
}
.fs-check svg { display: block; }

.fs-eyebrow {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.32em;
  color: var(--acid);
  text-transform: uppercase;
  margin-bottom: 14px;
}
.fs-title {
  font-family: var(--display);
  font-weight: 800;
  font-size: 32px;
  line-height: 1.2;
  color: var(--ink);
  margin: 0 0 12px;
}
.fs-title em {
  font-style: italic;
  color: var(--acid);
  font-weight: 800;
}
.fs-lead {
  font-size: 17px;
  line-height: 1.55;
  color: var(--ink);
  margin: 0 0 8px;
  font-weight: 500;
}
.fs-sub {
  font-size: 13.5px;
  color: var(--ink-dim);
  margin: 0 0 28px;
  letter-spacing: 0.01em;
}
.fs-sub strong { color: var(--ink); font-weight: 700; }

.fs-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  width: 100%;
  max-width: 480px;
}
.fs-btn {
  flex: 1 1 200px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 16px 22px;
  font-family: var(--display);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.01em;
  text-decoration: none;
  border-radius: 4px;
  transition: background 0.15s, border-color 0.15s, transform 0.1s, color 0.15s;
  cursor: pointer;
}
.fs-btn-primary {
  background: #1a1614;
  color: #f6f2e9;
  border: 1px solid #1a1614;
}
.fs-btn-primary:hover { background: #2a2320; }
.fs-btn-primary:active { transform: translateY(1px); }
.fs-btn-primary span { color: var(--acid); font-size: 16px; }

.fs-btn-ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line);
}
.fs-btn-ghost:hover {
  border-color: var(--acid);
  color: var(--acid);
}

@media (max-width: 720px) {
  .form-success { padding: 36px 22px 32px; }
  .fs-check { width: 72px; height: 72px; margin-bottom: 18px; }
  .fs-check svg { width: 52px; height: 52px; }
  .fs-title { font-size: 26px; }
  .fs-lead { font-size: 15.5px; }
  .fs-sub { font-size: 13px; margin-bottom: 22px; }
  .fs-btn { flex: 1 1 100%; padding: 15px 20px; }
}

/* 폼이 성공 상태일 때: 원래 필드/버튼 감추기 */
.contact-form.is-submitted > .form-header,
.contact-form.is-submitted > .form-field,
.contact-form.is-submitted > .btn-sms-submit {
  display: none;
}
