/*
Theme Name: AcquaFlow
Theme URI: https://acquaevita.it/
Author: Il tuo nome
Author URI: https://acquaevita.it/
Description: Tema WordPress personalizzato per AcquaèVita.
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: acquaflow
Tags: acqua, depuratori, moderno, responsive
*/

html, body {
    width: 100%;
    max-width: 100vw;
    overflow-x: hidden !important;
}

.container, .container-fluid {
    width: 100%;
    max-width: 1140px;
    margin-left: auto;
    margin-right: auto;
    overflow-x: visible;
}

@media (max-width: 1199.98px) {
    .container, .container-fluid {
        max-width: 960px;
    }
}
@media (max-width: 991.98px) {
    .container, .container-fluid {
        max-width: 100vw;
        padding-left: 8px;
        padding-right: 8px;
        overflow-x: hidden;
    }
}

.row {
    margin-left: 0;
    margin-right: 0;
}

@media (max-width: 991.98px) {
    body {
        overflow-x: hidden !important;
    }
    .container, .container-fluid {
        padding-left: 8px;
        padding-right: 8px;
    }
    .row {
        margin-left: 0;
        margin-right: 0;
    }
}

/* Fix per slider Splide su mobile */
@media (max-width: 991.98px) {
    #splide-prodotti {
        overflow-x: hidden;
    }
    #splide-prodotti .splide__track {
        overflow-x: hidden;
    }
}

:root {
    --picton-blue: #00a6fb;
    --steel-blue: #0582ca;
    --lapis-lazuli: #006494;
    --prussian-blue: #003554;
    --rich-black: #051923;
    --gradient-start: #00a6fb;
    --gradient-end: #003554;
    --accent: #00e6c3;
}

body {
    font-family: 'Raleway', sans-serif;
    color: #333;
    line-height: 1.7;
    background-color: #f8fafc;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    letter-spacing: -0.03em;
}

.display-1, .display-2, .display-3, .display-4 {
    font-weight: 900;
    line-height: 1.1;
}

/* Navbar */
.navbar {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 15px 0;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.navbar-brand {
    font-family: 'Montserrat', sans-serif;
    font-weight: 900;
    font-size: 28px;
    background: linear-gradient(90deg, var(--picton-blue), var(--steel-blue));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -0.5px;
}

.nav-link {
    font-weight: 600;
    margin: 0 8px;
    transition: all 0.3s ease;
    position: relative;
    color: var(--rich-black) !important;
}

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

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

.btn-primary {
    background: linear-gradient(135deg, var(--picton-blue), var(--steel-blue));
    border: none;
    padding: 12px 28px;
    font-weight: 700;
    border-radius: 50px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 5px 15px rgba(0, 166, 251, 0.3);
}

.btn-primary:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 166, 251, 0.4);
}

.btn-outline-primary {
    color: var(--picton-blue);
    border: 2px solid var(--picton-blue);
    font-weight: 600;
    border-radius: 50px;
    padding: 10px 25px;
    transition: all 0.3s ease;
}

.btn-outline-primary:hover {
    background: var(--picton-blue);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 166, 251, 0.3);
}

/* Modern Hero Section */
.hero {
    background: linear-gradient(135deg, rgba(5, 25, 35, 0.95), rgba(0, 53, 84, 0.9)), url('https://picsum.photos/1920/1080?water') center/cover no-repeat;
    color: white;
    padding: 180px 0 120px;
    position: relative;
    overflow: hidden;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(0, 230, 195, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
}

.hero h1 {
    font-size: 3.8rem;
    line-height: 1.1;
    margin-bottom: 25px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.hero p {
    font-size: 1.3rem;
    max-width: 600px;
    opacity: 0.9;
    margin-bottom: 35px;
}

.hero-cta-container {
    display: flex;
    gap: 20px;
    margin-top: 40px;
}

.hero-image-container {
    position: relative;
    perspective: 1200px;
}

.hero-image {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
    transform: perspective(1000px) rotateY(-8deg) rotateX(5deg);
    transition: transform 0.7s ease;
    filter: drop-shadow(0 20px 30px rgba(0, 53, 84, 0.4));
    border: 2px solid rgba(255, 255, 255, 0.15);
}

.hero-image:hover {
    transform: perspective(1000px) rotateY(0) rotateX(0);
}

.hero-stats {
    display: flex;
    gap: 40px;
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 5px;
    background: none;
    color: #fff;
}

/* Offcanvas Mobile Navigation */
.offcanvas {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
}

.offcanvas-header {
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    padding: 20px;
}

.offcanvas-body {
    padding: 20px;
}

.mobile-nav .nav-link {
    display: block;
    padding: 15px 0;
    margin: 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    font-size: 1.1rem;
}

.mobile-nav .btn-primary {
    width: 100%;
    margin-top: 20px;
}

/* Benefits Section */
.benefits {
    padding: 100px 0;
    position: relative;
}

.benefits:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" preserveAspectRatio="none"><path d="M0,0 C50,0 50,100 100,100 L100,0 Z" fill="rgba(245, 251, 255, 0.8)"/></svg>');
    background-size: 100% 100%;
    background-position: bottom;
    z-index: -1;
}

.bye-bye-section {
    background: linear-gradient(135deg, var(--picton-blue), var(--lapis-lazuli));
    color: white;
    border-radius: 20px;
    padding: 50px;
    box-shadow: 0 20px 50px rgba(0, 166, 251, 0.3);
    position: relative;
    overflow: hidden;
}

.bye-bye-section:before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    transform: rotate(30deg);
}

.bye-bye-title {
    font-size: 2.8rem;
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
}

.bye-bye-title:after {
    content: '👋';
    position: absolute;
    right: -60px;
    top: -20px;
    font-size: 3rem;
    animation: wave 2s infinite ease-in-out;
}

@keyframes wave {
    0%, 100% { transform: rotate(0deg); }
    25% { transform: rotate(15deg); }
    75% { transform: rotate(-15deg); }
}

.benefit-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.benefit-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}

.benefit-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--picton-blue), var(--steel-blue));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
    margin-bottom: 25px;
}

/* Products Section */
.products {
    padding: 100px 0;
    background: #f0f7ff;
    position: relative;
    overflow: hidden;
}

.products:before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 40%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 166, 251, 0.05), rgba(5, 25, 35, 0.05));
    clip-path: polygon(100% 0, 100% 100%, 0 0);
    z-index: 0;
}

.section-title {
    position: relative;
    margin-bottom: 60px;
}

.section-title:after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -15px;
    width: 80px;
    height: 5px;
    background: linear-gradient(90deg, var(--picton-blue), var(--accent));
    border-radius: 10px;
}

.section-title.center:after {
    left: 50%;
    transform: translateX(-50%);
}

.product-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    height: 100%;
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.product-card .p-4 {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.product-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}

.product-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--accent);
    color: var(--rich-black);
    font-weight: 700;
    padding: 5px 15px;
    border-radius: 50px;
    font-size: 0.9rem;
    box-shadow: 0 5px 15px rgba(0, 230, 195, 0.3);
}

.product-img {
    height: 220px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.product-card:hover .product-img {
    transform: scale(1.05);
}

.product-card .product-img {
    display: block;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
    height: 220px;
    object-fit: contain !important;
    border-radius: 16px;
    transition: transform 0.5s ease;
    padding-top: 18px;
}

/* Stats Section */
.stats {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--prussian-blue), var(--rich-black));
    color: white;
    position: relative;
    overflow: hidden;
}

.stats:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" preserveAspectRatio="none"><circle cx="50" cy="50" r="40" fill="none" stroke="rgba(0,166,251,0.1)" stroke-width="2"/></svg>');
    background-size: 30px 30px;
    opacity: 0.5;
}

.counter-item {
    text-align: center;
    padding: 30px;
    position: relative;
    z-index: 1;
}

.counter-number {
    font-size: 3.5rem;
    font-weight: 800;
    background: linear-gradient(90deg, var(--picton-blue), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 10px;
}

/* Testimonials */
.testimonials {
    padding: 100px 0;
}

.testimonial-card {
    background: white;
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.08);
    margin-bottom: 30px;
    height: 100%;
    position: relative;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.testimonial-card:before {
    content: '"';
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 5rem;
    font-family: serif;
    color: rgba(0, 166, 251, 0.1);
    line-height: 1;
}

.testimonial-img {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 20px;
    border: 3px solid var(--picton-blue);
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--picton-blue), var(--lapis-lazuli));
    color: white;
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.cta-section:before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    transform: rotate(30deg);
}

.cta-content {
    position: relative;
    z-index: 2;
}

.cta-title {
    font-size: 2.8rem;
    margin-bottom: 20px;
}

/* Footer */
footer {
    background: var(--rich-black);
    color: white;
    padding: 80px 0 30px;
    position: relative;
}

footer:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--picton-blue), var(--accent));
}

.footer-title {
    position: relative;
    padding-bottom: 15px;
    margin-bottom: 20px;
    font-weight: 700;
}

.footer-title:after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 50px;
    height: 3px;
    background: var(--picton-blue);
    border-radius: 3px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    display: block;
    margin-bottom: 12px;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: var(--picton-blue);
    padding-left: 5px;
}

.social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.08);
    color: white;
    border-radius: 50%;
    margin-right: 10px;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.social-icon:hover {
    background: var(--picton-blue);
    transform: translateY(-5px);
}

.copyright {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    margin-top: 50px;
    color: rgba(255, 255, 255, 0.6);
}

/* Floating Elements */
.floating {
    animation: floating 8s ease-in-out infinite;
}

@keyframes floating {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

.floating-1 { animation-delay: 0s; }
.floating-2 { animation-delay: 1s; }
.floating-3 { animation-delay: 2s; }
.floating-4 { animation-delay: 3s; }

/* Water Drop Animation */
.water-drop {
    position: absolute;
    width: 20px;
    height: 20px;
    background: var(--picton-blue);
    border-radius: 50%;
    opacity: 0.6;
    animation: drop 4s linear infinite;
}

@keyframes drop {
    0% {
        transform: translateY(-100px) scale(0.2);
        opacity: 0;
    }
    10% {
        opacity: 0.6;
    }
    90% {
        opacity: 0.4;
    }
    100% {
        transform: translateY(100vh) scale(1);
        opacity: 0;
    }
}

/* Modern Scrollbar */
/* RIMOSSO: scrollbar custom */

/* Responsive Adjustments */
@media (max-width: 992px) {
    .hero h1 {
        font-size: 3rem;
    }
    
    .hero-cta-container {
        flex-direction: column;
        gap: 15px;
    }
    
    .bye-bye-title {
        font-size: 2.2rem;
    }
    
    .cta-title {
        font-size: 2.2rem;
    }
}

@media (max-width: 768px) {
    .hero {
        padding: 150px 0 80px;
        text-align: center;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero p {
        margin: 0 auto 30px;
    }
    
    .hero-content {
        text-align: center;
    }
    
    .hero-stats {
        justify-content: center;
    }
    
    .section-title {
        text-align: center;
    }
    
    .section-title:after {
        left: 50%;
        transform: translateX(-50%);
    }
} 

/* Limita la dimensione massima del logo custom */
.custom-logo,
.custom-logo-link img {
    max-height: 56px;
    width: auto;
    height: auto;
    object-fit: contain;
    display: inline-block;
    margin-left: 2px;
}

.offcanvas .custom-logo,
.offcanvas .custom-logo-link img {
    max-height: 48px;
} 

/* Stile voci menu principale */
.navbar-nav > li {
    display: inline-block;
    position: relative;
}

.navbar-nav > li > a,
.navbar-nav > .menu-item > a,
.navbar-nav > .current-menu-item > a {
    font-weight: 600;
    margin: 0 18px;
    padding: 8px 10px;
    transition: all 0.3s ease;
    position: relative;
    color: var(--rich-black) !important;
    background: none !important;
    border: none !important;
    box-shadow: none !important;
    text-decoration: none;
}

.navbar-nav > li > a:after,
.navbar-nav > .menu-item > a:after,
.navbar-nav > .current-menu-item > a:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--picton-blue);
    transition: width 0.3s ease;
}

.navbar-nav > li > a:hover:after,
.navbar-nav > .menu-item > a:hover:after,
.navbar-nav > .current-menu-item > a:after {
    width: 100%;
}

/* Evidenzia la voce attiva */
.navbar-nav > .current-menu-item > a,
.navbar-nav > .current_page_item > a {
    color: var(--picton-blue) !important;
}

/* Rimuovi padding e background da link attivi */
.navbar-nav > .current-menu-item > a,
.navbar-nav > .current-menu-ancestor > a {
    background: none !important;
    box-shadow: none !important;
}

/* Mobile menu */
.mobile-nav .menu-item > a {
    display: block;
    padding: 15px 0;
    margin: 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    font-size: 1.1rem;
    color: var(--rich-black) !important;
    background: none !important;
    box-shadow: none !important;
    text-decoration: none;
}

.mobile-nav .current-menu-item > a {
    color: var(--picton-blue) !important;
} 

/* Centra il menu nella navbar */
.navbar .navbar-collapse {
    justify-content: center !important;
}

.navbar-nav {
    margin-left: auto;
    margin-right: auto;
}

/* Su mobile, il menu resta a sinistra */
@media (max-width: 991.98px) {
    .navbar .navbar-collapse {
        justify-content: flex-start !important;
    }
    .navbar-nav {
        margin-left: 0;
        margin-right: 0;
    }
} 

/* --- CHI SIAMO PAGE STYLE --- */
.about-hero {
    background: linear-gradient(135deg, rgba(5, 25, 35, 0.95), rgba(0, 53, 84, 0.9)), url('https://acquaflow.it/wp-content/uploads/2025/07/14936.jpg') center/cover no-repeat;
    color: white;
    padding: 120px 0 0 0;
    position: relative;
    overflow: hidden;
    min-height: 50vh;
    height: 50vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}
.about-hero .container, .about-hero .row, .about-hero .col-12 {
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.about-hero:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(0, 230, 195, 0.1) 0%, transparent 70%);
    pointer-events: none;
}
.about-hero h1 {
    font-size: 3.5rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    margin-bottom: 20px;
}
.about-content {
    padding: 100px 0;
}
.mission-card {
    background: white;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.08);
    margin-bottom: 30px;
    height: 100%;
    position: relative;
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.4s ease;
}
.mission-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}
.mission-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--picton-blue), var(--steel-blue));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.8rem;
    margin-bottom: 25px;
}
@media (max-width: 992px) {
    .about-hero h1 {
        font-size: 3rem;
    }
}
@media (max-width: 768px) {
    .about-hero {
        min-height: 35vh;
        height: auto;
        padding: 100px 0 40px 0;
    }
    .about-hero .container, .about-hero .row, .about-hero .col-12 {
        height: auto;
        display: block;
    }
    .about-hero h1 {
        font-size: 2.3rem;
    }
    .mission-card {
        margin-bottom: 32px;
        font-size: 1.13rem;
    }
    .mission-card h4 {
        font-size: 1.25rem;
    }
}

@media (max-width: 576px) {
    .about-hero {
        min-height: 25vh;
        height: auto;
        padding: 90px 0 20px 0;
    }
    .mission-card {
        margin-bottom: 38px;
        font-size: 1.18rem;
    }
    .mission-card h4 {
        font-size: 1.32rem;
    }
} 

/* BLOG ARCHIVE STYLES */
.blog-hero {
    background: linear-gradient(135deg, rgba(5, 25, 35, 0.95), rgba(0, 53, 84, 0.9));
    color: white;
    padding: 180px 0 120px;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    text-align: center;
    justify-content: center;
    flex-direction: column;
}
.blog-hero:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(0, 230, 195, 0.1) 0%, transparent 70%);
    pointer-events: none;
}
.blog-hero h1 {
    font-size: 3.5rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    margin-bottom: 20px;
}
.blog-content {
    padding: 100px 0;
}
.blog-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.08);
    margin-bottom: 30px;
    height: 100%;
    transition: all 0.4s ease;
}
.blog-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}
.blog-img {
    height: 250px;
    object-fit: cover;
    width: 100%;
}
.blog-body {
    padding: 25px;
}
.blog-category {
    display: inline-block;
    background: var(--picton-blue);
    color: white;
    padding: 5px 15px;
    border-radius: 50px;
    font-size: 0.9rem;
    margin-bottom: 15px;
    text-decoration: none;
}
.blog-title {
    font-size: 1.5rem;
    margin-bottom: 15px;
    line-height: 1.3;
}
.blog-title a {
    color: inherit;
    text-decoration: none;
}
.blog-title a:hover {
    color: var(--picton-blue);
}
.blog-meta {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    font-size: 0.9rem;
    color: #666;
}
.blog-meta i {
    margin-right: 5px;
    color: var(--picton-blue);
}
.blog-excerpt {
    margin-bottom: 20px;
}
.blog-sidebar {
    position: sticky;
    top: 100px;
}
.sidebar-widget {
    background: white;
    border-radius: 20px;
    padding: 25px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.08);
    margin-bottom: 30px;
}
.widget-title {
    position: relative;
    padding-bottom: 15px;
    margin-bottom: 20px;
    font-weight: 700;
}
.widget-title:after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 50px;
    height: 3px;
    background: var(--picton-blue);
    border-radius: 3px;
}
.category-list {
    list-style: none;
    padding: 0;
}
.category-list li {
    margin-bottom: 10px;
}
.category-list a {
    display: flex;
    justify-content: space-between;
    color: #333;
    text-decoration: none;
    transition: all 0.3s ease;
    padding: 8px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}
.category-list a:hover {
    color: var(--picton-blue);
    padding-left: 5px;
}
.popular-post {
    display: flex;
    margin-bottom: 20px;
    align-items: center;
}
.popular-post-img {
    width: 80px;
    height: 80px;
    border-radius: 10px;
    object-fit: cover;
    margin-right: 15px;
}
.popular-post-title {
    font-weight: 600;
    font-size: 1rem;
    margin-bottom: 5px;
}
.popular-post-date {
    font-size: 0.8rem;
    color: #666;
}
.tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.tag {
    background: #f0f7ff;
    color: var(--picton-blue);
    padding: 5px 15px;
    border-radius: 50px;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    text-decoration: none;
}
.tag:hover {
    background: var(--picton-blue);
    color: white;
}
.newsletter {
    background: linear-gradient(135deg, var(--picton-blue), var(--lapis-lazuli));
    color: white;
    padding: 60px 0;
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    margin: 80px 0;
}
.newsletter:before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    transform: rotate(30deg);
}
.newsletter-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}
.pagination {
    justify-content: center;
    margin-top: 50px;
}
.page-link {
    margin: 0 5px;
    border-radius: 50% !important;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    color: #333;
    font-weight: 600;
}
.page-link:hover {
    background: var(--picton-blue);
    color: white;
}
.page-item.active .page-link {
    background: var(--picton-blue);
    border-color: var(--picton-blue);
}
@media (max-width: 992px) {
    .blog-hero h1 {
        font-size: 3rem;
    }
}
@media (max-width: 768px) {
    .blog-hero {
        padding: 150px 0 80px;
    }
    .blog-hero h1 {
        font-size: 2.3rem;
    }
    .blog-sidebar {
        margin-top: 50px;
    }
    .col-md-6 {
        flex: 0 0 100%;
        max-width: 100%;
    }
} 

/* Blog Hero Small (come Chi Siamo, con nuova immagine) */
.blog-hero.blog-hero-small {
    min-height: 35vh;
    height: auto;
    padding: 100px 0 40px 0;
    background: linear-gradient(135deg, rgba(5, 25, 35, 0.95), rgba(0, 53, 84, 0.9)), url('https://acquaflow.it/wp-content/uploads/2025/07/142911.jpg') center/cover no-repeat !important;
}
@media (max-width: 768px) {
    .blog-hero.blog-hero-small {
        min-height: 25vh;
        height: auto;
        padding: 90px 0 20px 0;
    }
} 

/* --- SINGLE POST STYLE --- */
.blog-content {
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.07);
    padding: 40px;
    margin-left: auto;
    margin-right: auto;
}
.single-content img {
    max-width: 100%;
    border-radius: 12px;
    margin: 24px 0;
}
.related-articles { margin-top: 60px; }
.related-articles h4 { margin-bottom: 30px; }
.card.h-100 {
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.06);
    border: none;
    overflow: hidden;
    transition: box-shadow 0.3s;
    height: 100%;
}
.card.h-100:hover {
    box-shadow: 0 16px 32px rgba(0,0,0,0.10);
}
.card-img-top {
    border-radius: 16px 16px 0 0;
    object-fit: cover;
    height: 180px;
    width: 100%;
}
.card-title {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 10px;
}
.btn-link {
    color: var(--picton-blue);
    font-weight: 600;
    text-decoration: none;
    padding: 0;
    transition: color 0.2s;
}
.btn-link:hover {
    color: var(--steel-blue);
    text-decoration: underline;
} 

.single-meta-hero {
    text-align: center !important;
    color: #fff;
    margin-top: 18px;
    font-size: 1.1rem;
    font-weight: 500;
    width: 100%;
    display: block;
} 

/* --- CONTATTI PAGE STYLE --- */
.contact-hero {
    background: linear-gradient(135deg, rgba(5, 25, 35, 0.95), rgba(0, 53, 84, 0.9)), url('https://acquaflow.it/wp-content/uploads/2025/07/stephen-phillips-hostreviews-co-uk-3Mhgvrk4tjM-unsplash.jpg') center/cover no-repeat;
    color: white;
    padding: 180px 0 120px;
    position: relative;
    overflow: hidden;
    /* min-height: 70vh; */
    display: flex;
    align-items: center;
    text-align: center;
}
.contact-hero:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(0, 230, 195, 0.1) 0%, transparent 70%);
    pointer-events: none;
}
.contact-hero h1 {
    font-size: 3.5rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    margin-bottom: 20px;
}
@media (max-width: 992px) {
    .contact-hero h1 { font-size: 3rem; }
}
@media (max-width: 768px) {
    .contact-hero { padding: 150px 0 80px; }
    .contact-hero h1 { font-size: 2.3rem; }
}
.contact-content { padding: 100px 0; }
.contact-info-box {
    background: white;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.08);
    margin-bottom: 30px;
}
.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 30px;
}
.contact-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--picton-blue), var(--steel-blue));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    margin-right: 20px;
    flex-shrink: 0;
}
.contact-form {
    background: white;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
}
.contact-form h2 { margin-bottom: 24px; }
.map-container {
    height: 400px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    margin-top: 50px;
}
.map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}
.faq-section {
    padding: 80px 0;
    background: #f0f7ff;
}
.faq-item { margin-bottom: 20px; }
.faq-question {
    background: white;
    border-radius: 15px 15px 0 0;
    padding: 20px;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    border-bottom: none;
}
.faq-question:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}
.faq-answer {
    padding: 20px;
    background: white;
    border-radius: 0 0 15px 15px;
    margin-top: 0;
    display: none;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    border-top: none;
} 

/* --- WPForms Custom Style per pagina Contatti --- */
.wpforms-form {
    background: white;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
}

.wpforms-form .wpforms-field {
    margin-bottom: 20px;
}

.wpforms-form input[type="text"],
.wpforms-form input[type="email"],
.wpforms-form input[type="tel"],
.wpforms-form input[type="url"],
.wpforms-form input[type="number"],
.wpforms-form input[type="password"],
.wpforms-form select,
.wpforms-form textarea {
    padding: 15px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 12px;
    transition: all 0.3s ease;
    font-size: 1rem;
    background: #f8fafc;
    box-shadow: none;
}

.wpforms-form input[type="text"]:focus,
.wpforms-form input[type="email"]:focus,
.wpforms-form input[type="tel"]:focus,
.wpforms-form input[type="url"]:focus,
.wpforms-form input[type="number"]:focus,
.wpforms-form input[type="password"]:focus,
.wpforms-form select:focus,
.wpforms-form textarea:focus {
    border-color: var(--picton-blue);
    box-shadow: 0 0 0 3px rgba(0, 166, 251, 0.2);
    background: #fff;
}

.wpforms-form label {
    font-weight: 600;
    margin-bottom: 8px;
    color: #003554;
    font-size: 1rem;
}

.wpforms-form .wpforms-submit {
    background: linear-gradient(135deg, var(--picton-blue), var(--steel-blue));
    color: #fff;
    border: none;
    border-radius: 50px;
    padding: 14px 0;
    font-weight: 700;
    font-size: 1.1rem;
    width: 100%;
    box-shadow: 0 5px 15px rgba(0, 166, 251, 0.3);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.wpforms-form .wpforms-submit:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 166, 251, 0.4);
    background: linear-gradient(135deg, var(--steel-blue), var(--picton-blue));
}

.wpforms-form .wpforms-field-description,
.wpforms-form .wpforms-error {
    color: #d9534f;
    font-size: 0.95rem;
    margin-top: 4px;
}

.wpforms-form .wpforms-field-checkbox,
.wpforms-form .wpforms-field-radio {
    margin-bottom: 10px;
}

.wpforms-form .wpforms-field-checkbox label,
.wpforms-form .wpforms-field-radio label {
    font-weight: 400;
    color: #333;
    font-size: 0.98rem;
}

.wpforms-form .wpforms-field-required {
    color: #d9534f;
}

.wpforms-form .wpforms-confirmation-container-full {
    background: #e6fff7;
    border: 1px solid var(--picton-blue);
    border-radius: 12px;
    padding: 20px;
    color: #006494;
    font-weight: 600;
    margin-top: 20px;
} 

.footer-logo {
    margin-bottom: 10px;
    display: block;
    max-width: 220px;
}
.footer-contacts, .footer-hours {
    background: none;
    border-radius: 0;
    padding: 0;
    min-height: unset;
    margin-bottom: 0;
    display: block;
    flex-direction: unset;
    justify-content: unset;
}
.footer-contacts p, .footer-hours p {
    margin-bottom: 10px;
    font-size: 1.05rem;
    color: #fff;
    word-break: break-word;
}
@media (max-width: 991.98px) {
    .footer-contacts, .footer-hours {
        min-height: unset;
        padding: 18px 10px;
    }
} 

/* --- PRODOTTI (ARCHIVIO E SINGOLO) --- */
.products-hero {
    background: linear-gradient(135deg, rgba(5, 25, 35, 0.95), rgba(0, 53, 84, 0.9)), url('https://picsum.photos/1920/1080?products') center/cover no-repeat;
    color: white;
    padding: 180px 0 120px;
    position: relative;
    overflow: hidden;
    /* min-height: 70vh; */
    display: flex;
    align-items: center;
    text-align: center;
}
.products-hero:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(0, 230, 195, 0.1) 0%, transparent 70%);
    pointer-events: none;
}
.products-hero h1 {
    font-size: 3.5rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    margin-bottom: 20px;
}
.product-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.08);
    margin-bottom: 30px;
    height: 100%;
    transition: all 0.4s ease;
}
.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}
.product-img {
    height: 220px;
    object-fit: cover;
    width: 100%;
}
.product-hero {
    background: linear-gradient(135deg, rgba(5, 25, 35, 0.95), rgba(0, 53, 84, 0.9)), url('https://picsum.photos/1920/1080?product') center/cover no-repeat;
    color: white;
    padding: 180px 0 120px;
    position: relative;
    overflow: hidden;
    /* min-height: 70vh; */
    display: flex;
    align-items: center;
    text-align: center;
}
.product-hero:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(0, 230, 195, 0.1) 0%, transparent 70%);
    pointer-events: none;
}
.product-hero h1 {
    font-size: 3.5rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    margin-bottom: 20px;
}
.product-img-lg {
    max-width: 400px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.10);
    margin-bottom: 30px;
}
.specs-table {
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.07);
}
.benefits-list li {
    margin-bottom: 10px;
} 

@media (min-width: 992px) {
    .single-prodotto .row.align-items-center > .col-lg-7 { flex: 0 0 70%; max-width: 70%; }
    .single-prodotto .row.align-items-center > .col-lg-5 { flex: 0 0 30%; max-width: 30%; }
}
.modern-specs-table {
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.07);
    font-size: 1.05rem;
    margin-top: 24px;
}
.modern-specs-table th {
    background: #f0f7ff;
    color: #006494;
    font-weight: 700;
    border: none;
    padding: 10px 16px;
    width: 50%;
}
.modern-specs-table td {
    border: none;
    padding: 10px 16px;
    color: #333;
    background: #fff;
}
.modern-specs-table tr:not(:last-child) td,
.modern-specs-table tr:not(:last-child) th {
    border-bottom: 1px solid #e0e7ef;
} 

.product-img-left {
    display: block;
    margin-left: 0;
    margin-right: 32px;
    margin-bottom: 24px;
    max-width: 100%;
    height: auto;
}
@media (max-width: 991.98px) {
    .product-img-left {
        margin-right: 0;
        margin-bottom: 24px;
    }
}
.wp-table-custom, .wp-block-table {
    width: 100%;
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.07);
    font-size: 1.05rem;
    margin-top: 24px;
    border-collapse: separate;
    border-spacing: 0;
    overflow: hidden;
}
.wp-table-custom th, .wp-block-table th {
    background: #f0f7ff;
    color: #006494;
    font-weight: 700;
    border: none;
    padding: 12px 18px;
}
.wp-table-custom td, .wp-block-table td {
    border: none;
    padding: 12px 18px;
    color: #333;
    background: #fff;
}
.wp-table-custom tr:not(:last-child) td,
.wp-table-custom tr:not(:last-child) th,
.wp-block-table tr:not(:last-child) td,
.wp-block-table tr:not(:last-child) th {
    border-bottom: 1px solid #e0e7ef;
} 

@media (min-width: 992px) {
    .sticky-product-img {
        position: sticky;
        top: 24px;
        z-index: 2;
        margin-bottom: 32px;
    }
}
@media (max-width: 991.98px) {
    .sticky-product-img {
        position: static;
        margin-bottom: 24px;
    }
} 

/* Disattiva totalmente tutte le animazioni e transizioni su tutto il sito */
html, body, * {
  transition: none !important;
  animation: none !important;
}
[data-aos], [class*="aos"], .aos-animate {
  transition: none !important;
  animation: none !important;
  opacity: 1 !important;
  transform: none !important;
} 

@media (max-width: 991.98px) {
  footer .row.g-5 > [class^="col-"],
  footer .row.g-5 > [class*=" col-"] {
    text-align: center !important;
    margin-bottom: 24px;
  }
  .footer-logo {
    margin-left: auto !important;
    margin-right: auto !important;
    display: block !important;
    float: none !important;
  }
  footer .copyright {
    text-align: center !important;
    padding-top: 20px;
  }
} 