/*
Theme Name: CitConsult Corporate
Theme URI: https://citconsult.it
Author: Antigravity
Description: Custom corporate theme for CitConsult
Version: 1.0
*/

:root {
    /* Colori Corporate CitConsult */
    --brand-cyan: #00AEEF;
    --brand-orange: #F39200;
    --brand-green: #8DC63F;
    --brand-dark: #212121;
    --brand-light: #ffffff;
    --brand-navy: #023E73;
    --brand-gray: #f5f5f5;
    --text-dark: #333333;
    --text-muted: #666666;
    --border-color: #e0e0e0;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Lato', sans-serif;
    background-color: var(--brand-light);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

main {
    padding-top: 0;
}

/* Fix for Admin Bar overlapping fixed header */
body.admin-bar .site-header {
    top: 32px;
}

@media screen and (max-width: 782px) {
    body.admin-bar .site-header {
        top: 46px; /* Admin bar is taller on mobile */
    }
}

h1, h2, h3, h4 {
    font-family: 'Montserrat', sans-serif;
    color: var(--brand-dark);
    font-weight: 600;
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

/* Utils */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 5%;
}

.text-cyan { color: var(--brand-cyan); }
.text-orange { color: var(--brand-orange); }
.text-green { color: var(--brand-green); }

/* Navbar */
.site-header {
    width: 100%;
    background: #ffffff;
    border-bottom: 1px solid var(--border-color);
    transition: all 0.3s ease;
    position: sticky;
    top: 0;
    z-index: 9999;
    margin-top: 0;
}


.top-bar {
    background-color: #00AEEF;
    color: #ffffff;
    padding: 0.4rem 0;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    font-size: 0.75rem;
    font-family: 'Lato', sans-serif;
    letter-spacing: 0.5px;
}

.top-bar span {
    margin-left: 1.5rem;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.top-bar a {
    color: #ffffff;
    font-weight: 600;
}

.top-bar a:hover {
    opacity: 0.8;
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    line-height: 1;
}

.logo-dots {
    display: flex;
    gap: 4px;
    margin-bottom: 4px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.site-main {
    padding-top: 3rem;
    padding-bottom: 3rem;
}

.site-main.no-hero-padding {
    padding-top: 0 !important;
}

.content-area.no-hero-padding {
    padding-top: 0 !important;
}

/* Remove margin from the first block if it is alignfull (like a video or image) */
.no-hero-padding .entry-content > *:first-child,
.no-hero-padding .entry-content > .wp-block-video:first-child,
.no-hero-padding .entry-content > .wp-block-image:first-child {
    margin-top: 0 !important;
}

body .skiptranslate {
    display: none !important;
}
html {
    /* If GTranslate was injecting space, remove it */
    top: 0 !important;
}
.dot-1 { background-color: var(--brand-cyan); }
.dot-2 { background-color: var(--brand-orange); }
.dot-3 { background-color: var(--brand-green); }

.logo-text {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.8rem;
    font-weight: 400;
    color: var(--brand-dark);
    letter-spacing: -1px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.logo-text span {
    font-weight: 600;
    font-size: 1.2rem;
    letter-spacing: 0;
    margin-top: -5px;
}

nav > ul {
    display: flex;
    list-style: none;
    gap: 1.5rem;
}

nav ul li {
    position: relative;
}

nav ul li a {
    font-size: 0.85rem;
    font-weight: 600;
    font-family: 'Montserrat', sans-serif;
    color: var(--brand-dark);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
    padding: 0.5rem 0;
    display: block;
    white-space: nowrap;
}

nav > ul > li > a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var(--brand-cyan);
    transition: width 0.3s ease;
}

nav > ul > li > a:hover::after {
    width: 100%;
}

/* Mobile Menu Toggle Button */
.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 24px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 10001;
}

.menu-toggle span {
    width: 30px;
    height: 3px;
    background-color: var(--brand-dark);
    border-radius: 10px;
    transition: all 0.3s linear;
    position: relative;
    transform-origin: 1px;
}

.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: rotate(-45deg); }

/* Mobile Navigation Overlay */
@media (max-width: 900px) {
    .menu-toggle {
        display: flex;
    }

    .main-navigation {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 350px;
        height: 100vh;
        background: white;
        box-shadow: -10px 0 30px rgba(0,0,0,0.1);
        z-index: 10000;
        transition: all 0.4s ease;
        padding-top: 100px;
        display: block !important;
    }

    .main-navigation.toggled {
        right: 0;
    }

    .main-navigation ul {
        flex-direction: column;
        gap: 0;
        padding: 0 2rem;
    }

    .main-navigation ul li {
        width: 100%;
        border-bottom: 1px solid #f0f0f0;
    }

    .main-navigation ul li a {
        padding: 1.2rem 0;
        font-size: 1.1rem;
    }

    /* Submenus on mobile */
    .main-navigation ul li ul {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        background: #f9f9f9;
        margin-left: -2rem;
        margin-right: -2rem;
        padding-left: 3rem;
        border-top: none;
        display: none; /* Can be toggled with JS if needed, but keeping simple for now */
    }
    
    .main-navigation ul li:hover ul {
        display: block;
    }

    body.menu-open {
        overflow: hidden;
    }

    body.menu-open::before {
        content: '';
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0,0,0,0.5);
        z-index: 9999;
    }
}

/* Dropdown CSS */
nav ul li ul {
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    min-width: 220px;
    list-style: none;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    border-top: 2px solid var(--brand-cyan);
    border-radius: 0 0 4px 4px;
}

nav ul li:hover > ul {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

nav ul li ul li a {
    padding: 0.8rem 1.2rem;
    text-transform: none;
    font-family: 'Lato', sans-serif;
    font-size: 0.9rem;
    font-weight: 400;
    border-bottom: 1px solid #f0f0f0;
}

nav ul li ul li a:hover {
    background-color: var(--brand-gray);
    color: var(--brand-cyan);
    padding-left: 1.5rem;
}

.alpesoft-special-template .cta-btn {
    padding: 0.8rem 1.8rem;
    background-color: var(--brand-dark);
    color: white;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1px;
    border: 1px solid var(--brand-dark);
    transition: all 0.3s ease;
}

.alpesoft-special-template .cta-btn:hover {
    background-color: white;
    color: var(--brand-dark);
}

/* Hero Section */
.hero {
    padding-top: 180px;
    padding-bottom: 100px;
    background: linear-gradient(135deg, rgba(0,0,0,0.6) 0%, rgba(0,0,0,0.3) 100%), url('http://aggiornamento.cit-consult.it/wp-content/uploads/2026/03/headter-citconsult-2019.jpg') no-repeat center center;
    background-size: cover;
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

#particles-js {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-content {
    max-width: 900px;
    position: relative;
    z-index: 10;
    text-align: center;
    margin: 0 auto;
}

.hero h1 {
    font-size: 4.5rem;
    font-weight: 900;
    margin-bottom: 1.5rem;
    color: #ffffff;
    text-transform: uppercase;
}

.hero p {
    font-size: 1.4rem;
    color: #e0e0e0;
    margin-bottom: 2.5rem;
    max-width: 800px;
    font-weight: 400;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
}

.btn-outline {
    padding: 1rem 2.5rem;
    background-color: transparent;
    color: #ffffff;
    border: 2px solid #ffffff;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.btn-outline:hover {
    background-color: #ffffff;
    color: var(--brand-dark);
}

/* Departments Section */
.departments {
    padding: 5rem 0;
    border-top: 1px solid var(--border-color);
    background: white;
}

.dep-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
}

/* Trust Section */
.trust {
    padding: 8rem 0;
    background: var(--brand-gray);
    text-align: center;
}

.trust h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    font-weight: 300;
}

.stats-grid {
    margin-top: 4rem;
    display: flex;
    justify-content: center;
    align-items: stretch;
    gap: 3rem;
    flex-wrap: wrap;
}

.stat-item {
    flex: 1;
    min-width: 250px;
    max-width: 350px;
    padding: 3rem 2rem;
    background: #ffffff;
    border-bottom: 5px solid var(--brand-cyan);
    box-shadow: 0 15px 35px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.stat-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px rgba(0,0,0,0.08);
}

.stat-item h3 {
    font-size: 4rem;
    font-weight: 900;
    color: var(--brand-dark);
    margin-bottom: 0.5rem;
    line-height: 1;
}

.stat-item p {
    font-family: 'Montserrat', sans-serif;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 600;
}

/* Homepage Evolution: Blog & Solutions Grid Styles */
.homepage-posts, .homepage-solutions {
    padding: 8rem 0;
    background: #ffffff;
    text-align: center;
}

.homepage-solutions {
    background: var(--brand-gray);
    border-top: 1px solid var(--border-color);
}

.section-title {
    font-size: 2.8rem;
    font-weight: 300;
    margin-bottom: 1rem;
}

.section-subtitle {
    color: var(--text-muted);
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto 4rem;
}

.blog-grid, .vertical-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
}

.blog-card {
    background: #fff;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    text-align: left;
}

.blog-card:hover { transform: translateY(-8px); box-shadow: 0 20px 45px rgba(0,0,0,0.1); }

.blog-card-img { height: 220px; background-size: cover; background-position: center; }

.blog-card-content { padding: 2rem; }

.blog-card-content .category-label { 
    display: inline-block; font-size: 0.7rem; font-weight: 800; text-transform: uppercase; 
    color: var(--brand-cyan); letter-spacing: 1px; margin-bottom: 10px;
}

.blog-card-content h4 { font-size: 1.35rem; line-height: 1.3; margin-bottom: 15px; }

.vertical-card {
    background: var(--brand-navy);
    padding: 3.5rem 2rem;
    color: #fff;
    transition: all 0.4s ease;
    border-bottom: 0 solid var(--brand-cyan);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.vertical-card:hover { background: var(--brand-dark); border-bottom-width: 6px; padding-bottom: 3.1rem; }

.vertical-card i { font-size: 3rem; color: var(--brand-cyan); margin-bottom: 1.5rem; }

.vertical-card h4 { font-family: 'Montserrat', sans-serif; font-size: 1.1rem; letter-spacing: 1px; text-transform: uppercase; }

@media (max-width: 991px) {
    .blog-grid, .vertical-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 767px) {
    .blog-grid, .vertical-grid, .stats-grid { grid-template-columns: 1fr; flex-direction: column; align-items: center; }
}

.dep-card {
    padding: 2.5rem;
    background: var(--brand-gray);
    border-top: 4px solid transparent;
    transition: all 0.4s ease;
}

.dep-card:hover {
    transform: translateY(-5px);
    background: white;
    box-shadow: 0 15px 30px rgba(0,0,0,0.05);
}

.dep-1 { border-top-color: var(--brand-green); }
.dep-2 { border-top-color: var(--brand-orange); }
.dep-3 { border-top-color: var(--brand-cyan); }

.dep-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.dep-icon {
    width: 15px;
    height: 15px;
    border-radius: 50%;
    display: inline-block;
}

.icon-1 { background-color: var(--brand-green); }
.icon-2 { background-color: var(--brand-orange); }
.icon-3 { background-color: var(--brand-cyan); }

.dep-card p {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    font-size: 1rem;
}

.dep-link {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    color: var(--brand-dark);
    display: flex;
    align-items: center;
    gap: 5px;
}

.dep-1 .dep-link:hover { color: var(--brand-green); }
.dep-2 .dep-link:hover { color: var(--brand-orange); }
.dep-3 .dep-link:hover { color: var(--brand-cyan); }

/* Ecosystem Integration Section */
.ecosystem {
    padding: 6rem 0;
    background: linear-gradient(180deg, white 0%, var(--brand-gray) 100%);
    text-align: center;
}

.ecosystem h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    font-weight: 300;
}

.eco-graphic {
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 900px;
    margin: 4rem auto 2rem;
    position: relative;
}

.eco-circle {
    width: 220px;
    height: 220px;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 1.2rem;
    color: #ffffff;
    box-shadow: 0 10px 40px rgba(0,0,0,0.15);
    position: relative;
    z-index: 2;
    transition: transform 0.3s ease;
    mix-blend-mode: multiply;
}

.eco-circle:hover { transform: translateY(-5px); }

.eco-tech { background-color: rgba(141, 198, 63, 0.9); transform: translateX(30px); }
.eco-img  { background-color: rgba(243, 146, 0, 0.95); z-index: 3; margin-top: -40px; }
.eco-com  { background-color: rgba(0, 174, 239, 0.9); transform: translateX(-30px); }

.eco-circle span {
    font-size: 2.2rem;
    margin-bottom: 8px;
}

.eco-core {
    position: absolute;
    background: rgba(255,255,255,0.95);
    padding: 1rem 2.5rem;
    border-radius: 50px;
    color: var(--brand-dark);
    font-weight: 800;
    font-family: 'Montserrat', sans-serif;
    font-size: 1.1rem;
    z-index: 10;
    bottom: -20px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    text-transform: uppercase;
}

@media (max-width: 768px) {
    .eco-graphic { flex-direction: column; gap: 1rem; margin-top: 2rem; }
    .eco-tech, .eco-com { transform: none; margin: 0; }
    .eco-img { margin-top: 0; }
    .eco-circle { mix-blend-mode: normal; width: 180px; height: 180px; }
}

/* Alpesoft Section - Corporate Identity Alpesoft (Blu #023E73) */
.alpesoft {
    padding: 8rem 0;
    background: #023E73;
    color: white;
    position: relative;
}

.alpesoft::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,%3Csvg width="60" height="60" viewBox="0 0 60 60" xmlns="http://www.w3.org/2000/svg"%3E%3Cg fill="none" fill-rule="evenodd"%3E%3Cg fill="%23ffffff" fill-opacity="0.03"%3E%3Cpath d="M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z"/%3E%3C/g%3E%3C/g%3E%3C/svg%3E');
    opacity: 0.5;
}

.alpesoft-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
    position: relative;
    z-index: 10;
}

.alpesoft-content h2 {
    color: white;
    font-size: 3rem;
    margin-bottom: 1.5rem;
    font-weight: 300;
}

.alpesoft-content h2 strong {
    font-weight: 700;
    color: #00AEEF; /* Richiamo leggero a CitConsult o Usa il ciano di default per staccare */
}

.alpesoft-content p {
    font-size: 1.15rem;
    color: rgba(255,255,255,0.8);
    margin-bottom: 2rem;
    font-weight: 300;
}

.alpesoft-card {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    padding: 3rem;
    backdrop-filter: blur(10px);
    border-top: 4px solid #F39200; /* Accento Arancio brillante */
}

.alpesoft-card h3 {
    color: white;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    border-left: none;
    padding-left: 0;
}

.alpesoft-list {
    list-style: none;
}

.alpesoft-list li {
    margin-bottom: 1rem;
    padding-left: 1.5rem;
    position: relative;
    color: rgba(255,255,255,0.9);
}

.alpesoft-list li::before {
    content: '\2192';
    position: absolute;
    left: 0;
    color: #00AEEF;
}

/* Trust Section */
.trust {
    padding: 6rem 0;
    background: var(--brand-gray);
    text-align: center;
}

.trust h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    font-weight: 300;
}

.stats-grid {
    margin-top: 4rem;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.stat-item h3 {
    font-size: 4rem;
    font-weight: 300;
    color: var(--brand-dark);
    margin-bottom: 0.5rem;
}

.stat-item p {
    font-family: 'Montserrat', sans-serif;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
    color: var(--text-muted);
    font-weight: 600;
}

/* Final CTA */
.final-cta {
    padding: 8rem 0;
    text-align: center;
    background: white;
}

.final-cta h2 {
    font-size: 2.8rem;
    margin-bottom: 1.5rem;
    font-weight: 300;
}

.final-cta p {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Footer */
footer {
    background: #111111;
    padding: 5rem 0 2rem;
    color: white;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-logo-text {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.5rem;
    font-weight: 400;
    color: white;
    letter-spacing: -1px;
    margin-bottom: 1.5rem;
    display: inline-block;
}

.footer-logo-text span {
    font-weight: 700;
}

.footer-col p {
    color: rgba(255,255,255,0.5);
    font-size: 0.95rem;
}

.footer-col h4 {
    color: white;
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 0.8rem;
}

.footer-col ul li a {
    color: rgba(255,255,255,0.6);
    font-size: 0.95rem;
}

.footer-col ul li a:hover {
    color: white;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.4);
    font-size: 0.85rem;
}

@media (max-width: 900px) {
    .header-container { padding: 0.5rem 5%; }
    .logo-text { font-size: 1.4rem; }
    .hero h1 { font-size: 3rem; }
    .dep-grid, .alpesoft-container, .stats-grid, .footer-grid {
        grid-template-columns: 1fr;
    }
    .hero { padding-top: 120px; }
}

/* --- Global Content Styling Across All 170+ Pages --- */
.page-content {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--text-gray);
}

.page-content h2, .page-content h3, .page-content h4 {
    color: var(--brand-blue);
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.page-content p {
    margin-bottom: 1.5rem;
}

.page-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    margin: 2rem 0;
}

.page-content ul {
    margin-bottom: 1.5rem;
    list-style: none;
    padding-left: 0;
}

.page-content li {
    margin-bottom: 0.5rem;
    position: relative;
    padding-left: 1.5rem;
}

.page-content li::before { content: '\2192'; display: inline-block; width: 8px; height: 8px; background-color: var(--brand-orange); border-radius: 50%; position: absolute; left: 0; top: 11px; }

/* Joomla SP Page Builder column overrides for text pages */
.page-content .sppb-row-container { max-width: 100% !important; display: flex; flex-wrap: wrap; gap: 30px; }
.page-content .sppb-col-sm-6 { flex: 1 1 45%; }
@media (max-width: 768px) { .page-content .sppb-col-sm-6 { flex: 1 1 100%; } }


/* Blog & Archive Grid Styles (V2) */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 40px;
    padding: 3rem 0;
}

.post-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
    border: 1px solid #eff0f2;
}

.post-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
}

.post-thumb {
    height: 220px;
    overflow: hidden;
    background: #f8f9fa;
}

.post-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.post-card:hover { transform: translateY(-10px); }

.post-content {
    padding: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.post-date {
    font-size: 0.8rem;
    color: #F39200;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
}

.post-content h2 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.post-excerpt {
    font-size: 0.95rem;
    color: #666;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.read-more {
    margin-top: auto;
    color: #00AEEF;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
}


/* Inner Page Premiumization - SCOPED TO ALPESOFT ONLY */
.alpesoft-special-template .inner-page-hero {
    padding: 12rem 0 6rem;
    background: linear-gradient(135deg, #023E73 0%, #00AEEF 100%);
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
    margin-bottom: 0;
}

.alpesoft-special-template .inner-page-hero::before {
    content: '\2192';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,%3Csvg width="60" height="60" viewBox="0 0 60 60" xmlns="http://www.w3.org/2000/svg"%3E%3Cg fill="none" fill-rule="evenodd"%3E%3Cg fill="%23ffffff" fill-opacity="0.05"%3E%3Cpath d="M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z"/%3E%3C/g%3E%3C/g%3E%3C/svg%3E');
    opacity: 0.3;
}

.alpesoft-special-template .inner-page-hero .container {
    position: relative;
    z-index: 10;
}

.alpesoft-special-template .inner-page-hero h1 {
    font-size: 3.5rem;
    color: white !important;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: -1px;
    margin: 0;
}

.alpesoft-special-template .inner-page-hero .breadcrumb {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1rem;
    color: rgba(255, 255, 255, 0.7);
    display: block;
}

/* Content Area Refinement */
.content-area {
    padding-top: 4rem;
    padding-bottom: 6rem;
}

/* 
   GUTENBERG FULL-WIDTH / WIDE BLEED UTILS 
   Permettono alle immagini e ai video di uscire dal contenitore e toccare i bordi dello schermo.
*/
/* Global Call to Action Buttons */
/* Scoped Call to Action Buttons for Alpesoft */
.alpesoft-special-template .cta-btn {
    display: inline-block;
    background-color: #00AEEF;
    color: #ffffff !important;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-weight: 700;
    text-transform: uppercase;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 174, 239, 0.3);
}

.alpesoft-special-template .cta-btn:hover {
    background-color: #0089bc;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 174, 239, 0.4);
    color: #ffffff !important;
}

.alignfull {
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    width: 100vw;
    max-width: 100vw;
    position: relative;
    margin-top: 3rem;
    margin-bottom: 3rem;
}

.alignwide {
    margin-left: -10vw;
    margin-right: -10vw;
    width: calc(100% + 20vw);
    max-width: 100vw;
    position: relative;
    margin-top: 3rem;
    margin-bottom: 3rem;
}

/* Se il primo elemento Ã¨ a tutta larghezza (video/immagine), incollalo al blu superiore (Solo Alpesoft) */
.alpesoft-special-template .entry-content > .alignfull:first-child,
.alpesoft-special-template .entry-content > *:first-child.alignfull {
    margin-top: -4rem !important;
}

/* Responsive Videos */
.wp-block-video video, 
.wp-block-embed iframe {
    width: 100%;
    height: auto;
    display: block;
    aspect-ratio: 16 / 9;
}

.entry-content {
    font-size: 1.15rem;
    color: #444;
    max-width: 900px;
    margin: 0 auto;
}

.entry-content p {
    margin-bottom: 2rem;
}

.entry-content h2 {
    font-size: 2.2rem;
    margin: 3.5rem 0 1.5rem;
    border-left: 5px solid var(--brand-cyan);
    padding-left: 1.5rem;
}

.entry-content h3 {
    font-size: 1.6rem;
    margin: 2.5rem 0 1rem;
}

.entry-content ul, .entry-content ol {
    margin-bottom: 2rem;
    padding-left: 2rem;
}

.entry-content li {
    margin-bottom: 0.8rem;
}

/* Post Meta (for single.php) */
.post-meta {
    margin-top: 1rem;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.8);
    font-family: 'Lato', sans-serif;
}


/* ==========================================================================
   Blog & Archive Grid
   ========================================================================== */

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 3rem;
    margin-top: 2rem;
}

.blog-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: all 0.4s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
    border: 1px solid #eee;
}

.blog-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.post-thumbnail {
    height: 240px;
    overflow: hidden;
}

.post-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.blog-card:hover .post-thumbnail img {
    transform: scale(1.02);
}

.post-content {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.post-date {
    font-size: 0.85rem;
    color: var(--brand-orange);
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
    display: block;
}

.post-content h2 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.post-content h2 a:hover {
    color: var(--brand-cyan);
}

.post-content p {
    font-size: 1rem;
    color: #666;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.read-more {
    margin-top: auto;
    color: var(--brand-cyan);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1px;
    display: inline-flex;
    align-items: center;
}

@media (max-width: 900px) {
    .blog-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
        gap: 2rem;
    }
}

@media (max-width: 600px) {
    .blog-grid {
        grid-template-columns: 1fr;
    }
}
/* ==========================================================================
   ALPESOFT BRAND IDENTITY (High-Tech & Innovation)
   ========================================================================== */

:root {
    --alpesoft-green: #8DC63F;
    --alpesoft-glow: rgba(141, 198, 63, 0.4);
    --alpesoft-dark: #0053AC;
}

/* Background Pattern: Digital Network */
.alpesoft-network-bg {
    background-color: var(--alpesoft-dark) !important;
    background-image: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 35c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm60-17c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM88 45c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM8 48c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm54 36c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm-4-48c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM69 35c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM91 69c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM64 39c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM40 52c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM73 87c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM9 74c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM31 13c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM7 36c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM62 20c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zm34 23c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM3 61c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zm86 16c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM33 7c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM56 1c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zm30 96c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM9 52c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zm81-9c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM9 10c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zm76 5c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM44 71c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zm-2-9c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zm-8-9c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zm-9-9c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zm-9-9c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zm10-10c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zm10-10c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zm18 10c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zm10 10c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zm15 11c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zm12 13c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zm10 10c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zm15 11c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zm10 10c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z' fill='%23ffffff' fill-opacity='0.03' fill-rule='evenodd'/%3E%3C/svg%3E") !important;
    background-attachment: fixed !important;
}

/* Remove white gap for Alpesoft page only */
.alpesoft-special-template .site-main,
.alpesoft-special-template .entry-content,
.alpesoft-special-template article {
    margin-top: 0 !important;
    padding-top: 0 !important;
}



/* Glassmorphism Feature Card with Flip Effect */
.alpesoft-card-container {
    perspective: 1000px;
    height: 280px;
}

.alpesoft-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    transition: transform 0.6s;
    transform-style: preserve-3d;
    cursor: pointer;
}

.alpesoft-card-container:hover .alpesoft-card-inner,
.alpesoft-card-container.active .alpesoft-card-inner {
    transform: rotateY(180deg);
}

.alpesoft-card-front, .alpesoft-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    border-radius: 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(141, 198, 63, 0.2);
}

.alpesoft-card-back {
    background: rgba(141, 198, 63, 0.15);
    transform: rotateY(180deg);
    color: white;
    font-size: 0.95rem;
    line-height: 1.5;
}

.alpesoft-card-front h3 {
    color: white !important;
    font-size: 1.1rem !important;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin: 15px 0 0 !important;
    font-weight: 700;
}

.alpesoft-icon-box {
    font-size: 3rem;
    margin-bottom: 15px;
}

/* Alpesoft Glow Text */
.alpesoft-glow-text {
    color: var(--alpesoft-green) !important;
    text-shadow: 0 0 15px var(--alpesoft-glow);
}

/* Alpesoft Video Background Hero */
.alpesoft-hero-wrapper {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 600px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--alpesoft-dark);
}

.alpesoft-video-container {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100vw;
    height: 100vh;
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 1;
}

@media (min-aspect-ratio: 16/9) {
    .alpesoft-video-container iframe {
        width: 100vw;
        height: 56.25vw; /* 16:9 */
    }
}

@media (max-aspect-ratio: 16/9) {
    .alpesoft-video-container iframe {
        width: 177.78vh; /* 16:9 */
        height: 100vh;
    }
}

.alpesoft-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(0,26,51,0.4) 0%, rgba(0,26,51,0.8) 100%);
    z-index: 2;
}

.alpesoft-hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    padding: 0 5%;
    background: rgba(0,0,0,0.2);
    backdrop-filter: blur(2px);
    padding: 40px;
    border-radius: 20px;
}

.alpesoft-hero-title {
    font-size: clamp(3rem, 10vw, 6rem) !important;
    font-weight: 900 !important;
    color: white !important;
    margin-bottom: 1rem !important;
    text-shadow: 2px 2px 20px rgba(0,0,0,0.8);
}

/* Feature Grid Optimization */
.alpesoft-feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    padding: 2rem 0;
}

@media (max-width: 991px) {
    .alpesoft-feature-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .alpesoft-feature-grid {
        grid-template-columns: 1fr;
    }
}

.alpesoft-icon-box {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--alpesoft-green);
    display: block;
}
.alpesoft-special-template .alpesoft-container,
.alpesoft-special-template .alpesoft-content-boxed {
    padding-left: 0 !important;
    padding-right: 0 !important;
    max-width: 1200px !important;
    margin: 0 auto !important;
}

.alpesoft-special-template .alpesoft-video-container iframe {
    width: 100%;
    height: 100%;
    transform: scale(1.5); /* Ensure no black bars */
    pointer-events: none;
}

.alpesoft-special-template .alpesoft-hero-wrapper {
    margin-top: 0;
    position: relative;
    overflow: hidden;
}

/* =========================================================================
   E-SOLUTIONS SPECIAL TEMPLATE (Corporate Cyan Accent)
   ========================================================================= */
.esolutions-special-template {
    position: relative;
    background-color: #f7f9fb;
}

.esolutions-hero-wrapper {
    position: relative;
    width: 100%;
    height: 60vh;
    min-height: 400px;
    overflow: hidden;
    display: flex;
    align-items: center;
    background-color: #111;
}

.esolutions-video-container {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    z-index: 1;
    overflow: hidden;
}

.esolutions-hero-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(135deg, rgba(0,25,50,0.85) 0%, rgba(0,174,239,0.3) 100%);
    z-index: 2;
}

.esolutions-hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    width: 100%;
    padding: 0 5%;
}

.esolutions-hero-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 5rem;
    font-weight: 900;
    color: #ffffff;
    letter-spacing: 2px;
    margin-bottom: 20px;
    text-transform: uppercase;
    text-shadow: 0 4px 20px rgba(0,0,0,0.5);
}

.esolutions-mission-box {
    background: white;
    border-top: 5px solid #00AEEF;
    box-shadow: 0 15px 40px rgba(0,0,0,0.08);
    padding: 4rem;
    margin: -80px auto 4rem;
    position: relative;
    z-index: 10;
    max-width: 1200px;
    box-sizing: border-box;
}

.esolutions-mission-header h3 {
    font-family: 'Montserrat', sans-serif;
    color: #00AEEF;
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
}

.esolutions-mission-body p {
    font-family: 'Lato', sans-serif;
    font-size: 1.15rem;
    color: #555;
    line-height: 1.8;
    margin-bottom: 1.2rem;
}

.esolutions-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 5rem;
    max-width: 1200px;
    margin: 0 auto 5rem;
}

.esolutions-card-container {
    perspective: 1000px;
    height: 300px;
}

.esolutions-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    transition: transform 0.8s;
    transform-style: preserve-3d;
}

.esolutions-card-container:hover .esolutions-card-inner {
    transform: rotateY(180deg);
}

.esolutions-card-front, .esolutions-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    padding: 2.5rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    border-radius: 8px;
}

.esolutions-card-front {
    background-color: #ffffff;
    border-bottom: 4px solid #00AEEF;
}

.esolutions-card-back {
    background-color: #023E73;
    color: white;
    transform: rotateY(180deg);
    border-bottom: 4px solid #00AEEF;
}

.esolutions-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: #00AEEF;
}

.esolutions-card-front h4 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.3rem;
    color: #212121;
    margin: 0;
}

.esolutions-card-back p {
    font-family: 'Lato', sans-serif;
    font-size: 1rem;
    line-height: 1.6;
    margin: 0;
    color: rgba(255,255,255,0.9);
}

.esolutions-cta-btn {
    display: inline-block;
    padding: 1.2rem 3rem;
    background-color: #00AEEF;
    color: white;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 1.1rem;
    text-transform: uppercase;
    border-radius: 4px;
    transition: all 0.3s ease;
    box-shadow: 0 10px 20px rgba(0,174,239,0.3);
}

.esolutions-cta-btn:hover {
    background-color: #023E73;
    color: white;
    transform: translateY(-3px);
}

@media (max-width: 900px) {
    .esolutions-grid { grid-template-columns: 1fr; }
    .esolutions-hero-title { font-size: 3rem; }
    .esolutions-mission-box { padding: 2rem; margin-top: 0; }
}

/* ==========================================================================
   TESTIMONIALS SPECIAL TEMPLATE
   ========================================================================== */
.testimonials-special-template {
    background-color: #f8fbfd;
    font-family: 'Montserrat', sans-serif;
    color: #333;
}

.testimonials-hero-wrapper {
    height: 400px;
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url('/testimonials_hero_bg.png') no-repeat center center;
    background-size: cover;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    overflow: hidden;
}

.testimonials-hero-content {
    position: relative;
    z-index: 2;
    padding: 0 20px;
}

.testimonials-hero-title {
    font-size: 4rem;
    font-weight: 900;
    margin: 0;
    letter-spacing: 6px;
    text-transform: uppercase;
    background: linear-gradient(180deg, #fff 0%, #d0e8ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 10px 20px rgba(0,0,0,0.3);
}

.testimonials-hero-subtitle {
    font-size: 1.15rem;
    opacity: 1;
    margin-top: 15px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    color: #fff;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
    line-height: 1.6;
}

.testimonials-main-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px 80px;
}

.testimonials-breadcrumb {
    padding: 20px 0;
    font-size: 0.8rem;
    color: #999;
    letter-spacing: 1px;
}

/* Testimonial Cards Grid */
.testimonials-grid-section {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 10px;
}

.testimonial-card {
    background: white;
    border-radius: 12px;
    padding: 25px 20px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.03);
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    border: 1px solid #f0f4f8;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.1);
}

.testimonial-card .quote-icon {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 2.5rem;
    color: rgba(0, 174, 239, 0.1);
    font-family: serif;
    line-height: 1;
}

.testimonial-text {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #444;
    font-style: italic;
    margin-bottom: 20px;
    flex-grow: 1;
}

.testimonial-author-box {
    display: flex;
    align-items: center;
    gap: 15px;
    border-top: 1px solid #eee;
    padding-top: 20px;
}

.testimonial-author-box img,
.testimonial-author-box .placeholder-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #f0f7ff;
}

.testimonial-author-box .placeholder-avatar {
    background: #00AEEF;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.5rem;
}

.author-info h4 {
    margin: 0;
    font-size: 1rem;
    color: #023E73;
    font-weight: 700;
}

.author-info .author-subtitle {
    margin: 0;
    font-size: 0.75rem;
    color: #00AEEF;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 0.5px;
    line-height: 1.2;
}

.author-info .author-location {
    margin: 0;
    font-size: 0.7rem;
    color: #999;
}

/* Carousel Section */
.testimonials-partners-section {
    margin-top: 100px;
    padding-top: 60px;
    border-top: 1px solid #e1e8ed;
}

.partners-carousel-header {
    text-align: center;
    margin-bottom: 50px;
}

.partners-carousel-header h2 {
    font-size: 2rem;
    color: #023E73;
    font-weight: 800;
    margin-bottom: 15px;
}

.header-line {
    width: 60px;
    height: 4px;
    background: #00AEEF;
    margin: 0 auto;
}

.logo-carousel-container {
    overflow: hidden;
    padding: 20px 0;
    background: white;
    user-select: none;
    mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
}

.logo-track {
    display: flex;
    width: max-content;
    animation: scroll-logo 40s linear infinite;
}

.logo-slide {
    width: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 40px;
}

.logo-slide img {
    max-width: 100%;
    max-height: 60px;
    filter: grayscale(100%);
    opacity: 0.6;
    transition: all 0.3s ease;
}

.logo-slide:hover img {
    filter: grayscale(0%);
    opacity: 1;
}

@keyframes scroll-logo {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ==========================================================================
   SERVIZI SPECIAL TEMPLATE
   ========================================================================== */
.servizi-special-template {
    background-color: #f8fbfd;
    font-family: 'Montserrat', sans-serif;
    color: #333;
}

.servizi-hero-wrapper {
    height: 450px;
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url('http://aggiornamento.cit-consult.it/wp-content/uploads/2026/04/testimonials_hero_bg.png') no-repeat center center;
    background-size: cover;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    overflow: hidden;
}

.servizi-hero-title {
    font-size: 4rem;
    font-weight: 900;
    margin: 0;
    letter-spacing: 6px;
    text-transform: uppercase;
    background: linear-gradient(180deg, #fff 0%, #d0e8ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 10px 20px rgba(0,0,0,0.3);
}

.servizi-hero-subtitle {
    font-size: 1.15rem;
    margin-top: 15px;
    max-width: 700px;
    color: #fff;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
    margin-left: auto;
    margin-right: auto;
}

.servizi-main-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px 80px;
}

.servizi-breadcrumb {
    padding: 30px 0;
    font-size: 0.8rem;
    color: #999;
    letter-spacing: 1px;
}

/* Vertical Solutions Section */
.vertical-solutions-section {
    margin-bottom: 80px;
}

.vertical-solutions-section .section-header {
    margin-bottom: 50px;
    text-align: center;
}

.vertical-solutions-section h2 {
    font-size: 2.5rem;
    color: #023E73;
    font-weight: 800;
    margin: 0;
}

.vertical-solutions-section h2 span {
    color: #00AEEF;
}

.vertical-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 25px;
}

.vertical-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.vertical-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.card-image {
    position: relative;
    height: 180px;
    overflow: hidden;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.vertical-card:hover .card-image img {
    transform: scale(1.02);
}

.card-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0, 174, 239, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.vertical-card:hover .card-overlay {
    opacity: 1;
}

.card-overlay span {
    color: white;
    font-weight: 700;
    padding: 8px 20px;
    border: 2px solid white;
    border-radius: 20px;
}

.card-icon-fallback {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    font-size: 3rem;
    color: rgba(255,255,255,0.6);
}

.card-content {
    padding: 20px;
    text-align: center;
    background: white;
}

.card-content h3 {
    margin: 0;
    font-size: 1.1rem;
    color: #023E73;
    font-weight: 700;
}

/* Alpesoft Highlight Box */
.alpesoft-highlight-box {
    background: linear-gradient(135deg, #023E73 0%, #002D59 100%);
    border-radius: 20px;
    padding: 50px;
    display: flex;
    align-items: center;
    gap: 40px;
    color: white;
    margin-bottom: 80px;
}

.alpesoft-logo-side img {
    max-width: 180px;
    filter: brightness(0) invert(1);
}

.alpesoft-content-side h3 {
    font-size: 2rem;
    margin-top: 0;
    color: #00AEEF;
}

.alpesoft-features {
    list-style: none;
    padding: 0;
    margin: 20px 0 30px;
    display: flex;
    gap: 20px;
}

.alpesoft-features li {
    background: rgba(255,255,255,0.1);
    padding: 5px 15px;
    border-radius: 15px;
    font-size: 0.9rem;
}

/* Categorized Services Columns */
.services-columns {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.service-col {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.03);
    border-top: 4px solid #00AEEF;
}

.service-col .col-icon {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.service-col h3 {
    font-size: 1.5rem;
    color: #023E73;
    margin-bottom: 20px;
}

.service-links-list ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.service-links-list li {
    margin-bottom: 12px;
}

.service-links-list a {
    color: #555;
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
}

.service-links-list a:before {
    content: '\2192';
    color: #00AEEF;
    margin-right: 10px;
    font-weight: bold;
}

.service-links-list a:hover {
    color: #00AEEF;
    padding-left: 5px;
}

@media (max-width: 992px) {
    .services-columns { grid-template-columns: 1fr; }
    .alpesoft-highlight-box { flex-direction: column; text-align: center; }
    .alpesoft-features { justify-content: center; }
}

/* Responsive Footer Padding Fix */
.content-area.no-hero-padding {
    padding-top: 0 !important;
}


/* Responsive */
@media (max-width: 768px) {
    .testimonials-hero-title { font-size: 2.2rem; }
    .testimonials-grid-section { grid-template-columns: 1fr; }
    .logo-slide { width: 180px; }
}

/* Servizi Page Content Area */
.servizi-page-content {
    max-width: 1200px;
    margin: 0 auto 60px;
    padding: 0 20px;
}

.servizi-page-content .wp-block-media-text {
    margin-bottom: 60px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.06);
    background: #fff;
    padding: 30px;
}

.servizi-page-content .wp-block-cover {
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 40px;
}

.servizi-page-content figure img {
    border-radius: 8px;
}

.servizi-page-content p {
    line-height: 1.8;
    color: #444;
}

.servizi-page-content h2, .servizi-page-content h3 {
    color: #023E73;
}

.alpesoft-logo-side img {
    filter: none !important;
    max-width: 200px;
}

/* ==========================================================================
   PARTNER PROGRAM SPECIAL TEMPLATE
   ========================================================================== */
.pp-special-template {
    background-color: #f8fbfd;
    font-family: 'Montserrat', sans-serif;
    color: #333;
}

/* --- HERO --- */
.pp-hero-wrapper {
    min-height: 90vh;
    background: linear-gradient(135deg, rgba(2,62,115,0.92) 0%, rgba(0,0,0,0.75) 100%),
                url('https://images.unsplash.com/photo-1522202176988-66273c2fd55f?w=1600&q=80') no-repeat center center;
    background-size: cover;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    padding: 80px 20px;
}

.pp-badge {
    display: inline-block;
    background: rgba(0,174,239,0.25);
    border: 1px solid #00AEEF;
    color: #00AEEF;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 4px;
    padding: 6px 20px;
    border-radius: 20px;
    margin-bottom: 25px;
}

.pp-hero-content { max-width: 800px; }

.pp-hero-title {
    font-size: 3.5rem;
    font-weight: 900;
    line-height: 1.2;
    margin: 0 0 20px;
}

.pp-hero-title span {
    background: linear-gradient(90deg, #00AEEF, #00d4ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.pp-hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 40px;
    color: rgba(255,255,255,0.85);
    line-height: 1.7;
}

.pp-cta-btn {
    display: inline-block;
    background: linear-gradient(90deg, #00AEEF, #0090c7);
    color: white;
    text-decoration: none;
    font-weight: 700;
    font-size: 1rem;
    padding: 16px 40px;
    border-radius: 50px;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(0,174,239,0.4);
}

.pp-cta-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(0,174,239,0.5);
    color: white;
    text-decoration: none;
}

/* --- CONTAINER --- */
.pp-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

.pp-label {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 4px;
    color: #00AEEF;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.pp-label.light { color: rgba(255,255,255,0.6); }

/* --- INTRO --- */
.pp-intro-section {
    padding: 80px 0 60px;
    background: white;
}

.pp-intro-text {
    font-size: 1.15rem;
    line-height: 1.9;
    color: #444;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

/* --- OBIETTIVO --- */
.pp-obiettivo-section {
    padding: 100px 0;
    background: #f8fbfd;
}

.pp-two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.pp-text-col h2 {
    font-size: 3rem;
    font-weight: 900;
    color: #023E73;
    margin: 10px 0 25px;
    line-height: 1.15;
}

.pp-text-col p { color: #555; line-height: 1.8; margin-bottom: 20px; }

.pp-highlight-box {
    background: linear-gradient(135deg, #023E73, #00AEEF);
    color: white;
    padding: 25px 30px;
    border-radius: 12px;
    margin: 25px 0;
}

.pp-highlight-box p { color: white; margin: 0; font-size: 1.05rem; }

.pp-video-player {
    width: 100%;
    border-radius: 16px;
    box-shadow: 0 25px 60px rgba(0,0,0,0.15);
}

.pp-video-caption {
    text-align: center;
    color: #888;
    font-size: 0.9rem;
    margin-top: 12px;
}

.pp-video-caption a { color: #00AEEF; }

/* --- VUOLE --- */
.pp-want-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #023E73 0%, #002D59 100%);
    color: white;
    text-align: center;
}

.pp-want-title {
    font-size: 2.2rem;
    font-weight: 800;
    color: white;
    line-height: 1.4;
    margin: 20px 0;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.pp-want-sub {
    font-size: 1.1rem;
    color: rgba(255,255,255,0.8);
    max-width: 600px;
    margin: 0 auto;
}

/* --- REQUISITI --- */
.pp-req-section {
    padding: 100px 0;
    background: white;
    text-align: center;
}

.pp-req-section h2 {
    font-size: 2.5rem;
    font-weight: 800;
    color: #023E73;
    margin: 10px 0 50px;
    line-height: 1.3;
}

.pp-req-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 50px;
}

.pp-req-card {
    background: #f8fbfd;
    border-radius: 16px;
    padding: 40px 30px;
    border-top: 4px solid #00AEEF;
    transition: all 0.3s ease;
}

.pp-req-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
}

.pp-req-icon { font-size: 3rem; margin-bottom: 20px; }

.pp-req-card h3 {
    font-size: 1.3rem;
    color: #023E73;
    margin-bottom: 12px;
}

.pp-req-card p { color: #666; line-height: 1.7; margin: 0; }

.pp-req-note {
    max-width: 700px;
    margin: 0 auto;
    color: #666;
    font-size: 1rem;
    line-height: 1.8;
}

/* --- FORM TYPEFORM --- */
.pp-form-section {
    padding: 100px 0;
    background: #f0f7ff;
    text-align: center;
}

.pp-form-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: #023E73;
    margin: 15px 0 20px;
    line-height: 1.3;
}

.pp-form-subtitle {
    color: #666;
    font-size: 1.05rem;
    max-width: 600px;
    margin: 0 auto 50px;
    line-height: 1.8;
}

.pp-typeform-wrapper {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0,0,0,0.1);
    background: white;
}

.pp-typeform-wrapper iframe { display: block; }

/* --- CTA CONTACT --- */
.pp-cta-section {
    padding: 80px 0;
    background: #023E73;
    color: white;
    text-align: center;
}

.pp-cta-section h2 {
    font-size: 2rem;
    font-weight: 800;
    margin: 0 0 15px;
    color: white;
}

.pp-cta-section p {
    color: rgba(255,255,255,0.75);
    margin-bottom: 40px;
    font-size: 1.05rem;
}

.pp-contact-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.pp-contact-item {
    display: inline-block;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    color: white;
    text-decoration: none;
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.pp-contact-item:hover {
    background: #00AEEF;
    border-color: #00AEEF;
    color: white;
    text-decoration: none;
    transform: translateY(-3px);
}

/* --- RESPONSIVE --- */
@media (max-width: 900px) {
    .pp-hero-title { font-size: 2.2rem; }
    .pp-two-col { grid-template-columns: 1fr; }
    .pp-req-grid { grid-template-columns: 1fr; }
    .pp-want-title { font-size: 1.6rem; }
    .pp-text-col h2 { font-size: 2rem; }
}

/* PP Title Override Fix */
.pp-hero-title,
.pp-hero-title span,
.pp-special-template h1,
.pp-special-template .pp-hero-title {
    color: white !important;
}

.pp-hero-title span {
    background: linear-gradient(90deg, #00AEEF, #00d4ff) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    color: transparent !important;
}

/* YouTube embed responsive */
.pp-youtube-wrapper {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    border-radius: 16px;
    box-shadow: 0 25px 60px rgba(0,0,0,0.15);
}

.pp-youtube-wrapper iframe {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    border: none;
}

/* PP JotForm wrapper */
.pp-jotform-wrapper {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0,0,0,0.1);
    background: white;
}

/* PP Video placeholder */
.pp-video-placeholder {
    background: linear-gradient(135deg, #023E73, #00AEEF);
    border-radius: 16px;
    padding: 60px 40px;
    text-align: center;
    color: white;
    font-size: 1.1rem;
    line-height: 1.7;
}

.pp-video-placeholder p { margin: 0; color: white; }

/* PP Map Section */
.pp-map-section {
    padding: 80px 0 0;
    background: #f0f7ff;
}

.pp-map-wrapper {
    width: 100%;
    overflow: hidden;
    line-height: 0;
}

.pp-map-wrapper iframe {
    display: block;
    width: 100%;
    height: 550px;
}

/* ==========================================================================
   WEB AGENCY SPECIAL TEMPLATE
   ========================================================================== */
.wa-special-template {
    background: #f8fbfd;
    font-family: 'Montserrat', sans-serif;
    color: #333;
}

/* --- HERO --- */
.wa-hero-wrapper {
    min-height: 92vh;
    background: linear-gradient(135deg, rgba(2,62,115,0.88) 0%, rgba(0,30,60,0.82) 100%),
                url('https://images.unsplash.com/photo-1460925895917-afdab827c52f?w=1600&q=80') no-repeat center center;
    background-size: cover;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    padding: 80px 20px;
    position: relative;
}

.wa-badge {
    display: inline-block;
    background: rgba(0,174,239,0.2);
    border: 1px solid #00AEEF;
    color: #00AEEF;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 4px;
    padding: 6px 20px;
    border-radius: 20px;
    margin-bottom: 25px;
}

.wa-hero-content { max-width: 860px; }

.wa-hero-title {
    font-size: 4rem;
    font-weight: 900;
    line-height: 1.15;
    margin: 0 0 20px;
    color: white !important;
    -webkit-text-fill-color: white !important;
}

.wa-hero-title span {
    background: linear-gradient(90deg, #00AEEF, #00d4ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent !important;
    color: transparent;
}

.wa-hero-subtitle {
    font-size: 1.2rem;
    color: rgba(255,255,255,0.85);
    max-width: 680px;
    margin: 0 auto 40px;
    line-height: 1.8;
}

.wa-hero-ctas {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.wa-cta-primary {
    display: inline-block;
    background: linear-gradient(90deg, #00AEEF, #0090c7);
    color: white !important;
    text-decoration: none;
    font-weight: 700;
    padding: 16px 36px;
    border-radius: 50px;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(0,174,239,0.35);
}

.wa-cta-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(0,174,239,0.5);
    text-decoration: none;
    color: white !important;
}

.wa-cta-secondary {
    display: inline-block;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.4);
    color: white !important;
    text-decoration: none;
    font-weight: 600;
    padding: 16px 36px;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.wa-cta-secondary:hover {
    background: rgba(255,255,255,0.2);
    color: white !important;
    text-decoration: none;
}

/* --- CONTAINER --- */
.wa-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

.wa-label {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 4px;
    color: #00AEEF;
    text-transform: uppercase;
    display: block;
    margin-bottom: 12px;
}

.wa-two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 70px;
    align-items: center;
}

/* --- VIDEO --- */
.wa-video-section {
    background: #023E73;
    padding: 60px 0;
}

.wa-video-player {
    width: 100%;
    border-radius: 16px;
    display: block;
    box-shadow: 0 30px 80px rgba(0,0,0,0.3);
}

/* --- INTRO --- */
.wa-intro-section {
    padding: 100px 0;
    background: white;
}

.wa-intro-text h2 {
    font-size: 2.5rem;
    font-weight: 900;
    color: #023E73;
    margin: 10px 0 25px;
    line-height: 1.2;
}

.wa-intro-text p {
    color: #555;
    line-height: 1.9;
    margin-bottom: 18px;
}

.wa-checklist {
    list-style: none;
    padding: 0;
    margin: 0 0 20px;
}

.wa-checklist li {
    padding: 10px 0 10px 35px;
    position: relative;
    border-bottom: 1px solid #f0f0f0;
    color: #444;
    font-size: 0.95rem;
}

.wa-checklist li:before {
    content: '\2192';
    position: absolute;
    left: 0;
    color: #00AEEF;
    font-weight: 900;
    font-size: 1.1rem;
}

.wa-checklist-note {
    color: #666;
    font-size: 0.95rem;
    margin-top: 15px;
}

.wa-intro-checklist h3 {
    font-size: 1.3rem;
    color: #023E73;
    margin-bottom: 20px;
}

/* --- STATS --- */
.wa-experience-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #023E73, #002D59);
    color: white;
}

.wa-exp-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-bottom: 50px;
    text-align: center;
}

.wa-exp-number {
    display: block;
    font-size: 3.5rem;
    font-weight: 900;
    color: #00AEEF;
    line-height: 1;
}

.wa-exp-label {
    display: block;
    font-size: 0.9rem;
    color: rgba(255,255,255,0.7);
    margin-top: 8px;
}

.wa-exp-text {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.wa-exp-text p {
    color: rgba(255,255,255,0.85);
    line-height: 1.9;
    font-size: 1.05rem;
}

/* --- COMPETENZE --- */
.wa-competenze-section {
    padding: 100px 0;
    background: #f8fbfd;
    text-align: center;
}

.wa-section-title {
    font-size: 2.3rem;
    font-weight: 800;
    color: #023E73;
    margin: 10px 0 60px;
    line-height: 1.3;
}

.wa-section-title.light { color: white; }

.wa-comp-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    text-align: left;
}

.wa-comp-card {
    background: white;
    border-radius: 16px;
    padding: 40px 30px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.05);
    border-top: 4px solid #00AEEF;
    transition: all 0.3s ease;
}

.wa-comp-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.1);
}

.wa-comp-icon {
    font-size: 2.8rem;
    margin-bottom: 20px;
}

.wa-comp-card h3 {
    font-size: 1.25rem;
    color: #023E73;
    margin-bottom: 15px;
}

.wa-comp-card p {
    color: #666;
    line-height: 1.8;
    font-size: 0.95rem;
    margin: 0;
}

/* --- PRODOTTI --- */
.wa-products-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #023E73, #001F45);
    text-align: center;
}

.wa-prod-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    max-width: 800px;
    margin: 0 auto;
    text-align: left;
}

.wa-prod-card {
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 16px;
    padding: 35px 30px;
    position: relative;
    transition: all 0.3s ease;
}

.wa-prod-card.featured {
    background: rgba(0,174,239,0.15);
    border-color: #00AEEF;
}

.wa-prod-card:hover { transform: translateY(-6px); }

.wa-prod-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: #00AEEF;
    color: white;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 2px;
    padding: 4px 14px;
    border-radius: 10px;
}

.wa-prod-card h3 {
    font-size: 1.4rem;
    color: white;
    margin-bottom: 12px;
}

.wa-prod-card p {
    color: rgba(255,255,255,0.75);
    line-height: 1.7;
    font-size: 0.9rem;
    margin-bottom: 10px;
}

.wa-prod-link {
    display: inline-block;
    margin-top: 15px;
    color: #00AEEF;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.9rem;
}

.wa-prod-link:hover { color: white; text-decoration: none; }

/* --- EDITOR CONTENT --- */
.wa-editor-content {
    padding: 80px 0;
    background: white;
}

.wa-editor-content .entry-content {
    font-size: 1rem;
    line-height: 1.9;
    color: #444;
}

.wa-editor-content h2, .wa-editor-content h3 { color: #023E73; }

/* --- CTA SECTION --- */
.wa-cta-section {
    padding: 100px 20px;
    background: #f0f7ff;
    text-align: center;
}

.wa-cta-section h2 {
    font-size: 2.2rem;
    font-weight: 800;
    color: #023E73;
    margin-bottom: 15px;
}

.wa-cta-section p {
    color: #666;
    max-width: 600px;
    margin: 0 auto 40px;
    line-height: 1.8;
}

.wa-cta-links {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.wa-cta-secondary-light {
    display: inline-block;
    background: transparent;
    border: 2px solid #00AEEF;
    color: #00AEEF !important;
    text-decoration: none;
    font-weight: 700;
    padding: 14px 34px;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.wa-cta-secondary-light:hover {
    background: #00AEEF;
    color: white !important;
    text-decoration: none;
}

/* --- RESPONSIVE --- */
@media (max-width: 900px) {
    .wa-hero-title { font-size: 2.4rem; }
    .wa-two-col { grid-template-columns: 1fr; gap: 40px; }
    .wa-comp-grid { grid-template-columns: 1fr; }
    .wa-prod-grid { grid-template-columns: 1fr; }
    .wa-exp-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ==========================================================================
   4-WEB CMS SPECIAL TEMPLATE
   ========================================================================== */
.fourweb-special-template {
    background: #f8fbfd;
    font-family: 'Montserrat', sans-serif;
    color: #333;
}

/* --- HERO --- */
.fw-hero-wrapper {
    min-height: 92vh;
    background: linear-gradient(135deg, #023E73 0%, #001F45 100%);
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 60px;
    padding: 100px 8%;
}

.fw-badge {
    display: inline-block;
    background: rgba(0,174,239,0.2);
    border: 1px solid #00AEEF;
    color: #00AEEF;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 4px;
    padding: 6px 18px;
    border-radius: 20px;
    margin-bottom: 25px;
}

.fw-hero-title {
    font-size: 3.8rem;
    font-weight: 900;
    line-height: 1.15;
    margin: 0 0 22px;
    color: white !important;
    -webkit-text-fill-color: white !important;
}

.fw-hero-title span {
    background: linear-gradient(90deg, #00AEEF, #00d4ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent !important;
    color: transparent;
}

.fw-hero-subtitle {
    font-size: 1.05rem;
    color: rgba(255,255,255,0.8);
    line-height: 1.85;
    margin-bottom: 40px;
    max-width: 520px;
}

.fw-hero-ctas { display: flex; gap: 15px; flex-wrap: wrap; }

.fw-cta-primary {
    display: inline-block;
    background: linear-gradient(90deg, #00AEEF, #007cb8);
    color: white !important;
    text-decoration: none;
    font-weight: 700;
    padding: 15px 34px;
    border-radius: 50px;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(0,174,239,0.35);
}

.fw-cta-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(0,174,239,0.5);
    color: white !important;
    text-decoration: none;
}

.fw-cta-secondary {
    display: inline-block;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.35);
    color: white !important;
    text-decoration: none;
    font-weight: 600;
    padding: 15px 34px;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.fw-cta-secondary:hover { background: rgba(255,255,255,0.2); color: white !important; text-decoration: none; }

/* Browser Mockup */
.fw-hero-visual { display: flex; justify-content: center; }

.fw-mockup {
    width: 100%;
    max-width: 480px;
    background: #1a1a2e;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 40px 80px rgba(0,0,0,0.4);
}

.fw-mockup-bar {
    background: #2d2d44;
    padding: 10px 14px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.fw-mockup-bar span {
    width: 10px; height: 10px;
    border-radius: 50%;
    display: inline-block;
}

.fw-mockup-bar span:nth-child(1) { background: #ff5f57; }
.fw-mockup-bar span:nth-child(2) { background: #febc2e; }
.fw-mockup-bar span:nth-child(3) { background: #28c840; }

.fw-mockup-url {
    flex: 1;
    background: #1a1a2e;
    border-radius: 6px;
    padding: 4px 10px;
    font-size: 0.72rem;
    color: rgba(255,255,255,0.5);
    text-align: center;
    margin-left: 8px;
}

.fw-mockup-screen { padding: 20px; }

.fw-mockup-header {
    background: linear-gradient(90deg, #00AEEF, #023E73);
    height: 60px;
    border-radius: 8px;
    margin-bottom: 15px;
    animation: shimmer 2.5s infinite;
}

@keyframes shimmer {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

.fw-mockup-blocks { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }

.fw-block {
    height: 80px;
    border-radius: 8px;
}

.b1 { background: linear-gradient(135deg, #00AEEF33, #00AEEF11); }
.b2 { background: linear-gradient(135deg, #02367330, #023E7310); }
.b3 { background: linear-gradient(135deg, #02367330, #023E7310); }
.b4 { background: linear-gradient(135deg, #00AEEF33, #00AEEF11); }

/* --- CONTAINER & UTILITIES --- */
.fw-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

.fw-label {
    display: block;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 4px;
    color: #00AEEF;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.fw-label.light { color: rgba(255,255,255,0.5); }

.fw-section-title {
    font-size: 2.3rem;
    font-weight: 800;
    color: #023E73;
    margin: 10px 0 55px;
    line-height: 1.3;
}

.fw-section-title.light { color: white; }

/* --- FEATURES --- */
.fw-features-section {
    padding: 100px 0;
    background: white;
}

.fw-features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.fw-feature-card {
    background: #f8fbfd;
    border-radius: 16px;
    padding: 35px 28px;
    border-top: 4px solid #00AEEF;
    transition: all 0.3s ease;
}

.fw-feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.08);
    background: white;
}

.fw-feat-icon { font-size: 2.5rem; margin-bottom: 18px; }

.fw-feature-card h3 { font-size: 1.15rem; color: #023E73; margin-bottom: 12px; }

.fw-feature-card p { color: #666; line-height: 1.8; font-size: 0.92rem; margin: 0; }

/* --- PRICING --- */
.fw-pricing-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #023E73, #001F45);
    text-align: center;
}

.fw-pricing-box {
    max-width: 600px;
    margin: 0 auto;
    background: rgba(255,255,255,0.07);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 24px;
    padding: 50px 40px;
}

.fw-price-range {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-bottom: 25px;
}

.fw-price-range span { color: rgba(255,255,255,0.6); font-size: 1.1rem; }

.fw-price-range strong {
    font-size: 3.5rem;
    font-weight: 900;
    color: #00AEEF;
    line-height: 1;
}

.fw-pricing-box p {
    color: rgba(255,255,255,0.8);
    line-height: 1.8;
    margin-bottom: 10px;
}

.fw-price-note {
    color: rgba(255,255,255,0.5) !important;
    font-size: 0.85rem;
    font-style: italic;
    margin: 0 !important;
}

/* --- OPTIONS --- */
.fw-options-section {
    padding: 100px 0;
    background: #f8fbfd;
}

.fw-options-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.fw-option-card {
    background: white;
    border-radius: 20px;
    padding: 50px 40px;
    text-align: center;
    box-shadow: 0 10px 40px rgba(0,0,0,0.06);
    transition: all 0.3s ease;
}

.fw-option-card:hover { transform: translateY(-8px); box-shadow: 0 25px 60px rgba(0,0,0,0.10); }

.fw-opt-icon { font-size: 3rem; margin-bottom: 22px; }

.fw-option-card h3 { font-size: 1.5rem; color: #023E73; margin-bottom: 16px; }

.fw-option-card p { color: #666; line-height: 1.8; margin-bottom: 30px; }

.fw-opt-btn {
    display: inline-block;
    padding: 13px 32px;
    border-radius: 50px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
}

.fw-opt-btn.primary { background: linear-gradient(90deg, #00AEEF, #007cb8); color: white !important; }
.fw-opt-btn.secondary { background: #023E73; color: white !important; }

.fw-opt-btn:hover { transform: translateY(-2px); box-shadow: 0 8px 25px rgba(0,0,0,0.2); text-decoration: none; }

/* --- EDITOR --- */
.fw-editor-section { padding: 80px 0; background: white; }
.fw-editor-section .entry-content { font-size: 1rem; line-height: 1.9; color: #444; }
.fw-editor-section h2, .fw-editor-section h3 { color: #023E73; }

/* --- FINAL CTA --- */
.fw-final-cta {
    padding: 100px 20px;
    background: #f0f7ff;
    text-align: center;
}

.fw-final-cta h2 { font-size: 2.2rem; font-weight: 800; color: #023E73; margin-bottom: 15px; }
.fw-final-cta p { color: #666; max-width: 600px; margin: 0 auto 40px; line-height: 1.8; }

.fw-final-buttons { display: flex; gap: 20px; justify-content: center; flex-wrap: wrap; }

.fw-cta-secondary-dark {
    display: inline-block;
    background: transparent;
    border: 2px solid #023E73;
    color: #023E73 !important;
    text-decoration: none;
    font-weight: 700;
    padding: 13px 32px;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.fw-cta-secondary-dark:hover { background: #023E73; color: white !important; text-decoration: none; }

/* --- RESPONSIVE --- */
@media (max-width: 900px) {
    .fw-hero-wrapper { grid-template-columns: 1fr; min-height: auto; padding: 80px 5%; }
    .fw-hero-visual { display: none; }
    .fw-hero-title { font-size: 2.5rem; }
    .fw-features-grid { grid-template-columns: 1fr; }
    .fw-options-grid { grid-template-columns: 1fr; }
}

/* 4-Web singola card centrata */
.fw-options-grid.fw-single {
    grid-template-columns: 1fr;
    max-width: 560px;
    margin: 0 auto;
}

/* ==========================================================================
   PARCHEGGIO DOMINI SPECIAL TEMPLATE
   ========================================================================== */
.pd-special-template {
    background: #fdfdfd;
    font-family: 'Montserrat', sans-serif;
    color: #333;
}

/* --- HERO --- */
.pd-hero-wrapper {
    min-height: 80vh;
    background: linear-gradient(135deg, rgba(2,62,115,0.95) 0%, rgba(0,30,60,0.9) 100%),
                url('https://images.unsplash.com/photo-1544197150-b99a580bb7a8?w=1600&q=80') no-repeat center center;
    background-size: cover;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    padding: 100px 20px;
}

.pd-badge {
    display: inline-block;
    background: rgba(0,174,239,0.15);
    border: 1px solid #00AEEF;
    color: #00AEEF;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 4px;
    padding: 6px 20px;
    border-radius: 20px;
    margin-bottom: 25px;
}

.pd-hero-content { max-width: 800px; }

.pd-hero-title {
    font-size: 3.8rem;
    font-weight: 900;
    line-height: 1.15;
    margin: 0 0 20px;
    color: white !important;
}

.pd-hero-title span {
    background: linear-gradient(90deg, #00AEEF, #00d4ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent !important;
    color: transparent;
}

.pd-hero-subtitle {
    font-size: 1.15rem;
    color: rgba(255,255,255,0.85);
    max-width: 600px;
    margin: 0 auto 40px;
    line-height: 1.8;
}

.pd-hero-ctas {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.pd-cta-primary {
    display: inline-block;
    background: #00AEEF;
    color: white !important;
    text-decoration: none;
    font-weight: 700;
    padding: 16px 36px;
    border-radius: 50px;
    transition: all 0.3s ease;
    box-shadow: 0 10px 20px rgba(0,174,239,0.3);
}

.pd-cta-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(0,174,239,0.5);
    color: white !important;
}

.pd-cta-secondary {
    display: inline-block;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.4);
    color: white !important;
    text-decoration: none;
    font-weight: 600;
    padding: 16px 36px;
    border-radius: 50px;
    transition: all 0.3s ease;
}

/* --- CONTAINER --- */
.pd-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

.pd-label {
    display: block;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 4px;
    color: #00AEEF;
    text-transform: uppercase;
    margin-bottom: 12px;
}

/* --- INTRO --- */
.pd-intro-section {
    padding: 100px 0;
    background: white;
}

.pd-intro-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 80px;
    align-items: center;
}

.pd-intro-text h2 {
    font-size: 2.3rem;
    font-weight: 900;
    color: #023E73;
    margin: 10px 0 25px;
}

.pd-intro-text p {
    color: #555;
    line-height: 1.9;
    margin-bottom: 20px;
}

.pd-intro-image {
    position: relative;
    padding: 40px 0;
}

.pd-floating-card {
    background: white;
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 30px 60px rgba(0,0,0,0.08);
    border-left: 5px solid #00AEEF;
    margin-bottom: 30px;
    max-width: 380px;
}

.pd-floating-card.offset {
    margin-left: 40px;
    border-left-color: #023E73;
}

.pd-icon { font-size: 2rem; margin-bottom: 15px; }

/* --- FEATURES --- */
.pd-features-section {
    padding: 80px 0;
    background: #f8fbfd;
}

.pd-features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.pd-feature-card {
    background: white;
    padding: 40px 30px;
    border-radius: 24px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.04);
    transition: all 0.3s ease;
}

.pd-feature-card:hover { transform: translateY(-8px); box-shadow: 0 20px 50px rgba(0,0,0,0.08); }

.pd-feat-icon { font-size: 2.5rem; margin-bottom: 20px; }

.pd-feature-card h3 { font-size: 1.25rem; color: #023E73; margin-bottom: 15px; }

.pd-feature-card p { color: #666; line-height: 1.8; font-size: 0.95rem; }

/* --- CONTACT --- */
.pd-contact-section {
    padding: 100px 0;
    background: #023E73;
    color: white;
    text-align: center;
}

.pd-contact-box {
    max-width: 700px;
    margin: 0 auto;
}

.pd-contact-box h2 {
    font-size: 2.5rem;
    font-weight: 800;
    color: white !important;
    margin: 10px 0 20px;
}

.pd-contact-box p {
    color: rgba(255,255,255,0.8);
    font-size: 1.1rem;
    margin-bottom: 40px;
}

.pd-contact-info {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.pd-contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
    color: white !important;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    transition: 0.3s;
}

.pd-contact-item:hover { color: #00AEEF !important; }

.pd-item-icon { font-size: 1.5rem; }

.pd-cta-primary.large { padding: 20px 50px; font-size: 1.1rem; }

/* RESPONSIVE */
@media (max-width: 900px) {
    .pd-hero-title { font-size: 2.5rem; }
    .pd-intro-grid { grid-template-columns: 1fr; gap: 40px; }
    .pd-features-grid { grid-template-columns: 1fr; }
    .pd-floating-card.offset { margin-left: 0; }
}

/* ==========================================================================
   IT SYSTEM INTEGRATOR SPECIAL TEMPLATE
   ========================================================================== */
.si-special-template {
    background: #fdfdfd;
    font-family: 'Montserrat', sans-serif;
}

/* --- HERO --- */
.si-hero-wrapper {
    min-height: 85vh;
    background: linear-gradient(135deg, rgba(2,62,115,0.92) 0%, rgba(0,30,60,0.85) 100%),
                url('https://images.unsplash.com/photo-1558494949-ef010cbdcc51?w=1600&q=80') no-repeat center center;
    background-size: cover;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    padding: 100px 20px;
}

.si-badge {
    display: inline-block;
    background: rgba(0,174,239,0.2);
    border: 1px solid #00AEEF;
    color: #00AEEF;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 4px;
    padding: 6px 20px;
    border-radius: 20px;
    margin-bottom: 25px;
}

.si-hero-title {
    font-size: 4rem;
    font-weight: 900;
    line-height: 1.1;
    margin: 0 0 25px;
    color: white !important;
}

.si-hero-title span {
    background: linear-gradient(90deg, #00AEEF, #00d4ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent !important;
}

.si-hero-subtitle {
    font-size: 1.25rem;
    color: rgba(255,255,255,0.85);
    max-width: 700px;
    margin: 0 auto 45px;
    line-height: 1.8;
}

.si-hero-ctas { display: flex; gap: 20px; justify-content: center; flex-wrap: wrap; }

.si-cta-primary {
    display: inline-block;
    background: #00AEEF;
    color: white !important;
    text-decoration: none;
    font-weight: 700;
    padding: 18px 40px;
    border-radius: 50px;
    transition: 0.3s;
    box-shadow: 0 10px 25px rgba(0,174,239,0.3);
}

.si-cta-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(0,174,239,0.5);
    color: white !important;
}

.si-cta-secondary {
    display: inline-block;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.3);
    color: white !important;
    text-decoration: none;
    font-weight: 700;
    padding: 18px 40px;
    border-radius: 50px;
    transition: 0.3s;
}

/* --- CONTAINER & LABELS --- */
.si-container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 25px;
}

.si-label {
    display: block;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 4px;
    color: #00AEEF;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.si-label.light { color: rgba(255,255,255,0.5); }

.si-section-title {
    font-size: 2.6rem;
    font-weight: 900;
    color: #023E73;
    margin: 10px 0 50px;
    line-height: 1.2;
}

.si-section-title.light { color: white; }

/* --- PROBLEMS --- */
.si-problems-section {
    padding: 100px 0;
    background: white;
}

.si-problems-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 80px;
    align-items: flex-start;
}

.si-check-list {
    list-style: none;
    padding: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.si-check-list li {
    padding: 12px 15px 12px 35px;
    background: #f8fbfd;
    border-radius: 10px;
    font-size: 0.95rem;
    color: #444;
    position: relative;
    border-left: 3px solid #ff5b5b;
}

.si-check-list li:before {
    content: '\2192';
    position: absolute;
    left: 12px;
    color: #ff5b5b;
    font-weight: bold;
}

/* --- DEFINITION --- */
.si-definition-section {
    padding: 80px 0;
    background: #f0f7ff;
}

.si-def-box {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.si-def-box h3 {
    font-size: 1.8rem;
    color: #023E73;
    margin-bottom: 25px;
    font-weight: 800;
}

.si-def-box p {
    font-size: 1.1rem;
    line-height: 1.9;
    color: #555;
    margin-bottom: 20px;
}

/* --- SERVICES GRID --- */
.si-services-section {
    padding: 100px 0;
    background: white;
}

.si-services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 35px;
}

.si-service-item {
    padding: 40px 30px;
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.05);
    transition: 0.3s;
    border-bottom: 4px solid transparent;
}

.si-service-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 60px rgba(0,0,0,0.1);
    border-bottom-color: #00AEEF;
}

.si-service-icon { font-size: 2.8rem; margin-bottom: 20px; }

.si-service-item h4 { font-size: 1.3rem; color: #023E73; margin-bottom: 15px; font-weight: 800; }

.si-service-item p { font-size: 0.95rem; color: #666; line-height: 1.7; margin: 0; }

/* --- SOLUTIONS HIGHLIGHT --- */
.si-solutions-highlight {
    padding: 100px 0;
    background: #023E73;
}

.si-sol-header { text-align: center; margin-bottom: 70px; }

.si-sol-header p { color: rgba(255,255,255,0.6); max-width: 600px; margin: 0 auto; }

.si-sol-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.si-sol-card {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    padding: 45px 35px;
    border-radius: 25px;
    color: white;
    display: flex;
    flex-direction: column;
    transition: 0.3s;
}

.si-sol-card:hover { background: rgba(255,255,255,0.08); border-color: #00AEEF; }

.si-sol-logo {
    font-size: 1.6rem;
    font-weight: 900;
    margin-bottom: 25px;
    color: #00AEEF;
}

.si-sol-card p { font-size: 1rem; color: rgba(255,255,255,0.8); line-height: 1.8; margin-bottom: 30px; flex-grow: 1; }

.si-trial-box {
    background: rgba(0,174,239,0.15);
    border: 1px dashed #00AEEF;
    padding: 20px;
    border-radius: 15px;
    text-align: center;
}

.si-trial-box p { margin-bottom: 15px; color: #00AEEF; font-size: 0.9rem; letter-spacing: 1px; }

.si-trial-btn {
    display: block;
    background: #00AEEF;
    color: white !important;
    text-decoration: none;
    font-weight: 700;
    padding: 12px;
    border-radius: 10px;
    font-size: 0.9rem;
}

.si-link-more { color: #00AEEF; text-decoration: none; font-weight: 700; }

.si-badge-alt {
    display: inline-block;
    color: rgba(255,255,255,0.5);
    font-size: 0.8rem;
    font-weight: 700;
}

/* --- CONTACT --- */
.si-contact-section {
    padding: 100px 0;
    background: #f0f7ff;
    text-align: center;
}

.si-contact-box h2 { font-size: 2.4rem; font-weight: 900; color: #023E73; margin-bottom: 20px; }

.si-contact-box p { font-size: 1.1rem; color: #555; max-width: 600px; margin: 0 auto 45px; }

.si-contact-links { display: flex; gap: 20px; justify-content: center; flex-wrap: wrap; }

.si-cta-secondary-dark {
    display: inline-block;
    border: 2px solid #023E73;
    color: #023E73 !important;
    text-decoration: none;
    font-weight: 700;
    padding: 16px 40px;
    border-radius: 50px;
}

/* RESPONSIVE */
@media (max-width: 1000px) {
    .si-hero-title { font-size: 2.8rem; }
    .si-problems-grid { grid-template-columns: 1fr; gap: 40px; }
    .si-services-grid { grid-template-columns: repeat(2, 1fr); }
    .si-sol-grid { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
    .si-check-list { grid-template-columns: 1fr; }
    .si-services-grid { grid-template-columns: 1fr; }
}

/* IT Verbatim List inside cards */
.si-verbatim-list {
    list-style: none;
    padding: 0 !important;
    margin: 0 !important;
}

.si-verbatim-list li {
    font-size: 0.88rem;
    color: #555;
    padding-left: 20px;
    position: relative;
    margin-bottom: 8px;
    line-height: 1.5;
}

.si-verbatim-list li:before {
    content: '\2192';
    position: absolute;
    left: 0;
    color: #00AEEF;
    font-weight: bold;
}

/* ==========================================================================
   DATACENTER SPECIAL TEMPLATE
   ========================================================================== */
.dc-special-template { background: #fdfdfd; font-family: 'Montserrat', sans-serif; }

/* --- HERO --- */
.dc-hero-wrapper {
    min-height: 80vh;
    background: linear-gradient(135deg, rgba(2,62,115,0.95) 0%, rgba(0,30,60,0.9) 100%),
                url('https://images.unsplash.com/photo-1558494949-ef010cbdcc51?w=1600&q=80') no-repeat center center;
    background-size: cover;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    padding: 100px 20px;
}

.dc-badge {
    display: inline-block;
    background: rgba(0,174,239,0.15);
    border: 1px solid #00AEEF;
    color: #00AEEF;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 4px;
    padding: 6px 20px;
    border-radius: 20px;
    margin-bottom: 25px;
}

.dc-hero-title { font-size: 4rem; font-weight: 900; line-height: 1.1; margin: 0 0 25px; color: white !important; }

.dc-hero-title span {
    background: linear-gradient(90deg, #00AEEF, #00d4ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent !important;
}

.dc-hero-subtitle { font-size: 1.2rem; color: rgba(255,255,255,0.8); max-width: 650px; margin: 0 auto 45px; line-height: 1.8; }

.dc-hero-ctas { display: flex; gap: 20px; justify-content: center; }

.dc-cta-primary {
    display: inline-block;
    background: #00AEEF;
    color: white !important;
    text-decoration: none;
    font-weight: 700;
    padding: 18px 40px;
    border-radius: 50px;
    transition: 0.3s;
    box-shadow: 0 10px 25px rgba(0,174,239,0.3);
}

.dc-cta-secondary {
    display: inline-block;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.3);
    color: white !important;
    text-decoration: none;
    font-weight: 600;
    padding: 18px 40px;
    border-radius: 50px;
}

/* --- OVERVIEW --- */
.dc-overview-section { padding: 100px 0; background: white; }

.dc-container { max-width: 1140px; margin: 0 auto; padding: 0 25px; }

.dc-overview-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }

.dc-label { display: block; font-size: 0.75rem; font-weight: 800; letter-spacing: 4px; color: #00AEEF; text-transform: uppercase; margin-bottom: 15px; }

.dc-overview-text h2 { font-size: 2.6rem; font-weight: 900; color: #023E73; margin-bottom: 25px; }

.dc-overview-text p { font-size: 1.05rem; line-height: 1.9; color: #555; margin-bottom: 20px; }

.dc-main-img { width: 100%; border-radius: 30px; box-shadow: 0 30px 60px rgba(0,0,0,0.1); }

/* --- TECH GRID --- */
.dc-tech-section { padding: 80px 0; background: #f8fbfd; }

.dc-tech-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 25px; }

.dc-tech-card {
    background: white;
    padding: 40px 25px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.03);
    border-top: 5px solid #00AEEF;
    transition: 0.3s;
}

.dc-tech-card:hover { transform: translateY(-10px); box-shadow: 0 20px 50px rgba(0,0,0,0.08); }

.dc-tech-icon { font-size: 2.5rem; margin-bottom: 20px; }

.dc-tech-card h3 { font-size: 1.25rem; color: #023E73; margin-bottom: 15px; font-weight: 800; }

.dc-tech-card p { font-size: 0.9rem; color: #666; line-height: 1.7; margin-bottom: 20px; }

.dc-tech-list { list-style: none; padding: 0; margin: 0; }

.dc-tech-list li { font-size: 0.85rem; font-weight: 700; color: #023E73; padding-left: 20px; position: relative; margin-bottom: 8px; }

.dc-tech-list li:before { content: '\2192'; position: absolute; left: 0; color: #00AEEF; }

/* --- LOCATIONS --- */
.dc-locations-section { padding: 100px 0; background: white; }

.dc-section-header { text-align: center; margin-bottom: 60px; }

.dc-section-title { font-size: 2.5rem; font-weight: 900; color: #023E73; margin-top: 10px; }

.dc-locations-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; margin-bottom: 60px; }

.dc-location-card {
    background: #f8fbfd;
    padding: 40px;
    border-radius: 25px;
    border: 1px solid #e1e8f0;
}

.dc-loc-header { display: flex; align-items: center; gap: 15px; margin-bottom: 30px; }

.dc-loc-code { font-size: 0.9rem; font-weight: 900; background: #023E73; color: white; padding: 5px 12px; border-radius: 8px; }

.dc-loc-header h4 { font-size: 1.3rem; font-weight: 800; color: #023E73; margin: 0; }

.dc-loc-details { list-style: none; padding: 0; margin: 0; }

.dc-loc-details li { font-size: 0.9rem; padding: 12px 0; border-bottom: 1px solid rgba(0,0,0,0.05); color: #555; }

.dc-loc-details li:last-child { border-bottom: none; }

.dc-loc-details strong { color: #023E73; }

.dc-footer-img { text-align: center; max-width: 800px; margin: 0 auto; }

.dc-bottom-img { width: 100%; border-radius: 20px; margin-bottom: 15px; filter: grayscale(0.2); transition: 0.5s; }

.dc-bottom-img:hover { filter: grayscale(0); }

.dc-footer-img p { font-size: 0.85rem; color: #999; font-style: italic; }

/* --- FINAL CTA --- */
.dc-final-cta { padding-bottom: 100px; }

.dc-cta-box { background: #023E73; padding: 80px 40px; border-radius: 40px; text-align: center; color: white; }

.dc-cta-box h2 { font-size: 2.5rem; font-weight: 800; color: white !important; margin-bottom: 20px; }

.dc-cta-box p { font-size: 1.15rem; color: rgba(255,255,255,0.7); margin-bottom: 40px; }

.dc-cta-primary.large { padding: 20px 50px; font-size: 1.1rem; }

/* RESPONSIVE */
@media (max-width: 1000px) {
    .dc-hero-title { font-size: 2.8rem; }
    .dc-overview-grid { grid-template-columns: 1fr; gap: 50px; }
    .dc-tech-grid { grid-template-columns: repeat(2, 1fr); }
    .dc-locations-grid { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
    .dc-tech-grid { grid-template-columns: 1fr; }
}

/* ==========================================================================
   PIANI HOSTING SPECIAL TEMPLATE
   ========================================================================== */
.ph-special-template { background: #fdfdfd; font-family: 'Montserrat', sans-serif; }

/* --- HERO --- */
.ph-hero-wrapper {
    min-height: 80vh;
    background: linear-gradient(135deg, rgba(2,62,115,0.95) 0%, rgba(0,30,60,0.9) 100%),
                url('https://images.unsplash.com/photo-1558494949-ef010cbdcc51?w=1600&q=80') no-repeat center center;
    background-size: cover;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    padding: 100px 20px;
}

.ph-badge {
    display: inline-block;
    background: rgba(0,174,239,0.15);
    border: 1px solid #00AEEF;
    color: #00AEEF;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 4px;
    padding: 6px 20px;
    border-radius: 20px;
    margin-bottom: 25px;
}

.ph-hero-title { font-size: 4rem; font-weight: 900; line-height: 1.1; margin: 0 0 25px; color: white !important; }

.ph-hero-title span {
    background: linear-gradient(90deg, #00AEEF, #00d4ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent !important;
}

.ph-hero-subtitle { font-size: 1.2rem; color: rgba(255,255,255,0.8); max-width: 650px; margin: 0 auto 45px; line-height: 1.8; }

.ph-hero-ctas { display: flex; gap: 20px; justify-content: center; }

.ph-cta-primary {
    display: inline-block;
    background: #00AEEF;
    color: white !important;
    text-decoration: none;
    font-weight: 700;
    padding: 18px 40px;
    border-radius: 50px;
    transition: 0.3s;
    box-shadow: 0 10px 25px rgba(0,174,239,0.3);
}

.ph-cta-secondary {
    display: inline-block;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.3);
    color: white !important;
    text-decoration: none;
    font-weight: 600;
    padding: 18px 40px;
    border-radius: 50px;
}

/* --- PRICING SECTION --- */
.ph-pricing-section { padding: 100px 0; background: #f8fbfd; }

.ph-container { max-width: 1200px; margin: 0 auto; padding: 0 25px; }

.ph-pricing-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.ph-card {
    background: white;
    border-radius: 24px;
    padding: 40px 30px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.03);
    display: flex;
    flex-direction: column;
    border: 1px solid #e1e8f0;
    transition: 0.3s;
}

.ph-card:hover { transform: translateY(-10px); box-shadow: 0 20px 50px rgba(0,0,0,0.08); }

.ph-card.popular { border-color: #00AEEF; box-shadow: 0 15px 40px rgba(0,174,239,0.1); transform: scale(1.05); }

.ph-card.highlight { border-color: #023E73; }

.ph-card-header { text-align: center; margin-bottom: 30px; }

.ph-card h3 { font-size: 1.4rem; color: #023E73; margin-bottom: 10px; font-weight: 900; }

.ph-card-badge { display: inline-block; font-size: 0.65rem; font-weight: 800; text-transform: uppercase; letter-spacing: 1px; color: #999; padding: 4px 12px; background: #f0f4f8; border-radius: 10px; }

.ph-card.popular .ph-card-badge { background: #00AEEF; color: white; }

.ph-features { list-style: none; padding: 0; margin: 0 0 40px; flex-grow: 1; }

.ph-features li { font-size: 0.9rem; color: #666; padding: 12px 0; border-bottom: 1px solid #f1f5f9; position: relative; padding-left: 20px; }

.ph-features li:last-child { border-bottom: none; }

.ph-features li:before { content: '\2192'; position: absolute; left: 0; color: #00AEEF; font-weight: bold; }

.ph-features strong { color: #333; }

.ph-card-btn { text-align: center; display: block; padding: 15px; border-radius: 50px; text-decoration: none; font-weight: 700; border: 2px solid #023E73; color: #023E73 !important; transition: 0.3s; }

.ph-card-btn.primary { background: #023E73; color: white !important; }

.ph-card-btn:hover { background: #023E73; color: white !important; }

/* --- AUTOINSTALL INFO --- */
.ph-autoinstall-section { padding: 100px 0; background: white; }

.ph-info-grid { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 80px; align-items: center; }

.ph-tag { display: inline-block; color: #00AEEF; font-weight: 800; font-size: 0.75rem; letter-spacing: 2px; margin-bottom: 15px; }

.ph-info-text h3 { font-size: 2.3rem; color: #023E73; margin-bottom: 25px; font-weight: 900; }

.ph-info-text p { font-size: 1.1rem; line-height: 1.9; color: #555; margin-bottom: 20px; }

.ph-mockup-apps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }

.ph-app-icon { width: 80px; height: 80px; background: #023E73; color: white; display: flex; align-items: center; justify-content: center; font-size: 2rem; font-weight: 900; border-radius: 20px; box-shadow: 10px 10px 30px rgba(0,0,0,0.1); }

/* --- DATACENTER CTA --- */
.ph-datacenter-cta { padding: 80px 0; background: #f8fbfd; }

.ph-cta-box { background: #023E73; padding: 80px 40px; border-radius: 40px; text-align: center; color: white; }

.ph-cta-box h2 { font-size: 2.5rem; font-weight: 800; color: white !important; margin-bottom: 20px; }

.ph-cta-box p { font-size: 1.1rem; color: rgba(255,255,255,0.7); margin: 0 auto 40px; max-width: 700px; }

/* RESPONSIVE */
@media (max-width: 1200px) {
    .ph-pricing-grid { grid-template-columns: repeat(2, 1fr); gap: 40px; }
    .ph-card.popular { transform: none; }
}

@media (max-width: 900px) {
    .ph-hero-title { font-size: 2.8rem; }
    .ph-info-grid { grid-template-columns: 1fr; gap: 40px; }
}

@media (max-width: 650px) {
    .ph-pricing-grid { grid-template-columns: 1fr; }
}

/* ==========================================================================
   CONTACT SPECIAL TEMPLATE
   ========================================================================== */
.ct-special-template { background: #fdfdfd; font-family: 'Montserrat', sans-serif; }

/* --- HERO --- */
.ct-hero-wrapper {
    min-height: 60vh;
    background: linear-gradient(135deg, rgba(2,62,115,0.95) 0%, rgba(0,30,60,0.9) 100%),
                url('https://images.unsplash.com/photo-1523966211575-eb4a01e7dd51?w=1600&q=80') no-repeat center center;
    background-size: cover;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    padding: 100px 20px;
}

.ct-badge { display: inline-block; background: rgba(0,174,239,0.15); border: 1px solid #00AEEF; color: #00AEEF; font-size: 0.7rem; font-weight: 700; letter-spacing: 4px; padding: 6px 20px; border-radius: 20px; margin-bottom: 25px; }

.ct-hero-title { font-size: 3.5rem; font-weight: 900; line-height: 1.1; margin: 0 0 25px; padding: 0 !important; color: white !important; }

.ct-hero-title span { background: linear-gradient(90deg, #00AEEF, #00d4ff); -webkit-background-clip: text; -webkit-text-fill-color: transparent !important; }

.ct-hero-subtitle { font-size: 1.1rem; color: rgba(255,255,255,0.7); max-width: 600px; margin: 0 auto; line-height: 1.8; }

/* --- INFO CARDS --- */
.ct-info-section { padding: 60px 0; margin-top: -60px; position: relative; z-index: 10; }

.ct-container { max-width: 1200px; margin: 0 auto; padding: 0 25px; }

.ct-info-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }

.ct-info-card { background: white; padding: 40px 30px; border-radius: 24px; box-shadow: 0 15px 40px rgba(0,0,0,0.08); text-align: center; transition: 0.3s; }

.ct-info-card:hover { transform: translateY(-10px); box-shadow: 0 20px 60px rgba(0,0,0,0.12); }

.ct-icon-box { font-size: 2.5rem; margin-bottom: 20px; }

.ct-info-card h3 { font-size: 1.25rem; font-weight: 800; color: #023E73; margin-bottom: 12px; }

.ct-info-card p { font-size: 0.9rem; color: #666; margin-bottom: 15px; }

.ct-link { font-size: 1rem; font-weight: 700; color: #00AEEF; text-decoration: none; }

/* --- MAIN SECTION --- */
.ct-main-section { padding: 80px 0; }

.ct-main-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 60px; }

.ct-form-header { margin-bottom: 40px; }

.ct-form-header h2 { font-size: 2.2rem; font-weight: 900; color: #023E73; margin-bottom: 15px; }

.ct-form-header p { color: #555; font-size: 1rem; }

.ct-form-wrapper { background: #f8fbfd; border-radius: 30px; padding: 20px; border: 1px solid #e1e8f0; }

/* OFFICE SIDE */
.ct-office-box { background: #023E73; color: white; padding: 50px; border-radius: 30px; margin-bottom: 30px; }

.ct-label { font-size: 0.7rem; letter-spacing: 3px; color: rgba(255,255,255,0.5); font-weight: 800; display: block; margin-bottom: 15px; }

.ct-office-box h3 { font-size: 1.8rem; color: white !important; font-weight: 800; margin-bottom: 20px; }

.ct-office-box p { font-size: 1.1rem; line-height: 1.8; color: rgba(255,255,255,0.8); margin-bottom: 35px; }

.ct-office-details { margin-bottom: 40px; }

.ct-detail-item { display: flex; justify-content: space-between; padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,0.1); font-size: 0.95rem; }

.ct-detail-item strong { color: rgba(255,255,255,0.6); font-weight: 400; }

.ct-social-links { display: flex; gap: 15px; }

.ct-social-links a { width: 45px; height: 45px; background: rgba(255,255,255,0.1); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: white; text-decoration: none; font-weight: 900; font-size: 0.8rem; transition: 0.3s; }

.ct-social-links a:hover { background: #00AEEF; transform: scale(1.02); }

.ct-note-box { background: #f0f7ff; padding: 35px; border-radius: 24px; border-left: 5px solid #00AEEF; }

.ct-note-box h4 { color: #023E73; font-weight: 800; font-size: 1.1rem; margin-bottom: 10px; }

.ct-note-box p { font-size: 0.9rem; color: #555; line-height: 1.6; margin: 0; }

/* MAP */
.ct-map-section { margin-top: 50px; line-height: 0; }

/* RESPONSIVE */
@media (max-width: 1100px) {
    .ct-info-grid { grid-template-columns: 1fr; }
    .ct-main-grid { grid-template-columns: 1fr; }
    .ct-hero-title { font-size: 2.8rem; }
}

/* ==========================================================================
   GESTIONALE ARTIGIANI SPECIAL TEMPLATE
   ========================================================================== */
.ga-special-template { background: #fdfdfd; font-family: 'Montserrat', sans-serif; }

/* --- HERO --- */
.ga-hero-wrapper {
    min-height: 80vh;
    background: linear-gradient(135deg, rgba(2,62,115,0.95) 0%, rgba(0,30,60,0.9) 100%),
                url('https://images.unsplash.com/photo-1581094794329-c8112a89af12?w=1600&q=80') no-repeat center center;
    background-size: cover;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    padding: 100px 20px;
}

.ga-badge { display: inline-block; background: rgba(0,174,239,0.15); border: 1px solid #00AEEF; color: #00AEEF; font-size: 0.72rem; font-weight: 700; letter-spacing: 4px; padding: 6px 20px; border-radius: 20px; margin-bottom: 25px; }

.ga-hero-title { font-size: 4rem; font-weight: 900; line-height: 1.1; margin: 0 0 25px; color: white !important; }

.ga-hero-title span { background: linear-gradient(90deg, #00AEEF, #00d4ff); -webkit-background-clip: text; -webkit-text-fill-color: transparent !important; }

.ga-hero-subtitle { font-size: 1.2rem; color: rgba(255,255,255,0.8); max-width: 650px; margin: 0 auto 45px; line-height: 1.8; }

.ga-hero-ctas { display: flex; gap: 20px; justify-content: center; }

.ga-cta-primary { display: inline-block; background: #00AEEF; color: white !important; text-decoration: none; font-weight: 700; padding: 18px 40px; border-radius: 50px; transition: 0.3s; box-shadow: 0 10px 25px rgba(0,174,239,0.3); }

.ga-cta-secondary { display: inline-block; background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.3); color: white !important; text-decoration: none; font-weight: 600; padding: 18px 40px; border-radius: 50px; }

/* --- QUOTE --- */
.ga-quote-section { padding: 100px 0; background: #f0f7ff; text-align: center; }

.ga-quote-box { max-width: 900px; margin: 0 auto; }

.ga-quote-box h3 { font-size: 2rem; font-weight: 800; color: #023E73; line-height: 1.4; margin-bottom: 25px; font-style: italic; }

.ga-quote-box p { font-size: 1.15rem; color: #555; line-height: 1.9; }

/* --- PAIN GRID --- */
.ga-pain-section { padding: 100px 0; background: white; }

.ga-container { max-width: 1140px; margin: 0 auto; padding: 0 25px; }

.ga-label { display: block; font-size: 0.75rem; font-weight: 800; letter-spacing: 4px; color: #00AEEF; text-transform: uppercase; margin-bottom: 15px; }

.ga-section-title { font-size: 2.6rem; font-weight: 900; color: #023E73; margin-bottom: 50px; }

.ga-pain-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 25px; }

.ga-pain-card { background: #f8fbfd; padding: 40px 25px; border-radius: 20px; text-align: center; border-bottom: 3px solid transparent; transition: 0.3s; }

.ga-pain-card:hover { transform: translateY(-10px); background: #f0f7ff; border-bottom-color: #ff5b5b; }

.ga-pain-icon { font-size: 2.5rem; margin-bottom: 20px; }

.ga-pain-card h4 { font-size: 1.2rem; font-weight: 800; color: #023E73; margin-bottom: 15px; }

.ga-pain-card p { font-size: 0.9rem; color: #666; line-height: 1.7; margin: 0; }

/* --- SOLUTION --- */
.ga-solution-section { padding: 100px 0; background: #fdfdfd; }

.ga-sol-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }

.ga-main-img { width: 100%; border-radius: 30px; box-shadow: 0 30px 60px rgba(0,0,0,0.1); }

.ga-sol-text h2 { font-size: 2.5rem; color: #023E73; font-weight: 900; margin-bottom: 25px; }

.ga-sol-text p { font-size: 1.05rem; line-height: 1.8; color: #555; margin-bottom: 30px; }

.ga-check-list { list-style: none; padding: 0; margin-bottom: 40px; }

.ga-check-list li { font-size: 1rem; color: #023E73; font-weight: 700; padding: 12px 0 12px 35px; position: relative; border-bottom: 1px solid #eee; }

.ga-check-list li:before { content: '\2192'; position: absolute; left: 0; color: #00AEEF; font-weight: 900; }

/* --- FINAL CTA --- */
.ga-final-cta { padding: 80px 0; background: white; }

.ga-cta-box { background: #023E73; padding: 80px; border-radius: 40px; text-align: center; color: white; }

.ga-cta-box h2 { font-size: 2.5rem; color: white !important; font-weight: 800; margin-bottom: 20px; }

.ga-cta-box p { font-size: 1.1rem; color: rgba(255,255,255,0.7); margin-bottom: 40px; }

.ga-cta-links { display: flex; gap: 20px; justify-content: center; }

.ga-cta-secondary-dark { display: inline-block; border: 2px solid white; color: white !important; font-weight: 700; padding: 18px 40px; border-radius: 50px; text-decoration: none; }

/* PAGINATION */
.ga-pagination { padding: 40px 0; border-top: 1px solid #eee; }

.ga-pag-flex { display: flex; justify-content: space-between; }

.ga-pag-link { text-decoration: none; font-weight: 700; color: #00AEEF; font-size: 0.9rem; }

/* RESPONSIVE */
@media (max-width: 1000px) {
    .ga-hero-title { font-size: 2.8rem; }
    .ga-pain-grid { grid-template-columns: repeat(2, 1fr); }
    .ga-sol-grid { grid-template-columns: 1fr; gap: 50px; }
}

@media (max-width: 600px) {
    .ga-pain-grid { grid-template-columns: 1fr; }
}

/* ==========================================================================
   CENTRI ESTETICI SPECIAL TEMPLATE
   ========================================================================== */
.be-special-template { background: #fdfdfd; font-family: 'Montserrat', sans-serif; }

/* --- HERO --- */
.be-hero-wrapper {
    min-height: 80vh;
    background: linear-gradient(135deg, rgba(46,64,83,0.92) 0%, rgba(21,67,96,0.85) 100%),
                url('https://images.unsplash.com/photo-1544161515-4ab6ce6db874?w=1600&q=80') no-repeat center center;
    background-size: cover;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    padding: 100px 20px;
}

.be-badge { display: inline-block; background: rgba(0,174,239,0.15); border: 1px solid #00AEEF; color: #00AEEF; font-size: 0.72rem; font-weight: 700; letter-spacing: 4px; padding: 6px 20px; border-radius: 20px; margin-bottom: 25px; }

.be-hero-title { font-size: 4rem; font-weight: 900; line-height: 1.1; margin: 0 0 25px; color: white !important; }

.be-hero-title span { background: linear-gradient(90deg, #00AEEF, #00d4ff); -webkit-background-clip: text; -webkit-text-fill-color: transparent !important; }

.be-hero-subtitle { font-size: 1.2rem; color: rgba(255,255,255,0.8); max-width: 650px; margin: 0 auto 45px; line-height: 1.8; }

.be-hero-ctas { display: flex; gap: 20px; justify-content: center; }

.be-cta-primary { display: inline-block; background: #00AEEF; color: white !important; text-decoration: none; font-weight: 700; padding: 18px 40px; border-radius: 50px; transition: 0.3s; box-shadow: 0 10px 25px rgba(0,174,239,0.3); }

.be-cta-secondary { display: inline-block; background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.3); color: white !important; text-decoration: none; font-weight: 600; padding: 18px 40px; border-radius: 50px; }

/* --- VALUE --- */
.be-value-section { padding: 100px 0; background: white; }

.be-container { max-width: 1140px; margin: 0 auto; padding: 0 25px; }

.be-value-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 80px; align-items: center; }

.be-label { display: block; font-size: 0.75rem; font-weight: 800; letter-spacing: 4px; color: #00AEEF; text-transform: uppercase; margin-bottom: 15px; }

.be-value-text h2 { font-size: 2.6rem; font-weight: 900; color: #023E73; margin-bottom: 25px; }

.be-value-text p { font-size: 1.05rem; line-height: 1.9; color: #555; margin-bottom: 20px; }

.be-main-img { width: 100%; border-radius: 30px; box-shadow: 0 30px 60px rgba(0,0,0,0.1); }

/* --- CHALLENGE --- */
.be-challenge-section { padding: 80px 0; background: #f0f7ff; text-align: center; }

.be-challenge-box { max-width: 900px; margin: 0 auto; }

.be-challenge-box h3 { font-size: 1.8rem; font-weight: 800; color: #023E73; line-height: 1.4; margin-bottom: 25px; font-style: italic; }

.be-challenge-box p { font-size: 1.15rem; color: #555; line-height: 1.9; }

/* --- FEATURES GRID --- */
.be-features-section { padding: 100px 0; background: white; }

.be-section-header { text-align: center; margin-bottom: 60px; }

.be-section-title { font-size: 2.5rem; font-weight: 900; color: #023E73; margin: 10px 0 20px; }

.be-features-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 25px; margin-bottom: 60px; }

.be-feature-card { background: #f8fbfd; padding: 40px 25px; border-radius: 20px; text-align: center; border-bottom: 4px solid #00AEEF; transition: 0.3s; }

.be-feature-card:hover { transform: translateY(-10px); box-shadow: 0 20px 50px rgba(0,0,0,0.08); }

.be-feature-icon { font-size: 2.5rem; margin-bottom: 20px; }

.be-feature-card h4 { font-size: 1.25rem; font-weight: 800; color: #023E73; margin-bottom: 15px; }

.be-feature-card p { font-size: 0.9rem; color: #666; line-height: 1.7; margin: 0; }

.be-features-plus { text-align: center; max-width: 800px; margin: 0 auto; padding: 40px; background: #f0f7ff; border-radius: 25px; }

.be-features-plus p { font-size: 1.05rem; color: #023E73; margin-bottom: 25px; line-height: 1.6; }

/* --- FINAL CTA --- */
.be-final-cta { padding: 80px 0; background: white; }

.be-cta-box { background: #023E73; padding: 80px; border-radius: 40px; text-align: center; color: white; }

.be-cta-box h2 { font-size: 2.5rem; color: white !important; font-weight: 800; margin-bottom: 20px; }

.be-cta-box p { font-size: 1.1rem; color: rgba(255,255,255,0.7); margin-bottom: 40px; }

.be-cta-links { display: flex; gap: 20px; justify-content: center; }

.be-cta-secondary-dark { display: inline-block; border: 2px solid white; color: white !important; font-weight: 700; padding: 18px 40px; border-radius: 50px; text-decoration: none; }

/* PAGINATION */
.be-pagination { padding: 40px 0; border-top: 1px solid #eee; }

.be-pag-flex { display: flex; justify-content: space-between; }

.be-pag-link { text-decoration: none; font-weight: 700; color: #00AEEF; font-size: 0.9rem; }

/* RESPONSIVE */
@media (max-width: 1100px) {
    .be-hero-title { font-size: 2.8rem; }
    .be-value-grid { grid-template-columns: 1fr; gap: 50px; }
    .be-features-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
    .be-features-grid { grid-template-columns: 1fr; }
}

/* ==========================================================================
   BOUTIQUE SPECIAL TEMPLATE (FASHION AESTHETIC)
   ========================================================================== */
.bq-special-template { background: #fff; font-family: 'Montserrat', sans-serif; }

/* --- HERO --- */
.bq-hero-wrapper {
    min-height: 90vh;
    background: url('https://images.unsplash.com/photo-1441984904996-e0b6ba687e04?w=1600&q=80') no-repeat center center;
    background-size: cover;
    background-attachment: fixed;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.bq-hero-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.5); }

.bq-hero-content { position: relative; z-index: 10; color: white; padding: 0 20px; }

.bq-badge { display: inline-block; font-size: 0.7rem; font-weight: 800; letter-spacing: 6px; color: #00AEEF; margin-bottom: 30px; }

.bq-hero-title { font-size: 5rem; font-weight: 900; line-height: 1; text-transform: uppercase; margin: 0 0 30px; color: white !important; }

.bq-hero-title span { color: #00AEEF; -webkit-text-stroke: 1px white; -webkit-text-fill-color: transparent; }

.bq-hero-subtitle { font-size: 1.25rem; font-weight: 300; max-width: 700px; margin: 0 auto; line-height: 1.6; color: rgba(255,255,255,0.8); }

.bq-hero-scroll { margin-top: 60px; display: flex; flex-direction: column; align-items: center; gap: 15px; }

.bq-scroll-line { width: 1px; height: 60px; background: rgba(255,255,255,0.3); position: relative; overflow: hidden; }

.bq-scroll-line:after { content: '\2192'; position: absolute; top: 0; left: 0; width: 100%; height: 30px; background: #00AEEF; animation: bqScroll 2s infinite ease-in-out; }

@keyframes bqScroll { 0% { transform: translateY(-100%); } 100% { transform: translateY(200%); } }

.bq-scroll-text { font-size: 0.65rem; letter-spacing: 4px; font-weight: 700; opacity: 0.6; }

/* --- INTRO SECTION --- */
.bq-intro-section { padding: 120px 0; }

.bq-container { max-width: 1200px; margin: 0 auto; padding: 0 25px; }

.bq-intro-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 100px; align-items: center; }

.bq-label { display: block; font-size: 0.7rem; font-weight: 900; letter-spacing: 5px; color: #00AEEF; margin-bottom: 20px; }

.bq-intro-text h2 { font-size: 3rem; font-weight: 900; line-height: 1.1; color: #023E73; margin-bottom: 30px; text-transform: uppercase; }

.bq-intro-text p { font-size: 1.1rem; line-height: 1.9; color: #555; margin-bottom: 25px; }

.bq-fashion-card { position: relative; }

.bq-float-img { width: 100%; border-radius: 5px; box-shadow: 20px 20px 0 #f0f7ff; }

.bq-img-accent { position: absolute; top: -30px; right: -30px; width: 200px; height: 200px; border: 2px solid #00AEEF; z-index: -1; }

/* --- CHALLENGE --- */
.bq-challenge-section { padding: 120px 0; background: #023E73; color: white; }

.bq-challenge-box { max-width: 900px; margin: 0 auto; text-align: center; }

.bq-challenge-header h2 { font-size: 2.8rem; font-weight: 900; color: white !important; margin-bottom: 25px; }

.bq-challenge-header p { font-size: 1.2rem; color: rgba(255,255,255,0.7); margin-bottom: 60px; }

.bq-uniqueness-highlight { display: flex; align-items: center; gap: 40px; padding: 50px; border: 1px solid rgba(255,255,255,0.1); border-radius: 5px; margin-bottom: 50px; background: rgba(255,255,255,0.03); }

.bq-uni-text h3 { font-size: 2.5rem; font-weight: 900; color: #00AEEF; margin: 0; white-space: nowrap; }

.bq-uni-text p { font-size: 0.7rem; letter-spacing: 4px; font-weight: 700; margin-top: 5px; color: white; }

.bq-uni-desc p { font-size: 1.1rem; line-height: 1.6; text-align: left; margin: 0; }

/* --- SOLUTION --- */
.bq-solution-section { padding: 120px 0; background: #fff; }

.bq-sol-grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 80px; align-items: center; }

.bq-main-sol-img { width: 100%; box-shadow: 0 40px 80px rgba(0,0,0,0.1); }

.bq-sol-text h2 { font-size: 3.5rem; font-weight: 900; color: #023E73; margin-bottom: 30px; }

.bq-sol-text p { font-size: 1.1rem; line-height: 1.8; color: #555; margin-bottom: 25px; }

/* --- ADDITIONAL SERVICES --- */
.bq-additional-services { padding: 100px 0; background: #fafafa; }

.bq-services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; margin-top: 50px; }

.bq-service-card { display: block; height: 350px; position: relative; border-radius: 5px; overflow: hidden; text-decoration: none; }

.bq-service-bg { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background-size: cover; background-position: center; transition: 0.6s ease; }

.bq-service-card:hover .bq-service-bg { transform: scale(1.02); }

.bq-service-card:after { content: '\2192'; position: absolute; bottom: 0; left: 0; width: 100%; height: 70%; background: linear-gradient(to top, rgba(0,0,0,0.8), transparent); }

.bq-service-content { position: relative; z-index: 10; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; padding: 30px; color: white; }

.bq-service-content h4 { font-size: 1.25rem; font-weight: 800; color: white !important; margin-bottom: 15px; }

.bq-service-link { font-size: 0.75rem; font-weight: 800; letter-spacing: 2px; color: #00AEEF; }

.bq-extra-links { margin-top: 40px; text-align: center; }

.bq-extra-links a { text-decoration: none; color: #023E73; font-weight: 700; font-size: 0.9rem; }

.bq-sep { margin: 0 15px; color: #ccc; }

/* PAGINATION */
.bq-pagination { padding: 60px 0; border-top: 1px solid #eee; }

.bq-pag-flex { display: flex; justify-content: space-between; }

.bq-pag-link { text-decoration: none; font-weight: 800; color: #00AEEF; font-size: 0.75rem; letter-spacing: 2px; text-transform: uppercase; }

/* RESPONSIVE */
@media (max-width: 1000px) {
    .bq-hero-title { font-size: 3rem; }
    .bq-intro-grid { grid-template-columns: 1fr; gap: 50px; }
    .bq-sol-grid { grid-template-columns: 1fr; }
    .bq-uniqueness-highlight { flex-direction: column; text-align: center; }
    .bq-services-grid { grid-template-columns: 1fr; }
}

/* ==========================================================================
   HOTEL SOLUTIONS SPECIAL TEMPLATE
   ========================================================================== */
.ht-special-template { background: #fdfdfd; font-family: 'Montserrat', sans-serif; }

/* --- HERO --- */
.ht-hero-wrapper {
    min-height: 85vh;
    background: url('/wp-content/uploads/luxury_hotel_hero.png') no-repeat center center;
    background-size: cover;
    background-attachment: fixed;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.ht-hero-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: linear-gradient(135deg, rgba(2,62,115,0.85) 0%, rgba(0,174,239,0.7) 100%); }

.ht-hero-content { position: relative; z-index: 10; color: white; padding: 0 20px; }

.ht-badge { display: inline-block; background: rgba(255,255,255,0.15); border: 1px solid rgba(255,255,255,0.3); color: white; font-size: 0.72rem; font-weight: 700; letter-spacing: 4px; padding: 6px 20px; border-radius: 20px; margin-bottom: 25px; }

.ht-hero-title { font-size: 4.5rem; font-weight: 900; line-height: 1.1; margin: 0 0 25px; color: white !important; }

.ht-hero-title span { color: #00AEEF; }

.ht-hero-subtitle { font-size: 1.25rem; color: rgba(255,255,255,0.9); max-width: 650px; margin: 0 auto 45px; line-height: 1.8; }

.ht-hero-ctas { display: flex; gap: 20px; justify-content: center; }

.ht-cta-primary { display: inline-block; background: #00AEEF; color: white !important; text-decoration: none; font-weight: 700; padding: 18px 40px; border-radius: 50px; transition: 0.3s; box-shadow: 0 10px 25px rgba(0,174,239,0.3); }

.ht-cta-secondary { display: inline-block; background: transparent; border: 2px solid white; color: white !important; text-decoration: none; font-weight: 600; padding: 16px 40px; border-radius: 50px; }

/* --- INTRO --- */
.ht-intro-section { padding: 100px 0; background: white; text-align: center; }

.ht-container { max-width: 1140px; margin: 0 auto; padding: 0 25px; }

.ht-intro-box { max-width: 900px; margin: 0 auto; }

.ht-intro-box h2 { font-size: 2.5rem; font-weight: 900; color: #023E73; margin-bottom: 25px; }

.ht-intro-box p { font-size: 1.15rem; line-height: 1.9; color: #555; }

/* --- SECTIONS --- */
.ht-section { padding: 100px 0; }

.ht-booking-engine { background: #f8fbfd; }

.ht-pms-section { background: white; }

.ht-side-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }

.ht-side-grid.reverse { direction: rtl; }

.ht-side-grid.reverse .ht-side-content { direction: ltr; }

.ht-side-grid.reverse .ht-side-visual { direction: ltr; }

.ht-label { display: block; font-size: 0.75rem; font-weight: 800; letter-spacing: 4px; color: #00AEEF; text-transform: uppercase; margin-bottom: 15px; }

.ht-side-content h2 { font-size: 2.8rem; font-weight: 900; color: #023E73; margin-bottom: 25px; line-height: 1.2; }

.ht-side-content p { font-size: 1.05rem; line-height: 1.9; color: #555; margin-bottom: 25px; }

.ht-feature-list { list-style: none; padding: 0; margin-bottom: 30px; }

.ht-feature-list li { position: relative; padding-left: 30px; margin-bottom: 15px; font-size: 1.05rem; }

.ht-feature-list li:before { content: '\2192'; position: absolute; left: 0; color: #00AEEF; font-weight: 900; }

.ht-app-img { width: 100%; border-radius: 15px; box-shadow: 0 30px 60px rgba(0,0,0,0.1); border: 1px solid #eee; }

/* --- FEATURES GRID --- */
.ht-features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; margin-top: 60px; }

.ht-feat-card { background: white; padding: 40px 30px; border-radius: 20px; box-shadow: 0 10px 30px rgba(0,0,0,0.03); border-top: 5px solid #00AEEF; }

.ht-feat-card h4 { font-size: 1.3rem; font-weight: 800; color: #023E73; margin-bottom: 15px; }

.ht-feat-card p { font-size: 0.95rem; color: #666; line-height: 1.7; margin: 0; }

/* --- CHANNEL MANAGER BOX --- */
.ht-channel-manager { background: #023E73; color: white; padding: 120px 0; }

.ht-cm-box { max-width: 1000px; margin: 0 auto; text-align: center; }

.ht-cm-header h2 { font-size: 3rem; font-weight: 900; color: white !important; margin-bottom: 30px; }

.ht-cm-header p { font-size: 1.2rem; color: rgba(255,255,255,0.7); margin-bottom: 60px; }

.ht-cm-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; margin-bottom: 60px; text-align: left; }

.ht-cm-itern h5 { font-size: 1.4rem; color: #00AEEF; margin-bottom: 15px; font-weight: 800; }

.ht-cm-itern p { color: rgba(255,255,255,0.8); line-height: 1.7; font-size: 0.95rem; }

.ht-cm-footer { background: rgba(255,255,255,0.05); padding: 30px; border-radius: 15px; font-size: 1rem; color: rgba(255,255,255,0.9); }

/* --- CTA --- */
.ht-final-cta { padding: 100px 0; background: white; }

.ht-cta-box { background: linear-gradient(135deg, #023E73 0%, #00AEEF 100%); padding: 80px; border-radius: 40px; text-align: center; color: white; }

.ht-cta-box h2 { font-size: 2.8rem; color: white !important; font-weight: 800; margin-bottom: 25px; }

.ht-cta-box p { font-size: 1.15rem; color: rgba(255,255,255,0.8); margin-bottom: 45px; }

.ht-cta-links { display: flex; gap: 20px; justify-content: center; }

.ht-cta-secondary-dark { display: inline-block; border: 2px solid white; color: white !important; font-weight: 700; padding: 18px 40px; border-radius: 50px; text-decoration: none; }

/* PAGINATION */
.ht-pagination { padding: 40px 0; border-top: 1px solid #eee; }

.ht-pag-flex { display: flex; justify-content: space-between; }

.ht-pag-link { text-decoration: none; font-weight: 700; color: #00AEEF; font-size: 0.9rem; }

/* RESPONSIVE */
@media (max-width: 1000px) {
    .ht-hero-title { font-size: 3rem; }
    .ht-side-grid { grid-template-columns: 1fr; gap: 50px; }
    .ht-side-grid.reverse { direction: ltr; }
    .ht-features-grid, .ht-cm-grid { grid-template-columns: 1fr; }
}

/* ==========================================================================
   IMMOBILIARE SPECIAL TEMPLATE (REAL ESTATE PREMIUM)
   ========================================================================== */
.im-special-template { background: #fdfdfd; font-family: 'Montserrat', sans-serif; }

/* --- HERO --- */
.im-hero-wrapper {
    min-height: 85vh;
    background: url('/wp-content/uploads/luxury_immobiliare_hero.png') no-repeat center center;
    background-size: cover;
    background-attachment: fixed;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.im-hero-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: rgba(2,62,115,0.7); }

.im-hero-content { position: relative; z-index: 10; color: white; padding: 0 20px; }

.im-badge { display: inline-block; background: rgba(0,174,239,0.2); border: 1px solid #00AEEF; color: #00AEEF; font-size: 0.75rem; font-weight: 800; letter-spacing: 4px; padding: 8px 25px; border-radius: 5px; margin-bottom: 30px; }

.im-hero-title { font-size: 4.5rem; font-weight: 900; line-height: 1.1; margin: 0 0 25px; color: white !important; }

.im-hero-title span { background: linear-gradient(90deg, #00AEEF, #00d4ff); -webkit-background-clip: text; -webkit-text-fill-color: transparent !important; }

.im-hero-subtitle { font-size: 1.3rem; color: rgba(255,255,255,0.8); max-width: 750px; margin: 0 auto 45px; line-height: 1.8; }

.im-hero-ctas { display: flex; gap: 20px; justify-content: center; }

.im-cta-primary { display: inline-block; background: #00AEEF; color: white !important; text-decoration: none; font-weight: 700; padding: 18px 40px; border-radius: 5px; transition: 0.3s; }

.im-cta-secondary { display: inline-block; background: transparent; border: 2px solid white; color: white !important; text-decoration: none; font-weight: 600; padding: 16px 40px; border-radius: 5px; }

/* --- INTRO --- */
.im-intro-section { padding: 120px 0; background: white; text-align: center; }

.im-container { max-width: 1200px; margin: 0 auto; padding: 0 25px; }

.im-intro-text h2 { font-size: 3rem; font-weight: 900; color: #023E73; margin-bottom: 30px; letter-spacing: -1px; }

.im-intro-text p { font-size: 1.2rem; line-height: 2; color: #555; max-width: 900px; margin: 0 auto; }

/* --- SOLUTIONS CARDS --- */
.im-solutions-section { padding: 100px 0; background: #fafafa; }

.im-sol-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }

.im-sol-card { background: white; padding: 60px 40px; border-radius: 10px; box-shadow: 0 20px 50px rgba(0,0,0,0.05); position: relative; border-bottom: 8px solid #00AEEF; transition: 0.3s; }

.im-sol-card:hover { transform: translateY(-10px); }

.im-sol-card.pro { border-bottom-color: #023E73; }

.im-card-tag { display: inline-block; font-size: 0.65rem; font-weight: 800; background: #e0f4ff; color: #00AEEF; padding: 6px 15px; border-radius: 3px; margin-bottom: 25px; }

.im-card-tag.pro { background: #023E73; color: white; }

.im-sol-card h3 { font-size: 2.2rem; font-weight: 900; color: #333; margin-bottom: 25px; }

.im-card-list { list-style: none; padding: 0; margin-top: 30px; }

.im-card-list li { position: relative; padding-left: 35px; margin-bottom: 12px; font-weight: 600; color: #444; }

.im-card-list li:before { content: '\2192'; position: absolute; left: 0; color: #00AEEF; font-weight: 900; font-size: 1.2rem; }

/* --- CRM SECTION --- */
.im-crm-section { padding: 120px 0; background: white; }

.im-crm-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 80px; align-items: center; }

.im-app-img { width: 100%; border-radius: 10px; box-shadow: 0 40px 80px rgba(0,0,0,0.08); }

.im-crm-content h2 { font-size: 3rem; font-weight: 900; color: #023E73; margin-bottom: 30px; }

.im-crm-content p { font-size: 1.1rem; line-height: 1.9; color: #555; margin-bottom: 35px; }

.im-feat-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }

.im-feat-item strong { display: block; font-size: 1.1rem; color: #00AEEF; margin-bottom: 5px; }

.im-feat-item p { font-size: 0.95rem; margin: 0; }

.im-security-bar { margin-top: 80px; text-align: center; padding: 30px; background: #f0f7ff; border-radius: 5px; font-size: 1.1rem; color: #023E73; }

/* --- CTA --- */
.im-final-cta { padding: 100px 0; background: #fafafa; }

.im-cta-box { background: linear-gradient(135deg, #023E73 0%, #00AEEF 100%); padding: 100px 60px; border-radius: 10px; text-align: center; color: white; }

.im-cta-box h2 { font-size: 3rem; color: white !important; font-weight: 900; margin-bottom: 25px; }

.im-cta-box p { font-size: 1.25rem; color: rgba(255,255,255,0.8); margin-bottom: 50px; }

.im-cta-links { display: flex; gap: 20px; justify-content: center; }

.im-cta-secondary-dark { display: inline-block; border: 2px solid white; color: white !important; font-weight: 700; padding: 18px 40px; border-radius: 5px; text-decoration: none; }

/* PAGINATION */
.im-pagination { padding: 50px 0; border-top: 1px solid #eee; }

.im-pag-flex { display: flex; justify-content: space-between; }

.im-pag-link { text-decoration: none; font-weight: 800; color: #00AEEF; font-size: 0.85rem; letter-spacing: 1px; text-transform: uppercase; }

/* RESPONSIVE */
@media (max-width: 1000px) {
    .im-hero-title { font-size: 3rem; }
    .im-sol-grid, .im-crm-grid { grid-template-columns: 1fr; }
    .im-cta-box { padding: 60px 40px; }
}

/* ==========================================================================
   CLOUD PROFESSIONALI SPECIAL TEMPLATE
   ========================================================================== */
.cp-special-template { background: #fdfdfd; font-family: 'Montserrat', sans-serif; }

/* --- HERO --- */
.cp-hero-wrapper {
    min-height: 80vh;
    background: url('/wp-content/uploads/cloud_professionali_hero.png') no-repeat center center;
    background-size: cover;
    background-attachment: fixed;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.cp-hero-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: linear-gradient(135deg, rgba(2,62,115,0.8) 0%, rgba(2,62,115,0.6) 100%); }

.cp-hero-content { position: relative; z-index: 10; color: white; padding: 0 20px; }

.cp-badge { display: inline-block; background: rgba(0,174,239,0.2); border: 1px solid #00AEEF; color: #00AEEF; font-size: 0.72rem; font-weight: 700; letter-spacing: 4px; padding: 6px 20px; border-radius: 5px; margin-bottom: 25px; }

.cp-hero-title { font-size: 4.5rem; font-weight: 900; line-height: 1.1; margin: 0 0 25px; color: white !important; }

.cp-hero-title span { color: #00AEEF; }

.cp-hero-subtitle { font-size: 1.25rem; color: rgba(255,255,255,0.9); max-width: 650px; margin: 0 auto 45px; line-height: 1.8; }

.cp-hero-ctas { display: flex; gap: 20px; justify-content: center; }

.cp-cta-primary { display: inline-block; background: #00AEEF; color: white !important; text-decoration: none; font-weight: 700; padding: 18px 40px; border-radius: 5px; transition: 0.3s; }

.cp-cta-secondary { display: inline-block; background: transparent; border: 2px solid white; color: white !important; text-decoration: none; font-weight: 600; padding: 16px 40px; border-radius: 5px; }

/* --- INTRO --- */
.cp-intro-section { padding: 100px 0; background: white; text-align: center; }

.cp-container { max-width: 1140px; margin: 0 auto; padding: 0 25px; }

.cp-label { display: block; font-size: 0.75rem; font-weight: 800; letter-spacing: 4px; color: #00AEEF; text-transform: uppercase; margin-bottom: 15px; }

.cp-intro-box h2 { font-size: 2.8rem; font-weight: 900; color: #023E73; margin-bottom: 25px; }

.cp-intro-box p { font-size: 1.15rem; line-height: 1.9; color: #555; max-width: 900px; margin: 0 auto; }

/* --- DATA SECTION --- */
.cp-data-section { padding: 80px 0; background: #f8fbfd; }

.cp-data-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; margin-bottom: 40px; }

.cp-data-item { background: white; padding: 40px; border-radius: 10px; text-align: center; box-shadow: 0 10px 30px rgba(0,0,0,0.03); }

.cp-data-item.highlight { border: 2px solid #00AEEF; }

.cp-data-val { font-size: 3.5rem; font-weight: 900; color: #00AEEF; margin-bottom: 10px; }

.cp-data-item p { font-size: 1.05rem; color: #023E73; font-weight: 600; }

.cp-data-insight { text-align: center; max-width: 800px; margin: 0 auto; font-size: 1.1rem; color: #666; font-style: italic; }

/* --- PILLARS --- */
.cp-pillars-section { padding: 120px 0; background: white; }

.cp-section-header { text-align: center; margin-bottom: 60px; }

.cp-section-title { font-size: 2.5rem; font-weight: 900; color: #023E73; margin-top: 10px; }

.cp-pillars-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; margin-bottom: 60px; }

.cp-pillar-card { background: white; padding: 50px 30px; border-radius: 10px; text-align: center; transition: 0.3s; border: 1px solid #eee; }

.cp-pillar-card:hover { transform: translateY(-10px); box-shadow: 0 20px 50px rgba(0,0,0,0.05); border-color: #00AEEF; }

.cp-pillar-icon { font-size: 3rem; margin-bottom: 25px; }

.cp-pillar-card h4 { font-size: 1.4rem; font-weight: 800; color: #023E73; margin-bottom: 15px; }

.cp-pillar-card p { font-size: 0.95rem; color: #666; line-height: 1.7; margin: 0; }

.cp-benefits-box { text-align: center; max-width: 800px; margin: 0 auto; padding: 50px; background: #f0f7ff; border-radius: 15px; }

.cp-benefits-box p { font-size: 1.1rem; color: #023E73; margin-bottom: 30px; line-height: 1.8; }

/* --- FINAL CTA --- */
.cp-final-cta { padding: 100px 0; background: #fafafa; }

.cp-cta-box { background: #023E73; padding: 80px; border-radius: 10px; text-align: center; color: white; }

.cp-cta-box h2 { font-size: 3rem; color: white !important; font-weight: 900; margin-bottom: 25px; }

.cp-cta-box p { font-size: 1.2rem; color: rgba(255,255,255,0.7); margin-bottom: 45px; }

.cp-cta-links { display: flex; gap: 20px; justify-content: center; }

.cp-cta-secondary-dark { display: inline-block; border: 2px solid white; color: white !important; font-weight: 700; padding: 18px 40px; border-radius: 5px; text-decoration: none; }

/* PAGINATION */
.cp-pagination { padding: 40px 0; border-top: 1px solid #eee; }

.cp-pag-flex { display: flex; justify-content: space-between; }

.cp-pag-link { text-decoration: none; font-weight: 800; color: #00AEEF; font-size: 0.85rem; letter-spacing: 1px; text-transform: uppercase; }

/* RESPONSIVE */
@media (max-width: 1000px) {
    .cp-hero-title { font-size: 2.8rem; }
    .cp-data-grid, .cp-pillars-grid { grid-template-columns: 1fr; }
}

/* ==========================================================================
   VINICOLTORI SPECIAL TEMPLATE (VINEYARD ELITE)
   ========================================================================== */
.vn-special-template { background: #fdfdfd; font-family: 'Montserrat', sans-serif; }

/* --- HERO --- */
.vn-hero-wrapper {
    min-height: 85vh;
    background: url('/wp-content/uploads/luxury_vineyard_sunset_italy.png') no-repeat center center;
    background-size: cover;
    background-attachment: fixed;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.vn-hero-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: linear-gradient(135deg, rgba(46,4,4,0.75) 0%, rgba(2,62,115,0.4) 100%); }

.vn-hero-content { position: relative; z-index: 10; color: white; padding: 0 20px; }

.vn-badge { display: inline-block; background: rgba(255,255,255,0.15); border: 1px solid rgba(255,255,255,0.3); color: white; font-size: 0.72rem; font-weight: 700; letter-spacing: 4px; padding: 6px 20px; border-radius: 2px; margin-bottom: 25px; }

.vn-hero-title { font-size: 4.2rem; font-weight: 900; line-height: 1.1; margin: 0 0 25px; color: white !important; }

.vn-hero-title span { color: #d4af37; } /* Gold accent for luxury wine */

.vn-hero-subtitle { font-size: 1.25rem; color: rgba(255,255,255,0.9); max-width: 650px; margin: 0 auto 45px; line-height: 1.8; }

.vn-hero-ctas { display: flex; gap: 20px; justify-content: center; }

.vn-cta-primary { display: inline-block; background: #800020; color: white !important; text-decoration: none; font-weight: 700; padding: 18px 40px; border-radius: 2px; transition: 0.3s; box-shadow: 0 10px 25px rgba(128,0,32,0.3); }

.vn-cta-secondary { display: inline-block; background: transparent; border: 2px solid white; color: white !important; text-decoration: none; font-weight: 600; padding: 16px 40px; border-radius: 2px; }

/* --- INTRO --- */
.vn-intro-section { padding: 100px 0; background: #fffaf5; text-align: center; border-bottom: 1px solid #eee; }

.vn-container { max-width: 1140px; margin: 0 auto; padding: 0 25px; }

.vn-label { display: block; font-size: 0.75rem; font-weight: 800; letter-spacing: 4px; color: #800020; text-transform: uppercase; margin-bottom: 15px; }

.vn-intro-box h2 { font-size: 2.8rem; font-weight: 900; color: #2e0404; margin-bottom: 25px; }

.vn-intro-box p { font-size: 1.15rem; line-height: 2; color: #555; max-width: 900px; margin: 0 auto; }

/* --- SECTIONS --- */
.vn-section { padding: 120px 0; }

.vn-side-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }

.vn-side-grid.reverse { direction: rtl; }

.vn-side-grid.reverse .vn-side-content { direction: ltr; }

.vn-side-grid.reverse .vn-side-visual { direction: ltr; }

.vn-side-content h2 { font-size: 2.8rem; font-weight: 900; color: #2e0404; margin-bottom: 25px; line-height: 1.2; }

.vn-side-content p { font-size: 1.1rem; line-height: 1.9; color: #444; margin-bottom: 30px; }

.vn-feature-list { list-style: none; padding: 0; margin-bottom: 35px; }

.vn-feature-list li { position: relative; padding-left: 30px; margin-bottom: 15px; font-size: 1.05rem; color: #555; }

.vn-feature-list li:before { content: '\2192'; position: absolute; left: 0; color: #800020; font-size: 1.8rem; line-height: 1; top: -5px; }

/* --- VISUAL ELEMENTS --- */
.vn-video-placeholder { background: #2e0404; height: 400px; border-radius: 15px; display: flex; flex-direction: column; align-items: center; justify-content: center; color: rgba(255,255,255,0.6); gap: 20px; box-shadow: 0 30px 60px rgba(0,0,0,0.1); }

.vn-play-btn { font-size: 4rem; color: white; cursor: pointer; transition: 0.3s; }

.vn-play-btn:hover { transform: scale(1.02); color: #d4af37; }

.vn-browser-mock { background: #eee; padding: 8px 15px; border-radius: 10px 10px 0 0; display: flex; gap: 5px; }

.vn-dot { width: 8px; height: 8px; border-radius: 50%; background: #ccc; }

.vn-app-img { width: 100%; border-radius: 0 0 10px 10px; box-shadow: 0 40px 80px rgba(0,0,0,0.1); }

.vn-action-box { margin-top: 40px; }

.vn-cta-accent { font-weight: 800; color: #800020; text-decoration: none; border-bottom: 2px solid #800020; padding-bottom: 5px; font-size: 1rem; }

/* --- BROCHURE SECTION --- */
.vn-brochure-section { padding: 80px 0; background: #2e0404; color: white; text-align: center; }

.vn-brochure-box h3 { font-size: 2rem; color: white !important; margin-bottom: 15px; }

.vn-brochure-box p { color: rgba(255,255,255,0.7); margin-bottom: 35px; }

/* --- FINAL CTA --- */
.vn-final-cta { padding: 120px 0; background: white; text-align: center; }

.vn-cta-box { background: #f9f4f0; padding: 80px; border-radius: 20px; border: 1px solid #e8e0d8; }

.vn-cta-box h2 { font-size: 2.8rem; color: #2e0404 !important; font-weight: 900; margin-bottom: 25px; }

.vn-cta-box p { font-size: 1.2rem; color: #666; margin-bottom: 45px; }

.vn-cta-links { display: flex; gap: 20px; justify-content: center; }

.vn-cta-secondary-dark { display: inline-block; border: 2px solid #2e0404; color: #2e0404 !important; font-weight: 700; padding: 18px 40px; border-radius: 2px; text-decoration: none; }

/* --- PAGINATION --- */
.vn-pagination { padding: 40px 0; border-top: 1px solid #eee; }

.vn-pag-flex { display: flex; justify-content: space-between; }

.vn-pag-link { text-decoration: none; font-weight: 700; color: #800020; font-size: 0.9rem; }

/* RESPONSIVE */
@media (max-width: 1000px) {
    .vn-hero-title { font-size: 2.8rem; }
    .vn-side-grid { grid-template-columns: 1fr; gap: 50px; }
    .vn-side-grid.reverse { direction: ltr; }
    .vn-video-placeholder { height: 300px; }
}

/* VINICOLTORI VIDEO PLAYER */
.vn-video-container { 
    width: 100%; 
    height: 400px; 
    border-radius: 15px; 
    overflow: hidden; 
    box-shadow: 0 30px 60px rgba(0,0,0,0.1); 
    background: #000;
}
.vn-video-player { 
    width: 100%; 
    height: 100%; 
    object-fit: cover; 
}

/* ==========================================================================
   WEB3 SERVICES SPECIAL TEMPLATE (FUTURISTIC / BLOCKCHAIN)
   ========================================================================== */
.w3-special-template { background: #0b0e14; color: #fff; font-family: 'Montserrat', sans-serif; }

/* --- HERO --- */
.w3-hero-wrapper {
    min-height: 85vh;
    background: url('/wp-content/uploads/web3_services_hero.png') no-repeat center center;
    background-size: cover;
    background-attachment: fixed;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.w3-hero-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: radial-gradient(circle, rgba(11,14,20,0.5) 0%, rgba(11,14,20,0.95) 100%); }

.w3-hero-content { position: relative; z-index: 10; color: white; padding: 0 20px; }

.w3-badge { display: inline-block; background: rgba(0,212,255,0.1); border: 1px solid #00d4ff; color: #00d4ff; font-size: 0.75rem; font-weight: 800; letter-spacing: 4px; padding: 8px 25px; border-radius: 50px; margin-bottom: 30px; }

.w3-hero-title { font-size: 4.8rem; font-weight: 900; line-height: 1; margin: 0 0 25px; color: white !important; }

.w3-hero-title span { color: #00d4ff; text-shadow: 0 0 30px rgba(0,212,255,0.5); }

.w3-hero-subtitle { font-size: 1.3rem; color: rgba(255,255,255,0.7); max-width: 700px; margin: 0 auto 45px; line-height: 1.8; }

.w3-hero-ctas { display: flex; gap: 20px; justify-content: center; }

.w3-cta-primary { display: inline-block; background: #00d4ff; color: #0b0e14 !important; text-decoration: none; font-weight: 800; padding: 18px 40px; border-radius: 5px; transition: 0.3s; box-shadow: 0 0 20px rgba(0,212,255,0.4); }

.w3-cta-secondary { display: inline-block; background: transparent; border: 2px solid white; color: white !important; text-decoration: none; font-weight: 700; padding: 16px 40px; border-radius: 5px; }

/* --- INTRO --- */
.w3-intro-section { padding: 120px 0; background: #0b0e14; text-align: center; }

.w3-container { max-width: 1200px; margin: 0 auto; padding: 0 25px; }

.w3-intro-box h2 { font-size: 3rem; font-weight: 900; color: white !important; margin-bottom: 30px; }

.w3-intro-box p { font-size: 1.3rem; color: rgba(255,255,255,0.6); max-width: 900px; margin: 0 auto; line-height: 1.9; }

/* --- SECTIONS --- */
.w3-section { padding: 120px 0; border-top: 1px solid rgba(255,255,255,0.05); }

.w3-side-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 100px; align-items: center; }

.w3-side-grid.reverse { direction: rtl; }

.w3-side-grid.reverse .w3-side-content { direction: ltr; }

.w3-side-grid.reverse .w3-side-visual { direction: ltr; }

.w3-label { display: block; font-size: 0.7rem; font-weight: 900; letter-spacing: 4px; color: #00d4ff; text-transform: uppercase; margin-bottom: 20px; }

.w3-side-content h2 { font-size: 3rem; font-weight: 900; color: white !important; margin-bottom: 30px; line-height: 1.1; }

.w3-side-content p { font-size: 1.1rem; color: rgba(255,255,255,0.6); margin-bottom: 40px; line-height: 1.8; }

.w3-feat-list { display: grid; gap: 30px; }

.w3-feat-item strong { color: #00d4ff; font-size: 1.1rem; }

.w3-feat-item p { font-size: 0.95rem; margin-top: 5px; color: rgba(255,255,255,0.5); }

/* --- VISUAL ELEMENTS --- */
.w3-nft-card-visual { background: linear-gradient(135deg, #161b22 0%, #0d1117 100%); border: 2px solid #00d4ff; height: 400px; border-radius: 20px; display: flex; flex-direction: column; align-items: center; justify-content: center; position: relative; overflow: hidden; }

.w3-nft-text { font-family: monospace; font-size: 2rem; color: #00d4ff; text-shadow: 0 0 20px rgba(0,212,255,0.5); }

.w3-shield-visual { font-size: 10rem; opacity: 0.2; }

/* --- CONSULTING BOX --- */
.w3-consulting-section { padding: 100px 0; background: #161b22; text-align: center; }

.w3-consult-box h3 { font-size: 2.2rem; margin-bottom: 25px; color: white !important; }

.w3-consult-box p { color: rgba(255,255,255,0.6); margin-bottom: 40px; max-width: 800px; margin-left: auto; margin-right: auto; line-height: 1.8; }

/* --- BLOG LOOP --- */
.w3-blog-loop { padding: 120px 0; background: #0b0e14; }

.w3-posts-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; margin-top: 50px; }

.w3-post-card { background: #161b22; border-radius: 10px; overflow: hidden; transition: 0.3s; border: 1px solid rgba(0,212,255,0.1); }

.w3-post-card:hover { border-color: #00d4ff; transform: translateY(-10px); }

.w3-post-thumb img { width: 100%; height: 200px; object-fit: cover; }

.w3-post-content { padding: 30px; }

.w3-post-content h3 { font-size: 1.3rem; margin-bottom: 15px; }

.w3-post-content h3 a { color: white !important; text-decoration: none; }

.w3-post-excerpt { color: rgba(255,255,255,0.5); font-size: 0.9rem; margin-bottom: 20px; line-height: 1.6; }

.w3-read-more { color: #00d4ff; font-weight: 700; text-decoration: none; font-size: 0.85rem; }

/* --- PAGINATION --- */
.w3-pagination { padding: 50px 0; border-top: 1px solid rgba(255,255,255,0.05); }

.w3-pag-flex { display: flex; justify-content: space-between; }

.w3-pag-link { color: #00d4ff; font-weight: 800; text-decoration: none; font-size: 0.8rem; text-transform: uppercase; letter-spacing: 2px; }

/* RESPONSIVE */
@media (max-width: 1000px) {
    .w3-hero-title { font-size: 3rem; }
    .w3-side-grid, .w3-posts-grid { grid-template-columns: 1fr; }
}

/* ==========================================================================
   WEB3 SERVICES SPECIAL TEMPLATE (LIGHT VERSION - BRAND CONSISTENCY)
   ========================================================================== */
.w3-special-template { background: #fdfdfd; color: #333; }

/* REWRITE DARK STYLES TO LIGHT */
.w3-hero-overlay { background: linear-gradient(135deg, rgba(2,62,115,0.85) 0%, rgba(0,174,239,0.7) 100%); }
.w3-intro-section { background: white; }
.w3-intro-box h2 { color: #023E73 !important; }
.w3-intro-box p { color: #555; }
.w3-section { background: white; border-top: 1px solid #eee; }
.w3-side-content h2 { color: #023E73 !important; }
.w3-side-content p { color: #555; }
.w3-feat-item p { color: #666; }
.w3-nft-card-visual { background: #f8fbfd; border-color: #00AEEF; box-shadow: 0 20px 40px rgba(0,0,0,0.05); }
.w3-nft-text { color: #023E73; text-shadow: none; font-weight: 800; }
.w3-shield-visual { color: #00AEEF; opacity: 0.1; }
.w3-consulting-section { background: #f8fbfd; }
.w3-consult-box h3 { color: #023E73 !important; }
.w3-consult-box p { color: #666; }
.w3-blog-loop { background: white; }
.w3-post-card { background: white; border: 1px solid #eee; box-shadow: 0 5px 15px rgba(0,0,0,0.02); }
.w3-post-card:hover { border-color: #00AEEF; box-shadow: 0 15px 40px rgba(0,0,0,0.05); }
.w3-post-content h3 a { color: #023E73 !important; }
.w3-post-excerpt { color: #666; }
.w3-cta-primary { background: #00AEEF; color: white !important; box-shadow: 0 10px 20px rgba(0,174,239,0.2); }

/* ==========================================================================

/* ==========================================================================
   DYNAMIC CATEGORY ARCHIVE - PREMIUM FLOATING DESIGN
   ========================================================================== */
.archive-hero-dynamic {
    position: relative;
    min-height: 550px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    padding: 120px 0 160px; /* Large bottom padding for overlap */
    background: #000;
}

.hero-bg-blur {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background-size: cover;
    background-position: center;
    filter: brightness(0.6);
    /* Floating / Parallax Lite effect */
    transform: scale(1.02);
    animation: floatingBg 20s infinite alternate ease-in-out;
    z-index: 1;
}

@keyframes floatingBg {
    from { transform: scale(1.02) translateY(0); }
    to { transform: scale(1.05) translateY(-10px); }
}

.hero-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0.3), rgba(0,0,0,0.7));
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    max-width: 850px !important;
    animation: fadeInDown 1s ease-out;
}

.hero-content h1 {
    font-size: 4.2rem;
    font-weight: 900;
    color: white !important;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: -2px;
    text-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.category-description-hero {
    font-size: 1.5rem;
    line-height: 1.6;
    color: rgba(255,255,255,0.95);
    font-weight: 400;
    max-width: 700px;
    margin: 0 auto;
}

/* OVERLAP LOGIC */
.archive-hero-dynamic + .content-area {
    margin-top: -120px !important; /* Force overlap */
    position: relative;
    z-index: 10 !important;
    padding-bottom: 100px;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.blog-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(0,0,0,0.12);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    border: 1px solid rgba(0,0,0,0.05);
}

.blog-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 45px 80px rgba(0,0,0,0.18);
}

.post-thumbnail img {
    width: 100%;
    height: 260px;
    object-fit: cover;
    transition: 0.6s ease;
}

.blog-card:hover .post-thumbnail img {
    transform: scale(1.08);
}

.category-description-hero img { display: none !important; }

@media (max-width: 992px) {
    .blog-grid { grid-template-columns: 1fr 1fr; }
    .hero-content h1 { font-size: 3rem; }
}

@media (max-width: 768px) {
    .blog-grid { grid-template-columns: 1fr; }
    .archive-hero-dynamic { min-height: 400px; padding: 100px 20px; }
    .archive-hero-dynamic + .content-area { margin-top: -60px !important; }
}

/* ==========================================================================
   ENHANCED BLOG ARCHIVE STYLES
   ========================================================================== */

/* Breadcrumb Readability */
.archive-hero-dynamic .breadcrumb {
    display: inline-block;
    background: rgba(0, 0, 0, 0.4);
    padding: 6px 18px;
    border-radius: 50px;
    backdrop-filter: blur(4px);
    margin-bottom: 10px;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 1px;
    color: rgba(255,255,255,0.9);
}

/* Professional Blog Grid Refinement */
.blog-grid {
    padding-top: 20px;
}

.blog-card {
    display: flex;
    flex-direction: column;
    border: none;
    background: #fff;
    box-shadow: 0 15px 45px rgba(0,0,0,0.07);
    border-radius: 20px !important;
    overflow: hidden;
}

.post-thumbnail {
    position: relative;
    overflow: hidden;
}

.blog-card:hover .post-thumbnail img {
    transform: scale(1.1);
}

/* Date Badge on Image */
.post-date-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: white;
    padding: 10px 14px;
    border-radius: 12px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
    line-height: 1;
    z-index: 5;
    transition: 0.3s ease;
}

.blog-card:hover .post-date-badge {
    background: var(--brand-cyan);
    color: white;
}

.post-date-badge span {
    font-weight: 900;
    font-size: 1.4rem;
    font-family: 'Montserrat', sans-serif;
}

.post-date-badge small {
    text-transform: uppercase;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 1px;
    margin-top: 2px;
}

/* Content Area */
.blog-card .post-cont.event-body {
    padding: 30px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.event-footer {
    background: transparent !important;
    padding: 0 !important;
    margin-top: auto;
    border-top: 1px solid rgba(0,0,0,0.05);
    padding-top: 25px !important;
}

.post-meta {
    margin-bottom: 15px;
}

.post-cat a {
    color: var(--brand-cyan);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    text-decoration: none;
}

.blog-card h2 {
    font-size: 1.4rem;
    margin-bottom: 20px;
    line-height: 1.35;
}

.blog-card h2 a {
    color: #1a1a1a;
    transition: color 0.3s;
}

.blog-card h2 a:hover {
    color: var(--brand-cyan);
}

.blog-card p {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.8;
    margin-bottom: 25px;
}

/* Modern Footer Button */
.post-footer {
    margin-top: auto;
    border-top: 1px solid #f0f0f0;
    padding-top: 20px;
}

.read-more-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #1a1a1a !important;
    font-weight: 800;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s;
}

.read-more-btn span {
    transition: transform 0.3s;
    color: var(--brand-cyan);
}

.read-more-btn:hover {
    color: var(--brand-cyan) !important;
}

.read-more-btn:hover span {
    transform: translateX(6px);
}

@media (max-width: 768px) {
    .blog-card .post-content { padding: 25px; }
    .blog-card h2 { font-size: 1.25rem; }
}

/* ==========================================================================
   SINGLE POST ENHANCEMENTS
   ========================================================================== */

.single-post-hero {
    position: relative;
    min-height: 500px;
    background-color: #0b0e14;
    display: flex;
    align-items: center;
    color: white;
    overflow: hidden;
    padding: 100px 0;
}

.single-post-hero .hero-bg {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background-size: cover;
    background-position: center;
    filter: brightness(0.4) saturate(0.8);
    transform: scale(1.02);
    z-index: 1;
}

.single-post-hero .hero-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    z-index: 2;
}

.single-post-hero .hero-content {
    position: relative;
    z-index: 3;
    max-width: 900px !important;
}

.post-meta-top {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
}

.category-badge ul {
    list-style: none; padding: 0; margin: 0; display: flex; gap: 8px;
}

.category-badge a {
    background: var(--brand-cyan);
    color: white;
    padding: 4px 14px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.post-date {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.7);
    font-weight: 500;
}

.single-post-hero h1 {
    font-size: 3.8rem;
    line-height: 1.15;
    color: white !important;
    font-weight: 900;
    margin-bottom: 30px;
    text-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.post-author-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.post-author-info img {
    border-radius: 50%;
    border: 2px solid white;
}

/* Content Area refinement */
.single .entry-content {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.15rem;
    line-height: 1.85;
    color: #333;
}

.single .entry-content h2, 
.single .entry-content h3 {
    margin: 3rem 0 1.5rem;
    color: #1a1a1a;
}

.post-footer-sharing {
    max-width: 800px;
    margin: 60px auto 0;
    padding-top: 40px;
    border-top: 1px solid #eee;
    text-align: center;
}

.post-footer-sharing h4 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: #444;
}

.share-links {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.share-links a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 22px;
    border-radius: 50px;
    color: white !important;
    font-size: 0.85rem;
    font-weight: 700;
    transition: 0.3s;
}

.share-fb { background: #3b5998; }
.share-tw { background: #1da1f2; }
.share-li { background: #0077b5; }

.share-links a:hover { transform: translateY(-3px); opacity: 0.9; }

/* Related Posts */
.related-posts-section {
    margin-top: 100px;
    padding: 80px 0;
    background: #f8fbfc;
}

.related-posts-section .section-title {
    text-align: center;
    font-size: 2.2rem;
    margin-bottom: 50px;
    color: #023E73;
}

@media (max-width: 768px) {
    .single-post-hero h1 { font-size: 2.4rem; }
    .share-links { flex-direction: column; align-items: stretch; }
}

/* ==========================================================================
   PRESENTE PAGE MODERNIZATION
   ========================================================================== */

.presente-hero {
    position: relative;
    min-height: 450px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    overflow: hidden;
}

.presente-hero .hero-bg {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background-size: cover;
    background-position: center;
    filter: brightness(0.5);
    z-index: 1;
}

.presente-hero .hero-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(to bottom, rgba(2, 62, 115, 0.4), rgba(11, 14, 20, 0.8));
    z-index: 2;
}

.presente-hero .hero-content {
    position: relative;
    z-index: 3;
}

.presente-hero h1 {
    font-size: 4.5rem;
    font-weight: 900;
    margin-bottom: 10px;
    letter-spacing: -1px;
}

.presente-hero .hero-subtitle {
    font-size: 1.4rem;
    opacity: 0.9;
    font-weight: 300;
}

.presente-content-wrap {
    padding: 100px 0;
    background: #fff;
    font-size: 1.15rem;
    line-height: 1.8;
}

.modern-text-block {
    max-width: 900px;
    margin: 0 auto 80px;
    text-align: center;
}

.section-icon {
    font-size: 3rem;
    color: var(--brand-cyan);
    margin-bottom: 25px;
}

.presente-quote-row {
    display: flex;
    align-items: center;
    gap: 60px;
    max-width: 1100px;
    margin: 100px auto;
    background: #f8fbfc;
    padding: 60px;
    border-radius: 30px;
}

.quote-image {
    flex: 0 0 300px;
}

.quote-image img {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.modern-blockquote {
    font-size: 1.25rem;
    font-style: italic;
    color: #444;
    position: relative;
    padding-left: 40px;
    border-left: 4px solid var(--brand-cyan);
}

.modern-blockquote footer {
    margin-top: 20px;
    font-style: normal;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--brand-navy);
}

/* Custom Accordion (Details/Summary) */
.presente-story-accordion {
    max-width: 900px;
    margin: 80px auto;
}

.custom-details {
    background: white;
    border: 1px solid #eee;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.custom-details summary {
    padding: 25px 35px;
    cursor: pointer;
    font-weight: 700;
    font-family: 'Montserrat', sans-serif;
    color: var(--brand-navy);
    display: flex;
    justify-content: space-between;
    align-items: center;
    list-style: none;
    transition: background 0.3s;
}

.custom-details summary:hover {
    background: #f9f9f9;
}

.details-body {
    padding: 0 35px 35px;
    color: #555;
    animation: fadeIn 0.4s ease;
}

.highlight-box {
    background: var(--brand-navy);
    color: white;
    padding: 60px;
    border-radius: 24px;
    text-align: left;
}

.highlight-box strong { color: var(--brand-cyan); }

.future-questions {
    max-width: 900px;
    margin: 100px auto;
    text-align: center;
}

.future-questions h2 {
    font-size: 2.8rem;
    margin-bottom: 30px;
}

.final-statement {
    font-size: 1.3rem;
    margin-top: 40px;
    padding: 30px;
    border: 2px dashed var(--brand-cyan);
    border-radius: 15px;
}

.emphasize { color: #ff0000; }

.presente-cta {
    text-align: center;
    margin-top: 80px;
}

.btn-premium {
    display: inline-block;
    background: var(--brand-navy);
    color: white !important;
    padding: 18px 45px;
    border-radius: 50px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: 0.3s;
    box-shadow: 0 10px 20px rgba(2, 62, 115, 0.3);
}

.btn-premium:hover {
    transform: translateY(-5px);
    background: var(--brand-cyan);
    box-shadow: 0 15px 30px rgba(0, 186, 211, 0.4);
}

@media (max-width: 992px) {
    .presente-quote-row { flex-direction: column; text-align: center; padding: 40px; }
    .quote-image { flex: 0 0 auto; width: 250px; }
    .modern-blockquote { padding-left: 0; border-left: none; border-top: 2px solid var(--brand-cyan); padding-top: 20px; }
    .presente-hero h1 { font-size: 3rem; }
}

/* --- FUTURO PAGE MODERNIZATION --- */
.futuro-hero {
    position: relative;
    height: 90vh;
    min-height: 600px;
    width: 100%;
    overflow: hidden;
    display: flex;
    align-items: center;
    background-color: #000;
}

.video-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

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

.hero-overlay-gradient {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(2, 62, 115, 0.6), rgba(0, 0, 0, 0.2));
    z-index: 2;
}

.futuro-hero .hero-content {
    position: relative;
    z-index: 3;
    width: 100%;
}

.futuro-text-shield {
    max-width: 800px;
    padding: 3rem;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 30px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    color: #ffffff;
}

.shield-tag {
    display: block;
    text-transform: uppercase;
    letter-spacing: 3px;
    font-size: 0.9rem;
    color: var(--brand-cyan);
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.futuro-text-shield h1 {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    line-height: 1.1;
    margin-bottom: 2rem;
    color: #ffffff;
    font-weight: 800;
}

.futuro-text-shield h1 .highlight {
    color: var(--brand-cyan);
    display: block;
}

.main-vision {
    font-size: 1.25rem;
    line-height: 1.7;
    margin-bottom: 2.5rem;
    opacity: 0.95;
    font-weight: 400;
}

.shield-footer {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 1.5rem;
    font-size: 1.1rem;
    letter-spacing: 1px;
    color: var(--brand-green);
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.futuro-content-wrap {
    padding: 100px 0;
    background-color: var(--brand-light);
}

.futuro-grid-intro {
    margin-bottom: 80px;
}

.intro-text {
    max-width: 800px;
    margin-bottom: 60px;
}

.intro-text h2 {
    font-size: 3rem;
    color: var(--brand-navy);
    margin-bottom: 1.5rem;
}

.futuro-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.f-card {
    background: #fff;
    padding: 40px;
    border-radius: 20px;
    border: 1px solid var(--border-color);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.f-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
    border-color: var(--brand-cyan);
}

.f-card-icon {
    width: 60px;
    height: 60px;
    background: var(--brand-gray);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    transition: all 0.3s ease;
}

.f-card:hover .f-card-icon {
    background: var(--brand-cyan);
    color: #fff;
}

.f-card-icon i {
    font-size: 30px;
}

.f-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--brand-navy);
}

.section-divider {
    border: 0;
    height: 1px;
    background: linear-gradient(to right, transparent, var(--border-color), transparent);
    margin: 80px 0;
}

.futuro-callout {
    margin-top: 100px;
    background: var(--brand-navy);
    padding: 80px 40px;
    border-radius: 40px;
    color: #fff;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.callout-inner {
    position: relative;
    z-index: 2;
    max-width: 700px;
    margin: 0 auto;
}

.futuro-callout h2 {
    color: #ffffff;
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.futuro-callout p {
    font-size: 1.25rem;
    opacity: 0.9;
    margin-bottom: 2.5rem;
}

@media (max-width: 768px) {
    .futuro-hero {
        height: 70vh;
    }
    .futuro-text-shield {
        padding: 2rem;
        margin: 0 15px;
    }
    .futuro-text-shield h1 {
        font-size: 2.5rem;
    }
    .intro-text h2 {
        font-size: 2.2rem;
    }
}

/* --- IMMAGINIAMO IL FUTURO SPECIFIC STYLES --- */
.futuro-timeline-section {
    margin-top: 80px;
    padding: 60px 0;
}

.timeline-modern-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 50px;
}

.timeline-era {
    background: var(--brand-gray);
    padding: 40px;
    border-radius: 25px;
    border: 1px solid var(--border-color);
    position: relative;
    transition: all 0.3s ease;
}

.timeline-era:hover {
    border-color: var(--brand-cyan);
    transform: translateY(-5px);
}

.era-header {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--brand-navy);
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--brand-cyan);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.timeline-list {
    list-style: none;
    padding: 0;
}

.timeline-list li {
    margin-bottom: 20px;
    font-size: 1.05rem;
    display: flex;
    flex-direction: column;
}

.timeline-list li .year {
    font-weight: 800;
    color: var(--brand-cyan);
    font-size: 0.9rem;
    margin-bottom: 4px;
}

.timeline-list li strong {
    color: var(--brand-navy);
    font-weight: 700;
}

.highlight-era {
    background: var(--brand-navy);
    color: #fff;
    border-color: var(--brand-navy);
}

.highlight-era .era-header {
    color: #ffffff;
    border-bottom-color: var(--brand-green);
}

.highlight-era .timeline-list li strong {
    color: #ffffff;
}

.highlight-era .timeline-list li .year {
    color: var(--brand-green);
}

.full-content-text p {
    margin-bottom: 1.5rem;
    font-size: 1.15rem;
    line-height: 1.8;
}

.highlight-info {
    border-left: 4px solid var(--brand-green);
    padding: 20px 30px;
    background: var(--brand-gray);
    margin: 40px 0;
    font-style: italic;
    font-weight: 600;
    color: var(--brand-navy);
}

@media (max-width: 768px) {
    .timeline-modern-grid {
        grid-template-columns: 1fr;
    }
}

/* --- ENHANCED FUTURO PAGE (VERTICAL TIMELINE & NARRATIVE) --- */
.modern-narrative {
    margin-bottom: 80px;
    max-width: 900px;
}

.section-title-wrap {
    margin-bottom: 40px;
}

.pre-title {
    display: block;
    text-transform: uppercase;
    letter-spacing: 4px;
    font-weight: 700;
    color: var(--brand-cyan);
    font-size: 0.85rem;
    margin-bottom: 10px;
}

.modern-narrative h2 {
    font-size: 3.5rem;
    color: var(--brand-navy);
    line-height: 1.1;
    margin-bottom: 30px;
}

.narrative-text p {
    font-size: 1.2rem;
    line-height: 1.8;
    color: #444;
    margin-bottom: 25px;
}

.lead-para {
    font-size: 1.4rem !important;
    font-weight: 500;
    color: var(--brand-navy) !important;
}

.interactive-quote-box {
    background: var(--brand-gray);
    padding: 40px;
    border-radius: 24px;
    border-left: 6px solid var(--brand-cyan);
    margin: 40px 0;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.interactive-quote-box .question {
    font-size: 1.6rem;
    color: var(--brand-navy);
    margin-bottom: 20px;
    font-weight: 700;
    display: block;
}

.interactive-quote-box p:last-child {
    margin-bottom: 0;
    font-size: 1.15rem;
}

/* Vertical Timeline */
.vertical-history-section {
    padding: 100px 0;
    position: relative;
    background: #fff;
    border-radius: 40px;
}

.vertical-timeline-container {
    position: relative;
    max-width: 800px;
    margin: 60px auto 0;
    padding: 40px 0;
}

.timeline-line {
    position: absolute;
    left: 20px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, transparent, var(--brand-cyan), var(--brand-green), transparent);
    z-index: 1;
}

.timeline-group {
    position: relative;
    margin-bottom: 60px;
    padding-left: 60px;
}

.group-label {
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    font-size: 1rem;
    color: var(--brand-navy);
    background: #fff;
    padding: 5px 15px;
    border: 1px solid var(--brand-cyan);
    border-radius: 30px;
    display: inline-block;
    margin-bottom: 30px;
    position: relative;
    z-index: 2;
}

.group-label::before {
    content: '';
    position: absolute;
    left: -46px;
    top: 50%;
    transform: translateY(-50%);
    width: 12px;
    height: 12px;
    background: var(--brand-cyan);
    border-radius: 50%;
    box-shadow: 0 0 0 6px #fff;
}

.timeline-item {
    position: relative;
    margin-bottom: 30px;
    transition: all 0.3s ease;
    padding: 20px;
    background: var(--brand-gray);
    border-radius: 15px;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -44px;
    top: 28px;
    width: 8px;
    height: 8px;
    background: #ccc;
    border-radius: 50%;
    z-index: 2;
    transition: all 0.3s ease;
}

.timeline-item:hover {
    background: #f0f4f8;
    transform: translateX(10px);
}

.timeline-item:hover::before {
    background: var(--brand-cyan);
    transform: scale(1.5);
}

.t-year {
    font-weight: 800;
    color: var(--brand-cyan);
    font-size: 0.9rem;
    text-transform: uppercase;
    margin-bottom: 5px;
}

.t-content {
    font-size: 1.15rem;
    color: var(--brand-navy);
    font-weight: 600;
}

/* Highlight Era (Vertical) */
.timeline-group.highlight .group-label {
    background: var(--brand-navy);
    color: #fff;
    border-color: var(--brand-navy);
}

.timeline-group.highlight .group-label::before {
    background: var(--brand-green);
}

.timeline-group.highlight .timeline-item {
    background: #eef7f2;
}

.timeline-group.highlight .t-year {
    color: var(--brand-green);
}

@media (max-width: 768px) {
    .modern-narrative h2 {
        font-size: 2.5rem;
    }
    .vertical-timeline-container {
        padding-left: 0;
    }
    .timeline-line {
        left: 15px;
    }
    .timeline-group {
        padding-left: 45px;
    }
    .group-label::before {
        left: -33px;
    }
    .timeline-item::before {
        left: -32px;
    }
}

.modern-blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
    justify-content: center;
    padding: 20px 0;
}

/* Forzatura 4 colonne su desktop reale */
@media (min-width: 1100px) {
    .modern-blog-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 25px;
    }
}

.modern-blog-card {
    background: #ffffff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0,0,0,0.05);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    display: flex;
    flex-direction: column;
    position: relative;
    border: 1px solid rgba(0,0,0,0.03);
    height: 100%;
}

.modern-blog-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    border-color: var(--brand-cyan);
}

.blog-image {
    position: relative;
    height: 160px;
    overflow: hidden;
}

.blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.modern-blog-card:hover .blog-image img {
    transform: scale(1.1);
}

.blog-category {
    position: absolute;
    top: 15px;
    left: 15px;
    background: var(--brand-navy);
    color: #fff;
    padding: 4px 10px;
    border-radius: 30px;
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 2;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

.blog-content {
    padding: 15px 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.blog-content h3 {
    font-size: 1.15rem;
    line-height: 1.3;
    margin-bottom: 10px;
    font-weight: 700;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-content h3 a {
    color: var(--brand-navy);
    text-decoration: none;
    transition: color 0.3s;
}

.modern-blog-card:hover .blog-content h3 a {
    color: var(--brand-cyan);
}

.blog-content p {
    color: #666;
    font-size: 0.85rem;
    line-height: 1.5;
    margin-bottom: 15px;
    flex-grow: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.read-more-btn {
    display: inline-flex;
    align-items: center;
    color: var(--brand-navy);
    font-weight: 700;
    text-decoration: none;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s;
}

.read-more-btn i {
    margin-left: 5px;
    transition: transform 0.3s;
}

.modern-blog-card:hover .read-more-btn {
    color: var(--brand-cyan);
}

.modern-blog-card:hover .read-more-btn i {
    transform: translateX(3px);
}

.no-posts-found {
    padding: 60px;
    background: #f9f9f9;
    border-radius: 30px;
    border: 3px dashed #eee;
    width: 100%;
    color: #888;
    text-align: center;
}

/* ==========================================================================
   PAGINA EVENTI - MODERN DESIGN
   ========================================================================== */

.eventi-hero {
    background: linear-gradient(135deg, var(--brand-navy) 0%, #001f3f 100%);
    min-height: 450px;
    display: flex;
    align-items: center;
    position: relative;
    color: #fff;
    overflow: hidden;
    padding: 80px 0;
}

.eventi-hero::after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background: radial-gradient(circle at 70% 50%, rgba(0, 174, 239, 0.15) 0%, transparent 70%);
    pointer-events: none;
}

.hero-tag {
    display: inline-block;
    background: rgba(0, 174, 239, 0.15);
    color: var(--brand-cyan);
    padding: 6px 15px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 25px;
    border: 1px solid rgba(0, 174, 239, 0.3);
}

.eventi-hero h1 {
    color: #fff;
    font-size: 3.5rem;
    margin-bottom: 20px;
}

.hero-desc {
    font-size: 1.2rem;
    max-width: 600px;
    opacity: 0.9;
    line-height: 1.6;
}

.event-grid {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    gap: 30px;
    padding: 60px 0;
    scroll-snap-type: x mandatory;
    scroll-padding: 30px;
    -webkit-overflow-scrolling: touch;
}

.event-grid::-webkit-scrollbar {
    height: 6px;
}

.event-grid::-webkit-scrollbar-track {
    background: rgba(0,0,0,0.05);
    border-radius: 10px;
}

.event-grid::-webkit-scrollbar-thumb {
    background: var(--brand-cyan);
    border-radius: 10px;
}

.event-card {
    flex: 0 0 250px;
    max-width: 250px;
    scroll-snap-align: start;
    background: #fff;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0,0,0,0.06);
    transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
    border: 1px solid rgba(0,0,0,0.04);
    display: flex;
    flex-direction: column;
}

.event-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 30px 60px rgba(0,0,0,0.12);
    border-color: var(--brand-cyan);
}

.event-image-wrap {
    position: relative;
    height: 160px;
    overflow: hidden;
}

.event-image-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1s ease;
}

.event-card:hover .event-image-wrap img {
    transform: scale(1.1);
}

.event-date-badge {
    position: absolute;
    bottom: 15px;
    left: 15px;
    background: #fff;
    width: 50px;
    height: 50px;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 20px rgba(0,0,0,0.15);
    z-index: 5;
}

.date-day {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--brand-navy);
    line-height: 1;
}

.date-month {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--brand-cyan);
    text-transform: uppercase;
}

.event-body {
    padding: 15px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.event-body h3 {
    font-size: 1rem;
    margin-bottom: 8px;
    color: var(--brand-navy);
    line-height: 1.2;
}

.event-excerpt {
    font-size: 0.75rem;
    color: #666;
    line-height: 1.4;
    margin-bottom: 15px;
    flex-grow: 1;
}

.event-footer {
    background: transparent !important;
    padding: 0 !important;
    margin-top: auto;
    border-top: 1px solid rgba(0,0,0,0.05);
    padding-top: 25px !important;
    display: flex;
    justify-content: flex-start;
}

.btn-event {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--brand-navy);
    color: #fff !important;
    padding: 10px 22px;
    border-radius: 50px;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.7rem;
    letter-spacing: 1px;
    gap: 10px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none !important;
    box-shadow: 0 4px 15px rgba(2, 62, 115, 0.2);
}

.event-card:hover .btn-event {
    background: var(--brand-cyan);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 174, 239, 0.3);
}

.btn-event i {
    font-size: 18px;
    transition: transform 0.3s;
}

.event-card:hover .btn-event i {
    transform: translateX(5px);
}

@media (max-width: 768px) {
 .eventi-hero h1 { font-size: 2.5rem; }
}


/* Separation between Hero and Events Section */
.page-id-56 .site-main.no-hero-padding {
    padding-top: 100px !important;
}

.section-intro.center {
    margin-bottom: 40px;
}

/* ==========================================================================
   CHI SIAMO REDESIGN V4 (2x2 GRID + BRAND ACCENTS)
   ========================================================================== */

:root {
    --cit-blue: #00AEEF;
    --cit-orange: #F39200;
    --cit-green: #8DB92E;
}

/* UTILITY: REMOVE SPACE BEFORE HERO */
.no-hero-padding .site-main {
    padding-top: 0 !important;
}
.no-hero-padding {
    padding-top: 0 !important;
}

/* HERO V3 - REFINED */
.chi-siamo-hero-v3 {
    position: relative;
    height: 70vh;
    min-height: 550px;
    display: flex;
    align-items: center;
    color: #fff;
    overflow: hidden; /* Prevent overlays from spilling */
}

.chi-siamo-hero-v3 .hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
}

.chi-siamo-hero-v3 .hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(2, 62, 115, 0.9) 0%, rgba(0, 174, 239, 0.3) 100%);
    z-index: 1;
}

.chi-siamo-hero-v3 .hero-content {
    position: relative;
    z-index: 10;
}

.chi-siamo-hero-v3 .hero-labels {
    display: flex;
    gap: 15px;
    margin-bottom: 30px;
}

.badge-blue { background: var(--cit-blue); color: #fff; padding: 6px 15px; border-radius: 4px; font-weight: 800; font-size: 0.7rem; }
.badge-orange { background: var(--cit-orange); color: #fff; padding: 6px 15px; border-radius: 4px; font-weight: 800; font-size: 0.7rem; }
.badge-green { background: var(--cit-green); color: #fff; padding: 6px 15px; border-radius: 4px; font-weight: 800; font-size: 0.7rem; }

.chi-siamo-hero-v3 h1 {
    font-size: 5rem;
    font-weight: 900;
    margin-bottom: 20px;
}

.hero-desc { font-size: 1.4rem; max-width: 800px; opacity: 0.95; }

.hero-wave-v3 {
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    line-height: 0;
    z-index: 5;
}

/* CORPORATE ID GRID - NO MORE GRAY */
.corporate-id-grid {
    position: relative;
    z-index: 20; /* Elevate above hero remnants */
    background-color: #ffffff; /* pure white background */
}

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

.id-box {
    background: #ffffff;
    padding: 60px;
    border-radius: 40px;
    border: 1px solid rgba(0,0,0,0.03);
    box-shadow: 0 10px 30px rgba(0,0,0,0.02);
    transition: all 0.3s ease;
    border-top: 8px solid transparent;
}

.id-box:hover {
    transform: translateY(-8px);
    box-shadow: 0 40px 80px rgba(2, 62, 115, 0.08);
}

.box-blue { border-top-color: var(--cit-blue); }
.box-orange { border-top-color: var(--cit-orange); }
.box-green { border-top-color: var(--cit-green); }
.box-navy { border-top-color: var(--brand-navy); }

.id-tag {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 2px;
    margin-bottom: 25px;
    color: var(--brand-navy);
    opacity: 0.5;
}

.id-box h3 {
    font-weight: 800;
    font-size: 2rem;
    color: var(--brand-navy);
    margin-bottom: 25px;
}

.id-box p {
    color: #4a5568;
    font-size: 1rem;
    line-height: 1.8;
}

/* NARRATIVE PILLARS (CENTERED & CLEAN) */
.pillars-narrative {
    background: #fff;
    padding-top: 100px;
}

.pillar-box {
    position: relative;
    height: 700px;
    display: flex;
    align-items: center;
    justify-content: center; /* Centering horizontally */
    text-align: center; /* Centering text */
    padding: 80px;
    color: #fff;
}

.pillar-bg-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
}

.pillar-overlay-v4 {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.85; /* Slightly reduced to feel less 'gray' */
}

.pillar-blue .pillar-overlay-v4 { background: var(--cit-blue); }
.pillar-orange .pillar-overlay-v4 { background: var(--cit-orange); }
.pillar-green .pillar-overlay-v4 { background: var(--cit-green); }

.pillar-wrapper { position: relative; z-index: 5; max-width: 650px; }
.pillar-wrapper h2 { 
    font-size: 4rem; 
    font-weight: 900; 
    margin: 15px 0 35px; 
    color: #ffffff;
    text-shadow: 0 5px 20px rgba(0,0,0,0.3); /* Premium graphic effect for legibility */
}
.pillar-wrapper p { font-size: 1.2rem; line-height: 1.8; margin-bottom: 50px; opacity: 1; } /* Full opacity to remove 'gray' feel on text */

.pillar-btn {
    display: inline-block;
    color: #fff;
    font-weight: 800;
    font-size: 1.2rem;
    text-decoration: underline;
    text-underline-offset: 10px;
}

/* TESTIMONIALS CTA */
.cta-testimonials {
    margin: 100px 0; /* Adding breathing room above and below the box */
}

.cta-testimonials .cta-box-premium {
    background: var(--brand-navy);
    padding: 120px 80px;
    border-radius: 60px;
    color: #fff;
}

.cta-box-premium h2 { font-size: 4rem; font-weight: 900; margin-bottom: 30px; color: #ffffff !important; }
.cta-box-premium p { font-size: 1.4rem; opacity: 1; margin-bottom: 60px; color: #ffffff !important; }

.btn-testimonials {
    display: inline-block;
    padding: 22px 60px;
    background: var(--brand-cyan);
    color: #fff;
    border-radius: 60px;
    font-weight: 800;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.btn-testimonials:hover {
    transform: translateY(-5px);
    background: #fff;
    color: var(--brand-navy);
}

@media (max-width: 991px) {
    .id-grid-container { grid-template-columns: 1fr; }
    .pillar-box { height: auto; padding: 80px 40px; }
    .pillar-wrapper h2 { font-size: 3rem; }
}


/* ==========================================================================
   CHI SIAMO MODERN TEMPLATE STYLES
   ========================================================================== */

.chi-siamo-modern {
    background-color: #fcfcfc;
    color: #333;
    overflow-x: hidden;
}

.chi-siamo-modern .section-padding {
    padding: 100px 0;
}

/* HERO SECTION */
.chi-siamo-hero {
    position: relative;
    height: 60vh;
    min-height: 500px;
    display: flex;
    align-items: center;
    color: #fff;
    overflow: hidden;
}

.chi-siamo-hero .hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transform: scale(1.1);
    transition: transform 10s ease;
}

.chi-siamo-hero:hover .hero-bg {
    transform: scale(1);
}

.chi-siamo-hero .hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(2, 62, 115, 0.85) 0%, rgba(0, 174, 239, 0.4) 100%);
}

.chi-siamo-hero .hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
}

.hero-badge {
    display: inline-block;
    padding: 8px 18px;
    background: var(--brand-cyan);
    color: #fff;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 25px;
    box-shadow: 0 10px 20px rgba(0,174,239,0.3);
}

.chi-siamo-hero h1 {
    font-size: 4.5rem;
    font-weight: 900;
    margin-bottom: 20px;
    text-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.hero-lead {
    font-size: 1.4rem;
    opacity: 0.95;
    max-width: 700px;
    margin: 0 auto;
}

.hero-wave {
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    line-height: 0;
}

/* MODERN CARDS */
.modern-card {
    background: #fff;
    padding: 60px;
    border-radius: 40px;
    box-shadow: 0 40px 100px rgba(0,0,0,0.04);
    position: relative;
    border: 1px solid rgba(0,0,0,0.02);
}

.accent-line {
    width: 80px;
    height: 5px;
    background: var(--brand-cyan);
    margin-bottom: 30px;
    border-radius: 10px;
}

/* VISION & HISTORY */
.vision-box, .history-box {
    padding: 40px;
    border-radius: 30px;
    height: 100%;
    transition: all 0.4s ease;
}

.vision-box {
    background: var(--brand-navy);
    color: #fff;
}

.history-box {
    background: #f8faff;
    border: 1px solid #eef2ff;
}

.vision-box i, .history-box i {
    font-size: 2.5rem;
    margin-bottom: 25px;
    display: block;
}

.vision-box i { color: var(--brand-cyan); }
.history-box i { color: var(--brand-navy); }

/* DEPT GRID */
.dept-grid-modern {
    margin-top: 50px;
}

.dept-card {
    position: relative;
    height: 400px;
    border-radius: 30px;
    overflow: hidden;
    margin-bottom: 30px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
}

.dept-image {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: transform 1s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.dept-card:hover .dept-image {
    transform: scale(1.1);
}

.dept-info {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 40px;
    background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, transparent 100%);
    color: #fff;
}

.btn-dept {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #fff;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 1px;
    margin-top: 15px;
}

.btn-dept i {
    transition: transform 0.3s;
}

.btn-dept:hover i {
    transform: translateX(5px);
}

/* INFOCRAPHIC GLASSMORPISM */
.infographic-modern .glass-container {
    background: rgba(2, 62, 115, 0.95);
    backdrop-filter: blur(20px);
    padding: 80px 60px;
    border-radius: 50px;
    color: #fff;
    box-shadow: 0 50px 100px rgba(2, 62, 115, 0.4);
}

.stat-circle {
    width: 150px;
    height: 150px;
    border: 8px solid var(--brand-cyan);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 2.5rem;
    font-weight: 900;
}

.badge-results {
    background: rgba(255,255,255,0.1);
    padding: 5px 15px;
    border-radius: 50px;
    font-size: 0.7rem;
    text-transform: uppercase;
    margin-bottom: 15px;
    display: inline-block;
}

.bar-chart-modern {
    display: flex;
    align-items: flex-end;
    gap: 15px;
    justify-content: center;
    height: 150px;
    margin-top: 30px;
}

.bar-chart-modern .bar {
    width: 40px;
    background: var(--brand-cyan);
    border-radius: 5px 5px 0 0;
    position: relative;
    transition: all 1s ease;
}

.bar-chart-modern .bar span {
    position: absolute;
    top: -30px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.75rem;
    font-weight: 800;
}

/* AI INSIGHTS QUOTE */
.modern-quote-box {
    background: #fff;
    border-radius: 40px;
    border: 1px solid #eef2ff;
    padding: 60px;
    box-shadow: 0 40px 100px rgba(0,0,0,0.03);
}

.quote-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 40px;
}

.ai-avatar {
    width: 60px;
    height: 60px;
    background: var(--brand-navy);
    color: var(--brand-cyan);
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
}

.ai-title {
    font-weight: 800;
    text-transform: uppercase;
    color: var(--brand-navy);
    letter-spacing: 1px;
}

.quote-grid h5 {
    color: var(--brand-navy);
    font-weight: 800;
    margin-bottom: 20px;
    font-size: 1rem;
    border-bottom: 2px solid #f0f4ff;
    padding-bottom: 10px;
}

.quote-grid ul {
    list-style: none;
    padding: 0;
}

.quote-grid ul li {
    margin-bottom: 12px;
    font-size: 0.85rem;
    position: relative;
    padding-left: 15px;
}

.quote-grid ul li::before {
    content: " \2022\;
 color: var(--brand-cyan);
 position: absolute;
 left: 0;
 font-weight: bold;
}

.quote-footer {
 margin-top: 40px;
 padding-top: 30px;
 border-top: 1px solid #f0f4ff;
 font-style: italic;
 color: #666;
}

@media (max-width: 991px) {
 .chi-siamo-hero h1 { font-size: 3rem; }
 .modern-card { padding: 40px; }
 .bar-chart-modern { display: none; }
}



/* ==========================================================================
   CHI SIAMO PREMIUM REDUX (FULL RESTORATION)
   ========================================================================== */

.chi-siamo-premium {
    background: #fff;
    color: #2c3e50;
    line-height: 1.6;
}

/* HERO V2 */
.chi-siamo-hero-v2 {
    position: relative;
    height: 75vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    color: #fff;
    overflow: hidden;
}

.chi-siamo-hero-v2 .hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transform: scale(1.05);
}

.chi-siamo-hero-v2 .hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(2, 62, 115, 0.9) 0%, rgba(0, 174, 239, 0.3) 100%);
}

.chi-siamo-hero-v2 .hero-labels {
    display: flex;
    gap: 15px;
    margin-bottom: 30px;
}

.badge-modern, .badge-it {
    padding: 6px 15px;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 1.5px;
}

.badge-modern { background: var(--brand-cyan); color: #fff; }
.badge-it { border: 1px solid rgba(255,255,255,0.4); color: #fff; }

.chi-siamo-hero-v2 h1 {
    font-size: 5rem;
    font-weight: 900;
    margin-bottom: 25px;
    line-height: 1.1;
}

.hero-desc {
    font-size: 1.5rem;
    max-width: 800px;
    opacity: 0.9;
}

/* EXPERTISE PILLARS */
.expertise-pillars {
    padding: 0;
}

.pillar {
    position: relative;
    height: 600px;
    overflow: hidden;
    display: flex;
    align-items: center;
    padding: 60px;
    color: #fff;
    transition: all 0.5s ease;
}

.pillar-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: transform 1s ease;
}

.pillar:hover .pillar-bg { transform: scale(1.1); }

.pillar-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.92;
}

.pillar-comm .pillar-overlay { background: #E67E22; } /* Giallo/Arancio Cit */
.pillar-tech .pillar-overlay { background: #27AE60; } /* Verde Cit */
.pillar-image .pillar-overlay { background: #2980B9; } /* Blu Cit */

.pillar-content {
    position: relative;
    z-index: 5;
}

.pillar-cat {
    display: block;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 2px;
    margin-bottom: 10px;
    opacity: 0.8;
}

.pillar h2 {
    font-size: 2.8rem;
    font-weight: 800;
    margin-bottom: 40px;
}

.pillar-list ul {
    list-style: none;
    padding: 0;
}

.pillar-list ul li {
    margin-bottom: 12px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 12px;
}

.pillar-list ul li i {
    font-size: 0.9rem;
    opacity: 0.7;
}

/* GLASS INFOGRAPHIC */
.glass-infographic {
    background: rgba(2, 62, 115, 0.95);
    backdrop-filter: blur(25px);
    border-radius: 40px;
    padding: 80px;
    color: #fff;
    box-shadow: 0 40px 80px rgba(0,0,0,0.15);
    border: 1px solid rgba(255,255,255,0.1);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 30px;
}

.stat-circle-small {
    width: 100%;
    border-radius: 20px;
    background: rgba(255,255,255,0.05);
    padding: 25px;
    text-align: center;
    font-size: 1.8rem;
    font-weight: 900;
}

.stat-circle-small span {
    display: block;
    font-size: 0.65rem;
    margin-top: 5px;
    opacity: 0.6;
}

.partners-marquee h5 {
    font-weight: 800;
    text-transform: uppercase;
    margin-bottom: 30px;
    color: var(--brand-cyan);
}

.partners-list {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.partners-list span {
    background: rgba(255,255,255,0.05);
    padding: 8px 15px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 700;
    color: #fff;
}

/* TESTIMONIAL CARDS */
.testimonial-card {
    background: #f8faff;
    padding: 40px;
    border-radius: 25px;
    border: 1px solid #eef2ff;
    height: 100%;
    position: relative;
}

.testimonial-card .rating {
    background: var(--brand-navy);
    color: var(--brand-cyan);
    padding: 5px 12px;
    border-radius: 50px;
    font-size: 0.7rem;
    font-weight: 900;
    position: absolute;
    top: 40px;
    right: 40px;
}

.testimonial-card p {
    font-style: italic;
    font-size: 0.95rem;
    color: #556080;
    margin-top: 30px;
}

.testimonial-card cite {
    display: block;
    margin-top: 25px;
    font-weight: 800;
    text-transform: uppercase;
    color: var(--brand-navy);
}

/* FOUNDER SECTION */
.ai-box-modern {
    background: rgba(255,255,255,0.05);
    padding: 30px;
    border-radius: 20px;
    display: flex;
    gap: 20px;
    margin-top: 40px;
    border: 1px solid rgba(255,255,255,0.05);
}

.ai-box-modern i { font-size: 2rem; color: var(--brand-cyan); }

/* ==========================================================================
   COMUNICAZIONE SUB-PAGE (BLUE MATRIX)
   ========================================================================== */

.comunicazione-page {
    background: #ffffff;
    font-family: 'Outfit', sans-serif;
}

/* HERO */
.comm-hero {
    position: relative;
    height: 70vh;
    min-height: 550px;
    display: flex;
    align-items: center;
    color: #fff;
    overflow: hidden;
}

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

.comm-hero .hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(2, 62, 115, 0.9) 0%, rgba(0, 174, 239, 0.4) 100%);
    z-index: 2;
}

.comm-hero .hero-content {
    position: relative;
    z-index: 10;
}

.comm-hero h1 {
    font-size: 5rem;
    font-weight: 900;
    margin-bottom: 25px;
    line-height: 1.1;
}

.comm-hero .hero-labels {
    display: flex;
    gap: 15px;
    margin-bottom: 30px;
}

.badge-blue { background: var(--cit-blue); color: #fff; padding: 8px 18px; border-radius: 50px; font-weight: 800; font-size: 0.75rem; letter-spacing: 2px; }
.badge-white { border: 1px solid rgba(255,255,255,0.4); color: #fff; padding: 8px 18px; border-radius: 50px; font-weight: 800; font-size: 0.75rem; letter-spacing: 2px; }

.hero-wave {
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    line-height: 0;
    z-index: 15;
}

/* INTRO & QUESTIONS */
.tag-blue { color: var(--cit-blue); font-weight: 800; font-size: 0.8rem; letter-spacing: 2px; text-transform: uppercase; margin-bottom: 15px; display: inline-block; }

.key-questions-grid {
    display: flex;
    gap: 20px;
    margin: 40px 0;
}

.question-pill {
    flex: 1;
    padding: 20px;
    background: #f4f7fa;
    border-radius: 20px;
    text-align: center;
    font-weight: 800;
    color: var(--brand-navy);
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.question-pill:hover {
    background: var(--cit-blue);
    color: #fff;
    transform: translateY(-5px);
}

/* PROCESS CARDS */
.process-card {
    background: #fff;
    padding: 50px;
    border-radius: 30px;
    border: 1px solid #f0f4ff;
    height: 100%;
    transition: all 0.3s ease;
}

.process-card.highlight {
    background: var(--brand-navy);
    color: #fff;
}

.process-card.highlight h3 { color: #fff; }
.process-card.highlight .step-num { color: var(--cit-blue); }

.step-num {
    font-size: 3rem;
    font-weight: 900;
    color: #f0f4ff;
    line-height: 1;
    margin-bottom: 20px;
}

.process-card h3 { font-weight: 800; margin-bottom: 15px; }

/* SERVICE MATRIX */
.service-modern-box {
    background: #fff;
    padding: 40px;
    border-radius: 30px;
    border: 1px solid #f0f4ff;
    height: 100%;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.service-modern-box:hover {
    transform: translateY(-10px);
    box-shadow: 0 40px 80px rgba(2, 62, 115, 0.05);
}

.service-modern-box i {
    font-size: 2.5rem;
    color: var(--cit-blue);
    margin-bottom: 25px;
    display: block;
}

.service-modern-box h4 {
    font-weight: 800;
    color: var(--brand-navy);
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.service-modern-box p {
    color: #6c757d;
    font-size: 0.95rem;
    margin-bottom: 0;
    line-height: 1.6;
}

/* WP CONTENT */
.wp-dynamic-content .entry-content { max-width: 900px; margin: 0 auto; line-height: 1.8; color: #444; }

/* ==========================================================================
   IMAGE SUB-PAGE (ORANGE THEME)
   ========================================================================== */

.image-page {
    background: #ffffff;
    font-family: 'Outfit', sans-serif;
}

/* HERO */
.img-hero {
    position: relative;
    height: 70vh;
    min-height: 550px;
    display: flex;
    align-items: center;
    color: #fff;
    overflow: hidden;
}

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

.img-hero .hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(243, 146, 0, 0.85) 0%, rgba(2, 62, 115, 0.4) 100%);
    z-index: 2;
}

.img-hero .hero-content {
    position: relative;
    z-index: 10;
}

.img-hero h1 {
    font-size: 5rem;
    font-weight: 900;
    margin-bottom: 25px;
    line-height: 1.1;
}

.img-hero .hero-labels {
    display: flex;
    gap: 15px;
    margin-bottom: 30px;
}

.badge-orange { background: var(--cit-orange); color: #fff; padding: 8px 18px; border-radius: 50px; font-weight: 800; font-size: 0.75rem; letter-spacing: 2px; }
/* badge-white is already defined in the comm section, we can reuse or define here if global scope needed */

@media (max-width: 991px) {
    .img-hero h1 { font-size: 3.5rem; }
    .comunicazione-page, .image-page, .tecnologia-page { overflow-x: hidden; }
}

/* ==========================================================================
   TECNOLOGIA SUB-PAGE (GREEN THEME)
   ========================================================================== */

.tecnologia-page {
    background: #ffffff;
    font-family: 'Outfit', sans-serif;
}

/* HERO */
.tech-hero {
    position: relative;
    height: 70vh;
    min-height: 550px;
    display: flex;
    align-items: center;
    color: #fff;
    overflow: hidden;
}

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

.tech-hero .hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(141, 185, 46, 0.85) 0%, rgba(2, 62, 115, 0.4) 100%);
    z-index: 2;
}

.tech-hero .hero-content {
    position: relative;
    z-index: 10;
}

.tech-hero h1 {
    font-size: 5rem;
    font-weight: 900;
    margin-bottom: 25px;
    line-height: 1.1;
}

.tech-hero .hero-labels {
    display: flex;
    gap: 15px;
    margin-bottom: 30px;
}

.badge-green { background: var(--cit-green); color: #fff; padding: 8px 18px; border-radius: 50px; font-weight: 800; font-size: 0.75rem; letter-spacing: 2px; }

@media (max-width: 991px) {
    .tech-hero h1 { font-size: 3.5rem; }
}

/* ==========================================================================
   HOTEL 360° ECOSYSTEM (H360) - Contemporary Alpine Luxury
   ========================================================================== */
:root {
    --h360-navy: #003366;
    --h360-gold: #C5A059;
    --h360-wood: #8B5A2B;
    --h360-moss: #4A5D23;
    --h360-stone: #6F7378;
    --h360-white: #F9F9F9;
    --h360-anthracite: #2C2C2C;
}

.h360-template { background-color: var(--h360-white); font-family: 'Inter', sans-serif; }
.h360-template h1, .h360-template h2, .h360-template h3 { font-family: 'Playfair Display', serif; }

/* Section Spacing */
.h360-section { padding: 120px 0; position: relative; overflow: hidden; }
.h360-container { width: 90%; max-width: 1400px; margin: 0 auto; }

/* Hero Section */
.h360-hero { 
    height: 100vh; position: relative; display: flex; align-items: center; justify-content: center;
    overflow: hidden; background: #000;
}
.h360-video-bg {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover;
    z-index: 1; opacity: 0.6;
}
.h360-hero-overlay {
    position: absolute; top:0; left:0; width:100%; height:100%; z-index: 2;
    background: linear-gradient(135deg, rgba(0,51,102,0.4) 0%, rgba(0,0,0,0.6) 100%);
}
.h360-hero-content { position: relative; z-index: 3; text-align: center; color: #ffffff !important; max-width: 900px; padding: 0 20px; }
.h360-hero h1 { font-size: 5rem; font-weight: 900; line-height: 1.1; margin-bottom: 25px; text-transform: uppercase; letter-spacing: -2px; color: #ffffff !important; }
.h360-hero p { font-size: 1.5rem; margin-bottom: 40px; opacity: 1; font-weight: 400; color: #ffffff !important; }
.h360-btn-gold { 
    background: var(--h360-gold); color: #fff; padding: 20px 50px; border-radius: 0;
    font-weight: 700; text-transform: uppercase; letter-spacing: 2px; transition: all 0.4s ease;
    border: none;
}
.h360-btn-gold:hover { background: #fff; color: var(--h360-gold); transform: translateY(-5px); box-shadow: 0 10px 30px rgba(0,0,0,0.3); }

/* Pain Point */
.h360-pain-point { background: #fff; text-align: center; }
.h360-pain-point .h360-container { max-width: 850px; }
.h360-pain-point h2 { font-size: 2.8rem; margin-bottom: 40px; color: var(--h360-navy); }
.h360-pain-point p { font-size: 1.25rem; line-height: 1.8; color: var(--h360-stone); font-weight: 300; }

/* 4 Pillars */
.h360-pillar { display: flex; align-items: center; margin-bottom: 0; min-height: 80vh; }
.h360-pillar-content { flex: 0 0 50%; padding: 100px; }
.h360-pillar-image { flex: 0 0 50%; height: 100vh; background-size: cover; background-position: center; position: relative; }
.h360-pillar.reverse { flex-direction: row-reverse; }

.h360-pillar .vn-label { display: inline-block; background: var(--h360-gold); color: #fff; padding: 5px 15px; font-size: 0.7rem; font-weight: 800; letter-spacing: 2px; margin-bottom: 30px; }
.h360-pillar h3 { font-size: 3.5rem; margin-bottom: 30px; color: var(--h360-navy); line-height: 1.2; }
.h360-pillar p { font-size: 1.1rem; line-height: 1.8; color: var(--h360-stone); margin-bottom: 30px; }

/* Solution Logic */
.h360-logic { background: var(--h360-anthracite); color: #fff; }
.h360-logic h2 { color: #fff; margin-bottom: 60px; text-align: center; }
.h360-logic-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.h360-logic-item { padding: 40px; border: 1px solid rgba(255,255,255,0.1); transition: 0.3s; background: rgba(255,255,255,0.03); }
.h360-logic-item:hover { border-color: var(--h360-gold); background: rgba(255,255,255,0.05); }
.h360-logic-item i { font-size: 3rem; color: var(--h360-gold); margin-bottom: 25px; display: block; }
.h360-logic-item h4 { font-size: 1.8rem; margin-bottom: 20px; color: #ffffff; }
.h360-logic-item p { color: rgba(255,255,255,0.85); line-height: 1.6; }

/* CTA Box */
.h360-final-cta { 
    background-color: var(--h360-navy);
    background-size: cover; background-position: center; background-attachment: fixed;
    color: #fff; padding: 15rem 0; text-align: center;
}
.h360-cta-box { max-width: 1000px; margin: 0 auto; padding: 0 20px; display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 400px; }
.h360-cta-box h2 { font-size: 4rem; margin-bottom: 2rem; line-height: 1.1; font-weight: 900; color: #ffffff !important; }
.h360-cta-box .lead { font-size: 1.5rem; color: rgba(255,255,255,0.95) !important; margin-bottom: 3rem !important; }
.h360-cta-box .mt-5 { margin-top: 0 !important; width: 100%; display: flex; flex-direction: column; align-items: center; }

/* Parallax Effect Utilities */
.h360-parallax {
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

@media (max-width: 991px) {
    .h360-hero h1 { font-size: 3rem; }
    .h360-pillar { flex-direction: column !important; min-height: auto; }
    .h360-pillar-content, .h360-pillar-image { flex: 0 0 100%; width: 100%; height: auto; }
    .h360-pillar-content { padding: 60px 40px; }
    .h360-pillar-image { height: 400px; }
    .h360-logic-grid { grid-template-columns: 1fr; }
    .h360-cta-box { padding: 40px 20px; }
}

/* Final Site Polish - Single Post Hero Gap Fix */
.single-post-hero { position: relative; padding-top: 120px !important; padding-bottom: 60px !important; min-height: 400px; background-color: #000; }
.single-post-hero .hero-bg { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background-size: cover; background-position: center; opacity: 0.6; z-index: 1; }
.single-post-hero .hero-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: linear-gradient(180deg, rgba(0,0,0,0.4) 0%, rgba(0,0,0,0.8) 100%); z-index: 2; }
.single-post-hero .container.hero-content { position: relative; z-index: 10; color: white; }

/* ==========================================================================
   CONSULTATION CTA & HOMEPAGE REFINEMENTS
   ========================================================================== */

/* Fix Stats Grid wrapping on desktop */
.stats-grid {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 1.5rem !important;
    flex-wrap: nowrap !important;
}

@media (max-width: 900px) {
    .stats-grid {
        grid-template-columns: 1fr !important;
    }
}

/* Footer Widget Fix */
.footer-col {
    display: flex !important;
    flex-direction: column !important;
}
.footer-col .widget {
    margin-bottom: 2rem;
}
.footer-col img {
    max-width: 100%;
    height: auto;
    margin-bottom: 1.2rem;
    display: block !important;
}

/* Vertical Grid Home (New) */
.vertical-grid-home {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
    margin-top: 3rem;
}

.vertical-card-home {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: all 0.4s ease;
}

.vertical-card-home:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.1);
}

.vertical-card-home .card-image {
    height: 250px;
    position: relative;
    overflow: hidden;
}

.vertical-card-home .card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.vertical-card-home:hover .card-image img {
    transform: scale(1.1);
}

.single-post-hero .container.hero-content { position: relative; z-index: 10; color: white; }

/* ==========================================================================
   CONSULTATION CTA & HOMEPAGE REFINEMENTS
   ========================================================================== */

/* Fix Stats Grid wrapping on desktop */
.stats-grid {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 1.5rem !important;
    flex-wrap: nowrap !important;
}

@media (max-width: 900px) {
    .stats-grid {
        grid-template-columns: 1fr !important;
    }
}

/* Footer Widget Fix */
.footer-col {
    display: flex !important;
    flex-direction: column !important;
}
.footer-col .widget {
    margin-bottom: 2rem;
}
.footer-col img {
    max-width: 100%;
    height: auto;
    margin-bottom: 1.2rem;
    display: block !important;
}

/* Vertical Grid Home (New) */
.vertical-grid-home {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
    margin-top: 3rem;
}

.vertical-card-home {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: all 0.4s ease;
}

.vertical-card-home:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.1);
}

.vertical-card-home .card-image {
    height: 250px;
    position: relative;
    overflow: hidden;
}

.vertical-card-home .card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.vertical-card-home:hover .card-image img {
    transform: scale(1.1);
}

.vertical-card-home .card-content {
    padding: 1.5rem;
    background: var(--brand-navy);
    color: #fff;
    text-align: center;
}

.vertical-card-home .card-content h3 {
    color: #fff;
    font-size: 1.1rem;
    margin: 0;
    font-family: 'Montserrat', sans-serif;
    text-transform: uppercase;
    letter-spacing: 1px;
}

@media (max-width: 991px) {
    .vertical-grid-home { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 767px) {
    .vertical-grid-home { grid-template-columns: 1fr; }
}

/* CTA Promo Box */
.cta-promo-box {
    background: linear-gradient(135deg, var(--brand-navy) 0%, #001a33 100%);
    padding: 5rem 3rem;
    border-radius: 20px;
    color: #fff;
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(0,0,0,0.2);
}

.cta-promo-box h2 {
    color: #fff;
    font-size: 2.5rem;
    margin: 1rem 0;
}

.promo-label {
    background: var(--brand-cyan);
    color: #fff;
    padding: 5px 15px;
    border-radius: 50px;
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 2px;
}

.promo-highlight {
    background: rgba(255,255,255,0.05);
    display: inline-block;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    border: 1px dashed var(--brand-orange);
    margin: 2rem 0;
}

.promo-highlight p {
    margin: 0;
    color: var(--brand-orange);
    font-size: 1.1rem;
}

.btn-orange-cta {
    display: inline-block !important;
    background: var(--brand-orange) !important;
    color: #fff !important;
    padding: 1.2rem 3rem !important;
    border-radius: 50px !important;
    font-weight: 800 !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 10px 20px rgba(243, 146, 0, 0.3) !important;
    text-decoration: none !important;
}

.btn-orange-cta:hover {
    background: #fff !important;
    color: var(--brand-orange) !important;
    transform: translateY(-5px) !important;
    box-shadow: 0 15px 30px rgba(0,0,0,0.2) !important;
}

/* FINAL FOOTER STABILIZATION - OVERRIDE */
.footer-grid {
    display: grid !important;
    grid-template-columns: 1.5fr 1fr 1fr 1.5fr !important;
    gap: 2.5rem !important;
    align-items: start !important;
    flex-wrap: nowrap !important;
}

.footer-col {
    display: flex !important;
    flex-direction: column !important;
    min-width: 0 !important;
    overflow: hidden !important;
}

.footer-col .widget {
    margin-bottom: 2rem !important;
    width: 100% !important;
}

.footer-col img {
    max-width: 100% !important;
    height: auto !important;
    margin-bottom: 1.2rem !important;
    display: block !important;
}

.footer-col h4 {
    margin-top: 0 !important;
    margin-bottom: 1.5rem !important;
}

/* Ripristino Stile Griglia Fotografica (Modern Grid) */
.vertical-grid-home, .vertical-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
    margin-top: 3rem;
}

.vertical-card-home, .vertical-card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: all 0.4s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.vertical-card-home:hover, .vertical-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.1);
}

.vertical-card-home .card-image, .vertical-card .card-image {
    height: 250px;
    position: relative;
    overflow: hidden;
    background: var(--brand-navy);
}

.vertical-card-home .card-image img, .vertical-card .card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.vertical-card-home:hover .card-image img, .vertical-card:hover .card-image img {
    transform: scale(1.1);
}

.vertical-card-home .card-overlay, .vertical-card .card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(2, 62, 115, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.vertical-card-home:hover .card-overlay, .vertical-card:hover .card-overlay {
    opacity: 1;
}

.vertical-card-home .card-overlay span, .vertical-card .card-overlay span {
    color: #fff;
    border: 2px solid #fff;
    padding: 10px 20px;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 1px;
    font-weight: 700;
}

.vertical-card-home .card-content, .vertical-card .card-content {
    padding: 1.5rem;
    background: var(--brand-navy);
    color: #fff;
    text-align: center;
    flex-grow: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.vertical-card-home .card-content h3, .vertical-card .card-content h3, .vertical-card h4 {
    color: #fff;
    font-size: 1.1rem;
    margin: 0;
    font-family: 'Montserrat', sans-serif;
    text-transform: uppercase;
    letter-spacing: 1px;
}

@media (max-width: 991px) {
    .vertical-grid-home, .vertical-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr !important; }
}

@media (max-width: 767px) {
    .vertical-grid-home, .vertical-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr !important; }
}
