/* EVOXED — GBP optimization + website design. Night-navy brand, royal-blue signal. */
:root {
  --night: #081120;
  --panel: #111827;
  --panel2: #0b1526;
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.14);
  --signal: #2563eb;
  --signal-deep: #1d4ed8;
  --signal-lite: #3b82f6;
  --white: #ffffff;
  --slate: #cbd5e1;
  --slate-dim: #8595ad;
  --maxw: 1200px;
  --radius: 16px;
  --font: "Geist", ui-sans-serif, system-ui, -apple-system, sans-serif;
  --mono: "Geist Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font);
  background: var(--night);
  color: var(--white);
  line-height: 1.55;
  overflow-x: hidden;
  background-image:
    radial-gradient(1200px 560px at 82% -8%, rgba(37, 99, 235, 0.16), transparent 62%),
    radial-gradient(1000px 640px at -10% 8%, rgba(29, 78, 216, 0.1), transparent 66%);
  background-repeat: no-repeat;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
.mono { font-family: var(--mono); }
.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 22px; }
.eyebrow {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--signal-lite);
}
h1, h2, h3 { line-height: 1.05; letter-spacing: -0.03em; font-weight: 800; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  padding: 13px 22px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.25s ease, background 0.2s, border-color 0.2s, color 0.2s;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px) scale(0.99); }
.btn-primary {
  background: linear-gradient(100deg, var(--signal-deep), var(--signal) 55%, var(--signal-lite));
  color: #fff;
  box-shadow: 0 12px 38px -10px rgba(37, 99, 235, 0.6);
}
.btn-primary:hover { box-shadow: 0 16px 50px -10px rgba(37, 99, 235, 0.8); }
.btn-ghost {
  border-color: var(--line-strong);
  color: var(--white);
  background: rgba(255, 255, 255, 0.02);
}
.btn-ghost:hover { border-color: var(--signal-lite); background: rgba(37, 99, 235, 0.12); }
.btn-sm { padding: 9px 16px; font-size: 14px; }

/* ---------- nav ---------- */
header.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 60;
  transition: background 0.3s, border-color 0.3s, backdrop-filter 0.3s;
  border-bottom: 1px solid transparent;
}
header.nav.scrolled {
  background: rgba(8, 17, 32, 0.82);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 74px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; letter-spacing: -0.02em; font-size: 19px; }
.brand img { width: 30px; height: 30px; border-radius: 9px; }
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a.link { font-size: 14.5px; color: var(--slate); transition: color 0.2s; position: relative; }
.nav-links a.link:hover { color: #fff; }
.nav-right { display: flex; align-items: center; gap: 14px; }
.portal {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 13.5px;
  color: var(--slate);
  transition: color 0.2s;
}
.portal:hover { color: #fff; }
.portal svg { width: 15px; height: 15px; color: var(--signal-lite); }
.nav-sep { width: 1px; height: 22px; background: var(--line-strong); }
.hamburger { display: none; width: 42px; height: 42px; border: 1px solid var(--line); border-radius: 11px; background: transparent; color: #fff; align-items: center; justify-content: center; cursor: pointer; }
.hamburger span { display: block; width: 19px; height: 2px; background: currentColor; position: relative; }
.hamburger span::before, .hamburger span::after { content: ""; position: absolute; left: 0; width: 19px; height: 2px; background: currentColor; }
.hamburger span::before { top: -6px; }
.hamburger span::after { top: 6px; }
.mobile-menu { display: none; }

/* ---------- hero ---------- */
.hero { position: relative; padding: 148px 0 40px; }
.hero-grid { display: grid; gap: 26px; }
.badge-row { display: inline-flex; align-items: center; gap: 10px; padding: 7px 14px; border: 1px solid var(--line); border-radius: 999px; background: rgba(255,255,255,0.03); font-size: 13px; color: var(--slate); width: max-content; }
.badge-row .dot { width: 7px; height: 7px; border-radius: 50%; background: #22c55e; box-shadow: 0 0 0 4px rgba(34,197,94,0.18); }
.hero h1 { font-size: clamp(42px, 7vw, 76px); max-width: 15ch; }
.hero h1 .grad { background: linear-gradient(100deg, var(--signal-lite), #7aa8ff); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero p.sub { font-size: clamp(16px, 2vw, 20px); color: var(--slate); max-width: 54ch; margin-top: 6px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; margin-top: 10px; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 22px 30px; margin-top: 26px; color: var(--slate-dim); font-size: 13.5px; }
.hero-trust b { color: #fff; font-weight: 700; }
.hero-trust .ht { display: flex; align-items: center; gap: 9px; }
.hero-trust .ht svg { width: 17px; height: 17px; color: var(--signal-lite); }

/* ---------- section frame ---------- */
section.block { padding: 76px 0; }
.sec-head { max-width: 62ch; }
.sec-head h2 { font-size: clamp(30px, 4.4vw, 46px); margin-top: 14px; }
.sec-head p { color: var(--slate); font-size: 17px; margin-top: 14px; }

/* ---------- portfolio marquee ---------- */
.work { padding: 30px 0 70px; }
.work-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; flex-wrap: wrap; margin-bottom: 30px; }
.marquee-mask { position: relative; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent); mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent); }
.marquee { display: flex; width: max-content; gap: 22px; animation: scroll-x 46s linear infinite; }
.marquee-mask:hover .marquee { animation-play-state: paused; }
@keyframes scroll-x { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.shot {
  width: 420px;
  flex: 0 0 auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--panel);
  box-shadow: 0 26px 70px -30px rgba(2, 8, 23, 0.9);
  transition: transform 0.3s ease, border-color 0.3s;
}
.shot:hover { transform: translateY(-6px); border-color: var(--signal); }
.shot .chrome { display: flex; align-items: center; gap: 7px; padding: 10px 13px; border-bottom: 1px solid var(--line); background: var(--panel2); }
.shot .chrome i { width: 9px; height: 9px; border-radius: 50%; background: #33405a; display: inline-block; }
.shot .chrome .url { margin-left: 8px; font-family: var(--mono); font-size: 11px; color: var(--slate-dim); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.shot .thumb { aspect-ratio: 16 / 10; overflow: hidden; background: var(--panel2); }
.shot .thumb img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.shot .meta { padding: 14px 16px; display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.shot .meta .name { font-weight: 700; font-size: 15px; }
.shot .meta .cat { font-family: var(--mono); font-size: 11px; color: var(--signal-lite); text-transform: uppercase; letter-spacing: 0.08em; }

/* ---------- services ---------- */
.svc-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin-top: 34px; }
.svc { position: relative; border: 1px solid var(--line); border-radius: var(--radius); background: var(--panel2); padding: 30px; overflow: hidden; transition: border-color 0.3s, transform 0.3s, background 0.3s; }
.svc:hover { border-color: var(--signal); transform: translateY(-4px); background: var(--panel); }
.svc.lead { grid-column: span 1; }
.svc .ico { width: 48px; height: 48px; border-radius: 13px; display: flex; align-items: center; justify-content: center; background: rgba(37,99,235,0.14); border: 1px solid rgba(59,130,246,0.3); margin-bottom: 18px; }
.svc .ico svg { width: 24px; height: 24px; color: var(--signal-lite); }
.svc h3 { font-size: 22px; }
.svc p { color: var(--slate); margin-top: 10px; font-size: 15px; }
.svc ul { list-style: none; margin-top: 16px; display: grid; gap: 9px; }
.svc ul li { display: flex; gap: 10px; align-items: flex-start; font-size: 14.5px; color: var(--slate); }
.svc ul li svg { width: 17px; height: 17px; flex: none; margin-top: 2px; color: var(--signal-lite); }
.svc-mini { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 20px; }
.svc-mini .m { border: 1px solid var(--line); border-radius: var(--radius); background: var(--panel2); padding: 24px; transition: border-color .3s; }
.svc-mini .m:hover { border-color: var(--signal); }
.svc-mini .m .tag { font-family: var(--mono); font-size: 11px; text-transform: uppercase; letter-spacing: 0.1em; color: var(--slate-dim); }
.svc-mini .m h4 { font-size: 18px; font-weight: 700; letter-spacing: -0.02em; margin-top: 8px; }
.svc-mini .m p { color: var(--slate); font-size: 14px; margin-top: 8px; }

/* ---------- process ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 34px; }
.step { position: relative; border: 1px solid var(--line); border-radius: var(--radius); background: var(--panel2); padding: 28px; }
.step .num { font-family: var(--mono); font-size: 13px; color: var(--signal-lite); }
.step h3 { font-size: 20px; margin-top: 12px; }
.step p { color: var(--slate); font-size: 14.5px; margin-top: 10px; }

/* ---------- stats strip ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; margin-top: 46px; }
.stats .st { padding: 26px 24px; border-right: 1px solid var(--line); background: var(--panel2); }
.stats .st:last-child { border-right: none; }
.stats .st .big { font-size: 34px; font-weight: 800; letter-spacing: -0.03em; }
.stats .st .lbl { font-family: var(--mono); font-size: 12px; color: var(--slate-dim); margin-top: 6px; }

/* ---------- CTA + booking ---------- */
.cta-band { position: relative; overflow: hidden; border-radius: 26px; background: linear-gradient(135deg, var(--signal), var(--signal-deep)); padding: 48px; }
.cta-band::before { content: ""; position: absolute; top: -140px; left: 50%; transform: translateX(-50%); width: 720px; height: 300px; background: rgba(255,255,255,0.22); filter: blur(90px); border-radius: 50%; }
.cta-head { position: relative; text-align: center; max-width: 660px; margin: 0 auto 36px; }
.cta-head h2 { font-size: clamp(30px, 4vw, 46px); color: #fff; }
.cta-head p { color: rgba(255,255,255,0.9); margin-top: 16px; font-size: 17px; }
.cta-note { font-family: var(--mono); font-size: 12px; color: rgba(255,255,255,0.8); margin-top: 18px; }
/* The Cal.com iframe reports its own height; the shell just frames it.
   month_view needs real width or Cal drops to a ~1600px stacked layout. */
.cal-shell { position: relative; max-width: 1000px; margin: 0 auto; border-radius: 18px; border: 1px solid rgba(255,255,255,0.22); background: rgba(8,17,32,0.72); backdrop-filter: blur(8px); padding: 10px; min-height: 540px; }
/* No min-height here: cal-inline sets min-height:inherit, so any value we put
   on the host overrides Cal's content-driven auto-resize and clips the booker. */
#cal-embed { width: 100%; }
#cal-embed iframe { display: block; width: 100%; border: 0; }
/* Overlay, not a block: it must never push the calendar down. */
.cal-loading { position: absolute; inset: 10px; display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,0.75); font-family: var(--mono); font-size: 13px; pointer-events: none; transition: opacity 0.4s ease; }
.cal-shell.cal-ready .cal-loading { opacity: 0; visibility: hidden; }

/* ---------- footer ---------- */
footer { border-top: 1px solid var(--line); padding: 54px 0 34px; margin-top: 20px; }
.foot-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 34px; }
.foot-brand p { color: var(--slate); font-size: 14.5px; margin-top: 14px; max-width: 34ch; }
.foot-col h5 { font-size: 14px; font-weight: 700; }
.foot-col a { display: block; color: var(--slate); font-size: 14px; margin-top: 11px; transition: color 0.2s; }
.foot-col a:hover { color: #fff; }
.foot-bottom { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; border-top: 1px solid var(--line); margin-top: 40px; padding-top: 22px; color: var(--slate-dim); font-size: 13px; }
.foot-bottom .socials { display: flex; gap: 20px; }
.foot-bottom a:hover { color: #fff; }
.mail { font-family: var(--mono); font-size: 14px; color: var(--slate); margin-top: 16px; display: inline-block; }
.mail:hover { color: var(--signal-lite); }

/* ---------- reveal ---------- */
.reveal { opacity: 0; transform: translateY(22px); }
.reveal.in { opacity: 1; transform: none; transition: opacity 0.7s cubic-bezier(0.19,1,0.22,1), transform 0.7s cubic-bezier(0.19,1,0.22,1); }

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  .nav-links, .nav-right .portal, .nav-sep, .nav-right .btn { display: none; }
  .hamburger { display: inline-flex; }
  .svc-grid, .svc-mini, .steps, .stats { grid-template-columns: 1fr; }
  .stats .st { border-right: none; border-bottom: 1px solid var(--line); }
  .stats .st:last-child { border-bottom: none; }
  .cta-band { padding: 30px 18px; }
  .cta-head { margin-bottom: 26px; }
  .cal-shell { padding: 6px; }
  .cal-loading { inset: 6px; }
  .foot-grid { grid-template-columns: 1fr 1fr; gap: 26px; }
  .foot-brand { grid-column: span 2; }
  .shot { width: 300px; }
  .mobile-menu.open { display: block; border-top: 1px solid var(--line); background: rgba(8,17,32,0.97); backdrop-filter: blur(16px); }
  .mobile-menu a { display: block; padding: 14px 22px; color: var(--slate); border-bottom: 1px solid var(--line); font-size: 16px; }
  .mobile-menu .mm-cta { padding: 18px 22px; display: flex; gap: 12px; flex-wrap: wrap; }
}
@media (prefers-reduced-motion: reduce) {
  .marquee { animation: none; }
  .reveal { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}
