/* ==========================================================================
   EVOLVE S.r.l. — sito vetrina
   Palette derivata dal brand: antracite scuro + gradiente magenta → blu
   ========================================================================== */

:root {
  --bg: #14161b;
  --bg-soft: #1a1d24;
  --panel: #20242d;
  --panel-2: #262b36;
  --line: rgba(255, 255, 255, 0.08);
  --text: #eef1f6;
  --muted: #a3abb8;
  --magenta: #e6007e;
  --violet: #8b2fc9;
  --blue: #3d4fd8;
  --gradient: linear-gradient(100deg, var(--magenta) 0%, var(--violet) 52%, var(--blue) 100%);
  --radius: 20px;
  --radius-sm: 12px;
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
  --header-h: 76px;
  --container: 1180px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
}

body {
  margin: 0;
  font-family: "Titillium Web", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

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

h1, h2, h3, h4 {
  line-height: 1.15;
  margin: 0 0 0.5em;
  font-weight: 700;
  letter-spacing: 0.01em;
}

p {
  margin: 0 0 1em;
}

.container {
  width: min(var(--container), calc(100% - 48px));
  margin-inline: auto;
}

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

/* ------------------------------------------------------------------ */
/* Header                                                              */
/* ------------------------------------------------------------------ */

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  transition: background 0.3s ease, box-shadow 0.3s ease;
}

.site-header.is-scrolled {
  background: rgba(20, 22, 27, 0.82);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 var(--line);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand img {
  height: 46px;
  width: auto;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.main-nav a {
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  color: var(--muted);
  transition: color 0.2s ease, background 0.2s ease;
}

.main-nav a:hover,
.main-nav a:focus-visible {
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
}

.main-nav .nav-cta {
  color: #fff;
  background: var(--gradient);
  margin-left: 8px;
}

.main-nav .nav-cta:hover {
  filter: brightness(1.12);
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  margin-left: 10px;
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.lang-switch a,
.lang-switch span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 10px;
  border-radius: 999px;
  color: var(--muted);
}

.lang-switch .flag {
  width: 17px;
  height: 12px;
  border-radius: 2.5px;
  flex: none;
  /* contorno leggero: separa la banda bianca delle bandiere dallo sfondo */
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.18);
}

.lang-switch .active {
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: transparent;
  cursor: pointer;
  padding: 0;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 4px auto;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.nav-open .nav-toggle span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ------------------------------------------------------------------ */
/* Hero                                                                */
/* ------------------------------------------------------------------ */

.hero {
  position: relative;
  padding: calc(var(--header-h) + 64px) 0 40px;
  /* niente overflow:hidden: gli aloni sfumati proseguono nella sezione
     successiva senza tagli (l'overflow orizzontale è gestito dal body) */
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.32;
  pointer-events: none;
}

.hero::before {
  width: 560px;
  height: 560px;
  background: var(--magenta);
  top: -180px;
  right: -120px;
}

.hero::after {
  width: 520px;
  height: 520px;
  background: var(--blue);
  bottom: -220px;
  left: -160px;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 48px;
}

/* evita il "grid blowout": le immagini intrinsecamente grandi non
   devono dettare la larghezza minima delle colonne */
.hero-grid > *,
.about-grid > *,
.eng-grid > * {
  min-width: 0;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 20px;
}

.eyebrow::before {
  content: "";
  width: 34px;
  height: 2px;
  background: var(--gradient);
  border-radius: 2px;
}

.hero h1 {
  font-size: clamp(2.1rem, 4.6vw, 3.4rem);
  margin-bottom: 20px;
}

.hero .lead {
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  color: var(--muted);
  max-width: 54ch;
  margin-bottom: 32px;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 26px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 16px;
  transition: transform 0.2s var(--ease), filter 0.2s ease, background 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  color: #fff;
  background: var(--gradient);
  box-shadow: 0 10px 30px rgba(230, 0, 126, 0.28);
}

.btn-primary:hover {
  filter: brightness(1.1);
}

.btn-ghost {
  color: var(--text);
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.06);
}

.hero-figure {
  position: relative;
  margin: 0;
}

.hero-figure::before {
  content: "";
  position: absolute;
  inset: 8% 6% 2%;
  background: var(--gradient);
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.35;
}

.hero-figure img {
  position: relative;
  width: min(100%, 520px);
  margin-inline: auto;
  filter: drop-shadow(0 30px 50px rgba(0, 0, 0, 0.55));
}

.hero-stats {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 56px;
  padding: 26px 30px;
  background: rgba(32, 36, 45, 0.66);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.stat b {
  display: block;
  font-size: clamp(1.5rem, 2.6vw, 2rem);
  line-height: 1.1;
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.stat span {
  font-size: 14px;
  color: var(--muted);
}

/* ------------------------------------------------------------------ */
/* Sezioni generiche                                                   */
/* ------------------------------------------------------------------ */

.section {
  padding: 96px 0;
}

.section-head {
  max-width: 720px;
  margin-bottom: 52px;
}

.section-head h2 {
  font-size: clamp(1.7rem, 3.4vw, 2.5rem);
}

.section-head p {
  color: var(--muted);
  font-size: 1.05rem;
  margin: 0;
}

.bg-soft {
  background: var(--bg-soft);
  border-block: 1px solid var(--line);
}

/* ------------------------------------------------------------------ */
/* Azienda                                                             */
/* ------------------------------------------------------------------ */

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

.about-media {
  position: relative;
  margin: 0;
}

.about-media img {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
}

.about-media::after {
  content: "";
  position: absolute;
  inset: auto -14px -14px auto;
  width: 55%;
  height: 55%;
  border-radius: var(--radius);
  background: var(--gradient);
  opacity: 0.25;
  filter: blur(40px);
  z-index: -1;
}

.value-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 56px;
}

.value-card {
  padding: 26px 24px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: transform 0.3s var(--ease), border-color 0.3s ease;
}

.value-card:hover {
  transform: translateY(-4px);
  border-color: rgba(230, 0, 126, 0.35);
}

.value-card .icon {
  display: inline-grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin-bottom: 16px;
  border-radius: 12px;
  background: var(--gradient);
  color: #fff;
}

.value-card h3 {
  font-size: 1.1rem;
  margin-bottom: 8px;
}

.value-card p {
  font-size: 0.95rem;
  color: var(--muted);
  margin: 0;
}

/* ------------------------------------------------------------------ */
/* Chi siamo: team e timeline                                          */
/* ------------------------------------------------------------------ */

.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.team-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.3s var(--ease), border-color 0.3s ease;
}

.team-card:hover {
  transform: translateY(-4px);
  border-color: rgba(139, 47, 201, 0.45);
}

.team-card img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-bottom: 1px solid var(--line);
}

.team-body {
  padding: 18px 20px 22px;
}

.team-body h3 {
  font-size: 1.05rem;
  margin-bottom: 2px;
}

.team-role {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 10px;
}

.team-body p:last-child {
  font-size: 0.9rem;
  color: var(--muted);
  margin: 0;
}

.timeline {
  list-style: none;
  margin: 64px 0 0;
  padding: 0;
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 26px;
}

.timeline::before {
  content: "";
  position: absolute;
  top: 8px;
  left: 4px;
  right: 4px;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, rgba(230, 0, 126, 0.55), rgba(139, 47, 201, 0.55), rgba(61, 79, 216, 0.55));
}

.timeline li {
  position: relative;
  padding-top: 30px;
}

.timeline li::before {
  content: "";
  position: absolute;
  top: 0;
  left: 4px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--gradient);
  box-shadow: 0 0 0 5px rgba(230, 0, 126, 0.14);
}

.timeline b {
  display: block;
  font-size: 1.15rem;
  margin-bottom: 4px;
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.timeline p {
  font-size: 0.92rem;
  color: var(--muted);
  margin: 0;
}

/* ------------------------------------------------------------------ */
/* Prodotti                                                            */
/* ------------------------------------------------------------------ */

.product-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}

.product-card {
  position: relative;
  padding: 36px 34px 30px;
  background: linear-gradient(180deg, var(--panel-2), var(--panel));
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 6px);
  overflow: hidden;
  transition: transform 0.3s var(--ease), box-shadow 0.3s ease;
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}

.product-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: var(--gradient);
}

.product-card .badge {
  display: inline-block;
  padding: 5px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #fff;
  background: var(--gradient);
  margin-bottom: 14px;
}

.product-card h3 {
  font-size: 1.7rem;
  margin-bottom: 6px;
}

.product-card .sub {
  color: var(--muted);
  font-size: 0.98rem;
  margin-bottom: 20px;
}

.product-card img {
  width: min(100%, 360px);
  margin: 0 auto 22px;
  filter: drop-shadow(0 20px 30px rgba(0, 0, 0, 0.5));
}

.product-card ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
  font-size: 0.95rem;
  color: var(--muted);
}

.product-card li {
  display: flex;
  gap: 10px;
  align-items: baseline;
}

.product-card li::before {
  content: "";
  flex: none;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gradient);
  transform: translateY(-1px);
}

/* ------------------------------------------------------------------ */
/* Caratteristiche (dettagli circolari)                                */
/* ------------------------------------------------------------------ */

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.feature-card {
  padding: 30px 26px;
  text-align: center;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: transform 0.3s var(--ease), border-color 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-4px);
  border-color: rgba(61, 79, 216, 0.45);
}

.feature-card img {
  width: 132px;
  height: 132px;
  margin: 0 auto 18px;
  border-radius: 50%;
  border: 3px solid transparent;
  background: var(--gradient) border-box;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4);
}

.feature-card h3 {
  font-size: 1.05rem;
  margin-bottom: 6px;
}

.feature-card p {
  font-size: 0.92rem;
  color: var(--muted);
  margin: 0;
}

/* ------------------------------------------------------------------ */
/* Engineering / wireframe                                             */
/* ------------------------------------------------------------------ */

.eng-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 56px;
  align-items: center;
}

.eng-media {
  margin: 0;
  padding: 28px;
  background: #f4f5f8;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.eng-media img {
  margin-inline: auto;
  width: min(100%, 420px);
}

.check-list {
  list-style: none;
  margin: 28px 0 0;
  padding: 0;
  display: grid;
  gap: 16px;
}

.check-list li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.check-list .check {
  flex: none;
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  margin-top: 3px;
  border-radius: 50%;
  background: var(--gradient);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
}

.check-list b {
  display: block;
}

.check-list span.desc {
  color: var(--muted);
  font-size: 0.95rem;
}

/* ------------------------------------------------------------------ */
/* Specifiche tecniche                                                 */
/* ------------------------------------------------------------------ */

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
}

.spec-table {
  width: 100%;
  min-width: 680px;
  border-collapse: collapse;
  font-size: 0.95rem;
}

.spec-table th,
.spec-table td {
  padding: 14px 20px;
  text-align: left;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

.spec-table thead th {
  font-size: 1rem;
  letter-spacing: 0.04em;
  background: linear-gradient(100deg, rgba(230, 0, 126, 0.16), rgba(61, 79, 216, 0.16));
}

.spec-table thead th:first-child {
  width: 34%;
}

.spec-table tbody th {
  font-weight: 600;
  color: var(--muted);
  white-space: normal;
}

.spec-table tbody tr:last-child th,
.spec-table tbody tr:last-child td {
  border-bottom: 0;
}

.spec-table tbody tr:hover {
  background: rgba(255, 255, 255, 0.025);
}

.spec-note {
  margin-top: 14px;
  font-size: 0.85rem;
  color: var(--muted);
}

/* ------------------------------------------------------------------ */
/* Certificazioni                                                      */
/* ------------------------------------------------------------------ */

.cert-band {
  padding: 56px 0;
  background: var(--gradient);
}

.cert-band .container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.cert-band h2 {
  font-size: 1.4rem;
  margin: 0;
  color: #fff;
}

.cert-band p {
  margin: 4px 0 0;
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.98rem;
}

.cert-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.cert-chips span {
  padding: 10px 22px;
  border-radius: 999px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: #fff;
  border: 1.5px solid rgba(255, 255, 255, 0.55);
  background: rgba(255, 255, 255, 0.12);
}

/* ------------------------------------------------------------------ */
/* Contatti                                                            */
/* ------------------------------------------------------------------ */

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 22px;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.contact-block {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.contact-block .icon {
  margin-bottom: 0;
  flex: none;
}

.contact-info .btn {
  margin-top: auto;
  align-self: flex-start;
}

/* mappa coi colori originali: marker e vista satellite restano leggibili,
   incorniciata dalla card scura con angoli arrotondati */
.map-card {
  padding: 10px;
  overflow: hidden;
  min-height: 360px;
}

.map-card iframe {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 340px;
  border: 0;
  border-radius: calc(var(--radius) - 6px);
}

.contact-card {
  padding: 30px 28px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.contact-card .icon {
  display: inline-grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin-bottom: 16px;
  border-radius: 12px;
  background: var(--gradient);
  color: #fff;
}

.contact-card h3 {
  font-size: 1.05rem;
  margin-bottom: 6px;
}

.contact-card p,
.contact-card address {
  font-style: normal;
  color: var(--muted);
  font-size: 0.97rem;
  margin: 0;
}

.contact-card a {
  color: var(--text);
  font-weight: 600;
  border-bottom: 1px solid rgba(230, 0, 126, 0.5);
  transition: color 0.2s ease;
}

.contact-card a:hover {
  color: var(--magenta);
}

.contact-cta {
  margin-top: 40px;
  padding: 44px 40px;
  border-radius: calc(var(--radius) + 6px);
  background: linear-gradient(120deg, rgba(230, 0, 126, 0.14), rgba(61, 79, 216, 0.14)), var(--panel);
  border: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.contact-cta h3 {
  font-size: 1.5rem;
  margin: 0 0 4px;
}

.contact-cta p {
  margin: 0;
  color: var(--muted);
}

/* ------------------------------------------------------------------ */
/* Footer                                                              */
/* ------------------------------------------------------------------ */

.site-footer {
  padding: 56px 0 32px;
  border-top: 1px solid var(--line);
  background: var(--bg-soft);
}

.footer-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 36px;
}

.footer-brand img {
  height: 56px;
  width: auto;
  margin-bottom: 14px;
}

.footer-brand p {
  color: var(--muted);
  font-size: 0.92rem;
  max-width: 34ch;
  margin: 0;
}

.footer-col h4 {
  font-size: 0.85rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 14px;
}

.footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
  font-size: 0.95rem;
}

.footer-col a:hover {
  color: var(--magenta);
}

.footer-legal {
  padding-top: 24px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  font-size: 0.85rem;
  color: var(--muted);
}

/* ------------------------------------------------------------------ */
/* Animazioni reveal                                                   */
/* ------------------------------------------------------------------ */

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ------------------------------------------------------------------ */
/* Responsive                                                          */
/* ------------------------------------------------------------------ */

@media (max-width: 980px) {
  .hero-grid,
  .about-grid,
  .eng-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .hero-figure {
    order: -1;
  }

  .hero-figure img {
    width: min(80%, 420px);
  }

  .hero-stats {
    grid-template-columns: repeat(2, 1fr);
  }

  .product-grid {
    grid-template-columns: 1fr;
  }

  .feature-grid,
  .value-cards,
  .contact-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .eng-grid .eng-media {
    order: -1;
  }

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

  .timeline {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .timeline::before {
    top: 4px;
    bottom: 4px;
    left: 12px;
    right: auto;
    width: 2px;
    height: auto;
    background: linear-gradient(180deg, rgba(230, 0, 126, 0.55), rgba(139, 47, 201, 0.55), rgba(61, 79, 216, 0.55));
  }

  .timeline li {
    padding: 0 0 0 44px;
  }

  .timeline li::before {
    top: 2px;
  }
}

@media (max-width: 700px) {
  .nav-toggle {
    display: block;
  }

  .main-nav {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    padding: 18px 24px 26px;
    background: rgba(20, 22, 27, 0.97);
    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--line);
    transform: translateY(-8px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s;
  }

  .nav-open .main-nav {
    transform: none;
    opacity: 1;
    visibility: visible;
  }

  .main-nav a {
    padding: 12px 14px;
    font-size: 17px;
  }

  .main-nav .nav-cta {
    margin-left: 0;
    text-align: center;
    justify-content: center;
  }

  .lang-switch {
    margin: 10px 0 0;
    justify-content: center;
  }

  .section {
    padding: 64px 0;
  }

  .feature-grid,
  .value-cards,
  .contact-grid,
  .team-grid {
    grid-template-columns: 1fr;
  }

  .hero-stats {
    padding: 20px;
  }

  .contact-cta,
  .product-card {
    padding: 28px 22px;
  }
}
