/* ==========================================================================
   CSS Variables
   ========================================================================== */
:root {
    --primary-color: #8c3232;
    /* Deep red / maroon */
    --primary-hover: #732828;
    --text-dark: #3a221f;
    --text-light: #ffffff;
    --text-muted: #665b57;
    --bg-light: #eee1c9;
    /* Main beige */
    --bg-darker: #eaddd3;
    /* Darker beige */
    --bg-footer: #742d2a;
    --border-color: #d5b99f;
    --font-main: 'Inter', sans-serif;
    --transition: all 0.3s ease;
}

/* ==========================================================================
   Reset & Base Styles
   ========================================================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    color: var(--text-dark);
    background-color: var(--bg-light);
    line-height: 1.6;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 700;
    line-height: 1.2;
    color: var(--primary-color);
}

h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

p {
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.container {
    width: 100%;
    max-width: 1470px;
    margin: 0 auto;
    padding: 0 40px;
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
    display: inline-block;
    padding: 16px 32px;
    border-radius: 30px;
    font-family: 'Barlow Semi Condensed', sans-serif;
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    text-align: center;
    white-space: nowrap;
}

/* CTA palette (all buttons except header) */
.btn:not(.btn-header) {
    background-color: #f4ead2;
    color: #7b3f00;
}

.btn:not(.btn-header):hover {
    background-color: #9a774a;
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(122, 87, 32, 0.25);
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--text-light);
}

.btn-primary:hover {
    background-color: var(--primary-hover);
    box-shadow: 0 4px 12px rgba(140, 50, 50, 0.3);
}

.btn-primary-light {
    background-color: var(--bg-light);
    color: var(--primary-color);
}

.btn-primary-light:hover {
    background-color: #ffffff;
}


.btn-secondary {
    background-color: var(--bg-light);
    color: var(--primary-color);
}

.btn-secondary:hover {
    background-color: #ffffff;
    color: var(--primary-color);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.btn-secondary:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 27px 0;
    transition: var(--transition);
    background-color: transparent;
}

.site-header.scrolled {
    background-color: #ffffff;
    padding: 15px 0;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 100%;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 300;
    font-size: 1.2rem;
    letter-spacing: 1px;
}

.header-logo-img {
    height: 40px;
    width: auto;
    display: block;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 40px;
}

.main-nav ul {
    display: flex;
    list-style: none;
    gap: 30px;
}

.main-nav a {
    font-size: 0.95rem;
    font-weight: 500;
    position: relative;
    padding: 5px 0;
    color: var(--text-dark);
}

.main-nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: var(--transition);
}

.main-nav a:hover::after {
    width: 100%;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero-section {
    position: relative;
    padding-top: 100px;
    height: 100vh;
    min-height: 800px;
    display: flex;
    align-items: center;
}

.hero-bg-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10;
    overflow: hidden;
}

.shape-macchia {
    position: absolute;
    max-width: 400px;
    width: 40%;
    height: auto;
}

.shape-macchia.left {
    bottom: 80px;
    left: 0;
    width: 40%;
    max-width: 900px;
}

.shape-macchia.right {
    top: 70px;
    right: -4vw;
    width: clamp(240px, 34vw, 340px);
}


.hero-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1550px;
    gap: 50px;
    height: 100%;
}

.hero-content {
    flex: 1;
    max-width: 720px;
    position: relative;
    margin-top: 6.5rem;
}

.hero-content p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    color: var(--text-dark);
}

.scroll-down {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.8rem;
    letter-spacing: 2px;
    color: var(--text-muted);
    margin-top: 170px;
    z-index: 200;
    position: relative;
}

.scroll-down img.arrow-down-img {
    height: 100px;
    width: auto;
    animation: bounce 2s infinite;
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0);
    }

    40% {
        transform: translateY(10px);
    }

    60% {
        transform: translateY(5px);
    }
}

.hero-image-wrapper {
    flex: 1;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
}

.video-container {
    position: relative;
    width: 100%;
    max-width: 460px;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    height: auto;
    aspect-ratio: 9 / 16;
}

.hero-video {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.hero-mask-overlay {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    display: block;
    z-index: 2;
    pointer-events: none;
    transform: scale(1);
}

/* ==========================================================================
   Logos Strip
   ========================================================================== */
.logos-strip {
    background-color: #ffffff;
    padding: 30px 0;
    text-align: center;
	z-index: 10;
  	position: relative;
}

/* Desktop: loghi centrati e statici */
.logos-carousel {
    overflow: hidden;
    width: 100%;
    max-width: 1470px;
    margin: 0 auto;
    padding: 0 40px;
}

.logos-track {
    display: flex;
    justify-content: center;
    align-items: center;
    column-gap: 80px;
    row-gap: 24px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

/* Su desktop nascondi i duplicati */
.logos-track .logo-item[aria-hidden="true"] {
    display: none;
}

.logo-item {
    width: auto;
    object-fit: contain;
    transition: var(--transition);
    flex-shrink: 0;
}

/* Loghi 1, 3, 6 (più alti) */
.logo-item:nth-child(1),
.logo-item:nth-child(3),
.logo-item:nth-child(6) {
    height: 70px;
}

/* Loghi 2, 4, 5 (più bassi) */
.logo-item:nth-child(2),
.logo-item:nth-child(4),
.logo-item:nth-child(5) {
    height: 45px;
}

.logo-item:hover {
    transform: scale(1.05);
}

.funding-text {
    font-size: 0.8rem;
    color: var(--text-muted);
    max-width: 900px;
    margin: 0 auto;
    padding: 10px 20px 0;
}

/* ---- Keyframes per carousel mobile ---- */
@keyframes scrollLogos {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
        /* Scorre metà perché i loghi sono duplicati */
    }
}

/* ==========================================================================
   Full Width Banners
   ========================================================================== */
.full-width-banner {
    width: 100%;
    min-height: 100vh;
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
    background-color: #333;
}

.crossfade-banner {
    position: relative;
    overflow: hidden;
    /* prevents slides from escaping */
}

.bg-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    z-index: 1;
    opacity: 0;
    animation: fadeAnim 12s infinite;
}

/* Immagine 1 */
.slide-1 {
    background-image: url('assets/images/foto-bg-1.png');
    animation-delay: 0s;
}

/* Immagine 2 */
.slide-2 {
    background-image: url('assets/images/foto-bg-2.png');
    animation-delay: 6s;
}

/* Animazione CSS per sfumare l'opacità */
@keyframes fadeAnim {
    0% {
        opacity: 0;
    }

    15% {
        opacity: 1;
    }

    50% {
        opacity: 1;
    }

    65% {
        opacity: 0;
    }

    100% {
        opacity: 0;
    }
}

/* Immagine singola per il secondo banner a larghezza intera */
.banner-2 {
    background-image: url('assets/images/foto-bg-3.png');
}

.banner-overlay {
    background-color: rgba(0, 0, 0, 0.4);
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    text-align: center;
    z-index: 2;
}

.banner-overlay h2 {
    color: #ffffff;
    max-width: 900px;
    margin: 0 auto;
    font-size: 2.2rem;
    line-height: 1.4;
}

.banner-overlay .btn {
    margin-top: 3.75rem;
}

/* ==========================================================================
   Timeline Section "Dal Mare al Tuo Menu"
   ========================================================================== */
.container.timeline-container {
    padding: 0 40px;
}

.timeline-section {
    padding: 100px 0;
    background-color: var(--bg-light);
    position: relative;
}

.section-title {
    text-align: center;
    margin-bottom: 90px;
    font-size: 3rem;
}

#dal-mare .section-title {
    font-size: 5rem;
}

.timeline-wrapper {
    position: relative;
    margin: 0 auto;
}

/* Linea svg rimossa */

.timeline-step {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 9.8rem;
    margin-bottom: 1.875rem;
    position: relative;
    z-index: 1;
}

.timeline-step:last-child {
    margin-bottom: 0;
}

.step-image {
    flex: 1.295;
    display: flex;
    justify-content: center;
    position: relative;
}

.timeline-img {
    width: 100%;
    height: auto;
    object-fit: contain;
    z-index: 2;
}

/* Nuova linea di sfondo fissa (mare-linea.png) */
.timeline-line-bg {
    position: absolute;
    top: 200px;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    height: 88%;
    z-index: 0;
    pointer-events: none;
    display: flex;
    justify-content: center;
}

.timeline-line-bg img {
    height: 100%;
    width: auto;
    object-fit: cover;
    opacity: 0.8;
}


/* Onde decorative timeline */
.timeline-waves {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
}

.timeline-wave {
    position: absolute;
    width: 233px;
    max-width: 40vw;
    height: auto;
    opacity: 0.85;
}

.timeline-wave.wave-1 {
    top: 21%;
    left: -11%;
}

.timeline-wave.wave-2 {
    top: 42%;
    right: -11%;
}

.timeline-wave.wave-3 {
    top: 80%;
    left: -11%;
}

.timeline-wave.wave-4 {
    top: 98%;
    right: -11%;
}



.step-content {
    flex: 1;
    z-index: 2;
}

.step-content h3 {
    color: var(--primary-color);
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.step-left .step-content {
    padding-left: 40px;
}

.step-right .step-content {
    padding-right: 40px;
}

.step-right .step-content p,
.step-left .step-content p {
    font-size: 1.5rem;
    line-height: 1.25;
    color: #000;
}

/* ==========================================================================
   Contact Form Section
   ========================================================================== */
.contact-section {
    position: relative;
    padding: 100px 0;
    min-height: 800px;
    display: flex;
    align-items: center;
}

.form-bg-image {
    background-image: url('assets/images/bg-form.png');
    background-size: cover;
    background-position: center;
}

.contact-container {
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.contact-form-card {
    flex: 0 1 800px;
    width: 100%;
    background: #ffffff;
    border-radius: 30px;
    padding: 50px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
    position: relative;
    z-index: 10;
}

.form-subtitle {
    font-size: 0.8rem;
    letter-spacing: 2px;
    color: var(--text-muted);
    margin-bottom: 10px;
    display: block;
}

.contact-form-card h2 {
    font-size: 3.75rem;
    margin-bottom: 10px;
}

.custom-form {
    margin-top: 30px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px 0;
    border: none;
    border-bottom: 1px solid #ccc;
    font-family: inherit;
    font-size: 1rem;
    background: transparent;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-bottom-color: var(--primary-color);
}

.form-group textarea {
    resize: vertical;
    min-height: 80px;
}

.form-actions {
    margin-top: 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

/* Keep form CTA aligned with global button sizing */
.form-actions .btn {
    padding: 16px 32px;
}

.privacy-checkbox {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1rem;
    color: #6f6660;
    cursor: pointer;
}

.privacy-checkbox input {
    appearance: none;
    width: 24px;
    height: 24px;
    border: 2px dashed #111;
    border-radius: 4px;
    background: transparent;
    margin-top: 0;
    cursor: pointer;
    flex-shrink: 0;
    transition: border-color 0.2s ease, background-color 0.2s ease;
    position: relative;
}

.privacy-checkbox input:checked {
    background-color: transparent;
    border-color: #111;
}

.privacy-checkbox input::after {
    content: '';
    position: absolute;
    inset: 5px;
    border-radius: 2px;
    background: #CAB48C;
    opacity: 0;
    transition: opacity 0.2s ease;
}

.privacy-checkbox input:checked::after {
    opacity: 1;
}

.privacy-checkbox input:focus-visible {
    outline: 2px solid #CAB48C;
    outline-offset: 3px;
}

.privacy-checkbox span {
    color: #6f6660;
}

.privacy-link {
    color: #CAB48C;
    font-style: italic;
    font-weight: 600;
    text-decoration: none;
}

.privacy-link:hover {
    text-decoration: underline;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
    background-color: var(--bg-footer);
    color: #ffffff;
    padding-top: 80px;
}

.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 40px;
    margin-bottom: 60px;
}

.brand-col {
    flex: 2;
    min-width: 300px;
}

.brand-top {
    display: flex;
    align-items: center;
    gap: 30px;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.footer-logo {
    display: inline-block;
    max-width: 100%;
}

.footer-logo-img {
    height: 40px;
    width: auto;
    max-width: 100%;
    object-fit: contain;
    display: block;
}

.company-info,
.contact-info {
    font-size: 0.9rem;
    opacity: 0.8;
    margin-bottom: 10px;
}

.links-col {
    flex: 1.5;
    display: flex;
    justify-content: space-between;
    gap: 30px;
    min-width: 650px;
}

.link-group {
    flex: 1 1 0%;
    min-width: 0;
    overflow: hidden;
    border-left: 1px solid #ffffff;
    padding-left: 20px;
    padding-top: 20px;
    padding-bottom: 20px;
    margin-top: -20px;
}

.link-group h4 {
    color: #ffffff;
    font-size: 1rem;
    margin-bottom: 15px;
}

.social-links {
    display: flex;
    gap: 15px;
    flex-wrap: nowrap;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    background: transparent;
}

.footer-icon {
    width: 20px;
    height: 20px;
    object-fit: contain;
    transition: var(--transition);
    opacity: 0.8;
    flex-shrink: 0;
}

.social-links a:hover .footer-icon {
    opacity: 1;
    transform: scale(1.1);
}

.footer-icon-instagram {
    width: 20px;
    height: 20px;
}

.footer-bottom {
    background-color: #EEE1C9;
    color: var(--text-dark);
    padding: 20px 0;
    font-size: 0.8rem;
}

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

.bottom-left {
    display: flex;
    align-items: center;
    gap: 20px;
}

.mwc-logo-img {
    height: 25px;
    width: auto;
    object-fit: contain;
    display: block;
}

.bottom-right {
    display: flex;
    gap: 30px;
}

.bottom-right a {
    color: var(--text-dark);
}

.bottom-right a:hover {
    text-decoration: underline;
}

/* ==========================================================================
   Hamburger Menu (nascosto su desktop)
   ========================================================================== */
.hamburger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1100;
    position: relative;
    height: auto;
    min-height: 20px;
    box-sizing: content-box;
    align-items: center;
}

.hamburger span {
    display: block;
    width: 28px;
    height: 2px;
    background-color: #8F3939;
    margin: 3px 0;
    border-radius: 2px;
    transition: var(--transition);
    transform-origin: center;
}

/* Animazione hamburger → X quando aperto */
.hamburger.active span:nth-child(1) {
    margin: 1px 0;
    transform: rotate(45deg) translate(4px, 4px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    margin: 1px 0;
    transform: rotate(-45deg) translate(4px, -4px);
}

/* Overlay scuro di sfondo */
.mobile-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 999;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.mobile-overlay.active {
    display: block;
    opacity: 1;
    pointer-events: all;
}

/* ==========================================================================
   Responsive Design
   ========================================================================== */

/* Desktop Large - max-width: 1460px */
@media (max-width: 1460px) {
    .timeline-line-bg {
        top: 100px;
    }

    .shape-macchia.right {
        right: -6vw;
        top: 60px;
    }

    .shape-macchia.left {
        bottom: 50px;
    }
}

/* Desktop - max-width: 1200px */
@media (max-width: 1200px) {
    .shape-macchia.right {
        right: -10vw;
        width: clamp(220px, 40vw, 320px);
    }
}

/* Tablet Large - max-width: 1024px */
@media (max-width: 1024px) {
    .timeline-wave {
        width: 180px;
    }
}

/* Tablet - max-width: 992px */
@media (max-width: 992px) {
    .shape-macchia.right {
        right: -14vw;
    }

    h1 {
        font-size: 2.8rem;
    }

    h2 {
        font-size: 2rem;
    }

    .hero-section {
        height: auto;
        padding: 120px 0 100px;
        overflow: hidden;
    }

    .hero-container {
        flex-direction: column;
        text-align: center;
        padding-top: 32px;
        gap: 40px;
    }

    .hero-content {
        margin-top: 0;
    }

    .hero-content h1 {
        margin-bottom: 1.4rem;
        font-size: 2.7rem;
    }

    .hero-content p {
        margin-bottom: 1.4rem;
        max-width: 440px;
        margin-left: auto;
        margin-right: auto;
    }

    .hero-image-wrapper {
        position: relative;
        width: 100%;
        max-width: 460px;
        height: auto;
        margin: 0 auto;
    }

    .video-container {
        width: 100%;
        max-width: 460px;
        aspect-ratio: 9 / 16;
        height: auto;
        position: relative;
    }

    .hero-video {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .scroll-down-below {
        display: flex;
        align-items: center;
        flex-direction: column;
        gap: 10px;
        margin-top: 20px;
        color: var(--text-muted);
        letter-spacing: 2px;
        font-size: 0.8rem;
        align-self: center;
    }

    .scroll-down {
        display: none;
    }

    .timeline-step {
        flex-direction: column;
        text-align: left;
        gap: 30px;
        margin-bottom: 60px;
        padding: 0 20px;
        align-items: stretch;
    }

    .step-right {
        flex-direction: column-reverse;
    }

    .step-left .step-content,
    .step-right .step-content {
        padding: 0;
        width: 100%;
    }

    .step-image {
        width: 100%;
    }

    .step-content h3 {
        font-size: 1.4rem;
    }

    .step-content p,
    .step-right .step-content p,
    .step-left .step-content p {
        font-size: 1rem;
        line-height: 1.4;
    }

    /* Titolo sezione più piccolo su mobile */
    #dal-mare .section-title {
        font-size: 2.5rem;
        padding: 0 20px;
    }

    /* Nascondi la linea di collegamento su mobile */
    .timeline-line-bg {
        display: none;
    }

    /* Nascondi le onde decorative su mobile */
    .timeline-waves {
        display: none;
    }

    .contact-container {
        flex-direction: column;
    }

    /* Rimuovi mascotte e usa colore pieno come su mobile */
    .form-bg-image {
        background-image: none;
        background-color: #aa8f73;
    }

    .links-col {
        width: 100%;
        min-width: 0;
        flex-wrap: wrap;
    }
}

/* Fix footer breakpoint issue - force stacking at 991px */
@media (max-width: 991px) {
    .footer-top {
        flex-direction: column;
        align-items: flex-start;
    }

    .links-col {
        width: 100%;
        min-width: 0;
    }
}

/* Tablet Small - max-width: 890px */
@media (max-width: 890px) {
    .header-container {
        padding: 0 20px;
    }

    .header-logo-img {
        height: 32px;
    }

    .main-nav ul {
        gap: 15px;
    }

    .header-right {
        gap: 20px;
    }
}

/* Mobile - max-width: 770px */
@media (max-width: 770px) {
    .hamburger {
        display: flex;
        flex-direction: column;
        justify-content: center;
        padding: 0;
    }

    .header-right {
        position: fixed;
        top: 0;
        right: -320px;
        width: 300px;
        height: 100vh;
        background-color: #ffffff;
        z-index: 1050;
        flex-direction: column;
        align-items: flex-start;
        padding: 100px 40px 40px;
        gap: 30px;
        box-shadow: -5px 0 25px rgba(0, 0, 0, 0.15);
        transition: right 0.35s ease;
        overflow-y: auto;
    }

    .header-right.open {
        right: 0;
    }

    .main-nav {
        width: 100%;
    }

    .main-nav ul {
        flex-direction: column;
        gap: 20px;
    }

    .main-nav a {
        font-size: 1.1rem;
    }

    .btn-header {
        width: 100%;
        text-align: center;
    }

    .header-container {
        flex-wrap: nowrap;
        justify-content: space-between;
        align-items: center;
        padding: 0 1.282rem;
    }

    .site-header {
        background-color: var(--bg-light);
        padding: 1.28rem 0;
    }

    .header-logo-img {
        height: 24px;
    }

    .mobile-overlay {
        display: block;
    }

    .timeline-waves {
        display: none;
    }


    h1,
    h2,
    h3,
    h4,
    h5,
    h6 {
        font-weight: 600;
    }

    h1 {
        font-size: 1.875rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    h3 {
        font-size: 1.25rem;
    }

    .hero-section {
        overflow: hidden;
        min-height: 100vh;
    }

    /* ---- Logo Carousel Mobile ---- */
    .logos-carousel {
        padding: 0;
    }

    .logos-track {
        flex-wrap: nowrap;
        justify-content: flex-start;
        gap: 50px;
        margin-bottom: 10px;
        animation: scrollLogos 20s linear infinite;
        width: max-content;
    }

    .logos-track .logo-item[aria-hidden="true"] {
        display: block;
    }

    .logo-item {
        height: 35px;
    }

    .logo-item[data-src="1"] {
        height: 70px;
    }

    .hero-bg-shapes {
        display: none;
    }

    .hero-container {
        justify-content: center;
        align-items: flex-start;
        text-align: left;
        padding: 0 1.5rem;
    }

    .hero-content {
        max-width: 100%;
        margin-top: 0;
        padding: 0;
        position: relative;
        z-index: 3;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

    .hero-content h1 {
        color: #ffffff;
        font-size: 1.875rem;
        line-height: 1.25;
        text-align: left;
        font-weight: 600;
        margin-bottom: 3.75rem;
        margin-top: 2rem;
    }

    .hero-content p {
        color: #ffffff;
        font-size: 1.5rem;
        line-height: 1.2;
        text-align: left;
        font-weight: 300;
    }

    .scroll-down {
        display: flex;
        color: #ffffff;
        align-items: center;
        margin: 0;
        position: absolute;
        bottom: -8rem;
        width: 100%;
    }

    /* Video diventa background assoluto */
    .hero-image-wrapper {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        z-index: 1;
        max-width: none;
    }

    .video-container {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        max-width: none;
    }

    .hero-video {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    /* Nascondi la maschera sagomata */
    .hero-mask-overlay {
        display: none;
    }

    /* Overlay scuro sopra il video per leggibilità testo */
    .hero-image-wrapper::after {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.4);
        z-index: 2;
    }

    /* Mobile fade slider */
    .full-width-banner {
        min-height: 75vh;
    }

    .banner-overlay h2 {
        font-size: 1.875rem;
        text-align: left;
    }


    /* TIMELINE SECTION */
    .timeline-section {
        padding: 3rem 0;
    }

    .container.timeline-container {
        padding: 0 27px;
    }

    #dal-mare .section-title {
        margin-bottom: 3rem;
    }

    .timeline-step {
        margin-bottom: 3rem;
        gap: 3rem;
    }

    .step-content p {
        margin-bottom: 0;
    }

    /* FORM CONTATTI */

    .contact-section {
        padding: 3rem 0;
        background: #aa8f73;
    }

    .contact-form-card {
        padding: 30px;
    }

    .contact-container {
        padding: 0 20px;
    }

    .contact-form-card h2 {
        font-size: 2.2rem;
    }

    .form-actions {
        flex-direction: column;
        align-items: flex-end;
        margin-top: 2rem;
        gap: 2rem;
    }

    /* Footer */

    .site-footer {
        padding: 0;
    }

    .footer-top {
        flex-direction: column;
        padding: 2rem 1.5rem;
        gap: 1.5rem;
        margin-bottom: 0;
    }

    .footer-col.brand-col {
        width: 100%;
    }

    .footer-top .brand-top {
        justify-content: space-between;
    }

    .footer-top .btn.btn-primary-light {
        padding: 0.75rem 1.5rem;
    }

    .footer-logo-img {
        height: 2rem;
    }

    .link-group {
        padding-top: 0;
        padding-bottom: 0;
        margin: 0;
        padding-left: 1rem;
        min-width: min-content;
    }

    .footer-bottom {
        padding: 1.2rem;
    }

    .footer-bottom .container {
        padding: 0;
        gap: 1.2rem;
    }

    .footer-bottom .container .bottom-right {
        width: 100%;
        justify-content: space-between;
    }
}