/*
   SSD Torre Baccelli - Poligono di Tiro
   Palette: Crimson Red (#cb171f) & Forest Green (#50823c) — dal logo e dalla cartellonistica reale in loco
   Sfondo "pietra calcarea" (#f1efe4) ripreso dalla ghiaia bianca della ex-cava visibile in ogni foto aerea
   Segnaletica: numeri e distanze in Space Mono, come sui cartelli di linea (100M / 200M / 300M...)
   Motivo distintivo: "reticolo" a mirino (tick d'angolo), eco del logo a mirino/torretta
*/

@import url('https://fonts.googleapis.com/css2?family=Big+Shoulders+Stencil:wght@600;700;800;900&family=Space+Mono:wght@400;700&family=Inter:wght@300;400;500;600;700&family=Montserrat:wght@700;800;900&display=swap');

:root {
    --primary: #cb171f;
    --primary-hover: #a31218;
    --secondary: #50823c;
    --secondary-hover: #3f662f;
    --bg-light: #f1efe4;
    --bg-card: #ffffff;
    --bg-card-hover: #faf9f2;
    --border-color: rgba(80, 130, 60, 0.16);
    --border-color-hover: rgba(203, 23, 31, 0.25);
    --text-dark: #191c14;
    --text-muted: #64665a;
    --font-title: 'Montserrat', sans-serif;
    --font-display: 'Big Shoulders Stencil', 'Montserrat', sans-serif;
    --font-body: 'Inter', sans-serif;
    --font-mono: 'Space Mono', monospace;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --container-width: 1200px;
    --header-height: 90px;
}

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

html {
    scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

body {
    background-color: var(--bg-light);
    color: var(--text-dark);
    font-family: var(--font-body);
    line-height: 1.65;
    overflow-x: hidden;
}

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

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

:focus-visible {
    outline: 3px solid var(--primary);
    outline-offset: 3px;
}

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

.mono {
    font-family: var(--font-mono);
}

.btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: 4px;
    font-family: var(--font-title);
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    text-align: center;
}

.btn-primary {
    background-color: var(--primary);
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(203, 23, 31, 0.25);
}

.btn-primary:hover {
    background-color: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(203, 23, 31, 0.4);
}

.btn-green {
    background-color: var(--secondary);
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(80, 130, 60, 0.25);
}

.btn-green:hover {
    background-color: var(--secondary-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(80, 130, 60, 0.4);
}

.btn-secondary {
    background-color: transparent;
    color: var(--text-dark);
    border: 2px solid var(--secondary);
}

.btn-secondary:hover {
    background-color: rgba(80, 130, 60, 0.05);
    border-color: var(--secondary-hover);
    color: var(--secondary-hover);
    transform: translateY(-2px);
}

/* Reticolo — tick d'angolo, motivo distintivo del sito (eco del mirino nel logo) */
.reticle {
    position: relative;
}

.reticle .tick {
    position: absolute;
    width: 26px;
    height: 26px;
    border-color: rgba(255, 255, 255, 0.85);
    pointer-events: none;
    z-index: 2;
}

.reticle .tick-tl { top: 26px; left: 26px; border-top: 2px solid; border-left: 2px solid; }
.reticle .tick-tr { top: 26px; right: 26px; border-top: 2px solid; border-right: 2px solid; }
.reticle .tick-bl { bottom: 26px; left: 26px; border-bottom: 2px solid; border-left: 2px solid; }
.reticle .tick-br { bottom: 26px; right: 26px; border-bottom: 2px solid; border-right: 2px solid; }

.reticle.reticle-dark .tick {
    border-color: rgba(25, 28, 20, 0.35);
}

/* Header & Navigation */
header {
    height: var(--header-height);
    background-color: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(12px);
    border-bottom: 2px solid var(--secondary);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.logo {
    display: flex;
    align-items: center;
    text-transform: uppercase;
}

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

.logo:hover img {
    transform: scale(1.05);
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.15;
    margin-left: 12px;
}

.logo-title {
    font-family: var(--font-title);
    font-weight: 800;
    font-size: 1.25rem;
    letter-spacing: 0.5px;
    color: var(--secondary);
}

.logo-subtitle {
    font-family: var(--font-title);
    font-weight: 700;
    font-size: 0.75rem;
    letter-spacing: 1.5px;
    color: var(--primary);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 22px;
}

.nav-links a {
    font-family: var(--font-title);
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    padding: 8px 0;
    color: var(--text-muted);
    border-bottom: 2px solid transparent;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--secondary);
    border-color: var(--primary);
}

.menu-toggle {
    display: none;
    font-size: 1.6rem;
    cursor: pointer;
    color: var(--text-dark);
    background: none;
    border: none;
}

/* Hero */
.hero {
    min-height: 100vh;
    background: linear-gradient(rgba(10, 12, 8, 0.55), rgba(10, 12, 8, 0.88)), url('assets/web/hero-drone.jpg') no-repeat center center/cover;
    display: flex;
    align-items: center;
    padding-top: var(--header-height);
    position: relative;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 120px;
    background: linear-gradient(transparent, var(--bg-light));
    pointer-events: none;
}

.hero-content {
    max-width: 750px;
    position: relative;
    z-index: 2;
    padding-top: 170px;
    padding-bottom: 40px;
}

/* Logo grande in apertura, si rimpicciolisce nell'header man mano che si scorre (via JS) */
.hero-intro-wrap {
    display: none;
    position: fixed;
    top: calc(var(--header-height) + 30px);
    left: 0;
    width: 100%;
    z-index: 1500;
    pointer-events: none;
}

html.js-anim .hero-intro-wrap {
    display: block;
}

.hero-intro-inner {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 25px;
}

.hero-intro-logo {
    display: flex;
    align-items: center;
    gap: 24px;
    width: fit-content;
    will-change: transform, opacity;
}

.hero-intro-logo img {
    height: 110px;
    width: auto;
    filter: drop-shadow(0 6px 18px rgba(0, 0, 0, 0.65)) drop-shadow(0 0 30px rgba(0, 0, 0, 0.4));
}

.hero-intro-logo .logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.15;
}

.hero-intro-logo .logo-title {
    font-family: var(--font-title);
    font-weight: 800;
    font-size: 2.1rem;
    color: #ffffff;
    letter-spacing: 0.5px;
    white-space: nowrap;
    text-shadow: 0 3px 14px rgba(0, 0, 0, 0.75);
}

.hero-intro-logo .logo-subtitle {
    font-family: var(--font-title);
    font-weight: 700;
    font-size: 1.1rem;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.9);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.75);
}

html.js-anim header .logo {
    opacity: 0;
}

/* Schermi bassi (laptop comuni tipo 1366x768): logo di apertura piu' compatto
   per lasciare spazio al titolo senza costringere lo scroll */
@media (max-height: 760px) {
    .hero-intro-wrap {
        top: calc(var(--header-height) + 14px);
    }

    .hero-intro-logo img {
        height: 72px;
    }

    .hero-intro-logo .logo-title {
        font-size: 1.5rem;
    }

    .hero-intro-logo .logo-subtitle {
        font-size: 0.8rem;
        letter-spacing: 1.8px;
    }
}

.hero-tag {
    font-family: var(--font-title);
    font-weight: 800;
    color: #ffffff;
    background-color: var(--secondary);
    padding: 6px 16px;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.78rem;
    margin-bottom: 25px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 10px rgba(80, 130, 60, 0.3);
}

.hero h1 {
    font-family: var(--font-display);
    font-size: 4.4rem;
    font-weight: 800;
    line-height: 1.05;
    margin-bottom: 25px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    color: #ffffff;
}

.hero h1 span.green-glow {
    color: #ffffff;
    border-bottom: 4px solid var(--primary);
}

.hero p {
    font-size: 1.2rem;
    color: #e0e5e0;
    margin-bottom: 40px;
    font-weight: 400;
}

.hero-buttons {
    display: flex;
    gap: 20px;
}

.hero .btn-secondary {
    color: #ffffff;
    border-color: #ffffff;
}

.hero .btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: var(--secondary);
    color: #ffffff;
}

/* Stats */
.stats {
    padding: 0;
    position: relative;
    z-index: 10;
    margin-top: 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.stat-card {
    background-color: var(--bg-card);
    padding: 30px 20px;
    border-radius: 6px;
    text-align: center;
    border: 1px solid var(--border-color);
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: var(--transition);
}

.stat-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
    box-shadow: 0 15px 35px rgba(203, 23, 31, 0.1);
}

.stat-number {
    font-family: var(--font-mono);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--secondary);
    line-height: 1;
    margin-bottom: 10px;
}

.stat-card:hover .stat-number {
    color: var(--primary);
}

.stat-label {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Sections General */
section {
    padding: 100px 0;
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px auto;
}

.section-tag {
    font-family: var(--font-title);
    font-weight: 800;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 2.5px;
    font-size: 0.85rem;
    margin-bottom: 15px;
    display: block;
}

.section-title {
    font-family: var(--font-display);
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 20px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    color: var(--text-dark);
}

.section-desc {
    color: var(--text-muted);
    font-size: 1.05rem;
}

/* Services / Features */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.service-card {
    background-color: var(--bg-card);
    border-radius: 6px;
    border: 1px solid var(--border-color);
    transition: var(--transition);
    padding: 45px 35px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.02);
    position: relative;
    overflow: hidden;
}

.service-card::before,
.service-card::after {
    content: '';
    position: absolute;
    width: 16px;
    height: 16px;
    border-color: var(--primary);
    opacity: 0;
    transition: var(--transition);
}

.service-card::before { top: 12px; left: 12px; border-top: 2px solid; border-left: 2px solid; }
.service-card::after { bottom: 12px; right: 12px; border-bottom: 2px solid; border-right: 2px solid; }

.service-card:hover::before,
.service-card:hover::after {
    opacity: 1;
}

.service-card:hover {
    transform: translateY(-5px);
    border-color: var(--secondary);
    box-shadow: 0 15px 35px rgba(80, 130, 60, 0.08);
}

.service-icon-box {
    width: 65px;
    height: 65px;
    background-color: rgba(80, 130, 60, 0.08);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    color: var(--secondary);
    font-size: 2rem;
    border: 1px solid rgba(80, 130, 60, 0.15);
    transition: var(--transition);
}

.service-card:hover .service-icon-box {
    color: #ffffff;
    background-color: var(--secondary);
    border-color: var(--secondary);
}

.service-card h3 {
    font-family: var(--font-title);
    font-size: 1.35rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.service-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.65;
}

/* Gallery delle linee di tiro — momento distintivo, distanze come sui cartelli di linea reali */
.range-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 60px;
}

.range-gallery-item {
    position: relative;
    border-radius: 6px;
    overflow: hidden;
    aspect-ratio: 4 / 3;
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
    border: 1px solid rgba(0,0,0,0.05);
}

.range-gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.range-gallery-item:hover img {
    transform: scale(1.06);
}

.range-gallery-item::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(transparent 45%, rgba(10,12,8,0.82));
    pointer-events: none;
}

.range-gallery-tag {
    position: absolute;
    left: 18px;
    bottom: 16px;
    z-index: 2;
    color: #ffffff;
}

.range-gallery-tag .distance {
    display: block;
    font-family: var(--font-mono);
    font-weight: 700;
    font-size: 1.5rem;
    letter-spacing: 1px;
}

.range-gallery-tag .caption {
    display: block;
    font-family: var(--font-title);
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: rgba(255,255,255,0.8);
    margin-top: 2px;
}

/* Split Section */
.split-section {
    background-color: #ffffff;
    border-top: 1px solid rgba(0,0,0,0.03);
    border-bottom: 1px solid rgba(0,0,0,0.03);
}

.split-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 60px;
    align-items: center;
}

.split-image {
    position: relative;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0,0,0,0.08);
    border: 1px solid rgba(0,0,0,0.05);
}

.split-image img {
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

.split-text h2 {
    font-family: var(--font-display);
    font-size: 2.9rem;
    font-weight: 800;
    margin-bottom: 25px;
    line-height: 1.1;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    color: var(--text-dark);
}

.split-text p {
    color: var(--text-muted);
    margin-bottom: 30px;
    font-size: 1.05rem;
}

.bullet-list {
    list-style: none;
    margin-bottom: 35px;
}

.bullet-list li {
    margin-bottom: 15px;
    display: flex;
    align-items: flex-start;
    gap: 15px;
    font-weight: 500;
    font-size: 1rem;
    color: var(--text-dark);
}

.bullet-list li i {
    color: var(--secondary);
    font-size: 1.2rem;
    margin-top: 3px;
}

.bullet-list li strong {
    color: var(--text-dark);
}

/* Tariffe */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.pricing-grid.cols-2 {
    grid-template-columns: repeat(2, 1fr);
    max-width: 800px;
    margin: 0 auto;
}

.pricing-card {
    background-color: var(--bg-card);
    border-radius: 6px;
    border: 1px solid var(--border-color);
    padding: 45px 35px;
    text-align: center;
    transition: var(--transition);
}

.pricing-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.06);
}

.pricing-card.featured {
    border-color: var(--primary);
    border-width: 2px;
}

.pricing-card h3 {
    font-family: var(--font-title);
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 14px;
    color: var(--text-dark);
}

.pricing-card .price {
    font-family: var(--font-mono);
    font-size: 2.6rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 20px;
}

.pricing-card .price span {
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 400;
    color: var(--text-muted);
}

.pricing-card p {
    color: var(--text-muted);
    margin-bottom: 30px;
    font-size: 0.95rem;
}

/* Call to Action Booking */
.cta-booking {
    text-align: center;
    background: linear-gradient(135deg, rgba(80, 130, 60, 0.88), rgba(10, 12, 8, 0.94)), url('assets/web/drone-cta.jpg') no-repeat center center/cover;
    padding: 90px 40px;
    border-radius: 8px;
    box-shadow: 0 20px 45px rgba(0,0,0,0.15);
    color: #ffffff;
    position: relative;
}

.cta-booking h2 {
    font-family: var(--font-display);
    font-size: 3.2rem;
    font-weight: 800;
    margin-bottom: 20px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    color: #ffffff;
}

.cta-booking p {
    max-width: 700px;
    margin: 0 auto 40px auto;
    color: #e0ede0;
    font-size: 1.15rem;
}

.cta-booking .btn-primary {
    background-color: var(--primary);
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.cta-booking .btn-primary:hover {
    background-color: var(--primary-hover);
}

.cta-booking .btn-secondary {
    color: #ffffff;
    border-color: #ffffff;
}

.cta-booking .btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.1);
    color: #ffffff;
}

/* Regolamento (Accordion) */
.rules-container {
    max-width: 800px;
    margin: 0 auto;
}

.accordion-item {
    background-color: var(--bg-card);
    border: 1.5px solid var(--border-color);
    border-radius: 6px;
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.01);
}

.accordion-header {
    width: 100%;
    padding: 22px 30px;
    font-family: var(--font-title);
    font-weight: 700;
    font-size: 1.1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    cursor: pointer;
    user-select: none;
    transition: var(--transition);
    color: var(--text-dark);
    background: none;
    border: none;
    text-align: left;
}

.accordion-header .rule-number {
    font-family: var(--font-mono);
    color: var(--secondary);
    margin-right: 14px;
    font-weight: 700;
}

.accordion-header:hover {
    background-color: var(--bg-card-hover);
    color: var(--secondary);
}

.accordion-icon {
    transition: transform 0.3s ease;
    color: var(--secondary);
    flex-shrink: 0;
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    padding: 0 30px;
    color: var(--text-muted);
    font-size: 0.95rem;
}

.accordion-content p {
    padding-bottom: 22px;
}

.accordion-item.active .accordion-content {
    max-height: 200px;
    padding-top: 10px;
}

.accordion-item.active .accordion-icon {
    transform: rotate(180deg);
}

/* Info e Contatti */
.info-grid {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 60px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 35px;
}

.info-item {
    display: flex;
    gap: 20px;
}

.info-icon {
    width: 55px;
    height: 55px;
    background-color: var(--bg-card);
    border: 2px solid var(--secondary);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--secondary);
    font-size: 1.4rem;
    flex-shrink: 0;
    transition: var(--transition);
}

.info-item:hover .info-icon {
    border-color: var(--primary);
    color: #ffffff;
    background-color: var(--primary);
}

.info-details h4 {
    font-family: var(--font-title);
    font-size: 1.05rem;
    margin-bottom: 6px;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: var(--text-dark);
}

.info-details p {
    color: var(--text-muted);
    font-size: 0.98rem;
}

.info-details a {
    text-decoration: underline;
}

.contact-form-box {
    background-color: var(--bg-card);
    padding: 45px;
    border-radius: 6px;
    border: 1px solid var(--border-color);
    box-shadow: 0 10px 30px rgba(0,0,0,0.03);
}

.form-honeypot {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.form-group {
    margin-bottom: 22px;
}

.form-group label {
    display: block;
    font-family: var(--font-title);
    font-weight: 700;
    font-size: 0.8rem;
    text-transform: uppercase;
    margin-bottom: 10px;
    color: var(--text-dark);
    letter-spacing: 0.5px;
}

.form-control {
    width: 100%;
    background-color: #fdfdfd;
    border: 1.5px solid var(--border-color);
    border-radius: 4px;
    padding: 14px 18px;
    color: var(--text-dark);
    font-family: var(--font-body);
    transition: var(--transition);
}

.form-control:focus {
    outline: none;
    border-color: var(--secondary);
    box-shadow: 0 0 12px rgba(80, 130, 60, 0.1);
}

textarea.form-control {
    resize: vertical;
    min-height: 140px;
}

/* Footer */
footer {
    background-color: #121612;
    border-top: 3px solid var(--secondary);
    padding: 80px 0 40px 0;
    color: #e0e5e0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.2fr;
    gap: 50px;
    margin-bottom: 50px;
}

.footer-brand p {
    color: #a2aba2;
    margin-top: 25px;
    font-size: 0.95rem;
    max-width: 340px;
}

.social-icons {
    display: flex;
    gap: 15px;
    margin-top: 25px;
}

.social-link {
    width: 42px;
    height: 42px;
    background-color: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: #a2aba2;
    transition: var(--transition);
}

.social-link:hover {
    color: #ffffff;
    transform: translateY(-3px);
}

.social-link.instagram:hover {
    background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%,#d6249f 60%,#285AEB 90%);
}

.social-link.facebook:hover {
    background-color: #1877F2;
}

.footer-nav h4 {
    font-family: var(--font-title);
    font-size: 1rem;
    margin-bottom: 25px;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: #ffffff;
}

.footer-nav ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.footer-nav a {
    color: #a2aba2;
    font-size: 0.95rem;
}

.footer-nav a:hover {
    color: var(--primary);
    padding-left: 6px;
}

.footer-contact p {
    font-size: 0.95rem;
    color: #a2aba2;
    margin-bottom: 10px;
}

.footer-contact a:hover {
    color: var(--primary);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.05);
    padding-top: 35px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.82rem;
    color: #a2aba2;
    flex-wrap: wrap;
    gap: 15px;
}

.footer-legal-links {
    display: flex;
    gap: 25px;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .services-grid,
    .range-gallery,
    .pricing-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

    .hero h1 {
        font-size: 3.2rem;
    }
}

@media (max-width: 768px) {
    :root {
        --header-height: 80px;
    }

    .hero-content {
        padding-top: 110px;
        padding-bottom: 30px;
    }

    .hero-intro-wrap {
        top: calc(var(--header-height) + 20px);
    }

    .hero-intro-logo {
        gap: 8px;
        max-width: 88vw;
    }

    .hero-intro-logo img {
        height: 46px;
        flex-shrink: 0;
    }

    .hero-intro-logo .logo-text {
        min-width: 0;
    }

    .hero-intro-logo .logo-title {
        font-size: 1.05rem;
        white-space: normal;
    }

    .hero-intro-logo .logo-subtitle {
        font-size: 0.62rem;
        letter-spacing: 1px;
    }

    .menu-toggle {
        display: block;
    }

    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: var(--header-height);
        left: 0;
        width: 100%;
        background-color: #ffffff;
        padding: 25px;
        border-bottom: 1px solid rgba(46, 105, 48, 0.2);
        gap: 16px;
    }

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

    .hero h1 {
        font-size: 2.6rem;
    }

    .split-grid,
    .info-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .split-image {
        order: -1;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .stats-grid,
    .services-grid,
    .range-gallery,
    .pricing-grid {
        grid-template-columns: 1fr;
    }

    .hero-buttons {
        flex-direction: column;
    }

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

    section {
        padding: 70px 0;
    }

    .hero h1 {
        font-size: 2.1rem;
    }
}

/* Pagina interna: hero compatta (Struttura & Linee di Tiro) */
.page-hero {
    padding-top: calc(var(--header-height) + 70px);
    padding-bottom: 70px;
    background: linear-gradient(rgba(10, 12, 8, 0.68), rgba(10, 12, 8, 0.88)), url('assets/web/linee-tiro.jpg') no-repeat center 30%/cover;
    color: #ffffff;
    text-align: center;
}

.page-hero .section-tag {
    color: #ffffff;
    opacity: 0.85;
}

.page-hero h1 {
    font-family: var(--font-display);
    font-size: 3.2rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 18px;
    color: #ffffff;
}

.page-hero p {
    max-width: 720px;
    margin: 0 auto;
    color: #e0e5e0;
    font-size: 1.08rem;
}

/* Griglia dettaglio postazioni */
.facility-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
}

.facility-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    padding: 35px;
    position: relative;
    overflow: hidden;
    transition: var(--transition);
}

.facility-card:hover {
    border-color: var(--secondary);
    box-shadow: 0 12px 30px rgba(80, 130, 60, 0.08);
}

.facility-card .facility-count {
    font-family: var(--font-mono);
    font-size: 2.4rem;
    font-weight: 700;
    color: var(--secondary);
    line-height: 1;
    margin-bottom: 10px;
    display: block;
}

.facility-card h3 {
    font-family: var(--font-title);
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text-dark);
}

.facility-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.facility-card.building {
    opacity: 0.6;
    filter: grayscale(0.5);
    border-style: dashed;
}

.facility-card.building .facility-count {
    color: var(--text-muted);
}

.facility-card .badge-construction {
    position: absolute;
    top: 20px;
    right: -38px;
    background: var(--primary);
    color: #ffffff;
    font-family: var(--font-display);
    font-size: 0.9rem;
    letter-spacing: 2px;
    padding: 4px 42px;
    transform: rotate(35deg);
    text-transform: uppercase;
    box-shadow: 0 3px 10px rgba(0,0,0,0.2);
    white-space: nowrap;
}

.facility-total {
    text-align: center;
    background-color: var(--bg-card);
    border: 2px solid var(--secondary);
    border-radius: 8px;
    padding: 35px;
    margin-bottom: 50px;
}

.facility-total .count {
    font-family: var(--font-mono);
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--primary);
    line-height: 1;
}

.facility-total .label {
    font-family: var(--font-title);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-top: 8px;
}

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

    .page-hero h1 {
        font-size: 2.3rem;
    }
}

/* Mappa aerea (bozza) */
.map-wrap {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
    margin-bottom: 50px;
}

.map-image {
    width: 100%;
    height: auto;
    display: block;
}

.map-pin {
    position: absolute;
    transform: translate(-50%, -50%);
}

.map-pin-dot {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: var(--primary);
    color: #ffffff;
    font-weight: 700;
    font-size: 1rem;
    border: 3px solid #ffffff;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.4), 0 0 0 6px rgba(203, 23, 31, 0.25);
}

.map-legend {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 30px;
}

.map-legend-item {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    padding: 20px;
}

.map-legend-number {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: var(--primary);
    color: #ffffff;
    font-weight: 700;
    font-size: 0.9rem;
}

.map-legend-item h4 {
    font-family: var(--font-title);
    font-size: 1rem;
    margin-bottom: 4px;
    color: var(--text-dark);
}

.map-legend-item p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.map-disclaimer {
    background-color: rgba(203, 23, 31, 0.06);
    border-left: 3px solid var(--primary);
    border-radius: 4px;
    padding: 16px 20px;
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 60px;
}

@media (max-width: 900px) {
    .map-legend {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .map-legend {
        grid-template-columns: 1fr;
    }

    .map-pin-dot {
        width: 26px;
        height: 26px;
        font-size: 0.8rem;
    }
}
