* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: #f8f9fa;
    color: #333;
    line-height: 1.6;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header & Navigation */
.header {
    background-color: #ffffff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 100;
    padding: 15px 0;
}

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

.logo {
    font-size: 1.4rem;
    font-weight: 700;
    color: #1a2b3c;
    text-decoration: none;
    letter-spacing: -0.3px;
}

.logo-accent {
    color: #d97706; /* Arancione come da screenshot */
    font-weight: 700;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 25px;
}

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

.nav-links a {
    text-decoration: none;
    color: #334155;
    font-weight: 600;
    font-size: 0.95rem;
    transition: color 0.2s;
}

.nav-links a:hover {
    color: #d97706;
}

/* Selettore Lingua a Pillola (Capsula) */
.lang-pill {
    display: flex;
    align-items: center;
    background-color: #f0f4f8;
    padding: 3px 4px;
    border-radius: 25px;
    gap: 2px;
}

.lang-pill a {
    text-decoration: none;
    color: #475569;
    font-weight: 600;
    font-size: 0.82rem;
    padding: 5px 11px;
    border-radius: 20px;
    transition: background-color 0.2s, color 0.2s;
}

.lang-pill a:hover {
    color: #1a2b3c;
}

.lang-pill a.active {
    background-color: #1a2b3c;
    color: #ffffff;
}

/* Blue Hero / Intro Section */
.hero-section {
    background-color: #1a365d;
    color: #ffffff;
    padding: 60px 0;
    margin-bottom: 50px;
}

.hero-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 35px;
}

@media (min-width: 768px) {
    .hero-box {
        flex-direction: row;
        align-items: center;
    }
}

.hero-photo-container {
    flex-shrink: 0;
}

.hero-photo {
    width: 220px;
    height: 220px;
    object-fit: cover;
    border-radius: 50%;
    border: 4px solid #ffffff;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

.hero-text h1 {
    font-size: 2.2rem;
    margin-bottom: 15px;
    color: #ffffff;
}

.hero-text p {
    margin-bottom: 15px;
    color: #e2e8f0;
    font-size: 1.05rem;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    margin-top: 20px;
    flex-wrap: wrap;
}

.btn {
    display: inline-block;
    padding: 10px 22px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.2s ease;
}

.btn-primary {
    background-color: #d97706;
    color: #ffffff;
}

.btn-primary:hover {
    background-color: #b45309;
}

.btn-outline {
    border: 2px solid #ffffff;
    color: #ffffff;
}

.btn-outline:hover {
    background-color: #ffffff;
    color: #1a365d;
}

/* Services */
.section-title {
    text-align: center;
    color: #1a365d;
    font-size: 1.8rem;
    margin-bottom: 35px;
}

.services-section {
    margin-bottom: 60px;
    scroll-margin-top: 90px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}

/* Card Servizio come Link */
.service-card {
    background: #ffffff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    text-align: center;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    text-decoration: none;
    color: inherit;
    display: block;
    cursor: pointer;
    border: 1px solid transparent;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
    border-color: #e2e8f0;
}

.service-icon {
    font-size: 2.5rem;
    color: #d97706;
    margin-bottom: 15px;
}

.service-card h3 {
    color: #2d3748;
    margin-bottom: 12px;
}

.service-card p {
    color: #718096;
    font-size: 0.95rem;
}

/* FAQ Section (Accordion) */
.faq-section {
    background-color: #edf2f7;
    padding: 60px 0;
    margin-bottom: 60px;
    scroll-margin-top: 90px;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: #ffffff;
    border-radius: 8px;
    margin-bottom: 12px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.04);
    overflow: hidden;
}

.faq-item summary {
    padding: 18px 20px;
    font-weight: 600;
    font-size: 1.05rem;
    color: #1a365d;
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary::after {
    content: '+';
    font-size: 1.5rem;
    color: #d97706;
    font-weight: bold;
    transition: transform 0.2s;
}

.faq-item[open] summary::after {
    content: '−';
}

.faq-item p {
    padding: 0 20px 20px 20px;
    color: #4a5568;
    line-height: 1.6;
}

/* Contact Section */
.contact-section {
    margin-bottom: 60px;
    scroll-margin-top: 90px;
}

.contact-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
}

.contact-card {
    background: #ffffff;
    padding: 25px;
    border-radius: 10px;
    text-align: center;
    text-decoration: none;
    color: inherit;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.contact-card i {
    font-size: 2rem;
    color: #d97706;
    margin-bottom: 10px;
}

.contact-card span {
    font-weight: bold;
    color: #2d3748;
}

.contact-card small {
    color: #718096;
    margin-top: 5px;
}

.chat-links {
    display: flex;
    gap: 15px;
    margin-top: 10px;
}

.chat-links a {
    color: #d97706;
    font-size: 1.3rem;
    transition: color 0.2s;
}

.chat-links a:hover {
    color: #1a365d;
}

/* Footer */
.footer {
    background-color: #1a365d;
    color: #ffffff;
    text-align: center;
    padding: 20px 0;
    font-size: 0.9rem;
}