/* 5G LAB – stile comune a tutte le pagine del sito */

/* ─── FONT (ospitati in locale: nessuna chiamata a Google) ───── */
@font-face { font-family: 'Montserrat'; src: url('fonts/montserrat.woff2') format('woff2'); font-weight: 100 900; font-display: swap; }
@font-face { font-family: 'Rajdhani'; src: url('fonts/rajdhani-600.woff2') format('woff2'); font-weight: 600; font-display: swap; }
@font-face { font-family: 'Rajdhani'; src: url('fonts/rajdhani-700.woff2') format('woff2'); font-weight: 700; font-display: swap; }

/* ─── BRAND ──────────────────────────────────────────────────── */
:root {
  --navy: #14143C;
  --navy-2: #1f1f55;
  --magenta: #C8289B;
  --viola: #5A50AF;
  --ciano: #00D4FF;
  --ink: #1a1a2e;
  --muted: #5b5b72;
  --line: #e6e6ef;
  --bg-soft: #f5f5fa;
  --grad: linear-gradient(120deg, var(--viola) 0%, var(--magenta) 100%);
  --radius: 16px;
  --wrap: 1120px;
  --gutter: clamp(16px, 4vw, 32px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body {
  margin: 0;
  font-family: 'Montserrat', system-ui, -apple-system, 'Segoe UI', Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: #fff;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
[hidden] { display: none !important; }
a { color: inherit; }
h1, h2, h3 { line-height: 1.15; margin: 0; letter-spacing: -0.01em; }
p { margin: 0; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding-inline: var(--gutter); }
section { padding-block: clamp(56px, 9vw, 96px); }
.kicker {
  font-family: 'Rajdhani', sans-serif;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--magenta);
  margin-bottom: 10px;
}
.section-head { max-width: 680px; margin-bottom: clamp(28px, 5vw, 48px); }
.section-head h2 { font-size: clamp(28px, 4.2vw, 40px); font-weight: 800; color: var(--navy); }
.section-head p { margin-top: 14px; color: var(--muted); font-size: 17px; }

/* ─── BOTTONI ────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 22px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  border: 2px solid transparent;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn svg { width: 20px; height: 20px; flex-shrink: 0; }
.btn-wa { background: #25D366; color: #fff; box-shadow: 0 6px 20px rgba(37,211,102,.35); }
.btn-grad { background: var(--grad); color: #fff; box-shadow: 0 6px 20px rgba(200,40,155,.3); }
.btn-ghost { border-color: rgba(255,255,255,.35); color: #fff; }
.btn-ghost:hover { background: rgba(255,255,255,.08); }
.btn-line { border-color: var(--line); color: var(--navy); background: #fff; }
.btn-line:hover { border-color: var(--viola); }

/* ─── HEADER ─────────────────────────────────────────────────── */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(20,20,60,.92);
  backdrop-filter: saturate(160%) blur(12px);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
  padding-top: env(safe-area-inset-top, 0px);
}
.header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 68px; }
.header-logo img { height: 56px; width: auto; margin-block: -4px; }
.nav { display: flex; align-items: center; gap: 28px; }
.nav a { color: rgba(255,255,255,.82); text-decoration: none; font-weight: 600; font-size: 14px; }
.nav a:hover { color: #fff; }
.nav .btn { padding: 10px 18px; font-size: 14px; color: #fff; }

/* ─── HERO ───────────────────────────────────────────────────── */
.hero {
  position: relative;
  overflow: hidden;
  background: radial-gradient(1200px 600px at 85% 10%, rgba(200,40,155,.28), transparent 60%),
              radial-gradient(900px 500px at 0% 100%, rgba(90,80,175,.35), transparent 60%),
              var(--navy);
  color: #fff;
  padding-block: clamp(56px, 10vw, 110px) clamp(64px, 10vw, 120px);
}
.hero .wrap { position: relative; display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center; }
.status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px 6px 10px;
  border-radius: 999px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.14);
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 22px;
}
.status .dot { width: 9px; height: 9px; border-radius: 50%; background: #9ca3af; }
.status.open .dot { background: #22c55e; box-shadow: 0 0 0 4px rgba(34,197,94,.2); }
.status.closed .dot { background: #f59e0b; }
.hero h1 { font-size: clamp(34px, 5.6vw, 58px); font-weight: 800; }
.hero h1 .grad {
  background: linear-gradient(120deg, #8f86ff 0%, #ff5cc8 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-sub { margin-top: 20px; font-size: clamp(16px, 2vw, 19px); color: rgba(255,255,255,.8); max-width: 560px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero-addr { margin-top: 26px; font-size: 14px; color: rgba(255,255,255,.65); display: flex; align-items: center; gap: 8px; }
.hero-addr svg { width: 16px; height: 16px; flex-shrink: 0; }

.orbit { position: absolute; right: -180px; top: 50%; transform: translateY(-50%); width: 720px; opacity: .5; pointer-events: none; }
.hero-card {
  position: relative;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 22px;
  padding: 28px;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.hero-card .big { font-family: 'Rajdhani', sans-serif; font-weight: 700; font-size: 22px; letter-spacing: .02em; }
.hero-card p { margin-top: 10px; color: rgba(255,255,255,.75); font-size: 15px; }
.hero-card ul { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 12px; }
.hero-card li { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; }
.hero-card li svg { width: 22px; height: 22px; flex-shrink: 0; color: var(--ciano); margin-top: 1px; }

/* ─── STRISCIA GESTORI ───────────────────────────────────────── */
.brands { padding-block: 28px; border-bottom: 1px solid var(--line); background: #fff; }
.brands .wrap { display: flex; align-items: center; gap: 12px 28px; flex-wrap: wrap; justify-content: center; }
.brands .lbl { font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.brands .name { font-family: 'Rajdhani', sans-serif; font-weight: 700; font-size: 21px; color: #8a8aa3; letter-spacing: .02em; }

/* ─── SERVIZI ────────────────────────────────────────────────── */
.services { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.service {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  background: #fff;
  transition: box-shadow .2s ease, border-color .2s ease;
}
.service:hover { border-color: #d6d3f0; box-shadow: 0 12px 32px rgba(20,20,60,.08); }
.service-icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  background: var(--grad);
  display: grid; place-items: center;
  color: #fff;
}
.service-icon svg { width: 26px; height: 26px; }
.service h3 { font-size: 21px; font-weight: 800; color: var(--navy); }
.service p { color: var(--muted); font-size: 15px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  font-size: 13px;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--bg-soft);
  color: var(--navy);
  border: 1px solid var(--line);
}
.service .more {
  margin-top: auto;
  padding-top: 6px;
  font-weight: 700;
  font-size: 15px;
  color: var(--magenta);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.service .more:hover { text-decoration: underline; }

/* ─── CONVERGENZA ────────────────────────────────────────────── */
.conv { padding-block: 0; }
.sky + .conv { padding-top: clamp(56px, 9vw, 96px); }
.conv-box {
  background: var(--grad);
  color: #fff;
  border-radius: 24px;
  padding: clamp(28px, 5vw, 56px);
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 32px;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.conv-box::after {
  content: '';
  position: absolute;
  right: -120px; top: -120px;
  width: 380px; height: 380px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,.18);
  box-shadow: 0 0 0 40px rgba(255,255,255,.05), 0 0 0 80px rgba(255,255,255,.04);
}
.conv-box .kicker { color: rgba(255,255,255,.85); }
.conv-box h2 { font-size: clamp(26px, 4vw, 38px); font-weight: 800; }
.conv-box p { margin-top: 14px; color: rgba(255,255,255,.88); font-size: 17px; }
.conv-points { display: grid; gap: 12px; position: relative; z-index: 1; }
.conv-point {
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 14px;
  padding: 14px 18px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 12px;
}
.conv-point svg { width: 22px; height: 22px; flex-shrink: 0; }
.conv-box .btn { margin-top: 26px; background: #fff; color: var(--navy); }

/* ─── COME FUNZIONA ──────────────────────────────────────────── */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: step; }
.step { padding: 28px; border-radius: var(--radius); background: var(--bg-soft); position: relative; }
.step::before {
  counter-increment: step;
  content: counter(step);
  font-family: 'Rajdhani', sans-serif;
  font-weight: 700;
  font-size: 44px;
  line-height: 1;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  display: block;
  margin-bottom: 12px;
}
.step h3 { font-size: 19px; font-weight: 800; color: var(--navy); }
.step p { margin-top: 8px; color: var(--muted); font-size: 15px; }

/* ─── ASSISTENZA PRATICHE (home) ─────────────────────────────── */
.assist { padding-top: 0; }
.assist-box {
  background: var(--navy); color: #fff; border-radius: 24px; padding: clamp(28px, 5vw, 52px);
  display: grid; grid-template-columns: 1.3fr 1fr; gap: 32px; align-items: center;
}
.assist-box .kicker { color: #ff7ad1; }
.assist-box h2 { font-size: clamp(26px, 4vw, 36px); font-weight: 800; }
.assist-box p { margin-top: 14px; color: rgba(255,255,255,.8); font-size: 16.5px; }
.assist-box .btn { margin-top: 24px; }
.assist-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.assist-list li { display: flex; gap: 12px; align-items: center; padding: 14px 16px; border-radius: 14px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); font-weight: 600; }
.assist-list svg { width: 22px; height: 22px; color: var(--ciano); flex-shrink: 0; }
@media (max-width: 960px) { .assist-box { grid-template-columns: 1fr; } }

/* ─── SKY ────────────────────────────────────────────────────── */
.sky { background: var(--bg-soft); }
.sky-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.sky h2 { font-size: clamp(28px, 4.2vw, 40px); font-weight: 800; color: var(--navy); }
.sky-lead { margin-top: 14px; color: var(--muted); font-size: 17px; }
.sky-ways { display: grid; gap: 12px; margin: 24px 0 28px; }
.sky-way { display: flex; gap: 14px; align-items: flex-start; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; }
.sky-way svg { width: 24px; height: 24px; color: var(--viola); flex-shrink: 0; margin-top: 2px; }
.sky-way strong { display: block; color: var(--navy); }
.sky-way span { font-size: 14px; color: var(--muted); }
.packs { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.pack {
  background: var(--navy);
  color: #fff;
  border-radius: 16px;
  padding: 20px;
  min-height: 116px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 4px;
  position: relative;
  overflow: hidden;
}
.pack::before {
  content: '';
  position: absolute;
  right: -30px; top: -30px;
  width: 110px; height: 110px;
  border-radius: 50%;
  background: var(--grad);
  opacity: .55;
}
.pack b { font-family: 'Rajdhani', sans-serif; font-size: 24px; font-weight: 700; letter-spacing: .02em; position: relative; }
.pack span { font-size: 13px; color: rgba(255,255,255,.75); position: relative; }
.sky-biz {
  margin-top: 32px;
  background: var(--grad);
  color: #fff;
  border-radius: 18px;
  padding: 22px 26px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
.sky-biz strong { display: block; font-size: 19px; font-weight: 800; }
.sky-biz span { font-size: 15px; color: rgba(255,255,255,.88); }
.sky-biz > div { flex: 1 1 320px; }
.sky-biz .btn { background: #fff; color: var(--navy); }

/* ─── AZIENDE ────────────────────────────────────────────────── */
.business { background: var(--navy); color: #fff; }
.business .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.business .section-head { margin-bottom: 0; }
.business .section-head h2 { color: #fff; }
.business .section-head p { color: rgba(255,255,255,.75); }
.business .btn { margin-top: 28px; }
.biz-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.biz-list li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 18px 20px;
  border-radius: 14px;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.1);
}
.biz-list svg { width: 24px; height: 24px; color: var(--ciano); flex-shrink: 0; margin-top: 2px; }
.biz-list strong { display: block; font-size: 16px; }
.biz-list span { font-size: 14px; color: rgba(255,255,255,.7); }

/* ─── PERCHÉ NOI ─────────────────────────────────────────────── */
.why { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.why-item h3 { font-size: 17px; font-weight: 800; color: var(--navy); margin-top: 14px; }
.why-item p { margin-top: 6px; color: var(--muted); font-size: 15px; }
.why-item .ico {
  width: 46px; height: 46px; border-radius: 12px;
  display: grid; place-items: center;
  background: #f1effd; color: var(--viola);
}
.why-item .ico svg { width: 24px; height: 24px; }

/* ─── CONTATTI ───────────────────────────────────────────────── */
.contact { background: var(--bg-soft); }
.contact-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 24px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(22px, 4vw, 32px); }
.card h3 { font-size: 20px; font-weight: 800; color: var(--navy); margin-bottom: 18px; }
.contact-rows { display: grid; gap: 16px; }
.contact-row { display: flex; gap: 14px; align-items: flex-start; text-decoration: none; }
.contact-row .ico {
  width: 42px; height: 42px; border-radius: 12px; flex-shrink: 0;
  display: grid; place-items: center; background: #f1effd; color: var(--viola);
}
.contact-row .ico svg { width: 20px; height: 20px; }
.contact-row small { display: block; font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.contact-row b { font-size: 16px; font-weight: 700; color: var(--navy); word-break: break-word; }
a.contact-row:hover b { color: var(--magenta); }
.contact-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }

.hours { width: 100%; border-collapse: collapse; font-size: 15px; }
.hours td { padding: 10px 0; border-bottom: 1px solid var(--line); }
.hours td:last-child { text-align: right; font-weight: 600; color: var(--navy); }
.hours tr:last-child td { border-bottom: none; }
.hours tr.today td { color: var(--magenta); font-weight: 800; }
.hours .closed { color: var(--muted) !important; font-weight: 500 !important; }
.hours-note { margin-top: 14px; font-size: 13px; color: var(--muted); }
.social { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }

/* ─── FOOTER ─────────────────────────────────────────────────── */
.footer { background: var(--navy); color: rgba(255,255,255,.7); padding-block: 40px calc(40px + env(safe-area-inset-bottom, 0px)); font-size: 14px; }
.footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 24px; align-items: center; }
.footer img { height: 72px; width: auto; }
.footer a { color: #fff; }
.footer-legal { font-size: 13px; line-height: 1.7; max-width: 820px; }
.footer-legal b { color: #fff; font-weight: 600; }

/* ─── BARRA AZIONI (solo smartphone) ─────────────────────────── */
.mobile-bar { display: none; }

/* ─── RESPONSIVE ─────────────────────────────────────────────── */
@media (max-width: 960px) {
  .hero .wrap, .conv-box, .business .wrap, .contact-grid, .sky-grid { grid-template-columns: 1fr; }
  .why { grid-template-columns: repeat(2, 1fr); }
  .orbit { right: -260px; top: 30%; width: 560px; opacity: .3; }
}
@media (max-width: 760px) {
  .nav a:not(.btn) { display: none; }
  .services, .steps { grid-template-columns: 1fr; }
  .pack { min-height: 100px; padding: 16px; }
  .pack b { font-size: 21px; }
  .footer { padding-bottom: calc(110px + env(safe-area-inset-bottom, 0px)); }
  .mobile-bar {
    display: grid;
    grid-template-columns: auto 1fr 1fr;
    gap: 8px;
    position: fixed;
    left: 0; right: 0; bottom: 0;
    z-index: 60;
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom, 0px));
    background: rgba(255,255,255,.96);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-top: 1px solid var(--line);
  }
  .mobile-bar .btn { padding: 13px 12px; }
  .mobile-bar .btn-call { background: var(--navy); color: #fff; }
}
@media (max-width: 420px) {
  .why { grid-template-columns: 1fr; }
  .hero-cta .btn { flex: 1 1 100%; }
  .header .nav .btn span { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .service { transition: none; }
}

/* ─── LINK NEI TESTI ─────────────────────────────────────────── */
.step p a { color: var(--viola); font-weight: 600; }
.footer-legal a { text-decoration: underline; }
