﻿/* ===== VARIABLES ===== */
:root {
    --primary: #e09ab6;
    --primary-dark: #db3b86;
    --primary-light: #f6e1ea;
    --secondary: #f1d2de;
    --icon-pastel: #c992ab;
    --dark: #32262f;
    --gray-800: #5f4b57;
    --gray-600: #db74b0;
    --gray-400: #d9c7d1;
    --gray-200: #f1e6ec;
    --gray-100: #fdf9fb;
    --white: #ffffff;
    --shadow-sm: 0 2px 10px rgba(109, 68, 89, 0.08);
    --shadow-md: 0 6px 18px rgba(109, 68, 89, 0.10);
    --shadow-lg: 0 10px 28px rgb(196, 186, 191);
    --shadow-xl: 0 16px 36px rgb(182, 173, 178);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-full: 999px;
    --transition: all 0.3s ease;
}

/* ===== RESET ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: 'Quicksand', sans-serif;
    color: var(--dark);
    line-height: 1.6;
    overflow-x: hidden;
}

/* ===== CONTAINER ===== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===== WHATSAPP FLOTANTE ===== */
.whatsapp-flotante {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, rgba(37, 211, 102, 0.7), rgba(18, 140, 126, 0.7));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.3);
    z-index: 1000;
    transition: all 0.3s ease;
    text-decoration: none;
    backdrop-filter: blur(5px);
}

.whatsapp-flotante:hover {
    transform: scale(1.1);
    background: linear-gradient(135deg, #25D366, #128C7E);
}

@media (max-width: 768px) {
    .whatsapp-flotante {
        width: 55px;
        height: 55px;
        font-size: 1.8rem;
        bottom: 20px;
        right: 20px;
    }
}

/* ===== BOTONES ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.8rem 1.8rem;
    border-radius: var(--radius-full);
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    font-size: 1rem;
    font-family: 'Quicksand', sans-serif;
    white-space: nowrap;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: var(--dark);
    box-shadow: 0 6px 18px rgba(178, 118, 148, 0.24);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(178, 118, 148, 0.32);
}

.btn-whatsapp {
    background: var(--primary-light);
    color: var(--dark);
    border: 2px solid var(--primary);
    padding: 0.6rem 1.2rem;
    border-radius: var(--radius-full);
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
}

.btn-whatsapp:hover {
    background: var(--primary);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-outline {
    background: transparent;
    color: var(--dark);
    border: 2px solid var(--primary);
}

.btn-outline:hover {
    background: var(--primary);
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

.btn-full {
    width: 100%;
}

/* ===== BADGES ===== */
.badge {
    display: inline-block;
    padding: 0.5rem 1.2rem;
    background: var(--primary-light);
    color: var(--dark);
    border-radius: var(--radius-full);
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    border: 2px solid var(--primary);
}

/* ===== NAVBAR ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 251, 253, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    box-shadow: var(--shadow-sm);
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
    gap: 2rem;
}

.logo {
    flex-shrink: 0;
    z-index: 1001;
}

.logo a {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo img {
    height: 3.5rem;
    width: auto;
    max-width: 80px;
    object-fit: contain;
}

.nav-menu {
    display: flex;
    gap: 2.5rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-menu a {
    text-decoration: none;
    color: var(--gray-600);
    font-weight: 600;
    transition: var(--transition);
    position: relative;
    font-size: 1rem;
    white-space: nowrap;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: var(--transition);
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
    width: 100%;
}

.nav-menu a.active {
    color: var(--dark);
}

.btn-reserva {
    flex-shrink: 0;
    white-space: nowrap;
    z-index: 1001;
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    z-index: 1001;
}

.hamburger span {
    width: 30px;
    height: 3px;
    background: var(--primary);
    border-radius: var(--radius-full);
    transition: var(--transition);
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(8px, -8px);
}

/* ===== HERO ===== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    background: linear-gradient(135deg, #fff7fa 0%, #fdf2f7 100%);
    padding: 120px 0 60px;
    overflow: hidden;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-text .badge {
    margin-bottom: 1.5rem;
}

.hero-text h1 {
    font-size: 2.8rem;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: var(--dark);
}

.hero-description {
    font-size: 1.1rem;
    color: var(--gray-600);
    margin-bottom: 2rem;
    max-width: 500px;
}

.stats {
    display: flex;
    gap: 2rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.stat-item {
    flex: 1;
    min-width: 100px;
}

.stat-number {
    display: block;
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary-dark);
}

.stat-label {
    font-size: 0.9rem;
    color: var(--gray-600);
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-gradient {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 150px;
    background: linear-gradient(to top, rgba(255,255,255,0.9), transparent);
    z-index: 1;
    pointer-events: none;
}

/* ===== CARDS EXPANDIBLES ===== */
.hero-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    width: 100%;
    position: relative;
    z-index: 2;
}

.price-card {
    position: relative;
    width: 100%;
    height: 350px;
    cursor: pointer;
    perspective: 1500px;
}

.card-front, .card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    transition: transform 0.6s ease;
    border-radius: var(--radius-lg);
    padding: 25px;
    box-shadow: var(--shadow-xl);
    display: flex;
    flex-direction: column;
}

.card-front {
    background: linear-gradient(135deg, var(--white), var(--primary-light));
    border: 2px solid var(--primary);
    transform: rotateY(0deg);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.price-card.expanded .card-front {
    transform: rotateY(180deg);
}

.card-back {
    background: white;
    transform: rotateY(180deg);
    overflow-y: auto;
}

.price-card.expanded .card-back {
    transform: rotateY(0deg);
}

.card-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.card-icon i {
    font-size: 2rem;
    color: var(--dark);
}

.card-front h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: var(--dark);
}

.card-subtitle {
    color: var(--gray-600);
    margin-bottom: 20px;
    font-size: 0.9rem;
}

.card-close {
    position: absolute;
    top: 10px;
    right: 15px;
    width: 30px;
    height: 30px;
    border: none;
    background: var(--gray-200);
    border-radius: 50%;
    font-size: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10;
}

.card-close:hover {
    background: var(--primary);
    color: white;
    transform: rotate(90deg);
}

.card-back h4 {
    font-size: 1.2rem;
    margin-bottom: 15px;
    color: var(--primary-dark);
}

.price-list, .promo-list {
    list-style: none;
    flex-grow: 1;
    font-size: 0.95rem;
}

.price-list li {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid var(--gray-200);
}

.price-list li:last-child {
    border-bottom: none;
}

.price {
    font-weight: 700;
    color: var(--primary-dark);
}

.promo-list li {
    display: flex;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid var(--gray-200);
}

.promo-list li:last-child {
    border-bottom: none;
}

.promo-list i {
    font-size: 1.3rem;
    color: var(--primary);
    min-width: 30px;
}

.promo-list strong {
    display: block;
    margin-bottom: 3px;
    color: var(--dark);
    font-size: 1rem;
}

.promo-list p {
    color: var(--gray-600);
    font-size: 0.85rem;
}

.card-footer {
    margin-top: auto;
    padding-top: 15px;
    text-align: center;
    color: var(--primary-dark);
    font-weight: 600;
    border-top: 2px dashed var(--primary-light);
}

/* ===== SECCIONES GENERALES ===== */
.services, .benefits, .booking, .contact {
    padding: 80px 0;
    position: relative;
    z-index: 2;
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 50px;
}

.section-subtitle {
    display: inline-block;
    color: var(--primary-dark);
    font-weight: 600;
    margin-bottom: 10px;
    letter-spacing: 1px;
    font-size: 0.95rem;
}

.section-header h2 {
    font-size: 2.2rem;
    color: var(--dark);
    margin-bottom: 15px;
}

/* ===== SERVICIOS ===== */
.services {
    background: var(--white);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.service-card {
    background: var(--gray-100);
    padding: 2rem 1.5rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    text-align: center;
    border: 1px solid var(--gray-200);
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.service-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-light), var(--secondary));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.2rem;
}

.service-icon i {
    font-size: 1.8rem;
    color: var(--icon-pastel);
}

.service-card h3 {
    margin-bottom: 0.5rem;
    color: var(--dark);
    font-size: 1.1rem;
}

.service-card p {
    color: var(--gray-600);
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

/* ===== BENEFICIOS ===== */
.benefits {
    background: var(--gray-100);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.benefit-card {
    background: var(--white);
    padding: 2rem 1.5rem;
    border-radius: var(--radius-lg);
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.benefit-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.benefit-icon {
    font-size: 2.2rem;
    color: var(--icon-pastel);
    margin-bottom: 1rem;
}

.benefit-card h3 {
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.benefit-card p {
    color: var(--gray-600);
    font-size: 0.9rem;
}

/* ===== TURNOS / BOOKING ===== */
.booking {
    background: var(--white);
}

.booking-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.booking-info {
    text-align: center;
}

.schedule-card {
    background: var(--gray-100);
    padding: 2rem;
    border-radius: var(--radius-lg);
    margin: 1.5rem 0;
    text-align: left;
}

.schedule-card h3 {
    margin-bottom: 1rem;
    color: var(--dark);
}

.schedule-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: var(--white);
    border-radius: var(--radius-md);
    margin-bottom: 1rem;
}

.schedule-item i {
    color: var(--primary);
    font-size: 1.2rem;
    width: 24px;
    text-align: center;
}

.schedule-item.featured {
    background: var(--primary-light);
    border: 2px dashed var(--primary);
}

.booking-form {
    background: var(--gray-100);
    padding: 2rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    border: 1px solid var(--gray-200);
}

.booking-form h3 {
    margin-bottom: 1.5rem;
    font-size: 1.4rem;
    text-align: center;
}

.booking-form input,
.booking-form select {
    width: 100%;
    padding: 0.8rem 1rem;
    margin-bottom: 1rem;
    border: 2px solid var(--gray-200);
    border-radius: var(--radius-md);
    font-family: 'Quicksand', sans-serif;
    font-size: 1rem;
}

.booking-form input:focus,
.booking-form select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(224, 154, 182, 0.2);
}

.btn-full {
    width: 100%;
}

/* ===== CONTACTO ===== */
.contact {
    background: var(--gray-100);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.contact-info {
    text-align: center;
}

.contact-info h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
}

.info-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1.2rem;
}

.info-item i {
    font-size: 1.5rem;
    color: var(--primary);
    width: 2rem;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
}

.social-links a {
    width: 45px;
    height: 45px;
    background: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 1.2rem;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
    text-decoration: none;
}

.social-links a:hover {
    background: var(--primary);
    color: var(--white);
    transform: translateY(-3px);
}

.contact-map iframe {
    width: 100%;
    height: 350px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .nav-content {
        gap: 0.75rem;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100vh;
        background: white;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 2rem;
        transition: left 0.3s ease;
        z-index: 1000;
        margin: 0;
        padding: 2rem;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .hamburger {
        display: flex;
    }
    
    #btn-reserva {
        display: none;
    }

    .hamburger {
        display: flex;
        margin-left: auto;
    }
}

/* ===== BOTÓN USUARIO (NAVBAR) ===== */
.btn-user,
.btn-admin {
    background: var(--primary-light);
    color: var(--primary-dark);
    border: none;
    padding: 8px 16px;
    border-radius: var(--radius-full);
    font-family: inherit;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: var(--transition);
    text-decoration: none;
}

.btn-user:hover {
    background: var(--primary);
    color: var(--white);
}

.btn-user-logged {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.85rem;
    color: var(--gray-800);
}

#userEmailDisplay {
    max-width: 120px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.btn-logout {
    background: transparent;
    color: var(--gray-600);
    border: 1px solid var(--gray-400);
    padding: 5px 12px;
    border-radius: var(--radius-full);
    font-size: 0.8rem;
    cursor: pointer;
    transition: var(--transition);
}

.btn-logout:hover {
    background: var(--primary-light);
    color: var(--primary-dark);
    border-color: var(--primary);
}

.btn-admin {
    background: var(--dark);
    color: var(--white);
}

.btn-admin:hover {
    background: var(--gray-800);
}

/* ===== MODAL DE AUTENTICACIÓN ===== */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(50, 38, 47, 0.7);
    backdrop-filter: blur(4px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: var(--white);
    padding: 40px;
    border-radius: var(--radius-lg);
    width: 90%;
    max-width: 400px;
    position: relative;
    transform: translateY(20px);
    transition: var(--transition);
    box-shadow: var(--shadow-xl);
}

.modal-overlay.active .modal-content {
    transform: translateY(0);
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: transparent;
    border: none;
    font-size: 1.2rem;
    color: var(--gray-600);
    cursor: pointer;
    transition: var(--transition);
}

.modal-close:hover {
    color: var(--dark);
}

.modal-header {
    text-align: center;
    margin-bottom: 30px;
}

.modal-header h2 {
    font-size: 1.5rem;
    color: var(--dark);
    margin-bottom: 5px;
}

.modal-header p {
    color: var(--gray-600);
    font-size: 0.9rem;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: var(--dark);
    font-weight: 500;
    font-size: 0.9rem;
}

.form-group input {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid var(--gray-200);
    border-radius: var(--radius-sm);
    font-family: inherit;
    font-size: 0.95rem;
    transition: var(--transition);
}

.form-group input:focus {
    outline: none;
    border-color: var(--primary);
}

.btn-auth {
    width: 100%;
    padding: 14px;
    background: var(--primary-dark);
    color: var(--white);
    border: none;
    border-radius: var(--radius-full);
    font-family: inherit;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.btn-auth:hover {
    background: var(--primary);
    transform: translateY(-2px);
}

.btn-auth:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.auth-error {
    margin-top: 15px;
    padding: 10px;
    background: #fee2e2;
    color: #dc2626;
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
    text-align: center;
}

.modal-footer {
    margin-top: 20px;
    text-align: center;
    color: var(--gray-600);
}

.modal-footer p {
    margin-bottom: 8px;
    font-size: 0.9rem;
}

.btn-toggle {
    background: transparent;
    border: none;
    color: var(--primary-dark);
    font-weight: 600;
    cursor: pointer;
    font-size: 0.9rem;
    text-decoration: underline;
}

.btn-toggle:hover {
    color: var(--primary);
}

/* ===== MIS TURNOS ===== */
/* Sección principal de Mis Turnos */
.mis-turnos {
    padding: 100px 0 60px;
    background: linear-gradient(180deg, var(--gray-100) 0%, var(--white) 100%);
    min-height: 80vh;
}

.mis-turnos .section-header {
    text-align: center;
    margin-bottom: 40px;
}

.mis-turnos .section-header h2 {
    font-size: 2rem;
    color: var(--dark);
    margin-bottom: 10px;
    font-weight: 700;
}

.mis-turnos .section-header p {
    color: var(--gray-600);
    font-size: 1rem;
}

/* Contenedor principal de contenido */
.mis-turnos-content {
    max-width: 700px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Estado de carga */
.loading-turnos {
    text-align: center;
    padding: 60px 30px;
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

.loading-turnos i {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: var(--primary);
    display: block;
}

.loading-turnos p {
    color: var(--gray-600);
    font-size: 1rem;
}

/* Tarjeta de cada turno */
.turno-cliente {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 25px;
    margin-bottom: 20px;
    box-shadow: var(--shadow-md);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    border: 1px solid var(--gray-200);
    transition: var(--transition);
}

.turno-cliente:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-2px);
}

.turno-cliente-info h3 {
    color: var(--dark);
    margin-bottom: 10px;
    font-size: 1.1rem;
    font-weight: 700;
}

.turno-cliente-info p {
    color: var(--gray-600);
    font-size: 0.9rem;
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.turno-cliente-info p i {
    color: var(--primary);
    width: 16px;
}

.turno-cliente-info .servicio-text {
    font-weight: 600;
    color: var(--primary-dark);
    font-size: 1rem;
    margin-top: 8px;
}

/* Badge de estado moderno */
.estado-badge-cliente {
    padding: 10px 20px;
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.empty-turnos {
    text-align: center;
    padding: 60px 40px;
    background: var(--white);
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(109, 68, 89, 0.08);
    border: 1px solid var(--gray-200);
    margin: 20px auto;
    max-width: 500px;
}

.empty-turnos i {
    font-size: 3.5rem;
    color: var(--primary);
    margin-bottom: 25px;
    display: block;
}

.empty-turnos h3 {
    color: var(--dark);
    margin-bottom: 12px;
    font-size: 1.3rem;
    font-weight: 700;
}

.empty-turnos p {
    color: var(--gray-600);
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 20px;
}

.empty-turnos .btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 25px;
}

/* ===== LOGIN REQUERIDO PARA TURNOS ===== */
/* Contenedor del mensaje cuando el usuario no está logueado */
.login-required-turno {
    text-align: center;
    padding: 40px 20px;
}

.login-required-turno i {
    font-size: 3rem;
    color: var(--gray-400);
    margin-bottom: 20px;
    display: block;
}

.login-required-turno h3 {
    color: var(--dark);
    margin-bottom: 10px;
    font-size: 1.3rem;
}

.login-required-turno p {
    color: var(--gray-600);
    font-size: 0.95rem;
}

/* ===== PANEL DE CLIENTE: NUEVO TURNO ===== */
/* Botón para crear nuevo turno */
.nuevo-turno-btn {
    text-align: center;
    margin-bottom: 30px;
}

.nuevo-turno-btn .btn {
    padding: 15px 30px;
    font-size: 1rem;
}

/* Formulario de nuevo turno */
.formulario-nuevo-turno {
    max-width: 600px;
    margin: 0 auto 40px;
    padding: 0 20px;
}

.form-nuevo-turno {
    background: var(--white);
    padding: 30px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--gray-200);
}

.form-nuevo-turno h3 {
    color: var(--dark);
    margin-bottom: 25px;
    text-align: center;
    font-size: 1.4rem;
}

.form-nuevo-turno h3 i {
    color: var(--primary);
    margin-right: 10px;
}

.form-nuevo-turno input,
.form-nuevo-turno select,
.form-nuevo-turno textarea {
    width: 100%;
    padding: 14px 18px;
    margin-bottom: 15px;
    border: 2px solid var(--gray-200);
    border-radius: var(--radius-md);
    font-family: 'Quicksand', sans-serif;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-nuevo-turno input:focus,
.form-nuevo-turno select:focus,
.form-nuevo-turno textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(224, 154, 182, 0.2);
}

.form-nuevo-turno textarea {
    resize: vertical;
    min-height: 80px;
}

.form-nuevo-botones {
    display: flex;
    gap: 15px;
    margin-top: 10px;
}

.form-nuevo-botones .btn {
    flex: 1;
    padding: 14px;
}

/* Responsive del panel cliente */
@media (max-width: 768px) {
    .form-nuevo-turno {
        padding: 20px;
    }

    .form-nuevo-botones {
        flex-direction: column;
    }
}

.login-required-turno p {
    color: var(--gray-600);
    margin-bottom: 20px;
    font-size: 0.95rem;
}

/* ===== FOOTER ===== */
.footer {
    background: var(--dark);
    color: var(--white);
    padding: 50px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.footer-brand img {
    height: 50px;
    width: auto;
    margin-bottom: 15px;
}

.footer-brand p {
    color: var(--gray-400);
    font-size: 1rem;
    line-height: 1.6;
}

.footer-links h4 {
    color: var(--white);
    font-size: 1rem;
    margin-bottom: 20px;
    font-weight: 600;
}

.footer-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: var(--gray-400);
    text-decoration: none;
    transition: var(--transition);
    font-size: 0.95rem;
}

.footer-links a:hover {
    color: var(--primary);
}

.footer-social {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.footer-social a {
    width: 45px;
    height: 45px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    text-decoration: none;
    transition: var(--transition);
}

.footer-social a:hover {
    background: var(--primary);
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: var(--gray-400);
    font-size: 0.9rem;
}

/* Responsive Footer */
@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-brand {
        align-items: center;
    }

    .footer-brand img {
        height: 40px;
    }

    .footer-links ul {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px 20px;
    }

    .footer-links li {
        margin-bottom: 0;
    }

    .footer-social {
        justify-content: center;
    }
}

/* ===== RESPONSIVE MÓVIL - BOTÓN INGRESAR ===== */
@media (max-width: 768px) {
    /* Centrar botón usuario en móvil */
    #btnUser {
        order: 1;
    }

    /* Logo centrado en móvil */
    .logo {
        order: 2;
    }

    /* Menú hamburguesa a la izquierda */
    .hamburger {
        order: 0;
    }

    /* Centrar elementos del navbar */
    .nav-content {
        justify-content: space-between;
    }
}

/* ===== RESPONSIVE SECCIONES ===== */
@media (max-width: 1024px) {
    .services-grid,
    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .services, .benefits, .booking, .contact {
        padding: 60px 0;
    }

    .section-header h2 {
        font-size: 1.8rem;
    }

    .services-grid,
    .benefits-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .booking-grid,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .hero-grid {
        grid-template-columns: 1fr;
    }

    .hero-cards {
        grid-template-columns: 1fr;
    }

    .price-card {
        height: 300px;
    }
}

