/* ── QLAB BIO — Common Styles v2 ── */
@import url('https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/dist/web/static/pretendard.css');
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Pretendard', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  color: #1E293B;
  background: #fff;
  -webkit-font-smoothing: antialiased;
  word-break: keep-all;
  line-height: 1.6;
  overflow-x: hidden;
}

:root {
  --brand:       #1F8A82;
  --brand-dark:  #0F6F68;
  --brand-light: #E6F3F1;
  --brand-mid:   #9FD3CD;
  --brand-muted: #C7E5E0;

  --slate-50:  #F8FAFC;
  --slate-100: #F1F5F9;
  --slate-200: #E2E8F0;
  --slate-300: #CBD5E1;
  --slate-400: #94A3B8;
  --slate-500: #64748B;
  --slate-600: #475569;
  --slate-700: #334155;
  --slate-800: #1E293B;
  --slate-900: #0F172A;

  --green-500: #22C55E;
  --amber-500: #F59E0B;
  --red-500:   #EF4444;

  --r-sm:  8px;
  --r-md:  12px;
  --r-lg:  18px;
  --r-xl:  24px;

  --sh-sm: 0 1px 4px rgba(15,23,42,.07);
  --sh-md: 0 4px 20px rgba(15,23,42,.08);
  --sh-lg: 0 12px 40px rgba(15,23,42,.1);
}

/* ── NAV (unified with index/about/business) ── */
nav.qnav {
  position: sticky; top: 0; z-index: 200;
  background: rgba(250,250,250,.72);
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  border-bottom: 1px solid transparent;
  transition: border-color .15s, background .15s;
}
nav.qnav.scrolled { border-bottom-color: var(--slate-200); }
.qnav-inner {
  max-width: 1240px; margin: 0 auto;
  padding: 14px 32px; gap: 8px;
  display: flex; align-items: center;
}
.qnav-logo {
  font-size: 14px; font-weight: 600; letter-spacing: -.01em;
  color: #08090A; text-decoration: none;
  display: inline-flex; align-items: center; gap: 10px; flex-shrink: 0;
}
.qnav-links {
  display: flex; align-items: center; gap: 0;
  list-style: none; margin-left: 32px; padding: 0;
}
.qnav-links li { list-style: none; }
.qnav-links a {
  font-size: 13px; font-weight: 500;
  color: #3F3F46; text-decoration: none;
  padding: 6px 12px; border-radius: 6px;
  transition: background .12s, color .12s;
}
.qnav-links a:hover { color: #08090A; background: #EEEEF0; }
.qnav-links a.active { color: #08090A; background: transparent; }
.qnav-right { display: flex; align-items: center; gap: 6px; margin-left: auto; }
.lang-btn {
  font-family: 'Geist Mono', 'Inter', monospace;
  font-size: 11px; font-weight: 500; letter-spacing: .04em;
  color: #3F3F46; cursor: pointer;
  padding: 6px 10px; border-radius: 7px;
  border: none; background: transparent;
  transition: background .12s, color .12s;
}
.lang-btn:hover { color: #08090A; background: #EEEEF0; }

/* ── BUTTONS ── */
.btn {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: 'Pretendard', sans-serif;
  font-weight: 600; border: none; cursor: pointer;
  transition: all .15s; text-decoration: none;
}
.btn-sm  { padding: 8px 16px;  font-size: 13px; border-radius: 8px; }
.btn-md  { padding: 11px 22px; font-size: 14px; border-radius: 10px; }
.btn-lg  { padding: 13px 28px; font-size: 15px; border-radius: 10px; }
.btn-primary { background: #08090A; color: white; box-shadow: 0 1px 0 rgba(0,0,0,.05), inset 0 1px 0 rgba(255,255,255,.08); }
.btn-primary:hover { background: #18181B; box-shadow: 0 4px 14px rgba(0,0,0,.2); transform: translateY(-1px); }
.btn-outline { background: #fff; color: #3F3F46; border: 1px solid #E4E4E7; }
.btn-outline:hover { border-color: #08090A; }
.btn-secondary { background: var(--slate-100); color: var(--slate-700); }
.btn-secondary:hover { background: var(--slate-200); }
.btn-ghost { background: rgba(255,255,255,.12); color: white; border: 1px solid rgba(255,255,255,.22); }
.btn-ghost:hover { background: rgba(255,255,255,.2); }

/* ── LAYOUT ── */
.container { max-width: 1200px; margin: 0 auto; padding: 0 52px; }
.section { padding: 88px 52px; max-width: 1200px; margin: 0 auto; }
.bg-gray  { background: var(--slate-50); }
.bg-dark  { background: var(--slate-900); }
.bg-white { background: #fff; }

/* ── TYPOGRAPHY HELPERS ── */
.eyebrow {
  font-size: 11px; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; color: var(--brand);
  display: flex; align-items: center; gap: 8px; margin-bottom: 10px;
}
.eyebrow::before { content:''; width:18px; height:2px; background:var(--brand); border-radius:1px; }
.eyebrow-center { justify-content: center; }
.eyebrow-inv { color: #7FCFC7; }
.eyebrow-inv::before { background: #7FCFC7; }

.h-section {
  font-size: clamp(26px, 2.8vw, 38px); font-weight: 700;
  letter-spacing: -.025em; color: var(--slate-900);
  line-height: 1.2; margin-bottom: 12px;
}
.h-section-inv { color: white; }
.lead {
  font-size: 16px; color: var(--slate-500); line-height: 1.75;
  max-width: 520px;
}
.lead-center { margin: 0 auto; text-align: center; }
.lead-inv { color: var(--slate-400); }

/* ── FADE IN ── */
.fi { opacity:0; transform:translateY(20px); transition:opacity .55s ease, transform .55s ease; }
.fi.in { opacity:1; transform:none; }
.fi.d1 { transition-delay:.08s; } .fi.d2 { transition-delay:.16s; }
.fi.d3 { transition-delay:.24s; } .fi.d4 { transition-delay:.32s; }

/* ── PAGE HERO (matches phead from index/about/business) ── */
.page-hero {
  background: #FAFAFA; padding: 120px 0 80px;
  position: relative; overflow: hidden;
  border-bottom: 1px solid #E4E4E7;
}
.page-hero::before {
  content:''; position:absolute; inset:0;
  background: radial-gradient(ellipse 700px 240px at 30% 30%, rgba(31,138,130,.08), transparent 60%);
  pointer-events:none;
}
.page-hero-inner {
  max-width: 1240px; margin: 0 auto;
  padding: 0 32px; position: relative; z-index: 1;
}
.page-hero-label, .page-hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: 'Geist Mono', 'Inter', monospace;
  font-size: 11px; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; color: var(--brand);
  margin-bottom: 28px;
}
.page-hero-label::before, .page-hero-eyebrow::before {
  content:''; width: 18px; height: 2px;
  background: var(--brand); border-radius: 1px;
}
.page-hero-title {
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 500; letter-spacing: -.04em; line-height: 1.05;
  color: #08090A; max-width: 820px; margin-bottom: 22px;
}
.page-hero-sub {
  font-size: 17px; line-height: 1.55;
  color: #3F3F46; max-width: 600px;
}
@media (max-width: 600px) { .page-hero { padding: 80px 0 40px; } }

/* ── BREADCRUMB ── */
.breadcrumb { padding:11px 52px; background:var(--slate-50); border-bottom:1px solid var(--slate-100); font-size:13px; color:var(--slate-400); }
.breadcrumb a { color:var(--slate-400); text-decoration:none; }
.breadcrumb a:hover { color:var(--brand); }
.breadcrumb .sep { margin:0 6px; }

/* ── FOOTER ── */
footer.qfoot { background: linear-gradient(165deg, #F4FBFA 0%, #E7F4F2 100%); border-top:1px solid rgba(15,111,104,.14); padding:52px 52px 28px; }
.qfoot-grid { display:grid; grid-template-columns:2fr 1fr 1fr 1fr; gap:40px; max-width:1200px; margin:0 auto 40px; }
.qfoot-logo { font-size:17px; font-weight:700; letter-spacing:-.03em; color:var(--ink, var(--slate-900)); display:flex; align-items:center; gap:8px; margin-bottom:12px; text-decoration:none; }
.qfoot-desc { font-size:13px; color:var(--slate-500); line-height:1.72; max-width:230px; }
.qfoot-contact { margin-top:14px; }
.qfoot-contact a { display:block; font-size:13px; color:var(--brand); text-decoration:none; margin-bottom:4px; font-weight:500; }
.qfoot-col-title { font-size:11px; font-weight:700; text-transform:uppercase; letter-spacing:.1em; color:var(--slate-500); margin-bottom:16px; }
.qfoot-links { list-style:none; display:flex; flex-direction:column; gap:9px; }
.qfoot-links a { font-size:14px; color:var(--slate-600); text-decoration:none; transition:color .15s; }
.qfoot-links a:hover { color:var(--brand); }
.qfoot-bottom { max-width:1200px; margin:0 auto; border-top:1px solid rgba(15,111,104,.14); padding-top:22px; display:flex; justify-content:space-between; align-items:center; }
.qfoot-bottom p { font-size:12px; color:var(--slate-500); }

@media (max-width:900px) {
  .qnav-inner { padding:12px 20px; }
  .qnav-links { display:none; }
  .container,.section { padding-left:20px; padding-right:20px; }
  .page-hero { padding:80px 0 40px; }
  .page-hero-inner { padding:0 20px; }
  .breadcrumb { padding:10px 20px; }
  .qfoot-grid { grid-template-columns:1fr 1fr; }
  footer.qfoot { padding:40px 20px 24px; }
}
