﻿@font-face{
  font-family:'Montserrat';
  src:url('/css/webfonts/montserrat-500.woff2') format('woff2');
  font-weight:500;
  font-style:normal;
  font-display:swap;
}
@font-face{
  font-family:'Montserrat';
  src:url('/css/webfonts/montserrat-700.woff2') format('woff2');
  font-weight:700;
  font-style:normal;
  font-display:swap;
}



* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'Open Sans', sans-serif; color: #333; line-height: 1.6; background-color: #f8f9fa; }
h1, h2, h3, h4 { font-family: 'Montserrat', sans-serif; font-weight: 600; color: #1a365d; }
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* Header */
header {
    background: linear-gradient(135deg, #1a365d 0%, #2d4d8a 100%);
    color: white;
    padding: 20px 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    position: relative;
}
.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}
.logo-link {
    display: flex;
    align-items: center;
    gap: 15px;
    text-decoration: none;
    color: white;
}
.logo-icon {
    background-color: #e63946;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
}
.logo-text .site-title { color: white; font-size: 28px; margin-bottom: 5px; }
.logo-text p { color: #cbd5e0; font-size: 14px; }

/* Contact Header */
.contact-header {
    text-align: right;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 8px;
}
.phone-number {
    font-size: 24px;
    font-weight: 700;
    color: white;
    display: block;
}
.phone-number i { color: #e63946; margin-right: 8px; }
.call-now {
    background-color: #e63946;
    color: white;
    padding: 10px 20px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    display: inline-block;
    transition: all 0.3s;
}
.call-now:hover {
    background-color: #c1121f;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}
.rating { display: flex; align-items: center; gap: 8px; }
.stars { color: #FFD700; font-size: 18px; }
.rating-text { color: #cbd5e0; font-size: 14px; }

/* Navigation */
.nav-menu {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-menu ul {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 25px;
}

.nav-menu li a {
    color: white;
    text-decoration: none;
    font-weight: 600;
    padding: 6px 10px;
    border-radius: 4px;
    transition: background 0.2s;
}

.nav-menu li a:hover {
    background: rgba(255, 255, 255, 0.2);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
}

/* Hero */
.hero {
    background: linear-gradient(rgba(26, 54, 93, 0.85), rgba(26, 54, 93, 0.9)), url('/images/antennista-gigante-hero.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: white;
    padding: 100px 0;
    text-align: center;
    min-height: 600px;
    display: flex;
    align-items: center;
}
.hero-content { width: 100%; }
.hero h1 { font-size: 42px; margin-bottom: 20px; color: white; }
.hero h2 { font-size: 42px; margin-bottom: 20px; color: white; }
.hero p { font-size: 20px; max-width: 800px; margin: 0 auto 30px; }
.highlight { color: #ffd166; font-weight: 700; }

/* Services */
.services { padding: 80px 0; background-color: white; }
.section-title { text-align: center; margin-bottom: 50px; }
.section-title h2 { font-size: 36px; display: inline-block; position: relative; padding-bottom: 15px; }
.section-title h2:after {
    content: ''; position: absolute; width: 70px; height: 4px;
    background-color: #e63946; bottom: 0; left: 50%; transform: translateX(-50%);
}
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}
.service-card {
    background-color: #f8f9fa;
    border-radius: 8px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s;
    height: 100%;
    display: flex;
    flex-direction: column;
}
.service-card:hover { transform: translateY(-10px); }
.service-icon {
    background-color: #1a365d;
    color: white;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 30px;
}
.service-card h3 { margin-bottom: 15px; font-size: 22px; }
.service-card p { flex-grow: 1; }

/* Chi Siamo */
.about { padding: 80px 0; background-color: #f1f5f9; }
.about-content { display: flex; align-items: center; flex-wrap: wrap; gap: 50px; }
.about-image { flex: 1; min-width: 300px; border-radius: 10px; overflow: hidden; box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1); }
.about-image img { width: 100%; height: auto; display: block; transition: transform 0.5s; }
.about-image img:hover { transform: scale(1.03); }
.about-text { flex: 1; min-width: 300px; }
.about-text h3 { font-size: 30px; margin-bottom: 20px; }
.about-text p { margin-bottom: 20px; font-size: 16px; }

/* Gallery */
.gallery { padding: 80px 0; background-color: white; }
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }
.gallery-item { border-radius: 10px; overflow: hidden; box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1); transition: transform 0.3s; height: 400px; }
.gallery-item:hover { transform: translateY(-10px); }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* Coverage Area */
.coverage { padding: 80px 0; background-color: #f1f5f9; }
.coverage-content { display: flex; align-items: flex-start; flex-wrap: wrap; gap: 50px; }
.coverage-text { flex: 1; min-width: 300px; }
.coverage-map { flex: 1; min-width: 300px; background-color: #e2e8f0; border-radius: 10px; padding: 30px; box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1); }
.areas-container { margin-top: 20px; }
.areas-columns {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin-top: 15px;
}
@media (min-width: 1025px) {
    .areas-columns {
        grid-template-columns: repeat(3, 1fr);
    }
}
.area-column { display: flex; flex-direction: column; gap: 10px; }
.area-badge { background-color: #1a365d; color: white; padding: 8px 15px; border-radius: 50px; font-size: 14px; text-align: center; }

/* Contact */
.contact { padding: 80px 0; background-color: white; }
.contact-info { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 30px; margin-top: 40px; }
.contact-card { background-color: #f8f9fa; padding: 30px; border-radius: 8px; text-align: center; box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05); }
.contact-icon { background-color: #e63946; color: white; width: 60px; height: 60px; border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 20px; font-size: 24px; }

/* Footer */
footer { background-color: #1a365d; color: white; padding: 40px 0; text-align: center; }
.footer-content { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 20px; }
.footer-logo h3 { color: white; font-size: 24px; }
.copyright { margin-top: 30px; padding-top: 20px; border-top: 1px solid #2d4d8a; font-size: 14px; color: #cbd5e0; }
.piva { font-size: 14px; margin-top: 10px; color: #0d79f0; }

/* Cookie Consent Banner */
.cookie-consent-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: #1a365d;
    color: white;
    padding: 20px;
    z-index: 1000;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.2);
    display: none;
}
.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}
.cookie-text {
    flex: 1;
    min-width: 300px;
    font-size: 14px;
}
.cookie-buttons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}
.cookie-btn {
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s;
}
.cookie-accept {
    background-color: #e63946;
    color: white;
}
.cookie-accept:hover {
    background-color: #c1121f;
}
.cookie-reject {
    background-color: #6c757d;
    color: white;
}
.cookie-reject:hover {
    background-color: #545b62;
}

/* Mobile: menu hamburger */
@media (max-width: 992px) {
    .mobile-menu-btn {
        display: block;
    }

    .contact-header {
        display: none;
    }

    .header-content {
        flex-wrap: wrap;
    }

    .nav-menu {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #1a365d;
        padding: 20px;
        box-shadow: 0 4px 12px rgba(0,0,0,0.2);
        z-index: 100;
        display: none;
        flex-direction: column;
        gap: 15px;
        margin: 0 !important;
    }

    .nav-menu.active {
        display: flex;
    }

    .nav-menu ul {
        list-style: none;
        margin: 0;
        padding: 0;
        display: flex;
        flex-direction: column;
        gap: 12px;
    }

    .nav-menu li a {
        color: white;
        text-decoration: none;
        font-weight: 600;
        padding: 8px 0;
        border-radius: 4px;
    }

    .nav-menu li a:hover {
        background: rgba(255,255,255,0.2);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .header-content { flex-direction: column; text-align: center; gap: 20px; }
    .hero { padding: 60px 0; min-height: 500px; }
    .hero h2 { font-size: 32px; }
    .hero p { font-size: 18px; }
    .section-title h2 { font-size: 30px; }
    .services-grid,
    .gallery-grid,
    .areas-columns { grid-template-columns: 1fr; }
    .about-content { flex-direction: column; }
    .cookie-content {
        flex-direction: column;
        text-align: center;
    }
    .cookie-text {
        min-width: 100%;
    }
    .cookie-buttons {
        width: 100%;
        justify-content: center;
    }
}


/* ===== STILI AREE ===== */

/* Rating Badge */
.rating-badge {
    background: white;
    padding: 12px 24px;
    border-radius: 8px;
    display: inline-block;
    margin: 15px 0;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}
.rating-badge .stars {
    color: #f8ce0b;
    font-size: 20px;
    margin-bottom: 5px;
}
.rating-value {
    font-weight: bold;
    color: #333;
    font-size: 16px;
}

/* Hero CTA */
.hero-cta {
    margin: 25px 0;
}
.call-now-hero {
    font-size: 18px;
    padding: 16px 32px;
    background: #28a745;
    display: inline-block;
    margin-bottom: 10px;
}
.hero-features {
    margin-top: 15px;
    font-size: 15px;
    color: #cbd5e0;
}
.hero-features i {
    margin-right: 5px;
    color: #ffd166;
}

/* CTA Box */
.cta-box {
    background: #f8f9fa;
    padding: 25px;
    border-radius: 10px;
    margin: 25px 0;
    border-left: 4px solid #e63946;
}
.cta-box h4 {
    margin-top: 0;
    color: #1a365d;
    font-size: 20px;
}
.benefits-list {
    margin: 15px 0 20px;
    padding-left: 20px;
}
.benefits-list li {
    margin-bottom: 10px;
    line-height: 1.5;
}

/* Button Group */
.button-group {
    display: flex;
    gap: 15px;
    margin-top: 25px;
    flex-wrap: wrap;
}
.call-now-primary {
    font-size: 16px;
    padding: 14px 28px;
}
.call-now-secondary {
    background-color: #1a365d;
    font-size: 16px;
    padding: 14px 28px;
}
.call-now-tertiary {
    background-color: #6c757d;
    font-size: 16px;
    padding: 14px 28px;
}

/* Service Areas */
.service-areas {
    padding: 50px 0;
    background: #f8f9fa;
}
.service-areas h2 {
    text-align: center;
    margin-bottom: 40px;
}
.areas-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}
.area-card {
    background: white;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    transition: transform 0.3s;
}
.area-card:hover {
    transform: translateY(-5px);
}
.area-card h4 {
    margin-top: 0;
    color: #2c5282;
    font-size: 18px;
    margin-bottom: 10px;
}
.area-card p {
    margin: 0;
    font-size: 15px;
    color: #666;
}

/* FAQ */
.faq {
    padding: 60px 0;
}
.faq h2 {
    text-align: center;
    margin-bottom: 50px;
}
.faq-item {
    margin-bottom: 25px;
    padding: 25px;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    background: white;
    transition: box-shadow 0.3s;
}
.faq-item:hover {
    box-shadow: 0 6px 20px rgba(0,0,0,0.08);
}
.faq-item h3 {
    margin-top: 0;
    color: #2c5282;
    font-size: 18px;
    margin-bottom: 15px;
}
.faq-item ul,
.faq-item ol {
    margin: 15px 0;
    padding-left: 25px;
}
.faq-item li {
    margin-bottom: 8px;
}

/* Reviews */
.reviews-preview {
    padding: 60px 0;
    background: linear-gradient(135deg, #2c5282 0%, #1a365d 100%);
    color: white;
}
.reviews-preview h2 {
    text-align: center;
    margin-bottom: 50px;
    color: white;
}
.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}
.review-card {
    background: rgba(255,255,255,0.1);
    padding: 30px;
    border-radius: 12px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
}
.review-card .stars {
    color: #f8ce0b;
    margin-bottom: 15px;
    font-size: 18px;
}
.review-card p {
    line-height: 1.7;
    margin-bottom: 20px;
}
.review-author {
    font-weight: bold;
    margin-top: 20px;
    font-style: italic;
    color: rgba(255,255,255,0.9);
}
.reviews-cta {
    text-align: center;
    margin-top: 50px;
}
.call-now-reviews {
    background: white;
    color: #2c5282;
    font-size: 17px;
    padding: 14px 32px;
}
.call-now-reviews:hover {
    background: #f8f9fa;
}

/* Final CTA */
.final-cta {
    padding: 80px 0;
    text-align: center;
    background: white;
}
.final-cta h2 {
    margin-bottom: 20px;
}
.final-cta > p {
    font-size: 18px;
    max-width: 800px;
    margin: 0 auto 40px;
    color: #555;
}
.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 25px;
    flex-wrap: wrap;
    margin-top: 30px;
}
.call-now-phone {
    font-size: 20px;
    padding: 18px 40px;
    background: #28a745;
}
.call-now-whatsapp {
    font-size: 18px;
    padding: 18px 40px;
    background: #25D366;
}
.business-info {
    margin-top: 40px;
    padding: 25px;
    background: #f8f9fa;
    border-radius: 10px;
    display: inline-block;
    max-width: 600px;
}
.business-info p {
    margin: 10px 0;
    color: #555;
}

/* Hidden Schema */
.hidden-schema {
    display: none;
}

/* Responsive */
@media (max-width: 768px) {
    .rating-badge {
        padding: 10px 20px;
    }
    .call-now-hero {
        font-size: 16px;
        padding: 14px 25px;
    }
    .button-group {
        flex-direction: column;
        align-items: stretch;
    }
    .button-group .call-now {
        text-align: center;
    }
    .areas-grid {
        grid-template-columns: 1fr;
    }
    .reviews-grid {
        grid-template-columns: 1fr;
    }
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    .cta-buttons .call-now {
        width: 100%;
        max-width: 300px;
        text-align: center;
    }
    .business-info {
        padding: 20px;
        text-align: left;
    }
}


/* A11Y: contrasto link nel footer */
footer a { color: #ffffff; text-decoration: underline; }
footer a:hover, footer a:focus { color: #ffd166; }


/* =========================================
   A11Y: Contrast + Focus (CTA + Cookie)
   ========================================= */

/* CTA call-to-action: testo sempre ad alto contrasto */
a.call-now,
a.call-now-hero,
a.call-now-primary,
a.call-now-phone,
a.call-now-whatsapp {
  color: #ffffff !important;
  text-decoration: none;
}

/* Se i bottoni hanno sfondo chiaro, forziamo un background più scuro */
a.call-now { background-color: #b00020 !important; }
a.call-now-hero { background-color: #0b5a8a !important; }
a.call-now-primary { background-color: #b00020 !important; }
a.call-now-phone { background-color: #1b7f3a !important; }
a.call-now-whatsapp { background-color: #1b7f3a !important; }

/* Hover/focus: feedback chiaro e accessibile */
a.call-now:hover, a.call-now:focus,
a.call-now-hero:hover, a.call-now-hero:focus,
a.call-now-primary:hover, a.call-now-primary:focus,
a.call-now-phone:hover, a.call-now-phone:focus,
a.call-now-whatsapp:hover, a.call-now-whatsapp:focus {
  filter: brightness(0.95);
  outline: 3px solid #ffd166;
  outline-offset: 3px;
}

/* Cookie banner button */
#acceptAllCookies,
.cookie-btn.cookie-accept {
  color: #ffffff !important;
  background-color: #b00020 !important;
  border: 2px solid #ffffff !important;
}

/* Focus visibile anche sul cookie button */
#acceptAllCookies:focus,
.cookie-btn.cookie-accept:focus {
  outline: 3px solid #ffd166;
  outline-offset: 3px;
}

.area-badge{display:inline-block;text-decoration:none;color:inherit}
.area-badge:hover,.area-badge:focus{text-decoration:underline}


/* Badge come link */
.area-badge{display:inline-block;text-decoration:none;color:inherit}
.area-badge:hover,.area-badge:focus{text-decoration:underline}

/* === FIX BADGE LOCALITÀ (link) === */
.area-badge {
  color: #ffffff !important;          /* testo bianco */
  background-color: #1a365d;          /* blu istituzionale */
  font-weight: 500;
}

/* Hover e focus accessibili */
.area-badge:hover,
.area-badge:focus {
  background-color: #274b7a;
  color: #ffffff;
  outline: none;
}

/* Focus visibile da tastiera (WCAG) */
.area-badge:focus-visible {
  box-shadow: 0 0 0 3px #ffd166;
}

.footer-legal{
  margin-top: 8px;
  font-size: 0.9rem;
}

.footer-legal a{
  text-decoration: underline;
}

.footer-legal a:focus-visible{
  outline: 2px solid currentColor;
  outline-offset: 3px;
}

/* Privacy hero: testo leggibile su sfondo scuro */
.privacy-hero h1{
  color:#fff;
}
.privacy-hero .last-updated{
  color:rgba(255,255,255,.9);
}
.privacy-hero a{
  color:#7ad6ff;
}


.accessibility-statement{
  padding: 32px 0;
  max-width: 900px;
}
.accessibility-statement h1{
  margin-bottom: 12px;
}
.accessibility-statement h2{
  margin-top: 22px;
}
.accessibility-statement ul{
  padding-left: 22px;
}


/* Footer logo (riuso logo header) */
.footer-logo-link{
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: inherit;
  text-decoration: none;
}

.footer-logo-icon{
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #e53935; /* stesso rosso header */
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.footer-logo-icon i{
  color: #fff;
  font-size: 18px;
}

.footer-logo-text .site-title{
  font-size: 1.1rem;
  font-weight: 600;
  margin: 0;
}

.footer-logo-text p{
  margin: 0;
  font-size: 0.9rem;
  opacity: 0.9;
}

/* Focus accessibile */
.footer-logo-link:focus-visible{
  outline: 3px solid #ffffff;
  outline-offset: 4px;
}

/* Footer: centratura su mobile */
@media (max-width: 768px) {

  footer .footer-content{
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 20px;
  }

  footer .footer-logo,
  footer .footer-contact{
    align-items: center;
    text-align: center;
  }

  footer .footer-logo-link{
    justify-content: center;
  }

  footer .footer-contact p{
    justify-content: center;
  }

}

/* ===== TELEPHONE FOR MOBILE ===== */

/* Versione mobile del numero di telefono (solo su schermi piccoli) */
.mobile-phone-header {
    display: none;
    text-align: center;
    background: #1a365d;
    padding: 15px 0;
    border-top: 1px solid #2d4d8a;
    border-bottom: 1px solid #2d4d8a;
}

.mobile-phone-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: white;
    gap: 5px;
}

.mobile-phone-icon {
    background-color: #e63946;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    margin-bottom: 8px;
}

.mobile-phone-text {
    font-size: 14px;
    color: #cbd5e0;
}

.mobile-phone-number {
    font-size: 28px;
    font-weight: 700;
    color: white;
    line-height: 1.2;
    text-align: center;
    letter-spacing: 1px;
}

.mobile-phone-number span {
    display: block;
}

.mobile-call-button {
    background-color: #e63946;
    color: white;
    padding: 12px 25px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    margin-top: 12px;
    display: inline-block;
    transition: all 0.3s;
    font-size: 16px;
}

.mobile-call-button:hover,
.mobile-call-button:focus {
    background-color: #c1121f;
    transform: translateY(-2px);
    outline: 3px solid #ffd166;
    outline-offset: 3px;
}

/* Mostra solo su mobile */
@media (max-width: 992px) {
    .mobile-phone-header {
        display: block;
    }
}

/* Migliora visibilità su schermi molto piccoli */
@media (max-width: 480px) {
    .mobile-phone-number {
        font-size: 24px;
    }
    
    .mobile-call-button {
        padding: 10px 20px;
        font-size: 15px;
    }
}