/* ============================================================
   Vaultwynn — Marketing Agency
   Design System & Global Styles
   ============================================================ */

:root {
  --bg:        #0b0c10;
  --bg-2:      #111319;
  --bg-3:      #171a22;
  --surface:   #1b1f29;
  --line:      #262b37;
  --text:      #e9ecf2;
  --muted:     #9aa3b2;
  --muted-2:   #6b7384;
  --brand:     #c8a44d;   /* gold */
  --brand-2:   #e6c878;
  --brand-deep:#9a7a2e;
  --accent:    #5b8cff;
  --good:      #4ad295;
  --bad:       #ff6b6b;
  --radius:    16px;
  --radius-sm: 10px;
  --maxw:      1180px;
  --shadow:    0 24px 60px -20px rgba(0,0,0,.6);
  --font:      'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --serif:     'Fraunces', Georgia, 'Times New Roman', serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }

a { color: var(--brand-2); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--brand); }

h1, h2, h3, h4 { line-height: 1.15; margin: 0 0 .5em; font-weight: 700; letter-spacing: -.02em; }
h1 { font-size: clamp(2.4rem, 5vw, 4.1rem); }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.8rem); }
h3 { font-size: 1.3rem; }
p  { margin: 0 0 1rem; color: var(--muted); }

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .78rem; font-weight: 600; letter-spacing: .18em;
  text-transform: uppercase; color: var(--brand);
  margin-bottom: 18px;
}
.eyebrow::before { content: ""; width: 26px; height: 1px; background: var(--brand); display: inline-block; }

.serif { font-family: var(--serif); font-weight: 500; }
.accent { color: var(--brand-2); }
.text-center { text-align: center; }
.muted { color: var(--muted); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 13px 26px; border-radius: 999px;
  font-weight: 600; font-size: .95rem; cursor: pointer;
  border: 1px solid transparent; transition: all .2s ease;
  white-space: nowrap;
}
.btn-primary {
  background: linear-gradient(135deg, var(--brand-2), var(--brand));
  color: #1a1407; box-shadow: 0 10px 30px -10px rgba(200,164,77,.5);
}
.btn-primary:hover { transform: translateY(-2px); color: #1a1407; box-shadow: 0 16px 40px -12px rgba(200,164,77,.65); }
.btn-ghost {
  background: transparent; color: var(--text); border-color: var(--line);
}
.btn-ghost:hover { border-color: var(--brand); color: var(--brand-2); transform: translateY(-2px); }
.btn-lg { padding: 16px 34px; font-size: 1rem; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(11,12,16,.72);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  height: 74px;
}
.brand { display: flex; align-items: center; gap: 11px; font-weight: 700; font-size: 1.25rem; letter-spacing: -.02em; color: var(--text); }
.brand:hover { color: var(--text); }
.brand .logo-mark {
  width: 34px; height: 34px; border-radius: 9px;
  background: linear-gradient(135deg, var(--brand-2), var(--brand-deep));
  display: grid; place-items: center; color: #14100a; font-weight: 800; font-size: 1.05rem;
  box-shadow: 0 6px 18px -6px rgba(200,164,77,.6);
}
.nav-links { display: flex; align-items: center; gap: 30px; list-style: none; margin: 0; padding: 0; }
.nav-links a { color: var(--muted); font-size: .94rem; font-weight: 500; }
.nav-links a:hover, .nav-links a.active { color: var(--text); }
.nav-cta { display: flex; align-items: center; gap: 14px; }
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--text); margin: 5px 0; transition: .25s; }

/* ---------- Hero ---------- */
.hero {
  position: relative; padding: 90px 0 70px;
  background:
    radial-gradient(60% 60% at 80% 0%, rgba(200,164,77,.10), transparent 70%),
    radial-gradient(50% 50% at 10% 20%, rgba(91,140,255,.08), transparent 70%);
}
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 60px; align-items: center; }
.hero h1 { margin-bottom: 22px; }
.hero p.lead { font-size: 1.18rem; color: var(--muted); max-width: 540px; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 34px; }
.hero-stats { display: flex; gap: 38px; margin-top: 46px; flex-wrap: wrap; }
.hero-stats .stat strong { font-size: 1.9rem; font-family: var(--serif); display: block; color: var(--text); }
.hero-stats .stat span { font-size: .85rem; color: var(--muted-2); }

.hero-card {
  background: linear-gradient(160deg, var(--bg-3), var(--bg-2));
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px; box-shadow: var(--shadow);
}
.hero-card .hc-row { display: flex; align-items: center; justify-content: space-between; padding: 14px 0; border-bottom: 1px solid var(--line); }
.hero-card .hc-row:last-child { border-bottom: 0; }
.hero-card .hc-label { color: var(--muted); font-size: .9rem; }
.hero-card .hc-val { font-weight: 700; }
.bar { height: 7px; border-radius: 99px; background: var(--bg); overflow: hidden; width: 110px; }
.bar > i { display: block; height: 100%; background: linear-gradient(90deg, var(--brand), var(--brand-2)); }

/* ---------- Sections ---------- */
section { padding: 84px 0; }
.section-head { max-width: 680px; margin-bottom: 52px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head p { font-size: 1.08rem; }

.alt { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

/* ---------- Cards / Services ---------- */
.grid { display: grid; gap: 24px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 30px;
  transition: transform .25s ease, border-color .25s ease;
}
.card:hover { transform: translateY(-5px); border-color: rgba(200,164,77,.45); }
.card .icon {
  width: 50px; height: 50px; border-radius: 12px; margin-bottom: 20px;
  display: grid; place-items: center; font-size: 1.4rem;
  background: rgba(200,164,77,.12); border: 1px solid rgba(200,164,77,.25);
}
.card h3 { margin-bottom: 10px; }
.card p { margin-bottom: 0; font-size: .96rem; }
.card ul { margin: 14px 0 0; padding-left: 0; list-style: none; }
.card ul li { font-size: .9rem; color: var(--muted); padding: 5px 0 5px 22px; position: relative; }
.card ul li::before { content: "→"; position: absolute; left: 0; color: var(--brand); }

/* ---------- Process steps ---------- */
.steps { counter-reset: step; display: grid; gap: 22px; }
.step { display: flex; gap: 22px; align-items: flex-start; padding: 24px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.step .num { counter-increment: step; flex: 0 0 auto; width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; font-family: var(--serif); font-size: 1.3rem; color: var(--brand-2); background: var(--bg); border: 1px solid var(--line); }
.step h3 { margin-bottom: 6px; }
.step p { margin: 0; }

/* ---------- Stats band ---------- */
.band { background: linear-gradient(135deg, var(--bg-3), var(--bg-2)); }
.stats-row { display: grid; grid-template-columns: repeat(4,1fr); gap: 30px; text-align: center; }
.stats-row .num { font-family: var(--serif); font-size: 2.6rem; color: var(--brand-2); display: block; }
.stats-row .lbl { color: var(--muted); font-size: .92rem; }

/* ---------- Values ---------- */
.value { padding: 26px 0; border-bottom: 1px solid var(--line); }
.value:last-child { border-bottom: 0; }
.value h3 { color: var(--text); }

/* ---------- CTA band ---------- */
.cta-band {
  background:
    radial-gradient(60% 120% at 50% 0%, rgba(200,164,77,.14), transparent 60%),
    var(--bg-2);
  border: 1px solid var(--line); border-radius: 24px; padding: 64px 40px; text-align: center;
}
.cta-band h2 { max-width: 640px; margin: 0 auto 16px; }
.cta-band p { max-width: 540px; margin: 0 auto 28px; }

/* ---------- Contact / Forms ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.field { margin-bottom: 18px; }
.field label { display: block; font-size: .88rem; font-weight: 600; margin-bottom: 7px; color: var(--text); }
.field .req { color: var(--brand); }
.field input, .field textarea, .field select {
  width: 100%; padding: 13px 15px; border-radius: var(--radius-sm);
  background: var(--bg); border: 1px solid var(--line); color: var(--text);
  font-family: inherit; font-size: .96rem; transition: border-color .2s ease, box-shadow .2s ease;
}
.field input:focus, .field textarea:focus, .field select:focus {
  outline: 0; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(200,164,77,.15);
}
.field textarea { resize: vertical; min-height: 130px; }
.field .err { color: var(--bad); font-size: .8rem; margin-top: 5px; display: none; }
.field.invalid input, .field.invalid textarea, .field.invalid select { border-color: var(--bad); }
.field.invalid .err { display: block; }
.row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.check { display: flex; gap: 11px; align-items: flex-start; font-size: .86rem; color: var(--muted); }
.check input { width: auto; margin-top: 4px; flex: 0 0 auto; }
.form-note { font-size: .82rem; color: var(--muted-2); margin-top: 14px; }
.form-status { display: none; padding: 14px 16px; border-radius: var(--radius-sm); margin-top: 18px; font-size: .92rem; }
.form-status.ok { display: block; background: rgba(74,210,149,.1); border: 1px solid rgba(74,210,149,.35); color: var(--good); }
.form-status.fail { display: block; background: rgba(255,107,107,.1); border: 1px solid rgba(255,107,107,.35); color: var(--bad); }

.info-list { list-style: none; margin: 0; padding: 0; }
.info-list li { display: flex; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.info-list li:last-child { border-bottom: 0; }
.info-list .ico { width: 42px; height: 42px; flex: 0 0 auto; border-radius: 11px; display: grid; place-items: center; background: rgba(200,164,77,.1); border: 1px solid rgba(200,164,77,.22); font-size: 1.1rem; }
.info-list .it-label { font-size: .8rem; color: var(--muted-2); text-transform: uppercase; letter-spacing: .08em; }
.info-list .it-val { font-weight: 600; color: var(--text); }
.map-embed { margin-top: 26px; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.map-embed iframe { width: 100%; height: 280px; border: 0; display: block; filter: grayscale(.3) contrast(1.05); }

/* ---------- Legal / Policy pages ---------- */
.legal { padding-top: 56px; }
.legal-head { border-bottom: 1px solid var(--line); padding-bottom: 30px; margin-bottom: 40px; }
.legal-head .updated { color: var(--muted-2); font-size: .9rem; }
.legal-body { max-width: 820px; }
.legal-body h2 { font-size: 1.5rem; margin-top: 44px; padding-top: 8px; }
.legal-body h3 { font-size: 1.15rem; margin-top: 28px; color: var(--text); }
.legal-body p, .legal-body li { color: var(--muted); }
.legal-body ul, .legal-body ol { padding-left: 22px; margin: 0 0 1rem; }
.legal-body li { margin-bottom: 8px; }
.legal-body table { width: 100%; border-collapse: collapse; margin: 18px 0; font-size: .92rem; }
.legal-body th, .legal-body td { text-align: left; padding: 12px 14px; border: 1px solid var(--line); }
.legal-body th { background: var(--bg-3); color: var(--text); }
.toc { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 28px; margin-bottom: 40px; }
.toc strong { display: block; margin-bottom: 12px; font-size: .85rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted-2); }
.toc ol { columns: 2; column-gap: 36px; margin: 0; padding-left: 18px; }
.toc li { margin-bottom: 7px; color: var(--muted); }

/* ---------- Footer ---------- */
.site-footer { background: var(--bg-2); border-top: 1px solid var(--line); padding: 64px 0 30px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 48px; }
.footer-grid h4 { font-size: .82rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted-2); margin-bottom: 18px; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; }
.footer-grid li { margin-bottom: 11px; }
.footer-grid a { color: var(--muted); font-size: .93rem; }
.footer-grid a:hover { color: var(--brand-2); }
.footer-about p { font-size: .94rem; max-width: 320px; }
.footer-bottom { border-top: 1px solid var(--line); padding-top: 26px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; font-size: .86rem; color: var(--muted-2); }
.footer-bottom a { color: var(--muted-2); }
.footer-legal-links { display: flex; gap: 20px; flex-wrap: wrap; }

/* ---------- Misc ---------- */
.badge-row { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 26px; }
.badge { font-size: .8rem; color: var(--muted); border: 1px solid var(--line); border-radius: 999px; padding: 7px 15px; background: var(--bg); }
.pill { display:inline-block; font-size:.74rem; letter-spacing:.1em; text-transform:uppercase; color:var(--brand); border:1px solid rgba(200,164,77,.3); border-radius:999px; padding:4px 12px; background:rgba(200,164,77,.07); }

.reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Cookie banner ---------- */
.cookie-banner {
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 200;
  max-width: 760px; margin: 0 auto;
  background: var(--bg-3); border: 1px solid var(--line);
  border-radius: var(--radius); box-shadow: var(--shadow);
  padding: 22px 24px;
  display: flex; align-items: center; gap: 22px; flex-wrap: wrap;
  transform: translateY(140%); transition: transform .4s ease;
}
.cookie-banner.show { transform: none; }
.cookie-banner p { margin: 0; font-size: .9rem; flex: 1 1 320px; color: var(--muted); }
.cookie-banner .cb-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.cookie-banner .btn { padding: 10px 20px; font-size: .88rem; }
@media (max-width: 520px) {
  .cookie-banner { padding: 18px; }
  .cookie-banner .cb-actions, .cookie-banner .btn { width: 100%; justify-content: center; }
}

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-card { order: -1; }
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .stats-row { grid-template-columns: repeat(2,1fr); row-gap: 36px; }
  .contact-grid { grid-template-columns: 1fr; gap: 36px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .toc ol { columns: 1; }
}
@media (max-width: 680px) {
  .nav-links, .nav-cta .btn-ghost { display: none; }
  .nav-toggle { display: block; }
  .nav-links.open {
    display: flex; flex-direction: column; gap: 0;
    position: absolute; top: 74px; left: 0; right: 0;
    background: var(--bg-2); border-bottom: 1px solid var(--line); padding: 12px 24px 22px;
  }
  .nav-links.open li { padding: 12px 0; border-bottom: 1px solid var(--line); width: 100%; }
  .grid-3, .grid-4, .grid-2, .row-2 { grid-template-columns: 1fr; }
  section { padding: 60px 0; }
  .cta-band { padding: 44px 22px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
