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

html {
  -webkit-text-size-adjust: 100%;
}

img,
video,
iframe {
  max-width: 100%;
}

img {
  height: auto;
}

button,
input,
select,
textarea {
  font: inherit;
  max-width: 100%;
}

button,
select {
  min-height: 44px;
}

h1, h2, h3, h4, p, a, dt, dd, li {
  overflow-wrap: anywhere;
}

body {
      margin: 0;
      font-family: 'Arial', sans-serif;
      background-color: #111;
      color: #fff;
      line-height: 1.6;
    }

    a {
      color: #e5471d;
      text-decoration: none;
    }
 .logo{

      width: 200px;
    
    }
    header {
      background: #000;
      color: #fff;
      padding: 80px 20px;
      text-align: center;
    }

    header h1 {
      font-size: 2.5rem;
      margin-bottom: 0.5rem;
      color: #e5471d;
    }

    header p {
      font-size: 1.2rem;
      margin-bottom: 1rem;
    }

    header .subheadline {
      font-style: italic;
      font-size: 1.5rem;
      color: #ccc;
    }

    .visto {
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 40px;
  background: #e5471d;
  
  padding: 40px 0;
  text-align: center;
  margin-bottom: 60PX;
}

.visto h2 {
  width: 100%;
  font-size: 24px;
  margin-bottom: 20px;
  color: white;
}

.visto img {
  width: auto;
  max-width: min(100%, 280px);
  max-height: 150px;
  height: auto;
  flex-shrink: 0;
}
.solution{
 
  width: 100%;
  max-width: 100%;
  padding-top: 40px;
  background-color: #555454;
  background-size: cover;
  background-position: center;
  display: flex;
  flex-direction: column;        /* per impilare h2 e p */
  justify-content: center;       /* centra verticalmente */
  align-items: center;           /* centra orizzontalmente */
  text-align: left;
  min-height: 400px;
  color: white;
  padding: 20px;
  margin-top: 60px;
}
  
    section {
      padding: 60px 20px;
      max-width: 1200px;
      margin: auto;
    }

    section h2 {
      color: #e5471d;
      margin-bottom: 20px;
       justify-content: center;
    }

    .logos img {
      max-height: 50px;
      margin: 0 15px;
      vertical-align: middle;
      filter: grayscale(100%) brightness(1.2);
    }

    .wheels-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(min(100%, 450px), 1fr));
      gap: 20px;
    }

    .wheel-card {
      background: #1a1a1a;
      border: 1px solid #333;
      padding: 20px;
      border-radius: 8px;
      color: #eee;
    }

    .wheel-card h4 {
      margin-top: 0;
      color: #e5471d;
    }

    .ruote{
        width: 200px;
        display: block;
        margin: auto;

    }
.pain {
  width: 100%;
  max-width: 100%;
  min-height: 500px;
  background-image: url("/img/strada_1.png");
  background-size: cover;
  background-position: center;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  position: relative;
  padding: 20px;
}

.pain::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background-color: rgba(0, 0, 0, 0.5); /* opacità dello sfondo */

  z-index: 1;
}

.pain .overlay {
  position: relative;
  z-index: 2;
  color: white;
  max-width: 80%;
}

.aftercare{
  text-align: center;
}
.map{
  text-align: center;
}

    ul {
      padding-left: 20px;
    }

    li {
      margin-bottom: 8px;
    }

    .services-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr));
      gap: 20px;
    }

    .service-card {
      background: #999;
      border: 1px solid #333;
      padding: 20px;
      border-radius: 8px;
      color: #eee;
    }

    .service-card h4 {
      margin-top: 0;
      color: #e5471d;
      text-align: center;
    }
     .service-card img {
        width: 200px;
        display: block;
        margin: 0 auto;
      }

    footer {
      background: #000;
      text-align: center;
      padding: 20px;
      font-size: 0.9rem;
      color: #999;
    }

    #map {
      width: 100%;
      height: 500px;
      padding-top: 40px;
      background: #222;
      display: flex;
      justify-content: center;
      align-items: center;
      color: #777;
      font-style: italic;
    }
.reviews{
   width: 100%;
  max-width: 90%;
  padding-top: 40px;
  background-color: #ffff;
  background-size: cover;
  background-position: center;
  display: flex;
  flex-direction: column;        /* per impilare h2 e p */
  justify-content: center;       /* centra verticalmente */
  align-items: center;           /* centra orizzontalmente */
  text-align: center;
  
  color: white;
  padding: 20px;

}
    .murales-mosaico {
    column-count: 3;
    column-gap: 16px;
    padding: 20px;
  
  }

  .murales-mosaico img {
    width: 100%;
    margin-bottom: 16px;
    transition: transform 0.3s;
    display: block;
    border: 2px solid #444;
    box-shadow: 0 2px 5px rgba(0,0,0,0.5);
  }

  /* Rotazioni casuali */
  .r1 { transform: rotate(-3deg); }
  .r2 { transform: rotate(2deg); }
  .r3 { transform: rotate(-1deg); }
  .r4 { transform: rotate(1.5deg); }
  .r5 { transform: rotate(-2.5deg); }

  /* Optional: hover effect */
  .murales-mosaico img:hover {
    transform: scale(1.05);
    z-index: 10;
  }
/* 🔄 Responsive layout */
@media (max-width: 1024px) {
  .murales-mosaico {
    column-count: 2;
  }
}

@media (max-width: 768px) {
  .murales-mosaico {
    column-count: 1;
  }
}
  .video-wrapper {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  width: 100%;
  max-width: 100%;
}

.video-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

body { font-family: Arial, sans-serif; color: #333; margin: 0; padding: 20px; }
.container { max-width: 800px; margin: auto; background: #fff; padding: 20px; border-radius: 8px; }
h1 { text-align: center; color: #e5471d; }

.filter-section { margin-bottom: 20px; }
label { font-weight: bold; }
select { width: 100%; padding: 8px; margin-top: 5px; }

.rivenditori-list { list-style: none; padding: 0; }
.rivenditori-list li {
  background: #fafafa; margin-bottom: 15px; padding: 15px; border: 1px solid #ddd;
  border-radius: 5px; position: relative;
}
.rivenditori-list li button {
  position: absolute; right: 15px; top: 15px;
  padding: 8px 12px; background: #e5471d; color: #fff; border: none;
  border-radius: 4px; cursor: pointer;
}
.rivenditori-list li button:hover { background: #c03e1a; }

.form-popup {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: white;
  border: 1px solid #ccc;
  padding: 30px;
  border-radius: 10px;
  z-index: 9999;
  box-shadow: 0 0 20px rgba(0,0,0,0.2);
  width: calc(100% - 32px);
  max-width: 400px;
  max-height: calc(100dvh - 32px);
  overflow-y: auto;
}
.form-popup form {
  background: #fff;  border-radius: 8px;
  width: 100%; max-width: 400px;
}
.form-popup h2 { margin-top: 0; }
.form-popup label { margin-top: 10px; display: block; font-weight: bold; }
.form-popup input, .form-popup textarea {
  width: 100%; padding: 8px; margin-top: 5px; border: 1px solid #ccc; border-radius: 4px;
}
.form-buttons { margin-top: 15px; text-align: right; }
.form-buttons button {
  padding: 8px 12px; margin-left: 10px; border: none; border-radius: 4px;
}
.form-buttons button[type="submit"] { background: #28a745; color: #fff; }
.form-buttons button[type="button"] { background: #ccc; }
.success-message {
  font-family: 'Arial', sans-serif;
  color: #2ecc71; /* verde brillante per messaggi positivi */
  background-color: #f0fdf4;
  border: 1px solid #2ecc71;
  padding: 15px 25px;
  border-radius: 10px;
  text-align: center;
  max-width: 500px;
  margin: 40px auto;
  font-size: 18px;
  box-shadow: 0 0 10px rgba(0,0,0,0.05);
}

#cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #1a1a1a;
  color: #fff;
  padding: 20px;
  text-align: center;
  z-index: 10000;
  font-size: 14px;
  display: none;
  max-height: 70dvh;
  overflow-y: auto;
}

#cookie-banner a {
  color: #e5471d;
  text-decoration: underline;
}

.cookie-buttons {
  margin-top: 10px;
}

.cookie-buttons button {
  margin: 0 5px;
  padding: 8px 16px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

.cookie-buttons button:first-child {
  background-color: #e5471d;
  color: white;
}

.cookie-buttons button:last-child {
  background-color: #888;
  color: white;
}

.youtube-consent {
  position: relative;
  width: 100%;
  max-width: 560px;
  margin: 20px auto;
  cursor: pointer;
}

.youtube-consent img {
  width: 100%;
  display: block;
}

.youtube-consent .overlay {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.7);
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 10px;
}

.youtube-consent button {
  margin-top: 10px;
  background: #e5471d;
  color: #fff;
  border: none;
  padding: 10px 16px;
  border-radius: 5px;
  cursor: pointer;
}

.tempo{
color: #fff;

}

.gmax-page {
  background: #0b0b0b;
  color: #f5f5f5;
  padding: 0;
}

.gmax-page h1,
.gmax-page h2,
.gmax-page h3,
.gmax-page p {
  margin-top: 0;
}

.gmax-hero {
  padding: 28px 20px 70px;
  background:
    linear-gradient(110deg, rgba(0,0,0,0.96) 0%, rgba(12,12,12,0.92) 44%, rgba(229,71,29,0.18) 100%),
    #000;
  text-align: left;
}

.gmax-nav {
  max-width: 1200px;
  margin: 0 auto 44px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.gmax-nav-links {
  display: flex;
  align-items: center;
  gap: 18px;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.78rem;
}

.gmax-hero-grid,
.gmax-specs {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 0.84fr) minmax(360px, 1fr);
  gap: 44px;
  align-items: center;
}

.gmax-hero-copy h1 {
  color: #fff;
  text-align: left;
  font-size: 4rem;
  line-height: 1.05;
  margin-bottom: 24px;
  font-weight: 900;
}

.gmax-kicker {
  color: #e5471d;
  text-transform: uppercase;
  letter-spacing: 0;
  font-weight: 900;
  font-size: 0.95rem;
}

.gmax-hero .subheadline {
  color: #d7d7d7;
  font-size: 1.28rem;
  max-width: 590px;
}

.gmax-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.gmax-button,
.gmax-home-promo a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 6px;
  background: #e5471d;
  color: #fff;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0;
  border: 1px solid #e5471d;
  max-width: 100%;
  padding-block: 12px;
  text-align: center;
}

.gmax-button-secondary {
  background: transparent;
  color: #fff;
  border-color: #555;
}

.gmax-banner-link {
  display: block;
}

.gmax-banner-link img {
  width: 100%;
  display: block;
  border-radius: 8px;
  box-shadow: 0 24px 70px rgba(0,0,0,0.55);
}

.gmax-intro,
.gmax-specs,
.gmax-cta {
  max-width: 1200px;
  padding: 70px 20px;
}

.gmax-intro h2,
.gmax-specs h2,
.gmax-cta h2 {
  color: #e5471d;
  font-size: 2.5rem;
  line-height: 1.15;
}

.gmax-intro > p,
.gmax-specs p,
.gmax-cta p {
  color: #d2d2d2;
  font-size: 1.12rem;
  max-width: 760px;
}

.gmax-feature-grid {
  margin-top: 34px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.gmax-feature-grid div {
  background: #181818;
  border: 1px solid #2d2d2d;
  border-radius: 8px;
  padding: 22px;
}

.gmax-feature-grid span {
  color: #e5471d;
  font-size: 0.85rem;
  font-weight: 900;
}

.gmax-feature-grid h3 {
  color: #fff;
  line-height: 1.15;
  margin: 10px 0;
}

.gmax-feature-grid p {
  color: #cfcfcf;
  margin-bottom: 0;
}

.gmax-specs {
  background: #f4f4f4;
  color: #111;
  border-radius: 8px;
  grid-template-columns: minmax(0, 0.86fr) minmax(360px, 1fr);
  margin-bottom: 70px;
}

.gmax-specs h2 {
  color: #111;
}

.gmax-specs p {
  color: #333;
}

.gmax-spec-list {
  margin: 0;
  background: #111;
  color: #fff;
  border-radius: 8px;
  padding: 24px;
}

.gmax-spec-list div {
  display: grid;
  grid-template-columns: minmax(0, 160px) minmax(0, 1fr);
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid #333;
}

.gmax-spec-list div:last-child {
  border-bottom: 0;
}

.gmax-spec-list dt {
  color: #e5471d;
  font-weight: 900;
}

.gmax-spec-list dd {
  margin: 0;
}

.gmax-cta {
  text-align: center;
}

.gmax-cta .logo {
  margin-bottom: 20px;
}

.gmax-cta p {
  margin-left: auto;
  margin-right: auto;
}

.gmax-home-promo {
  background: #111;
  border: 1px solid #333;
  border-left: 6px solid #e5471d;
  border-radius: 8px;
  padding: 22px;
  margin: 0 0 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

.gmax-home-promo p {
  color: #e5471d;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 900;
  margin-bottom: 4px;
}

.gmax-home-promo h3 {
  color: #fff;
  font-size: 2rem;
  margin: 0 0 6px;
}

.gmax-home-promo span {
  color: #ddd;
}

@media (max-width: 900px) {
  .gmax-hero-grid,
  .gmax-specs {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 640px) {
  .gmax-nav,
  .gmax-home-promo {
    align-items: flex-start;
    flex-direction: column;
  }

  .gmax-nav-links {
    width: 100%;
    justify-content: space-between;
  }

  .gmax-hero-copy h1 {
    font-size: 4rem;
  }

  .gmax-feature-grid {
    grid-template-columns: 1fr;
  }

  .gmax-spec-list div {
    grid-template-columns: 1fr;
    gap: 4px;
  }
}

.new-wheels-hero {
  max-width: 1120px;
  margin: 44px auto 34px;
  padding: 0;
}

.daisy-extreme-banner {
  display: block;
  width: 100%;
  max-width: 640px;
  margin: 0 auto 34px;
}

.daisy-extreme-promo {
  max-width: 640px;
  margin: 0 auto 34px;
}

.daisy-extreme-promo .daisy-extreme-banner {
  margin-bottom: 16px;
}

.daisy-extreme-page .gmax-hero-copy h1 {
  font-size: 4rem;
  line-height: 1;
  overflow-wrap: anywhere;
  letter-spacing: 0;
}

.daisy-extreme-page .gmax-banner-link img {
  height: auto;
}

@media (max-width: 640px) {
  .daisy-extreme-page .gmax-hero-copy h1 {
    font-size: 3rem;
  }
}

.daisy-extreme-banner img {
  display: block;
  width: 100%;
  height: auto;
}

.daisy-extreme-banner:focus-visible {
  outline: 3px solid #e5471d;
  outline-offset: 5px;
}

.new-wheels-copy {
  margin-bottom: 18px;
  text-align: center;
}

.new-wheels-copy p {
  color: #e5471d;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.9rem;
  font-weight: 900;
  margin-bottom: 8px;
}

.new-wheels-copy h2 {
  color: #fff;
  font-size: 2.5rem;
  line-height: 1.15;
  margin: 0;
}

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

.new-wheel-card {
  min-height: 380px;
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  border: 1px solid #333;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-start;
  padding: 24px;
  color: #fff;
  text-align: left;
  background: #111;
}

.new-wheel-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.08) 0%, rgba(0,0,0,0.22) 42%, rgba(0,0,0,0.86) 100%);
  z-index: 1;
}

.new-wheel-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.new-wheel-card:hover img {
  transform: scale(1.04);
}

.new-wheel-card span,
.new-wheel-card strong,
.new-wheel-card small {
  position: relative;
  z-index: 2;
}

.new-wheel-card span {
  background: #e5471d;
  padding: 6px 10px;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.78rem;
  font-weight: 900;
}

.new-wheel-card strong {
  margin-top: 12px;
  font-size: 3rem;
  line-height: 1.1;
  text-transform: uppercase;
}

.new-wheel-card small {
  color: #e6e6e6;
  font-size: 1rem;
  margin-top: 10px;
}

@media (max-width: 768px) {
  .new-wheels-grid {
    grid-template-columns: 1fr;
  }

  .new-wheel-card {
    min-height: 330px;
  }
}

.wheels-grid > *,
.services-grid > *,
.new-wheels-grid > *,
.gmax-hero-grid > *,
.gmax-feature-grid > *,
.gmax-specs > * {
  min-width: 0;
}

.gmax-nav-links {
  flex-wrap: wrap;
}

.gmax-specs {
  scroll-margin-top: 20px;
}

.cookie-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.cookie-buttons button {
  margin: 0;
}

@media (max-width: 1024px) {
  .gmax-hero-copy h1 {
    font-size: 3rem;
  }

  .gmax-hero-grid,
  .gmax-specs {
    gap: 28px;
  }
}

@media (max-width: 768px) {
  body {
    padding: 0;
  }

  header {
    padding: 36px 16px;
  }

  header h1 {
    font-size: 1.8rem;
    line-height: 1.2;
  }

  header p,
  header .subheadline {
    font-size: 1rem;
  }

  section {
    padding: 36px 16px;
  }

  .gmax-hero {
    padding: 24px 16px 36px;
  }

  .gmax-intro,
  .gmax-specs,
  .gmax-cta {
    padding: 36px 16px;
  }

  .gmax-intro h2,
  .gmax-specs h2,
  .gmax-cta h2,
  .new-wheels-copy h2 {
    font-size: 2rem;
  }

  .new-wheel-card strong {
    font-size: 2.5rem;
  }

  .gmax-specs {
    margin-bottom: 24px;
  }

  .solution {
    min-height: 0;
    padding: 36px 20px;
    align-items: stretch;
    margin-top: 32px;
  }

  .pain {
    min-height: 320px;
    padding: 32px 16px;
  }

  .pain .overlay {
    max-width: 100%;
  }

  .visto {
    padding: 32px 16px;
    gap: 24px;
    margin-bottom: 32px;
  }

  .visto img {
    max-width: min(100%, 200px);
    max-height: 100px;
  }

  .reviews {
    max-width: 100%;
    overflow: clip;
  }

  .murales-mosaico {
    width: 100%;
    min-width: 0;
    padding: 16px;
  }

  .service-card img {
    max-width: 100%;
  }

  .container {
    width: 100%;
    padding: 20px 16px;
  }

  .container h1 {
    font-size: 1.8rem;
    line-height: 1.2;
  }

  .rivenditori-list li button {
    position: static;
    display: block;
    margin-top: 12px;
  }

  .form-popup {
    padding: 20px;
  }

  .form-popup input,
  .form-popup textarea,
  select {
    font-size: 16px;
  }

  .form-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
  }

  .form-buttons button {
    margin: 0;
  }

  #cookie-banner {
    padding: 16px;
    padding-bottom: max(16px, env(safe-area-inset-bottom));
  }
}

@media (max-width: 640px) {
  .gmax-hero-copy h1,
  .daisy-extreme-page .gmax-hero-copy h1 {
    font-size: 2.75rem;
  }

  .gmax-nav {
    margin-bottom: 28px;
  }

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

  .gmax-spec-list {
    padding: 16px;
  }

  .gmax-button {
    width: 100%;
  }
}
