:root {
--bg: #020202;
--bg-2: #070707;
--panel: rgba(255,255,255,0.05);
--panel-2: rgba(255,255,255,0.03);
--red: #ff1212;
--red-2: #ff3b3b;
--red-dark: #9a0000;
--white: #ffffff;
--dark: #000000;
--text: #e9e9e9;
--muted: #aaaaaa;
--line: rgba(255,255,255,0.08);
--glow: 0 0 20px rgba(255,18,18,0.35), 0 0 60px rgba(255,18,18,0.12);
--glow-strong: 0 0 26px rgba(255,18,18,0.55), 0 0 90px rgba(255,18,18,0.16);
--shadow: 0 25px 80px rgba(0,0,0,0.45);
--radius: 24px;
--max: 1240px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

#chi-siamo, #servizi, #gallery{margin-top:-100px}


body {
margin: 0;
font-family: 'Barlow', sans-serif;
background:
radial-gradient(circle at top right, rgba(255,18,18,0.08), transparent 28%),
radial-gradient(circle at left center, rgba(255,18,18,0.05), transparent 22%),
linear-gradient(180deg, #050505 0%, #020202 100%);
color: var(--white);
overflow-x: hidden;
}

body::before {
content: '';
position: fixed;
inset: 0;
pointer-events: none;
background:
linear-gradient(rgba(255,255,255,0.018) 1px, transparent 1px),
linear-gradient(90deg, rgba(255,255,255,0.018) 1px, transparent 1px);
background-size: 36px 36px;
mask-image: radial-gradient(circle at center, black 40%, transparent 95%);
opacity: .22;
z-index: 0;
}

a { color: inherit; text-decoration: none; }
a:hover {color: var(--red);text-decoration: underline;}


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

.container_turbo {width: min(92%, var(--max));margin: 0 auto;position: relative;z-index: 2;}

.topbar {
position: fixed;
top: 0;
left: 0;
right: 0;
z-index: 1000;
background: rgba(0,0,0,0.62);
backdrop-filter: blur(16px);
border-bottom: 1px solid rgba(255,255,255,0.06);
}

.nav {min-height: 84px;display: flex;align-items: center;justify-content: space-between;gap: 28px;}

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

.logo img {
width: 230px;
max-width: 48vw;
/*background: #ddd;
padding: 3px;
border-radius: 10px;
box-shadow: 0 0 0 1px rgba(255,255,255,0.08);*/
}

.menu {display: flex;align-items: center;gap: 22px;flex-wrap: wrap;}

.menu a {
font-size: .92rem;
text-transform: uppercase;
letter-spacing: 1px;
font-weight: 700;
color: rgba(255,255,255,0.85);
position: relative;
}

.menu a:not(.btn)::after {
content: '';
position: absolute;
left: 0;
bottom: -8px;
width: 0;
height: 2px;
background: var(--red);
box-shadow: var(--glow);
transition: .25s ease;
}

.menu a:hover { color: var(--white); }
.menu a:hover::after { width: 100%; }

.btn {
display: inline-flex;
align-items: center;
justify-content: center;
border-radius: 999px;
padding: 14px 24px;
font-weight: 800;
text-transform: uppercase;
letter-spacing: .7px;
transition: .25s ease;
border: 1px solid transparent;
}

.btn-primary {background: linear-gradient(135deg, var(--red), var(--red-dark));box-shadow: var(--glow), 0 14px 34px rgba(255,18,18,0.24);}

.btn-primary:hover { transform: translateY(-2px); box-shadow: var(--glow-strong), 0 16px 40px rgba(255,18,18,0.3); }

.btn-outline {border-color: rgba(255,255,255,0.14);background: rgba(255,255,255,0.04);}

.btn-outline:hover {border-color: rgba(255,18,18,0.35);box-shadow: var(--glow);}

.btn-primary:hover {color:var(--white);background-color: var(--red);border-color: var(--red);}

.modal p,.modal h2{color:var(--dark);}

.hero {min-height: 100vh;position: relative;overflow: hidden;display: flex;align-items: center;padding-top: 110px;isolation: isolate;}

.hero::after {
content: '';
position: absolute;
inset: auto -10% -20% auto;
width: 520px;
height: 520px;
border-radius: 50%;
background: radial-gradient(circle, rgba(255,18,18,0.2), rgba(255,18,18,0.03) 45%, transparent 70%);
filter: blur(30px);
z-index: -2;
}

.hero-grid {display: grid;grid-template-columns: 1.15fr 0.85fr;gap: 34px;align-items: center;}

.eyebrow {
display: inline-flex;
align-items: center;
gap: 10px;
padding: 9px 16px;
border-radius: 999px;
border: 1px solid rgba(255,18,18,0.28);
background: rgba(255,18,18,0.1);
color: #ffb0b0;
text-transform: uppercase;
font-weight: 800;
font-size: .82rem;
letter-spacing: 1.4px;
margin-bottom: 18px;
box-shadow: var(--glow);
}

h1, h2, h3, .number, .mini-stat strong {font-family: 'Orbitron', sans-serif;}

.hero h1 {margin: 0 0 18px;font-size: clamp(3.2rem, 8vw, 4.4rem);line-height: .88;text-transform: uppercase;letter-spacing: 1px;text-shadow: 0 8px 30px rgba(0,0,0,.5);}

.hero h1 .accent {color: var(--red);text-shadow: 0 0 18px rgba(255,18,18,.5), 0 0 60px rgba(255,18,18,.18);display: block;}

.hero p {max-width: 720px;color: var(--text);font-size: 1.08rem;margin-bottom: 30px;}

.hero-actions {display: flex;gap: 14px;flex-wrap: wrap;margin-bottom: 30px;}

.mini-stats {display: grid;grid-template-columns: repeat(3, 1fr);gap: 16px;max-width: 760px;}

.mini-stat {
padding: 18px;
border-radius: 20px;
background: linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.03));
border: 1px solid rgba(255,255,255,0.08);
box-shadow: var(--shadow);
backdrop-filter: blur(10px);
}

.mini-stat strong {display: block;color: var(--red);font-size: 1.8rem;margin-bottom: 6px;text-shadow: 0 0 18px rgba(255,18,18,.45);}

.hero-side {position: relative;min-height: 540px;}

.spec-card {
position: absolute;
right: 0;
width: min(100%, 470px);
background: linear-gradient(180deg, rgba(18,18,18,0.95), rgba(8,8,8,0.88));
border: 1px solid rgba(255,255,255,0.08);
border-radius: 28px;
overflow: hidden;
box-shadow: var(--shadow);
}

.spec-card.top {top: 10px;transform: rotate(2deg);}

.spec-card.bottom {bottom: 0;right: 80px;transform: rotate(-4deg);}

.spec-card img {width: 100%;height: 240px;object-fit: cover;}

.spec-card .content {padding: 22px;}

.spec-card .tag {
color: var(--red-2);
text-transform: uppercase;
letter-spacing: 1.6px;
font-weight: 800;
font-size: .8rem;
margin-bottom: 10px;
}

.spec-card h3 {margin: 0 0 10px;font-size: 1.1rem;text-transform: uppercase;}

.spec-card p { color: #d7d7d7; margin: 0; }

section {padding: 110px 0;position: relative;z-index: 2;}

.section-header {max-width: 780px;margin-bottom: 42px;}

.kicker {
color: var(--red);
text-transform: uppercase;
font-size: .84rem;
font-weight: 900;
letter-spacing: 1.8px;
margin-bottom: 12px;
text-shadow: 0 0 14px rgba(255,18,18,.35);
}

.section-header h2 {margin: 0 0 12px;font-size: clamp(2.2rem, 5vw, 4.2rem);line-height: .93;text-transform: uppercase;}

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

.about-grid {display: grid;grid-template-columns: 0.98fr 1.02fr;gap: 24px;align-items: stretch;}

.panel {
background: linear-gradient(180deg, rgba(255,255,255,0.05), rgba(255,255,255,0.025));
border: 1px solid rgba(255,255,255,0.08);
border-radius: var(--radius);
box-shadow: var(--shadow);
overflow: hidden;
position: relative;
}

.panel::before {
content: '';
position: absolute;
inset: 0 0 auto 0;
height: 2px;
background: linear-gradient(90deg, var(--red), transparent 50%);
box-shadow: var(--glow);
}

.panel-body { padding: 34px; }
.panel-body p { color: #d6d6d6; }

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

.service-card {
padding: 28px;
border-radius: 22px;
background: linear-gradient(180deg, rgba(18,18,18,0.98), rgba(8,8,8,0.94));
border: 1px solid rgba(255,255,255,0.08);
box-shadow: var(--shadow);
position: relative;
overflow: hidden;
transition: .28s ease;
}

.service-card:hover {transform: translateY(-8px);border-color: rgba(255,18,18,0.22);box-shadow: var(--shadow), var(--glow);}

.service-card::after {
content: '';
position: absolute;
top: -20%;
right: -25%;
width: 180px;
height: 180px;
background: radial-gradient(circle, rgba(255,18,18,.16), transparent 70%);
filter: blur(10px);
}

.number {font-size: 2rem;color: rgba(255,255,255,0.12);line-height: 1;margin-bottom: 18px;}

.service-card h3 {margin: 0 0 10px;font-size: 1.2rem;text-transform: uppercase;}

.service-card p { margin: 0; color: #d1d1d1; }

.gallery-grid {display: grid;grid-template-columns: 1.2fr .8fr .8fr 1.2fr;gap: 16px;grid-auto-rows: 260px;}

.gallery-item {position: relative;overflow: hidden;border-radius: 22px;border: 1px solid rgba(255,255,255,0.08);box-shadow: var(--shadow);}

.gallery-item.tall { grid-row: span 2; }
.gallery-item.wide { grid-column: span 2; }

.gallery-item img {width: 100%;height: 100%;object-fit: cover;transition: transform .45s ease; position: relative; z-index: 1;}

.gallery-item:hover img { transform: scale(1.08); }

.gallery-item::after {content: '';position: absolute;inset: 0;background: linear-gradient(180deg, transparent 30%, rgba(0,0,0,.78) 100%);}

.gallery-item span {
position: absolute;
left: 18px;
bottom: 16px;
z-index: 4;
font-weight: 800;
text-transform: uppercase;
letter-spacing: 1px;
}

.gallery-category {cursor: pointer;}

.gallery-category:hover {box-shadow: var(--shadow), var(--glow);}

.gallery-item a {cursor: zoom-in;}

.gallery-category {cursor: pointer;}

.gallery-item a.gallery-link {position: absolute;inset: 0;display: block;z-index: 3;}

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

.review-card {
padding: 30px;
background: linear-gradient(180deg, rgba(16,16,16,0.98), rgba(6,6,6,0.94));
border: 1px solid rgba(255,255,255,0.08);
border-radius: 22px;
box-shadow: var(--shadow);
position: relative;
}

.review-card::before {
content: '?';
position: absolute;
top: 18px;
right: 22px;
font-size: 2rem;
color: rgba(255,18,18,0.15);
text-shadow: 0 0 18px rgba(255,18,18,.25);
}

.stars {
color: var(--red);
letter-spacing: 3px;
margin-bottom: 16px;
text-shadow: 0 0 16px rgba(255,18,18,.4);
}

.review-card p { color: #d4d4d4; margin: 0 0 18px; }
.review-card strong { display: block; text-transform: uppercase; }
.review-card small { color: #9b9b9b; }

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

.map-box iframe {width: 100%;height: 100%;min-height: 520px;border: 0;filter: grayscale(1) invert(.95) contrast(1.12);}

.contact-box {padding: 34px;}

.info-stack {display: grid;gap: 12px;margin: 22px 0 24px;}

.info-item {padding: 14px 16px;border-radius: 16px;background: rgba(255,255,255,0.04);border: 1px solid rgba(255,255,255,0.08);}

form {display: grid;gap: 14px;}

input, textarea {
width: 100%;
padding: 16px;
border-radius: 16px;
border: 1px solid rgba(255,255,255,0.08);
background: #0d0d0d;
color: var(--white);
font: inherit;
outline: none;
transition: .2s ease;
}

input:focus, textarea:focus {border-color: rgba(255,18,18,0.45);box-shadow: 0 0 0 3px rgba(255,18,18,0.08), var(--glow);}

textarea {min-height:160px; resize:none;}

form .is-invalid {padding-right: calc(1.5em + .75rem);border-color:var(--red);background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='none' stroke='%23dc3545' viewBox='0 0 12 12'%3e%3ccircle cx='6' cy='6' r='4.5'/%3e%3cpath stroke-linejoin='round' d='M5.8 3.6h.4L6 6.5z'/%3e%3ccircle cx='6' cy='8.2' r='.6' fill='%23dc3545' stroke='none'/%3e%3c/svg%3e");background-repeat: no-repeat;background-position: right calc(.375em + .1875rem) center;background-size: calc(.75em + .375rem) calc(.75em + .375rem);}


footer {padding: 28px 0 42px;border-top: 1px solid rgba(255,255,255,0.08);background: rgba(0,0,0,0.6);position: relative;z-index: 2;}

.footer-row {display: flex;justify-content: space-between;gap: 18px;flex-wrap: wrap;color: #b8b8b8;}

@media (max-width: 1100px) {
.hero-grid,
.about-grid,
.contact-grid,
.services-grid,
.reviews-grid {grid-template-columns: 1fr 1fr;}
.hero-side {min-height: 420px;}
.gallery-grid {grid-template-columns: repeat(2, 1fr);grid-auto-rows: 240px;}
.gallery-item.tall,
.gallery-item.wide { grid-column: auto; grid-row: auto; }
}

@media (max-width: 760px) {
.nav {flex-direction: column;padding: 14px 0;}
.menu {justify-content: center;gap: 14px;}
.hero {min-height: auto;padding: 170px 0 80px;}
.hero-grid,.about-grid,.contact-grid,.services-grid,.reviews-grid,.gallery-grid,.mini-stats {grid-template-columns: 1fr;}
.hero-side {min-height: auto;}
.spec-card,.spec-card.top,.spec-card.bottom {position: relative;right: auto;top: auto;bottom: auto;transform: none;width: 100%;margin-bottom: 18px;}
section { padding: 80px 0; }.logo img { width: 190px; }
}




.menu-toggle {
  display: none;
  position: relative;
  width: 58px;
  height: 58px;
  padding: 0;
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 16px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.02));
  backdrop-filter: blur(10px);
  box-shadow:
    0 10px 30px rgba(0,0,0,0.35),
    inset 0 1px 0 rgba(255,255,255,0.06);
  cursor: pointer;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
  z-index: 1101;
  flex-shrink: 0;
}

.menu-toggle::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 16px;
  padding: 1px;
  background: linear-gradient(135deg, rgba(255,18,18,0.55), rgba(255,255,255,0.04));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: .7;
  pointer-events: none;
}

.menu-toggle:hover {
  transform: translateY(-1px);
  border-color: rgba(255,18,18,0.24);
  box-shadow:
    0 14px 34px rgba(0,0,0,0.42),
    0 0 18px rgba(255,18,18,0.18),
    inset 0 1px 0 rgba(255,255,255,0.08);
}

.menu-toggle span {
  position: absolute;
  left: 50%;
  width: 24px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, #ff3b3b 0%, #ff1212 100%);
  box-shadow:
    0 0 10px rgba(255,18,18,0.30),
    0 0 20px rgba(255,18,18,0.12);
  transform: translateX(-50%);
  transition: transform .28s ease, opacity .22s ease, top .28s ease, width .25s ease;
}

.menu-toggle span:nth-child(1) {
  top: 20px;
}

.menu-toggle span:nth-child(2) {
  top: 28px;
  width: 18px;
}

.menu-toggle span:nth-child(3) {
  top: 36px;
}

/* stato aperto: hamburger -> X premium */
.menu-toggle.active span:nth-child(1) {
  top: 28px;
  width: 24px;
  transform: translateX(-50%) rotate(45deg);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
  transform: translateX(-50%) scaleX(0.3);
}

.menu-toggle.active span:nth-child(3) {
  top: 28px;
  width: 24px;
  transform: translateX(-50%) rotate(-45deg);
}

.menu-toggle:active {
  transform: scale(0.97);
}

.menu.active {
  box-shadow:
    0 20px 60px rgba(0,0,0,0.45),
    0 0 30px rgba(255,18,18,0.10);
}

/* =========================================
   HERO / HEADER RESPONSIVE FINAL
   BLOCCO UNICO DA TENERE
========================================= */

html,
body {
  overflow-x: hidden;
}

.hero,
.hero-grid,
.hero-grid > div,
.hero-side,
.hero-content,
.spec-card,
.spec-card .content,
.menu,
.nav,
.container_turbo {
  min-width: 0;
}

.hero h1,
.hero p,
.spec-card h3,
.spec-card p,
.menu a {
  overflow-wrap: anywhere;
  word-break: normal;
}

.topbar {
  width: 100%;
}

.nav {
  min-height: 84px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.menu {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 16px;
  flex-wrap: wrap;
}

.menu a {
  white-space: normal;
}

.hero-content {
  min-width: 0;
  max-width: 100%;
}

.hero {
  min-height: 100vh;
  padding-top: 130px;
}

.hero-grid {
  display: grid;
  gap: 28px;
}

.hero p {
  max-width: 100%;
  line-height: 1.7;
}

.spec-card img {
  width: 100%;
  object-fit: cover;
  display: block;
}

.mini-stats {
  display: grid;
  gap: 16px;
  max-width: 760px;
}

.mini-stat {
  min-width: 0;
}

/* =========================================
   DESKTOP
========================================= */
@media (min-width: 1101px) {
  .hero {
    overflow: visible;
    padding-top: 130px;
  }

  .hero-grid {
    grid-template-columns: minmax(0, 1.08fr) minmax(420px, 0.92fr);
    align-items: center;
  }

  .hero-side {
    position: relative;
    min-height: 760px;
    width: 100%;
    overflow: visible;
  }

  .spec-card {
    position: absolute;
    width: min(100%, 440px);
    max-width: 440px;
    overflow: hidden;
  }

  .spec-card.top {
    top: 20px;
    right: 0;
    transform: rotate(2deg);
    z-index: 2;
  }

  .spec-card.bottom {
    top: 330px;
    right: 90px;
    transform: rotate(-4deg);
    z-index: 1;
  }

  .spec-card img {
    height: 240px;
  }

  .mini-stats {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* =========================================
   TABLET E SOTTO
   hero in colonna, card sotto il testo
========================================= */
@media (max-width: 1100px) {
  .hero {
    min-height: auto;
    padding-top: 125px;
    padding-bottom: 70px;
    overflow: hidden;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 24px;
    align-items: start;
  }

  .hero-side {
    position: relative;
    min-height: auto;
    display: grid;
    gap: 18px;
    overflow: visible;
  }

  .spec-card,
  .spec-card.top,
  .spec-card.bottom {
    position: relative;
    top: auto;
    right: auto;
    bottom: auto;
    left: auto;
    transform: none;
    width: 100%;
    max-width: 100%;
    margin: 0;
    border-radius: 22px;
    overflow: hidden;
  }

  .spec-card img {
    height: 210px;
  }
}

/* =========================================
   TABLET ORIZZONTALE
   due card affiancate sotto hero-content
========================================= */
@media (min-width: 901px) and (max-width: 1100px) {
  .hero {
    padding-top: 118px;
    padding-bottom: 70px;
  }

  .hero-side {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
  }

  .hero h1 {
    font-size: clamp(2.6rem, 6.2vw, 4.1rem);
    line-height: 0.95;
    margin-bottom: 16px;
  }

  .hero p {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 20px;
  }

  .spec-card .content {
    padding: 16px;
  }

  .spec-card h3 {
    font-size: 0.98rem;
    line-height: 1.25;
  }

  .spec-card p {
    font-size: 0.92rem;
    line-height: 1.5;
  }

  .mini-stats {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* =========================================
   TABLET VERTICALE
========================================= */
@media (min-width: 761px) and (max-width: 900px) {
  .hero {
    padding-top: 108px;
  }

  .hero-side {
    grid-template-columns: 1fr;
  }

  .hero h1 {
    font-size: clamp(2.5rem, 7vw, 3.8rem);
    line-height: 0.95;
  }

  .spec-card img {
    height: 220px;
  }

  .mini-stats {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* =========================================
   MOBILE
========================================= */
@media (max-width: 1024px) {
  .topbar {
    padding: 0;
  }

 .nav {
    position: relative;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 0;
    min-height: 84px;
    flex-wrap: nowrap;
  }

  .logo img {
    width: 180px;
    max-width: 60vw;
  }

  .menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .menu {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    right: 0;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    padding: 14px;
    background: rgba(3,3,3,0.96);
    backdrop-filter: blur(14px);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 20px;
    box-shadow:
      0 20px 60px rgba(0,0,0,0.45),
      0 0 24px rgba(255,18,18,0.08);

    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-10px);
    transition: opacity .25s ease, transform .25s ease, visibility .25s ease;
    overflow: hidden;
    max-height: none;
    flex-wrap: nowrap;
    justify-content: flex-start;
  }

  .menu.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
  }

  .menu a,
  .menu .btn {
    width: 100%;
    text-align: center;
    font-size: 0.95rem;
    padding: 14px 16px;
  }

  .menu a:not(.btn)::after {
    display: none;
  }

  .hero {
    min-height: auto;
    padding-top: 140px;
    padding-bottom: 70px;
    align-items: flex-start;
  }
}




@media (max-width: 760px) {
  #chi-siamo,
  #servizi,
  #gallery {
    margin-top: 0;
  }

  .container_turbo {
    width: min(94%, var(--max));
  }

  .topbar {
    padding: 0;
  }

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

  .hero h1 {
    font-size: clamp(2.2rem, 10vw, 3.6rem);
    line-height: 0.95;
    margin-bottom: 16px;
  }

  .hero p {
    font-size: 0.98rem;
    line-height: 1.65;
    margin-bottom: 20px;
  }

  .eyebrow {
    font-size: 0.72rem;
    letter-spacing: 1px;
    padding: 8px 12px;
    margin-bottom: 14px;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    margin-bottom: 22px;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .mini-stats {
    grid-template-columns: 1fr;
    gap: 12px;
    max-width: 100%;
  }

  .mini-stat {
    padding: 16px;
  }

  .mini-stat strong {
    font-size: 1.5rem;
  }

  .hero-side {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .spec-card img {
    height: 200px;
  }

  .spec-card .content {
    padding: 18px;
  }

  .spec-card h3 {
    font-size: 1rem;
    line-height: 1.3;
  }

  .spec-card p {
    font-size: 0.94rem;
    line-height: 1.55;
  }

  section {
    padding: 70px 0;
  }
}

/* =========================================
   MOBILE ORIZZONTALE / PHABLET
========================================= */
@media (min-width: 600px) and (max-width: 760px) {
  .hero {
    padding-top: 170px;
  }

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

  .spec-card img {
    height: 170px;
  }

  .spec-card .content {
    padding: 14px;
  }

  .spec-card h3 {
    font-size: 0.92rem;
  }

  .spec-card p {
    font-size: 0.86rem;
    line-height: 1.45;
  }
}

/* =========================================
   MOBILE PICCOLO
========================================= */
@media (max-width: 480px) {
  .hero {
    padding-top: 245px;
  }

  .menu {
    flex-direction: column;
    align-items: stretch;
  }

  .menu a,
  .menu .btn {
    width: 100%;
    text-align: center;
  }

  .hero h1 {
    font-size: clamp(2rem, 11vw, 2.8rem);
  }

  .hero-side {
    grid-template-columns: 1fr;
  }

  .spec-card img {
    height: 180px;
  }
}


/* =========================================
   FIX FORZATO TABLET ORIZZONTALE
   card sotto hero-content, affiancate
========================================= */
@media (min-width: 820px) and (max-width: 1366px) and (orientation: landscape) {
  .hero {
    min-height: auto !important;
    padding-top: 115px !important;
    padding-bottom: 70px !important;
    overflow: hidden !important;
  }

  .hero-grid {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 22px !important;
    align-items: start !important;
  }

  .hero-content {
    width: 100% !important;
    max-width: 100% !important;
    order: 1 !important;
  }

  .hero-side {
    position: relative !important;
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 18px !important;
    width: 100% !important;
    max-width: 100% !important;
    min-height: auto !important;
    order: 2 !important;
    overflow: visible !important;
  }

  .spec-card,
  .spec-card.top,
  .spec-card.bottom {
    position: relative !important;
    top: auto !important;
    right: auto !important;
    bottom: auto !important;
    left: auto !important;
    transform: none !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    z-index: auto !important;
    border-radius: 22px !important;
    overflow: hidden !important;
  }

  .spec-card img {
    height: 180px !important;
  }

  .spec-card .content {
    padding: 16px !important;
  }

  .spec-card h3 {
    font-size: 0.98rem !important;
    line-height: 1.25 !important;
  }

  .spec-card p {
    font-size: 0.92rem !important;
    line-height: 1.45 !important;
  }
}
