/* ========================================
   RESPONSIVE STYLES
   ======================================== */

/* Mobile First - Additional responsive styles */

/* Vantaggi Section */
.vantaggi-section {
    background: #F4F6F7;
}

.vantaggi-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

@media (min-width: 640px) {
    .vantaggi-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
}

@media (min-width: 1024px) {
    .vantaggi-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* Soluzioni Section */
.soluzioni-section {
    background: #ffffff;
}

.soluzioni-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 768px) {
    .soluzioni-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.soluzione-card {
    background: #ffffff;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.soluzione-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(22, 180, 196, 0.15);
}

.soluzione-highlighted {
    box-shadow: 0 0 0 2px #16B4C4, 0 8px 24px rgba(22, 180, 196, 0.2);
}

.soluzione-premium {
    box-shadow: 0 0 0 2px #54CBD3, 0 8px 24px rgba(84, 203, 211, 0.2);
}

.soluzione-image {
    position: relative;
    height: 16rem;
    overflow: hidden;
}

.soluzione-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s ease;
}

.soluzione-card:hover .soluzione-image img {
    transform: scale(1.1);
}

.soluzione-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 16, 33, 0.7), rgba(6, 29, 50, 0.3));
}

.soluzione-image-title {
    position: absolute;
    top: 1.5rem;
    left: 1.5rem;
    font-size: 1.5rem;
    font-weight: 700;
    color: #ffffff;
    z-index: 10;
}

.soluzione-badge {
    position: absolute;
    top: 1.5rem;
    left: 1.5rem;
    margin-top: 2.5rem;
    display: inline-block;
    background: #16B4C4;
    color: #ffffff;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    z-index: 10;
}

.badge-premium {
    background: #54CBD3;
    color: #001021;
}

.soluzione-content {
    padding: 2rem;
}

.soluzione-tagline {
    color: #16B4C4;
    font-weight: 600;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.5rem;
}

.soluzione-description {
    color: #132234;
    font-size: 1.125rem;
    line-height: 1.75;
    margin-bottom: 1.5rem;
}

.soluzione-features {
    list-style: none;
    margin-bottom: 1.5rem;
}

.soluzione-features li {
    display: flex;
    align-items: center;
    color: rgba(19, 34, 52, 0.8);
    margin-bottom: 0.75rem;
}

.soluzione-features li::before {
    content: '';\n    width: 0.375rem;
    height: 0.375rem;
    border-radius: 50%;
    background: #16B4C4;
    margin-right: 0.75rem;
    flex-shrink: 0;
}

/* Metodo Section */
.metodo-section {
    position: relative;
    background: linear-gradient(135deg, #001021 0%, #061D32 50%, #132234 100%);
    overflow: hidden;
}

.metodo-bg-decoration {
    position: absolute;
    top: 0;
    left: 0;
    width: 24rem;
    height: 24rem;
    background: radial-gradient(circle, rgba(22, 180, 196, 0.1) 0%, transparent 70%);
    filter: blur(60px);
}

.metodo-bg-decoration::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 24rem;
    height: 24rem;
    background: radial-gradient(circle, rgba(84, 203, 211, 0.1) 0%, transparent 70%);
    filter: blur(60px);
}

.metodo-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    position: relative;
    z-index: 10;
}

@media (min-width: 768px) {
    .metodo-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .metodo-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.metodo-step {
    position: relative;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 1rem;
    padding: 2rem;
    transition: all 0.3s ease;
}

.metodo-step:hover {
    background: rgba(255, 255, 255, 0.1);
}

.step-number {
    font-size: 4rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.1);
    line-height: 1;
    margin-bottom: 1rem;
    transition: color 0.3s ease;
}

.metodo-step:hover .step-number {
    color: rgba(255, 255, 255, 0.2);
}

.step-icon {
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    transition: transform 0.3s ease;
}

.metodo-step:hover .step-icon {
    transform: scale(1.1);
}

.step-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 0.75rem;
}

.step-description {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.75;
}

/* Territorio Section */
.territorio-section {
    background: #F4F6F7;
}

.territorio-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
}

@media (min-width: 768px) {
    .territorio-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.territorio-map {
    display: flex;
    justify-content: center;
    align-items: center;
}

.map-container {
    background: #ffffff;
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    transition: box-shadow 0.3s ease;
}

.map-container:hover {
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
}

.map-image {
    width: 100%;
    max-width: 28rem;
    height: auto;
    object-fit: contain;
}

.territorio-cities {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.city-card {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    background: #ffffff;
    padding: 1.5rem;
    border-radius: 0.75rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    transition: box-shadow 0.3s ease;
}

.city-card:hover {
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.city-icon {
    width: 3rem;
    height: 3rem;
    flex-shrink: 0;
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.city-content {
    flex: 1;
}

.city-name {
    font-size: 1.25rem;
    font-weight: 700;
    color: #001021;
    margin-bottom: 0.5rem;
}

.city-description {
    color: rgba(19, 34, 52, 0.7);
    line-height: 1.75;
}

/* CTA Section */
.cta-section {
    position: relative;
    background: linear-gradient(135deg, #001021 0%, #061D32 50%, #001021 100%);
    overflow: hidden;
}

.cta-bg-decoration {
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    width: 24rem;
    height: 24rem;
    background: radial-gradient(circle, rgba(22, 180, 196, 0.1) 0%, transparent 70%);
    filter: blur(60px);
}

.cta-bg-decoration::after {
    content: '';
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    width: 24rem;
    height: 24rem;
    background: radial-gradient(circle, rgba(84, 203, 211, 0.1) 0%, transparent 70%);
    filter: blur(60px);
}

.cta-content {
    max-width: 64rem;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 10;
}

.cta-title {
    font-size: 2rem;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.3;
    margin-bottom: 1.5rem;
}

@media (min-width: 640px) {
    .cta-title {
        font-size: 2.5rem;
    }
}

@media (min-width: 768px) {
    .cta-title {
        font-size: 3rem;
    }
}

@media (min-width: 1024px) {
    .cta-title {
        font-size: 3.75rem;
    }
}

.cta-description {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.75;
    margin-bottom: 3rem;
    max-width: 42rem;
    margin-left: auto;
    margin-right: auto;
}

@media (min-width: 640px) {
    .cta-description {
        font-size: 1.25rem;
    }
}

.cta-contacts {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    max-width: 48rem;
    margin: 4rem auto 0;
}

@media (min-width: 640px) {
    .cta-contacts {
        grid-template-columns: repeat(3, 1fr);
    }
}

.cta-contact-item {
    text-align: center;
}

.contact-label {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 0.5rem;
}

.contact-value {
    font-size: 1.125rem;
    font-weight: 600;
    color: #ffffff;
    transition: color 0.2s ease;
}

.contact-value:hover {
    color: #54CBD3;
}

/* Footer */
.footer {
    background: #001021;
    color: #ffffff;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    padding: 3rem 0;
}

@media (min-width: 768px) {
    .footer-content {
        grid-template-columns: repeat(3, 1fr);
        gap: 5rem;
    }
}

.footer-logo {
    height: 5rem;
    width: auto;
    object-fit: contain;
    margin-bottom: 1rem;
}

@media (min-width: 640px) {
    .footer-logo {
        height: 6rem;
    }
}

.footer-description {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.75;
    margin-bottom: 1rem;
}

.footer-brand {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.875rem;
    line-height: 1.5;
}

.footer-title {
    font-size: 1.125rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 1rem;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: rgba(255, 255, 255, 0.7);
    transition: color 0.2s ease;
}

.footer-link:hover {
    color: #54CBD3;
}

.footer-link .icon {
    transition: transform 0.2s ease;
}

.footer-link:hover .icon {
    transform: scale(1.1);
}

.footer-address {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    color: rgba(255, 255, 255, 0.7);
}

.footer-address .icon {
    margin-top: 0.25rem;
    flex-shrink: 0;
}

.footer-vat {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 1.5rem;
}

.footer-legal {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-legal-link {
    color: rgba(255, 255, 255, 0.7);
    transition: color 0.2s ease;
    text-align: left;
}

.footer-legal-link:hover {
    color: #54CBD3;
}

.footer-bottom {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    gap: 0.5rem;
}

@media (min-width: 640px) {
    .footer-bottom {
        flex-direction: row;
    }
}

.footer-copyright {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.875rem;
}

.footer-brand-small {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.875rem;
}
