/* ============================================================
   ONE95 MX SCHOOL – JUNIOR — home.css
   Stili specifici della home. HERO resta dark v1, sezioni
   successive in stile v1 clean con accenti colorati (v2 palette)
============================================================ */

section { padding: 90px 5vw; }

/* ============================================================
   HERO (dark style v1 · video v2 · watermark)
============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 110px 5vw 120px;
  background: var(--ink);
}
.hero-video-bg { position: absolute; inset: 0; z-index: 0; }
.hero-video-bg video { width: 100%; height: 100%; object-fit: cover; }

/* Overlay leggermente schiarito rispetto a v1 originale */
.hero-video-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(
    135deg,
    rgba(10, 10, 10, 0.70) 0%,
    rgba(10, 10, 10, 0.50) 40%,
    rgba(10, 10, 10, 0.28) 100%
  );
  z-index: 1;
}
.hero-video-overlay::after {
  content: '';
  position: absolute; inset: 0;
  background-image: radial-gradient(circle, rgba(136,136,136,.08) 1.5px, transparent 1.5px);
  background-size: 16px 16px;
  pointer-events: none;
}
.hero-video-vignette {
  position: absolute; inset: 0; z-index: 2;
  box-shadow: inset 0 0 180px rgba(0,0,0,.5);
  pointer-events: none;
}

/* Watermark logo ONE95 sottile */
.hero-watermark {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}
.hero-watermark img {
  width: min(70vw, 820px);
  height: auto;
  opacity: .055;
  filter: brightness(2) contrast(1.1);
}

.hero-slice {
  position: absolute;
  top: 0; right: -5%;
  width: 52%; height: 100%;
  background: linear-gradient(160deg, transparent 35%, rgba(232, 33, 26, 0.12) 100%);
  pointer-events: none;
  z-index: 3;
}

.hero-inner {
  position: relative;
  z-index: 4;
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 13px;
  letter-spacing: .22em;
  color: rgba(255,255,255,.5);
  margin-bottom: 18px;
}
.hero-eyebrow::before {
  content: '';
  display: block;
  width: 28px; height: 2px;
  background: var(--red);
}

.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(28px, 4.2vw, 54px);
  line-height: 1;
  letter-spacing: .04em;
  color: var(--white);
  transform: skewX(-2deg);
  margin-bottom: 18px;
  white-space: nowrap;
  opacity: 0;
  animation: slideUp .7s ease forwards .2s;
}
.hero-headline .red { color: var(--red); }
.hero-headline .outline {
  -webkit-text-stroke: 2px var(--white);
  color: transparent;
}
.hero-logo {
  margin: 4px 0 18px;
  opacity: 0;
  animation: slideUp .7s ease forwards .3s;
}
.hero-logo img {
  height: clamp(72px, 11vw, 120px);
  width: auto;
  display: block;
}
.hero-sub {
  font-family: var(--font-body);
  font-size: clamp(15px, 2vw, 18px);
  font-weight: 800;
  color: rgba(255,255,255,.65);
  line-height: 1.55;
  margin: 18px 0 24px;
  max-width: 640px;
  opacity: 0;
  animation: slideUp .7s ease forwards .4s;
}
.hero-ctas {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  opacity: 0;
  animation: slideUp .7s ease forwards .6s;
}

.hero-scroll {
  position: absolute;
  bottom: 32px; left: 50%;
  transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center;
  gap: 6px;
  opacity: 0;
  animation: fadeIn 1s ease forwards 1.2s;
  z-index: 5;
}
.hero-scroll span {
  font-family: var(--font-display);
  font-size: 10px;
  letter-spacing: .2em;
  color: rgba(255,255,255,.3);
}
.scroll-line {
  width: 1px; height: 36px;
  background: linear-gradient(to bottom, rgba(232,33,26,.7), transparent);
  animation: scrollPulse 1.6s ease-in-out infinite;
}

/* Stats bar */
.hero-stats {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: rgba(232,33,26,.1);
  border-top: 1px solid rgba(232,33,26,.25);
  display: flex;
  justify-content: center;
  gap: 0;
  overflow: hidden;
  z-index: 4;
}
.stat-item {
  flex: 1;
  max-width: 220px;
  padding: 18px 20px;
  text-align: center;
  border-right: 1px solid rgba(255,255,255,.06);
  opacity: 0;
  animation: slideUp .5s ease forwards;
}
.stat-item:nth-child(1) { animation-delay: .8s; }
.stat-item:nth-child(2) { animation-delay: .95s; }
.stat-item:nth-child(3) { animation-delay: 1.1s; }
.stat-item:nth-child(4) { animation-delay: 1.25s; }
.stat-item:last-child { border-right: none; }
.stat-num {
  font-family: var(--font-display);
  font-size: 30px;
  color: var(--red);
  letter-spacing: .04em;
  line-height: 1;
}
.stat-label {
  font-size: 11px;
  font-weight: 800;
  color: rgba(255,255,255,.5);
  letter-spacing: .1em;
  text-transform: uppercase;
  margin-top: 4px;
}

/* ============================================================
   FMI STRIPE — linea dedicata certificazione
   (fra hero e chi-siamo · centrata · bianca · contrasti corretti)
============================================================ */
.fmi-stripe {
  background: var(--white);
  padding: 36px 5vw;
  border-bottom: 1px solid rgba(0,0,0,.08);
  position: relative;
}
.fmi-stripe::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--red);
}
.fmi-stripe-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  flex-wrap: wrap;
  text-align: left;
}
.fmi-stripe-logo {
  width: 76px;
  height: 76px;
  flex-shrink: 0;
}
.fmi-stripe-txt {
  min-width: 0;
}
.fmi-stripe-tag {
  font-family: var(--font-display);
  font-size: 12px;
  letter-spacing: .24em;
  color: var(--red);
  margin-bottom: 6px;
}
.fmi-stripe-headline {
  font-family: var(--font-display);
  font-size: clamp(22px, 3.2vw, 30px);
  letter-spacing: .04em;
  color: var(--ink);
  line-height: 1.1;
}
.fmi-stripe-headline .red { color: var(--red); }

@media (max-width: 640px) {
  .fmi-stripe { padding: 30px 5vw; }
  .fmi-stripe-inner {
    flex-direction: column;
    gap: 14px;
    text-align: center;
  }
  .fmi-stripe-logo { width: 64px; height: 64px; }
}

/* ============================================================
   SEZIONE — CHI SIAMO (light · v1 clean)
============================================================ */
.about {
  background: var(--red);
  position: relative;
}
.about .section-tag { color: var(--white); }
.about .section-tag::before { background: var(--white); }
.about .section-title { color: var(--white); }
.about .section-title .red { color: var(--ink); }
.about-inner {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 60px;
  align-items: center;
}
.about-text p {
  font-size: 16px;
  font-weight: 700;
  color: rgba(255,255,255,.92);
  line-height: 1.75;
  margin-top: 20px;
}
.about-text p strong { color: var(--white); font-weight: 900; }
.about .btn-red {
  background: var(--white);
  color: var(--red);
}
.about .btn-outline {
  color: var(--white);
  border-color: rgba(255,255,255,.45);
}
.about .btn-outline:hover {
  border-color: var(--white);
  color: var(--white);
  background: rgba(255,255,255,.08);
  filter: none;
}
.about-ctas {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 32px;
}

.about-image {
  aspect-ratio: 4/5;
  background: var(--white);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 14px;
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 10px;
  color: rgba(0,0,0,.3);
  overflow: hidden;
  position: relative;
}
.about-image::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 4px;
  background: var(--ink);
}
.about-image .ph-icon { font-size: 50px; opacity: .4; }
.about-image .ph-label {
  font-family: var(--font-display);
  font-size: 13px;
  letter-spacing: .12em;
}
/* Foto reale: il <picture> copre tutto il box 4/5 mantenendo la striscia rossa inferiore */
.about-image.has-photo { background: transparent; }
.about-image.has-photo picture,
.about-image.has-photo picture img {
  width: 100%;
  height: 100%;
  display: block;
}
.about-image.has-photo picture img {
  object-fit: cover;
}

/* ============================================================
   SEZIONE — PERCHÉ SCEGLIERCI (light · accent laterale)
============================================================ */
.why { background: var(--white); }
.why-intro {
  max-width: 720px;
  font-size: 16px;
  font-weight: 700;
  color: rgba(0,0,0,.65);
  line-height: 1.7;
  margin-top: 20px;
  margin-bottom: 44px;
}
.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 22px;
}
.why-card {
  background: var(--red);
  border: 2px solid var(--red);
  border-radius: 10px;
  padding: 26px 22px;
  color: var(--white);
  transition: transform .22s, box-shadow .22s, border-color .22s;
}
.why-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.why-card.accent-red   { background: var(--red);   border-color: var(--red);   color: var(--white); }
.why-card.accent-blue  { background: var(--blue);  border-color: var(--blue);  color: var(--white); }
.why-card.accent-green { background: var(--green); border-color: var(--green); color: var(--ink);   }
.why-card.accent-pink  { background: var(--pink);  border-color: var(--pink);  color: var(--ink);   }

.why-card-icon {
  font-size: 30px;
  margin-bottom: 12px;
  line-height: 1;
}
.why-card-title {
  font-family: var(--font-display);
  font-size: 20px;
  letter-spacing: .06em;
  color: inherit;
  margin-bottom: 8px;
  line-height: 1;
}

.why-card-desc {
  font-size: 14px;
  font-weight: 700;
  line-height: 1.6;
  color: inherit;
  opacity: .85;
}

/* ============================================================
   SEZIONE — I CORSI (light · accent top)
============================================================ */
.courses {
  background: var(--gray-section);
  position: relative;
}
.courses-intro {
  max-width: 720px;
  font-size: 16px;
  font-weight: 700;
  color: rgba(0,0,0,.65);
  line-height: 1.7;
  margin-top: 14px;
  margin-bottom: 40px;
}

/* Banner PRIMA PROVA GRATUITA — minimal, rimbalza ma composta */
.free-trial-banner {
  display: flex;
  align-items: center;
  gap: 26px;
  background: var(--red);
  color: var(--white);
  border-radius: 14px;
  padding: 26px 30px;
  margin-bottom: 44px;
  box-shadow: var(--shadow-red-glow);
  position: relative;
  overflow: hidden;
}
.free-trial-banner::before {
  content: '';
  position: absolute; inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,.14) 1.3px, transparent 1.3px);
  background-size: 14px 14px;
  pointer-events: none;
}
.free-trial-bounce {
  flex-shrink: 0;
  width: 96px; height: 96px;
  background: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  text-align: center;
  font-family: var(--font-display);
  color: var(--red);
  line-height: 1;
  box-shadow: 0 6px 20px rgba(0,0,0,.18);
  animation: bounce 1.5s ease-in-out infinite;
  position: relative;
  z-index: 1;
}
.free-trial-bounce .big {
  font-size: 30px;
  letter-spacing: .02em;
}
.free-trial-bounce .sm {
  font-size: 11px;
  letter-spacing: .18em;
  margin-top: 4px;
  color: rgba(0,0,0,.55);
}
.free-trial-content { position: relative; z-index: 1; flex: 1; min-width: 0; }
.free-trial-content h3 {
  font-family: var(--font-display);
  font-size: clamp(26px, 3.5vw, 38px);
  letter-spacing: .04em;
  line-height: 1;
  margin-bottom: 6px;
}
.free-trial-content p {
  font-size: 14px;
  font-weight: 800;
  line-height: 1.55;
  color: rgba(255,255,255,.92);
  max-width: 540px;
}
.free-trial-cta { flex-shrink: 0; position: relative; z-index: 1; }

/* 4 card corsi — accent top colorato (via colored header pieno) */
.courses-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.course-card {
  background: var(--white);
  border: 2px solid var(--red);
  border-radius: 12px;
  overflow: hidden;
  transition: transform .22s, box-shadow .22s, border-color .22s;
  display: flex;
  flex-direction: column;
}
.course-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.course-card.tone-blue  { border-color: var(--blue); }
.course-card.tone-red   { border-color: var(--red); }
.course-card.tone-green { border-color: var(--green); }
.course-card.tone-black { border-color: var(--ink); }

.course-header {
  padding: 26px 22px 20px;
  background: var(--red);
  color: var(--white);
}
.course-card.tone-blue  .course-header { background: var(--blue); }
.course-card.tone-red   .course-header { background: var(--red);  }
.course-card.tone-green .course-header { background: var(--green); color: var(--ink); }
.course-card.tone-black .course-header { background: var(--ink); }

.course-age {
  font-family: var(--font-display);
  font-size: clamp(40px, 5vw, 54px);
  line-height: 1;
  letter-spacing: .02em;
  color: inherit;
}
.course-card.tone-blue  .course-age,
.course-card.tone-red   .course-age,
.course-card.tone-green .course-age,
.course-card.tone-black .course-age { color: inherit; }

.course-age-label {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .18em;
  color: rgba(255,255,255,.7);
  text-transform: uppercase;
  margin-top: 2px;
}
.course-card.tone-green .course-age-label { color: rgba(0,0,0,.55); }

.course-title {
  font-family: var(--font-display);
  font-size: 22px;
  letter-spacing: .06em;
  color: inherit;
  margin-top: 14px;
  line-height: 1;
}

.course-body {
  padding: 20px 22px 22px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.course-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 22px;
  flex: 1;
}
.course-list li {
  font-size: 13px;
  font-weight: 700;
  color: rgba(0,0,0,.65);
  display: flex;
  align-items: flex-start;
  gap: 8px;
  line-height: 1.5;
}
.course-list li::before {
  content: '';
  display: block;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--red);
  flex-shrink: 0;
  margin-top: 6px;
}
.course-card.tone-blue  .course-list li::before { background: var(--blue); }
.course-card.tone-green .course-list li::before { background: var(--green); }
.course-card.tone-black .course-list li::before { background: var(--ink); }

/* CTA "DETTAGLI CORSO" — bg = colore tono della card */
.course-card .btn-outline {
  background: var(--red);
  color: var(--white);
  border-color: var(--red);
}
.course-card.tone-blue  .btn-outline { background: var(--blue);  border-color: var(--blue);  color: var(--white); }
.course-card.tone-red   .btn-outline { background: var(--red);   border-color: var(--red);   color: var(--white); }
.course-card.tone-green .btn-outline { background: var(--green); border-color: var(--green); color: var(--ink);   }
.course-card.tone-black .btn-outline { background: var(--ink);   border-color: var(--ink);   color: var(--white); }
.course-card .btn-outline:hover { filter: brightness(1.07); }

/* ============================================================
   SEZIONE — NOLEGGIO teaser
============================================================ */
.rental { background: var(--white); }
.rental-inner {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 60px;
  align-items: center;
}
.rental-text p {
  font-size: 16px;
  font-weight: 700;
  color: rgba(0,0,0,.65);
  line-height: 1.7;
  margin-top: 18px;
}
.rental-list {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 20px;
  margin: 24px 0 32px;
}
.rental-list li {
  font-size: 14px;
  font-weight: 800;
  color: var(--ink);
  display: flex;
  align-items: center;
  gap: 10px;
  line-height: 1.3;
}
.rental-list li::before {
  content: '✓';
  color: var(--green);
  font-weight: 900;
}
.rental-image {
  aspect-ratio: 4/3;
  background: var(--white);
  border: 1px solid rgba(0,0,0,.08);
  border-radius: 14px;
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  color: rgba(0,0,0,.3);
  gap: 10px;
  position: relative;
  overflow: hidden;
}
.rental-image::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 4px;
  background: var(--blue);
}
.rental-image .ph-icon { font-size: 54px; opacity: .4; }
.rental-image .ph-label {
  font-family: var(--font-display);
  font-size: 14px;
  letter-spacing: .1em;
}
.rental-image picture,
.rental-image picture img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}

/* ============================================================
   SEZIONE — GALLERIA PREVIEW (come v1, light · link a galleria.html)
============================================================ */
.gallery-preview { background: var(--white); }
.gallery-preview-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  grid-template-rows: 220px 220px;
  gap: 10px;
  margin-top: 40px;
  border-radius: 12px;
  overflow: hidden;
}
.gp-item {
  position: relative;
  overflow: hidden;
  background: var(--gray-section);
  border: 1px solid rgba(0,0,0,.08);
  border-radius: 10px;
  cursor: pointer;
  transition: transform .2s, box-shadow .2s;
}
.gp-item:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}
.gp-item.gp-big { grid-row: 1 / 3; }
.gp-item:hover .gp-overlay { opacity: 1; }
.gp-ph {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 8px;
  color: rgba(0,0,0,.3);
  background-image: radial-gradient(circle, rgba(0,0,0,.04) 1.2px, transparent 1.2px);
  background-size: 10px 10px;
}
.gp-icon { font-size: 30px; opacity: .35; }
.gp-label {
  font-family: var(--font-display);
  font-size: 11px;
  letter-spacing: .12em;
  text-align: center;
}
.gp-overlay {
  position: absolute;
  inset: 0;
  background: rgba(232,33,26,.7);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity .2s;
}
.gp-overlay span {
  font-family: var(--font-display);
  font-size: 16px;
  letter-spacing: .12em;
  color: var(--white);
}
.gallery-preview-cta {
  text-align: center;
  margin-top: 28px;
}

/* ============================================================
   SEZIONE — PRENOTA LA LEZIONE (form)
============================================================ */
.signup {
  background: var(--gray-section);
  position: relative;
}
.signup-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 56px;
  align-items: start;
  margin-top: 50px;
}
.signup-info h3 {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 42px);
  letter-spacing: .04em;
  color: var(--ink);
  margin-bottom: 20px;
  line-height: 1.1;
}
.signup-info h3 span { color: var(--red); }
.signup-info > p {
  font-size: 14px;
  font-weight: 700;
  color: rgba(0,0,0,.6);
  line-height: 1.65;
}
.contact-methods {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 28px;
}
.contact-method {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px;
  background: var(--white);
  border: 1px solid rgba(0,0,0,.08);
  border-left: 3px solid var(--red);
  border-radius: 10px;
  cursor: pointer;
  transition: transform .15s, box-shadow .15s, border-color .2s;
  text-decoration: none;
  color: inherit;
}
.contact-method:hover {
  transform: translateX(4px);
  box-shadow: var(--shadow-sm);
}
.cm-icon {
  width: 44px; height: 44px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.cm-icon.wa { background: rgba(37,211,102,.14); }
.cm-label {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .1em;
  color: rgba(0,0,0,.5);
  text-transform: uppercase;
  margin-bottom: 2px;
}
.cm-value {
  font-family: var(--font-display);
  font-size: 18px;
  letter-spacing: .06em;
  color: var(--ink);
}

.form-card {
  background: var(--white);
  border: 1px solid rgba(0,0,0,.08);
  border-top: 3px solid var(--red);
  border-radius: 12px;
  padding: 32px 28px;
  box-shadow: var(--shadow-md);
}
.form-title {
  font-family: var(--font-display);
  font-size: 26px;
  letter-spacing: .08em;
  color: var(--ink);
  margin-bottom: 6px;
  line-height: 1;
}
.form-subtitle {
  font-size: 13px;
  font-weight: 700;
  color: rgba(0,0,0,.55);
  margin-bottom: 24px;
}
.form-group { margin-bottom: 16px; }
.form-group label {
  display: block;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .12em;
  color: rgba(0,0,0,.55);
  text-transform: uppercase;
  margin-bottom: 7px;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  background: var(--white);
  border: 1px solid rgba(0,0,0,.14);
  border-radius: 6px;
  padding: 13px 16px;
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 700;
  outline: none;
  transition: border-color .2s, box-shadow .2s;
  appearance: none;
}
.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(0,0,0,.3);
  font-weight: 700;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(232,33,26,.14);
}
.form-group select { cursor: pointer; }
.form-group textarea { resize: vertical; min-height: 90px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.form-submit {
  width: 100%;
  margin-top: 8px;
  padding: 16px;
  background: var(--red);
  color: var(--white);
  font-family: var(--font-display);
  font-size: 20px;
  letter-spacing: .12em;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: background .2s, transform .15s, box-shadow .15s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}
.form-submit:hover {
  background: var(--red-light);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(232,33,26,.28);
}
.form-submit:active { transform: scale(.99); }
.form-note {
  font-size: 11px;
  font-weight: 700;
  color: rgba(0,0,0,.4);
  text-align: center;
  margin-top: 12px;
  line-height: 1.5;
}
.form-success {
  display: none;
  text-align: center;
  padding: 20px 0;
}
.form-success.show { display: block; }
.form-success .check {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: rgba(37,211,102,.18);
  color: var(--green);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 14px;
  font-size: 28px;
  font-weight: 900;
}
.form-success p {
  font-family: var(--font-display);
  font-size: 24px;
  letter-spacing: .06em;
  color: var(--ink);
  margin-bottom: 6px;
}
.form-success span {
  font-size: 13px;
  font-weight: 700;
  color: rgba(0,0,0,.5);
}

/* ============================================================
   SEZIONE — CERTIFICAZIONI (placeholder)
============================================================ */
.certifications { background: var(--white); }
.cert-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 20px;
  margin-top: 40px;
}
.cert-card {
  background: var(--gray-section);
  border: 1px solid rgba(0,0,0,.08);
  border-top: 3px solid var(--red);
  border-radius: 12px;
  padding: 30px 22px;
  text-align: center;
  transition: transform .22s, box-shadow .22s;
}
.cert-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.cert-card .cert-seal { width: 100px; height: 100px; margin: 0 auto 16px; }
.cert-card .cert-seal img { width: 100%; height: 100%; object-fit: contain; }
.cert-card .cert-seal-placeholder {
  width: 100%; height: 100%;
  border: 2px dashed rgba(0,0,0,.15);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: rgba(0,0,0,.3);
  font-family: var(--font-display);
  font-size: 13px;
  letter-spacing: .1em;
}
.cert-title {
  font-family: var(--font-display);
  font-size: 20px;
  letter-spacing: .06em;
  color: var(--ink);
  margin-bottom: 8px;
}
.cert-desc {
  font-size: 13px;
  font-weight: 700;
  color: rgba(0,0,0,.6);
  line-height: 1.55;
}
.cert-placeholder-note {
  margin-top: 36px;
  text-align: center;
  font-size: 12px;
  font-weight: 700;
  color: rgba(0,0,0,.4);
  letter-spacing: .05em;
}

/* ============================================================
   SEZIONE — CALENDARIO teaser (dark · v1 style)
============================================================ */
.calendar-teaser {
  background: var(--ink);
  color: var(--white);
  overflow: hidden;
  position: relative;
}
.calendar-teaser::before {
  content: '';
  position: absolute; inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,.04) 1.5px, transparent 1.5px);
  background-size: 14px 14px;
  pointer-events: none;
}
.calendar-teaser .section-title { color: var(--white); }
.calendar-teaser .section-tag { color: var(--red-light); }
.calendar-teaser .section-tag::before { background: var(--red-light); }

.calendar-teaser-inner { position: relative; z-index: 1; }
.calendar-teaser-desc {
  color: rgba(255,255,255,.65);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.65;
  margin-top: 16px;
  max-width: 640px;
}
.calendar-preview-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
  margin: 40px 0 36px;
}
.race-card {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.09);
  border-left: 3px solid var(--red);
  border-radius: 10px;
  padding: 18px 20px;
  transition: background .2s, transform .2s;
}
.race-card:hover {
  background: rgba(232,33,26,.1);
  transform: translateY(-3px);
}
.race-date {
  font-family: var(--font-display);
  font-size: 30px;
  color: var(--red-light);
  letter-spacing: .04em;
  line-height: 1;
  margin-bottom: 4px;
}
.race-month {
  font-family: var(--font-display);
  font-size: 14px;
  letter-spacing: .18em;
  color: rgba(255,255,255,.5);
  margin-bottom: 14px;
  text-transform: uppercase;
}
.race-title {
  font-family: var(--font-display);
  font-size: 17px;
  letter-spacing: .05em;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 4px;
}
.race-place {
  font-size: 13px;
  font-weight: 700;
  color: rgba(255,255,255,.55);
}
.race-category {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 10px;
  letter-spacing: .18em;
  color: var(--red-light);
  background: rgba(232,33,26,.15);
  border: 1px solid rgba(232,33,26,.3);
  padding: 3px 10px;
  border-radius: 100px;
  margin-bottom: 10px;
}

.calendar-teaser-cta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* ============================================================
   RESPONSIVE
============================================================ */
@media (max-width: 1100px) { .courses-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 960px) {
  .hero { padding: 110px 5vw 140px; }
  .hero-inner { padding-bottom: 100px; }
  .hero-stats { flex-wrap: wrap; }
  .hero-scroll { display: none; }
  .stat-item { flex: 0 0 50%; max-width: 50%; }

  .about-inner, .rental-inner, .signup-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .rental-image, .about-image {
    max-width: 520px; margin: 0 auto; width: 100%;
  }
  .cert-grid { grid-template-columns: 1fr; max-width: 420px; margin-inline: auto; }
  .free-trial-banner { flex-direction: column; text-align: center; padding: 26px; }
  .free-trial-content h3 { font-size: 26px; }
}
@media (max-width: 600px) {
  .hero-headline { font-size: 28px; white-space: normal; }
  .hero-logo img { height: 72px; }
  .hero-ctas { flex-direction: column; }
  .hero-ctas .btn { width: 100%; }
  .courses-grid { grid-template-columns: 1fr; max-width: 420px; margin-inline: auto; }
  .form-row { grid-template-columns: 1fr; }
  .rental-list { grid-template-columns: 1fr; }
  .stat-item { flex: 0 0 50%; }
}

/* ============================================================
   KEYFRAMES (hero)
============================================================ */
@keyframes slideUp {
  from { opacity: 0; transform: translateY(30px) skewX(-2deg); }
  to   { opacity: 1; transform: translateY(0)  skewX(-2deg); }
}
@keyframes fadeIn {
  from { opacity: 0; } to { opacity: 1; }
}
@keyframes scrollPulse {
  0%,100% { opacity: .3; transform: scaleY(.8); }
  50%     { opacity: 1;  transform: scaleY(1); }
}
