/* =========================================================
   GESCAD - LANDING PAGE VOUCHER MIMIT 2026
   Tutte le classi sono isolate con prefisso vm-
========================================================= */

.voucher-mimit-page {
  --vm-primary: #00b6de;
  --vm-primary-dark: #003c67;
  --vm-secondary: #00a3c7;
  --vm-accent: #f2a900;
  --vm-dark: #172433;
  --vm-text: #3f4c59;
  --vm-light: #f4f7f9;
  --vm-light-blue: #edf6fa;
  --vm-white: #ffffff;
  --vm-border: #dce5ea;
  --vm-success: #2d9d70;
  --vm-radius: 16px;
  --vm-shadow: 0 15px 40px rgba(26, 52, 72, 0.1);

  /* Gradient bottoni stile sito GESCAD */
  --vm-btn-start: #00b6de;
  --vm-btn-end: #0868e2;
  --vm-btn-shadow: 0 8px 25px rgba(8, 104, 226, 0.22);
  --vm-btn-shadow-hover: 0 10px 30px rgba(8, 104, 226, 0.32);
}

.voucher-mimit-page,
.voucher-mimit-page * {
  box-sizing: border-box;
}

.voucher-mimit-page {
  color: var(--vm-text);
  background: #fff;
}

.voucher-mimit-page a {
  transition: all 0.25s ease;
}

.voucher-mimit-page img {
  max-width: 100%;
}

.vm-container {
  width: calc(100% - 40px);
  max-width: 1180px;
  margin: 0 auto;
}

.vm-section {
  padding: 90px 0;
}

.vm-section--light {
  background: var(--vm-light);
}

.vm-section--blue-light {
  background: var(--vm-light-blue);
}

.vm-section-header {
  max-width: 820px;
  margin-bottom: 48px;
}

.vm-section-header--center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.vm-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  color: var(--vm-primary);
  font-size: 13px;
  line-height: 1.3;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.vm-eyebrow::before {
  content: "";
  width: 26px;
  height: 3px;
  background: var(--vm-accent);
  border-radius: 10px;
}

.vm-title {
  margin: 0 0 20px;
  color: var(--vm-dark);
  font-size: 40px;
  line-height: 1.13;
  font-weight: 700;
}

.vm-title strong {
  color: var(--vm-primary);
}

.vm-subtitle {
  margin: 0;
  font-size: 18px;
  line-height: 1.7;
  color: var(--vm-text);
}

.vm-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 13px 24px;
  border-radius: 7px;
  text-decoration: none !important;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.3;
  text-align: center;
}

/* =========================================================
   BOTTONI - STILE GESCAD
========================================================= */

.vm-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 13px 24px;
  border-radius: 7px;
  text-decoration: none !important;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.3;
  text-align: center;
  border: none;
  overflow: hidden;
  appearance: none;
  -webkit-appearance: none;
}

.vm-btn--primary,
.vm-btn--accent,
.vm-btn--outline,
.vm-btn--light {
  color: #ffffff !important;
  background: linear-gradient(90deg, #00afd8 0%, #0868e2 100%);
  border: none;
  box-shadow: 0 8px 22px rgba(8, 104, 226, 0.2);
}

.vm-btn--primary:hover,
.vm-btn--accent:hover,
.vm-btn--outline:hover,
.vm-btn--light:hover {
  color: #ffffff !important;
  background: linear-gradient(90deg, #009fca 0%, #075fd0 100%);
  transform: translateY(-2px);
  box-shadow: 0 10px 26px rgba(8, 104, 226, 0.28);
}

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

.vm-hero {
  position: relative;
  min-height: 950px;
  display: flex;
  align-items: center;
  background-image:
    linear-gradient(
      90deg,
      rgba(255, 255, 255, 1) 0%,
      rgba(255, 255, 255, 0.98) 35%,
      rgba(255, 255, 255, 0.88) 52%,
      rgba(255, 255, 255, 0.2) 78%,
      rgba(255, 255, 255, 0.05) 100%
    ),
    url("/static/gescad/img/hero-mimit-gescad.jpg");
  background-size: cover;
  background-position: center right;
}

.vm-hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 8px;
  background: linear-gradient(
    90deg,
    var(--vm-primary),
    var(--vm-secondary),
    var(--vm-accent)
  );
}

.vm-hero__container {
  position: relative;
  z-index: 2;
  padding-top: 80px;
  padding-bottom: 80px;
}

.vm-hero__content {
  width: 100%;
  max-width: 720px;
}

.vm-hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 22px;
  padding: 9px 15px;
  background: rgba(0, 85, 140, 0.08);
  border: 1px solid rgba(0, 85, 140, 0.16);
  border-radius: 100px;
  color: var(--vm-primary);
  font-size: 13px;
  font-weight: 700;
}

.vm-hero__badge-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--vm-accent);
  box-shadow: 0 0 0 5px rgba(242, 169, 0, 0.14);
}

.vm-hero h1 {
  margin: 0 0 25px;
  color: var(--vm-dark);
  font-size: 49px;
  line-height: 1.08;
  font-weight: 700;
  letter-spacing: -0.025em;
}

.vm-hero h1 span {
  color: var(--vm-primary);
}

.vm-hero__lead {
  max-width: 680px;
  margin: 0 0 30px;
  color: #344553;
  font-size: 19px;
  line-height: 1.65;
}

.vm-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 35px;
}

.vm-hero__trust {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.vm-hero__trust span {
  padding: 7px 11px;
  color: #415361;
  background: rgba(255, 255, 255, 0.87);
  border: 1px solid #dce5ea;
  border-radius: 5px;
  font-size: 12px;
  font-weight: 700;
}

/* ! =========================================================
   NUMERI BANDO
========================================================= */

.vm-stats {
  position: relative;
  z-index: 5;
  margin-top: -50px;
}

.vm-stats__inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: #fff;
  border-radius: var(--vm-radius);
  box-shadow: var(--vm-shadow);
  overflow: hidden;
}

.vm-stat {
  position: relative;
  padding: 28px 28px 25px;
}

.vm-stat + .vm-stat {
  border-left: 1px solid var(--vm-border);
}

.vm-stat__value {
  display: block;
  margin-bottom: 6px;
  color: var(--vm-primary);
  font-size: 31px;
  line-height: 1;
  font-weight: 800;
}

.vm-stat__label {
  color: #576773;
  font-size: 13px;
  line-height: 1.45;
  font-weight: 600;
}

/* ! =========================================================
   INTRO / ACCREDITAMENTO
========================================================= */

.vm-two-cols {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 60px;
  align-items: center;
}

.vm-feature-image {
  position: relative;
  min-height: 480px;
  border-radius: 20px;
  background-image:
    linear-gradient(135deg, rgba(0, 60, 103, 0.1), rgba(0, 163, 199, 0.05)),
    url("/static/gescad/img/cloud-mimit.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  box-shadow: var(--vm-shadow);
}

.vm-feature-image__card {
  position: absolute;
  left: 25px;
  right: 25px;
  bottom: -25px;
  padding: 25px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.1);
}

.vm-feature-image__card strong {
  display: block;
  margin-bottom: 7px;
  color: var(--vm-primary);
  font-size: 18px;
}

.vm-feature-image__card p {
  margin: 0;
  color: var(--vm-text);
  font-size: 14px;
  line-height: 1.55;
}

.vm-check-list {
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.vm-check-list li {
  position: relative;
  margin-bottom: 14px;
  padding-left: 32px;
  color: var(--vm-text);
  font-size: 16px;
  line-height: 1.55;
}

.vm-check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 1px;
  width: 21px;
  height: 21px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(45, 157, 112, 0.12);
  color: var(--vm-success);
  font-size: 13px;
  font-weight: 800;
}

/* ! =========================================================
   CARDS SOLUZIONI
========================================================= */

.vm-solutions {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.vm-solution {
  height: 100%;
  padding: 32px;
  background: #fff;
  border: 1px solid var(--vm-border);
  border-radius: var(--vm-radius);
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

.vm-solution:hover {
  transform: translateY(-5px);
  box-shadow: var(--vm-shadow);
}

.vm-solution__icon {
  width: 58px;
  height: 58px;
  margin-bottom: 25px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: var(--vm-light-blue);
  color: var(--vm-primary);
}

.vm-solution__icon svg {
  width: 30px;
  height: 30px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.vm-solution h3 {
  margin: 0 0 17px;
  color: var(--vm-dark);
  font-size: 23px;
  line-height: 1.25;
}

.vm-solution p {
  margin: 0 0 20px;
  font-size: 15px;
  line-height: 1.65;
}

.vm-solution ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.vm-solution li {
  position: relative;
  margin-bottom: 10px;
  padding-left: 20px;
  color: #4d5f6d;
  font-size: 14px;
  line-height: 1.45;
}

.vm-solution li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--vm-accent);
}

/* ! =========================================================
   PROCESSO GESCAD
========================================================= */

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

.vm-process__item {
  position: relative;
  min-height: 185px;
  padding: 29px 28px;
  background: #fff;
  border: 1px solid var(--vm-border);
  border-radius: 14px;
  counter-increment: process-counter;
}

.vm-process__item::before {
  content: "0" counter(process-counter);
  display: block;
  margin-bottom: 18px;
  color: var(--vm-primary);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.06em;
}

.vm-process__item::after {
  content: "";
  position: absolute;
  left: 28px;
  top: 60px;
  width: 35px;
  height: 3px;
  border-radius: 10px;
  background: var(--vm-accent);
}

.vm-process__item h3 {
  margin: 0 0 10px;
  color: var(--vm-dark);
  font-size: 18px;
  line-height: 1.3;
}

.vm-process__item p {
  margin: 0;
  color: var(--vm-text);
  font-size: 14px;
  line-height: 1.55;
}

/* ! =========================================================
   SCHEDA SINTETICA
========================================================= */

.vm-summary {
  overflow: hidden;
  display: grid;
  grid-template-columns: 0.72fr 1.28fr;
  border-radius: 20px;
  background: var(--vm-primary-dark);
  box-shadow: var(--vm-shadow);
}

.vm-summary__intro {
  padding: 50px 45px;
  color: #fff;
  background: radial-gradient(
    circle at top left,
    rgba(0, 163, 199, 0.35),
    transparent 55%
  );
}

.vm-summary__label {
  display: inline-block;
  margin-bottom: 17px;
  padding: 7px 10px;
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 5px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.vm-summary__intro h2 {
  margin: 0 0 15px;
  color: #fff;
  font-size: 32px;
  line-height: 1.15;
}

.vm-summary__intro p {
  margin: 0;
  color: rgba(255, 255, 255, 0.79);
  font-size: 15px;
  line-height: 1.65;
}

.vm-summary__data {
  padding: 42px;
  background: #fff;
}

.vm-summary__row {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 25px;
  padding: 17px 0;
  border-bottom: 1px solid var(--vm-border);
}

.vm-summary__row:first-child {
  padding-top: 0;
}

.vm-summary__row:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.vm-summary__key {
  color: var(--vm-primary);
  font-size: 13px;
  font-weight: 800;
}

.vm-summary__value {
  color: var(--vm-text);
  font-size: 14px;
  line-height: 1.5;
}

/* ! =========================================================
   ALERT SCADENZE
========================================================= */

.vm-deadline {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 35px;
  align-items: center;
}

.vm-deadline__warning {
  padding: 35px;
  border-radius: 16px;
  background: #fff8e8;
  border-left: 5px solid var(--vm-accent);
}

.vm-deadline__warning h3 {
  margin: 0 0 12px;
  color: var(--vm-dark);
  font-size: 22px;
}

.vm-deadline__warning p {
  margin: 0;
  color: #665b43;
  font-size: 15px;
  line-height: 1.65;
}

.vm-timeline {
  display: grid;
  gap: 14px;
}

.vm-timeline__item {
  position: relative;
  display: grid;
  grid-template-columns: 125px 1fr;
  gap: 22px;
  align-items: center;
  padding: 22px 24px;
  background: #fff;
  border: 1px solid var(--vm-border);
  border-radius: 12px;
}

.vm-timeline__date {
  color: var(--vm-primary);
  font-size: 15px;
  font-weight: 800;
}

.vm-timeline__content strong {
  display: block;
  margin-bottom: 3px;
  color: var(--vm-dark);
}

.vm-timeline__content span {
  color: #667785;
  font-size: 13px;
}

/* ! =========================================================
   CTA
========================================================= */

.vm-cta {
  position: relative;
  overflow: hidden;
  padding: 55px;
  border-radius: 20px;
  color: #fff;
  background: linear-gradient(
    115deg,
    var(--vm-primary-dark),
    var(--vm-primary) 65%,
    #0080a4
  );
}

.vm-cta::after {
  content: "";
  position: absolute;
  width: 330px;
  height: 330px;
  right: -130px;
  top: -150px;
  border: 50px solid rgba(255, 255, 255, 0.05);
  border-radius: 50%;
}

.vm-cta__inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.4fr 0.6fr;
  gap: 50px;
  align-items: center;
}

.vm-cta h2 {
  margin: 0 0 14px;
  color: #fff;
  font-size: 32px;
  line-height: 1.2;
}

.vm-cta p {
  max-width: 720px;
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 16px;
  line-height: 1.65;
}

.vm-cta__actions {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 10px;
}

.vm-cta__contact {
  margin-top: 23px;
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}

.vm-cta__contact a {
  color: #fff !important;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}

.vm-cta__contact a:hover {
  text-decoration: underline;
}

/* ! =========================================================
   TABELLA CONTRIBUTO
========================================================= */

.vm-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--vm-border);
  border-radius: 14px;
  box-shadow: 0 10px 30px rgba(26, 52, 72, 0.06);
}

.vm-table {
  width: 100%;
  margin: 0;
  border-collapse: collapse;
  background: #fff;
}

.vm-table th {
  padding: 18px 22px;
  text-align: left;
  color: #fff;
  background: var(--vm-primary);
  font-size: 13px;
}

.vm-table td {
  padding: 18px 22px;
  border-bottom: 1px solid var(--vm-border);
  color: var(--vm-text);
  font-size: 14px;
  line-height: 1.5;
}

.vm-table tr:last-child td {
  border-bottom: 0;
}

.vm-table td:first-child {
  width: 36%;
  color: var(--vm-dark);
  font-weight: 700;
}

/* ! =========================================================
   REQUISITI
========================================================= */

.vm-requirements {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.vm-requirement {
  position: relative;
  padding: 30px 30px 30px 78px;
  background: #fff;
  border: 1px solid var(--vm-border);
  border-radius: 14px;
}

.vm-requirement__number {
  position: absolute;
  left: 27px;
  top: 28px;
  width: 35px;
  height: 35px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: var(--vm-primary);
  border-radius: 50%;
  font-size: 13px;
  font-weight: 800;
}

.vm-requirement h3 {
  margin: 0 0 8px;
  color: var(--vm-dark);
  font-size: 18px;
}

.vm-requirement p {
  margin: 0;
  color: var(--vm-text);
  font-size: 14px;
  line-height: 1.6;
}

/* ! =========================================================
   TERRITORIO
========================================================= */

.vm-territory {
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  gap: 55px;
  align-items: center;
}

.vm-territory__panel {
  min-height: 400px;
  padding: 45px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  color: #fff;
  border-radius: 20px;
  background:
    linear-gradient(180deg, rgba(0, 60, 103, 0.1), rgba(0, 60, 103, 0.92)),
    url("/static/gescad/img/gescad-sede.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.vm-territory__panel h3 {
  margin: 0 0 9px;
  color: #fff;
  font-size: 29px;
}

.vm-territory__panel p {
  margin: 0;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.6;
}

.vm-cities {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 25px 0 30px;
}

.vm-city {
  padding: 9px 13px;
  color: var(--vm-primary-dark);
  background: var(--vm-light-blue);
  border-radius: 5px;
  font-size: 13px;
  font-weight: 700;
}

/* ! =========================================================
   FAQ
========================================================= */

.vm-faq {
  max-width: 920px;
  margin: 0 auto;
}

.vm-faq details {
  margin-bottom: 12px;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--vm-border);
  border-radius: 12px;
}

.vm-faq summary {
  position: relative;
  padding: 22px 65px 22px 24px;
  color: var(--vm-dark);
  cursor: pointer;
  list-style: none;
  font-size: 17px;
  line-height: 1.4;
  font-weight: 700;
}

.vm-faq summary::-webkit-details-marker {
  display: none;
}

.vm-faq summary::after {
  content: "+";
  position: absolute;
  right: 24px;
  top: 50%;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: translateY(-50%);
  color: var(--vm-primary);
  background: var(--vm-light-blue);
  border-radius: 50%;
  font-size: 20px;
}

.vm-faq details[open] summary::after {
  content: "−";
}

.vm-faq__answer {
  padding: 0 24px 24px;
  color: var(--vm-text);
  font-size: 15px;
  line-height: 1.7;
}

/* ! =========================================================
   MOBILE
========================================================= */

@media screen and (max-width: 1000px) {
  .vm-section {
    padding: 70px 0;
  }

  .vm-hero {
    background-position: 62% center;
  }

  .vm-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.3);
  }

  .vm-hero h1 {
    font-size: 42px;
  }

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

  .vm-stat:nth-child(3) {
    border-left: 0;
    border-top: 1px solid var(--vm-border);
  }

  .vm-stat:nth-child(4) {
    border-top: 1px solid var(--vm-border);
  }

  .vm-two-cols,
  .vm-summary,
  .vm-deadline,
  .vm-territory,
  .vm-cta__inner {
    grid-template-columns: 1fr;
  }

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

  .vm-cta__actions {
    align-items: flex-start;
  }
}

@media screen and (max-width: 700px) {
  .vm-container {
    width: calc(100% - 30px);
  }

  .vm-section {
    padding: 55px 0;
  }

  .vm-title {
    font-size: 31px;
  }

  .vm-subtitle {
    font-size: 16px;
  }

  .vm-hero {
    background-image:
      linear-gradient(rgba(255, 255, 255, 0.93), rgba(255, 255, 255, 0.93)),
      url("/static/gescad/img/cloud-mimit.jpg");
    background-position: center;
  }

  .vm-hero__container {
    padding-top: 55px;
    padding-bottom: 85px;
  }

  .vm-hero h1 {
    font-size: 35px;
  }

  .vm-hero__lead {
    font-size: 16px;
  }

  .vm-hero__actions {
    display: grid;
  }

  .vm-btn {
    width: 100%;
  }

  .vm-stats {
    margin-top: -35px;
  }

  .vm-stats__inner {
    grid-template-columns: 1fr;
  }

  .vm-stat + .vm-stat,
  .vm-stat:nth-child(3),
  .vm-stat:nth-child(4) {
    border-left: 0;
    border-top: 1px solid var(--vm-border);
  }

  .vm-solutions,
  .vm-process,
  .vm-requirements {
    grid-template-columns: 1fr;
  }

  .vm-feature-image {
    min-height: 390px;
  }

  .vm-summary__intro,
  .vm-summary__data {
    padding: 32px 25px;
  }

  .vm-summary__row {
    grid-template-columns: 1fr;
    gap: 5px;
  }

  .vm-timeline__item {
    grid-template-columns: 1fr;
    gap: 5px;
  }

  .vm-cta {
    padding: 36px 25px;
  }

  .vm-cta h2 {
    font-size: 27px;
  }

  .vm-cta__contact {
    display: grid;
    gap: 10px;
  }

  .vm-territory__panel {
    min-height: 340px;
    padding: 30px;
  }
}
