/* Base e Reset */
:root {
    --primary-color: #ff6b00;
    --primary-dark: #e05d00;
    --secondary-color: #2d3748;
    --accent-color: #4299e1;
    --light-color: #f7fafc;
    --gray-color: #e2e8f0;
    --dark-color: #1a202c;
    --danger-color: #e53e3e;
    --success-color: #38a169;
    --warning-color: #ecc94b;
    --body-font: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    --heading-font: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    --border-radius: 6px;
    --box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--body-font);
    font-size: 16px;
    line-height: 1.6;
    color: var(--dark-color);
    background-color: var(--light-color);
    overflow-x: hidden;
}

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

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

ul {
    list-style: none;
}

/* Container e Layout */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
}

section {
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.section-header {
    margin-bottom: 50px;
    max-width: 800px;
}

.section-header.center {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}

.section-badge {
    display: inline-block;
    background-color: rgba(255, 107, 0, 0.1);
    color: var(--primary-color);
    font-weight: 600;
    font-size: 0.9rem;
    padding: 5px 15px;
    border-radius: 50px;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--secondary-color);
    line-height: 1.2;
}

.section-subtitle {
    font-size: 1.1rem;
    color: #64748b;
    margin-bottom: 0;
}

/* Header */
header {
    background-color: white;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

.logo h1 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--secondary-color);
    margin: 0;
}

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

nav ul {
    display: flex;
    gap: 20px;
}

nav ul li a {
    color: var(--secondary-color);
    font-weight: 600;
    position: relative;
    padding: 5px 0;
}

nav ul li a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var(--primary-color);
    visibility: hidden;
    transition: all 0.3s ease;
}

nav ul li a:hover {
    color: var(--primary-color);
}

nav ul li a:hover::after,
nav ul li a.active::after {
    visibility: visible;
    width: 100%;
}

.btn-nav {
    background-color: var(--primary-color);
    color: white !important;
    padding: 8px 20px;
    border-radius: 50px;
}

.btn-nav:hover {
    background-color: var(--primary-dark);
}

.btn-nav::after {
    display: none;
}

.phone-btn {
    display: flex;
    align-items: center;
    background-color: var(--primary-color);
    color: white;
    padding: 8px 15px;
    border-radius: 50px;
    font-weight: 600;
    position: relative;
}

.phone-pulse {
    position: absolute;
    width: 15px;
    height: 15px;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    background-color: white;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: translateY(-50%) scale(0.95);
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.7);
    }
    
    70% {
        transform: translateY(-50%) scale(1);
        box-shadow: 0 0 0 10px rgba(255, 255, 255, 0);
    }
    
    100% {
        transform: translateY(-50%) scale(0.95);
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0);
    }
}

.phone-btn i {
    margin-right: 5px;
}

.phone-btn:hover {
    background-color: var(--primary-dark);
    color: white;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    width: 30px;
    cursor: pointer;
}

.menu-toggle span {
    background-color: var(--secondary-color);
    height: 3px;
    margin: 3px 0;
    border-radius: 3px;
    transition: var(--transition);
}

/* Bottoni */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 30px;
    font-weight: 600;
    border-radius: 50px;
    transition: var(--transition);
    cursor: pointer;
    text-align: center;
    border: none;
    font-size: 1rem;
    gap: 10px;
}

.btn i {
    font-size: 0.9rem;
    transition: transform 0.3s ease;
}

.btn:hover i {
    transform: translateX(3px);
}

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

.btn-primary:hover {
    background-color: var(--primary-dark);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(255, 107, 0, 0.3);
}

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

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

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

.btn-white:hover {
    background-color: var(--light-color);
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.full-width {
    width: 100%;
}

/* Hero Section */
.hero {
    background-color: #f8fafc;
    padding: 100px 0;
    overflow: hidden;
    position: relative;
}

.hero .container {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
    align-items: center;
}

.hero-badge {
    display: inline-block;
    background-color: rgba(255, 107, 0, 0.1);
    color: var(--primary-color);
    font-weight: 600;
    padding: 8px 16px;
    border-radius: 50px;
    margin-bottom: 20px;
    animation: fadeInUp 1s ease;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero h2 {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--secondary-color);
    margin-bottom: 20px;
    line-height: 1.2;
    animation: fadeInUp 1s ease 0.2s forwards;
    opacity: 0;
}

.hero-subtitle {
    font-size: 1.4rem;
    color: #64748b;
    margin-bottom: 25px;
    animation: fadeInUp 1s ease 0.4s forwards;
    opacity: 0;
}

.hero-features {
    margin-bottom: 30px;
    animation: fadeInUp 1s ease 0.6s forwards;
    opacity: 0;
}

.hero-features li {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    font-weight: 500;
}

.hero-features li i {
    color: var(--success-color);
    margin-right: 10px;
}

.cta-buttons {
    display: flex;
    gap: 15px;
    margin-bottom: 30px;
    animation: fadeInUp 1s ease 0.8s forwards;
    opacity: 0;
}

.trust-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    animation: fadeInUp 1s ease 1s forwards;
    opacity: 0;
}

.trust-badge {
    display: flex;
    align-items: center;
    background-color: white;
    padding: 10px 15px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--secondary-color);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.trust-badge i {
    color: var(--accent-color);
    margin-right: 8px;
}

.hero-image {
    position: relative;
    animation: none;
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
    100% {
        transform: translateY(0px);
    }
}

.hero-image img {
    border-radius: 0;
    box-shadow: none;
}

.hero-tag {
    position: absolute;
    top: 20px;
    right: -10px;
    background-color: var(--primary-color);
    color: white;
    padding: 8px 15px;
    border-radius: 50px;
    font-weight: 600;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    animation: pulse-tag 2s infinite;
}

@keyframes pulse-tag {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

/* Problema-Soluzione */
.problema-soluzione {
    background-color: white;
    padding: 60px 0;
}

.problema-soluzione .container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.problema-box, .soluzione-box {
    padding: 40px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    text-align: center;
}

.problema-box {
    background-color: #fff3ee;
    border-left: 5px solid var(--danger-color);
}

.soluzione-box {
    background-color: #f0fdf4;
    border-left: 5px solid var(--success-color);
}

.problema-icon, .soluzione-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.problema-icon i {
    color: var(--danger-color);
}

.soluzione-icon i {
    color: var(--success-color);
}

.problema-box h3, .soluzione-box h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: var(--secondary-color);
}

.problema-box ul {
    text-align: left;
    margin-bottom: 0;
}

.problema-box ul li {
    margin-bottom: 10px;
    padding-left: 25px;
    position: relative;
}

.problema-box ul li:before {
    content: '\f00d';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    color: var(--danger-color);
    position: absolute;
    left: 0;
}

.soluzione-box p {
    margin-bottom: 25px;
}

/* Emergenza Banner */
.emergenza-banner {
    background-color: var(--primary-color);
    color: white;
    padding: 30px 0;
}

.emergenza-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.emergenza-icon {
    font-size: 2.5rem;
    margin-right: 20px;
    animation: flash 2s infinite;
}

@keyframes flash {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

.emergenza-text h3 {
    font-size: 1.8rem;
    margin-bottom: 5px;
    font-weight: 700;
}

.emergenza-text p {
    margin-bottom: 0;
    font-size: 1.1rem;
}

/* Servizi */
.servizi {
    background-color: white;
}

.servizi-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(330px, 1fr));
    gap: 30px;
}

.servizio-card {
    background-color: #f8fafc;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    padding: 30px;
    transition: var(--transition);
    border-top: 4px solid var(--primary-color);
    position: relative;
    overflow: hidden;
}

.servizio-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.servizio-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.servizio-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--secondary-color);
}

.servizio-card p {
    margin-bottom: 20px;
}

.servizio-card ul {
    margin-bottom: 25px;
}

.servizio-card ul li {
    padding-left: 25px;
    margin-bottom: 8px;
    position: relative;
}

.servizio-card ul li:before {
    content: '\f058';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    color: var(--success-color);
    position: absolute;
    left: 0;
}

.servizio-link {
    color: var(--primary-color);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
}

.servizio-link i {
    margin-left: 5px;
    transition: transform 0.3s ease;
}

.servizio-link:hover i {
    transform: translateX(5px);
}

/* Come Funziona */
.come-funziona {
    background-color: #f8fafc;
    position: relative;
}

.step-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.step {
    flex: 1;
    min-width: 200px;
    text-align: center;
    padding: 30px 20px;
    position: relative;
    background-color: white;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    margin: 0 10px;
}

.step-number {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 30px;
    background-color: var(--primary-color);
    color: white;
    font-weight: 700;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.step-icon {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.step h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: var(--secondary-color);
}

.step p {
    font-size: 0.95rem;
    margin-bottom: 0;
}

.step-arrow {
    color: var(--primary-color);
    font-size: 1.5rem;
    padding: 0 10px;
}

/* Recensioni */
.recensioni {
    background-color: white;
}

.recensioni-slider {
    display: flex;
    overflow: hidden;
    position: relative;
}

.recensione-slide {
    min-width: 100%;
    transition: all 0.5s ease;
}

.recensione-card {
    background-color: #f8fafc;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    padding: 30px;
    max-width: 800px;
    margin: 0 auto;
}

.recensione-stars {
    margin-bottom: 15px;
    color: var(--warning-color);
}

.recensione-text {
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 20px;
    font-style: italic;
    color: var(--secondary-color);
}

.recensione-author {
    display: flex;
    align-items: center;
}

.recensione-author img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    margin-right: 15px;
    object-fit: cover;
}

.author-info h4 {
    font-size: 1.1rem;
    margin-bottom: 0;
    color: var(--secondary-color);
}

.author-info span {
    font-size: 0.9rem;
    color: #64748b;
}

.slider-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 30px;
}

.slider-arrow {
    background-color: var(--light-color);
    color: var(--secondary-color);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    cursor: pointer;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
}

.slider-arrow:hover {
    background-color: var(--primary-color);
    color: white;
}

.slider-dots {
    display: flex;
    justify-content: center;
    margin: 0 15px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: var(--gray-color);
    margin: 0 5px;
    cursor: pointer;
    transition: var(--transition);
}

.dot.active {
    background-color: var(--primary-color);
    transform: scale(1.3);
}

/* Chi Siamo */
.chi-siamo {
    background-color: #fff;
}

.chi-siamo-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.chi-siamo-image {
    position: relative;
}

.chi-siamo-image img {
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.experience-badge {
    position: absolute;
    bottom: -20px;
    right: -20px;
    background-color: var(--primary-color);
    color: white;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    box-shadow: var(--box-shadow);
}

.experience-years {
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1;
}

.experience-text {
    font-size: 0.9rem;
    font-weight: 500;
}

.stats-container {
    display: flex;
    justify-content: space-between;
    margin: 30px 0;
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
    padding: 20px;
    background-color: white;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    min-width: 130px;
}

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.stat-text {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--secondary-color);
}

/* Marchi */
.marchi {
    background-color: white;
    padding: 60px 0;
}

.marchi-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.marchio-item {
    background-color: #f8fafc;
    padding: 15px 25px;
    border-radius: var(--border-radius);
    font-weight: 600;
    color: var(--secondary-color);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    text-align: center;
    transition: var(--transition);
}

.marchio-item:hover {
    transform: translateY(-3px);
    box-shadow: var(--box-shadow);
    color: var(--primary-color);
}

/* Contatti */
.contatti {
    background-color: #f8fafc;
}

.contatti-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.form-container {
    background-color: white;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    padding: 0;
    overflow: hidden;
}

.form-header {
    background-color: var(--primary-color);
    color: white;
    padding: 20px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.form-header i {
    font-size: 2rem;
    margin-bottom: 10px;
}

.form-header h3 {
    font-size: 1.5rem;
    margin: 0;
}

form {
    padding: 30px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 0;
}

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

.form-group.full-width {
    grid-column: span 2;
}

label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--secondary-color);
}

input, textarea, select {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--gray-color);
    border-radius: var(--border-radius);
    font-size: 1rem;
    transition: var(--transition);
    background-color: #f8fafc;
}

input:focus, textarea:focus, select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(255, 107, 0, 0.1);
    background-color: white;
}

select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='currentColor' class='bi bi-chevron-down' viewBox='0 0 16 16'%3E%3Cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 15px center;
    padding-right: 40px;
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
}

.checkbox-group input {
    width: auto;
    margin-right: 10px;
    margin-top: 5px;
}

.form-message {
    margin-top: 20px;
    padding: 15px;
    border-radius: var(--border-radius);
    font-weight: 500;
    text-align: center;
}

.form-message.success {
    background-color: #f0fdf4;
    color: var(--success-color);
    border: 1px solid var(--success-color);
}

.form-message.error {
    background-color: #fef2f2;
    color: var(--danger-color);
    border: 1px solid var(--danger-color);
}

.honeypot-field {
    display: none;
}

/* Vantaggi Container */
.vantaggi-container {
    background-color: white;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    padding: 30px;
}

.vantaggi-container h3 {
    font-size: 1.8rem;
    margin-bottom: 25px;
    color: var(--secondary-color);
    text-align: center;
}

.vantaggio-item {
    display: flex;
    margin-bottom: 25px;
    background-color: #f8fafc;
    padding: 20px;
    border-radius: var(--border-radius);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

.vantaggio-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.vantaggio-icon {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-right: 20px;
    min-width: 40px;
}

.vantaggio-content h4 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: var(--secondary-color);
}

.vantaggio-content p {
    font-size: 0.95rem;
    margin-bottom: 0;
    color: #64748b;
}

.testimonial-mini {
    background-color: #f0fdfa;
    border-left: 3px solid var(--accent-color);
    padding: 20px;
    border-radius: var(--border-radius);
    position: relative;
    margin-top: 20px;
}

.quote-icon {
    position: absolute;
    top: -10px;
    left: 20px;
    background-color: var(--accent-color);
    color: white;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.testimonial-mini p {
    font-style: italic;
    margin-bottom: 10px;
}

.testimonial-author {
    text-align: right;
    font-weight: 600;
    color: var(--secondary-color);
}

/* CTA Slider */
.cta-slider {
    background: linear-gradient(45deg, var(--primary-dark), var(--primary-color));
    padding: 0;
    color: white;
    overflow: hidden;
}

.slider-container {
    display: flex;
    overflow: hidden;
    position: relative;
}

.cta-slide {
    min-width: 100%;
    padding: 60px 0;
    transition: all 0.5s ease;
}

.cta-content {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.cta-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.cta-content h3 {
    font-size: 2.2rem;
    margin-bottom: 20px;
}

.cta-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

.cta-dots {
    margin: -20px auto 20px;
}

.cta-dots .dot {
    background-color: rgba(255, 255, 255, 0.3);
}

.cta-dots .dot.active {
    background-color: white;
}

/* Footer */
footer {
    background-color: var(--secondary-color);
    color: white;
    padding: 80px 0 20px;
}

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

.footer-logo h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

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

.footer-info p {
    margin-bottom: 20px;
    opacity: 0.8;
}

.footer-contact {
    margin-top: 20px;
}

.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.contact-item i {
    color: var(--primary-color);
    margin-right: 10px;
    min-width: 20px;
}

footer h4 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

footer h4::after {
    content: '';
    position: absolute;
    width: 40px;
    height: 3px;
    background-color: var(--primary-color);
    bottom: 0;
    left: 0;
}

footer ul li {
    margin-bottom: 10px;
}

footer a {
    color: rgba(255, 255, 255, 0.8);
    transition: var(--transition);
}

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

.newsletter-form {
    display: flex;
    margin-bottom: 20px;
}

.newsletter-form input {
    flex: 1;
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
    border: none;
}

.newsletter-form button {
    background-color: var(--primary-color);
    color: white;
    border: none;
    padding: 12px 15px;
    cursor: pointer;
    border-top-right-radius: var(--border-radius);
    border-bottom-right-radius: var(--border-radius);
    transition: var(--transition);
}

.newsletter-form button:hover {
    background-color: var(--primary-dark);
}

.social-icons {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

.social-icons a {
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.social-icons a:hover {
    background-color: var(--primary-color);
    transform: translateY(-3px);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    text-align: center;
    font-size: 0.9rem;
    opacity: 0.6;
}

.contact-item span {
    color: rgba(255, 255, 255, 0.8);
}

/*thank you page*/
#typ .vantaggi-container {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    column-gap: 20px;
}

#typ .vantaggio-item {
    display: flex;
    flex-direction: column;
    row-gap: 10px;
}

section.typ {
	background:#fff;
}

section#typ {
    padding: 50px 0px;
}

.typ .container {
	display:flex;
}

.typ h2 {
    font-size: 35px;
	padding-bottom:20px;
}

.typ .btn-secondary {
	background:#fff;
}
.typ .btn-secondary:hover {
	background:#F66700;
}




/* Responsive */
@media (max-width: 1024px) {
    .hero h2 {
        font-size: 2.8rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .step-arrow {
        display: none;
    }
    
    .step {
        margin-bottom: 30px;
    }
}

@media (max-width: 992px) {
    .chi-siamo-content,
    .contatti-content {
        grid-template-columns: 1fr;
        gap: 50px;
    }
	
	.hero .container {
        display: flex;
        flex-direction: column-reverse;
    }
    
    .hero-image {
        order: -1;
        max-width: 600px;
        margin: 0 auto;
    }
    
    .hero-content {
        text-align: center;
    }
    
    .hero-features {
        max-width: 400px;
        margin-left: auto;
        margin-right: auto;
        text-align: left;
    }
    
    .cta-buttons, .trust-badges {
        justify-content: center;
    }
    
    .problema-soluzione .container {
        grid-template-columns: 1fr;
    }
    
    .step-container {
        flex-direction: column;
        gap: 40px;
    }
    
    .step {
        width: 100%;
        max-width: 350px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    section {
        padding: 60px 0;
    }
    
    header .container {
        padding: 15px 20px;
    }
	
	.logo h1 {
		font-size: 16px;
	}
    
    nav {
        position: absolute;
        top: 70px;
        left: 0;
        right: 0;
        background-color: white;
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
        padding: 20px;
        display: none;
        z-index: 1000;
    }
    
    nav.active {
        display: block;
    }
    
    nav ul {
        flex-direction: column;
        gap: 15px;
    }
    
    .menu-toggle {
        display: flex;
    }
    
    .menu-toggle.active span:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }
    
    .menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .menu-toggle.active span:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }
    
    .hero {
        padding: 60px 0;
    }
    
    .hero h2 {
        font-size: 2.3rem;
    }
    
    .emergenza-content {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }
    
    .servizi-grid {
        grid-template-columns: 1fr;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .experience-badge {
        bottom: 20px;
        right: 20px;
        width: 100px;
        height: 100px;
		display:none;
    }
	.contatto-rapido {
		display:none;
	}
	.btn i {
    display: none;
	}
	.trust-badges, .cta-buttons {
        flex-direction: row;
        align-items: center;
    }
	.trust-badge {
		font-size:13px;
	}
	.btn {
    padding: 12px 20px;
    font-size: 15px;
	}
    
    .stats-container {
        flex-direction: column;
        gap: 20px;
    }
    
    .stat-item {
        width: 100%;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .cta-content h3 {
        font-size: 1.8rem;
    }
	.typ .hero-content {
    text-align: left;
	}
	.typ .cta-buttons {
    justify-content: flex-start;
	}
	#typ .vantaggi-container {
    display: flex;
    flex-direction: column;
	}
}

