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

/* Variabili CSS caricate dinamicamente da dynamic-colors.php */
/* Le variabili di colore sono definite nel file dynamic-colors.php */

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--light-color);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    touch-action: pan-y;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 10px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }
h5 { font-size: 1.125rem; }
h6 { font-size: 1rem; }

p {
    margin-bottom: 1rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 12px 24px;
    border: none;
    border-radius: var(--border-radius);
    text-decoration: none;
    font-weight: 500;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    font-size: 1rem;
    white-space: nowrap;
    touch-action: manipulation;
    min-height: 44px;
}

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

/* Hover states gestiti dinamicamente in dynamic-colors.php */

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

/* Hover states gestiti dinamicamente in dynamic-colors.php */

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

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

.btn-lg {
    padding: 16px 32px;
    font-size: 1.125rem;
}

/* Agenzia finanziaria: pulsanti bianco con testo rosso */
.btn-primary,
.btn-secondary {
    background-color: #FFFFFF !important;
    color: #E70000 !important;
    border: 2px solid #E70000;
}
.btn-primary:hover,
.btn-secondary:hover {
    background-color: #E70000 !important;
    color: #FFFFFF !important;
    border-color: #E70000;
}

/* Pulsante Chiamaci (tel): sfondo rosso e testo bianco */
a[href^="tel:"].btn {
    background-color: #E70000 !important;
    color: #FFFFFF !important;
    border: 2px solid #FFFFFF;
}
a[href^="tel:"].btn:hover {
    background-color: #FFFFFF !important;
    color: #E70000 !important;
    border-color: #E70000;
}
a[href^="tel:"].btn i {
    color: inherit;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: var(--secondary-color);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow);
    z-index: 1000;
    transition: var(--transition);
}

.header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--secondary-color);
    opacity: 0.98;
    z-index: -1;
}

/* Navbar bianca (agenzia finanziaria) */
.header-white,
.header.header-white::before {
    background-color: #FFFFFF !important;
    opacity: 1;
}
.header-white .brand-text h1,
.header-white .brand-text p,
.header-white .nav-link {
    color: #111827 !important;
}
.header-white .nav-link:hover {
    color: #E70000 !important;
}
.header-white .bar {
    background-color: #111827;
}

.navbar {
    padding: 1rem 0;
}

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

.nav-brand {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.nav-brand .santander-logo-header {
    align-self: flex-end;
    margin-bottom: 2px;
}

.logo {
    height: 50px;
    width: auto;
}

.brand-text h1 {
    font-size: 1.5rem;
    margin: 0;
    color: var(--white-color);
}

.brand-text p {
    font-size: 0.875rem;
    margin: 0;
    color: var(--white-color);
    opacity: 0.9;
}

@media (max-width: 768px) {
    .brand-text {
        display: none;
    }
}

/* Nascondi logo Santander in header su viste mobili/tablet */
@media (max-width: 991px) {
    .santander-logo-header {
        display: none !important;
    }
}

/* Mobile: prodotti, chi siamo, footer contatti */
@media (max-width: 768px) {
    .products-category-title {
        display: none;
    }
    .products-section {
        padding-bottom: 1rem;
        margin-bottom: 1.5rem;
    }
    .chi-siamo-section {
        padding-bottom: 1rem;
        margin-bottom: 1.5rem;
    }
    .chi-siamo-card {
        padding-bottom: 1.5rem;
    }
    .footer-section h4,
    .footer-section ul {
        text-align: left;
    }
    .footer-content {
        text-align: left;
    }
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: var(--white-color);
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

.nav-link:hover {
    color: var(--accent-color);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent-color);
    transition: var(--transition);
}

.nav-link:hover::after {
    width: 100%;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    touch-action: manipulation;
}

.nav-menu {
    display: flex;
}

.bar {
    width: 25px;
    height: 3px;
    background-color: var(--white-color);
    margin: 3px 0;
    transition: var(--transition);
}

/* Main Content */
.main-content {
    margin-top: 100px;
    padding: 3rem 0;
}

@media (max-width: 768px) {
    .main-content {
        margin-top: 90px;
        padding: 2rem 0;
    }
    
    .container {
        padding: 1.5rem 15px 0;
    }
    
    .booking-widget {
        display: none;
    }
}

@media (max-width: 480px) {
    .main-content {
        margin-top: 85px;
        padding: 1.5rem 0;
    }
}

.content-grid {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 2rem;
    align-items: start;
}

.content-main {
    min-height: 100vh;
}

.content-sidebar {
    position: sticky;
    top: 100px;
}

/* Hero Section */
.hero-section {
    padding: 3rem 0;
    text-align: center;
    background-color: #E70000;
    border-radius: var(--border-radius-lg);
    margin-bottom: 3rem;
    border: none;
    box-shadow: var(--shadow-lg);
    color: #FFFFFF;
}
.hero-section .hero-title {
    color: #FFFFFF;
}
.hero-section .hero-subtitle {
    color: rgba(255, 255, 255, 0.95);
}
.hero-section .hero-badges {
    color: rgba(255, 255, 255, 0.85);
}

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 1rem;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-badges {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Hero: tasti bianchi con testo rosso (anche Chiamaci) */
.hero-section .btn-primary,
.hero-section .btn-secondary,
.hero-section a[href^="tel:"].btn {
    background-color: #FFFFFF !important;
    color: #E70000 !important;
    border: 2px solid #FFFFFF;
}
.hero-section .btn-primary:hover,
.hero-section .btn-secondary:hover,
.hero-section a[href^="tel:"].btn:hover {
    background-color: rgba(255, 255, 255, 0.9) !important;
    color: #E70000 !important;
    border-color: #FFFFFF;
}

/* Sections */
.section-title {
    color: var(--text-color);
    margin-bottom: 1rem;
    text-align: center;
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--text-secondary);
    text-align: center;
    max-width: 600px;
    margin: 0 auto 3rem;
}

/* Products Section (agenzia finanziaria) */
.products-section {
    padding: 3rem 0;
    margin-bottom: 3rem;
}

.products-category {
    margin-bottom: 3rem;
}

.products-category:last-child {
    margin-bottom: 0;
}

.products-category-title {
    font-size: 1.35rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--border-color);
}

/* Chi siamo (card unica) */
.chi-siamo-section {
    padding: 3rem 0;
    margin-bottom: 3rem;
}

.chi-siamo-card {
    background-color: #E70000;
    color: #FFFFFF;
    padding: 2.5rem;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-lg);
    max-width: 800px;
    margin: 0 auto;
}

.chi-siamo-card .section-title {
    color: #FFFFFF;
}
.chi-siamo-card .section-subtitle {
    color: rgba(255, 255, 255, 0.9);
}
.chi-siamo-content p,
.chi-siamo-placeholder {
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 1rem;
}
.chi-siamo-card .stats-grid .stat-number {
    color: #FFFFFF;
}
.chi-siamo-card .stats-grid .stat-label {
    color: rgba(255, 255, 255, 0.9);
}

/* How it works (nascosto - sostituito da Chi siamo) */
.how-it-works-section {
    padding: 3rem 0;
    margin-bottom: 3rem;
    background: linear-gradient(135deg, var(--light-color) 0%, var(--white-color) 100%);
    border-radius: var(--border-radius-lg);
}

.how-it-works-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

@media (max-width: 992px) {
    .how-it-works-steps {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .how-it-works-steps {
        grid-template-columns: 1fr;
    }
}

.how-step {
    text-align: center;
    padding: 1.5rem;
}

.how-step-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 1rem;
    background-color: var(--primary-color);
    color: var(--white-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.how-step-title {
    font-size: 1.15rem;
    margin-bottom: 0.5rem;
    color: var(--text-color);
}

.how-step-desc {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin: 0;
}

/* Offices grid (sedi) */
.offices-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.office-card {
    background-color: #E70000;
    padding: 2rem;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow);
    border: none;
    color: #FFFFFF;
}

.office-card:not(.office-card-main) {
    background-color: #FFFFFF;
    color: #E70000;
    border: 2px solid #E70000;
}

.office-card:not(.office-card-main) .office-name,
.office-card:not(.office-card-main) .contact-item p {
    color: #E70000;
}

.office-card:not(.office-card-main) .contact-item i {
    background-color: #E70000;
    color: #FFFFFF;
}

.office-card:not(.office-card-main) .btn {
    background-color: #E70000 !important;
    color: #FFFFFF !important;
    border-color: #E70000;
}

.office-card.office-card-main {
    box-shadow: var(--shadow-lg);
    position: relative;
}

.office-badge-main {
    display: inline-block;
    margin-left: 0.5rem;
    padding: 0.15rem 0.5rem;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    background-color: #FFFFFF;
    color: #E70000;
    border-radius: 999px;
}

.office-card .office-name,
.office-card .contact-item p {
    color: #FFFFFF;
}
.office-card .contact-item i {
    background-color: rgba(255, 255, 255, 0.3);
    color: #FFFFFF;
}
.office-card .btn {
    background-color: #FFFFFF !important;
    color: #E70000 !important;
    border-color: #FFFFFF;
}

.office-name {
    font-size: 1.25rem;
    color: #FFFFFF;
    margin-bottom: 1rem;
}

.office-card .contact-item {
    margin-bottom: 1rem;
}

.office-card .btn {
    margin-top: 0.5rem;
}

.contact-global {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    padding: 2rem 0;
    border-top: 1px solid var(--border-color);
}

.contact-global .contact-item {
    margin-bottom: 0;
}

/* Su desktop nascondi contact-global (solo mobile) */
@media (min-width: 769px) {
    .contact-global-mobile-only {
        display: none !important;
    }
}
@media (max-width: 768px) {
    .contact-global-mobile-only {
        display: flex;
    }
}

/* Services Section */
.services-section {
    padding: 3rem 0;
    margin-bottom: 3rem;
}

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

/* Card prodotti: sfondo rosso (agenzia finanziaria) */
.service-card {
    display: flex;
    flex-direction: column;
    background-color: #E70000;
    padding: 2rem;
    border-radius: var(--border-radius-lg);
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: none;
    color: #FFFFFF;
}

.service-card:hover {
    box-shadow: var(--shadow-lg);
}

.service-card .service-title {
    color: #FFFFFF;
}
.service-card .service-description {
    color: rgba(255, 255, 255, 0.9);
}
/* CTA nelle card prodotti: doppio bottone */
.service-ctas {
    display: flex;
    gap: 0.75rem;
    margin-top: auto;
    flex-wrap: wrap;
    justify-content: center;
}
.service-card a.btn.service-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 10px 18px;
    background-color: #FFFFFF !important;
    color: #E70000 !important;
    border: 2px solid #FFFFFF;
    border-radius: var(--border-radius);
    text-decoration: none !important;
    font-weight: 500;
    transition: var(--transition);
}
.service-card a.btn.service-link:hover {
    background-color: rgba(255, 255, 255, 0.9) !important;
    color: #E70000 !important;
    border-color: #FFFFFF;
    text-decoration: none !important;
}
.service-card .btn-secondary.service-link {
    background-color: transparent !important;
    color: #FFFFFF !important;
    border-color: #FFFFFF;
}
.service-card .btn-secondary.service-link:hover {
    background-color: rgba(255, 255, 255, 0.15) !important;
    color: #FFFFFF !important;
}

/* TIMFin: stesso design delle altre card ma sfondo blu #122AC2 */
.service-card.service-card-timfin {
    background-color: #122AC2 !important;
}
.service-card.service-card-timfin .service-title,
.service-card.service-card-timfin .service-description {
    color: #FFFFFF !important;
}
.service-card.service-card-timfin .service-icon {
    background-color: rgba(255, 255, 255, 0.25);
}
.service-card.service-card-timfin .service-icon i {
    color: #FFFFFF;
}
/* TIMFin: pulsante bianco con testo blu (#122AC2) */
.service-card.service-card-timfin a.btn.service-link {
    background-color: #FFFFFF !important;
    color: #122AC2 !important;
    border: 2px solid #FFFFFF !important;
    text-decoration: none !important;
}
.service-card.service-card-timfin a.btn.service-link:hover {
    background-color: rgba(255, 255, 255, 0.9) !important;
    color: #122AC2 !important;
    border-color: #FFFFFF !important;
}

.service-icon {
    width: 80px;
    height: 80px;
    background-color: rgba(255, 255, 255, 0.25);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.service-icon i {
    font-size: 2rem;
    color: #FFFFFF;
}

.service-image {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    border-radius: 50%;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.2);
}
.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.service-title {
    color: var(--text-color);
    margin-bottom: 1rem;
}

.service-description {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.service-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
}

.service-link:hover {
    text-decoration: underline;
}

/* Gallery Section */
.gallery-section {
    padding: 3rem 0;
    margin-bottom: 3rem;
}

.gallery-slider {
    position: relative;
    width: 100%;
}

.gallery-slider-container {
    position: relative;
    overflow: hidden;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-lg);
    touch-action: pan-y pinch-zoom;
}

.gallery-slider-track {
    display: flex;
    transition: transform 0.5s ease;
}

.gallery-slide {
    min-width: 100%;
    position: relative;
    overflow: hidden;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: none;
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.gallery-image-wrapper {
    position: relative;
    width: 100%;
    padding-top: 75%; /* Aspect ratio 4:3 */
    overflow: hidden;
    background-color: var(--light-color);
}

.gallery-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0.1) 50%, transparent 100%);
    display: flex;
    align-items: flex-end;
    padding: 1.5rem;
    opacity: 0;
    transition: var(--transition);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-item:hover .gallery-image {
    transform: scale(1.1);
}

.gallery-content {
    width: 100%;
}

.gallery-item-title {
    color: var(--white-color);
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.gallery-item-description {
    color: var(--white-color);
    font-size: 0.9rem;
    line-height: 1.5;
}

.gallery-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-top: 1.5rem;
}

.gallery-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: var(--primary-color);
    color: var(--white-color);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    font-size: 1.25rem;
}

.gallery-btn:hover {
    background-color: var(--secondary-color);
    transform: scale(1.1);
}

.gallery-dots {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

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

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

/* About Section */
.about-section {
    padding: 3rem 0;
    margin-bottom: 3rem;
}

.about-section .section-title {
    margin-bottom: 2rem;
}

.about-card {
    background-color: var(--white-color);
    border-radius: var(--border-radius-lg);
    padding: 3rem;
    box-shadow: var(--shadow-lg);
    margin-bottom: 2rem;
    border: none;
}

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

.about-description {
    font-size: 1.125rem;
    margin-bottom: 2rem;
    color: var(--text-secondary);
    line-height: 1.8;
}

.about-description p {
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

.about-card .section-subtitle {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

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

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

.about-card .stat-label {
    color: var(--text-secondary);
}

.about-image img {
    width: 100%;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-lg);
}

/* Reviews Section */
.reviews-section {
    padding: 3rem 0;
    margin-bottom: 3rem;
}

.reviews-summary {
    text-align: center;
    margin-bottom: 2rem;
}

.rating-display {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.rating-stars {
    color: var(--accent-color);
    font-size: 1.25rem;
}

.rating-number {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-color);
}

.rating-count {
    color: var(--text-secondary);
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.review-card {
    background-color: var(--white-color);
    padding: 1.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    border: none;
}

.review-header {
    margin-bottom: 1rem;
}

.reviewer-name {
    color: var(--text-color);
    margin-bottom: 0.5rem;
}

.review-rating {
    color: var(--accent-color);
    font-size: 0.875rem;
}

.review-text {
    color: var(--text-secondary);
    font-style: italic;
    line-height: 1.6;
}

.reviews-actions {
    text-align: center;
}

/* Map Section */
.map-section {
    padding: 3rem 0;
    margin-bottom: 3rem;
}

.map-embed-wrapper {
    margin-bottom: 2rem;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}
.map-embed-wrapper iframe {
    display: block;
    width: 100%;
    height: 400px;
    border: none;
}

.map-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: start;
}

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

.map-info {
    background-color: var(--white-color);
    padding: 2rem;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow);
    border: none;
}

.map-details h3 {
    color: var(--primary-color);
    margin-bottom: 2rem;
    font-size: 1.5rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.contact-item i {
    width: 40px;
    height: 40px;
    background-color: var(--primary-color);
    color: var(--white-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    flex-shrink: 0;
}

.contact-item h4 {
    color: var(--text-color);
    margin-bottom: 0.25rem;
    font-size: 1rem;
}

.contact-item p {
    margin: 0;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.map-actions {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.map-actions .btn {
    flex: 1;
    min-width: 140px;
}

.map-embed {
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: none;
}

.map-embed iframe {
    display: block;
    width: 100%;
    height: 400px;
    border: none;
}

@media (max-width: 768px) {
    .map-embed iframe {
        height: 300px;
    }
}

/* Booking Widget (card a destra - sfondo bianco) */
.booking-widget {
    background-color: var(--white-color);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-lg);
    padding: 2rem;
    border: none;
    position: sticky;
    top: 100px;
}

/* Pulsanti nella card: tasto bianco, testo rosso */
.booking-widget .btn-primary,
.booking-widget .btn-secondary {
    background-color: #FFFFFF !important;
    color: #E70000 !important;
    border: 2px solid #E70000;
}
.booking-widget .btn-primary:hover,
.booking-widget .btn-secondary:hover {
    background-color: #E70000 !important;
    color: #FFFFFF !important;
    border-color: #E70000;
}
.booking-widget .btn-primary i,
.booking-widget .btn-secondary i {
    color: inherit;
}

.widget-header {
    text-align: center;
    margin-bottom: 2rem;
}

.widget-logo {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 1rem;
}

.widget-header h3 {
    color: var(--text-color);
    margin-bottom: 1rem;
}

.widget-rating {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.widget-rating .rating-stars {
    color: var(--accent-color);
    font-size: 1rem;
}

.widget-rating .rating-number {
    font-weight: 600;
    color: var(--text-color);
}

.widget-rating .rating-count {
    color: var(--text-secondary);
    font-size: 0.875rem;
}

.widget-actions {
    margin-bottom: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
}

.widget-actions .btn {
    width: 100%;
    justify-content: center;
}

.widget-hours {
    border-top: none;
    padding-top: 1.5rem;
}

.widget-hours h4 {
    color: var(--text-color);
    margin-bottom: 1rem;
}

.hours-display {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
}

.hours-status {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.status-indicator {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

.status-indicator.open {
    background-color: #10B981;
}

.status-indicator.closed {
    background-color: #EF4444;
}

.status-text {
    font-weight: 500;
    color: var(--text-color);
}

.closing-time {
    color: var(--text-secondary);
}

.hours-toggle {
    background: none;
    border: none;
    cursor: pointer;
    color: var(--text-secondary);
    transition: var(--transition);
}

.hours-toggle:hover {
    color: var(--primary-color);
}

.hours-details {
    display: none;
}

.hours-details.active {
    display: block;
}

.hours-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.hours-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0;
    border-bottom: none;
}

.hours-item:last-child {
    border-bottom: none;
}

.day {
    font-weight: 500;
    color: var(--text-color);
}

.time {
    color: var(--text-secondary);
}

.widget-social {
    border-top: 1px solid var(--border-color);
    padding-top: 1.5rem;
    margin-top: 1.5rem;
}

.widget-social-links {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.widget-social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    color: var(--white-color);
    text-decoration: none;
    border-radius: 50%;
    transition: var(--transition);
}

.widget-social-link-instagram {
    background: linear-gradient(135deg, #833AB4 0%, #FD1D1D 50%, #FCAF45 100%);
}

.widget-social-link-whatsapp {
    background-color: #25D366;
}

.widget-social-link-email {
    background-color: var(--secondary-color);
}

.widget-social-link:hover {
    transform: translateY(-2px) scale(1.05);
    box-shadow: var(--shadow-lg);
    opacity: 0.9;
}

.widget-social-link i {
    font-size: 1.5rem;
}

/* Footer */
.footer {
    background-color: var(--secondary-color);
    color: var(--white-color);
    padding: 3rem 0 1rem;
    margin-top: 4rem;
    border-top: none;
}

.footer-red {
    background-color: #E70000 !important;
    color: #FFFFFF;
}
.footer-red .footer-brand h3,
.footer-red .footer-section h4,
.footer-red .footer-bottom p {
    color: #FFFFFF;
}
.footer-red .footer-brand p,
.footer-red .footer-section ul li,
.footer-red .footer-section a {
    color: rgba(255, 255, 255, 0.9);
}
.footer-red .footer-section a:hover {
    color: #FFFFFF;
}
.footer-red .footer-section ul li i {
    color: #FFFFFF !important;
}
.footer-red .social-links a {
    color: #FFFFFF;
}

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

.footer-brand h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.footer-brand p {
    color: #9CA3AF;
}

.footer-logo {
    max-width: 160px;
    height: auto;
    display: block;
    margin-bottom: 1rem;
}

.footer-section h4 {
    color: var(--white-color);
    margin-bottom: 1rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: #9CA3AF;
    text-decoration: none;
    transition: var(--transition);
}

.footer-section ul li a:hover {
    color: var(--primary-color);
}

.footer-section ul li i {
    margin-right: 0.5rem;
    color: var(--primary-color);
}

.footer-office-main strong {
    text-transform: uppercase;
}

.footer-badge-main {
    display: inline-block;
    margin-left: 0.35rem;
    padding: 0.1rem 0.45rem;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    background-color: #FFFFFF;
    color: #E70000;
    border-radius: 999px;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    background-color: var(--primary-color);
    color: var(--white-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: var(--transition);
}

.social-links a:hover {
    background-color: var(--accent-color);
    transform: translateY(-2px);
}

.footer-bottom {
    border-top: none;
    padding-top: 1rem;
    text-align: center;
}

.footer-bottom p {
    color: #9CA3AF;
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.6;
}
.footer-santander-text {
    display: inline-block;
    max-width: 100%;
    line-height: 1.4;
    text-align: center;
    margin-bottom: 0.25rem;
}
.footer-legal a {
    color: inherit;
    text-decoration: none;
    font-weight: 500;
}
.footer-legal a:hover {
    text-decoration: underline;
}
.footer-legal .footer-copyright {
    opacity: 0.9;
}
.footer-red .footer-bottom p,
.footer-red .footer-legal {
    color: rgba(255, 255, 255, 0.9);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .content-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .content-sidebar {
        position: static;
        order: -1;
    }
    
    .booking-widget {
        position: static;
        display: none;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        display: none;
        position: fixed;
        top: 80px;
        left: 0;
        width: 100%;
        background-color: var(--secondary-color);
        backdrop-filter: blur(10px);
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
        transition: opacity 0.3s ease-in-out, visibility 0.3s ease-in-out;
        z-index: 999;
        max-height: calc(100vh - 80px);
        overflow-y: auto;
        opacity: 0;
        visibility: hidden;
    }
    
    .nav-menu::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background-color: var(--secondary-color);
        opacity: 0.98;
        z-index: -1;
    }
    
    .nav-menu.active {
        display: block;
        opacity: 1;
        visibility: visible;
    }
    
    .nav-list {
        flex-direction: column;
        padding: 2rem;
        gap: 0.5rem;
    }
    
    .nav-link {
        display: block;
        padding: 1rem;
        font-size: 1.125rem;
        min-height: 44px;
        display: flex;
        align-items: center;
        border-radius: var(--border-radius);
        transition: var(--transition);
    }
    
    .nav-link:hover {
        background-color: rgba(255, 255, 255, 0.1);
        color: var(--accent-color);
    }
    
    .nav-toggle {
        display: flex;
        width: 44px;
        height: 44px;
        align-items: center;
        justify-content: center;
        padding: 0;
        cursor: pointer;
        z-index: 1001;
    }
    
    .nav-toggle.active .bar:nth-child(2) {
        opacity: 0;
    }
    
    .nav-toggle.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    
    .nav-toggle.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    /* Menu mobile con header bianco: sfondo bianco e testo scuro per migliore leggibilità */
    .header-white .nav-menu {
        background-color: #FFFFFF;
    }
    .header-white .nav-menu::before {
        background-color: #FFFFFF;
    }
    .header-white .nav-menu .nav-link {
        color: #111827 !important;
    }
    .header-white .nav-menu .nav-link:hover {
        background-color: rgba(231, 0, 0, 0.06);
        color: #E70000 !important;
    }
    
    /* Touch targets optimization */
    .btn {
        min-height: 44px;
        padding: 14px 24px;
        font-size: 1rem;
    }
    
    .btn-lg {
        min-height: 48px;
        padding: 16px 32px;
    }
    
    .gallery-btn {
        min-width: 48px;
        min-height: 48px;
        width: 48px;
        height: 48px;
    }
    
    .service-link {
        min-height: 44px;
        display: inline-flex;
        align-items: center;
        padding: 0.5rem 1rem;
    }
    
    .hours-toggle {
        min-width: 44px;
        min-height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    /* Typography optimization for mobile */
    h1 { 
        font-size: 2rem; 
        line-height: 1.3;
    }
    
    h2 { 
        font-size: 1.75rem; 
        line-height: 1.3;
    }
    
    h3 { 
        font-size: 1.5rem; 
        line-height: 1.4;
    }
    
    h4 { 
        font-size: 1.25rem; 
        line-height: 1.4;
    }
    
    p {
        font-size: 1rem;
        line-height: 1.7;
    }
    
    .hero-title {
        font-size: 2.5rem;
        line-height: 1.2;
    }
    
    .hero-subtitle {
        font-size: 1.125rem;
        line-height: 1.6;
    }
    
    .section-title {
        font-size: 1.875rem;
        line-height: 1.3;
    }
    
    .section-subtitle {
        font-size: 1rem;
        line-height: 1.6;
    }
    
    .hero-actions {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
        width: 100%;
    }
    
    .hero-actions .btn {
        width: 100%;
        max-width: 300px;
    }
    
    /* Section spacing optimization */
    .hero-section {
        padding: 2rem 0;
        margin-bottom: 2rem;
    }
    
    .services-section,
    .gallery-section,
    .reviews-section,
    .map-section {
        padding: 2rem 0;
        margin-bottom: 2rem;
    }
    
    .section-title {
        margin-bottom: 1rem;
    }
    
    .section-subtitle {
        margin-bottom: 2rem;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .about-card {
        padding: 2rem;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .service-card {
        padding: 1.5rem;
    }
    
    .reviews-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .review-card {
        padding: 1.5rem;
    }
    
    .map-container {
        gap: 1.5rem;
    }
    
    .map-info {
        padding: 1.5rem;
    }
    
    .contact-item {
        margin-bottom: 1.25rem;
    }
    
    .footer {
        padding: 2rem 0 1rem;
        margin-top: 3rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
        margin-bottom: 1.5rem;
    }
    
    .footer-section {
        margin-bottom: 1.5rem;
    }
    
    .footer-section h4 {
        text-align: center;
    }
    
    .social-links {
        justify-content: center;
    }
}

/* Mobile: footer Contatti allineato a sinistra */
@media (max-width: 768px) {
    .footer-content {
        text-align: left;
    }
    .footer-section h4,
    .footer-section ul,
    .footer-section ul li {
        text-align: left;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 1.25rem 15px 0;
    }
    
    /* Touch targets for small screens */
    .btn {
        min-height: 48px;
        padding: 16px 20px;
        width: 100%;
        justify-content: center;
    }
    
    .btn-lg {
        min-height: 52px;
        padding: 18px 24px;
    }
    
    .gallery-btn {
        min-width: 52px;
        min-height: 52px;
        width: 52px;
        height: 52px;
    }
    
    /* Typography for very small screens */
    h1 { 
        font-size: 1.875rem; 
        line-height: 1.3;
    }
    
    h2 { 
        font-size: 1.625rem; 
        line-height: 1.3;
    }
    
    h3 { 
        font-size: 1.375rem; 
        line-height: 1.4;
    }
    
    p {
        font-size: 0.9375rem;
        line-height: 1.7;
    }
    
    .hero-title {
        font-size: 2rem;
        line-height: 1.2;
    }
    
    .hero-subtitle {
        font-size: 1rem;
        line-height: 1.6;
    }
    
    .section-title {
        font-size: 1.75rem;
        line-height: 1.3;
    }
    
    .section-subtitle {
        font-size: 0.9375rem;
        line-height: 1.6;
    }
    
    /* Additional spacing for very small screens */
    .container {
        padding: 0 15px;
    }
    
    .hero-section {
        padding: 1.5rem 0;
        margin-bottom: 1.5rem;
    }
    
    .services-section,
    .gallery-section,
    .reviews-section,
    .map-section {
        padding: 1.5rem 0;
        margin-bottom: 1.5rem;
    }
    
    .section-title {
        margin-bottom: 0.75rem;
        font-size: 1.625rem;
    }
    
    .section-subtitle {
        margin-bottom: 1.5rem;
        font-size: 0.9375rem;
    }
    
    .service-card,
    .review-card {
        padding: 1.25rem;
        margin-bottom: 1rem;
    }
    
    .services-grid,
    .reviews-grid {
        gap: 1rem;
    }
    
    .contact-form {
        padding: 1.25rem;
    }
    
    .booking-widget {
        padding: 1.25rem;
        margin-bottom: 1.5rem;
    }
    
    .widget-actions {
        gap: 0.75rem;
    }
    
    .map-container {
        gap: 1rem;
    }
    
    .map-info {
        padding: 1.25rem;
    }
    
    .contact-item {
        margin-bottom: 1rem;
    }
    
    .footer {
        padding: 1.5rem 0 1rem;
        margin-top: 2rem;
    }
    
    .footer-content {
        gap: 1.5rem;
        margin-bottom: 1.25rem;
    }
    
    .footer-section {
        margin-bottom: 1.25rem;
    }
    
    .footer-section h4 {
        text-align: center;
    }
    
    .social-links {
        justify-content: center;
    }
    
    .gallery-controls {
        margin-top: 1rem;
        gap: 0.75rem;
    }
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Loading Animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* Utility Classes */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }

.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }

/* Promotions Section */
.promotions-section {
    padding: 3rem 0;
    margin-bottom: 3rem;
}

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

.promotion-card {
    background-color: var(--white-color);
    padding: 2rem;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: none;
    position: relative;
    overflow: hidden;
}

.promotion-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.promotion-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background-color: var(--accent-color);
    color: var(--white-color);
    padding: 0.5rem 1rem;
    border-radius: var(--border-radius);
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
}

.promotion-title {
    color: var(--text-color);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.promotion-description {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.promotion-pricing {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.promotion-old-price {
    color: var(--text-secondary);
    text-decoration: line-through;
    font-size: 1.125rem;
}

.promotion-price {
    color: var(--primary-color);
    font-size: 1.5rem;
    font-weight: 700;
}

.promotion-card .btn {
    width: 100%;
    justify-content: center;
}

/* Team Section */
.team-section {
    padding: 3rem 0;
    margin-bottom: 3rem;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.team-card {
    background-color: var(--white-color);
    padding: 2rem;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow);
    text-align: center;
    transition: var(--transition);
    border: none;
}

.team-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.team-photo-wrapper {
    width: 150px;
    height: 150px;
    margin: 0 auto 1.5rem;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid var(--primary-color);
    box-shadow: var(--shadow);
}

.team-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.team-card:hover .team-photo {
    transform: scale(1.1);
}

.team-name {
    color: var(--text-color);
    margin-bottom: 0.5rem;
    font-size: 1.25rem;
}

.team-role {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

.team-specialization {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.team-social {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 1rem;
}

.team-social a {
    width: 40px;
    height: 40px;
    background-color: var(--primary-color);
    color: var(--white-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: var(--transition);
}

.team-social a:hover {
    background-color: var(--accent-color);
    transform: translateY(-2px);
}

/* Before & After Section */
.before-after-section {
    padding: 3rem 0;
    margin-bottom: 3rem;
}

.before-after-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.before-after-item {
    background-color: var(--white-color);
    padding: 1.5rem;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow);
    border: none;
}

.before-after-container {
    position: relative;
}

.before-after-image-wrapper {
    position: relative;
    width: 100%;
    height: 400px;
    border-radius: var(--border-radius);
    overflow: hidden;
    margin-bottom: 1rem;
}

.before-image,
.after-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.before-image {
    clip-path: polygon(0 0, 50% 0, 50% 100%, 0 100%);
}

.after-image {
    clip-path: polygon(50% 0, 100% 0, 100% 100%, 50% 100%);
}

.ba-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.ba-label {
    position: absolute;
    top: 1rem;
    background-color: rgba(0, 0, 0, 0.7);
    color: var(--white-color);
    padding: 0.5rem 1rem;
    border-radius: var(--border-radius);
    font-weight: 600;
    font-size: 0.875rem;
    z-index: 10;
}

.ba-label-before {
    left: 1rem;
}

.ba-label-after {
    right: 1rem;
}

.before-after-slider {
    margin-bottom: 1rem;
}

.ba-slider {
    width: 100%;
    height: 8px;
    border-radius: 4px;
    background: var(--border-color);
    outline: none;
    -webkit-appearance: none;
    appearance: none;
    cursor: pointer;
}

.ba-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--primary-color);
    cursor: pointer;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    transition: var(--transition);
}

.ba-slider::-webkit-slider-thumb:hover {
    transform: scale(1.1);
    background: var(--secondary-color);
}

.ba-slider::-moz-range-thumb {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--primary-color);
    cursor: pointer;
    border: none;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    transition: var(--transition);
}

.ba-slider::-moz-range-thumb:hover {
    transform: scale(1.1);
    background: var(--secondary-color);
}

.before-after-title {
    color: var(--text-color);
    margin-bottom: 0.5rem;
    font-size: 1.125rem;
}

.before-after-description {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.6;
}

/* FAQ Section */
.faq-section {
    padding: 4rem 0;
    margin-bottom: 3rem;
}

.faq-container {
    max-width: 900px;
    margin: 0 auto;
}
.faq-section .faq-question-text {
    font-size: 1.1rem;
}
.faq-section .faq-answer p {
    font-size: 1.05rem;
    line-height: 1.7;
}

.faq-item {
    background-color: var(--white-color);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    margin-bottom: 1rem;
    border: none;
    overflow: hidden;
}

.faq-question {
    width: 100%;
    padding: 1.5rem;
    background: none;
    border: none;
    text-align: left;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition);
    color: var(--text-color);
    font-size: 1.125rem;
    font-weight: 600;
    min-height: 44px;
}

.faq-question:hover {
    background-color: var(--light-color);
}

.faq-question-text {
    flex: 1;
    margin-right: 1rem;
}

.faq-icon {
    color: var(--primary-color);
    transition: var(--transition);
    font-size: 1rem;
}

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

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    padding: 0 1.5rem;
}

.faq-item.active .faq-answer {
    max-height: 500px;
    padding: 0 1.5rem 1.5rem;
}

.faq-answer p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0;
}

/* Responsive adjustments for new sections */
@media (max-width: 768px) {
    .promotions-section,
    .team-section,
    .before-after-section,
    .faq-section {
        padding: 2rem 0;
        margin-bottom: 2rem;
    }
    
    .promotions-grid,
    .team-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .before-after-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .before-after-image-wrapper {
        height: 300px;
    }
    
    .team-photo-wrapper {
        width: 120px;
        height: 120px;
    }
    
    .promotion-card {
        padding: 1.5rem;
    }
    
    .team-card {
        padding: 1.5rem;
    }
    
    .faq-question {
        padding: 1.25rem;
        font-size: 1rem;
    }
    
    .faq-answer {
        padding: 0 1.25rem;
    }
    
    .faq-item.active .faq-answer {
        padding: 0 1.25rem 1.25rem;
    }
}

@media (max-width: 480px) {
    .promotions-section,
    .team-section,
    .before-after-section,
    .faq-section {
        padding: 1.5rem 0;
        margin-bottom: 1.5rem;
    }
    
    .before-after-image-wrapper {
        height: 250px;
    }
    
    .promotion-card,
    .team-card {
        padding: 1.25rem;
    }
    
    .team-photo-wrapper {
        width: 100px;
        height: 100px;
    }
    
    .faq-question {
        padding: 1rem;
        font-size: 0.9375rem;
    }
    
    .faq-answer {
        padding: 0 1rem;
    }
    
    .faq-item.active .faq-answer {
        padding: 0 1rem 1rem;
    }
}

/* WhatsApp float: solo su mobile (al posto di torna su) */
.whatsapp-float {
    display: none;
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 56px;
    height: 56px;
    background-color: #25D366;
    color: #FFFFFF;
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    z-index: 999;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
    transition: transform 0.2s, box-shadow 0.2s;
    text-decoration: none;
    font-size: 1.75rem;
}
.whatsapp-float:hover {
    color: #FFFFFF;
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}
@media (max-width: 768px) {
    .whatsapp-float {
        display: flex;
    }
    .scroll-to-top {
        display: none !important;
    }
}
@media (min-width: 769px) {
    .whatsapp-float {
        display: none !important;
    }
}

/* Loghi Santander */
.santander-logo {
    display: inline-block;
    height: 26px;
    width: auto;
}
.hero-santander,
.section-santander,
.chi-siamo-santander,
.widget-santander {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1.75rem;
    flex-wrap: wrap;
}
.hero-santander,
.chi-siamo-santander {
    justify-content: center;
    flex-direction: column;
    padding-top: 0.25rem;
}
.section-santander {
    justify-content: center;
    margin-bottom: 2rem;
}
.santander-badge {
    font-size: 0.875rem;
    font-weight: 500;
    color: #FFFFFF;
    text-align: center;
    line-height: 1.35;
    max-width: 100%;
    overflow-wrap: break-word;
    word-break: normal;
}
.footer-red .santander-badge,
.section-santander .santander-badge {
    color: #FFFFFF;
}
.widget-santander .santander-badge {
    color: #111827;
}
.santander-logo-hero,
.santander-logo-chi-siamo {
    height: 24px;
}
.santander-logo-section,
.santander-logo-widget {
    height: 22px;
}
.santander-logo-header {
    height: 70px;
}

@media (min-width: 1024px) {
    .santander-logo-header {
        height: 40px;
    }
}

/* Santander: testo legale compatto su mobile (stessa riga o spezzatura dopo la virgola) */
@media (max-width: 768px) {
    .hero-santander .santander-badge,
    .chi-siamo-santander .santander-badge {
        font-size: 0.78rem;
        line-height: 1.3;
        padding-left: 0.75rem;
        padding-right: 0.75rem;
    }
    .widget-santander .santander-badge {
        font-size: 0.78rem;
        line-height: 1.3;
        padding-left: 0.25rem;
        padding-right: 0.25rem;
    }
    .footer-santander-text {
        font-size: 0.78rem;
        line-height: 1.35;
        padding-left: 0.5rem;
        padding-right: 0.5rem;
    }
}

@media (max-width: 380px) {
    .hero-santander .santander-badge,
    .chi-siamo-santander .santander-badge {
        font-size: 0.72rem;
    }
    .widget-santander .santander-badge {
        font-size: 0.72rem;
    }
    .footer-santander-text {
        font-size: 0.72rem;
    }
}

/* Iubenda mobile: fissata in basso a sinistra */
@media (max-width: 768px) {
    .iubenda-embed {
        position: fixed !important;
        left: 12px !important;
        bottom: 12px !important;
        z-index: 1001 !important;
        font-size: 0.8rem !important;
    }
    .iubenda-tp-btn.iubenda-cs-preferences-link {
        right: auto !important;
        left: 12px !important;
        bottom: 64px !important;
    }
}