/* ═══════════════════════════════════════════════════════
   LOGOSPAIDEIA — STILE PRINCIPALE
   Colori: Azzurro rgb(0,130,231) / Rosso rgb(228,9,60) / Bianco
   Font: Syncopate (titoli) + Manrope (corpo) + Montserrat (logo) + Chakra Petch (decoro)
   ═══════════════════════════════════════════════════════ */

/* ── Variabili ── */
:root {
    /* Palette azzurra — rgb(0, 130, 231) */
    --blue-deep:    #005BA3;
    --blue-dark:    #006BBB;
    --blue:         #0082E7;
    --blue-medium:  #339DEB;
    --blue-light:   #66B5F0;
    --blue-pale:    #DBEEFB;
    --blue-ice:     #F0F8FF;

    /* Rosso — rgb(228, 9, 60) */
    --red:          #E4093C;
    --red-dark:     #B80730;
    --red-light:    #F03360;

    --white:        #FFFFFF;
    --off-white:    #F7FAFD;
    --gray-50:      #EFF4F9;
    --gray-100:     #DDE6F0;
    --gray-200:     #B8C8D9;
    --gray-300:     #95A8BC;
    --gray-600:     #5A6E82;
    --gray-800:     #2D3F52;

    /* Tipografia */
    --font-heading: 'Playfair Display', Georgia, serif;
    --font-body:    'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;

    /* Spaziatura */
    --section-py:   7rem;
    --container-px:  1.5rem;
    --container-max: 1200px;

    /* Transizioni */
    --transition:   0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);

    /* Ombre */
    --shadow-sm:    0 2px 8px rgba(0, 130, 231, 0.06);
    --shadow-md:    0 4px 20px rgba(0, 130, 231, 0.08);
    --shadow-lg:    0 8px 40px rgba(0, 130, 231, 0.12);
    --shadow-xl:    0 16px 60px rgba(0, 130, 231, 0.16);
}

/* ── Reset & Base ── */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-body);
    font-weight: 400;
    color: var(--gray-800);
    line-height: 1.7;
    background-color: var(--white);
    overflow-x: hidden;
}

/* Page load animation */
.page-loading { opacity: 0; }
.page-loaded { animation: pageIn 0.5s ease forwards; }
@keyframes pageIn { from { opacity: 0; } to { opacity: 1; } }

/* Prevent scroll when mobile menu open */
body.menu-open { overflow: hidden; }

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

a {
    text-decoration: none;
    color: inherit;
    transition: color var(--transition);
}

ul { list-style: none; }

.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-px);
}

/* ── Utilità ── */
.section-tag {
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--blue);
    margin-bottom: 0.75rem;
}

.section-title {
    font-family: var(--font-heading);
    font-size: clamp(1.6rem, 4vw, 2.6rem);
    font-weight: 700;
    color: var(--blue-dark);
    line-height: 1.25;
    margin-bottom: 1rem;
    letter-spacing: 1px;
}

.section-subtitle {
    font-size: 1.05rem;
    color: var(--gray-600);
    max-width: 600px;
    line-height: 1.7;
}

.section-header {
    text-align: center;
    margin-bottom: 3.5rem;
}

.section-header .section-subtitle {
    margin: 0.5rem auto 0;
}

/* ── Bottoni ── */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.85rem 2rem;
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 600;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: all var(--transition);
    letter-spacing: 0.3px;
}

.btn-primary {
    background: var(--red);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(228, 9, 60, 0.3);
}

.btn-primary:hover {
    background: var(--red-dark);
    box-shadow: 0 6px 25px rgba(228, 9, 60, 0.4);
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: var(--white);
    border: 2px solid rgba(255, 255, 255, 0.5);
}

.btn-outline:hover {
    background: var(--white);
    color: var(--blue-dark);
    border-color: var(--white);
}

.btn-small {
    padding: 0.55rem 1.3rem;
    font-size: 0.85rem;
    background: var(--blue);
    color: var(--white);
    border-radius: 4px;
}

.btn-small:hover {
    background: var(--blue-dark);
    transform: translateY(-1px);
}

.btn-full {
    width: 100%;
    justify-content: center;
}

/* ════════════════════════════════════════════
   WHATSAPP FLOATING BUTTON
   ════════════════════════════════════════════ */
.whatsapp-float {
    position: fixed !important;
    bottom: 2rem !important;
    right: 2rem !important;
    width: 60px;
    height: 60px;
    background: #25D366;
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    z-index: 99999 !important;
    transition: all 0.3s ease;
    text-decoration: none;
    animation: whatsappPulse 2s infinite;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 30px rgba(37, 211, 102, 0.6);
}

.whatsapp-float svg {
    width: 32px;
    height: 32px;
}

@keyframes whatsappPulse {
    0% { box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4); }
    50% { box-shadow: 0 4px 30px rgba(37, 211, 102, 0.7), 0 0 0 12px rgba(37, 211, 102, 0.15); }
    100% { box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4); }
}

/* ════════════════════════════════════════════
   NAVBAR
   ════════════════════════════════════════════ */
.navbar {
    position: sticky;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 1rem 0;
    background: var(--off-white);
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.06);
    transition: transform 0.35s ease;
}

/* Navbar always visible */
.navbar.nav-hidden {
    transform: translateY(0);
}

.nav-container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-px);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    flex-direction: column;
    line-height: 1;
}

.logo-img {
    height: 60px;
    width: auto;
    object-fit: contain;
}



.nav-menu {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-link {
    font-family: var(--font-body);
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--gray-600);
    position: relative;
    padding: 0.3rem 0;
    transition: color var(--transition);
}

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

.nav-link:hover,
.nav-link.active {
    color: var(--blue-dark);
}

.nav-link.active::after,
.nav-link:hover::after {
    width: 100%;
}

/* Hamburger */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.nav-toggle span {
    display: block;
    width: 25px;
    height: 2px;
    background: var(--gray-800);
    transition: all 0.3s ease;
    transform-origin: center;
}

/* ════════════════════════════════════════════
   HERO
   ════════════════════════════════════════════ */
.hero {
    position: relative;
    min-height: 75vh;
    max-height: 800px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-image: url('images/hero1.jpeg');
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    inset: 0;
}

.hero-particles {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.hero-particles::before,
.hero-particles::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    animation: float 20s infinite ease-in-out;
}

.hero-particles::before {
    width: 500px;
    height: 500px;
    top: -200px;
    right: -100px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.08) 0%, transparent 70%);
}

.hero-particles::after {
    width: 400px;
    height: 400px;
    bottom: -150px;
    left: -100px;
    background: radial-gradient(circle, rgba(102, 181, 240, 0.12) 0%, transparent 70%);
    animation-delay: -10s;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    25%      { transform: translate(30px, -30px) scale(1.05); }
    50%      { transform: translate(-20px, 20px) scale(0.95); }
    75%      { transform: translate(10px, -10px) scale(1.02); }
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 750px;
    padding: 2rem var(--container-px);
}

.hero-content-left {
    text-align: left;
    max-width: 50%;
    padding: 2rem;
    position: absolute;
    top: 18%;
    left: 8%;
    z-index: 2;
}

.hero-content-left .hero-title {
    font-size: clamp(1.6rem, 4.3vw, 3.1rem);
}

/* ── Mobile fixes ── */
@media (max-width: 768px) {
    /* Navbar bianca, sempre visibile */
    .navbar {
        background: #ffffff !important;
    }

    .navbar.nav-hidden {
        transform: none !important;
    }

    /* Hero: sfondo solido, no immagine */
    .hero {
        min-height: 100vh;
        max-height: none;
        background-image: none !important;
        background-color: #B6CBE8;
    }

    /* Onda hero mantenuta */
    .hero-wave {
        position: relative;
        bottom: auto;
    }

    .hero-wave svg {
        height: 60px;
    }

    .hero-wave svg path {
        fill: #F7FAFD;
    }

    .hero-content-left {
        position: absolute;
        top: 1%;
        left: 0;
        right: 0;
        bottom: auto;
        transform: none;
        max-width: 100%;
        padding: 1.5rem;
        text-align: center;
    }

    .hero-content-left .hero-title {
        font-size: 1.25rem;
        line-height: 1.5;
        letter-spacing: 0.5px;
        margin-top: 0;
        margin-bottom: 0;
    }

    .hero-tag {
        font-size: 0.65rem;
        letter-spacing: 2px;
        margin-bottom: 0.4rem;
    }

    .hero-highlight {
        display: inline;
    }

    .hero-overlay,
    .hero-particles,
    .hero-scroll {
        display: none;
    }

    /* Nascondi tutte le onde tranne hero e footer */
    .wave-top,
    .wave-bottom,
    .wave-contact-top {
        display: none !important;
    }

    /* Footer mobile */
    .footer {
        margin-top: 0 !important;
        background: #F0F4FA !important;
        background-image: none !important;
    }

    .footer::before {
        display: none !important;
    }

    .wave-footer-entry svg path {
        fill: #F0F4FA;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

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

    /* Fix menu mobile - niente striscia azzurra */
    html, body {
        overflow-x: hidden !important;
    }

    .nav-menu {
        right: -100% !important;
        overflow: hidden;
    }

    .nav-menu.active {
        right: 0 !important;
    }
}

.hero-highlight {
    color: #E4093C;
}

.hero-tag {
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: #2A3249;
    margin-bottom: 0.75rem;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 5.5vw, 3.8rem);
    font-weight: 700;
    color: #2A3249;
    line-height: 1.2;
    margin-bottom: 0.75rem;
    letter-spacing: 2px;
}

.hero-subtitle {
    font-size: 1.05rem;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.7;
    margin-bottom: 1.5rem;
    text-shadow: 0 1px 10px rgba(0, 0, 0, 0.3);
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Scroll indicator */
.hero-scroll {
    position: absolute;
    bottom: 2.5rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.8rem;
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.75rem;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.scroll-line {
    width: 1px;
    height: 50px;
    background: linear-gradient(to bottom, rgba(255,255,255,0.4), transparent);
    animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
    0%, 100% { opacity: 1; transform: scaleY(1); }
    50%      { opacity: 0.3; transform: scaleY(0.6); }
}

/* Wave divider */
.hero-wave {
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    z-index: 3;
    line-height: 0;
}

.hero-wave svg {
    width: 100%;
    height: 150px;
    display: block;
}

/* ════════════════════════════════════════════
   SERVIZI
   ════════════════════════════════════════════ */
.services-strip {
    padding: var(--section-py) 0;
    background: var(--off-white);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.service-card {
    text-align: center;
    padding: 2.5rem 1.5rem;
    border-radius: 12px;
    background: var(--off-white);
    border: 1px solid var(--gray-100);
    transition: all var(--transition);
    opacity: 0;
    transform: translateY(30px);
}

.service-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.service-card:hover {
    border-color: var(--blue-pale);
    box-shadow: var(--shadow-lg);
    transform: translateY(-5px);
}

.service-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 1.5rem;
    color: var(--blue);
}

.service-card h3 {
    font-family: var(--font-body);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--blue-dark);
    margin-bottom: 0.75rem;
}

.service-card p {
    font-size: 0.9rem;
    color: var(--gray-600);
    line-height: 1.6;
}

/* ════════════════════════════════════════════
   CHI SONO
   ════════════════════════════════════════════ */
/* ════════════════════════════════════════════
   ONDE SEPARATORE
   ════════════════════════════════════════════ */
.wave-separator {
    width: 100%;
    line-height: 0;
    position: relative;
    z-index: 1;
}

.wave-separator svg {
    width: 100%;
    height: 140px;
    display: block;
}

.wave-top {
    margin-bottom: -1px;
}

.wave-top svg path {
    fill: #B3C9E8;
}

.wave-bottom {
    margin-top: -1px;
}

.wave-bottom svg path {
    fill: #B3C9E8;
}

.wave-contact-top svg path {
    fill: #B3C9E8;
}

.wave-footer-entry {
    position: relative;
    z-index: 1;
}

.wave-footer-entry svg path {
    fill: #B3C9E8;
}

.about {
    background: #ffffff;
    position: relative;
    overflow: hidden;
    margin-top: -1rem;
}

.about-layout {
    display: flex;
    min-height: 500px;
}

/* Metà sinistra: foto */
.about-image-side {
    flex: 1;
    display: flex;
    align-items: stretch;
    justify-content: center;
    background: #ffffff;
}

.about-image-frame {
    overflow: hidden;
    width: 100%;
    aspect-ratio: auto;
    background: transparent;
    box-shadow: none;
}

.about-image-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Metà destra: testo con sfondo colorato */
.about-text-side {
    flex: 1;
    background: #B3C9E8;
    display: flex;
    align-items: center;
    padding: 3rem 3.5rem;
}

.about-text {
    overflow: hidden;
}

.about-divider {
    width: 60px;
    height: 3px;
    background: var(--blue);
    margin: 0.75rem 0;
}

.about-description {
    font-size: 1rem;
    color: var(--gray-600);
    margin-bottom: 0.65rem;
    line-height: 1.6;
}

.about-list {
    list-style: none;
    padding: 0;
    margin-bottom: 1.2rem;
}

.about-list li {
    font-size: 1rem;
    color: var(--gray-600);
    line-height: 1.7;
    padding: 0.3rem 0 0.3rem 1.4rem;
    position: relative;
}

.about-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.65rem;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--blue);
}

.about-stats {
    display: flex;
    gap: 2.5rem;
    margin: 2rem 0;
    padding: 1.5rem 0;
    border-top: 1px solid var(--gray-100);
    border-bottom: 1px solid var(--gray-100);
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--blue);
    line-height: 1;
}

.stat-label {
    font-size: 0.8rem;
    color: var(--gray-600);
    margin-top: 0.3rem;
    display: block;
}

/* ════════════════════════════════════════════
   RISORSE GRATUITE
   ════════════════════════════════════════════ */
.risorse-preview {
    padding: var(--section-py) 0;
    background: var(--off-white);
}

.risorse-preview-cta {
    text-align: center;
    margin-top: 2.5rem;
}

/* Pagina risorse dedicata */
.risorse-hero {
    padding: 2rem 0;
    text-align: center;
    background: var(--off-white);
}

.risorse-section {
    padding: 3rem 0 var(--section-py);
    background: var(--off-white);
}

.risorse-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.risorse-grid-preview {
    grid-template-columns: repeat(4, 1fr);
}

.risorsa-card {
    display: flex;
    flex-direction: column;
    border-radius: 12px;
    background: var(--off-white);
    border: 1px solid var(--gray-100);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    opacity: 0;
    transform: translateY(30px) scale(0.95);
    overflow: hidden;
    cursor: pointer;
    text-decoration: none;
    color: inherit;
}

.risorsa-card.visible {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.risorsa-card:hover {
    box-shadow: 0 20px 50px rgba(102, 181, 240, 0.2);
    border-color: var(--blue-pale);
    transform: translateY(-10px) scale(1.03);
}

.risorsa-card:active {
    transform: translateY(-4px) scale(0.98);
    transition-duration: 0.1s;
}

.risorsa-preview {
    width: 100%;
    aspect-ratio: 4/3;
    overflow: hidden;
    background: var(--blue-ice);
    display: flex;
    align-items: center;
    justify-content: center;
}

.risorsa-preview img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: var(--off-white);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.risorsa-card:hover .risorsa-preview img {
    transform: scale(1.08);
}

.risorsa-body {
    flex: 1;
    padding: 1.25rem;
}

.risorsa-format {
    display: inline-block;
    font-family: var(--font-body);
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--blue);
    background: var(--blue-pale);
    padding: 0.15rem 0.6rem;
    border-radius: 3px;
    margin-bottom: 0.5rem;
}

.risorsa-title {
    font-family: var(--font-body);
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--blue-dark);
    margin-bottom: 0.4rem;
    line-height: 1.3;
}

.risorsa-desc {
    font-size: 0.88rem;
    color: var(--gray-600);
    line-height: 1.6;
    margin-bottom: 0.75rem;
}

.risorsa-download {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

/* CTA risorse */
.risorse-cta {
    padding: 5rem 0 6rem 0;
    background: #B3C9E8;
}

.risorse-cta-content {
    text-align: center;
    max-width: 550px;
    margin: 0 auto;
}

.risorse-cta-content h2 {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--blue-dark);
    margin-bottom: 0.75rem;
    letter-spacing: 1px;
}

.risorse-cta-content p {
    font-size: 1rem;
    color: var(--gray-600);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

/* ════════════════════════════════════════════
   SHOP
   ════════════════════════════════════════════ */
.shop-hero {
    padding: 2rem 0;
    text-align: center;
    background: var(--off-white);
}

.shop {
    padding: 3rem 0 var(--section-py);
    background: var(--off-white);
}

.shop-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.shop-card {
    border-radius: 12px;
    overflow: hidden;
    background: var(--off-white);
    border: 1px solid var(--gray-100);
    transition: all var(--transition);
    opacity: 0;
    transform: translateY(30px);
}

.shop-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.shop-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-5px);
    border-color: transparent;
}

.shop-card-image {
    position: relative;
    aspect-ratio: 4/3;
    overflow: hidden;
}

.shop-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--blue-pale) 0%, var(--blue-ice) 100%);
    color: var(--blue);
    font-size: 0.9rem;
    font-weight: 500;
}

.shop-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    padding: 0.3rem 0.8rem;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    background: var(--blue);
    color: var(--white);
    border-radius: 3px;
}

.shop-badge.sale {
    background: var(--red);
}

.shop-card-body {
    padding: 1.5rem;
}

.shop-category {
    font-family: var(--font-body);
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--blue);
}

.shop-card-title {
    font-family: var(--font-body);
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--blue-dark);
    margin: 0.5rem 0;
    line-height: 1.3;
}

.shop-card-desc {
    font-size: 0.88rem;
    color: var(--gray-600);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.shop-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 1rem;
    border-top: 1px solid var(--gray-50);
}

.shop-price {
    font-family: var(--font-body);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--blue-dark);
}

.shop-price small {
    font-size: 0.85rem;
    color: var(--gray-300);
    text-decoration: line-through;
    font-weight: 400;
    margin-left: 0.3rem;
}

/* ════════════════════════════════════════════
   CONTATTI
   ════════════════════════════════════════════ */
.contact {
    padding: 3rem 0 6rem 0;
    background: #B3C9E8;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 4rem;
    align-items: start;
}

.contact-description {
    font-size: 1.05rem;
    color: var(--gray-600);
    margin-bottom: 2rem;
    line-height: 1.7;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.contact-icon {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--blue-pale);
    border-radius: 10px;
    color: var(--blue);
    flex-shrink: 0;
}

.contact-icon svg {
    width: 20px;
    height: 20px;
}

.contact-item h4 {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--blue-dark);
    margin-bottom: 0.15rem;
}

.contact-item p {
    font-size: 0.9rem;
    color: var(--gray-600);
    line-height: 1.5;
}

/* Social Links */
.social-links {
    display: flex;
    gap: 0.75rem;
}

.social-link {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: var(--off-white);
    border: 1px solid var(--gray-100);
    color: var(--blue);
    transition: all var(--transition);
}

.social-link:hover {
    background: var(--blue);
    color: var(--white);
    border-color: var(--blue);
    transform: translateY(-2px);
}

.social-link svg {
    width: 20px;
    height: 20px;
}

/* Contact Form */
.contact-form-wrapper {
    background: var(--off-white);
    border-radius: 16px;
    padding: 2.5rem;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--gray-100);
}

.contact-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
}

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

.form-group.full-width {
    grid-column: 1 / -1;
}

.form-group label {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--blue-dark);
    margin-bottom: 0.4rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 0.8rem 1rem;
    font-family: var(--font-body);
    font-size: 0.9rem;
    color: var(--gray-800);
    background: var(--off-white);
    border: 2px solid transparent;
    border-radius: 8px;
    outline: none;
    transition: all var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--blue-light);
    background: var(--white);
    box-shadow: 0 0 0 4px rgba(0, 130, 231, 0.15);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--gray-300);
}

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

.contact-form .btn-full {
    grid-column: 1 / -1;
    margin-top: 0.5rem;
    padding: 1rem;
    font-size: 1rem;
}

/* ════════════════════════════════════════════
   FOOTER
   ════════════════════════════════════════════ */
.footer {
    background: url('images/hero5.PNG') center center / 100% auto no-repeat;
    color: #2A3249;
    padding: 0 0 0;
    margin-top: -80px;
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.8);
    z-index: 0;
}

.footer .container {
    position: relative;
    z-index: 1;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 3rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid rgba(42, 50, 73, 0.15);
    align-items: center;
    justify-items: center;
    text-align: center;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.25rem;
}

.footer-brand p {
    font-size: 0.9rem;
    line-height: 1.7;
}

.logo-img-footer {
    height: 120px;
    width: auto;
    object-fit: contain;
}

.footer-links h4 {
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 700;
    color: #2A3249;
    margin-bottom: 1.2rem;
    text-align: center;
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    align-items: center;
}

.footer-links a {
    font-size: 0.88rem;
    color: rgba(42, 50, 73, 0.7);
    transition: all var(--transition);
}

.footer-links a:hover {
    color: #2A3249;
    padding-left: 5px;
}

.footer-bottom {
    padding: 1.5rem 0;
    text-align: center;
    font-size: 0.85rem;
    color: rgba(42, 50, 73, 0.5);
}

/* ════════════════════════════════════════════
   RESPONSIVE
   ════════════════════════════════════════════ */

/* Tablet */
@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .shop-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .risorse-grid,
    .risorse-grid-preview {
        grid-template-columns: repeat(2, 1fr);
    }

    .risorsa-preview {
        aspect-ratio: 3/2;
    }

    .about-grid {
        gap: 3rem;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }
}

/* Mobile landscape / small tablet */
@media (max-width: 768px) {
    :root {
        --section-py: 4.5rem;
    }

    /* Hamburger visible */
    .nav-toggle {
        display: flex;
    }

    /* Mobile slide-in menu */
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 340px;
        height: 100vh;
        height: 100dvh;
        background: var(--blue-deep);
        flex-direction: column;
        align-items: flex-start;
        padding: 5rem 2rem 2rem;
        gap: 0;
        transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        box-shadow: -10px 0 40px rgba(0, 0, 0, 0.2);
        z-index: 1001;
        overflow-y: auto;
    }

    .nav-menu.active {
        right: 0;
    }

    /* Dark overlay behind menu */
    .nav-overlay {
        display: none;
        position: fixed;
        inset: 0;
        background: rgba(0, 0, 0, 0.5);
        z-index: 1000;
        opacity: 0;
        transition: opacity 0.3s ease;
    }

    body.menu-open .nav-overlay {
        display: block;
        opacity: 1;
    }

    .nav-menu li {
        width: 100%;
        opacity: 0;
        transform: translateX(20px);
        transition: opacity 0.3s ease, transform 0.3s ease;
    }

    .nav-menu.active li {
        opacity: 1;
        transform: translateX(0);
    }

    .nav-menu.active li:nth-child(1) { transition-delay: 0.1s; }
    .nav-menu.active li:nth-child(2) { transition-delay: 0.15s; }
    .nav-menu.active li:nth-child(3) { transition-delay: 0.2s; }
    .nav-menu.active li:nth-child(4) { transition-delay: 0.25s; }
    .nav-menu.active li:nth-child(5) { transition-delay: 0.3s; }

    .nav-link {
        display: block;
        padding: 1rem 0;
        font-size: 1.05rem;
        color: rgba(255, 255, 255, 0.85);
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    }

    .nav-link::after { display: none; }

    .nav-link:hover,
    .nav-link.active {
        color: var(--white);
    }

    /* Hamburger → X animation */
    .nav-toggle {
        z-index: 1002;
    }

    .nav-toggle span {
        transition: all 0.3s ease;
        transform-origin: center;
    }

    .nav-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
        background: var(--white);
    }

    .nav-toggle.active span:nth-child(2) {
        opacity: 0;
        transform: scaleX(0);
    }

    .nav-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
        background: var(--white);
    }

    /* Sections */
    .about-layout {
        flex-direction: column;
    }

    .about-image-side,
    .about-text-side {
        flex: none;
        width: 100%;
    }

    .about-image-side {
        padding: 2rem;
    }

    .about-text-side {
        padding: 2rem;
    }

    .about-stats {
        gap: 1.5rem;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .contact-form {
        grid-template-columns: 1fr;
    }

    .contact-form .full-width {
        grid-column: 1;
    }

    .risorse-grid,
    .risorse-grid-preview {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .shop-hero,
    .risorse-hero {
        padding: 1.5rem 0;
    }

    .hero {
        min-height: 40vh;
    }
}

/* Mobile */
@media (max-width: 480px) {
    .hero-title {
        font-size: 1.6rem;
        letter-spacing: 1px;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .hero-buttons .btn {
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .shop-grid {
        grid-template-columns: 1fr;
    }

    .about-stats {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }

    .stat {
        width: 100%;
        padding: 1rem 0;
    }

    .stat + .stat {
        border-top: 1px solid var(--gray-100);
    }

    .risorsa-card {
        flex-direction: column;
        align-items: flex-start;
    }

    .logo-img {
        height: 40px;
    }

    .logo-img-footer {
        height: 35px;
    }
}
