:root {
  --bg: #0a0c10;
  --bg-2: #0f131a;
  --bg-3: #141a24;
  --surface: #11161f;
  --line: #1e2733;
  --line-soft: #182029;
  --gold: #c9a961;
  --gold-dim: rgba(201, 169, 97, 0.14);
  --blue: #4da3ff;
  --blue-dim: rgba(77, 163, 255, 0.12);
  --text: #f4f6fa;
  --text-2: #aab4c4;
  --text-3: #6c7888;
  --radius: 4px;
  --radius-lg: 8px;
  --maxw: 1240px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --font-display: "Space Grotesk", "Inter", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 32px; }

/* ---- ambient background ---- */
.bg-fx { position: fixed; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.bg-fx::before {
  content: ""; position: absolute; top: -10%; left: 50%; transform: translateX(-50%);
  width: 1100px; height: 700px;
  background: radial-gradient(ellipse, rgba(77,163,255,0.10), transparent 65%);
}
.bg-fx::after {
  content: ""; position: absolute; bottom: -20%; right: -10%;
  width: 800px; height: 800px;
  background: radial-gradient(circle, rgba(201,169,97,0.06), transparent 60%);
}
.grid-lines {
  position: absolute; inset: 0;
  background-image: linear-gradient(var(--line-soft) 1px, transparent 1px), linear-gradient(90deg, var(--line-soft) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 30%, #000 20%, transparent 75%);
  mask-image: radial-gradient(ellipse 80% 60% at 50% 30%, #000 20%, transparent 75%);
  opacity: 0.5;
}

/* ---- typography ---- */
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 600; letter-spacing: -0.02em; line-height: 1.08; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-display);
  font-size: 0.72rem; font-weight: 500; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--gold);
}
.eyebrow::before { content: ""; width: 26px; height: 1px; background: var(--gold); opacity: 0.6; }

/* ---- header ---- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(10, 12, 16, 0.72);
  backdrop-filter: blur(18px) saturate(140%);
  border-bottom: 1px solid var(--line-soft);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.brand { display: flex; align-items: center; gap: 11px; font-family: var(--font-display); font-weight: 600; font-size: 1.22rem; letter-spacing: -0.02em; }
.brand .mark { width: 30px; height: 30px; }
.brand b { font-weight: 600; }
.brand .tld { color: var(--gold); }
.nav-links { display: flex; align-items: center; gap: 38px; }
.nav-links > a, .dropdown-trigger {
  font-family: var(--font-display);
  font-size: 0.9rem; font-weight: 500; color: var(--text-2);
  background: none; border: none; cursor: pointer; font-family: var(--font-display);
  transition: color 0.25s var(--ease); display: inline-flex; align-items: center; gap: 6px;
}
.nav-links > a:hover, .dropdown-trigger:hover, .dropdown-trigger.active { color: var(--text); }
.nav-cta {
  font-family: var(--font-display); font-size: 0.88rem; font-weight: 500;
  color: var(--bg) !important; background: var(--gold);
  padding: 11px 22px; border-radius: var(--radius);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.nav-cta:hover { transform: translateY(-2px); box-shadow: 0 10px 30px rgba(201,169,97,0.3); }
.nav-toggle { display: none; background: none; border: none; color: var(--text); cursor: pointer; }
.nav-toggle svg { width: 26px; height: 26px; }

/* ---- dropdown ---- */
.has-dropdown { position: relative; }
.chev { width: 14px; height: 14px; transition: transform 0.3s var(--ease); }
.has-dropdown:hover .chev { transform: rotate(180deg); }
.dropdown {
  position: absolute; top: calc(100% + 20px); left: 50%; transform: translateX(-50%) translateY(10px);
  width: 520px; padding: 14px;
  background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius-lg);
  display: grid; grid-template-columns: 1fr 1fr; gap: 4px;
  opacity: 0; visibility: hidden; transition: all 0.3s var(--ease);
  box-shadow: 0 30px 70px rgba(0,0,0,0.6);
}
.dropdown::before { content: ""; position: absolute; top: -20px; left: 0; right: 0; height: 20px; }
.has-dropdown:hover .dropdown, .has-dropdown:focus-within .dropdown { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.dd-item { display: flex; gap: 13px; padding: 13px; border-radius: var(--radius); transition: background 0.2s var(--ease); }
.dd-item:hover { background: var(--bg-3); }
.dd-item .di-ico { flex: none; width: 38px; height: 38px; border-radius: var(--radius); background: var(--blue-dim); color: var(--blue); display: grid; place-items: center; }
.dd-item .di-ico svg { width: 19px; height: 19px; }
.dd-item.gold .di-ico { background: var(--gold-dim); color: var(--gold); }
.dd-item h5 { font-family: var(--font-display); font-size: 0.92rem; font-weight: 500; color: var(--text); margin-bottom: 2px; }
.dd-item p { font-size: 0.78rem; color: var(--text-3); line-height: 1.4; }

/* ---- buttons ---- */
.btn { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-display); font-size: 0.92rem; font-weight: 500; padding: 14px 26px; border-radius: var(--radius); cursor: pointer; border: 1px solid transparent; transition: all 0.3s var(--ease); }
.btn svg { width: 17px; height: 17px; }
.btn-gold { background: var(--gold); color: var(--bg); }
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 14px 34px rgba(201,169,97,0.28); }
.btn-line { background: transparent; color: var(--text); border-color: var(--line); }
.btn-line:hover { border-color: var(--gold); color: var(--gold); }
.btn-blue { background: var(--blue); color: var(--bg); }
.btn-blue:hover { transform: translateY(-2px); box-shadow: 0 14px 34px rgba(77,163,255,0.28); }

/* ---- hero ---- */
.hero { position: relative; padding: 120px 0 100px; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 64px; align-items: center; }
.hero h1 { font-size: clamp(2.6rem, 5.6vw, 4.6rem); margin: 26px 0 24px; }
.hero h1 .gold { color: var(--gold); }
.hero h1 .blue { color: var(--blue); }
.hero .lead { font-size: clamp(1.05rem, 1.6vw, 1.22rem); color: var(--text-2); max-width: 52ch; margin-bottom: 38px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.hero-meta { display: flex; gap: 40px; margin-top: 52px; padding-top: 38px; border-top: 1px solid var(--line-soft); }
.hero-meta .m .v { font-family: var(--font-display); font-size: 2rem; font-weight: 600; color: var(--text); letter-spacing: -0.02em; }
.hero-meta .m .v span { color: var(--gold); }
.hero-meta .m .l { font-size: 0.82rem; color: var(--text-3); margin-top: 2px; }
.hero-visual { position: relative; }

/* ---- sections ---- */
.section { padding: 110px 0; position: relative; }
.section-head { max-width: 60ch; margin-bottom: 64px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head.center .eyebrow::before { display: none; }
.section h2 { font-size: clamp(2rem, 3.8vw, 3rem); margin: 20px 0 18px; }
.section h2 .gold { color: var(--gold); }
.section .sub { font-size: 1.08rem; color: var(--text-2); }

/* ---- services list (numbered, editorial) ---- */
.svc-list { border-top: 1px solid var(--line); }
.svc-row { display: grid; grid-template-columns: 80px 1fr 1.2fr auto; gap: 32px; align-items: center; padding: 36px 16px; border-bottom: 1px solid var(--line); transition: background 0.4s var(--ease), padding 0.4s var(--ease); position: relative; }
.svc-row::after { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 2px; background: var(--gold); transform: scaleY(0); transition: transform 0.4s var(--ease); transform-origin: top; }
.svc-row:hover { background: var(--bg-2); padding-left: 28px; }
.svc-row:hover::after { transform: scaleY(1); }
.svc-num { font-family: var(--font-display); font-size: 0.9rem; color: var(--text-3); letter-spacing: 0.1em; }
.svc-row:hover .svc-num { color: var(--gold); }
.svc-name { font-family: var(--font-display); font-size: 1.45rem; font-weight: 500; }
.svc-name .ico { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: var(--radius); background: var(--blue-dim); color: var(--blue); margin-right: 4px; vertical-align: middle; }
.svc-name .ico svg { width: 18px; height: 18px; }
.svc-desc { color: var(--text-2); font-size: 0.98rem; }
.svc-go { width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; color: var(--text-2); transition: all 0.35s var(--ease); }
.svc-go svg { width: 18px; height: 18px; transition: transform 0.35s var(--ease); }
.svc-row:hover .svc-go { border-color: var(--gold); color: var(--gold); }
.svc-row:hover .svc-go svg { transform: translate(2px, -2px); }

/* ---- pillars (why us) ---- */
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
.pillar { background: var(--bg); padding: 40px 36px; transition: background 0.4s var(--ease); }
.pillar:hover { background: var(--bg-2); }
.pillar .pi { width: 44px; height: 44px; color: var(--gold); margin-bottom: 24px; }
.pillar .pi svg { width: 100%; height: 100%; }
.pillar h3 { font-size: 1.3rem; font-weight: 500; margin-bottom: 12px; }
.pillar p { color: var(--text-2); font-size: 0.96rem; }

/* ---- process ---- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.step { position: relative; padding-top: 28px; border-top: 1px solid var(--line); }
.step .sn { font-family: var(--font-display); font-size: 0.8rem; color: var(--gold); letter-spacing: 0.15em; margin-bottom: 16px; }
.step h4 { font-size: 1.2rem; font-weight: 500; margin-bottom: 10px; }
.step p { color: var(--text-2); font-size: 0.92rem; }

/* ---- detail page ---- */
.detail-hero { padding: 90px 0 70px; position: relative; }
.breadcrumb { display: flex; gap: 10px; align-items: center; font-family: var(--font-display); font-size: 0.82rem; color: var(--text-3); margin-bottom: 30px; }
.breadcrumb a:hover { color: var(--gold); }
.breadcrumb .sep { opacity: 0.4; }
.detail-hero h1 { font-size: clamp(2.4rem, 5vw, 4rem); max-width: 18ch; margin: 22px 0 24px; }
.detail-hero .lead { font-size: 1.18rem; color: var(--text-2); max-width: 56ch; margin-bottom: 36px; }
.detail-split { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 72px; align-items: start; }
.feature-list { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
.feature-row { background: var(--bg); padding: 28px 30px; display: flex; gap: 20px; transition: background 0.3s var(--ease); }
.feature-row:hover { background: var(--bg-2); }
.feature-row .fi { flex: none; width: 40px; height: 40px; border-radius: var(--radius); background: var(--blue-dim); color: var(--blue); display: grid; place-items: center; }
.feature-row .fi svg { width: 20px; height: 20px; }
.feature-row h4 { font-family: var(--font-display); font-size: 1.08rem; font-weight: 500; margin-bottom: 5px; }
.feature-row p { color: var(--text-2); font-size: 0.94rem; }
.aside-card { background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 34px; position: sticky; top: 100px; }
.aside-card h3 { font-size: 1.3rem; font-weight: 500; margin-bottom: 20px; }
.stat-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-bottom: 28px; }
.stat-grid .s .v { font-family: var(--font-display); font-size: 1.8rem; font-weight: 600; color: var(--gold); }
.stat-grid .s .l { font-size: 0.8rem; color: var(--text-3); }
.aside-card .btn { width: 100%; justify-content: center; }
.checklist { list-style: none; display: grid; gap: 16px; margin-top: 28px; }
.checklist li { display: flex; gap: 14px; color: var(--text-2); }
.checklist li svg { flex: none; width: 22px; height: 22px; color: var(--gold); margin-top: 2px; }
.checklist li b { color: var(--text); font-family: var(--font-display); font-weight: 500; display: block; margin-bottom: 2px; }

/* ---- faq ---- */
.faq { display: grid; gap: 1px; background: var(--line); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.faq details { background: var(--bg); transition: background 0.3s var(--ease); }
.faq details[open] { background: var(--bg-2); }
.faq summary { padding: 26px 24px; cursor: pointer; font-family: var(--font-display); font-size: 1.12rem; font-weight: 500; display: flex; justify-content: space-between; gap: 20px; list-style: none; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .pm { flex: none; width: 22px; height: 22px; color: var(--gold); transition: transform 0.3s var(--ease); }
.faq details[open] summary .pm { transform: rotate(45deg); }
.faq .ans { padding: 0 24px 26px; color: var(--text-2); max-width: 72ch; }

/* ---- CTA ---- */
.cta { position: relative; padding: 96px 0; overflow: hidden; }
.cta-inner { background: linear-gradient(135deg, var(--bg-2), var(--bg-3)); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 72px; text-align: center; position: relative; overflow: hidden; }
.cta-inner::before { content: ""; position: absolute; top: -50%; left: 50%; transform: translateX(-50%); width: 700px; height: 500px; background: radial-gradient(ellipse, rgba(201,169,97,0.12), transparent 60%); pointer-events: none; }
.cta-inner h2 { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 18px; position: relative; }
.cta-inner p { color: var(--text-2); max-width: 50ch; margin: 0 auto 36px; position: relative; font-size: 1.08rem; }
.cta-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; position: relative; }

/* ---- footer ---- */
.site-footer { border-top: 1px solid var(--line); padding: 72px 0 36px; }
.foot-top { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 56px; }
.foot-top .about { max-width: 34ch; }
.foot-top .about p { color: var(--text-2); font-size: 0.94rem; margin-top: 18px; }
.foot-col h5 { font-family: var(--font-display); font-size: 0.74rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--text-3); margin-bottom: 20px; }
.foot-col a, .foot-col p { display: block; color: var(--text-2); font-size: 0.92rem; margin-bottom: 13px; transition: color 0.2s var(--ease); }
.foot-col a:hover { color: var(--gold); }
.foot-bottom { border-top: 1px solid var(--line-soft); padding-top: 28px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; color: var(--text-3); font-size: 0.84rem; font-family: var(--font-display); }

/* ---- reveal ---- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: 0.08s; } .reveal.d2 { transition-delay: 0.16s; } .reveal.d3 { transition-delay: 0.24s; }

/* ---- responsive ---- */
@media (max-width: 1000px) {
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .hero-visual { order: -1; }
  .pillars { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .detail-split { grid-template-columns: 1fr; gap: 40px; }
  .aside-card { position: static; }
  .foot-top { grid-template-columns: 1fr 1fr; gap: 36px; }
}
@media (max-width: 720px) {
  .wrap { padding: 0 22px; }
  .nav-links { position: fixed; inset: 76px 0 0 0; flex-direction: column; align-items: flex-start; gap: 4px; background: var(--bg); border-bottom: 1px solid var(--line); padding: 24px 22px 28px; transform: translateY(-130%); transition: transform 0.4s var(--ease); overflow-y: auto; }
  .nav-links.open { transform: translateY(0); }
  .nav-toggle { display: block; }
  .has-dropdown { width: 100%; }
  .nav-links.open .has-dropdown { align-self: stretch; }
  .dropdown { position: static; width: 100%; grid-template-columns: 1fr; opacity: 1; visibility: visible; transform: none; box-shadow: none; background: transparent; border: none; padding: 8px 0 8px 14px; border-left: 2px solid var(--line); margin-top: 10px; }
  .dropdown .dd-item { display: block; width: 100%; padding: 11px 8px; text-align: left; }
  .dropdown .dd-item .di-ico { display: none; }
  .dropdown .dd-item > span { display: block; width: 100%; }
  .dropdown .dd-item p { display: none; }
  .dropdown .dd-item h5 { font-size: 0.95rem; white-space: normal; }
  .nav-cta { width: 100%; justify-content: center; display: inline-flex; margin-top: 8px; }
  .steps { grid-template-columns: 1fr; }
  .svc-row { grid-template-columns: 1fr; gap: 14px; padding: 28px 8px; }
  .svc-row:hover { padding-left: 8px; }
  .svc-go { display: none; }
  .foot-top { grid-template-columns: 1fr; }
  .cta-inner { padding: 44px 26px; }
  .detail-split { gap: 32px; }
}
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } *,*::before,*::after { animation: none !important; } }
