/* SGDREAM Design v3 */
:root{
  --bg:#0b0d12;
  --panel:rgba(255,255,255,.06);
  --panel2:rgba(255,255,255,.09);
  --text:#e9edf6;
  --muted:rgba(233,237,246,.72);
  --line:rgba(255,255,255,.10);
  --brand1:#2d8cff;
  --brand2:#57f3c6;
  --shadow:0 24px 80px rgba(0,0,0,.45);
  --radius:18px;
  --radius2:22px;
  --container:1160px;
}
[data-theme="light"]{
  --bg:#f7f8fb;
  --panel:rgba(10,14,22,.06);
  --panel2:rgba(10,14,22,.09);
  --text:#0b1220;
  --muted:rgba(11,18,32,.72);
  --line:rgba(10,14,22,.12);
  --shadow:0 16px 50px rgba(0,0,0,.12);
}
*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  font-family: Inter, "Noto Sans KR", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  overflow-x:hidden;
}
a{color:inherit; text-decoration:none}
.container{max-width:var(--container); margin:0 auto; padding:0 22px}
.section{padding:40px 0}
.section-head{display:flex; flex-direction:column; gap:10px; margin-bottom:28px}
.section-head h2{margin:0; font-size:34px; letter-spacing:-0.02em}
.section-head p{margin:0; color:var(--muted)}

.bg-orb{
  position:fixed; inset:auto;
  width:520px; height:520px; border-radius:999px;
  filter: blur(60px);
  opacity:.35;
  z-index:-3;
}
.orb-1{left:-140px; top:-120px; background:linear-gradient(135deg, var(--brand1), transparent 60%)}
.orb-2{right:-180px; top:120px; background:linear-gradient(135deg, var(--brand2), transparent 65%)}
.bg-grid{
  position:fixed; inset:0;
  background-image:
    linear-gradient(to right, rgba(255,255,255,.05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 64px 64px;
  opacity:.05;
  z-index:-4;
}

/* Header */
.header{
  position:fixed; top:0; left:0; right:0;
  backdrop-filter: blur(14px);
  background: linear-gradient(to bottom, rgba(0,0,0,.55), rgba(0,0,0,.05));
  border-bottom:1px solid transparent;
  z-index:999;
}
body{padding-top:72px}

[data-theme="light"] .header{
  background: linear-gradient(to bottom, rgba(255,255,255,.75), rgba(255,255,255,.25));
}
.header.scrolled{border-bottom:1px solid var(--line)}
.header-inner{
  height:72px;
  display:flex; align-items:center; justify-content:space-between;
  gap:14px;
}
.brand{display:flex; align-items:center; gap:10px}
.brand-logo{
  width:34px; height:34px; border-radius:10px;
  object-fit:cover;
  box-shadow: 0 10px 30px rgba(0,0,0,.22);
}
.brand-name{font-weight:700; letter-spacing:.02em}
.nav{display:flex; gap:18px; align-items:center}
.nav a{color:var(--muted); font-weight:500; font-size:14px}
.nav a:hover{color:var(--text)}
.header-cta{display:flex; align-items:center; gap:10px}
.hamburger{
  width:44px; height:44px;
  display:none;
  border:1px solid var(--line);
  border-radius:14px;
  background:transparent;
  cursor:pointer;
  padding:0;
  
  flex-direction:column;
  justify-content:center;
  align-items:center;
  gap:5px;
}
.hamburger span{
  display:block;
  width:18px; height:2px;
  background:var(--text);
  opacity:.85;
  border-radius:2px;
}
.mobile-nav{
  display:none;
  border-top:1px solid var(--line);
  background: rgba(0,0,0,.25);
  backdrop-filter: blur(14px);
}
[data-theme="light"] .mobile-nav{background: rgba(255,255,255,.65)}
.mobile-nav-inner{
  padding:14px 22px 18px;
  display:flex; flex-direction:column; gap:10px;
}
.mobile-nav a{color:var(--muted); font-weight:600}
.mobile-nav a:hover{color:var(--text)}

/* Buttons */
.btn{
  display:inline-flex; align-items:center; justify-content:center;
  gap:10px;
  padding:10px 14px;
  border-radius:14px;
  border:1px solid var(--line);
  background: transparent;
  color: var(--text);
  font-weight:700;
  font-size:14px;
  cursor:pointer;
  transition: transform .12s ease, background .12s ease, border-color .12s ease;
}
.btn:hover{transform: translateY(-1px); background: var(--panel)}
.btn:active{transform: translateY(0px)}
.btn-lg{padding:12px 16px; border-radius:16px}
.btn-ghost{width:110px; height:46px; padding:0; border-radius:14px}
.btn-soft{background: var(--panel); border-color: transparent}
.btn-primary{
  border-color: transparent;
  background: linear-gradient(135deg, var(--brand1), var(--brand2));
  color:#061018;
}
.w-full{width:100%}

/* Hero */
.hero{padding:40px 0 42px}
.hero-wrap{display:flex; flex-direction:column; gap:22px}
.hero-banner{
  position:relative;
  border-radius: 28px;
  border:1px solid var(--line);
  overflow:hidden;
  box-shadow: var(--shadow);
}
.hero-banner img{
  width:100%;
  height: clamp(280px, 34vw, 420px);
  object-fit:cover;
  display:block;
  filter: saturate(1.05);
}
.hero-overlay{
  position:absolute;
  left:16px; right:16px; bottom:16px;
  display:flex; justify-content:space-between; align-items:center;
  gap:12px;
  padding:14px 14px;
  border-radius: 22px;
  border:1px solid rgba(255,255,255,.16);
  background: rgba(0,0,0,.38);
  backdrop-filter: blur(14px);
}
[data-theme="light"] .hero-overlay{
  background: rgba(255,255,255,.55);
  border-color: rgba(10,14,22,.18);
}
.overlay-left{display:flex; align-items:center; gap:12px; min-width:0}
.profile-pic{
  width:56px; height:56px;
  border-radius:18px;
  object-fit:cover;
  border:1px solid rgba(255,255,255,.18);
}
.overlay-text{min-width:0}
.overlay-name{font-weight:900; letter-spacing:-0.02em}
.overlay-sub{color:var(--muted); font-weight:800; font-size:13px; margin-top:4px; white-space:nowrap; overflow:hidden; text-overflow:ellipsis}


.overlay-meta{
  margin-top:10px;
  display:grid;
  gap:6px;
  max-width: 520px;
}
.meta-row{
  display:flex; gap:10px; align-items:center;
  font-size:12px;
  color:var(--muted);
  font-weight:800;
}
.meta-row .k{
  min-width:72px;
  padding:6px 10px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.06);
  color: rgba(233,237,246,.86);
}
[data-theme="light"] .meta-row .k{
  border-color: rgba(10,14,22,.14);
  background: rgba(10,14,22,.04);
  color: rgba(11,18,32,.82);
}
.meta-row .v{white-space:nowrap; overflow:hidden; text-overflow:ellipsis; min-width:0}
.hero-grid{
  display:grid;
  grid-template-columns: 1fr;
  gap:22px;
  align-items:stretch;
}
.pill{
  display:inline-flex; align-items:center; gap:10px;
  padding:10px 12px;
  border:1px solid var(--line);
  border-radius:999px;
  background: rgba(255,255,255,.04);
  color:var(--muted);
  font-weight:600;
  font-size:13px;
}
.pill .dot{
  width:10px; height:10px; border-radius:999px;
  background: linear-gradient(135deg, var(--brand1), var(--brand2));
  box-shadow: 0 0 0 3px rgba(255,255,255,.06);
}
.hero-copy{max-width:760px}
.hero-copy h1{
  margin:14px 0 0;
  font-size: clamp(36px, 4.2vw, 54px);
  letter-spacing:-0.045em;
  line-height:1.08;
  max-width: 640px;
  word-break: keep-all;
  line-break: strict;
}
.grad{
  background: linear-gradient(135deg, var(--brand1), var(--brand2));
  -webkit-background-clip:text;
  background-clip:text;
  color:transparent;
}
.lead{margin:14px 0 0; color:var(--muted); font-size:16px; line-height:1.7; max-width: 68ch}
.hero-actions{display:flex; gap:12px; margin-top:18px; flex-wrap:wrap}
.hero-metrics{
  display:grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap:12px;
  margin-top:22px;
}
.metric{
  background: var(--panel);
  border:1px solid var(--line);
  border-radius: var(--radius);
  padding:14px 14px;
}
.metric-title{font-size:12px; color:var(--muted); font-weight:700}
.metric-value{margin-top:6px; font-weight:800}

.hero-card{
  border-radius: var(--radius2);
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.03));
  box-shadow: var(--shadow);
  overflow:hidden;
  display:flex; flex-direction:column;
}
.card-top{
  display:flex; justify-content:space-between; align-items:center;
  padding:14px 16px;
  border-bottom:1px solid var(--line);
}
.status{display:flex; align-items:center; gap:10px; color:var(--muted); font-weight:700; font-size:13px}
.status-dot{
  width:9px; height:9px; border-radius:99px;
  background: var(--brand2);
  box-shadow: 0 0 0 4px rgba(87,243,198,.12);
}
.chips{display:flex; gap:8px}
.chip{
  font-size:12px; font-weight:800;
  padding:6px 10px;
  border-radius:999px;
  border:1px solid var(--line);
  background: rgba(255,255,255,.04);
  color: var(--muted);
}
.code{
  margin:0;
  padding:16px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
  font-size:12.5px;
  line-height:1.6;
  color: rgba(233,237,246,.86);
  overflow:auto;
}
.card-bottom{
  display:flex; gap:8px; padding:14px 16px;
  border-top:1px solid var(--line);
  flex-wrap:wrap;
}
.badge{
  font-size:12px;
  padding:6px 10px;
  border-radius:999px;
  background: rgba(255,255,255,.06);
  border:1px solid var(--line);
  color: var(--muted);
}

/* Profile banner */
.profile{
  display:grid;
  grid-template-columns: 1fr 1.2fr auto;
  gap:16px;
  padding:18px 18px;
  border-radius: var(--radius2);
  background: rgba(255,255,255,.05);
  border:1px solid var(--line);
}
.profile-left{display:flex; align-items:center; gap:12px}
.avatar{
  width:44px; height:44px; border-radius:16px;
  display:grid; place-items:center;
  font-weight:900;
  color:#061018;
  background: linear-gradient(135deg, var(--brand1), var(--brand2));
}
.profile-title{font-weight:900}
.profile-sub{color:var(--muted); font-weight:700; font-size:13px; margin-top:2px}
.profile-right{color:var(--muted); font-weight:700; font-size:13px; line-height:1.6}

/* Cards & grids */
.grid-3{
  display:grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap:14px;
}
.card{
  border-radius: var(--radius2);
  border:1px solid var(--line);
  background: var(--panel);
  padding:18px;
  box-shadow: 0 14px 40px rgba(0,0,0,.22);
}
.card h3{margin:10px 0 0; font-size:18px; letter-spacing:-0.02em}
.card p{margin:10px 0 0; color:var(--muted); line-height:1.65}
.card-icon{font-size:18px}
.list{margin:12px 0 0; padding:0 0 0 16px; color:var(--muted); line-height:1.7}
.list li{margin:4px 0}

/* Timeline */
.timeline{display:grid; gap:10px; margin-top:18px}
.step{
  display:grid; grid-template-columns: 60px 1fr;
  gap:12px;
  padding:16px;
  border-radius: var(--radius2);
  border:1px solid var(--line);
  background: var(--panel);
}
.step-no{
  width:56px; height:56px; border-radius:18px;
  display:grid; place-items:center;
  font-weight:900;
  color:#061018;
  background: linear-gradient(135deg, var(--brand1), var(--brand2));
}
.step-title{font-weight:900}
.step-desc{margin-top:6px; color:var(--muted); line-height:1.65}

/* Reviews (3 per view) */
.review-wrap{border-radius: var(--radius2); border:1px solid var(--line); background: var(--panel); overflow:hidden}
.review-slider{
  display:flex;
  transition: transform .55s cubic-bezier(.2,.8,.2,1);
  will-change: transform;
}
.review-card{
  flex: 0 0 calc(100% / 3);
  width: calc(100% / 3);
  padding:20px;
  border-right:1px solid var(--line);
}
.review-card:last-child{border-right:none}
.stars{letter-spacing:1px; font-weight:900}
.review-card p{margin:12px 0 0; color:var(--muted); line-height:1.7}
/*.review-meta{margin-top:14px; font-weight:900}*/
.review-meta{
  display:inline-flex;
  align-items:center;
  gap:6px;
}

.kmong-icon{
  width:14px;
  height:14px;
  flex:0 0 auto;
  transform: translateY(-1px);
}

.review-controls{
  display:flex; justify-content:center; align-items:center;
  gap:10px;
  padding:12px 14px;
  border-top:1px solid var(--line);
}
.ctrl{
  width:44px; height:40px;
  border-radius:14px;
  border:1px solid var(--line);
  background: transparent;
  color: var(--text);
  cursor:pointer;
}
.ctrl:hover{background: var(--panel2)}
.dots{display:flex; gap:8px}
.dot-btn{
  width:8px; height:8px; border-radius:999px;
  border:1px solid var(--line);
  background: transparent;
  cursor:pointer;
}
.dot-btn.active{
  background: linear-gradient(135deg, var(--brand1), var(--brand2));
  border-color: transparent;
}

/* FAQ */
.faq{display:grid; gap:10px}
.faq-item{
  border:1px solid var(--line);
  border-radius: var(--radius2);
  background: var(--panel);
  padding:14px 16px;
}
.faq-item summary{
  cursor:pointer;
  font-weight:900;
  list-style:none;
}
.faq-item summary::-webkit-details-marker{display:none}
.faq-body{margin-top:10px; color:var(--muted); line-height:1.7}

/* Contact */
.contact{padding-top:100px}
.contact-grid{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap:14px;
  align-items:start;
}
.contact-copy h2{margin:0; font-size:34px; letter-spacing:-0.02em}
.contact-copy p{margin:12px 0 0; color:var(--muted); line-height:1.7}
.contact-note{
  margin-top:14px;
  border:1px solid var(--line);
  background: var(--panel);
  border-radius: var(--radius2);
  padding:16px;
}
.note-title{font-weight:900; margin-bottom:10px}

.form{
  border:1px solid var(--line);
  background: rgba(255,255,255,.06);
  border-radius: var(--radius2);
  padding:16px;
  box-shadow: var(--shadow);
}
.field{display:flex; flex-direction:column; gap:8px; margin-bottom:12px}
.field span{font-weight:900; font-size:13px; color:var(--muted)}
input, textarea{
  width:100%;
  padding:12px 12px;
  border-radius:14px;
  border:1px solid var(--line);
  background: rgba(0,0,0,.14);
  color: var(--text);
  outline:none;
}
[data-theme="light"] input, [data-theme="light"] textarea{background: rgba(255,255,255,.75)}
input:focus, textarea:focus{border-color: rgba(87,243,198,.55)}
.form-foot{margin-top:10px; color:var(--muted); font-size:12px; font-weight:700}

/* Footer */
.footer{padding:26px 0 44px; border-top:1px solid var(--line); background: rgba(255,255,255,.02)}
.footer-inner{display:flex; justify-content:space-between; align-items:flex-start; gap:14px; flex-wrap:wrap}
.footer-brand{display:flex; align-items:center; gap:10px}
.footer-brand img{width:34px; height:34px; border-radius:10px; object-fit:cover}
.footer-title{font-weight:900}
.footer-sub{color:var(--muted); font-weight:800; font-size:12px}
.footer-copy{margin-top:10px; color:var(--muted); font-weight:700; font-size:12px; line-height:1.7}
.footer-right{display:flex; gap:14px; color:var(--muted); font-weight:800}

/* Reveal */
.reveal{opacity:0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease}
.reveal.show{opacity:1; transform:none}

/* Responsive */
@media (max-width: 980px){
  .hero-grid{grid-template-columns:1fr; }
  .hero-copy h1{font-size:44px}
  .grid-3{grid-template-columns:1fr}
  .profile{grid-template-columns:1fr; gap:12px}
  .contact-grid{grid-template-columns:1fr}
  .nav{display:none}
  .hamburger{display:inline-flex; align-items:center; justify-content:center}
  .mobile-nav.open{display:block}
  .review-card{flex:0 0 100%; width:100%; border-right:none; border-bottom:1px solid var(--line)}
}
@media (max-width: 520px){
  .hero-copy h1{font-size:38px}
  .hero-metrics{grid-template-columns:1fr; }
  .hero-overlay{flex-direction:column; align-items:stretch}
  .overlay-sub{white-space:normal}
}


/* ==============================
   FORCE FIX (DROP-IN, NO CACHE)
   ============================== */
.hero-copy {
  max-width: 720px !important;
}

.hero-copy h1 {
  max-width: 620px !important;
  width: 100%;
  word-break: keep-all !important;
  line-break: strict !important;
}


/* ==============================
   HERO LAYOUT FIX (v8)
   - constrain hero content width
   - align metrics with copy
   ============================== */
.hero-wrap{
  gap: 28px;
}
.hero-banner{
  max-width: 1040px !important;
  margin: 0 auto !important;
}
.hero-grid{
  max-width: 1040px !important;
  margin: 0 auto !important;
}
.hero-copy{
  max-width: 760px !important;
}
.hero-metrics{
  max-width: 760px !important;
}
/* keep headline from feeling edge-to-edge */
.hero{
  padding: 36px 0 0px;
}

select{width:100%;padding:12px 12px;border-radius:14px;border:1px solid var(--line);background:rgba(0,0,0,.14);color:var(--text);outline:none}
select option{
  background:#ffffff;
  color:#111;
}
[data-theme="light"] select{background:rgba(255,255,255,.75)}
select:focus{border-color:rgba(87,243,198,.55)}


/* =========================
   HERO BANNER - MOBILE FIX (v10)
   ========================= */
@media (max-width: 520px){
  .hero-banner img{
    height: 240px;
    object-fit: cover;
  }
  .hero-overlay{
    left:12px; right:12px; bottom:12px;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-end;
    gap: 10px;
    padding: 12px;
  }
  .overlay-left{
    width: 100%;
    min-width: 0;
    gap: 10px;
    align-items: flex-start;
  }
  .profile-pic{
    width: 48px; height: 48px;
    border-radius: 14px;
    flex: 0 0 auto;
  }
  .overlay-text{min-width:0}
  .overlay-name{font-size: 14px}
  .overlay-sub{font-size: 12px; opacity:.9}
  .overlay-meta{
    max-width: none;
    gap: 4px;
    margin-top: 8px;
  }
  .meta-row{
    flex-wrap: wrap;
    row-gap: 2px;
    line-height: 1.35;
  }
  .meta-row .k{
    min-width: 64px;
    font-size: 11px;
    opacity: .85;
  }
  .meta-row .v{
    flex: 1 1 auto;
    min-width: 140px;
    font-size: 11px;
    word-break: keep-all;
  }
  .hero-overlay .btn,
  .hero-overlay a.btn{
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 380px){
  .hero-banner img{height: 220px}
  .profile-pic{width:44px;height:44px}
  .meta-row .v{min-width: 110px}
}

/* =========================
   HERO OVERLAY LAYOUT (v11)
   ========================= */
.hero-banner{position:relative; overflow:hidden}
.hero-banner > img{width:100%; height:100%; object-fit:cover; display:block}
.hero-overlay{
  position:absolute; inset:0;
  display:flex; align-items:center; justify-content:space-between;
  padding: 28px 32px;
  gap: 24px;
  background: linear-gradient(90deg, rgba(5,10,20,.72) 0%, rgba(5,10,20,.32) 62%, rgba(5,10,20,.12) 100%);
}
.overlay-left{display:flex; align-items:center; gap: 18px; min-width:0}
.overlay-text{min-width:0; max-width: 520px}
.overlay-name{font-weight: 900}
.overlay-sub{opacity:.9}
.overlay-meta{margin-top:10px; display:flex; flex-direction:column; gap:6px}
.meta-row{display:flex; gap:12px; align-items:flex-start}
.meta-row .k{flex:0 0 72px; opacity:.78; font-size:12px}
.meta-row .v{flex:1 1 auto; min-width:0; word-break:keep-all}
.overlay-cta{flex:0 0 auto}

/* =========================
   HERO OVERLAY - MOBILE (v11)
   ========================= */
@media (max-width: 520px){
  .hero-overlay{
    inset:auto 12px 12px 12px;
    border-radius: 18px;
    padding: 12px;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-end;
    gap: 10px;
    background: linear-gradient(180deg, rgba(5,10,20,.20) 0%, rgba(5,10,20,.58) 48%, rgba(5,10,20,.82) 100%);
    box-shadow: 0 12px 30px rgba(0,0,0,.35);
  }
  .hero-banner > img{
    height: 260px;
  }
  .overlay-left{gap:10px; align-items:flex-start}
  .profile-pic{width: 52px; height: 52px; border-radius: 14px}
  .overlay-text{max-width:none}
  .overlay-name{font-size: 14px}
  .overlay-sub{font-size: 12px}
  .meta-row{flex-wrap:wrap; row-gap:2px}
  .meta-row .k{flex:0 0 auto; min-width:64px; font-size:11px}
  .meta-row .v{min-width: 140px; font-size:11px; line-height:1.35}
  .overlay-cta a.btn{width:100%; justify-content:center}
}
@media (max-width: 380px){
  .hero-banner > img{height: 230px}
  .meta-row .v{min-width: 110px}
}

/* =========================
   HERO OVERLAY (v12) - single source of truth
   ========================= */
.hero-banner{
  position: relative;
  overflow: hidden;
  border-radius: 24px;
}
.hero-banner > img{
  width: 100%;
  height: 360px;
  object-fit: cover;
  display: block;
}

/* Desktop / default */
.hero-overlay{
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: 28px 32px;
  background: linear-gradient(90deg, rgba(5,10,20,.72) 0%, rgba(5,10,20,.34) 62%, rgba(5,10,20,.12) 100%);
}

.overlay-left{
  display: flex;
  align-items: center;
  gap: 18px;
  min-width: 0;
}

.profile-pic{
  width: 110px;
  height: 110px;
  border-radius: 999px;
  object-fit: cover;
  border: 3px solid rgba(255,255,255,.16);
  flex: 0 0 auto;
}

.overlay-text{
  min-width: 0;
  max-width: 560px;
}

.overlay-name{font-weight: 900}
.overlay-sub{opacity:.92}

.overlay-meta{
  margin-top: 10px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.meta-row{
  display: flex;
  gap: 12px;
  align-items: flex-start;
  flex-wrap: wrap;
}

.meta-row .k{
  flex: 0 0 auto;
  min-width: 72px;
  opacity: .78;
  font-size: 12px;
}

.meta-row .v{
  flex: 1 1 auto;
  min-width: 260px;
  word-break: keep-all;
  line-height: 1.35;
}

.overlay-cta{flex: 0 0 auto}

/* Mobile - ONLY phones */
@media (max-width: 520px){
  .hero-banner > img{
    height: 260px;
  }
  .hero-overlay{
    inset: auto 12px 12px 12px;
    border-radius: 18px;
    padding: 12px;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-end;
    gap: 10px;
    background: linear-gradient(180deg, rgba(5,10,20,.22) 0%, rgba(5,10,20,.60) 48%, rgba(5,10,20,.84) 100%);
    box-shadow: 0 14px 34px rgba(0,0,0,.36);
  }
  .overlay-left{
    gap: 10px;
    align-items: flex-start;
  }
  .profile-pic{
    width: 56px;
    height: 56px;
    border-radius: 14px;
    border-width: 2px;
  }
  .overlay-text{max-width: none}
  .overlay-name{font-size: 14px}
  .overlay-sub{font-size: 12px}
  .meta-row .k{min-width: 64px; font-size: 11px}
  .meta-row .v{min-width: 140px; font-size: 11px}
  .overlay-cta a.btn{
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 380px){
  .hero-banner > img{height: 230px}
  .meta-row .v{min-width: 110px}
}

/* =========================
   HERO GRID (v13) - stable PC/Mobile
   ========================= */
.hero-grid{
  display:grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 22px;
  align-items: stretch;
}

.hero-copy{
  padding: 12px 0;
}

.hero-title{
  margin: 14px 0 10px;
  line-height: 1.05;
  letter-spacing: -0.02em;
}

.hero-desc{
  margin: 0 0 18px;
  max-width: 56ch;
  color: rgba(233,237,246,.78);
}

.hero-actions{
  display:flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.hero-stats{
  display:grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.hero-stats .stat{
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.04);
  border-radius: 16px;
  padding: 12px 14px;
}

.hero-stats .k{
  font-size: 12px;
  color: rgba(233,237,246,.66);
  margin-bottom: 4px;
}
.hero-stats .v{
  font-weight: 800;
}

.hero-card{
  border-radius: 24px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.03);
  overflow: hidden;
  position: relative;
  min-height: 420px;
}

.hero-media{
  position:absolute;
  inset:0;
}
.hero-media img{
  width:100%;
  height:100%;
  object-fit: cover;
  display:block;
  filter: saturate(1.02) contrast(1.02);
}

.hero-profile{
/*  position:absolute;*/
  left: 14px;
  right: 14px;
  bottom: 14px;
  padding: 14px;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(9,12,18,.55);
  backdrop-filter: blur(14px);
  display:flex;
  flex-direction: column;
  gap: 10px;
}

.hp-left{
  display:flex;
  gap: 12px;
  align-items: center;
  min-width: 0;
}

.hp-text{
  min-width:0;
}

.profile-pic{
  width: 112px;
  height: 112px;
  border-radius: 50%;
}

.overlay-name{
  font-weight: 900;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.overlay-sub{
  font-size: 12px;
  color: rgba(233,237,246,.72);
  margin-top: 2px;
}

.overlay-meta{
  display:flex;
  flex-direction: column;
  gap: 6px;
}

.meta-row{
  display:flex;
  gap: 10px;
  align-items: flex-start;
  flex-wrap: wrap;
}

.meta-row .k{
  font-size: 11px;
  opacity: .78;
  min-width: 64px;
}

.meta-row .v{
  font-size: 12px;
  line-height: 2.35;
  min-width: 0;
  flex: 1 1 auto;
  word-break: keep-all;
}

.overlay-cta a.btn{
  width: 100%;
  justify-content: center;
}

/* kill any legacy hero overlay spacing if present */
.hero-overlay{display:none !important;}

/* Responsive */
@media (max-width: 980px){
  .hero-grid{grid-template-columns: 1fr; }
  .hero-card{min-height: 360px}
  .hero-stats{grid-template-columns: 1fr; }
}

@media (max-width: 520px){
  .hero-card{min-height: 320px}
  .hero-profile{
    position: relative;
    left: auto; right: auto; bottom: auto;
    margin: 12px;
  }
  .hero-media{position: relative; inset:auto; height: 220px;}
  .hero-media img{height: 220px;}
  .profile-pic{width:68px;height:68px;border-radius:16px;}
}


/* =========================
   Floating Top Button
   ========================= */
.fab-top{
  position: fixed;
  right: 18px;
  bottom: 18px;
  width: 48px;
  height: 48px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.06);
  backdrop-filter: blur(14px);
  box-shadow: 0 14px 34px rgba(0,0,0,.35);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  cursor: pointer;
}
.fab-top svg{width:20px;height:20px}
.fab-top.show{display:flex}
@media (max-width: 520px){
  .fab-top{right:14px; bottom:14px}
}


/* =========================
   LIGHT_THEME_CONTRAST_V15
   ========================= */
:root[data-theme="light"]{
  --bg: #f6f8fb;
  --panel: rgba(0,0,0,.03);
  --panel2: rgba(0,0,0,.05);
  --text: #0b1220;
  --muted: rgba(11,18,32,.72);
  --line: rgba(11,18,32,.14);
  --shadow: 0 12px 28px rgba(2,6,23,.10);
}
:root[data-theme="light"] body{
  color: var(--text);
  background: radial-gradient(1200px 600px at 30% 10%, rgba(0,120,255,.10), transparent 60%),
              radial-gradient(900px 500px at 80% 0%, rgba(0,255,220,.10), transparent 55%),
              var(--bg);
}
:root[data-theme="light"] .hero-desc,
:root[data-theme="light"] .section-desc,
:root[data-theme="light"] .overlay-sub{
  color: var(--muted) !important;
}
:root[data-theme="light"] .hero-stats .stat,
:root[data-theme="light"] .card,
:root[data-theme="light"] .faq-item,
:root[data-theme="light"] .review-card,
:root[data-theme="light"] .hero-profile{
  border-color: var(--line) !important;
  background: rgba(255,255,255,.70) !important;
  box-shadow: var(--shadow);
}
:root[data-theme="light"] .header{
  background: linear-gradient(to bottom, rgba(255,255,255,.82), rgba(255,255,255,.55)) !important;
  border-bottom: 1px solid var(--line) !important;
}
:root[data-theme="light"] .nav a{ color: rgba(11,18,32,.72) !important; }
:root[data-theme="light"] .nav a.active,
:root[data-theme="light"] .nav a:hover{ color: rgba(11,18,32,1) !important; }
:root[data-theme="light"] .hamburger span{ background: rgba(11,18,32,.85) !important; }
:root[data-theme="light"] .fab-top{
  background: rgba(255,255,255,.78) !important;
  border-color: var(--line) !important;
  color: rgba(11,18,32,.90) !important;
}
