/* ============================================================
   Urbano Technologies — style.css
   Brand: navy "URBANO", blue→purple dotted spiral,
   tagline "Technology that moves with you."
   ============================================================ */

:root {
  --navy: #050d1f;
  --navy-2: #0a1830;
  --ink: #0b1e3a;
  --blue: #2f7df6;
  --blue-light: #57a0ff;
  --purple: #8b3df0;
  --text: #e8eefb;
  --muted: #93a4c4;
  --card: rgba(255, 255, 255, 0.04);
  --border: rgba(255, 255, 255, 0.09);
  --grad: linear-gradient(120deg, var(--blue) 0%, var(--purple) 100%);
  --radius: 20px;
  --font-head: "Sora", sans-serif;
  --font-body: "Inter", sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

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

::selection { background: var(--blue); color: #fff; }

a { color: inherit; text-decoration: none; }

h1, h2, h3 { font-family: var(--font-head); line-height: 1.12; }

/* ---------- Reveal animation ---------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal.in { opacity: 1; transform: none; }

/* ---------- Brand mark (dotted spiral, SVG dots injected by JS) ---------- */
.brand-mark { width: 34px; height: 34px; flex: none; }

/* ---------- Navigation ---------- */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  transition: background 0.35s ease, backdrop-filter 0.35s ease, box-shadow 0.35s ease;
}
.nav.scrolled {
  background: rgba(5, 13, 31, 0.78);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 var(--border);
}
.nav__inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 18px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.nav__brand { display: flex; align-items: center; gap: 12px; }
.nav__wordmark {
  font-family: var(--font-head);
  font-weight: 700;
  letter-spacing: 0.12em;
  font-size: 15px;
  line-height: 1.1;
  display: flex;
  flex-direction: column;
}
.nav__wordmark em {
  font-style: normal;
  font-weight: 400;
  font-size: 8.5px;
  letter-spacing: 0.42em;
  color: var(--blue-light);
}
.nav__links { display: flex; align-items: center; gap: 30px; }
.nav__links a {
  font-size: 14px;
  color: var(--muted);
  transition: color 0.25s;
}
.nav__links a:hover { color: var(--text); }
.nav__cta {
  padding: 9px 20px;
  border-radius: 999px;
  background: var(--grad);
  color: #fff !important;
  font-weight: 600;
  transition: transform 0.25s, box-shadow 0.25s;
}
.nav__cta:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(47, 125, 246, 0.35); }

.nav__burger {
  display: none;
  background: none;
  border: 0;
  width: 40px; height: 40px;
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 7px;
}
.nav__burger span {
  display: block;
  width: 22px; height: 2px;
  background: var(--text);
  transition: transform 0.3s, opacity 0.3s;
}
.nav__burger.open span:nth-child(1) { transform: translateY(4.5px) rotate(45deg); }
.nav__burger.open span:nth-child(2) { transform: translateY(-4.5px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
}
.hero__bg { position: absolute; inset: 0; pointer-events: none; }
.hero__glow {
  position: absolute;
  width: 55vw; height: 55vw;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.32;
}
.hero__glow--blue { background: #1447b8; top: -18%; right: -12%; }
.hero__glow--purple { background: #5b1fa8; bottom: -25%; left: -15%; }
.hero__grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, #000 30%, transparent 75%);
}
.hero__inner {
  position: relative;
  max-width: 1180px;
  margin: 0 auto;
  padding: 140px 28px 80px;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 40px;
  width: 100%;
}
.eyebrow {
  font-size: 12.5px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--blue-light);
  margin-bottom: 18px;
  font-weight: 600;
}
.hero__title {
  font-size: clamp(42px, 6.4vw, 78px);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 26px;
}
.grad-text {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero__sub {
  max-width: 520px;
  color: var(--muted);
  font-size: 17px;
  margin-bottom: 38px;
}
.hero__actions { display: flex; gap: 16px; flex-wrap: wrap; }

.btn {
  display: inline-block;
  padding: 14px 30px;
  border-radius: 999px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 15px;
  transition: transform 0.25s, box-shadow 0.25s, background 0.25s;
}
.btn--primary {
  background: var(--grad);
  color: #fff;
  box-shadow: 0 10px 30px rgba(47, 125, 246, 0.3);
}
.btn--primary:hover { transform: translateY(-3px); box-shadow: 0 16px 40px rgba(139, 61, 240, 0.4); }
.btn--ghost {
  border: 1px solid var(--border);
  color: var(--text);
  background: rgba(255, 255, 255, 0.03);
}
.btn--ghost:hover { background: rgba(255, 255, 255, 0.08); transform: translateY(-3px); }

.hero__visual { display: flex; justify-content: center; }
#hero-spiral { width: min(420px, 90%); height: auto; }

.hero__scroll {
  position: absolute;
  bottom: 28px; left: 50%;
  transform: translateX(-50%);
  width: 26px; height: 44px;
  border: 2px solid var(--border);
  border-radius: 999px;
  display: flex;
  justify-content: center;
  padding-top: 8px;
}
.hero__scroll span {
  width: 4px; height: 9px;
  border-radius: 999px;
  background: var(--blue-light);
  animation: scrollHint 1.8s ease-in-out infinite;
}
@keyframes scrollHint {
  0%, 100% { transform: translateY(0); opacity: 1; }
  60% { transform: translateY(12px); opacity: 0.2; }
}

/* ---------- Marquee ---------- */
.marquee {
  border-block: 1px solid var(--border);
  padding: 18px 0;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.015);
}
.marquee__track {
  display: flex;
  gap: 44px;
  width: max-content;
  animation: marquee 26s linear infinite;
  font-family: var(--font-head);
  font-size: 14px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
}
.marquee__track i { color: var(--blue); font-style: normal; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */
.section {
  max-width: 1180px;
  margin: 0 auto;
  padding: 120px 28px;
}
.section__head { margin-bottom: 60px; max-width: 720px; }
.section__head h2 {
  font-size: clamp(30px, 4vw, 46px);
  font-weight: 700;
  letter-spacing: -0.015em;
}

/* ---------- About ---------- */
.about__grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: center;
}
.about__text p { color: var(--muted); margin-bottom: 20px; font-size: 16.5px; }
.about__facts { list-style: none; margin-top: 30px; }
.about__facts li {
  padding: 13px 0;
  border-bottom: 1px solid var(--border);
  font-size: 15px;
  color: var(--muted);
  display: flex;
  gap: 16px;
}
.about__facts strong {
  color: var(--text);
  font-family: var(--font-head);
  min-width: 130px;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding-top: 2px;
}
.stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.stat {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px 26px;
  transition: transform 0.3s, border-color 0.3s;
}
.stat:hover { transform: translateY(-5px); border-color: rgba(87, 160, 255, 0.4); }
.stat__num {
  display: block;
  font-family: var(--font-head);
  font-size: clamp(32px, 3.4vw, 44px);
  font-weight: 800;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  line-height: 1.1;
}
.stat__label { font-size: 13.5px; color: var(--muted); }

/* ---------- Ventures ---------- */
.ventures { padding-top: 60px; }
.ventures__grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 26px;
}
.venture-card {
  position: relative;
  border: 1px solid var(--border);
  border-radius: calc(var(--radius) + 6px);
  padding: 44px 40px;
  background: var(--card);
  overflow: hidden;
  transition: transform 0.35s, border-color 0.35s;
}
.venture-card:hover { transform: translateY(-6px); border-color: rgba(87, 160, 255, 0.45); }
.venture-card--featured::before {
  content: "";
  position: absolute;
  inset: -40% -20% auto auto;
  width: 60%; height: 120%;
  background: radial-gradient(closest-side, rgba(47, 125, 246, 0.22), transparent);
  pointer-events: none;
}
.venture-card__top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 28px;
}
.venture-card__logo {
  width: 56px; height: 56px;
  border-radius: 16px;
  background: var(--grad);
  display: grid;
  place-items: center;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 26px;
  color: #fff;
  box-shadow: 0 10px 26px rgba(47, 125, 246, 0.35);
}
.venture-card__logo--alt { background: rgba(255,255,255,0.08); box-shadow: none; }
.venture-card__badge {
  font-size: 11.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--blue-light);
  border: 1px solid rgba(87, 160, 255, 0.4);
  padding: 6px 14px;
  border-radius: 999px;
}
.venture-card__badge--soon { color: var(--muted); border-color: var(--border); }
.venture-card h3 { font-size: 28px; margin-bottom: 14px; }
.venture-card p { color: var(--muted); font-size: 15.5px; margin-bottom: 22px; }
.venture-card__tags { list-style: none; display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 26px; }
.venture-card__tags li {
  font-size: 12.5px;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
  color: var(--muted);
}
.venture-card__link {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 14.5px;
  color: var(--blue-light);
  transition: color 0.25s;
}
.venture-card__link:hover { color: #fff; }

/* ---------- Services ---------- */
.services__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.service {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 34px 28px;
  transition: transform 0.3s, border-color 0.3s, background 0.3s;
}
.service:hover {
  transform: translateY(-6px);
  border-color: rgba(139, 61, 240, 0.45);
  background: rgba(255, 255, 255, 0.06);
}
.service__icon {
  font-size: 26px;
  margin-bottom: 20px;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.service h3 { font-size: 18px; margin-bottom: 10px; }
.service p { font-size: 14px; color: var(--muted); }

/* ---------- CTA band ---------- */
.cta {
  max-width: 1180px;
  margin: 0 auto;
  padding: 90px 28px;
  text-align: center;
  border-radius: calc(var(--radius) + 10px);
  background:
    radial-gradient(ellipse 70% 120% at 20% 0%, rgba(47, 125, 246, 0.25), transparent 60%),
    radial-gradient(ellipse 70% 120% at 80% 100%, rgba(139, 61, 240, 0.25), transparent 60%),
    var(--navy-2);
  border: 1px solid var(--border);
}
.cta h2 { font-size: clamp(28px, 3.6vw, 42px); margin-bottom: 14px; }
.cta p { color: var(--muted); margin-bottom: 34px; }

/* ---------- Contact ---------- */
.contact__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.contact__card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 34px 30px;
  transition: transform 0.3s, border-color 0.3s;
}
.contact__card:hover { transform: translateY(-5px); border-color: rgba(87, 160, 255, 0.4); }
.contact__card h3 {
  font-size: 13px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--blue-light);
  margin-bottom: 18px;
}
.contact__card p { color: var(--muted); font-size: 15px; }
.contact__card a { color: var(--text); transition: color 0.25s; }
.contact__card a:hover { color: var(--blue-light); }
.contact__digital { font-size: 13px; color: var(--muted); opacity: 0.8; }

/* ---------- Footer ---------- */
.footer {
  border-top: 1px solid var(--border);
  margin-top: 40px;
  background: rgba(255, 255, 255, 0.015);
}
.footer__inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 48px 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  align-items: center;
  justify-content: space-between;
}
.footer__brand { display: flex; align-items: center; gap: 14px; }
.footer__brand strong {
  display: block;
  font-family: var(--font-head);
  font-size: 14px;
  letter-spacing: 0.14em;
}
.footer__brand span { font-size: 12.5px; color: var(--muted); }
.footer__links { display: flex; gap: 24px; }
.footer__links a { font-size: 13.5px; color: var(--muted); transition: color 0.25s; }
.footer__links a:hover { color: var(--text); }
.footer__legal { width: 100%; font-size: 12.5px; color: var(--muted); opacity: 0.7; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .hero__inner { grid-template-columns: 1fr; padding-top: 120px; text-align: center; }
  .hero__sub { margin-inline: auto; }
  .hero__actions { justify-content: center; }
  .hero__visual { order: -1; }
  #hero-spiral { width: min(260px, 60vw); }
  .about__grid, .ventures__grid { grid-template-columns: 1fr; }
  .services__grid { grid-template-columns: 1fr 1fr; }
  .contact__grid { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  .nav__links {
    position: fixed;
    inset: 0;
    background: rgba(5, 13, 31, 0.96);
    backdrop-filter: blur(18px);
    flex-direction: column;
    justify-content: center;
    gap: 34px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;
  }
  .nav__links.open { opacity: 1; pointer-events: auto; }
  .nav__links a { font-size: 20px; font-family: var(--font-head); }
  .nav__burger { display: flex; z-index: 101; position: relative; }
  .section { padding: 84px 22px; }
  .services__grid { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}
