*,
*::before,
*::after {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
}

body {
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    radial-gradient(1200px 900px at 10% 0%, #0f172a, transparent 60%),
    radial-gradient(1000px 700px at 90% 0%, #020617, transparent 55%),
    #020617;
  color: #e5e7eb;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
}

.container {
  width: min(1120px, 100% - 2.5rem);
  margin-inline: auto;
}

/* LANG TOGGLE */


[data-lang="it"] .lang-en {
  display: none !important;
}

[data-lang="en"] .lang-it {
  display: none !important;
}

/* When English is active, block-level English elements should behave as blocks */
[data-lang="en"] h1 .lang-en,
[data-lang="en"] h2 .lang-en,
[data-lang="en"] p.lang-en,
[data-lang="en"] .section-head p.lang-en,
[data-lang="en"] .industry p.lang-en,
[data-lang="en"] .about-inner p.lang-en,
[data-lang="en"] .contact-note p.lang-en {
  display: block;
}

/* HEADER */

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(18px);
  background: rgba(2, 6, 23, 0.85);
  border-bottom: 1px solid rgba(148, 163, 184, 0.2);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-block: 0.85rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: inherit;
}





.logo-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.logo-title {
  font-family: "Space Grotesk", system-ui, sans-serif;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.nav {
  display: flex;
  gap: 1.4rem;
  font-size: 0.9rem;
}

.nav a {
  position: relative;
  text-decoration: none;
  color: #cbd5f5;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, #6366F1, #06B6D4);
  border-radius: 999px;
  transition: width 0.18s ease;
}

.nav a:hover::after {
  width: 100%;
}

.lang-toggle {
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.6);
  background: rgba(15, 23, 42, 0.9);
  color: #e5e7eb;
  padding: 0.3rem 0.8rem;
  font-size: 0.8rem;
  cursor: pointer;
  min-width: 42px;
}

/* HERO */

.hero {
  padding: 4.5rem 0 3.5rem;
}

.hero-inner {
  display: flex;
  justify-content: center;
}

.hero-copy {
  max-width: 640px;
}

.hero h1 {
  font-family: "Space Grotesk", system-ui, sans-serif;
  font-size: clamp(2.4rem, 3vw + 1.4rem, 3.1rem);
  line-height: 1.15;
  margin: 0 0 1rem;
}

.accent-underline {
  position: relative;
  display: inline-block;
}

.accent-underline::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -4px;
  height: 6px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(99,102,241,0.8), rgba(6,182,212,0.8), rgba(236,72,153,0.8));
  opacity: 0.9;
}

.hero-text {
  max-width: 38rem;
  font-size: 1.02rem;
  color: #e5e7eb;
  line-height: 1.6;
}

.hero-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 1.2rem 0 1.5rem;
}

.hero-highlights span {
  font-size: 0.8rem;
  border-radius: 999px;
  padding: 0.35rem 0.75rem;
  background-color: rgba(15, 23, 42, 0.9);
  border: 1px solid rgba(148, 163, 184, 0.35);
  color: #e5e7eb;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

/* BUTTONS */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.65rem 1.2rem;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.6);
  background: rgba(15, 23, 42, 0.9);
  color: #e5e7eb;
  font-size: 0.9rem;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 14px 35px rgba(15, 23, 42, 0.9);
  transition: transform 0.1s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.btn.primary {
  background: linear-gradient(135deg, #6366F1, #06B6D4);
  border-color: transparent;
}

.btn.ghost {
  background: rgba(15, 23, 42, 0.9);
}

.btn.phone-btn {
  border-color: rgba(56, 189, 248, 0.9);
  background: rgba(15, 23, 42, 0.95);
  font-weight: 600;
  letter-spacing: 0.04em;
}

.btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 22px 55px rgba(15, 23, 42, 0.95);
}

.btn:focus-visible {
  outline: 2px solid #06B6D4;
  outline-offset: 2px;
}

/* SECTIONS */

.section {
  padding: 3.5rem 0;
}

.section-alt {
  position: relative;
}

.section-alt::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(900px 600px at 0% 0%, rgba(99,102,241,0.35), transparent 65%);
  opacity: 0.35;
  pointer-events: none;
}

.section-alt > .container {
  position: relative;
}

.section-head {
  max-width: 40rem;
  margin-bottom: 2rem;
}

.section-head h2 {
  font-family: "Space Grotesk", system-ui, sans-serif;
  font-size: 1.6rem;
  margin: 0 0 0.5rem;
}

.section-head p {
  margin: 0;
  color: #cbd5f5;
}

/* CARDS GRID */

.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.4rem;
}

.card {
  background: rgba(15, 23, 42, 0.95);
  border-radius: 1.2rem;
  border: 1px solid rgba(148, 163, 184, 0.35);
  padding: 1.4rem 1.3rem 1.3rem;
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.9);
  transition: transform 0.16s ease, box-shadow 0.2s ease, border-color 0.16s ease, background 0.16s ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 26px 80px rgba(15, 23, 42, 1);
  border-color: rgba(56, 189, 248, 0.8);
  background: radial-gradient(circle at 0 0, rgba(56,189,248,0.2), transparent 55%), rgba(15, 23, 42, 0.98);
}

.card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.05rem;
}

.card p {
  margin: 0 0 0.7rem;
  color: #d1d5db;
  font-size: 0.93rem;
}

.card ul {
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 0.86rem;
  color: #9ca3af;
}

.card li {
  position: relative;
  padding-left: 1.1rem;
  margin-bottom: 0.25rem;
}

.card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.6em;
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: linear-gradient(135deg, #6366F1, #06B6D4);
}

/* INDUSTRIES */

.industries-inner {
  display: flex;
  flex-direction: column;
  gap: 1.6rem;
}

.industries-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.1rem;
}

.industry {
  background: rgba(15, 23, 42, 0.96);
  border-radius: 1rem;
  border: 1px solid rgba(148, 163, 184, 0.35);
  padding: 1.1rem 1rem;
}

.industry h3 {
  margin: 0 0 0.45rem;
  font-size: 0.98rem;
}

.industry p {
  margin: 0;
  font-size: 0.85rem;
  color: #cbd5f5;
}

/* ABOUT */

.about-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr);
  gap: 2rem;
  align-items: start;
}

.about-inner p {
  margin-top: 0;
  margin-bottom: 0.9rem;
  color: #e5e7eb;
}

.about-inner p:last-of-type {
  margin-bottom: 0;
}

.about-side {
  display: grid;
  gap: 0.9rem;
}

.stat-card {
  background: rgba(15, 23, 42, 0.96);
  border-radius: 1rem;
  border: 1px solid rgba(148, 163, 184, 0.35);
  padding: 0.9rem 0.95rem;
}

.stat-label {
  display: block;
  font-size: 0.75rem;
  color: #9ca3af;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  margin-bottom: 0.15rem;
}

.stat-value {
  display: block;
  font-family: "Space Grotesk", system-ui, sans-serif;
  font-size: 1.2rem;
  margin-bottom: 0.1rem;
}

.stat-note {
  display: block;
  font-size: 0.83rem;
  color: #cbd5f5;
}

/* CONTACT */

.contact-inner {
  display: flex;
  flex-direction: column;
  gap: 1.9rem;
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(0, 1.1fr);
  gap: 1.6rem;
  align-items: start;
}

.contact-main h3 {
  margin: 0 0 0.4rem;
  font-size: 1.05rem;
}

.contact-main p {
  margin: 0 0 0.9rem;
  color: #e5e7eb;
}

.contact-data {
  display: flex;
  flex-wrap: wrap;
  gap: 1.8rem;
}

.contact-block {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.label {
  display: block;
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #9ca3af;
}

.contact-link {
  text-decoration: none;
  font-weight: 500;
  color: #e5e7eb;
}

.contact-link.big.phone-inline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  border: 1px solid rgba(56, 189, 248, 0.85);
  background: rgba(15, 23, 42, 0.95);
  font-size: 1.1rem;
  letter-spacing: 0.04em;
}

.contact-link:hover {
  text-decoration: underline;
}

.contact-note {
  font-size: 0.9rem;
  color: #d1d5db;
  background: rgba(15, 23, 42, 0.96);
  border-radius: 1rem;
  border: 1px solid rgba(148, 163, 184, 0.35);
  padding: 1rem 1rem;
}

/* FOOTER */

.site-footer {
  border-top: 1px solid rgba(148, 163, 184, 0.2);
  margin-top: 2.5rem;
}


.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 0.9rem 0 1.2rem;
  font-size: 0.8rem;
  color: #9ca3af;
}

.to-top {
  text-decoration: none;
  font-size: 0.9rem;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.4);
  padding: 0.35rem 0.7rem;
  background: rgba(15, 23, 42, 0.96);
}

/* FLOATING CALL BANNER */

.call-banner {
  position: fixed;
  inset: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  pointer-events: none;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.25s ease, transform 0.25s ease;
  z-index: 40;
}

.call-banner-inner {
  pointer-events: auto;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.6rem 0.9rem;
  border-radius: 1rem;
  background: rgba(15, 23, 42, 0.98);
  border: 1px solid rgba(56, 189, 248, 0.5);
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.85);
  max-width: min(460px, 100% - 2.5rem);
}

.call-banner-text {
  font-size: 0.85rem;
  color: #e5e7eb;
}

.call-banner-btn {
  padding-inline: 0.9rem;
  border-radius: 999px;
  border-color: rgba(56, 189, 248, 0.95);
  background: linear-gradient(135deg, #22C55E, #06B6D4);
  font-weight: 600;
  letter-spacing: 0.05em;
  font-size: 0.85rem;
  white-space: nowrap;
}

.call-banner-close {
  border: none;
  background: transparent;
  color: #9ca3af;
  font-size: 1.1rem;
  line-height: 1;
  cursor: pointer;
  padding: 0 0.15rem;
}

.call-banner.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* RESPONSIVE */

@media (max-width: 960px) {
  .cards-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .industries-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .about-inner {
    grid-template-columns: minmax(0, 1fr);
  }

  .contact-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 780px) {
  .header-inner {
    padding-block: 0.7rem;
  }

  .nav {
    display: none;
  }

  .hero {
    padding-top: 3.3rem;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(100% - 1.8rem, 620px);
  }

  .cards-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .industries-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 0.9rem 0 1.2rem;
  font-size: 0.8rem;
  color: #9ca3af;
}

  .call-banner-inner {
    max-width: min(520px, 100% - 1.8rem);
  }
}

.logo-img {
  width: 44px;
  height: 44px;
  object-fit: contain;
  display: block;
}

.logo-img-full {
  height: 48px;
  width: auto;
  display: block;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 0.9rem 0 1.2rem;
  font-size: 0.8rem;
  color: #9ca3af;
}

.footer-logo-link {
  display: inline-flex;
  align-items: center;
}

.footer-logo {
  height: 32px;
  width: auto;
  display: block;
}
