/* stylecss.css */
/* Versione completa per Distributori Metano */

/* VARIABILI */
:root {
    --primary: #00b894;
    --primary-dark: #00a085;
    --primary-light: #55efc4;
    --secondary: #0984e3;
    --secondary-dark: #074c8c;
    --dark: #2d3436;
    --text: #2d3436;
    --text-light: #636e72;
    --light: #ffffff;
    --light-bg: #f8f9fa;
    --border: #dfe6e9;
    --shadow: 0 10px 30px rgba(0, 184, 148, 0.1);
    --shadow-lg: 0 15px 40px rgba(0, 184, 148, 0.15);
    --radius: 12px;
    --radius-sm: 8px;
}

/* RESET */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--text);
    background-color: var(--light);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    line-height: 1.3;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* BUTTONS */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    gap: 10px;
    text-decoration: none;
    font-family: 'Poppins', sans-serif;
}

.btn-primary {
    background-color: var(--primary);
    color: var(--light);
    box-shadow: 0 4px 15px rgba(0, 184, 148, 0.3);
}

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

.btn-secondary {
    background-color: var(--secondary);
    color: var(--light);
}

.btn-secondary:hover {
    background-color: var(--secondary-dark);
    transform: translateY(-2px);
}

.btn-outline {
    background-color: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-outline:hover {
    background-color: var(--primary);
    color: var(--light);
}

.btn-block {
    width: 100%;
}

/* HEADER PRINCIPALE */
header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background-color: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    border-bottom: 3px solid var(--primary);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 0;
    min-height: 80px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    flex-shrink: 0;
}

.logo-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--light);
    font-size: 24px;
    box-shadow: 0 4px 10px rgba(0, 184, 148, 0.3);
}

.logo-text {
    font-family: 'Poppins', sans-serif;
    font-size: 28px;
    font-weight: 700;
    color: var(--dark);
    line-height: 1.2;
}

.logo-text span {
    color: var(--primary);
}

/* DESKTOP NAVIGATION */
.nav-desktop {
    display: flex;
    gap: 32px;
    align-items: center;
    margin: 0 30px;
}

.nav-desktop a {
    text-decoration: none;
    color: var(--dark);
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    white-space: nowrap;
    font-size: 16px;
}

.nav-desktop a:hover {
    color: var(--primary);
}

.nav-desktop a.active {
    color: var(--primary);
}

.nav-desktop a.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: var(--primary);
    border-radius: 3px;
}

/* DROPDOWN MENU PER DESKTOP */
.menu-item-has-children {
    position: relative;
}

.menu-item-has-children > a {
    display: flex;
    align-items: center;
    gap: 5px;
}

.menu-item-has-children > a i {
    font-size: 12px;
    transition: transform 0.3s;
}

.menu-item-has-children:hover > a i {
    transform: rotate(180deg);
}

.sub-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 240px;
    background: white;
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-lg);
    padding: 10px 0;
    list-style: none;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s;
    z-index: 1000;
    border: 1px solid var(--border);
}

.menu-item-has-children:hover .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.sub-menu li {
    margin: 0;
}

.sub-menu li a {
    display: block;
    padding: 10px 20px;
    color: var(--text);
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s;
    white-space: nowrap;
}

.sub-menu li a:hover {
    background-color: var(--light-bg);
    color: var(--primary);
    padding-left: 25px;
}

/* Regioni submenu - più largo */
.regioni-submenu {
    min-width: 280px;
    max-height: 400px;
    overflow-y: auto;
}

.regioni-submenu li a {
    white-space: normal;
}

.header-actions {
    display: flex;
    gap: 15px;
    align-items: center;
    flex-shrink: 0;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    color: var(--dark);
    cursor: pointer;
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-sm);
    transition: all 0.3s ease;
}

.mobile-menu-btn:hover {
    background-color: var(--border);
}

/* Nascondi bars da desktop */
@media (min-width: 993px) {
    .mobile-menu-btn {
        display: none !important;
    }
}

/* MOBILE MENU */
.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--light);
    z-index: 1001;
    padding: 30px 20px;
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
}

.mobile-menu.active {
    transform: translateX(0);
}

.mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border);
}

.mobile-menu-close {
    background: none;
    border: none;
    font-size: 24px;
    color: var(--dark);
    cursor: pointer;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-sm);
    transition: all 0.3s ease;
}

.mobile-menu-close:hover {
    background-color: var(--border);
}

.mobile-nav {
    list-style: none;
    flex-grow: 1;
}

.mobile-nav li {
    margin-bottom: 5px;
}

.mobile-nav > li > a {
    display: block;
    padding: 18px 0;
    font-size: 18px;
    font-weight: 500;
    color: var(--dark);
    text-decoration: none;
    transition: all 0.3s ease;
    border-bottom: 1px solid var(--border);
}

.mobile-nav > li > a i {
    width: 24px;
    color: var(--primary);
}

.mobile-nav a:hover,
.mobile-nav a.active {
    color: var(--primary);
    padding-left: 10px;
}

/* Sottomenu mobile */
.has-submenu {
    position: relative;
}

.submenu-label {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 0;
    font-size: 18px;
    font-weight: 500;
    color: var(--text);
    border-bottom: 1px solid var(--border);
    cursor: pointer;
}

.submenu-label span {
    display: flex;
    align-items: center;
    gap: 12px;
}

.submenu-label span i {
    width: 24px;
    color: var(--primary);
}

input:checked + .submenu-label + .submenu {
    display: block;
    padding: 15px 0 15px 36px;
    margin-bottom: 10px;
}

.submenu {
    display: none;
    list-style: none;
    padding-left: 36px;
    background-color: var(--light-bg);
    border-radius: 0 0 12px 12px;
}

.submenu li a {
    display: block;
    padding: 12px 15px;
    color: var(--text);
    text-decoration: none;
    font-size: 16px;
    border-radius: 8px;
}

.submenu li a:hover {
    background-color: white;
    color: var(--primary);
}

.regioni-submenu-mobile {
    max-height: 300px;
    overflow-y: auto;
}

.mobile-menu-footer {
    padding-top: 30px;
    border-top: 1px solid var(--border);
    margin-top: 20px;
}

.mobile-menu-footer .btn {
    width: 100%;
    justify-content: center;
}

/* STATS BANNER */
.stats-banner {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: var(--light);
    padding: 20px 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    text-align: center;
}

.stat-item h3 {
    font-size: 32px;
    font-weight: 700;
    color: var(--light);
    margin-bottom: 5px;
}

.stat-item p {
    font-size: 14px;
    opacity: 0.9;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* HERO SECTION */
.hero {
    padding: 100px 0 80px;
    background: linear-gradient(135deg, #f0f9ff 0%, #e6f7ff 100%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 40%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" preserveAspectRatio="none"><path d="M0,0 L100,0 L100,100 Z" fill="%2300b894" opacity="0.05"/></svg>');
    background-size: cover;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-text h1 {
    font-size: 48px;
    margin-bottom: 20px;
    color: var(--dark);
    line-height: 1.2;
}

.hero-text h1 span {
    color: var(--primary);
}

.hero-text p {
    font-size: 18px;
    color: var(--text-light);
    margin-bottom: 30px;
    max-width: 500px;
}

.hero-actions {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.hero-features {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 40px;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.feature-icon {
    width: 50px;
    height: 50px;
    background-color: rgba(0, 184, 148, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 24px;
    flex-shrink: 0;
}

.feature-content h4 {
    font-size: 18px;
    margin-bottom: 5px;
    color: var(--dark);
}

.feature-content p {
    font-size: 15px;
    color: var(--text-light);
    margin: 0;
}

.hero-stats {
    display: flex;
    gap: 40px;
    margin-top: 40px;
}

.stat-number {
    font-size: 32px;
    font-weight: 700;
    color: var(--primary);
}

.stat-label {
    font-size: 14px;
    color: var(--text-light);
}

.hero-visual .map-preview {
    width: 100%;
    height: 400px;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    position: relative;
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary-dark) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    color: var(--light);
    padding: 30px;
    text-align: center;
    cursor: pointer;
}

.map-points {
    position: relative;
    width: 100%;
    height: 200px;
    margin-top: 30px;
}

.map-point {
    position: absolute;
    width: 16px;
    height: 16px;
    background-color: var(--light);
    border-radius: 50%;
    box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.3);
    animation: pulse 2s infinite;
}

.map-point:nth-child(1) { top: 30%; left: 20%; }
.map-point:nth-child(2) { top: 50%; left: 40%; }
.map-point:nth-child(3) { top: 40%; left: 60%; }
.map-point:nth-child(4) { top: 60%; left: 30%; }
.map-point:nth-child(5) { top: 25%; left: 70%; }

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.7); }
    70% { box-shadow: 0 0 0 10px rgba(255, 255, 255, 0); }
    100% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0); }
}

/* SEARCH SECTION */
.search-section {
    padding: 80px 0;
    background-color: var(--light);
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    font-size: 36px;
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary) 0%, var(--primary-dark) 100%);
    border-radius: 2px;
}

.section-title p {
    color: var(--text-light);
    max-width: 800px;
    margin: 15px auto 0;
    line-height: 1.6;
    font-size: 17px;
}

/* MAPPA */
#mappadistributori {
    width: 100%;
    height: 600px;
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    z-index: 1;
}

#geolocalizza {
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
    background: white;
    padding: 12px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: 90%;
    max-width: 450px;
    border: 1px solid rgba(0, 184, 148, 0.2);
}

.search-bar {
    display: flex;
    gap: 8px;
    margin-bottom: 8px;
}

.search-bar input {
    flex: 1;
    padding: 8px 10px;
    border: 1px solid var(--border);
    border-radius: 6px;
    font-size: 14px;
}

.search-bar input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(0, 184, 148, 0.1);
}

.search-bar button {
    padding: 8px 16px;
    background-color: var(--primary);
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
    font-size: 14px;
    white-space: nowrap;
    transition: all 0.3s ease;
}

.search-bar button:hover {
    background-color: var(--primary-dark);
}

/* Divisore blu */
.divisore-blu {
    height: 1px;
    background: linear-gradient(90deg, var(--primary) 0%, var(--primary-dark) 100%);
    margin: 8px 0;
}

/* Filtri row */
.filter-row {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.filter-row > div:first-child {
    display: flex;
    gap: 12px;
    flex-shrink: 0;
}

.filter-row label {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 13px;
    cursor: pointer;
    white-space: nowrap;
}

.filter-row input[type="checkbox"] {
    margin: 0;
    width: 16px;
    height: 16px;
    cursor: pointer;
}

.filter-row > div:last-child {
    flex: 1;
    min-width: 160px;
}

/* Filtro bandiera */
#filtro-bandiera {
    width: 100%;
    padding: 8px;
    border-radius: 4px;
    border: 1px solid var(--border);
    background-color: white;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.3s ease;
}

#filtro-bandiera:hover {
    border-color: var(--primary);
}

#filtro-bandiera:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(0, 184, 148, 0.1);
}

/* Select2 personalizzato */
.select2-container--default .select2-selection--single {
    height: 34px !important;
    border: 1px solid var(--border) !important;
    border-radius: var(--radius-sm) !important;
    padding: 3px 8px !important;
    font-size: 13px;
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
    line-height: 26px;
    color: var(--text);
    font-size: 13px;
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 32px !important;
    right: 5px;
}

.select2-dropdown {
    border-color: var(--border);
    border-radius: var(--radius-sm);
}

.select2-results__option--selected {
    background-color: var(--primary) !important;
    color: white !important;
}

.select2-results__option--highlighted {
    background-color: var(--primary-light) !important;
}

/* Attendimappa */
.attendimappa {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.8);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.attendimappa2 {
    display: none;
}

.centradiv {
    text-align: center;
}

/* Popup buttons */
.popup-buttons {
    display: flex;
    gap: 8px;
    margin-top: 10px;
}

.popup-btn-primary {
    flex: 1;
    padding: 10px 12px;
    background-color: var(--primary);
    color: white !important;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    transition: all 0.3s ease;
}

.popup-btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
}

.popup-btn-secondary {
    flex: 1;
    padding: 10px 12px;
    background-color: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    transition: all 0.3s ease;
}

.popup-btn-secondary:hover {
    background-color: var(--primary);
    color: white;
}

/* Tooltip label */
.my-label {
    background-color: var(--primary);
    color: white;
    font-weight: bold;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    white-space: nowrap;
}

/* FEATURES SECTION */
.features {
    padding: 80px 0;
    background-color: var(--light-bg);
}

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

.feature-card {
    background-color: var(--light);
    border-radius: var(--radius);
    padding: 40px 30px;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    text-align: center;
    height: 100%;
    border: 1px solid var(--border);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
}

.feature-icon {
    width: 80px;
    height: 80px;
    background-color: rgba(0, 184, 148, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    color: var(--primary);
    font-size: 36px;
}

.feature-card h3 {
    font-size: 22px;
    margin-bottom: 15px;
    color: var(--dark);
}

.feature-card p {
    color: var(--text-light);
    font-size: 15px;
    line-height: 1.6;
}

/* DISTRIBUTORS SECTION */
.distributors-section {
    padding: 80px 0;
    background-color: var(--light);
}

.distributors-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    flex-wrap: wrap;
    gap: 20px;
}

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

.distributor-card {
    background-color: var(--light);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    border: 1px solid var(--border);
}

.distributor-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
}

.distributor-header {
    padding: 20px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.distributor-name {
    font-weight: 600;
    font-size: 18px;
    color: var(--light);
}

.distributor-status {
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    background-color: rgba(255, 255, 255, 0.2);
    color: var(--light);
}

.status-open {
    background-color: rgba(255, 255, 255, 0.2);
    color: var(--light);
}

.status-closed {
    background-color: rgba(255, 255, 255, 0.2);
    color: var(--light);
}

.distributor-body {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.distributor-info {
    margin-bottom: 20px;
    flex-grow: 1;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
    color: var(--text-light);
}

.info-item i {
    color: var(--primary);
    width: 20px;
    flex-shrink: 0;
}

.price-tag {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary);
    margin: 15px 0;
    padding: 10px 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.distributor-actions {
    display: flex;
    gap: 10px;
    margin-top: auto;
}

.distributor-actions .btn {
    flex: 1;
    padding: 12px;
    font-size: 14px;
}

/* ADVANTAGES SECTION */
.advantages-section {
    padding: 80px 0;
    background-color: var(--light-bg);
}

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

.advantage-card {
    background-color: var(--light);
    border-radius: var(--radius);
    padding: 40px 30px;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    text-align: center;
    height: 100%;
    border: 1px solid var(--border);
}

.advantage-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
}

.advantage-icon {
    width: 80px;
    height: 80px;
    background-color: rgba(0, 184, 148, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    color: var(--primary);
    font-size: 36px;
}

.advantage-card h3 {
    font-size: 22px;
    margin-bottom: 15px;
    color: var(--dark);
}

.advantage-card p {
    color: var(--text-light);
    font-size: 15px;
    line-height: 1.6;
}

/* REGIONI SECTION */
.regioni-section {
    padding: 80px 0;
    background-color: var(--light);
}

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

.regione-card {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

.regione-card > div {
    background-color: var(--light);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    border: 1px solid var(--border);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.regione-card:hover > div {
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
}

.regione-image {
    height: 200px;
    overflow: hidden;
    background-color: var(--light-bg);
    position: relative;
}

.regione-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 30%;
    transition: transform 0.3s ease;
}

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

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

.regione-content h3 {
    font-size: 20px;
    margin-bottom: 10px;
    transition: color 0.3s ease;
}

.regione-card:hover .regione-content h3 {
    color: var(--primary);
}

.regione-content p {
    color: var(--text-light);
    margin-bottom: 5px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.regione-content i {
    color: var(--primary);
    width: 20px;
}

.prezzo-regione {
    font-weight: 600;
    color: var(--primary-dark);
    margin-top: 5px;
}

/* CTA SECTION */
.cta-section {
    padding: 100px 0;
    background: linear-gradient(rgba(0, 184, 148, 0.9), rgba(0, 160, 133, 0.9)), 
                url('https://images.unsplash.com/photo-1624395140495-e2dc52400f64?ixlib=rb-1.2.1&auto=format&fit=crop&w=1600&q=80');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: var(--light);
    text-align: center;
}

.cta-content h2 {
    font-size: 42px;
    margin-bottom: 20px;
    color: var(--light);
}

.cta-content p {
    font-size: 20px;
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0.95;
}

.cta-content .btn-outline {
    border-color: var(--light);
    color: var(--light);
}

.cta-content .btn-outline:hover {
    background-color: var(--light);
    color: var(--primary);
}

/* FOOTER COMPLETO */
.custom-footer,
footer {
    background-color: var(--dark);
    color: var(--light);
    padding: 70px 0 30px;
    margin-top: 0;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col h3 {
    font-size: 20px;
    margin-bottom: 20px;
    color: white;
    position: relative;
    padding-bottom: 10px;
    font-weight: 600;
}

.footer-col h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary) 0%, var(--primary-dark) 100%);
}

.footer-col h4 {
    font-size: 16px;
    margin-bottom: 15px;
    color: white;
    font-weight: 500;
}

.footer-col p {
    color: #b0b0b0;
    line-height: 1.6;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: #b0b0b0;
    text-decoration: none;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
}

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

.footer-links a i {
    color: var(--primary);
    width: 18px;
    font-size: 14px;
}

/* Stats mini nel footer */
.stats-mini {
    display: flex;
    gap: 20px;
    margin: 20px 0;
    color: #b0b0b0;
}

.stats-mini strong {
    color: var(--primary);
    font-size: 20px;
    display: block;
}

/* Contact info nel footer */
.contact-info p {
    margin-bottom: 10px;
    color: #b0b0b0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.contact-info i {
    color: var(--primary);
    width: 18px;
}

/* Regioni footer */
.regioni-footer {
    columns: 2;
    column-gap: 20px;
}

.regioni-footer li {
    break-inside: avoid;
    margin-bottom: 8px;
}

.regioni-footer li a {
    font-size: 13px;
    padding: 4px 0;
}

/* Footer bottom */
.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #b0b0b0;
    font-size: 14px;
    line-height: 1.6;
}

.footer-bottom a {
    color: #b0b0b0;
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-bottom a:hover {
    color: var(--primary) !important;
    text-decoration: underline;
}

.footer-bottom p {
    margin-bottom: 5px;
}

/* Google Play badge */
.footer-col img {
    max-width: 150px;
    height: auto;
    border-radius: 6px;
}

/* APP STYLES */
.app-header-minimal {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    padding: 15px 0;
    box-shadow: var(--shadow);
    margin-bottom: 0;
}

.app-header-minimal .logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: white;
}

.app-header-minimal .logo-icon {
    width: 40px;
    height: 40px;
    background: white;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 20px;
}

.app-header-minimal .logo-text {
    font-family: 'Poppins', sans-serif;
    font-size: 22px;
    font-weight: 700;
    color: white;
}

.app-header-minimal .logo-text span {
    color: white;
    opacity: 0.9;
}

/* Bottom navigation */
.app-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: white;
    display: flex;
    justify-content: space-around;
    padding: 10px 0 5px;
    box-shadow: 0 -5px 20px rgba(0,0,0,0.1);
    border-top-left-radius: 25px;
    border-top-right-radius: 25px;
    z-index: 1000;
    backdrop-filter: blur(10px);
    background-color: rgba(255,255,255,0.95);
}

.app-nav-item {
    flex: 1;
    text-align: center;
    color: var(--text-light);
    text-decoration: none;
    font-size: 12px;
    padding: 8px 0;
    transition: color 0.3s;
}

.app-nav-item i {
    display: block;
    font-size: 22px;
    margin-bottom: 4px;
}

.app-nav-item.active {
    color: var(--primary);
}

.app-nav-item:active {
    opacity: 0.7;
}

.app-footer-copyright {
    position: fixed;
    bottom: 70px;
    left: 0;
    right: 0;
    text-align: center;
    color: var(--text-light);
    font-size: 11px;
    padding: 10px;
    background: transparent;
    pointer-events: none;
    z-index: 999;
}

.app-footer-copyright p {
    margin: 0;
    opacity: 0.6;
}

body.app-mode {
    padding-bottom: 120px;
}

/* PREMIUM BANNER */
.premium-banner-compact {
    background: linear-gradient(135deg, #f39c12 0%, #e67e22 100%);
    color: white;
    padding: 10px 0;
    margin: 30px 0 20px;
    border-radius: 40px;
    box-shadow: 0 4px 15px rgba(243, 156, 18, 0.2);
    font-size: 14px;
}

.compact-content {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}

.compact-icon {
    background: rgba(255,255,255,0.2);
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    flex-shrink: 0;
}

.compact-text {
    flex: 1;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.compact-text strong {
    font-weight: 700;
    white-space: nowrap;
}

.compact-price {
    background: rgba(255,255,255,0.2);
    padding: 3px 10px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 13px;
    white-space: nowrap;
}

.compact-cta {
    background: white;
    color: #e67e22;
    padding: 8px 18px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    font-size: 13px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    white-space: nowrap;
    transition: all 0.3s;
    flex-shrink: 0;
}

.compact-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.compact-cta i {
    font-size: 12px;
    transition: transform 0.3s;
}

.compact-cta:hover i {
    transform: translateX(3px);
}

/* SEO CONTENT */
.seo-content {
    padding: 60px 0;
    background-color: var(--light);
}

.seo-text h2 {
    font-size: 28px;
    margin-bottom: 20px;
    color: var(--dark);
    position: relative;
    padding-bottom: 15px;
}

.seo-text h2:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary) 0%, var(--primary-dark) 100%);
    border-radius: 3px;
}

.seo-text p {
    margin-bottom: 15px;
    line-height: 1.8;
    color: var(--text);
}

.seo-text ul {
    margin: 20px 0 0 0;
    list-style: none;
}

.seo-text ul li {
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 16px;
}

.seo-text ul li i {
    color: var(--primary);
    width: 20px;
    flex-shrink: 0;
}

/* UTILITY CLASSES */
.text-light {
    color: var(--text-light);
}

/* RESPONSIVE DESIGN */
@media (max-width: 1200px) {
    .container {
        padding: 0 30px;
    }
    
    .distributors-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .advantages-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .regioni-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 992px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .hero-text h1 {
        font-size: 42px;
    }
    
    .hero-text p {
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero-actions {
        justify-content: center;
    }
    
    .hero-features {
        align-items: center;
    }
    
    .feature-item {
        text-align: left;
        max-width: 400px;
    }
    
    .hero-stats {
        justify-content: center;
    }
    
    .nav-desktop {
        display: none;
    }
    
    .mobile-menu-btn {
        display: flex;
    }
    
    .header-actions .btn span {
        display: none;
    }
    
    .header-actions .btn {
        padding: 12px;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
    
    .regioni-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .regioni-footer {
        columns: 1;
    }
}

@media (max-width: 768px) {
    .header-content {
        padding: 15px 0;
        min-height: 70px;
    }
    
    .logo-icon {
        width: 40px;
        height: 40px;
        font-size: 20px;
    }
    
    .logo-text {
        font-size: 22px;
    }
    
    .hero {
        padding: 80px 0 60px;
    }
    
    .hero-text h1 {
        font-size: 36px;
    }
    
    .hero-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-actions .btn {
        width: 100%;
        max-width: 300px;
    }
    
    .hero-features {
        margin-top: 20px;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 20px;
    }
    
    .search-section {
        padding: 60px 0;
    }
    
    .section-title h2 {
        font-size: 30px;
    }
    
    #mappadistributori {
        height: 500px;
    }
    
    #geolocalizza {
        width: 95%;
        padding: 12px;
    }
    
    .features {
        padding: 60px 0;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .distributors-section {
        padding: 60px 0;
    }
    
    .distributors-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .distributors-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .advantages-section {
        padding: 60px 0;
    }
    
    .advantages-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .regioni-section {
        padding: 60px 0;
    }
    
    .regioni-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .regione-image {
        height: 180px;
    }
    
    .cta-section {
        padding: 80px 0;
        background-attachment: scroll;
    }
    
    .cta-content h2 {
        font-size: 36px;
    }
    
    .cta-content p {
        font-size: 18px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .custom-footer,
    footer {
        padding: 50px 0 20px;
    }
    
    .regioni-footer {
        columns: 2;
    }
    
    .filter-row {
        flex-direction: column;
        align-items: stretch;
        gap: 8px;
    }
    
    .filter-row > div:first-child {
        justify-content: space-between;
    }
    
    .select2-container {
        width: 100% !important;
    }
    
    .compact-content {
        flex-direction: column;
        text-align: center;
    }
    
    .compact-cta {
        width: 100%;
        justify-content: center;
    }
    
    .distributor-actions {
        flex-direction: column;
    }
    
    .popup-buttons {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .logo-text {
        font-size: 20px;
    }
    
    .logo-icon {
        width: 36px;
        height: 36px;
        font-size: 18px;
    }
    
    .hero-text h1 {
        font-size: 30px;
    }
    
    .section-title h2 {
        font-size: 26px;
    }
    
    .cta-content h2 {
        font-size: 30px;
    }
    
    .regione-image {
        height: 160px;
    }
    
    .regioni-footer {
        columns: 1;
    }
    
    .app-header-minimal .logo-text {
        font-size: 18px;
    }
    
    .app-header-minimal .logo-icon {
        width: 35px;
        height: 35px;
        font-size: 18px;
    }
    
    .app-nav-item i {
        font-size: 20px;
    }
    
    .app-nav-item span {
        font-size: 10px;
    }
    
    body.app-mode {
        padding-bottom: 100px;
    }
    
    .footer-col img {
        max-width: 120px;
    }
}