/* ===== VARIABLES ===== */
:root {
    --bg-cream: #FEF9F0;
    --warm-gray: #F5EDE3;
    --sand: #E6D5B8;
    --taupe: #B89A7A;
    --gold: #C6A43F;
    --dark-wood: #3E2C23;
    --text-dark: #2C241E;
    --text-light: #7A6A5C;
    --white: #FFFFFF;
    --shadow: 0 20px 35px -15px rgba(0,0,0,0.08);
    --transition: all 0.3s ease;
}

body {
    background: var(--bg-cream);
    font-family: 'Inter', sans-serif;
    color: var(--text-dark);
}

/* ===== HEADER STICKY (solo usuario) ===== */
.salon-header {
    background: rgba(255,255,255,0.96);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 100;
}

.salon-brand {
    color: var(--dark-wood);
    font-family: 'Playfair Display', serif;
    font-size: 1.4rem;
    letter-spacing: 0.1em;
}

.salon-brand span { color: var(--gold); }


/* ===== CARRUSEL HERO ===== */
.hero-slider {
    width: 100%;
    height: 85vh;
    min-height: 550px;
    position: relative;
    overflow: hidden;
}

.swiper-slide {
    background-size: cover;
    background-position: center;
    position: relative;
}

.slide-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0.1) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
}

.slide-text h2 {
    font-family: 'Playfair Display', serif;
    font-size: 3.5rem;
    font-weight: 500;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.2);
}

.slide-text p {
    font-size: 1.2rem;
    letter-spacing: 1px;
}

@media (max-width: 768px) {
    .hero-slider { height: 60vh; }
    .slide-text h2 { font-size: 2rem; }
}


/* ===== SECCIONES GENERALES ===== */
.section {
    max-width: 1280px;
    margin: 0 auto;
    padding: 5rem 2rem;
}

.seccion-oculta { display: none; }
.section-title {
    font-family: 'Playfair Display', serif;
    font-size: 2.2rem;
    text-align: center;
    margin-bottom: 2rem;
    position: relative;
}

.section-title:after {
    content: '';
    display: block;
    width: 70px;
    height: 2px;
    background: var(--gold);
    margin: 0.8rem auto 0;
}

.grid-2cols {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.about-img {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform 0.4s;
}

.about-img:hover { transform: scale(1.02); }
.about-img img { width: 100%; height: auto; display: block; }
.about-text h3 {
    font-size: 1.8rem;
    font-weight: 500;
    margin-bottom: 1rem;
}

.about-text p {
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}


/* Tarjetas de servicios y productos */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.servicio-card, .producto-card {
    background: var(--white);
    border-radius: 24px;
    overflow: hidden;
    transition: var(--transition);
    box-shadow: 0 10px 20px -8px rgba(0,0,0,0.05);
}

.servicio-card:hover, .producto-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 30px -12px rgba(0,0,0,0.15);
}

.card-img {
    height: 220px;
    overflow: hidden;
}

.card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.servicio-card:hover .card-img img,
.producto-card:hover .card-img img {
    transform: scale(1.05);
}

.card-content { padding: 1.5rem; }
.card-content h3 {
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
}

.precio {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--gold);
    margin: 0.5rem 0;
}

.btn-carrito, .btn-reservar {
    background: var(--dark-wood);
    color: white;
    border: none;
    padding: 10px 18px;
    border-radius: 40px;
    cursor: pointer;
    font-weight: 500;
    transition: var(--transition);
    width: 100%;
    margin-top: 10px;
}

.btn-carrito:hover, .btn-reservar:hover {
    background: var(--gold);
    color: var(--dark-wood);
}


/* Formulario cita */
.cita-wrapper {
    max-width: 700px;
    margin: 0 auto;
    background: var(--white);
    padding: 2rem;
    border-radius: 32px;
    box-shadow: var(--shadow);
}

.form-cita .form-group { margin-bottom: 1.2rem; }
.form-cita label {
    font-weight: 500;
    display: block;
    margin-bottom: 0.4rem;
}

.form-cita select, .form-cita input {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #E2DCD5;
    border-radius: 60px;
    background: white;
}

.slots-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(85px, 1fr));
    gap: 10px;
}

.slot-btn {
    background: #F2EBE2;
    border: none;
    border-radius: 40px;
    padding: 8px;
    font-size: 0.85rem;
    cursor: pointer;
    transition: 0.2s;
}

.slot-btn.ocupado {
    background: #E6D5C3;
    opacity: 0.5;
    cursor: not-allowed;
}

.slot-btn.seleccionado {
    background: var(--gold);
    color: white;
}


/* Mapa y contacto */
.contacto-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.mapa iframe {
    width: 100%;
    height: 280px;
    border-radius: 24px;
    border: 0;
}


/* Filtros */
.filtro-busqueda {
    display: flex;
    justify-content: center;
    margin-bottom: 2rem;
}

.filtro-busqueda input {
    width: 300px;
    padding: 12px 20px;
    border-radius: 60px;
    border: 1px solid #E2DCD5;
    background: white;
}


/* Botón scroll-up estilo cristal */
#btnScrollTop {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 55px;
    height: 55px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.3);
    background: rgba(0,0,0,0.5);
    backdrop-filter: blur(8px);
    color: white;
    font-size: 26px;
    font-weight: bold;
    cursor: pointer;
    opacity: 0;
    transform: translateY(20px) scale(0.9);
    pointer-events: none;
    transition: all 0.35s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    z-index: 1000;
}

#btnScrollTop.show {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: auto;
}

#btnScrollTop:hover {
    background: rgba(0,0,0,0.7);
    transform: scale(1.1);
}



@media (max-width: 768px) {
    .grid-2cols, .contacto-grid { grid-template-columns: 1fr; }
    .section { padding: 3rem 1rem; }
    #servicios.seccion-oculta,
    #productos.seccion-oculta,
    #cita.seccion-oculta {
        display: block !important;
    }
}