/* ============================================================
   VELTLAB — Meta advertising studio
   Dark theme · warm near-black + champagne gold
   ============================================================ */

:root {
  /* Colour — dark, warm-tinted toward the coral hue */
  --bg: #14110F;          /* main background (warm near-black) */
  --surface: #1D1813;     /* cards / elevated panels */
  --surface-2: #262019;   /* hover / higher elevation */
  --text: #F2EBE3;        /* primary text (cream) */
  --text-70: #B6AB9D;     /* secondary text */
  --text-40: #857A6C;     /* muted text / labels */
  --accent: #D4B483;      /* champagne gold */
  --accent-dim: #E2CEA3;  /* lighter gold (hover) */
  --hairline: #2F2820;    /* borders / dividers */
  --hairline-soft: #221D17;

  /* Type */
  --font-display: 'Space Grotesk', system-ui, -apple-system, sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;

  /* Spacing / layout */
  --container: 1180px;
  --gutter: clamp(20px, 5vw, 48px);
  --radius: 18px;
  --radius-sm: 12px;

  /* Motion */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-out-quart: cubic-bezier(0.25, 1, 0.5, 1);
  --ease-out-quint: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);

  color-scheme: dark;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
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;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
::selection { background: var(--accent); color: var(--bg); }

/* ---------- Scroll progress ---------- */
.scroll-progress {
  position: fixed; top: 0; left: 0; height: 3px; width: 100%;
  background: var(--accent); z-index: 200;
  transform: scaleX(0); transform-origin: 0 50%;
  will-change: transform;
}

/* ---------- Helpers ---------- */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding-inline: var(--gutter); }
.eyebrow {
  font-size: 12px; font-weight: 500; text-transform: uppercase;
  letter-spacing: 0.14em; color: var(--text-40);
  display: inline-flex; align-items: center; gap: 8px;
}
.eyebrow::before { content: ""; width: 22px; height: 1px; background: var(--accent); display: inline-block; }
.accent { color: var(--accent); }
.lang-hide { display: none !important; }

h1, h2, h3 { font-family: var(--font-display); font-weight: 700; letter-spacing: -0.02em; line-height: 1.04; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 15px 26px; border-radius: 100px;
  font-weight: 500; font-size: 15px;
  transition: transform .35s var(--ease), background .25s, color .25s, box-shadow .35s var(--ease);
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(0.97); transition-duration: .12s; }
/* coral = "book a call" actions */
.btn-primary, .btn-lime { background: var(--accent); color: var(--bg); font-weight: 600; }
.btn-primary:hover, .btn-lime:hover { background: var(--accent-dim); box-shadow: 0 16px 40px -12px rgba(212,180,131,.55); }
.btn-ghost { border: 1px solid var(--hairline); color: var(--text); background: transparent; }
.btn-ghost:hover { border-color: var(--text); }
.btn .arrow { transition: transform .35s var(--ease); }
.btn:hover .arrow { transform: translate(3px, -3px); }

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: color-mix(in srgb, var(--bg) 78%, transparent);
  backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, background .3s;
}
.nav.scrolled { border-bottom-color: var(--hairline); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.nav-logo { color: var(--text); display: inline-flex; align-items: center; gap: 10px; }
.nav-mark { height: 30px; width: auto; display: block; }
.nav-word { font-family: var(--font-display); font-weight: 700; font-size: 23px; letter-spacing: -0.5px; color: var(--text); }
.nav-links { display: flex; align-items: center; gap: 34px; }
.nav-links a { font-size: 15px; color: var(--text-70); transition: color .25s var(--ease-out-quart); position: relative; }
.nav-links a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 1.5px;
  background: var(--accent); transform: scaleX(0); transform-origin: right;
  transition: transform .35s var(--ease-out-expo);
}
.nav-links a:hover { color: var(--text); }
.nav-links a:hover::after { transform: scaleX(1); transform-origin: left; }
.nav-right { display: flex; align-items: center; gap: 16px; }

.lang-toggle {
  position: relative; display: inline-flex; border: 1px solid var(--hairline);
  border-radius: 100px; font-size: 12px; font-weight: 500; isolation: isolate;
}
.lang-thumb {
  position: absolute; top: 2px; left: 2px; bottom: 2px; width: calc(50% - 2px);
  background: var(--text); border-radius: 100px; z-index: -1;
  transform: translateX(0);
  transition: transform .4s var(--ease-out-expo);
}
.lang-toggle.lt-active .lang-thumb { transform: translateX(100%); }
.lang-toggle button { padding: 7px 12px; color: var(--text-40); transition: color .3s var(--ease-out-quart); letter-spacing: .04em; min-width: 40px; }
.lang-toggle button.active { color: var(--bg); }

.nav-burger { display: none; flex-direction: column; gap: 5px; padding: 6px; }
.nav-burger span { width: 22px; height: 2px; background: var(--text); transition: .3s; }

/* ============================================================
   HERO
   ============================================================ */
.hero { padding-top: clamp(60px, 9vw, 110px); padding-bottom: clamp(50px, 7vw, 90px); position: relative; isolation: isolate; }
.hero-bg {
  position: absolute; inset: 0; z-index: -2; pointer-events: none;
  background: url('assets/hero-bg.png?v=6') center right / cover no-repeat;
  opacity: 1;
  animation: heroDrift 30s ease-in-out infinite alternate;
}
.hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 48%, var(--bg) 100%),
              linear-gradient(90deg, var(--bg) 2%, transparent 60%);
}
@keyframes heroDrift {
  from { transform: scale(1.06); }
  to   { transform: scale(1.14) translate(-1.6%, -1.2%); }
}
.hero-grid {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: linear-gradient(var(--hairline) 1px, transparent 1px),
                    linear-gradient(90deg, var(--hairline) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(circle at 72% 8%, #000 0%, transparent 62%);
  opacity: .5;
}
.hero h1 {
  font-size: clamp(44px, 8vw, 88px);
  max-width: 14ch;
  margin-bottom: 26px;
}
.hero h1 .mark-dot {
  color: var(--accent); display: inline-block;
  animation: wipeIn .75s var(--ease-out-expo) .5s both;
}
@keyframes wipeIn {
  from { clip-path: inset(0 100% 0 -0.1em); opacity: .2; }
  to   { clip-path: inset(0 -0.1em 0 -0.1em); opacity: 1; }
}
.hero-sub {
  font-size: clamp(17px, 2vw, 20px); color: var(--text-70);
  max-width: 52ch; margin-bottom: 38px;
}
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.hero-eyebrow { margin-bottom: 26px; }

/* Stat row */
.stats {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 24px; margin-top: clamp(54px, 7vw, 86px);
  border-top: 1px solid var(--hairline); padding-top: 38px;
}
.stat .num { font-family: var(--font-display); font-size: clamp(34px, 4.5vw, 52px); font-weight: 700; letter-spacing: -0.03em; }
.stat .lbl { font-size: 14px; color: var(--text-40); margin-top: 4px; }

/* ---------- Logos / trust strip ---------- */
.trust { padding: 36px 0; border-top: 1px solid var(--hairline); overflow: hidden; }
.trust-label { display: block; font-size: 12px; text-transform: uppercase; letter-spacing: .14em; color: var(--text-40); margin-bottom: 22px; }
.marquee {
  position: relative; overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee-track {
  display: flex; align-items: center; gap: clamp(40px, 6vw, 80px); width: max-content;
  animation: marquee 38s linear infinite;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee .client {
  font-family: var(--font-display); font-weight: 700; font-size: 22px;
  color: var(--text-70); opacity: .5; letter-spacing: -0.01em; white-space: nowrap;
  transition: opacity .3s var(--ease-out-quart), color .3s var(--ease-out-quart);
}
.marquee .client:hover { opacity: 1; color: var(--text); }
.marquee .client-logo { height: 23px; width: auto; opacity: .5; transition: opacity .3s var(--ease-out-quart); }
.marquee .client-logo:hover { opacity: 1; }
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ============================================================
   SECTION SHELL
   ============================================================ */
section { scroll-margin-top: 90px; }
.section { padding: clamp(70px, 10vw, 130px) 0; }
.section-head { max-width: 60ch; margin-bottom: clamp(40px, 5vw, 64px); }
.section-head h2 { font-size: clamp(32px, 5vw, 48px); margin-top: 16px; }
.section-head p { color: var(--text-70); margin-top: 16px; font-size: 18px; }

/* ---------- Services ---------- */
.services-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.service {
  background: var(--surface); border: 1px solid var(--hairline);
  border-radius: var(--radius); padding: 34px 32px;
  transition: transform .4s var(--ease), border-color .3s, box-shadow .4s var(--ease);
  position: relative; overflow: hidden;
}
.service:hover { transform: translateY(-4px); border-color: var(--accent); box-shadow: 0 24px 50px -28px rgba(0,0,0,.6); }
.service .idx { font-family: var(--font-display); font-size: 13px; color: var(--accent); font-weight: 600; }
.service h3 { font-size: 23px; margin: 18px 0 12px; color: var(--text); }
.service p { color: var(--text-70); font-size: 16px; }
.service .tag { margin-top: 22px; display: inline-block; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--text-40); }
.service::after {
  content: ""; position: absolute; left: 32px; right: 32px; bottom: 0; height: 3px;
  background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .4s var(--ease);
}
.service:hover::after { transform: scaleX(1); }

/* ---------- Process ---------- */
.process { background: var(--surface); border: 1px solid var(--hairline); border-radius: clamp(20px, 3vw, 36px); }
.process .eyebrow { color: var(--text-40); }
.process .section-head p { color: var(--text-70); }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 1px solid var(--hairline); }
.step { padding: 34px 26px 30px; border-right: 1px solid var(--hairline); position: relative; transition: background .3s; }
.step:last-child { border-right: none; }
.step:hover { background: var(--surface-2); }
.step .snum { font-family: var(--font-display); font-size: 14px; color: var(--accent); font-weight: 600; }
.step h3 { font-size: 21px; margin: 16px 0 10px; color: var(--text); }
.step p { font-size: 15px; color: var(--text-70); }

/* ---------- Results / big stat band ---------- */
.band { text-align: center; position: relative; overflow: hidden; isolation: isolate; }
.band-glow {
  position: absolute; left: 50%; top: 42%; transform: translate(-50%, -50%);
  width: min(820px, 115%); aspect-ratio: 1 / 1; z-index: -1; pointer-events: none;
  background: radial-gradient(circle at center,
              color-mix(in srgb, var(--accent) 60%, transparent) 0%,
              color-mix(in srgb, var(--accent) 22%, transparent) 32%,
              transparent 62%);
  opacity: .75; filter: blur(6px);
  animation: glowPulse 9s ease-in-out infinite alternate;
}
@keyframes glowPulse {
  from { opacity: .5;  transform: translate(-50%, -50%) scale(.92); }
  to   { opacity: .8;  transform: translate(-50%, -50%) scale(1.08); }
}
.band .big {
  font-family: var(--font-display); font-weight: 700; letter-spacing: -0.03em;
  font-size: clamp(40px, 9vw, 120px); line-height: 1; max-width: 18ch; margin: 0 auto;
}
.band .big em { font-style: normal; color: var(--accent); }
.band p { color: var(--text-70); max-width: 46ch; margin: 28px auto 0; font-size: 18px; }

/* ---------- About / split ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 6vw, 90px); align-items: center; }
.split h2 { font-size: clamp(30px, 4.5vw, 46px); }
.split p { color: var(--text-70); margin-top: 20px; }
.about-list { margin-top: 30px; display: grid; gap: 14px; }
.about-list li { list-style: none; display: flex; gap: 12px; align-items: flex-start; font-size: 16px; }
.about-list .check { color: var(--bg); background: var(--accent); border-radius: 50%; width: 22px; height: 22px; flex: 0 0 22px; display: grid; place-items: center; font-size: 12px; margin-top: 3px; font-weight: 700; }
/* the testimonial is the bold accent moment — auto-rotating carousel */
.testi { position: relative; overflow: hidden; border-radius: var(--radius); }
.testi-track { display: flex; transition: transform .8s var(--ease-out-expo); touch-action: pan-y; user-select: none; cursor: grab; }
.testi-track:active { cursor: grabbing; }
.testi-track > .about-card { flex: 0 0 100%; border-radius: 0; }
.testi-track > .about-card * { user-select: none; -webkit-user-drag: none; }
.testi-dots { position: absolute; bottom: 22px; right: 28px; display: flex; gap: 7px; }
.testi-dot { width: 7px; height: 7px; border-radius: 50%; background: rgba(0,0,0,.28); padding: 0; transition: all .35s var(--ease-out-quart); }
.testi-dot.is-active { background: #000; width: 20px; border-radius: 4px; }
.about-card {
  background: var(--accent); color: #000; border-radius: var(--radius);
  padding: 40px; aspect-ratio: 1 / 1; display: flex; flex-direction: column; justify-content: space-between;
}
.about-card .quote { font-family: var(--font-display); font-size: clamp(22px, 2.6vw, 30px); line-height: 1.25; font-weight: 500; color: #000; }
.about-card .by { font-size: 14px; color: rgba(0,0,0,.72); }
.about-card .by strong { color: #000; font-weight: 600; display: block; }

/* ---------- FAQ accordion ---------- */
.faq-list { max-width: 820px; }
.faq-item { border-bottom: 1px solid var(--hairline); }
.faq-item:first-child { border-top: 1px solid var(--hairline); }
.faq-q {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 26px 4px; text-align: left; color: var(--text);
  font-family: var(--font-display); font-weight: 700; font-size: clamp(18px, 2.2vw, 22px);
  letter-spacing: -0.01em; transition: color .25s var(--ease-out-quart);
}
.faq-q:hover { color: var(--accent); }
.faq-ico { position: relative; flex: 0 0 18px; width: 18px; height: 18px; }
.faq-ico::before, .faq-ico::after {
  content: ""; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  background: var(--accent); transition: transform .35s var(--ease-out-expo), opacity .25s;
}
.faq-ico::before { width: 16px; height: 2px; }
.faq-ico::after  { width: 2px; height: 16px; }
.faq-item.open .faq-ico::after { transform: translate(-50%, -50%) scaleY(0); opacity: 0; }
.faq-a {
  display: grid; grid-template-rows: 0fr; transition: grid-template-rows .4s var(--ease-out-expo);
}
.faq-item.open .faq-a { grid-template-rows: 1fr; }
.faq-a > div { overflow: hidden; }
.faq-a p { color: var(--text-70); font-size: 17px; max-width: 70ch; padding: 0 4px 28px; }

/* ---------- Booking ---------- */
.booking { background: var(--surface); border: 1px solid var(--hairline); border-radius: clamp(20px, 3vw, 36px); padding: clamp(36px, 5vw, 70px); }
.booking-top { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: end; margin-bottom: 44px; }
.booking h2 { font-size: clamp(32px, 5vw, 52px); }
.booking-top p { color: var(--text-70); margin-top: 18px; font-size: 18px; }
.booking-perks { display: grid; gap: 12px; }
.booking-perks li { list-style: none; display: flex; gap: 10px; align-items: center; font-size: 15px; color: var(--text-70); }
.booking-perks .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); flex: 0 0 7px; }
.calendly-wrap {
  min-height: 700px; border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--hairline); background: #fff;
  display: grid;
}
.calendly-inline-widget { min-height: 700px; background: #fff; }
/* any uncovered iframe area stays white to match the light widget */
.calendly-wrap iframe { background: #fff !important; }
/* Fallback shown before a Calendly URL is configured */
.booking-fallback { display: grid; place-items: center; min-height: 420px; text-align: center; padding: 40px; }
.booking-fallback .ico { width: 56px; height: 56px; border-radius: 16px; background: var(--accent); display: grid; place-items: center; margin: 0 auto 22px; }
.booking-fallback h3 { font-size: 22px; margin-bottom: 10px; color: var(--text); }
.booking-fallback p { color: var(--text-70); max-width: 40ch; margin: 0 auto 24px; font-size: 16px; }
.booking-fallback code { background: var(--bg); border: 1px solid var(--hairline); padding: 3px 8px; border-radius: 6px; font-size: 13px; color: var(--text); }

/* ---------- Footer ---------- */
.footer { padding: clamp(60px, 8vw, 100px) 0 40px; position: relative; overflow: hidden; isolation: isolate; }
.footer::before {
  content: ""; position: absolute; left: 50%; bottom: -28%; transform: translateX(-50%);
  width: min(1200px, 130%); aspect-ratio: 16 / 7; z-index: -1; pointer-events: none;
  background: url('assets/glow-band.png') center bottom / cover no-repeat;
  opacity: .6; mix-blend-mode: screen;
}
.footer-top { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; padding-bottom: 50px; border-bottom: 1px solid var(--hairline); }
.footer-cta h2 { font-size: clamp(30px, 5vw, 56px); max-width: 16ch; }
.footer-logo { color: var(--text); display: inline-flex; align-items: center; gap: 12px; }
.footer-mark { height: 34px; width: auto; display: block; }
.footer-word { font-family: var(--font-display); font-weight: 700; font-size: 26px; letter-spacing: -0.5px; color: var(--text); }
.footer-meta { display: flex; flex-direction: column; gap: 8px; font-size: 15px; color: var(--text-70); }
.footer-meta a:hover { color: var(--accent); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-top: 30px; flex-wrap: wrap; font-size: 14px; color: var(--text-40); }
.footer-social { display: flex; gap: 18px; }
.footer-social a:hover { color: var(--accent); }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease-out-expo), transform .8s var(--ease-out-expo); }
.reveal.in { opacity: 1; transform: none; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 880px) {
  .nav-links { display: none; }
  .nav-burger { display: flex; }
  /* free up space so logo + lang toggle + burger fit without overlap */
  .nav-right .btn-lime { display: none; }
  .nav-right { gap: 12px; }
  .nav-word { font-size: 21px; }
  /* keep hero text readable over the coral glow on narrow screens */
  .hero-bg { opacity: .72; background-position: center top; }
  .hero-bg::after {
    background: linear-gradient(180deg, transparent 18%, var(--bg) 78%),
                linear-gradient(0deg, rgba(20,17,15,.22), rgba(20,17,15,.22));
  }
  .nav-links.open {
    display: flex; flex-direction: column; position: absolute; top: 72px; left: 0; right: 0;
    background: var(--bg); padding: 24px var(--gutter); gap: 20px; border-bottom: 1px solid var(--hairline);
  }
  .services-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .step:nth-child(2) { border-right: none; }
  .split { grid-template-columns: 1fr; }
  .about-card { aspect-ratio: auto; }
  .booking-top { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr; gap: 8px; }
  .stat { display: flex; align-items: baseline; gap: 14px; border-bottom: 1px solid var(--hairline); padding-bottom: 14px; }
  .stat .lbl { margin-top: 0; }
}
@media (max-width: 520px) {
  .steps { grid-template-columns: 1fr; }
  .step { border-right: none; border-bottom: 1px solid var(--hairline); }
  .hero-cta .btn { flex: 1; justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
  .hero h1 .mark-dot { clip-path: none; opacity: 1; }
  .marquee-track { animation: none; transform: none; }
  .scroll-progress { display: none; }
}
