/* =========================================================
   호안 서비스 페이지 — service.css
   Loads AFTER insights.css (reuses tokens, header, consult, footer)
   ========================================================= */

/* ---- Service Hero (dark blue mesh) ---- */
.shero { position: relative; background: var(--blue-dark); color: #fff; overflow: hidden; min-height: 640px; display: flex; align-items: center; padding-block: 150px 90px; text-align: center; }
.shero .mesh { position: absolute; inset: 0; z-index: 0; background:
    radial-gradient(ellipse 75% 60% at 50% -5%, rgba(30,80,162,0.6), transparent 60%),
    linear-gradient(180deg, #163f80 0%, #0d2f63 55%, #0A2754 100%); }
.shero .grid-ov { position: absolute; inset: 0; z-index: 1; pointer-events: none; background-image:
    linear-gradient(rgba(255,255,255,0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.045) 1px, transparent 1px);
  background-size: 64px 64px; -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 42%, #000 35%, transparent 100%); mask-image: radial-gradient(ellipse 80% 70% at 50% 42%, #000 35%, transparent 100%); }
.shero .orb { position: absolute; border-radius: 50%; filter: blur(40px); z-index: 1; pointer-events: none; }
.shero .orb-gold { width: 480px; height: 480px; background: var(--gold); left: -130px; bottom: -150px; opacity: 0.15; }
.shero .orb-blue { width: 580px; height: 580px; background: var(--blue); right: -170px; top: -180px; opacity: 0.25; }
.shero .wrap { position: relative; z-index: 3; }
.shero-inner { max-width: 760px; margin: 0 auto; }
.eyebrow-pill { display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; font-family: var(--mono); font-weight: 600; font-size: 11px; letter-spacing: 0.16em; color: var(--gold-light); text-transform: uppercase; background: rgba(184,137,61,0.10); border: 1px solid rgba(184,137,61,0.28); padding: 6px 16px; border-radius: 100px; margin-bottom: 30px; }
.eyebrow-pill .d { width: 6px; height: 6px; border-radius: 50%; background: var(--gold-light); }
.shero h1 { font-family: var(--chosun); font-weight: 400; color: #fff; font-size: clamp(32px, 4.6vw, 52px); line-height: 1.35; letter-spacing: -0.02em; text-shadow: 0 2px 20px rgba(0,0,0,0.22); }
.shero h1 .gold { color: var(--gold-light); display: block; }
.shero-sub { margin: 30px auto 0; max-width: 620px; color: rgba(255,255,255,0.72); font-size: 17px; line-height: 1.7; }
.shero-cta { margin-top: 44px; display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.btn--gold-solid { background: var(--gold-light); color: var(--black); font-weight: 700; }
.btn--gold-solid:hover { background: #e6bc78; }
.btn--hero-ghost { background: transparent; color: #fff; border: 1px solid rgba(255,255,255,0.35); }
.btn--hero-ghost:hover { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.6); }
.shero-metrics { margin: 60px auto 0; padding-top: 44px; border-top: 1px solid rgba(255,255,255,0.15); display: flex; justify-content: center; gap: clamp(36px, 6vw, 64px); flex-wrap: wrap; }
.shero-metrics .m { text-align: center; }
.shero-metrics .m b { font-family: var(--serif); font-weight: 800; color: var(--gold-light); font-size: clamp(26px, 3vw, 32px); display: block; line-height: 1; letter-spacing: -0.01em; }
.shero-metrics .m span { font-family: var(--mono); font-weight: 500; font-size: 10.5px; letter-spacing: 0.12em; color: rgba(255,255,255,0.55); text-transform: uppercase; margin-top: 10px; display: block; }

/* ---- generic centered section head ---- */
.sec-head { text-align: center; max-width: 720px; margin: 0 auto 70px; }
.sec-head .eyebrow { justify-content: center; margin-bottom: 20px; }
.sec-head h2 { font-size: clamp(28px, 3.7vw, 46px); font-family: var(--chosun); font-weight: 400; line-height: 1.3; letter-spacing: -0.005em; color: var(--black); }
.sec-head .sub { color: var(--ink-2); font-size: 16.5px; margin-top: 18px; line-height: 1.75; }

/* shared card top-line slide */
.card-line { position: relative; overflow: hidden; }
.card-line::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 2px; background: var(--blue); transform: scaleX(0); transform-origin: left; transition: transform .35s cubic-bezier(.2,.7,.3,1); }
.card-line:hover::before { transform: scaleX(1); }

/* ---- Section 2 · 4 promises ---- */
.promise-sec { background: var(--paper); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.promise-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.promise-card { background: #fff; border: 1px solid var(--border); border-radius: 14px; padding: 36px 28px; min-height: 280px; transition: border-color .2s ease, transform .2s ease; display: flex; flex-direction: column; }
.promise-card:hover { border-color: var(--blue); transform: translateY(-3px); }
.promise-card .no { font-family: var(--serif); font-weight: 700; font-size: 36px; color: var(--blue); line-height: 1; }
.promise-card .rule { height: 1px; background: var(--border); margin: 16px 0 20px; }
.promise-card h3 { font-size: 20px; font-weight: 700; color: var(--black); letter-spacing: -0.01em; line-height: 1.4; }
.promise-card p { font-size: 13.5px; color: var(--ink-2); line-height: 1.7; margin-top: 12px; flex: 1; }
.promise-card .accent { margin-top: 18px; font-size: 13.5px; font-weight: 600; color: var(--blue); }
.promise-card .accent.gold { color: var(--gold); }

/* ---- Section 3 · 5 centers ---- */
.center-group { display: flex; flex-direction: column; align-items: center; margin-bottom: 48px; }
.center-group .badge { display: inline-flex; align-items: center; gap: 10px; background: var(--black); color: #fff; border-radius: 100px; padding: 10px 22px; font-weight: 700; font-size: 15px; }
.center-group .badge .g { color: var(--gold-light); font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em; }
.center-group .sub { margin-top: 12px; font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.06em; color: var(--meta); }
.center-group .stem { width: 1px; height: 30px; background: var(--line-2, #dadada); margin-top: 6px; }
.center-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.center-card { background: #fff; border: 1px solid var(--border); border-radius: 12px; padding: 28px 22px; min-height: 360px; text-align: center; display: flex; flex-direction: column; transition: border-color .2s ease, transform .2s ease; }
.center-card:hover { border-color: var(--blue); transform: translateY(-2px); }
.center-card .lbl { font-family: var(--mono); font-size: 10.5px; font-weight: 600; letter-spacing: 0.14em; color: var(--meta); }
.center-card h3 { font-size: 18px; font-weight: 700; color: var(--black); letter-spacing: -0.01em; line-height: 1.4; margin-top: 12px; }
.center-card .viz { height: 110px; border-radius: 8px; margin: 20px 0; position: relative; overflow: hidden; background:
    linear-gradient(140deg, var(--blue), var(--blue-deep)); }
.center-card .viz::after { content: ""; position: absolute; inset: 0; background-image:
    linear-gradient(rgba(255,255,255,0.10) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.10) 1px, transparent 1px);
  background-size: 22px 22px; -webkit-mask-image: radial-gradient(ellipse at 50% 40%, #000 20%, transparent 75%); mask-image: radial-gradient(ellipse at 50% 40%, #000 20%, transparent 75%); }
.center-card.dark .viz { background: linear-gradient(140deg, #2a2a2a, var(--black)); }
.center-card.gold .viz { background: linear-gradient(140deg, var(--gold-light), var(--gold)); }
.center-card p { font-size: 13px; color: var(--ink-2); line-height: 1.7; flex: 1; }
.center-card .go { margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--border); font-family: var(--mono); font-size: 12px; font-weight: 600; color: var(--blue); display: inline-flex; gap: 7px; justify-content: center; align-items: center; }
.center-card .go .arr { transition: transform .2s ease; }
.center-card:hover .go .arr { transform: translateX(3px); }

/* ---- Section 4 · 5-step process ---- */
.process-sec { background: var(--paper); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.proc-row { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; position: relative; }
.proc-row::before { content: ""; position: absolute; top: 27px; left: 10%; right: 10%; height: 2px; background: linear-gradient(90deg, var(--blue), var(--blue) 78%, var(--gold)); z-index: 0; }
.proc-col { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; text-align: center; padding: 0 10px; }
.proc-num { width: 54px; height: 54px; border-radius: 50%; background: var(--blue); color: #fff; font-family: var(--mono); font-weight: 700; font-size: 19px; display: grid; place-items: center; box-shadow: 0 0 0 7px var(--paper), 0 8px 18px -8px rgba(30,80,162,0.55); transition: transform .2s ease; }
.proc-col:hover .proc-num { transform: translateY(-3px); }
.proc-col:nth-child(5) .proc-num { background: var(--gold); box-shadow: 0 0 0 7px var(--paper), 0 8px 18px -8px rgba(184,137,61,0.55); }
.proc-meta { display: flex; flex-direction: column; align-items: center; gap: 8px; margin-top: 22px; }
.proc-tag { color: var(--black); font-size: 15px; font-weight: 700; letter-spacing: -0.01em; line-height: 1.4; }
.proc-col p { font-size: 13px; color: var(--ink-2); line-height: 1.7; max-width: 24ch; }
.proc-col p b { color: var(--blue); font-weight: 700; }

/* differentiators */
.diff-title { text-align: center; font-size: clamp(20px, 2.4vw, 22px); font-weight: 700; letter-spacing: -0.02em; color: var(--black); margin: 80px 0 36px; }
.diff-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; max-width: 880px; margin: 0 auto; }
.diff-card { display: grid; grid-template-columns: auto 1fr; gap: 18px; align-items: center; background: #fff; border: 1px solid var(--border); border-radius: 12px; padding: 22px 24px; transition: border-color .2s ease, transform .2s ease; }
.diff-card:hover { border-color: var(--blue); transform: translateY(-2px); }
.diff-card .dn { width: 40px; height: 40px; border-radius: 50%; background: var(--paper); border: 1px solid var(--border); color: var(--blue); font-family: var(--mono); font-weight: 700; font-size: 14px; display: grid; place-items: center; }
.diff-card p { font-size: 14.5px; color: var(--ink); line-height: 1.55; }
.diff-card p b { color: var(--blue); font-weight: 700; }

/* ---- responsive ---- */
@media (max-width: 1100px) {
  .center-grid { grid-template-columns: repeat(2, 1fr); }
  .center-card:nth-child(5) { grid-column: 1 / -1; min-height: 0; }
}
@media (max-width: 980px) {
  .promise-grid { grid-template-columns: repeat(2, 1fr); }
  .proc-row { grid-template-columns: 1fr; gap: 0; }
  .proc-row::before { top: 0; bottom: 0; left: 27px; right: auto; width: 2px; height: auto; background: linear-gradient(180deg, var(--blue), var(--blue) 82%, var(--gold)); }
  .proc-col { flex-direction: row; align-items: flex-start; text-align: left; gap: 20px; padding: 14px 0; }
  .proc-num { flex-shrink: 0; }
  .proc-meta { align-items: flex-start; margin-top: 0; padding-top: 7px; }
  .proc-col p { max-width: none; }
  .diff-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .promise-grid { grid-template-columns: 1fr; }
  .proc-row { grid-template-columns: 1fr; }
  .center-grid { grid-template-columns: 1fr; }
  .center-card:nth-child(5) { min-height: 320px; }
  .shero { min-height: 0; padding-block: 120px 70px; }
}

/* =========================================================
   MINI SECTION (also used on the main 호안 인사이트 page)
   ========================================================= */
.mini-sec { background: #fff; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.mini-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; margin-bottom: 48px; flex-wrap: wrap; }
.mini-head .left { max-width: 760px; }
.mini-head h2 { font-family: var(--chosun); font-weight: 400; font-size: clamp(26px, 3vw, 36px); letter-spacing: -0.005em; line-height: 1.3; color: var(--black); }
.mini-head .sub { color: var(--ink-2); font-size: 15.5px; margin-top: 16px; line-height: 1.7; }
.mini-cta { font-family: var(--mono); font-size: 13px; font-weight: 600; color: var(--ink); border: 1px solid #d9d9d9; border-radius: 8px; padding: 12px 20px; display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; transition: .2s ease; }
.mini-cta:hover { background: var(--blue); border-color: var(--blue); color: #fff; }
.mini-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.mini-card { background: #fff; border: 1px solid var(--border); border-radius: 12px; padding: 28px 24px; min-height: 200px; display: flex; flex-direction: column; transition: border-color .2s ease, transform .2s ease; }
.mini-card:hover { border-color: var(--blue); transform: translateY(-2px); }
.mini-card .lbl { font-family: var(--mono); font-size: 10.5px; font-weight: 600; letter-spacing: 0.14em; color: var(--meta); }
.mini-card h3 { font-size: 17px; font-weight: 700; color: var(--black); letter-spacing: -0.01em; line-height: 1.4; margin-top: 14px; }
.mini-card p { font-size: 13.5px; color: var(--ink-2); line-height: 1.65; margin-top: 10px; flex: 1; }
.mini-card .accent { margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--border); font-family: var(--mono); font-size: 11.5px; font-weight: 600; color: var(--blue); letter-spacing: 0.02em; }
@media (max-width: 880px) { .mini-grid { grid-template-columns: 1fr; } }
