﻿:root {
  --bg: #000000;
  --text: #f4f6ff;
  --muted: #b6bfd9;
  --line: #1f1f1f;
  --line-soft: #2d2d2d;
  --white: #fdfdfd;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Poppins", sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  background-image: radial-gradient(circle at 15% 8%, rgba(255,255,255,0.06), transparent 28%), radial-gradient(circle at 82% 22%, rgba(255,255,255,0.05), transparent 24%);
}

.container { width: min(1140px, 92vw); margin: 0 auto; }
a { color: inherit; text-decoration: none; }
p { color: var(--muted); margin: 0 0 1rem; }
h1, h2, h3 { margin: 0 0 .75rem; line-height: 1.15; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: #000;
  border-bottom: none;
}

.nav { min-height: 76px; display: flex; align-items: center; justify-content: space-between; }
.brand { font-weight: 700; font-size: 1.2rem; letter-spacing: .03em; }
.nav-links { list-style: none; margin: 0; padding: 0; display: flex; gap: 1rem; align-items: center; }
.menu-toggle { display: none; color: var(--text); border: 1px solid #1d1d1d; background: #0b0b0b; padding: .42rem .8rem; border-radius: 8px; }

.btn {
  display: inline-block;
  border: 1px solid var(--white);
  color: #05070e;
  background: var(--white);
  padding: .75rem 1.15rem;
  font-weight: 700;
  border-radius: 999px;
}

.btn-outline { background: transparent; color: var(--text); border-color: var(--line-soft); }
.btn-small { padding: .4rem .8rem; font-size: .88rem; }
.btn-block { width: 100%; text-align: center; }

.hero {
  display: grid;
  grid-template-columns: 1.2fr .9fr;
  gap: 1rem;
  padding: 4.5rem 0 2.4rem;
}
.hero-badges {
  display: flex;
  gap: .5rem;
  flex-wrap: wrap;
  margin: .5rem 0 1rem;
}
.hero-badges span {
  border: 1px solid #2d2d2d;
  border-radius: 999px;
  padding: .3rem .65rem;
  font-size: .76rem;
  color: #d7d7d7;
}

.eyebrow {
  font-size: .76rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--white);
}

h1 { font-size: clamp(2rem, 4.2vw, 4rem); }
.lead { max-width: 62ch; }
.hero-cta { display: flex; gap: .7rem; flex-wrap: wrap; margin: 1.1rem 0; }
.hero-dots { display: flex; gap: .45rem; margin-bottom: .8rem; }
.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: inline-block;
}
.dot-green { background: #1fa463; }
.dot-white { background: #fdfdfd; border: 1px solid #bdbdbd; }
.dot-red { background: #d84a4a; }

.card,
.hero-card,
.stats article,
.contact-form,
.contact-wrap > div,
.testimonial-grid blockquote,
.logo-grid span,
.skill-bars,
.faq-list details {
  background: rgba(0, 0, 0, 0.86);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 1.05rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.22);
}

.icon-card svg {
  width: 24px;
  height: 24px;
  margin-bottom: .6rem;
  stroke: var(--white);
  fill: none;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.italy-hero {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 320px;
}

.hero-map {
  width: 100%;
  height: auto;
  max-height: 340px;
  object-fit: contain;
  opacity: 0.86;
}

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: .8rem;
  margin-bottom: 1.6rem;
}

.stats strong { display: block; font-size: 1.45rem; color: var(--white); }
.stats article { transition: transform .2s ease, border-color .2s ease; }
.stats article:hover { transform: translateY(-4px); border-color: #595959; }

.section { padding: 3.5rem 0; }
.alt-light {
  background: #ffffff;
  color: #101010;
}
.alt-light p { color: #3f3f3f; }
.alt-light .eyebrow { color: #111111; }
.alt-light .card,
.alt-light .skill-bars,
.alt-light .faq-list details,
.alt-light .knowledge-box {
  background: #ffffff;
  border: 1px solid #d9d9d9;
  color: #101010;
}
.alt-light .bar { border-color: #b8b8b8; }
.alt-light .bar i { background: #101010; }
.alt-light .icon-card svg { stroke: #101010; }

.section-heading { max-width: 760px; margin-bottom: 1.2rem; }
.centered-heading { margin-left: auto; margin-right: auto; text-align: center; }

.info-grid,
.services-grid,
.network-grid,
.process-grid,
.testimonial-grid,
.logo-grid,
.italy-grid {
  display: grid;
  gap: .8rem;
}

.about-split {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 1rem;
  align-items: stretch;
}

.about-content {
  background: transparent;
  border: 0;
  padding: .2rem 0;
}

.about-content h3 {
  font-size: clamp(1.45rem, 2.4vw, 2rem);
  margin-bottom: 1rem;
  color: #111;
}

.about-content p {
  font-size: 1.02rem;
  line-height: 1.72;
  margin-bottom: 1rem;
  color: #3f3f3f;
  max-width: 62ch;
}

.about-visual {
  overflow: hidden;
  padding: 0;
  min-height: 520px;
}

.about-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(100%);
  opacity: .95;
}

.info-grid { grid-template-columns: repeat(4, 1fr); }
.services-grid { grid-template-columns: repeat(3, 1fr); }
.network-grid { grid-template-columns: repeat(2, 1fr); }
.process-grid { grid-template-columns: repeat(3, 1fr); }
.testimonial-grid { grid-template-columns: repeat(2, 1fr); }

.skills-wrap {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: .8rem;
}

.skill-bars { padding: 1rem; }
.skill-row { margin-bottom: .95rem; }
.skill-row span { font-weight: 600; }
.skill-row b { float: right; color: var(--white); }
.alt-light .skill-row b { color: #101010; }
.bar {
  clear: both;
  margin-top: .42rem;
  height: 8px;
  border: 1px solid var(--line-soft);
  border-radius: 999px;
  overflow: hidden;
}
.bar i {
  display: block;
  height: 100%;
  background: var(--white);
}

.knowledge-box h3 { margin-bottom: .45rem; }
.tool-icons {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: .55rem;
  margin-top: .7rem;
}
.tool-icons span {
  border: 1px solid var(--line-soft);
  border-radius: 10px;
  padding: .65rem .45rem;
  text-align: center;
  font-size: .82rem;
  font-weight: 600;
}
.alt-light .tool-icons span {
  border-color: #c8c8c8;
  color: #111;
}
.alt-light .hero-badges span {
  border-color: #c8c8c8;
  color: #111;
}

.faq-list { display: grid; gap: .6rem; }
.faq-list summary { cursor: pointer; font-weight: 600; }

.ticker {
  border-top: 1px solid #1f1f1f;
  border-bottom: 1px solid #1f1f1f;
  overflow: hidden;
  margin: 1rem 0 0;
}
.ticker-track {
  display: flex;
  gap: 1.6rem;
  white-space: nowrap;
  padding: .75rem 0;
  animation: marquee 24s linear infinite;
}
.ticker-track span {
  border: 1px solid #2a2a2a;
  border-radius: 999px;
  padding: .3rem .7rem;
  font-size: .78rem;
  color: #dedede;
}
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.cta-band {
  background: #fff;
  color: #111;
}
.cta-band .eyebrow { color: #111; }
.cta-band p { color: #3f3f3f; }
.cta-band-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: .7rem;
  text-align: center;
}
.cta-band .btn {
  border-color: #111;
  background: #111;
  color: #fff;
}

.card:hover,
.contact-form:hover,
.testimonial-grid blockquote:hover {
  transform: translateY(-3px);
  transition: transform .2s ease, border-color .2s ease;
  border-color: #606060;
}

.contact-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: .8rem; }
label { display: block; font-size: .9rem; color: var(--text); margin-bottom: .3rem; }
input, textarea {
  width: 100%;
  background: #060606;
  color: var(--white);
  border: 1px solid #222;
  border-radius: 10px;
  padding: .72rem;
  margin-bottom: .8rem;
  font: inherit;
}

input:focus, textarea:focus { outline: 1px solid #444; }
.form-note { font-weight: 600; margin-top: .4rem; }

.site-footer {
  border-top: 1px solid #1a1a1a;
  padding: 1.2rem 0;
  background: #000;
}

.footer-inner { display: flex; justify-content: space-between; gap: .8rem; }
.back-to-top {
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #2a2a2a;
  border-radius: 999px;
  font-size: 1rem;
  line-height: 1;
}

.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  z-index: 100;
}

.modal-overlay.open { display: flex; }

.modal-card {
  width: min(560px, 94vw);
  background: #fff;
  color: #111;
  border-radius: 14px;
  padding: 1.1rem;
  position: relative;
}

.modal-card .eyebrow { color: #111; }
.modal-card p { color: #3f3f3f; }
.modal-card h2 { margin-bottom: .9rem; }

.modal-close {
  position: absolute;
  top: .5rem;
  right: .65rem;
  border: 1px solid #d0d0d0;
  background: #fff;
  width: 30px;
  height: 30px;
  border-radius: 999px;
  font-size: 1.05rem;
  line-height: 1;
  cursor: pointer;
}

.modal-form label { color: #111; }
.modal-form input,
.modal-form textarea {
  background: #fff;
  color: #111;
  border: 1px solid #cfcfcf;
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .7s ease, transform .7s ease;
}
.reveal.show {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 960px) {
  .hero,
  .stats,
  .services-grid,
  .italy-grid,
  .logo-grid,
  .network-grid,
  .testimonial-grid,
  .contact-wrap,
  .info-grid,
  .process-grid,
  .skills-wrap,
  .tool-icons { grid-template-columns: 1fr; }
  .about-split { grid-template-columns: 1fr; }
  .about-visual { min-height: 340px; }

  .menu-toggle { display: inline-block; }

  .nav-links {
    display: none;
    position: absolute;
    top: 75px;
    right: 4vw;
    border: 1px solid var(--line);
    background: #050505;
    border-radius: 10px;
    padding: .75rem;
    flex-direction: column;
    align-items: flex-start;
  }

  .nav-links.open { display: flex; }
  .cta-band-inner { flex-direction: column; align-items: center; text-align: center; }
}
