/* ============================================
   리얼IT전당포 — Design Tokens
   로고의 이중 육각형(네이비+블루)에서 팔레트/모티프를 가져옴
   ============================================ */
:root {
  --navy-900: #0c1c33;
  --navy-800: #132a4c;
  --blue-500: #2ba3e0;
  --blue-400: #4fc0f5;
  --sky-100: #eaf4fc;
  --sky-050: #f6fafd;
  --gold-500: #c9a45c;
  --ink-900: #0f1420;
  --ink-600: #4a5568;
  --white: #ffffff;

  --font-display: "Pretendard", "Noto Sans KR", -apple-system, sans-serif;
  --font-body: "Pretendard", "Noto Sans KR", -apple-system, sans-serif;

  --hex-clip: polygon(25% 0%, 75% 0%, 100% 50%, 75% 100%, 25% 100%, 0% 50%);
  --radius-card: 4px;
  --shadow-soft: 0 12px 32px rgba(12, 28, 51, 0.10);
}

@font-face {
  font-family: "Pretendard";
  src: url("https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/dist/web/static/woff2/Pretendard-Regular.woff2") format("woff2");
  font-weight: 400;
}
@font-face {
  font-family: "Pretendard";
  src: url("https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/dist/web/static/woff2/Pretendard-Bold.woff2") format("woff2");
  font-weight: 700;
}
@font-face {
  font-family: "Pretendard";
  src: url("https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/dist/web/static/woff2/Pretendard-Black.woff2") format("woff2");
  font-weight: 900;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  color: var(--ink-900);
  background: var(--white);
  line-height: 1.7;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  word-break: keep-all;
  overflow-wrap: break-word;
}
p, li, .reveal-line, .hero-sub-rotator span { word-break: keep-all; overflow-wrap: break-word; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
.container { max-width: 1160px; margin: 0 auto; padding: 0 24px; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--blue-500);
  text-transform: uppercase;
  margin-bottom: 14px;
}
.eyebrow::before {
  content: "";
  width: 18px;
  height: 10px;
  background: var(--hex-clip-mini, none);
  clip-path: var(--hex-clip);
  background: linear-gradient(135deg, var(--navy-800), var(--blue-500));
}
h1, h2, h3 { font-weight: 900; letter-spacing: -0.01em; color: var(--navy-900); }
h1 { font-size: clamp(32px, 5vw, 56px); line-height: 1.2; }
h2 { font-size: clamp(26px, 3.4vw, 38px); line-height: 1.3; }
h3 { font-size: 20px; }
p.lead { font-size: 17px; color: var(--ink-600); }

/* ---------- Header ---------- */
.sticky-top { position: sticky; top: 0; z-index: 100; }
.legal-bar {
  background: var(--navy-900); color: rgba(255,255,255,0.72);
  font-size: 12.5px; letter-spacing: 0.01em;
  min-height: 34px; display: flex; align-items: center;
}
.legal-bar .container { width: 100%; }
.legal-bar .reg-blank { color: var(--gold-500); margin-left: 8px; font-weight: 700; }

.site-header {
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(12,28,51,0.06);
}
.site-header .container {
  display: flex; align-items: center; justify-content: space-between;
  height: 84px;
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand img { height: 46px; width: auto; }
.brand span { font-weight: 900; font-size: 18px; color: var(--navy-900); letter-spacing: -0.02em; }
.nav-links { display: flex; gap: 32px; }
.nav-links a {
  font-size: 15.5px; font-weight: 700; color: var(--ink-600);
  transition: color .2s;
}
.nav-links a:hover, .nav-links a.active { color: var(--blue-500); }
.nav-cta {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--navy-900); color: var(--white);
  padding: 10px 18px; font-size: 13px; font-weight: 700;
  border-radius: 999px;
}
.nav-toggle { display: none; }

/* ---------- Hero (scroll-pinned) ---------- */
.hero-scroll { position: relative; height: 320vh; }
.hero-scroll .hero { position: -webkit-sticky; position: sticky; top: 0; }
.hero {
  position: relative;
  min-height: 86vh;
  display: flex; align-items: flex-end;
  overflow: hidden;
  background: linear-gradient(160deg, var(--navy-900) 0%, var(--navy-800) 55%, #1a3a63 100%);
}
.hero-media {
  position: absolute; inset: 0;
  z-index: 0;
}
.hero-media video, .hero-media .media-placeholder {
  width: 100%; height: 100%; object-fit: cover;
}
.media-placeholder {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  background:
    repeating-linear-gradient(135deg, rgba(43,163,224,0.08) 0 2px, transparent 2px 42px),
    linear-gradient(160deg, #0c1c33, #16345c);
  color: rgba(255,255,255,0.35);
  font-size: 13px; font-weight: 700; letter-spacing: 0.08em;
  text-align: center; padding: 20px;
  border: 1px dashed rgba(255,255,255,0.18);
}
.hero-media::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(12,28,51,0.92) 0%, rgba(12,28,51,0.55) 45%, rgba(12,28,51,0.35) 100%);
}
.hero-inner {
  position: relative; z-index: 2;
  width: 100%;
  padding: 0 0 88px;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 10px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.18);
  color: var(--blue-400);
  font-size: 12px; font-weight: 700; letter-spacing: 0.14em;
  padding: 8px 16px; border-radius: 999px;
  margin-bottom: 24px;
}
.hero-copy-rotator {
  position: relative;
  min-height: 3.4em;
}
.hero-copy-rotator span {
  position: absolute; left: 0; top: 0;
  color: var(--white);
  opacity: 0; transform: translateY(16px);
  transition: opacity .6s ease, transform .6s ease;
}
.hero-copy-rotator span.is-active {
  opacity: 1; transform: translateY(0);
  position: relative;
  animation: heroTextGlow 1.4s ease;
}
@keyframes heroTextGlow {
  0% { text-shadow: 0 0 0 rgba(79,192,245,0); }
  35% { text-shadow: 0 0 24px rgba(79,192,245,0.9); }
  100% { text-shadow: 0 0 0 rgba(79,192,245,0); }
}
.hero-sub-rotator {
  position: relative;
  min-height: 3em;
  max-width: 480px;
  margin-top: 18px;
}
.hero-sub-rotator span {
  position: absolute; left: 0; top: 0;
  color: rgba(255,255,255,0.7);
  font-size: 16px; line-height: 1.6;
  opacity: 0; transform: translateY(10px);
  transition: opacity .6s ease, transform .6s ease;
}
.hero-sub-rotator span.is-active {
  opacity: 1; transform: translateY(0);
  position: relative;
}
.hero-actions { display: flex; gap: 12px; margin-top: 34px; flex-wrap: wrap; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 15px 26px; font-size: 15px; font-weight: 700;
  border-radius: 4px; cursor: pointer; border: none;
  transition: transform .2s ease, box-shadow .2s ease;
}
.btn-primary { background: var(--blue-500); color: var(--white); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(43,163,224,0.35); }
.btn-outline { background: transparent; color: var(--white); border: 1px solid rgba(255,255,255,0.35); }
.btn-outline:hover { border-color: var(--white); }
.btn-dark { background: var(--navy-900); color: var(--white); }
.scroll-cue {
  position: absolute; right: 32px; bottom: 32px; z-index: 2;
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  color: rgba(255,255,255,0.55); font-size: 11px; letter-spacing: 0.2em;
}
.scroll-cue .line { width: 1px; height: 40px; background: rgba(255,255,255,0.35); overflow: hidden; }
.scroll-cue .line::after {
  content: ""; display: block; width: 100%; height: 40%;
  background: var(--blue-400);
  animation: scrollLine 1.8s ease-in-out infinite;
}
@keyframes scrollLine { 0%{transform:translateY(-100%);} 100%{transform:translateY(250%);} }

/* ---------- Sections ---------- */
section { padding: 96px 0; }
.section-tight { padding: 64px 0; }
.section-alt { background: var(--sky-050); }
.section-dark { background: var(--navy-900); color: rgba(255,255,255,0.85); }
.section-dark h2 { color: var(--white); }
.section-head { max-width: 640px; margin-bottom: 56px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }

/* Trust 3-block */
.trust-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.trust-card {
  background: var(--white);
  border: 1px solid rgba(12,28,51,0.08);
  border-radius: var(--radius-card);
  padding: 32px 28px;
  box-shadow: var(--shadow-soft);
}
.trust-card .num { font-family: var(--font-display); font-weight: 900; color: var(--blue-500); font-size: 13px; letter-spacing: 0.1em; margin-bottom: 14px; }
.trust-card p { color: var(--ink-600); font-size: 14.5px; margin-top: 10px; }

/* Hexagon category cards — signature element echoing the logo */
.hex-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px 16px;
  align-items: end;
}
.hex-card { text-align: center; }
.hex-shape {
  width: 180px; height: 180px; margin: 0 auto 18px;
  clip-path: var(--hex-clip);
  background: linear-gradient(150deg, var(--navy-800), var(--blue-500));
  display: flex; align-items: center; justify-content: center;
  color: var(--white); font-size: 30px; font-weight: 900;
  transition: transform .25s ease;
}
.hex-card:hover .hex-shape { transform: translateY(-6px) scale(1.03); }
.hex-card.featured .hex-shape {
  width: 220px; height: 220px;
  background: linear-gradient(150deg, var(--gold-500), #e3c88a); padding: 6px; overflow: hidden;
}
.hex-card.featured .hex-shape img { clip-path: var(--hex-clip); }
.hex-shape img { width: 100%; height: 100%; object-fit: cover; }
.hex-card h3 { font-size: 17px; margin-bottom: 6px; }
.hex-card p { font-size: 13.5px; color: var(--ink-600); }
.hex-tag {
  display: inline-block; font-size: 11px; font-weight: 700; color: var(--gold-500);
  letter-spacing: .06em; margin-bottom: 4px;
}

/* Process steps */
.process-list { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; counter-reset: step; }
.process-step { position: relative; padding-top: 8px; }
.process-step .step-num {
  font-family: var(--font-display); font-weight: 900; font-size: 44px;
  color: transparent; -webkit-text-stroke: 1.5px var(--blue-500);
  margin-bottom: 18px; display: block;
}
.process-step h3 { margin-bottom: 8px; }
.process-step p { font-size: 14px; color: var(--ink-600); }
.process-list .process-step:not(:last-child)::after {
  content: ""; position: absolute; top: 26px; left: calc(100% - 6px);
  width: calc(24px + 8px); height: 1px; background: rgba(12,28,51,0.14);
}

/* Media placeholder block (for content photos) */
.media-block {
  aspect-ratio: 16 / 10;
  border-radius: var(--radius-card);
  overflow: hidden;
}
.media-block .media-placeholder { border-radius: var(--radius-card); }

/* CTA band */
.cta-band {
  background: linear-gradient(120deg, var(--navy-900), var(--navy-800) 60%, #1a3a63);
  border-radius: 8px;
  padding: 56px 48px;
  display: flex; align-items: center; justify-content: space-between; gap: 32px;
  flex-wrap: wrap;
  color: var(--white);
}
.cta-band h2 { color: var(--white); margin-bottom: 10px; font-size: 26px; }
.cta-band p { color: rgba(255,255,255,0.65); }
.cta-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* Two column */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.two-col.reverse .col-media { order: 2; }

/* Item detail rows (items.html) */
.item-row {
  position: relative; overflow: hidden;
  display: grid; grid-template-columns: 220px 1fr; gap: 32px;
  padding: 40px 0; border-bottom: 1px solid rgba(12,28,51,0.08);
  align-items: stretch;
}
.item-row:first-of-type { border-top: 1px solid rgba(12,28,51,0.08); }
.item-row .item-icon {
  position: relative; z-index: 1;
  width: 100%; min-height: 180px; border-radius: 10px;
  background: linear-gradient(150deg, var(--navy-800), var(--blue-500));
  display: flex; align-items: center; justify-content: center;
  color: var(--white); font-weight: 900; font-size: 22px;
  overflow: hidden;
}
.item-row .item-icon img { width: 100%; height: 100%; object-fit: contain; display: block; }
.item-row.featured .item-icon {
  background: linear-gradient(150deg, var(--gold-500), #e3c88a);
  padding: 6px;
}
.item-row.featured .item-icon img { border-radius: 6px; }
.item-row > div:not(.item-icon) { position: relative; z-index: 1; }

.item-row ul.checks { margin-top: 14px; display: flex; flex-wrap: wrap; gap: 8px 10px; }
.item-row ul.checks li {
  font-size: 12.5px; color: var(--navy-800); background: var(--sky-100);
  padding: 5px 12px; border-radius: 999px; font-weight: 700;
}

/* FAQ accordion */
.faq-list { max-width: 760px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid rgba(12,28,51,0.1); }
.faq-q {
  width: 100%; text-align: left; background: none; border: none; cursor: pointer;
  padding: 24px 0; display: flex; justify-content: space-between; align-items: center;
  font-size: 16px; font-weight: 700; color: var(--navy-900);
}
.faq-q .plus { font-size: 20px; color: var(--blue-500); transition: transform .25s ease; }
.faq-item.open .faq-q .plus { transform: rotate(45deg); }
.faq-a {
  max-height: 0; overflow: hidden; transition: max-height .3s ease;
  color: var(--ink-600); font-size: 14.5px;
}
.faq-item.open .faq-a { max-height: 300px; padding-bottom: 24px; }

/* Contact page */
.contact-grid { display: grid; grid-template-columns: 380px 1fr; gap: 48px; }
.contact-info-card {
  background: var(--navy-900); color: var(--white);
  border-radius: 8px; padding: 36px 30px;
}
.contact-info-card h3 { color: var(--white); margin-bottom: 20px; }
.contact-info-card dl { display: grid; grid-template-columns: 96px 1fr; row-gap: 16px; column-gap: 8px; font-size: 14px; }
.contact-info-card dt { color: rgba(255,255,255,0.5); font-weight: 700; white-space: nowrap; }
.contact-info-card dd { color: rgba(255,255,255,0.9); }
.contact-info-card .kakao-btn { margin-top: 26px; width: 100%; }
.form-embed-placeholder {
  min-height: 620px;
  border: 1px dashed rgba(12,28,51,0.25);
  border-radius: 8px;
  background: var(--sky-050);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 10px; text-align: center; padding: 40px;
  color: var(--ink-600); font-size: 13.5px;
}
.form-embed-placeholder code {
  background: var(--white); border: 1px solid rgba(12,28,51,0.1);
  padding: 10px 14px; border-radius: 4px; font-size: 12px; color: var(--navy-800);
}
/* ---------- 상담 신청 폼 (구글폼 커스텀 전송) ---------- */
.cf-form {
  background: var(--white); border: 1px solid var(--stone-100); border-radius: 10px;
  padding: 32px; box-shadow: 0 8px 24px rgba(12,28,51,0.06);
}
.cf-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-bottom: 18px; }
.cf-group { display: flex; flex-direction: column; gap: 8px; margin-bottom: 18px; }
.cf-group.cf-full { margin-bottom: 18px; }
.cf-row .cf-group { margin-bottom: 0; }
.cf-label { font-size: 12.5px; font-weight: 700; color: var(--ink-600); letter-spacing: .02em; }
.cf-label span { color: var(--blue-500); }
.cf-input, .cf-textarea {
  font-family: var(--sans); font-size: 14.5px; color: var(--ink-900);
  background: var(--stone-050); border: 1px solid rgba(12,28,51,0.1); border-radius: 8px;
  padding: 13px 16px; outline: none; transition: border-color .2s, background .2s; width: 100%;
}
.cf-input:focus, .cf-textarea:focus { border-color: var(--blue-500); background: var(--white); }
.cf-textarea { resize: vertical; min-height: 90px; }
.cf-radio-grid { display: flex; flex-wrap: wrap; gap: 10px; }
.cf-radio {
  position: relative; display: flex; align-items: center; gap: 8px;
  padding: 11px 18px; border: 1px solid rgba(12,28,51,0.14); border-radius: 999px;
  font-size: 13.5px; font-weight: 700; color: var(--ink-600); cursor: pointer;
  transition: border-color .2s, background .2s, color .2s;
}
.cf-radio input[type="radio"] { position: absolute; opacity: 0; width: 0; height: 0; }
.cf-radio.is-checked { border-color: var(--blue-500); background: var(--sky-100); color: var(--navy-900); }
.cf-radio-other { padding-right: 10px; }
.cf-other-input {
  width: 120px; padding: 4px 8px; font-size: 13px;
  border: none; border-bottom: 1px solid rgba(12,28,51,0.2); background: transparent;
  display: none;
}
.cf-radio-other.is-checked .cf-other-input,
.cf-radio.is-checked .cf-other-input { display: inline-block; }
.cf-notice {
  font-size: 13px; color: var(--ink-600); line-height: 1.7;
  margin: 22px 0 20px; padding: 14px 16px; background: var(--sky-100); border-radius: 8px;
  border-left: 3px solid var(--blue-400);
}
.cf-submit {
  width: 100%; background: var(--navy-900); color: var(--white);
  font-size: 15px; font-weight: 700; padding: 16px; border-radius: 8px; border: none;
  cursor: pointer; transition: background .2s;
}
.cf-submit:hover { background: var(--navy-800); }
.cf-submit:disabled { opacity: .6; cursor: not-allowed; }
.cf-done {
  display: none; text-align: center; padding: 56px 30px;
  background: var(--white); border: 1px solid var(--stone-100); border-radius: 10px;
}
.cf-done-ico {
  width: 48px; height: 48px; margin: 0 auto 16px; border-radius: 50%;
  background: var(--blue-500); color: var(--white); font-size: 22px; font-weight: 900;
  display: flex; align-items: center; justify-content: center;
}
.cf-done-title { font-size: 19px; font-weight: 800; color: var(--navy-900); margin-bottom: 8px; }
.cf-done-desc { font-size: 13.5px; color: var(--ink-600); line-height: 1.7; }
@media (max-width: 560px) {
  .cf-row { grid-template-columns: 1fr; gap: 18px; }
  .cf-form { padding: 22px; }
}
.map-block { margin-top: 24px; border-radius: 8px; overflow-x: auto; }
.map-block iframe { width: 100% !important; }
@media (max-width: 700px) {
  .map-block { zoom: 0.56; -moz-transform: scale(0.56); -moz-transform-origin: 0 0; }
}
@media (max-width: 480px) {
  .map-block { zoom: 0.48; -moz-transform: scale(0.48); -moz-transform-origin: 0 0; }
}

/* Footer */
footer.site-footer {
  background: var(--navy-900); color: rgba(255,255,255,0.6);
  padding: 64px 0 32px; font-size: 14.5px;
}
.footer-top {
  display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap;
  padding-top: 24px; border-top: 1px solid rgba(255,255,255,0.1);
  margin-top: 4px;
}
.footer-brand { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.footer-brand img { height: 38px; filter: brightness(0) invert(1); opacity: .9; }
.footer-brand span { color: var(--white); font-weight: 900; font-size: 17px; }
.footer-nav { display: flex; gap: 28px; flex-wrap: wrap; }
.footer-nav a { color: rgba(255,255,255,0.65); font-weight: 600; font-size: 14.5px; }
.footer-tagline { font-size: 14.5px; line-height: 1.7; color: rgba(255,255,255,0.6); max-width: 320px; }
.legal-block p { margin-bottom: 10px; line-height: 1.85; font-size: 13.5px; }
.legal-block .legal-warn { color: rgba(255,255,255,0.45); font-size: 12.5px; margin-top: 14px; }
.reg-blank { color: var(--gold-500); font-weight: 700; white-space: nowrap; }

.legal-cards { margin-top: 0; padding-top: 0; }
.legal-cards-head { margin-bottom: 24px; }
.legal-cards-head h3 { color: var(--white); font-size: 20px; margin: 8px 0 8px; }
.legal-cards-head p { font-size: 13px; color: rgba(255,255,255,0.55); }
.legal-cards-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin-bottom: 24px; }
.legal-card { background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.09); border-radius: 10px; padding: 24px; }
.legal-card h4 { color: var(--white); font-size: 14px; margin-bottom: 14px; font-weight: 800; letter-spacing: .01em; }
.legal-card p { font-size: 13px; color: rgba(255,255,255,0.65); line-height: 1.9; margin-bottom: 4px; }
.legal-card p strong { color: rgba(255,255,255,0.92); font-weight: 700; }
.legal-card p.legal-warn { color: rgba(255,255,255,0.42); font-size: 12px; margin-top: 10px; line-height: 1.8; }
.legal-footnote { font-size: 12px; color: rgba(255,255,255,0.4); margin-top: 28px; }

/* Sub-page hero (smaller) */
.page-hero {
  background: linear-gradient(160deg, var(--navy-900), var(--navy-800));
  color: var(--white);
  padding: 160px 0 64px;
}
.page-hero h1 { color: var(--white); font-size: clamp(28px, 4vw, 42px); }
.page-hero p { color: rgba(255,255,255,0.65); margin-top: 14px; max-width: 520px; }

/* ---------- Scroll reveal text (문장 단위 강조) ---------- */
.reveal-block { font-size: clamp(17px, 2vw, 21px); font-weight: 600; }
.reveal-line {
  display: block;
  margin-bottom: 18px;
  line-height: 1.65;
  color: #6b7684;
  width: fit-content;
  max-width: 100%;
  transition: color .5s ease;
}
.reveal-line.is-active { color: var(--navy-900); font-weight: 700; }
.reveal-block.on-dark .reveal-line { color: rgba(255,255,255,0.55); }
.reveal-block.on-dark .reveal-line.is-active { color: var(--white); }
.reveal-line .hl {
  border-bottom: 3px solid transparent; padding-bottom: 2px;
  transition: border-color .4s ease .15s, color .4s ease .15s;
}
.reveal-line.is-active .hl { color: var(--blue-500); border-bottom-color: var(--blue-500); font-weight: 800; }
.reveal-block.on-dark .reveal-line.is-active .hl { color: var(--blue-400); border-bottom-color: var(--blue-400); }
.hl-lg { font-size: 1.5em; font-weight: 900; }
.num-highlight {
  font-size: 1.6em; font-weight: 900; color: var(--gold-500);
  padding: 0 2px;
}
.cf-emphasis { font-size: 1.5em !important; line-height: 1.5 !important; }
.cf-emphasis .num-highlight { font-size: 1.25em; }

/* ---------- About (회사소개) ---------- */
.about-media { aspect-ratio: 4/5; border-radius: 8px; overflow: hidden; }
.about-media img { width: 100%; height: 100%; object-fit: cover; }
.about-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--sky-100); color: var(--navy-800);
  font-size: 12.5px; font-weight: 700; padding: 8px 16px; border-radius: 999px;
  margin-top: 28px;
}

/* ---------- Hover reveal category cards ---------- */
.reveal-grid {
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px;
}
.reveal-card {
  position: relative; aspect-ratio: 3/4.2; border-radius: 12px; overflow: hidden;
  background: var(--navy-900);
}
.reveal-card .rc-photo { position: absolute; inset: 0; }
.reveal-card .rc-photo img {
  width: 100%; height: 100%; object-fit: contain;
  transition: transform .5s ease, opacity .4s ease;
}
.reveal-card .rc-shade {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(to top, rgba(12,28,51,0.85) 0%, rgba(12,28,51,0.1) 55%, transparent 75%);
}
.reveal-card .rc-top {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 2;
  padding: 20px;
}
.reveal-card .rc-top .rc-tag {
  display: block; font-size: 10.5px; font-weight: 700; letter-spacing: .1em;
  color: var(--blue-400); text-transform: uppercase; margin-bottom: 6px;
}
.reveal-card .rc-top h3 { color: var(--white); font-size: 17px; }
.reveal-card .rc-desc {
  position: absolute; inset: 0; z-index: 3;
  background: linear-gradient(165deg, rgba(43,163,224,0.85), rgba(19,58,99,0.9));
  color: rgba(255,255,255,0.92);
  padding: 24px; display: flex; flex-direction: column; justify-content: flex-end;
  opacity: 0; transform: translateY(10px);
  transition: opacity .35s ease, transform .35s ease;
}
.reveal-card .rc-desc .rc-tag { color: rgba(255,255,255,0.85); font-size: 10.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 8px; display:block; }
.reveal-card .rc-desc h3 { color: var(--white); font-size: 17px; margin-bottom: 10px; }
.reveal-card .rc-desc p { font-size: 13px; line-height: 1.6; color: rgba(255,255,255,0.92); }
.reveal-card:hover .rc-photo img { transform: scale(1.06); opacity: .55; }
.reveal-card:hover .rc-shade { opacity: 0; }
.reveal-card:hover .rc-desc { opacity: 1; transform: translateY(0); }
.reveal-card:hover .rc-top { opacity: 0; }

/* ---------- Differentiator (감정가 비교) ---------- */
.diff-section { background: var(--navy-900); color: rgba(255,255,255,0.85); }
.diff-section h2 { color: var(--white); }
.diff-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.diff-media { aspect-ratio: 4/3; border-radius: 8px; overflow: hidden; }
.diff-media img { width: 100%; height: 100%; object-fit: cover; }
.diff-bars { margin-top: 32px; display: flex; flex-direction: column; gap: 20px; }
.diff-bar-row .diff-label { display: flex; justify-content: space-between; font-size: 13.5px; margin-bottom: 8px; color: rgba(255,255,255,0.65); }
.diff-bar-row .diff-label strong { color: var(--white); font-weight: 700; }
.diff-bar-track { height: 14px; background: rgba(255,255,255,0.08); border-radius: 999px; overflow: hidden; }
.diff-bar-fill { height: 100%; border-radius: 999px; }
.diff-bar-row.other .diff-bar-fill { width: 48%; background: rgba(255,255,255,0.28); }
.diff-bar-row.us .diff-bar-fill { width: 70%; background: linear-gradient(90deg, var(--blue-500), var(--blue-400)); }
.diff-bar-row.us .diff-label strong { color: var(--blue-400); font-size: 16px; }

@media (max-width: 900px) {
  .site-header .container {
    height: auto; flex-wrap: wrap; padding: 14px 20px; gap: 10px 16px;
  }
  .nav-links {
    order: 3; width: 100%;
    display: flex; gap: 20px;
    overflow-x: auto; -webkit-overflow-scrolling: touch;
    padding-bottom: 2px;
    scrollbar-width: none;
  }
  .nav-links::-webkit-scrollbar { display: none; }
  .nav-links a { flex-shrink: 0; font-size: 13px; }
  .nav-cta { font-size: 12px; padding: 8px 14px; margin-left: auto; }
  .trust-grid, .hex-grid, .process-list { grid-template-columns: repeat(2, 1fr); }
  .two-col, .contact-grid, .diff-grid { grid-template-columns: 1fr; }
  .reveal-grid { grid-template-columns: repeat(2, 1fr); }
  .item-row { grid-template-columns: 1fr; gap: 16px; }
  .item-row .item-icon { width: 100%; aspect-ratio: 4/3; min-height: unset; font-size: 16px; border-radius: 8px; }
  .cta-band { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 560px) {
  .reveal-grid { grid-template-columns: 1fr; }
  .trust-grid, .process-list { grid-template-columns: 1fr; }
  .process-list .process-step:not(:last-child)::after { display: none; }
  .hero-inner { padding-bottom: 56px; }
  .hero-copy-rotator { min-height: 4.6em; }
  .cert-row { grid-template-columns: repeat(2, 1fr); }
  .footer-top { flex-direction: column; gap: 24px; }
  .diff-bars { margin-top: 24px; }
  body { font-size: 15.5px; line-height: 1.75; }
  h1 { line-height: 1.3; }
  h2 { line-height: 1.4; }
  .reveal-block { font-size: 16.5px; }
  .reveal-line { line-height: 1.75; margin-bottom: 16px; }
  p.lead { font-size: 15.5px; line-height: 1.75; }
  .card .desc, .card-sm .desc, .reveal-card .rc-desc p { font-size: 14px; line-height: 1.65; }
  .hero-sub-rotator span { font-size: 15px; line-height: 1.7; }
  .footer-nav { display: none; }
  .footer-tagline { font-size: 15px; line-height: 1.75; max-width: 100%; }
  .legal-block p { font-size: 14px; line-height: 1.9; }
  .legal-block .legal-warn { font-size: 13px; line-height: 1.8; }
  .legal-cards-grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

/* ---------- 카카오톡 플로팅 위젯 ---------- */
.kakao-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 200;
  display: flex; align-items: center; gap: 8px;
  background: #FEE500; color: #191600;
  padding: 14px 20px; border-radius: 999px;
  font-size: 14px; font-weight: 800;
  box-shadow: 0 10px 28px rgba(0,0,0,0.22);
  transition: transform .2s ease;
}
.kakao-float::before {
  content: "";
  width: 20px; height: 20px;
  background: #191600;
  clip-path: path("M10 1C4.48 1 0 4.48 0 9c0 2.9 1.9 5.44 4.75 6.9-.16.6-1 3.7-1.03 3.93 0 0-.02.17.09.24.11.07.24.02.24.02.32-.05 3.7-2.44 4.28-2.85.54.08 1.1.12 1.67.12 5.52 0 10-3.48 10-8S15.52 1 10 1z");
  flex-shrink: 0;
}
.kakao-float:hover { transform: translateY(-3px); }
@media (max-width: 560px) {
  .kakao-float { padding: 12px 16px; font-size: 13px; right: 16px; bottom: 16px; }
}
