/* ============================================================ */
/* VARIABILI E RESET                                            */
/* ============================================================ */
:root {
    --dark: #111111;
    --white: #ffffff;
    --orange: #eeb609;
    --brand-orange: #eeb609; /* Alias per compatibilità */
    --gold: #B5A899;
    --overlay-color: rgba(15, 15, 15, 0.98);
}

* { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Helvetica Neue', sans-serif; }
body { background: var(--dark); color: var(--white); overflow-x: hidden; }
a { text-decoration: none; color: inherit; transition: 0.3s; }

/* ============================================================ */
/* 1. HERO FULLSCREEN                                           */
/* ============================================================ */
.tbi-hero-fullscreen {
    position: relative;
    width: 100%;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    overflow: hidden;
    background-image: url('https://images.unsplash.com/photo-1522071820081-009f0129c71c?auto=format&fit=crop&w=1920&q=80');
    background-size: cover;
    background-position: center;
}

.tbi-hero__overlay {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.4); z-index: 1;
}

.tbi-hero__content {
    position: relative; z-index: 2;
    max-width: 1200px; padding: 0 20px;
}

.tbi-hero__title {
    font-size: 6rem; font-weight: 800; line-height: 1;
    margin-bottom: 20px; text-transform: none; letter-spacing: -1px;
}

/* Utility per gestire maiuscole/minuscole anche dentro titoli in uppercase */
.case-normal { text-transform: none; }
.case-uppercase { text-transform: uppercase; }
.case-lowercase { text-transform: lowercase; }
.case-capitalize { text-transform: capitalize; }

/* FRASE TAGLINE (Nasce nelle persone...) */
.tbi-hero__tagline {
    font-size: 1.4rem;
    font-weight: 800;
    color: #eee;
    margin-bottom: 15px;
    letter-spacing: 1px;
    line-height: 1.6;
}

.tbi-hero__subtitle {
    font-size: 1.6rem; font-weight: 300; margin-bottom: 100px;
    color: #eee; max-width: 800px; margin-left: auto; margin-right: auto;
}

.text-orange { color: var(--orange); }

.tbi-btn-primary {
    background: var(--orange); color: var(--dark);
    padding: 20px 60px; font-weight: 800; font-size: 1rem;
    text-transform: uppercase; letter-spacing: 1px;
    border-radius: 50px; display: inline-block;
    box-shadow: 0 10px 25px rgba(238, 182, 9, 0.3);
}
.tbi-btn-primary:hover { background: var(--white); transform: translateY(-5px); }

.tbi-scroll-cue {
    position: absolute;
    left: 50%;
    bottom: 34px;
    transform: translateX(-50%);
    z-index: 2;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: var(--white);
    opacity: 0.78;
}

.tbi-scroll-cue:hover {
    color: var(--orange);
    transform: translateX(-50%) translateY(3px);
}

.tbi-scroll-cue__line {
    width: 1px;
    height: 42px;
    background: linear-gradient(to bottom, rgba(255,255,255,0.15), rgba(255,255,255,0.95));
    animation: tbiScrollLine 1.8s ease-in-out infinite;
}

.tbi-audio-toggle {
    position: fixed;
    left: 24px;
    bottom: 24px;
    z-index: 12;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    border: 1px solid rgba(255,255,255,0.16);
    border-radius: 999px;
    background: rgba(10,10,12,0.38);
    color: rgba(255,255,255,0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    cursor: pointer;
    transition: transform 0.25s ease, background 0.25s ease, border-color 0.25s ease, color 0.25s ease;
}

.tbi-audio-toggle:hover {
    transform: translateY(-2px);
    background: rgba(18,18,22,0.56);
}

.tbi-audio-toggle.is-playing {
    background: rgba(238,182,9,0.92);
    border-color: rgba(238,182,9,0.96);
    color: #111;
}

.tbi-audio-toggle i {
    font-size: 0.92rem;
}

@keyframes tbiScrollLine {
    0%, 100% { transform: scaleY(0.72); opacity: 0.55; }
    50% { transform: scaleY(1); opacity: 1; }
}

/* ============================================================ */
/* 2. ELEMENTI FISSI (LOGO & MENU)                              */
/* ============================================================ */
.tbi-fixed-logo {
    position: fixed; top: 20px; left: 40px; z-index: 9999;
}
.tbi-fixed-logo img {
    height: 100px; filter: brightness(1) invert(0);
}

.tbi-menu-trigger {
    position: fixed; top: 60px; right: 40px; z-index: 9999;
    display: flex; align-items: center; gap: 15px;
    cursor: pointer; color: var(--orange);
    padding: 12px 25px; border-radius: 50px;
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
    transition: 0.3s;
}
.tbi-menu-trigger:hover {
    background: var(--orange); border-color: var(--orange); color: var(--dark);
}
.tbi-menu-trigger:hover .tbi-burger-icon span { background: var(--dark); }

.tbi-menu-label { font-weight: 700; letter-spacing: 2px; font-size: 0.9rem; }

.tbi-burger-icon {
    width: 25px; height: 18px;
    display: flex; flex-direction: column; justify-content: space-between;
}
.tbi-burger-icon span {
    display: block; width: 100%; height: 2px;
    background: var(--white); transition: 0.3s;
}

/* Animazione X del Menu */
.tbi-menu-trigger.open .tbi-burger-icon span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.tbi-menu-trigger.open .tbi-burger-icon span:nth-child(2) { opacity: 0; }
.tbi-menu-trigger.open .tbi-burger-icon span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* Cambio colore allo scroll */
body.scrolled .tbi-fixed-logo img { filter: none !important; height: 90px; }
body.scrolled .tbi-menu-trigger { color: #111111 !important; border-color: #cccccc !important; background: rgba(0,0,0,0.05); }
body.scrolled .tbi-burger-icon span { background: #111111 !important; }
body.scrolled .tbi-menu-trigger:hover { background: #eeb609 !important; border-color: #eeb609 !important; color: #111 !important; }

/* ============================================================ */
/* 3. MENU FULLSCREEN                                           */
/* ============================================================ */
.tbi-fullscreen-menu {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(15, 15, 15, 0.65);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 9000;
    opacity: 0; visibility: hidden; pointer-events: none;
    transition: all 0.5s cubic-bezier(0.645, 0.045, 0.355, 1);
    display: flex; align-items: center; justify-content: center;
}
.tbi-fullscreen-menu.active { opacity: 1; visibility: visible; pointer-events: auto; }

.tbi-menu-grid-container {
    width: 100%; max-width: 1600px; padding: 40px;
    height: 100%; overflow-y: auto;
    display: flex; flex-direction: column;
    padding-top: 150px;
}

.tbi-nav-grid {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 80px;
    border-top: 1px solid rgba(255,255,255,0.1); padding-top: 40px;
}

.tbi-nav-col {
    display: flex; flex-direction: column; gap: 30px;
    border-right: 1px solid rgba(255,255,255,0.05); padding-right: 40px;
}
.tbi-nav-col:last-child { border-right: none; }

.tbi-nav-title {
    font-size: 3rem; font-weight: 800; color: var(--white);
    margin-bottom: 10px; text-transform: uppercase; letter-spacing: -1px;
}
.tbi-nav-title a { text-decoration: none; transition: 0.3s; }
.tbi-nav-title a:hover { color: var(--orange); }

.tbi-nav-group { margin-bottom: 20px; display: flex; flex-direction: column; }

.tbi-nav-label {
    display: block; font-size: 0.9rem; color: var(--orange);
    font-weight: 700; text-transform: uppercase; letter-spacing: 2px; margin-bottom: 10px;
}

.tbi-nav-item {
    display: inline-block; font-size: 1.4rem; color: var(--white);
    margin-bottom: 8px; font-weight: 400;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    transform-origin: left center;
}
.tbi-nav-item:hover { color: var(--orange); transform: scale(1.4) translateX(40px); font-weight: 600; }

.tbi-nav-contact a { display: block; font-size: 1.3rem; color: var(--white); margin-top: 10px; }
.tbi-nav-contact a:hover { color: var(--orange); }

.tbi-menu-header-mobile { display: none; }
.tbi-nav-spacer { height: 40px; }

@media (max-width: 1024px) {
    .tbi-menu-grid-container { padding-top: 120px; display: block; }
    .tbi-nav-grid { grid-template-columns: 1fr; gap: 40px; display: block; }
    .tbi-nav-col { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.1); padding-bottom: 40px; margin-bottom: 40px; }
    .tbi-nav-title { font-size: 2.5rem; }
    .tbi-menu-header-mobile { display: block; margin-bottom: 20px; }
}

/* ============================================================ */
/* 4. SEZIONE INTRO                                             */
/* ============================================================ */
.tbi-intro-section {
    padding: 60px 20px;
    background-color: #111111;
    text-align: center;
    position: relative; z-index: 5;
}
.tbi-intro-container { max-width: 900px; margin: 0 auto; }

.tbi-intro-title {
    font-size: 2.5rem; font-weight: 800; text-transform: none;
    margin-bottom: 15px; color: #ffffff; letter-spacing: -1px;
}

.tbi-separator-gold {
    width: 80px; height: 4px;
    background-color: var(--orange);
    margin: 15px auto 25px auto;
    display: block;
}

.tbi-intro-text {
    font-size: 1.3rem; line-height: 1.6;
    color: #eee; font-weight: 300;
    max-width: 800px; margin: 0 auto;
}

@media (max-width: 768px) {
    .tbi-intro-title { font-size: 2.2rem; }
    .tbi-intro-text { font-size: 1.1rem; }
    .tbi-audio-toggle {
        left: 16px;
        bottom: 16px;
        gap: 8px;
        padding: 11px 14px;
        font-size: 0.68rem;
        letter-spacing: 0.14em;
    }
}

/* ============================================================ */
/* 5. SEZIONE 5 PILASTRI                                        */
/* ============================================================ */
.tbi-pillars-section {
    display: flex; height: 750px; overflow: hidden;
    padding: 0; background: var(--dark);
}

.tbi-pillar {
    flex: 1; position: relative; display: flex; align-items: flex-end;
    padding: 90px; text-decoration: none; color: var(--white);
    transition: all 0.6s cubic-bezier(0.25, 1, 0.5, 1);
    border-right: 1px solid rgba(255,255,255,0.1);
}

.tbi-pillar-bg {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background-size: cover; background-position: center;
    filter: brightness(0.5) grayscale(80%);
    transition: all 0.6s ease; z-index: 0;
}

.tbi-pillar-content {
    position: relative; z-index: 2; width: 100%;
    transform: translateY(20px); transition: transform 0.4s ease;
}

.tbi-pillar-num {
    font-size: 0.9rem; font-weight: 700; color: var(--orange);
    display: block; margin-bottom: 10px;
    opacity: 0; transform: translateY(-10px); transition: all 0.4s ease 0.1s;
}

.tbi-pillar-title {
    font-size: 1.8rem; font-weight: 800;
    text-transform: uppercase; margin: 0; line-height: 1;
}

.tbi-pillar-desc {
    font-size: 1rem; color: #ddd; margin-top: 10px;
    opacity: 0; height: 0; overflow: hidden; transition: all 0.4s ease;
}

.tbi-pillar:hover { flex: 2.5; }
.tbi-pillar:hover .tbi-pillar-bg { filter: brightness(0.9) grayscale(0%); transform: scale(1.05); }
.tbi-pillar:hover .tbi-pillar-num { opacity: 1; transform: translateY(0); }
.tbi-pillar:hover .tbi-pillar-desc { opacity: 1; height: auto; margin-top: 15px; }
.tbi-pillar:hover .tbi-pillar-content { transform: translateY(0); }
.tbi-pillar:hover .tbi-pillar-title { color: var(--orange); }

@media (max-width: 1024px) {
    .tbi-pillars-section { flex-direction: column; height: auto; }
    .tbi-pillar { height: 250px; border-right: none; border-bottom: 1px solid rgba(255,255,255,0.1); flex: none; }
    .tbi-pillar:hover { flex: none; }
}

/* ============================================================ */
/* 6. SEZIONE MISSIONE                                          */
/* ============================================================ */
.tbi-mission-section {
    padding: 100px 40px;
    background-color: #1f1f1f;
    text-align: center; color: var(--white);
}
.tbi-mission-container { max-width: 1200px; margin: 0 auto; }

.tbi-mission-title {
    font-size: 3.5rem; font-weight: 800; text-transform: uppercase;
    margin-bottom: 18px; letter-spacing: -0.03em; line-height: 1;
    color: var(--white);
}
.tbi-mission-lead {
    font-size: 1.4rem; font-weight: 600; margin-bottom: 30px;
    color: var(--white); line-height: 1.4;
}
.tbi-mission-text {
    font-size: 1.2rem; line-height: 1.6; color: #eee; font-weight: 300; margin-bottom: 40px;
}

.tbi-btn-outline {
    display: inline-block; padding: 12px 35px;
    border: 1px solid var(--orange); border-radius: 50px;
    color: var(--orange); text-transform: uppercase;
    font-size: 0.85rem; font-weight: 700; letter-spacing: 1px;
    background: transparent; transition: all 0.3s ease;
}
.tbi-btn-outline:hover { background: var(--white); color: var(--dark); }

/* ============================================================ */
/* 7. SEZIONE PURPOSE                                           */
/* ============================================================ */
.tbi-purpose-section {
    padding: 100px 40px; background-color: #111111;
    color: var(--orange); border-top: 1px solid rgba(255,255,255,0.05);
}
.tbi-purpose-grid {
    display: grid; grid-template-columns: 1fr 1fr; gap: 80px;
    max-width: 1400px; margin: 0 auto; align-items: center;
}
.tbi-purpose-left { text-align: left; }
.tbi-purpose-label {
    font-size: 3.5rem; font-weight: 800; text-transform: uppercase;
    color: var(--white); margin-bottom: 10px; line-height: 1;
}
.tbi-purpose-claim {
    font-size: 5rem; font-weight: 900; text-transform: uppercase;
    color: var(--orange); line-height: 0.9; margin: 0;
}
.tbi-purpose-desc {
    font-size: 1.3rem; line-height: 1.6; color: #ddd; font-weight: 300;
    border-left: 1px solid rgba(255,255,255,0.2); padding-left: 30px;
}

@media (max-width: 1024px) {
    .tbi-purpose-grid { grid-template-columns: 1fr; gap: 40px; text-align: center; }
    .tbi-purpose-left { text-align: center; }
    .tbi-purpose-label { font-size: 2.5rem; }
    .tbi-purpose-claim { font-size: 3.5rem; }
    .tbi-purpose-desc { border-left: none; padding-left: 0; font-size: 1.1rem; }
}

/* ============================================================ */
/* 8. SEZIONE NUMERI (IMPATTO)                                  */
/* ============================================================ */
.tbi-impact-section {
    padding: 80px 40px;
    background-color: #ffffff;
    border-bottom: 1px solid #eee;
    position: relative; z-index: 5;
}
.tbi-impact-grid {
    display: grid; grid-template-columns: repeat(4, 1fr);
    gap: 40px; max-width: 1200px; margin: 0 auto; text-align: center;
}
.tbi-impact-item { display: flex; flex-direction: column; align-items: center; justify-content: center; }
.tbi-impact-number { font-size: 4rem; font-weight: 900; line-height: 1; margin-bottom: 10px; color: var(--orange); display: block; }
.tbi-impact-label { font-size: 0.9rem; font-weight: 700; text-transform: uppercase; letter-spacing: 2px; color: #111111; display: block; }

@media (max-width: 768px) {
    .tbi-impact-grid { grid-template-columns: 1fr 1fr; gap: 40px 20px; }
    .tbi-impact-number { font-size: 2.5rem; }
}

/* ============================================================ */
/* 9. SEZIONE LOGHI                                             */
/* ============================================================ */
.tbi-logo-section {
    padding: 60px 0; background-color: #ffffff;
    overflow: hidden; text-align: center;
    position: relative; z-index: 5;
}
.tbi-logo-header h3 { font-size: 1.2rem; color: #111; font-weight: 700; margin-bottom: 5px; }
.tbi-logo-header p { color: #777; font-style: italic; margin-bottom: 40px; }

.tbi-track-container {
    width: 100%; height: 120px; overflow: hidden; position: relative;
    mask-image: linear-gradient(90deg, transparent, white 5%, white 95%, transparent);
    -webkit-mask-image: linear-gradient(90deg, transparent, white 5%, white 95%, transparent);
}
.tbi-track-inner { display: flex; align-items: center; width: max-content; height: 100%; }

.tbi-move-left { animation: scrollLeft 40s linear infinite; }
.tbi-move-right { animation: scrollRight 40s linear infinite; }

@keyframes scrollLeft { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }
@keyframes scrollRight { 0% { transform: translateX(-50%); } 100% { transform: translateX(0); } }

.tbi-logo-wrapper {
    width: 200px; height: 100px; padding: 0 20px;
    display: flex; justify-content: center; align-items: center; flex-shrink: 0;
}
.img-fluid-logo {
    width: 100%; height: 100%; object-fit: contain;
    filter: grayscale(100%) opacity(0.5); transition: all 0.3s ease; mix-blend-mode: multiply;
}
.img-fluid-logo:hover { filter: grayscale(0%) opacity(1); transform: scale(1.1); }

/* ============================================================ */
/* 10. SEZIONE TESTIMONIANZE                                    */
/* ============================================================ */
.tbi-testimonials-section {
    padding: 20px 40px 80px 40px; background: #f4f4f4;
    text-align: center; position: relative; z-index: 5;
}
.tbi-carousel-container {
    max-width: 900px; margin: 0 auto; min-height: 200px;
    display: flex; flex-direction: column; align-items: center; justify-content: center;
}
.tbi-testimonial-slide { display: none; animation: fadeText 1s ease; }
.tbi-testimonial-slide.active { display: block; }

@keyframes fadeText { from { opacity:0; transform:translateY(10px); } to { opacity:1; transform:translateY(0); } }

.tbi-quote {
    font-size: 1.55rem; font-style: italic; color: #333;
    margin-bottom: 14px; line-height: 1.35; font-family: 'Times New Roman', serif;
}
.tbi-author { font-size: 0.9rem; font-weight: 700; text-transform: uppercase; color: var(--orange); letter-spacing: 2px; }

/* ============================================================ */
/* 11. SEZIONE RISORSE                                          */
/* ============================================================ */
.tbi-resources-section {
    padding: 58px 40px 0; background: #ffffff; position: relative; z-index: 5;
}
.tbi-resources-container {
    display: grid; grid-template-columns: repeat(3, 1fr);
    gap: 24px; max-width: 1120px; margin: 0 auto;
}
.tbi-resource-box {
    background-color: #f9f9f9; padding: 36px 30px; border-radius: 4px;
    border: 1px solid #eee; display: flex; flex-direction: column;
    align-items: flex-start; transition: transform 0.3s ease; min-height: 290px;
}
.tbi-resource-box:hover { transform: translateY(-10px); border-color: var(--orange); }

.tbi-resource-box.tbi-highlight-box { background-color: var(--orange) !important; border-color: var(--orange) !important; }
.tbi-resource-box.tbi-highlight-box h3 { color: #ffffff; }
.tbi-resource-box.tbi-highlight-box p { color: rgba(255,255,255,0.9); }
.tbi-resource-box.tbi-highlight-box .tbi-res-tag { color: rgba(255,255,255,0.8); }

.tbi-res-tag { font-size: 0.68rem; font-weight: 700; text-transform: uppercase; letter-spacing: 2px; display: block; margin-bottom: 16px; color: #999; }
.tbi-resource-box h3 { font-size: 1.65rem; margin-bottom: 12px; line-height: 1.15; font-weight: 700; color: #111; }
.tbi-resource-box p { font-size: 1.02rem; color: #666; margin-bottom: 30px; flex-grow: 1; line-height: 1.5; }

.tbi-read-more { font-size: 0.85rem; text-transform: uppercase; font-weight: 700; color: var(--orange); letter-spacing: 1px; margin-top: auto; }
.tbi-btn-download { font-size: 0.9rem; text-transform: uppercase; font-weight: 700; color: #ffffff; border-bottom: 2px solid #ffffff; padding-bottom: 5px; letter-spacing: 1px; margin-top: auto; }
.tbi-btn-download:hover { opacity: 0.8; }

@media (max-width: 1024px) { .tbi-resources-container { grid-template-columns: 1fr; } }

/* ============================================================ */
/* 12. SEZIONE GALLERY                                          */
/* ============================================================ */
.tbi-gallery-section { padding: 80px 0 0; margin-top: -70px; background: var(--white); position: relative; z-index: 6; }
.tbi-gallery-header { text-align: center; margin-bottom: 14px; padding-top: 0; }
.tbi-gallery-header h2 { text-transform: uppercase; letter-spacing: 4px; font-weight: 300; font-size: 1.15rem; color: var(--dark); margin-bottom: 8px; }

.tbi-gallery-strip { display: flex; width: 100%; height: 300px; overflow: hidden; }
.tbi-strip-item {
    flex: 1; background-size: cover; background-position: center;
    position: relative; transition: all 0.6s cubic-bezier(0.25, 1, 0.5, 1);
    cursor: pointer; border-right: 1px solid rgba(255,255,255,0.2);
}
.tbi-overlay { position: absolute; bottom: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.4); display: flex; justify-content: center; align-items: center; transition: background 0.4s; }
.tbi-overlay h3 { color: white; letter-spacing: 2px; font-size: 1rem; font-weight: 700; text-transform: uppercase; }
.tbi-strip-item:hover { flex: 3; }
.tbi-strip-item:hover .tbi-overlay { background: rgba(0,0,0,0); }

@media (max-width: 1024px) {
    .tbi-gallery-strip { flex-direction: column; height: auto; }
    .tbi-strip-item { height: 200px; width: 100%; }
    .tbi-strip-item:hover { flex: 1; }
}

/* ============================================================ */
/* 13. FOOTER                                                   */
/* ============================================================ */
footer {
    background-color: var(--dark); color: var(--white);
    padding: 44px 40px 22px; width: 100%;
    position: relative; z-index: 10;
    border-top: 1px solid rgba(255,255,255,0.1);
}
.tbi-footer-container {
    max-width: 1600px; margin: 0 auto;
    display: flex; flex-wrap: wrap; gap: 36px;
    justify-content: space-between; align-items: flex-start;
}

.tbi-footer-info { flex: 1; min-width: 300px; display: flex; flex-direction: column; align-items: flex-start; }
.tbi-footer-logo { height: 140px; margin-bottom: -10px; margin-left: -20px; display: block; object-fit: contain; }
.tbi-footer-claim { font-style: italic; color: var(--white); margin-top: 0; margin-bottom: 28px; font-size: 1.05rem; line-height: 1.25; }

.tbi-contact-details { display: flex; flex-direction: column; gap: 5px; }
.tbi-contact-details p { margin-bottom: 10px; font-size: 1rem; color: #ccc; line-height: 1.35; }
.tbi-contact-details i { width: 25px; text-align: center; color: var(--orange); }
.tbi-contact-details a { color: var(--white); border-bottom: 1px solid rgba(255,255,255,0.2); padding-bottom: 2px; }
.tbi-contact-details a:hover { color: var(--orange); border-color: var(--orange); }

.tbi-social-links { margin-top: 20px; }
.tbi-social-links a { color: var(--gold); margin-right: 20px; font-size: 0.9rem; display: inline-block; margin-bottom: 10px; }
.tbi-social-links a:hover { color: var(--white); }

.tbi-footer-form { flex: 1; min-width: 300px; background: var(--white); padding: 28px; border-radius: 4px; color: var(--dark); }
.tbi-footer-form h3 { font-size: 1.3rem; margin-bottom: 14px; font-weight: 700; color: var(--dark); }

.tbi-input { width: 100%; padding: 12px; margin-bottom: 12px; background: #f4f4f4; border: 1px solid #ddd; border-radius: 2px; font-size: 0.9rem; color: #333; font-family: inherit; }
.tbi-input:focus { outline: none; border-color: var(--orange); background: #fff; }

.tbi-form-row { display: flex; gap: 15px; }
.tbi-form-row .tbi-input { flex: 1; }

.tbi-submit-btn { width: 100%; padding: 14px; background: var(--orange); color: var(--dark); border: none; font-weight: 800; cursor: pointer; text-transform: uppercase; letter-spacing: 1px; transition: 0.3s; margin-top: 6px; }
.tbi-submit-btn:hover { background: #d4a000; transform: translateY(-2px); }

.tbi-privacy-consent {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 8px 0 14px;
    color: #555;
    font-size: 0.76rem;
    line-height: 1.45;
}
.tbi-privacy-consent input {
    flex: 0 0 auto;
    margin-top: 3px;
}
.tbi-privacy-consent a {
    color: var(--orange);
    text-decoration: underline;
}
.tbi-honeypot {
    display: none !important;
    visibility: hidden !important;
    position: absolute !important;
    left: -9999px !important;
}

.tbi-footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 18px; text-align: center; font-size: 0.75rem; color: #666; margin-top: 28px; }

@media (max-width: 768px) {
    .tbi-footer-container { flex-direction: column; gap: 40px; }
    .tbi-form-row { flex-direction: column; gap: 0; }
    .tbi-footer-form { padding: 30px 20px; }
}

/* ============================================================ */
/* 14. STILI PER PAGINE INTERNE (teambuilding.html ecc.)        */
/* ============================================================ */
.tbi-internal-hero {
    background-image: url('https://images.unsplash.com/photo-1517048676732-d65bc937f952?w=1920&auto=format&fit=crop');
}

.tbi-macro-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; max-width: 1400px; margin: 0 auto; }

.tbi-macro-card { position: relative; height: 400px; overflow: hidden; border-radius: 4px; cursor: pointer; text-decoration: none; }
.tbi-macro-bg { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background-size: cover; background-position: center; transition: transform 0.6s ease, filter 0.6s ease; filter: brightness(0.7); z-index: 0; }
.tbi-macro-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: linear-gradient(to top, rgba(0,0,0,0.9), transparent); z-index: 1; display: flex; flex-direction: column; justify-content: flex-end; padding: 30px; }
.tbi-macro-title { font-size: 1.8rem; font-weight: 800; color: var(--white); text-transform: uppercase; margin-bottom: 10px; line-height: 1; transition: color 0.3s; }
.tbi-macro-desc { font-size: 1rem; color: var(--orange); font-weight: 700; text-transform: uppercase; letter-spacing: 1px; transform: translateY(20px); opacity: 0; transition: all 0.4s ease; }
.tbi-macro-card:hover .tbi-macro-bg { transform: scale(1.1); filter: brightness(0.5); }
.tbi-macro-card:hover .tbi-macro-desc { transform: translateY(0); opacity: 1; }

.tbi-filter-container { text-align: center; margin-bottom: 60px; }
.tbi-filter-label { display: block; font-weight: 700; color: #999; margin-bottom: 15px; text-transform: uppercase; letter-spacing: 2px; font-size: 0.8rem; }
.tbi-chip-btn { background: transparent; border: 1px solid #ddd; color: #555; padding: 10px 25px; border-radius: 50px; font-weight: 600; font-size: 0.9rem; cursor: pointer; transition: 0.3s; margin: 5px; }
.tbi-chip-btn:hover { background: var(--orange); border-color: var(--orange); color: var(--dark); }

@media (max-width: 1024px) { .tbi-macro-grid { grid-template-columns: 1fr; } }

/* ============================================================ */
/* 15. STILI SCHEDA TECNICA (logistics, micro-cta)              */
/* ============================================================ */
.tbi-logistics-cta-section { background-color: var(--white); color: var(--dark); padding: 80px 40px; position: relative; z-index: 5; }
.logistics-container { max-width: 1200px; margin: 0 auto; }
.block-title-orange { font-size: 2rem; font-weight: 800; text-transform: uppercase; color: var(--orange); text-align: center; margin-bottom: 40px; }
.logistics-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; margin-bottom: 60px; }
.logistic-item { background: #f9f9f9; padding: 25px; border-radius: 4px; border-left: 4px solid var(--orange); }
.logistic-label { font-size: 0.9rem; font-weight: 700; text-transform: uppercase; color: var(--orange); margin-bottom: 5px; }
.logistic-value { font-size: 1rem; font-weight: 300; color: #333; }

.testimonial-box { margin-top: 40px; padding: 40px; border: 1px solid #ddd; border-radius: 5px; background-color: #f2f2f2; text-align: center; }
.quote { font-family: 'Times New Roman', serif; font-size: 1.6rem; font-style: italic; line-height: 1.4; color: var(--dark); margin-bottom: 15px; }
.author { font-size: 0.9rem; font-weight: 700; text-transform: uppercase; color: var(--orange); }

.micro-cta-section { padding: 80px 20px; background-color: var(--dark); text-align: center; position: relative; z-index: 5; }
.micro-cta-container { max-width: 900px; margin: 0 auto; }
.micro-cta-text { font-size: 1.8rem; font-weight: 700; color: var(--orange); margin-bottom: 15px; line-height: 1.3; }
.micro-cta-subtext { font-size: 1.4rem; font-weight: 300; color: var(--white); line-height: 1.4; }
.micro-cta-subtext strong { font-weight: 700; color: #3498DB; }

@media (max-width: 992px) {
    .logistics-grid { grid-template-columns: 1fr; }
    .micro-cta-text { font-size: 1.4rem; }
    .micro-cta-subtext { font-size: 1.1rem; }
}

/* ============================================================ */
/* 16. BOX DOCK (INFO GALLEGGIANTE NELL'HERO)                   */
/* ============================================================ */
.glass-dock {
    position: absolute; left: 50%; transform: translateX(-50%); bottom: 50px;
    width: fit-content; max-width: 90%; z-index: 10;
    background: rgba(255,255,255,0.15); backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px); border: 1px solid rgba(255,255,255,0.2);
    padding: 20px 40px; border-radius: 50px;
    display: flex; justify-content: center; align-items: center; gap: 40px;
    color: #fff; box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}
.dock-item { text-align: center; white-space: nowrap; }
.dock-label { display: block; font-size: 0.7rem; text-transform: uppercase; letter-spacing: 1px; opacity: 0.8; margin-bottom: 5px; }
.dock-value { display: block; font-size: 1.1rem; font-weight: 700; }
.dock-icon { color: var(--orange); margin-right: 8px; }

@media (max-width: 768px) {
    .glass-dock { width: 90%; flex-direction: column; gap: 20px; bottom: 30px; border-radius: 20px; padding: 20px; }
    .dock-item { white-space: normal; }
}

/* ============================================================ */
/* 17. LINK BACK INTEGRATO (PAGINE INTERNE)                     */
/* ============================================================ */
.tbi-back-link-integrated { display: inline-flex; align-items: center; color: var(--white); font-size: 0.9rem; font-weight: 300; margin-top: 3px; transition: color 0.3s; }
.tbi-back-link-integrated:hover { color: var(--gold); }
.tbi-arrow-integrated { margin-right: 8px; font-size: 2rem; line-height: 1; color: var(--gold); }

/* ============================================================ */
/* 18. CLAIM AL PIEDE HERO                                      */
/* ============================================================ */
.hero-bottom-claim {
    position: absolute; bottom: 30px; left: 50%; transform: translateX(-50%);
    background: rgba(255,255,255,0.15); backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.3);
    padding: 15px 40px; border-radius: 50px;
    color: white; font-size: 1.3rem; font-style: italic;
    white-space: nowrap; z-index: 10;
}
@media (max-width: 768px) {
    .hero-bottom-claim { width: 90%; white-space: normal; text-align: center; font-size: 1rem; }
}

/* ============================================================ */
/* 19. STILI PAGINA TEAMBUILDING                                 */
/* ============================================================ */

/* HERO */
.cat-hero {
    height: 100vh; min-height: 100vh;
    background-image: url('https://images.unsplash.com/photo-1529156069898-49953e39b3ac?auto=format&fit=crop&w=1920&q=80');
    background-size: cover; background-position: center; background-attachment: fixed;
    position: relative; display: flex; align-items: center; justify-content: center;
    text-align: center; color: white;
}
.cat-hero::before {
    content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0.2), rgba(0,0,0,0.7));
}
.hero-content { position: relative; z-index: 2; max-width: 1100px; padding: 0 20px; }
.hero-content h1 { font-size: 5rem; font-weight: 800; text-transform: uppercase; letter-spacing: 4px; margin-bottom: 20px; line-height: 1; text-shadow: 0 10px 40px rgba(0,0,0,0.6); }
.hero-content p { font-size: 1.5rem; font-weight: 300; line-height: 1.6; max-width: 800px; margin: 0 auto; text-shadow: 0 2px 10px rgba(0,0,0,0.8); }

/* INTRO */
.intro-section { padding: 100px 40px; background: #fff; text-align: center; }
.intro-text { font-size: 1.8rem; color: #333; max-width: 1000px; margin: 0 auto 80px auto; font-weight: 300; }
.section-label { display: block; font-size: 0.9rem; text-transform: uppercase; letter-spacing: 3px; color: #999; margin-bottom: 40px; font-weight: 700; }

/* GRIGLIA 6 MACRO CATEGORIE */
.macro-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; max-width: 1600px; margin: 0 auto; }
.macro-card { height: 450px; position: relative; overflow: hidden; cursor: pointer; border-radius: 4px; }
.macro-bg { width: 100%; height: 100%; object-fit: cover; transition: 0.8s; filter: brightness(0.7); }
.macro-card:hover .macro-bg { transform: scale(1.1); filter: brightness(0.4); }
.macro-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; display: flex; flex-direction: column; justify-content: center; align-items: center; }
.macro-title { color: #fff; font-size: 2rem; font-weight: 700; text-transform: uppercase; margin-bottom: 10px; text-shadow: 0 5px 15px rgba(0,0,0,0.5); }
.macro-desc { color: #eeb609; font-weight: 600; text-transform: uppercase; letter-spacing: 2px; opacity: 0; transform: translateY(20px); transition: 0.4s; }
.macro-card:hover .macro-desc { opacity: 1; transform: translateY(0); }

/* SEZIONE TUTTI I FORMAT */
.infinite-section { background-color: #050505; padding: 100px 0; color: white; }
.section-header-dark { text-align: center; margin-bottom: 80px; }
.section-header-dark h2 { font-size: 3.5rem; font-weight: 300; text-transform: uppercase; letter-spacing: 8px; color: #fff; }
.separator-gold { width: 80px; height: 3px; background: #eeb609; margin: 20px auto; }

/* GRIGLIA CINEMA (2 colonne) */
.cinema-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; width: 100%; }
.cinema-item { height: 550px; position: relative; overflow: hidden; cursor: pointer; border: 1px solid #111; }
.cinema-img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s ease; filter: brightness(0.8); }
.cinema-item:hover .cinema-img { transform: scale(1.05); filter: brightness(0.3); }
.cinema-content { position: absolute; top: 0; left: 0; width: 100%; height: 100%; display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; padding: 60px; opacity: 0; transition: opacity 0.4s ease; }
.cinema-item:hover .cinema-content { opacity: 1; }
.cinema-tag { color: #fff; font-size: 0.8rem; text-transform: uppercase; letter-spacing: 2px; margin-bottom: 15px; opacity: 0.7; }
.cinema-title { color: #eeb609; font-size: 3rem; font-weight: 700; text-transform: uppercase; margin-bottom: 20px; letter-spacing: 1px; line-height: 1; }
.cinema-desc { color: #ddd; font-size: 1.3rem; font-weight: 300; margin-bottom: 30px; }
.cinema-arrow { font-size: 1rem; text-transform: uppercase; letter-spacing: 2px; border-bottom: 1px solid #eeb609; padding-bottom: 5px; color: white; }
.static-label { position: absolute; bottom: 40px; left: 40px; color: #fff; font-size: 1.8rem; font-weight: 700; text-transform: uppercase; letter-spacing: 2px; text-shadow: 0 2px 20px rgba(0,0,0,1); transition: opacity 0.3s; pointer-events: none; border-left: 4px solid #eeb609; padding-left: 15px; }
.cinema-item:hover .static-label { opacity: 0; }

/* MOBILE */
@media (max-width: 1024px) {
    .macro-grid { grid-template-columns: 1fr 1fr; }
    .cinema-grid { grid-template-columns: 1fr; }
    .hero-content h1 { font-size: 3rem; }
}
@media (max-width: 768px) {
    .macro-grid { grid-template-columns: 1fr; }
    .intro-text { font-size: 1.3rem; }
}

/* ============================================================ */
/* 20. STILI PAGINE SINGOLO FORMAT (action-painting ecc.)       */
/* ============================================================ */

/* HERO PARALLAX */
.parallax-wrapper {
    background-image: url('https://images.unsplash.com/photo-1513364776144-60967b0f800f?w=1920');
    background-attachment: fixed;
    background-size: cover;
    background-position: center;
    padding-top: 100vh;
    min-height: 100vh;
    position: relative;
}
.hero-overlay {
    position: absolute; top: 0; left: 0; width: 100%; height: 100vh;
    background: linear-gradient(to bottom, rgba(0,0,0,0.3), rgba(0,0,0,0.8));
    display: flex; flex-direction: column; justify-content: center; align-items: center;
    text-align: center; color: white; gap: 15px;
}
.hero-tag { font-size: 0.8rem; letter-spacing: 4px; color: var(--orange); text-transform: uppercase; font-weight: 600; }
.hero-title { font-size: 6rem; line-height: 1; }
.hero-subtitle { font-size: 1.2rem; font-weight: 300; letter-spacing: 1px; opacity: 0.9; }

/* CONTENUTO FLUTTUANTE */
.content-container {
    position: relative; z-index: 2;
    max-width: 1000px; margin: 0 auto; padding-bottom: 0;
}
.intro-card {
    background: var(--white); padding: 60px;
    margin-top: -80px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.2); text-align: center;
}
.lead-text { font-size: 2rem; font-style: italic; color: var(--dark); line-height: 1.4; margin-bottom: 40px; font-family: Georgia, serif; }
.gold-line { width: 60px; height: 3px; background: var(--orange); margin: 0 auto 40px auto; }
.body-text { font-size: 1.1rem; line-height: 1.8; color: #666; }

/* GRIGLIA 3 CARD */
.features-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 30px; margin-top: 30px; }
.feature-card {
    background: rgba(255,255,255,0.95); padding: 40px 30px;
    transition: transform 0.3s; border-top: 4px solid transparent;
}
.feature-card:hover { transform: translateY(-10px); background: var(--white); border-top-color: var(--orange); box-shadow: 0 15px 40px rgba(0,0,0,0.1); }
.icon-wrapper { width: 60px; height: 60px; background: #f9f9f9; border-radius: 50%; display: flex; align-items: center; justify-content: center; margin-bottom: 20px; color: var(--orange); font-size: 1.5rem; }
.card-title { font-size: 1.5rem; margin-bottom: 15px; color: var(--dark); font-weight: 700; }
.card-desc { font-size: 0.95rem; color: #555; line-height: 1.6; }

/* BOX VANTAGGIO */
.advantage-card {
    background: var(--dark); color: var(--white);
    padding: 60px; margin-top: 30px; margin-bottom: 0;
    display: flex; align-items: center; gap: 40px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.3);
}
.adv-title { font-size: 2.5rem; color: var(--orange); line-height: 1.2; min-width: 300px; font-style: italic; }
.adv-text { font-size: 1.1rem; line-height: 1.8; opacity: 0.9; border-left: 1px solid rgba(255,255,255,0.2); padding-left: 40px; }

/* CAROSELLO FOTO */
.carousel-section { background: var(--white); padding: 80px 0; text-align: center; overflow: hidden; }
.carousel-title { font-size: 2rem; color: var(--dark); margin-bottom: 40px; letter-spacing: 2px; text-transform: uppercase; }
.carousel-track { display: flex; width: max-content; animation: scroll 40s linear infinite; }
@keyframes scroll { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }
.carousel-item { width: 400px; height: 300px; background-size: cover; background-position: center; margin: 0 10px; border-radius: 4px; flex-shrink: 0; position: relative; cursor: pointer; transition: transform 0.3s; }
.carousel-item:hover { transform: scale(1.05); z-index: 10; }
.photo-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.3); opacity: 0; transition: 0.3s; }
.carousel-item:hover .photo-overlay { opacity: 1; }

/* CAROSELLO EDITORIALE TEMPORANEO */
.editorial-carousel {
    background: linear-gradient(180deg, #ffffff 0%, #f5f1ea 100%);
}

.editorial-track {
    display: flex;
    width: max-content;
    gap: 18px;
    padding: 0 20px;
    animation: editorial-scroll 34s linear infinite;
}

@keyframes editorial-scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.editorial-card {
    width: 380px;
    min-height: 260px;
    padding: 30px 28px;
    border-radius: 20px;
    border: 1px solid rgba(17, 17, 17, 0.08);
    background:
        linear-gradient(160deg, rgba(17, 17, 17, 0.98), rgba(38, 38, 38, 0.92)),
        linear-gradient(135deg, rgba(238, 182, 9, 0.12), rgba(255, 255, 255, 0));
    color: #f7f1e8;
    text-align: left;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: 0 24px 44px rgba(17, 17, 17, 0.16);
}

.editorial-card:nth-child(3n+2) {
    background:
        linear-gradient(160deg, rgba(34, 34, 34, 0.98), rgba(59, 44, 23, 0.92)),
        linear-gradient(135deg, rgba(238, 182, 9, 0.16), rgba(255, 255, 255, 0));
}

.editorial-card:nth-child(3n+3) {
    background:
        linear-gradient(160deg, rgba(25, 25, 25, 0.98), rgba(50, 50, 50, 0.92)),
        linear-gradient(135deg, rgba(255, 255, 255, 0.06), rgba(238, 182, 9, 0.08));
}

.editorial-kicker {
    display: inline-block;
    font-size: 0.78rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--orange);
    margin-bottom: 24px;
}

.editorial-copy {
    font-size: 1.55rem;
    line-height: 1.35;
    color: #fffaf2;
}

.editorial-note {
    margin-top: 26px;
    font-size: 0.92rem;
    line-height: 1.6;
    color: rgba(255, 245, 227, 0.72);
}

/* MOBILE */
@media (max-width: 900px) {
    .hero-title { font-size: 3.5rem; }
    .features-grid { grid-template-columns: 1fr; }
    .advantage-card { flex-direction: column; text-align: center; }
    .adv-text { border-left: none; padding-left: 0; padding-top: 20px; border-top: 1px solid rgba(255,255,255,0.2); }
    .carousel-item { width: 300px; height: 200px; }
    .intro-card { padding: 40px 20px; }
    .editorial-card { width: 300px; min-height: 220px; padding: 24px 22px; }
    .editorial-copy { font-size: 1.25rem; }
}
