/* Import modern premium font */

:root {
    /* Palette Colori - Massima Leggibilità e Coerenza in Tema Chiaro */
    --color-bg-deep: #f8fafc;         /* Sfondo chiaro Slate 50 per massimo contrasto e pulizia */
    --color-bg-dark: #ffffff;         /* Sfondo card bianco e pulito */
    --color-bg-card: rgba(255, 255, 255, 0.85);
    --color-text-light: #0f172a;      /* Slate 900 scuro per massima leggibilità */
    --color-text-muted: #475569;      /* Slate 600 grigio-azzurro scuro per testi secondari */
    
    /* Accenti Premium */
    --color-accent-primary: #0284c7;  /* Azzurro Oceano brillante per pulsanti/interazioni principali */
    --color-accent-primary-hover: #0369a1; /* Azzurro più scuro per hover */
    --color-accent-secondary: #0ea5e9; /* Azzurro vivace per evidenziazioni */
    
    --color-brand-accent: #0ea5e9;    /* Colore brand */
    --color-error: #ef4444;           /* Rosso standard per validazione form */
    
    /* Fonts */
    --font-primary: 'Outfit', sans-serif;
    
    /* Layout values */
    --navbar-height: 140px;
    --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-fast: all 0.25s ease;
    
    /* Glassmorphism settings - Frosted Glass adjusted for light theme */
    --glass-bg: rgba(255, 255, 255, 0.75);
    --glass-border: rgba(15, 23, 42, 0.08);
    --glass-shadow: 0 8px 32px 0 rgba(15, 23, 42, 0.06);
}

/* Reset base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: var(--font-primary);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

html {
    scroll-behavior: smooth;
    overflow-y: scroll;
}

body {
    background-color: var(--color-bg-deep);
    color: var(--color-text-light);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
    position: relative;
}

/* Ambient Marine Bubbles Animation */
.bubbles-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}

.bubble {
    position: absolute;
    bottom: -50px;
    background: radial-gradient(circle at 30% 30%, rgba(14, 165, 233, 0.08) 0%, rgba(14, 165, 233, 0.02) 70%, transparent 100%);
    border: 1px solid rgba(14, 165, 233, 0.04);
    border-radius: 50%;
    box-shadow: inset 0 0 10px rgba(14, 165, 233, 0.04);
    animation: float-bubble 18s infinite linear;
}

.bubble:nth-child(1) { width: 40px; height: 40px; left: 10%; animation-duration: 18s; animation-delay: 0s; }
.bubble:nth-child(2) { width: 20px; height: 20px; left: 25%; animation-duration: 12s; animation-delay: 3s; }
.bubble:nth-child(3) { width: 55px; height: 55px; left: 45%; animation-duration: 22s; animation-delay: 1s; }
.bubble:nth-child(4) { width: 30px; height: 30px; left: 60%; animation-duration: 16s; animation-delay: 5s; }
.bubble:nth-child(5) { width: 15px; height: 15px; left: 75%; animation-duration: 10s; animation-delay: 2s; }
.bubble:nth-child(6) { width: 48px; height: 48px; left: 90%; animation-duration: 20s; animation-delay: 4s; }

@keyframes float-bubble {
    0% {
        transform: translateY(0) translateX(0) scale(0.8);
        opacity: 0;
    }
    10% {
        opacity: 0.3;
    }
    90% {
        opacity: 0.3;
    }
    100% {
        transform: translateY(-110vh) translateX(40px) scale(1.2);
        opacity: 0;
    }
}

/* Glassmorphic Navigation Bar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--navbar-height);
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--glass-border);
    box-shadow: var(--glass-shadow);
    z-index: 100;
    display: flex;
    align-items: center;
    transition: var(--transition-smooth);
}

.navbar-container {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
}

.navbar-container > .navbar-logo {
    flex-shrink: 0;
}

.navbar-container > nav {
    flex: 1;
    display: flex;
    justify-content: center;
}

.navbar-container > .lang-switcher,
.navbar-container > .btn-cta,
.navbar-container > .burger-btn {
    flex-shrink: 0;
}

.navbar.scrolled {
    height: 90px;
    background: rgba(255, 255, 255, 0.95);
    border-bottom: 1px solid rgba(15, 23, 42, 0.06);
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.05);
}

.navbar-logo-img {
    height: 130px;
    width: auto;
    object-fit: contain;
    transition: var(--transition-smooth);
}

.navbar.scrolled .navbar-logo-img {
    height: 70px;
}

.navbar-logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: var(--color-text-light);
    font-weight: 700;
    font-size: 1.25rem;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.logo-text {
    font-weight: 700;
    color: var(--color-text-light);
}

.logo-text span {
    font-weight: 300;
    color: var(--color-brand-accent);
    margin-left: 2px;
}

.navbar-links {
    display: flex;
    align-items: center;
    gap: 32px;
    list-style: none;
}

.navbar-links a {
    color: var(--color-text-muted);
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    transition: var(--transition-fast);
    position: relative;
    padding: 6px 0;
}

.navbar-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-brand-accent);
    transition: var(--transition-fast);
}

.navbar-links a.active,
.navbar-links a:hover {
    color: var(--color-text-light);
}

.navbar-links a.active::after {
    width: 100%;
}

.btn-cta {
    background: var(--color-accent-primary);
    color: #ffffff;
    border: none;
    padding: 10px 22px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: var(--transition-smooth);
    box-shadow: 0 4px 12px rgba(14, 165, 233, 0.25);
}

.btn-cta:hover {
    background: var(--color-accent-primary-hover);
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(14, 165, 233, 0.35);
}

/* Pulsanti CTA Evidenziati (Azzurro Premium) */
#btnCtaNav, #btnCtaDrawer, #btnOrderHoReCa {
    background: linear-gradient(135deg, var(--color-accent-secondary), var(--color-accent-primary));
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(14, 165, 233, 0.3);
}

#btnCtaNav:hover, #btnCtaDrawer:hover, #btnOrderHoReCa:hover {
    background: linear-gradient(135deg, #7dd3fc, var(--color-accent-secondary));
    box-shadow: 0 6px 16px rgba(14, 165, 233, 0.45);
    color: #ffffff;
}

/* Layout Pages (Tabs) Control */
main {
    flex-grow: 1;
    margin-top: var(--navbar-height);
    z-index: 1;
}

.page-section {
    display: none;
    opacity: 0;
    transform: translateY(20px);
    padding: 60px 8%;
    animation: fade-in-up 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.page-section.active {
    display: block;
}

@keyframes fade-in-up {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Background wave contour lines under hero */
.hero-bg-lines {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}

.hero-bg-lines svg {
    width: 100%;
    height: 100%;
    opacity: 0.75;
}

.hero-bg-lines path {
    stroke: rgba(250, 245, 235, 0.06);
    stroke-width: 1.2px;
    fill: none;
}

/* Feature & Contact Vector Icons */
.feature-svg-icon,
.contact-svg-icon {
    width: 24px;
    height: 24px;
    stroke: var(--color-accent-secondary);
    stroke-width: 1.5;
    fill: none;
    display: inline-block;
    transition: var(--transition-fast);
}

.feature-item:hover .feature-svg-icon {
    transform: scale(1.08);
    stroke: var(--color-accent-primary);
}

.contact-detail-item:hover .contact-svg-icon {
    transform: scale(1.08);
    stroke: var(--color-accent-primary);
}

/* --- HOME SECTION --- */
.hero-full-cover {
    position: relative;
    width: 100vw;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    height: 100vh;
    min-height: 600px;
    margin-top: calc(-1 * var(--navbar-height));
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: calc(100px + var(--navbar-height)) 8% 100px 8%;
    overflow: hidden;
    margin-bottom: 0;
}

.hero-cover-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-cover-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.75;
    filter: saturate(1.15) contrast(1.1) brightness(0.95);
}

.hero-cover-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to bottom,
        rgba(255, 255, 255, 0.35) 0%,
        rgba(255, 255, 255, 0.65) 60%,
        var(--color-bg-dark) 100%
    );
    z-index: 1;
}

/* Infinite Marquee Ticker */
.marquee-banner {
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    overflow: hidden;
    white-space: nowrap;
    background: var(--color-brand-accent);
    color: #ffffff;
    padding: 16px 0;
    z-index: 5;
    display: flex;
    box-shadow: 0 10px 30px rgba(14, 165, 233, 0.12);
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.marquee-content {
    display: inline-flex;
    animation: marquee-scroll 32s linear infinite;
}

.marquee-content span {
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    font-size: 0.95rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    padding-right: 40px;
    display: inline-block;
    flex-shrink: 0;
}

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

.hero-content-cover {
    max-width: 800px;
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 2;
    position: relative;
}

.hero-content-cover h1 {
    font-size: clamp(2.2rem, 5vw, 3.8rem);
    font-weight: 800;
    line-height: 1.15;
    color: var(--color-text-light);
    margin-bottom: 25px;
    letter-spacing: -0.02em;
}

.hero-content-cover h1 span {
    color: var(--color-brand-accent);
}

.hero-content-cover .hero-description {
    color: var(--color-text-muted);
    font-size: clamp(1.05rem, 1.5vw, 1.25rem);
    line-height: 1.7;
    margin-bottom: 40px;
    max-width: 650px;
}

.hero-content-cover .hero-badge {
    background: rgba(14, 165, 233, 0.1);
    color: var(--color-brand-accent);
    border: 1px solid rgba(14, 165, 233, 0.2);
    display: inline-block;
    padding: 8px 20px;
    border-radius: 30px;
    font-weight: 700;
    font-size: 0.9rem;
    margin-bottom: 30px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

/* Icone Testuali sotto alla Hero */
.hero-features {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-bottom: 35px;
    flex-wrap: wrap;
}

.hero-feature {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 10px 18px;
    border-radius: 30px;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--color-text-light);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.hero-svg-icon {
    width: 18px;
    height: 18px;
    color: var(--color-accent-primary);
}

.hero-actions {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #f5f7fa;
    padding: 12px 26px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition-smooth);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.18);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-1px);
}

/* --- WHITE SECTION (POST-HERO) --- */
.bg-white-section {
    background-color: #ffffff;
    color: #0f172a;
    padding: 80px 8%;
    border-radius: 32px;
    margin-bottom: 80px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
}
.bg-white-section .section-title,
.bg-white-section .feature-text h4,
.bg-white-section .facility-info h3 {
    color: #0f172a;
}
.bg-white-section .section-subtitle {
    color: var(--color-accent-primary-hover);
}
.bg-white-section .facility-info p,
.bg-white-section .feature-text p {
    color: #475569; /* Slate 600 */
}
.bg-white-section .feature-icon {
    background: rgba(14, 165, 233, 0.1);
    border: 1px solid rgba(14, 165, 233, 0.2);
    color: var(--color-accent-primary-hover);
}
.bg-white-section .facility-img-1, 
.bg-white-section .facility-img-2 {
    border-color: rgba(0, 0, 0, 0.1);
}
.bg-white-section .facility-img-2 {
    border: 8px solid #ffffff;
}

/* --- SUSTAINABLE FISHING & TIMELINE --- */
.sustainable-section {
    text-align: center;
}
.timeline {
    display: flex;
    justify-content: space-between;
    position: relative;
    margin: 80px 0 40px 0;
    gap: 20px;
}
.timeline::before {
    content: '';
    position: absolute;
    top: 30px;
    left: 5%;
    width: 90%;
    height: 2px;
    background: rgba(14, 165, 233, 0.3);
    z-index: 1;
}
.timeline-step {
    position: relative;
    z-index: 2;
    width: 32%;
    background: var(--color-bg-dark);
    padding: 30px 20px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}
.timeline-icon {
    width: 60px;
    height: 60px;
    background: var(--color-accent-primary);
    border-radius: 50%;
    margin: -60px auto 20px auto;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    color: #fff;
    border: 6px solid var(--color-bg-deep);
}
.timeline-step h4 {
    color: var(--color-text-light);
    margin-bottom: 10px;
    font-size: 1.1rem;
}
.timeline-step p {
    color: var(--color-text-muted);
    font-size: 0.9rem;
    line-height: 1.5;
}
.video-link-container {
    margin-top: 40px;
}
.btn-video {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #ff0000;
    color: #fff;
    padding: 14px 28px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition-fast);
    box-shadow: 0 4px 15px rgba(255, 0, 0, 0.3);
}
.btn-video:hover {
    background: #cc0000;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 0, 0, 0.4);
    color: #fff;
}

/* --- CTA BACKGROUND SECTION --- */
.cta-bg-section {
    position: relative;
    padding: 100px 8%;
    border-radius: 32px;
    margin-bottom: 80px;
    text-align: center;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0,0,0,0.4);
    border: 1px solid rgba(255, 255, 255, 0.05);
}
.cta-bg-section::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: url('https://images.unsplash.com/photo-1534422298391-e4f8c172dddb?auto=format&fit=crop&w=1920&q=80') center/cover no-repeat;
    filter: brightness(0.3);
    z-index: 0;
}
.cta-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
}
.cta-content h2 {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 800;
    margin-bottom: 20px;
    color: var(--color-text-light);
    letter-spacing: -0.02em;
}
.cta-content p {
    font-size: 1.15rem;
    color: var(--color-text-muted);
    margin-bottom: 35px;
    line-height: 1.6;
}

/* Facility Section (Vivaio) */
.section-title-wrapper {
    text-align: center;
    margin-bottom: 80px;
}

.section-subtitle {
    color: var(--color-accent-secondary);
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 12px;
}

.section-title {
    font-size: clamp(1.8rem, 5vw, 2.8rem);
    font-weight: 800;
    color: var(--color-text-light);
    letter-spacing: -0.02em;
}

.facility-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 80px;
    align-items: center;
    margin-bottom: 100px;
}

.facility-images-composition {
    position: relative;
    width: 100%;
    height: 480px;
}

.facility-img-1, .facility-img-2 {
    position: absolute;
    border-radius: 28px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.20);
    transition: transform 0.4s ease;
}

.facility-img-1 {
    top: 0;
    left: 0;
    width: 80%;
    height: 65%;
    z-index: 1;
}

.facility-img-2 {
    bottom: 0;
    right: 0;
    width: 70%;
    height: 60%;
    z-index: 2;
    border: 8px solid var(--color-bg-deep); /* Crea un elegante effetto ritaglio */
}

.facility-img-1 img, .facility-img-2 img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.facility-images-composition:hover .facility-img-1 {
    transform: translate(-5px, -5px);
}

.facility-images-composition:hover .facility-img-2 {
    transform: translate(5px, 5px);
}

.facility-info h3 {
    font-size: clamp(1.4rem, 4vw, 2rem);
    margin-bottom: 22px;
    color: var(--color-text-light);
    font-weight: 800;
}

.facility-info p {
    color: var(--color-text-muted);
    font-size: 1.1rem;
    line-height: 1.65;
    margin-bottom: 40px;
}

.feature-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.feature-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.feature-icon {
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: var(--color-accent-secondary);
    flex-shrink: 0;
}

.feature-text h4 {
    font-size: 1.1rem;
    margin-bottom: 6px;
    color: var(--color-text-light);
    font-weight: 700;
}

.feature-text p {
    font-size: 0.9rem;
    color: var(--color-text-muted);
    margin: 0;
    line-height: 1.45;
}

/* Stats Section */
.stats-banner {
    background: var(--color-bg-dark);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 30px;
    padding: 50px 60px;
    display: flex;
    justify-content: space-around;
    align-items: center;
    text-align: center;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.20);
    margin-bottom: 40px;
}

.stat-item h2 {
    font-size: clamp(2rem, 6vw, 3.2rem);
    font-weight: 800;
    color: var(--color-text-light);
    margin-bottom: 5px;
    letter-spacing: -0.02em;
}

.stat-item p {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--color-text-muted);
}

/* Product List View (Vertical List Rows) */
.product-list-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 30px;
    animation: fade-in-up 0.5s ease forwards;
}

.product-list-row {
    background: var(--color-bg-dark);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    padding: 20px;
    transition: var(--transition-smooth);
    gap: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.product-list-row:hover {
    background: #ffffff;
    border-color: var(--color-accent-secondary);
    box-shadow: 0 10px 30px rgba(14, 165, 233, 0.1);
    transform: translateY(-2px);
}

.product-list-left {
    display: flex;
    align-items: center;
    gap: 15px;
    width: 100%;
}

.product-list-thumb {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid rgba(255, 255, 255, 0.10);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    flex-shrink: 0;
}

.product-list-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-list-text {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.product-list-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-text-light);
}

.product-list-scientific {
    font-size: 0.85rem;
    font-style: italic;
    color: var(--color-accent-primary);
}

.product-list-meta {
    width: 100%;
    font-size: 0.85rem;
    color: var(--color-text-muted);
    font-weight: 500;
}

.product-list-actions {
    width: 100%;
    display: flex;
    gap: 10px;
}

.product-list-actions .btn-detail,
.product-list-actions .btn-download {
    flex: 1;
}

/* Approccio Mobile First: Ripristino layout orizzontale su Desktop (> 768px) */
@media (min-width: 769px) {
    .product-list-row {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        padding: 24px 32px;
        gap: 30px;
    }
    .product-list-left { width: auto; flex: 1.2; gap: 20px; }
    .product-list-meta { width: auto; flex: 1; font-size: 0.95rem; }
    .product-list-actions { width: auto; gap: 12px; }
    .product-list-actions .btn-detail,
    .product-list-actions .btn-download {
        flex: initial;
    }
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-top: 30px;
}

.category-card {
    background: var(--color-bg-dark);
    border: 1px solid rgba(15, 23, 42, 0.06);
    border-radius: 28px;
    padding: 50px 35px;
    text-align: center;
    transition: var(--transition-smooth);
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.04);
}

.category-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 1px solid transparent;
    border-radius: 28px;
    transition: var(--transition-smooth);
    pointer-events: none;
}

.category-card:hover {
    transform: translateY(-6px);
    background: #ffffff;
    box-shadow: 0 15px 35px rgba(14, 165, 233, 0.12);
}

.category-card:hover::before {
    border-color: rgba(14, 165, 233, 0.2);
}

.category-svg-wrapper {
    width: 100px;
    height: 100px;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(14, 165, 233, 0.04);
    border: 1px solid rgba(14, 165, 233, 0.08);
    transition: var(--transition-smooth);
}

.category-card:hover .category-svg-wrapper {
    background: rgba(14, 165, 233, 0.08);
    border-color: rgba(14, 165, 233, 0.15);
    box-shadow: 0 0 15px rgba(14, 165, 233, 0.08);
}

.category-svg {
    width: 60px;
    height: 60px;
    stroke: var(--color-text-muted);
    stroke-width: 1.2;
    fill: none;
    stroke-linecap: round;
    stroke-linejoin: round;
    transition: var(--transition-smooth);
}

.category-card:hover .category-svg {
    transform: scale(1.05);
    stroke: var(--color-accent-secondary);
}

.category-title {
    font-size: 1.45rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--color-text-light);
    letter-spacing: -0.01em;
}

.category-desc {
    font-size: 0.9rem;
    color: var(--color-text-muted);
    line-height: 1.5;
}

/* Technical Sheet Detail View Layout */
.tech-sheet-wrapper {
    animation: fade-in-up 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.tech-sheet-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 35px;
    flex-wrap: wrap;
    gap: 20px;
}

.btn-back {
    background: rgba(15, 23, 42, 0.04);
    border: 1px solid rgba(15, 23, 42, 0.08);
    color: var(--color-text-light);
    padding: 10px 22px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: var(--transition-fast);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-back:hover {
    background: rgba(15, 23, 42, 0.08);
    border-color: rgba(15, 23, 42, 0.15);
    color: var(--color-text-light);
}

.tech-sheet-actions {
    display: flex;
    gap: 15px;
    align-items: center;
    flex-wrap: wrap;
}

.tech-main-hero {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 60px;
    background: var(--color-bg-dark);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 30px;
    padding: 50px;
    margin-bottom: 50px;
    align-items: center;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.20);
}

.tech-hero-info h2 {
    font-size: clamp(1.8rem, 5vw, 2.8rem);
    font-weight: 800;
    margin-bottom: 10px;
    color: var(--color-text-light);
    letter-spacing: -0.02em;
}

.tech-hero-info .scientific {
    font-size: 1.3rem;
    font-style: italic;
    color: var(--color-accent-primary);
    margin-bottom: 18px;
}

.tech-hero-info .alpha-code {
    display: inline-block;
    padding: 6px 14px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 30px;
    color: var(--color-accent-secondary);
    font-weight: 700;
    font-size: 0.85rem;
    margin-bottom: 25px;
    text-transform: uppercase;
}

.tech-hero-image-wrapper {
    height: 320px;
    border-radius: 24px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.20);
}

.tech-hero-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.tech-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-bottom: 40px;
}

.tech-panel {
    background: var(--color-bg-dark);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 28px;
    padding: 35px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.20);
}

.tech-panel h3 {
    font-size: 1.3rem;
    margin-bottom: 20px;
    color: var(--color-text-light);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
}

.tech-data-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.tech-data-item {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    border-bottom: 1px solid rgba(0, 0, 0, 0.04);
    padding-bottom: 12px;
    font-size: 0.95rem;
    gap: 20px;
}

.tech-data-item:last-child {
    border: none;
    padding-bottom: 0;
}

.tech-data-label {
    color: var(--color-text-muted);
    font-weight: 500;
}

.tech-data-value {
    color: var(--color-text-light);
    font-weight: 600;
    text-align: right;
}

.tech-panel-full {
    grid-column: span 2;
}

.tech-text-block {
    color: var(--color-text-muted);
    line-height: 1.6;
    font-size: 0.95rem;
}

/* Seasonality Timeline Graph style */
.season-info-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 18px;
}

.season-status {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--color-accent-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.months-bar {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 10px;
}

.month-item {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 14px 4px;
    text-align: center;
    font-size: 0.85rem;
    color: var(--color-text-muted);
    font-weight: 600;
    transition: var(--transition-fast);
}

.month-item.active {
    background: var(--color-accent-primary);
    border-color: var(--color-accent-primary);
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(14, 165, 233, 0.35);
}

/* Navigation & controls footer of detail */
.detail-cycle-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 50px;
    padding-top: 35px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.btn-cycle {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: var(--color-text-light);
    padding: 12px 24px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: var(--transition-smooth);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-cycle:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.20);
    transform: translateY(-1px);
    box-shadow: 0 0 15px rgba(14, 165, 233, 0.25);
}

.btn-cycle span {
    color: var(--color-accent-primary);
    font-size: 1.1rem;
}

/* Modifica stile del bottone detail */
.btn-detail {
    background: var(--color-accent-primary);
    color: #ffffff;
    border: none;
    padding: 10px 22px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: var(--transition-smooth);
    box-shadow: 0 4px 12px rgba(14, 165, 233, 0.25);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.btn-detail:hover {
    background: var(--color-accent-primary-hover);
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(14, 165, 233, 0.35);
}

/* Responsiveness Adaptations */
@media (max-width: 1024px) {
    .categories-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .tech-main-hero {
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 30px;
    }
    
    .tech-hero-image-wrapper {
        height: 260px;
    }
    
    .tech-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .tech-panel-full {
        grid-column: span 1;
    }
}

@media (max-width: 768px) {
    .categories-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .months-bar {
        grid-template-columns: repeat(4, 1fr);
        gap: 8px;
    }
    
    .tech-hero-info h2 {
        font-size: 2rem;
    }
    
    .detail-cycle-controls {
        flex-direction: column;
        gap: 15px;
        align-items: stretch;
    }
    
    .btn-cycle {
        justify-content: center;
    }
}


/* --- CONTACTS SECTION --- */
.contact-container {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 60px;
    align-items: start;
}

.contact-info-panel {
    background: var(--color-bg-dark);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 28px;
    padding: 45px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.20);
}

.contact-info-panel h3 {
    font-size: 1.8rem;
    margin-bottom: 25px;
    color: var(--color-text-light);
    font-weight: 800;
    letter-spacing: -0.01em;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin-bottom: 40px;
}

.contact-detail-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.contact-detail-icon {
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-accent-secondary);
    font-size: 1.3rem;
    flex-shrink: 0;
}

.contact-detail-text h4 {
    font-size: 1.1rem;
    color: var(--color-text-light);
    margin-bottom: 5px;
    font-weight: 700;
}

.contact-detail-text p {
    color: var(--color-text-muted);
    font-size: 0.95rem;
    line-height: 1.5;
}

.contact-delivery-box {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 24px;
    display: flex;
    gap: 15px;
}

.delivery-box-icon {
    font-size: 1.8rem;
    color: var(--color-accent-primary);
    line-height: 1;
}

.delivery-box-text h4 {
    color: var(--color-accent-primary);
    font-size: 0.95rem;
    margin-bottom: 4px;
    font-weight: 700;
}

.delivery-box-text p {
    font-size: 0.85rem;
    color: var(--color-text-muted);
    line-height: 1.45;
}

/* Contact Form */
.contact-form-panel {
    background: var(--color-bg-dark);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 28px;
    padding: 45px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.20);
}

.contact-form-panel h3 {
    font-size: 1.8rem;
    margin-bottom: 12px;
    color: var(--color-text-light);
    font-weight: 800;
    letter-spacing: -0.01em;
}

.contact-form-panel p {
    color: var(--color-text-muted);
    font-size: 0.95rem;
    margin-bottom: 30px;
    line-height: 1.5;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 25px;
}

.form-group-full {
    grid-column: span 2;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--color-brand-accent);
}

.form-group label span {
    color: inherit;
}

.form-control {
    background: #ffffff;
    border: 1px solid rgba(15, 23, 42, 0.12);
    border-radius: 12px;
    padding: 12px 16px;
    color: var(--color-text-light);
    font-size: 0.95rem;
    transition: var(--transition-fast);
}

.form-control:focus {
    outline: none;
    border-color: var(--color-accent-secondary);
    background: #ffffff;
    box-shadow: 0 0 0 4px rgba(14, 165, 233, 0.15);
}

/* Modern Validation styles using :user-valid and :user-invalid */
.form-control:user-valid {
    border-color: #4ade80;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%234ade80'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M5 13l4 4L19 7'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 18px;
    padding-right: 40px;
}

.form-control:user-invalid {
    border-color: var(--color-error);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%23ef4444'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M12 9v2m0 4h.01m-6.938 4h13.856c1.54 0 2.502-1.667 1.732-3L13.732 4c-.77-1.333-2.694-1.333-3.464 0L3.34 16c-.77 1.333.192 3 1.732 3z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 18px;
    padding-right: 40px;
}

select.form-control {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%2394a3b8'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    background-size: 16px;
    padding-right: 40px;
}

select.form-control option {
    background-color: var(--color-bg-dark);
    color: var(--color-text-light);
}

select.form-control:user-valid {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%234ade80'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M5 13l4 4L19 7'/%3E%3C/svg%3E");
}

/* Contact Interactive Map */
.contact-map-wrapper {
    width: 100%;
    height: 400px;
    border-radius: 28px;
    overflow: hidden;
    margin-top: 60px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.20);
}
.contact-map-wrapper iframe {
    width: 100%;
    height: 100%;
    border: none;
    /* Light mode effect for Google Maps (default) */
}

.btn-submit {
    width: 100%;
    background: var(--color-accent-primary);
    color: #ffffff;
    border: none;
    padding: 14px;
    border-radius: 30px;
    font-weight: 700;
    font-size: 1.05rem;
    cursor: pointer;
    transition: var(--transition-smooth);
    box-shadow: 0 4px 15px rgba(14, 165, 233, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-submit:hover {
    background: var(--color-accent-primary-hover);
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(14, 165, 233, 0.35);
}

/* --- FOOTER --- */
footer {
    background: #ffffff;
    border-top: 1px solid rgba(15, 23, 42, 0.06);
    padding: 60px 8% 40px 8%;
    z-index: 1;
    margin-top: auto;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 30px;
    margin-bottom: 30px;
}

.footer-logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: var(--color-text-light);
    font-weight: 700;
    font-size: 1.25rem;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.footer-company-data {
    font-size: 0.9rem;
    color: var(--color-text-muted);
    line-height: 1.6;
    max-width: 300px;
    margin-top: 15px;
}

.footer-certificate {
    max-width: 120px;
    margin-top: 20px;
}

.footer-certificate img {
    width: 100%;
    height: auto;
}

.footer-links {
    display: flex;
    gap: 24px;
    list-style: none;
}

.footer-links a {
    color: var(--color-text-muted);
    text-decoration: none;
    font-size: 0.9rem;
    transition: var(--transition-fast);
}

.footer-links a:hover {
    color: var(--color-accent-secondary);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 30px;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
    font-size: 0.85rem;
    color: var(--color-text-muted);
    flex-wrap: wrap;
    gap: 15px;
}

/* --- DIALOG MODAL (SCHEDA PRODOTTO) --- */
dialog {
    margin: auto;
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 30px;
    background: var(--color-bg-dark);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 30px 70px rgba(15, 23, 42, 0.15);
    color: var(--color-text-light);
    width: 90%;
    max-width: 680px;
    overflow: hidden;
    padding: 0;
}

dialog::backdrop {
    background: rgba(15, 23, 42, 0.4);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    animation: fade-backdrop 0.4s ease forwards;
}

@keyframes fade-backdrop {
    from { opacity: 0; }
    to { opacity: 1; }
}

dialog[open] {
    animation: zoom-in-dialog 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes zoom-in-dialog {
    from {
        opacity: 0;
        transform: scale(0.95) translateY(15px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.modal-header-img {
    height: 250px;
    width: 100%;
    position: relative;
}

.modal-header-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.modal-close-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.10);
    border: 1px solid rgba(255, 255, 255, 0.10);
    color: var(--color-text-light);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 700;
    transition: var(--transition-fast);
    z-index: 10;
}

.modal-close-btn:hover {
    background: rgba(255, 255, 255, 0.20);
    transform: rotate(90deg);
}

.modal-body {
    padding: 30px;
}

.modal-title-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 20px;
}

.modal-title h2 {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--color-text-light);
}

.modal-scientific {
    font-size: 0.95rem;
    font-style: italic;
    color: var(--color-text-muted);
}

.modal-tag {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: var(--color-accent-secondary);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
}

.modal-meta-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 15px 20px;
    margin-bottom: 25px;
}

.meta-item h5 {
    color: var(--color-text-muted);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
}

.meta-item p {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--color-text-light);
}

.modal-desc-title {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--color-text-light);
}

.modal-desc {
    color: var(--color-text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 25px;
}

.modal-culinary-box {
    background: rgba(14, 165, 233, 0.04);
    border-left: 3px solid var(--color-accent-primary);
    padding: 15px 20px;
    border-radius: 0 12px 12px 0;
    margin-bottom: 25px;
}

.modal-culinary-box h5 {
    color: var(--color-accent-primary);
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 4px;
}

.modal-culinary-box p {
    font-size: 0.9rem;
    line-height: 1.5;
    color: var(--color-text-muted);
}

.modal-footer {
    display: flex;
    justify-content: flex-end;
    gap: 15px;
}

/* Alert/Success Modal */
.success-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(5, 14, 30, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    z-index: 200;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition-smooth);
}

.success-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.success-card {
    background: var(--color-bg-dark);
    border: 1px solid rgba(74, 222, 128, 0.3);
    padding: 40px;
    border-radius: 28px;
    text-align: center;
    max-width: 450px;
    width: 90%;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.40);
    transform: translateY(20px);
    transition: var(--transition-smooth);
}

.success-overlay.active .success-card {
    transform: translateY(0);
}

.success-icon {
    width: 60px;
    height: 60px;
    background: rgba(74, 222, 128, 0.1);
    border: 1px solid rgba(74, 222, 128, 0.3);
    color: #4ade80;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin: 0 auto 20px auto;
    box-shadow: 0 0 20px rgba(74, 222, 128, 0.1);
}

.success-card h3 {
    font-size: 1.6rem;
    margin-bottom: 10px;
    color: var(--color-text-light);
}

.success-card p {
    color: var(--color-text-muted);
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 25px;
}

/* Responsiveness Queries */
@media (max-width: 1024px) {
    .navbar {
        padding: 0 5%;
    }
    
    .hero {
        flex-direction: column;
        text-align: center;
        gap: 40px;
        padding-top: 40px;
    }
    
    .hero-content {
        max-width: 100%;
    }
    
    .hero h1 {
        font-size: 3rem;
    }
    
    .hero-actions {
        justify-content: center;
    }
    
    .facility-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .facility-images-composition {
        height: 400px;
        max-width: 550px;
        margin: 0 auto;
    }
    
    .contact-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .categories-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .tech-main-hero {
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 30px;
    }
    
    .tech-hero-image-wrapper {
        height: 260px;
    }
    
    .tech-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .tech-panel-full {
        grid-column: span 1;
    }
    
    .footer-col {
        align-items: center !important;
        text-align: center !important;
    }
    
    .footer-col h4 {
        text-align: center !important;
    }
    
    .footer-col div {
        justify-content: center !important;
    }
}

@media (max-width: 768px) {
    :root {
        --navbar-height: 95px;
    }
    
    .navbar {
        padding: 0;
    }

    .navbar-container {
        padding: 0 20px;
        gap: 16px;
    }

    /* Row-based navbar styles removed – using single-row layout */

    .navbar-logo-img {
        height: 80px;
    }

    .navbar.scrolled {
        height: 75px !important;
    }
    
    .navbar.scrolled .navbar-logo-img {
        height: 60px;
    }
    
    /* In dynamic mobile view, we could stack tabs or just make a responsive simple layout */
    .hero h1 {
        font-size: 2.2rem;
    }

    .hero-full-cover {
        width: 100vw !important;
        left: 50% !important;
        right: 50% !important;
        margin-left: -50vw !important;
        margin-right: -50vw !important;
        height: 100vh !important;
        min-height: 560px !important;
        padding: calc(80px + var(--navbar-height)) 20px 60px 20px !important;
        border-radius: 0 !important;
        margin-top: calc(-1 * var(--navbar-height)) !important;
        margin-bottom: 0 !important;
    }

    .tech-sheet-wrapper {
        padding: 0 !important;
        background: transparent !important;
        border: none !important;
        box-shadow: none !important;
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
    }

    .tech-main-hero {
        padding: 24px 20px !important;
        border-radius: 24px !important;
        box-shadow: 0 10px 30px rgba(15, 23, 42, 0.04) !important;
        border: 1px solid rgba(15, 23, 42, 0.06) !important;
    }

    .tech-panel {
        padding: 24px 20px !important;
        border-radius: 24px !important;
        box-shadow: 0 10px 30px rgba(15, 23, 42, 0.04) !important;
        border: 1px solid rgba(15, 23, 42, 0.06) !important;
    }

    .feature-list {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .stats-banner {
        flex-direction: column;
        gap: 30px;
        padding: 30px 20px;
    }
    
    .facility-images-composition {
        height: 300px !important;
        padding-bottom: 20px !important;
        padding-right: 20px !important;
    }

    .intro-statement-section {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
        text-align: center !important;
    }
    
    .intro-statement-right p {
        border-left: none !important;
        border-top: 2px solid #e5e7eb !important;
        padding-left: 0 !important;
        padding-top: 20px !important;
        text-align: left;
    }

    .timeline-grid {
        gap: 20px !important;
    }

    .products-control-bar {
        flex-direction: column;
        align-items: stretch;
        padding: 15px;
    }
    
    .search-box-wrapper {
        max-width: 100%;
    }
    
    .filter-buttons {
        justify-content: center;
    }
    
    .form-grid {
        grid-template-columns: 1fr;
    }
    
    .form-group-full {
        grid-column: span 1;
    }
    
    /* Evita lo zoom automatico su iOS per i campi di input */
    .form-control, select.form-control {
        font-size: 16px !important;
    }

    .modal-meta-grid {
        grid-template-columns: 1fr;
        gap: 10px;
        padding: 10px 15px;
    }

    .footer-content {
        flex-direction: column !important;
        align-items: center !important;
        text-align: center !important;
        gap: 40px !important;
    }

    .footer-col {
        width: 100% !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        text-align: center !important;
    }
    
    .footer-logo {
        justify-content: center !important;
        margin-bottom: 15px !important;
    }
    
    .footer-company-data {
        margin: 0 auto !important;
        text-align: center !important;
    }
    
    .footer-col h4 {
        text-align: center !important;
        width: 100% !important;
    }
    
    .footer-col div {
        justify-content: center !important;
        align-items: center !important;
    }

    .footer-bottom {
        flex-direction: column !important;
        justify-content: center !important;
        align-items: center !important;
        text-align: center !important;
        gap: 20px !important;
    }
    
    .footer-bottom div {
        justify-content: center !important;
        align-items: center !important;
        width: 100%;
    }
    
    .categories-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .months-bar {
        grid-template-columns: repeat(4, 1fr);
        gap: 8px;
    }
    
    .tech-hero-info h2 {
        font-size: 2rem;
    }
    
    .detail-cycle-controls {
        flex-direction: column;
        gap: 15px;
        align-items: stretch;
    }
    
    .btn-cycle {
        justify-content: center;
    }
}

/* Navbar Actions, Burger Menu, and Language Switcher Styling */
.navbar-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.burger-btn {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 24px;
    height: 18px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 205;
    padding: 0;
}

.burger-line {
    width: 100%;
    height: 2px;
    background: var(--color-text-light);
    border-radius: 2px;
    transition: var(--transition-smooth);
    transform-origin: left center;
}

.burger-btn.active .burger-line:nth-child(1) {
    transform: rotate(45deg);
    background: var(--color-accent-primary);
}

.burger-btn.active .burger-line:nth-child(2) {
    opacity: 0;
    transform: scale(0);
}

.burger-btn.active .burger-line:nth-child(3) {
    transform: rotate(-45deg);
    background: var(--color-accent-primary);
}

.lang-switcher {
    display: flex;
    gap: 6px;
    background: rgba(15, 23, 42, 0.04);
    padding: 2px;
    border-radius: 20px;
    border: 1px solid rgba(15, 23, 42, 0.08);
}

.lang-btn {
    background: transparent;
    border: none;
    color: var(--color-text-muted);
    font-size: 0.75rem;
    font-weight: 700;
    padding: 4px 8px;
    border-radius: 15px;
    cursor: pointer;
    transition: var(--transition-fast);
}

.lang-btn:hover {
    color: var(--color-text-light);
}

.lang-btn.active {
    background: var(--color-accent-primary);
    color: #ffffff;
}

/* Off-Canvas Menu Drawer (Mobile) Styling */
.off-canvas-menu {
    position: fixed;
    top: 0;
    right: -300px;
    width: 300px;
    height: 100vh;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    border-left: 1px solid rgba(15, 23, 42, 0.08);
    box-shadow: -10px 0 40px rgba(15, 23, 42, 0.08);
    z-index: 200;
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
    padding: 40px 30px;
}

.off-canvas-menu.active {
    right: 0;
}

.close-off-canvas {
    align-self: flex-end;
    background: transparent;
    border: none;
    color: var(--color-text-light);
    font-size: 2.2rem;
    cursor: pointer;
    line-height: 1;
    margin-bottom: 30px;
    transition: var(--transition-fast);
}

.close-off-canvas:hover {
    color: var(--color-accent-secondary);
    transform: scale(1.1);
}

.off-canvas-content {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.lang-switcher-drawer {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 40px;
}

.lang-label {
    font-size: 0.85rem;
    color: var(--color-text-muted);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.lang-switcher-buttons {
    display: flex;
    gap: 6px;
    background: rgba(15, 23, 42, 0.04);
    padding: 2px;
    border-radius: 20px;
    border: 1px solid rgba(15, 23, 42, 0.08);
    width: fit-content;
}

.off-canvas-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-bottom: auto;
}

.off-canvas-links a {
    color: var(--color-text-light);
    text-decoration: none;
    font-size: 1.3rem;
    font-weight: 600;
    transition: var(--transition-fast);
    display: block;
    padding: 6px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.04);
}

.off-canvas-links a.active,
.off-canvas-links a:hover {
    color: var(--color-accent-secondary);
    border-bottom-color: var(--color-accent-secondary);
    padding-left: 5px;
}

.drawer-cta {
    width: 100%;
    margin-top: 30px;
    padding: 14px;
    font-size: 1rem;
}

.off-canvas-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(3, 11, 23, 0.7);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 199;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
}

.off-canvas-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

/* Responsive Overrides - Hiding/Showing components for burger drawer on mobile */
@media (max-width: 768px) {
    .navbar-links,
    .lang-switcher,
    #btnCtaNav {
        display: none !important;
    }
    
    .burger-btn {
        display: flex;
    }
}

/* --- COOKIE BANNER E POLICY PAGES --- */
.cookie-banner {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 600px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 24px;
    padding: 25px;
    box-shadow: 0 15px 40px rgba(15, 23, 42, 0.10);
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 15px;
    text-align: center;
    transition: opacity 0.5s ease;
}

.cookie-banner p {
    font-size: 0.95rem;
    color: var(--color-text-light);
    line-height: 1.5;
}

.cookie-banner a {
    color: var(--color-accent-secondary);
    text-decoration: underline;
}

.cookie-buttons {
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-cookie-accept, .btn-cookie-reject {
    padding: 10px 24px;
    border-radius: 20px;
    cursor: pointer;
    font-weight: 600;
    transition: var(--transition-fast);
}

.btn-cookie-accept { background: var(--color-accent-primary); color: #fff; border: none; }
.btn-cookie-accept:hover { background: var(--color-accent-primary-hover); }

.btn-cookie-reject { background: transparent; border: 1px solid rgba(15, 23, 42, 0.20); color: var(--color-text-light); }
.btn-cookie-reject:hover { background: rgba(15, 23, 42, 0.05); }

.policy-content {
    max-width: 900px;
    margin: 0 auto;
    color: var(--color-text-muted);
    line-height: 1.7;
    font-size: 1.05rem;
}

.policy-content h3 { color: var(--color-text-light); margin-top: 35px; margin-bottom: 15px; font-size: 1.4rem; }
.policy-content p { margin-bottom: 15px; }


.title-premium-main {
    font-family: 'Montserrat', sans-serif !important;
    font-size: clamp(2.5rem, 4vw, 4rem);
    font-weight: 800 !important;
    text-transform: uppercase;
    color: var(--color-text-light);
    line-height: 1.1;
    margin-bottom: 25px;
    letter-spacing: -1px;
}