/* ========== RESET & BASE ========== */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --color-top: #FE7F2D;
    --color-bottom: #FFF0D4;
    --color-dark: #1a1a1a;
    --color-text: #2b2b2b;
    --color-text-light: #5a5a5a;
    --color-white: #ffffff;
    --font-display: 'Courier Prime', monospace;
    --font-body: 'Montserrat', sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--color-text);
    background: var(--color-bottom);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

img {
    max-width: 100%;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}

/* ========== NAVBAR ========== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(254, 127, 45, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition: background 0.4s ease, box-shadow 0.4s ease;
}

.navbar.scrolled {
    background: rgba(254, 127, 45, 0.95);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.15);
}

.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 20px;
}

.nav-home-link {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.nav-logo {
    width: 40px;
    height: 40px;
    border-radius: 6px;
    overflow: hidden;
}

.logo-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.nav-brand {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--color-white);
    letter-spacing: 0.5px;
}

/* Hamburger */
.hamburger {
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    gap: 5px;
    padding: 6px;
    z-index: 1001;
}

.hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--color-white);
    border-radius: 2px;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.hamburger.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* Mobile Menu */
.nav-menu {
    display: flex;
    flex-direction: column;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
    padding: 0 20px;
}

.nav-menu.open {
    max-height: 300px;
    padding: 0 20px 20px;
}

.nav-menu a {
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 500;
    color: var(--color-white);
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    transition: opacity 0.3s ease;
}

.nav-menu a:last-child {
    border-bottom: none;
}

.nav-menu a:hover {
    opacity: 0.7;
}

/* ========== LANG TOGGLE ========== */
.lang-toggle {
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    color: var(--color-white);
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 4px;
    padding: 6px 14px;
    cursor: pointer;
    transition: background 0.3s, border-color 0.3s;
    margin: 8px 0;
}
.lang-toggle:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.5);
}

/* ========== HERO SECTION ========== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: var(--color-dark);
}

.hero-video-wrap {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-video-overlay {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at center, transparent 35%, rgba(0,0,0,0.35) 100%),
        linear-gradient(
            180deg,
            rgba(254, 127, 45, 0.6) 0%,
            rgba(26, 26, 26, 0.5) 50%,
            rgba(26, 26, 26, 0.8) 100%
        );
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: 100px 24px 60px;
    max-width: 600px;
}

.hero-title {
    font-family: var(--font-display);
    font-size: 2.4rem;
    font-weight: 700;
    color: var(--color-white);
    line-height: 1.15;
    margin-bottom: 16px;
    text-shadow: 0 4px 30px rgba(254, 127, 45, 0.3);
    opacity: 0;
    transform: translateY(30px);
    animation: fadeUp 0.8s ease forwards 0.3s;
}

.hero-subtitle {
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 32px;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeUp 0.8s ease forwards 0.5s;
}

.hero-buttons {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    margin-bottom: 40px;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeUp 0.8s ease forwards 0.7s;
}

.btn {
    display: inline-block;
    padding: 12px 40px;
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-outline {
    border: 1.5px solid var(--color-white);
    color: var(--color-white);
    background: transparent;
    min-width: 180px;
}

.btn-outline:hover {
    background: var(--color-white);
    color: var(--color-top);
    box-shadow: 0 0 30px rgba(255, 255, 255, 0.25), 0 0 60px rgba(254, 127, 45, 0.15);
}

.hero-description {
    font-size: 1.05rem;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeUp 0.8s ease forwards 0.9s;
}

/* ========== SECTIONS SHARED ========== */
.section-about,
.section-chi-siamo,
.section-contact {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 80px 24px;
}

.section-inner {
    max-width: 900px;
    margin: 0 auto;
}

.section-inner-wide {
    max-width: 1000px;
    margin: 0 auto;
    width: 100%;
}

.section-title {
    font-family: var(--font-display);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--color-dark);
    margin-bottom: 24px;
    line-height: 1.2;
}

.section-text {
    font-size: 0.95rem;
    font-weight: 300;
    color: var(--color-text-light);
    line-height: 1.7;
}

/* ========== SECTION BACKGROUNDS ========== */
.section-about {
    background: #FFF0D4;
}

.section-chi-siamo {
    background: #ffffff;
}

.section-contact {
    background: #FFF0D4;
}

/* ========== CHI SIAMO IMAGE ========== */
.chi-siamo-image {
    margin: 24px 0;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1);
}

.chi-siamo-image img {
    width: 120%;
    height: auto;
    display: block;
    transition: transform 0.6s ease;
    object-fit: cover;
}

.chi-siamo-image:hover img {
    transform: scale(1.03);
}

/* ========== CONTACT FORM ========== */
.contact-form {
    margin-top: 32px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    color: var(--color-text-light);
    margin-bottom: 8px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 14px 16px;
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--color-text);
    background: rgba(255, 255, 255, 0.7);
    border: 1.5px solid rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    outline: none;
    transition: border-color 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--color-top);
    background: var(--color-white);
    box-shadow: 0 0 0 3px rgba(254, 127, 45, 0.15);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.btn-submit {
    width: 100%;
    padding: 16px;
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-white);
    background: var(--color-top);
    border: none;
    border-radius: 30px;
    cursor: pointer;
    letter-spacing: 0.5px;
    transition: background 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
}

.btn-submit:hover {
    background: #e56e1f;
    box-shadow: 0 8px 24px rgba(254, 127, 45, 0.35);
}

.btn-submit:active {
    transform: scale(0.98);
}

.btn-submit.loading {
    pointer-events: none;
    opacity: 0.7;
}

/* ========== FOOTER ========== */
.footer {
    text-align: center;
    padding: 32px 24px;
    background: var(--color-bottom);
    font-size: 0.8rem;
    color: var(--color-text-light);
}

/* ========== TOAST NOTIFICA ========== */
.form-toast {
    position: fixed;
    bottom: 32px;
    right: 32px;
    padding: 16px 28px;
    border-radius: 12px;
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--color-white);
    z-index: 2000;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.4s ease, transform 0.4s ease;
    pointer-events: none;
}

.form-toast.show {
    opacity: 1;
    transform: translateY(0);
}

.form-toast.success {
    background: #2ecc71;
}

.form-toast.error {
    background: #e74c3c;
}

/* ================================================================
   SERVIZI PAGES
   ================================================================ */

/* ========== SERVIZI HERO ========== */
.servizi-hero {
    position: relative;
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-dark);
    overflow: hidden;
}

.servizi-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at center, transparent 35%, rgba(0,0,0,0.3) 100%),
        linear-gradient(
            180deg,
            rgba(254, 127, 45, 0.5) 0%,
            rgba(26, 26, 26, 0.7) 100%
        );
}

.servizi-hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: 120px 24px 60px;
    max-width: 700px;
}

.servizi-hero-breadcrumb {
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 16px;
    letter-spacing: 0.5px;
}

.servizi-hero-breadcrumb a {
    color: rgba(255, 255, 255, 0.6);
    transition: color 0.3s ease;
}

.servizi-hero-breadcrumb a:hover {
    color: var(--color-white);
}

.servizi-hero-title {
    font-family: var(--font-display);
    font-size: 2.4rem;
    font-weight: 700;
    color: var(--color-white);
    line-height: 1.15;
    margin-bottom: 16px;
    text-shadow: 0 4px 30px rgba(254, 127, 45, 0.3);
    opacity: 0;
    transform: translateY(30px);
    animation: fadeUp 0.8s ease forwards 0.3s;
}

.servizi-hero-subtitle {
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.8);
    opacity: 0;
    transform: translateY(20px);
    animation: fadeUp 0.8s ease forwards 0.5s;
}

/* ========== SEZIONE COME LAVORIAMO ========== */
.section-come-lavoriamo {
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 80px 24px;
    background: var(--color-bottom);
}

/* ========== SEZIONE SHOWREEL / TRAILER ========== */
.section-showreel {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 80px 24px;
    background: var(--color-dark);
}

.showreel-inner {
    max-width: 960px;
    width: 100%;
    margin: 0 auto;
    text-align: center;
}

.showreel-title {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 700;
    color: var(--color-white);
    margin-bottom: 12px;
}

.showreel-subtitle {
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 36px;
}

.showreel-video-wrap {
    position: relative;
    width: 100%;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

.showreel-video {
    width: 100%;
    display: block;
    aspect-ratio: 16 / 9;
    object-fit: cover;
}

/* ========== SEZIONE CARDS SERVIZI ========== */
.section-servizi-cards {
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 80px 24px;
    background: var(--color-white);
}

.section-servizi-cards .section-title {
    text-align: center;
    margin-bottom: 48px;
}

/* ========== GRIGLIA CARDS SERVIZI ========== */
.servizi-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

.servizio-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 40px 28px;
    min-height: 260px;
    background: var(--color-bottom);
    border-radius: 16px;
    border: 1.5px solid rgba(0, 0, 0, 0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.servizio-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 48px rgba(254, 127, 45, 0.15);
}

.servizio-card-icon {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-white);
    border-radius: 50%;
    margin-bottom: 24px;
    color: var(--color-top);
    transition: background 0.3s ease, color 0.3s ease;
}

.servizio-card:hover .servizio-card-icon {
    background: var(--color-top);
    color: var(--color-white);
}

.servizio-card-title {
    font-family: var(--font-display);
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--color-dark);
    margin-bottom: 12px;
}

.servizio-card-text {
    font-size: 0.9rem;
    font-weight: 300;
    color: var(--color-text-light);
    line-height: 1.7;
    margin-bottom: 20px;
}

.servizio-card-link {
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--color-top);
    letter-spacing: 0.5px;
    transition: letter-spacing 0.3s ease;
}

.servizio-card:hover .servizio-card-link {
    letter-spacing: 1.5px;
}

/* ========== PAGINE SINGOLO SERVIZIO ========== */
.section-servizio-intro {
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 80px 24px;
    background: var(--color-bottom);
}

.section-servizio-portfolio {
    min-height: 40vh;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: 80px 24px;
    background: var(--color-white);
}

/* ========== PORTFOLIO ========== */
.portfolio-title {
    text-align: center;
    margin-bottom: 48px;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 28px;
}

.portfolio-card {
    background: var(--color-bottom);
    border-radius: 16px;
    overflow: hidden;
    border: 1.5px solid rgba(0, 0, 0, 0.06);
}

.portfolio-card-img-wrap {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16 / 10;
}

.portfolio-card-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.5s ease;
}

.portfolio-card:hover .portfolio-card-img {
    transform: scale(1.05);
}

.portfolio-card-overlay {
    position: absolute;
    inset: 0;
    background: rgba(26, 26, 26, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.portfolio-card:hover .portfolio-card-overlay {
    opacity: 1;
}

.portfolio-play-btn {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-top);
    border: none;
    border-radius: 50%;
    color: var(--color-white);
    cursor: pointer;
    transition: transform 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
}

.portfolio-play-btn svg {
    width: 22px;
    height: 22px;
    margin-left: 3px;
}

.portfolio-play-btn:hover {
    transform: scale(1.15);
    background: #e56e1f;
    box-shadow: 0 0 30px rgba(254, 127, 45, 0.5);
}

.portfolio-backstage-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 10px 18px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(8px);
    border: none;
    border-radius: 30px;
    color: var(--color-white);
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 500;
    cursor: pointer;
    letter-spacing: 0.3px;
    transition: background 0.3s ease;
}

.portfolio-backstage-btn svg {
    width: 16px;
    height: 16px;
}

.portfolio-backstage-btn:hover {
    background: rgba(255, 255, 255, 0.3);
}

.portfolio-card-body {
    padding: 20px 24px 24px;
}

.portfolio-card-title {
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--color-dark);
    margin-bottom: 8px;
}

.portfolio-card-tag {
    display: inline-block;
    padding: 4px 12px;
    font-family: var(--font-body);
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: var(--color-top);
    background: rgba(254, 127, 45, 0.1);
    border-radius: 20px;
    margin-bottom: 14px;
}

.portfolio-card-cliente {
    display: flex;
    align-items: center;
    gap: 10px;
}

.portfolio-card-cliente-logo {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    object-fit: cover;
    border: 1.5px solid rgba(0, 0, 0, 0.08);
}

.portfolio-card-cliente-nome {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--color-text-light);
}

/* Portfolio states */
.portfolio-loader {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    color: var(--color-text-light);
    font-size: 0.9rem;
}

.portfolio-spinner {
    width: 36px;
    height: 36px;
    border: 3px solid rgba(254, 127, 45, 0.2);
    border-top-color: var(--color-top);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    margin-bottom: 16px;
}

.portfolio-empty,
.portfolio-error {
    text-align: center;
    padding: 60px 20px;
    color: var(--color-text-light);
    font-size: 0.95rem;
}

.portfolio-retry-btn {
    margin-top: 16px;
    padding: 10px 28px;
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--color-white);
    background: var(--color-top);
    border: none;
    border-radius: 30px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.portfolio-retry-btn:hover {
    background: #e56e1f;
}

/* ================================================================
   CHI SIAMO PAGE
   ================================================================ */

.section-missione {
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 80px 24px;
    background: var(--color-bottom);
}

/* ========== TEAM ========== */
.section-team {
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 80px 24px;
    background: var(--color-white);
}

.section-team .section-title {
    text-align: center;
    margin-bottom: 48px;
}

.team-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
    max-width: 700px;
    margin: 0 auto;
}

.team-card {
    background: var(--color-bottom);
    border-radius: 16px;
    overflow: hidden;
    border: 1.5px solid rgba(0, 0, 0, 0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.team-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 48px rgba(254, 127, 45, 0.12);
}

.team-card-img {
    width: 100%;
    aspect-ratio: 3 / 4;
    overflow: hidden;
    background: #e8e8e8;
}

.team-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.team-card:hover .team-card-img img {
    transform: scale(1.04);
}

.team-card-info {
    padding: 24px 28px 28px;
    text-align: center;
}

.team-card-name {
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--color-dark);
    margin-bottom: 6px;
}

.team-card-role {
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 400;
    color: var(--color-top);
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

/* ========== TEAM MODAL ========== */
.team-modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: rgba(0, 0, 0, 0);
    backdrop-filter: blur(0px);
    -webkit-backdrop-filter: blur(0px);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: background 0.5s ease, backdrop-filter 0.5s ease, opacity 0.4s ease;
}

.team-modal-overlay.active {
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    opacity: 1;
    pointer-events: auto;
}

.team-modal {
    position: relative;
    width: 90vw;
    max-width: 800px;
    background: var(--color-bottom);
    border-radius: 20px;
    overflow: hidden;
    transform: scale(0.85) translateY(30px);
    opacity: 0;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1),
                opacity 0.4s ease;
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.5);
}

.team-modal-overlay.active .team-modal {
    transform: scale(1) translateY(0);
    opacity: 1;
}

.team-modal-close {
    position: absolute;
    top: 16px;
    right: 20px;
    background: none;
    border: none;
    color: var(--color-text-light);
    font-size: 2rem;
    cursor: pointer;
    z-index: 2;
    line-height: 1;
    transition: color 0.3s ease, transform 0.3s ease;
}

.team-modal-close:hover {
    color: var(--color-top);
    transform: rotate(90deg);
}

.team-modal-content {
    display: flex;
    flex-direction: row;
}

.team-modal-img {
    width: 40%;
    min-height: 350px;
    flex-shrink: 0;
}

.team-modal-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.team-modal-details {
    flex: 1;
    padding: 40px 36px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.team-modal-name {
    font-family: var(--font-display);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--color-dark);
    margin-bottom: 6px;
}

.team-modal-role {
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--color-top);
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.team-modal-divider {
    width: 50px;
    height: 3px;
    background: var(--color-top);
    border-radius: 2px;
    margin: 20px 0;
}

.team-modal-bio {
    font-family: var(--font-body);
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--color-text-light);
    max-height: 400px;
    overflow-y: auto;
}

.team-modal-bio p {
    margin-bottom: 12px;
}

.team-modal-bio p:last-child {
    margin-bottom: 0;
}

@media (max-width: 768px) {
    .team-modal {
        max-height: 90vh;
        overflow-y: auto;
    }
    .team-modal-content {
        flex-direction: column;
    }
    .team-modal-img {
        width: 100%;
        height: 280px;
        min-height: unset;
        max-height: unset;
        flex-shrink: 0;
        overflow: hidden;
    }
    .team-modal-details {
        position: relative;
        z-index: 1;
        background: var(--color-bottom);
        padding: 28px 24px;
    }
    .team-modal-name {
        font-size: 1.4rem;
    }
    .team-modal-bio {
        max-height: none;
    }
}

/* ================================================================
   CONTATTI PAGE
   ================================================================ */

.section-contatti-info {
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 80px 24px;
    background: var(--color-bottom);
}

.contatti-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 40px;
}

.contatto-card {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 24px;
    background: var(--color-white);
    border-radius: 14px;
    border: 1.5px solid rgba(0, 0, 0, 0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contatto-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 36px rgba(254, 127, 45, 0.12);
}

.contatto-card-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(254, 127, 45, 0.1);
    border-radius: 12px;
    color: var(--color-top);
    flex-shrink: 0;
}

.contatto-card-icon svg {
    width: 22px;
    height: 22px;
}

.contatto-card-body {
    flex: 1;
}

.contatto-card-label {
    font-family: var(--font-display);
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--color-dark);
    margin-bottom: 4px;
}

.contatto-card-value {
    font-size: 0.9rem;
    font-weight: 400;
    color: var(--color-text-light);
    line-height: 1.5;
}

.contatto-card-value a {
    color: var(--color-top);
    transition: opacity 0.3s ease;
}

.contatto-card-value a:hover {
    opacity: 0.7;
}

/* Map */
.section-contatti-map {
    background: var(--color-white);
    padding: 0;
}

.contatti-map-wrap {
    width: 100%;
    height: 450px;
}

.contatti-map-wrap iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* Social links */
.contatti-social {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 8px;
}

.contatto-card:has(.contatti-social) {
    align-items: center;
}

.contatti-social a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(254, 127, 45, 0.1);
    border-radius: 10px;
    color: var(--color-top);
    transition: background 0.3s ease, color 0.3s ease;
}

.contatti-social a:hover {
    background: var(--color-top);
    color: var(--color-white);
}

.contatti-social svg {
    width: 18px;
    height: 18px;
}

/* ================================================================
   ANIMATIONS
   ================================================================ */

@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Fade In (dal basso) — con blur cinematografico */
.fade-in {
    opacity: 0;
    transform: translateY(40px);
    filter: blur(6px);
    transition: opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.9s cubic-bezier(0.16, 1, 0.3, 1),
                filter 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
}

/* Fade da sinistra */
.fade-in-left {
    opacity: 0;
    transform: translateX(-50px);
    filter: blur(6px);
    transition: opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.9s cubic-bezier(0.16, 1, 0.3, 1),
                filter 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.fade-in-left.visible {
    opacity: 1;
    transform: translateX(0);
    filter: blur(0);
}

/* Fade da destra */
.fade-in-right {
    opacity: 0;
    transform: translateX(50px);
    filter: blur(6px);
    transition: opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.9s cubic-bezier(0.16, 1, 0.3, 1),
                filter 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.fade-in-right.visible {
    opacity: 1;
    transform: translateX(0);
    filter: blur(0);
}

/* Scala (zoom in) */
.scale-in {
    opacity: 0;
    transform: scale(0.88);
    filter: blur(4px);
    transition: opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.9s cubic-bezier(0.34, 1.56, 0.64, 1),
                filter 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.scale-in.visible {
    opacity: 1;
    transform: scale(1);
    filter: blur(0);
}

/* Stagger delays — ritmo cinematografico */
.stagger-children > .fade-in:nth-child(1),
.stagger-children > .fade-in-left:nth-child(1),
.stagger-children > .fade-in-right:nth-child(1),
.stagger-children > .scale-in:nth-child(1) { transition-delay: 0s; }

.stagger-children > .fade-in:nth-child(2),
.stagger-children > .fade-in-left:nth-child(2),
.stagger-children > .fade-in-right:nth-child(2),
.stagger-children > .scale-in:nth-child(2) { transition-delay: 0.15s; }

.stagger-children > .fade-in:nth-child(3),
.stagger-children > .fade-in-left:nth-child(3),
.stagger-children > .fade-in-right:nth-child(3),
.stagger-children > .scale-in:nth-child(3) { transition-delay: 0.3s; }

.stagger-children > .fade-in:nth-child(4),
.stagger-children > .fade-in-left:nth-child(4),
.stagger-children > .fade-in-right:nth-child(4),
.stagger-children > .scale-in:nth-child(4) { transition-delay: 0.45s; }

.stagger-children > .fade-in:nth-child(5),
.stagger-children > .fade-in-left:nth-child(5),
.stagger-children > .fade-in-right:nth-child(5),
.stagger-children > .scale-in:nth-child(5) { transition-delay: 0.6s; }

/* Linea decorativa animata con glow */
.reveal-line {
    width: 0;
    height: 3px;
    background: var(--color-top);
    border-radius: 2px;
    margin-bottom: 24px;
    transition: width 1s cubic-bezier(0.16, 1, 0.3, 1) 0.2s,
                box-shadow 1s cubic-bezier(0.16, 1, 0.3, 1) 0.4s;
}

.reveal-line.visible {
    width: 60px;
    box-shadow: 0 0 15px rgba(254, 127, 45, 0.5), 0 0 30px rgba(254, 127, 45, 0.2);
}

/* ================================================================
   VIDEO MODAL
   ================================================================ */
.video-modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: rgba(0, 0, 0, 0);
    backdrop-filter: blur(0px);
    -webkit-backdrop-filter: blur(0px);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: background 0.5s ease, backdrop-filter 0.5s ease, opacity 0.4s ease;
}

.video-modal-overlay.active {
    background: rgba(0, 0, 0, 0.88);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    opacity: 1;
    pointer-events: auto;
}

.video-modal {
    position: relative;
    width: 90vw;
    max-width: 1100px;
    transform: scale(0.85) translateY(30px);
    opacity: 0;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1),
                opacity 0.4s ease;
}

.video-modal-overlay.active .video-modal {
    transform: scale(1) translateY(0);
    opacity: 1;
}

.video-modal-close {
    position: absolute;
    top: -48px;
    right: 0;
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.6);
    cursor: pointer;
    padding: 8px;
    transition: color 0.3s ease, transform 0.3s ease;
    z-index: 1;
}

.video-modal-close:hover {
    color: var(--color-white);
    transform: rotate(90deg);
}

.video-modal-body {
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: 12px;
    overflow: hidden;
    background: #000;
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(255, 255, 255, 0.05);
}

.video-modal-body iframe,
.video-modal-body video {
    width: 100%;
    height: 100%;
    border: none;
    display: block;
}

.video-modal-title {
    text-align: center;
    color: rgba(255, 255, 255, 0.5);
    font-family: var(--font-display);
    font-size: 0.9rem;
    margin-top: 16px;
    letter-spacing: 0.5px;
}

/* ================================================================
   SCROLL INDICATOR
   ================================================================ */
.scroll-indicator {
    position: absolute;
    bottom: 28px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 5;
    opacity: 0;
    animation: fadeUp 0.8s ease forwards 1.2s;
}

.scroll-indicator span {
    display: block;
    width: 22px;
    height: 22px;
    border-right: 2px solid rgba(255, 255, 255, 0.5);
    border-bottom: 2px solid rgba(255, 255, 255, 0.5);
    transform: rotate(45deg);
    animation: scrollBounce 2.5s cubic-bezier(0.16, 1, 0.3, 1) infinite;
}

@keyframes scrollBounce {
    0% { transform: rotate(45deg) translate(0, 0); opacity: 0; }
    40% { opacity: 1; }
    100% { transform: rotate(45deg) translate(12px, 12px); opacity: 0; }
}

/* ================================================================
   CINEMATIC CARD HOVER (3D tilt)
   ================================================================ */
.servizio-card,
.evento-card,
.team-card,
.contatto-card,
.portfolio-card {
    will-change: transform;
    transform-style: preserve-3d;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Tilt shine overlay */
.tilt-card-shine {
    position: absolute;
    inset: 0;
    border-radius: inherit;
    pointer-events: none;
    z-index: 2;
    opacity: 0;
    transition: opacity 0.3s ease;
    background: radial-gradient(
        circle at var(--shine-x, 50%) var(--shine-y, 50%),
        rgba(254, 127, 45, 0.12) 0%,
        transparent 60%
    );
}

.servizio-card:hover .tilt-card-shine,
.evento-card:hover .tilt-card-shine,
.team-card:hover .tilt-card-shine,
.contatto-card:hover .tilt-card-shine,
.portfolio-card:hover .tilt-card-shine {
    opacity: 1;
}

.servizio-card:hover {
    box-shadow: 0 20px 50px rgba(254, 127, 45, 0.18);
}

.evento-card:hover {
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

.team-card:hover {
    box-shadow: 0 20px 50px rgba(254, 127, 45, 0.15);
}

.contatto-card:hover {
    box-shadow: 0 16px 40px rgba(254, 127, 45, 0.14);
}

.portfolio-card:hover {
    box-shadow: 0 24px 60px rgba(254, 127, 45, 0.2), 0 0 0 1px rgba(254, 127, 45, 0.08);
}

/* ================================================================
   EVENTI PAGE
   ================================================================ */
.section-festival {
    padding: 80px 24px;
    background: var(--color-white);
}

.festival-text {
    font-size: 1rem;
    line-height: 1.9;
    margin-bottom: 20px;
}

.festival-cta {
    margin-top: 32px;
    text-align: center;
}

.section-eventi {
    padding: 80px 24px;
    background: var(--color-white);
}

.eventi-block {
    margin-bottom: 60px;
}

.eventi-past-block {
    opacity: 0.75;
}

.eventi-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    margin-top: 32px;
}

.eventi-empty {
    text-align: center;
    padding: 48px 24px;
    color: var(--color-text-light);
    font-size: 0.95rem;
}

.evento-card {
    display: block;
    background: var(--color-white);
    border-radius: 16px;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    border: 1px solid rgba(0,0,0,0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.evento-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 48px rgba(0,0,0,0.12);
}

.evento-card-img-wrap {
    position: relative;
    overflow: hidden;
}

.evento-card-img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.evento-card:hover .evento-card-img {
    transform: scale(1.05);
}

.evento-card-date-badge {
    position: absolute;
    bottom: 12px;
    left: 12px;
    background: var(--color-top);
    color: var(--color-white);
    padding: 6px 14px;
    border-radius: 8px;
    font-size: 0.8rem;
    font-weight: 600;
    font-family: var(--font-display);
}

.evento-card-body {
    padding: 20px;
}

.evento-card-title {
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--color-dark);
    margin-bottom: 8px;
}

.evento-card-meta {
    display: flex;
    gap: 16px;
    margin-bottom: 12px;
}

.evento-card-time {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.8rem;
    color: var(--color-text-light);
}

.evento-card-desc {
    font-size: 0.88rem;
    color: var(--color-text-light);
    line-height: 1.6;
}

/* ========== EVENTO DETAIL PAGE ========== */
.evento-hero {
    min-height: 40vh;
}

.section-evento-detail {
    padding: 80px 24px;
    background: var(--color-white);
}

.evento-detail-img {
    width: 100%;
    max-height: 500px;
    object-fit: cover;
    border-radius: 16px;
    margin-bottom: 32px;
}

.evento-detail-info {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 40px;
    padding: 24px;
    background: rgba(254, 127, 45, 0.04);
    border-radius: 12px;
    border-left: 4px solid var(--color-top);
}

.evento-detail-row {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 0.95rem;
    color: var(--color-text);
}

.evento-detail-row svg {
    flex-shrink: 0;
    color: var(--color-top);
    margin-top: 2px;
}

.evento-detail-row strong {
    display: block;
    font-weight: 700;
    margin-bottom: 2px;
}

.evento-detail-row p {
    margin: 0;
    color: var(--color-text-light);
}

.evento-detail-desc {
    margin-bottom: 40px;
}

.evento-detail-desc h2 {
    font-family: var(--font-display);
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--color-dark);
    margin-bottom: 16px;
}

.evento-detail-desc p {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--color-text);
    white-space: pre-wrap;
}

.evento-detail-back {
    text-align: center;
}

/* ================================================================
   RESPONSIVE - TABLET (min 600px)
   ================================================================ */
@media (min-width: 600px) {
    /* Navbar tablet - horizontal centered links */
    .hamburger { display: none; }
    .navbar {
        display: flex;
        align-items: center;
    }
    .nav-inner { padding: 16px 32px; flex-shrink: 0; }
    .nav-menu {
        flex: 1;
        flex-direction: row;
        max-height: none;
        overflow: visible;
        padding: 0 20px;
        gap: 24px;
        align-items: center;
        justify-content: center;
    }
    .nav-menu a {
        padding: 0;
        border-bottom: none;
        font-size: 0.85rem;
        position: relative;
    }
    .lang-toggle {
        margin: 0;
        margin-left: auto;
    }
    .nav-menu a::after {
        content: '';
        position: absolute;
        bottom: -4px;
        left: 0;
        width: 0;
        height: 2px;
        background: var(--color-white);
        transition: width 0.3s ease;
    }
    .nav-menu a:hover::after { width: 100%; }

    .hero-title { font-size: 3.2rem; }
    .hero-buttons { flex-direction: row; justify-content: center; }
    .section-title { font-size: 2.2rem; }

    .section-about,
    .section-chi-siamo,
    .section-contact { padding: 100px 40px; }

    .section-inner { max-width: 900px; }

    /* Servizi */
    .servizi-hero-title { font-size: 3.2rem; }
    .servizi-grid { grid-template-columns: 1fr 1fr; }
    .servizio-card:last-child { grid-column: auto; max-width: none; }
    .portfolio-grid { grid-template-columns: 1fr 1fr; }

    .section-come-lavoriamo,
    .section-showreel,
    .section-servizi-cards,
    .section-servizio-intro,
    .section-servizio-portfolio { padding: 100px 40px; }

    .showreel-title { font-size: 2.4rem; }

    /* Chi siamo */
    .section-missione,
    .section-team { padding: 100px 40px; }
    .team-grid { grid-template-columns: 1fr 1fr; max-width: 700px; }

    /* Contatti */
    .contatti-grid { grid-template-columns: 1fr 1fr; }
    .section-contatti-info { padding: 100px 40px; }

    /* Eventi */
    .eventi-grid { grid-template-columns: 1fr 1fr; }
    .section-festival,
    .section-eventi { padding: 100px 40px; }
}

/* ================================================================
   RESPONSIVE - DESKTOP (min 992px)
   ================================================================ */
@media (min-width: 992px) {
    /* Navbar desktop tweaks */
    .nav-inner { padding: 16px 40px; }
    .nav-menu { gap: 32px; }
    .nav-menu a { font-size: 0.9rem; }

    /* Hero */
    .hero-title { font-size: 4rem; }
    .hero-subtitle { font-size: 1.15rem; }
    .hero-content { max-width: 800px; padding: 120px 40px 80px; }

    /* Sections */
    .section-about,
    .section-chi-siamo,
    .section-contact { padding: 120px 60px; }
    .section-inner { max-width: 800px; }
    .section-title { font-size: 2.5rem; }
    .section-text { font-size: 1.05rem; }
    .btn-submit { width: auto; min-width: 220px; }

    /* Servizi */
    .servizi-hero-title { font-size: 4rem; }
    .servizi-hero-subtitle { font-size: 1.15rem; }
    .servizi-grid { grid-template-columns: repeat(2, 1fr); }
    .servizio-card:last-child { grid-column: auto; max-width: none; }
    .portfolio-grid { grid-template-columns: repeat(2, 1fr); gap: 36px; }
    .portfolio-card-img-wrap { aspect-ratio: 9 / 12; }
    .portfolio-card-body { padding: 24px 28px 28px; }
    .portfolio-card-title { font-size: 1.4rem; }
    .section-inner-wide { max-width: 1100px; }
    .servizio-card { padding: 48px 32px; }

    .section-come-lavoriamo,
    .section-showreel,
    .section-servizi-cards,
    .section-servizio-intro,
    .section-servizio-portfolio { padding: 120px 60px; }

    .showreel-title { font-size: 2.8rem; }
    .showreel-inner { max-width: 1060px; }

    /* Chi siamo */
    .section-missione,
    .section-team { padding: 120px 60px; }
    .team-grid { max-width: 800px; gap: 40px; }
    .team-card-info { padding: 28px 32px 32px; }
    .team-card-name { font-size: 1.4rem; }

    /* Contatti */
    .section-contatti-info { padding: 120px 60px; }
    .contatti-map-wrap { height: 500px; }

    /* Eventi */
    .eventi-grid { grid-template-columns: repeat(3, 1fr); }
    .section-festival,
    .section-eventi { padding: 120px 60px; }
    .evento-detail-info { flex-direction: row; flex-wrap: wrap; gap: 24px; }
}

/* ================================================================
   CINEMATIC ENHANCEMENTS
   ================================================================ */

/* Lenis smooth scroll */
html.lenis, html.lenis body {
    height: auto;
}
html.lenis {
    scroll-behavior: auto;
}

/* ===== Page Transition / Preloader ===== */
.page-transition {
    position: fixed;
    inset: 0;
    z-index: 100000;
    background: var(--color-dark);
    pointer-events: none;
    opacity: 1;
    transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    align-items: center;
    justify-content: center;
}

.page-transition.done {
    opacity: 0;
}

/* Preloader inner content */
.preloader-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    opacity: 0;
    animation: preloaderFadeIn 0.6s ease 0.1s forwards;
}

.page-transition.done .preloader-content {
    animation: none;
    opacity: 0;
}

/* Lens icon */
.preloader-logo {
    width: 72px;
    height: 72px;
    color: var(--color-top);
    filter: drop-shadow(0 0 0px rgba(254, 127, 45, 0));
    animation: preloaderGlow 1.6s ease-in-out infinite alternate;
}

.preloader-icon {
    width: 100%;
    height: 100%;
    animation: preloaderSpin 4s linear infinite;
}

/* Brand text */
.preloader-brand {
    font-family: var(--font-display);
    font-size: 1.1rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.7);
}

/* Progress bar */
.preloader-bar {
    width: 120px;
    height: 2px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 1px;
    overflow: hidden;
}

.preloader-bar-fill {
    height: 100%;
    width: 0;
    background: var(--color-top);
    border-radius: 1px;
    animation: preloaderProgress 1.2s cubic-bezier(0.16, 1, 0.3, 1) 0.2s forwards;
}

@keyframes preloaderFadeIn {
    to { opacity: 1; }
}

@keyframes preloaderGlow {
    0% { filter: drop-shadow(0 0 4px rgba(254, 127, 45, 0.2)); }
    100% { filter: drop-shadow(0 0 20px rgba(254, 127, 45, 0.7)); }
}

@keyframes preloaderSpin {
    to { transform: rotate(360deg); }
}

@keyframes preloaderProgress {
    to { width: 100%; }
}

/* ===== Custom Cursor ===== */
.has-custom-cursor,
.has-custom-cursor * {
    cursor: none !important;
}

.cursor-dot {
    position: fixed;
    top: 0;
    left: 0;
    width: 6px;
    height: 6px;
    margin: -3px 0 0 -3px;
    background: var(--color-white);
    border-radius: 50%;
    pointer-events: none;
    z-index: 100002;
    transition: width 0.3s ease, height 0.3s ease, margin 0.3s ease, background 0.3s ease, opacity 0.3s ease;
}

.cursor-dot.active {
    width: 10px;
    height: 10px;
    margin: -5px 0 0 -5px;
    background: var(--color-white);
}

.cursor-ring {
    position: fixed;
    top: 0;
    left: 0;
    width: 40px;
    height: 40px;
    margin: -20px 0 0 -20px;
    border: 3px solid rgba(254, 127, 45, 0.5);
    border-radius: 50%;
    pointer-events: none;
    z-index: 100001;
    transition: width 0.4s cubic-bezier(0.16, 1, 0.3, 1),
                height 0.4s cubic-bezier(0.16, 1, 0.3, 1),
                margin 0.4s cubic-bezier(0.16, 1, 0.3, 1),
                border-color 0.3s ease,
                background 0.3s ease,
                opacity 0.3s ease;
}

.cursor-ring.active {
    width: 64px;
    height: 64px;
    margin: -32px 0 0 -32px;
    border-color: rgba(254, 127, 45, 0.25);
    background: rgba(254, 127, 45, 0.06);
}

/* ===== Text Reveal (Credits) ===== */
.text-reveal .word-wrap {
    display: inline-block;
    overflow: hidden;
    vertical-align: top;
    line-height: inherit;
    padding-bottom: 0.1em;
}

.text-reveal .word {
    display: inline-block;
    transform: translateY(110%);
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: transform;
}

.text-reveal.revealed .word {
    transform: translateY(0);
}

/* ===== Accessibility: Reduced Motion ===== */
@media (prefers-reduced-motion: reduce) {

    /* Kill ALL transitions and animations globally */
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        animation-delay: 0ms !important;
        transition-duration: 0.01ms !important;
        transition-delay: 0ms !important;
        scroll-behavior: auto !important;
    }

    /* Custom cursor */
    .cursor-dot,
    .cursor-ring { display: none !important; }

    /* Preloader: skip entirely */
    .page-transition {
        opacity: 0 !important;
    }
    .preloader-content { display: none !important; }

    /* Scroll-triggered animations: show immediately */
    .fade-in, .fade-in-left, .fade-in-right, .scale-in {
        opacity: 1 !important;
        transform: none !important;
        filter: none !important;
    }

    .reveal-line {
        width: 60px !important;
    }

    /* Hero content: show immediately */
    .hero-title, .hero-subtitle, .hero-buttons, .hero-description,
    .servizi-hero-title, .servizi-hero-subtitle {
        opacity: 1 !important;
        transform: none !important;
    }

    .scroll-indicator span { animation: none !important; }

    /* Text reveal: show immediately */
    .text-reveal .word {
        transform: none !important;
    }

    /* Cards: no 3D tilt, simple static hover */
    .servizio-card, .portfolio-card, .evento-card,
    .team-card, .contatto-card {
        transform: none !important;
        transform-style: flat !important;
    }

    /* Tilt shine: hide */
    .tilt-card-shine { display: none !important; }

    /* Portfolio image zoom: disable */
    .portfolio-card:hover .portfolio-card-img {
        transform: none !important;
    }

    /* Video modal */
    .video-modal-backdrop,
    .video-modal-container {
        transition: none !important;
    }

    /* Parallax hero: disable */
    .hero-content {
        transform: none !important;
    }

    /* Smooth scroll off */
    html, html.lenis {
        scroll-behavior: auto !important;
    }
}
