/* ==========================================================================
   더인택스 세무회계 — main.css
   Brand red #D0121B · ink #0C0D0F · paper #F5F3EF
   ========================================================================== */

:root {
  --red: #d0121b;
  --red-deep: #a80e16;
  --red-glow: #ff2b35;
  --ink: #0c0d0f;
  --ink-2: #141619;
  --ink-3: #1d2024;
  --paper: #f5f3ef;
  --paper-2: #ece9e3;
  --white: #ffffff;
  --text: #111316;
  --muted: #5d626a;
  --faint: #8a8f97;
  --line: rgba(17, 19, 22, 0.12);
  --line-strong: rgba(17, 19, 22, 0.22);
  --on-dark: #f3f2ef;
  --on-dark-muted: rgba(243, 242, 239, 0.62);
  --on-dark-faint: rgba(243, 242, 239, 0.38);
  --line-dark: rgba(255, 255, 255, 0.12);

  --font: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, system-ui, "Apple SD Gothic Neo", "Noto Sans KR", "Malgun Gothic", sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);

  --gutter: clamp(20px, 5vw, 56px);
  --maxw: 1280px;
  --header-h: 76px;
  --radius: 18px;
  --radius-sm: 12px;

  --fs-hero: clamp(2.65rem, 7.4vw, 6.75rem);
  --fs-h1: clamp(2.4rem, 5.8vw, 5rem);
  --fs-h2: clamp(2rem, 4.4vw, 3.75rem);
  --fs-h3: clamp(1.2rem, 1.8vw, 1.5rem);
  --fs-lead: clamp(1.05rem, 1.35vw, 1.25rem);
  --section-y: clamp(96px, 12vw, 176px);
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.75;
  color: var(--text);
  background: var(--paper);
  word-break: keep-all;
  overflow-wrap: anywhere;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: "ss06";
  overflow-x: hidden;
}
img, svg, video, canvas { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; color: inherit; }
h1, h2, h3, h4, p, ol, ul, dl, dd, figure { margin: 0; }
ol, ul { padding: 0; list-style: none; }
::selection { background: var(--red); color: #fff; }
:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; border-radius: 4px; }

.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: fixed; top: 12px; left: 12px; z-index: 100; padding: 10px 16px;
  background: var(--ink); color: #fff; border-radius: 999px; transform: translateY(-200%);
  transition: transform 0.3s var(--ease);
}
.skip-link:focus { transform: none; }

.wrap { width: min(var(--maxw), 100% - var(--gutter) * 2); margin-inline: auto; }
.section { position: relative; padding-block: var(--section-y); }
.section-tight { padding-block: clamp(56px, 7vw, 96px) var(--section-y); }

.br-md { display: none; }
@media (min-width: 760px) { .br-md { display: inline; } }

/* ---------- type ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 0.78rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--red); margin-bottom: 22px;
}
.eyebrow::before { content: ""; width: 22px; height: 1px; background: currentColor; }
.eyebrow-light { color: var(--on-dark-muted); }
.eyebrow-light::before { background: var(--red); }
.hero-eyebrow::before { display: none; }
.hero-eyebrow .dot {
  width: 7px; height: 7px; border-radius: 50%; background: var(--red-glow);
  box-shadow: 0 0 0 0 rgba(255, 43, 53, 0.6); animation: pulse 2.4s var(--ease) infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(255, 43, 53, 0.55); }
  70%, 100% { box-shadow: 0 0 0 12px rgba(255, 43, 53, 0); }
}

.section-title {
  font-size: var(--fs-h2); line-height: 1.16; font-weight: 700; letter-spacing: -0.035em;
}
.section-title small { font-size: 0.4em; font-weight: 500; letter-spacing: 0; color: var(--muted); margin-left: 10px; vertical-align: middle; }
.section-title-sm { font-size: clamp(1.6rem, 3vw, 2.25rem); }
.section-lead { font-size: var(--fs-lead); color: var(--muted); max-width: 34em; margin-top: 24px; line-height: 1.7; }
[data-theme="dark"] .section-lead { color: var(--on-dark-muted); }
.section-head { margin-bottom: clamp(48px, 7vw, 96px); }
.section-head-row { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px 48px; }
.section-head-row .section-lead { margin-top: 0; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 10px; margin-top: 40px;
  font-weight: 600; font-size: 1rem; padding-bottom: 4px;
  background: linear-gradient(currentColor, currentColor) left bottom / 100% 1px no-repeat;
  transition: background-size 0.5s var(--ease), color 0.3s;
}
.link-arrow svg { width: 18px; height: 18px; transition: transform 0.5s var(--ease); }
.link-arrow:hover { color: var(--red); }
.link-arrow:hover svg { transform: translateX(5px); }
.section-head-row .link-arrow { margin-top: 0; }

/* ---------- buttons ---------- */
.btn {
  --h: 50px;
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: var(--h); padding: 0 26px; border-radius: 999px; border: 1px solid transparent;
  font-size: 0.98rem; font-weight: 600; letter-spacing: -0.01em; white-space: nowrap; cursor: pointer;
  overflow: hidden; isolation: isolate;
  transition: color 0.4s var(--ease), border-color 0.4s var(--ease), background-color 0.4s var(--ease), transform 0.4s var(--ease);
}
.btn svg { width: 18px; height: 18px; transition: transform 0.5s var(--ease); }
.btn:hover svg { transform: translate(3px, -3px); }
.btn::after {
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit;
  transform: translateY(101%); transition: transform 0.5s var(--ease);
}
.btn:hover::after { transform: none; }
.btn:active { transform: scale(0.98); }
.btn-sm { --h: 40px; padding: 0 18px; font-size: 0.9rem; }
.btn-lg { --h: 58px; padding: 0 30px; font-size: 1.02rem; }
.btn-block { width: 100%; }
.btn-red { background: var(--red); color: #fff; }
.btn-red::after { background: var(--red-deep); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark::after { background: var(--red); }
.btn-white { background: #fff; color: var(--ink); }
.btn-white::after { background: var(--ink); }
.btn-white:hover { color: #fff; }
.btn-outline { border-color: var(--line-strong); color: var(--text); }
.btn-outline::after { background: var(--ink); }
.btn-outline:hover { color: #fff; border-color: var(--ink); }
.btn .kakao-mark { width: 19px; height: 19px; }
.btn:hover .kakao-mark { transform: none; }
.btn-ghost-light { border-color: rgba(255, 255, 255, 0.28); color: #fff; backdrop-filter: blur(6px); }
.btn-ghost-light::after { background: #fff; }
.btn-ghost-light:hover { color: var(--ink); border-color: #fff; }

/* ---------- header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 50; height: var(--header-h);
  color: var(--text);
  transition: background-color 0.5s var(--ease), color 0.5s var(--ease), transform 0.5s var(--ease), box-shadow 0.5s var(--ease);
}
.site-header[data-on="dark"] { color: var(--on-dark); }
.site-header.is-scrolled { backdrop-filter: saturate(160%) blur(16px); -webkit-backdrop-filter: saturate(160%) blur(16px); }
.site-header.is-scrolled[data-on="light"] { background: rgba(245, 243, 239, 0.82); box-shadow: 0 1px 0 var(--line); }
.site-header.is-scrolled[data-on="dark"] { background: rgba(12, 13, 15, 0.62); box-shadow: 0 1px 0 var(--line-dark); }
.site-header.is-hidden { transform: translateY(-100%); }
.header-inner { height: 100%; display: flex; align-items: center; gap: 32px; }
.brand { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.brand-mark { width: 38px; height: auto; border-radius: 6px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-text strong { font-size: 1.16rem; font-weight: 700; letter-spacing: -0.02em; }
.brand-text span { font-size: 0.72rem; letter-spacing: 0.08em; opacity: 0.66; }
.nav { display: none; margin-left: auto; gap: 6px; }
.nav a {
  position: relative; padding: 8px 14px; font-size: 0.95rem; font-weight: 500; opacity: 0.86;
  transition: opacity 0.3s;
}
.nav a::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 2px; height: 1.5px; background: var(--red);
  transform: scaleX(0); transform-origin: right; transition: transform 0.5s var(--ease);
}
.nav a:hover, .nav a[aria-current="page"] { opacity: 1; }
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }
.header-cta { display: none; align-items: center; gap: 18px; }
.header-tel { display: inline-flex; align-items: center; gap: 8px; font-size: 0.92rem; font-weight: 600; font-variant-numeric: tabular-nums; opacity: 0.9; }
.header-tel svg { width: 16px; height: 16px; }
.menu-btn {
  margin-left: auto; width: 44px; height: 44px; border: 0; background: none; padding: 0; cursor: pointer;
  display: grid; place-content: center; gap: 6px; position: relative; z-index: 60;
}
.menu-btn-bar { display: block; width: 24px; height: 1.5px; background: currentColor; transition: transform 0.5s var(--ease); }
.menu-open .menu-btn-bar:nth-child(1) { transform: translateY(3.75px) rotate(45deg); }
.menu-open .menu-btn-bar:nth-child(2) { transform: translateY(-3.75px) rotate(-45deg); }
.menu-open .site-header { color: var(--on-dark); background: transparent !important; box-shadow: none !important; backdrop-filter: none; }
@media (min-width: 1024px) {
  .nav, .header-cta { display: flex; }
  .nav { margin-left: auto; }
  .menu-btn { display: none; }
}

.mobile-menu {
  position: fixed; inset: 0; z-index: 45; background: var(--ink); color: var(--on-dark);
  display: flex; flex-direction: column; justify-content: space-between;
  padding: calc(var(--header-h) + 32px) var(--gutter) calc(32px + env(safe-area-inset-bottom));
  clip-path: inset(0 0 100% 0); transition: clip-path 0.7s var(--ease);
}
.mobile-menu[hidden] { display: none; }
.menu-open .mobile-menu { clip-path: inset(0 0 0 0); }
.mobile-nav { display: flex; flex-direction: column; }
.mobile-nav a {
  display: flex; align-items: baseline; gap: 18px; padding: 14px 0; border-bottom: 1px solid var(--line-dark);
  font-size: clamp(1.9rem, 8vw, 2.6rem); font-weight: 700; letter-spacing: -0.03em;
  opacity: 0; transform: translateY(24px); transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}
.mobile-nav a span { font-size: 0.8rem; font-weight: 500; color: var(--red-glow); letter-spacing: 0.1em; }
.menu-open .mobile-nav a { opacity: 1; transform: none; }
.menu-open .mobile-nav a:nth-child(2) { transition-delay: 0.05s; }
.menu-open .mobile-nav a:nth-child(3) { transition-delay: 0.1s; }
.menu-open .mobile-nav a:nth-child(4) { transition-delay: 0.15s; }
.menu-open .mobile-nav a:nth-child(5) { transition-delay: 0.2s; }
.mobile-menu-foot p { margin-top: 16px; font-size: 0.88rem; color: var(--on-dark-faint); }

/* ---------- hero ---------- */
.hero, .page-hero {
  position: relative; overflow: hidden; background: var(--ink); color: var(--on-dark); isolation: isolate;
}
.hero { min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; justify-content: flex-end; }
.hero-media { position: absolute; inset: 0; z-index: -1; }
.hero-canvas, .hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-glow {
  position: absolute; width: 70vmax; height: 70vmax; right: -24vmax; bottom: -34vmax; border-radius: 50%;
  background: radial-gradient(circle, rgba(208, 18, 27, 0.32) 0%, rgba(208, 18, 27, 0.08) 38%, transparent 66%);
  animation: breathe 9s var(--ease-in-out) infinite alternate;
}
@keyframes breathe { from { transform: scale(0.92); opacity: 0.75; } to { transform: scale(1.06); opacity: 1; } }
.hero-vignette {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(12, 13, 15, 0.6) 0%, rgba(12, 13, 15, 0) 28%, rgba(12, 13, 15, 0) 55%, rgba(12, 13, 15, 0.88) 100%),
    radial-gradient(120% 90% at 30% 60%, transparent 40%, rgba(12, 13, 15, 0.55) 100%);
}
.grain {
  position: absolute; inset: -50%; opacity: 0.07; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 1.2s steps(6) infinite;
}
@keyframes grain {
  0%, 100% { transform: translate(0, 0); } 20% { transform: translate(-3%, 2%); } 40% { transform: translate(2%, -3%); }
  60% { transform: translate(-2%, -1%); } 80% { transform: translate(3%, 3%); }
}
.hero-inner { padding-top: calc(var(--header-h) + 64px); padding-bottom: clamp(56px, 9vh, 112px); }
.hero-title {
  font-size: var(--fs-hero); line-height: 1.06; font-weight: 700; letter-spacing: -0.045em; margin: 4px 0 30px;
}
.line { display: block; overflow: hidden; padding-bottom: 0.08em; margin-bottom: -0.08em; }
.line > span { display: inline-flex; align-items: center; }
.js .line > span { transform: translateY(105%); transition: transform 1.3s var(--ease); }
.is-loaded .line > span { transform: none; }
.is-loaded .line:nth-child(2) > span { transition-delay: 0.12s; }
.hero-arrow {
  width: 0.82em; height: 0.82em; margin-left: 0.14em; flex-shrink: 0;
  fill: none; stroke: var(--red-glow); stroke-width: 5; stroke-linecap: square;
}
.hero-arrow path { stroke-dasharray: 60; stroke-dashoffset: 60; transition: stroke-dashoffset 1.1s var(--ease) 0.9s; }
.hero-arrow path + path { transition-delay: 1.25s; }
.is-loaded .hero-arrow path { stroke-dashoffset: 0; }
.hero-sub { font-size: var(--fs-lead); color: var(--on-dark-muted); max-width: 36em; line-height: 1.75; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 40px; }
.js .hero-eyebrow, .js .hero-sub, .js .hero-actions, .js .page-lead { opacity: 0; transform: translateY(18px); transition: opacity 1.2s var(--ease), transform 1.2s var(--ease); }
.is-loaded .hero-eyebrow { opacity: 1; transform: none; }
.is-loaded .hero-sub, .is-loaded .page-lead { opacity: 1; transform: none; transition-delay: 0.45s; }
.is-loaded .hero-actions { opacity: 1; transform: none; transition-delay: 0.6s; }

.hero-ticker {
  border-top: 1px solid var(--line-dark); overflow: hidden; padding: 18px 0;
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}
.ticker-track { display: flex; width: max-content; animation: ticker 48s linear infinite; }
.ticker-track ul { display: flex; flex-shrink: 0; }
.ticker-track li {
  display: flex; align-items: center; gap: 28px; padding-right: 28px;
  font-size: 0.92rem; font-weight: 500; color: var(--on-dark-faint); white-space: nowrap;
}
.ticker-track li::after { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--red); }
@keyframes ticker { to { transform: translateX(-50%); } }

.page-hero { padding: calc(var(--header-h) + clamp(88px, 14vw, 180px)) 0 clamp(72px, 10vw, 128px); }
.page-title { font-size: var(--fs-h1); line-height: 1.1; font-weight: 700; letter-spacing: -0.04em; margin-bottom: 28px; }
.page-title-sm { font-size: clamp(1.9rem, 4vw, 3rem); }
.page-title small { font-size: 0.45em; color: var(--muted); font-weight: 500; letter-spacing: 0; }
.page-lead { font-size: var(--fs-lead); color: var(--on-dark-muted); max-width: 40em; }
.light-hero { padding: calc(var(--header-h) + clamp(64px, 10vw, 140px)) 0 clamp(40px, 5vw, 72px); border-bottom: 1px solid var(--line); }
.light-hero-compact { padding-bottom: 32px; }
.page-title-dark { color: var(--text); }
.page-lead-dark { color: var(--muted); }
.page-lead-dark a { color: var(--red); font-weight: 600; }
.light-hero-center { text-align: center; border-bottom: 0; min-height: 70vh; display: grid; align-items: center; }
.light-hero-center .page-lead { margin-inline: auto; }
.complete-mark { width: 72px; height: 72px; margin: 0 auto 32px; border-radius: 50%; background: var(--red); display: grid; place-items: center; }
.complete-mark svg { width: 34px; height: 34px; fill: none; stroke: #fff; stroke-width: 5; }
.complete-actions { display: flex; justify-content: center; gap: 12px; margin-top: 40px; flex-wrap: wrap; }

/* ---------- reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(32px); transition: opacity 1.1s var(--ease), transform 1.1s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }

/* ---------- stats ---------- */
.stats { padding-block: clamp(72px, 9vw, 128px); }
.stats-grid { display: grid; gap: 40px; }
.stat { padding-top: 28px; border-top: 1px solid var(--line-strong); }
.stat-value {
  font-size: clamp(3rem, 6.4vw, 5.4rem); font-weight: 700; letter-spacing: -0.05em; line-height: 1;
  font-variant-numeric: tabular-nums; display: flex; align-items: baseline;
}
.stat-suffix { color: var(--red); font-size: 0.6em; margin-left: 4px; letter-spacing: -0.02em; }
.stat-label { margin-top: 18px; font-size: 1.1rem; font-weight: 700; letter-spacing: -0.02em; }
.stat-note { margin-top: 6px; color: var(--muted); font-size: 0.95rem; line-height: 1.6; }
.stats-dark { background: var(--ink); color: var(--on-dark); }
.stats-dark .stat { border-top-color: var(--line-dark); }
.stats-dark .stat-note { color: var(--on-dark-muted); }
@media (min-width: 760px) {
  .stats-grid { grid-template-columns: repeat(3, 1fr); gap: 40px; }
  .stats-grid .stat:nth-child(2) { transition-delay: 0.1s; }
  .stats-grid .stat:nth-child(3) { transition-delay: 0.2s; }
}

/* ---------- statement ---------- */
.statement { padding-top: clamp(40px, 6vw, 80px); }
.statement-inner { max-width: 1120px; }
.statement-text {
  font-size: clamp(1.7rem, 3.9vw, 3.35rem); line-height: 1.38; font-weight: 600; letter-spacing: -0.035em;
}
.statement-text .w { opacity: 0.16; transition: opacity 0.35s linear; }
.statement-text .w.on { opacity: 1; }

/* ---------- services index ---------- */
.services-index { background: var(--white); }
.svc-list { border-top: 1px solid var(--line-strong); }
.svc-row { border-bottom: 1px solid var(--line-strong); }
.svc-row a {
  position: relative; display: grid; grid-template-columns: 44px 1fr 40px; gap: 12px 20px; align-items: start;
  padding: 34px 0; isolation: isolate;
}
.svc-row a::before {
  content: ""; position: absolute; inset: 0 calc(var(--gutter) * -0.5); z-index: -1; background: var(--ink);
  clip-path: inset(0 0 100% 0); transition: clip-path 0.6s var(--ease);
}
.svc-no { font-size: 0.85rem; font-weight: 600; color: var(--red); padding-top: 8px; font-variant-numeric: tabular-nums; transition: color 0.4s; }
.svc-title { display: flex; flex-direction: column; gap: 4px; }
.svc-title strong { font-size: clamp(1.6rem, 3.2vw, 2.5rem); font-weight: 700; letter-spacing: -0.035em; line-height: 1.2; transition: color 0.4s; }
.svc-title em { font-style: normal; font-size: 0.8rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--faint); transition: color 0.4s; }
.svc-body { grid-column: 2 / -1; display: flex; flex-direction: column; gap: 16px; }
.svc-summary { color: var(--muted); max-width: 36em; transition: color 0.4s; }
.svc-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.svc-tags span {
  font-size: 0.82rem; padding: 5px 12px; border-radius: 999px; border: 1px solid var(--line-strong); color: var(--muted);
  transition: color 0.4s, border-color 0.4s;
}
.svc-arrow {
  grid-column: 3; grid-row: 1; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line-strong);
  display: grid; place-items: center; transition: background-color 0.4s, border-color 0.4s, transform 0.6s var(--ease);
}
.svc-arrow svg { width: 18px; height: 18px; }
@media (hover: hover) {
  .svc-row a:hover::before { clip-path: inset(0 0 0 0); }
  .svc-row a:hover .svc-title strong { color: #fff; }
  .svc-row a:hover .svc-title em, .svc-row a:hover .svc-summary { color: var(--on-dark-muted); }
  .svc-row a:hover .svc-tags span { color: var(--on-dark-muted); border-color: var(--line-dark); }
  .svc-row a:hover .svc-arrow { background: var(--red); border-color: var(--red); color: #fff; transform: rotate(45deg); }
  .svc-row a:hover .svc-no { color: var(--red-glow); }
}
@media (min-width: 900px) {
  .svc-row a { grid-template-columns: 72px minmax(0, 0.9fr) minmax(0, 1.3fr) 48px; gap: 32px; padding: 44px 0; align-items: center; }
  .svc-body { grid-column: 3; }
  .svc-arrow { grid-column: 4; grid-row: 1; width: 48px; height: 48px; }
  .svc-no { padding-top: 0; }
}

/* ---------- industry ring (animos-style 3D showcase) ---------- */
.ring-section { background: var(--ink); color: var(--on-dark); overflow: hidden; padding-bottom: clamp(40px, 6vw, 80px); }
.ring-bg {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(60% 50% at 50% 100%, rgba(208, 18, 27, 0.28), transparent 70%),
    radial-gradient(40% 40% at 50% 62%, rgba(255, 255, 255, 0.05), transparent 70%);
}
.ring-head { position: relative; text-align: center; display: flex; flex-direction: column; align-items: center; }
.ring-head .section-lead { margin-inline: auto; }
.ring-stage {
  --card-w: clamp(170px, 22vw, 250px);
  --card-h: calc(var(--card-w) * 1.28);
  position: relative; height: calc(var(--card-h) * 1.42); margin-top: clamp(16px, 3vw, 40px);
  perspective: 1700px; perspective-origin: 50% 42%;
  display: grid; place-items: center;
  mask-image: linear-gradient(90deg, transparent, #000 14%, #000 86%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 14%, #000 86%, transparent);
}
.ring { position: relative; width: var(--card-w); height: var(--card-h); transform-style: preserve-3d; }
.ring-card { position: absolute; inset: 0; transform-style: preserve-3d; will-change: transform; cursor: grab; }
.ring-card:active { cursor: grabbing; }
.ring-card::before {
  content: ""; position: absolute; inset: 0; border-radius: 22px; transform: rotateY(180deg);
  backface-visibility: hidden; -webkit-backface-visibility: hidden;
  background: linear-gradient(155deg, #1a1c20, #0f1013); border: 1px solid rgba(255, 255, 255, 0.06);
}
.ring-card:nth-child(3n + 1)::before { background: linear-gradient(155deg, #6e0a10, #3d070a); }
.ring-card-face {
  position: absolute; inset: 0; border-radius: 22px; padding: 22px;
  display: flex; flex-direction: column; justify-content: space-between;
  background: linear-gradient(155deg, #23262b 0%, #15171a 55%, #101114 100%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  overflow: hidden; backface-visibility: hidden; -webkit-backface-visibility: hidden;
}
.ring-card-face::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(115deg, transparent 30%, rgba(255, 255, 255, 0.07) 45%, transparent 60%);
}
.ring-card:nth-child(3n + 1) .ring-card-face { background: linear-gradient(155deg, #d0121b 0%, #a20d14 70%, #7c0a10 100%); border-color: rgba(255, 255, 255, 0.18); }
.ring-card:nth-child(3n + 1) .rc-icon, .ring-card:nth-child(3n + 1) .rc-no { color: #fff; }
.rc-top { display: flex; justify-content: space-between; align-items: flex-start; }
.rc-icon { width: 34px; height: 34px; color: var(--red-glow); }
.rc-no { font-size: 0.78rem; font-weight: 600; color: var(--on-dark-faint); letter-spacing: 0.08em; }
.rc-bottom { display: flex; flex-direction: column; gap: 4px; }
.rc-bottom strong { font-size: clamp(1.35rem, 2.2vw, 1.85rem); font-weight: 700; letter-spacing: -0.03em; line-height: 1.2; }
.rc-bottom span { font-size: clamp(0.62rem, 1.4vw, 0.76rem); letter-spacing: 0.1em; text-transform: uppercase; color: var(--on-dark-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ring-compact .ring-stage { --card-w: clamp(150px, 18vw, 210px); }

/* ---------- process ---------- */
.steps { position: relative; display: grid; gap: 0; --p: 0; }
.steps::before, .steps::after { content: ""; position: absolute; background: var(--line-strong); }
.steps::before { left: 7px; top: 8px; bottom: 8px; width: 1px; }
.steps::after { left: 7px; top: 8px; width: 1px; height: calc((100% - 16px) * var(--p)); background: var(--red); }
.step { position: relative; padding: 0 0 48px 48px; }
.step:last-child { padding-bottom: 0; }
.step-dot {
  position: absolute; left: 0; top: 4px; width: 15px; height: 15px; border-radius: 50%;
  background: var(--paper); border: 1.5px solid var(--line-strong); transition: background-color 0.5s, border-color 0.5s;
}
.step.is-active .step-dot { background: var(--red); border-color: var(--red); box-shadow: 0 0 0 6px rgba(208, 18, 27, 0.12); }
.step-no { display: block; font-size: 0.8rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--red); }
.step h3 { margin: 14px 0 10px; font-size: clamp(1.5rem, 2.4vw, 2rem); font-weight: 700; letter-spacing: -0.03em; }
.step p { color: var(--muted); }
@media (min-width: 900px) {
  .steps { grid-template-columns: repeat(4, 1fr); gap: 32px; }
  .steps::before { left: 0; right: 0; top: 7px; bottom: auto; width: auto; height: 1px; }
  .steps::after { left: 0; top: 7px; height: 1px; width: calc(100% * var(--p)); }
  .step { padding: 48px 0 0; }
  .step:nth-child(2) { transition-delay: 0.08s; }
  .step:nth-child(3) { transition-delay: 0.16s; }
  .step:nth-child(4) { transition-delay: 0.24s; }
}

/* ---------- leader / people ---------- */
.leader { background: var(--paper-2); }
.leader-grid { display: grid; gap: 48px; align-items: center; }
.portrait { position: relative; aspect-ratio: 4 / 5; border-radius: var(--radius); overflow: hidden; background: var(--ink); }
.portrait > img { width: 100%; height: 100%; object-fit: cover; }
.portrait-placeholder {
  position: absolute; inset: 0; display: grid; place-items: center;
  background:
    radial-gradient(80% 60% at 70% 100%, rgba(208, 18, 27, 0.35), transparent 70%),
    repeating-linear-gradient(-45deg, rgba(255, 255, 255, 0.035) 0 1px, transparent 1px 22px),
    var(--ink);
}
.portrait-placeholder img { width: 34%; border-radius: 10px; box-shadow: 0 30px 60px -10px rgba(0, 0, 0, 0.6); }
.leader-headline { font-size: var(--fs-lead); font-weight: 500; line-height: 1.7; margin: 24px 0 36px; max-width: 32em; letter-spacing: -0.01em; }
.career { border-top: 1px solid var(--line-strong); }
.career li {
  display: flex; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line);
  font-size: 0.98rem; color: var(--text);
}
.career li::before { content: ""; flex-shrink: 0; width: 12px; height: 1.5px; background: var(--red); margin-top: 0.85em; }
.career li.has-tag { gap: 14px; }
.career li.has-tag::before { display: none; }
.career-tag { flex-shrink: 0; }
@media (min-width: 900px) {
  .leader-grid { grid-template-columns: 5fr 7fr; gap: clamp(48px, 7vw, 112px); }
}
.person { display: grid; gap: 32px; padding: 48px 0; border-top: 1px solid var(--line-strong); }
.person-role { font-size: 0.85rem; font-weight: 600; color: var(--red); letter-spacing: 0.06em; }
.person-name { font-size: clamp(1.8rem, 3.4vw, 2.6rem); font-weight: 700; letter-spacing: -0.035em; margin-top: 8px; }
.person-name small { font-size: 0.45em; font-weight: 500; color: var(--faint); letter-spacing: 0.04em; }
@media (min-width: 900px) {
  .person { grid-template-columns: 4fr 8fr; gap: clamp(48px, 7vw, 112px); padding: 64px 0; }
  .person .portrait { max-width: 400px; }
}

/* ---------- about values ---------- */
.values .wrap { display: grid; }
.value-row { display: grid; gap: 16px 48px; padding: clamp(40px, 5vw, 64px) 0; border-top: 1px solid var(--line-strong); }
.value-row:last-child { border-bottom: 1px solid var(--line-strong); }
.value-no { font-size: 0.85rem; font-weight: 600; color: var(--red); }
.value-title { font-size: clamp(1.6rem, 3vw, 2.4rem); font-weight: 700; letter-spacing: -0.035em; line-height: 1.25; }
.value-body { color: var(--muted); font-size: 1.05rem; line-height: 1.85; }
@media (min-width: 900px) { .value-row { grid-template-columns: 72px 5fr 7fr; } }

/* ---------- location ---------- */
.location { background: var(--white); }
.location-grid { display: grid; gap: 40px; }
.location-card { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--paper); }
.location-visual { position: relative; height: 240px; background: var(--ink); overflow: hidden; }
.loc-grid {
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 28px 28px;
}
.loc-road { position: absolute; background: rgba(255, 255, 255, 0.14); }
.loc-road-a { left: -10%; right: -10%; top: 58%; height: 14px; transform: rotate(-8deg); }
.loc-road-b { top: -10%; bottom: -10%; left: 38%; width: 10px; transform: rotate(14deg); }
.loc-pin { position: absolute; left: 62%; top: 34%; width: 18px; height: 18px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 6px rgba(208, 18, 27, 0.25); }
.loc-pin span { position: absolute; inset: -6px; border-radius: 50%; border: 1.5px solid var(--red-glow); animation: ping 2.4s var(--ease) infinite; }
@keyframes ping { from { transform: scale(0.6); opacity: 1; } to { transform: scale(3.2); opacity: 0; } }
.loc-label { position: absolute; font-size: 0.75rem; color: var(--on-dark-muted); letter-spacing: 0.02em; }
.loc-label-a { left: 12%; top: 70%; }
.loc-label-b { left: 44%; top: 14%; }
.loc-label-c { left: calc(62% + 26px); top: calc(34% - 2px); color: #fff; font-weight: 600; }
.location-info { padding: 12px 28px; }
.location-info > div { display: grid; grid-template-columns: 96px 1fr; gap: 12px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.location-info > div:last-child { border-bottom: 0; }
.location-info dt { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: 0.9rem; }
.location-info dt svg { width: 16px; height: 16px; color: var(--red); }
.location-info dd { font-weight: 500; }
.location-info a { font-weight: 700; }
.location-actions { display: flex; gap: 10px; padding: 0 28px 28px; flex-wrap: wrap; }
@media (min-width: 900px) { .location-grid { grid-template-columns: 4fr 7fr; gap: 72px; } }

/* ---------- services detail ---------- */
.svc-detail { background: var(--white); }
.svc-detail-grid { display: grid; gap: 40px; }
.svc-aside { display: none; }
.svc-nav { position: sticky; top: calc(var(--header-h) + 40px); display: flex; flex-direction: column; border-left: 1px solid var(--line-strong); }
.svc-nav a {
  display: flex; gap: 14px; padding: 12px 0 12px 20px; margin-left: -1px; border-left: 2px solid transparent;
  color: var(--faint); font-weight: 600; transition: color 0.3s, border-color 0.3s;
}
.svc-nav a span { font-size: 0.78rem; padding-top: 3px; font-variant-numeric: tabular-nums; }
.svc-nav a:hover { color: var(--text); }
.svc-nav a.is-active { color: var(--text); border-left-color: var(--red); }
.svc-block { padding-bottom: clamp(72px, 9vw, 128px); scroll-margin-top: calc(var(--header-h) + 24px); }
.svc-block + .svc-block { padding-top: clamp(72px, 9vw, 128px); border-top: 1px solid var(--line-strong); }
.svc-block:last-child { padding-bottom: 0; }
.svc-block-no { display: block; font-size: 0.8rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--red); }
.svc-block-title { font-size: var(--fs-h2); font-weight: 700; letter-spacing: -0.04em; line-height: 1.15; margin: 14px 0 22px; }
.svc-block-lead { font-size: var(--fs-lead); color: var(--muted); max-width: 38em; line-height: 1.75; }
.svc-items { display: grid; gap: 16px; margin-top: 48px; }
.svc-item {
  position: relative; padding: 28px; border-radius: var(--radius); background: var(--paper);
  border: 1px solid transparent; transition: border-color 0.4s, background-color 0.4s, transform 0.6s var(--ease);
}
.svc-item:hover { background: var(--white); border-color: var(--line-strong); transform: translateY(-4px); }
.svc-item-no { font-size: 0.8rem; font-weight: 600; color: var(--red); }
.svc-item h3 { margin: 14px 0 10px; font-size: var(--fs-h3); font-weight: 700; letter-spacing: -0.025em; line-height: 1.35; }
.svc-item p { color: var(--muted); font-size: 0.98rem; line-height: 1.75; }
@media (min-width: 700px) { .svc-items { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) {
  .svc-detail-grid { grid-template-columns: 220px 1fr; gap: 80px; }
  .svc-aside { display: block; }
}

/* ---------- insights ---------- */
.insights-latest { background: var(--white); }
.post-grid { display: grid; gap: 16px; }
.post-card {
  display: flex; flex-direction: column; overflow: hidden;
  border-radius: var(--radius); background: var(--paper); border: 1px solid transparent;
  transition: background-color 0.5s var(--ease), border-color 0.5s, transform 0.6s var(--ease);
}
.post-card[hidden] { display: none; }
.post-card:hover { background: var(--ink); color: var(--on-dark); transform: translateY(-6px); }
.post-card:hover .post-summary, .post-card:hover .post-meta { color: var(--on-dark-muted); }
.post-thumb {
  position: relative; display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--paper-2);
}
/* 블로그 썸네일은 정사각형에 제목이 위쪽에 있는 경우가 많아 위를 기준으로 자른다 */
.post-thumb img { width: 100%; height: 100%; object-fit: cover; object-position: center top; transition: transform 1.2s var(--ease); transform-origin: center top; }
.post-card:hover .post-thumb img { transform: scale(1.05); }
.post-thumb-empty {
  display: flex; flex-direction: column; justify-content: flex-start; padding: 22px 24px;
  background:
    radial-gradient(70% 80% at 100% 100%, rgba(208, 18, 27, 0.42), transparent 70%),
    repeating-linear-gradient(-45deg, rgba(255, 255, 255, 0.035) 0 1px, transparent 1px 18px),
    var(--ink);
  color: var(--on-dark);
}
.post-thumb-mark { position: absolute; top: 20px; right: 20px; width: 38px; height: 38px; color: var(--red-glow); }
.post-thumb-mark svg { width: 100%; height: 100%; stroke-width: 2; }
.post-thumb-cat { font-size: clamp(1.3rem, 2.2vw, 1.6rem); font-weight: 700; letter-spacing: -0.03em; }
.post-source {
  position: absolute; bottom: 12px; left: 12px; display: inline-flex; align-items: center; gap: 4px;
  padding: 5px 10px; border-radius: 999px; font-size: 0.74rem; font-weight: 700; letter-spacing: 0.01em;
  background: rgba(12, 13, 15, 0.72); color: #fff; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
}
.post-source svg { width: 12px; height: 12px; }
.post-source-blog { background: rgba(255, 255, 255, 0.92); color: var(--ink); }
.post-body { display: flex; flex-direction: column; gap: 12px; flex: 1; padding: 24px 26px 26px; }
.post-meta { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: 0.82rem; color: var(--muted); font-variant-numeric: tabular-nums; }
.post-meta span:first-child { color: var(--red); font-weight: 600; }
.post-title { font-size: 1.22rem; font-weight: 700; letter-spacing: -0.025em; line-height: 1.45; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.head-links { display: flex; flex-wrap: wrap; gap: 8px 28px; }
.light-hero-actions { margin-top: 32px; }
.filter-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 32px; }
.filter-tabs[hidden] { display: none; }
.filter-tabs button {
  display: inline-flex; align-items: center; gap: 8px; height: 42px; padding: 0 18px; cursor: pointer;
  border-radius: 999px; border: 1px solid var(--line-strong); background: var(--white);
  font-size: 0.92rem; font-weight: 600; transition: background-color 0.3s, color 0.3s, border-color 0.3s;
}
.filter-tabs button span { font-size: 0.8rem; font-weight: 500; color: var(--faint); font-variant-numeric: tabular-nums; }
.filter-tabs button:hover { border-color: var(--ink); }
.filter-tabs button[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.filter-tabs button[aria-pressed="true"] span { color: var(--on-dark-faint); }
.nav-ext { display: inline-flex; align-items: center; gap: 4px; }
.nav-ext svg { width: 13px; height: 13px; opacity: 0.7; }
.mobile-ext { width: 0.6em; height: 0.6em; margin-left: auto; align-self: center; color: var(--on-dark-faint); }
.post-summary { color: var(--muted); font-size: 0.96rem; line-height: 1.7; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.post-more { margin-top: auto; display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 0.92rem; }
.post-more svg { width: 16px; height: 16px; transition: transform 0.5s var(--ease); }
.post-card:hover .post-more svg { transform: translateX(5px); }
@media (min-width: 760px) { .post-grid { grid-template-columns: repeat(3, 1fr); } .post-grid-2 { grid-template-columns: repeat(2, 1fr); } }
.post-list { border-top: 1px solid var(--line-strong); }
.post-list li { border-bottom: 1px solid var(--line-strong); }
.post-row { display: grid; grid-template-columns: 1fr 40px; gap: 12px 24px; padding: 36px 0; align-items: start; }
.post-row .post-meta { grid-column: 1 / -1; }
.post-row-body { display: flex; flex-direction: column; gap: 10px; }
.post-row .post-title { font-size: clamp(1.3rem, 2.4vw, 1.8rem); transition: color 0.3s; }
.post-row:hover .post-title { color: var(--red); }
.post-row:hover .svc-arrow { background: var(--red); border-color: var(--red); color: #fff; transform: rotate(45deg); }
@media (min-width: 900px) {
  .post-row { grid-template-columns: 180px 1fr 48px; gap: 40px; }
  .post-row .post-meta { grid-column: 1; flex-direction: column; padding-top: 8px; }
  .post-row .svc-arrow { grid-column: 3; width: 48px; height: 48px; }
}
.empty { color: var(--muted); padding: 48px 0; }

/* article */
.article { padding: calc(var(--header-h) + clamp(48px, 8vw, 112px)) 0 clamp(64px, 8vw, 112px); background: var(--paper); }
.article-head { max-width: 860px; margin-bottom: clamp(40px, 6vw, 72px); }
.back-link { display: inline-flex; align-items: center; gap: 8px; font-size: 0.9rem; font-weight: 600; color: var(--muted); margin-bottom: 40px; }
.back-link svg { width: 16px; height: 16px; transform: rotate(180deg); transition: transform 0.4s var(--ease); }
.back-link:hover { color: var(--text); }
.back-link:hover svg { transform: rotate(180deg) translateX(4px); }
.article-title { font-size: clamp(2rem, 4.6vw, 3.4rem); font-weight: 700; letter-spacing: -0.04em; line-height: 1.22; margin: 18px 0 22px; }
.article-summary { font-size: var(--fs-lead); color: var(--muted); line-height: 1.75; }
.prose { max-width: 760px; font-size: 1.08rem; line-height: 1.95; color: #24272c; }
.prose > * + * { margin-top: 1.25em; }
.prose h2 { font-size: clamp(1.4rem, 2.4vw, 1.75rem); font-weight: 700; letter-spacing: -0.03em; line-height: 1.4; margin-top: 2.4em; color: var(--text); }
.prose h3 { font-size: 1.25rem; font-weight: 700; margin-top: 2em; }
.prose strong { color: var(--text); font-weight: 700; box-shadow: inset 0 -0.42em 0 rgba(208, 18, 27, 0.12); }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose ul { list-style: none; padding-left: 0; }
.prose ul li { position: relative; padding-left: 22px; }
.prose ul li::before { content: ""; position: absolute; left: 0; top: 0.95em; width: 10px; height: 1.5px; background: var(--red); }
.prose ol { list-style: decimal; }
.prose ol li::marker { color: var(--red); font-weight: 700; }
.prose li + li { margin-top: 0.5em; }
.prose a { color: var(--red); text-decoration: underline; text-underline-offset: 3px; }
.prose blockquote { margin: 2.4em 0 0; padding: 20px 24px; border-left: 2px solid var(--red); background: var(--paper-2); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; color: var(--muted); font-size: 0.95rem; }
.prose blockquote p { margin: 0; }
.prose table { width: 100%; border-collapse: collapse; font-size: 0.95rem; line-height: 1.6; display: block; overflow-x: auto; }
.prose th, .prose td { text-align: left; padding: 14px 16px; border-bottom: 1px solid var(--line); vertical-align: top; min-width: 120px; }
.prose th { font-weight: 700; color: var(--text); border-bottom: 1.5px solid var(--text); white-space: nowrap; }

/* ---------- consultation ---------- */
.consult-grid { display: grid; gap: 48px; }
.consult-card { padding: 32px; border-radius: var(--radius); background: var(--ink); color: var(--on-dark); position: relative; overflow: hidden; }
.consult-card::after {
  content: ""; position: absolute; width: 260px; height: 260px; right: -100px; bottom: -120px; border-radius: 50%;
  background: radial-gradient(circle, rgba(208, 18, 27, 0.5), transparent 70%);
}
.consult-card-label { font-size: 0.85rem; color: var(--on-dark-muted); }
.consult-tel { display: block; margin: 8px 0 14px; font-size: clamp(1.9rem, 3.4vw, 2.4rem); font-weight: 700; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.consult-tel:hover { color: var(--red-glow); }
.consult-note { font-size: 0.92rem; color: var(--on-dark-muted); position: relative; z-index: 1; }
.consult-info { margin-top: 24px; }
.consult-info > div { padding: 16px 0; border-bottom: 1px solid var(--line); }
.consult-info dt { font-size: 0.82rem; color: var(--muted); }
.consult-info dd { font-weight: 500; margin-top: 2px; }
.consult-form { display: grid; gap: 28px 24px; align-content: start; }
.field { display: flex; flex-direction: column; gap: 10px; border: 0; padding: 0; margin: 0; min-width: 0; }
.field label, .field legend { font-size: 0.92rem; font-weight: 600; padding: 0; }
.field b { color: var(--red); font-weight: 600; }
.field .opt { font-size: 0.78rem; font-weight: 500; color: var(--faint); margin-left: 4px; }
.field input[type="text"], .field input[type="tel"], .field input[type="email"], .field input[type="password"], .field textarea {
  width: 100%; padding: 14px 16px; border-radius: var(--radius-sm); border: 1px solid var(--line-strong);
  background: var(--white); font-size: 1rem; line-height: 1.6; transition: border-color 0.3s, box-shadow 0.3s;
}
.field textarea { resize: vertical; min-height: 180px; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 4px rgba(12, 13, 15, 0.08); }
.field ::placeholder { color: #a3a7ad; }
.field.is-invalid input, .field.is-invalid textarea { border-color: var(--red); }
.field-error { font-size: 0.86rem; color: var(--red); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.chip { position: relative; cursor: pointer; }
.chip input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.chip span {
  display: block; padding: 10px 16px; border-radius: 999px; border: 1px solid var(--line-strong); background: var(--white);
  font-size: 0.92rem; font-weight: 500; transition: background-color 0.3s, color 0.3s, border-color 0.3s;
}
.chip:hover span { border-color: var(--ink); }
.chip input:checked + span { background: var(--ink); color: #fff; border-color: var(--ink); }
.chip input:focus-visible + span { outline: 2px solid var(--red); outline-offset: 2px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.check { display: flex; align-items: flex-start; gap: 12px; cursor: pointer; font-weight: 500 !important; }
.check input { width: 20px; height: 20px; margin: 3px 0 0; accent-color: var(--red); flex-shrink: 0; }
.agree-detail { font-size: 0.88rem; color: var(--muted); padding-left: 32px; }
.agree-detail summary { cursor: pointer; font-weight: 600; color: var(--text); width: fit-content; }
.agree-detail ul { margin: 10px 0; display: grid; gap: 4px; }
.agree-detail a { color: var(--red); text-decoration: underline; text-underline-offset: 3px; }
.form-notice { padding: 14px 18px; border-radius: var(--radius-sm); background: rgba(208, 18, 27, 0.08); color: var(--red-deep); font-weight: 600; font-size: 0.95rem; grid-column: 1 / -1; }
.form-actions { padding-top: 8px; }
.form-actions .btn { min-width: 220px; }
.btn.is-loading { pointer-events: none; opacity: 0.7; }
@media (min-width: 700px) {
  .consult-form { grid-template-columns: 1fr 1fr; }
  .field-full { grid-column: 1 / -1; }
}
@media (min-width: 1024px) {
  .consult-grid { grid-template-columns: 4fr 8fr; gap: 80px; }
  .consult-aside { position: sticky; top: calc(var(--header-h) + 40px); align-self: start; }
}

/* ---------- admin ---------- */
.admin-login { min-height: 100svh; display: grid; align-items: center; border-bottom: 0; }
.admin-login-card {
  display: grid; gap: 20px; width: min(100%, 420px); margin-inline: auto; padding: clamp(28px, 5vw, 44px);
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
}
.admin-login-card .eyebrow { margin: 0; }
.admin-login-title { font-size: 1.7rem; font-weight: 700; letter-spacing: -0.03em; }
.admin-login-lead { color: var(--muted); margin-top: -12px; }
.admin-login-card .btn { margin-top: 4px; }
.admin-bar { display: flex; flex-wrap: wrap; gap: 12px 24px; align-items: flex-end; justify-content: space-between; }
.admin-list { display: grid; gap: 16px; }
.admin-item { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.admin-item header { display: flex; flex-wrap: wrap; gap: 8px 16px; align-items: center; font-size: 0.88rem; color: var(--muted); margin-bottom: 14px; }
.admin-no { font-weight: 700; color: var(--text); }
.admin-cat { padding: 3px 10px; border-radius: 999px; background: var(--paper-2); color: var(--text); font-weight: 600; }
.admin-item dl { display: flex; flex-wrap: wrap; gap: 6px 28px; margin-bottom: 12px; }
.admin-item dl div { display: flex; gap: 8px; }
.admin-item dt { color: var(--muted); }
.admin-item dd { font-weight: 600; }
.admin-msg { white-space: pre-wrap; padding: 16px; background: var(--paper); border-radius: var(--radius-sm); font-size: 0.96rem; }

/* ---------- CTA band ---------- */
.cta-band { position: relative; overflow: hidden; background: var(--red); color: #fff; padding-block: clamp(80px, 10vw, 140px); isolation: isolate; }
.cta-pattern {
  position: absolute; inset: 0; z-index: -1; opacity: 0.16;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120' viewBox='0 0 120 120'%3E%3Cg fill='none' stroke='%23fff' stroke-width='3'%3E%3Cpath d='M30 90L80 40M50 40h30v30'/%3E%3C/g%3E%3C/svg%3E");
  background-size: 120px 120px; animation: drift 30s linear infinite;
}
@keyframes drift { to { background-position: 120px -120px; } }
.cta-band .eyebrow-light { color: rgba(255, 255, 255, 0.78); }
.cta-band .eyebrow-light::before { background: #fff; }
.cta-inner { display: grid; gap: 40px; align-items: end; }
.cta-title { font-size: var(--fs-h2); font-weight: 700; letter-spacing: -0.04em; line-height: 1.15; }
.cta-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 20px 32px; }
.cta-tel { display: flex; flex-direction: column; font-size: 1.6rem; font-weight: 700; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; line-height: 1.3; }
.cta-tel span { font-size: 0.82rem; font-weight: 500; opacity: 0.8; letter-spacing: 0; }
.cta-tel:hover { opacity: 0.85; }
@media (min-width: 900px) { .cta-actions { justify-content: space-between; } }

/* ---------- footer ---------- */
.site-footer { background: var(--ink); color: var(--on-dark-muted); padding: clamp(64px, 8vw, 96px) 0 calc(32px + env(safe-area-inset-bottom)); font-size: 0.92rem; }
.footer-top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 32px; padding-bottom: 40px; border-bottom: 1px solid var(--line-dark); }
.footer-brand { display: flex; align-items: center; gap: 16px; color: var(--on-dark); }
.footer-brand img { width: 56px; border-radius: 8px; }
.footer-brand span { display: flex; flex-direction: column; }
.footer-brand strong { font-size: 1.15rem; font-weight: 700; letter-spacing: -0.02em; }
.footer-brand em { font-style: normal; font-size: 0.78rem; letter-spacing: 0.08em; color: var(--on-dark-faint); }
.footer-nav { display: flex; flex-wrap: wrap; gap: 10px 28px; align-items: center; }
.footer-nav a { color: var(--on-dark); transition: color 0.3s; }
.footer-nav a:hover { color: var(--red-glow); }
.footer-info { padding: 32px 0; }
.footer-info dl { display: grid; gap: 10px 40px; }
.footer-info dl > div { display: flex; gap: 14px; }
.footer-info dt { flex-shrink: 0; min-width: 92px; color: var(--on-dark-faint); }
.footer-info dd { color: var(--on-dark-muted); }
.footer-info a:hover { color: #fff; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-top: 24px; border-top: 1px solid var(--line-dark); color: var(--on-dark-faint); font-size: 0.84rem; }
.footer-bottom a strong { color: var(--on-dark); font-weight: 600; }
@media (min-width: 900px) { .footer-info dl { grid-template-columns: 1fr 1fr; } }

/* ---------- channels: header / footer / mobile ---------- */
.header-social { display: none; align-items: center; gap: 2px; padding-right: 14px; margin-right: 2px; border-right: 1px solid currentColor; border-right-color: color-mix(in srgb, currentColor 22%, transparent); }
.header-social a { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; opacity: 0.78; transition: opacity 0.3s, background-color 0.3s; }
.header-social a:hover { opacity: 1; background: color-mix(in srgb, currentColor 10%, transparent); }
.header-social svg { width: 19px; height: 19px; }
@media (min-width: 1200px) { .header-social { display: flex; } }
.social-row { display: flex; gap: 8px; margin-bottom: 16px; }
.social-row a {
  flex: 1; display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 12px 8px;
  border: 1px solid var(--line-dark); border-radius: var(--radius-sm); font-size: 0.82rem; color: var(--on-dark-muted);
}
.social-row svg { width: 22px; height: 22px; color: var(--on-dark); }
.footer-social { display: grid; gap: 10px; padding: 32px 0 0; }
.footer-social a {
  display: flex; align-items: center; gap: 14px; padding: 16px 18px; border-radius: var(--radius-sm);
  border: 1px solid var(--line-dark); transition: border-color 0.3s, background-color 0.3s;
}
.footer-social a:hover { border-color: rgba(255, 255, 255, 0.3); background: rgba(255, 255, 255, 0.03); }
.footer-social svg { width: 26px; height: 26px; color: var(--on-dark); flex-shrink: 0; }
.footer-social span { display: flex; flex-direction: column; line-height: 1.4; }
.footer-social strong { color: var(--on-dark); font-weight: 600; font-size: 0.95rem; }
.footer-social em { font-style: normal; font-size: 0.82rem; color: var(--on-dark-faint); }
@media (min-width: 760px) { .footer-social { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); } }

/* ---------- video shelf ---------- */
.video-section { background: var(--ink); color: var(--on-dark); overflow: hidden; }
.video-bg {
  position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(50% 60% at 0% 100%, rgba(208, 18, 27, 0.22), transparent 70%);
}
.video-section .section-head { position: relative; margin-bottom: clamp(32px, 4vw, 56px); }
.video-head-actions { display: flex; align-items: center; gap: 24px; }
.shelf-nav { display: flex; gap: 8px; }
.shelf-nav[hidden] { display: none; }
.shelf-nav button {
  width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line-dark); background: transparent; color: var(--on-dark);
  display: grid; place-items: center; cursor: pointer; transition: background-color 0.3s, border-color 0.3s, opacity 0.3s;
}
.shelf-nav button:hover { background: #fff; color: var(--ink); border-color: #fff; }
.shelf-nav button:disabled { opacity: 0.3; pointer-events: none; }
.shelf-nav svg { width: 18px; height: 18px; }
.shelf-nav [data-shelf-prev] svg { transform: rotate(180deg); }
@media (max-width: 759px) { .shelf-nav { display: none; } }
.shelf {
  --vh: clamp(320px, 48vw, 440px);
  --pad: max(var(--gutter), calc((100% - var(--maxw)) / 2));
  position: relative; display: flex; gap: clamp(14px, 1.6vw, 22px); overflow-x: auto; overscroll-behavior-x: contain;
  padding: 4px var(--pad) 8px; scroll-padding-inline: var(--pad); scroll-snap-type: x proximity;
  scrollbar-width: none;
}
.shelf::-webkit-scrollbar { display: none; }
.video-card {
  flex: 0 0 auto; width: calc(var(--vh) * 16 / 9); scroll-snap-align: start;
  display: flex; flex-direction: column; gap: 12px; color: var(--on-dark);
}
.video-card.is-short { width: calc(var(--vh) * 9 / 16); }
.video-thumb {
  position: relative; display: block; height: var(--vh); border-radius: var(--radius); overflow: hidden;
  background: var(--ink-3); box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.7);
}
.video-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.video-shade { position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(0, 0, 0, 0.55)); transition: background-color 0.5s; }
.video-play {
  position: absolute; right: 14px; bottom: 14px; width: 52px; height: 52px; border-radius: 50%;
  display: grid; place-items: center; background: rgba(255, 255, 255, 0.16); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.35); transform: scale(0.9); opacity: 0.9;
  transition: transform 0.6s var(--ease), background-color 0.4s, opacity 0.4s;
}
.video-play svg { width: 20px; height: 20px; margin-left: 3px; color: #fff; }
.video-badge {
  position: absolute; left: 12px; top: 12px; padding: 4px 10px; border-radius: 999px; font-size: 0.72rem; font-weight: 700;
  background: rgba(12, 13, 15, 0.6); color: #fff; letter-spacing: 0.02em; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
}
.video-title {
  font-size: 1rem; font-weight: 600; line-height: 1.5; letter-spacing: -0.02em;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.video-meta { display: flex; gap: 10px; font-size: 0.82rem; color: var(--on-dark-faint); font-variant-numeric: tabular-nums; margin-top: -4px; }
.video-card:hover .video-thumb img { transform: scale(1.06); }
.video-card:hover .video-play { transform: scale(1); background: var(--red); border-color: var(--red); opacity: 1; }
.js .video-card { opacity: 0; transform: translateX(40px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.js .shelf.is-in .video-card { opacity: 1; transform: none; }

/* ---------- player ---------- */
.player {
  border: 0; padding: 0; background: transparent; max-width: none; max-height: none; width: 100%; height: 100%;
  overflow: hidden; color: #fff;
}
.player::backdrop { background: rgba(6, 6, 8, 0.86); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.player[open] { display: grid; place-items: center; animation: player-in 0.5s var(--ease); }
@keyframes player-in { from { opacity: 0; transform: scale(0.97); } }
.player-inner { display: flex; flex-direction: column; gap: 14px; width: min(1100px, 92vw); }
.player.is-short .player-inner { width: min(calc((100vh - 140px) * 9 / 16), 92vw); }
.player-frame { position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; background: #000; }
.player.is-short .player-frame { aspect-ratio: 9 / 16; }
.player-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.player-bar { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.player-link { display: inline-flex; align-items: center; gap: 6px; font-size: 0.9rem; color: rgba(255, 255, 255, 0.75); }
.player-link svg { width: 14px; height: 14px; }
.player-link:hover { color: #fff; }
.player-close {
  height: 40px; padding: 0 20px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, 0.3); background: transparent;
  color: #fff; font-weight: 600; cursor: pointer; transition: background-color 0.3s, color 0.3s;
}
.player-close:hover { background: #fff; color: var(--ink); }

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; transition-delay: 0s !important; }
  .js .reveal, .js .video-card, .js .line > span, .js .hero-eyebrow, .js .hero-sub, .js .hero-actions, .js .page-lead { opacity: 1 !important; transform: none !important; }
  .hero-arrow path { stroke-dashoffset: 0; }
  .statement-text .w { opacity: 1; }
  .ticker-track { animation: none; }
}

#booking { scroll-margin-top: var(--header-h); }

.cta-buttons { display: flex; flex-wrap: wrap; gap: 10px; }
.menu-actions { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 8px; margin-bottom: 8px; }

/* 카카오톡 상담 — 오른쪽 아래 떠 있는 버튼 */
.kakao-fab {
  position: fixed; z-index: 60; right: max(16px, env(safe-area-inset-right)); bottom: max(16px, env(safe-area-inset-bottom));
  display: inline-flex; align-items: center; gap: 8px; height: 50px; padding: 0 20px 0 16px; border-radius: 999px;
  background: var(--ink); color: #fff; border: 1px solid rgba(255, 255, 255, 0.16); font-weight: 600; font-size: 0.92rem;
  box-shadow: 0 12px 32px -10px rgba(0, 0, 0, 0.45), 0 2px 6px rgba(0, 0, 0, 0.12);
  transition: transform 0.4s var(--ease), opacity 0.4s, background-color 0.4s;
}
.kakao-fab svg { width: 20px; height: 20px; }
.kakao-fab:hover { transform: translateY(-2px); background: var(--red); }
.kakao-fab:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; }
.js .kakao-fab { animation: fab-in 0.7s var(--ease) 1.2s both; }
.menu-open .kakao-fab { opacity: 0; pointer-events: none; }
@keyframes fab-in { from { opacity: 0; transform: translateY(16px); } }
@media (prefers-reduced-motion: reduce) { .js .kakao-fab { animation: none; } }
@media (min-width: 900px) { .kakao-fab { right: 28px; bottom: 28px; height: 54px; } }

/* ---------- 방문 상담 예약 ---------- */
.consult-facts { display: grid; gap: 1px; margin-top: clamp(32px, 4vw, 48px); background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.consult-facts > div { display: grid; gap: 6px; padding: 22px 24px; background: var(--white); }
.consult-facts dt { font-size: 0.82rem; font-weight: 600; color: var(--red); letter-spacing: 0.04em; }
.consult-facts dd { display: grid; gap: 2px; }
.consult-facts strong { font-size: 1.15rem; font-weight: 700; letter-spacing: -0.02em; }
.consult-facts span { font-size: 0.9rem; color: var(--muted); }
@media (min-width: 760px) { .consult-facts { grid-template-columns: 1fr 1.2fr 1.4fr; } }

.consult-side-link {
  display: flex; align-items: center; gap: 14px; margin-top: 12px; padding: 18px 20px;
  border: 1px solid var(--line-strong); border-radius: var(--radius); background: var(--white);
  transition: border-color 0.3s, background-color 0.3s;
}
.consult-side-link > svg { width: 24px; height: 24px; color: var(--red); flex-shrink: 0; }
.consult-side-link span { display: grid; flex: 1; line-height: 1.45; }
.consult-side-link strong { font-weight: 700; }
.consult-side-link em { font-style: normal; font-size: 0.86rem; color: var(--muted); }
.consult-side-link .csl-arrow { width: 16px; height: 16px; color: var(--text); }
.consult-side-link:hover { border-color: var(--ink); }

.bk-legend { display: flex; align-items: center; gap: 10px; font-size: 1.05rem !important; font-weight: 700 !important; margin-bottom: 4px; }
.bk-no { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--ink); color: #fff; font-size: 0.8rem; font-weight: 700; }
.bk-step { gap: 16px; }

.bk-cal { border: 1px solid var(--line-strong); border-radius: var(--radius); background: var(--white); padding: 18px; }
.bk-cal-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.bk-cal-head strong { font-size: 1.05rem; font-weight: 700; }
.bk-nav { width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line-strong); font-size: 1.2rem; line-height: 1; color: var(--text); background: none; cursor: pointer; }
.bk-nav:disabled { opacity: 0.3; cursor: default; }
.bk-cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; text-align: center; }
.bk-dow { font-size: 0.78rem; color: var(--faint); padding: 4px 0 8px; }
.bk-dow:first-child { color: var(--red); }
.bk-date { height: 42px; border-radius: 10px; border: 0; background: none; font: inherit; font-size: 0.95rem; color: var(--faint); }
.bk-date.is-empty { visibility: hidden; }
.bk-date.is-open { color: var(--text); font-weight: 600; background: var(--paper); cursor: pointer; transition: background-color 0.2s, color 0.2s; }
.bk-date.is-open:hover { background: var(--paper-2); }
.bk-date.is-full { color: var(--faint); text-decoration: line-through; text-decoration-thickness: 1px; }
.bk-date.is-today { box-shadow: inset 0 0 0 1px var(--line-strong); }
.bk-date.is-sel { background: var(--ink) !important; color: #fff !important; }
.bk-date:focus-visible, .bk-nav:focus-visible { outline: 2px solid var(--red); outline-offset: 2px; }
.bk-cal-legend { display: flex; gap: 16px; margin-top: 12px; font-size: 0.8rem; color: var(--muted); }
.bk-cal-legend span { display: inline-flex; align-items: center; gap: 6px; }
.bk-cal-legend i { width: 12px; height: 12px; border-radius: 4px; background: var(--paper); box-shadow: inset 0 0 0 1px var(--line-strong); }
.bk-cal-legend i.is-full { background: none; }

.bk-days { display: grid; gap: 18px; align-content: start; }
.bk-picker { display: grid; gap: 20px; }
.bk-enhanced .bk-picker { align-items: start; }
@media (min-width: 1100px) {
  .bk-enhanced .bk-picker { grid-template-columns: minmax(300px, 360px) 1fr; gap: 28px; }
  .bk-enhanced .bk-slots { grid-template-columns: repeat(2, 1fr); }
}
.booking-form textarea { min-height: 96px; }
.bk-day-label { font-weight: 700; margin-bottom: 8px; }
.bk-day-label span { margin-left: 8px; font-size: 0.8rem; font-weight: 600; color: var(--faint); }
.bk-day.is-full .bk-day-label { color: var(--faint); }
.bk-enhanced .bk-day { display: none; }
.bk-enhanced .bk-day.is-active { display: block; }
.bk-slots { display: grid; grid-template-columns: repeat(auto-fill, minmax(104px, 1fr)); gap: 8px; }
.bk-slot { position: relative; cursor: pointer; }
.bk-slot input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.bk-slot span {
  display: block; padding: 12px 8px; text-align: center; border-radius: var(--radius-sm); border: 1px solid var(--line-strong);
  background: var(--white); font-weight: 600; font-size: 0.95rem; transition: background-color 0.2s, color 0.2s, border-color 0.2s;
}
.bk-slot:hover span { border-color: var(--ink); }
.bk-slot input:checked + span { background: var(--ink); color: #fff; border-color: var(--ink); }
.bk-slot input:focus-visible + span { outline: 2px solid var(--red); outline-offset: 2px; }
.bk-empty { padding: 20px; border-radius: var(--radius); background: var(--white); border: 1px solid var(--line); color: var(--muted); }
.bk-empty a { color: var(--red); font-weight: 700; }
.bk-count { font-size: 0.82rem; color: var(--faint); text-align: right; margin-top: -4px; }
.bk-actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; padding-top: 12px; border-top: 1px solid var(--line); }
.bk-summary { font-weight: 600; color: var(--faint); }
.bk-summary.is-set { color: var(--text); }
.booking-offline { padding: clamp(28px, 4vw, 44px); border-radius: var(--radius); background: var(--white); border: 1px solid var(--line); display: grid; gap: 14px; align-content: start; }
.booking-offline h2 { font-size: 1.4rem; font-weight: 700; letter-spacing: -0.03em; }
.booking-offline p { color: var(--muted); }
.booking-offline .btn { justify-self: start; }
.complete-when { margin: 8px auto 4px; font-size: clamp(1.3rem, 2.4vw, 1.7rem); font-weight: 700; color: var(--red); letter-spacing: -0.02em; }
.complete-place { margin-top: 12px; font-size: 0.92rem; color: var(--muted); }
.footer-legal { display: flex; flex-wrap: wrap; gap: 6px 20px; }
.footer-legal a:hover { color: var(--on-dark); }

/* ---------- 예약금 결제 · 예약 취소 ---------- */
.bk-deposit { padding: 18px 20px; border-radius: var(--radius-sm); background: var(--white); border: 1px solid var(--line-strong); display: grid; gap: 6px; font-size: 0.95rem; }
.bk-deposit p:last-child { color: var(--muted); font-size: 0.88rem; }
.bk-deposit a, .complete-refund a, .cancel-help a { color: var(--red); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.pay-grid { display: grid; gap: 32px; align-items: start; }
@media (min-width: 960px) { .pay-grid { grid-template-columns: 4fr 7fr; gap: 56px; } .pay-summary { position: sticky; top: calc(var(--header-h) + 32px); } }
.pay-summary { display: grid; gap: 18px; }
.pay-info { border-top: 1px solid var(--line-strong); }
.pay-info > div { display: grid; grid-template-columns: 6.5em 1fr; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.pay-info dt { color: var(--muted); font-size: 0.9rem; }
.pay-info dd { font-weight: 600; }
.pay-amount dd { display: grid; gap: 2px; }
.pay-amount strong { font-size: 1.5rem; color: var(--red); letter-spacing: -0.02em; }
.pay-amount span { font-size: 0.85rem; font-weight: 500; color: var(--muted); }
.pay-timer { padding: 12px 16px; border-radius: var(--radius-sm); background: var(--paper-2); font-size: 0.92rem; }
.pay-timer.is-over { background: rgba(208, 18, 27, 0.08); color: var(--red-deep); font-weight: 600; }
.refund-box { padding: 18px 20px; border-radius: var(--radius-sm); border: 1px solid var(--line-strong); background: var(--white); font-size: 0.9rem; }
.refund-title { font-weight: 700; margin-bottom: 8px; }
.refund-box ul { display: grid; gap: 6px; margin-bottom: 10px; padding-left: 1.1em; list-style: disc; color: var(--text); }
.refund-box a { color: var(--red); font-weight: 600; font-size: 0.86rem; }
.pay-main { display: grid; gap: 16px; padding: clamp(20px, 3vw, 32px); border-radius: var(--radius); background: var(--white); border: 1px solid var(--line); }
.pay-widget:empty { min-height: 120px; border-radius: var(--radius-sm); background: var(--paper); }
.pay-test { padding: 10px 14px; border-radius: var(--radius-sm); background: #fff6db; color: #8a5a00; font-weight: 700; font-size: 0.9rem; }
.pay-agree { font-size: 0.95rem; }
.cancel-wrap { max-width: 640px; }
.cancel-card { display: grid; gap: 18px; padding: clamp(24px, 4vw, 40px); border-radius: var(--radius); background: var(--white); border: 1px solid var(--line); }
.cancel-card h2 { font-size: 1.4rem; font-weight: 700; letter-spacing: -0.03em; }
.cancel-card.consult-form { grid-template-columns: 1fr; }
.cancel-refund { padding: 14px 16px; border-radius: var(--radius-sm); background: rgba(208, 18, 27, 0.06); color: var(--red-deep); }
.cancel-refund.is-yes { background: #e9f6ee; color: #0f6b39; }
.cancel-help { font-size: 0.88rem; color: var(--muted); }
.complete-no { display: inline-grid; gap: 4px; margin: 18px auto 8px; padding: 16px 28px; border-radius: var(--radius); background: var(--white); border: 1px solid var(--line-strong); }
.complete-no span { font-size: 0.82rem; color: var(--muted); }
.complete-no strong { font-size: 1.6rem; letter-spacing: 0.08em; font-variant-numeric: tabular-nums; }
.complete-no em { font-style: normal; font-size: 0.82rem; color: var(--muted); }
.complete-refund { margin-top: 10px; font-size: 0.9rem; color: var(--muted); }
