﻿/* ============================================
   RESPONSIVE DESIGN - EstÃ©tica Leonor
   ============================================ */

/* ===================== */
/*    DESKTOP - Default  */
/* ===================== */

@media screen and (min-width: 1025px) {
    .hamburger-menu {
        display: none !important;
    }

    .navbar {
        flex-direction: row !important;
        justify-content: center !important;
        align-items: center !important;
        min-height: 80px !important;
    }

    .logo-navbar-link {
        position: absolute !important;
        left: 3rem !important;
    }

    .nav-links {
        display: flex !important;
        position: static !important;
        background-color: transparent !important;
        padding: 0 !important;
        gap: 3rem !important;
        justify-content: center !important;
        max-height: none !important;
        overflow: visible !important;
        border: none !important;
        box-shadow: none !important;
        z-index: auto !important;
        margin: 0 !important;
        list-style: none !important;
    }

    .nav-links li {
        width: auto !important;
    }

    .nav-links a {
        padding: 0 !important;
        border: none !important;
        font-size: 0.8rem !important;
        display: inline !important;
        color: var(--secondary-color) !important;
        text-decoration: none !important;
        transition: color 0.3s ease !important;
        position: relative !important;
    }

    .nav-links a::after {
        display: block !important;
        content: '' !important;
        position: absolute !important;
        bottom: -4px !important;
        left: 0 !important;
        width: 0 !important;
        height: 1px !important;
        background-color: var(--color-fucsia) !important;
        transition: width 0.3s ease !important;
    }

    .nav-links a:hover {
        color: var(--color-fucsia) !important;
    }

    .nav-links a:hover::after {
        width: 100% !important;
    }

    /* Dropdown en desktop */
    .nav-item {
        position: relative !important;
    }

    .dropdown-menu {
        position: absolute !important;
        top: 100% !important;
        left: 0 !important;
        opacity: 0 !important;
        visibility: hidden !important;
        transform: translateY(-10px) !important;
        background-color: var(--white-color) !important;
        border: 1px solid var(--border-light) !important;
        box-shadow: 0 12px 32px rgba(0, 0, 0, 0.15) !important;
        min-width: 280px !important;
        padding: 1rem 0 !important;
        margin: 0.8rem 0 0 0 !important;
        display: block !important;
        max-height: none !important;
        overflow: visible !important;
        transition: all 0.3s ease !important;
        z-index: 1000 !important;
        list-style: none !important;
    }

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

    .dropdown-menu li {
        margin: 0 !important;
    }

    .dropdown-menu a {
        display: block !important;
        padding: 1.2rem 2rem !important;
        border-bottom: 1px solid var(--border-lighter) !important;
        font-size: 0.95rem !important;
        background-color: transparent !important;
        position: relative !important;
        color: var(--secondary-color) !important;
        text-decoration: none !important;
        transition: all 0.3s ease !important;
    }

    .dropdown-menu a::after {
        display: none !important;
    }

    .dropdown-menu a:last-child {
        border-bottom: none !important;
    }

    .dropdown-menu a:hover {
        background-color: var(--color-crema) !important;
        color: var(--color-fucsia) !important;
        padding-left: 2.5rem !important;
    }

    .nav-item.dropdown > .nav-link::after {
        content: '' !important;
        display: block !important;
        position: absolute !important;
        bottom: -4px !important;
        left: 0 !important;
        width: 0 !important;
        height: 1px !important;
        background-color: var(--color-fucsia) !important;
        transition: width 0.3s ease !important;
        font-size: auto !important;
        margin-left: auto !important;
        transform: rotate(0) !important;
    }

    .nav-item.dropdown > .nav-link:hover::after {
        width: 100% !important;
    }

    .nav-item.dropdown.active > .nav-link::after {
        display: block !important;
        transform: rotate(0) !important;
        content: '' !important;
    }

    /* Home: una fila de 3 cards en tratamientos */
    .cards-tratamientos-populares-section .tratamiento-card:nth-child(n+4) {
        display: none !important;
    }

    /* Home: una fila de 3 cards en mÃ¡quinas */
    .maquinas-index .maquina-card:nth-child(n+4) {
        display: none !important;
    }

    /* Limitar galerÃ­a antes/despuÃ©s a 3 cards */
    .gallery-item:nth-child(n+4) {
        display: none !important;
    }

    .cards-tratamientos-populares-section .tratamientos-grid {
        grid-template-columns: repeat(3, 1fr) !important;
    }

    .maquinas-index .maquinas-grid {
        grid-template-columns: repeat(3, 1fr) !important;
    }
}

/* ===================== */
/*  Desktop Muy PequeÃ±o  */
/*  (1025px - 1220px)    */
/* ===================== */

@media screen and (min-width: 1025px) and (max-width: 1220px) {
    .navbar {
        padding: 0.6rem 1.5rem !important;
        min-height: 70px !important;
    }

    .logo-navbar-link {
        left: 1.5rem !important;
    }

    .logo-navbar img {
        width: 72px !important;
        height: 72px !important;
    }

    .logo-navbar h1 {
        font-size: 1rem !important;
    }

    .nav-links {
        gap: 0.8rem !important;
    }

    .nav-links a {
        font-size: 0.65rem !important;
        letter-spacing: 0.5px !important;
    }

    .dropdown-menu {
        min-width: 200px !important;
        padding: 0.6rem 0 !important;
    }

    .dropdown-menu a {
        padding: 0.7rem 1.2rem !important;
        font-size: 0.8rem !important;
    }

    .dropdown-menu a:hover {
        padding-left: 1.7rem !important;
    }

    /* Hero y slider para 1025-1220px */
    .hero-section {
        padding: 0 1.5rem !important;
        gap: 1.5rem !important;
        flex-direction: column !important;
        min-height: auto !important;
    }

    .hero-section h1 {
        font-size: 1.8rem !important;
    }

    .hero-section h5 {
        font-size: 0.7rem !important;
    }

    .hero-section p {
        font-size: 0.9rem !important;
    }

    .info-hero {
        max-width: 100% !important;
        padding: 2rem 0 !important;
    }

    .videos-hero {
        max-width: 100% !important;
        margin-right: 0 !important;
    }

    .carousel-container {
        aspect-ratio: 16 / 9 !important;
    }

    .carousel-btn {
        width: 32px !important;
        height: 32px !important;
        font-size: 0.9rem !important;
    }

    .carousel-btn-prev {
        left: -35px !important;
    }

    .carousel-btn-next {
        right: -35px !important;
    }

    .cards-tratamientos-populares-section .tratamientos-grid {
        grid-template-columns: repeat(3, 1fr) !important;
    }

    .maquinas-index .maquinas-grid {
        grid-template-columns: repeat(3, 1fr) !important;
    }

    /* Limitar tarjetas a 3 */
    .cards-tratamientos-populares-section .tratamiento-card:nth-child(n+4) {
        display: none !important;
    }

    .maquinas-index .maquina-card:nth-child(n+4) {
        display: none !important;
    }

    /* Limitar galerÃ­a antes/despuÃ©s a 3 cards */
    .gallery-item:nth-child(n+4) {
        display: none !important;
    }
}

/* ===================== */
/*  Desktop PequeÃ±o/Med  */
/*  (1221px - 1700px)    */
/* ===================== */

@media screen and (min-width: 1221px) and (max-width: 1700px) {
    .navbar {
        padding: 0.8rem 2rem !important;
        min-height: 75px !important;
    }

    .logo-navbar-link {
        left: 2rem !important;
    }

    .logo-navbar img {
        width: 88px !important;
        height: 88px !important;
    }

    .logo-navbar h1 {
        font-size: 1.3rem !important;
    }

    .nav-links {
        gap: 1.5rem !important;
    }

    .nav-links a {
        font-size: 0.72rem !important;
        letter-spacing: 0.7px !important;
    }

    .dropdown-menu {
        min-width: 240px !important;
        padding: 0.8rem 0 !important;
    }

    .dropdown-menu a {
        padding: 0.9rem 1.5rem !important;
        font-size: 0.9rem !important;
    }

    .dropdown-menu a:hover {
        padding-left: 2rem !important;
    }

    /* Hero y slider para 1221-1700px */
    .hero-section {
        padding: 0 0 0 2.5rem !important;
        gap: 2.5rem !important;
        flex-direction: row !important;
        min-height: auto !important;
    }

    .hero-section h1 {
        font-size: 2.2rem !important;
    }

    .hero-section h5 {
        font-size: 0.75rem !important;
    }

    .hero-section p {
        font-size: 0.95rem !important;
    }

    .info-hero {
        max-width: 500px !important;
        flex: 0 0 auto !important;
        padding: 4rem 0 !important;
    }

    .videos-hero {
        max-width: 450px !important;
        margin-right: 2rem !important;
    }

    .carousel-container {
        aspect-ratio: 16 / 10 !important;
    }

    .carousel-btn {
        width: 35px !important;
        height: 35px !important;
        font-size: 1rem !important;
    }

    .carousel-btn-prev {
        left: -45px !important;
    }

    .carousel-btn-next {
        right: -45px !important;
    }

    .cards-tratamientos-populares-section .tratamientos-grid {
        grid-template-columns: repeat(3, 1fr) !important;
    }

    .maquinas-index .maquinas-grid {
        grid-template-columns: repeat(3, 1fr) !important;
    }

    /* Limitar tarjetas a 3 */
    .cards-tratamientos-populares-section .tratamiento-card:nth-child(n+4) {
        display: none !important;
    }

    .maquinas-index .maquina-card:nth-child(n+4) {
        display: none !important;
    }

    /* GalerÃ­a antes/despuÃ©s - mostrar 3 */
    .gallery-item:nth-child(n+4) {
        display: none !important;
    }
}

/* ===================== */
/*   Desktop Grande      */
/*   (> 1700px)          */
/* ===================== */

@media screen and (min-width: 1701px) {
    .navbar {
        padding: 1rem 3rem !important;
        min-height: 80px !important;
    }

    .logo-navbar-link {
        left: 3rem !important;
    }

    .logo-navbar img {
        width: 112px !important;
        height: 112px !important;
    }

    .logo-navbar h1 {
        font-size: 2rem !important;
    }

    .nav-links {
        gap: 3rem !important;
    }

    .nav-links a {
        font-size: 0.8rem !important;
        letter-spacing: 1.2px !important;
    }

    .dropdown-menu {
        min-width: 280px !important;
        padding: 1rem 0 !important;
    }

    .dropdown-menu a {
        padding: 1.2rem 2rem !important;
        font-size: 0.95rem !important;
    }

    .dropdown-menu a:hover {
        padding-left: 2.5rem !important;
    }

    /* Hero Section Carousel - Desktop Grande */
    .hero-section {
        padding: 0 0 0 7rem !important;
        gap: 4rem !important;
        flex-direction: row !important;
    }

    .hero-section h1 {
        font-size: 3.5rem !important;
    }

    .hero-section p {
        font-size: 1.05rem !important;
    }

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

    .videos-hero {
        max-width: 750px !important;
        margin-right: 10rem !important;
    }

    .carousel-container {
        aspect-ratio: 16 / 10 !important;
    }

    .carousel-btn-prev {
        left: -60px !important;
    }

    .carousel-btn-next {
        right: -60px !important;
    }

    .cards-tratamientos-populares-section .tratamientos-grid {
        grid-template-columns: repeat(3, 1fr) !important;
    }

    .maquinas-index .maquinas-grid {
        grid-template-columns: repeat(3, 1fr) !important;
    }

    .cards-tratamientos-populares-section .tratamiento-card:nth-child(n+4) {
        display: none !important;
    }

    .maquinas-index .maquina-card:nth-child(n+4) {
        display: none !important;
    }
}

/* ===================== */
/*    MenÃº Hamburguesa   */
/* ===================== */

.hamburger-menu {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 50px;
    height: 50px;
    background: none;
    border: none;
    cursor: pointer;
    position: absolute;
    right: 2rem;
    z-index: 105;
    padding: 0;
}

.hamburger-menu span {
    display: block;
    width: 25px;
    height: 2px;
    background-color: var(--secondary-color);
    margin: 5px 0;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.hamburger-menu:hover span {
    background-color: var(--color-fucsia);
}

.hamburger-menu.active span:nth-child(1) {
    transform: rotate(45deg) translate(10px, 10px);
}

.hamburger-menu.active span:nth-child(2) {
    opacity: 0;
}

.hamburger-menu.active span:nth-child(3) {
    transform: rotate(-45deg) translate(10px, -10px);
}

/* ===================== */
/*   Estilos de Tablet   */
/*   (â‰¤ 1024px)          */
/* ===================== */

@media screen and (max-width: 1024px) {
    .navbar {
        padding: 1rem;
        justify-content: flex-start;
        flex-direction: row;
        min-height: auto;
    }

    .hamburger-menu {
        display: flex;
        right: 1rem;
        position: absolute;
        z-index: 105;
    }

    .logo-navbar-link {
        position: relative;
        left: auto;
        margin-bottom: 0;
    }

    .logo-navbar {
        gap: 0.6rem;
    }

    .logo-navbar img {
        width: 66px;
        height: 66px;
    }

    .logo-navbar h1 {
        font-size: 1.1rem;
    }

    .nav-links {
        display: none;
        position: fixed;
        top: 80px;
        left: 0;
        right: 0;
        flex-direction: column;
        background-color: var(--white-color);
        padding: 1.5rem 1.5rem;
        gap: 0;
        max-height: calc(100vh - 80px);
        overflow-y: auto;
        border-bottom: 1px solid var(--border-light);
        z-index: 100;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    }

    .nav-links.active {
        display: flex;
    }

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

    .nav-links a {
        display: block;
        padding: 0.8rem 0;
        border-bottom: 1px solid var(--border-lighter);
        font-size: 0.8rem;
    }

    .search-container {
        display: none;
    }

    /* Hero y slider para â‰¤ 1024px */
    .hero-section {
        padding: 0 1.5rem !important;
        gap: 2rem !important;
        flex-direction: column !important;
        min-height: auto !important;
    }

    .hero-section h1 {
        font-size: 1.8rem !important;
    }

    .hero-section p {
        font-size: 0.95rem !important;
    }

    .info-hero {
        max-width: 100% !important;
        padding: 2.5rem 0 !important;
    }

    .videos-hero {
        max-width: 100% !important;
        margin-right: 0 !important;
    }

    .carousel-btn-prev {
        left: 0 !important;
    }

    .carousel-btn-next {
        right: 0 !important;
    }

    .maquinas-grid,
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

    .tratamiento-card {
        padding: 1.5rem;
    }

    .cards-tratamientos-populares-section .tratamiento-card {
        padding: 0;
    }

    .cards-tratamientos-populares-section .tratamiento-card-imagen {
        height: 220px;
    }

    .cards-tratamientos-populares-section .tratamiento-card-content {
        padding: 1.3rem;
    }

    .tratamiento-card:nth-child(n+3) {
        display: none;
    }

    .tratamiento-detalle {
        grid-template-columns: 1fr;
        padding: 2rem 0;
    }

    .tratamiento-detalle.tratamiento-right .tratamiento-imagen {
        order: 1;
    }

    .tratamiento-detalle.tratamiento-right .tratamiento-contenido {
        order: 2;
    }

    .tratamiento-imagen {
        min-height: 300px;
    }

    .tratamiento-contenido {
        padding: 2rem;
    }

    /* Dropdown en tablet */
    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        background-color: var(--color-crema);
        border: none;
        border-left: 3px solid var(--color-fucsia);
        box-shadow: none;
        min-width: auto;
        padding: 0;
        margin: 0;
        display: none;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }

    .dropdown-menu.active {
        display: block;
        max-height: 500px;
        padding: 0.5rem 0;
    }

    .dropdown-menu a {
        padding: 0.7rem 0 0.7rem 1.2rem;
        font-size: 0.8rem;
        border-bottom: 1px solid rgba(236, 21, 150, 0.1);
        background-color: transparent;
        transition: all 0.2s ease;
    }

    .dropdown-menu a:last-child {
        border-bottom: none;
    }

    .dropdown-menu a:hover {
        padding-left: 1.8rem;
        background-color: rgba(236, 21, 150, 0.1);
        color: var(--color-fucsia);
    }

    .nav-item.dropdown > .nav-link {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .nav-item.dropdown > .nav-link::after {
        display: block !important;
        content: 'â–¼';
        font-size: 0.5rem;
        margin-left: 0.6rem;
        transition: transform 0.3s ease;
        transform: rotate(0deg);
    }

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

/* ===================== */
/*   Estilos de MÃ³vil    */
/* ===================== */

@media screen and (max-width: 768px) {
    /* ============ NAV ============ */
    
    .navbar {
        padding: 1rem;
        flex-direction: column;
        min-height: auto;
    }

    .hamburger-menu {
        display: flex;
    }

    .logo-navbar-link {
        position: static;
        margin-bottom: 1rem;
    }

    .logo-navbar {
        gap: 0.8rem;
    }

    .logo-navbar img {
        width: 66px;
        height: 66px;
    }

    .logo-navbar h1 {
        font-size: 1rem;
    }

    .nav-links {
        display: none;
        position: fixed;
        top: 120px;
        left: 0;
        right: 0;
        flex-direction: column;
        background-color: var(--white-color);
        padding: 2rem 1.5rem;
        gap: 0;
        max-height: calc(100vh - 120px);
        overflow-y: auto;
        border-bottom: 1px solid var(--border-light);
        z-index: 100;
        box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
    }

    .nav-links.active {
        display: flex;
    }

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

    .nav-links a {
        display: block;
        padding: 1rem 0;
        border-bottom: 1px solid var(--border-lighter);
        font-size: 0.85rem;
    }

    .nav-links a:last-child {
        border-bottom: none;
    }

    .nav-links a::after {
        display: none;
    }

    .nav-links a:hover {
        background-color: transparent;
        color: var(--color-fucsia);
        padding-left: 0.5rem;
    }

    /* Dropdown en mÃ³vil */
    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        background-color: var(--color-crema);
        border: none;
        border-left: 3px solid var(--color-fucsia);
        box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.02);
        min-width: auto;
        padding: 0;
        margin: 0;
        display: none;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.4s ease, padding 0.4s ease;
    }

    .dropdown-menu.active {
        display: block;
        max-height: 500px;
        padding: 0.5rem 0;
    }

    .dropdown-menu li {
        margin: 0;
    }

    .dropdown-menu a {
        padding: 0.9rem 0 0.9rem 1.5rem;
        font-size: 0.85rem;
        border-bottom: 1px solid rgba(236, 21, 150, 0.1);
        background-color: transparent;
        transition: all 0.25s ease;
        display: block;
    }

    .dropdown-menu a:last-child {
        border-bottom: none;
    }

    .dropdown-menu a:hover {
        padding-left: 2.2rem;
        background-color: rgba(236, 21, 150, 0.12);
        color: var(--color-fucsia);
        font-weight: 500;
    }

    .nav-item.dropdown > .nav-link {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .nav-item.dropdown > .nav-link::after {
        display: block !important;
        content: 'â–¼';
        font-size: 0.55rem;
        margin-left: 0.8rem;
        transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        transform: rotate(0deg);
    }

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

    .search-container {
        display: none;
    }

    /* ============ HERO ============ */

    .hero-section {
        padding: 0 1.5rem;
        gap: 2rem;
        flex-direction: column;
        min-height: auto;
        text-align: center;
    }

    .info-hero {
        max-width: 100%;
        padding: 2rem 0;
    }

    .hero-section h5 {
        font-size: 0.75rem;
    }

    .hero-section h1 {
        font-size: 1.8rem;
        line-height: 1.3;
    }

    .hero-section p {
        font-size: 0.95rem;
        line-height: 1.6;
    }

    .videos-hero {
        max-width: 100%;
        margin-right: 0;
    }

    .carousel-btn-prev {
        left: -40px;
    }

    .carousel-btn-next {
        right: -40px;
    }

    .carousel-btn {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }

    .agenda-consulta-section {
        padding: 2.3rem 1.5rem 2.6rem;
    }

    .agenda-consulta-container {
        grid-template-columns: 1fr;
        gap: 1.4rem;
        padding: 0;
    }

    .agenda-consulta-content h2 {
        font-size: 2.1rem;
    }

    .agenda-consulta-content p {
        font-size: 1rem;
    }

    .agenda-consulta-content .btn-primary {
        width: auto;
    }

    .agenda-consulta-image-wrapper,
    .agenda-consulta-image {
        min-height: 0;
    }

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

    /* ============ TARJETAS TRATAMIENTOS ============ */

    .cards-tratamientos-populares-section {
        padding: 2rem 1.5rem 2rem;
    }

    .tratamientos-header h2 {
        font-size: 2rem;
    }

    .tratamientos-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .tratamiento-card {
        padding: 1.5rem;
    }

    .cards-tratamientos-populares-section .tratamiento-card {
        padding: 0;
    }

    .cards-tratamientos-populares-section .tratamiento-card-imagen {
        height: 210px;
    }

    .cards-tratamientos-populares-section .tratamiento-card-content {
        padding: 1.25rem;
    }

    /* Mostrar solo las primeras 3 tarjetas en mÃ³vil */
    .tratamiento-card:nth-child(n+4) {
        display: none;
    }

    .tratamiento-card h3 {
        font-size: 1.1rem;
    }

    .tratamiento-card p {
        font-size: 0.9rem;
    }

    /* ============ GALERÃA ============ */

    .gallery-section {
        padding: 3.2rem 1.5rem 2rem;
    }

    .gallery-section h2 {
        font-size: 2rem;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .gallery-comparison {
        aspect-ratio: 4 / 3;
    }

    /* ============ MÃQUINAS ============ */

    .maquinas-section {
        padding: 3.2rem 1.5rem 2rem;
    }

    .maquinas-header h2 {
        font-size: 2rem;
    }

    .maquinas-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .maquina-card {
        padding: 1rem;
    }

    /* Mostrar solo las primeras 2 mÃ¡quinas en mÃ³vil (solo en index) */
    .maquinas-index .maquina-card:nth-child(n+3) {
        display: none;
    }

    .maquina-image {
        height: 250px;
    }

    /* ============ TRATAMIENTOS PAGE ============ */

    .tratamientos-main {
        padding: 3rem 1.5rem;
    }

    .tratamientos-section h1 {
        font-size: 2rem;
        margin-bottom: 2rem;
    }

    .tratamiento-detalle {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 2rem 0;
        border: none;
    }

    .tratamiento-detalle.tratamiento-right .tratamiento-imagen {
        order: 1;
    }

    .tratamiento-detalle.tratamiento-right .tratamiento-contenido {
        order: 2;
    }

    .tratamiento-imagen {
        min-height: 250px;
    }

    .tratamiento-contenido {
        padding: 1.5rem 0;
    }

    .tratamiento-contenido h2 {
        font-size: 1.5rem;
    }

    .tratamiento-contenido p {
        font-size: 0.95rem;
    }

    .botones-tratamiento {
        flex-direction: column;
        gap: 0.8rem;
    }

    .btn-reserva,
    .btn-mas-info {
        width: 100%;
        text-align: center;
    }

    /* ============ ABOUT SECTION ============ */

    .about-section {
        padding: 3rem 1.5rem !important;
    }

    .about-section h1 {
        font-size: 1.8rem !important;
        margin-bottom: 1.5rem !important;
    }

    .about-section p {
        font-size: 0.95rem !important;
    }

    .equipo-nosotras {
        margin-top: 3.4rem;
    }

    .equipo-nosotras-header h2 {
        font-size: 2.25rem;
    }

    .equipo-nosotras-header p {
        font-size: 1rem;
    }

    .novedades-card {
        padding: 2.5rem 1.5rem 2rem;
    }

    .novedades-card .section-header {
        margin-bottom: 1.8rem;
    }

    .novedades-card .carousel-container {
        height: auto;
        aspect-ratio: 16 / 9;
    }

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

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

    .novedades-card .promotion-info {
        width: 100%;
        height: 42%;
        padding: 1.2rem 1.4rem;
        border-left: none;
        border-top: 1px solid var(--border-light);
    }

    .novedades-card .promotion-info p {
        font-size: 0.9rem;
    }

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

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

    .equipo-nosotras-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .esteticista-image {
        height: 460px;
    }

    .esteticista-content {
        padding: 1.9rem;
    }

    .esteticista-content h3 {
        font-size: 1.55rem;
    }

    .esteticista-content p {
        font-size: 1rem;
    }

    /* ============ MÃQUINAS EN QUIENES-SOMOS ============ */

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

    .maquina-card-content {
        padding: 1.5rem;
    }

    .maquina-card-content h3 {
        font-size: 1.1rem;
    }

    /* ============ MAPA ============ */

    .google-maps-section {
        padding: 3.2rem 1.5rem 2rem;
    }

    .google-maps-header h2 {
        font-size: 2rem;
    }

    .google-maps-wrapper {
        min-height: 300px;
    }

    .google-maps-wrapper iframe {
        border-radius: 0;
    }

    /* ============ CONTACTO ============ */

    .contacto-section {
        padding: 3.2rem 1.5rem 2rem;
    }

    .contacto-form {
        grid-template-columns: 1fr;
    }

    .form-group {
        grid-column: 1;
    }

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

/* ===================== */
/*   Estilos de MÃ³vil    */
/*   PequeÃ±os (< 480px) */
/* ===================== */

@media screen and (max-width: 480px) {
    .logo-navbar-link {
        text-align: center;
        margin-bottom: 0.5rem;
    }

    .logo-navbar {
        flex-direction: column;
        gap: 0.4rem;
    }

    .logo-navbar img {
        width: 56px;
        height: 56px;
    }

    .logo-navbar h1 {
        font-size: 1rem;
    }

    .navbar {
        padding: 0.8rem;
    }

    .hamburger-menu {
        right: 1rem;
        width: 45px;
        height: 45px;
    }

    .hamburger-menu span {
        width: 22px;
        height: 2px;
    }

    /* HERO */
    .hero-section {
        padding: 0 1rem;
    }

    .hero-section h1 {
        font-size: 1.5rem;
    }

    .hero-section p {
        font-size: 0.9rem;
    }

    .btn-reserva {
        padding: 0.6rem 1.5rem;
        font-size: 0.75rem;
    }

    .footer {
        padding: 2rem 2rem 1.5rem;
    }

    .footer-header {
        flex-direction: column;
        gap: 1rem;
        margin-bottom: 2rem;
        padding-bottom: 1.5rem;
    }

    .footer-header-content {
        flex-direction: column;
        text-align: center;
    }

    .footer-logo {
        width: 108px;
        height: 108px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        margin-bottom: 2rem;
    }

    .footer-section h3 {
        font-size: 1.6rem;
    }

    .social-links {
        gap: 1rem;
    }

    .social-icon {
        width: 36px;
        height: 36px;
        font-size: 0.9rem;
    }

    /* CAROUSEL */
    .carousel-btn-prev {
        left: -25px;
    }

    .carousel-btn-next {
        right: -25px;
    }

    .carousel-btn {
        width: 30px;
        height: 30px;
        font-size: 0.9rem;
    }

    .carousel-dots {
        gap: 0.6rem;
    }

    .dot {
        width: 6px;
        height: 6px;
    }

    /* SECTIONS */
    .cards-tratamientos-populares-section,
    .gallery-section,
    .maquinas-section,
    .google-maps-section {
        padding: 2.2rem 1rem 1.4rem;
    }

    .agenda-consulta-section {
        padding: 2rem 1rem 2.2rem;
    }

    .agenda-consulta-container {
        padding: 0;
        gap: 1.1rem;
    }

    .agenda-consulta-content h2 {
        font-size: 1.55rem;
    }

    .agenda-consulta-content p {
        font-size: 0.95rem;
        margin-bottom: 1rem;
    }

    .agenda-consulta-content .btn-primary {
        width: 100%;
        text-align: center;
    }

    .agenda-consulta-image-wrapper,
    .agenda-consulta-image {
        min-height: 0;
    }

    .agenda-consulta-image-wrapper {
        aspect-ratio: 16 / 10;
    }

    .tratamientos-header h2,
    .gallery-section h2,
    .maquinas-header h2,
    .google-maps-header h2 {
        font-size: 1.5rem;
    }

    .tratamiento-card,
    .maquina-card {
        padding: 1rem;
    }

    .tratamiento-card h3,
    .maquina-card-content h3 {
        font-size: 1rem;
    }

    .tratamiento-card p,
    .maquina-card-content p {
        font-size: 0.85rem;
    }

    /* BUTTONS */
    .btn-primary,
    .btn-reserva,
    .btn-mas-info {
        padding: 0.6rem 1.5rem;
        font-size: 0.75rem;
    }

    .tratamientos-section h1 {
        font-size: 1.5rem;
    }

    .tratamiento-contenido h2 {
        font-size: 1.3rem;
    }

    .botones-tratamiento {
        flex-direction: column;
    }

    .btn-reserva,
    .btn-mas-info {
        width: 100%;
    }

    /* ABOUT */
    .about-section {
        padding: 2rem 1rem !important;
    }

    .about-section h1 {
        font-size: 1.5rem !important;
    }

    .equipo-nosotras {
        margin-top: 2.4rem;
    }

    .equipo-nosotras-header {
        margin-bottom: 1.5rem;
    }

    .equipo-nosotras-header h2 {
        font-size: 1.75rem;
    }

    .equipo-nosotras-header p {
        font-size: 0.95rem;
    }

    .esteticista-image {
        height: 360px;
    }

    .esteticista-content {
        padding: 1.5rem;
    }

    .esteticista-content h3 {
        font-size: 1.45rem;
    }

    .esteticista-content p {
        font-size: 0.98rem;
    }

    /* GOOGLE MAPS */
    .google-maps-wrapper {
        min-height: 250px;
    }

    /* DROPDOWN */
    .dropdown-menu {
        max-height: 0;
    }

    .dropdown-menu.active {
        max-height: 400px;
    }

    .dropdown-menu a {
        padding: 0.8rem 0 0.8rem 1.2rem;
    }

    /* NAV LINKS MOBILE */
    .nav-links {
        top: 100px;
        padding: 1.5rem 1rem;
        max-height: calc(100vh - 100px);
    }

    .nav-links a {
        padding: 0.8rem 0;
        font-size: 0.8rem;
    }
}

/* ===================== */
/*  OrientaciÃ³n Paisaje  */
/*  (Mobile Landscape)   */
/* ===================== */

@media screen and (max-width: 768px) and (orientation: landscape) {
    .navbar {
        padding: 0.8rem 1rem;
        min-height: 70px;
    }

    .logo-navbar-link {
        position: static;
        margin-bottom: 0;
    }

    .logo-navbar {
        gap: 0.5rem;
    }

    .logo-navbar img {
        width: 56px;
        height: 56px;
    }

    .logo-navbar h1 {
        font-size: 1rem;
    }

    .hamburger-menu {
        right: 1rem;
        width: 45px;
        height: 45px;
    }

    .hamburger-menu span {
        width: 20px;
        height: 1.5px;
        margin: 4px 0;
    }

    .nav-links {
        top: 70px;
        padding: 1rem 1.5rem;
        max-height: calc(100vh - 70px);
    }

    .hero-section {
        padding: 0 1.5rem;
        min-height: auto;
        gap: 1.5rem;
    }

    .hero-section h1 {
        font-size: 1.5rem;
    }

    .carousel-container {
        aspect-ratio: 16 / 8;
    }

    .tratamiento-imagen {
        min-height: 200px;
    }

    .maquina-image {
        height: 150px;
    }

}

@media screen and (min-width: 769px) and (max-width: 1024px) and (orientation: landscape) {
    .navbar {
        padding: 0.8rem 1rem;
        min-height: 65px;
        flex-direction: row;
    }

    .hamburger-menu {
        display: flex;
        right: 1rem;
        width: 45px;
        height: 45px;
    }

    .hamburger-menu span {
        width: 20px;
        height: 1.5px;
        margin: 3px 0;
    }

    .logo-navbar-link {
        position: relative;
        margin-bottom: 0;
    }

    .logo-navbar {
        gap: 0.5rem;
    }

    .logo-navbar img {
        width: 62px;
        height: 62px;
    }

    .logo-navbar h1 {
        font-size: 1rem;
    }

    .nav-links {
        display: none;
        position: fixed;
        top: 65px;
        left: 0;
        right: 0;
        flex-direction: column;
        background-color: var(--white-color);
        padding: 1rem 1.5rem;
        max-height: calc(100vh - 65px);
        overflow-y: auto;
        z-index: 100;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links a {
        font-size: 0.8rem;
        padding: 0.7rem 0;
        border-bottom: 1px solid var(--border-lighter);
    }

    .dropdown-menu {
        border-left: 3px solid var(--color-fucsia);
        background-color: var(--color-crema);
        padding: 0;
        margin: 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }

    .dropdown-menu.active {
        max-height: 400px;
        padding: 0.4rem 0;
    }

    .dropdown-menu a {
        padding: 0.7rem 0 0.7rem 1.2rem;
        font-size: 0.75rem;
    }

    .nav-item.dropdown > .nav-link::after {
        display: block;
        font-size: 0.5rem;
        margin-left: 0.5rem;
    }

    .hero-section {
        padding: 0 1.5rem;
        min-height: auto;
        gap: 1.5rem;
    }

    .hero-section h1 {
        font-size: 1.5rem;
    }

    .hero-section p {
        font-size: 0.9rem;
    }

    .carousel-container {
        aspect-ratio: 16 / 8;
    }

    .carousel-btn-prev {
        left: -30px;
    }

    .carousel-btn-next {
        right: -30px;
    }

    .carousel-btn {
        width: 30px;
        height: 30px;
        font-size: 0.9rem;
    }

}

/* Ajustes finales del menú móvil */
@media screen and (max-width: 1024px) {
    header {
        padding: 0;
    }

    .navbar {
        min-height: 104px;
        height: 104px;
        padding: 0 1.5rem;
        flex-direction: row;
        justify-content: flex-start;
    }

    .logo-navbar-link {
        position: static;
        margin: 0;
        width: calc(100% - 72px);
        min-width: 0;
    }

    .logo-navbar {
        gap: 0.75rem;
        min-width: 0;
        display: flex;
        flex-direction: row !important;
        flex-wrap: nowrap;
        align-items: center;
    }

    .logo-navbar img {
        width: 86px;
        height: 86px;
        flex: 0 0 86px;
    }

    .logo-navbar h1 {
        font-size: 1rem;
        letter-spacing: 0.04em;
        line-height: 1.1;
        white-space: nowrap;
        overflow: visible;
    }

    .hamburger-menu {
        display: flex;
        right: 1.25rem;
        width: 46px;
        height: 46px;
        padding: 0.5rem;
    }

    .hamburger-menu span {
        width: 24px;
        height: 2px;
        margin: 3px 0;
    }

    .hamburger-menu.active span:nth-child(1) {
        opacity: 0 !important;
        transform: none !important;
    }

    .hamburger-menu.active span:nth-child(2) {
        opacity: 0 !important;
        transform: none !important;
    }

    .hamburger-menu.active span:nth-child(3) {
        opacity: 0 !important;
        transform: none !important;
    }

    .hamburger-menu::before,
    .hamburger-menu::after {
        content: '';
        display: none;
        position: absolute;
        left: 50%;
        top: 50%;
        width: 24px;
        height: 2px;
        background-color: var(--color-fucsia);
        border-radius: 2px;
    }

    .hamburger-menu.active::before,
    .hamburger-menu.active::after {
        display: block;
    }

    .hamburger-menu.active::before {
        transform: translate(-50%, -50%) rotate(45deg);
    }

    .hamburger-menu.active::after {
        transform: translate(-50%, -50%) rotate(-45deg);
    }

    .nav-links,
    .nav-links.active {
        top: 104px;
        padding: 1rem 1.5rem;
        max-height: calc(100vh - 104px);
    }

    .nav-links a {
        padding: 0.85rem 0;
        font-size: 0.8rem;
        letter-spacing: 0.04em;
        line-height: 1.3;
        white-space: nowrap;
    }

    .dropdown-menu.active {
        padding: 0.25rem 0;
    }

    .dropdown-menu {
        background-color: var(--white-color);
        border: 0;
        border-left: 1px solid var(--border-light);
        box-shadow: none;
    }

    .dropdown-menu a {
        padding: 0.7rem 0 0.7rem 1.25rem;
        font-size: 0.75rem;
        color: var(--secondary-color);
        background-color: var(--white-color);
        border-bottom: 1px solid var(--border-lighter);
    }

    .dropdown-menu a:hover {
        padding-left: 1.25rem;
        color: var(--color-fucsia);
        background-color: #fafafa;
    }

    .nav-item.dropdown > .nav-link::after {
        content: '';
        position: static;
        display: block !important;
        width: 7px;
        height: 7px;
        margin-left: auto;
        border-right: 1.5px solid currentColor;
        border-bottom: 1.5px solid currentColor;
        background: none;
        transform: rotate(45deg);
        transition: transform 0.25s ease;
    }

    .nav-item.dropdown.active > .nav-link::after {
        transform: rotate(225deg);
    }
}

@media screen and (max-width: 768px) {
    .navbar {
        min-height: 96px;
        height: 96px;
        padding: 0 1.15rem;
    }

    .logo-navbar img {
        width: 78px;
        height: 78px;
        flex-basis: 78px;
    }

    .logo-navbar h1 {
        font-size: 0.9rem;
    }

    .hamburger-menu {
        right: 0.9rem;
        width: 42px;
        height: 42px;
    }

    .hamburger-menu span {
        width: 22px;
    }

    .nav-links,
    .nav-links.active {
        top: 96px;
        max-height: calc(100vh - 96px);
    }

    .nav-links > li > a {
        font-size: 0.82rem;
    }
}

/* ===================== */
/*    Utilidades        */
/* ===================== */

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

/* Animaciones suaves */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

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

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
}

/* ===================== */
/* Hero responsive final  */
/* ===================== */

@media screen and (max-width: 1024px) {
    .hero-section {
        flex-direction: column !important;
        gap: 1.2rem !important;
    }

    .image-hero {
        order: -1 !important;
        flex: 0 0 auto !important;
        width: 100% !important;
        height: clamp(220px, 40vw, 320px) !important;
    }

    .info-hero {
        order: 1 !important;
        padding: 1.6rem 0 2rem !important;
    }
}

@media screen and (max-width: 480px) {
    .image-hero {
        height: clamp(180px, 52vw, 240px) !important;
    }
}

/* ===================== */
/* Ajuste final Hero - COMENTADO */
/* ===================== */

/* .videos-hero {
    margin-right: 0 !important;
    max-width: 700px !important;
}

.videos-hero .carousel-container {
    aspect-ratio: 16 / 10 !important;
}

.videos-hero .carousel-btn {
    top: 50% !important;
    bottom: auto !important;
    transform: translateY(-50%) !important;
}

.videos-hero .carousel-btn-prev {
    left: -42px !important;
}

.videos-hero .carousel-btn-next {
    right: -42px !important;
}

@media screen and (max-width: 768px) {
    .videos-hero {
        max-width: 100% !important;
    }

    .videos-hero .carousel-container {
        aspect-ratio: 16 / 11 !important;
    }

    .videos-hero .carousel-btn {
        width: 30px !important;
        height: 30px !important;
        font-size: 0.85rem !important;
    }

    .videos-hero .carousel-btn-prev {
        left: 0.7rem !important;
    }

    .videos-hero .carousel-btn-next {
        right: 0.7rem !important;
    }

    .videos-hero .promotion-info {
        padding: 1rem !important;
        gap: 0.45rem !important;
    }

    .videos-hero .promotion-info h3 {
        font-size: 1rem !important;
    }

    .videos-hero .promotion-info p {
        font-size: 0.82rem !important;
    }
} */



