/*
 * BMT 2027 — Landing "Diventa espositore"
 * Author: Mutart
 */

:root {
  /* Scala desktop: il design è a 1920px, sui portatili risultava tutto troppo grande.
     Sotto i 1100px torna a 1 (tablet/mobile invariati). */
  --k: 0.8;

  --primary: #0D294B;
  --primary-2: #0E2C50;
  --primary-3: #0D2A4C;
  --secondary: #D3AE5B;
  --blue: #1668AC;
  --muted: #5D6F80;
  --text-list: rgba(29, 29, 29, 0.75);
  --grey-bg: #F3F3F3;
  --grey-label: #919191;

  --grad-gold: linear-gradient(103deg, #B78A34 0%, #E7C977 99%);
  --grad-blue: linear-gradient(90deg, #065093 0%, #55B2DF 100%);

  --radius: calc(25px * var(--k));

  /* Ritmo verticale */
  --section-y: calc(120px * var(--k));   /* padding sezioni */
  --head-gap: calc(56px * var(--k));     /* intestazione → contenuto */
  --card-pad: calc(36px * var(--k));     /* padding card */
  --container: calc(1520px * var(--k));
  --gutter: calc(40px * var(--k));

  --font-body: "Mulish", sans-serif;
  --font-geist: "Geist", sans-serif;
  --font-archivo: "Archivo", sans-serif;
  --font-poppins: "Poppins", sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--primary);
  background: #fff;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

a {
  color: inherit;
}

ul {
  list-style: none;
}

button {
  font: inherit;
  border: 0;
  background: none;
  cursor: pointer;
}

.container {
  width: min(var(--container), 100% - var(--gutter) * 2);
  margin: 0 auto;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.gold {
  color: var(--secondary);
}

/* ==========================================================================
   INTESTAZIONI DI SEZIONE
   ========================================================================== */

.section-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: calc(16px * var(--k));
  text-align: center;
  margin: 0 auto;
}

.eyebrow {
  font-weight: 900;
  font-size: calc(18px * var(--k));
  line-height: 1;
  letter-spacing: calc(2px * var(--k));
  text-transform: uppercase;
  color: var(--blue);
}

.eyebrow--gold {
  color: var(--secondary);
}

.section-title {
  max-width: calc(910px * var(--k));
  font-weight: 900;
  font-size: calc(48px * var(--k));
  line-height: 1;
  color: var(--primary-2);
}

.section-title--lh {
  max-width: none;
  line-height: 1.2;
  color: var(--primary-3);
}

.section-title--light {
  color: #fff;
}

.stands .eyebrow {
  color: #55B2DF;
}

.section-desc {
  margin-top: calc(4px * var(--k));
  font-size: calc(18px * var(--k));
  line-height: 1.7;
  color: var(--muted);
}

.section-desc--narrow {
  max-width: calc(520px * var(--k));
}

.section-desc--wide {
  max-width: calc(786px * var(--k));
}

/* ==========================================================================
   HERO
   ========================================================================== */

.hero {
  position: relative;
  background: var(--primary);
  min-height: calc(800px * var(--k));
  display: flex;
}

.hero__bg {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(201px * var(--k));
  bottom: 0;
  background:
    linear-gradient(rgba(13, 41, 75, 0.4), rgba(13, 41, 75, 0.4)),
    url("../img/hero-bg.jpg") center / cover no-repeat;
}

.hero__inner {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: calc(40px * var(--k));
  padding: calc(50px * var(--k)) 0;
}

.hero__left {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-self: stretch;
  width: calc(853px * var(--k));
  max-width: 100%;
}

/* Brand */
.hero__brand {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: calc(25px * var(--k));
  width: calc(853px * var(--k));
  max-width: 100%;
  min-height: calc(93px * var(--k));
}

.hero__logo {
  flex-shrink: 0;
}

.hero__logo img {
  width: calc(382px * var(--k));
  height: auto;
}

.hero__divider {
  width: 1px;
  align-self: stretch;
  background: rgba(255, 255, 255, 0.5);
}

.hero__meta {
  display: flex;
  flex-direction: column;
  gap: calc(5px * var(--k));
  width: calc(403px * var(--k));
  font-size: calc(19px * var(--k));
  line-height: 1;
  text-transform: uppercase;
  color: #fff;
}

.hero__meta-edition {
  font-weight: 700;
}

.hero__meta-name {
  font-weight: 1000;
  white-space: nowrap;
  letter-spacing: 1px;
  color: rgba(255, 255, 255, 0.8);
}

.hero__meta-venue {
  font-weight: 300;
}

/* Testo hero */
.hero__dates {
  display: flex;
  flex-direction: column;
  gap: calc(5px * var(--k));
  padding: calc(8px * var(--k)) 0;
  color: #fff;
  line-height: 1;
}

.hero__days {
  display: flex;
  flex-wrap: wrap;
  gap: calc(5px * var(--k));
  font-weight: 800;
  font-size: calc(40px * var(--k));
  letter-spacing: -1px;
}

.hero__month {
  font-weight: 700;
  font-size: calc(30px * var(--k));
  letter-spacing: 1px;
}

.hero__title {
  font-weight: 900;
  font-size: calc(70px * var(--k));
  line-height: 1;
  letter-spacing: -1px;
  color: #fff;
}

.hero__title span {
  color: var(--secondary);
}

/* ==========================================================================
   FORM CARD
   ========================================================================== */

.form-card {
  flex-shrink: 0;
  width: calc(531px * var(--k));
  max-width: 100%;
  display: flex;
  flex-direction: column;
  gap: calc(32px * var(--k));
  padding: calc(40px * var(--k)) calc(30px * var(--k)) calc(36px * var(--k));
  background: #fff;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: var(--radius);
  box-shadow: 0 calc(24px * var(--k)) calc(48px * var(--k)) rgba(6, 20, 40, 0.25);
  scroll-margin-top: calc(20px * var(--k));
}

.form-card__head {
  display: flex;
  flex-direction: column;
  gap: calc(15px * var(--k));
}

.form-card__title {
  font-weight: 900;
  font-size: calc(40px * var(--k));
  line-height: 1;
  color: var(--primary);
}

.form-card__desc {
  font-size: calc(18px * var(--k));
  line-height: 1.6;
  color: var(--muted);
}

.form-card__form {
  display: flex;
  flex-direction: column;
  gap: calc(22px * var(--k));
}

.form-row {
  display: flex;
  gap: calc(20px * var(--k));
}

.form-row .field {
  flex: 1 1 0;
  min-width: 0;
}

.field {
  width: 100%;
  height: calc(40px * var(--k));
  padding: calc(5px * var(--k));
  border: 0;
  border-bottom: 1px solid var(--muted);
  border-radius: 0;
  background: transparent;
  font-family: var(--font-archivo);
  font-weight: 300;
  font-size: calc(20px * var(--k));
  line-height: 1.5;
  color: var(--primary);
  transition: border-color 0.2s ease;
}

.field::placeholder {
  color: var(--muted);
  opacity: 1;
}

.field:focus {
  outline: none;
  border-bottom-color: var(--blue);
}

.field:user-invalid {
  border-bottom-color: #d64545;
}

.field--area {
  height: calc(85px * var(--k));
  resize: vertical;
  display: block;
}

/* Gap fra textarea e i campi: la colonna ha già gap calc(20px * var(--k)) */

.privacy {
  display: flex;
  align-items: center;
  gap: calc(5px * var(--k));
  font-family: var(--font-archivo);
  font-weight: 300;
  font-size: calc(20px * var(--k));
  line-height: 1.5;
  color: var(--muted);
  cursor: pointer;
}

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

.privacy a:hover {
  text-decoration: underline;
}

.privacy input {
  appearance: none;
  -webkit-appearance: none;
  flex-shrink: 0;
  width: calc(10px * var(--k));
  height: calc(10px * var(--k));
  border: 1px solid var(--muted);
  box-shadow: 0 calc(4px * var(--k)) calc(4px * var(--k)) rgba(0, 0, 0, 0.25);
  background: #fff;
  cursor: pointer;
}

.privacy input:checked {
  background: var(--blue);
  border-color: var(--blue);
}

.privacy input:focus-visible {
  outline: calc(2px * var(--k)) solid var(--blue);
  outline-offset: calc(2px * var(--k));
}

.form-card__submit {
  position: relative;
  overflow: hidden;
  width: 100%;
  margin-top: calc(6px * var(--k));
  padding: calc(14px * var(--k)) calc(21px * var(--k));
  border-radius: var(--radius);
  background-image: var(--grad-gold);
  font-family: var(--font-geist);
  font-weight: 500;
  font-size: calc(22px * var(--k));
  line-height: 1;
  letter-spacing: calc(1.1px * var(--k));
  color: #fff;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.form-card__submit:hover {
  transform: translateY(-calc(2px * var(--k)));
  box-shadow: 0 calc(10px * var(--k)) calc(24px * var(--k)) rgba(183, 138, 52, 0.35);
}

.form-card__submit:disabled {
  opacity: 0.7;
  cursor: wait;
}

.hp-field {
  position: absolute;
  left: -calc(9999px * var(--k));
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* ==========================================================================
   NUMERI
   ========================================================================== */

.stats {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: calc(var(--head-gap) - calc(32px * var(--k))); /* la griglia ha già calc(32px * var(--k)) di padding-top */
  padding: var(--section-y) var(--gutter) 0;
}

.stats__grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: calc(48px * var(--k)) calc(32px * var(--k));
  width: 100%;
  max-width: calc(1280px * var(--k));
  padding: calc(32px * var(--k)) calc(16px * var(--k)) 0;
}

.stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: calc(8px * var(--k));
  text-align: center;
}

.stat__num {
  font-weight: 1000;
  font-size: calc(48px * var(--k));
  line-height: calc(48px * var(--k));
  color: var(--blue);
  white-space: nowrap;
}

.stat__label {
  font-weight: 700;
  font-size: 12px;
  line-height: 16px;
  text-transform: uppercase;
  color: var(--muted);
}

/* ==========================================================================
   EVOLVE
   ========================================================================== */

.evolve {
  padding: 0 var(--gutter) var(--section-y);
}

.evolve::before {
  content: "";
  display: block;
  width: min(calc(1280px * var(--k)), 100%);
  height: 1px;
  margin: calc(88px * var(--k)) auto calc(88px * var(--k));
  background: linear-gradient(90deg, transparent, rgba(13, 41, 75, 0.15), transparent);
}

/* ==========================================================================
   PROPOSTE ESPOSITIVE
   ========================================================================== */

.stands {
  background: var(--primary);
  padding: var(--section-y) 0;
}

.stands .container {
  display: flex;
  flex-direction: column;
  gap: calc(32px * var(--k));
}

.stands .section-head {
  margin-bottom: calc(var(--head-gap) - calc(32px * var(--k)));
}

.stands__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: calc(32px * var(--k));
}

.stand-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: calc(32px * var(--k));
  padding: var(--card-pad);
  background: #fff;
  border-radius: var(--radius);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.stand-card:hover {
  transform: translateY(-calc(4px * var(--k)));
  box-shadow: 0 calc(20px * var(--k)) calc(40px * var(--k)) rgba(0, 0, 0, 0.25);
}

.stand-card__body {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.stand-title {
  font-family: var(--font-geist);
  font-weight: 400;
  font-size: calc(30px * var(--k));
  line-height: 1.1;
  color: var(--blue);
}

.stand-title b {
  font-weight: 700;
}

.stand-card .stand-title {
  text-align: center;
}

.stand-card__img {
  width: 100%;
  height: calc(300px * var(--k));
  margin: calc(20px * var(--k)) 0 calc(24px * var(--k));
  object-fit: contain;
  border-radius: var(--radius);
}

.stand-list {
  width: 100%;
  font-family: var(--font-geist);
  font-size: 15px;
  line-height: 1.4;
  color: var(--text-list);
}

.stand-list b {
  font-weight: 700;
}

.stand-list > p {
  margin-bottom: calc(8px * var(--k));
}

.stand-list ul {
  list-style: disc;
  padding-left: calc(22.5px * var(--k));
}

.stand-list li + li {
  margin-top: calc(3px * var(--k));
}

.stand-list li::marker {
  color: var(--blue);
}

.stand-plain {
  font-family: var(--font-geist);
  font-size: 15px;
  line-height: 1.4;
  color: var(--text-list);
}

/* Pillola prezzo */
.price-pill {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: calc(10px * var(--k)) calc(30px * var(--k));
  border-radius: calc(99px * var(--k));
  background-image: var(--grad-blue);
  color: #fff;
  text-align: center;
  text-decoration: none;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.price-pill strong {
  font-weight: 700;
  font-size: calc(17px * var(--k));
  line-height: normal;
}

.price-pill span {
  font-weight: 400;
  font-size: 10px;
  line-height: normal;
}

.price-pill:hover {
  transform: translateY(-calc(2px * var(--k)));
  box-shadow: 0 calc(10px * var(--k)) calc(24px * var(--k)) rgba(6, 80, 147, 0.3);
}

/* Card larghe */
.wide-card {
  display: flex;
  align-items: flex-start;
  gap: calc(48px * var(--k));
  padding: var(--card-pad);
  background: #fff;
  border-radius: var(--radius);
}

.wide-card__media {
  flex: 1 1 0;
  min-width: 0;
}

.wide-card__media img {
  width: 100%;
  object-fit: contain;
  border-radius: var(--radius);
}

.wide-card__media--custom img {
  height: calc(400px * var(--k));
}

.wide-card__media--free img {
  height: calc(278px * var(--k));
}

.wide-card__content {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: calc(24px * var(--k));
}

.wide-card__content .stand-plain li + li {
  margin-top: calc(3px * var(--k));
}

.wide-card--free {
  align-items: stretch;
}

.wide-card__content--free {
  flex: 0 0 calc(564px * var(--k));
  justify-content: space-between;
}

.wide-card__text {
  display: flex;
  flex-direction: column;
  gap: calc(24px * var(--k));
  margin-bottom: calc(32px * var(--k));
}

/* CTA preventivo */
.stands__cta {
  display: flex;
  justify-content: center;
  margin-top: calc(24px * var(--k));
}
.grid.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.btn-quote {
  display: inline-flex;
  align-items: center;
  gap: calc(5px * var(--k));
  padding: calc(14px * var(--k)) calc(40px * var(--k));
  border-radius: calc(99px * var(--k));
  background-image: linear-gradient(97deg, #B78A34 0%, #E7C977 99%);
  font-family: var(--font-poppins);
  font-weight: 700;
  font-size: calc(25px * var(--k));
  line-height: normal;
  color: #fff;
  text-decoration: none;
  white-space: nowrap;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.btn-quote:hover {
  transform: translateY(-calc(2px * var(--k)));
  box-shadow: 0 calc(10px * var(--k)) calc(24px * var(--k)) rgba(183, 138, 52, 0.4);
}

/* ==========================================================================
   GALLERY
   ========================================================================== */

.gallery {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--head-gap);
  padding: var(--section-y) 0;
}

.gallery__wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: calc(40px * var(--k));
  width: 100%;
  padding: 0 calc(200px * var(--k));
}

.gallery__row {
  display: flex;
  align-items: center;
  gap: calc(46px * var(--k));
  width: 100%;
  max-width: calc(1529px * var(--k));
}

.gallery__arrow {
  flex-shrink: 0;
  width: calc(50px * var(--k));
  height: calc(50px * var(--k));
  border-radius: 50%;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.gallery__arrow--prev img {
  transform: rotate(180deg);
}

.gallery__arrow:hover {
  transform: scale(1.08);
}

.gallery__slider {
  flex: 1 1 0;
  min-width: 0;
}

.gallery__slider .slick-list {
  margin: 0 -calc(23px * var(--k));
}

.gallery__slider .slick-slide {
  margin: 0 calc(23px * var(--k));
}

.gallery__slider .slick-slide img {
  width: 100%;
  height: calc(400px * var(--k));
  object-fit: cover;
  border-radius: var(--radius);
}

/* Dots */
.gallery__dots .slick-dots {
  display: flex;
  gap: calc(10px * var(--k));
}

.gallery__dots button {
  display: block;
  width: calc(10px * var(--k));
  height: calc(10px * var(--k));
  border-radius: 50%;
  background: #D9D9D9;
  font-size: 0;
  transition: background 0.2s ease;
}

.gallery__dots .slick-active button {
  background: var(--blue);
}

/* ==========================================================================
   PARTNER
   ========================================================================== */

.partners {
  background: var(--grey-bg);
  padding: var(--section-y) 0;
}

.partners .container {
  display: flex;
  flex-direction: column;
  gap: var(--head-gap);
}

.section-head--partners {
  max-width: calc(654px * var(--k));
}

.partners__rows {
  display: flex;
  flex-direction: column;
  gap: calc(72px * var(--k));
}

.partners__row {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: calc(100px * var(--k));
}

.partners__logo {
  width: calc(140px * var(--k));
  height: calc(140px * var(--k));
  object-fit: contain;
}

.partners__logo--sm {
  width: calc(121px * var(--k));
  height: calc(121px * var(--k));
}

.partners__logo--lg {
  width: calc(150px * var(--k));
  height: calc(150px * var(--k));
}

.partners__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: calc(12px * var(--k));
}

.partners__label {
  font-weight: 900;
  font-size: 12px;
  line-height: 1;
  letter-spacing: calc(2px * var(--k));
  text-transform: uppercase;
  color: var(--grey-label);
}

/* ==========================================================================
   VIDEO + CTA BANNER
   ========================================================================== */

.video {
  background: #fff;
  padding: var(--section-y) 0;
}

.video .container {
  display: flex;
  flex-direction: column;
  gap: var(--head-gap);
}

.video .cta-banner {
  margin-top: calc(8px * var(--k));
}

.video__frame {
  position: relative;
  height: calc(626px * var(--k));
  border-radius: var(--radius);
  overflow: hidden;
  background:
    linear-gradient(rgba(13, 41, 75, 0.4), rgba(13, 41, 75, 0.4)),
    url("../img/hero-bg.jpg") center / cover no-repeat;
}

.video__frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.video__play {
  position: absolute;
  left: 50%;
  top: 50%;
  width: calc(100px * var(--k));
  height: calc(100px * var(--k));
  transform: translate(-50%, -50%);
  transition: transform 0.3s ease;
}

.video__play:hover {
  transform: translate(-50%, -50%) scale(1.1);
}

.cta-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: calc(40px * var(--k));
  padding: calc(64px * var(--k)) calc(72px * var(--k));
  border-radius: var(--radius);
  background: url("../img/cta-bg.png") center / cover no-repeat, var(--primary);
  box-shadow: 0 calc(12px * var(--k)) calc(24px * var(--k)) rgba(14, 43, 77, 0.25);
}

.cta-banner__text {
  display: flex;
  flex-direction: column;
  gap: calc(16px * var(--k));
}

.cta-banner__title {
  max-width: calc(687px * var(--k));
  font-weight: 900;
  font-size: calc(48px * var(--k));
  line-height: 1.2;
  color: #fff;
}

.cta-banner__btn {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  height: calc(75px * var(--k));
  padding: calc(25px * var(--k)) calc(50px * var(--k));
  border-radius: calc(99px * var(--k));
  background-image: linear-gradient(96deg, #B78A34 0%, #E7C977 99%);
  font-weight: 700;
  font-size: calc(25px * var(--k));
  line-height: 1;
  letter-spacing: 1px;
  color: #fff;
  text-decoration: none;
  white-space: nowrap;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cta-banner__btn:hover {
  transform: translateY(-calc(2px * var(--k)));
  box-shadow: 0 calc(16px * var(--k)) calc(36px * var(--k)) rgba(183, 138, 52, 0.4);
}

/* ==========================================================================
   FOOTER
   ========================================================================== */

.footer {
  background: var(--primary-2);
  padding: calc(72px * var(--k)) 0 calc(28px * var(--k));
  color: #fff;
}

.footer__top {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: calc(32px * var(--k));
}

.footer__logo {
  position: relative;
  display: block;
}

.footer__logo img {
  width: 180px;
}

.footer__social {
  display: flex;
  align-items: center;
  gap: calc(25px * var(--k));
}

.footer__social-tiktok {
  margin-left: -calc(9px * var(--k)); /* calc(16px * var(--k)) fra Instagram e TikTok come da design */
}

.footer__social a {
  display: block;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.footer__social a:hover {
  opacity: 0.75;
  transform: translateY(-calc(2px * var(--k)));
}

.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: calc(16px * var(--k));
  margin-top: calc(48px * var(--k));
  padding-top: calc(24px * var(--k));
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-family: var(--font-archivo);
  font-size: 12px;
  line-height: 16px;
}

.footer__links {
  display: flex;
  gap: calc(16px * var(--k));
}

.footer__links a {
  text-decoration: none;
}

.footer__links a:hover {
  text-decoration: underline;
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */

@media (max-width: calc(1500px * var(--k))) {
  .gallery__wrap {
    padding: 0 var(--gutter);
  }

  .hero__title {
    font-size: calc(60px * var(--k));
  }
}

@media (max-width: calc(1300px * var(--k))) {
  .hero__brand {
    justify-content: flex-start;
  }

  .hero__logo img {
    width: calc(300px * var(--k));
  }

  .hero__meta {
    width: auto;
    font-size: 16px;
  }

  .hero__days {
    font-size: calc(34px * var(--k));
  }

  .hero__month {
    font-size: calc(26px * var(--k));
  }

  .hero__title {
    font-size: calc(52px * var(--k));
  }

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

  .wide-card__content--free {
    flex-basis: 50%;
  }
}

@media (max-width: 1100px) {
  :root {
    --k: 1;
    --section-y: 96px;
    --head-gap: 48px;
    --card-pad: 32px;
  }

  .evolve::before {
    margin: 72px auto;
  }

  /* Hero impilato */
  .hero {
    min-height: 0;
  }

  .hero__bg {
    top: 0;
  }

  .hero__inner {
    flex-direction: column;
    align-items: stretch;
    gap: 50px;
    padding: 40px 0 50px;
  }

  .hero__left {
    width: 100%;
    gap: 120px;
  }

  .hero__brand {
    width: 100%;
  }

  .form-card {
    width: 100%;
    max-width: 640px;
    align-self: center;
  }

  .stats__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    padding-left: 0;
    padding-right: 0;
  }

  .wide-card,
  .wide-card--free {
    flex-direction: column;
    align-items: stretch;
  }

  .wide-card--free .wide-card__media {
    order: -1;
  }

  .wide-card__content--free {
    flex-basis: auto;
    gap: 20px;
  }

  .wide-card__media--custom img,
  .wide-card__media--free img {
    height: auto;
  }

  .gallery__slider .slick-slide img {
    height: 340px;
  }

  .partners__row {
    gap: 60px;
  }

  .cta-banner {
    flex-direction: column;
    align-items: flex-start;
  }

  .section-title,
  .cta-banner__title {
    font-size: 40px;
  }
}

@media (max-width: 768px) {
  :root {
    --gutter: 16px;
    --section-y: 72px;
    --head-gap: 36px;
    --card-pad: 24px;
  }

.gallery__wrap {
 padding: 0 20px !important;
}

  .evolve::before {
    margin: 56px auto;
  }

  .stats__grid {
    gap: 36px 16px;
  }

  .wide-card {
    gap: 28px;
  }

  .hero__brand {
    gap: 15px;
    min-height: 0;
  }

  .hero__logo img {
    width: 160px;
  }

  .hero__meta {
    font-size: 11px;
    gap: 4px;
  }

  .hero__meta-name {
    letter-spacing: 0.5px;
    white-space: normal;
  }

  .hero__meta {
    min-width: 0;
  }

  .hero__left {
    gap: 30px;
  }

  .hero__days {
    font-size: 26px;
  }

  .hero__month {
    font-size: 20px;
  }

  .hero__title {
    font-size: 38px;
  }

  .form-card {
    padding: 32px 24px 28px;
  }

  .form-card__title {
    font-size: 30px;
  }

  .form-card__desc {
    font-size: 16px;
  }

  .form-row {
    flex-direction: column;
  }

  .field,
  .privacy {
    font-size: 18px;
  }

  .form-card__submit {
    font-size: 18px;
    padding: 14px 21px;
  }

  .eyebrow {
    font-size: 14px;
    letter-spacing: 1.5px;
  }

  .section-title,
  .cta-banner__title {
    font-size: 30px;
  }

  .section-desc {
    font-size: 16px;
  }

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

  .stat__num {
    font-size: 38px;
    line-height: 40px;
  }

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

  .stand-title {
    font-size: 24px;
  }

  .stand-card__img {
    height: 240px;
  }

  .btn-quote {
    font-size: 20px;
  }

  .gallery__row {
    gap: 12px;
  }

  .gallery__arrow {
    width: 36px;
    height: 36px;
  }

  .gallery__arrow img {
    width: 36px;
    height: 36px;
  }

  .gallery__slider .slick-slide img {
    height: 380px;
  }

  .partners__rows {
    gap: 50px;
  }

  .partners__row {
    gap: 30px 40px;
  }

  .partners__logo {
    width: 100px;
    height: 100px;
  }

  .partners__logo--sm {
    width: 90px;
    height: 90px;
  }

  .partners__logo--lg {
    width: 130px;
    height: 130px;
  }

  .video .container {
    gap: 30px;
  }

  .video__frame {
    height: auto;
    aspect-ratio: 16 / 9;
  }

  .video__play,
  .video__play img {
    width: 64px;
    height: 64px;
  }

  .cta-banner {
    padding: 36px 24px;
    gap: 28px;
  }

  .cta-banner__btn {
    width: 100%;
    height: auto;
    padding: 20px;
    font-size: 20px;
  }

  .footer__bottom {
    flex-direction: column;
    text-align: center;
  }

  .footer__links {
    flex-wrap: wrap;
    justify-content: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition: none !important;
  }
}

/* Gallery: lo slider ha sempre una larghezza definita */
.gallery__row {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  grid-template-areas: "prev slider next";
  align-items: center;
  gap: 24px;
}

.gallery__arrow--prev { grid-area: prev; }
.gallery__arrow--next { grid-area: next; }

.gallery__row .gallery__slider {
  grid-area: slider;
  width: 100%;
  min-width: 0;
}

@media (max-width: 767px) {
  .gallery__row {
    grid-template-columns: 1fr 1fr;
    grid-template-areas:
      "slider slider"
      "prev   next";
    gap: 16px;
  }

  .gallery__arrow--prev { justify-self: end; }
  .gallery__arrow--next { justify-self: start; }
}


/* ==========================================================================
   CONTATTI FLOTTANTI
   ========================================================================== */

.lp-fab {
  position: fixed;
  right: calc(30px * var(--k));
  bottom: calc(30px * var(--k));
  display: flex;
  align-items: center;
  gap: calc(12px * var(--k));
  z-index: 999;
}

.lp-fab__btn {
  width: calc(60px * var(--k));
  height: calc(60px * var(--k));
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  background: var(--primary);
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 calc(10px * var(--k)) calc(24px * var(--k)) rgba(14, 43, 77, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.lp-fab__btn svg {
  width: calc(26px * var(--k));
  height: calc(26px * var(--k));
}

.lp-fab__btn--wa {
  background: #25D366;
  border-color: transparent;
}

.lp-fab__btn:hover {
  transform: translateY(calc(-2px * var(--k)));
}

.lp-fab__cta {
  display: inline-flex;
  align-items: center;
  height: calc(60px * var(--k));
  padding: 25px 35px;
  border-radius: calc(99px * var(--k));
  background-image: var(--grad-gold);
  font-family: var(--font-poppins);
  font-weight: 700;
  font-size: 20px;
  line-height: 1;
  color: #fff;
  text-decoration: none;
  white-space: nowrap;
  box-shadow: 0 calc(10px * var(--k)) calc(24px * var(--k)) rgba(183, 138, 52, 0.4);
  transition: transform 0.3s ease, box-shadow 0.3s ease, opacity 0.3s ease;
}

.lp-fab__cta:hover {
  transform: translateY(calc(-2px * var(--k)));
  box-shadow: 0 calc(16px * var(--k)) calc(36px * var(--k)) rgba(183, 138, 52, 0.5);
}

@media (max-width: 768px) {
  .lp-fab {
    left: 0;
    right: 0;
    bottom: 0;
    gap: 0;
    padding-bottom: env(safe-area-inset-bottom);
    background: var(--primary);
    box-shadow: 0 -6px 20px rgba(14, 43, 77, 0.25);
  }

  .lp-fab__btn {
    flex: 0 0 60px;
    width: 60px;
    height: 60px;
    border-radius: 0;
    border: 0;
    border-right: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: none;
  }

  .lp-fab__btn svg {
    width: 24px;
    height: 24px;
  }

  .lp-fab__btn:hover,
  .lp-fab__cta:hover {
    transform: none;
  }

  .lp-fab__cta {
    flex: 1;
    justify-content: center;
    height: 60px;
    padding: 0 16px;
    border-radius: 0;
    font-size: 20px;
    letter-spacing: 0.5px;
    box-shadow: none;
  }

  body {
    padding-bottom: calc(60px + env(safe-area-inset-bottom));
  }
}

.lp-fab {
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  pointer-events: none;
  transition: opacity 0.4s ease, transform 0.4s ease, visibility 0.4s;
}

.lp-fab.is-visible {
  opacity: 1;
  visibility: visible;
  transform: none;
  pointer-events: auto;
}