/* home.css - Estilos específicos para la página de inicio */

/* ====================== HERO SECTION ====================== */
.hero {
    padding: var(--spacing-xl) 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%); /* Cambiado de morado a blanco */
    position: relative;
    overflow: hidden;
}

.hero .container {
    position: relative;
    z-index: 1;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--spacing-xl);
    align-items: center;
}

.hero-content {
    max-width: 600px;
}

.badge {
    display: inline-block;
    background-color: rgba(145, 175, 86, 0.1); /* Color de tu verde */
    color: #91af56; /* Tu verde */
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.875rem;
    margin-bottom: var(--spacing-md);
    border: 1px solid rgba(145, 175, 86, 0.2);
}

.hero-title {
    font-size: 3rem;
    margin-bottom: var(--spacing-sm);
    color: var(--dark-color);
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: var(--spacing-md);
    color: #91af56; /* Tu verde */
    font-weight: 500;
}

.hero-text {
    font-size: 1.125rem;
    margin-bottom: var(--spacing-lg);
    color: #545454; /* Tu gris */
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: var(--spacing-md);
    flex-wrap: wrap;
    margin-bottom: var(--spacing-lg);
}

.btn-hero {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.hero-features {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
}

.feature {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.95rem;
    color: #545454; /* Tu gris */
}

.feature i {
    color: #91af56; /* Tu verde */
}

.hero-image {
    text-align: center;
}

.dr-image {
    width: 100%;
    max-width: 400px;
    border-radius: var(--border-radius-lg);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border: 5px solid white;
}

/* ====================== EXPERIENCIA DESTACADA ====================== */
.experiencia-destacada {
    padding: var(--spacing-xl) 0;
    background-color: #f8f9fa; /* Fondo suave */
}

.experiencia-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-lg);
}

.exp-card {
    background: white;
    padding: var(--spacing-lg);
    border-radius: var(--border-radius-lg);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
    border: 1px solid rgba(84, 84, 84, 0.1); /* Tu gris claro */
}

.exp-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(145, 175, 86, 0.1); /* Tu verde en sombra */
    border-color: #91af56; /* Tu verde */
}

.exp-card.destacada {
    border: 2px solid #91af56; /* Tu verde */
    background: rgba(145, 175, 86, 0.05); /* Fondo verde muy suave */
}

.exp-icon {
    font-size: 2.5rem;
    color: #91af56; /* Tu verde */
    margin-bottom: var(--spacing-md);
}

.exp-card h3 {
    color: var(--dark-color);
    margin-bottom: var(--spacing-sm);
}

.exp-lugar {
    color: #91af56; /* Tu verde */
    font-weight: 600;
    margin-bottom: var(--spacing-xs);
}

.exp-fecha {
    color: #545454; /* Tu gris */
    font-size: 0.9rem;
    margin-bottom: var(--spacing-sm);
}

.exp-desc {
    color: #545454; /* Tu gris */
    line-height: 1.5;
}

/* ====================== SERVICIOS SECTION ====================== */
.servicios {
    padding: var(--spacing-xl) 0;
    background-color: white;
}

.section-header {
    text-align: center;
    margin-bottom: var(--spacing-xl);
}

.section-header h2 {
    color: var(--dark-color);
    margin-bottom: var(--spacing-sm);
}

.subtitle {
    color: #545454; /* Tu gris */
    font-size: 1.125rem;
    max-width: 600px;
    margin: 0 auto;
}

.servicios-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-lg);
}

.servicio-card {
    background: white;
    padding: var(--spacing-lg);
    border-radius: var(--border-radius-lg);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
    border: 1px solid rgba(84, 84, 84, 0.1); /* Tu gris claro */
}

.servicio-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(145, 175, 86, 0.1); /* Tu verde en sombra */
    border-color: #91af56; /* Tu verde */
}

.servicio-icon {
    font-size: 2.5rem;
    color: #91af56; /* Tu verde */
    margin-bottom: var(--spacing-md);
}

.servicio-card h3 {
    color: var(--dark-color);
    margin-bottom: var(--spacing-sm);
}

.servicio-card p {
    color: #545454; /* Tu gris */
    margin-bottom: var(--spacing-md);
    line-height: 1.5;
}

.servicio-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #91af56; /* Tu verde */
    font-weight: 600;
    text-decoration: none;
}

.servicio-link:hover {
    color: #7a9548; /* Tu verde oscuro */
    gap: 0.75rem;
}

/* ====================== TÍTULOS Y CERTIFICACIONES ====================== */
.titulos-certificaciones {
    padding: var(--spacing-xl) 0;
    background-color: #f8f9fa; /* Fondo suave */
}

.titulos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-lg);
}

.titulo-card {
    background: white;
    padding: var(--spacing-lg);
    border-radius: var(--border-radius);
    border-left: 4px solid #91af56; /* Tu verde */
    transition: transform 0.3s ease;
    border: 1px solid rgba(84, 84, 84, 0.1); /* Tu gris claro */
}

.titulo-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(145, 175, 86, 0.1);
    border-color: #91af56; /* Tu verde */
}

.titulo-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: var(--spacing-md);
}

.titulo-header i {
    font-size: 2rem;
    color: #91af56; /* Tu verde */
}

.titulo-card h3 {
    color: var(--dark-color);
    margin: 0;
}

.titulo-info p {
    color: #545454; /* Tu gris */
    margin-bottom: var(--spacing-xs);
    font-size: 0.95rem;
    line-height: 1.5;
}

.titulo-info strong {
    color: var(--dark-color);
    font-weight: 600;
}

/* ====================== CONTACTO ====================== */
.contacto {
    padding: var(--spacing-xl) 0;
    background-color: white;
}

.contacto-card {
    background: white;
    border-radius: var(--border-radius-lg);
    padding: var(--spacing-xl);
    border: 1px solid rgba(145, 175, 86, 0.15); /* Tu verde claro */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.contacto-header {
    text-align: center;
    margin-bottom: var(--spacing-xl);
}

.contacto-header h2 {
    color: var(--dark-color);
}

.contacto-header p {
    color: #545454; /* Tu gris */
}

.consultorios-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--spacing-xl);
    margin-bottom: var(--spacing-xl);
}

.consultorio {
    padding: 1.5rem;
    border-left: 4px solid #91af56; /* Tu verde */
    background: #f8f9fa; /* Fondo suave */
    border-radius: var(--border-radius);
}

.consultorio h3 {
    color: #91af56; /* Tu verde */
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.consultorio h3 i {
    font-size: 1.5rem;
}

.direccion, .piso, .horario {
    color: #545454; /* Tu gris */
    margin-bottom: 0.5rem;
    line-height: 1.5;
}

.contacto-info p {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
    color: #545454; /* Tu gris */
}

.contacto-info i {
    color: #91af56; /* Tu verde */
    min-width: 24px;
    font-size: 1.2rem;
}

.whatsapp-directo {
    text-align: center;
    margin-top: var(--spacing-lg);
}

.btn-whatsapp {
    background: #25D366;
    color: white;
    padding: 1rem 2rem;
    border-radius: var(--border-radius);
    font-size: 1.1rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-whatsapp:hover {
    background: #128C7E;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(37, 211, 102, 0.3);
}

/* ====================== RESPONSIVE ====================== */
@media (min-width: 768px) {
    .hero-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .consultorios-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 3rem;
    }
}

@media (min-width: 992px) {
    .hero-title {
        font-size: 3.5rem;
    }
    
    .experiencia-grid,
    .servicios-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .titulos-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 1200px) {
    .hero-title {
        font-size: 4rem;
    }
}

/* Sección adicional para sobre-mi (si existe) */
.sobre-dr {
    padding: var(--spacing-xl) 0;
    background-color: white;
}

.sobre-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--spacing-xl);
}

.sobre-content .highlight {
    color: #91af56; /* Tu verde */
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: var(--spacing-lg);
}

.sobre-text {
    margin-bottom: var(--spacing-lg);
    color: #545454; /* Tu gris */
}

.experiencia {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-lg);
}

.exp-item {
    display: flex;
    align-items: flex-start;
    gap: var(--spacing-sm);
}

.exp-item i {
    color: #91af56; /* Tu verde */
    font-size: 1.5rem;
    margin-top: 0.25rem;
}

.exp-item h4 {
    margin-bottom: 0.25rem;
    color: var(--dark-color);
}

.exp-item p {
    color: #545454; /* Tu gris */
    margin: 0;
    font-size: 0.95rem;
}

/* DEBUG TEMPORAL - Elimina si no lo necesitas */
/*
.header.hidden {
    border: 3px solid red !important;
    background-color: rgba(255, 0, 0, 0.1) !important;
}

.header.visible {
    border: 3px solid green !important;
    background-color: rgba(0, 255, 0, 0.1) !important;
}

.header.scrolled {
    border: 3px solid blue !important;
}
*/