/* TerraMove Child 2026 – Home (classi tmx-*). Valori dal sistema di design TerraMove.
   Il contenuto è nel modello Elementor "Home TerraMove 2026"; qui solo lo stile. */
:root {
	--tmx-ink: #0F172A; --tmx-ink-muted: #475569; --tmx-on-ink-muted: #CBD5E1;
	--tmx-surface: #FFFFFF; --tmx-alt: #F8FAFC; --tmx-border: #E2E8F0; --tmx-border-strong: #CBD5E1;
	--tmx-accent: #C2410C; --tmx-accent-hover: #9A3412; --tmx-bright: #EA580C; --tmx-light: #FB923C;
	--tmx-soft: #FFF1E8; --tmx-wash: #FFF7F2; --tmx-on-accent-muted: #FFEDD5;
	--tmx-px: clamp(20px, 5vw, 64px); --tmx-py: 56px;
}
.tmx { font-family: var(--tm-font, "Plus Jakarta Sans", system-ui, sans-serif); color: var(--tmx-ink); font-size: 17px; line-height: 1.6; }
.tmx *, .tmx *::before, .tmx *::after { box-sizing: border-box; }
.tmx img { display: block; max-width: 100%; }
.tmx a { color: var(--tmx-accent); }
.tmx a:hover { color: var(--tmx-accent-hover); }
.tmx ul, .tmx ol { list-style: none; margin: 0; padding: 0; }
.tmx h1, .tmx h2, .tmx h3, .tmx p, .tmx dl, .tmx dd { margin: 0; }
.tmx-alt { background: var(--tmx-alt); }
.tmx-wrap { max-width: 1280px; margin: 0 auto; padding: var(--tmx-py) var(--tmx-px); display: flex; flex-direction: column; gap: 24px; }
.tmx-wrap--tight { padding-bottom: 0; gap: 0; }
.tmx-wrap--top0 { gap: 32px; padding-top: 0; }
.tmx .tmx-h1 { font: 800 clamp(40px, 4.8vw, 68px)/1.04 var(--tm-font, inherit); letter-spacing: -.035em; color: inherit; }
.tmx .tmx-h1 em { font-style: normal; color: var(--tmx-light); }
.tmx .tmx-h2 { font: 800 clamp(30px, 3.2vw, 44px)/1.08 var(--tm-font, inherit); letter-spacing: -.03em; color: inherit; }
.tmx .tmx-h2--on-ink { color: #fff; }
.tmx .tmx-h3 { font: 700 20px/1.25 var(--tm-font, inherit); color: inherit; }
.tmx-lead { font-size: 20px; color: var(--tmx-on-ink-muted); max-width: 560px; }
.tmx-muted { color: var(--tmx-ink-muted); }
.tmx-small { font-size: 15px; color: var(--tmx-ink-muted); }
.tmx-small--muted { color: var(--tmx-ink-muted); }
.tmx-head { display: flex; flex-direction: column; gap: 8px; max-width: 640px; }
.tmx-head--split { max-width: none; flex-direction: row; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 16px; }
.tmx-head--split > div { display: flex; flex-direction: column; gap: 8px; max-width: 640px; }
.tmx-head__aside { max-width: 380px; }
.tmx-eyebrow { display: inline-flex; align-items: center; gap: 8px; font: 700 14px/1.4 var(--tm-font, inherit); letter-spacing: .08em; text-transform: uppercase; color: var(--tmx-accent); }
.tmx-eyebrow--dot::before { content: ""; width: 8px; height: 8px; border-radius: 999px; background: var(--tmx-bright); }
.tmx-eyebrow--muted { color: var(--tmx-ink-muted); font-size: 13px; }
.tmx-eyebrow--on-ink { color: #FDBA74; font-size: 13px; }
.tmx-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* Pulsanti */
.tmx .tmx-btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 54px; padding: 15px 24px; border-radius: 14px; border: 1px solid transparent; font: 700 17px/1.2 var(--tm-font, inherit); text-decoration: none; }
.tmx .tmx-btn--sm { min-height: 44px; padding: 11px 20px; border-radius: 12px; font-size: 16px; }
.tmx .tmx-btn--primary { background: var(--tmx-accent); color: #fff; }
.tmx .tmx-btn--primary:hover { background: var(--tmx-accent-hover); color: #fff; }
.tmx .tmx-btn--ghost { color: #fff; border-color: rgba(255,255,255,.35); }
.tmx .tmx-btn--ghost:hover { color: #fff; background: rgba(255,255,255,.08); }
.tmx .tmx-btn--dark { background: var(--tmx-ink); color: #fff; border-color: var(--tmx-ink); }
.tmx .tmx-btn--dark:hover { color: #fff; background: #1E293B; }
.tmx .tmx-btn--outline { background: #fff; color: var(--tmx-ink); border-color: var(--tmx-ink); }
.tmx .tmx-btn--outline:hover { color: var(--tmx-ink); background: var(--tmx-alt); }
.tmx .tmx-btn--light { background: #fff; color: var(--tmx-ink); font-weight: 800; min-height: 56px; padding: 16px 26px; }
.tmx .tmx-btn--light:hover { color: var(--tmx-ink); background: var(--tmx-alt); }
.tmx :focus-visible { outline: 3px solid var(--tmx-bright); outline-offset: 2px; }

/* Hero */
.tmx-hero-outer { padding: 24px clamp(12px, 3vw, 48px) 0; }
.tmx-hero { max-width: 1344px; margin: 0 auto; background: var(--tmx-ink); color: #fff; border-radius: 32px; overflow: hidden; }
.tmx-hero__in { padding: clamp(32px, 5vw, 72px); display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 480px), 1fr)); gap: 48px; align-items: center; }
.tmx-hero__copy { display: flex; flex-direction: column; gap: 22px; }
.tmx-tag { align-self: flex-start; font-size: 14px; font-weight: 600; color: #FED7AA; background: rgba(234,88,12,.16); border: 1px solid rgba(251,146,60,.35); padding: 6px 14px; border-radius: 999px; }
.tmx-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 6px; }
.tmx .tmx-chip { display: inline-flex; align-items: center; min-height: 44px; padding: 10px 16px; border-radius: 999px; font: 600 15px/1.2 var(--tm-font, inherit); text-decoration: none; color: #fff; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.2); }
.tmx .tmx-chip[aria-current] { background: #fff; color: var(--tmx-ink); border-color: #fff; font-weight: 700; }
.tmx-note { font-size: 14px; color: #94A3B8; }
.tmx-note strong { color: #E2E8F0; }
.tmx-hero__media { position: relative; }
.tmx-hero__media > img { width: 100%; aspect-ratio: 524 / 575; object-fit: cover; border-radius: 24px; }
.tmx-float { position: absolute; right: 16px; bottom: 16px; display: flex; align-items: center; gap: 12px; padding: 14px 18px; border-radius: 18px; background: #fff; color: var(--tmx-ink); box-shadow: 0 16px 40px rgba(2,6,23,.35); }
.tmx-float__icon { width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; border-radius: 12px; background: var(--tmx-soft); color: var(--tmx-accent); flex-shrink: 0; }
.tmx-float__txt { display: flex; flex-direction: column; line-height: 1.3; }
.tmx-float__txt strong { font-size: 16px; }
.tmx-float__txt span { font-size: 14px; color: var(--tmx-ink-muted); }
.tmx-scrim { position: absolute; left: 16px; top: 16px; background: rgba(15,23,42,.78); color: #fff; font-size: 13px; font-weight: 700; padding: 7px 12px; border-radius: 999px; }

/* Tariffe */
.tmx-grid { display: grid; gap: 16px; }
.tmx-grid--plans { grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); align-items: stretch; }
.tmx-grid--info { grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); gap: 12px; }
.tmx-grid--steps { grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); }
.tmx-plan { position: relative; display: flex; flex-direction: column; gap: 18px; padding: 28px; border: 1px solid var(--tmx-border); border-radius: 24px; background: #fff; }
.tmx-plan > div:first-of-type { display: flex; flex-direction: column; gap: 4px; }
.tmx-plan--featured { border: 2px solid var(--tmx-bright); background: var(--tmx-wash); }
.tmx-badge { position: absolute; top: -13px; left: 24px; background: var(--tmx-bright); color: #fff; font-size: 13px; font-weight: 700; padding: 4px 12px; border-radius: 999px; }
.tmx-price { display: flex; align-items: baseline; gap: 6px; }
.tmx-price strong { font: 800 52px/1 var(--tm-font, inherit); letter-spacing: -.03em; }
.tmx-price span { font-weight: 600; color: var(--tmx-ink-muted); }
.tmx-checks { padding-top: 18px; border-top: 1px solid var(--tmx-border); display: grid; gap: 10px; font-size: 16px; }
.tmx-checks li { display: flex; align-items: flex-start; gap: 10px; }
.tmx-checks svg { flex-shrink: 0; margin-top: 3px; color: var(--tmx-bright); }
.tmx-plan .tmx-btn { margin-top: auto; min-height: 52px; }
.tmx-info { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 16px; background: var(--tmx-alt); font-size: 15px; }
.tmx-info svg { flex-shrink: 0; }

/* Mosaico veicoli */
.tmx-bento { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.tmx-tile { position: relative; display: flex; flex-direction: column; border-radius: 24px; overflow: hidden; text-decoration: none; color: var(--tmx-ink); background: #fff; border: 1px solid var(--tmx-border); }
.tmx .tmx-tile:hover { color: var(--tmx-ink); }
.tmx-tile img { width: 100%; object-fit: cover; }
.tmx-tile__body { padding: 18px; display: flex; flex-direction: column; gap: 4px; }
.tmx-tile__title { font: 800 24px/1.15 var(--tm-font, inherit); letter-spacing: -.02em; }
.tmx-tile__title--sm { font-size: 19px; line-height: 1.2; letter-spacing: 0; }
.tmx-tile--big { grid-column: span 2; grid-row: span 2; min-height: 520px; justify-content: flex-end; color: #fff; background: var(--tmx-ink); border: 0; }
.tmx .tmx-tile--big:hover { color: #fff; }
.tmx-tile--big > img { position: absolute; inset: 0; height: 100%; }
.tmx-tile__panel { position: relative; margin: 16px; padding: 20px 22px; display: flex; flex-direction: column; gap: 6px; border-radius: 18px; background: rgba(15,23,42,.86); }
.tmx-tile__big { font: 800 28px/1.1 var(--tm-font, inherit); letter-spacing: -.02em; }
.tmx-tile__txt { font-size: 15px; color: var(--tmx-on-ink-muted); }
.tmx-tile--mid { grid-column: span 2; flex-direction: row; flex-wrap: wrap; }
.tmx-tile--mid > img { flex: 1 1 200px; min-height: 200px; max-height: 260px; }
.tmx-tile--mid .tmx-tile__body { flex: 1 1 220px; padding: 22px; justify-content: center; gap: 6px; }
.tmx-tile--small > img { height: 130px; }
.tmx-tile--accent { justify-content: space-between; gap: 16px; padding: 22px; color: #fff; background: var(--tmx-accent); border: 0; }
.tmx .tmx-tile--accent:hover { color: #fff; }
.tmx-tile--accent .tmx-small { color: var(--tmx-on-accent-muted); font-size: 14px; }
.tmx-tile__body--flat { padding: 0; }


/* Colori dei riquadri-link (devono battere `.tmx a`) */
.tmx a.tmx-tile { color: var(--tmx-ink); }
.tmx a.tmx-tile--big, .tmx a.tmx-tile--accent { color: #fff; }
.tmx a.tmx-tile:hover { color: inherit; }

/* Passi */
.tmx-step { display: flex; flex-direction: column; gap: 10px; padding: 26px; background: #fff; border: 1px solid var(--tmx-border); border-radius: 24px; }
.tmx-step__n { width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; border-radius: 12px; background: var(--tmx-ink); color: #fff; font: 800 15px/1 var(--tm-font, inherit); }
.tmx-step__t { font: 800 20px/1.25 var(--tm-font, inherit); }

/* Contatti */
.tmx-contacts { display: grid; grid-template-columns: minmax(0, 720px); gap: 40px; }
.tmx-contacts__col { display: flex; flex-direction: column; gap: 22px; }
.tmx-place { display: flex; flex-direction: column; gap: 4px; padding: 20px 22px; border: 1px solid var(--tmx-border); border-radius: 20px; }
.tmx-place--main { border: 2px solid var(--tmx-bright); }
.tmx-place__name { font-weight: 800; font-size: 20px; }
.tmx-place__name--sm { font-size: 16px; font-weight: 700; }
.tmx-dl { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 16px; }
.tmx-dl dt { font-size: 14px; color: var(--tmx-ink-muted); }
.tmx-dl dd { font-weight: 700; }
.tmx-map { min-height: 380px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; padding: 24px; text-align: center; border-radius: 24px; background: #F1F5F9; border: 1px solid var(--tmx-border); color: #334155; }

/* Banda finale */
.tmx-cta-outer { padding: 0 clamp(12px, 3vw, 48px) var(--tmx-py); }
.tmx-cta { max-width: 1280px; margin: 0 auto; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px 24px; padding: 20px 28px; border-radius: 20px; background: var(--tmx-accent); color: #fff; }
.tmx-cta > div { display: flex; flex-direction: column; gap: 2px; max-width: 640px; }
.tmx .tmx-cta .tmx-h2 { font-size: clamp(20px, 2.4vw, 26px); line-height: 1.25; }
.tmx .tmx-cta .tmx-btn--light { min-height: 48px; padding: 12px 22px; }
.tmx-cta__sub { color: var(--tmx-on-accent-muted); }

/* Pagina Preventivi (area riservata) */
.tmx-prev { padding: 32px clamp(12px, 3vw, 48px) var(--tmx-py); }
.tmx-prev__panel { max-width: 1344px; margin: 0 auto; border-radius: 32px; overflow: hidden; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 460px), 1fr)); border: 1px solid var(--tmx-border); }
.tmx-prev__info { background: var(--tmx-ink); color: #fff; padding: clamp(36px, 5vw, 72px); display: flex; flex-direction: column; gap: 22px; justify-content: center; }
.tmx-prev__crumb { display: flex; gap: 8px; align-items: center; font-size: 14px; color: #94A3B8; }
.tmx .tmx-prev__crumb a { color: var(--tmx-on-ink-muted); text-decoration: none; }
.tmx-prev .tmx-h1 { font-size: clamp(38px, 4.4vw, 60px); line-height: 1.06; letter-spacing: -.03em; }
.tmx-prev__list { display: grid; gap: 12px; }
.tmx-prev__list li { display: flex; gap: 12px; align-items: center; }
.tmx-prev__ico { flex-shrink: 0; width: 36px; height: 36px; display: flex; align-items: center; justify-content: center; border-radius: 10px; background: rgba(255,255,255,.08); color: var(--tmx-light); }
.tmx-prev__client { margin-top: 8px; padding: 18px 20px; display: flex; flex-wrap: wrap; gap: 12px 20px; align-items: center; justify-content: space-between; border-radius: 16px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); }
.tmx-prev__client > span { display: flex; flex-direction: column; line-height: 1.35; }
.tmx-prev__client small { font-size: 15px; color: var(--tmx-on-ink-muted); }
.tmx .tmx-prev__client .tmx-btn { min-height: 44px; padding: 11px 18px; border-radius: 12px; font-size: 16px; background: #fff; color: var(--tmx-ink); }
.tmx-prev__plugin { background: #F4F4F2; display: flex; align-items: center; justify-content: center; padding: 48px 32px; }
.tmx-prev__plugin > * { width: 100%; }
.tmx-prev__note { max-width: 1344px; margin: 20px auto 0; font-size: 15px; color: var(--tmx-ink-muted); text-align: center; }

/* Volantini promo */
.tmx-head--split > .tmx-flyers__nav { max-width: none; flex-direction: row; gap: 8px; }
.tmx .tmx-flyers__btn { width: 48px; height: 48px; display: flex; align-items: center; justify-content: center; padding: 0; border-radius: 999px; border: 1px solid var(--tmx-border-strong); background: #fff; color: var(--tmx-ink); cursor: pointer; }
.tmx .tmx-flyers__btn--next { background: var(--tmx-ink); color: #fff; border: 0; }
.tmx-flyers { max-width: 1280px; margin: 0 auto; padding: 0 0 var(--tmx-py); }
.tmx-flyers__track { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 28px var(--tmx-px) 12px; }
.tmx-flyer { flex: 0 0 290px; scroll-snap-align: start; display: flex; flex-direction: column; gap: 12px; }
.tmx a.tmx-flyer__img { display: block; line-height: 0; border-radius: 20px; overflow: hidden; border: 1px solid var(--tmx-border); box-shadow: 0 12px 30px rgba(15,23,42,.14); }
.tmx-flyer__img img { width: 100%; aspect-ratio: 2 / 3; object-fit: cover; object-position: top; }
.tmx-flyer__meta { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 0 4px; }
.tmx-flyer__meta > div { display: flex; flex-direction: column; min-width: 0; }
.tmx-flyer__title { font-weight: 700; font-size: 16px; line-height: 1.3; }
.tmx-flyer__sub { font-size: 14px; color: var(--tmx-ink-muted); }
.tmx a.tmx-flyer__wa { flex-shrink: 0; width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; border-radius: 12px; background: var(--tmx-soft); color: var(--tmx-accent); }

/* Telefono */
@media (max-width: 720px) {
	:root { --tmx-py: 36px; }
	.tmx-hero-outer { padding: 12px 12px 0; }
	.tmx-hero { border-radius: 24px; }
	.tmx-hero__in { padding: 32px 20px 20px; }
	.tmx-lead { font-size: 18px; }
	.tmx-bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.tmx-tile--big { grid-row: span 1; min-height: 360px; }
	.tmx-tile--small { grid-column: span 2; }
	.tmx-cta { padding: 20px 20px; }
	.tmx-flyers__nav { display: none; }
	.tmx-prev { padding: 12px 12px var(--tmx-py); }
	.tmx-prev__panel { border-radius: 24px; }
	.tmx-prev__info { padding: 32px 22px; }
	.tmx-prev__plugin { padding: 8px 0; }
	.tmx-flyer { flex-basis: 250px; }
	.tmx-cta-outer { padding-left: 12px; padding-right: 12px; }
}

#tm-home { display: block; }
.page-template-page-tm-home-php .entry-header, .page-template-page-tm-home-php .site-content > .ast-container { max-width: none; padding: 0; }
