/* Reset y variables CSS */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes expandWidth {
    from {
        width: 0;
    }
    to {
        width: 100%;
    }
}

@keyframes slideInFromRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

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

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

:root {
    --primary-color: #66CC33;
    --secondary-color: #4CAF50;
    --accent-color: #E8F5E8;
    --text-dark: #2C2C2C;
    --text-light: #666;
    --white: #FFFFFF;
    --light-gray: #F8F9FA;
    --border-color: #E5E5E5;
    --shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 8px 30px rgba(0, 0, 0, 0.15);
    --gradient: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    --font-primary: 'Playfair Display', serif;
    --font-secondary: 'Inter', sans-serif;
    --logo-green: #66CC33;
    --logo-dark: #2C2C2C;
}

body {
    font-family: var(--font-secondary);
    line-height: 1.6;
    color: var(--text-dark);
    overflow-x: hidden;
}

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

/* Header */
.header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    transition: all 0.3s ease;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.navbar {
    padding: 1rem 0;
}

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

.logo-image {
    height: 50px;
    width: auto;
    transition: transform 0.3s ease;
}

.logo-image:hover {
    transform: scale(1.05);
}

.logo-image-secondary {
    height: 50px;
    width: auto;
    margin-left: 10px;
    transition: transform 0.3s ease;
}

.logo-image-secondary:hover {
    transform: scale(1.05);
}

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

.nav-link {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    padding: 8px 0;
    letter-spacing: 0.5px;
    line-height: 1.5;
    display: inline-flex;
    align-items: center;
}

.nav-link:hover {
    color: var(--primary-color);
    transform: translateY(-2px);
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 50%;
    background: var(--gradient);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    transform: translateX(-50%);
    border-radius: 1px;
}

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

.admin-link {
    background: var(--gradient);
    color: var(--white) !important;
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: 600;
}

.admin-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.admin-link::after {
    display: none;
}

/* Dropdown menu styles */
.nav-item-dropdown {
    position: relative;
    display: flex;
    align-items: center;
}

.nav-item-dropdown > .nav-link {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    padding: 8px 0;
    position: relative;
    line-height: 1.5;
}

.nav-item-dropdown > .nav-link i {
    font-size: 0.7rem;
    transition: transform 0.3s ease;
}

.nav-item-dropdown:hover > .nav-link i {
    transform: rotate(180deg);
}

.nav-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    list-style: none;
    padding: 0.5rem 0;
    margin: 0;
    min-width: 150px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    border-radius: 8px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
}

.nav-item-dropdown:hover .nav-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.nav-dropdown li {
    width: 100%;
}

.nav-dropdown .nav-link {
    display: block;
    padding: 0.75rem 1.25rem;
    color: var(--text-dark);
    transition: all 0.2s ease;
}

.nav-dropdown .nav-link:hover {
    background: rgba(102, 204, 51, 0.1);
    color: var(--primary-color);
    transform: translateX(5px);
}

.nav-dropdown .nav-link::after {
    display: none;
}

.logo-link {
    display: inline-block;
    text-decoration: none;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    z-index: 1001;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
}

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

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #F8F9FA 0%, #E9ECEF 100%);
    padding-top: 80px;
    position: relative;
    overflow: hidden;
    height: 100vh;
    z-index: 1;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 80%, rgba(102, 204, 51, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 80% 20%, rgba(76, 175, 80, 0.1) 0%, transparent 50%);
    animation: fadeIn 2s ease-out;
}

.hero-content {
    display: flex;
    align-items: center;
    max-width: 1200px;
    position: relative;
    z-index: 20;
    margin: 0 auto;
    padding: 0 20px;
    height: 100vh;
}

.hero-text {
    animation: slideInLeft 1s ease-out;
}

.hero-image {
    animation: slideInFromRight 1.2s ease-out;
}

.hero-text h1 {
    font-family: var(--font-primary);
    font-size: 3.5rem;
    color: white;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    font-weight: 300;
    letter-spacing: -0.02em;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    background-clip: text;
    animation: fadeInUp 1s ease-out;
}

.hero-brand {
    font-family: var(--font-secondary);
    font-size: 2.5rem;
    font-weight: 800;
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    letter-spacing: 3px;
    display: block;
    margin-bottom: 0.5rem;
    animation: fadeInLeft 1.2s ease-out;
    position: relative;
}

.hero-brand::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, var(--logo-green), transparent);
    animation: expandWidth 1.5s ease-out 0.5s both;
}

.hero-text p {
    font-size: 1.2rem;
    color: white;
    margin-bottom: 2rem;
    line-height: 1.8;
    animation: fadeInUp 1.4s ease-out;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
    font-weight: 400;
    letter-spacing: 0.01em;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-image {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    box-shadow: var(--shadow);
}

.hero-slider {
    position: relative;
    width: 100%;
    height: 600px;
    overflow: hidden;
    border-radius: 20px;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
    z-index: 1;
}

.slide.active {
    opacity: 1;
    z-index: 2;
}

.hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.slide.active .hero-img:hover {
    transform: scale(1.02);
}

/* Controles del slider */
.slider-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 3;
}

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

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

.dot:hover {
    background: rgba(255, 255, 255, 0.8);
    transform: scale(1.1);
}

.slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
    z-index: 3;
}

.slider-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: var(--primary-color);
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    opacity: 0;
    transform: scale(0.8);
}

.hero-image:hover .slider-btn {
    opacity: 1;
    transform: scale(1);
}

.slider-btn:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.prev-btn {
    left: 20px;
}

.next-btn {
    right: 20px;
}

/* Animaciones del slider */
@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(100%);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-100%);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.slide.slide-in-right {
    animation: slideInRight 0.8s ease-in-out;
}

.slide.slide-in-left {
    animation: slideInLeft 0.8s ease-in-out;
}

/* Botones */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border: none;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    font-size: 1rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    letter-spacing: 0.5px;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: var(--gradient);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(102, 204, 51, 0.3);
    animation: fadeInUp 1.6s ease-out;
}

.btn-primary:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 25px rgba(102, 204, 51, 0.4);
    background: linear-gradient(135deg, #5CB85C 0%, #4CAF50 100%);
}

.btn-secondary {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    animation: fadeInUp 1.8s ease-out;
}

.btn-secondary:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 25px rgba(102, 204, 51, 0.3);
}

/* Secciones */
.section-title {
    font-family: var(--font-primary);
    font-size: 2.8rem;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--text-dark);
    position: relative;
    font-weight: 300;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    animation: fadeInUp 0.8s ease-out;
    opacity: 1;
    animation-fill-mode: forwards;
    transform: translateY(0);
    transition: all 0.6s ease-out;
}

.section-title.animate {
    opacity: 1;
    transform: translateY(0);
}

.section-title::after {
    content: '';
    position: absolute;
    width: 60px;
    height: 2px;
    background: var(--logo-green);
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 1px;
    animation: expandWidth 1s ease-out 0.5s both;
}

/* Efectos de hover para títulos */
.section-title:hover {
    color: var(--logo-green);
    transition: all 0.3s ease;
}

.section-title:hover::after {
    width: 80px;
    transition: all 0.3s ease;
}

.courses-subtitle {
    text-align: center;
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.courses-filters {
    display: none; /* Oculto en web por defecto */
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.course-filter-btn {
    border: 2px solid #e5e7eb;
    background: #fff;
    padding: 0.7rem 1.5rem;
    border-radius: 999px;
    font-weight: 600;
    color: var(--text-light);
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 120px;
}

.course-filter-btn.active {
    background: var(--gradient);
    border-color: transparent;
    color: #fff;
    box-shadow: 0 10px 20px rgba(102, 204, 51, 0.25);
}

.course-filter-btn:not(.active) {
    background: #fff !important;
    border-color: #e5e7eb !important;
    color: var(--text-light) !important;
    box-shadow: none !important;
}

.course-filter-btn:not(.active):hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

@media (max-width: 768px) {
    .courses-filters {
        display: flex; /* Mostrar solo en móvil */
        flex-wrap: nowrap;
        justify-content: flex-start;
        overflow-x: auto;
        overflow-y: hidden;
        padding: 10px 5px;
        padding-bottom: 0.5rem;
        gap: 0.6rem;
        scrollbar-width: none;
        -webkit-overflow-scrolling: touch;
        margin-bottom: 1.5rem;
    }
    
    .courses-filters::-webkit-scrollbar {
        display: none;
    }
    
    .courses-filters::after {
        content: '';
        flex: 0 0 0.5rem;
    }
    
    .course-filter-btn {
        flex: 0 0 auto;
        min-width: 80px;
        font-size: 0.85rem;
        padding: 0.55rem 0.9rem;
        white-space: nowrap;
    }
    
    .course-filter-btn[data-filter="all"] {
        display: none; /* Ocultar "Todos" en móvil */
    }
}

.course-card.hidden {
    display: none;
}

/* Servicios */
.services {
    padding: 5rem 0;
    background: var(--white);
    position: relative;
    z-index: 100;
    opacity: 1;
    transform: translateY(0);
    transition: all 0.8s ease-out;
}

.services.animate {
    opacity: 1;
    transform: translateY(0);
}


.services-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
    margin-top: 4rem;
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
}

@media (max-width: 1200px) {
    .services-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 2.5rem;
    }
}

@media (max-width: 768px) {
    .services-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 0 1rem;
    }
    
    .service-card {
        padding: 2.5rem 1.5rem 2rem;
        margin-top: 2rem;
    }
}

.service-card {
    text-align: center;
    padding: 2.2rem 1.75rem 2.5rem;
    border-radius: 25px;
    background: #ffffff;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(0,0,0,0.05);
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    opacity: 1;
    transform: translateY(0);
    position: relative;
    overflow: visible;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.2rem;
    z-index: 1;
    width: 100%;
    box-sizing: border-box;
    max-width: 100%;
}

.service-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.9rem;
    flex: 1;
    width: 100%;
    text-align: center;
}

.service-card.animate {
    opacity: 1;
    transform: translateY(0);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(102, 204, 51, 0.15);
    border-color: rgba(102, 204, 51, 0.2);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(102, 204, 51, 0.03) 0%, rgba(255,255,255,0) 100%);
    border-radius: 25px;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.service-card:hover::before {
    opacity: 1;
}

.service-icon {
    width: 140px;
    height: 140px;
    margin: -20px auto 0.75rem;
    flex-shrink: 0;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--white);
    border: 3px solid #f0f0f0;
    padding: 10px;
    position: relative;
    z-index: 2;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.service-card:hover .service-icon {
    transform: scale(1.15) rotate(5deg);
    border-color: var(--primary-color);
    box-shadow: 0 15px 30px rgba(102, 204, 51, 0.25);
}

.service-camaleon-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 50%;
    transition: transform 0.4s ease;
}

.service-card h3 {
    font-family: var(--font-primary);
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
    line-height: 1.3;
}

.service-card p {
    color: var(--text-light);
    line-height: 1.6;
    text-align: center;
    margin: 0;
    flex: 1;
}

.service-content .btn-info {
    margin-top: auto;
}

/* Cursos */
.courses {
    padding: 5rem 0;
    background: var(--light-gray);
    position: relative;
    z-index: 100;
    opacity: 1;
    transform: translateY(0);
    transition: all 0.8s ease-out;
}

.courses.animate {
    opacity: 1;
    transform: translateY(0);
}


.courses-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.5rem;
    max-width: 1400px;
    margin: 0 auto;
}

@media (max-width: 1400px) {
    .courses-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 1000px) {
    .courses-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

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

.course-card {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    position: relative;
    animation: fadeInUp 0.8s ease-out;
    opacity: 1;
    animation-fill-mode: forwards;
    transform: translateY(0);
    transition: all 0.6s ease-out;
    height: auto;
}

@media (max-width: 900px) {
    .course-card {
        flex-direction: column;
        height: auto;
        border-radius: 16px;
        margin-bottom: 1.5rem;
        padding-bottom: 1rem;
    }
    
    .course-image {
        width: 100% !important;
        height: 200px !important;
        border-bottom: 1px solid #f0f0f0;
    }
    
    .course-content {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
        padding: 1.25rem 1.5rem;
    }
    
    .course-main-info {
        align-items: center;
    }
    
    .course-info {
        flex-direction: column;
        align-items: center;
        gap: 0.4rem;
    }

    .course-description {
        text-align: center;
        max-height: none;
    }
    
    .course-actions {
        width: 100%;
        border-left: none;
        border-top: 1px solid #f0f0f0;
        padding-left: 0;
        padding-top: 1.25rem;
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .course-content .btn {
        max-width: 280px;
        width: 100%;
    }
}

.course-card.animate {
    opacity: 1;
    transform: translateY(0);
}

.course-card:nth-child(1) { animation-delay: 0.1s; }
.course-card:nth-child(2) { animation-delay: 0.2s; }
.course-card:nth-child(3) { animation-delay: 0.3s; }

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

.course-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(102, 204, 51, 0.05), rgba(76, 175, 80, 0.05));
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
    pointer-events: none;
}

.course-card:hover::before {
    opacity: 1;
}

.course-image {
    position: relative;
    width: 100%;
    height: 200px;
    min-height: 200px;
    overflow: hidden;
    flex-shrink: 0;
}

.course-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    filter: brightness(0.95) contrast(1.05);
}

.course-card:hover .course-image img {
    transform: scale(1.15);
    filter: brightness(1) contrast(1.1);
}

.course-overlay {
    position: absolute;
    top: 15px;
    right: 15px;
}

.course-level {
    background: var(--gradient);
    color: var(--white);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.course-content {
    padding: 1.25rem 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    flex-grow: 1;
    text-align: center;
    align-items: stretch;
}

.course-main-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    min-width: 0;
    align-items: center;
}

.course-main-info h3 {
    font-family: var(--font-primary);
    font-size: 1.3rem;
    margin-bottom: 0.8rem;
    color: var(--text-dark);
    min-height: 3.5rem;
    height: 3.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    line-height: 1.3;
}

@media (min-width: 769px) {
    .course-main-info h3 {
        min-height: 3.5rem;
        height: 3.5rem;
    }
}

.course-info {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    margin-bottom: 0.9rem;
    font-size: 0.9rem;
    color: var(--text-light);
    align-items: center;
}

@media (min-width: 769px) {
    .course-info {
        min-height: 3.2rem;
        justify-content: flex-start;
    }
}

.course-description {
    color: var(--text-light);
    margin: 0;
    line-height: 1.5;
    font-size: 0.9rem;
    max-height: 3.5rem;
    overflow: hidden;
    text-align: center;
}

@media (min-width: 769px) {
    .course-description {
        min-height: 3.5rem;
        height: 3.5rem;
        display: flex;
        align-items: flex-start;
        justify-content: center;
        text-align: center;
    }
}

.course-actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    width: 100%;
    flex-shrink: 0;
    padding-top: 0.5rem;
    border-top: 1px solid #f0f0f0;
    border-left: none;
    padding-left: 0;
}

.course-price {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1;
    margin-bottom: 0.5rem;
    text-align: center;
}

.course-content .btn {
    width: 100%;
    padding: 0.7rem 1rem;
    font-size: 0.9rem;
    margin: 0;
    max-width: 100%;
}

.btn-info {
    background: transparent;
    color: var(--text-light);
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.btn-info:hover {
    background: var(--light-gray);
    color: var(--primary-color);
    border-color: var(--primary-color);
    transform: translateY(-2px);
}

/* Galería */
.gallery {
    padding: 5rem 0;
    background: var(--white);
}

/* Paginación */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    margin-top: 1.5rem;
    padding: 1rem 0;
}

.pagination-btn {
    background: var(--white);
    border: 2px solid var(--logo-green);
    color: var(--logo-green);
    padding: 0.8rem 1.2rem;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.pagination-btn:hover:not(:disabled) {
    background: var(--logo-green);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 204, 51, 0.3);
}

.pagination-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    background: var(--light-gray);
    border-color: var(--border-color);
    color: var(--text-light);
}

.page-numbers {
    display: flex;
    gap: 0.5rem;
}

.page-number {
    background: var(--white);
    border: 2px solid var(--border-color);
    color: var(--text-dark);
    padding: 0.8rem 1rem;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
    min-width: 45px;
    text-align: center;
}

.page-number:hover {
    border-color: var(--logo-green);
    color: var(--logo-green);
    transform: translateY(-2px);
}

.page-number.active {
    background: var(--logo-green);
    border-color: var(--logo-green);
    color: var(--white);
    box-shadow: 0 4px 12px rgba(102, 204, 51, 0.3);
}

/* Responsive para paginación */
@media (max-width: 768px) {
    .pagination {
        flex-wrap: wrap;
        gap: 0.5rem;
        margin-top: 1rem;
        padding: 0.5rem 0;
    }
    
    .page-numbers {
        order: 3;
        width: 100%;
        justify-content: center;
        margin-top: 0.5rem;
    }
    
    .pagination-btn {
        padding: 0.6rem 1rem;
        font-size: 0.9rem;
    }
    
    .page-number {
        padding: 0.6rem 0.8rem;
        font-size: 0.9rem;
        min-width: 40px;
    }
}

.gallery-filters {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 10px 25px;
    border: 2px solid var(--border-color);
    background: transparent;
    color: var(--text-light);
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
}

.filter-btn.active,
.filter-btn:hover {
    background: var(--gradient);
    color: var(--white);
    border-color: transparent;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    visibility: visible;
    min-height: 200px;
}

.gallery-item {
    position: relative;
    height: 250px;
    min-height: 250px;
    border-radius: 15px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s ease;
    display: block;
    visibility: visible;
    opacity: 1;
}

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

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    visibility: visible;
}

/* Mercería */
.merceria {
    padding: 5rem 0;
    background: var(--light-gray);
    position: relative;
    z-index: 100;
    opacity: 1;
    transform: translateY(0);
    transition: all 0.8s ease-out;
}

.merceria.animate {
    opacity: 1;
    transform: translateY(0);
}


.merceria-content {
    display: grid;
    grid-template-columns: 50% 50%;
    gap: 2rem;
    align-items: start;
    max-width: 100%;
    box-sizing: border-box;
}

.merceria-button-wrapper {
    display: none; /* Oculto en desktop, visible en responsive */
}

.merceria-left-section {
    display: grid;
    grid-template-columns: 50% 50%;
    gap: 1rem;
}

.merceria-text-intro {
    grid-column: 1 / span 2;
    grid-row: 1;
}

.merceria-text-list {
    grid-column: 1;
    grid-row: 2;
}

.merceria-camaleon {
    grid-column: 2;
    grid-row: 2;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding-top: 1rem;
}

.merceria-image {
    grid-column: 2;
    grid-row: 1 / span 2;
    height: 100%;
    max-width: 100%;
    width: 100%;
    overflow: hidden;
}

.merceria-text-intro h3,
.merceria-text h3 {
    font-family: var(--font-primary);
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

.merceria-text-intro p,
.merceria-text p {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.merceria-list {
    list-style: none;
    margin-bottom: 2rem;
}

.merceria-list li {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    color: var(--text-light);
}

.merceria-list i {
    color: var(--primary-color);
    font-size: 1.2rem;
}

.merceria-camaleon {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    animation: fadeInUp 0.8s ease-out 0.3s both;
}

.camaleon-image {
    max-width: 100%;
    width: 180px;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.1));
    transition: transform 0.3s ease;
}

.camaleon-image:hover {
    transform: scale(1.05);
}

.merceria-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: var(--shadow);
}

/* Slideshow de mercería */
.merceria-slideshow {
    position: relative;
    width: 100%;
    max-width: 100%;
    height: 400px;
    overflow: hidden;
    border-radius: 20px;
    box-shadow: var(--shadow);
    background-color: var(--light-gray);
    box-sizing: border-box;
}

.merceria-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    opacity: 0;
    transition: opacity 2s ease-in-out;
    background-color: var(--light-gray);
}

.merceria-slide.active {
    opacity: 1;
}

/* Contacto */
.contact {
    padding: 5rem 0;
    background: var(--white);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-info h3 {
    font-family: var(--font-primary);
    font-size: 2rem;
    margin-bottom: 2rem;
    color: var(--text-dark);
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1rem;
    padding: 1rem;
    background: var(--light-gray);
    border-radius: 10px;
    transition: all 0.3s ease;
}

.contact-item:hover {
    background: var(--white);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.contact-item i {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-top: 0.5rem;
}

.contact-item h4 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.contact-item p {
    color: var(--text-light);
    line-height: 1.6;
}

.contact-form h3 {
    font-family: var(--font-primary);
    font-size: 2rem;
    margin-bottom: 2rem;
    color: var(--text-dark);
}

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

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 15px;
    border: 2px solid var(--border-color);
    border-radius: 10px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
    font-family: var(--font-secondary);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

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

.form-group label .required {
    color: #f44336;
    margin-left: 3px;
    font-weight: bold;
}

/* Contacto Section */
.contact {
    padding: 5rem 0;
    background: var(--white);
    position: relative;
    z-index: 100;
    opacity: 1;
    transform: translateY(0);
    transition: all 0.8s ease-out;
}

.contact.animate {
    opacity: 1;
    transform: translateY(0);
}


.contact-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 3rem;
    font-weight: 400;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
    align-items: stretch;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-map {
    display: flex;
    flex-direction: column;
    height: 100%;
}

/* Formulario en la parte inferior - ancho completo */
.contact-form {
    margin-top: 3rem;
    background: var(--white);
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    width: 100%;
}

/* Layout de contactos con proporciones 40%-20%-40% */
.contact-grid-new {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-top: 0;
}

.contact-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

.contact-item-large,
.contact-item-small {
    width: 100%;
}


.contact-item-large {
    background: var(--white);
    border-radius: 15px;
    padding: 1.5rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.contact-item-small {
    background: var(--white);
    border-radius: 15px;
    padding: 1.5rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.contact-item-large:hover,
.contact-item-small:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.contact-item-large i,
.contact-item-small i {
    font-size: 1.5rem;
    color: var(--logo-green);
    margin-top: 0.2rem;
    flex-shrink: 0;
}

.contact-item-large h4,
.contact-item-small h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.contact-item-large p,
.contact-item-small p {
    color: var(--text-light);
    line-height: 1.5;
    margin: 0;
}

/* Grid original (mantener para compatibilidad) */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.contact-grid .contact-item:nth-child(4) {
    grid-column: 1 / -1;
    max-width: 50%;
    margin: 0 auto;
}

/* Formulario de contacto mejorado */
.form-header {
    text-align: center;
    margin-bottom: 2rem;
}

.form-header h3 {
    color: var(--text-dark);
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.form-header h3 i {
    color: var(--logo-green);
}

.form-header p {
    color: var(--text-light);
    font-size: 1rem;
    margin: 0;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1rem;
}

.form-group label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.form-group label i {
    color: var(--logo-green);
    width: 16px;
}

.form-actions {
    text-align: right;
    margin-top: 1.5rem;
}

.form-actions .btn {
    padding: 1rem 2rem;
    font-size: 1.1rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.form-actions .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 204, 51, 0.3);
}

.form-note {
    margin-top: 1rem;
    color: var(--text-light);
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.form-note i {
    color: var(--logo-green);
}

/* Responsive para contact-grid */
@media (max-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .contact-grid .contact-item:nth-child(4) {
        grid-column: 1;
        max-width: 100%;
        margin: 0;
    }
    
    .contact-item {
        margin-bottom: 0.5rem;
        padding: 0.8rem;
    }
    
    /* Responsive para nuevo grid */
    .contact-row {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .contact-item-large,
    .contact-item-small {
        padding: 1rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }
    
    .form-actions .btn {
        width: 100%;
        justify-content: center;
    }
}

.contact-card {
    background: var(--white);
    border-radius: 15px;
    padding: 2rem;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    border: 1px solid rgba(102, 204, 51, 0.1);
    animation: fadeInUp 0.8s ease-out;
    opacity: 0;
    animation-fill-mode: forwards;
}

.contact-card:nth-child(1) { animation-delay: 0.1s; }
.contact-card:nth-child(2) { animation-delay: 0.2s; }
.contact-card:nth-child(3) { animation-delay: 0.3s; }
.contact-card:nth-child(4) { animation-delay: 0.4s; }

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
    border-color: var(--primary-color);
}

.contact-header {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.contact-icon {
    font-size: 1.5rem;
    color: var(--white);
    margin-right: 1rem;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient);
    border-radius: 50%;
    box-shadow: 0 4px 15px rgba(102, 204, 51, 0.3);
    transition: all 0.3s ease;
}

.contact-card:hover .contact-icon {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(102, 204, 51, 0.4);
}

.contact-header h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--text-dark);
    margin: 0;
}

.contact-details h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.contact-details p {
    color: var(--text-light);
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

/* Estilos específicos para la información de contacto */
.address-info {
    margin-bottom: 1rem;
}

.address-main {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.3rem;
}

.address-detail {
    font-size: 0.95rem;
    color: var(--text-light);
    margin-bottom: 0.3rem;
    font-style: italic;
}

.address-location {
    font-size: 1rem;
    color: var(--text-dark);
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.address-note {
    font-size: 0.9rem;
    color: var(--primary-color);
    font-weight: 500;
    background: rgba(102, 204, 51, 0.1);
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    display: inline-block;
    margin-bottom: 0.5rem;
}

.plus-code {
    font-size: 0.85rem;
    color: var(--text-light);
    font-family: 'Courier New', monospace;
    background: rgba(0, 0, 0, 0.05);
    padding: 0.3rem 0.6rem;
    border-radius: 8px;
    display: inline-block;
    margin-top: 0.5rem;
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.phone-number {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    letter-spacing: 0.5px;
}

.email-address {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

/* Horarios mejorados */
.schedule-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

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

.schedule-item.closed {
    opacity: 0.6;
}

.schedule-days {
    font-weight: 600;
    color: var(--text-dark);
    font-size: 0.95rem;
}

.schedule-time {
    font-weight: 500;
    color: var(--primary-color);
    font-size: 0.9rem;
}

.schedule-note {
    font-size: 0.85rem;
    color: var(--text-light);
    font-style: italic;
    margin-top: 0.5rem;
    text-align: center;
    background: rgba(102, 204, 51, 0.05);
    padding: 0.3rem;
    border-radius: 8px;
}

.contact-note {
    font-size: 0.9rem;
    color: var(--text-light);
    font-style: italic;
}

.btn-outline {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    padding: 8px 16px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1rem;
}

.btn-outline:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: translateY(-2px);
}

/* Mapa */
.map-container {
    background: var(--white);
    border-radius: 15px;
    padding: 2rem;
    box-shadow: var(--shadow);
    animation: fadeInUp 0.8s ease-out 0.5s both;
    opacity: 0;
}

.map-header {
    text-align: center;
    margin-bottom: 1.5rem;
}

.map-header h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.map-header p {
    color: var(--text-light);
    font-size: 1rem;
}

.map-wrapper {
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.google-map {
    border-radius: 10px;
    transition: transform 0.3s ease;
}

.google-map:hover {
    transform: scale(1.02);
}

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

/* Formulario de Contacto */
.contact-form-section {
    background: var(--white);
    border-radius: 20px;
    padding: 3rem;
    box-shadow: var(--shadow);
    margin-top: 2rem;
    animation: fadeInUp 0.8s ease-out 0.6s both;
    opacity: 0;
}

.form-container {
    max-width: 800px;
    margin: 0 auto;
}

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

.form-header h3 {
    font-size: 2rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.form-header p {
    color: var(--text-light);
    font-size: 1.1rem;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 12px 16px;
    border: 2px solid #E5E7EB;
    border-radius: 10px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: var(--white);
    font-family: var(--font-secondary);
}

.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(102, 204, 51, 0.1);
    transform: translateY(-1px);
}

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

.form-actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.form-note {
    color: var(--text-light);
    font-size: 0.9rem;
    margin: 0;
}

/* Responsive */
@media (max-width: 768px) {
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .contact-form {
        margin-top: 2rem;
        padding: 1.5rem;
        width: 100%;
    }
    
    .form-actions {
        text-align: center;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .contact-row {
        grid-template-columns: 1fr;
    }
    
    .map-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .contact-form-section {
        padding: 2rem;
    }
}

/* Footer */
.footer {
    background: var(--text-dark);
    color: var(--white);
    padding: 3rem 0 1rem;
}

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

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 1rem;
}

.footer-logo-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--white);
    border-radius: 50%;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.footer-logo-image {
    height: 60px;
    width: auto;
    max-width: 200px;
    filter: none;
    transition: transform 0.3s ease;
    object-fit: contain;
}

.footer-logo-image:hover {
    transform: scale(1.05);
}

.footer-logo-image-secondary {
    height: 40px;
    width: auto;
    margin-left: 10px;
    filter: brightness(0) invert(1);
    transition: transform 0.3s ease;
}

.footer-logo-image-secondary:hover {
    transform: scale(1.05);
}

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

.footer-section p {
    color: #ccc;
    line-height: 1.6;
    margin-bottom: 1rem;
}

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

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

.footer-section ul li a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s ease;
}

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

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

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

.social-links a:hover {
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #444;
    color: #ccc;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
}

.modal-content {
    background-color: var(--white);
    margin: 5% auto;
    padding: 2rem;
    border-radius: 20px;
    width: 90%;
    max-width: 500px;
    position: relative;
    box-shadow: var(--shadow-hover);
}

.close {
    color: var(--text-light);
    float: right;
    font-size: 2rem;
    font-weight: bold;
    cursor: pointer;
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    z-index: 1;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
    background: rgba(0,0,0,0.05);
}

.close:hover {
    color: var(--primary-color);
    background: rgba(102, 204, 51, 0.1);
    transform: rotate(90deg);
}

/* Responsive - Tablets */
@media (max-width: 1024px) and (min-width: 769px) {
    .nav-menu {
        gap: 0.5rem;
    }
    
    .nav-menu .nav-link {
        font-size: 0.9rem;
        padding: 0.5rem 0.4rem;
    }
    
    .merceria-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .merceria-left-section {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .merceria-text-intro {
        grid-column: 1;
        grid-row: 1;
    }
    
    .merceria-text-list {
        grid-column: 1;
        grid-row: 2;
    }
    
    .merceria-camaleon {
        grid-column: 2;
        grid-row: 2;
        margin-top: 0;
        align-items: flex-start;
        padding-top: 0;
    }
    
    .merceria-camaleon .camaleon-image {
        width: 150px;
        max-width: 100%;
    }
    
    .merceria-image {
        grid-column: 1;
        grid-row: 4;
        width: 100%;
        margin: 2rem 0;
    }
    
    .merceria-slideshow {
        height: 350px;
    }
    
    .merceria-slide {
        object-fit: contain;
        background-color: var(--light-gray);
    }
    
    .merceria-button-wrapper {
        display: block;
        grid-column: 1;
        grid-row: 5;
        width: 100%;
        text-align: center;
        margin-top: 2rem;
    }
    
    .merceria-text-list .btn {
        display: none;
    }
}

/* Responsive - Mobile */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: var(--white);
        width: 100%;
        text-align: center;
        transition: left 0.3s ease-in-out;
        box-shadow: var(--shadow);
        padding: 2rem 0;
        z-index: 10000;
        height: calc(100vh - 70px);
        overflow-y: auto;
        display: flex !important;
        align-items: center;
        justify-content: flex-start;
        gap: 1.5rem;
    }

    .nav-menu.active {
        left: 0 !important;
        display: flex !important;
    }
    
    .nav-menu li {
        width: 100%;
        max-width: 300px;
        padding: 0;
        margin: 0;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .nav-menu .nav-link {
        display: flex;
        justify-content: center;
        width: 100%;
        padding: 1rem;
        font-size: 1.1rem;
        line-height: 1.2;
    }
    
    /* Dropdown en móvil */
    .nav-item-dropdown {
        position: relative;
        flex-direction: column;
        width: 100%;
        align-items: center;
    }
    
    .nav-item-dropdown > .nav-link {
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 0.5rem;
        width: 100%;
    }
    
    .nav-dropdown {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        background: rgba(102, 204, 51, 0.05);
        border-left: none;
        border-top: 1px solid rgba(102, 204, 51, 0.2);
        margin: 0;
        padding: 0.5rem 0;
        display: none;
        width: 100%;
        text-align: center;
    }
    
    .nav-item-dropdown.active .nav-dropdown {
        display: block;
    }
    
    .nav-dropdown .nav-link {
        padding: 0.75rem 1.5rem;
        font-size: 0.95rem;
    }
    
    .hamburger.active .bar:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }
    
    .hamburger.active .bar:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }

    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }

    .hero-text h1 {
        font-size: 2.5rem;
    }

    .merceria-content,
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    /* Reorganizar mercería en responsive */
    .merceria-left-section {
        grid-template-columns: 1fr;
        gap: 1rem;
        order: 1;
    }
    
    .merceria-text-intro {
        grid-column: 1 / span 2;
        grid-row: 1;
        order: 1;
    }
    
    .merceria-text-list {
        grid-column: 1;
        grid-row: 2;
        order: 2;
    }
    
    .merceria-camaleon {
        grid-column: 2;
        grid-row: 2;
        order: 2;
        margin-top: 0;
        display: flex;
        justify-content: center;
        align-items: flex-start;
        width: 100%;
        padding-top: 0;
    }
    
    .merceria-camaleon .camaleon-image {
        max-width: 100%;
        width: 120px;
        height: auto;
        min-width: 100px;
    }
    
    .merceria-image {
        grid-column: 1;
        order: 3;
        width: 100%;
        margin: 1rem 0;
    }
    
    .merceria-slideshow {
        height: 250px;
    }
    
    .merceria-slide {
        object-fit: contain;
        background-color: var(--light-gray);
    }
    
    .merceria-button-wrapper {
        display: block;
        order: 5;
        width: 100%;
        text-align: center;
        margin-top: 1.5rem;
    }
    
    /* Ocultar botón dentro de mercería-text-list en responsive */
    .merceria-text-list .btn {
        display: none;
    }

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

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
        display: grid !important;
        visibility: visible !important;
    }
    
    .gallery-item {
        height: 200px !important;
        min-height: 200px !important;
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
    }
    
    .gallery-item img {
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
        display: block !important;
        visibility: visible !important;
    }

    .hero-buttons {
        justify-content: center;
    }

    .section-title {
        font-size: 2rem;
    }
    
    .hero-slider {
        height: 400px;
    }
    
    .logo-image {
        height: 40px;
    }
    
    .logo-image-secondary {
        height: 40px;
    }
    
    .footer-logo-image {
        height: 35px;
    }
    
    .footer-logo-image-secondary {
        height: 35px;
    }
    
    .hero-brand {
        font-size: 2rem;
    }
    
    .slider-btn {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .slider-nav {
        padding: 0 10px;
    }
    
    .dot {
        width: 10px;
        height: 10px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .hero-text h1 {
        font-size: 2rem;
    }
    
    .courses-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-brand {
        font-size: 1.5rem;
        letter-spacing: 1px;
    }
    
    .logo-container {
        gap: 8px;
    }
    
    .logo-icon {
        width: 40px;
        height: 40px;
    }
    
    .logo-image {
        height: 35px;
    }
    
    .logo-image-secondary {
        height: 35px;
    }
    
    .footer-logo-image {
        height: 30px;
    }
    
    .footer-logo-image-secondary {
        height: 30px;
    }

    .hero-text p {
        font-size: 1rem;
    }

    .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .course-card {
        margin: 0 10px;
    }

    .modal-content {
        margin: 10% auto;
        padding: 1.5rem;
    }
    
    .hero-slider {
        height: 350px;
    }
    
    .slider-btn {
        width: 35px;
        height: 35px;
        font-size: 0.9rem;
    }
    
    .slider-dots {
        bottom: 10px;
    }
    
    .dot {
        width: 8px;
        height: 8px;
    }
}

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

.service-card,
.course-card,
.gallery-item {
    animation: fadeInUp 0.6s ease-out;
}

/* Scroll suave y personalizado */
html {
    scroll-behavior: smooth;
}

/* Transiciones suaves entre secciones */
section {
    -webkit-transition: all 0.3s ease-in-out;
    -moz-transition: all 0.3s ease-in-out;
    -ms-transition: all 0.3s ease-in-out;
    -o-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
}

/* Efectos de parallax suaves */
.services {
    transform: translateY(0);
    transition: transform 0.6s ease-out;
}

.courses {
    transform: translateY(0);
    transition: transform 0.6s ease-out;
}

.merceria {
    transform: translateY(0);
    transition: transform 0.6s ease-out;
}

.contact {
    transform: translateY(0);
    transition: transform 0.6s ease-out;
}

/* Scrollbar personalizado para webkit */
::-webkit-scrollbar {
    width: 12px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

::-webkit-scrollbar-thumb {
    background: var(--gradient);
    border-radius: 10px;
    border: 2px solid #f1f1f1;
}

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

/* Scrollbar para Firefox */
html {
    scrollbar-width: thin;
    scrollbar-color: var(--primary-color) #f1f1f1;
}

/* Efecto de scroll suave mejorado */
body {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

/* Efectos de hover mejorados */
.service-card:hover .service-icon {
    transform: scale(1.1);
}

.course-card:hover .course-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(139, 75, 140, 0.1);
    z-index: 1;
}

/* Mejoras visuales adicionales */
.hero {
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent 30%, rgba(139, 75, 140, 0.05) 50%, transparent 70%);
    pointer-events: none;
}

/* Estilos para el formulario de contacto */
#contactForm {
    background: var(--light-gray);
    padding: 2rem;
    border-radius: 15px;
    border: 1px solid var(--border-color);
}

/* Estilos para el formulario de reserva */
#reservationForm {
    background: var(--light-gray);
    padding: 2rem;
    border-radius: 15px;
    border: 1px solid var(--border-color);
}

/* Estilos para el slideshow del hero a pantalla completa */
.hero-video-fullscreen {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    overflow: hidden;
    pointer-events: none;
}

.hero-slideshow {
    position: relative;
    width: 100%;
    height: 100%;
}

.hero-slideshow::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    z-index: 1;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    opacity: 0;
    transition: opacity 2s ease-in-out;
    filter: brightness(0.7);
}

/* Centrar mejor las imágenes para que las personas se vean correctamente */
.hero-slide.active {
    opacity: 1;
    object-position: center center;
}

/* Ajuste para mejor visualización de personas en imágenes verticales */
@media (min-width: 768px) {
    .hero-slide {
        object-position: center 30%;
    }
    
    .hero-slide.active {
        object-position: center 30%;
    }
}

/* Ajuste para pantallas grandes - centrar mejor las personas */
@media (min-width: 1200px) {
    .hero-slide {
        object-fit: cover;
        object-position: center 25%;
    }
    
    .hero-slide.active {
        object-position: center 25%;
    }
}

/* Ajuste específico para la imagen de bienvenidos - posicionar desde arriba */
.hero-slide-bienvenidos {
    object-position: center 15% !important;
}

.hero-slide-bienvenidos.active {
    object-position: center 15% !important;
}

/* Ajuste responsive para imagen de bienvenidos */
@media (min-width: 768px) {
    .hero-slide-bienvenidos {
        object-position: center 10% !important;
    }
    
    .hero-slide-bienvenidos.active {
        object-position: center 10% !important;
    }
}

@media (min-width: 1200px) {
    .hero-slide-bienvenidos {
        object-position: center 8% !important;
    }
    
    .hero-slide-bienvenidos.active {
        object-position: center 8% !important;
    }
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(102, 204, 51, 0.1), rgba(102, 204, 51, 0.05));
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.hero-video:hover .video-overlay {
    opacity: 1;
}

.video-controls {
    display: flex;
    gap: 1rem;
}

.video-play-pause {
    background: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.video-play-pause:hover {
    background: var(--primary-color);
    color: white;
    transform: scale(1.1);
}

.video-play-pause i {
    font-size: 1.2rem;
}

/* Estilos para el mapa de contacto */
.contact-map {
    flex: 1;
    margin-left: 2rem;
}

.contact-map h3 {
    color: var(--text-dark);
    margin-bottom: 1rem;
    font-size: 1.3rem;
    font-weight: 600;
}

.map-container {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow);
    margin-bottom: 1rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.map-container iframe {
    border-radius: 15px;
    flex: 1;
    min-height: 400px;
}

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

.map-actions .btn {
    flex: 1;
    min-width: 150px;
    text-align: center;
    padding: 0.8rem 1.5rem;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.map-actions .btn-primary {
    background: var(--gradient);
    color: white;
    border: none;
}

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

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

.map-actions .btn-secondary:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}

/* Responsive para el mapa */
@media (max-width: 768px) {
    .contact-map {
        margin-left: 0;
        margin-top: 2rem;
    }
    
    .map-actions {
        flex-direction: column;
    }
    
    .map-actions .btn {
        min-width: auto;
    }
}

/* Sección de Noticias */
.noticias {
    padding: 5rem 0;
    background: var(--light-gray);
}

.section-subtitle {
    text-align: center;
    color: var(--text-light);
    font-size: 1.1rem;
    margin-bottom: 3rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.noticias-content {
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.noticia-card {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.4s ease;
    border: 1px solid rgba(102, 204, 51, 0.1);
    height: 100%;
    display: flex;
    flex-direction: column;
}

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

.noticia-header {
    background: var(--gradient);
    padding: 1.5rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.noticia-badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    padding: 0.5rem 1rem;
    border-radius: 25px;
    color: var(--white);
    font-weight: 600;
    font-size: 0.9rem;
}

.noticia-badge i {
    color: #FFD700;
    animation: pulse 2s infinite;
}

.noticia-fecha {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--white);
    font-size: 0.9rem;
    opacity: 0.95;
}

.noticia-body {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.noticia-titulo {
    font-family: var(--font-primary);
    font-size: 1.5rem;
    color: var(--text-dark);
    margin-bottom: 1rem;
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    line-height: 1.3;
}

.noticia-titulo i {
    color: var(--primary-color);
    font-size: 1.2rem;
    margin-top: 0.2rem;
}

.noticia-intro {
    background: var(--accent-color);
    padding: 1.5rem;
    border-radius: 15px;
    margin-bottom: 2rem;
    border-left: 4px solid var(--primary-color);
}

.noticia-intro p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--text-dark);
    margin: 0;
}

.noticia-intro strong {
    color: var(--primary-color);
    font-size: 1.2rem;
}

/* Estilos para videos */
.noticia-video {
    margin-bottom: 2rem;
}

.video-badge {
    background: rgba(255, 0, 0, 0.2) !important;
}

.video-badge i {
    color: #FF0000 !important;
}

.noticia-video-container {
    margin: 2rem 0;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
    background: #000;
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.noticia-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 2rem;
    border-top: 2px solid var(--light-gray);
    flex-wrap: wrap;
    gap: 1rem;
}

.noticia-source {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-light);
    font-size: 0.9rem;
}

.noticia-source i {
    color: var(--primary-color);
}

.noticia-link {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1.5rem;
    background: var(--gradient);
    color: var(--white);
    text-decoration: none;
    border-radius: 25px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(102, 204, 51, 0.3);
}

.noticia-link:hover {
    transform: translateX(5px);
    box-shadow: 0 6px 20px rgba(102, 204, 51, 0.4);
    gap: 1rem;
}

.noticia-link i {
    transition: transform 0.3s ease;
}

.noticia-link:hover i {
    transform: translateX(5px);
}

/* Responsive para noticias */
@media (max-width: 768px) {
    .noticia-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .noticia-body {
        padding: 1.5rem;
    }

    .noticia-titulo {
        font-size: 1.5rem;
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }

    .noticia-footer {
        flex-direction: column;
        align-items: stretch;
    }

    .noticia-link {
        width: 100%;
        justify-content: center;
    }

    .video-wrapper {
        padding-bottom: 56.25%;
    }

    /* Forzar noticias una debajo de otra en móvil */
    .noticias-grid {
        grid-template-columns: 1fr !important;
        display: grid !important;
        gap: 2rem !important;
    }
    
    .noticia-card {
        display: flex !important;
        flex-direction: column !important;
        margin-bottom: 2rem !important;
        height: auto !important;
    }
}

/* Sección de Redes Sociales */
.redes-sociales-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.redes-grid {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 2rem;
    margin-top: 3rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.red-social-card {
    background: transparent;
    padding: 1rem;
    text-align: center;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.red-social-card::before {
    display: none;
}

.red-social-card:hover::before {
    display: none;
}

.red-social-icon {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0;
    font-size: 3rem;
    color: var(--white);
    transition: all 0.4s ease;
    position: relative;
    z-index: 1;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.red-social-card.instagram .red-social-icon {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}

.red-social-card.tiktok .red-social-icon {
    background: #000000;
}

.red-social-card.facebook .red-social-icon {
    background: linear-gradient(45deg, #1877f2 0%, #0866ff 100%);
}

.red-social-card.youtube .red-social-icon {
    background: linear-gradient(45deg, #ff0000 0%, #cc0000 100%);
}

.red-social-card:hover .red-social-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 15px 35px rgba(102, 204, 51, 0.4);
}

.red-social-card h3 {
    color: var(--text-dark);
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    font-family: var(--font-primary);
    transition: color 0.3s ease;
    display: none; /* Ocultar texto si lo hubiera */
}

.red-social-card p {
    display: none;
}

.red-social-cta {
    display: none;
}

.red-social-card:hover {
    transform: translateY(-10px);
    box-shadow: none;
}

.red-social-card:hover h3 {
    color: var(--primary-color);
}

.red-social-card:hover .red-social-cta {
    gap: 1rem;
    color: var(--secondary-color);
}

.red-social-card:hover .red-social-cta i {
    transform: translateX(5px);
}

.red-social-cta i {
    transition: transform 0.3s ease;
}

/* Estilos mejorados para redes sociales en footer */
.social-link-instagram:hover {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%) !important;
    transform: translateY(-3px) scale(1.1);
}

.social-link-tiktok:hover {
    background: #000000 !important;
    transform: translateY(-3px) scale(1.1);
}

.social-link-facebook:hover {
    background: linear-gradient(45deg, #1877f2 0%, #0866ff 100%) !important;
    transform: translateY(-3px) scale(1.1);
}

.social-link-youtube:hover {
    background: linear-gradient(45deg, #ff0000 0%, #cc0000 100%) !important;
    transform: translateY(-3px) scale(1.1);
}

/* Responsive para redes sociales */
@media (max-width: 768px) {
    .redes-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .red-social-card {
        padding: 2rem 1.5rem;
    }

    .noticias-placeholder {
        padding: 3rem 1.5rem;
    }

    .noticias-placeholder i {
        font-size: 3rem;
    }
}

/* Modal de Login para Admin */
.login-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    z-index: 10000;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s ease;
}

.login-modal.active {
    display: flex;
}

.login-modal-content {
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    max-width: 450px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    animation: fadeInUp 0.4s ease;
    position: relative;
}

.login-modal-header {
    background: var(--gradient);
    color: white;
    padding: 2rem;
    border-radius: 20px 20px 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.login-modal-header h2 {
    font-family: var(--font-primary);
    font-size: 1.8rem;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.login-modal-header h2 i {
    font-size: 1.5rem;
}

.login-modal-close {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    font-size: 1.2rem;
}

.login-modal-close:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: rotate(90deg);
}

.login-modal-body {
    padding: 2.5rem;
}

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

.login-modal-body .form-group label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.75rem;
    font-size: 1rem;
}

.login-modal-body .form-group label i {
    color: var(--primary-color);
    font-size: 1.1rem;
}

.login-modal-body .form-group input {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid var(--border-color);
    border-radius: 10px;
    font-size: 1rem;
    transition: all 0.3s ease;
    font-family: var(--font-secondary);
}

.login-modal-body .form-group input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(102, 204, 51, 0.1);
}

.login-modal-body .form-group input::placeholder {
    color: #999;
}

.login-error {
    background: #fee;
    border: 1px solid #fcc;
    color: #c33;
    padding: 1rem;
    border-radius: 10px;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    animation: shake 0.5s ease;
}

.login-error i {
    font-size: 1.2rem;
}

@keyframes shake {
    0%, 100% {
        transform: translateX(0);
    }
    25% {
        transform: translateX(-10px);
    }
    75% {
        transform: translateX(10px);
    }
}

.login-submit-btn {
    width: 100%;
    padding: 16px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    transition: all 0.3s ease;
    cursor: pointer;
    margin-top: 1rem;
}

.login-submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 204, 51, 0.3);
}

.login-submit-btn:active {
    transform: translateY(0);
}

/* Responsive para el modal */
@media (max-width: 768px) {
    .login-modal-content {
        width: 95%;
        margin: 1rem;
    }

    .login-modal-header {
        padding: 1.5rem;
    }

    .login-modal-header h2 {
        font-size: 1.5rem;
    }

    .login-modal-body {
        padding: 2rem 1.5rem;
    }
}

/* Chat Bot Flotante */
.chat-bot {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 9999;
    animation: float 3s ease-in-out infinite;
}

.chat-bot-button {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    background: white;
    box-shadow: 0 4px 20px rgba(102, 204, 51, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 4px solid var(--primary-color);
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
    user-select: none;
}

.chat-bot-button:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 30px rgba(102, 204, 51, 0.6);
}

.chat-bot-button:hover ~ .chat-bot-bubble,
.chat-bot:hover .chat-bot-bubble {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: all;
    max-width: 650px;
}

.chat-bot-image {
    width: 90%;
    height: 90%;
    object-fit: contain;
    animation: bounce 2s ease-in-out infinite;
}

.chat-bot-bubble {
    position: absolute;
    bottom: 110px;
    right: 0;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    padding: 1.2rem 1.5rem;
    border-radius: 20px;
    box-shadow: 0 6px 25px rgba(102, 204, 51, 0.2);
    border: 2px solid var(--primary-color);
    min-width: 300px;
    width: auto;
    max-width: 600px;
    opacity: 0;
    transform: translateY(20px) scale(0.8);
    transition: all 0.3s ease;
    pointer-events: none;
}

.chat-bot-bubble::after {
    content: '';
    position: absolute;
    bottom: -10px;
    right: 30px;
    width: 0;
    height: 0;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-top: 10px solid white;
}

.chat-bot-bubble.show {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: all;
    display: block;
}

.chat-bot-message {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.chat-bot-message p {
    margin: 0;
    color: var(--text-dark);
    font-weight: 500;
    font-size: 1.05rem;
    line-height: 1.4;
    text-align: center;
}

.chat-bot-message p strong {
    color: var(--primary-color);
    font-size: 1.2rem;
    font-weight: 700;
    display: block;
    margin-bottom: 0.15rem;
    text-align: center;
}

.chat-bot-close {
    cursor: pointer;
    color: var(--text-light);
    font-size: 1.5rem;
    line-height: 1;
    transition: color 0.3s ease;
    flex-shrink: 0;
}

.chat-bot-close:hover {
    color: var(--primary-color);
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-5px);
    }
}

/* Responsive para el chat bot */
@media (max-width: 768px) {
    .chat-bot {
        bottom: 20px;
        right: 20px;
    }

    .chat-bot-button {
        width: 75px;
        height: 75px;
    }

    .chat-bot-bubble {
        bottom: 75px;
        max-width: 200px;
        padding: 0.8rem 1.2rem;
    }

    .chat-bot-message p {
        font-size: 0.85rem;
    }
}

/* Modal para Imagen Ampliada de Galería */
.image-modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(5px);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.image-modal.active {
    opacity: 1;
}

.image-modal-content {
    margin: auto;
    display: block;
    width: auto;
    max-width: 90%;
    max-height: 90vh;
    object-fit: contain;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.8);
    transition: transform 0.3s ease;
    border-radius: 10px;
    box-shadow: 0 10px 50px rgba(0, 0, 0, 0.5);
}

.image-modal.active .image-modal-content {
    transform: translate(-50%, -50%) scale(1);
}

.image-modal-caption {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    text-align: center;
    font-size: 1.2rem;
    background: rgba(0, 0, 0, 0.7);
    padding: 0.8rem 2rem;
    border-radius: 25px;
    font-weight: 600;
    text-transform: capitalize;
    opacity: 0;
    transition: opacity 0.3s ease 0.2s;
}

.image-modal.active .image-modal-caption {
    opacity: 1;
}

.image-modal-close {
    position: absolute;
    top: 30px;
    right: 45px;
    color: white;
    font-size: 3rem;
    font-weight: bold;
    cursor: pointer;
    z-index: 10001;
    transition: all 0.3s ease;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
}

.image-modal-close:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: rotate(90deg) scale(1.1);
}

/* Responsive para el modal de imagen */
@media (max-width: 768px) {
    .image-modal-content {
        max-width: 95%;
        max-height: 85vh;
    }
    
    .image-modal-close {
        top: 20px;
        right: 20px;
        font-size: 2.5rem;
        width: 40px;
        height: 40px;
    }
    
    .image-modal-caption {
        font-size: 1rem;
        padding: 0.6rem 1.5rem;
        bottom: 20px;
    }
}

/* Estilos para la sección de resumen de reseñas */
.reviews-summary {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 2rem;
    background: var(--white);
    padding: 2rem;
    border-radius: 20px;
    box-shadow: var(--shadow);
    margin-bottom: 3rem;
    align-items: center;
}

.reviews-score-box {
    text-align: center;
}

.reviews-cta-box {
    flex: 1;
    max-width: 350px;
    text-align: center;
    padding: 1.5rem;
    background: #fcfcfc;
    border-radius: 12px;
    border: 1px solid #eee;
}

.reviews-cta-box h4 {
    margin-bottom: 0.75rem;
    font-family: var(--font-primary);
    color: var(--text-dark);
    font-size: 1.2rem;
}

.google-review-btn {
    display: inline-block;
    padding: 0.7rem 1.4rem;
    background: var(--primary-color);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(102, 204, 51, 0.2);
}

.google-review-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(102, 204, 51, 0.3);
    background: var(--secondary-color);
}

.google-review-btn i {
    margin-right: 0.5rem;
}

.reviews-distribution-wrapper {
    min-width: 250px;
}

.reviews-distribution-wrapper h4 {
    font-size: 0.95rem;
    color: var(--text-dark);
    margin-bottom: 0.75rem;
    font-weight: 600;
}

.rating-bar-item {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 5px;
    font-size: 0.9rem;
}

.rating-label {
    width: 30px;
    display: flex;
    align-items: center;
    gap: 2px;
}

.rating-label i {
    font-size: 0.7rem;
    color: #FFD700;
}

.rating-bar {
    flex: 1;
    height: 10px;
    background: #f0f0f0;
    border-radius: 5px;
    overflow: hidden;
}

.rating-bar-fill {
    height: 100%;
    background: var(--primary-color);
    border-radius: 5px;
    transition: width 1s ease-out;
}

.rating-count {
    width: 20px;
    text-align: right;
    color: var(--text-light);
    font-size: 0.8rem;
}

.reviews-rating-value {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--text-dark);
    line-height: 1;
}

.reviews-stars {
    color: #FFD700;
    font-size: 1.2rem;
    margin: 0.5rem 0;
}

.reviews-total {
    color: var(--text-light);
    font-size: 0.9rem;
}

/* Responsive para reseñas */
@media (max-width: 768px) {
    .reviews-summary {
        flex-direction: column;
        padding: 1.5rem;
        gap: 2rem;
    }

    .reviews-score-box,
    .reviews-cta-box,
    .reviews-distribution-wrapper {
        width: 100%;
        max-width: 100%;
        min-width: 0;
        flex: none;
    }

    .google-review-btn {
        width: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
    }
}/* Estilos mejorados para el Modal de Reserva */
.reservation-modal-wrapper {
    background-color: var(--white);
    margin: 5% auto;
    padding: 0; /* El padding lo manejarán los contenedores internos */
    border-radius: 24px;
    width: 95%;
    max-width: 850px; /* Ancho para el calendario */
    position: relative;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    overflow: hidden;
    transition: max-width 0.3s ease;
}

/* Cuando solo se muestra validación, hacerlo más estrecho */
.reservation-modal-wrapper.step-validation {
    max-width: 480px;
}

.reservation-modal-body {
    padding: 2rem;
    max-height: 90vh;
    overflow-y: auto;
}

.reservation-modal-body::-webkit-scrollbar {
    width: 8px;
}

.reservation-modal-body::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

.reservation-modal-body::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 4px;
}

.reservation-modal-body::-webkit-scrollbar-thumb:hover {
    background: #4CAF50;
}

/* Header del modal */
.reservation-header {
    text-align: center;
    margin-bottom: 1.5rem;
}

.reservation-header h2 {
    color: var(--text-dark);
    font-family: var(--font-primary);
    font-size: 1.6rem;
    margin-bottom: 0.4rem;
    margin-top: 0;
}

.reservation-header p {
    color: var(--text-light);
    font-size: 0.9rem;
    margin: 0;
}

/* Formulario de validación */
.reservation-form-group {
    margin-bottom: 1.5rem;
    text-align: left;
}

.reservation-label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--text-dark);
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.reservation-input-wrapper {
    position: relative;
}

.reservation-input-wrapper i {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: #9CA3AF;
    transition: color 0.3s ease;
    font-size: 1.1rem;
    pointer-events: none;
}

.reservation-input {
    width: 100%;
    padding: 14px 14px 14px 48px;
    border: 2px solid #E5E7EB;
    border-radius: 16px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: #F9FAFB;
    color: var(--text-dark);
    box-sizing: border-box;
}

.reservation-input:focus {
    border-color: var(--primary-color);
    background: white;
    box-shadow: 0 0 0 4px rgba(102, 204, 51, 0.1);
    outline: none;
}

.reservation-input:focus + i {
    color: var(--primary-color);
}

.reservation-input::placeholder {
    color: #9CA3AF;
}

.reservation-helper-text {
    display: block;
    margin-top: 0.75rem;
    font-size: 0.85rem;
    color: var(--text-light);
    line-height: 1.4;
}

.reservation-submit-btn {
    width: 100%;
    padding: 1rem;
    border-radius: 16px;
    background: var(--gradient);
    color: white;
    font-weight: 600;
    font-size: 1.1rem;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    box-shadow: 0 4px 6px -1px rgba(102, 204, 51, 0.2), 0 2px 4px -1px rgba(102, 204, 51, 0.1);
    margin-top: 1rem;
}

.reservation-submit-btn:hover {
    box-shadow: 0 10px 15px -3px rgba(102, 204, 51, 0.3), 0 4px 6px -2px rgba(102, 204, 51, 0.15);
}

/* Botón cerrar personalizado */
.close-reservation {
    position: absolute;
    top: 1.2rem;
    right: 1.2rem;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #F3F4F6;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6B7280;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 1.2rem;
    z-index: 10;
    border: none;
}

.close-reservation:hover {
    background: #E5E7EB;
    color: var(--text-dark);
    transform: rotate(90deg);
}

/* Animación de entrada suave */
@keyframes modalPopIn {
    0% {
        opacity: 0;
        transform: scale(0.95) translateY(10px);
    }
    100% {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.modal.active .reservation-modal-wrapper {
    animation: modalPopIn 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* Nuevo diseño horizontal de calendario */
.date-selector-wrapper {
    margin-bottom: 1.5rem;
    padding: 1rem 1.25rem;
    background: linear-gradient(135deg, #F9FAFB 0%, #FFFFFF 100%);
    border-radius: 14px;
    border: 1px solid #E5E7EB;
}

.date-selector-container {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding: 8px 4px;
    margin-bottom: 0;
    scrollbar-width: thin;
    scrollbar-color: var(--primary-color) #f0f0f0;
    -webkit-overflow-scrolling: touch;
}

.date-selector-container::-webkit-scrollbar {
    height: 6px;
}

.date-selector-container::-webkit-scrollbar-track {
    background: #f0f0f0;
    border-radius: 3px;
}

.date-selector-container::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 3px;
}

.date-card {
    flex: 0 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 8px 4px;
    border-radius: 10px;
    background: #F9FAFB;
    border: 1px solid #E5E7EB;
    cursor: pointer;
    transition: all 0.2s ease;
    min-width: 60px;
    height: 65px;
}

.date-card:hover {
    background: #F3F4F6;
    border-color: var(--primary-color);
    transform: translateY(-2px);
}

.date-card.selected {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
    box-shadow: 0 4px 6px rgba(102, 204, 51, 0.2);
}

.date-card.has-reservation {
    background: #fff3cd;
    border-color: #ffc107;
}

.date-card-day {
    font-size: 0.65rem;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 2px;
    color: inherit;
}

.date-card.selected .date-card-day {
    color: white;
}

.date-card-number {
    font-size: 1.3rem;
    font-weight: 700;
    line-height: 1;
    color: inherit;
}

.date-card.selected .date-card-number {
    color: white;
}

.date-card-month {
    font-size: 0.6rem;
    color: #888;
    font-weight: 600;
    margin-top: 1px;
}

.date-card.selected .date-card-month {
    color: rgba(255, 255, 255, 0.9);
}

.month-navigation {
    display: flex;
    align-items: center;
    gap: 10px;
}

.month-navigation button {
    background: #f3f4f6;
    border: none;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #555;
    transition: all 0.2s ease;
    font-size: 0.85rem;
}

.month-navigation button:hover {
    background: var(--primary-color);
    color: white;
}

.month-navigation button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Sección de horarios */
.time-slots-section {
    margin-top: 1.25rem;
    padding-top: 1.25rem;
    border-top: 2px solid #F3F4F6;
}

.time-slots-title {
    font-size: 1.1rem;
    color: var(--text-dark);
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.time-slots-title i {
    color: var(--primary-color);
    font-size: 1.2rem;
}

.time-slots-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(95px, 1fr));
    gap: 10px;
    padding-bottom: 0;
}

.time-slot-btn {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 10px 8px;
    border-radius: 12px;
    border: 3px solid #E5E7EB;
    background: white;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 0.85rem;
    min-height: 65px;
    position: relative;
    overflow: hidden;
}

.time-slot-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(102, 204, 51, 0.05), rgba(76, 175, 80, 0.05));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.time-slot-btn:hover:not(.disabled)::before {
    opacity: 1;
}

.time-slot-btn:hover:not(.disabled) {
    border-color: var(--primary-color);
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 6px 12px rgba(102, 204, 51, 0.15);
}

.time-slot-btn.selected {
    background: white;
    border-color: var(--primary-color);
    border-width: 3px;
    box-shadow: 0 0 0 4px rgba(102, 204, 51, 0.1), 0 6px 16px rgba(102, 204, 51, 0.2);
    transform: translateY(-2px) scale(1.03);
    animation: pulseBorder 2s ease-in-out infinite;
}

@keyframes pulseBorder {
    0%, 100% {
        box-shadow: 0 0 0 4px rgba(102, 204, 51, 0.1), 0 6px 16px rgba(102, 204, 51, 0.2);
    }
    50% {
        box-shadow: 0 0 0 6px rgba(102, 204, 51, 0.15), 0 8px 20px rgba(102, 204, 51, 0.25);
    }
}

.time-slot-btn.disabled {
    background: #f9fafb;
    border-color: #D1D5DB;
    cursor: not-allowed;
    opacity: 0.6;
}

.time-label {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 6px;
    color: var(--text-dark);
    position: relative;
    z-index: 1;
}

.time-status {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
    z-index: 1;
}

.time-slot-btn.selected .time-label {
    color: var(--primary-color);
}

.time-slot-btn.selected .time-status {
    color: var(--primary-color);
}

.time-slot-btn.available .time-status {
    color: #10B981;
}

.time-slot-btn.disabled .time-label {
    color: #9CA3AF;
}

.time-slot-btn.disabled .time-status {
    color: #EF4444;
}

/* Responsive */
@media (max-width: 768px) {
    .reservation-modal-wrapper {
        margin: 2% auto;
        max-height: 96vh;
    }
    
    .reservation-modal-body {
        padding: 1.5rem;
        max-height: calc(96vh - 3rem);
    }
    
    .date-selector-wrapper {
        padding: 0.75rem 1rem;
        margin-bottom: 1.25rem;
    }
    
    .date-card {
        min-width: 55px;
        height: 60px;
        padding: 6px 3px;
    }
    
    .date-card-number {
        font-size: 1.2rem;
    }
    
    .date-card-day {
        font-size: 0.6rem;
    }
    
    .date-card-month {
        font-size: 0.55rem;
    }
    
    .time-slots-section {
        margin-top: 1.5rem;
        padding-top: 1.5rem;
    }
    
    .time-slots-title {
        font-size: 1.1rem;
        margin-bottom: 1.25rem;
    }
    
    .time-slots-grid {
        grid-template-columns: repeat(auto-fill, minmax(85px, 1fr));
        gap: 10px;
    }
    
    .time-slot-btn {
        min-height: 70px;
        padding: 12px 8px;
    }
    
    .time-label {
        font-size: 1rem;
    }
}

