﻿@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;500;600;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Lora:wght@400;500&display=swap');

:root{
    --bg-color: #ffffff;
    --secondary-color: #3a3a3a;
    --accent-color: #816578;
    --color-oscuro: #351B39;
    --color-fucsia: #ec1596;
    --color-rosa: #FC6EE3;
    --color-rosa-claro: #F5E6F0;
    --color-crema: #faf8f3;
    --white-color: #ffffff;
    --dark-color: #000000;
    --text-light: #666666;

    --border-light: #f0f0f0;
    --border-lighter: #f5f5f5;
    --border-input: #d0d0d0;

    --font-family: 'Segoe UI', '-apple-system', 'BlinkMacSystemFont', Arial, sans-serif;
    
    --h1-fontfamily: 'Playfair Display', serif;
    --h2-fontfamily: 'Playfair Display', serif;
    --h3-fontfamily: 'Lora', serif;
    --h4-fontfamily: 'Lora', serif;
    --h5-fontfamily: 'Lora', serif;

}

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: var(--font-family);
}

body{
    background-color: var(--bg-color);
    margin: 0;
    padding: 0;
    overflow-y: scroll;
    scrollbar-gutter: stable;
}

/*=================
    Hero Section 
=================*/

.hero-section{
    position: relative;
    max-width: 100%;
    margin: 0;
    text-align: left;
    padding: 0 0 0 7rem;
    background-color: var(--white-color);
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 4rem;
    border-bottom: 1px solid var(--border-light);
}

.info-hero{
    max-width: 650px;
    flex: 0 0 auto;
    padding: 5.5rem 0;
}

.hero-section h5{
    position: relative;
    color: var(--color-fucsia);
    margin-bottom: 1.5rem;
    font-size: 0.85rem;
    font-weight: 400;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.hero-section h1{
    position: relative;
    font-size: 3.5rem;
    color: var(--color-oscuro);
    margin-bottom: 2rem;
    line-height: 1.2;
    font-weight: 600;
    letter-spacing: -0.01em;
}

.hero-section p {
    max-width: 600px;
    color: var(--text-light);
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 2rem;
    font-weight: 400;
}

.image-hero {
    flex: 1 1 52%;
    width: 100%;
    max-width: none;
    height: clamp(520px, 72vh, 760px);
    overflow: hidden;
}

.image-hero img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/*==========================
    Button Styles (Sistema Unificado)
 ============================ */

.btn,
.btn-primary,
.btn-secondary,
.btn-reserva,
.btn-ver-mas {
    display: inline-block;
    text-decoration: none;
    border-radius: 0;
    background-color: transparent;
    color: var(--color-fucsia);
    font-family: var(--font-family);
    cursor: pointer;
    transition: all 0.4s ease;
    text-transform: uppercase;
    font-weight: 500;
    letter-spacing: 1.5px;
    border: 1px solid var(--color-fucsia);
}

.btn-primary,
.btn-reserva,
.btn-ver-mas {
    padding: 0.8rem 2rem;
    font-size: 0.8rem;
}

.btn-primary:hover,
.btn-reserva:hover,
.btn-ver-mas:hover {
    background-color: var(--color-fucsia);
    color: var(--white-color);
    box-shadow: none;
}

.btn-secondary,
.btn-promo {
    display: inline-block;
    text-decoration: none;
    padding: 0.6rem 1.6rem;
    font-size: 0.8rem;
    border: 1px solid var(--color-fucsia);
    font-weight: 500;
    letter-spacing: 1px;
}

.btn-secondary:hover,
.btn-promo:hover {
    background-color: var(--color-fucsia);
    color: var(--white-color);
    box-shadow: none;
}

/*==========================
 Carousel Section Styles
 ============================ */

.carousel-container {
    position: relative;
    width: 100%;
    aspect-ratio: 5 / 4;
    display: block;
    transform: translate3d(0, 0, 0);
    max-width: 820px;
    margin: 0 auto;
}

.carousel-content {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    border-radius: 0.75rem;
    box-shadow: var(--shadow-md);
    contain: layout paint;
    transform: translate3d(0, 0, 0);
    border: 1px solid var(--border-light);
    background-color: var(--white-color);
}

.promotion-card {
    position: absolute;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    opacity: 0;
    transition: opacity 0.7s ease, transform 0.7s ease;
    transform: translateX(4%);
    will-change: transform, opacity;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}

.promotion-card.active {
    opacity: 1;
    transform: translateX(0);
}

.promotion-card img {
    width: 100%;
    height: 58%;
    object-fit: cover;
}

.promotion-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding: 1.1rem 1.2rem;
    background-color: var(--white-color);
    height: 42%;
    gap: 0.5rem;
}

.promotion-info h3 {
    font-family: var(--h3-fontfamily);
    font-size: 1.05rem;
    color: var(--color-oscuro);
    margin: 0;
    text-align: left;
    font-weight: 400;
}

.promotion-info p {
    font-size: 0.9rem;
    color: var(--text-light);
    margin: 0;
    text-align: left;
    max-width: 100%;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: var(--white-color);
    border: 1px solid var(--border-light);
    color: var(--color-oscuro);
    font-size: 0.95rem;
    width: 32px;
    height: 32px;
    border-radius: 0.35rem;
    cursor: pointer;
    transition: all 0.25s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
}

.carousel-btn:hover {
    background-color: var(--color-fucsia);
    color: var(--white-color);
    border-color: var(--color-fucsia);
    box-shadow: 0 6px 16px var(--brand-overlay-16);
}

.carousel-btn-prev {
    left: 0.8rem;
}

.carousel-btn-next {
    right: 0.8rem;
}

.carousel-dots {
    display: flex;
    gap: 0.65rem;
    justify-content: center;
    align-items: center;
    padding: 0.75rem 0 0;
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: var(--surface-muted);
    cursor: pointer;
    transition: all 0.25s ease;
    border: none;
}

.dot.active {
    background-color: var(--color-fucsia);
}

.dot:hover {
    background-color: var(--brand-overlay-60);
}

.novedades-card {
    padding: 2.5rem 3rem 2rem;
    background-color: var(--white-color);
    border-top: 1px solid var(--border-light);
}

.novedades-card .section-header {
    max-width: 1200px;
    margin: 0 auto 1.5rem;
    text-align: center;
}

.novedades-card .section-header h2 {
    font-family: var(--h2-fontfamily);
    font-size: clamp(2rem, 3vw, 2.8rem);
    color: var(--color-oscuro);
    margin-bottom: 0.75rem;
    letter-spacing: 0;
    font-weight: 500;
}

.novedades-card .section-header p {
    color: var(--text-light);
    font-size: 0.98rem;
    margin: 0 auto;
    max-width: 620px;
}

.novedades-card .carousel-container {
    max-width: 1200px;
    height: 260px;
    aspect-ratio: auto;
}

.novedades-card .carousel-content {
    border-radius: 0;
    box-shadow: 0 8px 24px rgba(53, 27, 57, 0.08);
    border-color: var(--border-light);
}

.novedades-card .promotion-card {
    flex-direction: row;
}

.novedades-card .promotion-card img {
    width: 58%;
    height: 100%;
}

.novedades-card .promotion-info {
    width: 42%;
    height: 100%;
    padding: 1.4rem 2rem;
    gap: 0.85rem;
    justify-content: center;
    border-left: 1px solid var(--border-light);
}

.novedades-card .promotion-info h3 {
    font-size: clamp(1.2rem, 2vw, 1.6rem);
    line-height: 1.3;
}

.novedades-card .promotion-info p {
    font-size: 0.98rem;
    line-height: 1.7;
}

.novedades-card .carousel-btn {
    background-color: var(--white-color);
    border-color: var(--color-fucsia);
    color: var(--color-fucsia);
    box-shadow: none;
}

.novedades-card .carousel-btn-prev {
    left: -1rem;
}

.novedades-card .carousel-btn-next {
    right: -1rem;
}

/*==========================
 Agenda Consulta Section
 ============================ */

.agenda-consulta-section {
    padding: 2.8rem 3rem 4rem;
    background-color: var(--white-color);
}

.agenda-consulta-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 2.8rem;
    background-color: var(--white-color);
}

.agenda-consulta-content h2 {
    font-family: var(--h2-fontfamily);
    font-size: 2.65rem;
    font-weight: 500;
    letter-spacing: -0.01em;
    color: var(--color-oscuro);
    line-height: 1.2;
    margin-bottom: 1.1rem;
}

.agenda-consulta-content p {
    color: var(--text-light);
    font-size: 1.05rem;
    line-height: 1.75;
    margin-bottom: 1.8rem;
    max-width: 530px;
}

.agenda-consulta-content .btn-primary {
    margin-top: 0.2rem;
}

.agenda-consulta-image-wrapper {
    overflow: hidden;
    aspect-ratio: 3 / 2;
}

.agenda-consulta-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

/*==========================
 Section Styles (Reutilizables)
 ============================ */

.cards-tratamientos-populares-section,
.gallery-section,
.testimonials-section {
    padding: 8rem 3rem 5rem;
    background-color: var(--white-color);
    text-align: center;
    border-top: 1px solid var(--border-light);
}

.testimonials-section {
    background-color: var(--white-color);
}

.cards-tratamientos-section h2,
.gallery-section h2,
.testimonials-section h2 {
    font-family: var(--h2-fontfamily);
    font-size: 2.8rem;
    color: var(--color-oscuro);
    margin-bottom: 2rem;
    letter-spacing: -0.02em;
    font-weight: 600;
}

.cards-tratamientos-section h2::after,
.gallery-section h2::after,
.testimonials-section h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 2px;
    background: var(--color-fucsia);
    margin: 1.2rem auto 4.5rem;
}

/* Tratamientos populares especÃ­fico */
.tratamientos-header {
    text-align: center;
    margin-bottom: 3rem;
}

.tratamientos-header h2 {
    font-family: var(--h2-fontfamily);
    font-size: 2.8rem;
    color: var(--color-oscuro);
    margin-bottom: 12px;
    font-weight: 500;
    letter-spacing: 0.5px;
}

.tratamientos-header::after {
    content: '';
    display: block;
    width: 50px;
    height: 2px;
    background: var(--color-fucsia);
    margin: 15px auto 0;
}

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

.cards-tratamientos-populares-section .tratamiento-card {
    background: var(--white-color);
    border-radius: 0;
    box-shadow: var(--shadow-sm);
    transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
    text-align: left;
    display: flex;
    flex-direction: column;
    padding: 0;
    position: relative;
    border: 1px solid var(--border-light);
    overflow: hidden;
}

.cards-tratamientos-populares-section .tratamiento-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--color-fucsia), var(--color-rosa));
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 2;
}

.cards-tratamientos-populares-section .tratamiento-card-imagen {
    width: 100%;
    height: 250px;
    overflow: hidden;
}

.cards-tratamientos-populares-section .tratamiento-card-imagen img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.8s ease;
}

.cards-tratamientos-populares-section .tratamiento-card-content {
    padding: 1.7rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.cards-tratamientos-populares-section .tratamiento-card h3 {
    font-family: var(--h3-fontfamily);
    color: var(--color-oscuro);
    font-size: 1.25rem;
    margin-bottom: 0.8rem;
    font-weight: 400;
    letter-spacing: 0.3px;
    line-height: 1.4;
}

.tratamiento-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 18px;
    margin: 10px 0 12px;
    color: var(--color-fucsia);
    font-size: 0.85rem;
    font-weight: 600;
}

.cards-tratamientos-populares-section .tratamiento-card p {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 0;
    flex-grow: 1;
}

.cards-tratamientos-populares-section .tratamiento-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
    border-color: var(--color-fucsia);
}

.cards-tratamientos-populares-section .tratamiento-card:hover::before {
    opacity: 1;
}

.cards-tratamientos-populares-section .tratamiento-card:hover .tratamiento-card-imagen img {
    transform: scale(1.05);
}

/* BotÃ³n Ver MÃ¡s */

.cards-tratamientos-section {
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* =======================
   GalerÃ­a Antes/DespuÃ©s
   ======================= */

.gallery-section {
    padding: 8rem 3rem 5rem;
    background-color: var(--white-color);
    text-align: center;
    border-top: 1px solid var(--border-light);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.gallery-item {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.gallery-comparison {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 8;
    overflow: hidden;
    border: 1px solid var(--border-light);
    background-color: var(--surface-soft);
    transition: all 0.3s ease;
}

.gallery-comparison:hover {
    box-shadow: var(--shadow-xl);
    border-color: var(--color-fucsia);
}

.gallery-before,
.gallery-after {
    position: absolute;
    width: 50%;
    height: 100%;
    overflow: hidden;
}

.gallery-before {
    left: 0;
    top: 0;
}

.gallery-after {
    right: 0;
    top: 0;
    border-left: 1px solid var(--white-color);
}

.gallery-before img,
.gallery-after img {
    width: 200%;
    height: 100%;
    max-width: none;
    object-fit: cover;
}

.gallery-before img {
    object-position: left center;
}

.gallery-after img {
    transform: translateX(-50%);
    object-position: right center;
}

.label {
    position: absolute;
    top: 1rem;
    font-family: var(--h4-fontfamily);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 1px;
    background-color: var(--overlay-dark-50);
    color: var(--white-color);
    padding: 0.5rem 1rem;
    border-radius: 0;
    text-transform: uppercase;
    z-index: 10;
}

.gallery-before .label {
    left: 1rem;
}

.gallery-after .label {
    right: 1rem;
}

.gallery-text {
    font-family: var(--h3-fontfamily);
    font-size: 1.1rem;
    color: var(--color-oscuro);
    font-weight: 500;
    letter-spacing: 0.5px;
    margin: 0;
}

/* =======================
   About Section
   ======================= */

.about-section {
    background-color: var(--white-color);
    border-top: 1px solid var(--border-light);
}

.equipo-nosotras {
    margin: 5.5rem auto 0;
    max-width: 1200px;
}

.esteticista-content {
    padding: 2.5rem;
}

.esteticista-content h3 {
    font-family: var(--h3-fontfamily);
    color: var(--color-oscuro);
    font-size: 1.95rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.esteticista-content span {
    display: block;
    color: var(--color-fucsia);
    text-transform: uppercase;
    letter-spacing: 1.1px;
    font-size: 0.78rem;
    font-weight: 500;
    margin-bottom: 1.1rem;
}

.esteticista-content p {
    color: var(--text-light);
    font-size: 1.08rem;
    line-height: 1.75;
}

/* =======================
   Nuestras MÃ¡quinas Section
   ======================= */

.maquinas-section {
    padding: 8rem 3rem 5rem;
    background-color: var(--white-color);
    text-align: center;
    border-top: 1px solid var(--border-light);
}

.maquinas-header {
    text-align: center;
    margin-bottom: 2.2rem;
}

.maquinas-header h2 {
    font-family: var(--h2-fontfamily);
    font-size: 2.8rem;
    color: var(--color-oscuro);
    margin-bottom: 0;
    font-weight: 400;
    letter-spacing: 1px;
}

.maquinas-header::after {
    display: none;
}

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

.maquina-card {
    background: var(--white-color);
    border-radius: 0;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all 0.4s ease;
    text-align: left;
    display: flex;
    flex-direction: column;
    position: relative;
    border: 1px solid var(--border-light);
}

.maquina-card::before {
    display: none;
}

.maquina-card:nth-child(2)::before,
.maquina-card:nth-child(4)::before {
    display: none;
}

.maquina-image {
    width: 100%;
    height: 300px;
    object-fit: cover;
    display: block;
    transition: transform 0.8s ease;
}

.maquina-card:hover .maquina-image {
    transform: scale(1.02);
}

.maquina-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
    border-color: var(--border-light);
}

.maquina-card-content {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.maquina-card h3 {
    font-family: var(--h3-fontfamily);
    color: var(--color-oscuro);
    font-size: 1.2rem;
    margin-bottom: 0.8rem;
    font-weight: 400;
}

.maquina-card p {
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 0;
    flex-grow: 1;
    font-weight: 400;
}

/* Ajustes de tarjetas de maquinas para la pagina Nosotras */
/* =======================
   Testimonios Section
   ======================= */

.testimonials-section {
    padding: 8rem 3rem 5rem;
    background-color: var(--surface-soft);
    text-align: center;
    border-top: 1px solid var(--border-light);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.testimonial-card {
    background-color: var(--white-color);
    padding: 2.5rem;
    border: 1px solid var(--border-light);
    border-radius: 0;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.testimonial-card:hover {
    box-shadow: var(--shadow-xl);
    border-color: var(--color-fucsia);
}

.testimonial-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
}

.testimonial-author {
    text-align: left;
}

.testimonial-author h4 {
    font-family: var(--h4-fontfamily);
    font-size: 1rem;
    color: var(--color-oscuro);
    margin: 0 0 0.3rem 0;
    font-weight: 500;
}

.testimonial-author p {
    font-size: 0.8rem;
    color: var(--text-light);
    margin: 0;
}

.testimonial-rating {
    display: flex;
    gap: 0.2rem;
}

.star {
    color: var(--color-fucsia);
    font-size: 1rem;
}

.testimonial-text {
    font-size: 0.95rem;
    color: var(--text-light);
    line-height: 1.8;
    margin: 0;
    text-align: left;
    font-style: italic;
}

/* =======================
   SecciÃ³n Google Maps
   ======================= */

.google-maps-section {
    background: var(--white-color);
    padding: 60px 20px 30px;
    border-top: 1px solid var(--border-light);
}

.google-maps-container {
    max-width: 1200px;
    margin: 0 auto;
}

.google-maps-header {
    text-align: center;
    margin-bottom: 50px;
}

.google-maps-header h2 {
    font-size: 2.8rem;
    color: var(--color-oscuro);
    margin-bottom: 8px;
    font-family: var(--h2-fontfamily);
    font-weight: 500;
    letter-spacing: 0.5px;
}

.google-maps-header::after {
    content: '';
    display: block;
    width: 50px;
    height: 2px;
    background: var(--color-fucsia);
    margin: 15px auto 0;
}

.google-maps-wrapper {
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    border-radius: 0;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-light);
}

.google-maps-wrapper iframe {
    width: 100%;
    height: 500px;
    border: none;
}

.google-maps-link {
    text-align: center;
    margin-top: 25px;
}

/* Responsive Design */

@media (max-width: 768px) {
    .navbar {
        padding: 1rem 1.5rem;
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .logo-navbar {
        gap: 0.5rem;
    }
    
    .logo-navbar img {
        width: 60px;
        height: 60px;
    }
    
    .logo-navbar h1 {
        font-size: 1.8rem;
    }
    
    .nav-links {
        flex-direction: column;
        gap: 1rem;
        font-size: 0.8rem;
    }
    
    .hero-section {
        padding: 0 2rem;
        min-height: auto;
        flex-direction: column;
        gap: 2rem;
    }
    
    .hero-section h1 {
        font-size: 2.5rem;
    }
    
    .hero-section p {
        font-size: 1rem;
    }
    
    .info-hero {
        max-width: 100%;
        padding: 2.5rem 0;
    }
    
    .videos-hero {
        max-width: 100%;
        width: 100%;
    }
    
    .carousel-btn-prev {
        left: -50px;
    }
    
    .carousel-btn-next {
        right: -50px;
    }
    
    .cards-tratamientos-populares {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .tratamiento-card img {
        height: 200px;
    }
    
    .btn-primary,
    .btn-reserva,
    .btn-ver-mas {
        padding: 0.9rem 2rem;
        font-size: 0.9rem;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
    
    .gallery-section {
        padding: 8rem 2rem 6rem;
    }
    
    .gallery-section h2 {
        font-size: 2rem;
    }
    
    .maquinas-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .maquinas-section {
        padding: 8rem 2rem 6rem;
    }
    
    .maquinas-header h2 {
        font-size: 2rem;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .testimonials-section {
        padding: 8rem 2rem 6rem;
    }
    
    .testimonials-section h2 {
        font-size: 2rem;
    }
    
}
