/* ========================================
   CLINICA MEDICA PRIVATA - STYLE COMPLETO
   Design professionale per ambito medico
   ======================================== */

/* ===== VARIABILI CSS ===== */
:root {
    /* Colori principali */
    --primary-color: #69c0ab;
    --primary-dark: #1f5068;
    --primary-light: #61a5c2;
    --secondary-color: #2d6a4f;
    --secondary-light: #40916c;
    --accent-color: #e9c46a;
    --accent-dark: #e76f51;
    
    /* Colori neutri */
    --white: #ffffff;
    --light-gray: #f8f9fa;
    --gray: #e9ecef;
    --dark-gray: #6c757d;
    --text-dark: #2c3e50;
    --text-light: #495057;
    
    /* Colori stato */
    --success: #2ecc71;
    --error: #e74c3c;
    --warning: #f39c12;
    --info: #3498db;
    
    /* Spaziature */
    --spacing-xs: 0.25rem;
    --spacing-sm: 0.5rem;
    --spacing-md: 1rem;
    --spacing-lg: 1.5rem;
    --spacing-xl: 2rem;
    --spacing-xxl: 3rem;
    
    /* Font */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-size-xs: 0.75rem;
    --font-size-sm: 0.875rem;
    --font-size-md: 1rem;
    --font-size-lg: 1.125rem;
    --font-size-xl: 1.25rem;
    --font-size-2xl: 1.5rem;
    --font-size-3xl: 2rem;
    --font-size-4xl: 2.5rem;
    
    /* Ombre */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    
    /* Border radius */
    --radius-sm: 0.25rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    --radius-2xl: 1.5rem;
    --radius-full: 9999px;
    
    /* Transizioni */
    --transition-fast: 150ms ease;
    --transition-base: 250ms ease;
    --transition-slow: 350ms ease;
}

/* ===== RESET & BASE ===== */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-primary);
    font-size: var(--font-size-md);
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--light-gray);
    overflow-x: hidden;
}

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4, h5, h6 {
    margin-bottom: var(--spacing-md);
    font-weight: 600;
    line-height: 1.2;
    color: var(--text-dark);
}

h1 {
    font-size: var(--font-size-4xl);
    font-weight: 700;
}

h2 {
    font-size: var(--font-size-3xl);
}

h3 {
    font-size: var(--font-size-2xl);
}

h4 {
    font-size: var(--font-size-xl);
}

p {
    margin-bottom: var(--spacing-md);
    color: var(--text-light);
}

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

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

/* ===== LAYOUT ===== */
.container {
    max-width: 98%;
    margin: 0 auto;
    padding: 0 var(--spacing-xl);
}

.section {
    padding: var(--spacing-xxl) 0;
}

.section-title {
    text-align: center;
    font-size: var(--font-size-3xl);
    margin-bottom: var(--spacing-xxl);
    position: relative;
    padding-bottom: var(--spacing-md);
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: var(--radius-full);
}

/* ===== HEADER & NAVIGATION ===== */
.navbar {
    background: var(--white);
    box-shadow: var(--shadow-md);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: transform var(--transition-base);
}

.navbar.scroll-down {
    transform: translateY(-100%);
}

.navbar.scroll-up {
    transform: translateY(0);
    box-shadow: var(--shadow-lg);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--spacing-md) var(--spacing-xl);
}

/* Logo */
.logo {
    display: flex;
 /*    flex-direction: column;*/
    z-index: 1001;
}

.logo h1 {
    font-size: var(--font-size-xl);
    margin-bottom: 0;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.logo span {
    font-size: var(--font-size-xs);
    color: var(--dark-gray);
}

.denominazione {
	margin: auto;
	margin-left: 20px;
}

/* Menu Toggle (Hamburger) */
.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: var(--spacing-sm);
    z-index: 1001;
    background: transparent;
    border: none;
}

.bar {
    width: 25px;
    height: 3px;
    background-color: var(--primary-color);
    margin: 3px 0;
    transition: var(--transition-base);
    border-radius: var(--radius-sm);
}

.menu-toggle.active .bar:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
}

.menu-toggle.active .bar:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active .bar:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
}

/* Navigation Links */
.nav-links {
    display: flex;
    list-style: none;
    gap: var(--spacing-xl);
    align-items: center;
}

.nav-links li {
    position: relative;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: color var(--transition-fast);
    position: relative;
    padding: var(--spacing-sm) 0;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    transition: width var(--transition-base);
}

.nav-links a:hover::after,
.nav-links a.active::after,
.nav-links a.active-link::after {
    width: 100%;
}

.nav-links a:hover,
.nav-links a.active,
.nav-links a.active-link {
    color: var(--primary-color);
}




.orari-apertura {
	max-width: 400px;
margin: auto;
}
/* Bottoni navigazione */
.btn-primary {
    padding: var(--spacing-sm) var(--spacing-xl);
    border-radius: var(--radius-full);
    transition: all var(--transition-base);
   
}

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

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    
}

/* ===== HERO SECTION ===== */
.hero {
 /*   background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); */
    color: var(--white);
    padding: 100px 0 80px;
    margin-top: 0;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="rgba(255,255,255,0.1)" fill-opacity="1" d="M0,96L48,112C96,128,192,160,288,160C384,160,480,128,576,122.7C672,117,768,139,864,154.7C960,171,1056,181,1152,165.3C1248,149,1344,107,1392,85.3L1440,64L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>') no-repeat bottom;
    background-size: cover;
    opacity: 0.3;
}

.hero .container {
    position: relative;
    z-index: 1;
}

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

.hero-content h2 {
    font-size: var(--font-size-4xl);
    margin-bottom: var(--spacing-md);
    color: var(--white);
}

.hero-content p {
    font-size: var(--font-size-xl);
    margin-bottom: var(--spacing-xl);
    color: rgba(255, 255, 255, 0.9);
}

.btn-hero {
    display: inline-block;
    background: var(--white);
    color: var(--primary-color);
    padding: var(--spacing-md) var(--spacing-xxl);
    border-radius: var(--radius-full);
    text-decoration: none;
    font-weight: 600;
    transition: all var(--transition-base);
    box-shadow: var(--shadow-lg);
}

.btn-hero:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-xl);
    color: var(--primary-dark);
}

.btn-ortopedia {
	padding: 6px;
	box-shadow: var(--shadow-sm);
	color: green;
}

/* Hero Stats */
.hero-stats {
    display: flex;
    justify-content: space-around;
    margin-top: var(--spacing-xxl);
    padding-top: var(--spacing-xxl);
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: var(--font-size-3xl);
    font-weight: 700;
    margin-bottom: var(--spacing-xs);
}

.stat-label {
    font-size: var(--font-size-sm);
    opacity: 0.9;
}

/* ===== SPECIALTIES SECTION ===== */
.specialties {
    background: var(--white);
    padding: var(--spacing-xxl) 0;
}

.specialties-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-xl);
}

.specialties-grid-ortopedia {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
    gap: var(--spacing-xl);
}

.specialty-card {
    background: var(--light-gray);
    height: 300px;
    padding: var(--spacing-xl);
    border-radius: var(--radius-lg);
    text-align: center;
    transition: all var(--transition-base);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.specialty-card-ortopedia {
    background: var(--light-gray);
    height: 380px;
    padding: var(--spacing-xl);
    border-radius: var(--radius-lg);
    text-align: center;
    transition: all var(--transition-base);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.specialty-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    transform: scaleX(0);
    transition: transform var(--transition-base);
}

.specialty-card:hover::before {
    transform: scaleX(1);
}

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

.specialty-icon {
    font-size: 3rem;
    margin-bottom: var(--spacing-md);
}

.specialty-card h3 {
    margin-bottom: var(--spacing-sm);
    color: var(--text-dark);
}

.specialty-card p {
    color: var(--text-light);
    margin-bottom: 0;
}


.contatti {
    background: linear-gradient(135deg, var(--light-gray) 0%, var(--white) 100%);
    padding: var(--spacing-xxl) 0;
}
/* ===== ABOUT SECTION ===== */
.about {
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    padding: var(--spacing-xxl) 0;
}

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

.about-content p {
    font-size: var(--font-size-lg);
    margin-bottom: var(--spacing-lg);
}

.contact-info {
	 max-width: 1200px;
    margin: 0 auto;
    margin-top: var(--spacing-xl);
    padding: var(--spacing-xl);
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--spacing-md);
}

.contact-info p {
    margin-bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-sm);
    font-size: var(--font-size-md);
}

/* ===== BOOKING PAGE ===== */
.booking-container {
    margin-top: 80px;
    padding: var(--spacing-xxl) 0;
    min-height: calc(100vh - 80px);
}

.booking-header {
    text-align: center;
    margin-bottom: var(--spacing-xxl);
}

.booking-header h1 {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: var(--spacing-sm);
}

/* Booking Steps */
.booking-steps {
    display: flex;
    justify-content: space-between;
    margin-bottom: var(--spacing-xxl);
    position: relative;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.booking-steps::before {
    content: '';
    position: absolute;
    top: 20px;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--gray), var(--gray));
    z-index: 1;
}

.step {
    text-align: center;
    position: relative;
    z-index: 2;
    background: var(--white);
    padding: 0 var(--spacing-md);
    flex: 1;
}

.step-number {
    width: 40px;
    height: 40px;
    background: var(--gray);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--spacing-sm);
    font-weight: 700;
    color: var(--text-dark);
    transition: all var(--transition-base);
}

.step.active .step-number {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
    box-shadow: var(--shadow-md);
}

.step-label {
    font-size: var(--font-size-sm);
    font-weight: 500;
    color: var(--text-light);
}

.step.active .step-label {
    color: var(--primary-color);
    font-weight: 600;
}

/* Form Styles */
.booking-form {
    background: var(--white);
    padding: var(--spacing-xl);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    max-width: 900px;
    margin: 0 auto;
}

.form-step {
    margin-bottom: var(--spacing-xl);
}

.form-step h3 {
    margin-bottom: var(--spacing-lg);
    color: var(--primary-color);
    font-size: var(--font-size-xl);
}

/* Specialties Selection */
.specialties-select,
.doctors-grid,
.slots-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: var(--spacing-md);
}

.specialty-option,
.doctor-option,
.slot-option {
    cursor: pointer;
}

.specialty-card-select,
.doctor-card,
.slot-card {
    padding: var(--spacing-lg);
    border: 2px solid var(--gray);
    border-radius: var(--radius-md);
    transition: all var(--transition-base);
    background: var(--white);
    text-align: center;
}

.specialty-option input:checked + .specialty-card-select,
.doctor-option input:checked + .doctor-card,
.slot-option input:checked + .slot-card {
    border-color: var(--primary-color);
    background: linear-gradient(135deg, rgba(44, 125, 160, 0.05), rgba(45, 106, 79, 0.05));
    box-shadow: var(--shadow-md);
}

.specialty-card-select h4,
.doctor-card h4 {
    margin-bottom: var(--spacing-xs);
    color: var(--text-dark);
}

.specialty-card-select p,
.doctor-card p {
    margin-bottom: 0;
    font-size: var(--font-size-sm);
    color: var(--text-light);
}

.doctor-icon {
    font-size: 2.5rem;
    margin-bottom: var(--spacing-sm);
}

/* Slots */
.slot-card {
    text-align: center;
}

.slot-time {
    display: block;
    font-size: var(--font-size-lg);
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: var(--spacing-xs);
}

.slot-duration {
    font-size: var(--font-size-sm);
    color: var(--text-light);
}

/* Date Selector */
.date-selector {
    margin-bottom: var(--spacing-xl);
    text-align: center;
}

.date-selector input {
    padding: var(--spacing-md);
    border: 2px solid var(--gray);
    border-radius: var(--radius-md);
    font-size: var(--font-size-md);
    transition: all var(--transition-base);
}

.date-selector input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(44, 125, 160, 0.1);
}

/* Patient Form */
#patientForm {
    margin-top: var(--spacing-xl);
}

.form-group {
    margin-bottom: var(--spacing-lg);
}

.form-group label {
    display: block;
    margin-bottom: var(--spacing-sm);
    font-weight: 600;
    color: var(--text-dark);
}

.form-group label.required::after {
    content: '*';
    color: var(--error);
    margin-left: var(--spacing-xs);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: var(--spacing-md);
    border: 2px solid var(--gray);
    border-radius: var(--radius-md);
    font-size: var(--font-size-md);
    font-family: var(--font-primary);
    transition: all var(--transition-base);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(44, 125, 160, 0.1);
}

.form-group input.error,
.form-group select.error {
    border-color: var(--error);
}

.error-message {
    color: var(--error);
    font-size: var(--font-size-sm);
    margin-top: var(--spacing-xs);
    display: block;
}

/* Form Actions */
.form-actions {
    text-align: center;
    margin-top: var(--spacing-xl);
}

.btn-submit {
    background: linear-gradient(135deg, var(--success), var(--secondary-color));
    color: var(--white);
    padding: var(--spacing-md) var(--spacing-xxl);
    border: none;
    border-radius: var(--radius-full);
    font-size: var(--font-size-lg);
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-base);
    box-shadow: var(--shadow-md);
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* Alert Messages */
.alert {
    padding: var(--spacing-md) var(--spacing-lg);
    border-radius: var(--radius-md);
    margin-bottom: var(--spacing-lg);
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    animation: slideDown var(--transition-base);
}

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

.alert-success {
    background: linear-gradient(135deg, #d4edda, #c3e6cb);
    color: #155724;
    border-left: 4px solid var(--success);
}

.alert-error {
    background: linear-gradient(135deg, #f8d7da, #f5c6cb);
    color: #721c24;
    border-left: 4px solid var(--error);
}

.alert-info {
    background: linear-gradient(135deg, #d1ecf1, #bee5eb);
    color: #0c5460;
    border-left: 4px solid var(--info);
}

/* ===== FOOTER ===== */
footer {
    background: linear-gradient(135deg, var(--text-dark), #1a252f);
    color: var(--white);
    text-align: center;
    padding: var(--spacing-xl) 0;
    margin-top: var(--spacing-xxl);
}

footer p {
    margin-bottom: var(--spacing-sm);
    color: rgba(255, 255, 255, 0.8);
}

footer p:last-child {
    margin-bottom: 0;
    font-size: var(--font-size-xs);
}

/* ===== RESPONSIVE DESIGN ===== */

/* Tablet (768px - 1024px) */
@media screen and (max-width: 1024px) {
    :root {
        --font-size-4xl: 2rem;
        --font-size-3xl: 1.75rem;
        --spacing-xxl: 2rem;
    }
    
    .container {
        padding: 0 var(--spacing-lg);
    }
    
    .specialties-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: var(--spacing-lg);
    }
}

/* Mobile Landscape & Tablet (max-width: 768px) */
@media screen and (max-width: 868px) {
    /* Menu Mobile */
    .menu-toggle {
        display: flex;
    }
    
    .nav-links {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: var(--white);
        width: 100%;
        text-align: center;
        transition: var(--transition-base);
        box-shadow: var(--shadow-lg);
        padding: var(--spacing-xl) 0;
        gap: var(--spacing-lg);
        z-index: 999;
    }
    
    .nav-links.active {
        left: 0;
    }
    
    .nav-links li {
        width: 100%;
    }
    
    .nav-links a {
        display: inline-block;
        padding: var(--spacing-sm) var(--spacing-lg);
        font-size: var(--font-size-lg);
    }
    
    .nav-links a::after {
        bottom: -2px;
    }
    
    .btn-primary {
        display: inline-block;
        margin-top: var(--spacing-sm);
    }
    
    /* Hero Section */
    .hero {
        padding: 100px 0 60px;
    }
    
    .hero-content h2 {
        font-size: var(--font-size-3xl);
    }
    
    .hero-content p {
        font-size: var(--font-size-md);
    }
    
    .hero-stats {
        flex-direction: column;
        gap: var(--spacing-lg);
    }
    
    /* Booking Steps */
    .booking-steps {
        flex-wrap: wrap;
        gap: var(--spacing-md);
    }
    
    .booking-steps::before {
        display: none;
    }
    
    .step {
        flex: 1;
        min-width: 70px;
    }
    
    /* Forms */
    .booking-form {
        padding: var(--spacing-lg);
    }
    
    .specialties-select,
    .doctors-grid,
    .slots-grid {
        grid-template-columns: 1fr;
    }
    
    /* Contact Info */
    .contact-info {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
    }
    
    /* Typography */
    h1 {
        font-size: var(--font-size-3xl);
    }
    
    h2 {
        font-size: var(--font-size-2xl);
    }
    
    .section-title {
        font-size: var(--font-size-2xl);
    }
}

/* Mobile Small (max-width: 480px) */
@media screen and (max-width: 480px) {
    :root {
        --spacing-xl: 1.25rem;
        --spacing-xxl: 1.5rem;
    }
    
    .container {
        padding: 0 var(--spacing-md);
    }
    
    .navbar .container {
        padding: var(--spacing-sm) var(--spacing-md);
    }
    
    .logo h1 {
        font-size: var(--font-size-lg);
    }
    
    .logo span {
        font-size: 0.7rem;
    }
    
    .hero {
        padding: 80px 0 40px;
    }
    
    .hero-content h2 {
        font-size: var(--font-size-2xl);
    }
    
    .btn-hero,
    .btn-submit {
        padding: var(--spacing-sm) var(--spacing-xl);
        font-size: var(--font-size-sm);
    }
    
    .stat-number {
        font-size: var(--font-size-2xl);
    }
    
    .specialty-card,
    .doctor-card,
    .slot-card {
        padding: var(--spacing-md);
    }
    
    .booking-header h1 {
        font-size: var(--font-size-2xl);
    }
    
    .step-label {
        font-size: 0.7rem;
    }
    
    .step-number {
        width: 35px;
        height: 35px;
        font-size: var(--font-size-sm);
    }
    
    .form-group input,
    .form-group select {
        font-size: 16px; /* Previene zoom su mobile */
        padding: var(--spacing-sm);
    }
}

/* Landscape Orientation */
@media screen and (max-width: 768px) and (orientation: landscape) {
    .nav-links {
        top: 70px;
        max-height: calc(100vh - 70px);
        overflow-y: auto;
    }
    
    .hero {
        padding: 90px 0 40px;
    }
    
    .hero-stats {
        flex-direction: row;
        flex-wrap: wrap;
    }
}

/* Desktop Large (min-width: 1440px) */
@media screen and (min-width: 1440px) {
    .container {
        max-width: 1400px;
    }
    
    :root {
        --font-size-4xl: 3rem;
        --font-size-3xl: 2.25rem;
    }
}

/* Touch Device Optimizations */
@media (hover: none) and (pointer: coarse) {
    .specialty-card:active,
    .doctor-card:active,
    .slot-card:active,
    .btn-primary:active,
    .btn-hero:active,
    .btn-submit:active {
        transform: scale(0.98);
    }
    
    .nav-links a {
        padding: 12px 16px;
    }
    
    button,
    .btn-primary,
    .btn-hero,
    .btn-submit,
    .specialty-card,
    .doctor-card,
    .slot-card {
        cursor: pointer;
        -webkit-tap-highlight-color: transparent;
    }
}

/* Print Styles */
@media print {
    .navbar,
    .hero-stats,
    .btn-primary,
    .btn-hero,
    .btn-submit,
    footer {
        display: none;
    }
    
    body {
        background: white;
        color: black;
    }
    
    .container {
        padding: 0;
        margin: 0;
    }
    
    .hero {
        background: none;
        color: black;
        padding: 20px 0;
    }
}

/* ===== UTILITY CLASSES ===== */
.text-center {
    text-align: center;
}

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

.text-success {
    color: var(--success);
}

.text-error {
    color: var(--error);
}

.mt-1 { margin-top: var(--spacing-sm); }
.mt-2 { margin-top: var(--spacing-md); }
.mt-3 { margin-top: var(--spacing-lg); }
.mt-4 { margin-top: var(--spacing-xl); }
.mt-5 { margin-top: var(--spacing-xxl); }

.mb-1 { margin-bottom: var(--spacing-sm); }
.mb-2 { margin-bottom: var(--spacing-md); }
.mb-3 { margin-bottom: var(--spacing-lg); }
.mb-4 { margin-bottom: var(--spacing-xl); }
.mb-5 { margin-bottom: var(--spacing-xxl); }

.hidden {
    display: none;
}

.visible {
    display: block;
}

/* ===== ANIMATIONS ===== */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

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

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

.fade-in {
    animation: fadeIn var(--transition-base);
}

.slide-up {
    animation: slideUp var(--transition-slow);
}

/* Scrollbar personalizzata */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--light-gray);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: var(--radius-full);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-dark);
}

/* Selezione testo */
::selection {
    background: var(--primary-color);
    color: var(--white);
}

::-moz-selection {
    background: var(--primary-color);
    color: var(--white);
}

/* Stili per i link delle specialità */
.specialty-card-link {
    text-decoration: none;
    display: block;
}

.specialty-card {
    cursor: pointer;
    transition: all var(--transition-base);
}

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

.specialty-hover-effect small {
    font-size: var(--font-size-sm);
    font-weight: 500;
    transition: transform var(--transition-base);
    display: inline-block;
}

.specialty-card:hover .specialty-hover-effect small {
    transform: translateX(5px);
}

/* Breadcrumb */
.breadcrumb {
    font-size: var(--font-size-sm);
    margin-bottom: var(--spacing-md);
}

.breadcrumb a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color var(--transition-fast);
}

.breadcrumb a:hover {
    color: var(--white);
}

.breadcrumb span {
    color: var(--white);
}

/* Stili responsive per le card medici */
@media (max-width: 768px) {
    .doctor-card-detailed {
        margin-bottom: var(--spacing-md);
    }
    
    .doctor-image {
        height: 200px;
    }
    
    .services-list {
        grid-template-columns: 1fr;
    }
    
    .specialty-meta {
        flex-direction: column;
        gap: var(--spacing-md);
    }
    
    .meta-item {
        text-align: left;
        padding: var(--spacing-sm) 0;
    }
}

.service-hero {
            background: linear-gradient(135deg, var(--primary-color, #2c7da0), var(--secondary-color, #2d6a4f));
            color: white;
            padding: 120px 0 60px;
            margin-top: 70px;
            position: relative;
            overflow: hidden;
        }
        
        .service-hero::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="rgba(255,255,255,0.1)" fill-opacity="1" d="M0,96L48,112C96,128,192,160,288,160C384,160,480,128,576,122.7C672,117,768,139,864,154.7C960,171,1056,181,1152,165.3C1248,149,1344,107,1392,85.3L1440,64L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>') no-repeat bottom;
            background-size: cover;
            opacity: 0.2;
        }
        
        .service-hero .container {
            position: relative;
            z-index: 1;
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 20px;
        }
        
        .breadcrumb {
            margin-bottom: 1rem;
            font-size: 0.9rem;
        }
        
        .breadcrumb a {
            color: rgba(255,255,255,0.8);
            text-decoration: none;
        }
        
        .breadcrumb a:hover {
            color: white;
        }
        
        .service-icon-large {
            margin-bottom: 1rem;
        }
        
        .service-icon-large img {
            width: 80px;
            height: 80px;
            object-fit: contain;
        }
        
        .service-title {
            font-size: 3rem;
            margin-bottom: 1rem;
            color: white;
        }
        
        .service-subtitle {
            font-size: 1.2rem;
            opacity: 0.95;
            max-width: 800px;
        }
        
        .service-content {
            padding: 60px 0;
            background: #f8f9fa;
        }
        
        .service-content .container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 20px;
        }
        
        .service-main {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 3rem;
            margin-bottom: 3rem;
        }
        
        .service-image img {
            width: 100%;
            border-radius: 1rem;
            box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1);
        }
        
        .service-info h2,
        .doctors-section h2,
        .hours-section h2,
        .services-section h2 {
            color: #2c7da0;
            margin-bottom: 1.5rem;
        }
        
        .service-description {
            line-height: 1.8;
            margin-bottom: 1.5rem;
        }
        
        .doctors-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
            gap: 2rem;
            margin-bottom: 3rem;
        }
        
        .doctor-card-detailed {
            background: white;
            border-radius: 1rem;
            overflow: hidden;
            box-shadow: 0 4px 6px -1px rgba(0,0,0,0.1);
            transition: transform 0.3s;
        }
        
        .doctor-card-detailed:hover {
            transform: translateY(-5px);
        }
        
        .doctor-info {
            padding: 1.5rem;
        }
        
        .doctor-name {
            font-size: 1.3rem;
            margin-bottom: 0.5rem;
            color: #2c3e50;
        }
        
        .doctor-title {
            color: #2c7da0;
            font-weight: 600;
            margin-bottom: 0.5rem;
        }
        
        .doctor-specialization {
            color: #6c757d;
            font-size: 0.9rem;
            margin-bottom: 0.5rem;
        }
        
        .doctor-description {
            color: #495057;
            font-size: 0.9rem;
            line-height: 1.5;
            margin-top: 1rem;
        }
        
        .hours-table {
            background: white;
            border-radius: 1rem;
            overflow: hidden;
            box-shadow: 0 4px 6px -1px rgba(0,0,0,0.1);
            margin-bottom: 3rem;
        }
        
        .hours-row {
            display: grid;
            grid-template-columns: 150px 1fr;
            padding: 1rem 1.5rem;
            border-bottom: 1px solid #e9ecef;
            align-items: center;
        }
        
        .hours-row:last-child {
            border-bottom: none;
        }
        
        .hours-day {
            font-weight: 700;
            color: #2c3e50;
            font-size: 1rem;
        }
        
        .hours-time {
            color: #495057;
            display: flex;
            flex-wrap: wrap;
            gap: 0.5rem;
            align-items: center;
        }
        
        .orario-slot {
            display: inline-block;
            background: #f8f9fa;
            padding: 0.25rem 0.75rem;
            border-radius: 20px;
            font-size: 0.9rem;
        }
        
        .orario-slot small {
            font-size: 0.7rem;
            color: #6c757d;
        }
        
        .orario-separator {
            color: #dee2e6;
        }
        
        .services-list {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 1rem;
            margin-bottom: 2rem;
        }
        
        .service-item {
            background: white;
            padding: 1rem;
            border-radius: 0.5rem;
            display: flex;
            align-items: center;
            gap: 0.75rem;
            transition: all 0.3s;
        }
        
        .service-item:hover {
            transform: translateX(5px);
            box-shadow: 0 1px 2px 0 rgba(0,0,0,0.05);
        }
        
        .service-icon-check {
            color: #28a745;
            font-weight: bold;
            font-size: 1.2rem;
        }
        
        .booking-card {
            background: linear-gradient(135deg, #2c7da0, #2d6a4f);
            color: white;
            padding: 2rem;
            border-radius: 1rem;
            text-align: center;
            margin-top: 2rem;
        }
        
        .booking-card h3 {
            color: white;
            margin-bottom: 1rem;
        }
        
        .btn-booking {
            display: inline-block;
            background: white;
            color: #2c7da0;
            padding: 1rem 2rem;
            border-radius: 50px;
            text-decoration: none;
            font-weight: 600;
            margin-top: 1rem;
            transition: all 0.3s;
        }
        
        .btn-booking:hover {
            transform: scale(1.05);
            box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1);
        }
        
        .alert {
            padding: 15px;
            border-radius: 5px;
            margin-bottom: 20px;
        }
        
        .alert-error {
            background: #f8d7da;
            color: #721c24;
            border: 1px solid #f5c6cb;
        }
     .container-orari-maps {
		display: grid;
		grid-template-columns: 1fr 1fr;     	
     	max-width: 1280px;
     	margin:auto;
     }
     
     .orari-box {
  max-width: 520px;
  margin: 30px auto;
  padding: 24px;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
  font-family: Arial, sans-serif;
}

.orari-box h3 {
  margin: 0 0 18px;
  font-size: 24px;
  color: #1f2937;
  text-align: center;
}

.giorno {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid #f0f0f0;
}

.giorno-chiuso {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid #f0f0f0;
}

.giorno:last-child {
  border-bottom: none;
}

.nome-giorno {
  font-weight: 700;
  color: #111827;
  min-width: 120px;
}

.fascia-oraria {
  color: #4b5563;
  text-align: right;
}

.fascia-oraria-chiuso {
  color: #4b5563;
  text-align: left;
}

@media (max-width: 400px) {
  .giorno {
    flex-direction: column;
    align-items: flex-start;
  }

  .fascia-oraria {
    text-align: left;
  }
}

        @media (max-width: 868px) {
            
            .container-orari-maps {
					grid-template-columns: 1fr; 
		
					}
					
				}


        @media (max-width: 768px) {
            .service-main {
                grid-template-columns: 1fr;
                gap: 2rem;
            }    

            .service-title {
                font-size: 2rem;
            }
            
            .service-hero {
                padding: 100px 0 40px;
            }
            
            .hours-row {
                grid-template-columns: 1fr;
                gap: 0.5rem;
                padding: 1rem;
            }
            
            .hours-day {
                font-weight: 700;
                padding-bottom: 0.25rem;
                border-bottom: 2px solid #2c7da0;
                display: inline-block;
            }
            
            .hours-time {
                flex-direction: column;
                align-items: flex-start;
            }
            
            .orario-separator {
                display: none;
            }
            
            .orario-slot {
                width: 100%;
            }
        }
        /* Stili per la sezione medici */
.doctor-card-detailed {
    background: white;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 4px 6px -1px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    display: flex;
    flex-direction: column;
}

.doctor-card-detailed:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px -5px rgba(0,0,0,0.15);
}

.doctor-avatar {
    text-align: center;
    padding: 1.5rem 1.5rem 0.5rem;
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
}

.avatar-placeholder {
    transition: transform 0.3s;
}

.doctor-card-detailed:hover .avatar-placeholder {
    transform: scale(1.05);
}

.doctor-info {
    padding: 1.5rem;
    flex: 1;
}

.doctor-name {
    font-size: 1.3rem;
    margin-bottom: 0.25rem;
    color: #2c3e50;
    text-align: center;
}

.doctor-title {
    color: #2c7da0;
    font-weight: 600;
    margin-bottom: 1rem;
    text-align: center;
    font-size: 0.9rem;
}

.doctor-competenze,
.doctor-schedule,
.doctor-description {
    margin-top: 1rem;
    padding-top: 0.75rem;
    border-top: 1px solid #e9ecef;
}

.doctor-competenze strong,
.doctor-schedule strong,
.doctor-description strong {
    color: #2c3e50;
    font-size: 0.85rem;
    display: block;
    margin-bottom: 0.5rem;
}

.competenze-list {
    font-size: 0.85rem;
    color: #495057;
    line-height: 1.4;
}

.giorno-badge {
    display: inline-block;
  /*  background: #2c7da0; */
    color: black;
    padding: 0.2rem 0.6rem;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 600;
    margin-right: 0.3rem;
}

.schedule-items {
    font-size: 0.8rem;
    color: #495057;
    line-height: 1.6;
}

.more-info {
    font-size: 0.7rem;
    color: #6c757d;
    font-style: italic;
}

.no-info {
    font-size: 0.8rem;
    color: #6c757d;
    font-style: italic;
}

.doctor-description p {
    font-size: 0.85rem;
    color: #495057;
    line-height: 1.5;
    margin-top: 0.25rem;
}

.doctor-booking {
    margin-top: 1.5rem;
    text-align: center;
}

.btn-booking-small {
    display: inline-block;
    background: linear-gradient(135deg, #2c7da0, #2d6a4f);
    color: white;
    padding: 0.6rem 1.2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.85rem;
    transition: all 0.3s;
    width: 100%;
    text-align: center;
}

.btn-booking-small:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

.alert-info {
    background: #d1ecf1;
    color: #0c5460;
    padding: 1rem;
    border-radius: 0.5rem;
    text-align: center;
}

.doctors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

@media (max-width: 768px) {
    .doctors-grid {
        grid-template-columns: 1fr;
    }
    
    .btn-booking-small {
        width: auto;
    }
}

/* ==================== BARRA DI RICERCA ==================== */
.search-container {
    position: relative;
}

.search-wrapper {
    position: relative;
    width: 500px;
    margin: auto;
    margin-bottom: 30px;
}

.search-icon {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #6c757d;
    z-index: 1;
}

.search-input {
    width: 100%;
    height: 60px;
    padding: 10px 15px 10px 40px;
    border: 1px solid #ddd;
    border-radius: 30px;
    font-size: 0.9rem;
    transition: all 0.3s;
    background: white;
}

.search-input:focus {
    outline: none;
    border-color: #2c7da0;
    box-shadow: 0 0 0 3px rgba(44,125,160,0.1);
    width: 500px;
}

.search-results-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border-radius: 10px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    z-index: 1000;
    max-height: 400px;
    overflow-y: auto;
    display: none;
    margin-top: 5px;
}

.search-results-dropdown.show {
    display: block;
    animation: fadeInDown 0.2s ease;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.search-result-item {
    display: flex;
    align-items: center;
    padding: 12px 15px;
    border-bottom: 1px solid #e9ecef;
    cursor: pointer;
    transition: background 0.2s;
}

.search-result-item:hover {
    background: #f8f9fa;
}

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

.search-result-icon {
    width: 40px;
    height: 40px;
    background: #e3f2fd;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 12px;
    color: #2c7da0;
}

.search-result-icon i {
    font-size: 1.2rem;
}

.search-result-info {
    flex: 1;
}

.search-result-title {
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 3px;
}

.search-result-subtitle {
    font-size: 0.75rem;
    color: #6c757d;
}

.search-result-badge {
    padding: 2px 8px;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 600;
    background: #e9ecef;
    color: #495057;
}

.search-result-badge.servizio {
    background: #d4edda;
    color: #155724;
}

.search-result-badge.medico {
    background: #cce5ff;
    color: #004085;
}

.search-loading {
    padding: 15px;
    text-align: center;
    color: #6c757d;
}

.search-no-results {
    padding: 15px;
    text-align: center;
    color: #6c757d;
    font-style: italic;
}

        /* Stili aggiuntivi per la sezione contatti e mappa */
        .contatti-completi {
            background: #f8f9fa;
            padding: 60px 0;
        }

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

        .contatti-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
            gap: 30px;
            margin-top: 30px;
        }

        .contatto-card {
            background: white;
            border-radius: 15px;
            padding: 25px;
            box-shadow: 0 2px 10px rgba(0,0,0,0.08);
            transition: transform 0.3s;
            text-align: center;
        }

        .contatto-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 10px 30px rgba(0,0,0,0.12);
        }

        .contatto-card .icona {
            font-size: 2rem;
            color: #2c7da0;
            margin-bottom: 15px;
        }

        .contatto-card h4 {
            color: #2c3e50;
            margin-bottom: 10px;
            font-size: 1.1rem;
        }

        .contatto-card p {
            color: #495057;
            margin-bottom: 5px;
            line-height: 1.6;
        }

        .contatto-card a {
            color: #2c7da0;
            text-decoration: none;
        }

        .contatto-card a:hover {
            text-decoration: underline;
        }

        .wa-link {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            background: #25D366;
            color: white !important;
            padding: 8px 20px;
            border-radius: 25px;
            text-decoration: none !important;
            font-weight: 600;
            transition: all 0.3s;
            margin-top: 10px;
        }

        .wa-link:hover {
            background: #1da851;
            transform: scale(1.02);
            text-decoration: none !important;
        }

        .wa-link svg {
            fill: white;
        }

        /* Sezione Come Raggiungerci */
        .come-raggiungerci {
            padding: 60px 0;
            background: white;
        }

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

        .mappa-container {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 40px;
            margin-top: 30px;
            align-items: start;
        }

        .mappa-box {
            border-radius: 15px;
            overflow: hidden;
            box-shadow: 0 4px 20px rgba(0,0,0,0.1);
        }

        .mappa-box iframe {
            width: 100%;
            height: 450px;
            border: 0;
            display: block;
        }

        .indicazioni {
            display: flex;
            flex-direction: column;
            gap: 20px;
        }

        .mezzo-card {
            background: #f8f9fa;
            border-radius: 12px;
            padding: 20px;
            border-left: 4px solid #2c7da0;
            transition: all 0.3s;
        }

        .mezzo-card:hover {
            background: #e9ecef;
            transform: translateX(5px);
        }

        .mezzo-card .mezzo-icon {
            font-size: 1.5rem;
            color: #2c7da0;
            margin-bottom: 8px;
        }

        .mezzo-card h4 {
            color: #2c3e50;
            font-size: 1rem;
            margin-bottom: 5px;
        }

        .mezzo-card p {
            color: #495057;
            font-size: 0.9rem;
            line-height: 1.5;
            margin: 0;
        }

        .mezzo-card .dettaglio {
            font-size: 0.85rem;
            color: #6c757d;
            margin-top: 5px;
        }

        .orari-apertura-box {
            background: #f8f9fa;
            padding: 30px;
            border-radius: 15px;
            box-shadow: 0 2px 10px rgba(0,0,0,0.05);
        }

        .orari-apertura-box h3 {
            color: #2c7da0;
            margin-bottom: 20px;
            text-align: center;
        }

        .orario-row {
            display: flex;
            justify-content: space-between;
            padding: 8px 0;
            border-bottom: 1px solid #e9ecef;
        }

        .orario-row:last-child {
            border-bottom: none;
        }

        .orario-row .giorno {
            font-weight: 600;
            color: #2c3e50;
        }

        .orario-row .orario {
            color: #495057;
        }

        .orario-row.chiuso .orario {
            color: #dc3545;
        }

        .indirizzo-box {
            background: #2c7da0;
            color: white;
            padding: 20px;
            border-radius: 12px;
            text-align: center;
            margin-top: 20px;
        }

        .indirizzo-box p {
            margin: 5px 0;
            color: rgba(255,255,255,0.95);
        }

        .indirizzo-box .indirizzo-principale {
            font-size: 1.1rem;
            font-weight: 600;
        }

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

            .mappa-box iframe {
                height: 300px;
            }

            .contatti-grid {
                grid-template-columns: 1fr;
            }

            .orario-row {
                flex-direction: column;
                gap: 5px;
                text-align: center;
            }
        }
        
.container-footer {
	display: grid;
	grid-template-columns: 1fr 1fr 1fr 1fr;
    text-align: left;
	padding:8px;
}
        ul.responsive-list {
            /* Rimuove i pallini di default */
            list-style: none;
            /* Rimuove il padding e il margine di default per un controllo completo */
            padding: 0;
            margin: 0;
            margin-top: 2px;
            
            /* -- L'essenza del Flexbox -- */
            /* Imposta il display Flexbox sul contenitore ul */
            display: flex;
            
            /* Avvolge gli elementi su più righe se non c'è abbastanza spazio */
            flex-wrap: wrap;
            
            /* Crea uno spazio di 10px tra ogni elemento, sia orizzontalmente che verticalmente. */
            /* Questo è il metodo più semplice e pulito per gestire le distanze. */
            gap: 10px;
        }

        /* Stile per ogni elemento della lista (li) */
        ul.responsive-list li {
            /* Imposta il background e il padding per visibilità */
            padding: 5px 5px;
            text-align: center;
            /* Consente agli elementi di ridursi o espandersi per adattarsi allo spazio */
            flex-grow: 1;
            flex-shrink: 1;
        }
        
    .lista-url {
	list-style: none;
	margin-left: 10px;
}

.url-footer {
	padding: 0px 0px 0px 18px;
}

.url-footer-last{
	padding: 0px 0px 0px 18px;
}
.datiAziendali {
	padding: 0px 0px 0px 18px;
}
@media (max-width: 1200px) {

	.container-footer {
		grid-template-columns: 1fr 1fr;
		text-align: center;
    }
    
    .url-footer-last{
	padding: 20px 0px 0px 18px;
}

}

/* Versione mobile */
@media (max-width: 768px) {
    .search-wrapper {
        width: 100%;
    }
    
    .search-input:focus {
        width: 100%;
    }
    
    .search-container {
        width: 100%;
        margin-top: 10px;
    }
    
    .container-footer {
		grid-template-columns: 1fr;
		text-align: center;
    }
    
    .url-footer {
	padding: 20px 0px 0px 0px;
}
}

.wa-float {
 /*   position: fixed;
    right: 20px;
    bottom: 20px; */
    width: 30px;
    height: 30px;
    background: #25D366;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0,0,0,.25);
/*    z-index: 9999; */
    text-decoration: none;
}
.wa-float:hover {
    background: #1ebe5d;
}
.nome-struttura {
            font-size: 1.5rem;
            font-weight: 700;
            color: #2c7da0;
            letter-spacing: 1px;
        }
