/* =====================================================================
   FOCAL SRL — COSMOS
   A cinematic, scroll-driven 3D space experience.
   Palette preserved from the original brand:
     indigo #2E3483 · blue #0F8BCC · cyan #0093D3 · glow #52D8FF · white
   ===================================================================== */

:root {
  --indigo: #2e3483;
  --blue: #0f8bcc;
  --cyan: #0093d3;
  --glow: #52d8ff;
  --white: #ffffff;

  --space-0: #04050e;
  --space-1: #070a1f;
  --space-2: #0b1030;

  --ink: #eaf2ff;
  --ink-dim: #9fb3d6;

  --grad-brand: linear-gradient(100deg, var(--indigo) 0%, var(--cyan) 55%, var(--glow) 100%);
  --grad-text: linear-gradient(180deg, #ffffff 0%, #bfe6ff 60%, var(--glow) 100%);

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --maxw: 1280px;
}

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

html { scroll-behavior: auto; }

body {
  font-family: "Montserrat", sans-serif;
  background: var(--space-0);
  color: var(--ink);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* keep page scrollable while Lenis manages momentum */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

/* --------------------------------------------------------------------
   The fixed WebGL cosmos sits behind everything
   -------------------------------------------------------------------- */
#space {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  z-index: 0;
  pointer-events: none;
  display: block;
}

/* vignette + grain to seat the canvas */
.atmosphere {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    radial-gradient(120% 90% at 50% 8%, transparent 40%, rgba(4, 5, 14, 0.55) 100%),
    radial-gradient(60% 50% at 50% 50%, rgba(82, 216, 255, 0.06), transparent 70%);
  mix-blend-mode: normal;
}

/* scroll progress comet bar */
.progress {
  position: fixed;
  top: 0; left: 0;
  height: 3px;
  width: 0%;
  z-index: 60;
  background: var(--grad-brand);
  box-shadow: 0 0 18px var(--glow);
}

/* everything readable rides above the canvas */
.stage { position: relative; z-index: 2; }

/* --------------------------------------------------------------------
   NAV
   -------------------------------------------------------------------- */
.nav {
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.4rem clamp(1.2rem, 4vw, 3.4rem);
  transition: backdrop-filter 0.4s, background 0.4s, padding 0.4s;
}
.nav.scrolled {
  background: rgba(7, 10, 31, 0.55);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  padding-top: 0.9rem;
  padding-bottom: 0.9rem;
  border-bottom: 1px solid rgba(82, 216, 255, 0.14);
}
.nav__logo img { width: 148px; filter: drop-shadow(0 0 14px rgba(82, 216, 255, 0.35)); }

.nav__menu {
  display: flex;
  align-items: center;
  gap: 2.2rem;
  list-style: none;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
}
.nav__menu > li { position: relative; }
.nav__menu a {
  position: relative;
  padding: 0.4rem 0;
  color: var(--ink);
  opacity: 0.85;
  transition: opacity 0.25s, color 0.25s;
}
.nav__menu a::after {
  content: "";
  position: absolute;
  left: 0; bottom: -2px;
  width: 0; height: 2px;
  background: var(--grad-brand);
  transition: width 0.3s var(--ease-out);
}
.nav__menu a:hover { opacity: 1; }
.nav__menu a:hover::after { width: 100%; }

.nav__dropdown {
  position: absolute;
  top: 130%;
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  min-width: 290px;
  list-style: none;
  padding: 0.6rem;
  border-radius: 16px;
  background: rgba(11, 16, 48, 0.92);
  backdrop-filter: blur(18px);
  border: 1px solid rgba(82, 216, 255, 0.18);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.55);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.28s, transform 0.28s var(--ease-out), visibility 0.28s;
}
.nav__has-sub:hover .nav__dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}
.nav__dropdown li a {
  display: block;
  padding: 0.7rem 0.9rem;
  border-radius: 10px;
  font-size: 0.9rem;
  opacity: 0.9;
}
.nav__dropdown li a::after { display: none; }
.nav__dropdown li a:hover { background: rgba(82, 216, 255, 0.12); }

.nav__burger {
  display: none;
  width: 30px;
  height: 22px;
  position: relative;
  cursor: pointer;
}
.nav__burger span {
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.35s var(--ease-out), opacity 0.25s;
}
.nav__burger span:nth-child(1) { top: 0; }
.nav__burger span:nth-child(2) { top: 10px; }
.nav__burger span:nth-child(3) { top: 20px; }
.nav__burger.open span:nth-child(1) { transform: translateY(10px) rotate(45deg); }
.nav__burger.open span:nth-child(2) { opacity: 0; }
.nav__burger.open span:nth-child(3) { transform: translateY(-10px) rotate(-45deg); }

/* mobile drawer */
.drawer {
  position: fixed;
  inset: 0 0 0 auto;
  width: min(82vw, 360px);
  z-index: 55;
  background: rgba(7, 10, 31, 0.96);
  backdrop-filter: blur(20px);
  border-left: 1px solid rgba(82, 216, 255, 0.2);
  transform: translateX(100%);
  transition: transform 0.5s var(--ease-out);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 2rem;
}
.drawer.open { transform: translateX(0); }
.drawer ul { list-style: none; display: flex; flex-direction: column; gap: 1.4rem; }
.drawer a { font-size: 1.4rem; font-weight: 700; }
.drawer .sub { font-size: 0.95rem; font-weight: 500; opacity: 0.75; padding-left: 1rem; }

/* --------------------------------------------------------------------
   Shared section scaffolding
   -------------------------------------------------------------------- */
section { position: relative; }
.wrap { width: min(var(--maxw), 92vw); margin-inline: auto; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--glow);
}
.eyebrow::before {
  content: "";
  width: 34px; height: 1px;
  background: linear-gradient(90deg, transparent, var(--glow));
}

.gradient-text {
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* word/char reveal helpers (filled by JS splitter) */
.reveal-word { display: inline-block; overflow: hidden; vertical-align: top; }
.reveal-word > span { display: inline-block; will-change: transform; }

/* --------------------------------------------------------------------
   HERO
   -------------------------------------------------------------------- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 6rem;
}
.hero__inner { width: min(var(--maxw), 92vw); margin-inline: auto; position: relative; }

.hero__bgword {
  position: absolute;
  top: 46%;
  left: -2vw;
  transform: translateY(-50%);
  font-weight: 900;
  font-size: clamp(9rem, 30vw, 30rem);
  line-height: 0.8;
  letter-spacing: -0.04em;
  color: transparent;
  -webkit-text-stroke: 1px rgba(82, 216, 255, 0.10);
  pointer-events: none;
  user-select: none;
  z-index: -1;
  white-space: nowrap;
}

.hero h1 {
  font-weight: 900;
  font-size: clamp(3.2rem, 9vw, 8.5rem);
  line-height: 0.95;
  letter-spacing: -0.03em;
  max-width: 14ch;
}
.hero h1 .gradient-text { padding-bottom: 0.12em; }

.hero__lead {
  margin-top: 1.6rem;
  max-width: 46ch;
  font-size: clamp(1rem, 1.6vw, 1.3rem);
  line-height: 1.6;
  color: var(--ink-dim);
}

.hero__cta { margin-top: 2.6rem; display: flex; gap: 1rem; flex-wrap: wrap; align-items: center; }

.btn {
  --pad: 1.05rem 2.4rem;
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: var(--pad);
  border-radius: 100px;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.01em;
  cursor: pointer;
  border: none;
  overflow: hidden;
  isolation: isolate;
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s;
}
.btn--primary {
  color: #02122a;
  background: var(--grad-brand);
  box-shadow: 0 10px 40px rgba(0, 147, 211, 0.45);
}
.btn--primary::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(100deg, var(--glow), var(--cyan));
  opacity: 0;
  transition: opacity 0.35s;
}
.btn--primary:hover { transform: translateY(-3px); box-shadow: 0 16px 54px rgba(82, 216, 255, 0.6); }
.btn--primary:hover::before { opacity: 1; }

.btn--ghost {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(82, 216, 255, 0.28);
}
.btn--ghost:hover { transform: translateY(-3px); border-color: var(--glow); background: rgba(82, 216, 255, 0.08); }

.scroll-hint {
  position: absolute;
  bottom: 2.2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.72rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--ink-dim);
  z-index: 3;
}
.scroll-hint .mouse {
  width: 22px; height: 36px;
  border: 2px solid rgba(82, 216, 255, 0.5);
  border-radius: 14px;
  position: relative;
}
.scroll-hint .mouse::after {
  content: "";
  position: absolute;
  top: 6px; left: 50%;
  width: 3px; height: 7px;
  margin-left: -1.5px;
  border-radius: 3px;
  background: var(--glow);
  animation: wheel 1.7s var(--ease-out) infinite;
}
@keyframes wheel { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(12px); } }

/* --------------------------------------------------------------------
   INTRO / MANIFESTO
   -------------------------------------------------------------------- */
.intro { padding: 26vh 0; }
.intro__lead {
  font-weight: 800;
  font-size: clamp(1.9rem, 4.6vw, 4.4rem);
  line-height: 1.12;
  letter-spacing: -0.02em;
  max-width: 22ch;
}
.intro__lead .dim { color: rgba(159, 179, 214, 0.35); }

.stats {
  margin-top: 8vh;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem;
}
.stat {
  padding: 2rem 1.6rem;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(82, 216, 255, 0.14);
  backdrop-filter: blur(8px);
}
.stat__num {
  font-weight: 900;
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  line-height: 1;
}
.stat__label { margin-top: 0.6rem; color: var(--ink-dim); font-size: 0.95rem; }

/* --------------------------------------------------------------------
   SERVICES — pinned 3D planet showcase
   -------------------------------------------------------------------- */
.services { position: relative; }
.services__pin {
  height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.services__head {
  position: absolute;
  top: 12vh; left: 50%;
  transform: translateX(-50%);
  text-align: center;
  width: 92vw;
  z-index: 4;
}
.services__head h2 {
  font-weight: 900;
  font-size: clamp(2.2rem, 6vw, 5rem);
  letter-spacing: -0.02em;
  line-height: 1;
  margin-top: 0.8rem;
}

.stage3d {
  position: relative;
  width: 100%;
  height: 100vh;
  perspective: 1600px;
  transform-style: preserve-3d;
}
.planet-card {
  position: absolute;
  top: 50%; left: 50%;
  width: min(78vw, 560px);
  margin-left: calc(min(78vw, 560px) / -2);
  margin-top: -190px;
  transform-style: preserve-3d;
  will-change: transform, opacity;
}
.planet-card__art {
  position: relative;
  width: 230px;
  height: 230px;
  margin: 0 auto 1.6rem;
  filter: drop-shadow(0 30px 60px rgba(0, 0, 0, 0.6));
}
.planet-card__art img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  animation: spin-soft 60s linear infinite;
}
@keyframes spin-soft { to { transform: rotate(360deg); } }
.planet-card__glow {
  position: absolute;
  inset: -14%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(82, 216, 255, 0.35), transparent 65%);
  filter: blur(14px);
  z-index: -1;
}
.planet-card__body { text-align: center; }
.planet-card__index {
  font-weight: 800;
  letter-spacing: 0.3em;
  font-size: 0.8rem;
  color: var(--glow);
}
.planet-card__title {
  margin: 0.7rem 0 0.9rem;
  font-weight: 900;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  line-height: 1.05;
}
.planet-card__desc { color: var(--ink-dim); line-height: 1.6; max-width: 42ch; margin: 0 auto 1.4rem; }
.planet-card__link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  color: var(--glow);
}
.planet-card__link svg { transition: transform 0.3s var(--ease-out); }
.planet-card__link:hover svg { transform: translateX(6px); }

/* dots */
.services__dots {
  position: absolute;
  bottom: 8vh; left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.7rem;
  z-index: 5;
}
.services__dots button {
  width: 9px; height: 9px;
  border-radius: 50%;
  border: none;
  background: rgba(159, 179, 214, 0.3);
  cursor: pointer;
  transition: transform 0.3s, background 0.3s;
}
.services__dots button.active { background: var(--glow); transform: scale(1.5); box-shadow: 0 0 14px var(--glow); }

/* --------------------------------------------------------------------
   WHY US — orbit cards
   -------------------------------------------------------------------- */
.why { padding: 24vh 0 18vh; }
.why__grid {
  margin-top: 4rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.4rem;
}
.feature {
  padding: 2.2rem;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(82, 216, 255, 0.14);
  backdrop-filter: blur(8px);
  transition: transform 0.5s var(--ease-out), border-color 0.4s, background 0.4s;
  will-change: transform;
}
.feature:hover { transform: translateY(-8px); border-color: rgba(82, 216, 255, 0.4); background: rgba(82, 216, 255, 0.05); }
.feature__icon {
  width: 54px; height: 54px;
  display: grid; place-items: center;
  border-radius: 14px;
  margin-bottom: 1.4rem;
  background: var(--grad-brand);
  box-shadow: 0 10px 30px rgba(0, 147, 211, 0.4);
}
.feature h3 { font-size: 1.3rem; font-weight: 800; margin-bottom: 0.7rem; }
.feature p { color: var(--ink-dim); line-height: 1.6; font-size: 0.96rem; }

/* --------------------------------------------------------------------
   CONTACT
   -------------------------------------------------------------------- */
.contact { padding: 16vh 0 18vh; }
.contact__card {
  position: relative;
  border-radius: 30px;
  padding: clamp(2rem, 5vw, 4.5rem);
  background: linear-gradient(160deg, rgba(46, 52, 131, 0.35), rgba(11, 16, 48, 0.55));
  border: 1px solid rgba(82, 216, 255, 0.2);
  backdrop-filter: blur(16px);
  overflow: hidden;
}
.contact__card::before {
  content: "";
  position: absolute;
  top: -40%; right: -10%;
  width: 420px; height: 420px;
  background: radial-gradient(circle, rgba(82, 216, 255, 0.25), transparent 65%);
  filter: blur(30px);
  pointer-events: none;
}
.contact h2 {
  font-weight: 900;
  font-size: clamp(2.2rem, 5vw, 4rem);
  letter-spacing: -0.02em;
  line-height: 1;
}
.contact__sub { color: var(--ink-dim); margin-top: 1rem; max-width: 48ch; line-height: 1.6; }

.form { margin-top: 2.6rem; display: grid; gap: 1.2rem; grid-template-columns: 1fr 1fr; }
.field { display: flex; flex-direction: column; gap: 0.5rem; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 0.85rem; font-weight: 600; color: var(--ink-dim); letter-spacing: 0.04em; }
.field input, .field textarea {
  width: 100%;
  padding: 1rem 1.2rem;
  border-radius: 14px;
  border: 1px solid rgba(82, 216, 255, 0.2);
  background: rgba(4, 5, 14, 0.5);
  color: var(--ink);
  font-family: inherit;
  font-size: 1rem;
  transition: border-color 0.3s, box-shadow 0.3s;
}
.field textarea { resize: vertical; min-height: 130px; }
.field input::placeholder, .field textarea::placeholder { color: rgba(159, 179, 214, 0.5); }
.field input:focus, .field textarea:focus {
  outline: none;
  border-color: var(--glow);
  box-shadow: 0 0 0 4px rgba(82, 216, 255, 0.12);
}

/* --------------------------------------------------------------------
   FOOTER
   -------------------------------------------------------------------- */
.footer { position: relative; padding: 10vh 0 3rem; border-top: 1px solid rgba(82, 216, 255, 0.12); }
.footer__big {
  font-weight: 900;
  font-size: clamp(2.4rem, 8vw, 7rem);
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 6vh;
}
.footer__cols { display: grid; grid-template-columns: 1.4fr 1fr 1.2fr; gap: 2.4rem; }
.footer__cols h4 { font-size: 1.1rem; font-weight: 800; margin-bottom: 1.2rem; }
.footer__cols ul { list-style: none; display: flex; flex-direction: column; gap: 0.8rem; }
.footer__cols li { color: var(--ink-dim); display: flex; align-items: center; gap: 0.7rem; }
.footer__cols a:hover { color: var(--glow); }
.footer__map iframe { width: 100%; height: 200px; border: 0; border-radius: 16px; filter: grayscale(0.3) brightness(0.8) hue-rotate(180deg); }
.footer__bottom {
  margin-top: 6vh;
  padding-top: 2rem;
  border-top: 1px solid rgba(82, 216, 255, 0.1);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  color: var(--ink-dim);
  font-size: 0.85rem;
}

/* --------------------------------------------------------------------
   Loader
   -------------------------------------------------------------------- */
.loader {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: var(--space-0);
  display: grid;
  place-items: center;
  transition: opacity 0.8s var(--ease-out), visibility 0.8s;
}
.loader.hidden { opacity: 0; visibility: hidden; }
.loader__ring {
  width: 70px; height: 70px;
  border-radius: 50%;
  border: 2px solid rgba(82, 216, 255, 0.15);
  border-top-color: var(--glow);
  animation: spin 0.9s linear infinite;
}
.loader__txt { position: absolute; bottom: 28%; letter-spacing: 0.4em; font-size: 0.75rem; color: var(--ink-dim); text-transform: uppercase; }
@keyframes spin { to { transform: rotate(360deg); } }

/* --------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------- */
@media (max-width: 900px) {
  .nav__menu { display: none; }
  .nav__burger { display: block; }
  .form { grid-template-columns: 1fr; }
  .footer__cols { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr; }
  .planet-card__art { width: 180px; height: 180px; }
}

@media (prefers-reduced-motion: reduce) {
  .planet-card__art img,
  .scroll-hint .mouse::after,
  .loader__ring,
  .subhero__planet img,
  .orb { animation: none !important; }
  html { scroll-behavior: auto; }
}

/* =====================================================================
   SUBPAGES — service detail, about, services overview
   ===================================================================== */
.page { padding-top: 8rem; }

/* breadcrumb */
.crumbs { display: flex; gap: 0.5rem; align-items: center; color: var(--ink-dim); font-size: 0.85rem; font-weight: 600; }
.crumbs a:hover { color: var(--glow); }
.crumbs span { opacity: 0.5; }

/* sub hero */
.subhero {
  position: relative;
  min-height: 78vh;
  display: flex;
  align-items: center;
  padding: 4vh 0 8vh;
}
.subhero__inner { width: min(var(--maxw), 92vw); margin-inline: auto; position: relative; }
.subhero__index {
  font-weight: 900;
  font-size: clamp(4rem, 12vw, 11rem);
  line-height: 0.8;
  letter-spacing: -0.04em;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(82, 216, 255, 0.22);
  margin-bottom: -0.2em;
  pointer-events: none;
}
.subhero h1 {
  font-weight: 900;
  font-size: clamp(2.6rem, 7vw, 6rem);
  line-height: 0.98;
  letter-spacing: -0.03em;
  max-width: 16ch;
}
.subhero__lead {
  margin-top: 1.6rem;
  max-width: 52ch;
  font-size: clamp(1.05rem, 1.7vw, 1.35rem);
  line-height: 1.65;
  color: var(--ink-dim);
}
.subhero__lead strong { color: var(--ink); font-weight: 800; display: block; margin-bottom: 0.4rem; }
.subhero__actions { margin-top: 2.4rem; display: flex; gap: 1rem; flex-wrap: wrap; }

.subhero__planet {
  position: absolute;
  top: 50%; right: -2vw;
  transform: translateY(-50%);
  width: clamp(180px, 26vw, 380px);
  pointer-events: none;
  z-index: -1;
}
.subhero__planet img { width: 100%; animation: float-soft 8s ease-in-out infinite; filter: drop-shadow(0 30px 70px rgba(0,0,0,0.6)); }
@keyframes float-soft { 0%,100% { transform: translateY(0) rotate(0); } 50% { transform: translateY(-22px) rotate(6deg); } }
@media (max-width: 900px) { .subhero__planet { opacity: 0.35; right: -20vw; } }

/* section header for subpages */
.sec { padding: 12vh 0; }
.sec__head { max-width: 62ch; margin-bottom: 4rem; }
.sec__head h2 {
  font-weight: 900;
  font-size: clamp(2rem, 5vw, 3.6rem);
  letter-spacing: -0.02em;
  line-height: 1.04;
  margin-top: 0.7rem;
}
.sec__head p { margin-top: 1rem; color: var(--ink-dim); line-height: 1.65; font-size: 1.05rem; }

/* capability cards */
.caps { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.4rem; }
.cap {
  position: relative;
  padding: 2.2rem;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(82, 216, 255, 0.14);
  backdrop-filter: blur(8px);
  overflow: hidden;
  transition: transform 0.5s var(--ease-out), border-color 0.4s, background 0.4s;
  will-change: transform;
}
.cap:hover { transform: translateY(-8px); border-color: rgba(82, 216, 255, 0.42); background: rgba(82, 216, 255, 0.05); }
.cap__icon {
  width: 86px; height: 86px;
  margin-bottom: 1.4rem;
  display: grid; place-items: center;
}
.cap__icon img { width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 8px 22px rgba(82, 216, 255, 0.35)); }
.cap h3 { font-size: 1.25rem; font-weight: 800; margin-bottom: 0.6rem; line-height: 1.2; }
.cap p { color: var(--ink-dim); line-height: 1.6; font-size: 0.96rem; }
.cap__num { position: absolute; top: 1.4rem; right: 1.6rem; font-weight: 900; font-size: 1rem; color: rgba(82, 216, 255, 0.3); }

/* process timeline */
.steps { display: grid; gap: 1.2rem; }
.step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.4rem;
  align-items: start;
  padding: 1.6rem 1.8rem;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(82, 216, 255, 0.12);
}
.step__n {
  width: 46px; height: 46px;
  display: grid; place-items: center;
  border-radius: 12px;
  font-weight: 900;
  color: #02122a;
  background: var(--grad-brand);
  box-shadow: 0 8px 24px rgba(0, 147, 211, 0.4);
}
.step h3 { font-size: 1.15rem; font-weight: 800; margin-bottom: 0.3rem; }
.step p { color: var(--ink-dim); line-height: 1.55; font-size: 0.95rem; }

/* big CTA band */
.ctaband { padding: 6vh 0 16vh; }
.ctaband__card {
  position: relative;
  text-align: center;
  border-radius: 30px;
  padding: clamp(2.6rem, 7vw, 6rem) 2rem;
  background: linear-gradient(160deg, rgba(46, 52, 131, 0.4), rgba(11, 16, 48, 0.5));
  border: 1px solid rgba(82, 216, 255, 0.2);
  backdrop-filter: blur(16px);
  overflow: hidden;
}
.ctaband__card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(60% 80% at 50% 0%, rgba(82, 216, 255, 0.18), transparent 70%);
  pointer-events: none;
}
.ctaband h2 { font-weight: 900; font-size: clamp(2rem, 5vw, 4rem); letter-spacing: -0.02em; line-height: 1.02; position: relative; }
.ctaband p { color: var(--ink-dim); margin: 1rem auto 2.2rem; max-width: 50ch; line-height: 1.6; position: relative; }

/* TEAM (chi siamo) */
.team-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1.6rem; }
.member {
  text-align: center;
  padding: 2.2rem 1.6rem;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(82, 216, 255, 0.14);
  backdrop-filter: blur(8px);
  transition: transform 0.5s var(--ease-out), border-color 0.4s;
  will-change: transform;
}
.member:hover { transform: translateY(-10px); border-color: rgba(82, 216, 255, 0.4); }
.member__avatar {
  width: 130px; height: 130px;
  margin: 0 auto 1.4rem;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid rgba(82, 216, 255, 0.4);
  box-shadow: 0 0 30px rgba(82, 216, 255, 0.25);
  background: rgba(11, 16, 48, 0.6);
}
.member__avatar img { width: 100%; height: 100%; object-fit: cover; }
.member h3 { font-size: 1.3rem; font-weight: 800; }
.member p { color: var(--glow); font-size: 0.92rem; margin-top: 0.3rem; font-weight: 600; }

.values { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.4rem; margin-top: 2rem; }

/* SERVICES OVERVIEW grid */
.svc-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 1.6rem; }
.svc {
  position: relative;
  display: block;
  padding: 2.4rem;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(82, 216, 255, 0.14);
  backdrop-filter: blur(8px);
  overflow: hidden;
  transition: transform 0.5s var(--ease-out), border-color 0.4s, background 0.4s;
  will-change: transform;
}
.svc:hover { transform: translateY(-10px); border-color: rgba(82, 216, 255, 0.45); background: rgba(82, 216, 255, 0.05); }
.svc__art { width: 110px; height: 110px; margin-bottom: 1.6rem; }
.svc__art img { width: 100%; height: 100%; object-fit: contain; animation: spin-soft 70s linear infinite; }
.svc__index { font-weight: 800; letter-spacing: 0.3em; font-size: 0.78rem; color: var(--glow); }
.svc h3 { font-size: 1.5rem; font-weight: 800; margin: 0.5rem 0 0.8rem; line-height: 1.1; }
.svc p { color: var(--ink-dim); line-height: 1.6; margin-bottom: 1.4rem; }
.svc__link { display: inline-flex; align-items: center; gap: 0.5rem; font-weight: 700; color: var(--glow); }
.svc__link svg { transition: transform 0.3s var(--ease-out); }
.svc:hover .svc__link svg { transform: translateX(6px); }
