:root {
  --bg: #0b1020;
  --bg-soft: #121a31;
  --card: #18233f;
  --text: #e7edff;
  --muted: #9fb0dd;
  --accent: #6ea8fe;
}

* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: "Inter", sans-serif;
  color: var(--text);
  background: radial-gradient(circle at top right, #1a2851, var(--bg) 45%);
  line-height: 1.6;
}
.container { width: min(1120px, 92%); margin: 0 auto; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(11, 16, 32, 0.88);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.nav-wrap { display: flex; align-items: center; justify-content: space-between; padding: 0.9rem 0; }
.brand { color: var(--text); text-decoration: none; font-weight: 800; letter-spacing: 0.5px; }
.brand span { color: var(--accent); margin-left: 0.2rem; }
nav { display: flex; gap: 1.2rem; }
nav a { color: var(--muted); text-decoration: none; font-weight: 600; }
nav a:hover { color: var(--text); }
.menu-toggle { display: none; background: none; border: 0; color: #fff; font-size: 1.4rem; }

.hero { padding: 6rem 0 4rem; }
.eyebrow { text-transform: uppercase; color: var(--accent); letter-spacing: 1.4px; font-size: 0.8rem; font-weight: 700; }
h1 { font-size: clamp(2rem, 4vw, 3.4rem); line-height: 1.15; margin: 0.4rem 0 1rem; }
.lead { max-width: 760px; color: var(--muted); }
.hero-kpis { display: grid; grid-template-columns: repeat(3, minmax(120px, 1fr)); gap: .8rem; max-width: 640px; margin-top: 1.2rem; }
.hero-kpis div { background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); border-radius: 12px; padding: .7rem .8rem; }
.hero-kpis strong { display: block; font-size: 1.2rem; color: #d8e5ff; }
.hero-kpis span { color: #90a4d9; font-size: .8rem; }
.btn {
  display: inline-block;
  margin-top: 1.5rem;
  padding: 0.8rem 1.1rem;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 700;
  background: var(--accent);
  color: #0c1a3b;
}

.projects {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  padding: 1rem 0 4rem;
}
.project-card {
  background: linear-gradient(180deg, rgba(255,255,255,0.07), rgba(255,255,255,0.03));
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 16px;
  padding: 1.2rem;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow .25s ease;
}
.project-card:hover { transform: translateY(-6px); border-color: rgba(110, 168, 254, 0.6); box-shadow: 0 18px 34px rgba(7, 18, 45, .45); }
.project-tag { display: inline-block; margin: 0 0 .55rem; padding: .24rem .56rem; border-radius: 999px; font-size: .7rem; letter-spacing: .4px; text-transform: uppercase; color: #b8cdff; background: rgba(110,168,254,.12); border: 1px solid rgba(110,168,254,.28); }
.project-card h2 { margin: 0 0 0.5rem; font-size: 1.25rem; }
.project-card p { color: var(--muted); margin: 0 0 1rem; }
.project-card a { color: #b6ccff; font-weight: 700; text-decoration: none; }

.live-sites { padding: 1rem 0 3rem; }
.live-sites h2 { margin: 0 0 .35rem; }
.live-sites-lead { color: var(--muted); margin: 0 0 1rem; }
.live-sites-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}
.live-site-card {
  background: linear-gradient(180deg, rgba(255,255,255,0.07), rgba(255,255,255,0.03));
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 16px;
  padding: 1.2rem;
}
.live-site-card h3 { margin: 0 0 .5rem; }
.live-site-card p { color: var(--muted); margin: 0 0 1rem; }
.live-site-card a { color: #b6ccff; font-weight: 700; text-decoration: none; }

.hero { position: relative; overflow: hidden; --hx: 50%; --hy: 40%; }
.hero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at var(--hx) var(--hy), rgba(110,168,254,.18), transparent 42%); pointer-events: none; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(120deg, transparent 0 34%, rgba(255,255,255,.06) 34% 38%, transparent 38%); transform: translateX(-120%); animation: hubSweep 10s ease-in-out infinite; pointer-events: none; }
.hero .container { position: relative; z-index: 1; }

.reveal { opacity: 0; transform: translateY(20px) scale(.99); filter: blur(3px); transition: opacity .7s ease, transform .7s ease, filter .7s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0) scale(1); filter: blur(0); }
.delay-1 { transition-delay: .08s; }
.delay-2 { transition-delay: .16s; }
.delay-3 { transition-delay: .24s; }

@keyframes hubSweep { 0% { transform: translateX(-120%); } 58%, 100% { transform: translateX(130%); } }

.services { padding: 3rem 0; background: rgba(255,255,255,0.03); }
.services h2 { margin-top: 0; }
.service-grid { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.service-grid > div { background: var(--bg-soft); border: 1px solid rgba(255,255,255,.08); border-radius: 14px; padding: 1rem; }

.site-footer { border-top: 1px solid rgba(255,255,255,0.1); padding: 2rem 0 1rem; }
.footer-wrap { display: flex; gap: 1rem; justify-content: space-between; align-items: center; flex-wrap: wrap; }
.btn-light { background: #e6efff; color: #09142f; }
.copyright { text-align: center; color: #88a2de; font-size: .9rem; margin: 1.3rem 0 0; }

@media (max-width: 760px) {
  .menu-toggle { display: block; }
  nav {
    display: none;
    position: absolute;
    top: 62px;
    right: 4%;
    background: #0f1731;
    border: 1px solid rgba(255,255,255,.1);
    border-radius: 10px;
    padding: 0.8rem;
    flex-direction: column;
  }
  nav.open { display: flex; }
  .hero-kpis { grid-template-columns: 1fr; max-width: 320px; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; filter: none; }
  .hero::before, .hero::after { display: none; }
}