:root {
    --primary-color:  #0056b3; /* Color del nuevo logo */
    --secondary-color: #FFD700;
    --accent-blue: #099feb; 
    --accent-dark-blue: #003366;
    --danger-color: #dc3545;
    --success-color: #28a745;
    --text-light: #ffffff;
    --text-dark: #333333;
    --shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    --transition: all 0.3s ease;
}

/* Reset y estilos base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Arial', sans-serif;
}

body {
    background-color: #f9f9f9;
    color: var(--text-dark);
    overflow-x: hidden;
}

/* Pantalla de carga */
.loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--primary-color);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease;
}

.logo-loader {
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

/* Contenido principal (oculto al inicio) */
.content.hidden {
    opacity: 0;
}

.content {
    opacity: 1;
    transition: opacity 0.5s ease;
}

/* Header */
.header {
    background: var(--primary-color);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 100;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.logo img {
    height: 60px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    color: var(--text-light);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
}

.nav-links a:hover {
    color: var(--secondary-color);
}

.hamburger {
    color: var(--text-light);
    font-size: 1.5rem;
    cursor: pointer;
    display: none;
}

/* Hero Banner */
.hero {
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('loby.jpg');
    background-size: cover;
    background-position: center;
    height: 50vh;
    display: flex;
    align-items: center;
    text-align: center;
    padding: 0 2rem;
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
}

.hero h1 {
    font-size: 3rem;
    color: var(--text-light);
    margin-bottom: 1rem;
}

.hero h1 span {
    color: var(--secondary-color);
}

.hero p {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 2rem;
}

.btn-primary {
    background: var(--secondary-color);
    color: var(--text-dark);
    padding: 0.8rem 2rem;
    border: none;
    border-radius: 50px;
    font-weight: bold;
    text-decoration: none;
    transition: var(--transition);
}

.btn-primary:hover {
    background: var(--text-light);
    transform: translateY(-3px);
}

/* Servicios */
.services {
    padding: 1rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.services h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--primary-color);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.service-card {
    background: var(--text-light);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-10px);
}

.service-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.service-card h3 {
    padding: 1rem;
    color: var(--primary-color);
}

.service-card p {
    padding: 0 1rem 1.5rem;
    color: var(--text-dark);
}

/* Footer */
.footer {
    background: var(--primary-color);
    color: var(--text-light);
    text-align: center;
    padding: 2rem;
    margin-top: 3rem;
}

/* Responsive */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .hamburger {
        display: block;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }
}

/* Menú hamburguesa (móviles) */
@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 80px; /* Ajusta según la altura de tu header */
        left: 0;
        width: 100%;
        background: var(--accent-dark-blue);
        flex-direction: column;
        align-items: center;
        padding: 1rem 0;
        gap: 1rem;
        box-shadow: var(--shadow);
        display: none; /* Oculto por defecto */
        z-index: 99;
    }

    .nav-links.active {
        display: flex; /* Se muestra al hacer clic */
    }

    .nav-links li {
        width: 100%;
        text-align: center;
    }

    .nav-links a {
        padding: 0.5rem;
        display: block;
    }

    .hamburger {
        display: block;
        z-index: 100;
    }
}

/* Estilos adicionales para las mejoras */

/* Sobre Nosotros */
.about {
    padding: 2rem 0;
    background-color: #f8f9fa;
    text-align: center;
}

.about .container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 2rem;
}

.about h2 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-size: 2rem;
}

.about p {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 1rem;
}

/* Servicios mejorados */
.service-card {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    transition: var(--transition);
}

.service-content {
    padding: 1.5rem;
    background: white;
}

.btn-service {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 0.6rem 1.2rem;
    border-radius: 4px;
    margin-top: 1rem;
    cursor: pointer;
    transition: var(--transition);
}

.btn-service:hover {
    background: var(--accent-dark-blue);
}

.call-btn {
    background: var(--success-color);
}

.emergency {
    background: var(--danger-color);
    color: white;
    padding: 0.5rem;
    border-radius: 4px;
    display: inline-block;
    margin-top: 1rem;
    font-weight: bold;
}

/* Contacto */
.contact {
    background: var(--primary-color);
    color: white;
    padding: 4rem 0;
}

.contact h2 {
    text-align: center;
    margin-bottom: 2rem;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

@media (max-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }
	
	.schedule-item {
   font-size: 0.7rem;
	
}
	
	.footer p {
		font-size: 0.5rem;
	}
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1.5rem;
}

.contact-item i {
    font-size: 1.5rem;
    margin-right: 1rem;
    color: var(--secondary-color);
}

.schedule-item {
    margin-bottom: 1.5rem;
	
}

.schedule-item h4 {
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
}

/* Footer mejorado */
.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.footer-links {
    text-align: center;
}

.footer-links a {
    color: white;
    margin-left: 1rem;
    font-size: 1.2rem;
    transition: var(--transition);
	
}

.footer-links a:hover {
    color: var(--secondary-color);
}

/* Estilos para la página de citas */
.appointment-section {
    padding: 4rem 0;
    background-color: #f8f9fa;
}

.appointment-section h1 {
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 0.5rem;
}

.subtitle {
    text-align: center;
    color: var(--text-dark);
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.appointment-form {
    max-width: 800px;
    margin: 0 auto;
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.form-step {
    display: none;
}

.form-step.active {
    display: block;
}

.form-step h2 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.form-step h2 span {
    background: var(--primary-color);
    color: white;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--text-dark);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.form-buttons {
    display: flex;
    justify-content: space-between;
    margin-top: 2rem;
}

.btn-next,
.btn-prev,
.btn-confirm {
    padding: 0.8rem 1.5rem;
    border: none;
    border-radius: 4px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.btn-next,
.btn-confirm {
    background: var(--primary-color);
    color: white;
}

.btn-next:hover,
.btn-confirm:hover {
    background: var(--accent-dark-blue);
}

.btn-prev {
    background: #f1f1f1;
    color: var(--text-dark);
}

.btn-prev:hover {
    background: #e1e1e1;
}

.confirmation-details {
    background: #f9f9f9;
    padding: 1.5rem;
    border-radius: 8px;
    margin-bottom: 2rem;
}

.confirmation-details h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.confirmation-details p {
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

/* Responsive */
@media (max-width: 768px) {
    .appointment-form {
        padding: 1.5rem;
    }
    
    .form-buttons {
        flex-direction: column;
        gap: 1rem;
    }
    
    .btn-next,
    .btn-prev,
    .btn-confirm {
        width: 100%;
    }
}