/* ==========================================================================
   TigiTAG – stili del tema child
   Mobile first. Tutti i colori e le misure passano dalle variabili qui sotto.
   Prefisso delle classi: .tt-
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Font Nunito self-hosted (licenza SIL OFL 1.1, vedi assets/fonts/OFL.txt)
   -------------------------------------------------------------------------- */
@font-face {
	font-family: "Nunito";
	font-style: normal;
	font-weight: 400;
	font-display: swap;
	src: url("../fonts/nunito-latin-400-normal.woff2") format("woff2");
}
@font-face {
	font-family: "Nunito";
	font-style: normal;
	font-weight: 600;
	font-display: swap;
	src: url("../fonts/nunito-latin-600-normal.woff2") format("woff2");
}
@font-face {
	font-family: "Nunito";
	font-style: normal;
	font-weight: 700;
	font-display: swap;
	src: url("../fonts/nunito-latin-700-normal.woff2") format("woff2");
}
@font-face {
	font-family: "Nunito";
	font-style: normal;
	font-weight: 800;
	font-display: swap;
	src: url("../fonts/nunito-latin-800-normal.woff2") format("woff2");
}
@font-face {
	font-family: "Nunito";
	font-style: normal;
	font-weight: 900;
	font-display: swap;
	src: url("../fonts/nunito-latin-900-normal.woff2") format("woff2");
}

/* --------------------------------------------------------------------------
   2. Design token
   -------------------------------------------------------------------------- */
:root {
	/* Colori principali (da CLAUDE.md) */
	--ink: #1D2B33;
	--ink-2: #2A3D47;
	--ground: #FFFCF5;
	--white: #FFFFFF;
	--cyan: #2EC4D6;
	--cyan-text: #00798A;
	--cyan-pale: #E0F6F9;
	--yellow: #FFC83D;
	--yellow-pale: #FFF4D1;
	--orange: #FF9A3D;
	--orange-logo: #FFB23D;
	--pink: #E5509A;
	--pink-pale: #FDE4F0;
	--green: #6CBF3C;
	--green-pale: #E6F5DA;
	--emergency: #C8431B;
	--muted: #4A5A63;

	/* Varianti presenti nel design */
	--ink-phone: #0F181D;        /* cornice del telefono */
	--chat-bg: #EAF6F8;          /* sfondo della chat */
	--body-strong: #2D3E47;      /* testo corrente un po' più scuro di --muted */
	--cyan-light: #7EDCE6;       /* «Tigi» del logo su scuro */
	--cyan-on-dark: #6FE0EC;     /* etichette ciano su scuro */
	--pink-light: #FF7FBE;       /* «dopo» nel titolo su scuro */
	--pink-mid: #F07AB5;         /* card «Circuiti e comitati» */
	--orange-pale: #FFE9D6;
	--on-dark: #C8D5DB;          /* testo secondario su scuro */
	--on-dark-2: #DCE6EA;        /* link del menu su scuro */
	--on-dark-3: #E4ECEF;        /* elenchi su scuro */
	--line-on-dark: #3A4E59;     /* filetti su scuro */

	/* Testi scuri sui fondi pastello */
	--yellow-text: #6B4600;
	--orange-text: #A84A00;
	--cyan-dark: #005F6B;
	--pink-text: #A3246A;
	--pink-dark: #8E1F5C;
	--green-text: #3B7A1A;
	--green-dark: #2F6614;

	/* Tipografia */
	--font: "Nunito", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	--fs-small: 1rem;            /* 16px: solo etichette e note, mai testo corrente */
	--fs-body: 1.0625rem;        /* 17px: minimo per il testo corrente */
	--fs-lead: clamp(1.125rem, 1rem + 0.5vw, 1.25rem);    /* 18 → 20px */
	--fs-h3: clamp(1.25rem, 1.1rem + 0.6vw, 1.75rem);     /* 20 → 28px */
	--fs-h2: clamp(2rem, 1.4rem + 2.4vw, 2.875rem);       /* 32 → 46px */
	--fs-h1: clamp(2.375rem, 1.5rem + 3.6vw, 3.75rem);    /* 38 → 60px */
	--lh-body: 1.55;
	--lh-title: 1.08;

	/* Forme */
	--radius-pill: 999px;
	--radius-card-sm: 22px;
	--radius-card: 26px;
	--radius-card-lg: 32px;
	--radius-box: 40px;
	--radius-section: 56px;

	/* Spazi e larghezze */
	--container: 1200px;
	--gutter: 16px;              /* margine laterale su telefono */
	--section-y: 64px;
	--btn-height: 52px;
	--focus-ring: 3px solid var(--cyan-text);
}

@media (min-width: 768px) {
	:root {
		--gutter: 24px;
		--section-y: 88px;
	}
}

/* --------------------------------------------------------------------------
   3. Base
   -------------------------------------------------------------------------- */
body {
	background: var(--ground);
	color: var(--ink);
	font-family: var(--font);
	font-size: var(--fs-body);
	font-weight: 400;
	line-height: var(--lh-body);
	-webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4 {
	font-family: var(--font);
	font-weight: 900;
	line-height: var(--lh-title);
	color: inherit;
}

a {
	color: var(--cyan-text);
}

a:hover {
	color: var(--ink);
}

:focus-visible {
	outline: var(--focus-ring);
	outline-offset: 3px;
}

@media (prefers-reduced-motion: no-preference) {
	html {
		scroll-behavior: smooth;
	}
}

/* --------------------------------------------------------------------------
   4. Mattoncini comuni
   -------------------------------------------------------------------------- */
.tt-container {
	max-width: var(--container);
	margin-inline: auto;
	padding-inline: var(--gutter);
}

/* Pulsanti a pillola, alti almeno 52px */
.tt-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: var(--btn-height);
	padding: 14px 28px;
	border-radius: var(--radius-pill);
	font-family: var(--font);
	font-size: var(--fs-body);
	font-weight: 900;
	line-height: 1.2;
	text-align: center;
	text-decoration: none;
	box-sizing: border-box;
}

.tt-btn--yellow { background: var(--yellow); color: var(--ink); }
.tt-btn--cyan   { background: var(--cyan);   color: var(--ink); }
.tt-btn--ink    { background: var(--ink);    color: var(--white); }
.tt-btn--white  { background: var(--white);  color: var(--ink); }

.tt-btn:hover,
.tt-btn:focus-visible {
	filter: brightness(1.06);
	color: inherit;
}
.tt-btn--ink:hover,
.tt-btn--ink:focus-visible { color: var(--white); }
.tt-btn--yellow:hover,
.tt-btn--cyan:hover,
.tt-btn--white:hover { color: var(--ink); }

/* Etichetta sopra i titoli di sezione */
.tt-eyebrow {
	font-size: var(--fs-small);
	font-weight: 900;
	letter-spacing: 1px;
	text-transform: uppercase;
}

/* Stelline decorative a 4 punte */
.tt-star {
	position: absolute;
	pointer-events: none;
}

/* Su fondo scuro il contorno del focus è giallo, per vedersi bene */
.tt-header :focus-visible,
.tt-footer :focus-visible {
	outline-color: var(--yellow);
}

/* Scritta «TigiTAG» bicolore (solo su fondo scuro) */
.tt-wordmark__tigi { color: var(--cyan-light); }
.tt-wordmark__tag  { color: var(--orange-logo); }

/* ==========================================================================
   5. Header
   ========================================================================== */
.tt-header {
	position: relative;
	z-index: 10;
	background: var(--ink);
	color: var(--white);
}

/* Fuori dalla home l'header si chiude con gli angoli arrotondati;
   in home continua nel blocco scuro dell'hero. */
body:not(.home):not(.tt-hero-top) .tt-header {
	border-radius: 0 0 var(--radius-box) var(--radius-box);
}

.tt-header__bar {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 12px 16px;
	padding-block: 16px;
}

.tt-logo {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	min-height: 48px;
	font-size: 26px;
	font-weight: 900;
	line-height: 1;
	letter-spacing: -0.5px;
	text-decoration: none;
}

.tt-logo__img {
	width: 46px;
	height: 46px;
	border-radius: var(--radius-pill);
	background: var(--white);
	object-fit: cover;
}

/* Pulsante «Menu»: visibile solo su telefono e solo con JavaScript attivo */
.tt-menu-toggle {
	display: none;
}

.tt-js .tt-menu-toggle {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	min-height: var(--btn-height);
	margin: 0;
	padding: 10px 18px;
	border: 0;
	border-radius: var(--radius-pill);
	background: var(--ink-2);
	color: var(--white);
	font-family: var(--font);
	font-size: var(--fs-body);
	font-weight: 800;
	line-height: 1;
	cursor: pointer;
}

.tt-js .tt-menu-toggle:hover,
.tt-js .tt-menu-toggle:focus {
	background: var(--line-on-dark);
	color: var(--white);
}

.tt-menu-toggle__close,
.tt-header.is-open .tt-menu-toggle__open {
	display: none;
}

.tt-header.is-open .tt-menu-toggle__close {
	display: block;
}

/* Pannello del menu (telefono) */
.tt-header__menu {
	display: flex;
	flex-basis: 100%;
	flex-direction: column;
	gap: 16px;
	padding-bottom: 8px;
}

.tt-js .tt-header:not(.is-open) .tt-header__menu {
	display: none;
}

.tt-nav__list {
	display: flex;
	flex-direction: column;
	margin: 0;
	padding: 0;
	list-style: none;
}

.tt-nav__link {
	display: flex;
	align-items: center;
	min-height: var(--btn-height);
	border-bottom: 1px solid var(--line-on-dark);
	color: var(--on-dark-2);
	font-size: 1.125rem;
	font-weight: 800;
	text-decoration: none;
}

.tt-nav__link:hover,
.tt-nav__link:focus-visible {
	color: var(--white);
	text-decoration: underline;
	text-underline-offset: 6px;
}

.tt-header__cta {
	width: 100%;
}

/* Computer: menu in riga */
@media (min-width: 1200px) {
	.tt-header__bar {
		flex-wrap: nowrap;
		gap: 24px;
		padding-block: 20px;
	}

	.tt-logo {
		font-size: 30px;
	}

	.tt-js .tt-menu-toggle {
		display: none;
	}

	.tt-header__menu,
	.tt-js .tt-header:not(.is-open) .tt-header__menu {
		display: flex;
		flex: 1 1 auto;
		flex-direction: row;
		align-items: center;
		justify-content: space-between;
		gap: 24px;
		padding: 0;
	}

	.tt-nav {
		margin-inline: auto;
	}

	.tt-nav__list {
		flex-direction: row;
		gap: 22px;
	}

	.tt-nav__link {
		min-height: 44px;
		border-bottom: 0;
		font-size: var(--fs-body);
	}

	.tt-header__cta {
		width: auto;
		padding-inline: 22px;
	}
}

/* ==========================================================================
   6. Footer
   ========================================================================== */
.tt-footer {
	padding: 56px 0 40px;
	background: var(--ink);
	color: var(--on-dark);
	font-size: var(--fs-body);
}

/* Fuori dalla home il footer si apre con gli angoli arrotondati;
   in home continua il blocco scuro di FAQ e contatti. */
body:not(.home):not(.tt-dark-end) .tt-footer {
	margin-top: var(--section-y);
	border-radius: var(--radius-section) var(--radius-section) 0 0;
}

.tt-footer p {
	margin: 0;
}

.tt-footer__cols {
	display: grid;
	grid-template-columns: 1fr;
	gap: 32px;
}

@media (min-width: 640px) {
	.tt-footer__cols {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (min-width: 1024px) {
	.tt-footer__cols {
		grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
		gap: 40px;
	}
}

.tt-footer__wordmark {
	display: inline-block;
	margin-bottom: 10px;
	font-size: 26px;
	font-weight: 900;
	line-height: 1;
}

.tt-footer__title {
	margin: 0 0 6px;
	color: var(--white);
	font-size: var(--fs-body);
	font-weight: 900;
	line-height: 1.3;
	letter-spacing: 0;
}

.tt-footer__list {
	display: flex;
	flex-direction: column;
	margin: 0;
	padding: 0;
	list-style: none;
}

.tt-footer__list a,
.tt-footer__list span {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	color: var(--on-dark);
	text-decoration: none;
}

.tt-footer__list a:hover,
.tt-footer__list a:focus-visible {
	color: var(--white);
	text-decoration: underline;
	text-underline-offset: 4px;
}

.tt-footer__address {
	margin: 0 0 6px;
	font-style: normal;
	line-height: 1.6;
}

.tt-footer .tt-footer__bottom {
	margin-top: 36px;
	padding-top: 20px;
	border-top: 1px solid var(--line-on-dark);
	font-size: var(--fs-body);
}

.tt-footer__wordmark-sm {
	font-style: italic;
	font-weight: 900;
}

.tt-footer__wordmark-sm .tt-wordmark__tag {
	color: var(--cyan-light);
}

.tt-footer__company {
	color: var(--orange-logo);
	font-style: italic;
	font-weight: 900;
}

/* ==========================================================================
   7. Home – integrazione con GeneratePress
   ========================================================================== */
.home .site-content,
.tt-hero-top .site-content {
	display: block;
	padding: 0;
}

.tt-home {
	width: 100%;
	overflow-x: clip;
}

/* Azzeramento dei margini che GeneratePress dà a titoli, paragrafi ed elenchi */
.tt-home :where(h1, h2, h3, p, ul, ol, dl, dd, figure, blockquote) {
	margin: 0;
}

.tt-home :where(ul, ol) {
	padding: 0;
	list-style: none;
}

.tt-home strong {
	font-weight: 800;
}

/* ==========================================================================
   8. Home – mattoncini delle sezioni
   ========================================================================== */
.tt-section {
	position: relative;
	padding-block: var(--section-y);
}

/* Sezione «a pannello» con fondo pieno e angoli arrotondati */
.tt-section--panel {
	margin-inline: 8px;
	border-radius: var(--radius-card-lg);
	background: var(--white);
	overflow: hidden;
}

.tt-section--cyan {
	background: var(--cyan-pale);
}

@media (min-width: 768px) {
	.tt-section--panel {
		margin-inline: 12px;
		border-radius: var(--radius-section);
	}
}

.tt-section__head {
	display: flex;
	flex-direction: column;
	gap: 14px;
	max-width: 800px;
	margin-bottom: 40px;
}

.tt-h2 {
	font-size: var(--fs-h2);
	letter-spacing: -1px;
}

.tt-h2--md { font-size: clamp(1.875rem, 1.4rem + 2vw, 2.625rem); }   /* 30 → 42px */
.tt-h2--sm { font-size: clamp(1.75rem, 1.4rem + 1.5vw, 2.5rem); line-height: 1.12; }  /* 28 → 40px */

.tt-lead {
	color: var(--muted);
	font-size: var(--fs-lead);
}

.tt-lead--strong {
	color: var(--body-strong);
}

/* Etichette sopra i titoli */
.tt-eyebrow--orange    { color: var(--orange-text); }
.tt-eyebrow--cyan      { color: var(--cyan-text); }
.tt-eyebrow--cyan-dark { color: var(--cyan-dark); }
.tt-eyebrow--pink      { color: var(--pink-text); }
.tt-eyebrow--green     { color: var(--green-text); }
.tt-eyebrow--green-dark { color: var(--green-dark); }
.tt-eyebrow--on-dark   { color: var(--cyan-on-dark); }
.tt-eyebrow--yellow    { color: var(--yellow); }

/* Etichetta a pillola (es. «Sempre aggiornato») */
.tt-pill-label {
	align-self: flex-start;
	padding: 7px 16px;
	border-radius: var(--radius-pill);
	font-size: var(--fs-small);
	font-weight: 900;
	letter-spacing: 0.5px;
	text-transform: uppercase;
}

.tt-pill-label--green  { background: var(--green-pale);  color: var(--green-dark); }
.tt-pill-label--yellow { background: var(--yellow-pale); color: var(--yellow-text); }

/* Fila di pulsanti */
.tt-btn-row {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
}

@media (max-width: 479px) {
	.tt-btn-row .tt-btn {
		width: 100%;
	}
}

/* Pillole informative */
.tt-chips {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.tt-chip {
	padding: 7px 14px;
	border-radius: var(--radius-pill);
	font-size: var(--fs-small);
	font-weight: 800;
	line-height: 1.3;
}

.tt-chip--yellow { background: var(--yellow-pale); color: var(--yellow-text); }
.tt-chip--cyan   { background: var(--cyan-pale);   color: var(--cyan-dark); }
.tt-chip--pink   { background: var(--pink-pale);   color: var(--pink-dark); }
.tt-chip--green  { background: var(--green-pale);  color: var(--green-dark); }

/* Riquadro colorato con testo e pulsante (Partner, Contatti) */
.tt-box {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 28px;
	padding: 32px 24px;
	border-radius: var(--radius-card-lg);
}

@media (min-width: 768px) {
	.tt-box {
		gap: 32px;
		padding: 48px;
		border-radius: var(--radius-box);
	}
}

.tt-box--green  { background: var(--green-pale); }
.tt-box--yellow { background: var(--yellow); color: var(--ink); }

.tt-box__text {
	display: flex;
	flex: 999 1 480px;
	flex-direction: column;
	gap: 14px;
	min-width: 0;
}

.tt-box__lead {
	color: var(--green-dark);
	font-size: 1.125rem;
}

/* Stelline: nascoste sugli schermi piccoli, dove disturberebbero il testo */
.tt-star {
	display: none;
}

@media (min-width: 768px) {
	.tt-star {
		display: block;
	}
}

/* ==========================================================================
   9. Illustrazioni del telefono (TigiBOT)
   ========================================================================== */
.tt-phone {
	width: 100%;
	max-width: 360px;
	padding: 10px;
	border-radius: 46px;
	background: var(--ink-phone);
	box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
	box-sizing: border-box;
}

.tt-phone__screen {
	display: flex;
	flex-direction: column;
	overflow: hidden;
	border-radius: 38px;
	background: var(--chat-bg);
	color: var(--ink);
	font-size: 14px;
	line-height: 1.4;
}

.tt-phone--sm {
	max-width: 300px;
	padding: 9px;
	border-radius: 40px;
	box-shadow: 0 20px 50px rgba(29, 43, 51, 0.25);
}

.tt-phone--sm .tt-phone__screen {
	height: 470px;
	border-radius: 32px;
	font-size: 13px;
}

.tt-phone__top {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 22px 18px 18px;
	border-radius: 0 0 26px 26px;
	background: var(--ink);
	color: var(--white);
}

.tt-phone--sm .tt-phone__top {
	padding: 18px 14px 14px;
	border-radius: 0 0 22px 22px;
}

.tt-phone__titles {
	display: flex;
	flex: 1;
	flex-direction: column;
	align-items: flex-start;
	gap: 6px;
	min-width: 0;
}

.tt-phone__brand {
	font-size: 22px;
	font-weight: 900;
	line-height: 1;
}

.tt-phone--sm .tt-phone__brand { font-size: 19px; }

.tt-phone__tigi { color: var(--white); }
.tt-phone__bot  { color: var(--cyan); }

.tt-phone__event {
	padding: 6px 12px;
	border-radius: 14px;
	background: var(--ink-2);
	color: var(--cyan);
	font-size: 11px;
	font-weight: 800;
	letter-spacing: 0.3px;
}

.tt-phone--sm .tt-phone__event {
	padding: 5px 10px;
	font-size: 10px;
}

.tt-phone__avatar {
	width: 48px;
	height: 48px;
	border-radius: var(--radius-pill);
	background: var(--white);
}

.tt-chat {
	display: flex;
	flex-direction: column;
	gap: 10px;
	padding: 14px 12px;
}

.tt-phone--sm .tt-chat {
	gap: 8px;
	padding: 12px;
}

.tt-bubble {
	align-self: flex-start;
	max-width: 88%;
	padding: 10px 14px;
	border-radius: 18px 18px 18px 4px;
	background: var(--white);
}

.tt-bubble--user {
	align-self: flex-end;
	max-width: 85%;
	border-radius: 18px 18px 4px 18px;
	background: var(--cyan);
	color: var(--ink);
	font-weight: 700;
}

.tt-phone--sm .tt-bubble {
	padding: 9px 12px;
	border-radius: 16px 16px 16px 4px;
}

.tt-phone--sm .tt-bubble--user {
	border-radius: 16px 16px 4px 16px;
}

.tt-quick {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	max-width: 92%;
	padding: 10px;
}

.tt-quick--column {
	flex-direction: column;
	align-items: flex-start;
}

.tt-quick__btn {
	padding: 7px 12px;
	border-radius: var(--radius-pill);
	font-size: 13px;
	font-weight: 800;
}

.tt-quick__btn--programma { background: var(--cyan-pale);  color: var(--cyan-text); }
.tt-quick__btn--poi       { background: var(--pink-pale);  color: var(--pink-text); }
.tt-quick__btn--contatti  { background: var(--green-pale); color: var(--green-text); }
.tt-quick__btn--sos       { background: var(--emergency);  color: var(--white); }

.tt-poi {
	display: flex;
	flex-direction: column;
	gap: 10px;
	padding: 11px 13px;
}

.tt-poi__link {
	color: var(--cyan-text);
	font-weight: 800;
	text-decoration: underline;
}

.tt-phone__input {
	display: flex;
	align-items: center;
	gap: 8px;
	margin-top: auto;
	padding: 10px 12px;
	border-top: 1px solid #DDE9EC;
	background: var(--white);
}

.tt-phone__field {
	flex: 1;
	padding: 10px 14px;
	border: 1px solid #CFDDE1;
	border-radius: var(--radius-pill);
	color: #5A6B74;
	font-size: 13px;
}

.tt-phone__send {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 42px;
	height: 42px;
	border-radius: var(--radius-pill);
	background: var(--cyan);
	color: var(--ink);
}

.tt-phone__disclaimer {
	padding: 0 12px 14px;
	background: var(--white);
	color: #5A6B74;
	font-size: 11px;
	text-align: center;
}

/* ==========================================================================
   10. Hero
   ========================================================================== */
.tt-hero-wrap {
	position: relative;
	overflow: hidden;
	border-radius: 0 0 var(--radius-box) var(--radius-box);
	background: var(--ink);
	color: var(--white);
}

@media (min-width: 768px) {
	.tt-hero-wrap {
		border-radius: 0 0 var(--radius-section) var(--radius-section);
	}
}

.tt-hero {
	position: relative;
	padding: 24px 0 72px;
}

.tt-hero__grid {
	display: flex;
	flex-direction: column;
	gap: 48px;
}

.tt-hero__text {
	display: flex;
	flex-direction: column;
	gap: 24px;
	min-width: 0;
}

.tt-hero__badge {
	align-self: flex-start;
	padding: 8px 16px;
	border-radius: var(--radius-pill);
	background: var(--ink-2);
	color: var(--yellow);
	font-size: var(--fs-small);
	font-weight: 900;
	letter-spacing: 0.5px;
	text-transform: uppercase;
}

.tt-hero__title {
	font-size: var(--fs-h1);
	line-height: 1.06;
	letter-spacing: -1.5px;
}

.tt-hl-prima   { color: var(--yellow); }
.tt-hl-durante { color: var(--cyan); }
.tt-hl-dopo    { color: var(--pink-light); }

.tt-hero__lead {
	max-width: 620px;
	color: var(--on-dark);
	font-size: var(--fs-lead);
}

.tt-hero .tt-chips {
	padding-top: 6px;
}

.tt-hero__visual {
	display: flex;
	justify-content: center;
}

@media (min-width: 1024px) {
	.tt-hero {
		padding: 40px 0 104px;
	}

	.tt-hero__grid {
		flex-direction: row;
		align-items: center;
		gap: 56px;
	}

	.tt-hero__text {
		flex: 1 1 auto;
	}

	.tt-hero__visual {
		flex: 0 0 360px;
	}
}

.tt-hero__star-1 { left: 4%;   top: 40px; }
.tt-hero__star-2 { left: 46%;  top: 10px; }
.tt-hero__star-3 { right: 5%;  top: 90px; }
.tt-hero__star-4 { right: 30%; bottom: 70px; }
.tt-hero__star-5 { left: 12%;  bottom: 90px; }

/* ==========================================================================
   11. Prima, durante, dopo
   ========================================================================== */
.tt-moments {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr));
	gap: 24px;
}

.tt-moment {
	display: flex;
	flex-direction: column;
	gap: 18px;
	padding: 28px 22px;
	border-radius: var(--radius-card-lg);
	background: var(--m-bg);
}

@media (min-width: 768px) {
	.tt-moment {
		padding: 32px;
	}
}

.tt-moment--prima {
	--m-bg: var(--yellow-pale);
	--m-tag-bg: var(--yellow);
	--m-tag-fg: var(--ink);
	--m-label: var(--yellow-text);
	--m-text: #4A3A10;
	--m-dash: #F2D27A;
}

.tt-moment--durante {
	--m-bg: var(--cyan-pale);
	--m-tag-bg: var(--cyan);
	--m-tag-fg: var(--ink);
	--m-label: var(--cyan-dark);
	--m-text: #1E4A52;
	--m-dash: #9FDDE6;
}

.tt-moment--dopo {
	--m-bg: var(--pink-pale);
	--m-tag-bg: var(--pink-text);   /* il rosa pieno con testo bianco arriva solo a 3,5:1 */
	--m-tag-fg: var(--white);
	--m-label: var(--pink-dark);
	--m-text: #5A1A3E;
	--m-dash: #F2A9CD;
}

.tt-moment__head {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 8px 12px;
}

.tt-moment__tag {
	padding: 7px 16px;
	border-radius: var(--radius-pill);
	background: var(--m-tag-bg);
	color: var(--m-tag-fg);
	font-size: var(--fs-small);
	font-weight: 900;
	text-transform: uppercase;
}

.tt-moment__when {
	color: var(--m-label);
	font-size: var(--fs-small);
	font-weight: 800;
}

.tt-moment__title {
	font-size: var(--fs-h3);
	line-height: 1.15;
}

.tt-moment__questions {
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	gap: 8px;
}

.tt-qbubble {
	padding: 9px 14px;
	border-radius: 16px 16px 4px 16px;
	background: var(--white);
	color: var(--ink);
	font-weight: 700;
	text-align: right;
}

.tt-qbubble--sos {
	background: var(--emergency);
	color: var(--white);
	font-weight: 800;
}

.tt-moment__text {
	color: var(--m-text);
}

.tt-moment__load {
	padding-top: 14px;
	border-top: 2px dashed var(--m-dash);
	color: var(--m-label);
	font-weight: 800;
}

/* ==========================================================================
   12. Sempre aggiornato
   ========================================================================== */
.tt-split {
	display: flex;
	flex-direction: column;
	gap: 48px;
}

.tt-split__main {
	display: flex;
	flex-direction: column;
	gap: 20px;
	min-width: 0;
}

@media (min-width: 1024px) {
	.tt-split {
		flex-direction: row;
		align-items: center;
		gap: 56px;
	}

	.tt-split__main {
		flex: 1 1 60%;
	}

	.tt-example {
		flex: 0 0 380px;
	}
}

.tt-mini-cards {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr));
	gap: 16px;
}

.tt-mini-card {
	display: flex;
	flex-direction: column;
	gap: 6px;
	padding: 20px;
	border-radius: var(--radius-card-sm);
}

/* Se le card sono dispari, l'ultima occupa tutta la riga (su 2 colonne non resta un buco) */
.tt-mini-card:last-child:nth-child(odd) {
	grid-column: 1 / -1;
}

.tt-mini-card__title {
	color: var(--ink);
	font-size: 1.1875rem;
}

.tt-mini-card--yellow { background: var(--yellow-pale); color: #4A3A10; }
.tt-mini-card--cyan   { background: var(--cyan-pale);   color: #1E4A52; }
.tt-mini-card--pink   { background: var(--pink-pale);   color: #5A1A3E; }
.tt-mini-card--green  { background: var(--green-pale);  color: #234D10; }

.tt-example {
	display: flex;
	flex-direction: column;
	gap: 14px;
}

.tt-example__note {
	display: flex;
	flex-direction: column;
	gap: 10px;
	padding: 22px;
	border-radius: var(--radius-card);
	background: var(--ink);
	color: var(--white);
}

.tt-example__head {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px;
}

.tt-example__time {
	padding: 4px 10px;
	border-radius: var(--radius-pill);
	background: var(--yellow);
	color: var(--ink);
	font-size: var(--fs-small);
	font-weight: 900;
	text-transform: uppercase;
}

.tt-example__who {
	color: var(--on-dark);
	font-size: var(--fs-small);
	font-weight: 700;
}

.tt-example__quote {
	padding: 14px 16px;
	border-radius: 16px;
	background: var(--ink-2);
	font-weight: 700;
}

.tt-example__arrow {
	align-self: center;
	color: var(--green);
}

.tt-example__chat {
	display: flex;
	flex-direction: column;
	gap: 10px;
	padding: 22px;
	border-radius: var(--radius-card);
	background: var(--chat-bg);
}

.tt-example__label {
	color: var(--cyan-dark);
	font-size: var(--fs-small);
	font-weight: 900;
	letter-spacing: 0.5px;
	text-transform: uppercase;
}

.tt-example__old {
	color: #5A6B74;
}

/* ==========================================================================
   13. Come funziona
   ========================================================================== */
.tt-steps {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr));
	gap: 28px;
}

.tt-step {
	display: flex;
	flex-direction: column;
	gap: 14px;
}

.tt-step__num {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 60px;
	height: 60px;
	border-radius: 20px;
	font-size: 26px;
	font-weight: 900;
}

.tt-step__num--yellow { background: var(--yellow); color: var(--ink); }
.tt-step__num--cyan   { background: var(--cyan);   color: var(--ink); }
.tt-step__num--pink   { background: var(--pink);   color: var(--white); }

.tt-step__title {
	font-size: 1.5rem;
}

.tt-step__text {
	color: var(--muted);
}

/* ==========================================================================
   14. Caso reale
   ========================================================================== */
.tt-caso__head {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	justify-content: space-between;
	gap: 28px 32px;
	margin-bottom: 44px;
}

.tt-caso__intro {
	display: flex;
	flex: 999 1 560px;
	flex-direction: column;
	gap: 14px;
	min-width: 0;
	max-width: 800px;
}

.tt-screens {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
	justify-items: center;
	gap: 40px 28px;
}

.tt-screen {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 14px;
	width: 100%;
	max-width: 320px;
	text-align: center;
}

.tt-screen .tt-phone {
	text-align: left;
}

.tt-screen figcaption {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.tt-screen__title {
	font-size: 1.25rem;
}

.tt-screen__text {
	color: var(--body-strong);
}

.tt-caso__star-1 { right: 6%; top: 60px; }
.tt-caso__star-2 { left: 4%;  bottom: 80px; }

/* ==========================================================================
   15. TigiBOT Base e Plus
   ========================================================================== */
.tt-levels {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr));
	gap: 24px;
}

.tt-level {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 18px;
	padding: 28px 24px;
	overflow: hidden;
	border-radius: var(--radius-card-lg);
}

@media (min-width: 768px) {
	.tt-level {
		padding: 36px;
	}
}

.tt-level--base {
	border: 3px solid var(--cyan-pale);
	background: var(--white);
}

.tt-level--plus {
	background: var(--ink);
	color: var(--white);
}

.tt-level__tag {
	align-self: flex-start;
	padding: 6px 14px;
	border-radius: var(--radius-pill);
	font-size: var(--fs-small);
	font-weight: 900;
}

.tt-level--base .tt-level__tag { background: var(--cyan-pale); color: var(--cyan-dark); }
.tt-level--plus .tt-level__tag { background: var(--yellow);    color: var(--ink); }

.tt-level__title {
	font-size: var(--fs-h3);
	line-height: 1.15;
}

.tt-level--base .tt-level__intro { color: var(--muted); }
.tt-level--plus .tt-level__intro { color: var(--on-dark); }

.tt-home .tt-level__list {
	display: flex;
	flex-direction: column;
	gap: 8px;
	padding-left: 20px;
	list-style: disc;
}

.tt-level--base .tt-level__list { color: var(--body-strong); }
.tt-level--plus .tt-level__list { color: var(--on-dark-3); }

.tt-level__star { right: 28px; top: 28px; }

/* ==========================================================================
   16. Funzioni
   ========================================================================== */
.tt-features {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); /* 3 funzioni: una riga su computer */
	gap: 20px;
}

.tt-feature {
	display: flex;
	flex-direction: column;
	gap: 10px;
	padding: 26px;
	border-radius: var(--radius-card);
	background: var(--ground);
}

.tt-feature__icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 52px;
	height: 52px;
	border-radius: 18px;
}

.tt-feature__icon--yellow { background: var(--yellow-pale); color: var(--orange-text); }
.tt-feature__icon--cyan   { background: var(--cyan-pale);   color: var(--cyan-text); }
.tt-feature__icon--green  { background: var(--green-pale);  color: var(--green-text); }
.tt-feature__icon--pink   { background: var(--pink-pale);   color: var(--pink-text); }
.tt-feature__icon--orange { background: var(--orange-pale); color: var(--orange-text); }

.tt-feature__title {
	font-size: 1.25rem;
}

.tt-feature__text {
	color: var(--muted);
}

/* ==========================================================================
   17. Per chi
   ========================================================================== */
.tt-audiences {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr));
	gap: 20px;
}

.tt-audience {
	display: flex;
	flex-direction: column;
	gap: 12px;
	padding: 30px;
	border-radius: 28px;
	color: var(--ink);
}

@media (min-width: 768px) {
	.tt-audience {
		min-height: 220px;
	}
}

.tt-audience--cyan   { background: var(--cyan); }
.tt-audience--yellow { background: var(--yellow); }
.tt-audience--orange { background: var(--orange); }
.tt-audience--pink   { background: var(--pink-mid); }

.tt-audience__title {
	font-size: 1.5rem;
}

/* Le persone: card bianche con filetto colorato, per riconoscersi */
.tt-perchi {
	display: flex;
	flex-direction: column;
	gap: 40px;
}

.tt-perchi .tt-section__head {
	margin-bottom: 0;
}

.tt-roles {
	display: grid;
	gap: 20px;
}

@media (min-width: 768px) {
	.tt-roles {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

.tt-audience__title {
	margin: 0;
}

.tt-role {
	--r-color: var(--yellow);
	--r-pale: var(--yellow-pale);
	display: flex;
	flex-direction: column;
	gap: 14px;
	padding: 26px;
	border-top: 6px solid var(--r-color);
	border-radius: var(--radius-card);
	background: var(--white);
	box-shadow: 0 0 0 1px rgba(29, 43, 51, 0.08);
}

.tt-role--yellow { --r-color: var(--yellow); --r-pale: var(--yellow-pale); }
.tt-role--cyan   { --r-color: var(--cyan);   --r-pale: var(--cyan-pale); }
.tt-role--green  { --r-color: var(--green);  --r-pale: var(--green-pale); }
.tt-role--pink   { --r-color: var(--pink);   --r-pale: var(--pink-pale); }

.tt-role__head {
	display: flex;
	align-items: center;
	gap: 14px;
}

.tt-role__icon {
	display: inline-flex;
	flex: 0 0 auto;
	align-items: center;
	justify-content: center;
	width: 52px;
	height: 52px;
	border-radius: var(--radius-pill);
	background: var(--r-pale);
	color: var(--ink);
}

.tt-role__title {
	font-size: var(--fs-h3);
}

.tt-role__pain {
	color: var(--muted);
	font-style: italic;
}

.tt-role__gain {
	margin-top: auto;
	padding: 14px 16px;
	border-radius: 18px;
	background: var(--r-pale);
	color: var(--ink);
	font-weight: 600;
}

/* «E se fai tutto tu?»: fascia gialla in risalto, con Tigi */
.tt-roles__all {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 18px;
	padding: 32px 24px;
	border-radius: var(--radius-card-lg);
	background: var(--yellow);
	color: var(--ink);
	text-align: center;
}

.tt-roles__all-mascot {
	flex: 0 0 auto;
	width: 80px;
	height: 80px;
	border-radius: var(--radius-pill);
	background: var(--white);
	box-shadow: 0 0 0 6px var(--yellow-pale);
}

.tt-roles__all-text {
	display: flex;
	flex-direction: column;
	gap: 6px;
	margin: 0;
}

.tt-roles__all-q {
	font-size: var(--fs-lead);
	font-weight: 800;
}

.tt-roles__all-a {
	font-size: var(--fs-h2);
	font-weight: 900;
	line-height: 1.1;
	letter-spacing: -0.5px;
}

@media (min-width: 768px) {
	.tt-roles__all {
		flex-direction: row;
		justify-content: center;
		gap: 32px;
		padding: 40px 48px;
		text-align: left;
	}

	.tt-roles__all-mascot {
		width: 88px;
		height: 88px;
	}
}

.tt-perchi__group {
	display: flex;
	flex-direction: column;
	gap: 20px;
}

.tt-perchi__subtitle {
	font-size: var(--fs-h3);
}

/* Esempi di eventi: pillole (link quando la landing è pubblicata) */
.tt-examples {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.tt-example-chip {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	padding: 8px 18px;
	border: 2px solid rgba(29, 43, 51, 0.14);
	border-radius: var(--radius-pill);
	background: var(--white);
	color: var(--ink);
	font-weight: 700;
}

.tt-example-chip--link {
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 3px;
}

.tt-example-chip--link:hover {
	border-color: var(--ink);
}

.tt-audience__text {
	font-weight: 600;
}

/* ==========================================================================
   18. Gli Amici di Tigi
   ========================================================================== */
.tt-piani {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 40px;
}

.tt-piani__intro {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 36px;
}

.tt-piani__mascot {
	width: 120px;
	height: 120px;
	margin: 16px;
	border-radius: var(--radius-pill);
	background: var(--white);
	box-shadow: 0 0 0 8px var(--yellow-pale), 0 0 0 16px var(--cyan-pale);
}

@media (min-width: 768px) {
	.tt-piani__mascot {
		width: 150px;
		height: 150px;
	}
}

.tt-piani__text {
	display: flex;
	flex: 999 1 560px;
	flex-direction: column;
	gap: 16px;
	min-width: 0;
}

.tt-reassure {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
}

.tt-reassure__item {
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 12px 20px;
	border-radius: var(--radius-pill);
	background: var(--green-pale);
	color: #234D10;
	font-size: 1.125rem;
	font-weight: 900;
}

.tt-check {
	flex-shrink: 0;
	color: var(--green-text);
}

.tt-offers {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(340px, 100%), 1fr));
	align-items: stretch;
	gap: 32px 24px;
}

.tt-offer {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 18px;
	padding: 28px 24px;
	border-radius: var(--radius-card-lg);
}

@media (min-width: 768px) {
	.tt-offer {
		padding: 36px;
	}
}

.tt-offer--one {
	background: var(--cyan-pale);
	color: #1E4A52;
}

.tt-offer--season {
	background: var(--ink);
	color: var(--on-dark-3);
	box-shadow: 0 0 0 4px var(--yellow);
}

.tt-offer__badge {
	position: absolute;
	top: -16px;
	right: 28px;
	padding: 6px 14px;
	border-radius: var(--radius-pill);
	background: var(--yellow);
	color: var(--ink);
	font-size: var(--fs-small);
	font-weight: 900;
}

.tt-offer__title {
	font-size: var(--fs-h3);
}

.tt-offer--one .tt-offer__title    { color: var(--ink); }
.tt-offer--season .tt-offer__title { color: var(--white); }
.tt-offer--season .tt-offer__for   { color: var(--on-dark); }

.tt-offer__price {
	display: flex;
	flex-direction: column;
	gap: 2px;
}

.tt-offer__price-main {
	font-size: clamp(2rem, 1.6rem + 1.5vw, 2.5rem);
	font-weight: 900;
	line-height: 1.1;
}

.tt-offer--one .tt-offer__price-main    { color: var(--ink); }
.tt-offer--season .tt-offer__price-main { color: var(--yellow); }

.tt-offer__price-note {
	font-weight: 700;
}

.tt-home .tt-offer__list {
	display: flex;
	flex-direction: column;
	gap: 10px;
	padding-left: 22px;
	list-style: disc;
}

.tt-offer__cta {
	margin-top: auto;
	font-size: 1.125rem;
}

.tt-four-steps {
	display: flex;
	flex-direction: column;
	gap: 22px;
	padding: 28px 24px;
	border: 3px solid var(--yellow-pale);
	border-radius: var(--radius-card-lg);
	background: var(--ground);
}

@media (min-width: 768px) {
	.tt-four-steps {
		padding: 32px 36px;
	}
}

.tt-four-steps__title {
	font-size: clamp(1.375rem, 1.2rem + 0.8vw, 1.625rem);
}

.tt-four-steps__list {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(230px, 100%), 1fr));
	gap: 20px;
}

.tt-four-steps__list li {
	display: flex;
	align-items: flex-start;
	gap: 14px;
	color: var(--body-strong);
}

.tt-four-steps__list strong {
	color: var(--ink);
}

.tt-four-steps__num {
	display: flex;
	flex-shrink: 0;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	border-radius: var(--radius-pill);
	color: var(--ink);
	font-size: 20px;
	font-weight: 900;
}

.tt-four-steps__num--cyan   { background: var(--cyan); }
.tt-four-steps__num--yellow { background: var(--yellow); }
.tt-four-steps__num--pink   { background: var(--pink-mid); }
.tt-four-steps__num--green  { background: var(--green); }

.tt-band {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	padding: 28px 24px;
	border-radius: var(--radius-card-lg);
	background: var(--yellow);
	color: var(--ink);
}

@media (min-width: 768px) {
	.tt-band {
		padding: 32px 36px;
	}
}

.tt-band__text {
	display: flex;
	flex: 999 1 420px;
	flex-direction: column;
	gap: 6px;
	min-width: 0;
}

.tt-band__title {
	font-size: clamp(1.375rem, 1.2rem + 0.8vw, 1.625rem);
	font-weight: 900;
	line-height: 1.2;
}

.tt-band__sub {
	color: #3A2A00;
	font-size: 1.125rem;
	font-weight: 600;
}

.tt-piani__fine {
	color: var(--muted);
}

.tt-piani__star-1 { right: 7%; top: 70px; }
.tt-piani__star-2 { left: 5%;  bottom: 90px; }

/* ==========================================================================
   19. Partner
   ========================================================================== */
#partner .tt-btn {
	flex-shrink: 0;
}

/* ==========================================================================
   20. Blocco scuro: AI responsabile, FAQ, contatti
   ========================================================================== */
.tt-dark {
	position: relative;
	overflow: hidden;
	border-radius: var(--radius-box) var(--radius-box) 0 0;
	background: var(--ink);
	color: var(--white);
}

@media (min-width: 768px) {
	.tt-dark {
		border-radius: var(--radius-section) var(--radius-section) 0 0;
	}
}

.tt-trust {
	padding-bottom: 40px;
}

.tt-trust__grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(250px, 100%), 1fr));
	gap: 28px;
}

.tt-trust__item {
	display: flex;
	flex-direction: column;
	gap: 8px;
	padding-top: 16px;
	border-top: 4px solid var(--t-color);
}

.tt-trust__item--yellow { --t-color: var(--yellow); }
.tt-trust__item--cyan   { --t-color: var(--cyan); }
.tt-trust__item--pink   { --t-color: var(--pink); }
.tt-trust__item--green  { --t-color: var(--green); }

.tt-trust__title {
	font-size: 1.25rem;
}

.tt-trust__text {
	color: var(--on-dark);
}

.tt-faq {
	padding-top: 24px;
}

.tt-faq__inner {
	max-width: 880px;
}

.tt-faq .tt-section__head {
	margin-bottom: 32px;
}

.tt-faq__item {
	display: flex;
	flex-direction: column;
	gap: 8px;
	padding: 22px 0;
	border-top: 1px solid var(--line-on-dark);
}

.tt-faq__item:last-child {
	border-bottom: 1px solid var(--line-on-dark);
}

.tt-faq__q {
	font-size: 1.25rem;
	font-weight: 800;
	line-height: 1.3;
}

.tt-faq__a {
	color: var(--on-dark);
}

.tt-contact {
	padding-bottom: 32px;
}

.tt-contact__text {
	display: flex;
	flex: 999 1 520px;
	flex-direction: column;
	align-items: flex-start;
	gap: 20px 24px;
	min-width: 0;
}

@media (min-width: 640px) {
	.tt-contact__text {
		flex-direction: row;
		align-items: center;
	}
}

.tt-contact__mascot {
	flex-shrink: 0;
	width: 88px;
	height: 88px;
	margin: 6px;
	border-radius: var(--radius-pill);
	background: var(--white);
	box-shadow: 0 0 0 6px var(--white);
}

@media (min-width: 768px) {
	.tt-contact__mascot {
		width: 104px;
		height: 104px;
	}
}

.tt-contact__copy {
	display: flex;
	flex-direction: column;
	gap: 10px;
	min-width: 0;
}

.tt-contact__lead {
	font-size: var(--fs-lead);
	font-weight: 700;
}

.tt-contact__actions {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.tt-contact__email {
	font-weight: 600;
}

.tt-contact__email-link {
	color: var(--ink);
	font-weight: 800;
	text-decoration: underline;
}

.tt-contact__email-link:hover {
	color: var(--ink);
	text-decoration-thickness: 3px;
}

.tt-dark__star-1 { right: 8%; top: 70px; }
.tt-dark__star-2 { left: 6%;  top: 420px; }

/* Contorno del focus leggibile su ogni fondo */
.tt-hero-wrap :focus-visible,
.tt-dark :focus-visible,
.tt-offer--season :focus-visible {
	outline-color: var(--yellow);
}

.tt-box--yellow :focus-visible,
.tt-band :focus-visible {
	outline-color: var(--ink);
}

/* In home e nelle landing il footer continua il blocco scuro */
.home .tt-footer,
.tt-dark-end .tt-footer {
	padding-top: 24px;
}

/* Card «Per chi» collegate alle landing e pulsante verso l'indice */
.tt-audience__link {
	color: inherit;
	text-decoration: underline;
	text-decoration-thickness: 2px;
	text-underline-offset: 5px;
}

.tt-audience__link:hover,
.tt-audience__link:focus-visible {
	color: inherit;
	text-decoration-thickness: 4px;
}

.tt-perchi__more {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 20px 32px;
	margin-top: 32px;
}

.tt-perchi__more-text {
	flex: 1 1 420px;
	max-width: 760px;
	color: var(--muted);
}

/* ==========================================================================
   21. Landing «TigiTAG per…» e pagina indice
   ========================================================================== */
.tt-lhero {
	padding: 24px 0 64px;
}

@media (min-width: 1024px) {
	.tt-lhero {
		padding: 40px 0 88px;
	}
}

.tt-lhero__inner {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 22px;
}

.tt-lhero__crumbs {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
	color: var(--on-dark);
	font-size: var(--fs-small);
	font-weight: 700;
}

.tt-lhero__crumbs a {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	color: var(--on-dark-2);
}

.tt-lhero__crumbs a:hover {
	color: var(--white);
}

.tt-lhero__title {
	max-width: 900px;
	font-size: clamp(2.125rem, 1.5rem + 2.6vw, 3.375rem);
	line-height: 1.08;
	letter-spacing: -1px;
}

.tt-lhero__lead {
	max-width: 760px;
	color: var(--on-dark);
	font-size: var(--fs-lead);
}

/* Con i temi classici WordPress aggiunge un contenitore dentro ogni gruppo di blocchi:
   lo si «scioglie», così griglie e spaziature si applicano direttamente ai blocchi interni. */
.tt-landing__content .wp-block-group__inner-container {
	display: contents;
}

/* Contenuto scritto nell'editor: ritmo verticale e larghezza di lettura */
.tt-landing__content > * + * {
	margin-top: 22px;
}

.tt-landing__content > :where(p, h2, h3, h4, ul, ol, .wp-block-heading, .wp-block-list) {
	max-width: 820px;
}

.tt-landing__content > h2,
.tt-landing__content > .wp-block-heading:where(h2) {
	margin-top: 64px;
	font-size: clamp(1.75rem, 1.35rem + 1.6vw, 2.375rem);
	letter-spacing: -0.5px;
}

.tt-landing__content > h2:first-child {
	margin-top: 0;
}

.tt-landing__content h3 {
	font-size: var(--fs-h3);
	line-height: 1.2;
}

.tt-landing__content > p {
	color: var(--body-strong);
}

.tt-landing__content a:not(.tt-btn):not(.tt-lcard__link) {
	color: var(--cyan-text);
	font-weight: 700;
	text-decoration: underline;
	text-underline-offset: 3px;
}

.tt-home .tt-landing__content ul.wp-block-list:not([class*="tt-landing-"]),
.tt-home .tt-landing__content ol.wp-block-list {
	display: flex;
	flex-direction: column;
	gap: 10px;
	padding-left: 24px;
	color: var(--body-strong);
	list-style: disc;
}

.tt-home .tt-landing__content ol.wp-block-list {
	list-style: decimal;
}

/* Il problema: riquadro in evidenza con le domande ripetute */
.tt-landing-problema {
	display: flex;
	flex-direction: column;
	gap: 18px;
	max-width: none;
	padding: 28px 22px;
	border-radius: var(--radius-card-lg);
	background: var(--yellow-pale);
	color: #4A3A10;
}

@media (min-width: 768px) {
	.tt-landing-problema {
		padding: 40px;
	}
}

.tt-landing-problema h2 {
	color: var(--ink);
	font-size: clamp(1.75rem, 1.35rem + 1.6vw, 2.375rem);
	letter-spacing: -0.5px;
}

.tt-landing-problema p {
	max-width: 820px;
}

.tt-landing-domande {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.tt-landing-domande li {
	padding: 9px 16px;
	border-radius: 16px 16px 4px 16px;
	background: var(--white);
	color: var(--ink);
	font-weight: 700;
}

/* Prima, durante, dopo */
.tt-landing-pdd {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr));
	gap: 20px;
}

.tt-landing-pdd__col {
	display: flex;
	flex-direction: column;
	gap: 14px;
	padding: 26px 22px;
	border-radius: var(--radius-card-lg);
}

.tt-landing-pdd__col--prima   { background: var(--yellow-pale); color: #4A3A10; }
.tt-landing-pdd__col--durante { background: var(--cyan-pale);   color: #1E4A52; }
.tt-landing-pdd__col--dopo    { background: var(--pink-pale);   color: #5A1A3E; }

.tt-landing-pdd__col h3 {
	align-self: flex-start;
	padding: 6px 16px;
	border-radius: var(--radius-pill);
	font-size: var(--fs-small);
	font-weight: 900;
	letter-spacing: 0.5px;
	text-transform: uppercase;
}

.tt-landing-pdd__col--prima h3   { background: var(--yellow);    color: var(--ink); }
.tt-landing-pdd__col--durante h3 { background: var(--cyan);      color: var(--ink); }
.tt-landing-pdd__col--dopo h3    { background: var(--pink-text); color: var(--white); }

.tt-home .tt-landing-pdd__col ul.wp-block-list {
	padding-left: 20px;
	color: inherit;
}

/* Esempio di chat nel telefono */
.tt-landing-chat-figure {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 14px;
	max-width: none;
	margin-block: 40px;
}

.tt-landing-chat-figure .tt-phone {
	box-shadow: 0 20px 50px rgba(29, 43, 51, 0.25);
}

.tt-landing-chat-figure .tt-chat {
	padding-bottom: 18px;
}

/* Qui la chat è testo da leggere (non un’illustrazione): caratteri più grandi che in home */
.tt-landing-chat-figure .tt-phone__screen {
	font-size: var(--fs-small);
}

.tt-landing-chat-figure__caption {
	color: var(--muted);
	font-size: var(--fs-small);
	text-align: center;
}

/* Domande frequenti (blocchi «Dettagli») */
.tt-landing-faq {
	max-width: 880px;
}

.tt-landing-faq .wp-block-details {
	border-top: 1px solid #E3DCC8;
}

.tt-landing-faq .wp-block-details:last-child {
	border-bottom: 1px solid #E3DCC8;
}

.tt-landing-faq summary {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	min-height: 52px;
	padding: 16px 0;
	color: var(--ink);
	font-size: 1.1875rem;
	font-weight: 800;
	line-height: 1.3;
	cursor: pointer;
	list-style: none;
}

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

.tt-landing-faq summary::after {
	content: "+";
	flex-shrink: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	border-radius: var(--radius-pill);
	background: var(--yellow-pale);
	color: var(--ink);
	font-size: 24px;
	font-weight: 900;
}

.tt-landing-faq details[open] summary::after {
	content: "–";
}

.tt-landing-faq details > :not(summary) {
	padding-bottom: 18px;
	color: var(--body-strong);
}

/* Card delle landing (correlate e indice) */
.tt-lcards {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(min(260px, 100%), 1fr)); /* una card sola non si allarga su tutta la riga */
	gap: 16px;
}

.tt-lcard__link {
	display: flex;
	flex-direction: column;
	gap: 6px;
	height: 100%;
	padding: 22px;
	border: 2px solid transparent;
	border-radius: var(--radius-card);
	background: var(--white);
	color: var(--ink);
	text-decoration: none;
	box-sizing: border-box;
}

.tt-lcard__link:hover,
.tt-lcard__link:focus-visible {
	border-color: var(--cyan);
	color: var(--ink);
}

.tt-lcard__title {
	font-size: 1.1875rem;
	font-weight: 900;
	line-height: 1.25;
}

.tt-lcard__text {
	color: var(--muted);
}

.tt-correlate {
	padding-top: 0;
}

.tt-correlate__all {
	margin-top: 28px;
}

/* Indice raggruppato per ambito */
.tt-landing__content > .tt-elenco {
	display: flex;
	flex-direction: column;
	gap: 48px;
	max-width: none;
	margin-block: 56px 16px;
}

.tt-elenco__group {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.tt-elenco__title {
	font-size: clamp(1.5rem, 1.25rem + 1vw, 2rem);
}

.tt-elenco__intro {
	margin-bottom: 8px;
	color: var(--muted);
}

.tt-elenco__empty {
	color: var(--muted);
}

/* Chiusura scura delle landing */
.tt-landing__end {
	padding-top: var(--section-y);
}

/* ==========================================================================
   22. Modulo contatti «Ti richiamiamo noi» (dentro il riquadro giallo)
   ========================================================================== */
.tt-box > .tt-cform {
	flex: 1 1 100%;
}

.tt-cform {
	--tt-error: #8A1C00; /* rosso scuro: 6:1 sul giallo */
	display: flex;
	flex-direction: column;
	gap: 18px;
	padding-top: 28px;
	border-top: 2px dashed rgba(29, 43, 51, 0.35);
	color: var(--ink);
}

.tt-cform__head {
	display: flex;
	flex-direction: column;
	gap: 4px;
}

.tt-cform__title {
	margin: 0;
	font-size: clamp(1.25rem, 1.1rem + 0.6vw, 1.5rem);
	line-height: 1.2;
}

.tt-cform__intro,
.tt-cform__note {
	margin: 0;
	font-size: var(--fs-body);
}

.tt-cform__grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 16px;
}

@media (min-width: 768px) {
	.tt-cform__grid {
		grid-template-columns: repeat(2, 1fr);
		gap: 16px 20px;
	}

	.tt-field--wide {
		grid-column: 1 / -1;
	}
}

.tt-field {
	display: flex;
	flex-direction: column;
	gap: 6px;
}

.tt-field label {
	font-size: var(--fs-body);
	font-weight: 800;
}

.tt-cform input[type="text"],
.tt-cform input[type="tel"],
.tt-cform input[type="email"],
.tt-cform textarea {
	width: 100%;
	min-height: var(--btn-height);
	margin: 0;
	padding: 12px 16px;
	border: 2px solid var(--ink);
	border-radius: 16px;
	background: var(--white);
	color: var(--ink);
	font-family: var(--font);
	font-size: var(--fs-body);
	line-height: 1.4;
	box-sizing: border-box;
}

.tt-cform textarea {
	resize: vertical;
}

.tt-cform input::placeholder,
.tt-cform textarea::placeholder {
	color: #5A6B74;
	opacity: 1;
}

.tt-cform input:focus-visible,
.tt-cform textarea:focus-visible {
	outline: 3px solid var(--ink);
	outline-offset: 2px;
}

.tt-cform [aria-invalid="true"] {
	border-color: var(--tt-error);
	box-shadow: 0 0 0 2px var(--tt-error);
}

.tt-field__error {
	margin: 0;
	color: var(--tt-error);
	font-size: var(--fs-body);
	font-weight: 800;
}

.tt-field--check {
	display: grid;
	grid-template-columns: auto 1fr;
	align-items: center;
	gap: 6px 12px;
}

.tt-field--check input {
	width: 28px;
	height: 28px;
	margin: 0;
	accent-color: var(--ink);
}

.tt-field--check label {
	display: flex;
	align-items: center;
	min-height: 44px;
	font-weight: 700;
}

.tt-field--check label a {
	margin-inline: 0.2em;
	color: var(--ink);
	text-decoration: underline;
}

.tt-field--check .tt-field__error {
	grid-column: 1 / -1;
}

.tt-cform__submit {
	align-self: flex-start;
	border: 0;
	cursor: pointer;
}

.tt-cform__submit:disabled {
	cursor: progress;
	opacity: 0.75;
}

@media (max-width: 479px) {
	.tt-cform__submit {
		align-self: stretch;
	}
}

.tt-cform__status:focus {
	outline: none;
}

.tt-cform__msg {
	margin: 0;
	padding: 14px 18px;
	border-radius: 16px;
	background: var(--white);
	font-weight: 800;
}

.tt-cform__msg--ok    { color: var(--green-dark); }
.tt-cform__msg--error { color: var(--tt-error); }

/* Campo trappola anti-spam: fuori dallo schermo, non raggiungibile da tastiera */
.tt-hp {
	position: absolute;
	left: -10000px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

/* Pulsanti e link WhatsApp: icona a tratto accanto al testo */
.tt-wa {
	display: inline-flex;
	align-items: center;
	gap: 10px;
}

.tt-wa__icon {
	flex: none;
}

/* Verde WhatsApp. Testo scuro: il bianco sul verde ha contrasto 1,98:1 (serve 4,5:1), lo scuro 7,32:1. */
.tt-btn--wa,
.tt-btn--wa:hover,
.tt-btn--wa:focus-visible {
	background: #25D366;
	color: var(--ink);
}

.tt-btn--wa:hover {
	background: #1EBE5A; /* testo scuro: 5,93:1 */
	filter: none;
}

/* Nel footer le voci sono solo testo: niente icona, così restano allineate */
.tt-footer .tt-wa__icon {
	display: none;
}

/* ==========================================================================
   23. Pagine legali (privacy, cookie, termini)
   ========================================================================== */
.tt-legale .tt-lhero__crumbs span:last-child {
	color: var(--on-dark);
}

.tt-legale .tt-landing__content > h2,
.tt-legale .tt-landing__content > .wp-block-heading:where(h2) {
	margin-top: 48px;
	font-size: clamp(1.5rem, 1.25rem + 1vw, 1.875rem);
}

.tt-legale .tt-landing__content > h2:first-child {
	margin-top: 0;
}

.tt-legale .tt-landing__content > h3 {
	margin-top: 32px;
}

/* Riquadro «In breve» in cima */
.tt-legale .tt-legale-breve {
	max-width: 820px;
	padding: 24px 22px;
	border-radius: var(--radius-card);
	background: var(--green-pale);
}

.tt-legale .tt-legale-breve > * + *,
.tt-legale .tt-legale-breve .wp-block-group__inner-container > * + * {
	margin-top: 14px;
}

.tt-legale .tt-legale-breve h2 {
	margin: 0;
	font-size: var(--fs-h3);
}

@media (min-width: 768px) {
	.tt-legale .tt-legale-breve {
		padding: 32px 36px;
	}
}

/* ==========================================================================
   24. Pagina non trovata (404) e risultati di ricerca
   ========================================================================== */
.tt-semplice .tt-landing__content > .tt-vie-uscita {
	margin-top: 28px;
}

.tt-risultati {
	display: grid;
	gap: 16px;
	max-width: 820px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.tt-risultati__item {
	padding: 22px;
	border-radius: var(--radius-card);
	background: var(--white);
	box-shadow: 0 0 0 1px rgba(29, 43, 51, 0.08);
}

.tt-risultati__item > * + * {
	margin-top: 8px;
}

.tt-risultati__title {
	margin: 0;
	font-size: var(--fs-h3);
}

.tt-risultati__title a {
	color: var(--ink);
	text-decoration: underline;
	text-underline-offset: 3px;
}

.tt-semplice .nav-links {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-top: 28px;
	font-weight: 700;
}

.tt-semplice .nav-links .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 44px;
	min-height: 44px;
	padding: 0 12px;
	border-radius: 999px;
	color: var(--ink);
}

.tt-semplice .nav-links .current {
	background: var(--ink);
	color: var(--white);
}

/* ==========================================================================
   25. Home – Funziona anche offline (pannello scuro tra «Prima, durante, dopo» e «Sempre aggiornato»)
   ========================================================================== */
.tt-offline {
	background: var(--ink);
	color: var(--white);
}

.tt-offline .tt-h2,
.tt-offline h3 {
	color: var(--white);
}

.tt-offline .tt-lead {
	color: var(--on-dark-3);
}

.tt-offline__star-1 { right: 7%; top: 48px; }
.tt-offline__star-2 { left: 5%; bottom: 60px; }

.tt-offline__box {
	padding: 22px;
	border: 2px solid var(--line-on-dark);
	border-radius: var(--radius-card);
}

.tt-offline__subtitle {
	margin: 0 0 14px;
	font-size: var(--fs-h3);
}

.tt-offline__list {
	display: grid;
	gap: 12px;
	margin: 0;
	padding: 0;
	list-style: none;
	color: var(--on-dark-3);
	font-weight: 700;
}

.tt-offline__list li {
	display: flex;
	align-items: flex-start;
	gap: 10px;
}

.tt-offline__list .tt-check {
	flex: 0 0 auto;
	margin-top: 4px;
	color: var(--green);
}

.tt-offline__note {
	color: var(--on-dark);
}

.tt-offline__note strong {
	color: var(--white);
}

.tt-offline__visual {
	display: flex;
	justify-content: center;
}

/* Barra di stato «Nessun servizio» e avviso nella chat illustrata */
.tt-offline__status {
	display: flex;
	align-items: center;
	gap: 6px;
	padding: 10px 16px 0;
	background: var(--ink);
	color: var(--on-dark);
	font-size: 12px;
	font-weight: 800;
}

.tt-offline__badge {
	align-self: center;
	padding: 6px 12px;
	border-radius: 999px;
	background: var(--yellow-pale);
	color: var(--yellow-text);
	font-size: 12px;
	font-weight: 800;
	text-align: center;
}

@media (min-width: 768px) {
	.tt-offline__box {
		padding: 28px 32px;
	}

	.tt-offline__list {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		column-gap: 24px;
	}
}

@media (min-width: 1024px) {
	.tt-offline__visual {
		flex: 0 0 320px;
	}
}

/* ==========================================================================
   26. Demo dal vivo: fascia con QR, pulsante fisso, invito nella sezione offline
   ========================================================================== */
.tt-demo-link {
	text-align: center;
}

.tt-demo-link__icon {
	flex: 0 0 auto;
}

.tt-demo-wrap {
	padding-block: 40px;
}

.tt-demo {
	position: relative;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 32px;
	overflow: hidden;
	padding: 32px 24px;
	border-radius: var(--radius-card-lg);
	background: var(--cyan);
	color: var(--ink);
}

.tt-demo__star-1 { right: 6%; top: 22px; }
.tt-demo__star-2 { right: 30%; bottom: 26px; }

.tt-demo__text {
	position: relative;
	display: flex;
	flex: 999 1 460px;
	flex-direction: column;
	gap: 16px;
	min-width: 0;
}

.tt-demo__label {
	align-self: flex-start;
	padding: 6px 16px;
	border-radius: var(--radius-pill);
	background: var(--ink);
	color: var(--white);
	font-size: var(--fs-small);
	font-weight: 900;
	letter-spacing: 1px;
	text-transform: uppercase;
}

.tt-demo__label::before {
	content: "";
	display: inline-block;
	width: 10px;
	height: 10px;
	margin-right: 8px;
	border-radius: 50%;
	background: #FF5A5A;
	box-shadow: 0 0 0 3px rgba(255, 90, 90, 0.35);
	vertical-align: 1px;
}

.tt-demo .tt-h2 {
	color: var(--ink);
}

.tt-demo__lead {
	font-size: var(--fs-lead);
	font-weight: 600;
}

.tt-demo__list {
	display: grid;
	gap: 10px;
	margin: 0;
	padding: 0;
	list-style: none;
	font-weight: 700;
}

.tt-demo__list li {
	display: flex;
	align-items: flex-start;
	gap: 10px;
}

.tt-demo__list .tt-check {
	margin-top: 4px;
	color: var(--ink);
}

/* Il QR serve solo a chi è al computer */
.tt-demo__qr {
	display: none;
	position: relative;
	flex: 1 1 220px;
	flex-direction: column;
	align-items: center;
	gap: 12px;
	max-width: 260px;
	margin: 0;
	padding: 20px;
	border-radius: var(--radius-card);
	background: var(--white);
	text-align: center;
}

.tt-demo__qr-svg {
	display: block;
	width: 200px;
	height: 200px;
}

.tt-demo__qr figcaption {
	font-size: var(--fs-small);
	font-weight: 700;
}

@media (min-width: 900px) {
	.tt-demo {
		padding: 44px 56px;
	}

	.tt-demo__qr {
		display: flex;
	}
}

/* Invito a provare nella sezione offline */
.tt-offline__try {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 16px 24px;
	padding: 20px 22px;
	border-radius: var(--radius-card);
	background: var(--ink-2);
}

.tt-offline__try p {
	flex: 1 1 260px;
	color: var(--on-dark-3);
}

.tt-offline__try strong {
	color: var(--yellow);
}

/* Pulsante fisso «Provalo dal vivo» su tutte le pagine */
.tt-demo-float {
	position: fixed;
	right: 16px;
	bottom: 16px;
	z-index: 900;
	display: inline-flex;
	align-items: center;
	gap: 10px;
	min-height: 56px;
	padding: 6px 20px 6px 6px;
	border: 2px solid var(--cyan);
	border-radius: var(--radius-pill);
	background: var(--white);
	box-shadow: 0 10px 25px rgba(0, 121, 138, 0.35);
	color: var(--ink);
	font-weight: 900;
	text-decoration: none;
}

.tt-demo-float:hover,
.tt-demo-float:focus-visible {
	color: var(--ink);
	box-shadow: 0 12px 30px rgba(0, 121, 138, 0.5);
}

.tt-demo-float__img {
	width: 44px;
	height: 44px;
	border-radius: 50%;
	background: var(--cyan-pale);
}

/* Spazio in fondo alla pagina, così il pulsante non copre l'ultima riga del footer */
.tt-footer__bottom {
	padding-bottom: 72px;
}

@media (min-width: 768px) {
	.tt-demo-float {
		right: 24px;
		bottom: 24px;
	}
}

@media print {
	.tt-demo-float {
		display: none;
	}
}
