/*
Theme Name: Trust Me
Theme URI: https://trustmeinvest.com
Author: Trust Me
Author URI: https://trustmeinvest.com
Description: Tema custom premium per Trust Me Invest.
Version: 2.0.0
Text Domain: trustmeinvest
*/

:root {
  --bg: #11161d;
  --dark: #1f2630;
  --light: #f3f3f3;
  --gold: #d6aa47;
  --text: #fff;
  --muted: #cfd5db;
  --border: #2c333b;
  /* Allineamento orizzontale con .tm-container (stesso margine “pagina”) */
  --tm-content-width: min(1100px, 92vw);
  --tm-page-gutter: max(1rem, calc((100vw - var(--tm-content-width)) / 2));
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Raleway", "Helvetica Neue", Arial, sans-serif;
  background: var(--dark);
  color: var(--text);
  line-height: 1.55;
}

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

.tm-container {
  width: var(--tm-content-width);
  margin: 0 auto;
}

.tm-header {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  background: transparent;
  border-bottom: 0;
}

.tm-header.tm-header--annunci {
  background: #11161d;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}

.tm-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 112px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.42);
  padding: 0 6px;
}

.tm-logo {
  display: flex;
  align-items: center;
}

.tm-logo img {
  width: auto;
  height: clamp(82px, 9vw, 96px);
  max-width: min(520px, 88vw);
  display: block;
}

.tm-menu {
  display: flex;
  gap: 1.7rem;
  align-items: center;
  margin-left: auto;
  margin-right: 1rem;
}

.tm-menu a,
.tm-footer-menu a {
  color: #fff;
  font-size: 0.62rem;
  letter-spacing: 0.01em;
  text-transform: none;
  font-weight: 700;
  opacity: 0.95;
}

.tm-menu a:hover,
.tm-footer-menu a:hover {
  color: var(--gold);
}

.tm-menu a.is-active {
  color: var(--gold);
  text-shadow: 0 0 12px rgba(214, 170, 71, 0.45);
  opacity: 1;
}

.tm-menu-mail-link {
  display: none;
}

.tm-header-actions {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.tm-menu-toggle {
  display: none;
  width: 28px;
  height: 28px;
  padding: 0;
  border: 1px solid rgba(214, 170, 71, 0.85);
  background: rgba(18, 24, 31, 0.55);
  color: #fff;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 4px;
  cursor: pointer;
}

.tm-menu-toggle span {
  display: block;
  width: 13px;
  height: 1.5px;
  border-radius: 2px;
  background: var(--gold);
  transition: transform 0.22s ease, opacity 0.22s ease;
}

.tm-header.is-menu-open .tm-menu-toggle span:nth-child(1) {
  transform: translateY(5.5px) rotate(45deg);
}

.tm-header.is-menu-open .tm-menu-toggle span:nth-child(2) {
  opacity: 0;
}

.tm-header.is-menu-open .tm-menu-toggle span:nth-child(3) {
  transform: translateY(-5.5px) rotate(-45deg);
}

.tm-header .tm-cta {
  display: none;
}

.tm-cta {
  display: inline-block;
  padding: 0.95rem 1.35rem;
  border: 1px solid var(--gold);
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.66rem;
  font-weight: 700;
  transition: 0.25s ease;
}

.tm-cta:hover {
  background: var(--gold);
  color: #0d0d0d;
}

.tm-cta--dark {
  background: var(--gold);
  color: #111;
}

.tm-mail {
  width: 18px;
  height: 18px;
  border: 1px solid var(--gold);
  background: var(--gold);
  display: inline-grid;
  place-items: center;
  color: #111;
  font-size: 9px;
  line-height: 1;
  flex: 0 0 auto;
}

.tm-section {
  padding: 4.5rem 0;
}

.tm-section--light {
  background: var(--light);
  color: #111;
}

.tm-section--light p {
  color: #4a4a4a;
}

.tm-hero {
  min-height: 640px;
  display: grid;
  align-items: center;
  position: relative;
  padding: 9rem 0 4.5rem;
}

.tm-hero .tm-container {
  position: relative;
  z-index: 1;
}

.tm-hero:before {
  content: "";
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  z-index: 0;
}

/* Ken Burns solo sulla hero home (foto + overlay si muovono insieme) */
.tm-hero--home {
  overflow: hidden;
}

.tm-hero--home:before {
  inset: auto;
  top: -10%;
  left: -8%;
  width: 118%;
  height: 118%;
  background-image: linear-gradient(90deg, rgba(7, 10, 14, 0.72), rgba(7, 10, 14, 0.28)),
    url("assets/images/photo-15.webp");
  background-size: cover;
  background-position: 58% 42%;
  transform-origin: 55% 45%;
  animation: tm-hero-kenburns-home 34s ease-in-out infinite alternate;
  will-change: transform;
}

@keyframes tm-hero-kenburns-home {
  0% {
    transform: scale(1) translate(0, 0);
  }
  100% {
    transform: scale(1.12) translate(-2.5%, 1.2%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .tm-hero--home:before {
    animation: none;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    transform: none;
    will-change: auto;
  }
}
.tm-hero--about:before {
  background-image: linear-gradient(90deg, rgba(8, 12, 18, 0.64), rgba(8, 12, 18, 0.34)),
    url("assets/images/photo-9.webp");
  background-position: 50% 42%;
}

.tm-hero--about h1 {
  margin: 0;
  max-width: min(980px, 100%);
  font-size: clamp(2.2rem, 6.1vw, 4.1rem);
  line-height: 1.06;
  font-weight: 500;
  text-transform: none;
  letter-spacing: 0;
  color: #ffffff;
  animation: tm-about-hero-title-in 900ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.tm-hero--about h1 em {
  color: var(--gold);
  font-style: italic;
  font-weight: 700;
  display: inline-block;
  animation: tm-about-hero-gold-in 1200ms cubic-bezier(0.22, 1, 0.36, 1) 160ms both;
}

@keyframes tm-about-hero-title-in {
  0% {
    opacity: 0;
    transform: translateY(16px);
    filter: blur(2px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
  }
}

@keyframes tm-about-hero-gold-in {
  0% {
    opacity: 0;
    transform: translateY(10px) scale(0.98);
    text-shadow: 0 0 0 rgba(214, 170, 71, 0);
  }
  70% {
    opacity: 1;
    transform: translateY(0) scale(1.02);
    text-shadow: 0 0 16px rgba(214, 170, 71, 0.32);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
    text-shadow: 0 0 0 rgba(214, 170, 71, 0);
  }
}

@keyframes tm-services-hero-em-in {
  0% {
    opacity: 0;
    transform: translateX(-1.75rem);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

.tm-hero--services:before {
  background-image: linear-gradient(90deg, rgba(48, 38, 18, 0.58), rgba(22, 22, 22, 0.42)),
    url("assets/images/photo-services-hero.png");
  background-position: 50% 42%;
}

.tm-hero--services h1 {
  margin: 0;
  max-width: min(980px, 100%);
  color: #ffffff;
  font-size: clamp(1.95rem, 4.6vw, 3.85rem);
  font-weight: 500;
  line-height: 1.06;
  letter-spacing: 0;
  text-transform: none;
}

.tm-hero--services h1 em {
  display: block;
  color: #ffffff;
  font-style: italic;
  font-weight: 700;
  line-height: 1.02;
  animation: tm-services-hero-em-in 0.92s cubic-bezier(0.22, 1, 0.36, 1) 0.18s both;
}

@media (prefers-reduced-motion: reduce) {
  .tm-hero--services h1 em {
    animation: none;
    opacity: 1;
    transform: none;
  }
}

.tm-services-intro {
  padding-top: 3.5rem;
  padding-bottom: 3.1rem;
}

.tm-services-intro .tm-container {
  max-width: none;
}

.tm-services-intro-head {
  text-align: center;
}

.tm-services-intro-kicker {
  margin: 0;
  color: var(--gold);
  font-size: clamp(0.95rem, 1.05vw, 1.12rem);
  font-weight: 700;
  line-height: 1.05;
}

.tm-services-intro-title {
  margin: 0.25rem 0 0;
  color: #111111;
  font-size: clamp(2.35rem, 3.6vw, 3.35rem);
  font-weight: 700;
  line-height: 1.02;
  text-transform: none;
}

.tm-services-intro-copy {
  max-width: 46rem;
  margin: 1.65rem auto 0;
  text-align: center;
}

.tm-services-intro-copy p {
  margin: 0 0 1.1rem;
  color: #565c66;
  font-size: clamp(1rem, 1.12vw, 1.12rem);
  line-height: 1.48;
  font-weight: 400;
}

.tm-services-intro-copy p:last-child {
  margin-bottom: 0;
}

.tm-services-intro-copy strong {
  color: #111111;
  font-weight: 800;
}

.tm-services-intro-cta {
  margin-top: 1.85rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.tm-services-pill {
  min-height: 4.75rem;
  display: grid;
  align-content: center;
  justify-items: center;
  text-align: center;
  color: #ffffff;
  text-transform: uppercase;
  letter-spacing: 0.015em;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.tm-services-pill span,
.tm-services-pill strong {
  display: block;
  font-size: clamp(0.95rem, 1.05vw, 1.05rem);
  line-height: 1.02;
}

.tm-services-pill span {
  font-weight: 700;
}

.tm-services-pill strong {
  margin-top: 0.12rem;
  font-weight: 800;
}

.tm-services-pill--dark {
  background: #1f2530;
}

.tm-services-pill--gold {
  background: var(--gold);
}

.tm-services-pill:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(16, 16, 16, 0.16);
}

.tm-services-intro-subcta {
  margin-top: 0.55rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  text-align: center;
}

.tm-services-intro-subcta p {
  margin: 0;
  color: #535862;
  font-size: clamp(1rem, 1.15vw, 1.12rem);
  font-style: italic;
  font-weight: 500;
  line-height: 1.06;
}

/* —— Servizi: Speculazione Strategica + Come funziona —— */
.tm-spec {
  position: relative;
  overflow: hidden;
  background: #151a22;
  color: #f3f5f8;
  padding: 5.6rem 0 0;
}

.tm-spec .tm-container {
  position: relative;
  z-index: 2;
}

.tm-spec-top {
  display: grid;
  grid-template-columns: minmax(0, 0.42fr) minmax(0, 0.58fr);
  gap: clamp(1.75rem, 3vw, 3.25rem);
  align-items: start;
  padding-bottom: clamp(3rem, 4.2vw, 3.85rem);
}

.tm-spec-title {
  margin: 0 0 1.05rem;
  padding: 0;
  line-height: 1.02;
  text-transform: none;
}

.tm-spec-title-line1 {
  display: block;
  color: var(--gold);
  font-weight: 300;
  font-size: clamp(2.05rem, 3.4vw, 3.05rem);
  letter-spacing: 0.01em;
}

.tm-spec-title-line2 {
  display: block;
  margin-top: 0.12rem;
  color: var(--gold);
  font-weight: 800;
  font-size: clamp(2.15rem, 3.55vw, 3.2rem);
  letter-spacing: 0.01em;
}

.tm-spec-badge {
  margin: 0;
  display: inline-block;
  padding: 0.42rem 0.72rem;
  background: var(--gold);
  color: #ffffff;
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  line-height: 1;
  border-radius: 2px;
}

.tm-spec-lead p {
  margin: 0 0 1rem;
  color: #f3f5f8;
  font-size: clamp(0.98rem, 1.12vw, 1.12rem);
  line-height: 1.55;
  font-weight: 400;
}

.tm-spec-lead p:last-child {
  margin-bottom: 0;
}

.tm-spec-lead strong {
  color: var(--gold);
  font-weight: 800;
}

.tm-spec-lead-strong {
  color: #ffffff;
  font-weight: 800;
}

.tm-spec-grid-wrap {
  padding-top: clamp(1.35rem, 2.6vw, 2.35rem);
  padding-bottom: clamp(1.5rem, 2.8vw, 2.75rem);
}

.tm-spec-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 3.25rem 2.85rem;
}

.tm-spec-item {
  min-width: 0;
}

.tm-spec-icon {
  margin: 0 0 0.75rem;
  line-height: 0;
}

.tm-spec-icon img {
  width: 56px;
  height: 56px;
  display: block;
  object-fit: contain;
}

.tm-spec-item-title {
  margin: 0 0 0.55rem;
  color: var(--gold);
  font-size: clamp(0.92rem, 1.05vw, 1.02rem);
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 1.2;
}

.tm-spec-item-text {
  margin: 0;
  color: #f3f5f8;
  font-size: clamp(0.92rem, 1.05vw, 1.02rem);
  line-height: 1.45;
  font-weight: 400;
}

.tm-spec-footnote {
  margin: clamp(2.85rem, 3.8vw, 3.75rem) 0 0;
  color: #f3f5f8;
  font-size: 0.82rem;
  font-style: italic;
  font-weight: 500;
  line-height: 1.35;
}

.tm-spec-how {
  position: relative;
  overflow: hidden;
  padding: 4.85rem 0 5rem;
  margin-top: 3.25rem;
  color: #ffffff;
  isolation: isolate;
}

.tm-spec-how-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image: url("assets/images/photo-4.webp");
  background-size: cover;
  background-position: 50% 55%;
  transform: scale(1.02);
}

.tm-spec-how-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(10, 12, 16, 0.38) 0%, rgba(10, 12, 16, 0.52) 100%);
}

.tm-spec-how .tm-container {
  position: relative;
  z-index: 2;
}

.tm-spec-how-head {
  text-align: center;
  margin-bottom: 2.6rem;
}

.tm-spec-how-title {
  margin: 0 0 0.55rem;
  font-size: clamp(2.05rem, 3.35vw, 3.05rem);
  font-weight: 800;
  line-height: 1.05;
  text-transform: none;
}

.tm-spec-how-title-light {
  color: #ffffff;
}

.tm-spec-how-title-gold {
  color: var(--gold);
}

.tm-spec-how-sub {
  margin: 0;
  color: #ffffff;
  font-size: clamp(1rem, 1.25vw, 1.22rem);
  font-style: italic;
  font-weight: 500;
  line-height: 1.35;
}

.tm-spec-how-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-template-rows: repeat(2, minmax(150px, auto));
  gap: 1.1rem;
}

.tm-spec-how-card {
  position: relative;
  background: #1a1f28;
  color: #ffffff;
  padding: 1.25rem 1.1rem 1.25rem 2.55rem;
  min-height: 150px;
}

.tm-spec-how-num {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  width: 1.35rem;
  height: 1.35rem;
  display: grid;
  place-items: center;
  background: var(--gold);
  color: #141414;
  font-size: 0.72rem;
  font-weight: 800;
  line-height: 1;
}

.tm-spec-how-card p {
  margin: 0;
  color: #ffffff;
  font-size: clamp(0.86rem, 0.95vw, 0.95rem);
  line-height: 1.35;
  font-weight: 500;
}

.tm-spec-how-card strong {
  color: #ffffff;
  font-weight: 800;
}

.tm-divers-how-card {
  position: relative;
  background: var(--gold);
  color: #141414;
  padding: 1.25rem 1.1rem 1.25rem 2.55rem;
  min-height: 150px;
}

.tm-divers-how-num {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  width: 1.35rem;
  height: 1.35rem;
  display: grid;
  place-items: center;
  background: #111111;
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 800;
  line-height: 1;
}

.tm-divers-how-card p {
  margin: 0;
  color: #141414;
  font-size: clamp(0.86rem, 0.95vw, 0.95rem);
  line-height: 1.35;
  font-weight: 500;
}

.tm-divers-how-card strong {
  color: #0f1114;
  font-weight: 800;
}

.tm-spec-how-cta,
.tm-divers-how-cta {
  display: grid;
  place-items: center;
  text-align: center;
  min-height: 150px;
  border: 2px solid var(--gold);
  color: #ffffff;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.74rem;
  font-weight: 800;
  transition: transform 0.25s ease, background 0.25s ease;
}

.tm-spec-how-cta {
  grid-column: 4;
  grid-row: 2;
}

.tm-divers-how-cta {
  grid-column: 4;
  grid-row: 3;
}

.tm-spec-how-cta:hover,
.tm-divers-how-cta:hover {
  transform: translateY(-2px);
  background: rgba(214, 170, 71, 0.12);
}

@keyframes tm-how-card-pop-in {
  0% {
    opacity: 0;
    transform: scale(0.84);
    filter: blur(4px);
  }
  58% {
    opacity: 1;
    transform: scale(1.04);
    filter: blur(0.6px);
  }
  100% {
    opacity: 1;
    transform: scale(1);
    filter: blur(0);
  }
}

html.js-how-cards-servizi .tm-page-servizi .tm-spec-how-grid:not(.is-revealed) .tm-spec-how-card,
html.js-how-cards-servizi .tm-page-servizi .tm-spec-how-grid:not(.is-revealed) .tm-spec-how-cta,
html.js-how-cards-servizi .tm-page-servizi .tm-divers-how-grid:not(.is-revealed) .tm-divers-how-card,
html.js-how-cards-servizi .tm-page-servizi .tm-divers-how-grid:not(.is-revealed) .tm-divers-how-cta {
  opacity: 0;
  transform: scale(0.88);
  filter: blur(3px);
}

html.js-how-cards-servizi .tm-page-servizi .tm-spec-how-grid.is-revealed .tm-spec-how-card,
html.js-how-cards-servizi .tm-page-servizi .tm-spec-how-grid.is-revealed .tm-spec-how-cta,
html.js-how-cards-servizi .tm-page-servizi .tm-divers-how-grid.is-revealed .tm-divers-how-card,
html.js-how-cards-servizi .tm-page-servizi .tm-divers-how-grid.is-revealed .tm-divers-how-cta {
  animation: tm-how-card-pop-in 1.08s cubic-bezier(0.22, 1, 0.36, 1) both;
  transform-origin: center center;
}

html.js-how-cards-servizi .tm-page-servizi .tm-spec-how-grid.is-revealed .tm-spec-how-card:nth-child(1) {
  animation-delay: 0s;
}
html.js-how-cards-servizi .tm-page-servizi .tm-spec-how-grid.is-revealed .tm-spec-how-card:nth-child(2) {
  animation-delay: 0.09s;
}
html.js-how-cards-servizi .tm-page-servizi .tm-spec-how-grid.is-revealed .tm-spec-how-card:nth-child(3) {
  animation-delay: 0.18s;
}
html.js-how-cards-servizi .tm-page-servizi .tm-spec-how-grid.is-revealed .tm-spec-how-card:nth-child(4) {
  animation-delay: 0.27s;
}
html.js-how-cards-servizi .tm-page-servizi .tm-spec-how-grid.is-revealed .tm-spec-how-card:nth-child(5) {
  animation-delay: 0.36s;
}
html.js-how-cards-servizi .tm-page-servizi .tm-spec-how-grid.is-revealed .tm-spec-how-card:nth-child(6) {
  animation-delay: 0.45s;
}
html.js-how-cards-servizi .tm-page-servizi .tm-spec-how-grid.is-revealed .tm-spec-how-card:nth-child(7) {
  animation-delay: 0.54s;
}
html.js-how-cards-servizi .tm-page-servizi .tm-spec-how-grid.is-revealed .tm-spec-how-cta {
  animation-delay: 0.63s;
}

html.js-how-cards-servizi .tm-page-servizi .tm-divers-how-grid.is-revealed .tm-divers-how-card:nth-child(1) {
  animation-delay: 0s;
}
html.js-how-cards-servizi .tm-page-servizi .tm-divers-how-grid.is-revealed .tm-divers-how-card:nth-child(2) {
  animation-delay: 0.09s;
}
html.js-how-cards-servizi .tm-page-servizi .tm-divers-how-grid.is-revealed .tm-divers-how-card:nth-child(3) {
  animation-delay: 0.18s;
}
html.js-how-cards-servizi .tm-page-servizi .tm-divers-how-grid.is-revealed .tm-divers-how-card:nth-child(4) {
  animation-delay: 0.27s;
}
html.js-how-cards-servizi .tm-page-servizi .tm-divers-how-grid.is-revealed .tm-divers-how-card:nth-child(5) {
  animation-delay: 0.36s;
}
html.js-how-cards-servizi .tm-page-servizi .tm-divers-how-grid.is-revealed .tm-divers-how-card:nth-child(6) {
  animation-delay: 0.45s;
}
html.js-how-cards-servizi .tm-page-servizi .tm-divers-how-grid.is-revealed .tm-divers-how-card:nth-child(7) {
  animation-delay: 0.54s;
}
html.js-how-cards-servizi .tm-page-servizi .tm-divers-how-grid.is-revealed .tm-divers-how-card:nth-child(8) {
  animation-delay: 0.63s;
}
html.js-how-cards-servizi .tm-page-servizi .tm-divers-how-grid.is-revealed .tm-divers-how-card:nth-child(9) {
  animation-delay: 0.72s;
}
html.js-how-cards-servizi .tm-page-servizi .tm-divers-how-grid.is-revealed .tm-divers-how-cta {
  animation-delay: 0.81s;
}

@media (prefers-reduced-motion: reduce) {
  html.js-how-cards-servizi .tm-page-servizi .tm-spec-how-grid:not(.is-revealed) .tm-spec-how-card,
  html.js-how-cards-servizi .tm-page-servizi .tm-spec-how-grid:not(.is-revealed) .tm-spec-how-cta,
  html.js-how-cards-servizi .tm-page-servizi .tm-divers-how-grid:not(.is-revealed) .tm-divers-how-card,
  html.js-how-cards-servizi .tm-page-servizi .tm-divers-how-grid:not(.is-revealed) .tm-divers-how-cta {
    opacity: 1;
    transform: none;
    filter: none;
  }

  html.js-how-cards-servizi .tm-page-servizi .tm-spec-how-card,
  html.js-how-cards-servizi .tm-page-servizi .tm-spec-how-cta,
  html.js-how-cards-servizi .tm-page-servizi .tm-divers-how-card,
  html.js-how-cards-servizi .tm-page-servizi .tm-divers-how-cta {
    animation: none !important;
  }
}

/* —— Servizi: Diversificazione Patrimoniale + Come funziona —— */
.tm-page-servizi .tm-spec-icon img,
.tm-page-servizi .tm-divers-icon img {
  transform-origin: center bottom;
  animation: tm-why-icon-float 3.6s ease-in-out infinite;
  will-change: transform;
  transition: filter 0.35s ease, transform 0.35s ease;
}

.tm-page-servizi .tm-spec-item:nth-child(1) .tm-spec-icon img,
.tm-page-servizi .tm-divers-item:nth-child(1) .tm-divers-icon img {
  animation-delay: 0s;
}

.tm-page-servizi .tm-spec-item:nth-child(2) .tm-spec-icon img,
.tm-page-servizi .tm-divers-item:nth-child(2) .tm-divers-icon img {
  animation-delay: 0.45s;
}

.tm-page-servizi .tm-spec-item:nth-child(3) .tm-spec-icon img,
.tm-page-servizi .tm-divers-item:nth-child(3) .tm-divers-icon img {
  animation-delay: 0.9s;
}

.tm-page-servizi .tm-spec-item:nth-child(4) .tm-spec-icon img,
.tm-page-servizi .tm-divers-item:nth-child(4) .tm-divers-icon img {
  animation-delay: 1.35s;
}

.tm-page-servizi .tm-spec-item:nth-child(5) .tm-spec-icon img,
.tm-page-servizi .tm-divers-item:nth-child(5) .tm-divers-icon img {
  animation-delay: 1.8s;
}

.tm-page-servizi .tm-spec-item:nth-child(6) .tm-spec-icon img,
.tm-page-servizi .tm-divers-item:nth-child(6) .tm-divers-icon img {
  animation-delay: 2.25s;
}

.tm-page-servizi .tm-spec-item:hover .tm-spec-icon img,
.tm-page-servizi .tm-divers-item:hover .tm-divers-icon img {
  animation-play-state: paused;
  filter: drop-shadow(0 4px 14px rgba(214, 170, 71, 0.35));
  transform: translateY(-4px) scale(1.04);
}

.tm-divers {
  position: relative;
  overflow: hidden;
  background: var(--gold);
  color: #1a1f28;
  padding: 5.6rem 0 0;
}

.tm-divers .tm-container {
  position: relative;
  z-index: 2;
}

.tm-divers-top {
  display: grid;
  grid-template-columns: minmax(0, 0.42fr) minmax(0, 0.58fr);
  gap: clamp(1.75rem, 3vw, 3.25rem);
  align-items: start;
  padding-bottom: clamp(3rem, 4.2vw, 3.85rem);
}

.tm-divers-title {
  margin: 0 0 1.05rem;
  padding: 0;
  line-height: 1.02;
  text-transform: none;
}

.tm-divers-title-line1 {
  display: block;
  color: #141414;
  font-weight: 300;
  font-size: clamp(2.05rem, 3.4vw, 3.05rem);
  letter-spacing: 0.01em;
}

.tm-divers-title-line2 {
  display: block;
  margin-top: 0.12rem;
  color: #141414;
  font-weight: 800;
  font-size: clamp(2.15rem, 3.55vw, 3.2rem);
  letter-spacing: 0.01em;
}

.tm-divers-badge {
  margin: 0 0 0.65rem;
  display: inline-block;
  padding: 0.42rem 0.72rem;
  background: #111111;
  color: #ffffff;
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  line-height: 1;
  border-radius: 2px;
}

.tm-divers-markets {
  margin: 0;
  color: #ffffff;
  font-size: clamp(0.92rem, 1.05vw, 1.02rem);
  font-style: italic;
  font-weight: 500;
  line-height: 1.45;
}

.tm-divers-lead p {
  margin: 0 0 1rem;
  color: #1a1f28;
  font-size: clamp(0.98rem, 1.12vw, 1.12rem);
  line-height: 1.55;
  font-weight: 400;
}

.tm-divers-lead p:last-child {
  margin-bottom: 0;
}

.tm-divers-lead strong {
  color: #0f1114;
  font-weight: 800;
}

.tm-divers-grid-wrap {
  padding-top: clamp(1.35rem, 2.6vw, 2.35rem);
  padding-bottom: clamp(1.5rem, 2.8vw, 2.75rem);
}

.tm-divers-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 3.25rem 2.85rem;
}

.tm-divers-item {
  min-width: 0;
}

.tm-divers-icon {
  margin: 0 0 0.75rem;
  line-height: 0;
}

.tm-divers-icon img {
  width: 56px;
  height: 56px;
  display: block;
  object-fit: contain;
}

.tm-divers-item-title {
  margin: 0 0 0.55rem;
  color: #141414;
  font-size: clamp(0.92rem, 1.05vw, 1.02rem);
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 1.2;
}

.tm-divers-item-text {
  margin: 0;
  color: #1a1f28;
  font-size: clamp(0.92rem, 1.05vw, 1.02rem);
  line-height: 1.45;
  font-weight: 400;
}

.tm-divers-how {
  position: relative;
  overflow: hidden;
  padding: 4.85rem 0 5rem;
  margin-top: 3.25rem;
  color: #ffffff;
  isolation: isolate;
}

.tm-divers-how-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image: url("assets/images/photo-3.webp");
  background-size: cover;
  background-position: 50% 45%;
  transform: scale(1.02);
}

.tm-divers-how-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(10, 12, 16, 0.38) 0%, rgba(10, 12, 16, 0.52) 100%);
}

.tm-divers-how .tm-container {
  position: relative;
  z-index: 2;
}

.tm-divers-how-head {
  text-align: center;
  margin-bottom: 2.6rem;
}

.tm-divers-how-title {
  margin: 0 0 0.55rem;
  font-size: clamp(2.05rem, 3.35vw, 3.05rem);
  font-weight: 800;
  line-height: 1.05;
  text-transform: none;
}

.tm-divers-how-title-light {
  color: #ffffff;
}

.tm-divers-how-title-gold {
  color: var(--gold);
}

.tm-divers-how-sub {
  margin: 0;
  color: #ffffff;
  font-size: clamp(1rem, 1.25vw, 1.22rem);
  font-style: italic;
  font-weight: 500;
  line-height: 1.35;
}

.tm-divers-how-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: minmax(150px, auto);
  gap: 1.1rem;
}

/* —— Servizi: blocco chiusura “Inizia ad investire” —— */
.tm-servizi-invest {
  background: #ffffff;
  color: #111111;
  padding: clamp(3.5rem, 7vw, 5.75rem) 0;
}

.tm-servizi-invest-inner {
  text-align: center;
}

.tm-servizi-invest-link {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 1.05rem;
  max-width: 28rem;
  margin: 0 auto;
  text-decoration: none;
  color: inherit;
  transition: opacity 0.22s ease;
}

.tm-servizi-invest-link:hover {
  opacity: 0.86;
}

.tm-servizi-invest-link:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 0.35rem;
  border-radius: 2px;
}

.tm-servizi-invest-mark {
  display: block;
  line-height: 0;
}

.tm-servizi-invest-mark-img {
  width: auto;
  height: clamp(2.5rem, 5vw, 3rem);
  max-width: 100%;
  display: block;
  object-fit: contain;
}

.tm-servizi-invest-heading {
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  font: inherit;
  font-weight: inherit;
}

.tm-servizi-invest-line1 {
  display: block;
  font-size: clamp(1.32rem, 2.35vw, 1.72rem);
  font-weight: 500;
  font-style: italic;
  color: var(--gold);
  letter-spacing: 0.02em;
  line-height: 1.2;
}

.tm-servizi-invest-line2 {
  display: block;
  font-size: clamp(1.48rem, 2.85vw, 2.05rem);
  font-weight: 400;
  font-style: normal;
  color: #111111;
  letter-spacing: 0.02em;
  line-height: 1.15;
}

.tm-servizi-invest-line2 strong {
  font-weight: 800;
  text-transform: uppercase;
}

html.js-how-cards-servizi .tm-page-servizi .tm-servizi-invest .tm-servizi-invest-heading {
  opacity: 0;
  transform: scale(0.92) translateY(14px);
  filter: blur(3px);
}

html.js-how-cards-servizi .tm-page-servizi .tm-servizi-invest.is-revealed .tm-servizi-invest-heading {
  animation: tm-how-card-pop-in 0.92s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@media (prefers-reduced-motion: reduce) {
  html.js-how-cards-servizi .tm-page-servizi .tm-servizi-invest .tm-servizi-invest-heading {
    opacity: 1;
    transform: none;
    filter: none;
    animation: none !important;
  }
}

@keyframes tm-servizi-kb-hero {
  0% {
    transform: scale(1) translate(0, 0);
  }
  100% {
    transform: scale(1.1) translate(1.4%, -1.4%);
  }
}

@keyframes tm-servizi-kb-photo-a {
  0% {
    transform: scale(1) translate(0, 0);
  }
  100% {
    transform: scale(1.09) translate(-1.6%, 1.1%);
  }
}

@keyframes tm-servizi-kb-photo-b {
  0% {
    transform: scale(1.02) translate(0, 0);
  }
  100% {
    transform: scale(1.11) translate(1.4%, -0.9%);
  }
}

@keyframes tm-servizi-kb-img {
  0% {
    transform: scale(1);
  }
  100% {
    transform: scale(1.1);
  }
}

.tm-page-servizi .tm-hero--services {
  overflow: hidden;
}

.tm-page-servizi .tm-hero--services:before {
  inset: auto;
  top: -9%;
  left: -7%;
  width: 116%;
  height: 116%;
  background-size: cover;
  background-position: 50% 42%;
  transform-origin: 48% 38%;
  animation: tm-servizi-kb-hero 30s ease-in-out infinite alternate;
  will-change: transform;
}

.tm-page-servizi .tm-spec-how-bg,
.tm-page-servizi .tm-divers-how-bg {
  inset: auto;
  top: -8%;
  left: -8%;
  width: 116%;
  height: 116%;
  background-size: cover;
  will-change: transform;
}

.tm-page-servizi .tm-spec-how-bg {
  transform-origin: 52% 55%;
  animation: tm-servizi-kb-photo-a 36s ease-in-out infinite alternate;
}

.tm-page-servizi .tm-divers-how-bg {
  transform-origin: 48% 45%;
  animation: tm-servizi-kb-photo-b 40s ease-in-out infinite alternate;
}

.tm-page-servizi .tm-servizi-invest-mark {
  overflow: hidden;
  border-radius: 4px;
  min-width: 3.5rem;
  min-height: clamp(2.5rem, 5vw, 3rem);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.tm-page-servizi .tm-servizi-invest-mark-img {
  display: block;
  transform-origin: center center;
  animation: tm-servizi-kb-img 24s ease-in-out infinite alternate;
  will-change: transform;
}

@media (prefers-reduced-motion: reduce) {
  .tm-page-servizi .tm-hero--services:before,
  .tm-page-servizi .tm-spec-how-bg,
  .tm-page-servizi .tm-divers-how-bg,
  .tm-page-servizi .tm-spec-icon img,
  .tm-page-servizi .tm-divers-icon img,
  .tm-page-servizi .tm-servizi-invest-mark-img {
    animation: none !important;
    will-change: auto;
  }

  .tm-page-servizi .tm-hero--services:before {
    inset: 0;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    transform: none;
  }

  .tm-page-servizi .tm-spec-how-bg,
  .tm-page-servizi .tm-divers-how-bg {
    inset: 0;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    transform: none;
  }

  .tm-page-servizi .tm-spec-icon img,
  .tm-page-servizi .tm-divers-icon img,
  .tm-page-servizi .tm-servizi-invest-mark-img {
    transform: none;
    filter: none;
  }
}

.tm-hero--join:before {
  inset: auto;
  top: -8%;
  left: -6%;
  width: 114%;
  height: 114%;
  background-image: url("assets/images/photo-2.webp");
  background-size: cover;
  background-position: 50% 44%;
  transform-origin: 52% 46%;
  animation: tm-hero-kenburns-join 34s ease-in-out infinite alternate;
  will-change: transform;
}

@keyframes tm-hero-kenburns-join {
  0% {
    transform: scale(1) translate(0, 0);
  }
  100% {
    transform: scale(1.11) translate(-2.2%, 1%);
  }
}

.tm-page-adesione .tm-hero--join {
  min-height: clamp(370px, 52vw, 520px);
  padding: clamp(7.4rem, 13vw, 8.8rem) 0 clamp(3.2rem, 6vw, 4.4rem);
  overflow: hidden;
}

.tm-page-adesione .tm-hero--join h1 {
  margin: 0;
  max-width: min(640px, 100%);
  font-size: clamp(2.2rem, 6vw, 3.7rem);
  line-height: 1.06;
  font-weight: 500;
  text-transform: none;
  letter-spacing: 0;
  color: #ffffff;
}

.tm-page-adesione .tm-membership-intro {
  max-width: min(720px, 100%);
  margin: 0 auto clamp(2rem, 4vw, 2.8rem);
  text-align: center;
}

.tm-page-adesione .tm-membership-intro-mark {
  display: inline-block;
  margin-bottom: 0.9rem;
  line-height: 0;
}

.tm-page-adesione .tm-membership-intro-mark img {
  width: clamp(2.1rem, 4.6vw, 2.7rem);
  height: auto;
  display: block;
  object-fit: contain;
}

.tm-page-adesione .tm-membership-intro h2 {
  margin: 0 0 1.5rem;
  color: #111111;
  font-size: clamp(2rem, 4.2vw, 3rem);
  font-weight: 700;
  line-height: 1.1;
}

.tm-page-adesione .tm-membership-intro p {
  margin: 0 auto 1rem;
  max-width: 36rem;
  color: #4a4a4a;
  font-size: clamp(1rem, 1.55vw, 1.35rem);
  line-height: 1.45;
  font-weight: 400;
}

.tm-page-adesione .tm-membership-intro p:last-child {
  margin-bottom: 0;
}

@media (prefers-reduced-motion: reduce) {
  .tm-page-adesione .tm-hero--join:before {
    animation: none;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    transform: none;
    will-change: auto;
  }
}

.tm-kicker {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--gold);
  font-size: 0.74rem;
  font-weight: 700;
  margin-bottom: 0.9rem;
}

h1,
h2,
h3,
h4 {
  margin: 0 0 0.9rem;
  line-height: 1.2;
}

h1 {
  font-size: clamp(2rem, 5.5vw, 4rem);
  max-width: 960px;
  font-weight: 800;
  text-transform: uppercase;
}

h2 {
  font-size: clamp(1.4rem, 3.3vw, 2.4rem);
  font-weight: 700;
}

h3 {
  font-size: clamp(1.1rem, 2.2vw, 1.9rem);
  font-weight: 700;
}

h4 {
  font-size: 0.74rem;
  letter-spacing: 0.11em;
  color: var(--gold);
  text-transform: uppercase;
}

p {
  margin: 0 0 0.9rem;
  color: var(--muted);
}

.tm-intro {
  max-width: 950px;
  font-size: 0.95rem;
}

.tm-hero-title {
  font-size: clamp(2.2rem, 4.8vw, 4rem);
  text-transform: none;
  font-weight: 500;
  margin-bottom: 0.8rem;
}

.tm-hero-title span {
  color: var(--gold);
}

.tm-hero-title em {
  font-style: italic;
  color: #fff;
  font-weight: 700;
}

.tm-hero-lead {
  margin: 0;
  max-width: 560px;
  font-size: 1.05rem;
  line-height: 1.35;
  font-weight: 500;
  color: #e5e5e5;
}

.tm-grid-3,
.tm-grid-2 {
  display: grid;
  gap: 1.4rem;
}

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

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

.tm-card {
  border: 1px solid var(--border);
  background: #202833;
  padding: 1.7rem;
}

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

.tm-media-card {
  overflow: hidden;
  padding: 0;
}

.tm-media-card img {
  width: 100%;
  height: 270px;
  object-fit: cover;
}

.tm-media-content {
  padding: 1.4rem;
}

.tm-card h4 {
  margin-bottom: 0.7rem;
}

.tm-steps {
  counter-reset: step2;
  display: grid;
  gap: 0.7rem;
}

.tm-step {
  display: grid;
  grid-template-columns: 2rem 1fr;
  gap: 0.8rem;
  align-items: start;
  padding: 0.9rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  min-height: 92px;
}

.tm-step::before {
  counter-increment: step2;
  content: counter(step2);
  color: var(--gold);
  font-size: 0.85rem;
  line-height: 1;
  font-weight: 700;
  width: 20px;
  height: 20px;
  border: 1px solid var(--gold);
  display: inline-grid;
  place-items: center;
}

.tm-membership table {
  width: 100%;
  border-collapse: collapse;
  background: #ebe8df;
  border-radius: 18px;
  overflow: hidden;
}

.tm-membership th,
.tm-membership td {
  border-bottom: 1px solid #d8d3c6;
  padding: 0.9rem 0.7rem;
  text-align: left;
  color: #3c3c3c;
}

.tm-membership th {
  color: var(--gold);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.tm-page-adesione .tm-membership {
  padding-top: clamp(3.6rem, 7vw, 5rem);
}

.tm-page-adesione .tm-membership .tm-container {
  max-width: 980px;
}

.tm-page-adesione .tm-membership-compare {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0 0.56rem;
  background: transparent;
}

.tm-page-adesione .tm-membership-compare thead th {
  border: 0;
  padding: 0 1.75rem 0.55rem;
  background: transparent;
  text-transform: none;
  letter-spacing: 0;
  font-size: clamp(1.15rem, 1.9vw, 1.7rem);
  font-weight: 700;
}

.tm-page-adesione .tm-membership-compare thead th:nth-child(1) {
  text-align: left;
  color: #111111;
}

.tm-page-adesione .tm-membership-compare thead th:nth-child(2) {
  text-align: center;
  color: #a4a4a4;
}

.tm-page-adesione .tm-membership-compare thead th:nth-child(3) {
  text-align: center;
  color: var(--gold);
}

.tm-page-adesione .tm-membership-compare tbody tr {
  opacity: 0;
  transform: translateY(10px);
  animation: tm-membership-row-in 0.7s ease both;
}

.tm-page-adesione .tm-membership-compare tbody tr:nth-child(1) { animation-delay: 0.03s; }
.tm-page-adesione .tm-membership-compare tbody tr:nth-child(2) { animation-delay: 0.07s; }
.tm-page-adesione .tm-membership-compare tbody tr:nth-child(3) { animation-delay: 0.11s; }
.tm-page-adesione .tm-membership-compare tbody tr:nth-child(4) { animation-delay: 0.15s; }
.tm-page-adesione .tm-membership-compare tbody tr:nth-child(5) { animation-delay: 0.19s; }
.tm-page-adesione .tm-membership-compare tbody tr:nth-child(6) { animation-delay: 0.23s; }
.tm-page-adesione .tm-membership-compare tbody tr:nth-child(7) { animation-delay: 0.27s; }
.tm-page-adesione .tm-membership-compare tbody tr:nth-child(8) { animation-delay: 0.31s; }
.tm-page-adesione .tm-membership-compare tbody tr:nth-child(9) { animation-delay: 0.35s; }
.tm-page-adesione .tm-membership-compare tbody tr:nth-child(10) { animation-delay: 0.39s; }
.tm-page-adesione .tm-membership-compare tbody tr:nth-child(11) { animation-delay: 0.43s; }

.tm-page-adesione .tm-membership-compare tbody td {
  border: 0;
  padding: 0.86rem 1.75rem;
  background: #eeece3;
  color: #272727;
  font-size: clamp(0.98rem, 1.3vw, 1.32rem);
  line-height: 1.24;
  vertical-align: middle;
  transition: transform 0.24s ease, box-shadow 0.24s ease, background-color 0.24s ease;
}

.tm-page-adesione .tm-membership-compare tbody tr:hover td {
  background: #f4f2eb;
  transform: translateY(-1px);
  box-shadow: 0 8px 14px rgba(17, 17, 17, 0.06);
}

.tm-page-adesione .tm-membership-compare tbody td:first-child {
  border-radius: 999px 0 0 999px;
  width: 56%;
}

.tm-page-adesione .tm-membership-compare tbody td:nth-child(2),
.tm-page-adesione .tm-membership-compare tbody td:nth-child(3) {
  width: 22%;
  text-align: center;
  font-size: clamp(1.05rem, 1.6vw, 1.5rem);
  font-weight: 700;
}

.tm-page-adesione .tm-membership-compare tbody td:nth-child(2) {
  color: #8f8f8f;
}

.tm-page-adesione .tm-membership-compare tbody td:nth-child(3) {
  color: var(--gold);
}

.tm-page-adesione .tm-membership-compare tbody td:last-child {
  border-radius: 0 999px 999px 0;
}

.tm-page-adesione .tm-membership-check,
.tm-page-adesione .tm-membership-cross {
  display: inline-block;
  font-size: clamp(1.2rem, 1.7vw, 1.55rem);
  line-height: 1;
  font-weight: 800;
}

.tm-page-adesione .tm-membership-check {
  color: #9bb53c;
}

.tm-page-adesione .tm-membership-cross {
  color: #d14c56;
}

.tm-page-adesione .tm-membership-note {
  margin: clamp(1.25rem, 2.4vw, 1.95rem) 0 0;
  color: #242424;
  font-size: clamp(0.84rem, 1.05vw, 1rem);
  line-height: 1.35;
}

.tm-page-adesione .tm-membership-note strong {
  color: #111111;
}

.tm-page-adesione .tm-membership-note em {
  color: #505050;
}

.tm-page-adesione .tm-membership-cta {
  text-align: center;
  margin-top: clamp(2.8rem, 5vw, 4rem);
}

.tm-page-adesione .tm-membership-cta h2 {
  margin: 0 0 0.55rem;
  font-size: clamp(2.2rem, 4.4vw, 3.5rem);
  font-style: italic;
  font-weight: 400;
  line-height: 1.1;
  text-transform: none;
}

.tm-page-adesione .tm-membership-cta h2 strong {
  font-style: italic;
  font-weight: 700;
}

.tm-page-adesione .tm-membership-cta p {
  margin: 0 0 1.2rem;
  font-size: clamp(1.05rem, 1.5vw, 1.38rem);
  font-weight: 700;
}

.tm-page-adesione .tm-membership-cta--platinum h2 {
  color: #111111;
}

.tm-page-adesione .tm-membership-cta--platinum h2 strong {
  color: #a2a2a2;
}

.tm-page-adesione .tm-membership-cta--platinum p {
  color: var(--gold);
}

.tm-page-adesione .tm-membership-cta--gold h2 {
  color: var(--gold);
}

.tm-page-adesione .tm-membership-cta--gold h2 strong {
  color: var(--gold);
}

.tm-page-adesione .tm-membership-cta--gold p {
  color: #111111;
}

.tm-page-adesione .tm-membership-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 7.4rem;
  min-height: 2.55rem;
  padding: 0.62rem 1.1rem;
  font-size: 0.94rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  text-decoration: none;
  transition: transform 0.24s ease, box-shadow 0.24s ease, filter 0.24s ease;
}

.tm-page-adesione .tm-membership-btn:hover,
.tm-page-adesione .tm-membership-btn:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 10px 16px rgba(17, 17, 17, 0.12);
  filter: brightness(1.03);
}

.tm-page-adesione .tm-membership-btn--platinum {
  color: #ffffff;
  background: #a8a8a8;
}

.tm-page-adesione .tm-membership-btn--gold {
  color: #ffffff;
  background: var(--gold);
}

@keyframes tm-membership-row-in {
  0% {
    opacity: 0;
    transform: translateY(10px);
  }
  100% {
    opacity: 1;
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .tm-page-adesione .tm-membership-compare tbody tr {
    opacity: 1;
    transform: none;
    animation: none;
  }

  .tm-page-adesione .tm-membership-compare tbody td,
  .tm-page-adesione .tm-membership-btn {
    transition: none;
  }
}

@media (max-width: 900px) {
  .tm-page-adesione .tm-membership-compare thead th {
    padding: 0 0.85rem 0.4rem;
    font-size: clamp(1rem, 2.8vw, 1.25rem);
  }

  .tm-page-adesione .tm-membership-compare tbody td {
    padding: 0.72rem 0.85rem;
    font-size: clamp(0.84rem, 2.3vw, 1rem);
  }

  .tm-page-adesione .tm-membership-compare tbody td:nth-child(2),
  .tm-page-adesione .tm-membership-compare tbody td:nth-child(3) {
    font-size: clamp(0.92rem, 2.4vw, 1.1rem);
  }
}

.tm-footer {
  padding: 2rem 0 1.7rem;
  background: #1b222b;
}

.tm-footer-main {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-bottom: 0.85rem;
}

.tm-footer-kicker {
  margin: 0 0 0.26rem;
  color: #d5dbe2;
  font-size: clamp(0.96rem, 1.55vw, 1.48rem);
  font-style: italic;
  font-weight: 500;
  line-height: 1.15;
}

.tm-footer-brand {
  display: inline-block;
  line-height: 0;
  margin: 0.2rem 0 0.78rem;
  overflow: hidden;
  transition: transform 0.3s ease, filter 0.3s ease;
}

.tm-footer-brand img {
  width: auto;
  height: clamp(236px, 28.4vw, 304px);
  display: block;
  margin-top: clamp(-82px, -10vw, -60px);
  margin-bottom: clamp(-88px, -10.8vw, -66px);
}

.tm-footer-brand:hover {
  transform: translateY(-2px) scale(1.015);
  filter: drop-shadow(0 8px 18px rgba(214, 170, 71, 0.22));
}

.tm-footer-mail {
  width: 42px;
  height: 42px;
  border: 1px solid var(--gold);
  background: var(--gold);
  display: inline-grid;
  place-items: center;
  color: #1b222b;
  font-size: 1.05rem;
  line-height: 1;
  transition: transform 0.25s ease, box-shadow 0.25s ease, opacity 0.25s ease;
}

.tm-footer-mail:hover {
  opacity: 0.96;
  transform: translateY(-2px) scale(1.04);
  box-shadow: 0 8px 18px rgba(214, 170, 71, 0.28);
}

.tm-footer-bottom {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: end;
  gap: 1.3rem;
}

.tm-footer-address {
  justify-self: start;
}

.tm-footer-address-line {
  margin: 0;
  color: #eef1f4;
  font-size: 0.9rem;
  font-weight: 500;
  line-height: 1.22;
}

.tm-footer-address-line--gold {
  color: var(--gold);
  font-weight: 700;
}

.tm-footer-legal {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.35rem;
}

.tm-footer-legal a {
  color: #9aa0a8;
  font-size: 0.82rem;
  font-weight: 500;
  line-height: 1.25;
  transition: color 0.25s ease, opacity 0.25s ease;
}

.tm-footer-legal a:hover {
  color: #d4d9de;
  opacity: 1;
}

.tm-footer-legal a + a::before {
  content: "|";
  color: #7f858d;
  margin-right: 0.35rem;
}

.tm-footer-menu {
  justify-self: end;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.14rem;
  text-align: right;
}

.tm-footer .tm-footer-menu a {
  color: var(--gold);
  font-size: clamp(1.75rem, 2.4vw, 2.2rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: 0;
  text-transform: none;
  transition: transform 0.25s ease, text-shadow 0.25s ease, opacity 0.25s ease;
}

.tm-footer .tm-footer-menu a:hover {
  transform: translateX(-4px);
  text-shadow: 0 0 12px rgba(214, 170, 71, 0.45);
  opacity: 0.95;
}

/* Hover sitewide allineato al footer (shift + glow oro). */
.tm-menu a,
.tm-strip-cta,
.tm-panel-cta,
.tm-bitcoin-cta,
.tm-about-copy .tm-cta-gold,
.tm-footer-legal a {
  transition: transform 0.25s ease, text-shadow 0.25s ease, opacity 0.25s ease, color 0.25s ease;
}

.tm-menu a:hover,
.tm-strip-cta:hover,
.tm-panel-cta:hover,
.tm-bitcoin-cta:hover,
.tm-about-copy .tm-cta-gold:hover,
.tm-footer-legal a:hover {
  transform: translateX(-4px);
  text-shadow: 0 0 12px rgba(214, 170, 71, 0.45);
  opacity: 0.95;
}

@media (prefers-reduced-motion: reduce) {
  .tm-footer-brand,
  .tm-footer-mail,
  .tm-footer-legal a,
  .tm-footer .tm-footer-menu a,
  .tm-menu a,
  .tm-strip-cta,
  .tm-panel-cta,
  .tm-bitcoin-cta,
  .tm-about-copy .tm-cta-gold {
    transition: none;
  }

  .tm-footer-brand:hover,
  .tm-footer-mail:hover,
  .tm-footer .tm-footer-menu a:hover,
  .tm-menu a:hover,
  .tm-strip-cta:hover,
  .tm-panel-cta:hover,
  .tm-bitcoin-cta:hover,
  .tm-about-copy .tm-cta-gold:hover {
    transform: none;
    filter: none;
    box-shadow: none;
    text-shadow: none;
  }
}

.tm-icons-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.6rem;
}

.tm-icon-card {
  border: 1px solid #dfd8c5;
  background: #fff;
  padding: 0.7rem;
  text-align: center;
}

.tm-icon-card img {
  width: 32px;
  height: 32px;
  object-fit: contain;
}

.tm-legal {
  max-width: 880px;
}

.tm-cookie-banner {
  position: fixed;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  z-index: 1000;
  background: #101010;
  border: 1px solid var(--gold);
  padding: 1rem;
  display: none;
}

.tm-cookie-actions {
  display: flex;
  gap: 0.7rem;
  flex-wrap: wrap;
  margin-top: 0.8rem;
}

.tm-btn {
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text);
  padding: 0.6rem 1rem;
  cursor: pointer;
  font: inherit;
}

.tm-btn--gold {
  border-color: var(--gold);
  color: var(--gold);
}

.tm-about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: 2.5rem;
  align-items: start;
}

.tm-photo-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: minmax(148px, auto) minmax(148px, auto);
  gap: 10px;
  min-height: 306px;
}
.tm-photo-grid img {
  width: 100%;
  height: 100%;
  min-height: 148px;
  object-fit: cover;
  display: block;
}
.tm-photo-grid img:nth-child(1) {
  grid-column: 1;
  grid-row: 1;
}
.tm-photo-grid img:nth-child(2) {
  grid-column: 1;
  grid-row: 2;
}
.tm-photo-grid img:nth-child(3) {
  grid-column: 2;
  grid-row: 1 / 3;
  min-height: 100%;
}

.tm-about-label {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}
.tm-about-label span:first-child {
  color: var(--gold);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
}
.tm-about-label-line {
  flex: 1;
  height: 1px;
  background: var(--gold);
  min-width: 2rem;
}

.tm-about-title {
  font-size: clamp(1.35rem, 2.6vw, 1.85rem);
  font-weight: 800;
  line-height: 1.2;
  margin: 0 0 1.1rem;
  text-transform: none;
}
.tm-about-title-brand {
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.02em;
}
.tm-about-title-rest {
  color: #111;
  font-weight: 800;
}

.tm-about-body {
  color: #4a4a4a;
  font-size: 0.95rem;
  line-height: 1.55;
  margin: 0 0 0.85rem;
}

.tm-mission-vision {
  padding-top: 4.9rem;
  padding-bottom: 4.9rem;
}

.tm-mission-vision-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: clamp(2rem, 4.2vw, 4.5rem);
  align-items: start;
}

.tm-mission-vision-label {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  margin-bottom: 1.25rem;
}

.tm-mission-vision-kicker {
  margin: 0;
  color: #c7b37c;
  font-size: clamp(1.02rem, 1.2vw, 1.2rem);
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
}

.tm-mission-vision-line {
  display: block;
  width: min(17.2rem, 45vw);
  height: 1px;
  background: rgba(199, 179, 124, 0.62);
}

.tm-mission-vision-title {
  margin: 0;
  color: #151821;
  font-size: clamp(1.85rem, 3.45vw, 3.12rem);
  line-height: 1.08;
  font-weight: 700;
  letter-spacing: -0.01em;
  text-transform: none;
}

.tm-mission-vision-title span {
  color: #c3a35e;
}

.tm-mission-vision-right p {
  margin: 0 0 1.34rem;
  color: #4d5157;
  font-size: clamp(0.96rem, 1.05vw, 1.02rem);
  line-height: 1.42;
  font-weight: 400;
}

.tm-mission-vision-right p:last-child {
  margin-bottom: 0;
}

.tm-mission-vision-right strong {
  color: #111111;
  font-weight: 700;
}

.tm-mission-vision-right em {
  color: #c3a35e;
  font-style: italic;
  font-weight: 700;
}

/* Fallback robusto: stile Mission & Vision sul markup attualmente renderizzato. */
.tm-hero--about + .tm-section.tm-section--light {
  padding-top: 4.9rem;
  padding-bottom: 4.9rem;
}

.tm-hero--about + .tm-section.tm-section--light .tm-container.tm-grid-2 {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: clamp(2rem, 4.2vw, 4.5rem);
  align-items: start;
}

.tm-hero--about + .tm-section.tm-section--light .tm-kicker {
  margin: 0 0 1.25rem;
  color: #c7b37c;
  font-size: clamp(1.02rem, 1.2vw, 1.2rem);
  font-weight: 600;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  display: flex;
  align-items: center;
  gap: 0.9rem;
}

.tm-hero--about + .tm-section.tm-section--light .tm-kicker::after {
  content: "";
  display: block;
  width: min(17.2rem, 45vw);
  height: 1px;
  background: rgba(199, 179, 124, 0.62);
}

.tm-hero--about + .tm-section.tm-section--light h2 {
  margin: 0;
  color: #151821;
  font-size: clamp(1.85rem, 3.45vw, 3.12rem);
  line-height: 1.08;
  font-weight: 700;
  letter-spacing: -0.01em;
  text-transform: none;
}

.tm-hero--about + .tm-section.tm-section--light .tm-grid-2 > div:last-child p {
  margin: 0 0 1.34rem;
  color: #4d5157;
  font-size: clamp(0.96rem, 1.05vw, 1.02rem);
  line-height: 1.42;
  font-weight: 400;
}

.tm-hero--about + .tm-section.tm-section--light .tm-grid-2 > div:last-child p:last-child {
  margin-bottom: 0;
}

.tm-approach {
  background: #1f2530;
  padding-top: 4.9rem;
  padding-bottom: 4.9rem;
}

.tm-approach-header {
  text-align: center;
  margin-bottom: 3.2rem;
}

.tm-approach-title {
  margin: 0 0 0.45rem;
  color: #ffffff;
  font-size: clamp(2rem, 3.8vw, 3.2rem);
  font-weight: 700;
  line-height: 1.08;
  text-transform: none;
}

.tm-approach-title span {
  color: var(--gold);
}

.tm-approach-subtitle {
  margin: 0;
  color: #f0f2f5;
  font-size: clamp(1rem, 1.55vw, 1.48rem);
  font-style: italic;
  font-weight: 500;
  line-height: 1.28;
}

.tm-approach-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.tm-approach-item {
  position: relative;
  padding: 0 2.35rem;
}

.tm-approach-item:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 0.5rem;
  right: 0;
  width: 1px;
  height: calc(100% - 0.5rem);
  background: rgba(255, 255, 255, 0.35);
}

.tm-approach-icon {
  width: 50px;
  height: 50px;
  object-fit: contain;
  display: block;
  margin: 0 0 0.95rem;
  transform-origin: center bottom;
  animation: tm-why-icon-float 3.6s ease-in-out infinite;
  will-change: transform;
  transition: filter 0.35s ease, transform 0.35s ease;
}

.tm-approach-item:nth-child(1) .tm-approach-icon {
  animation-delay: 0s;
}

.tm-approach-item:nth-child(2) .tm-approach-icon {
  animation-delay: 0.45s;
}

.tm-approach-item:nth-child(3) .tm-approach-icon {
  animation-delay: 0.9s;
}

.tm-approach-item:hover .tm-approach-icon {
  animation-play-state: paused;
  filter: drop-shadow(0 4px 14px rgba(214, 170, 71, 0.35));
  transform: translateY(-4px) scale(1.04);
}

.tm-approach-item-title {
  margin: 0;
  color: var(--gold);
  font-size: clamp(1.45rem, 2.05vw, 1.92rem);
  font-weight: 800;
  line-height: 1.1;
  text-transform: uppercase;
  letter-spacing: 0.015em;
}

.tm-approach-item-line {
  display: block;
  width: 3.15rem;
  height: 2px;
  background: var(--gold);
  margin: 0.78rem 0 1.05rem;
}

.tm-approach-item-text {
  margin: 0;
  color: #eef1f4;
  font-size: clamp(0.98rem, 1.15vw, 1.06rem);
  line-height: 1.42;
  font-weight: 400;
}

.tm-founders {
  padding-top: 0.6rem;
}

.tm-founders-title {
  margin: 0 0 2.35rem;
  text-align: center;
  color: #c3a35e;
  font-size: clamp(2rem, 3.35vw, 3rem);
  font-weight: 700;
  line-height: 1.08;
  text-transform: none;
}

.tm-founders-title span {
  color: #111111;
}

.tm-founders-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(0.7rem, 1.1vw, 1rem);
}

.tm-founder-card {
  min-width: 0;
}

.tm-founder-media-wrap {
  position: relative;
  border: 1px solid #c3a35e;
  background: #202733;
  overflow: hidden;
  aspect-ratio: 0.74 / 1;
}

.tm-founder-media {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.tm-founder-bio {
  position: absolute;
  inset: 0;
  background: rgba(32, 39, 51, 0.96);
  color: #ecf0f4;
  padding: 2.85rem 1rem 1rem;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.28s ease, transform 0.28s ease;
}

.tm-founder-bio p {
  margin: 0;
  color: inherit;
  font-size: clamp(0.82rem, 0.82vw, 0.9rem);
  line-height: 1.38;
  font-weight: 400;
}

.tm-founder-toggle {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.tm-founder-open,
.tm-founder-close {
  position: absolute;
  z-index: 3;
  width: 1.26rem;
  height: 1.26rem;
  display: grid;
  place-items: center;
  background: #c3a35e;
  color: #ffffff;
  font-size: 1.02rem;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  user-select: none;
}

.tm-founder-open {
  right: 0;
  bottom: 0;
}

.tm-founder-close {
  right: 0;
  top: 0;
  opacity: 0;
  pointer-events: none;
}

.tm-founder-name {
  margin: 0.52rem 0 0;
  text-align: center;
  line-height: 1.08;
  text-transform: none;
}

.tm-founder-name span,
.tm-founder-name strong {
  display: block;
  font-size: clamp(1.1rem, 1.35vw, 1.32rem);
}

.tm-founder-name span {
  color: #8f949b;
  font-weight: 500;
}

.tm-founder-name strong {
  margin-top: 0.07rem;
  color: #c3a35e;
  font-weight: 800;
}

@media (hover: hover) and (pointer: fine) {
  .tm-founder-media-wrap:hover .tm-founder-bio {
    opacity: 1;
    transform: translateY(0);
  }

  .tm-founder-media-wrap:hover .tm-founder-open {
    opacity: 0;
    pointer-events: none;
  }

  .tm-founder-media-wrap:hover .tm-founder-close {
    opacity: 1;
    pointer-events: auto;
  }
}

.tm-founder-toggle:checked ~ .tm-founder-bio {
  opacity: 1;
  transform: translateY(0);
}

.tm-founder-toggle:checked ~ .tm-founder-open {
  opacity: 0;
  pointer-events: none;
}

.tm-founder-toggle:checked ~ .tm-founder-close {
  opacity: 1;
  pointer-events: auto;
}

.tm-why-trust {
  position: relative;
  overflow: hidden;
  background-color: #d4aa45;
  background-image: linear-gradient(180deg, rgba(212, 170, 69, 1) 0%, rgba(212, 170, 69, 0.96) 48%, rgba(212, 170, 69, 0.88) 100%),
    url("assets/images/photo-9.webp");
  background-size: cover, cover;
  background-position: center, 50% 78%;
  background-repeat: no-repeat;
  padding-top: 5rem;
  padding-bottom: 4.5rem;
  color: #ffffff;
}

.tm-why-trust-header {
  text-align: center;
}

.tm-why-trust-kicker {
  margin: 0 0 0.35rem;
  color: #ffffff;
  font-size: 0.98rem;
  font-style: italic;
  font-weight: 600;
}

.tm-why-trust-title {
  margin: 0;
  color: #111111;
  font-size: clamp(2rem, 3.2vw, 3.05rem);
  font-weight: 800;
  line-height: 1.08;
  text-transform: none;
}

.tm-why-trust-title-line {
  display: block;
  width: 2.3rem;
  height: 2px;
  background: #111111;
  margin: 0.9rem auto 0;
}

.tm-why-trust-intro {
  max-width: 58rem;
  margin: 1.35rem auto 0;
  text-align: center;
}

.tm-why-trust-intro p {
  margin: 0 0 0.33rem;
  color: #ffffff;
  font-size: clamp(0.98rem, 1.22vw, 1.22rem);
  line-height: 1.35;
  font-weight: 400;
}

.tm-why-trust-intro strong {
  font-weight: 800;
}

.tm-why-trust-lead {
  margin-top: 1.15rem !important;
  font-style: italic;
  font-weight: 600 !important;
}

.tm-why-trust-grid {
  margin-top: 3.4rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2.2rem 2.6rem;
}

.tm-why-trust-item {
  max-width: 16.5rem;
}

.tm-why-trust-icon {
  width: 50px;
  height: 50px;
  object-fit: contain;
  display: block;
  margin: 0 0 0.65rem;
  transform-origin: center bottom;
  animation: tm-why-icon-float 3.6s ease-in-out infinite;
  will-change: transform;
  transition: filter 0.35s ease, transform 0.35s ease;
}

.tm-why-trust-item:nth-child(1) .tm-why-trust-icon {
  animation-delay: 0s;
}

.tm-why-trust-item:nth-child(2) .tm-why-trust-icon {
  animation-delay: 0.45s;
}

.tm-why-trust-item:nth-child(3) .tm-why-trust-icon {
  animation-delay: 0.9s;
}

.tm-why-trust-item:nth-child(4) .tm-why-trust-icon {
  animation-delay: 1.35s;
}

.tm-why-trust-item:nth-child(5) .tm-why-trust-icon {
  animation-delay: 1.8s;
}

.tm-why-trust-item:nth-child(6) .tm-why-trust-icon {
  animation-delay: 2.25s;
}

.tm-why-trust-item:hover .tm-why-trust-icon {
  animation-play-state: paused;
  filter: drop-shadow(0 4px 14px rgba(214, 170, 71, 0.35));
  transform: translateY(-4px) scale(1.04);
}

.tm-why-trust-item-title {
  margin: 0;
  color: #111111;
  font-size: clamp(1.4rem, 1.65vw, 1.64rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: 0.01em;
  text-transform: uppercase;
}

.tm-why-trust-item-line {
  display: block;
  width: 3.15rem;
  height: 2px;
  background: #ffffff;
  margin: 0.55rem 0 0.7rem;
}

.tm-why-trust-item-text {
  margin: 0;
  color: #111111;
  font-size: clamp(0.95rem, 1.02vw, 1.03rem);
  line-height: 1.24;
  font-weight: 500;
}

.tm-why-trust-brand {
  margin-top: 2.7rem;
  text-align: center;
}

.tm-why-trust-brand img {
  width: auto;
  height: 48px;
  display: block;
  margin: 0 auto 0.45rem;
}

.tm-why-trust-brand p {
  margin: 0;
  color: #111111;
  font-size: clamp(2.1rem, 3.2vw, 2.85rem);
  font-weight: 800;
  line-height: 1;
}

.tm-why-trust-brand em {
  font-style: italic;
  color: #ffffff;
}

.tm-about-tagline {
  color: #111;
  font-weight: 800;
  font-size: 0.95rem;
  margin: 1rem 0 1.25rem;
}

.tm-cta-gold {
  display: inline-block;
  background: var(--gold);
  color: #fff;
  font-weight: 800;
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.95rem 1.5rem;
  border: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
}
.tm-cta-gold:hover {
  opacity: 0.92;
  color: #fff;
}

/* Mercato USA: grafica Risorsa 11 (photo-11) + overlay come reference */
.tm-strip {
  position: relative;
  padding: 3rem 0 3.25rem;
  min-height: 220px;
  background-color: #243058;
  background-image: linear-gradient(
      92deg,
      rgba(36, 48, 88, 0.92) 0%,
      rgba(0, 95, 150, 0.55) 42%,
      rgba(95, 48, 118, 0.78) 100%
    ),
    url("assets/images/photo-11.webp");
  background-size: cover, cover;
  background-position: center, 70% center;
  background-repeat: no-repeat;
}

.tm-strip-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.35fr);
  gap: 2.5rem 3rem;
  align-items: center;
}

/* Titolo: "Mercato" in oro brand (--gold), "USA" bianco */
.tm-strip-title {
  margin: 0 0 0.55rem;
  font-size: clamp(2.45rem, 5vw, 3.35rem);
  font-weight: 700;
  line-height: 1.06;
  letter-spacing: 0.02em;
}

.tm-strip-title-gold {
  color: var(--gold);
}

.tm-strip-title-white {
  color: #ffffff;
}

/* Sottotitolo bianco, più piccolo, medium */
.tm-strip-sub {
  margin: 0;
  color: #ffffff;
  font-size: 0.98rem;
  font-weight: 500;
  line-height: 1.45;
}

/* Colonna destra: riga iniziale bold bianca, corpo regular bianco */
.tm-strip-lead {
  margin: 0 0 0.4rem;
  color: #ffffff;
  font-size: 1.06rem;
  font-weight: 700;
  line-height: 1.45;
}

.tm-strip-body {
  margin: 0 0 1.1rem;
  color: #ffffff;
  font-size: 0.94rem;
  font-weight: 400;
  line-height: 1.55;
}

/* CTA + freccia: stesso oro brand */
.tm-strip-cta {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem 0.75rem;
  margin-top: 0.15rem;
  color: var(--gold);
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
}

.tm-strip-cta:hover {
  opacity: 0.88;
}

.tm-strip-arrow {
  display: inline-block;
  width: 62px;
  height: 11px;
  background: url("assets/icons/arrow-gold.png") center/contain no-repeat;
  animation: tm-arrow-slide 2.6s ease-in-out infinite, tm-arrow-fade 2.6s ease-in-out infinite;
}

.tm-strip-arrow-line {
  display: none;
}

.tm-strip-arrow-head {
  display: none;
}

.tm-strip-cta-text,
.tm-panel-cta-text,
.tm-bitcoin-cta-text {
  display: inline-block;
  white-space: nowrap;
  overflow: hidden;
  border-right: 0;
  width: 0;
  opacity: 0;
  animation: tm-cta-typewriter 6.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) infinite,
    tm-cta-fade-loop 6.8s ease-in-out infinite;
}

@keyframes tm-arrow-slide {
  0%,
  100% {
    transform: translateX(0);
    opacity: 0.9;
  }
  50% {
    transform: translateX(4px);
    opacity: 1;
  }
}

@keyframes tm-cta-typewriter {
  0%,
  16% {
    width: 0;
  }
  46%,
  64% {
    width: 13ch;
  }
  90%,
  100% {
    width: 0;
  }
}

@keyframes tm-cta-fade-loop {
  0%,
  16% {
    opacity: 0;
  }
  30%,
  68% {
    opacity: 1;
  }
  90%,
  100% {
    opacity: 0;
  }
}

/* —— Perché / Scegliere TRUST ME (reference: stessa larghezza .tm-container del sito) —— */
.tm-why-section {
  padding-top: 5rem;
  padding-bottom: 5.25rem;
}

.tm-why-header {
  margin-bottom: 2.85rem;
}

.tm-why-section.tm-section--light .tm-why-pre {
  margin: 0 0 0.4rem;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  text-transform: none;
}

.tm-why-section.tm-section--light .tm-why-heading {
  margin: 0;
  font-size: clamp(1.55rem, 2.75vw, 2.1rem);
  font-weight: 700;
  line-height: 1.18;
  text-transform: none;
  letter-spacing: 0;
  color: inherit;
}

.tm-why-heading-black {
  color: #111111;
}

.tm-why-heading-gold {
  margin-left: 0.35rem;
  color: var(--gold);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.tm-why-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  margin: 0;
  align-items: start;
}

.tm-why-item {
  margin: 0;
  padding: 0 2.25rem;
  border-right: 1px solid #e0e0e0;
}

.tm-why-item:first-child {
  padding-left: 0;
}

.tm-why-item:last-child {
  padding-right: 0;
  border-right: none;
}

.tm-why-icon {
  display: block;
  width: auto;
  height: 52px;
  max-width: 72px;
  max-height: 58px;
  object-fit: contain;
  object-position: left center;
  margin: 0 0 1.15rem;
  transform-origin: center bottom;
  animation: tm-why-icon-float 3.6s ease-in-out infinite;
  will-change: transform;
  transition: filter 0.35s ease, transform 0.35s ease;
}

.tm-why-item:nth-child(1) .tm-why-icon {
  animation-delay: 0s;
}

.tm-why-item:nth-child(2) .tm-why-icon {
  animation-delay: 0.45s;
}

.tm-why-item:nth-child(3) .tm-why-icon {
  animation-delay: 0.9s;
}

.tm-why-item:hover .tm-why-icon {
  animation-play-state: paused;
  filter: drop-shadow(0 4px 14px rgba(214, 170, 71, 0.35));
  transform: translateY(-4px) scale(1.04);
}

@keyframes tm-why-icon-float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-7px);
  }
}

/* Checklist (Risorsa 31): asset più alto */
.tm-why-item:nth-child(2) .tm-why-icon {
  height: 58px;
  max-height: 62px;
}

@media (prefers-reduced-motion: reduce) {
  .tm-why-icon {
    animation: none;
    will-change: auto;
  }

  .tm-why-item:hover .tm-why-icon {
    transform: none;
    filter: none;
  }

  .tm-approach-icon,
  .tm-why-trust-icon {
    animation: none;
    will-change: auto;
  }

  .tm-approach-item:hover .tm-approach-icon,
  .tm-why-trust-item:hover .tm-why-trust-icon {
    transform: none;
    filter: none;
  }
}

.tm-why-card-title {
  margin: 0 0 0.7rem;
  padding: 0;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #111111;
  line-height: 1.25;
}

.tm-why-section.tm-section--light .tm-why-card-desc {
  margin: 0;
  padding: 0;
  font-size: 0.93rem;
  font-weight: 400;
  line-height: 1.55;
  color: #5a5a5a;
}

/* Due pannelli Speculazione / Diversificazione (reference: no gap, tipografia a due pesi) */
.tm-split-panels {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
}

.tm-panel {
  padding: 4rem 0 4.25rem;
}

.tm-panel-inner {
  width: 100%;
  max-width: none;
  margin: 0;
  box-sizing: border-box;
}

/* Stesso bordo sinistro del contenuto .tm-container (pannello scuro = colonna sinistra pagina) */
.tm-panel--dark .tm-panel-inner {
  padding-left: var(--tm-page-gutter);
  padding-right: clamp(1.75rem, 4.5vw, 3.75rem);
}

/* Stesso bordo destro del contenuto .tm-container */
.tm-panel--gold .tm-panel-inner {
  padding-right: var(--tm-page-gutter);
  padding-left: clamp(1.75rem, 4.5vw, 3.75rem);
}

.tm-panel--dark {
  background: #1a1f26;
}

.tm-panel--gold {
  background: var(--gold);
}

.tm-panel-headline {
  margin: 0 0 1.05rem;
  padding: 0;
  line-height: 1.12;
  font-size: unset;
  font-weight: normal;
  text-transform: none;
}

.tm-panel-headline-line1 {
  display: block;
  font-weight: 300;
  font-size: clamp(1.38rem, 2.5vw, 1.78rem);
  letter-spacing: 0.02em;
}

.tm-panel-headline-line2 {
  display: block;
  margin-top: 0.12rem;
  font-weight: 800;
  font-size: clamp(1.52rem, 2.85vw, 2.08rem);
  letter-spacing: 0.02em;
}

.tm-panel--dark .tm-panel-headline-line1,
.tm-panel--dark .tm-panel-headline-line2 {
  color: var(--gold);
}

.tm-panel--gold .tm-panel-headline-line1,
.tm-panel--gold .tm-panel-headline-line2 {
  color: #1a1f26;
}

.tm-panel-badge {
  margin: 0 0 1.15rem;
  padding: 0.42rem 0.72rem;
  display: inline-block;
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  line-height: 1;
  border-radius: 3px;
  transform-origin: left center;
  animation: tm-panel-badge-pulse 2.6s ease-in-out infinite;
  will-change: transform;
}

.tm-panel-badge--on-dark {
  background: var(--gold);
  color: #ffffff;
}

.tm-panel-badge--on-gold {
  background: #1a1f26;
  color: #ffffff;
  animation-name: tm-panel-badge-pulse-dark;
  animation-delay: 0.45s;
}

@keyframes tm-panel-badge-pulse {
  0%,
  100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(214, 170, 71, 0);
  }
  50% {
    transform: scale(1.06);
    box-shadow: 0 0 0 4px rgba(214, 170, 71, 0.2);
  }
}

@keyframes tm-panel-badge-pulse-dark {
  0%,
  100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(26, 31, 38, 0);
  }
  50% {
    transform: scale(1.06);
    box-shadow: 0 0 0 4px rgba(26, 31, 38, 0.25);
  }
}

@media (prefers-reduced-motion: reduce) {
  .tm-panel-badge {
    animation: none;
    will-change: auto;
  }
}

.tm-panel-body {
  margin: 0 0 1.35rem;
  font-size: 0.95rem;
  font-weight: 400;
  line-height: 1.58;
}

.tm-panel-body--on-dark,
.tm-panel-body--on-gold {
  color: #ffffff;
}

.tm-panel-cta {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.45rem 0.7rem;
  font-size: 0.88rem;
  font-weight: 600;
  text-decoration: none;
}

.tm-panel-cta--on-dark {
  color: var(--gold);
}

.tm-panel-cta--on-dark .tm-panel-cta-line {
  display: none;
}

.tm-panel-cta--on-dark .tm-panel-cta-head {
  display: none;
}

.tm-panel-cta--on-gold {
  color: #1a1f26;
}

.tm-panel-cta--on-gold .tm-panel-cta-line {
  display: none;
}

.tm-panel-cta--on-gold .tm-panel-cta-head {
  display: none;
}

.tm-panel-cta-arrow {
  display: inline-block;
  width: 62px;
  height: 11px;
  animation: tm-arrow-slide 2.6s ease-in-out infinite, tm-arrow-fade 2.6s ease-in-out infinite;
}

.tm-panel-cta--on-dark .tm-panel-cta-arrow {
  background: url("assets/icons/arrow-gold.png") center/contain no-repeat;
}

.tm-panel-cta--on-gold .tm-panel-cta-arrow {
  background: url("assets/icons/arrow-black.png") center/contain no-repeat;
}

/* Sequenza animazioni CTA: strip -> pannello dark -> pannello gold -> bitcoin */
.tm-strip-cta .tm-strip-cta-text,
.tm-strip-cta .tm-strip-arrow {
  animation-delay: 0s;
}

.tm-panel--dark .tm-panel-cta .tm-panel-cta-text,
.tm-panel--dark .tm-panel-cta .tm-panel-cta-arrow {
  animation-delay: 0.9s;
}

.tm-panel--gold .tm-panel-cta .tm-panel-cta-text,
.tm-panel--gold .tm-panel-cta .tm-panel-cta-arrow {
  animation-delay: 1.8s;
}

.tm-bitcoin-cta .tm-bitcoin-cta-text,
.tm-bitcoin-cta .tm-bitcoin-arrow {
  animation-delay: 2.7s;
}

.tm-panel-cta-line {
  display: inline-block;
  width: 3.1rem;
  height: 1px;
  margin-right: 0.12rem;
}

.tm-panel-cta-head {
  font-size: 1.02rem;
  font-weight: 400;
  line-height: 1;
}

.tm-panel-cta:hover {
  opacity: 0.88;
}

/* TRUSTINO home listings carousel */
.tm-listings {
  position: relative;
  padding: 3.25rem 0 3.4rem;
  background: #ffffff;
  overflow: hidden;
}

.tm-listings .tm-container {
  width: min(1160px, 94vw);
}

.tm-listings-header {
  margin-bottom: 1.35rem;
}

.tm-listings-title {
  margin: 0;
  font-size: clamp(2rem, 4.2vw, 2.9rem);
  line-height: 1.08;
}

.tm-listings-title-gold {
  color: var(--gold);
}

.tm-listings-title-white {
  color: #111111;
}

.tm-listings-subtitle {
  margin: 0.45rem 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.9rem;
  font-weight: 500;
}

.tm-listings-carousel {
  position: relative;
  overflow: visible;
  padding: 0 0.35rem 0.45rem;
}

.tm-listings-track {
  display: flex;
  align-items: stretch;
  gap: 1rem;
  transform: translate3d(0, 0, 0);
  will-change: transform;
  touch-action: pan-y;
  cursor: grab;
}

.tm-listings-track:active {
  cursor: grabbing;
}

.tm-listing-card {
  position: relative;
  flex: 0 0 calc((100% - 3rem) / 4);
  min-width: 0;
  border-radius: 20px;
  overflow: hidden;
  background: #0a121c;
  box-shadow: 0 12px 24px rgba(10, 18, 28, 0.18);
  opacity: 1;
  transform: translateY(0) scale(1);
  filter: none;
  transition: box-shadow 260ms ease;
  animation: tm-listing-idle-float 6.2s ease-in-out infinite;
  animation-delay: calc(var(--tm-card-stagger, 0) * 0.18s);
  will-change: transform;
}

.tm-listing-card.is-prep {
  opacity: 0;
  transform: translateY(20px) scale(0.985);
  filter: saturate(0.94);
}

.tm-listing-card.is-visible {
  animation:
    tm-listing-reveal 0.78s cubic-bezier(0.22, 1, 0.36, 1) both,
    tm-listing-idle-float 6.2s ease-in-out infinite 0.8s;
  animation-delay:
    calc(var(--tm-card-stagger, 0) * 0.08s),
    calc(0.8s + (var(--tm-card-stagger, 0) * 0.08s));
}

.tm-listing-card-image {
  aspect-ratio: 16 / 9;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-color: #d9dde2;
  transition: filter 280ms ease, transform 420ms ease;
}

@keyframes tm-listing-reveal {
  0% {
    opacity: 0;
    transform: translateY(20px) scale(0.985);
    filter: blur(2px) saturate(0.92);
  }
  65% {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0.2px) saturate(1);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: none;
  }
}

@keyframes tm-listing-idle-float {
  0%,
  100% {
    transform: translate3d(0, 0, 0);
  }
  50% {
    transform: translate3d(0, -7px, 0);
  }
}

.tm-listing-card-body {
  padding: 0.95rem 1rem 1rem;
  transition: filter 280ms ease;
}

.tm-listing-card-location {
  margin: 0 0 0.65rem;
  color: #ffffff;
  font-size: 0.92rem;
  font-weight: 700;
  line-height: 1.35;
}

.tm-listing-card-meta {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.5rem;
}

.tm-listing-card-meta li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.55rem;
}

.tm-listing-card-meta span {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.73rem;
}

.tm-listing-card-meta strong {
  color: #ffffff;
  font-size: 0.78rem;
  font-weight: 700;
  text-align: right;
}

.tm-listing-card-status {
  margin: 0.78rem 0 0;
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 0.12rem 0.55rem;
  border-radius: 999px;
  background: rgba(214, 170, 71, 0.24);
  color: #f3d48a;
  font-size: 0.72rem;
  font-weight: 700;
}

.tm-listings-cta {
  display: inline-flex;
  margin-top: 1.25rem;
}

.tm-listings-cta .tm-strip-cta-text,
.tm-listings-cta .tm-strip-arrow {
  animation-delay: 0.25s;
}

.tm-listings-cta .tm-strip-cta-text {
  width: 0;
  opacity: 0;
  overflow: hidden;
  white-space: nowrap;
  animation: tm-cta-typewriter-listings 6.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) infinite,
    tm-cta-fade-loop 6.8s ease-in-out infinite;
  animation-delay: 0.25s;
}

.tm-listing-card-hover {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: grid;
  place-items: center;
  background: rgba(10, 18, 28, 0.24);
  opacity: 0;
  pointer-events: none;
  transition: opacity 260ms ease, backdrop-filter 260ms ease;
}

.tm-listing-hover-cta {
  min-width: 156px;
  text-align: center;
  font-size: 0.74rem;
  letter-spacing: 0.06em;
}

@media (hover: hover) and (pointer: fine) {
  .tm-listings-carousel .tm-listing-card:hover .tm-listing-card-image,
  .tm-listings-carousel .tm-listing-card:hover .tm-listing-card-body,
  .tm-listings-archive-grid .tm-listing-card:hover .tm-listing-card-image,
  .tm-listings-archive-grid .tm-listing-card:hover .tm-listing-card-body {
    filter: blur(2px);
  }

  .tm-listings-carousel .tm-listing-card:hover .tm-listing-card-image,
  .tm-listings-archive-grid .tm-listing-card:hover .tm-listing-card-image {
    transform: scale(1.04);
  }

  .tm-listings-carousel .tm-listing-card:hover .tm-listing-card-hover,
  .tm-listings-archive-grid .tm-listing-card:hover .tm-listing-card-hover {
    opacity: 1;
    backdrop-filter: blur(2px);
    pointer-events: auto;
  }
}

.tm-listings-archive-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.tm-listing-card--archive {
  box-shadow: 0 10px 24px rgba(10, 18, 28, 0.12);
}

.tm-listing-card--archive .tm-listing-card-location {
  color: #ffffff !important;
}

.tm-listings-archive-head {
  padding-top: 8.6rem;
  padding-bottom: 1.2rem;
}

.page-annunci .tm-header,
.post-type-archive-tm_listing .tm-header {
  background: #11161d;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}

.tm-listings-archive-title {
  margin: 0;
  color: #111111;
  font-size: clamp(2rem, 3.8vw, 2.8rem);
  line-height: 1.08;
}

.tm-listings-filters {
  margin-top: 1rem;
  display: flex;
  gap: 0.65rem;
  flex-wrap: wrap;
}

.tm-listings-filter input,
.tm-listings-filter select {
  min-height: 42px;
  border: 1px solid #d5dae0;
  border-radius: 10px;
  background: #ffffff;
  color: #111111;
  padding: 0 0.8rem;
  font-size: 0.9rem;
  outline: none;
}

.tm-listings-filter input {
  min-width: min(360px, 86vw);
}

.tm-listings-filter input:focus,
.tm-listings-filter select:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 2px rgba(214, 170, 71, 0.2);
}

.tm-listings-empty {
  margin: 1rem 0 0;
  color: #4a4a4a;
  font-size: 0.95rem;
}

/* Pagamento in Bitcoin — Risorsa 10 (photo-10): allineato al nastro USA (griglia, pesi, CTA+freccia) */
.tm-bitcoin {
  position: relative;
  padding: 3.05rem 0 3.35rem;
  background-color: #0a121c;
  background-image: linear-gradient(
      92deg,
      rgba(7, 23, 40, 0.88) 0%,
      rgba(7, 23, 40, 0.68) 44%,
      rgba(7, 23, 40, 0.36) 100%
    ),
    url("assets/images/photo-10.webp");
  background-size: cover, cover;
  background-position: center, 55% center;
  background-repeat: no-repeat;
}

.tm-bitcoin-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.35fr);
  gap: 2.5rem 3rem;
  align-items: center;
}

.tm-bitcoin-title {
  margin: 0;
  font-size: clamp(2.45rem, 5vw, 3.35rem);
  font-weight: 700;
  line-height: 1.06;
  letter-spacing: 0.02em;
  text-transform: none;
}

.tm-bitcoin-title-gold {
  color: var(--gold);
}

.tm-bitcoin-title-white {
  color: #ffffff;
}

.tm-bitcoin-lead {
  margin: 0 0 0.4rem;
  color: #ffffff;
  font-size: 1.06rem;
  font-weight: 700;
  line-height: 1.45;
}

.tm-bitcoin-body {
  margin: 0 0 1.1rem;
  color: #ffffff;
  font-size: 0.94rem;
  font-weight: 400;
  line-height: 1.55;
}

.tm-bitcoin-body strong {
  font-weight: 700;
  color: #ffffff;
}

.tm-bitcoin-cta {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem 0.75rem;
  margin-top: 0.15rem;
  color: var(--gold);
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
}

.tm-bitcoin-cta:hover {
  opacity: 0.88;
}

.tm-bitcoin-arrow {
  display: inline-block;
  width: 62px;
  height: 11px;
  background: url("assets/icons/arrow-gold.png") center/contain no-repeat;
  animation: tm-arrow-slide 2.6s ease-in-out infinite, tm-arrow-fade 2.6s ease-in-out infinite;
}

@keyframes tm-arrow-fade {
  0%,
  100% {
    opacity: 0.72;
  }
  50% {
    opacity: 1;
  }
}

.tm-bitcoin-arrow-line {
  display: none;
}

.tm-bitcoin-arrow-head {
  display: none;
}

/* Blocco citazione + logo 2 (reference: paragrafo, icona handshake, titolo bicolor su due righe) */
.tm-quote.tm-section--light {
  padding-top: 5.8rem;
  padding-bottom: 6.1rem;
}

.tm-quote-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.tm-quote-intro {
  max-width: min(49rem, 100%);
  margin: 0;
  padding: 0;
  color: #4a4a4a;
  font-size: clamp(1.02rem, 1.26vw, 1.2rem);
  font-weight: 400;
  line-height: 1.45;
}

.tm-quote-intro strong {
  font-weight: 700;
  color: #111111;
}

.tm-quote-logo {
  margin: 2.5rem 0 2rem;
  padding: 0;
  line-height: 0;
}

.tm-quote-logo img {
  width: auto;
  height: clamp(56px, 7.5vw, 72px);
  display: block;
  margin: 0 auto;
}

.tm-quote-headline {
  max-width: min(53rem, 100%);
  margin: 0;
  padding: 0;
  font-size: clamp(2.2rem, 3.6vw, 3.45rem);
  font-weight: 700;
  line-height: 1.09;
  letter-spacing: 0.01em;
  text-transform: none;
}

html.js-quote-reveal .tm-quote-headline:not(.is-revealed) {
  opacity: 0;
  transform: translateY(18px) scale(0.98);
  filter: blur(3px);
}

html.js-quote-reveal .tm-quote-headline.is-revealed {
  animation: tm-quote-headline-in 0.95s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes tm-quote-headline-in {
  0% {
    opacity: 0;
    transform: translateY(18px) scale(0.98);
    filter: blur(3px);
  }
  55% {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0.5px);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .tm-strip-arrow,
  .tm-panel-cta-arrow,
  .tm-bitcoin-arrow,
  .tm-strip-cta-text,
  .tm-panel-cta-text,
  .tm-bitcoin-cta-text {
    animation: none;
  }

  .tm-strip-cta-text,
  .tm-panel-cta-text,
  .tm-bitcoin-cta-text {
    width: auto;
    opacity: 1;
    border-right: 0;
  }

  .tm-hero--about h1,
  .tm-hero--about h1 em {
    animation: none;
    transform: none;
    filter: none;
    text-shadow: none;
  }

  html.js-quote-reveal .tm-quote-headline:not(.is-revealed),
  html.js-quote-reveal .tm-quote-headline.is-revealed {
    opacity: 1;
    transform: none;
    filter: none;
    animation: none !important;
  }
}

.tm-quote-headline-gold {
  color: var(--gold);
  font-style: italic;
}

.tm-quote-headline-dark {
  color: #111111;
}

.tm-quote-headline-line1,
.tm-quote-headline-line2 {
  display: inline-block;
  white-space: nowrap;
}

.tm-quote-headline-line2 {
  margin-top: 0.1em;
}

@media (max-width: 980px) {
  .tm-grid-3,
  .tm-grid-2 {
    grid-template-columns: 1fr;
  }

  .tm-icons-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .tm-footer-bottom {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
    gap: 1rem;
  }

  .tm-footer-address,
  .tm-footer-menu {
    justify-self: center;
    align-items: center;
    text-align: center;
  }

  .tm-footer .tm-footer-menu a {
    font-size: clamp(1.35rem, 6vw, 1.85rem);
  }

  .tm-footer-legal {
    flex-wrap: wrap;
  }

  .tm-footer-address-line {
    font-size: 0.78rem;
  }

  .tm-footer-legal a {
    font-size: 0.72rem;
  }

  .tm-about-grid,
  .tm-mission-vision-grid,
  .tm-approach-grid,
  .tm-why-trust-grid,
  .tm-services-intro-cta,
  .tm-services-intro-subcta,
  .tm-strip-inner,
  .tm-bitcoin-inner,
  .tm-split-panels {
    grid-template-columns: 1fr;
  }

  .tm-listing-card {
    flex-basis: calc((100% - 1rem) / 2);
  }

  .tm-listings .tm-container {
    width: min(1100px, 94vw);
  }

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

  .tm-spec {
    padding: 3.85rem 0 0;
  }

  .tm-spec-top {
    grid-template-columns: 1fr;
    padding-bottom: 2.35rem;
  }

  .tm-spec-grid-wrap {
    padding-top: 1.25rem;
    padding-bottom: 1.65rem;
  }

  .tm-spec-grid {
    grid-template-columns: 1fr;
    gap: 2.35rem;
  }

  .tm-spec-how {
    padding: 3.35rem 0 3.45rem;
    margin-top: 2.15rem;
  }

  .tm-spec-how-grid {
    grid-template-columns: 1fr;
    grid-template-rows: none;
    gap: 0.85rem;
  }

  .tm-spec-how-cta {
    grid-column: auto;
    grid-row: auto;
    min-height: 120px;
  }

  .tm-divers {
    padding: 3.85rem 0 0;
  }

  .tm-divers-top {
    grid-template-columns: 1fr;
    padding-bottom: 2.35rem;
  }

  .tm-divers-grid-wrap {
    padding-top: 1.25rem;
    padding-bottom: 1.65rem;
  }

  .tm-divers-grid {
    grid-template-columns: 1fr;
    gap: 2.35rem;
  }

  .tm-divers-how {
    padding: 3.35rem 0 3.45rem;
    margin-top: 2.15rem;
  }

  .tm-divers-how-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: auto;
    gap: 0.85rem;
  }

  .tm-divers-how-cta {
    grid-column: auto;
    grid-row: auto;
    min-height: 120px;
  }

  .tm-servizi-invest {
    padding: clamp(2.75rem, 6vw, 4rem) 0;
  }

  .tm-approach-header {
    margin-bottom: 2.15rem;
  }

  .tm-approach-item {
    padding: 0;
    margin-bottom: 2rem;
    display: grid;
    grid-template-columns: minmax(50px, auto) minmax(0, 1fr);
    column-gap: 0.95rem;
    align-items: start;
  }

  .tm-approach-item:last-child {
    margin-bottom: 0;
  }

  .tm-approach-icon {
    grid-column: 1;
    grid-row: 1 / 4;
    margin: 0;
    align-self: start;
  }

  .tm-approach-item-title,
  .tm-approach-item-line,
  .tm-approach-item-text {
    grid-column: 2;
  }

  .tm-approach-item-line {
    margin: 0.4rem 0 0.55rem;
    width: 2.45rem;
  }

  .tm-approach-item:not(:last-child)::after {
    top: auto;
    bottom: -1rem;
    left: 0;
    right: auto;
    width: 100%;
    height: 1px;
  }

  .tm-founders-title {
    margin-bottom: 1.7rem;
  }

  .tm-founder-card {
    max-width: 22rem;
    margin: 0 auto;
    width: 100%;
  }

  .tm-founder-media-wrap {
    aspect-ratio: 0.74 / 1;
    min-height: 520px;
  }

  .tm-why-trust {
    padding-top: 3.5rem;
    padding-bottom: 3.25rem;
  }

  .tm-why-trust-intro {
    max-width: 100%;
  }

  .tm-why-trust-item {
    max-width: 100%;
    display: grid;
    grid-template-columns: minmax(50px, auto) minmax(0, 1fr);
    column-gap: 0.95rem;
    align-items: start;
  }

  .tm-why-trust-icon {
    grid-column: 1;
    grid-row: 1 / 4;
    margin: 0;
    align-self: start;
  }

  .tm-why-trust-item-title {
    grid-column: 2;
    font-size: 1.4rem;
  }

  .tm-why-trust-item-line {
    grid-column: 2;
    margin: 0.4rem 0 0.55rem;
    width: 2.45rem;
  }

  .tm-why-trust-item-text {
    grid-column: 2;
    font-size: 0.98rem;
  }

  .tm-services-intro-copy {
    margin-top: 1.35rem;
  }

  .tm-services-intro-kicker {
    font-size: clamp(0.88rem, 3.8vw, 1rem);
  }

  .tm-services-intro-title {
    font-size: clamp(2.05rem, 7.2vw, 2.75rem);
  }

  .tm-services-intro-copy p {
    font-size: clamp(0.98rem, 4.2vw, 1.12rem);
    margin-bottom: 0.95rem;
  }

  .tm-services-intro-cta {
    margin-top: 1.45rem;
    gap: 0.85rem;
  }

  .tm-services-pill {
    min-height: 4.35rem;
  }

  .tm-services-pill span,
  .tm-services-pill strong {
    font-size: clamp(0.88rem, 4.2vw, 1rem);
  }

  .tm-services-intro-subcta {
    margin-top: 0.45rem;
    gap: 0.85rem;
  }

  .tm-services-intro-subcta p {
    font-size: clamp(0.95rem, 4.6vw, 1.08rem);
  }

  .tm-hero--about + .tm-section.tm-section--light .tm-container.tm-grid-2 {
    grid-template-columns: 1fr;
  }

  .tm-hero--about + .tm-section.tm-section--light .tm-kicker {
    margin-bottom: 1rem;
  }

  .tm-hero--about + .tm-section.tm-section--light .tm-kicker::after {
    width: 100%;
    max-width: 15rem;
  }

  .tm-hero--about + .tm-section.tm-section--light .tm-grid-2 > div:last-child p {
    font-size: 1rem;
  }

  .tm-mission-vision-label {
    margin-bottom: 1rem;
  }

  .tm-mission-vision-line {
    width: 100%;
    max-width: 15rem;
  }

  .tm-mission-vision-right p {
    font-size: 1rem;
  }

  .tm-quote-intro {
    max-width: 100%;
    padding: 0 0.75rem;
  }

  .tm-quote-headline {
    max-width: 100%;
    padding: 0 0.75rem;
    font-size: clamp(1.65rem, 7vw, 2.3rem);
    line-height: 1.14;
  }

  .tm-quote-headline-line1,
  .tm-quote-headline-line2 {
    white-space: normal;
  }

  .tm-panel--dark .tm-panel-inner,
  .tm-panel--gold .tm-panel-inner {
    padding-left: var(--tm-page-gutter);
    padding-right: var(--tm-page-gutter);
  }

  .tm-photo-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
    min-height: 0;
  }
  .tm-photo-grid img:nth-child(3) {
    grid-column: 2;
    grid-row: 1 / 3;
    min-height: 220px;
  }

  .tm-why-grid {
    grid-template-columns: 1fr;
  }

  .tm-why-item {
    border-right: none;
    border-bottom: 1px solid #e0e0e0;
    padding: 1.5rem 0;
  }

  .tm-why-item:first-child {
    padding-top: 0;
    padding-left: 0;
    padding-right: 0;
  }

  .tm-why-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
    padding-left: 0;
    padding-right: 0;
  }

  .tm-header-inner {
    position: relative;
    min-height: auto;
    flex-wrap: nowrap;
    padding-top: 0.6rem;
    padding-bottom: 0.65rem;
  }

  .tm-menu-toggle {
    display: inline-flex;
  }

  .tm-menu {
    display: none;
    position: absolute;
    top: calc(100% + 0.5rem);
    right: 0;
    width: min(13rem, 92vw);
    margin: 0;
    padding: 0.7rem 0.85rem;
    background: rgba(18, 24, 31, 0.96);
    border: 1px solid rgba(214, 170, 71, 0.55);
    box-shadow: 0 12px 26px rgba(0, 0, 0, 0.35);
    flex-direction: column;
    gap: 0.25rem;
    z-index: 150;
  }

  .tm-header.is-menu-open .tm-menu {
    display: flex;
  }

  .tm-menu a {
    display: block;
    padding: 0.45rem 0.35rem;
    font-size: 0.82rem;
    line-height: 1.25;
  }

  .tm-menu .tm-menu-mail-link {
    display: block;
    margin-top: 0.2rem;
    padding-top: 0.6rem;
    border-top: 1px solid rgba(214, 170, 71, 0.35);
    color: var(--gold);
    font-weight: 700;
  }

  .tm-about-grid > .tm-about-copy {
    order: 1;
  }

  .tm-about-grid > .tm-photo-grid {
    order: 2;
  }

  .tm-why-item {
    display: grid;
    grid-template-columns: minmax(52px, auto) minmax(0, 1fr);
    column-gap: 0.95rem;
    align-items: start;
  }

  .tm-why-item .tm-why-icon {
    grid-column: 1;
    grid-row: 1 / 3;
    margin: 0;
    align-self: start;
  }

  .tm-why-item .tm-why-card-title,
  .tm-why-section.tm-section--light .tm-why-card-desc {
    grid-column: 2;
  }

  .tm-why-item .tm-why-card-title {
    margin: 0 0 0.42rem;
  }

  .tm-why-section.tm-section--light .tm-why-card-desc {
    margin: 0;
  }
}

@media (max-width: 640px) {
  .tm-listings-filters {
    flex-direction: column;
  }

  .tm-listings-filter input,
  .tm-listings-filter select {
    width: 100%;
  }

  .tm-listings-archive-grid {
    grid-template-columns: 1fr;
  }

  .tm-founder-media-wrap {
    min-height: 460px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .tm-listing-card,
  .tm-listing-card.is-visible {
    opacity: 1;
    transform: none;
    filter: none;
    animation: none !important;
  }

  .tm-listing-card-image,
  .tm-listing-card-body,
  .tm-listing-card-hover {
    transition: none !important;
  }
}

@keyframes tm-cta-typewriter-listings {
  0%,
  16% {
    width: 0;
  }
  46%,
  64% {
    width: 24ch;
  }
  90%,
  100% {
    width: 0;
  }
}

/* Founders: 2 colonne su tablet / layout intermedio; 1 colonna solo su telefoni stretti */
@media (max-width: 1240px) and (min-width: 581px) {
  .tm-founders-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(0.85rem, 2.2vw, 1.35rem);
  }
}

@media (max-width: 580px) {
  .tm-founders-grid {
    grid-template-columns: 1fr;
  }
}
