/*
Theme Name: SERPE-BLOCKS
Theme URI: 
Author: SERPE SRL RIPARAZIONI
Author URI: 
Description: Tema a blocchi custom
Requires at least: 6.8
Tested up to: 6.8
Requires PHP: 5.7
Version: 
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: serpe-blocks
Tags: 
*/
/* =====================================
   LOGO MARQUEE - 1 IMMAGINE (LOOP)
   Desktop + Mobile
   ===================================== */
/* =====================================
   LOGO MARQUEE - SERPE (1 IMMAGINE)
   Desktop + Mobile
   ===================================== */


.logo-marquee{
  height: 60px;      /* altezza barra */
  overflow: hidden;
  position: relative;
  width: 100%;
}

.logo-marquee-track{
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;

  will-change: transform;
  transform: translate3d(100vw,0,0);
  animation: serpeMarquee 22s linear infinite;
}

.logo-marquee-track img{
  height: 100%;
  width: auto;
  max-width: none;
  display: block;
}

/* Parte fuori a destra, attraversa TUTTA l’immagine, esce a sinistra, poi riparte */
@keyframes serpeMarquee{
  from { transform: translate3d(100vw,0,0); }
  to   { transform: translate3d(calc(-100% - 100vw),0,0); }
}

/* Mobile (opzionale) */
@media (max-width: 781px){
  .logo-marquee{ height: 54px; }
  .logo-marquee-track{ animation-duration: 18s; }
}

/* ============================================================================
   CSS PAGINE ZONE FOLLETTO - OTTIMIZZATO SENZA VARIABILI
   Da incollare nel tuo style.css
   ============================================================================ */

/* RESET */
* { box-sizing: border-box; }
body { overflow-x: hidden; margin: 0; }
img { max-width: 100%; height: auto; display: block; }

/* HERO SECTION */
.hero-zone {
    padding: 3rem 1.5rem;
    background: linear-gradient(135deg, #e8f5eb 0%, #ffffff 50%, #fef3c7 100%);
}

.hero-zone-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 3rem;
    align-items: center;
}

.zona-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: #ffffff;
    padding: 0.6rem 1.2rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 700;
    color: #1a5f2a;
    box-shadow: 0 1px 3px rgba(0,0,0,0.08);
    margin-bottom: 1.5rem;
}

.zona-badge::before {
    content: '✓';
    width: 22px;
    height: 22px;
    background: #1a5f2a;
    color: #ffffff;
    border-radius: 50%;
    font-size: 0.8rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.hero-zone h1 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.8rem, 5vw, 3rem);
    color: #111827;
    margin-bottom: 1.5rem;
    font-weight: 700;
    line-height: 1.2;
}

.hero-zone h1 span {
    color: #1a5f2a;
}

.hero-zone-subtitle {
    font-size: clamp(1rem, 2vw, 1.2rem);
    color: #111827;
    margin-bottom: 2rem;
    font-weight: 600;
    line-height: 1.6;
}

.zona-features {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin-bottom: 2rem;
}

.zona-feature {
    background: #ffffff;
    padding: 0.8rem 1.2rem;
    border-radius: 8px;
    font-weight: 700;
    font-size: 1rem;
    color: #111827;
}

.zona-note {
    font-size: 0.95rem;
    color: #111827;
    font-weight: 600;
}

.zona-image {
    width: 100%;
    max-width: 400px;
    justify-self: center;
}

.zona-image img {
    width: 100%;
    height: auto;
    border-radius: 16px;
    object-fit: contain;
}

/* SECTIONS */
.section-zona {
    padding: 3rem 1.5rem;
    background: #ffffff;
}

.section-inner {
    max-width: 1200px;
    margin: 0 auto;
}

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

.section-label-zona {
    display: inline-block;
    background: #e8f5eb;
    color: #1a5f2a;
    padding: 0.6rem 1.2rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 1rem;
}

.section-zona h2 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.6rem, 4vw, 2.5rem);
    font-weight: 700;
    margin-bottom: 1rem;
    color: #111827;
}

.section-zona p {
    color: #111827;
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: 2rem;
    font-weight: 500;
}

/* SERVICE BOXES */
.services-grid-zona {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
}

.service-box-zona {
    background: #fdfbf7;
    border-radius: 16px;
    padding: 2rem;
    border: 2px solid #e8f5eb;
    text-align: center;
}

.service-icon-zona {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.service-box-zona h3 {
    font-family: 'DM Sans', sans-serif;
    font-size: 1.3rem;
    font-weight: 700;
    color: #111827;
    margin-bottom: 1rem;
}

.service-box-zona p {
    font-size: 1.05rem;
    color: #111827;
    line-height: 1.6;
    font-weight: 500;
}

/* DOVE SIAMO */
.zone-map-zona {
    background: #e8f5eb;
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    border: 3px solid #1a5f2a;
    margin-bottom: 2rem;
}

.zone-map-icon-zona {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.zone-map-zona h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #1a5f2a;
}

.zone-map-zona p {
    font-size: 1.1rem;
    font-weight: 700;
    color: #111827;
    line-height: 1.6;
    margin: 0.5rem 0;
}

/* ZONE SECTION */
.zone-section {
    padding: 3rem 1.5rem;
    background: #fdfbf7;
}

.zone-inner-zona {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 350px 1fr;
    gap: 2.5rem;
    align-items: start;
}

.zone-content-zona h2 {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: #111827;
}

.zone-content-zona p {
    font-size: 1.08rem;
    line-height: 1.7;
    color: #111827;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.zone-list-zona {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
    margin-top: 1.5rem;
}

.zone-tag-zona {
    background: #ffffff;
    padding: 1rem;
    border-radius: 8px;
    font-size: 1.05rem;
    font-weight: 700;
    color: #1a5f2a;
    text-align: center;
    border: 2px solid #e8f5eb;
}

.zone-note-zona {
    background: #fef3c7;
    padding: 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    margin-top: 1.5rem;
    border-left: 4px solid #f59e0b;
    font-size: 1.05rem;
    color: #111827;
    line-height: 1.6;
}

/* FAQ */
.faq-zona {
    padding: 3rem 1.5rem;
    background: #ffffff;
}

.faq-inner-zona {
    max-width: 900px;
    margin: 0 auto;
}

.faq-list-zona {
    margin-top: 2.5rem;
}

.faq-item-zona {
    background: #fdfbf7;
    border-radius: 8px;
    margin-bottom: 1rem;
    border: 2px solid #e8f5eb;
}

.faq-question-zona {
    width: 100%;
    padding: 1.3rem;
    background: none;
    border: none;
    text-align: left;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #111827;
    font-family: 'DM Sans', sans-serif;
    line-height: 1.4;
}

.faq-icon-zona {
    font-size: 2rem;
    color: #1a5f2a;
    font-weight: 700;
    flex-shrink: 0;
    margin-left: 1rem;
}

.faq-icon-zona::before {
    content: '+';  /* Solo 1 plus dal CSS */
}

.faq-item-zona.active .faq-icon-zona::before {
    content: '×';  /* Diventa X quando attivo */
}

.faq-answer-zona {
    display: none;
    padding: 0 1.3rem 1.3rem;
}

.faq-item-zona.active .faq-answer-zona {
    display: block;
}

.faq-answer-zona p {
    color: #111827;
    font-size: 1.05rem;
    line-height: 1.7;
    font-weight: 500;
    margin: 0;
}

/* CTA FINALE */
.cta-zona {
    padding: 3rem 1.5rem;
    background: #fef3c7;
    text-align: center;
}

.cta-inner-zona {
    max-width: 800px;
    margin: 0 auto;
}

.cta-zona h2 {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #111827;
}

.cta-zona p {
    color: #111827;
    margin-bottom: 2rem;
    font-size: 1.1rem;
    font-weight: 600;
}

/* WHATSAPP FLOATING */
.whatsapp-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 999;
    width: 60px;
    height: 60px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.5);
    text-decoration: none;
}

.whatsapp-float svg {
    width: 35px;
    height: 35px;
    fill: #ffffff;
}

/* RESPONSIVE TABLET */
@media (max-width: 1024px) {
    .hero-zone-inner { grid-template-columns: 1fr 350px; gap: 2rem; }
    .zona-image { max-width: 350px; }
    .services-grid-zona { grid-template-columns: repeat(2, 1fr); }
    .zone-inner-zona { grid-template-columns: 300px 1fr; gap: 2rem; }
}

/* RESPONSIVE MOBILE */
@media (max-width: 768px) {
    .hero-zone { padding: 2rem 1rem; }
    .hero-zone-inner { grid-template-columns: 1fr; gap: 2rem; }
    .zona-image { order: -1; max-width: 100%; }
    .services-grid-zona { grid-template-columns: 1fr; gap: 1.5rem; }
    .zone-inner-zona { grid-template-columns: 1fr; gap: 2rem; }
    .zone-list-zona { grid-template-columns: 1fr; }
    .section-zona, .zone-section, .faq-zona, .cta-zona { padding: 2rem 1rem; }
    .zona-features { flex-direction: column; }
    .zona-feature { width: 100%; }
    .whatsapp-float { bottom: 15px; right: 15px; width: 55px; height: 55px; }
    .whatsapp-float svg { width: 30px; height: 30px; }
}

/* RESPONSIVE SMALL */
@media (max-width: 480px) {
    .hero-zone h1 { font-size: 1.5rem; }
    .service-box-zona { padding: 1.5rem; }
    .faq-question-zona { padding: 1rem; font-size: 1rem; }
}