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

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333;
    background: #199546;
}

.header {
    background: #ffffff;
    color: white;
    padding: 1rem 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 2rem;
}

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

.logo img {
    height: 77px;
    max-width: 100%;
    object-fit: contain;
    transition: all 0.3s ease;
}

.banner {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 0 2rem;
}

.banner img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.banner-mobile {
    display: none;
}

/* Filter Section Styles */
.filter-section {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 0 2rem;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: 1rem;
}

.filter-title {
    color: white;
    font-size: 1.2rem;
    font-weight: bold;
    text-align: center;
}

.filter-container {
    position: relative;
    display: inline-block;
}

.filter-button {
    background: white;
    color: #0048ff;
    border: 1px solid #dadce0;
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 200px;
    justify-content: center;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    outline: none;
}

.filter-button:hover {
    background: #0048ff;
    color: white;
    border-color: #0048ff;
    box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}

.filter-button:focus {
    background: #0048ff;
    color: white;
    border-color: #0048ff;
    box-shadow: 0 0 0 2px rgba(0, 72, 255, 0.3);
}

.filter-button-text {
    font-weight: 500;
    transition: color 0.2s ease;
}

.filter-arrow {
    transition: all 0.2s ease;
    width: 16px;
    height: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.filter-arrow svg {
    width: 16px;
    height: 16px;
    fill: #0048ff;
    transition: all 0.2s ease;
}

.filter-button:hover .filter-arrow svg {
    fill: white;
}

.filter-button:focus .filter-arrow svg {
    fill: white;
}

.filter-button.active .filter-arrow {
    transform: rotate(180deg);
}

/* Filter Modal Styles - Dark Mode */
.filter-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.7);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 3000;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.filter-modal.show {
    display: flex;
    opacity: 1;
}

.filter-modal-content {
    background: #2d2d2d;
    border-radius: 12px;
    min-width: 320px;
    max-width: 400px;
    width: 90%;
    box-shadow: 0 8px 32px rgba(0,0,0,0.4);
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.filter-modal.show .filter-modal-content {
    transform: scale(1);
}

.filter-modal-header {
    padding: 20px 24px 16px;
    border-bottom: 1px solid #404040;
}

.filter-modal-title {
    font-size: 16px;
    font-weight: 500;
    color: #ffffff;
    margin: 0;
    text-align: center;
}

.filter-options-list {
    padding: 8px 0;
    max-height: 300px;
    overflow-y: auto;
}

.filter-option {
    padding: 16px 24px;
    cursor: pointer;
    transition: background-color 0.2s ease;
    color: #ffffff;
    font-size: 22px;
    border: none;
    background: none;
    width: 100%;
    text-align: center;
    font-weight: 400;
}

.filter-option:hover {
    background-color: #404040;
}

.filter-option:focus {
    background-color: #404040;
    outline: none;
}

.services-section {
    padding: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    text-align: center;
    font-size: 1.5rem;
    margin-bottom: 3rem;
    color: #ffffff;
}

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

.service-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.service-image {
    height: 250px;
    width: 100%;
    background: #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-bottom: 1px solid #eee;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.service-info {
    padding: 1.5rem;
}

.service-title {
    font-size: 1.4rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
    color: #0066cc;
}

.service-description {
    color: #666;
    margin-bottom: 1rem;
    line-height: 1.4;
}

.specifications-section {
    margin: 1rem 0;
}

.specifications-title {
    font-weight: bold;
    margin-bottom: 0.5rem;
    color: #333;
}

.specifications-list {
    list-style: none;
    padding: 0;
}

.specification-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.3rem;
    color: #555;
    font-size: 0.9rem;
}

.specification-item::before {
    content: "✅";
    color: #0066cc;
    font-weight: bold;
    width: 16px;
    height: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.datetime-section {
    margin: 1.5rem 0;
    padding: 1.5rem;
    background: #f8f9fa;
    border-radius: 10px;
    border: 2px solid #0066cc;
}

.datetime-title {
    font-weight: bold;
    margin-bottom: 1.5rem;
    color: #0066cc;
    text-align: center;
    font-size: 1.1rem;
}

.datetime-inputs {
    display: flex;
    gap: 1rem;
    align-items: end;
    justify-content: center;
}

.datetime-group {
    flex: 1;
    max-width: 200px;
}

.datetime-group label {
    font-weight: bold;
    margin-bottom: 0.5rem;
    color: #333;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.datetime-group label.date-label::before {
    content: "📅";
    width: 16px;
    height: 16px;
}

.datetime-group label.time-label::before {
    content: "🕒";
    width: 16px;
    height: 16px;
}

.datetime-group input,
.datetime-group select {
    width: 100%;
    padding: 0.8rem;
    border: 2px solid #ddd;
    border-radius: 8px;
    font-size: 0.9rem;
    transition: border-color 0.3s ease;
}

.datetime-group input:focus,
.datetime-group select:focus {
    outline: none;
    border-color: #0066cc;
}

/* Cambio 2: Estilo para que aparezca "Seleccionar" en los campos de fecha */
.datetime-group input[type="date"]:invalid {
    color: #999;
}

.datetime-group input[type="date"]:invalid::-webkit-datetime-edit {
    color: transparent;
}

.datetime-group input[type="date"]:invalid:before {
    content: "Seleccionar";
    color: #999;
    position: absolute;
}

.datetime-group input[type="date"]:focus:invalid::-webkit-datetime-edit {
    color: #333;
}

.datetime-group input[type="date"]:focus:invalid:before {
    display: none;
}

/* Cambio 1: Estilo personalizado para el día de hoy en el calendario */
.datetime-group input[type="date"] {
    position: relative;
}

.datetime-group input[type="date"]::-webkit-calendar-picker-indicator {
    cursor: pointer;
}

/* Estilos específicos para WebKit (Chrome, Safari, Edge) */
input[type="date"]::-webkit-datetime-edit-fields-wrapper {
    position: relative;
}

/* Intentar personalizar el calendario cuando se abre */
input[type="date"]::-webkit-calendar-picker-indicator:hover {
    background: rgba(0, 72, 255, 0.1);
    border-radius: 4px;
}

/* Agregar un estilo personalizado al campo de fecha para indicar el día actual */
.datetime-group input[type="date"]::after {
    content: "";
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 2px;
    background: #0048ff;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.datetime-group input[type="date"]:focus::after {
    opacity: 1;
}

/* Estilo adicional para mejorar la experiencia visual */
.datetime-group input[type="date"]:focus {
    border-color: #0048ff;
    box-shadow: 0 0 0 2px rgba(0, 72, 255, 0.2);
}

.request-appointment-btn {
    width: 100%;
    background: #0066cc;
    color: white;
    border: none;
    padding: 1rem;
    border-radius: 10px;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 1rem;
}

.request-appointment-btn:hover {
    background: #0052a3;
}

/* Cambio 3: Nuevo botón "Ver otros servicios" */
.view-services-btn {
    width: 100%;
    background: white;
    color: #0048ff;
    border: 2px solid #0048ff;
    padding: 1rem;
    border-radius: 10px;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 0.5rem;
}

.view-services-btn:hover {
    background: #0048ff;
    color: white;
}

/* Gallery Section Styles */
.gallery-section {
    padding: 3rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.gallery-title {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 2rem;
    color: #ffffff;
    font-weight: bold;
}

.gallery-slider {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    touch-action: pan-y;
    user-select: none;
}

.gallery-container {
    display: flex;
    transition: transform 0.3s ease-out;
    height: auto;
    cursor: grab;
}

.gallery-container:active {
    cursor: grabbing;
}

.gallery-slide {
    min-width: 100%;
    height: auto;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gallery-slide img {
    width: 100%;
    height: auto;
    object-fit: contain;
    display: block;
}

.gallery-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.9);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: #333;
    transition: all 0.3s ease;
    z-index: 10;
}

.gallery-nav:hover {
    background: rgba(255,255,255,1);
    transform: translateY(-50%) scale(1.1);
}

.gallery-prev {
    left: 20px;
}

.gallery-next {
    right: 20px;
}

.gallery-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
}

.gallery-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.gallery-dot.active {
    background: white;
    transform: scale(1.2);
}

/* Map Section Styles */
.map-section {
    padding: 3rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.map-title {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 2rem;
    color: #ffffff;
    font-weight: bold;
}

.map-container {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    height: 450px;
    position: relative;
}

.map-iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.map-info {
    background: white;
    padding: 2rem;
    margin-top: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    text-align: center;
}

.map-info h3 {
    color: #0066cc;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.map-info p {
    color: #666;
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

.appointment-sidebar {
    position: fixed;
    top: 0;
    right: -500px;
    width: 500px;
    height: 100vh;
    background: white;
    box-shadow: -5px 0 20px rgba(0,0,0,0.1);
    transition: right 0.3s ease;
    z-index: 2000;
    display: flex;
    flex-direction: column;
}

.appointment-sidebar.open {
    right: 0;
}

.sidebar-header {
    padding: 1.5rem;
    background: #0066cc;
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-shrink: 0;
}

.sidebar-title {
    font-size: 1.3rem;
    font-weight: bold;
}

.close-sidebar {
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
}

.sidebar-content {
    flex: 1;
    overflow-y: auto;
    padding: 1.5rem;
    padding-bottom: 120px;
    position: relative;
}

.appointment-summary {
    padding: 1.5rem;
    background: #f8f9fa;
    border-radius: 10px;
    margin-bottom: 2rem;
    border: 2px solid #0066cc;
}

.summary-service {
    font-weight: bold;
    font-size: 1.2rem;
    color: #0066cc;
    margin-bottom: 1rem;
}

.summary-datetime {
    color: #666;
    font-size: 1rem;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.summary-datetime.date::before {
    content: "📅";
}

.summary-datetime.time::before {
    content: "🕒";
}

.form-title {
    font-size: 1.2rem;
    font-weight: bold;
    margin-bottom: 1.5rem;
    color: #333;
    text-align: center;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: bold;
    color: #333;
    font-size: 0.9rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.8rem;
    border: 2px solid #ddd;
    border-radius: 8px;
    font-size: 0.9rem;
    transition: border-color 0.3s ease;
    font-family: inherit;
}

.form-group textarea {
    resize: vertical;
    min-height: 80px;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #0066cc;
}

.form-buttons {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: white;
    border-top: 2px solid #eee;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
    display: none;
    gap: 1rem;
    padding: 1rem 1.5rem;
    margin: 0;
    z-index: 2001;
}

.appointment-sidebar.open .form-buttons {
    display: flex;
}

.btn {
    flex: 1;
    padding: 1rem;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-cancel {
    background: #6c757d;
    color: white;
}

.btn-cancel:hover {
    background: #5a6268;
}

.btn-submit {
    background: #28a745;
    color: white;
}

.btn-submit:hover {
    background: #218838;
}

.floating-buttons {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 1500;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.floating-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
    transition: all 0.3s ease;
    user-select: none;
}

.floating-btn:hover {
    transform: scale(1.1);
}

.floating-btn svg {
    pointer-events: none;
}

.floating-btn * {
    pointer-events: none;
}

.whatsapp-btn {
    background: #25D366;
    color: white;
    position: relative;
}

.map-btn {
    background: #ffffff;
    color: #ff0000;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.map-btn:hover {
    box-shadow: 0 6px 16px rgba(0,0,0,0.25);
}

.map-btn svg {
    pointer-events: none;
}

.map-btn * {
    pointer-events: none;
}

.map-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 3000;
}

.map-modal.show {
    display: flex;
}

.map-modal-content {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    max-width: 400px;
    width: 90%;
    text-align: center;
}

.map-modal-title {
    font-size: 1.3rem;
    font-weight: bold;
    margin-bottom: 1.5rem;
    color: #0066cc;
}

.map-options {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.map-option-btn {
    padding: 1rem;
    border: 2px solid #0066cc;
    background: white;
    color: #0066cc;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
}

.map-option-btn:hover {
    background: #0066cc;
    color: white;
}

.close-modal-btn {
    margin-top: 1rem;
    padding: 0.5rem 1rem;
    background: #6c757d;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

/* WhatsApp Menu Styles */
.whatsapp-menu {
    position: fixed;
    right: 20px;
    bottom: 90px;
    background: white;
    border-radius: 20px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.2);
    padding: 1rem;
    min-width: 250px;
    display: none;
    z-index: 1600;
    animation: slideUp 0.3s ease-out;
}

.whatsapp-menu.show {
    display: block;
}

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

.whatsapp-menu-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #eee;
}

.whatsapp-menu-header .whatsapp-icon {
    color: #25D366;
    font-size: 1.2rem;
}

.whatsapp-menu-title {
    font-weight: bold;
    color: #333;
    font-size: 0.9rem;
}

.whatsapp-option {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 0.8rem;
    border-radius: 10px;
    cursor: pointer;
    transition: background-color 0.2s ease;
    margin-bottom: 0.5rem;
    user-select: none;
}

.whatsapp-option:hover {
    background-color: #f0f0f0;
}

.whatsapp-option-icon {
    font-size: 1.1rem;
    width: 20px;
    text-align: center;
    pointer-events: none;
}

.whatsapp-option-text {
    font-size: 0.85rem;
    color: #333;
    font-weight: 500;
    pointer-events: none;
}

.schedule-submenu {
    position: fixed;
    right: 20px;
    bottom: 90px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.2);
    padding: 1.5rem;
    min-width: 280px;
    display: none;
    z-index: 1700;
    animation: slideUp 0.3s ease-out;
}

.schedule-submenu.show {
    display: block;
}

.schedule-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #eee;
}

.schedule-title {
    font-weight: bold;
    color: #0066cc;
    font-size: 1rem;
}

.schedule-close {
    background: none;
    border: none;
    font-size: 1.2rem;
    cursor: pointer;
    color: #666;
}

.schedule-content {
    color: #333;
    line-height: 1.6;
}

.schedule-day {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.schedule-day-name {
    font-weight: 600;
}

.schedule-hours {
    color: #666;
}

.emergency-modal, .referral-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 3000;
}

.emergency-modal.show, .referral-modal.show {
    display: flex;
}

.emergency-content, .referral-content {
    background: white;
    border-radius: 15px;
    max-width: 500px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
}

.emergency-header, .referral-header {
    background: #dc3545;
    color: white;
    padding: 1.5rem;
    border-radius: 15px 15px 0 0;
    text-align: center;
}

.referral-header {
    background: #28a745;
}

.emergency-title, .referral-title {
    font-size: 1.3rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.emergency-subtitle, .referral-subtitle {
    font-size: 0.9rem;
    opacity: 0.9;
}

.emergency-form, .referral-form {
    padding: 2rem;
}

.privacy-notice {
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    padding: 1rem;
    margin-bottom: 1.5rem;
    font-size: 0.8rem;
    color: #6c757d;
}

.privacy-title {
    font-weight: bold;
    color: #495057;
    margin-bottom: 0.5rem;
}

.form-section {
    margin-bottom: 2rem;
}

.form-section-title {
    font-size: 1rem;
    font-weight: bold;
    color: #0066cc;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.close-emergency, .close-referral {
    position: absolute;
    top: 15px;
    right: 20px;
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
}

@media (max-width: 768px) {
    .appointment-sidebar {
        width: 100%;
        right: -100%;
        position: fixed;
        top: 0;
        bottom: 0;
        height: 100vh;
        height: 100dvh; /* Usar viewport dinámico para móviles */
    }

    .appointment-sidebar.open {
        right: 0;
    }

    /* Asegurar que el sidebar se mantenga fijo cuando el teclado se abre */
    .appointment-sidebar.open .sidebar-content {
        height: calc(100vh - 132px); /* Restar altura del header y botones aumentados (80px + 52px header) */
        height: calc(100dvh - 132px);
        overflow-y: auto;
        padding-bottom: 90px; /* Más espacio para que llegue 5px después del campo motivo */
    }

    .appointment-sidebar.open .form-buttons {
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        height: 80px; /* Aumentar más la altura del contenedor de botones */
        display: flex;
        align-items: center;
        z-index: 2002;
        background: white;
        border-top: 2px solid #eee;
        box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
        padding: 0.5rem 1rem;
    }

    /* Evitar que el viewport cambie cuando se abre el teclado */
    .appointment-sidebar.open {
        position: fixed !important;
        overflow: hidden;
    }

    /* Asegurar que el body no se desplace cuando el sidebar está abierto */
    body.sidebar-open {
        overflow: hidden;
        position: fixed;
        width: 100%;
        height: 100%;
    }

    .banner {
        display: none;
    }

    .banner-mobile {
        display: block;
        max-width: 100%;
        margin: 2rem auto;
        padding: 0 1rem;
        text-align: center;
    }

    .banner-mobile img {
        max-width: 100%;
        height: auto;
        border-radius: 12px;
        box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    }

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

    .nav-container {
        padding: 0 1rem;
    }

    .services-section {
        padding: 1rem;
    }

    .datetime-inputs {
        flex-direction: row;
        gap: 0.5rem;
    }

    .datetime-group {
        flex: 1;
        max-width: none;
    }

    .floating-buttons {
        right: 15px;
        bottom: 15px;
    }

    .floating-btn {
        width: 50px;
        height: 50px;
        font-size: 24px;
    }

    .btn {
        padding: 0.8rem;
        font-size: 0.9rem;
    }

    .whatsapp-menu {
        right: 15px;
        bottom: 75px;
        min-width: 220px;
    }

    .schedule-submenu {
        right: 15px;
        bottom: 75px;
        min-width: 250px;
    }

    .emergency-content, .referral-content {
        margin: 1rem;
        width: calc(100% - 2rem);
    }

    .emergency-form, .referral-form {
        padding: 1.5rem;
    }

    /* Filter mobile styles */
    .filter-section {
        padding: 0 1rem;
    }

    .filter-button {
        min-width: 250px;
        font-size: 1rem;
        padding: 0.8rem 1.5rem;
    }

    .filter-dropdown {
        min-width: 280px;
    }

    /* Gallery mobile styles */
    .gallery-section {
        padding: 2rem 1rem;
    }

    .gallery-title {
        font-size: 1.5rem;
    }

    .gallery-slide {
        height: 300px;
    }

    .gallery-nav {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }

    .gallery-prev {
        left: 10px;
    }

    .gallery-next {
        right: 10px;
    }

    /* Map mobile styles */
    .map-section {
        padding: 2rem 1rem;
    }

    .map-title {
        font-size: 1.5rem;
    }

    .map-container {
        height: 350px;
    }

    .map-info {
        padding: 1.5rem;
    }
}