@font-face {
  font-family: "TDO General";
  src: url("GeneralSans-Variable.ttf") format("truetype");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}

:root {
  --tdo-blue: #16358f;
  --tdo-blue-dark: #0d2469;
  --tdo-ink: #12141a;
  --tdo-paper: #f6f5f0;
  --tdo-white: #ffffff;
  --tdo-lime: #dbff45;
  --tdo-yellow: #f7dc49;
  --tdo-mint: #b8e9d2;
  --tdo-orange: #ff9d68;
  --tdo-lilac: #cbc0f5;
  --tdo-radius: 30px;
  --tdo-shadow: 0 18px 60px rgba(15, 35, 90, 0.12);
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--tdo-paper);
}

.elementor-996 > section {
  display: none !important;
}

.frxo-main-wrap .frxo-header {
  background: var(--tdo-blue) !important;
  position: relative;
  z-index: 50;
}

/* Il wrapper resta agganciato anche se il vecchio script sticky tarda a partire. */
.frxo-main-wrap .sticky-wrapper {
  position: sticky !important;
  top: 0;
  z-index: 1100;
}

.frxo-main-wrap .frxo-header.is-sticky,
.frxo-main-wrap .is-sticky .frxo-header {
  background: var(--tdo-blue) !important;
  box-shadow: 0 1px 0 rgba(255,255,255,.1), 0 10px 28px rgba(8,24,66,.18);
}

.tdo-story,
.tdo-story * {
  box-sizing: border-box;
}

.tdo-story {
  background: var(--tdo-paper);
  color: var(--tdo-ink);
  font-family: "TDO General", Arial, sans-serif;
  font-size: 18px;
  line-height: 1.55;
  overflow: hidden;
}

.tdo-story img,
.tdo-story video {
  display: block;
  height: auto;
  max-width: 100%;
}

.tdo-story a {
  transition: opacity 180ms ease, transform 180ms ease, background-color 180ms ease;
}

.tdo-story a:hover {
  opacity: 0.86;
}

.tdo-shell {
  margin: 0 auto;
  max-width: 1360px;
  padding-inline: clamp(22px, 4vw, 64px);
  width: 100%;
}

.tdo-section {
  padding-block: clamp(88px, 10vw, 160px);
}

.tdo-eyebrow,
.tdo-kicker,
.tdo-card-index {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  margin: 0 0 18px;
  text-transform: uppercase;
}

.tdo-eyebrow {
  color: var(--tdo-blue);
}

.tdo-section-head h2,
.tdo-choice h2,
.tdo-tools h2,
.tdo-final h2 {
  color: var(--tdo-ink);
  font-family: "TDO General", Arial, sans-serif;
  font-size: clamp(36px, 4.4vw, 60px);
  font-weight: 650;
  letter-spacing: -0.035em;
  line-height: 0.94;
  margin: 0;
}

.tdo-section-head h2 span,
.tdo-tools h2 span {
  color: #737780;
}

.tdo-section-head--center {
  margin: 0 auto clamp(50px, 6vw, 90px);
  max-width: 980px;
  text-align: center;
}

.tdo-section-lead {
  color: #686b73;
  font-size: clamp(20px, 2.2vw, 30px);
  line-height: 1.3;
  margin: 34px auto 0;
  max-width: 760px;
}

.tdo-section-lead strong {
  color: var(--tdo-ink);
}

.tdo-hero {
  background: var(--tdo-blue);
  color: var(--tdo-white);
  min-height: calc(100vh - 80px);
  padding: clamp(62px, 8vw, 120px) 0 0;
}

.tdo-hero__grid {
  align-items: center;
  display: grid;
  gap: clamp(40px, 6vw, 90px);
  grid-template-columns: minmax(0, 0.86fr) minmax(420px, 1.14fr);
  padding-inline: 0;
  width: calc(100% - clamp(44px, 8vw, 128px));
}

.tdo-kicker {
  color: var(--tdo-lime);
}

.tdo-hero h1 {
  color: var(--tdo-white);
  font-family: "TDO General", Arial, sans-serif;
  font-size: clamp(44px, 5vw, 72px);
  font-weight: 640;
  letter-spacing: -0.04em;
  line-height: 0.9;
  margin: 0;
}

.tdo-hero h1 span {
  color: var(--tdo-lime);
}

.tdo-hero__lead {
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(19px, 1.65vw, 25px);
  line-height: 1.45;
  margin: 32px 0 0;
  max-width: 680px;
}

.tdo-actions {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 16px 24px;
  margin-top: 34px;
}

.tdo-story .tdo-button {
  align-items: center;
  border: 2px solid transparent;
  border-radius: 999px;
  box-shadow: none;
  display: inline-flex;
  font-size: 16px;
  font-weight: 700;
  gap: 12px;
  justify-content: center;
  min-height: 56px;
  padding: 14px 24px;
  text-decoration: none !important;
}

.tdo-story .tdo-button:hover {
  transform: translateY(-2px);
}

.tdo-story .tdo-button--light {
  background: var(--tdo-white) !important;
  color: var(--tdo-blue) !important;
}

.tdo-story .tdo-button--lime {
  background: var(--tdo-lime) !important;
  color: var(--tdo-blue-dark) !important;
}

.tdo-story .tdo-button--outline {
  background: transparent !important;
  border-color: rgba(255, 255, 255, 0.55);
  color: var(--tdo-white) !important;
}

.tdo-story .tdo-button--dark {
  background: var(--tdo-ink) !important;
  color: var(--tdo-white) !important;
}

.tdo-link {
  color: var(--tdo-white) !important;
  font-size: 16px;
  font-weight: 650;
  text-decoration: none !important;
}

.tdo-hero__media {
  border-radius: var(--tdo-radius);
  box-shadow: 0 26px 80px rgba(0, 0, 0, 0.22);
  overflow: hidden;
  position: relative;
  transform: rotate(1.4deg);
}

.tdo-hero__media::after {
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: inherit;
  content: "";
  inset: 0;
  pointer-events: none;
  position: absolute;
}

.tdo-hero__media video {
  aspect-ratio: 4 / 3;
  object-fit: cover;
  width: 100%;
}

.tdo-video-toggle {
  align-items: center;
  background: rgba(10, 24, 62, 0.82);
  border: 0;
  border-radius: 999px;
  bottom: 18px;
  color: var(--tdo-white);
  cursor: pointer;
  display: inline-flex;
  font: 650 12px/1 "TDO General", Arial, sans-serif;
  gap: 8px;
  padding: 12px 15px;
  position: absolute;
  right: 18px;
  z-index: 2;
}

.tdo-stats {
  display: grid;
  gap: 1px;
  grid-template-columns: repeat(4, 1fr);
  margin-top: clamp(58px, 7vw, 100px);
  padding-inline: 0;
  width: calc(100% - clamp(44px, 8vw, 128px));
}

.tdo-stats div {
  background: rgba(8, 30, 94, 0.46);
  min-height: 142px;
  padding: 28px clamp(18px, 3vw, 42px);
}

.tdo-stats strong,
.tdo-stats span {
  display: block;
}

.tdo-stats strong {
  color: var(--tdo-lime);
  font-size: clamp(30px, 3.5vw, 48px);
  letter-spacing: -0.045em;
  line-height: 1;
}

.tdo-stats span {
  color: rgba(255, 255, 255, 0.72);
  font-size: 14px;
  margin-top: 11px;
}

.tdo-intro {
  background: var(--tdo-white);
}

.tdo-intro .tdo-section-head {
  margin-bottom: clamp(44px, 6vw, 80px);
  max-width: 1050px;
}

.tdo-intro__grid {
  align-items: stretch;
  display: grid;
  gap: 22px;
  grid-template-columns: 1.14fr 0.86fr;
}

.tdo-photo-card,
.tdo-copy-card {
  border-radius: var(--tdo-radius);
  margin: 0;
  overflow: hidden;
}

.tdo-photo-card {
  background: var(--tdo-blue);
  color: var(--tdo-white);
  position: relative;
}

.tdo-photo-card img {
  height: 100%;
  min-height: 580px;
  object-fit: cover;
  width: 100%;
}

.tdo-photo-card::after {
  background: linear-gradient(180deg, transparent 58%, rgba(10, 22, 55, 0.78));
  content: "";
  inset: 0;
  position: absolute;
}

.tdo-photo-card figcaption {
  bottom: 0;
  font-size: 15px;
  font-weight: 600;
  left: 0;
  padding: 28px;
  position: absolute;
  right: 0;
  z-index: 1;
}

.tdo-copy-card {
  padding: clamp(34px, 5vw, 70px);
}

.tdo-copy-card--yellow {
  background: var(--tdo-yellow);
}

.tdo-copy-card h3 {
  color: var(--tdo-ink);
  font-family: "TDO General", Arial, sans-serif;
  font-size: clamp(26px, 2.5vw, 36px);
  font-weight: 650;
  letter-spacing: -0.02em;
  line-height: 1;
  margin: 0 0 30px;
}

.tdo-copy-card p:not(.tdo-card-index) {
  font-size: 17px;
  line-height: 1.58;
  margin: 0 0 22px;
}

.tdo-quality {
  background: #f2f1eb;
}

.tdo-bento {
  display: grid;
  gap: 22px;
  grid-template-columns: repeat(12, 1fr);
}

.tdo-feature {
  border-radius: var(--tdo-radius);
  display: grid;
  grid-column: span 6;
  grid-template-columns: 1fr;
  min-height: 680px;
  overflow: hidden;
}

.tdo-feature:nth-child(1),
.tdo-feature:nth-child(4) {
  grid-column: span 7;
}

.tdo-feature:nth-child(2),
.tdo-feature:nth-child(3) {
  grid-column: span 5;
}

.tdo-feature--blue {
  background: #2649aa;
  color: var(--tdo-white);
}

.tdo-story .tdo-feature--blue .tdo-feature__body,
.tdo-story .tdo-feature--blue .tdo-feature__number,
.tdo-story .tdo-feature--blue h3,
.tdo-story .tdo-feature--blue p {
  color: var(--tdo-white) !important;
}

.tdo-feature--mint {
  background: var(--tdo-mint);
}

.tdo-feature--orange {
  background: var(--tdo-orange);
}

.tdo-feature--lilac {
  background: var(--tdo-lilac);
}

.tdo-feature__image {
  min-height: 350px;
  overflow: hidden;
}

.tdo-feature__image img {
  height: 100%;
  object-fit: cover;
  transition: transform 600ms cubic-bezier(0.2, 0.8, 0.2, 1);
  width: 100%;
}

.tdo-feature:hover .tdo-feature__image img {
  transform: scale(1.025);
}

.tdo-feature__body {
  align-self: end;
  padding: clamp(30px, 4vw, 54px);
  position: relative;
}

.tdo-feature__number {
  display: block;
  font-size: 13px;
  font-weight: 750;
  letter-spacing: 0.12em;
  margin-bottom: 22px;
}

.tdo-feature h3 {
  color: inherit;
  font-family: "TDO General", Arial, sans-serif;
  font-size: clamp(27px, 2.7vw, 38px);
  font-weight: 650;
  letter-spacing: -0.025em;
  line-height: 0.98;
  margin: 0 0 22px;
}

.tdo-feature p {
  font-size: 17px;
  line-height: 1.5;
  margin: 0;
  max-width: 600px;
}

.tdo-personalization {
  background: var(--tdo-white);
}

.tdo-personalization__visual {
  background: #eef0f8;
  border-radius: var(--tdo-radius);
  box-shadow: var(--tdo-shadow);
  overflow: hidden;
}

.tdo-personalization__visual img {
  width: 100%;
}

.tdo-personalization__grid {
  display: grid;
  gap: clamp(40px, 7vw, 100px);
  grid-template-columns: 1fr 0.78fr;
  margin-top: clamp(60px, 8vw, 120px);
}

.tdo-personalization__copy {
  align-self: center;
}

.tdo-personalization__copy > p {
  color: #565a63;
  font-size: clamp(19px, 1.65vw, 24px);
  line-height: 1.48;
  margin: 0 0 28px;
}

.tdo-chip-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  list-style: none;
  margin: 0 0 30px;
  padding: 0;
}

.tdo-chip-list li {
  background: #edf0f8;
  border: 1px solid #dce2f3;
  border-radius: 999px;
  color: var(--tdo-blue);
  font-size: 14px;
  font-weight: 700;
  padding: 11px 16px;
}

.tdo-choice {
  background: var(--tdo-blue-dark);
  color: var(--tdo-white);
}

.tdo-choice__grid {
  display: grid;
  gap: clamp(50px, 8vw, 130px);
  grid-template-columns: 1.05fr 0.95fr;
}

.tdo-choice h2 {
  color: var(--tdo-white);
}

.tdo-choice h2 span {
  color: var(--tdo-lime);
}

.tdo-eyebrow--light {
  color: #8fa9ff;
}

.tdo-choice__copy {
  align-self: center;
}

.tdo-choice__copy > p {
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(19px, 1.7vw, 25px);
  margin: 0;
}

.tdo-percentage {
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  display: grid;
  gap: 24px;
  grid-template-columns: auto 1fr;
  margin-top: 38px;
  padding: 28px 0;
}

.tdo-percentage strong {
  color: var(--tdo-lime);
  font-size: clamp(40px, 4.5vw, 62px);
  letter-spacing: -0.05em;
}

.tdo-percentage span {
  color: rgba(255, 255, 255, 0.72);
  font-size: 15px;
  line-height: 1.4;
}

.tdo-tools {
  background: #eeece5;
}

.tdo-tools__grid {
  display: grid;
  gap: 22px;
  grid-template-columns: 1fr 1fr;
}

.tdo-tools__card,
.tdo-tools__options {
  border-radius: var(--tdo-radius);
  padding: clamp(36px, 5vw, 72px);
}

.tdo-tools__card {
  background: var(--tdo-lilac);
}

.tdo-tools__card h2 {
  font-size: clamp(34px, 4vw, 54px);
}

.tdo-tools__options h3 {
  color: var(--tdo-ink);
  font-family: "TDO General", Arial, sans-serif;
  font-size: clamp(27px, 2.5vw, 36px);
  font-weight: 650;
  letter-spacing: -0.02em;
  line-height: 1;
  margin: 0 0 18px;
}

.tdo-tools__options .tdo-card-index {
  color: var(--tdo-blue);
}

.tdo-tools__options .tdo-tools__intro {
  color: #5d6169;
  font-size: 17px;
  margin: 0 0 28px;
}

.tdo-tools__card > p:last-child {
  font-size: 18px;
  margin: 34px 0 0;
  max-width: 620px;
}

.tdo-tools__options {
  background: var(--tdo-white);
  display: flex;
  flex-direction: column;
  gap: 0;
}

.tdo-tools__options > div {
  align-items: center;
  border-bottom: 1px solid #dfe1e6;
  display: grid;
  gap: 22px;
  grid-template-columns: 120px 1fr;
  padding: 28px 0;
}

.tdo-tools__options > div:first-of-type {
  padding-top: 0;
}

.tdo-tools__options strong {
  color: var(--tdo-blue);
  font-size: clamp(48px, 5vw, 70px);
  letter-spacing: -0.05em;
  line-height: 1;
}

.tdo-tools__options .tdo-tools__addon strong {
  font-size: clamp(22px, 2.4vw, 32px);
  letter-spacing: 0;
}

.tdo-tools__options span {
  font-weight: 650;
}

.tdo-tools__options p {
  color: #5d6169;
  font-size: 16px;
  margin: 34px 0 18px;
}

.tdo-tools__options a {
  color: var(--tdo-blue) !important;
  font-weight: 700;
}

.tdo-tools__options small {
  color: #7c7f86;
  display: block;
  font-size: 12px;
  line-height: 1.5;
}

.tdo-quote {
  background: var(--tdo-yellow);
  padding-block: clamp(90px, 12vw, 180px);
}

.tdo-quote blockquote {
  border: 0;
  color: var(--tdo-ink);
  font-family: "TDO General", Arial, sans-serif;
  font-size: clamp(34px, 4.2vw, 58px);
  font-style: normal;
  font-weight: 650;
  letter-spacing: -0.035em;
  line-height: 0.98;
  margin: 0;
  max-width: 1180px;
  padding: 0;
}

.tdo-quote p {
  font-size: 14px;
  font-weight: 700;
  margin: 36px 0 0;
}

.tdo-final {
  background: var(--tdo-white);
  padding-block: clamp(100px, 12vw, 190px);
  text-align: center;
}

.tdo-final__inner {
  align-items: center;
  display: flex;
  flex-direction: column;
}

.tdo-final h2 {
  font-size: clamp(40px, 4.8vw, 66px);
  margin-bottom: 44px;
}

.tdo-reveal {
  opacity: 1;
  transform: none;
}

.tdo-js .tdo-reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 700ms ease, transform 700ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.tdo-js .tdo-reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (max-width: 1050px) {
  .tdo-hero__grid,
  .tdo-intro__grid,
  .tdo-personalization__grid,
  .tdo-choice__grid,
  .tdo-tools__grid {
    grid-template-columns: 1fr;
  }

  .tdo-hero__media {
    margin-inline: auto;
    max-width: 760px;
    transform: none;
    width: 100%;
  }

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

  .tdo-feature,
  .tdo-feature:nth-child(n) {
    grid-column: span 6;
  }

  .tdo-personalization__copy {
    max-width: 760px;
  }
}

@media (max-width: 700px) {
  :root {
    --tdo-radius: 22px;
  }

  .tdo-story {
    font-size: 16px;
  }

  .tdo-hero {
    padding-top: 34px;
  }

  .tdo-hero__grid {
    align-items: start;
    gap: 20px 14px;
    grid-template-columns: minmax(0, 1fr) clamp(112px, 33vw, 142px);
  }

  .tdo-hero__copy { display: contents; }
  .tdo-hero__copy > .tdo-kicker { grid-column: 1 / -1; grid-row: 1; margin-bottom: 0; }
  .tdo-hero h1 {
    align-self: center;
    font-size: clamp(36px, 10.6vw, 44px);
    grid-column: 1;
    grid-row: 2;
  }
  .tdo-hero__lead { grid-column: 1 / -1; grid-row: 3; margin-top: 0; }
  .tdo-hero__media {
    align-self: stretch;
    background: #fff url("../wp-content/uploads/2018/06/TdO_2027-28_animazione_poster.jpg") center / auto 100% no-repeat;
    border-radius: 18px;
    grid-column: 2;
    grid-row: 2;
    height: clamp(180px, 48vw, 220px);
    margin: 0;
    min-width: 0;
    overflow: hidden;
    width: 100%;
  }
  .tdo-hero__media video { display: none; }
  .tdo-video-toggle { display: none; }

  .tdo-actions {
    align-items: stretch;
    flex-direction: column;
    grid-column: 1 / -1;
    grid-row: 4;
    margin-top: 2px;
  }

  .tdo-button {
    width: 100%;
  }

  .tdo-link {
    padding: 10px 0;
    text-align: center;
  }

  .tdo-stats {
    grid-template-columns: 1fr 1fr;
  }

  .tdo-stats div {
    min-height: 120px;
  }

  .tdo-photo-card img {
    min-height: 420px;
  }

  .tdo-bento {
    grid-template-columns: 1fr;
  }

  .tdo-feature,
  .tdo-feature:nth-child(n) {
    grid-column: 1;
    min-height: 590px;
  }

  .tdo-feature__image {
    min-height: 300px;
  }

  .tdo-percentage {
    grid-template-columns: 1fr;
  }

  .tdo-tools__options > div {
    grid-template-columns: 92px 1fr;
  }
}

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

  .tdo-story *,
  .tdo-story *::before,
  .tdo-story *::after {
    animation: none !important;
    scroll-behavior: auto !important;
    transition: none !important;
  }

  .tdo-js .tdo-reveal {
    opacity: 1;
    transform: none;
  }
}
