/* ======================================================
   VARIABLES GLOBALES
   ====================================================== */
:root {
    --primary: #E91E63;
    --primary-dark: #C2185B;
    --primary-light: #F8BBD0;
    --secondary: #FFB6C1;
    --dark: #1a1a2e;
    --dark-light: #2c3e50;
    --light: #FFF5F7;
    --white: #ffffff;
    --gray: #6c757d;
    --gray-light: #f8f9fa;
    --success: #28a745;
    --warning: #ffc107;
    --danger: #dc3545;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 5px 20px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.1);
    --shadow-primary: 0 5px 20px rgba(233, 30, 99, 0.3);
    --transition: all 0.3s ease;
    --border-radius: 12px;
    --border-radius-lg: 20px;
    --border-radius-xl: 30px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--dark-light);
    background: var(--white);
    overflow-x: hidden;
    line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 600;
    line-height: 1.2;
}

/* ======================================================
   TIPOGRAFÍA
   ====================================================== */
.text-primary { color: var(--primary) !important; }
.text-gradient {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ======================================================
   BOTONES
   ====================================================== */
.btn-primary-custom {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: var(--white);
    padding: 12px 32px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: var(--transition);
    border: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    cursor: pointer;
    box-shadow: var(--shadow-primary);
}

.btn-primary-custom:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(233, 30, 99, 0.4);
    color: var(--white);
}

.btn-primary-custom:active {
    transform: translateY(0);
}

.btn-outline-custom {
    border: 2px solid var(--primary);
    color: var(--primary);
    padding: 12px 32px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: var(--transition);
    background: transparent;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    cursor: pointer;
}

.btn-outline-custom:hover {
    background: var(--primary);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-primary);
}

.btn-outline-custom:active {
    transform: translateY(0);
}

/* Botones de filtro */
.filter-btn {
    background: transparent;
    border: 2px solid #e9ecef;
    padding: 8px 20px;
    border-radius: 50px;
    font-weight: 500;
    transition: var(--transition);
    color: var(--dark-light);
}

.filter-btn:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.filter-btn.active {
    background: var(--primary);
    border-color: var(--primary);
    color: white;
}

/* ======================================================
   NAVBAR
   ====================================================== */
.navbar {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    padding: 1rem 0;
    transition: var(--transition);
}

.navbar.scrolled {
    padding: 0.7rem 0;
    box-shadow: var(--shadow-md);
}

.navbar-brand img {
    transition: var(--transition);
    height: 45px;
}

.nav-link {
    color: var(--dark-light);
    font-weight: 500;
    margin: 0 0.5rem;
    transition: var(--transition);
    position: relative;
    padding: 0.5rem 0;
}

.nav-link:hover {
    color: var(--primary);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: var(--transition);
}

.nav-link:hover::after {
    width: 80%;
}

.nav-spacer {
    height: 85px;
}

/* Dropdown */
.dropdown-menu {
    border: none;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-lg);
    padding: 0.5rem 0;
    margin-top: 0.5rem;
}

.dropdown-item {
    padding: 0.6rem 1.5rem;
    transition: var(--transition);
    font-size: 0.9rem;
}

.dropdown-item:hover {
    background: var(--light);
    color: var(--primary);
    padding-left: 1.8rem;
}

.dropdown-item.text-danger:hover {
    background: #fee;
    color: var(--danger);
}

/* ======================================================
   WHATSAPP FLOAT BUTTON
   ====================================================== */
.whatsapp-float {
    position: fixed;
    bottom: 25px;
    right: 25px;
    background: #25D366;
    color: white;
    width: 55px;
    height: 55px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    z-index: 1000;
    transition: var(--transition);
    text-decoration: none;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    color: white;
    background: #20b859;
}

/* ======================================================
   HERO SECTION
   ====================================================== */
.hero {
    background: linear-gradient(135deg, var(--light) 0%, #FFE4E8 100%);
    min-height: 80vh;
    display: flex;
    align-items: center;
    padding: 4rem 0;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 70%;
    height: 200%;
    background: radial-gradient(circle, rgba(233, 30, 99, 0.05) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    color: var(--dark);
    line-height: 1.2;
}

.hero-content .lead {
    font-size: 1.1rem;
    color: var(--gray);
    margin-bottom: 2rem;
}

/* ======================================================
   SERVICE CARDS
   ====================================================== */
.service-card {
    background: var(--white);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
    height: 100%;
    position: relative;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--primary-dark));
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-img {
    height: 220px;
    overflow: hidden;
    position: relative;
}

.service-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.service-card:hover .service-img img {
    transform: scale(1.05);
}

.service-content {
    padding: 1.5rem;
}

.service-title {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: var(--dark);
}

.service-price {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--primary);
    margin: 0.5rem 0;
}

.service-duration {
    color: var(--gray);
    font-size: 0.85rem;
    margin-bottom: 1rem;
    display: inline-block;
    background: var(--light);
    padding: 0.3rem 1rem;
    border-radius: 50px;
}

/* ======================================================
   AGENDA FORM
   ====================================================== */
.agenda-form {
    background: var(--white);
    border-radius: var(--border-radius-xl);
    padding: 2rem;
    box-shadow: var(--shadow-lg);
}

.agenda-form .form-label {
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 0.75rem;
}

.agenda-form .form-control,
.agenda-form .form-select {
    border: 2px solid #e9ecef;
    border-radius: var(--border-radius);
    padding: 12px 16px;
    transition: var(--transition);
    font-size: 0.95rem;
}

.agenda-form .form-control:focus,
.agenda-form .form-select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(233, 30, 99, 0.1);
}

/* Time Slots */
.time-slots {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    gap: 10px;
    margin-top: 15px;
    max-height: 300px;
    overflow-y: auto;
    padding: 5px;
}

.time-slot {
    background: var(--light);
    border: 2px solid #FFD1DC;
    border-radius: var(--border-radius);
    padding: 10px;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    font-weight: 500;
    font-size: 0.9rem;
}

.time-slot:hover {
    background: var(--secondary);
    border-color: var(--primary);
    transform: translateY(-2px);
}

.time-slot.selected {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}

/* ======================================================
   TABLA DE PRECIOS
   ====================================================== */
.price-table {
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.price-table thead {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: var(--white);
}

.price-table th {
    padding: 1rem;
    font-weight: 600;
    border: none;
}

.price-table td {
    padding: 1rem;
    vertical-align: middle;
    border-bottom: 1px solid #e9ecef;
}

.price-table tbody tr:hover {
    background: var(--light);
}

/* ======================================================
   FOOTER - REDISEÑADO
   ====================================================== */
.footer {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    color: var(--white);
    padding: 3rem 0 1.5rem;
    margin-top: 4rem;
}

.footer-logo {
    margin-bottom: 1rem;
}

.footer-logo img {
    height: 50px;
    filter: brightness(0) invert(1);
}

.footer-slogan {
    font-size: 0.85rem;
    opacity: 0.8;
    font-style: italic;
    margin-top: 0.5rem;
}

.footer h5 {
    color: var(--white);
    margin-bottom: 1.2rem;
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 1px;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 0.7rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: var(--transition);
    font-size: 0.85rem;
}

.footer-links a:hover {
    color: var(--primary);
    padding-left: 5px;
}

.footer-contact {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-contact li {
    margin-bottom: 0.7rem;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 10px;
    color: rgba(255, 255, 255, 0.7);
}

.footer-contact i {
    width: 20px;
    color: var(--primary);
}

/* Redes sociales - sin líneas decorativas */
.footer-social {
    display: flex;
    gap: 12px;
    margin-top: 1rem;
}

.footer-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: var(--white);
    transition: var(--transition);
    font-size: 1rem;
    text-decoration: none;
}

.footer-social a:hover {
    background: var(--primary);
    transform: translateY(-3px);
}

/* Eliminar cualquier pseudo-elemento decorativo de los íconos sociales */
.footer-social a::before,
.footer-social a::after {
    display: none !important;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1.5rem;
    margin-top: 2rem;
    text-align: center;
    font-size: 0.75rem;
    opacity: 0.6;
}

/* ======================================================
   CONTACTO PAGE
   ====================================================== */
.contact-info-card {
    background: var(--white);
    border-radius: var(--border-radius-lg);
    padding: 1.5rem;
    transition: var(--transition);
    border: 1px solid #e9ecef;
}

.contact-info-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: var(--light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--primary);
}

.map-container-responsive {
    position: relative;
    width: 100%;
    padding-bottom: 75%;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.map-container-responsive iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* ======================================================
   FILTROS DE SERVICIOS
   ====================================================== */
.filter-section {
    margin-bottom: 2rem;
}

.filter-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}

/* ======================================================
   RESPONSIVE
   ====================================================== */
@media (max-width: 992px) {
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .nav-spacer {
        height: 70px;
    }
}

@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .hero {
        text-align: center;
        min-height: 60vh;
    }
    
    .time-slots {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .btn-primary-custom,
    .btn-outline-custom {
        width: 100%;
        justify-content: center;
        margin-bottom: 0.5rem;
    }
    
    .hero-content .mt-4 {
        display: flex;
        flex-direction: column;
        gap: 10px;
    }
    
    .navbar-brand img {
        height: 35px;
    }
    
    .footer {
        text-align: center;
    }
    
    .footer-contact li {
        justify-content: center;
    }
    
    .footer-social {
        justify-content: center;
    }
    
    .filter-buttons {
        gap: 8px;
    }
    
    .filter-btn {
        padding: 6px 14px;
        font-size: 0.8rem;
    }
}

@media (max-width: 576px) {
    .time-slots {
        grid-template-columns: 1fr;
    }
    
    .agenda-form {
        padding: 1.5rem;
    }
    
    .service-img {
        height: 180px;
    }
    
    .filter-buttons {
        gap: 6px;
    }
    
    .filter-btn {
        padding: 5px 12px;
        font-size: 0.75rem;
    }
}

/* ======================================================
   ANIMACIONES
   ====================================================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeInUp 0.6s ease forwards;
}

/* Scrollbar personalizada */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--light);
}

::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-dark);
}