.tt-theme {
    font-family: var(--tt-font-family);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    color: var(--tt-text-dark);
}

.tt-theme #wrap {
    overflow-x: hidden;
}

.tt-theme h1, .tt-theme h2, .tt-theme h3,
.tt-theme h4, .tt-theme h5, .tt-theme h6,
.tt-theme .h1, .tt-theme .h2, .tt-theme .h3,
.tt-theme .h4, .tt-theme .h5, .tt-theme .h6 {
    font-family: var(--tt-font-family);
    letter-spacing: -0.025em;
    font-weight: 700;
}

.tt-container {
    max-width: var(--tt-container-max);
    margin-left: auto;
    margin-right: auto;
    padding-left: 1.25rem;
    padding-right: 1.25rem;
}

@media (min-width: 768px) {
    .tt-container {
        padding-left: 2rem;
        padding-right: 2rem;
    }
}

.tt-section {
    position: relative;
    padding-top: var(--tt-section-py);
    padding-bottom: var(--tt-section-py);
}

.tt-section[id] {
    scroll-margin-top: 5rem;
}

.tt-section--dark {
    background: var(--tt-bg-dark);
    background-image: var(--tt-gradient-mesh);
    color: var(--tt-text-on-dark);
}

.tt-section--light {
    background: var(--tt-bg-light);
    color: var(--tt-text-dark);
}

.tt-section--light::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle at 1px 1px, rgba(15, 23, 42, 0.04) 1px, transparent 0);
    background-size: 28px 28px;
    pointer-events: none;
    mask-image: linear-gradient(to bottom, black 30%, transparent 100%);
}

.tt-section--white {
    background: var(--tt-bg-white);
    color: var(--tt-text-dark);
}

.tt-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--tt-accent);
}

.tt-eyebrow::before {
    content: '';
    width: 2rem;
    height: 2px;
    background: var(--tt-gradient-accent);
    border-radius: 2px;
    box-shadow: 0 0 12px var(--tt-accent-glow);
}

.tt-section--light .tt-eyebrow,
.tt-section--white .tt-eyebrow {
    color: #00a88a;
}

.tt-section--dark .tt-eyebrow {
    color: var(--tt-accent);
}

/* Numeri sezione (01, 02…) — pill premium */
.tt-section .tt-eyebrow.mb-3 {
    padding: 0.45rem 1rem 0.45rem 0.85rem;
    background: var(--tt-accent-soft);
    border: 1px solid rgba(0, 212, 170, 0.22);
    border-radius: 2rem;
    font-size: 0.8rem;
    letter-spacing: 0.16em;
}

.tt-section--dark .tt-eyebrow.mb-3 {
    background: rgba(0, 212, 170, 0.1);
    border-color: rgba(0, 212, 170, 0.28);
    color: var(--tt-accent);
}

.tt-section .tt-eyebrow.mb-3::before {
    width: 1.25rem;
}

.tt-lead {
    font-size: clamp(1.06rem, 2vw, 1.22rem);
    line-height: 1.75;
    color: var(--tt-text-muted);
}

.tt-section--dark .tt-lead {
    color: var(--tt-text-on-dark-muted);
}

.tt-section h2.fw-bold {
    font-size: clamp(1.75rem, 3.5vw, 2.35rem);
    line-height: 1.15;
    margin-bottom: 1rem;
}

.tt-text-gradient {
    background: var(--tt-gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.tt-grid-bg {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
    background-size: 56px 56px;
    mask-image: radial-gradient(ellipse 90% 80% at 50% 40%, black 15%, transparent 75%);
    pointer-events: none;
}

/* Liste feature nelle pagine servizio */
.tt-section .list-unstyled li {
    display: flex;
    align-items: flex-start;
    gap: 0.65rem;
    padding: 0.55rem 0;
    font-size: 0.98rem;
    line-height: 1.55;
    color: var(--tt-text-dark);
    border-bottom: 1px solid var(--tt-border-light);
}

.tt-section .list-unstyled li:last-child {
    border-bottom: none;
}

.tt-section--dark .list-unstyled li {
    color: var(--tt-text-on-dark);
    border-bottom-color: var(--tt-border);
}

.tt-section .list-unstyled li .fa-check {
    flex-shrink: 0;
    margin-top: 0.2rem;
    width: 1.35rem;
    height: 1.35rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--tt-accent-soft);
    color: var(--tt-accent) !important;
    font-size: 0.65rem;
}

.tt-section--dark .list-unstyled li .fa-check {
    background: rgba(0, 212, 170, 0.15);
}

/* ─── Footer ──────────────────────────────────────────────────── */
.tt-footer {
    background: #0a1628;
    color: var(--tt-text-on-dark-muted, #94a3b8);
    font-size: 0.9rem;
}

.tt-footer__main {
    padding: clamp(3rem, 6vw, 5rem) 0;
    border-bottom: 5px solid 0a1628;
}

.tt-footer__brand img {
    max-height: 42px;
    width: auto;
    opacity: 0.9;
}

.tt-footer__desc {
    color: var(--tt-text-on-dark-muted, #94a3b8);
    font-size: 0.875rem;
    line-height: 1.7;
    max-width: 320px;
}

.tt-footer__heading {
    color: var(--tt-text-on-dark, #eef2f7);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.tt-footer__links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.tt-footer__links a {
    color: var(--tt-text-on-dark-muted, #94a3b8);
    text-decoration: none;
    transition: color 0.2s;
}

.tt-footer__links a:hover {
    color: var(--tt-accent, #00d4aa);
}

.tt-footer__links--contact li {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
}

.tt-footer__links--contact .fa {
    color: var(--tt-accent, #00d4aa);
    margin-top: 0.2rem;
    flex-shrink: 0;
}

.tt-footer__bottom {
    padding: 1.25rem 0;
    font-size: 0.8rem;
    color: rgba(148, 163, 184, 0.6);
}

.tt-footer__bottom-links {
    display: flex;
    gap: 1.25rem;
}

.tt-footer__bottom-links a {
    color: rgba(148, 163, 184, 0.6);
    text-decoration: none;
    transition: color 0.2s;
}

.tt-footer__bottom-links a:hover {
    color: var(--tt-accent, #00d4aa);
}
