/* ============================= */
/* BASE */
/* ============================= */

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

:root {
  --color-primary: #5a52e0;
  --color-primary-dark: #312a85;
  --color-purple: #5b3df5;
  --color-blue: #3f8af5;
  --color-red: #e04545;
  --color-green: limegreen;

  --color-text: #15171f;
  --color-muted: #6b6e84;
  --color-muted-dark: #5f6277;
  --color-surface: #fcfcfe;
  --color-white: #ffffff;

  --border-soft: 1px solid rgba(91, 61, 245, 0.12);
  --border-neutral: 1px solid rgba(21, 23, 31, 0.08);

  --shadow-soft: 0 18px 45px rgba(91, 61, 245, 0.09);
  --shadow-hover: 0 26px 60px rgba(91, 61, 245, 0.14);

  --radius-sm: 15px;
  --radius-md: 24px;
  --radius-lg: 26px;
  --radius-xl: 30px;

  --section-padding: 115px 30px 125px;
  --section-padding-compact: 95px 30px 105px;

  --section-title-size: 40px;
  --section-subtitle-size: 18px;
  --eyebrow-size: 14px;
}

body {
  margin: 0;
  padding: 0;
  background: var(--color-surface);
  color: var(--color-text);
}

/* ============================= */
/* SHARED UI */
/* ============================= */

.text-gradient {
  background-image: linear-gradient(135deg, hsl(245 75% 60%), hsl(265 80% 68%));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  display: inline-block;
}

.section-header {
  max-width: 820px;
  margin: 0 auto 72px;
  text-align: center;
}

.section-header--compact {
  margin-bottom: 0;
}

.section-eyebrow,
.hero__eyebrow,
.form-modal__eyebrow {
  font-size: var(--eyebrow-size);
  color: var(--color-primary);
  font-weight: 600;
  letter-spacing: 1.2px;
  font-family: "Poppins", sans-serif;
  text-transform: uppercase;
  margin: 0 0 26px;
}

.section-title {
  font-size: var(--section-title-size);
  line-height: 1.08;
  margin: 0;
}

.section-subtitle {
  max-width: 760px;
  margin: 34px auto 0;
  color: var(--color-muted);
  font-size: var(--section-subtitle-size);
  line-height: 1.75;
}

/* ============================== */
/* LANGUAGE SELECTOR */
/* ============================== */

.language-selector {
  position: relative;
  display: inline-block;
}

/* Pulsante principale IT / EN */
.language-selector__button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;

  min-height: 30px;
  padding: 7px 8px;

  border: 1px solid #d8d8e8;
  border-radius: 12px;

  background: #ffffff;
  color: #15171f;

  font: inherit;
  font-size: 14px;
  font-weight: 600;
  line-height: 1;

  cursor: pointer;

  transition: color 0.2s ease, border-color 0.2s ease,
    background-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

/* Hover sul pulsante principale */
.language-selector__button:hover {
  color: #5a52e0;
  border-color: #5a52e0;
  background: #f8f7ff;
  box-shadow: 0 6px 18px rgba(90, 82, 224, 0.12);
  transform: translateY(-1px);
}

/* Mantiene il pulsante evidenziato quando il menu è aperto */
.language-selector__button[aria-expanded="true"] {
  color: #5a52e0;
  border-color: #5a52e0;
  background: #f8f7ff;
  box-shadow: 0 6px 18px rgba(90, 82, 224, 0.12);
}

/* Accessibilità da tastiera */
.language-selector__button:focus-visible {
  outline: 3px solid rgba(90, 82, 224, 0.22);
  outline-offset: 3px;
}

/* Freccia del selettore */
.language-selector__arrow {
  display: inline-block;
  color: currentColor;
  font-size: 11px;
  line-height: 1;

  transition: transform 0.2s ease;
}

/* Rotazione della freccia quando il menu è aperto */
.language-selector__button[aria-expanded="true"] .language-selector__arrow {
  transform: rotate(180deg);
}

/* Menu a tendina */
.language-selector__menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  z-index: 9999;

  display: none;
  flex-direction: column;

  min-width: 150px;
  padding: 5px;

  border: 1px solid #d8d8e8;
  border-radius: 12px;

  background: #ffffff;
  box-shadow: 0 12px 30px rgba(80, 70, 130, 0.14);

  overflow: hidden;
}

/* Menu visibile */
.language-selector__menu.show {
  display: flex;
}

/* Pulsanti Italiano / English */
.language-selector__menu button {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 9px;

  padding: 10px 12px;

  border: 0;
  border-radius: 8px;

  background: transparent;
  color: #15171f;

  font: inherit;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.3;
  text-align: left;

  cursor: pointer;

  transition: color 0.2s ease, background-color 0.2s ease, transform 0.2s ease;
}

/* Hover sulle lingue */
.language-selector__menu button:hover {
  color: #5a52e0;
  background: #f5f4fc;
  transform: translateX(2px);
}

/* Accessibilità da tastiera sulle lingue */
.language-selector__menu button:focus-visible {
  outline: 2px solid rgba(90, 82, 224, 0.3);
  outline-offset: -2px;
  color: #5a52e0;
  background: #f5f4fc;
}

/* Variante usata nella hero delle pagine progetto */
.hero__language-selector {
  flex-shrink: 0;
}

/* Mobile */
@media (max-width: 600px) {
  .language-selector__button {
    min-height: 38px;
    padding: 6px 10px;
    font-size: 13px;
  }

  .language-selector__menu {
    min-width: 145px;
  }

  .language-selector__menu button {
    padding: 10px;
    font-size: 13.5px;
  }
}
/* ============================= */
/* HERO */
/* ============================= */

.hero {
  min-height: 70vh;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 80px;
  margin: 0 auto;
  padding: 90px 150px;
  background: linear-gradient(
    180deg,
    hsl(245 60% 98%) 0%,
    hsl(270 70% 97%) 50%,
    hsl(330 80% 97%) 100%
  );
}

.hero__content {
  max-width: 720px;
}

.hero__navigation {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
  margin-bottom: 34px;
}

.hero__back-link {
  display: inline-block;
  color: var(--color-primary);
  text-decoration: none;
  letter-spacing: 1px;
  margin-bottom: 0;
  transition: transform 0.25s ease, color 0.25s ease;
}

.hero__back-link:hover {
  transform: translateX(-4px);
  font-weight: 600;
}

.hero__language-selector {
  width: fit-content;
}

.hero__topline {
  display: block;
  margin-bottom: 22px;
}

.hero__eyebrow {
  margin: 0;
}

.hero__title {
  font-size: 60px;
  line-height: 1.05;
  margin: 0 0 30px;
}

.hero__subtitle {
  max-width: 630px;
  color: var(--color-muted);
  font-size: 19px;
  line-height: 1.65;
  font-weight: 500;
  margin: 0;
}

.hero__cards {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 40px;
  flex-wrap: wrap;
}

.hero__card {
  display: flex;
  flex-direction: column;
  text-align: center;
  gap: 8px;
  min-width: 160px;
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  background-color: var(--color-surface);
  border: var(--border-neutral);
  box-shadow: 0 10px 25px rgba(91, 61, 245, 0.06);
}

.hero__card-label {
  color: var(--color-muted);
  font-size: 11px;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.hero__card-value {
  font-weight: 700;
  letter-spacing: 0.5px;
}

.hero__visual {
  flex-shrink: 0;
}

.hero__image {
  width: 650px;
  height: 390px;
  display: block;
  border-radius: 22px;
  box-shadow: 0 20px 60px #9b66e03a;
}

/* ============================= */
/* SNAPSHOT */
/* ============================= */

.snapshot-section {
  padding: var(--section-padding-compact);
  background: var(--color-surface);
}

.snapshot {
  max-width: 1120px;
  margin: 0 auto;
}

.snapshot__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.snapshot__card {
  position: relative;
  overflow: hidden;
  min-height: 205px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(91, 61, 245, 0.11);
  border-radius: var(--radius-md);
  padding: 22px 24px;
  box-shadow: 0 14px 35px rgba(91, 61, 245, 0.075);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.snapshot__card:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 48px rgba(91, 61, 245, 0.12);
  border-color: rgba(91, 61, 245, 0.18);
}

.snapshot__icon {
  width: 40px;
  height: 40px;
  border-radius: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(91, 61, 245, 0.1);
  color: var(--color-purple);
  font-size: 17px;
  margin-bottom: 22px;
}

.snapshot__label {
  margin: 0 0 8px;
  font-family: "Poppins", sans-serif;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 1.3px;
  color: var(--color-primary);
  text-transform: uppercase;
}

.snapshot__value {
  margin: 0;
  font-size: 40px;
  line-height: 0.95;
  letter-spacing: 0.5px;
}

.snapshot__trend {
  display: inline-flex;
  align-items: center;
  margin: 12px 0 0;
  font-family: "Poppins", sans-serif;
  font-size: 10.5px;
  font-weight: 700;
  border-radius: 999px;
  padding: 5px 8px;
}

.snapshot__trend--negative {
  color: #a94135;
  background: rgba(169, 65, 53, 0.08);
}

.snapshot__trend--neutral,
.snapshot__trend--positive {
  color: var(--color-primary-dark);
  background: rgba(91, 61, 245, 0.08);
}

.snapshot__text {
  margin: 16px 0 0;
  color: var(--color-muted);
  font-size: 13.5px;
  line-height: 1.6;
}

/* ============================= */
/* DASHBOARD */
/* ============================= */

.dashboard-section {
  padding: var(--section-padding);
  background: var(--color-surface);
}

.dashboard {
  max-width: 1240px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.dashboard__carousel {
  position: relative;
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  overflow: visible;
}

.carousel__viewport {
  width: 100%;
  overflow: hidden;
  box-shadow: 0 0 40px rgba(167, 139, 250, 0.352);
  border-radius: var(--radius-xl);
}

.carousel__track {
  display: flex;
  width: 100%;
  transition: transform 0.4s ease;
}

.dashboard__image {
  box-sizing: border-box;
  min-width: 100%;
  max-width: 100%;
  width: 100%;
  height: auto;
  min-height: 600px;
  flex: 0 0 100%;
  object-fit: contain;
  display: block;
  border: 1px solid #5952e029;
  border-radius: var(--radius-xl);
  padding: 10px;
  background-color: #dadada29;
  pointer-events: auto;
  cursor: pointer;
}

.dashboard__hint {
  color: var(--color-muted);
  font-size: 14px;
  margin: 24px 0 0;
  font-family: "Poppins", sans-serif;
}

.carousel__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: none;
  background: #ffffff;
  color: var(--color-primary);
  font-size: 32px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  transition: transform 0.25s ease;
}

.carousel__arrow:hover {
  transform: translateY(-50%) scale(1.08);
}

.carousel__arrow--left {
  left: -66px;
}

.carousel__arrow--right {
  right: -66px;
}

/* Lightbox */

.dashboard-lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 32px;
  background: rgba(15, 14, 28, 0.82);
  backdrop-filter: blur(10px);
}

.dashboard-lightbox.is-open {
  display: flex;
}

.dashboard-lightbox__content {
  position: relative;
  width: min(96vw, 1400px);
  max-height: 92vh;
  overflow-y: auto;
  overflow-x: hidden;
  border-radius: var(--radius-md);
  background: var(--color-surface);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.35);
}

.dashboard-lightbox__image {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  box-sizing: border-box;
  padding: 12px;
  border-radius: var(--radius-md);
  background: var(--color-surface);
}

.dashboard-lightbox__close,
.dashboard-lightbox__arrow {
  position: fixed;
  z-index: 10000;
  border: none;
  border-radius: 50%;
  background: #ffffff;
  color: var(--color-primary);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.dashboard-lightbox__close {
  top: 28px;
  right: 32px;
  width: 48px;
  height: 48px;
  font-size: 34px;
  line-height: 1;
  box-shadow: 0 14px 35px rgba(0, 0, 0, 0.2);
}

.dashboard-lightbox__close:hover {
  transform: scale(1.06);
}

.dashboard-lightbox__arrow {
  top: 50%;
  transform: translateY(-50%);
  width: 52px;
  height: 52px;
  font-size: 34px;
  box-shadow: 0 14px 35px rgba(0, 0, 0, 0.22);
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.dashboard-lightbox__arrow:hover {
  transform: translateY(-50%) scale(1.08);
}

.dashboard-lightbox__arrow--left {
  left: 28px;
}

.dashboard-lightbox__arrow--right {
  right: 28px;
}

html.lightbox-open,
body.lightbox-open {
  overflow: hidden;
}

/* ============================= */
/* CONTEXT */
/* ============================= */

.context-section {
  padding: var(--section-padding);
  background: linear-gradient(180deg, #fbfaff 0%, #f7f5ff 100%);
}

.context {
  max-width: 960px;
  margin: 0 auto;
}

/* ============================= */
/* CHALLENGE */
/* ============================= */

.challenge-section {
  padding: var(--section-padding);
  background: var(--color-surface);
}

.challenge {
  max-width: 1240px;
  margin: 0 auto;
}

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

.challenge__card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  background-color: var(--color-surface);
  border: var(--border-soft);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-soft);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.challenge__card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(91, 61, 245, 0.18);
}

.challenge__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 46px;
  width: 46px;
  border-radius: 14px;
  font-size: 20px;
  flex-shrink: 0;
}

.challenge__icon--negative {
  background: rgba(182, 66, 66, 0.1);
  color: var(--color-red);
}

.challenge__icon--channel {
  background: rgba(91, 61, 245, 0.1);
  color: var(--color-purple);
}

.challenge__icon--margin {
  background: rgba(37, 99, 235, 0.1);
  color: var(--color-blue);
}

.challenge__card-title {
  font-size: 22px;
  line-height: 1.2;
  letter-spacing: -0.2px;
  font-weight: 600;
  margin: 24px 0 14px;
}

.challenge__card-text {
  color: var(--color-muted);
  font-size: 15px;
  line-height: 1.65;
  margin: 0;
}

/* ============================= */
/* APPROACH */
/* ============================= */

.approach-section {
  padding: var(--section-padding);
  background: linear-gradient(180deg, #f3efff 0%, #eee9ff 100%);
}

.approach {
  max-width: 1240px;
  margin: 0 auto;
}

.approach__steps {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  align-items: stretch;
}

.approach__step {
  position: relative;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.9);
  border: var(--border-soft);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-soft);
  display: grid;
  grid-template-rows: auto 1fr auto;
  row-gap: 24px;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.approach__step:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(91, 61, 245, 0.18);
}

.approach__header {
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 58px;
}

.approach__icon {
  width: 48px;
  height: 48px;
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}

.approach__icon--kpi {
  color: var(--color-purple);
  background: #9b66e018;
}

.approach__icon--trend {
  color: var(--color-red);
  background: #e045452a;
}

.approach__icon--channel {
  color: var(--color-blue);
  background: #3f8bf52b;
}

.approach__icon--insight {
  color: var(--color-green);
  background: #33cc853b;
}

.approach__step-title {
  margin: 0;
  font-size: 24px;
  line-height: 1.15;
  letter-spacing: -0.2px;
}

.approach__step-text {
  margin: 0;
  color: var(--color-muted);
  font-size: 15px;
  line-height: 1.65;
}

.approach__tags {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0;
  color: var(--color-primary-dark);
  font-family: "Poppins", sans-serif;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.8;
}

.approach__tags span {
  display: inline-flex;
  align-items: center;
  color: var(--color-primary-dark);
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
}

.approach__tags span:not(:last-child)::after {
  content: "•";
  color: rgba(91, 61, 245, 0.42);
  margin: 0 12px;
}

/* ============================= */
/* SOLUTION */
/* ============================= */

.solution-section {
  padding: var(--section-padding);
  background: var(--color-surface);
}

.solution {
  max-width: 1240px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 80px;
}

.solution__content {
  max-width: 680px;
}

.solution__title {
  margin-bottom: 34px;
}

.solution__text {
  max-width: 630px;
  color: var(--color-muted);
  font-size: 18px;
  line-height: 1.75;
  font-weight: 500;
  margin: 0;
}

.solution__lists {
  margin-top: 34px;
}

.solution__lists ul {
  padding-left: 20px;
  margin: 0;
  line-height: 1.7;
  color: var(--color-muted-dark);
  font-size: 16px;
}

.solution__list {
  margin-bottom: 8px;
}

.solution__list::marker {
  color: var(--color-primary);
  font-size: 20px;
}

.solution__visual {
  width: 450px;
  padding: 16px;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid rgba(90, 82, 224, 0.12);
  box-shadow: 20px 10px 80px #9b66e030;
  flex-shrink: 0;
}

.solution__card {
  overflow: hidden;
  padding: 9px;
  border: 1px solid rgba(90, 82, 224, 0.12);
  border-radius: 16px;
  background: #fff;
}

.solution__card img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  object-position: center;
  border-radius: 5px;
}

.solution__card--main {
  margin-bottom: 12px;
}

.solution__cards-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.solution__tag {
  display: inline-block;
  margin-bottom: 7px;
  padding: 3px 7px;
  border-radius: 999px;
  background: rgba(90, 82, 224, 0.1);
  color: var(--color-primary);
  font-family: "Poppins", sans-serif;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.8px;
}

/* ============================= */
/* KPI FRAMEWORK */
/* ============================= */

.kpi-section {
  padding: var(--section-padding);
  background: linear-gradient(180deg, #fbfaff 0%, #f7f5ff 100%);
}

.kpi {
  max-width: 1240px;
  margin: 0 auto;
}

.kpi__framework {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.kpi__area {
  padding: 30px 32px;
  border: 1px solid rgba(91, 61, 245, 0.14);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.58);
  display: flex;
  flex-direction: column;
}

.kpi__area-top {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 26px;
}

.kpi__icon {
  width: 46px;
  height: 46px;
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 19px;
  flex-shrink: 0;
}

.kpi__icon--performance {
  color: var(--color-purple);
  background: rgba(91, 61, 245, 0.1);
}

.kpi__icon--booking {
  color: var(--color-blue);
  background: rgba(37, 99, 235, 0.1);
}

.kpi__icon--distribution {
  color: var(--color-green);
  background: rgba(47, 158, 98, 0.11);
}

.kpi__area-label {
  margin: 0 0 6px;
  font-family: "Poppins", sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.4px;
  color: var(--color-primary);
  text-transform: uppercase;
}

.kpi__area-title {
  margin: 0;
  font-size: 28px;
  line-height: 1.1;
  letter-spacing: -0.3px;
}

.kpi__area-text {
  margin: 0;
  color: var(--color-muted-dark);
  font-size: 16px;
  line-height: 1.7;
}

.kpi__metrics {
  margin: 28px 0 0;
  color: var(--color-primary-dark);
  font-family: "Poppins", sans-serif;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.8;
}

.kpi__metrics span {
  color: rgba(91, 61, 245, 0.42);
  margin: 0 8px;
}

/* ============================= */
/* OUTCOME */
/* ============================= */

.outcome-section {
  padding: var(--section-padding);
  background: #ede9fe;
}

.outcome {
  max-width: 1120px;
  margin: 0 auto;
}

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

.outcome__card {
  background: var(--color-surface);
  box-shadow: var(--shadow-soft);
  border: var(--border-neutral);
  border-radius: 22px;
  padding: 24px 20px;
  text-align: center;
}

.outcome__icon {
  margin: 0 auto 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(91, 61, 245, 0.1);
  height: 42px;
  width: 42px;
  border-radius: 12px;
  color: var(--color-primary);
  font-size: 20px;
}

.outcome__number {
  font-weight: 700;
  font-size: 34px;
  letter-spacing: 1px;
  color: var(--color-primary);
  margin: 0 0 8px;
}

.outcome__text {
  text-align: center;
  color: var(--color-muted);
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
}

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

.cta-section {
  padding: 120px 30px 140px;
  background: var(--color-surface);
}

.cta {
  width: min(100%, 1120px);
  margin: 0 auto;
  border-radius: 24px;
  padding: 52px 30px;
  background: linear-gradient(135deg, hsl(245 75% 60%), hsl(265 80% 68%));
}

.cta__content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.cta__title {
  color: #ffffff;
  font-size: 40px;
  line-height: 1.12;
  margin: 0;
  max-width: 900px;
}

.cta__text {
  color: #ffffff;
  font-weight: 300;
  max-width: 800px;
  text-align: center;
  margin: 26px auto 36px;
  line-height: 1.65;
}

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

.cta__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: #ffffff;
  border: none;
  color: var(--color-purple);
  padding: 15px 18px;
  cursor: pointer;
  border-radius: 50px;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.2s ease;
}

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

.cta__button:visited {
  color: var(--color-purple);
}

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

footer {
  border-top: 1px solid rgba(21, 23, 31, 0.08);
  background: linear-gradient(180deg, #faf9fd 0%, #f6f4fb 100%);
  color: #15171f;
}

.footer__main {
  width: min(1380px, calc(100% - 96px));
  margin: 0 auto;
  padding: 64px 0 48px;
  display: grid;
  grid-template-columns: minmax(280px, 1.45fr) 0.65fr 0.9fr minmax(240px, 1fr);
  gap: 56px;
  align-items: start;
}

.footer__brand-block {
  max-width: 390px;
}

.footer__brand {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  color: #15171f;
  text-decoration: none;
}

.footer__brand {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  color: #15171f;
  text-decoration: none;
}

.footer__monogram {
  display: inline-flex;
  align-items: center;
  min-height: 58px;
  padding-right: 12px;
  border-right: 1px solid rgba(90, 82, 224, 0.22);
  font-family: "Limelight", sans-serif;
  font-size: 32px;
  line-height: 1;
  color: #5a52e0;
  letter-spacing: 0.03em;
}

.footer__identity {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.footer__name {
  color: #15171f;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.01em;
  text-transform: none;
}

.footer__role {
  color: #6b6e84;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.footer__description {
  margin: 15px 0 0;
  color: #000000;
  font-size: 12px;
  line-height: 1.5;
}

.footer__socials {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 21px;
}

.footer__socials a {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-height: 38px;
  padding: 0 11px;
  border: 1px solid rgba(90, 82, 224, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  color: #000000;
  font-size: 11px;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.2s ease, border-color 0.2s ease,
    background-color 0.2s ease, transform 0.2s ease;
}

.footer__socials a:hover {
  color: #5a52e0;
  border-color: #5a52e0;
  background: #ffffff;
  transform: translateY(-2px);
}

.footer__column {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 9px;
}

.footer__heading {
  margin: 3px 0 8px;
  color: #000000;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.footer__column a,
.footer__column p:not(.footer__heading) {
  margin: 0;
  color: #000000;
  font-size: 12px;
  line-height: 1.55;
  text-decoration: none;
}

.footer__column a {
  transition: color 0.2s ease, transform 0.2s ease;
}

.footer__column a:hover {
  color: #5a52e0;
  transform: translateX(3px);
  font-weight: 600;
}

.footer__contact-button {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  width: 70%;
  margin-top: 8px;
  padding: 10px 13px;
  border: 1px solid rgba(90, 82, 224, 0.24);
  border-radius: 25px;
  background: #ffffff;
  color: #000000;
  font: inherit;
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
  transition: color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease,
    transform 0.2s ease;
}

.footer__contact-button span {
  color: #5a52e0;
  font-size: 18px;
  line-height: 1;
}

.footer__contact-button:hover {
  color: #5a52e0;
  border-color: #5a52e0;
  box-shadow: 0 10px 26px rgba(91, 61, 245, 0.1);
  transform: translateY(-2px);
}

.footer__bottom {
  width: min(1180px, calc(100% - 96px));
  margin: 0 auto;
  padding: 22px 0 26px;
  border-top: 1px solid rgba(21, 23, 31, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.copyright__text {
  margin: 0;
  color: #777386;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.02em;
}

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

.cookie__text,
.privacy__text,
.footer__language {
  color: #6b6e84;
  font-size: 12.5px;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.2s ease;
}

.cookie__text:hover,
.privacy__text:hover,
.footer__language:hover {
  color: #5a52e0;
}

.footer a:focus-visible,
.footer button:focus-visible {
  outline: 3px solid rgba(91, 61, 245, 0.28);
  outline-offset: 4px;
}

/* ============================= */
/* BACK TO TOP */
/* ============================= */

.back__to-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: none;
  background: var(--color-primary);
  color: #ffffff;
  font-size: 16px;
  cursor: pointer;
  box-shadow: 0 10px 25px rgba(91, 44, 255, 0.25);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease;
  z-index: 999;
}

.back__to-top.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back__to-top:hover {
  background: #4a20d8;
  transform: translateY(-3px);
}

/* ============================= */
/* FORM MODAL */
/* ============================= */

.form-modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

#contactFormModal.show {
  display: flex !important;
}

.form-modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(15, 15, 30, 0.45);
  backdrop-filter: blur(8px);
}

.form-modal__card {
  position: relative;
  width: 100%;
  max-width: 760px;
  max-height: 90vh;
  overflow-y: auto;
  background: linear-gradient(180deg, #ffffff 0%, #fbfaff 100%);
  border: 1px solid rgba(90, 82, 224, 0.14);
  border-radius: 28px;
  padding: 42px;
  box-shadow: 0 30px 90px rgba(90, 82, 224, 0.28);
}

.form-modal__close {
  position: absolute;
  top: 18px;
  right: 22px;
  border: none;
  background: #ede9fe;
  color: var(--color-primary);
  width: 38px;
  height: 38px;
  border-radius: 50%;
  font-size: 26px;
  cursor: pointer;
}

.form-modal__title {
  font-size: 38px;
  margin: 0 0 18px;
}

.form-modal__text {
  color: var(--color-muted);
  font-size: 18px;
  line-height: 1.5;
  margin: 0 0 30px;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group label {
  font-family: "Poppins", sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: var(--color-text);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  border: 1px solid rgba(90, 82, 224, 0.16);
  background: var(--color-surface);
  border-radius: 16px;
  padding: 15px 16px;
  font-size: 15px;
  color: var(--color-text);
  outline: none;
  font-family: inherit;
  transition: border 0.2s ease, box-shadow 0.2s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 4px rgba(90, 82, 224, 0.12);
}

.form-group textarea {
  resize: vertical;
}

.form-privacy-note {
  margin: 0;
  color: #6b6e84;
  font-size: 13px;
  line-height: 1.5;
}

.privacy-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--color-muted);
  font-size: 14px;
  line-height: 1.4;
}

.privacy-check a {
  color: #5a52e0;
  font-weight: 600;
  text-decoration: underline;
}

.privacy-check input {
  margin-top: 3px;
  accent-color: var(--color-primary);
}

.contact-form__button {
  margin-top: 8px;
  border: none;
  border-radius: 999px;
  padding: 16px 24px;
  background: linear-gradient(135deg, hsl(245 75% 60%), hsl(265 80% 68%));
  color: #ffffff;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 18px 40px rgba(90, 82, 224, 0.25);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.contact-form__button:hover {
  transform: translateY(-2px);
  box-shadow: 0 24px 50px rgba(90, 82, 224, 0.32);
}

.form-success-message {
  display: none;
}

.form-error-message {
  display: none;
  margin: 0;
  padding: 12px 14px;
  border-radius: 12px;
  background: #fff1f2;
  border: 1px solid #fecdd3;
  color: #9f1239;
  font-size: 14px;
  line-height: 1.5;
}

/* ============================= */
/* RESPONSIVE DEFINITIVO */
/* BUSINESS PLAN */
/* ============================= */

html,
body {
  max-width: 100%;
  overflow-x: hidden;
}

.hero__image {
  object-fit: contain;
  object-position: center;
}

@media (max-width: 430px) {
  html,
  body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden !important;
  }

  body {
    position: relative;
  }

  main,
  section,
  header,
  footer {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
  }

  img {
    max-width: 100%;
  }

  /* ----------------------------- */
  /* GLOBAL */
  /* ----------------------------- */

  .snapshot-section,
  .dashboard-section,
  .context-section,
  .challenge-section,
  .approach-section,
  .solution-section,
  .kpi-section,
  .outcome-section,
  .cta-section {
    padding: 48px 20px !important;
  }

  .section-header,
  .section-header--compact {
    max-width: 100%;
    margin: 0 0 24px !important;
    text-align: left !important;
  }

  .section-eyebrow,
  .hero__eyebrow {
    margin: 0 0 10px;
    font-size: 10.5px;
    line-height: 1.2;
    letter-spacing: 1.6px;
    text-align: left;
  }

  .section-title,
  .solution__title,
  .cta__title {
    margin: 0;
    font-size: 28px !important;
    line-height: 1.16;
    letter-spacing: -0.4px;
    text-align: left !important;
  }

  .section-subtitle,
  .solution__text,
  .cta__text {
    max-width: 100%;
    margin: 15px 0 0 !important;
    font-size: 14.8px !important;
    line-height: 1.58;
    text-align: left !important;
  }

  /* ----------------------------- */
  /* HERO */
  /* ----------------------------- */

  .hero {
    min-height: auto;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    padding: 28px 20px 46px !important;
    gap: 28px;
    text-align: left;
  }

  .hero__content {
    width: 100%;
    max-width: 100%;
  }

  .hero__navigation {
    width: 100%;
    display: flex;
    flex-direction: row !important;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 32px !important;
  }

  .hero__back-link {
    font-size: 13.5px;
    line-height: 1;
    letter-spacing: 0;
    white-space: nowrap;
  }

  .language-selector__button {
    min-height: 28px;
    gap: 5px;
    padding: 5px 8px !important;
    border-radius: 10px;
    font-size: 11.5px !important;
    line-height: 1;
  }

  .language-selector__arrow {
    font-size: 9px;
  }

  .language-selector__menu {
    right: 0;
    left: auto;
    min-width: 120px;
  }

  .language-selector__menu button {
    padding: 9px 10px;
    font-size: 12px;
  }

  .hero__title {
    max-width: 100%;
    margin: 0;
    font-size: 32px !important;
    line-height: 1.08;
    letter-spacing: -0.5px;
    text-align: left;
  }

  .hero__subtitle {
    max-width: 100%;
    margin-top: 20px;
    font-size: 14.8px;
    line-height: 1.6;
    text-align: left;
  }

  .hero__cards {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    margin-top: 28px;
  }

  .hero__card {
    width: 100%;
    min-width: 0;
    padding: 12px 14px;
    border-radius: 15px;
    text-align: left;
  }

  .hero__card-label {
    font-size: 9px;
  }

  .hero__card-value {
    font-size: 14px;
    line-height: 1.25;
  }

  .hero__visual {
    width: 100%;
  }

  .hero__image {
    width: 100%;
    height: auto !important;
    max-height: 210px;
    border-radius: 17px;
    background: rgba(255, 255, 255, 0.72);
    box-shadow: 0 16px 38px rgba(155, 102, 224, 0.18);
  }

  /* ----------------------------- */
  /* EXECUTIVE SNAPSHOT */
  /* ----------------------------- */

  .snapshot__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 10px !important;
  }

  .snapshot__card {
    min-height: 0 !important;
    height: auto !important;
    display: flex;
    flex-direction: column;
    padding: 12px 11px !important;
    border-radius: 15px;
  }

  .snapshot__icon {
    width: 28px;
    height: 28px;
    margin-bottom: 10px;
    border-radius: 8px;
    font-size: 12px;
  }

  .snapshot__label {
    margin: 0 0 5px;
    font-size: 8.4px;
    line-height: 1.2;
    letter-spacing: 0.8px;
  }

  .snapshot__value {
    margin: 0;
    font-size: 20px !important;
    line-height: 1;
  }

  .snapshot__trend {
    width: fit-content;
    margin: 6px 0 9px;
    padding: 2px 6px;
    border-radius: 999px;
    background: rgba(90, 82, 224, 0.08);
    font-size: 9px;
    line-height: 1.2;
  }

  .snapshot__text {
    margin: 0;
    font-size: 11.8px;
    line-height: 1.42;
  }

  /* ----------------------------- */
  /* DASHBOARD PREVIEW */
  /* ----------------------------- */

  .dashboard__carousel {
    width: 100%;
    margin-top: 22px;
    gap: 0;
  }

  .carousel__viewport {
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    padding: 0 !important;
    border: none !important;
    border-radius: 17px;
    background: transparent !important;
    box-shadow: none !important;
    overflow: hidden !important;
  }

  .carousel__track {
    width: 100%;
    height: auto !important;
    min-height: 0 !important;
    align-items: flex-start !important;
  }

  .dashboard__image {
    flex: 0 0 100%;
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    aspect-ratio: auto !important;
    object-fit: contain !important;
    object-position: center;
    display: block;
    padding: 0;
    border-radius: 17px;
    border: var(--border-neutral);
    background: rgba(255, 255, 255, 0.78);
    box-shadow: 0 12px 28px rgba(155, 102, 224, 0.12);
  }

  .carousel__arrow {
    position: absolute;
    top: 50%;
    z-index: 5;
    width: 30px;
    height: 30px;
    transform: translateY(-50%);
    font-size: 16px;
  }

  .carousel__arrow--left {
    left: 7px;
  }

  .carousel__arrow--right {
    right: 7px;
  }

  .dashboard__hint {
    margin: 14px 0 0;
    text-align: left;
    font-size: 12.3px;
    line-height: 1.4;
  }

  /* ----------------------------- */
  /* BUSINESS CHALLENGE */
  /* ----------------------------- */

  .challenge__cards {
    display: grid;
    grid-template-columns: 1fr !important;
    gap: 10px !important;
  }

  .challenge__card {
    min-height: 0 !important;
    padding: 15px 14px !important;
    border-radius: 15px;
  }

  .challenge__icon {
    width: 29px;
    height: 29px;
    border-radius: 8px;
    font-size: 12px;
  }

  .challenge__card-title {
    margin: 12px 0 7px;
    font-size: 17px !important;
    line-height: 1.18;
  }

  .challenge__card-text {
    margin: 0;
    font-size: 12.8px;
    line-height: 1.44;
  }

  /* ----------------------------- */
  /* ANALYTICAL APPROACH */
  /* ----------------------------- */

  .approach__steps {
    display: grid;
    grid-template-columns: 1fr !important;
    gap: 10px !important;
  }

  .approach__step {
    display: block !important;
    min-height: 0 !important;
    height: auto !important;
    padding: 9px 11px !important;
    border-radius: 14px !important;
  }

  .approach__header {
    display: block !important;
    margin: 0 !important;
    padding: 0 !important;
    gap: 0 !important;
    min-height: 0 !important;
  }

  .approach__icon {
    width: 24px !important;
    height: 24px !important;
    min-width: 24px !important;
    margin: 0 0 7px !important;
    border-radius: 8px !important;
    font-size: 10px !important;
  }

  .approach__step-title {
    margin: 0 0 6px !important;
    padding: 0 !important;
    font-size: 14.5px !important;
    line-height: 1.15 !important;
  }

  .approach__step-text {
    margin: 0 0 8px !important;
    padding: 0 !important;
    font-size: 11.5px !important;
    line-height: 1.34 !important;
  }

  .approach__tags {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 5px !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  .approach__tags span {
    padding: 2px 6px !important;
    font-size: 8.5px !important;
    line-height: 1.2 !important;
  }

  /* ----------------------------- */
  /* SOLUTION DEVELOPED */
  /* ----------------------------- */

  .solution {
    display: block !important;
  }

  .solution__content {
    width: 100%;
  }

  .solution__text {
    margin-top: 15px;
    font-size: 14.8px !important;
    line-height: 1.6;
  }

  .solution__lists ul {
    margin-top: 20px;
  }

  .solution__list {
    font-size: 13.2px;
    line-height: 1.45;
  }

  .solution__visual {
    width: 100%;
    max-width: 100%;
    margin-top: 24px;
  }

  .solution__cards-row {
    grid-template-columns: 1fr !important;
    gap: 10px;
  }

  .solution__card {
    border-radius: 15px;
  }

  .solution__tag {
    padding: 4px 7px;
    font-size: 9px;
  }

  /* ----------------------------- */
  /* KPI FRAMEWORK */
  /* ----------------------------- */

  .kpi__framework {
    display: grid;
    grid-template-columns: 1fr !important;
    gap: 10px !important;
  }

  .kpi__area {
    min-height: 0 !important;
    height: auto !important;
    padding: 11px 12px !important;
    border-radius: 14px !important;
  }

  .kpi__area-top {
    display: block !important;
    margin: 0 !important;
  }

  .kpi__icon {
    width: 27px !important;
    height: 27px !important;
    margin: 0 0 8px !important;
    border-radius: 8px !important;
    font-size: 11.5px !important;
  }

  .kpi__area-label {
    margin: 0 0 5px !important;
    font-size: 8.5px !important;
    line-height: 1.2 !important;
    letter-spacing: 0.8px !important;
  }

  .kpi__area-title {
    margin: 0 !important;
    font-size: 15.5px !important;
    line-height: 1.15 !important;
  }

  .kpi__area-text {
    margin: 9px 0 !important;
    font-size: 12px !important;
    line-height: 1.36 !important;
  }

  .kpi__metrics {
    margin: 0 !important;
    font-size: 9.5px !important;
    line-height: 1.45 !important;
  }

  /* ----------------------------- */
  /* PROJECT OUTCOME */
  /* ----------------------------- */

  .outcome__cards {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 10px !important;
  }

  .outcome__card {
    min-height: 0 !important;
    padding: 16px 11px !important;
    border-radius: 15px;
  }

  .outcome__icon {
    width: 29px;
    height: 29px;
    margin: 0;
    border-radius: 8px;
    font-size: 12px;
  }

  .outcome__number {
    margin: 11px 0 4px;
    font-size: 23px !important;
    line-height: 1;
    text-align: left;
  }

  .outcome__text {
    margin: 0;
    font-size: 10.5px;
    line-height: 1.25;
    text-align: left;
  }

  /* ----------------------------- */
  /* CTA */
  /* ----------------------------- */

  .cta {
    padding: 34px 22px !important;
    border-radius: 24px !important;
    text-align: left !important;
  }

  .cta__title {
    margin: 0 !important;
    font-size: 25px !important;
    line-height: 1.22 !important;
    text-align: left !important;
  }

  .cta__text {
    margin: 18px 0 0 !important;
    font-size: 14.5px !important;
    line-height: 1.6 !important;
    text-align: left !important;
  }

  .cta__button-wrapper {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 13px !important;
    margin-top: 28px !important;
  }

  .cta__button {
    width: 100% !important;
    min-height: 48px !important;
    padding: 13px 16px !important;
    font-size: 13.5px !important;
    line-height: 1.2 !important;
  }

  /* ----------------------------- */
  /* FORM */
  /* ----------------------------- */

  .form-modal {
    padding: 14px;
  }

  .form-modal__card {
    padding: 28px 20px;
    border-radius: 22px;
  }

  .form-modal__title {
    font-size: 28px;
  }

  .form-modal__text {
    font-size: 15px;
  }

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

  .contact-form__button {
    box-shadow: none;
    transition: none;
  }

  .contact-form__button:hover {
    transform: none;
  }

  /* ----------------------------- */
  /* FOOTER */
  /* ----------------------------- */

  .footer__main,
  .footer__bottom {
    width: calc(100% - 40px);
    max-width: 390px;
    margin-inline: auto;
  }

  .footer__main {
    grid-template-columns: minmax(0, 1fr);
    gap: 30px;
    padding: 42px 0 32px;
  }

  .footer__brand-block,
  .footer__column,
  .footer__column--services,
  .footer__column--contact {
    width: 100%;
    max-width: 100%;
    grid-column: auto;
  }

  .footer__brand {
    width: 100%;
    align-items: center;
    gap: 14px;
  }

  .footer__monogram {
    min-height: 48px;
    padding-right: 14px;
    font-size: 26px;
  }

  .footer__identity {
    min-width: 0;
    gap: 4px;
  }

  .footer__name {
    font-size: 15px;
    line-height: 1.2;
  }

  .footer__role {
    max-width: 215px;
    font-size: 9px;
    line-height: 1.35;
    white-space: normal;
  }

  .footer__description {
    max-width: 100%;
    margin-top: 18px;
    font-size: 13.5px;
    line-height: 1.65;
  }

  .footer__socials {
    gap: 9px;
    margin-top: 18px;
  }

  .footer__socials a {
    min-height: 36px;
    padding: 0 12px;
    font-size: 12.5px;
  }

  .footer__column {
    gap: 10px;
  }

  .footer__heading {
    margin-bottom: 5px;
    font-size: 11px;
  }

  .footer__column a,
  .footer__column p:not(.footer__heading) {
    font-size: 13px;
    line-height: 1.5;
  }

  .footer__column--services {
    display: flex;
  }

  .footer__contact-button {
    width: 100%;
    max-width: 100%;
    min-height: 44px;
    padding: 11px 14px;
    font-size: 12.5px;
  }

  .footer__bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
    padding: 20px 0 24px;
  }

  .copyright__text {
    font-size: 11.5px;
    line-height: 1.5;
  }

  .privacy__box {
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 12px 20px;
  }

  .privacy__text,
  .cookie__text,
  .footer__language {
    font-size: 12px;
  }

  .footer__socials a:hover,
  .footer__column a:hover,
  .footer__contact-button:hover {
    transform: none;
  }

  /* ----------------------------- */
  /* BACK TO TOP */
  /* ----------------------------- */

  .back__to-top {
    right: 12px !important;
    bottom: 12px !important;
    width: 36px !important;
    height: 36px !important;
    min-width: 36px !important;
    max-width: 36px !important;
    font-size: 16px !important;
    z-index: 999;
  }
}

/* ============================= */
/* LARGE SMARTPHONE / 431px - 567px */
/* ============================= */

@media (min-width: 431px) and (max-width: 567px) {
  html,
  body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden !important;
  }

  body {
    position: relative;
  }

  main,
  section,
  header,
  footer {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
  }

  img {
    max-width: 100%;
  }

  /* ----------------------------- */
  /* GLOBAL */
  /* ----------------------------- */

  .hero__card,
  .snapshot__card,
  .challenge__card,
  .approach__step,
  .solution__card,
  .kpi__area,
  .outcome__card,
  .cta__button,
  .contact-form__button,
  .back__to-top {
    transition: none !important;
  }

  .snapshot-section,
  .dashboard-section,
  .context-section,
  .challenge-section,
  .approach-section,
  .solution-section,
  .kpi-section,
  .outcome-section,
  .cta-section {
    padding: 52px 22px !important;
  }

  .section-header,
  .section-header--compact {
    max-width: 100%;
    margin: 0 0 28px !important;
    text-align: left !important;
  }

  .section-eyebrow,
  .hero__eyebrow {
    margin: 0 0 10px;
    font-size: 11px;
    line-height: 1.2;
    letter-spacing: 1.6px;
    text-align: left;
  }

  .section-title,
  .solution__title,
  .cta__title {
    margin: 0;
    font-size: 30px !important;
    line-height: 1.14;
    letter-spacing: -0.4px;
    text-align: left !important;
  }

  .section-subtitle,
  .solution__text,
  .cta__text {
    max-width: 100%;
    margin: 16px 0 0 !important;
    font-size: 15px !important;
    line-height: 1.58;
    text-align: left !important;
  }

  /* ----------------------------- */
  /* HERO */
  /* ----------------------------- */

  .hero {
    min-height: auto;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    padding: 30px 22px 50px !important;
    gap: 30px;
    text-align: left;
  }

  .hero__content {
    width: 100%;
    max-width: 100%;
  }

  .hero__navigation {
    width: 100%;
    display: flex;
    flex-direction: row !important;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 34px !important;
  }

  .hero__back-link {
    font-size: 13.5px;
    line-height: 1;
    letter-spacing: 0;
    white-space: nowrap;
  }

  .language-selector__button {
    min-height: 28px;
    gap: 5px;
    padding: 5px 8px !important;
    border-radius: 10px;
    font-size: 11.5px !important;
    line-height: 1;
  }

  .language-selector__arrow {
    font-size: 9px;
  }

  .language-selector__menu {
    right: 0;
    left: auto;
    min-width: 120px;
  }

  .language-selector__menu button {
    padding: 9px 10px;
    font-size: 12px;
  }

  .hero__title {
    max-width: 100%;
    margin: 0;
    font-size: 36px !important;
    line-height: 1.08;
    letter-spacing: -0.5px;
    text-align: left;
  }

  .hero__subtitle {
    max-width: 100%;
    margin-top: 20px;
    font-size: 15.2px;
    line-height: 1.6;
    text-align: left;
  }

  .hero__cards {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 9px;
    margin-top: 30px;
  }

  .hero__card {
    width: 100%;
    min-width: 0;
    padding: 12px 8px;
    border-radius: 15px;
    text-align: center;
  }

  .hero__card-label {
    font-size: 8.5px;
    line-height: 1.2;
    letter-spacing: 0.8px;
  }

  .hero__card-value {
    font-size: 13.2px;
    line-height: 1.25;
  }

  .hero__visual {
    width: 100%;
    display: flex;
    justify-content: center;
  }

  .hero__image {
    width: 100%;
    max-width: 460px;
    height: auto !important;
    max-height: 285px;
    object-fit: contain;
    object-position: center;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.72);
    box-shadow: 0 16px 38px rgba(155, 102, 224, 0.18);
  }

  /* ----------------------------- */
  /* EXECUTIVE SNAPSHOT */
  /* ----------------------------- */

  .snapshot__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 11px !important;
  }

  .snapshot__card {
    min-height: 0 !important;
    height: auto !important;
    display: flex;
    flex-direction: column;
    padding: 13px 12px !important;
    border-radius: 15px;
  }

  .snapshot__icon {
    width: 30px;
    height: 30px;
    margin-bottom: 11px;
    border-radius: 9px;
    font-size: 12.5px;
  }

  .snapshot__label {
    margin: 0 0 5px;
    font-size: 8.8px;
    line-height: 1.2;
    letter-spacing: 0.8px;
  }

  .snapshot__value {
    margin: 0;
    font-size: 22px !important;
    line-height: 1;
  }

  .snapshot__trend {
    width: fit-content;
    margin: 7px 0 9px;
    padding: 2px 6px;
    border-radius: 999px;
    background: rgba(90, 82, 224, 0.08);
    font-size: 9.2px;
    line-height: 1.2;
  }

  .snapshot__text {
    margin: 0;
    font-size: 12px;
    line-height: 1.42;
  }

  /* ----------------------------- */
  /* DASHBOARD PREVIEW */
  /* ----------------------------- */

  .dashboard__carousel {
    width: 100%;
    margin-top: 24px;
    gap: 0;
  }

  .carousel__viewport {
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    padding: 0 !important;
    border: none !important;
    border-radius: 18px;
    background: transparent !important;
    box-shadow: none !important;
    overflow: hidden !important;
  }

  .carousel__track {
    width: 100%;
    height: auto !important;
    min-height: 0 !important;
    align-items: flex-start !important;
  }

  .dashboard__image {
    flex: 0 0 100%;
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    aspect-ratio: auto !important;
    object-fit: contain !important;
    object-position: center;
    display: block;
    padding: 0;
    border-radius: 18px;
    border: var(--border-neutral);
    background: rgba(255, 255, 255, 0.78);
    box-shadow: 0 12px 28px rgba(155, 102, 224, 0.12);
  }

  .carousel__arrow {
    position: absolute;
    top: 50%;
    z-index: 5;
    width: 32px;
    height: 32px;
    transform: translateY(-50%);
    font-size: 17px;
  }

  .carousel__arrow--left {
    left: 8px;
  }

  .carousel__arrow--right {
    right: 8px;
  }

  .dashboard__hint {
    margin: 14px 0 0;
    text-align: left;
    font-size: 12.5px;
    line-height: 1.4;
  }

  /* ----------------------------- */
  /* BUSINESS CHALLENGE */
  /* ----------------------------- */

  .challenge__cards {
    display: grid;
    grid-template-columns: 1fr !important;
    gap: 11px !important;
  }

  .challenge__card {
    min-height: 0 !important;
    padding: 16px 15px !important;
    border-radius: 15px;
  }

  .challenge__icon {
    width: 31px;
    height: 31px;
    border-radius: 9px;
    font-size: 13px;
  }

  .challenge__card-title {
    margin: 13px 0 7px;
    font-size: 18px !important;
    line-height: 1.18;
  }

  .challenge__card-text {
    margin: 0;
    font-size: 13px;
    line-height: 1.44;
  }

  /* ----------------------------- */
  /* ANALYTICAL APPROACH */
  /* griglia 2x2 richiesta */
  /* ----------------------------- */

  .approach__steps {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 11px !important;
  }

  .approach__step {
    display: block !important;
    min-height: 0 !important;
    height: auto !important;
    padding: 13px 12px !important;
    border-radius: 15px !important;
  }

  .approach__header {
    display: block !important;
    margin: 0 !important;
    padding: 0 !important;
    gap: 0 !important;
    min-height: 0 !important;
  }

  .approach__icon {
    width: 29px !important;
    height: 29px !important;
    min-width: 29px !important;
    margin: 0 0 9px !important;
    border-radius: 9px !important;
    font-size: 12px !important;
  }

  .approach__step-title {
    margin: 0 0 7px !important;
    padding: 0 !important;
    font-size: 16px !important;
    line-height: 1.16 !important;
  }

  .approach__step-text {
    margin: 0 0 9px !important;
    padding: 0 !important;
    font-size: 11.8px !important;
    line-height: 1.38 !important;
  }

  .approach__tags {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 5px !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  .approach__tags span {
    padding: 2px 6px !important;
    font-size: 8.5px !important;
    line-height: 1.2 !important;
  }

  .approach__tags span::after {
    display: none !important;
  }

  /* ----------------------------- */
  /* SOLUTION DEVELOPED */
  /* ----------------------------- */

  .solution {
    display: block !important;
  }

  .solution__content {
    width: 100%;
  }

  .solution__text {
    margin-top: 16px;
    font-size: 15px !important;
    line-height: 1.6;
  }

  .solution__lists ul {
    margin-top: 22px;
  }

  .solution__list {
    font-size: 13.4px;
    line-height: 1.45;
  }

  .solution__visual {
    width: min(100%, 390px);
    max-width: 390px;
    margin: 26px auto 0;
    padding: 12px;
    border-radius: 18px;
  }

  .solution__cards-row {
    grid-template-columns: 1fr !important;
    gap: 10px;
  }

  .solution__card {
    border-radius: 15px;
  }

  .solution__tag {
    padding: 4px 7px;
    font-size: 9px;
  }
  /* ----------------------------- */
  /* KPI FRAMEWORK */
  /* ----------------------------- */

  .kpi__framework {
    display: grid;
    grid-template-columns: 1fr !important;
    gap: 11px !important;
  }

  .kpi__area {
    min-height: 0 !important;
    height: auto !important;
    padding: 13px 14px !important;
    border-radius: 15px !important;
  }

  .kpi__area-top {
    display: block !important;
    margin: 0 !important;
  }

  .kpi__icon {
    width: 30px !important;
    height: 30px !important;
    margin: 0 0 9px !important;
    border-radius: 9px !important;
    font-size: 12.5px !important;
  }

  .kpi__area-label {
    margin: 0 0 5px !important;
    font-size: 8.8px !important;
    line-height: 1.2 !important;
    letter-spacing: 0.8px !important;
  }

  .kpi__area-title {
    margin: 0 !important;
    font-size: 16.5px !important;
    line-height: 1.15 !important;
  }

  .kpi__area-text {
    margin: 9px 0 !important;
    font-size: 12.3px !important;
    line-height: 1.38 !important;
  }

  .kpi__metrics {
    margin: 0 !important;
    font-size: 9.8px !important;
    line-height: 1.45 !important;
  }

  /* ----------------------------- */
  /* PROJECT OUTCOME */
  /* ----------------------------- */

  .outcome__cards {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 11px !important;
  }

  .outcome__card {
    min-height: 0 !important;
    padding: 16px 12px !important;
    border-radius: 15px;
  }

  .outcome__icon {
    width: 31px;
    height: 31px;
    margin: 0;
    border-radius: 9px;
    font-size: 13px;
  }

  .outcome__number {
    margin: 11px 0 4px;
    font-size: 24px !important;
    line-height: 1;
    text-align: left;
  }

  .outcome__text {
    margin: 0;
    font-size: 11px;
    line-height: 1.28;
    text-align: left;
  }

  /* ----------------------------- */
  /* CTA */
  /* ----------------------------- */

  .cta {
    padding: 36px 24px !important;
    border-radius: 24px !important;
    text-align: left !important;
  }

  .cta__title {
    margin: 0 !important;
    font-size: 27px !important;
    line-height: 1.2 !important;
    text-align: left !important;
  }

  .cta__text {
    margin: 18px 0 0 !important;
    font-size: 15px !important;
    line-height: 1.6 !important;
    text-align: left !important;
  }

  .cta__button-wrapper {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 13px !important;
    margin-top: 28px !important;
  }

  .cta__button {
    width: 100% !important;
    min-height: 48px !important;
    padding: 13px 16px !important;
    font-size: 13.5px !important;
    line-height: 1.2 !important;
  }

  /* ----------------------------- */
  /* FORM */
  /* ----------------------------- */

  .form-modal {
    padding: 15px;
  }

  .form-modal__card {
    padding: 30px 22px;
    border-radius: 22px;
  }

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

  .form-modal__text {
    font-size: 15.2px;
  }

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

  .contact-form__button {
    box-shadow: none;
    transition: none;
  }

  .contact-form__button:hover {
    transform: none;
  }

  /* ----------------------------- */
  /* FOOTER */
  /* ----------------------------- */

  .footer__main,
  .footer__bottom {
    width: calc(100% - 44px);
    max-width: 500px;
    margin-inline: auto;
  }

  .footer__main {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 34px 28px;
    padding: 46px 0 34px;
  }

  .footer__brand-block,
  .footer__column--contact {
    grid-column: 1 / -1;
    width: 100%;
    max-width: 100%;
  }

  .footer__column,
  .footer__column--services {
    min-width: 0;
  }

  .footer__brand {
    width: 100%;
    gap: 15px;
  }

  .footer__monogram {
    min-height: 50px;
    padding-right: 15px;
    font-size: 28px;
  }

  .footer__name {
    font-size: 15.5px;
  }

  .footer__role {
    max-width: 245px;
    font-size: 9.3px;
    line-height: 1.35;
    white-space: normal;
  }

  .footer__description {
    max-width: 440px;
    margin-top: 19px;
    font-size: 14px;
    line-height: 1.68;
  }

  .footer__socials {
    margin-top: 20px;
  }

  .footer__column {
    gap: 11px;
  }

  .footer__heading {
    margin-bottom: 6px;
    font-size: 11.2px;
  }

  .footer__column a,
  .footer__column p:not(.footer__heading) {
    font-size: 13.2px;
  }

  .footer__column--services {
    display: flex;
  }

  .footer__contact-button {
    width: 100%;
    max-width: 360px;
    min-height: 45px;
    font-size: 12.8px;
  }

  .footer__bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    padding: 21px 0 25px;
  }

  .privacy__box {
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 13px 21px;
  }

  .copyright__text,
  .privacy__text,
  .cookie__text,
  .footer__language {
    font-size: 12px;
  }

  .footer__socials a:hover,
  .footer__column a:hover,
  .footer__contact-button:hover {
    transform: none;
  }

  /* ----------------------------- */
  /* BACK TO TOP */
  /* ----------------------------- */

  .back__to-top {
    right: 14px !important;
    bottom: 14px !important;
    width: 38px !important;
    height: 38px !important;
    min-width: 38px !important;
    max-width: 38px !important;
    font-size: 16px !important;
    z-index: 999;
  }
}

/* ============================= */
/* TABLET PORTRAIT / 568px - 768px */
/* ============================= */

@media (min-width: 568px) and (max-width: 768px) {
  html,
  body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden !important;
  }

  body {
    position: relative;
  }

  main,
  section,
  header,
  footer {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
  }

  img {
    max-width: 100%;
  }

  /* ----------------------------- */
  /* DISATTIVO HOVER / TRANSITION */
  /* ----------------------------- */

  .hero__back-link,
  .hero__card,
  .snapshot__card,
  .challenge__card,
  .approach__step,
  .solution__card,
  .kpi__area,
  .outcome__card,
  .cta__button,
  .contact-form__button,
  .back__to-top,
  .carousel__arrow,
  .dashboard-lightbox__close,
  .dashboard-lightbox__arrow {
    transition: none !important;
  }

  .hero__back-link:hover,
  .snapshot__card:hover,
  .challenge__card:hover,
  .approach__step:hover,
  .cta__button:hover,
  .contact-form__button:hover,
  .back__to-top:hover,
  .carousel__arrow:hover,
  .dashboard-lightbox__close:hover,
  .dashboard-lightbox__arrow:hover {
    transform: none !important;
  }

  /* ----------------------------- */
  /* GLOBAL */
  /* ----------------------------- */

  .snapshot-section,
  .dashboard-section,
  .context-section,
  .challenge-section,
  .approach-section,
  .solution-section,
  .kpi-section,
  .outcome-section,
  .cta-section {
    padding: 62px 32px !important;
  }

  .section-header,
  .section-header--compact {
    max-width: 100%;
    margin: 0 0 36px !important;
    text-align: left !important;
  }

  .section-eyebrow,
  .hero__eyebrow {
    margin: 0 0 12px;
    font-size: 12px;
    line-height: 1.2;
    letter-spacing: 1.8px;
    text-align: left;
  }

  .section-title,
  .solution__title,
  .cta__title {
    margin: 0;
    font-size: 38px !important;
    line-height: 1.12;
    letter-spacing: -0.5px;
    text-align: left !important;
  }

  .section-subtitle,
  .solution__text,
  .cta__text {
    max-width: 100%;
    margin: 20px 0 0 !important;
    font-size: 17px !important;
    line-height: 1.62;
    text-align: left !important;
  }

  /* ----------------------------- */
  /* HERO */
  /* ----------------------------- */

  .hero {
    min-height: auto;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    padding: 42px 32px 68px !important;
    gap: 42px;
    text-align: left;
  }

  .hero__content {
    width: 100%;
    max-width: 100%;
  }

  .hero__navigation {
    width: 100%;
    display: flex;
    flex-direction: row !important;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 44px !important;
  }

  .hero__back-link {
    font-size: 15px;
    line-height: 1;
    letter-spacing: 0;
    white-space: nowrap;
  }

  .language-selector__button {
    min-height: 32px;
    gap: 6px;
    padding: 6px 10px !important;
    border-radius: 11px;
    font-size: 12.5px !important;
    line-height: 1;
  }

  .language-selector__arrow {
    font-size: 10px;
  }

  .language-selector__menu {
    right: 0;
    left: auto;
    min-width: 128px;
  }

  .language-selector__menu button {
    padding: 10px 12px;
    font-size: 13px;
  }

  .hero__eyebrow {
    font-size: 12px;
    letter-spacing: 1.9px;
  }

  .hero__title {
    max-width: 100%;
    margin: 0;
    font-size: 48px !important;
    line-height: 1.06;
    letter-spacing: -0.7px;
    text-align: left;
  }

  .hero__subtitle {
    max-width: 100%;
    margin-top: 24px;
    font-size: 17px;
    line-height: 1.65;
    text-align: left;
  }

  .hero__cards {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin-top: 36px;
  }

  .hero__card {
    width: 100%;
    min-width: 0;
    padding: 16px 14px;
    border-radius: 17px;
    text-align: center;
  }

  .hero__card-label {
    font-size: 10px;
    line-height: 1.2;
    letter-spacing: 1px;
  }

  .hero__card-value {
    font-size: 16px;
    line-height: 1.25;
  }

  .hero__visual {
    width: 100%;
    display: flex;
    justify-content: center;
  }

  .hero__image {
    width: min(100%, 660px);
    height: auto !important;
    max-height: 370px;
    object-fit: contain;
    object-position: center;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.72);
    box-shadow: 0 18px 44px rgba(155, 102, 224, 0.2);
  }

  /* ----------------------------- */
  /* EXECUTIVE SNAPSHOT */
  /* ----------------------------- */

  .snapshot__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 14px !important;
  }

  .snapshot__card {
    min-height: 0 !important;
    height: auto !important;
    display: flex;
    flex-direction: column;
    padding: 17px 15px !important;
    border-radius: 17px;
  }

  .snapshot__icon {
    width: 34px;
    height: 34px;
    margin-bottom: 14px;
    border-radius: 10px;
    font-size: 14px;
  }

  .snapshot__label {
    margin: 0 0 6px;
    font-size: 9.5px;
    line-height: 1.2;
    letter-spacing: 1px;
  }

  .snapshot__value {
    margin: 0;
    font-size: 27px !important;
    line-height: 1;
  }

  .snapshot__trend {
    width: fit-content;
    margin: 8px 0 10px;
    padding: 3px 7px;
    border-radius: 999px;
    background: rgba(90, 82, 224, 0.08);
    font-size: 10px;
    line-height: 1.2;
  }

  .snapshot__text {
    margin: 0;
    font-size: 12.8px;
    line-height: 1.48;
  }

  /* ----------------------------- */
  /* DASHBOARD PREVIEW */
  /* ----------------------------- */

  .dashboard__carousel {
    width: 100%;
    margin-top: 30px;
    gap: 0;
  }

  .carousel__viewport {
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    padding: 0 !important;
    border: none !important;
    border-radius: 22px;
    background: transparent !important;
    box-shadow: none !important;
    overflow: hidden !important;
  }

  .carousel__track {
    width: 100%;
    height: auto !important;
    min-height: 0 !important;
    align-items: flex-start !important;
  }

  .dashboard__image {
    flex: 0 0 100%;
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    aspect-ratio: auto !important;
    object-fit: contain !important;
    object-position: center;
    display: block;
    padding: 0;
    border-radius: 22px;
    border: var(--border-neutral);
    background: rgba(255, 255, 255, 0.78);
    box-shadow: 0 14px 32px rgba(155, 102, 224, 0.13);
  }

  .carousel__arrow {
    position: absolute;
    top: 50%;
    z-index: 5;
    width: 36px;
    height: 36px;
    transform: translateY(-50%);
    font-size: 19px;
  }

  .carousel__arrow--left {
    left: 10px;
  }

  .carousel__arrow--right {
    right: 10px;
  }

  .dashboard__hint {
    margin: 16px 0 0;
    text-align: left;
    font-size: 13.5px;
    line-height: 1.4;
  }

  /* ----------------------------- */
  /* CONTEXT */
  /* ----------------------------- */

  .context {
    max-width: 100%;
  }

  /* ----------------------------- */
  /* BUSINESS CHALLENGE */
  /* 2 card sopra + terza centrata */
  /* ----------------------------- */

  .challenge__cards {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 16px !important;
  }

  .challenge__card {
    min-height: 210px !important;
    padding: 22px 20px !important;
    border-radius: 20px;
  }

  .challenge__card:nth-child(3) {
    grid-column: 1 / -1;
    width: calc((100% - 16px) / 2);
    justify-self: center;
  }

  .challenge__icon {
    width: 38px;
    height: 38px;
    border-radius: 11px;
    font-size: 16px;
  }

  .challenge__card-title {
    margin: 18px 0 10px;
    font-size: 21px !important;
    line-height: 1.18;
  }

  .challenge__card-text {
    margin: 0;
    font-size: 14.2px;
    line-height: 1.5;
  }

  /* ----------------------------- */
  /* ANALYTICAL APPROACH */
  /* ----------------------------- */

  @media (min-width: 568px) and (max-width: 768px) {
    .approach__steps {
      display: grid !important;
      grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
      gap: 14px !important;
      align-items: start !important;
    }

    .approach__step {
      display: block !important;
      grid-template-rows: none !important;
      min-height: unset !important;
      height: auto !important;
      padding: 16px 16px 14px !important;
      border-radius: 18px !important;
    }

    .approach__header {
      display: block !important;
      min-height: unset !important;
      height: auto !important;
      margin: 0 !important;
      padding: 0 !important;
    }

    .approach__icon {
      width: 32px !important;
      height: 32px !important;
      min-width: 32px !important;
      margin: 0 0 11px !important;
      border-radius: 10px !important;
      font-size: 13px !important;
    }

    .approach__step-title {
      margin: 0 0 8px !important;
      font-size: 18px !important;
      line-height: 1.18 !important;
    }

    .approach__step-text {
      margin: 0 0 12px !important;
      font-size: 13px !important;
      line-height: 1.38 !important;
    }

    .approach__tags {
      display: flex !important;
      flex-wrap: wrap !important;
      gap: 6px !important;
      margin: 0 !important;
      padding: 0 !important;
    }

    .approach__tags span {
      display: inline-flex !important;
      padding: 3px 7px !important;
      font-size: 9px !important;
      line-height: 1.2 !important;
    }

    .approach__tags span::after,
    .approach__tags span:not(:last-child)::after {
      display: none !important;
      content: none !important;
    }
  }
  /* ----------------------------- */
  /* SOLUTION DEVELOPED */
  /* ----------------------------- */

  .solution {
    display: block !important;
  }

  .solution__content {
    width: 100%;
    max-width: 100%;
  }

  .solution__text {
    margin-top: 20px;
    font-size: 17px !important;
    line-height: 1.62;
  }

  .solution__lists {
    margin-top: 28px;
  }

  .solution__lists ul {
    margin-top: 0;
    padding-left: 20px;
  }

  .solution__list {
    font-size: 15px;
    line-height: 1.55;
    margin-bottom: 9px;
  }

  .solution__visual {
    width: min(100%, 560px);
    max-width: 560px;
    margin: 34px auto 0;
    padding: 14px;
    border-radius: 22px;
  }

  .solution__cards-row {
    grid-template-columns: 1fr 1fr !important;
    gap: 12px;
  }

  .solution__card {
    border-radius: 17px;
  }

  .solution__tag {
    padding: 4px 8px;
    font-size: 9.5px;
  }

  /* ----------------------------- */
  /* KPI FRAMEWORK */
  /* 2 card sopra + terza centrata */
  /* ----------------------------- */

  .kpi__framework {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 16px !important;
  }

  .kpi__area {
    min-height: 210px !important;
    height: auto !important;
    padding: 22px 20px !important;
    border-radius: 20px !important;
  }

  .kpi__area:nth-child(3) {
    grid-column: 1 / -1;
    width: calc((100% - 16px) / 2);
    justify-self: center;
  }

  .kpi__area-top {
    display: block !important;
    margin: 0 !important;
  }

  .kpi__icon {
    width: 38px !important;
    height: 38px !important;
    margin: 0 0 14px !important;
    border-radius: 11px !important;
    font-size: 16px !important;
  }

  .kpi__area-label {
    margin: 0 0 6px !important;
    font-size: 9.5px !important;
    line-height: 1.2 !important;
    letter-spacing: 1px !important;
  }

  .kpi__area-title {
    margin: 0 !important;
    font-size: 20px !important;
    line-height: 1.18 !important;
  }

  .kpi__area-text {
    margin: 12px 0 !important;
    font-size: 13.8px !important;
    line-height: 1.5 !important;
  }

  .kpi__metrics {
    margin: 0 !important;
    font-size: 10.5px !important;
    line-height: 1.55 !important;
  }

  .kpi__metrics span {
    margin: 0 5px;
  }

  /* ----------------------------- */
  /* PROJECT OUTCOME */
  /* 4 card su una riga */
  /* ----------------------------- */

  .outcome__cards {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 12px !important;
  }

  .outcome__card {
    min-height: 130px !important;
    padding: 16px 12px !important;
    border-radius: 17px;
    text-align: left;
  }

  .outcome__icon {
    width: 34px;
    height: 34px;
    margin: 0 0 12px;
    border-radius: 10px;
    font-size: 14px;
  }

  .outcome__number {
    margin: 0 0 5px;
    font-size: 28px !important;
    line-height: 1;
    text-align: left;
  }

  .outcome__text {
    margin: 0;
    font-size: 11.8px;
    line-height: 1.28;
    text-align: left;
  }

  /* ----------------------------- */
  /* CTA */
  /* ----------------------------- */

  .cta {
    padding: 42px 32px !important;
    border-radius: 26px !important;
    text-align: left !important;
  }

  .cta__title {
    margin: 0 !important;
    font-size: 35px !important;
    line-height: 1.15 !important;
    text-align: left !important;
  }

  .cta__text {
    margin: 20px 0 0 !important;
    font-size: 17px !important;
    line-height: 1.62 !important;
    text-align: left !important;
  }

  .cta__button-wrapper {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 14px !important;
    margin-top: 32px !important;
    flex-wrap: wrap;
  }

  .cta__button {
    width: auto !important;
    min-height: 48px !important;
    padding: 13px 18px !important;
    font-size: 14.5px !important;
    line-height: 1.2 !important;
  }

  /* ----------------------------- */
  /* FORM */
  /* ----------------------------- */

  .form-modal {
    padding: 18px;
  }

  .form-modal__card {
    max-width: 680px;
    padding: 34px 28px;
    border-radius: 24px;
  }

  .form-modal__title {
    font-size: 34px;
  }

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

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

  .contact-form__button {
    box-shadow: none;
    transition: none;
  }

  .contact-form__button:hover {
    transform: none;
  }

  /* ----------------------------- */
  /* FOOTER */
  /* ----------------------------- */

  .footer__main,
  .footer__bottom {
    width: calc(100% - 64px);
    max-width: 704px;
    margin-inline: auto;
  }

  .footer__main {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 38px 34px;
    padding: 54px 0 40px;
  }

  .footer__brand-block {
    grid-column: 1 / -1;
    max-width: 560px;
  }

  .footer__brand {
    gap: 16px;
  }

  .footer__monogram {
    min-height: 54px;
    padding-right: 16px;
    font-size: 30px;
  }

  .footer__name {
    font-size: 16px;
  }

  .footer__role {
    font-size: 9.8px;
  }

  .footer__description {
    max-width: 520px;
    font-size: 14.3px;
  }

  .footer__column {
    min-width: 0;
  }

  .footer__column--contact {
    grid-column: 1 / -1;
    max-width: 520px;
  }

  .footer__contact-button {
    max-width: 380px;
  }

  .footer__bottom {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 22px 0 26px;
  }

  .privacy__box {
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 14px 20px;
  }

  .footer__socials a:hover,
  .footer__column a:hover,
  .footer__contact-button:hover {
    transform: none;
  }

  /* ----------------------------- */
  /* BACK TO TOP */
  /* ----------------------------- */

  .back__to-top {
    right: 18px !important;
    bottom: 18px !important;
    width: 42px !important;
    height: 42px !important;
    min-width: 42px !important;
    max-width: 42px !important;
    font-size: 18px !important;
    z-index: 999;
  }
}

/* ============================= */
/* FIX TITOLI TROPPO LARGHI */
/* 568px / 768px */
/* ============================= */

@media (min-width: 568px) and (max-width: 768px) {
  /* ----------------------------- */
  /* SOLUTION DEVELOPED */
  /* ----------------------------- */

  .solution {
    max-width: 680px !important;
    margin: 0 auto !important;
  }

  .solution__content {
    max-width: 620px !important;
    margin: 0 !important;
  }

  .solution__title {
    max-width: 600px !important;
    font-size: 38px !important;
    line-height: 1.12 !important;
    text-align: left !important;
  }

  .solution__text {
    max-width: 620px !important;
    font-size: 16px !important;
    line-height: 1.62 !important;
    text-align: left !important;
  }

  .solution__lists {
    max-width: 620px !important;
  }

  /* ----------------------------- */
  /* OUTCOME / RISULTATI */
  /* ----------------------------- */

  .outcome {
    max-width: 680px !important;
    margin: 0 auto !important;
  }

  .outcome .section-header {
    max-width: 620px !important;
    margin-left: 0 !important;
    margin-right: auto !important;
    text-align: left !important;
  }

  .outcome .section-title {
    max-width: 600px !important;
    font-size: 38px !important;
    line-height: 1.12 !important;
    text-align: left !important;
  }

  .outcome .section-subtitle {
    max-width: 620px !important;
    font-size: 16px !important;
    line-height: 1.62 !important;
    text-align: left !important;
  }
}

/* ============================= */
/* TABLET LANDSCAPE / SMALL LAPTOP */
/* 769px / 1024px */
/* ============================= */

@media (min-width: 769px) and (max-width: 1024px) {
  /* ============================= */
  /* GLOBAL RESET */
  /* ============================= */

  html,
  body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
  }

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

  body {
    background: #fcfcfe;
  }

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

  main,
  section,
  header,
  footer {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
  }

  /* Disattivo hover/transition su tablet landscape */
  .hero__card,
  .snapshot__card,
  .challenge__card,
  .approach__step,
  .solution__card,
  .kpi__area,
  .outcome__card,
  .cta__button,
  .contact-form__button,
  .back__to-top {
    transition: none !important;
  }

  .hero__card:hover,
  .snapshot__card:hover,
  .challenge__card:hover,
  .approach__step:hover,
  .solution__card:hover,
  .kpi__area:hover,
  .outcome__card:hover,
  .cta__button:hover,
  .contact-form__button:hover,
  .back__to-top:hover {
    transform: none !important;
  }

  .carousel__arrow:hover,
  .dashboard-lightbox__close:hover,
  .dashboard-lightbox__arrow:hover {
    transform: translateY(-50%) !important;
  }

  /* ============================= */
  /* GLOBAL SECTIONS */
  /* ============================= */

  .snapshot-section,
  .dashboard-section,
  .context-section,
  .challenge-section,
  .approach-section,
  .solution-section,
  .kpi-section,
  .outcome-section,
  .cta-section {
    padding: 78px 42px !important;
  }

  .section-header,
  .section-header--compact {
    max-width: 780px;
    margin: 0 0 46px !important;
    text-align: left !important;
  }

  .section-eyebrow,
  .hero__eyebrow,
  .form-modal__eyebrow {
    margin: 0 0 13px;
    font-size: 12px;
    line-height: 1.2;
    letter-spacing: 1.8px;
    text-align: left;
  }

  .section-title,
  .solution__title,
  .cta__title {
    max-width: 760px;
    margin: 0;
    font-size: 42px !important;
    line-height: 1.1;
    letter-spacing: -0.5px;
    text-align: left !important;
  }

  .section-subtitle,
  .solution__text,
  .cta__text {
    max-width: 760px;
    margin: 22px 0 0 !important;
    font-size: 17px !important;
    line-height: 1.68;
    text-align: left !important;
  }

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

  .hero {
    min-height: auto;
    display: grid;
    grid-template-columns: 1fr;
    align-items: start;
    justify-content: center;
    gap: 46px;
    padding: 54px 42px 78px !important;
    text-align: left;
  }

  .hero__content {
    width: 100%;
    max-width: 860px;
    margin: 0 auto;
  }

  .hero__navigation {
    width: 100%;
    display: flex;
    flex-direction: row !important;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 44px !important;
  }

  .hero__back-link {
    font-size: 14.5px;
    line-height: 1;
    letter-spacing: 0;
    white-space: nowrap;
  }

  .language-selector__button {
    min-height: 31px;
    gap: 6px;
    padding: 6px 10px !important;
    border-radius: 10px;
    font-size: 12px !important;
    line-height: 1;
  }

  .language-selector__menu {
    right: 0;
    left: auto;
    min-width: 130px;
  }

  .language-selector__menu button {
    padding: 9px 11px;
    font-size: 12.5px;
  }

  .hero__title {
    max-width: 780px;
    margin: 0;
    font-size: 52px !important;
    line-height: 1.05;
    letter-spacing: -0.7px;
    text-align: left;
  }

  .hero__subtitle {
    max-width: 820px;
    margin-top: 24px;
    font-size: 17px;
    line-height: 1.65;
    text-align: left;
  }

  .hero__cards {
    width: 100%;
    max-width: 860px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    margin-top: 34px;
  }

  .hero__card {
    width: 100%;
    min-width: 0;
    min-height: 86px;
    padding: 16px 18px;
    border-radius: 18px;
    text-align: center;
  }

  .hero__card-label {
    font-size: 10px;
    letter-spacing: 1.2px;
  }

  .hero__card-value {
    font-size: 16px;
    line-height: 1.25;
  }

  .hero__visual {
    width: 100%;
    max-width: 860px;
    margin: 0 auto;
  }

  .hero__image {
    width: 85%;
    max-width: 820px;
    height: auto !important;
    max-height: 430px;
    margin: 0 auto;
    display: block;
    object-fit: contain;
    object-position: center;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.72);
    box-shadow: 0 18px 44px rgba(155, 102, 224, 0.18);
  }

  /* ============================= */
  /* EXECUTIVE SNAPSHOT */
  /* ============================= */

  .snapshot {
    max-width: 940px;
    margin: 0 auto;
  }

  .snapshot__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 16px !important;
  }

  .snapshot__card {
    min-height: 220px !important;
    padding: 20px 18px !important;
    border-radius: 20px;
  }

  .snapshot__icon {
    width: 38px;
    height: 38px;
    margin-bottom: 16px;
    border-radius: 11px;
    font-size: 16px;
  }

  .snapshot__label {
    margin: 0 0 7px;
    font-size: 10px;
    line-height: 1.2;
    letter-spacing: 1.1px;
  }

  .snapshot__value {
    margin: 0;
    font-size: 32px !important;
    line-height: 1;
  }

  .snapshot__trend {
    width: fit-content;
    margin: 10px 0 12px;
    padding: 4px 8px;
    font-size: 10px;
    line-height: 1.2;
  }

  .snapshot__text {
    margin: 0;
    font-size: 13.2px;
    line-height: 1.52;
  }

  /* ============================= */
  /* DASHBOARD PREVIEW */
  /* ============================= */

  .dashboard {
    max-width: 940px;
    margin: 0 auto;
    align-items: flex-start;
  }

  .dashboard__carousel {
    width: 100%;
    max-width: 900px;
    margin: 34px auto 0;
  }

  .carousel__viewport {
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    padding: 0 !important;
    border-radius: 24px;
    overflow: hidden !important;
    box-shadow: 0 18px 46px rgba(155, 102, 224, 0.18);
  }

  .carousel__track {
    width: 100%;
    height: auto !important;
    min-height: 0 !important;
    align-items: flex-start !important;
  }

  .dashboard__image {
    flex: 0 0 100%;
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    aspect-ratio: auto !important;
    object-fit: contain !important;
    object-position: center;
    display: block;
    padding: 8px;
    border-radius: 24px;
    border: var(--border-neutral);
    background: rgba(255, 255, 255, 0.78);
  }

  .carousel__arrow {
    width: 36px;
    height: 36px;
    font-size: 22px;
  }

  .carousel__arrow--left {
    left: 12px;
  }

  .carousel__arrow--right {
    right: 12px;
  }

  .dashboard__hint {
    margin: 18px 0 0;
    text-align: left;
    font-size: 13.5px;
    line-height: 1.45;
  }

  /* ============================= */
  /* CONTEXT */
  /* ============================= */

  .context {
    max-width: 840px;
    margin: 0 auto;
  }

  /* ============================= */
  /* BUSINESS CHALLENGE */
  /* ============================= */

  .challenge {
    max-width: 940px;
    margin: 0 auto;
  }

  .challenge__cards {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 16px !important;
  }

  .challenge__card {
    min-height: 250px !important;
    padding: 22px 20px !important;
    border-radius: 20px;
  }

  .challenge__icon {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    font-size: 17px;
  }

  .challenge__card-title {
    margin: 20px 0 10px;
    font-size: 21px !important;
    line-height: 1.18;
  }

  .challenge__card-text {
    margin: 0;
    font-size: 14.5px;
    line-height: 1.55;
  }

  /* ============================= */
  /* ANALYTICAL APPROACH */
  /* ============================= */

  .approach {
    max-width: 940px;
    margin: 0 auto;
  }

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

  .approach__step {
    min-height: auto !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: flex-start !important;
    row-gap: 0 !important;
    padding: 22px 22px 20px !important;
    border-radius: 20px !important;
  }

  .approach__header {
    display: flex !important;
    align-items: center !important;
    gap: 14px !important;
    min-height: auto !important;
    margin: 0 0 18px !important;
  }

  .approach__icon {
    width: 40px !important;
    height: 40px !important;
    min-width: 40px !important;
    margin: 0 !important;
    border-radius: 12px !important;
    font-size: 17px !important;
  }

  .approach__step-title {
    margin: 0 !important;
    padding: 0 !important;
    font-size: 22px !important;
    line-height: 1.15 !important;
  }

  .approach__step-text {
    margin: 0 0 18px !important;
    padding: 0 !important;
    font-size: 14.5px !important;
    line-height: 1.52 !important;
  }

  .approach__tags {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 8px !important;
    margin-top: auto !important;
    padding: 0 !important;
  }

  .approach__tags span {
    padding: 0 !important;
    font-size: 12px !important;
    line-height: 1.4 !important;
  }

  .approach__tags span:not(:last-child)::after {
    margin: 0 8px;
  }

  /* ============================= */
  /* SOLUTION DEVELOPED */
  /* ============================= */

  .solution {
    width: 100%;
    max-width: 940px;
    margin-inline: auto;

    display: grid !important;
    grid-template-columns: minmax(0, 1fr);
    gap: 42px;
    align-items: start;
  }

  .solution__visual {
    width: 90%;
    max-width: 550px;
    margin-inline: auto;

    padding: 14px;
    border-radius: 22px;
  }

  .solution__content {
    width: 100%;
    max-width: 760px;
  }

  .solution__card {
    width: 100%;
    padding: 8px;
    border-radius: 16px;
  }

  .solution__cards-row {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .solution__tag {
    padding: 4px 8px;
    font-size: 9px;
  }

  /* ============================= */
  /* KPI FRAMEWORK */
  /* ============================= */

  .kpi {
    max-width: 940px;
    margin: 0 auto;
  }

  .kpi__framework {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 16px !important;
  }

  .kpi__area {
    min-height: 250px !important;
    padding: 22px 20px !important;
    border-radius: 20px !important;
  }

  .kpi__area-top {
    display: block !important;
    margin: 0 0 18px !important;
  }

  .kpi__icon {
    width: 40px !important;
    height: 40px !important;
    margin: 0 0 14px !important;
    border-radius: 12px !important;
    font-size: 17px !important;
  }

  .kpi__area-label {
    margin: 0 0 6px !important;
    font-size: 10px !important;
    line-height: 1.2 !important;
    letter-spacing: 1.2px !important;
  }

  .kpi__area-title {
    margin: 0 !important;
    font-size: 22px !important;
    line-height: 1.15 !important;
  }

  .kpi__area-text {
    margin: 14px 0 18px !important;
    font-size: 14.5px !important;
    line-height: 1.55 !important;
  }

  .kpi__metrics {
    margin: auto 0 0 !important;
    font-size: 11.5px !important;
    line-height: 1.5 !important;
  }

  .kpi__metrics span {
    margin: 0 6px;
  }

  /* ============================= */
  /* PROJECT OUTCOME */
  /* ============================= */

  .outcome {
    max-width: 940px;
    margin: 0 auto;
  }

  .outcome .section-header {
    max-width: 760px !important;
    margin-left: 0 !important;
    margin-right: auto !important;
  }

  .outcome .section-title {
    max-width: 760px !important;
    font-size: 42px !important;
    line-height: 1.1 !important;
  }

  .outcome .section-subtitle {
    max-width: 760px !important;
    font-size: 17px !important;
    line-height: 1.68 !important;
  }

  .outcome__cards {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 14px !important;
  }

  .outcome__card {
    min-height: 145px !important;
    padding: 20px 16px !important;
    border-radius: 18px;
    text-align: left;
  }

  .outcome__icon {
    width: 36px;
    height: 36px;
    margin: 0 0 16px;
    border-radius: 11px;
    font-size: 15px;
  }

  .outcome__number {
    margin: 0 0 6px;
    font-size: 32px !important;
    line-height: 1;
    text-align: left;
  }

  .outcome__text {
    margin: 0;
    font-size: 12.5px;
    line-height: 1.3;
    text-align: left;
  }

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

  .cta {
    max-width: 900px;
    padding: 44px 36px !important;
    border-radius: 26px !important;
  }

  .cta__content {
    align-items: flex-start;
    text-align: left;
  }

  .cta__title {
    max-width: 760px;
    margin: 0 !important;
    font-size: 40px !important;
    line-height: 1.12 !important;
    text-align: left !important;
  }

  .cta__text {
    max-width: 760px;
    margin: 20px 0 0 !important;
    font-size: 16.5px !important;
    line-height: 1.65 !important;
    text-align: left !important;
  }

  .cta__button-wrapper {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 14px !important;
    margin-top: 32px !important;
  }

  .cta__button {
    width: auto !important;
    min-height: 48px !important;
    padding: 13px 18px !important;
    font-size: 14px !important;
    line-height: 1.2 !important;
  }

  /* ============================= */
  /* FORM MODAL */
  /* ============================= */

  .form-modal {
    padding: 24px;
  }

  .form-modal__card {
    max-width: 720px;
    padding: 38px 34px;
    border-radius: 26px;
  }

  .form-modal__title {
    font-size: 36px;
    line-height: 1.12;
  }

  .form-modal__text {
    font-size: 16.5px;
    line-height: 1.55;
  }

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

  .contact-form__button {
    box-shadow: none;
  }

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

  .footer__main,
  .footer__bottom {
    width: calc(100% - 72px);
    max-width: 952px;
    margin-inline: auto;
  }

  .footer__main {
    grid-template-columns:
      minmax(150px, 0.72fr)
      minmax(180px, 0.9fr)
      minmax(230px, 1.1fr);
    gap: 42px 36px;
    padding: 58px 0 44px;
  }

  .footer__brand-block {
    grid-column: 1 / -1;
    max-width: 600px;
  }

  .footer__column,
  .footer__column--contact {
    min-width: 0;
  }

  .footer__column--contact {
    max-width: 310px;
  }

  .footer__description {
    max-width: 540px;
  }

  .footer__contact-button {
    max-width: 310px;
  }

  .footer__bottom {
    padding: 22px 0 26px;
  }

  .privacy__box {
    flex-wrap: wrap;
    justify-content: flex-end;
  }

  .footer__socials a:hover,
  .footer__column a:hover,
  .footer__contact-button:hover {
    transform: none;
  }

  /* ============================= */
  /* BACK TO TOP */
  /* ============================= */

  .back__to-top {
    right: 18px !important;
    bottom: 18px !important;
    width: 42px !important;
    height: 42px !important;
    min-width: 42px !important;
    max-width: 42px !important;
    font-size: 18px !important;
    z-index: 999;
  }
}

/* ============================= */
/* FIX CTA BUTTONS */
/* 568px / 768px */
/* ============================= */

@media (min-width: 568px) and (max-width: 768px) {
  .cta__actions {
    width: 100%;
  }

  .cta__button-wrapper {
    width: 100%;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 14px !important;
    margin-top: 30px !important;
  }

  .cta__button {
    width: fit-content !important;
    min-width: 280px !important;
    max-width: 340px !important;
    justify-content: center !important;
    text-align: center !important;
  }
}

/* Da circa 640px i pulsanti possono stare bene in riga */
@media (min-width: 640px) and (max-width: 768px) {
  .cta__button-wrapper {
    flex-direction: row !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    justify-content: center !important;
  }

  .cta__button {
    min-width: auto !important;
    width: auto !important;
  }
}

/* ============================= */
/* FIX CTA BUTTONS */
/* 769px / 1024px */
/* ============================= */

@media (min-width: 769px) and (max-width: 1024px) {
  .cta {
    display: block !important;
  }

  .cta__content {
    width: 100% !important;
    max-width: none !important;
    display: block !important;
    text-align: left !important;
  }

  .cta__actions {
    width: 100% !important;
    max-width: none !important;
    display: block !important;
  }

  .cta__button-wrapper {
    width: 100% !important;
    max-width: none !important;
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 16px !important;
    margin: 34px auto 0 !important;
    padding: 0 !important;
    text-align: center !important;
  }

  .cta__button {
    width: auto !important;
    min-width: 0 !important;
    max-width: none !important;
    justify-content: center !important;
    text-align: center !important;
    white-space: nowrap !important;
  }
}

/* ============================= */
/* SMALL DESKTOP / 1025px - 1200px */
/* ============================= */

@media (min-width: 1025px) and (max-width: 1200px) {
  html,
  body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
  }

  img {
    max-width: 100%;
  }

  .snapshot__card,
  .challenge__card,
  .approach__step,
  .cta__button,
  .contact-form__button {
    transition: none !important;
  }

  .snapshot__card:hover,
  .challenge__card:hover,
  .approach__step:hover,
  .cta__button:hover,
  .contact-form__button:hover {
    transform: none !important;
  }

  /* ----------------------------- */
  /* GLOBAL WIDTH / TYPOGRAPHY */
  /* ----------------------------- */

  .snapshot,
  .dashboard,
  .context,
  .challenge,
  .approach,
  .solution,
  .kpi,
  .outcome {
    max-width: 1040px;
  }

  .snapshot-section,
  .dashboard-section,
  .context-section,
  .challenge-section,
  .approach-section,
  .solution-section,
  .kpi-section,
  .outcome-section {
    padding: 90px 42px 100px;
  }

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

  .section-header--compact {
    margin-bottom: 0;
  }

  .section-eyebrow,
  .hero__eyebrow,
  .form-modal__eyebrow {
    font-size: 12.5px;
    letter-spacing: 1.4px;
    margin-bottom: 18px;
  }

  .section-title,
  .solution__title,
  .cta__title {
    font-size: 38px;
    line-height: 1.1;
  }

  .section-subtitle,
  .solution__text,
  .cta__text {
    max-width: 720px;
    font-size: 16.5px;
    line-height: 1.68;
    margin-top: 26px;
  }

  /* ----------------------------- */
  /* HERO */
  /* ----------------------------- */

  .hero {
    min-height: auto;
    display: grid;
    grid-template-columns: minmax(0, 0.82fr) minmax(500px, 1fr);
    align-items: center;
    gap: 42px;
    padding: 76px 44px 88px;
  }

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

  .hero__navigation {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 34px;
  }

  .hero__back-link {
    margin: 0;
    font-size: 15px;
    line-height: 1;
  }

  .hero__language-selector {
    width: fit-content;
  }

  .language-selector__button {
    min-height: 34px;
    padding: 6px 10px;
    font-size: 13px;
    border-radius: 10px;
  }

  .language-selector__menu {
    right: auto;
    left: 0;
  }

  .hero__eyebrow {
    margin: 0 0 18px;
    font-size: 12.5px;
    letter-spacing: 1.5px;
  }

  .hero__title {
    max-width: 520px;
    margin: 0 0 26px;
    font-size: 52px;
    line-height: 1.04;
    letter-spacing: -0.6px;
  }

  .hero__subtitle {
    max-width: 500px;
    margin: 0;
    font-size: 17px;
    line-height: 1.62;
  }

  .hero__cards {
    width: 100%;
    max-width: 450px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin-top: 34px;
  }

  .hero__card {
    width: 100%;
    min-width: 0;
    padding: 14px 16px;
    border-radius: 15px;
    text-align: left;
  }

  .hero__card:nth-child(3) {
    grid-column: 1 / 2;
  }

  .hero__card-label {
    font-size: 10px;
    letter-spacing: 1px;
  }

  .hero__card-value {
    font-size: 15px;
    line-height: 1.25;
  }

  .hero__visual {
    width: 100%;
    max-width: 590px;
    justify-self: end;
  }

  .hero__image {
    width: 100%;
    height: auto;
    max-height: none;
    aspect-ratio: 16 / 10;
    object-fit: contain;
    object-position: center;
    border-radius: 24px;
    box-shadow: 0 22px 58px rgba(155, 102, 224, 0.24);
  }

  /* ----------------------------- */
  /* EXECUTIVE SNAPSHOT */
  /* ----------------------------- */

  .snapshot__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
  }

  .snapshot__card {
    min-height: 205px;
    padding: 22px;
    border-radius: 22px;
  }

  .snapshot__icon {
    width: 38px;
    height: 38px;
    margin-bottom: 18px;
    font-size: 16px;
  }

  .snapshot__value {
    font-size: 34px;
  }

  .snapshot__text {
    font-size: 13.2px;
    line-height: 1.55;
  }

  /* ----------------------------- */
  /* DASHBOARD PREVIEW */
  /* ----------------------------- */

  .dashboard__carousel {
    max-width: 980px;
  }

  .dashboard__image {
    min-height: 500px;
    padding: 10px;
    border-radius: 26px;
  }

  .carousel__arrow {
    width: 38px;
    height: 38px;
    font-size: 28px;
  }

  .carousel__arrow--left {
    left: -48px;
  }

  .carousel__arrow--right {
    right: -48px;
  }

  /* ----------------------------- */
  /* BUSINESS CHALLENGE */
  /* ----------------------------- */

  .challenge__cards {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
  }

  .challenge__card {
    min-height: 250px;
    padding: 24px;
    border-radius: 24px;
  }

  .challenge__icon {
    width: 42px;
    height: 42px;
    font-size: 18px;
  }

  .challenge__card-title {
    font-size: 20px;
    line-height: 1.22;
    margin: 22px 0 12px;
  }

  .challenge__card-text {
    font-size: 14px;
    line-height: 1.58;
  }

  /* ----------------------------- */
  /* ANALYTICAL APPROACH */
  /* ----------------------------- */

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

  .approach__step {
    min-height: 210px;
    padding: 24px;
    border-radius: 24px;
    grid-template-rows: auto auto auto;
    row-gap: 18px;
  }

  .approach__header {
    min-height: auto;
    gap: 14px;
  }

  .approach__icon {
    width: 42px;
    height: 42px;
    font-size: 17px;
    border-radius: 13px;
  }

  .approach__step-title {
    font-size: 22px;
    line-height: 1.16;
  }

  .approach__step-text {
    font-size: 14.5px;
    line-height: 1.55;
  }

  .approach__tags span {
    font-size: 12px;
  }

  /* ----------------------------- */
  /* SOLUTION DEVELOPED */
  /* ----------------------------- */

  .solution {
    gap: 48px;
    align-items: center;
  }

  .solution__content {
    max-width: 570px;
  }

  .solution__title {
    margin-bottom: 26px;
  }

  .solution__text {
    max-width: 560px;
    font-size: 16.2px;
    line-height: 1.68;
  }

  .solution__lists {
    margin-top: 28px;
  }

  .solution__lists ul {
    font-size: 15px;
    line-height: 1.65;
  }

  .solution__visual {
    width: 390px;
    padding: 14px;
    border-radius: 24px;
  }

  .solution__card {
    padding: 8px;
    border-radius: 15px;
  }

  /* ----------------------------- */
  /* KPI FRAMEWORK */
  /* ----------------------------- */

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

  .kpi__area {
    padding: 24px;
    border-radius: 24px;
  }

  .kpi__area-top {
    gap: 14px;
    margin-bottom: 22px;
  }

  .kpi__icon {
    width: 40px;
    height: 40px;
    font-size: 17px;
    border-radius: 13px;
  }

  .kpi__area-label {
    font-size: 10px;
  }

  .kpi__area-title {
    font-size: 23px;
    line-height: 1.13;
  }

  .kpi__area-text {
    font-size: 14.5px;
    line-height: 1.58;
  }

  .kpi__metrics {
    margin-top: 22px;
    font-size: 12px;
    line-height: 1.6;
  }

  .kpi__metrics span {
    margin: 0 5px;
  }

  /* ----------------------------- */
  /* PROJECT OUTCOME */
  /* ----------------------------- */

  .outcome {
    max-width: 1040px;
  }

  .outcome__cards {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
  }

  .outcome__card {
    min-height: 150px;
    padding: 22px 18px;
    border-radius: 20px;
  }

  .outcome__icon {
    width: 38px;
    height: 38px;
    font-size: 17px;
    margin-bottom: 13px;
  }

  .outcome__number {
    font-size: 31px;
  }

  .outcome__text {
    font-size: 13px;
    line-height: 1.4;
  }

  /* ----------------------------- */
  /* CTA */
  /* ----------------------------- */

  .cta-section {
    padding: 100px 42px 120px;
  }

  .cta {
    width: min(100%, 980px);
    padding: 46px 44px;
    border-radius: 26px;
  }

  .cta__title {
    max-width: 820px;
    font-size: 36px;
    line-height: 1.13;
  }

  .cta__text {
    max-width: 760px;
    margin: 22px auto 34px;
    font-size: 16px;
    line-height: 1.62;
  }

  .cta__button-wrapper {
    width: 100%;
    justify-content: center;
    align-items: center;
    gap: 16px;
  }

  .cta__button {
    min-width: 245px;
    padding: 14px 18px;
    font-size: 14px;
  }

  /* ----------------------------- */
  /* FOOTER */
  /* ----------------------------- */

  .footer__main,
  .footer__bottom {
    width: calc(100% - 88px);
    max-width: 1112px;
    margin-inline: auto;
  }

  .footer__main {
    grid-template-columns:
      minmax(300px, 1.35fr)
      minmax(120px, 0.58fr)
      minmax(180px, 0.82fr)
      minmax(230px, 1fr);
    gap: 44px;
    padding: 60px 0 46px;
  }

  .footer__brand-block {
    max-width: 390px;
  }

  .footer__description {
    font-size: 14px;
  }

  .footer__column a,
  .footer__column p:not(.footer__heading) {
    font-size: 13px;
  }

  .footer__contact-button {
    padding-inline: 14px;
    font-size: 12.5px;
  }

  .footer__bottom {
    padding: 22px 0 26px;
  }
  /* ----------------------------- */
  /* FORM MODAL */
  /* ----------------------------- */

  .form-modal {
    padding: 22px;
  }

  .form-modal__card {
    max-width: 720px;
    padding: 38px;
    border-radius: 26px;
  }

  .form-modal__title {
    font-size: 36px;
    line-height: 1.12;
  }

  .form-modal__text {
    font-size: 16.5px;
  }

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

  /* ----------------------------- */
  /* BACK TO TOP */
  /* ----------------------------- */

  .back__to-top {
    right: 22px;
    bottom: 22px;
    width: 44px;
    height: 44px;
    font-size: 21px;
  }
}

/* ============================= */
/* CAROUSEL ARROWS RESPONSIVE FIX */
/* ============================= */

/* Base: frecce visibili ma non invadenti */
.carousel__arrow {
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Da mobile fino a 1024px: frecce dentro la dashboard, piccole e trasparenti */
@media (max-width: 1024px) {
  .dashboard__carousel {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
  }

  .carousel__viewport {
    overflow: hidden;
  }

  .carousel__arrow {
    width: 34px;
    height: 34px;
    font-size: 20px;
    background: rgba(255, 255, 255, 0.72);
    color: var(--color-primary);
    box-shadow: 0 8px 18px rgba(21, 23, 31, 0.12);
    backdrop-filter: blur(4px);
    transition: none !important;
  }

  .carousel__arrow:hover {
    transform: translateY(-50%) !important;
  }

  .carousel__arrow--left {
    left: 8px;
  }

  .carousel__arrow--right {
    right: 8px;
  }
}

/* Mobile piccolo: frecce ancora più leggere */
@media (max-width: 430px) {
  .carousel__arrow {
    width: 30px;
    height: 30px;
    font-size: 17px;
    background: rgba(255, 255, 255, 0.62);
    box-shadow: 0 6px 14px rgba(21, 23, 31, 0.1);
  }

  .carousel__arrow--left {
    left: 6px;
  }

  .carousel__arrow--right {
    right: 6px;
  }
}

/* Da desktop in poi: frecce fuori dalla dashboard */
@media (min-width: 1025px) {
  .dashboard__carousel {
    overflow: visible;
  }

  .carousel__viewport {
    overflow: hidden;
  }

  .carousel__arrow {
    width: 42px;
    height: 42px;
    font-size: 28px;
    background: #ffffff;
    color: var(--color-primary);
    box-shadow: 0 12px 28px rgba(21, 23, 31, 0.16);
  }

  .carousel__arrow--left {
    left: -54px;
  }

  .carousel__arrow--right {
    right: -54px;
  }
}

/* Da mobile a tablet: niente frecce, navigazione con swipe */
@media (max-width: 1024px) {
  .carousel__arrow,
  .dashboard-lightbox__arrow {
    display: none !important;
  }

  .dashboard__carousel {
    overflow: hidden;
  }

  .carousel__viewport {
    overflow: hidden !important;
  }
}

/* Desktop: frecce visibili */
@media (min-width: 1025px) {
  .carousel__arrow,
  .dashboard-lightbox__arrow {
    display: flex !important;
  }
}

.outcome__number {
  font-size: 22px !important;
}

.cta {
  padding: 32px 20px !important;
}

.cta__title {
  font-size: 24px !important;
}

.footer {
  padding: 30px 20px !important;
}
