/* =====================================================
   VERACE - FIGLIO DEL VESUVIO
   Modern-Craft Design System
   ===================================================== */

/* ============ CSS VARIABLES ============ */
:root {
    /* Colors */
    --color-white: #FFFFFF;
    --color-verde-bosco: #1E5F3C;
    --color-verde-chiaro: #2E8B57;
    --color-verde-accent: #3CB371;
    --color-text-dark: #2D3436;
    --color-text-muted: #636E72;
    --color-bg-cream: #FAFAF8;
    --color-border-light: #E8E8E6;

    /* Typography */
    --font-display: 'Marcellus', serif;
    --font-body: 'Quicksand', sans-serif;

    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
    --spacing-2xl: 5rem;
    --spacing-3xl: 8rem;

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-smooth: 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --transition-bounce: 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);

    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(30, 95, 60, 0.08);
    --shadow-md: 0 4px 20px rgba(30, 95, 60, 0.12);
    --shadow-lg: 0 8px 40px rgba(30, 95, 60, 0.16);
    --shadow-hover: 0 12px 48px rgba(30, 95, 60, 0.2);

    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 32px;
}

/* ============ BASE RESET ============ */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.7;
    color: var(--color-text-dark);
    background-color: var(--color-bg-cream);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    position: relative;
    min-height: 100vh;
}

/* Fixed background via pseudo-element - Mobile Safari compatible */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../assets/images/sfondo.png');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center top;
    z-index: -1;
    pointer-events: none;
}

body.body-locked {
    overflow: hidden !important;
    height: 100vh !important;
}

.body-locked .navbar {
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-fast);
}

ul,
ol {
    list-style: none;
}

/* ============ TYPOGRAPHY ============ */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-display);
    font-weight: 700;
    line-height: 1.2;
    color: var(--color-text-dark);
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    letter-spacing: -0.02em;
}

h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    letter-spacing: -0.01em;
}

h3 {
    font-size: clamp(1.5rem, 3vw, 2rem);
}

p {
    margin-bottom: var(--spacing-sm);
}

.text-verde {
    color: var(--color-verde-bosco);
}

.text-muted {
    color: var(--color-text-muted);
}

/* ============ LAYOUT UTILITIES ============ */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

.section {
    padding: var(--spacing-3xl) 0;
    position: relative;
}

.section-alt {
    background-color: transparent;
}

.text-center {
    text-align: center;
}

.flex-center {
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ============ FLOATING INGREDIENTS ============ */
.floating-ingredients {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: hidden;
    z-index: 1;
}

.floating-item {
    position: absolute;
    opacity: 0.15;
    animation: float 15s ease-in-out infinite;
}

.floating-item:nth-child(1) {
    top: 10%;
    left: 5%;
    animation-delay: 0s;
}

.floating-item:nth-child(2) {
    top: 20%;
    right: 8%;
    animation-delay: -3s;
}

.floating-item:nth-child(3) {
    top: 60%;
    left: 3%;
    animation-delay: -6s;
}

.floating-item:nth-child(4) {
    top: 70%;
    right: 5%;
    animation-delay: -9s;
}

.floating-item:nth-child(5) {
    bottom: 15%;
    left: 10%;
    animation-delay: -12s;
}

.floating-item:nth-child(6) {
    bottom: 20%;
    right: 12%;
    animation-delay: -2s;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0) rotate(0deg);
    }

    25% {
        transform: translateY(-20px) rotate(5deg);
    }

    50% {
        transform: translateY(-10px) rotate(-3deg);
    }

    75% {
        transform: translateY(-25px) rotate(3deg);
    }
}

/* ============ NAVBAR ============ */
:root {
    --navbar-height: 80px;
}

body {
    padding-top: var(--navbar-height);
}

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--navbar-height);
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
}

.navbar-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

/* Logo */
.navbar-brand img {
    height: 50px;
    width: auto;
    transition: transform 0.3s ease;
}

.navbar-brand:hover img {
    transform: scale(1.05);
}

/* Mobile Toggler */
.navbar-toggler {
    display: flex;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 1001;
}

.navbar-toggler .bar {
    width: 25px;
    height: 2px;
    background-color: var(--color-text-dark);
    transition: 0.3s;
    transform-origin: center;
}

.navbar-toggler.active .bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.navbar-toggler.active .bar:nth-child(2) {
    opacity: 0;
}

.navbar-toggler.active .bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* Mobile Menu Collapse */
.navbar-collapse {
    position: fixed;
    top: var(--navbar-height);
    left: 0;
    width: 100%;
    height: calc(100vh - var(--navbar-height));
    background: #fff;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    overflow-y: auto;
    padding-bottom: 2rem;
}

.navbar-collapse.show {
    transform: translateX(0);
    box-shadow: -5px 0 20px rgba(0, 0, 0, 0.1);
}

.navbar-nav {
    list-style: none;
    text-align: center;
    margin-bottom: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.nav-link {
    display: block;
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 500;
    color: var(--color-text-dark);
    position: relative;
    padding: 0.5rem;
}

.nav-link.active {
    color: var(--color-verde-bosco);
}

/* Extras (Lang + Social) */
.navbar-extras {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.lang-switch {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-body);
}

.lang-btn {
    background: none;
    border: none;
    font-weight: 600;
    cursor: pointer;
    color: var(--color-text-muted);
    font-size: 0.9rem;
    transition: 0.3s;
}

.lang-btn:hover,
.lang-btn.active {
    color: var(--color-verde-bosco);
}

.social-nav {
    display: flex;
    gap: 1.2rem;
}

.social-nav a {
    color: var(--color-text-dark);
    transition: 0.3s;
    display: flex;
    align-items: center;
}

.social-nav a:hover {
    color: var(--color-verde-bosco);
    transform: translateY(-2px);
}

.social-nav svg {
    width: 22px;
    height: 22px;
}

/* Desktop Styles */
@media (min-width: 1024px) {
    .navbar-toggler {
        display: none;
    }

    .navbar-inner {
        position: relative;
    }

    .navbar-collapse {
        position: static;
        height: auto;
        width: 100%;
        /* Fill remaining space to push extras to right */
        transform: none;
        flex-direction: row;
        background: transparent;
        justify-content: flex-end;
        box-shadow: none;
        padding-bottom: 0;
        overflow: visible;
    }

    .navbar-nav {
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
        flex-direction: row;
        margin: 0;
        gap: 2rem;
        white-space: nowrap;
    }

    .nav-link {
        font-size: 1rem;
        padding: 0.5rem 0;
    }

    .nav-link::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        width: 0;
        height: 2px;
        background: var(--color-verde-bosco);
        transition: width 0.3s ease;
    }

    .nav-link:hover::after,
    .nav-link.active::after {
        width: 100%;
    }

    .navbar-extras {
        flex-direction: row;
        gap: 2rem;
        padding-left: 2rem;
        border-left: 1px solid var(--color-border-light);
    }
}



/* ============ HERO SECTION ============ */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding-top: 80px;
    background: transparent;
    overflow: hidden;
}

/* Background handled globally by body */
.hero-bg {
    display: none;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    padding: var(--spacing-xl);
    color: var(--color-text-dark);
    /* Transition for Fade In */
    transition: opacity 0.8s ease 0.8s, transform 0.8s ease 0.8s;
    /* Added delay to wait for logo move */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
}

.hero-logo-container {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--spacing-xl);
    margin: 0 auto;
    transition: all 1s cubic-bezier(0.77, 0, 0.175, 1);
    /* Ensure animation works when intro class is removed */
}

.hero-logo {
    max-width: 250px;
    height: auto;
    display: block;
    margin: 0 auto;
    cursor: pointer;
    display: block;
    /* Per l'animazione JS */
    position: relative;
    z-index: 10;
    transition: transform 1s cubic-bezier(0.77, 0, 0.175, 1), top 1s cubic-bezier(0.77, 0, 0.175, 1);
}

/* --- HERO INTRO STATE --- */
.hero.hero-intro {
    padding-top: 0 !important;
}

.hero.hero-intro .hero-logo-container {
    transform: scale(5);
    margin: 0;
    margin-top: 40vh;
    /* Pushed down to visually replace the button position */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 1s cubic-bezier(0.77, 0, 0.175, 1);
    position: relative;
    /* Context for absolute text */
}

/* Mobile hero intro adjustments */
@media (max-width: 768px) {
    .hero.hero-intro .hero-logo-container {
        transform: scale(3.5);
        margin-top: 35vh;
    }
}

@media (max-width: 480px) {
    .hero.hero-intro .hero-logo-container {
        transform: scale(3);
        margin-top: 30vh;
    }

    .intro-text {
        font-size: 0.35rem;
    }
}

.intro-text {
    position: absolute;
    top: 100%;
    /* Push below logo */
    margin-top: 0px;
    /* Spacing */
    font-size: 0.25rem;
    /* Very small because of 3.5x scale parent */
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--color-verde-bosco);
    font-weight: 600;
    white-space: nowrap;
    opacity: 0.8;
    animation: fadePulse 2s infinite;
}

.hero:not(.hero-intro) .intro-text {
    opacity: 0 !important;
    animation: none !important;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

@keyframes fadePulse {

    0%,
    100% {
        opacity: 0.4;
        transform: translateY(0);
    }

    50% {
        opacity: 1;
        transform: translateY(3px);
    }
}

/* Ensure Logo inside has no extra spacing in intro */
.hero.hero-intro .hero-logo {
    margin-bottom: 0;
    animation: pulse-scale 2s infinite ease-in-out;
}

@keyframes pulse-scale {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.1);
    }
}

.hero-logo.playing {
    animation: none !important;
    cursor: default;
}

.intro-btn {
    display: none;
}



/* Hero Actions (Buttons) */
.hero-actions {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
    width: 100%;
    max-width: 300px;
    align-items: stretch;
    /* Make buttons full width on specific constraints if needed */
}

@media (min-width: 768px) {
    .hero-actions {
        flex-direction: row;
        max-width: none;
        width: auto;
        gap: var(--spacing-md);
        align-items: center;
    }
}

.hero.hero-intro .hero-content>*:not(.hero-logo-container) {
    opacity: 0 !important;
    pointer-events: none;
    transform: translateY(20px);
    transition: opacity 0.5s ease;
    animation: none !important;
    /* Prevent fadeInUp from overriding opacity */
}

/* Remove old pseudo-element approach */
.hero.hero-intro .hero-logo-container::after {
    display: none;
}

.hero.hero-intro .scroll-indicator {
    opacity: 0;
    pointer-events: none;
}

@keyframes pulse {

    0%,
    100% {
        opacity: 0.4;
    }

    50% {
        opacity: 1;
    }
}


.hero-logo {
    width: 100%;
    height: auto;
    max-width: 800px;
    margin: 0 auto var(--spacing-lg);
    animation: fadeInUp 1s ease-out;
}

.hero h1 {
    margin-bottom: var(--spacing-md);
    animation: fadeInUp 1s ease-out 0.2s both;
}

.hero h1 .highlight {
    color: var(--color-verde-bosco);
    display: inline-block;
    position: relative;
}

.hero-subtitle {
    font-size: clamp(1.1rem, 2vw, 1.35rem);
    color: var(--color-text-muted);
    max-width: 650px;
    margin: 0 auto var(--spacing-xl);
    animation: fadeInUp 1s ease-out 0.4s both;
}

.hero-tagline {
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-style: italic;
    color: var(--color-verde-bosco);
    margin-bottom: var(--spacing-xl);
    animation: fadeInUp 1s ease-out 0.3s both;
}

.hero-logo-text {
    margin-top: var(--spacing-md);
    text-align: center;
    font-size: 1rem;
    color: var(--color-text);
    font-weight: 500;
    letter-spacing: 0.5px;
}

/* ============ BUTTONS ============ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-xs);
    padding: 1rem 2rem;
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 600;
    border-radius: var(--radius-xl);
    border: none;
    cursor: pointer;
    transition: var(--transition-smooth);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.btn-primary {
    background: var(--color-verde-bosco);
    color: var(--color-white);
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    background: var(--color-verde-chiaro);
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
}

.btn-outline {
    background: transparent;
    color: var(--color-verde-bosco);
    border: 2px solid var(--color-verde-bosco);
}

.btn-outline:hover {
    background: var(--color-verde-bosco);
    color: var(--color-white);
    transform: translateY(-3px);
}

.btn-arrow {
    transition: transform var(--transition-fast);
}

.btn:hover .btn-arrow {
    transform: translateX(5px);
}

/* ============ SECTION HEADER ============ */
.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto var(--spacing-2xl);
}

.section-header .overline {
    display: inline-block;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--color-verde-bosco);
    margin-bottom: var(--spacing-sm);
    position: relative;
}

.section-header .overline::before,
.section-header .overline::after {
    content: '—';
    margin: 0 var(--spacing-sm);
    opacity: 0.5;
}

.section-header h2 {
    margin-bottom: var(--spacing-md);
}

.section-header p {
    color: var(--color-text-muted);
    font-size: 1.1rem;
}

/* ============ IL PROGETTO SECTION ============ */
.progetto-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-2xl);
    align-items: center;
}

.progetto-image {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.progetto-image img {
    width: 100%;
    transition: transform var(--transition-smooth);
}

.progetto-image:hover img {
    transform: scale(1.03);
}

.progetto-content h2 {
    margin-bottom: var(--spacing-md);
}

.progetto-content p {
    font-size: 1.1rem;
    margin-bottom: var(--spacing-md);
}

.progetto-features {
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-md);
    margin-top: var(--spacing-lg);
}

.feature-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-xs);
    padding: var(--spacing-xs) var(--spacing-md);
    background: rgba(30, 95, 60, 0.1);
    color: var(--color-verde-bosco);
    border-radius: var(--radius-xl);
    font-size: 0.9rem;
    font-weight: 500;
}

.feature-badge svg {
    width: 18px;
    height: 18px;
}

/* ============ INNOVAZIONE SECTION ============ */
.innovazione-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-lg);
}

.innovazione-card {
    background: var(--color-white);
    padding: var(--spacing-xl);
    border-radius: var(--radius-lg);
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-smooth);
    border: 1px solid var(--color-border-light);
}

.innovazione-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
}

.innovazione-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto var(--spacing-md);
    background: rgba(30, 95, 60, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.innovazione-icon svg {
    width: 40px;
    height: 40px;
    color: var(--color-verde-bosco);
}

.innovazione-card h3 {
    margin-bottom: var(--spacing-sm);
    color: var(--color-verde-bosco);
}

.innovazione-card p {
    color: var(--color-text-muted);
    font-size: 0.95rem;
}

.innovazione-stat {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--color-verde-bosco);
    font-family: var(--font-display);
}

/* ============ PRODUCT GALLERY ============ */
.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-lg);
}

.product-card {
    background: var(--color-white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-smooth);
    border: 1px solid var(--color-border-light);
    position: relative;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.product-image {
    position: relative;
    padding: var(--spacing-xl);
    background: linear-gradient(135deg, #ffffff 0%, #ffffff 100%);
    overflow: hidden;
}

.product-image img {
    width: 100%;
    max-height: 280px;
    object-fit: contain;
    transition: transform var(--transition-smooth);
}

.product-card:hover .product-image img {
    transform: scale(1.08);
}

.product-overlay {
    position: absolute;
    inset: 0;
    background: rgba(30, 95, 60, 0.95);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: var(--spacing-lg);
    opacity: 0;
    transition: var(--transition-smooth);
}

.product-card:hover .product-overlay {
    opacity: 1;
}

.product-overlay h4 {
    color: var(--color-white);
    font-size: 1.3rem;
    margin-bottom: var(--spacing-sm);
}

.product-overlay p {
    color: rgba(255, 255, 255, 0.85);
    text-align: center;
    font-size: 0.95rem;
}

.product-info {
    padding: var(--spacing-lg);
    text-align: center;
}

.product-info h3 {
    font-size: 1.25rem;
    margin-bottom: var(--spacing-xs);
    color: var(--color-verde-bosco);
}

.product-info .size {
    font-size: 0.9rem;
    color: var(--color-text-muted);
    font-weight: 500;
}

/* ============ GLOBAL REACH SECTION ============ */
.global-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-2xl);
    align-items: center;
}

.global-text h2 {
    margin-bottom: var(--spacing-md);
}

.global-text p {
    font-size: 1.1rem;
    margin-bottom: var(--spacing-md);
}

.global-quote {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-style: italic;
    color: var(--color-verde-bosco);
    padding-left: var(--spacing-lg);
    border-left: 4px solid var(--color-verde-bosco);
    margin: var(--spacing-lg) 0;
}

.cities-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-md);
}

.city-card {
    background: var(--color-white);
    padding: var(--spacing-lg);
    border-radius: var(--radius-md);
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-smooth);
    border: 1px solid var(--color-border-light);
}

.city-card:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow-md);
    border-color: var(--color-verde-bosco);
}

.city-card .flag {
    font-size: 2rem;
    margin-bottom: var(--spacing-xs);
}

.city-card h4 {
    color: var(--color-verde-bosco);
    font-size: 1.1rem;
}

/* ============ CONTACT SECTION ============ */
.contact-wrapper {
    max-width: 1200px;
    /* Increased from 800px */
    margin: 0 auto;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--spacing-xl);
}

@media (min-width: 900px) {
    .contact-grid {
        grid-template-columns: 1fr 1.2fr;
        /* Info takes less space than form */
        align-items: start;
    }
}

.contact-info-panel {
    background: var(--color-white);
    padding: var(--spacing-xl);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    height: 100%;
    display: flex;
    flex-direction: column;
    gap: var(--spacing-lg);
    border: 3px solid var(--color-verde-bosco);
}

.contact-map {
    width: 100%;
    height: 300px;
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid var(--color-border-light);
}

.contact-map iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: var(--spacing-md);
}

.contact-icon {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    color: var(--color-verde-bosco);
}

.contact-text h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.2rem;
    color: var(--color-text-dark);
}

.contact-text p,
.contact-text a {
    font-size: 0.95rem;
    color: var(--color-text-muted);
    line-height: 1.4;
}

.contact-box {
    background: var(--color-white);
    border: 3px solid var(--color-verde-bosco);
    border-radius: var(--radius-lg);
    padding: var(--spacing-2xl);
    box-shadow: var(--shadow-lg);
}

.contact-header {
    text-align: center;
    margin-bottom: var(--spacing-xl);
}

.contact-header h2 {
    color: var(--color-verde-bosco);
    margin-bottom: var(--spacing-sm);
    font-size: 2.5rem;
    /* Increased size to match other section headers */
}

.contact-header p {
    color: var(--color-text-muted);
    font-size: 1.5rem;
}

.contact-form {
    display: grid;
    gap: var(--spacing-md);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-md);
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-xs);
}

.form-group label {
    font-weight: 500;
    color: var(--color-text-dark);
    font-size: 0.95rem;
}

.form-group input,
.form-group textarea {
    padding: var(--spacing-sm) var(--spacing-md);
    border: 2px solid var(--color-border-light);
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    font-size: 1rem;
    transition: var(--transition-fast);
    background: var(--color-bg-cream);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-verde-bosco);
    background: var(--color-white);
    box-shadow: 0 0 0 4px rgba(30, 95, 60, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-submit {
    text-align: center;
    margin-top: var(--spacing-md);
}

.form-submit .btn {
    min-width: 320px;
    max-width: 100%;
}

/* ============ FOOTER ============ */
.footer {
    position: relative;
    color: var(--color-white);
    padding: var(--spacing-2xl) 0 var(--spacing-lg);
    overflow: hidden;
}

/* Background pattern layer */
.footer::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url('../assets/images/ESTERNO.png');
    background-size: cover;
    background-position: center;
    background-repeat: repeat;
    opacity: 0.30;
    z-index: 0;
}

/* Dark overlay for text readability */
.footer::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(45, 52, 54, 0.95) 0%, rgba(30, 95, 60, 0.9) 100%);
    z-index: 1;
}

/* Ensure footer content is above the pattern */
.footer .container {
    position: relative;
    z-index: 2;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: var(--spacing-2xl);
    margin-bottom: var(--spacing-2xl);
}

.footer-brand .footer-logo {
    height: auto;
    max-height: 90px;
    width: auto;
    margin-bottom: var(--spacing-md);
    filter: brightness(0) invert(1);
    opacity: 0.9;
}

.footer-brand .footer-tagline {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    max-width: 320px;
    margin-bottom: var(--spacing-sm);
}

.footer-brand .footer-brand-info {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.85rem;
    line-height: 1.5;
    max-width: 320px;
}

.footer-brand .footer-brand-info strong {
    color: rgba(255, 255, 255, 0.9);
}

.footer-links h4,
.footer-contact h4 {
    color: var(--color-white);
    font-size: 1rem;
    margin-bottom: var(--spacing-md);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-xs);
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    transition: var(--transition-fast);
}

.footer-links a:hover {
    color: var(--color-verde-accent);
}

.footer-contact p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    margin-bottom: var(--spacing-xs);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: var(--spacing-lg);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.5);
}

.social-links {
    display: flex;
    gap: var(--spacing-sm);
}

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-fast);
}

.social-links a:hover {
    background: var(--color-verde-bosco);
}

.social-links svg {
    width: 20px;
    height: 20px;
    stroke: var(--color-white);
    fill: none;
}

/* ============ ANIMATIONS ============ */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Staggered animations */
.stagger-1 {
    transition-delay: 0.1s;
}

.stagger-2 {
    transition-delay: 0.2s;
}

.stagger-3 {
    transition-delay: 0.3s;
}

.stagger-4 {
    transition-delay: 0.4s;
}

/* ============ SCROLL INDICATOR ============ */
.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--spacing-xs);
    color: var(--color-verde-bosco);
    animation: bounce 2s infinite;
}

.scroll-indicator span {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateX(-50%) translateY(0);
    }

    40% {
        transform: translateX(-50%) translateY(-10px);
    }

    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

/* ============ MOBILE RESPONSIVE ============ */

/* Tablet landscape */
@media (max-width: 1024px) {

    .progetto-grid,
    .global-content {
        grid-template-columns: 1fr;
        gap: var(--spacing-xl);
    }

    .progetto-image {
        order: -1;
        max-width: 500px;
        margin: 0 auto;
    }

    .innovazione-cards,
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

/* Tablet portrait / Large mobile */
@media (max-width: 768px) {
    :root {
        --spacing-3xl: 4rem;
        --spacing-2xl: 3rem;
    }

    /* Typography scaling for mobile */
    h1 {
        font-size: clamp(1.75rem, 6vw, 2.5rem);
    }

    h2 {
        font-size: clamp(1.5rem, 5vw, 2rem);
    }

    h3 {
        font-size: clamp(1.2rem, 4vw, 1.5rem);
    }

    p,
    .hero-subtitle {
        font-size: 1rem;
    }

    /* Mobile Menu Drawer */
    .nav-links {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        height: 100vh;
        background: rgba(30, 95, 60, 0.98);
        /* Verde Bosco almost solid */
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        flex-direction: column;
        justify-content: center;
        padding: var(--spacing-2xl);
        gap: var(--spacing-lg);
        transform: translateX(100%);
        opacity: 0;
        transition: all 0.4s cubic-bezier(0.77, 0, 0.175, 1);
        z-index: 1000;
        visibility: hidden;
    }

    .nav-links.active {
        transform: translateX(0);
        opacity: 1;
        visibility: visible;
    }

    .nav-links a:not(.btn) {
        font-size: 1.5rem;
        color: white;
        text-shadow: none;
    }

    .nav-links a:not(.btn)::after {
        background: white;
        height: 1px;
    }

    .header.scrolled .nav-links a:not(.btn) {
        color: white;
    }

    .menu-toggle {
        display: flex;
    }

    .menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
        background: white;
    }

    .menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
        background: white;
    }

    .header.scrolled .menu-toggle.active span {
        background: var(--color-verde-bosco);
    }

    .innovazione-cards,
    .products-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 0 auto;
    }

    .cities-grid {
        grid-template-columns: 1fr 1fr;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .contact-box {
        padding: var(--spacing-lg);
        border-width: 2px;
    }

    /* Contact section mobile fixes */
    .contact-wrapper {
        padding: 0 var(--spacing-sm);
    }

    .contact-header h2 {
        font-size: clamp(1.3rem, 5vw, 1.8rem);
        line-height: 1.3;
        padding: 0 var(--spacing-xs);
    }

    .contact-header p {
        font-size: 1rem;
        padding: 0 var(--spacing-xs);
    }

    .contact-info-panel {
        padding: var(--spacing-md);
        border-width: 2px;
        gap: var(--spacing-md);
    }

    .contact-map {
        height: 200px;
        border-radius: var(--radius-sm);
    }

    .contact-item {
        gap: var(--spacing-sm);
    }

    .contact-icon {
        width: 20px;
        height: 20px;
        flex-shrink: 0;
    }

    .contact-text h4 {
        font-size: 0.9rem;
    }

    .contact-text p,
    .contact-text a {
        font-size: 0.85rem;
    }

    .form-submit {
        padding: 0 var(--spacing-xs);
    }

    .form-submit .btn {
        min-width: unset;
        width: 100%;
        padding: 0.875rem 1rem;
        font-size: 0.85rem;
    }

    /* Carousel mobile adjustments handled in carousel.css */
}

@media (max-width: 768px) {

    /* Footer mobile - centered layout */
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: var(--spacing-xl);
    }

    .footer-brand {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .footer-brand .footer-logo {
        max-width: 200px;
        height: auto;
        margin: 0 auto var(--spacing-md);
    }

    .footer-brand .footer-tagline,
    .footer-brand .footer-brand-info {
        text-align: center;
        max-width: 100%;
    }

    .footer-links,
    .footer-contact {
        text-align: center;
    }

    .footer-links ul {
        align-items: center;
    }

    .footer-bottom {
        flex-direction: column;
        gap: var(--spacing-md);
        text-align: center;
    }

    .social-links {
        justify-content: center;
    }
}

/* Hero mobile adjustments */
.hero {
    padding-top: 60px;
    min-height: auto;
    padding-bottom: var(--spacing-sm);
}

.hero-logo {
    max-width: 220px;
}

.hero-content {
    padding: var(--spacing-lg);
}

.hero.hero-pattern .hero-content {
    padding: var(--spacing-lg);
}

.hero-tagline {
    font-size: 1.25rem;
}

/* Section spacing mobile */
.section {
    padding: var(--spacing-2xl) 0;
}

.section-header {
    margin-bottom: var(--spacing-xl);
}

/* Contact section mobile */
.contact-header h2 {
    font-size: 1.4rem;
}

/* Global quote mobile */
.global-quote {
    font-size: 1.2rem;
    padding-left: var(--spacing-md);
}

/* Progetto features mobile */
.progetto-features {
    justify-content: center;
}

.feature-badge {
    font-size: 0.85rem;
}

/* Innovation card mobile */
.innovazione-stat {
    font-size: 2rem;
}

/* Small mobile */
@media (max-width: 480px) {
    :root {
        --spacing-3xl: 3rem;
        --spacing-2xl: 2.5rem;
        --spacing-xl: 2rem;
    }

    .cities-grid {
        grid-template-columns: 1fr;
    }

    .btn {
        padding: 0.875rem 1.5rem;
        font-size: 0.9rem;
        width: 100%;
    }

    .section {
        padding: var(--spacing-xl) 0;
    }

    .hero-logo {
        max-width: 180px;
    }

    h1 {
        font-size: 1.5rem;
    }

    h2 {
        font-size: 1.3rem;
    }

    .hero-tagline {
        font-size: 1.1rem;
    }

    .hero-subtitle {
        font-size: 0.95rem;
    }

    /* Footer mobile extra small */
    .footer-brand .footer-logo {
        max-width: 160px;
    }

    .footer-brand .footer-tagline {
        font-size: 0.9rem;
    }

    .footer-brand .footer-brand-info {
        font-size: 0.8rem;
    }

    .footer-links a,
    .footer-contact p {
        font-size: 0.9rem;
    }

    /* Contact form small mobile */
    .contact-header h2 {
        font-size: 1.2rem;
    }

    .contact-header p {
        font-size: 0.95rem;
    }

    .form-group label {
        font-size: 0.9rem;
    }

    .form-group input,
    .form-group textarea {
        font-size: 1rem;
        padding: var(--spacing-sm);
    }

    /* Product cards small mobile */
    .product-info h3 {
        font-size: 1.1rem;
    }

    .product-info h4 {
        font-size: 1rem;
    }

    .product-info p {
        font-size: 0.9rem;
    }

    /* City cards small mobile */
    .city-card {
        padding: var(--spacing-md);
    }

    .city-card .flag {
        font-size: 1.5rem;
    }

    .city-card h4 {
        font-size: 1rem;
    }
}

/* ============ ACCESSIBILITY ============ */
@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    html {
        scroll-behavior: auto;
    }
}

/* Focus states */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
    outline: 3px solid var(--color-verde-bosco);
    outline-offset: 2px;
}

/* Skip to content link */
.skip-link {
    position: absolute;
    top: -100%;
    left: 50%;
    transform: translateX(-50%);
    background: var(--color-verde-bosco);
    color: var(--color-white);
    padding: var(--spacing-sm) var(--spacing-md);
    border-radius: var(--radius-sm);
    z-index: 9999;
    transition: top var(--transition-fast);
}

.skip-link:focus {
    top: var(--spacing-sm);
}

.logo-animate-to-top {
    /* Sposta il logo verso l'alto (adatta il valore se vuoi più o meno movimento) */
    transform: translateY(-180px) scale(0.7);
}

/* Intro Animation Styles */
body.intro-mode {
    overflow: hidden;
}

body.intro-mode>*:not(.navbar) {
    opacity: 0;
    pointer-events: none;
    transition: opacity 1s ease 0.5s;
}

body:not(.intro-mode)>*:not(.navbar) {
    opacity: 1;
    pointer-events: auto;
}

/* Navbar Initial State (Intro) */
body.intro-mode .navbar {
    height: 100vh;
    background-color: var(--color-white);
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 9999;
    box-shadow: none;
}

body.intro-mode .nav-container {
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100%;
    gap: 2rem;
}

body.intro-mode .logo img {
    height: 180px;
    /* Larger logo initially */
    transition: all 0.8s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

body.intro-mode .nav-links,
body.intro-mode .hamburger {
    display: none;
    opacity: 0;
}

/* Enter Button */
.btn-enter {
    display: none;
    /* Hidden by default in normal mode */
}

body.intro-mode .btn-enter {
    display: inline-block;
    background: transparent;
    border: 1px solid var(--color-green);
    color: var(--color-green);
    padding: 15px 40px;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    cursor: pointer;
    transition: all 0.3s ease;
    animation: fadeInUp 1s ease 0.5s backwards;
    font-family: var(--font-heading);
}

body.intro-mode .btn-enter:hover {
    background: var(--color-green);
    color: white;
}

/* Transitions to Normal Header */
.navbar {
    transition: height 0.8s ease, padding 0.8s ease, background-color 0.8s ease;
}

.nav-container {
    transition: all 0.8s ease;
}

.logo img {
    transition: height 0.8s ease;
}

.nav-links {
    transition: opacity 0.5s ease 0.8s;
    /* Delay fade in until navbar is in place */
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ============ MOBILE BACKGROUND FIX ============ */
@media (max-width: 768px) {

    /* Default state: hidden */
    body::before {
        opacity: 0 !important;
        transition: opacity 0.5s ease-out !important;
        pointer-events: none;
    }

    /* Intro state: visible */
    body.body-locked::before {
        opacity: 1 !important;
        transition: none !important;
        display: block !important;
    }

    /* Aggressive Gap Reduction */
    .hero {
        padding-bottom: 0 !important;
        margin-bottom: 0 !important;
        min-height: auto !important;
    }

    .hero-content {
        padding-bottom: 10px !important;
        margin-bottom: 0 !important;
    }

    .hero-actions {
        margin-bottom: 10px !important;
    }
}

/* ============ CRO ELEMENTS ============ */

/* Trust Badges Section */
.trust-badges {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 25px 0 15px;
    flex-wrap: wrap;
}

.trust-badge {
    text-align: center;
    padding: 15px 25px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--color-border-light);
    transition: var(--transition-fast);
}

.trust-badge:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.trust-number {
    display: block;
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--color-verde-bosco);
    font-family: var(--font-display);
    line-height: 1.2;
}

.trust-label {
    font-size: 0.8rem;
    color: var(--color-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 500;
}

/* Form Trust Micro-copy */
.form-trust {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 20px 0;
    font-size: 0.85rem;
    color: var(--color-text-muted);
    flex-wrap: wrap;
}

.form-trust span {
    display: flex;
    align-items: center;
    gap: 5px;
}

/* Form Hint */
.form-hint {
    font-size: 0.8rem;
    color: var(--color-verde-bosco);
    margin-top: 5px;
    display: block;
    font-weight: 500;
}

/* Select Styling */
.form-group select {
    padding: var(--spacing-sm) var(--spacing-md);
    border: 2px solid var(--color-border-light);
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    font-size: 1rem;
    transition: var(--transition-fast);
    background: var(--color-bg-cream);
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%23636E72' viewBox='0 0 16 16'%3E%3Cpath d='M8 11L3 6h10l-5 5z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 40px;
    width: 100%;
}

.form-group select:focus {
    outline: none;
    border-color: var(--color-verde-bosco);
    background-color: var(--color-white);
    box-shadow: 0 0 0 4px rgba(30, 95, 60, 0.1);
}

/* Larger Submit Button */
.btn-lg {
    padding: 1.15rem 2.5rem;
    font-size: 1.05rem;
}

/* CTA Pulse Animation */
.hero-actions .btn-primary {
    animation: pulse-glow 2.5s infinite ease-in-out;
}

@keyframes pulse-glow {

    0%,
    100% {
        box-shadow: 0 4px 20px rgba(30, 95, 60, 0.3);
    }

    50% {
        box-shadow: 0 6px 30px rgba(30, 95, 60, 0.5);
    }
}

/* Phone Call Floating Button */
.phone-float {
    position: fixed;
    bottom: 100px;
    right: 20px;
    width: 60px;
    height: 60px;
    background: var(--color-verde-bosco);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(30, 95, 60, 0.4);
    z-index: 998;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.phone-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 25px rgba(30, 95, 60, 0.5);
    color: white;
    background: var(--color-verde-chiaro);
}

.phone-float svg {
    width: 28px;
    height: 28px;
}

/* Sticky CTA Bar - Mobile Only */
.sticky-cta-bar {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--color-white);
    padding: 12px 16px;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.12);
    z-index: 999;
    gap: 10px;
    justify-content: center;
    border-top: 1px solid var(--color-border-light);
}

.sticky-cta-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: var(--color-verde-bosco);
    color: white;
    padding: 14px 20px;
    border-radius: 30px;
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    transition: all 0.3s ease;
}

.sticky-cta-btn:hover {
    background: var(--color-verde-chiaro);
    color: white;
}

.sticky-cta-phone {
    background: var(--color-verde-chiaro);
    color: white;
    padding: 14px 18px;
    border-radius: 30px;
    font-weight: 700;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: all 0.3s ease;
}

.sticky-cta-phone:hover {
    background: var(--color-verde-bosco);
    color: white;
}

/* Show sticky bar on mobile */
@media (max-width: 768px) {
    .sticky-cta-bar {
        display: flex;
    }

    body {
        padding-bottom: 80px;
    }

    .phone-float {
        bottom: 95px;
        width: 52px;
        height: 52px;
    }

    .phone-float svg {
        width: 24px;
        height: 24px;
    }

    .trust-badges {
        gap: 10px;
    }

    .trust-badge {
        padding: 12px 16px;
        flex: 1;
        min-width: 90px;
    }

    .trust-number {
        font-size: 1.4rem;
    }

    .trust-label {
        font-size: 0.7rem;
    }

    .form-trust {
        gap: 12px;
        font-size: 0.75rem;
    }
}

@media (min-width: 769px) {
    .phone-float {
        bottom: 30px;
    }
}

/* Iubenda Links Styling */
.iubenda-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1rem;
    font-size: 0.9rem;
}

.iubenda-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.iubenda-links a:hover {
    color: #fff;
    text-decoration: underline;
}

.iubenda-links .separator {
    color: rgba(255, 255, 255, 0.5);
}

/* Mobile Optimization */
@media (max-width: 768px) {
    .footer-bottom {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .iubenda-links {
        flex-direction: column;
        gap: 0.8rem;
        text-align: center;
    }
    
    .iubenda-links .separator {
        display: none;
    }
    
    .iubenda-links a {
        display: block;
        padding: 0.5rem;
        font-size: 1rem;
    }
}

/* ===== IUBENDA STYLING ===== */
/* Ensure Iubenda widget is visible but styled if needed */
/* Removed aggressive hiding */

/* ============ SPLASH SCREEN VISIBILITY ============ */
body.body-locked .sticky-cta-bar,
body.body-locked .phone-float {
    display: none !important;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}