/* === BARIAESTHETIC DESIGN SYSTEM === */

/* Variables CSS - Sistema de diseño */
:root {
    /* Colores principales */
    --primary-beige: #d4b896;
    --primary-light-beige: #e6d3b7;
    --primary-dark-beige: #c2a373;
    --accent-brown: #8b6f47;
    --text-dark: #2c2c2c;
    --text-light: #958b8b;
    --white: #ffffff;

    /* Paleta de fondos cream */
    --bg-cream-1: #f0ca8c;
    --bg-cream-2: #f0eae0;
    --bg-cream-3: #ede6db;
    --bg-cream-4: #ffcb7f;

    /* Tipografía */
    --font-primary: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
    --font-weight-thin: 300;
    --font-weight-normal: 400;
    --font-weight-medium: 500;
    --font-weight-bold: 700;

    /* Espaciado responsive */
    --spacing-xs: clamp(0.5rem, 2vw, 0.75rem);
    --spacing-sm: clamp(0.75rem, 3vw, 1rem);
    --spacing-md: clamp(1rem, 4vw, 1.5rem);
    --spacing-lg: clamp(1.5rem, 5vw, 2rem);
    --spacing-xl: clamp(2rem, 6vw, 3rem);
    --spacing-xxl: clamp(3rem, 8vw, 4rem);

    /* Bordes */
    --border-radius-sm: 4px;
    --border-radius-md: 8px;
    --border-radius-lg: 20px;
    --border-radius-xl: 50px;

    /* Sombras */
    --shadow-light: 0 2px 10px rgba(0, 0, 0, 0.1);
    --shadow-medium: 0 4px 20px rgba(0, 0, 0, 0.15);
    --shadow-heavy: 0 8px 30px rgba(0, 0, 0, 0.2);
}

/* Reset y base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
    width: 100%;
}

body {
    font-family: var(--font-primary);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
    width: 100%;
    position: relative;
}

/* === COMPONENTES REUTILIZABLES === */

/* Sistema de botones */
.btn {
    display: inline-block;
    padding: var(--spacing-sm) var(--spacing-lg);
    border: none;
    border-radius: var(--border-radius-xl);
    text-decoration: none;
    font-weight: var(--font-weight-medium);
    font-size: clamp(0.9rem, 2.5vw, 1rem);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    text-align: center;
    white-space: nowrap;
}

.btn-primary {
    background: var(--primary-beige);
    color: var(--text-dark);
}

.btn-primary:hover {
    background: var(--primary-dark-beige);
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}

.btn-outline {
    background: transparent;
    color: var(--primary-beige);
    border: 2px solid var(--primary-beige);
}

.btn-outline:hover {
    background: var(--primary-beige);
    color: var(--text-dark);
}

/* Utilidades de texto */
.text-center {
    text-align: center;
}
.text-left {
    text-align: left;
}
.text-right {
    text-align: right;
}

/* === LAYOUT PRINCIPAL === */

.hero-container {
    min-height: 100vh;
    width: 100%;
    max-width: 100vw;
    background: linear-gradient(
        135deg,
        var(--bg-cream-1) 0%,
        var(--bg-cream-2) 30%,
        var(--bg-cream-3) 60%,
        var(--bg-cream-4) 100%
    );
    position: relative;
    overflow: hidden;
}

/* === NAVEGACIÓN === */

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    background: transparent;
    padding: var(--spacing-sm) 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background: rgba(240, 234, 224, 0.95);
    backdrop-filter: blur(15px);
    box-shadow: var(--shadow-light);
}

.nav-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-lg);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Logo ahora es clickeable */
.logo {
    font-size: clamp(1.2rem, 4vw, 1.5rem);
    font-weight: var(--font-weight-bold);
    color: var(--accent-brown);
    letter-spacing: clamp(1px, 0.5vw, 3px);
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    text-decoration: none;
    transition: color 0.3s ease;
    cursor: pointer;
}

.logo:hover {
    color: var(--primary-dark-beige);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: var(--spacing-lg);
    align-items: center;
}

.nav-link {
    text-decoration: none;
    color: var(--accent-brown);
    font-weight: var(--font-weight-medium);
    font-size: clamp(0.85rem, 2vw, 0.95rem);
    transition: color 0.3s ease;
    position: relative;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 5px;
}

.nav-link:hover {
    color: var(--primary-dark-beige);
}

.nav-link.active::after {
    content: "";
    position: absolute;
    bottom: -5px;
    left: 0;
    right: 0;
    height: 2px;
}

.nav-link.active {
    background: none;
}

/* === DROPDOWN MENU === */
.nav-item-dropdown {
    position: relative;
}

.dropdown-icon {
    transition: transform 0.3s ease;
    margin-left: 3px;
}

.nav-item-dropdown:hover .dropdown-icon {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(240, 234, 224, 0.98);
    backdrop-filter: blur(15px);
    min-width: 220px;
    padding: var(--spacing-sm) 0;
    border-radius: var(--border-radius-md);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    opacity: 0;
    visibility: hidden;
    transform: translateX(-50%) translateY(-10px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    list-style: none;
    margin-top: 15px;
    z-index: 1001;
}

/* Flecha del dropdown */
.dropdown-menu::before {
    content: '';
    position: absolute;
    top: -6px;
    left: 50%;
    transform: translateX(-50%);
    width: 12px;
    height: 12px;
    background: rgba(240, 234, 224, 0.98);
    transform: translateX(-50%) rotate(45deg);
    border-radius: 2px;
}

.nav-item-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.dropdown-link {
    display: block;
    padding: var(--spacing-sm) var(--spacing-lg);
    color: var(--accent-brown);
    text-decoration: none;
    font-size: clamp(0.85rem, 2vw, 0.9rem);
    font-weight: var(--font-weight-medium);
    transition: all 0.3s ease;
    white-space: nowrap;
}

.dropdown-link:hover {
    background: rgba(212, 184, 150, 0.3);
    color: var(--primary-dark-beige);
    padding-left: calc(var(--spacing-lg) + 5px);
}

/* Menu móvil - Botón hamburguesa */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
    padding: 8px;
    background: none;
    border: none;
    z-index: 1002;
}

.hamburger-line {
    width: 28px;
    height: 3px;
    background: var(--accent-brown);
    transition: all 0.3s ease;
    border-radius: 2px;
}

.mobile-menu-toggle.active .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.mobile-menu-toggle.active .hamburger-line:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* Overlay para cerrar menú móvil */
.mobile-menu-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 998;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.mobile-menu-overlay.active {
    display: block;
    opacity: 1;
}

/* === RESPONSIVE MÓVIL === */

/* Tablet */
@media (max-width: 768px) {
    /* Mostrar botón hamburguesa */
    .mobile-menu-toggle {
        display: flex;
    }

    /* Navbar con fondo para mejor contraste en móvil */
    .navbar {
        backdrop-filter: blur(10px);
        padding: 0.8rem 0;
        width: 100%;
    }
    
    .nav-content {
        padding: 0 var(--spacing-md);
    }

    /* Logo en blanco para móvil */
    .logo {
        color: var(--white) !important;
        font-size: 1.3rem;
    }

    /* Cambiar color de hamburguesa a blanco */
    .hamburger-line {
        background: var(--white);
    }

    /* Menú lateral deslizante desde la derecha */
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 320px;
        max-width: 85%;
        height: 100vh;
        background: linear-gradient(180deg, #d4b896 0%, #c2a373 100%);
        flex-direction: column;
        padding: 80px 0 var(--spacing-xl) 0;
        gap: 0;
        transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        box-shadow: -5px 0 20px rgba(0, 0, 0, 0.3);
        overflow-y: auto;
        z-index: 999;
        align-items: stretch;
    }

    .nav-menu.active {
        right: 0;
    }

    /* Items del menú móvil */
    .nav-menu > li {
        width: 100%;
        margin-bottom: 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    }

    .nav-link {
        display: block;
        padding: var(--spacing-md) var(--spacing-xl);
        color: var(--white) !important;
        font-size: 1rem;
        text-align: left;
        background: transparent;
        transition: all 0.3s ease;
        text-transform: uppercase;
        letter-spacing: 1px;
    }

    .nav-link:hover {
        background: rgba(255, 255, 255, 0.2);
        color: var(--white) !important;
        padding-left: calc(var(--spacing-xl) + 10px);
    }

    /* Dropdown en móvil */
    .nav-item-dropdown {
        position: relative;
    }

    .nav-item-dropdown .dropdown-icon {
        margin-left: 8px;
        transition: transform 0.3s ease;
    }

    .nav-item-dropdown.active .dropdown-icon {
        transform: rotate(180deg);
    }

    .dropdown-menu {
        position: static;
        width: 100%;
        background: rgba(0, 0, 0, 0.2);
        box-shadow: none;
        border-radius: 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
        padding: 0;
        opacity: 1;
        visibility: visible;
        transform: none;
        margin-top: 0;
    }

    .dropdown-menu::before {
        display: none;
    }

    .nav-item-dropdown.active .dropdown-menu {
        max-height: 300px;
        padding: var(--spacing-xs) 0;
    }

    .dropdown-link {
        display: block;
        padding: var(--spacing-sm) var(--spacing-xl);
        padding-left: calc(var(--spacing-xl) + var(--spacing-lg));
        color: rgba(255, 255, 255, 0.9) !important;
        font-size: 0.9rem;
        transition: all 0.3s ease;
        text-align: left;
    }

    .dropdown-link:hover {
        background: rgba(255, 255, 255, 0.15);
        color: var(--white) !important;
        padding-left: calc(var(--spacing-xl) + var(--spacing-lg) + 10px);
    }

    /* Botón tienda en móvil */
    .btn-primary {
        margin: var(--spacing-lg) var(--spacing-xl) 0;
        background: var(--white) !important;
        color: var(--primary-dark-beige) !important;
        border: 2px solid var(--white);
        text-align: center;
        padding: var(--spacing-md);
        width: calc(100% - calc(var(--spacing-xl) * 2));
    }

    .btn-primary:hover {
        background: transparent !important;
        color: var(--white) !important;
        border-color: var(--white);
        transform: none;
    }
}

/* Móvil pequeño */
@media (max-width: 480px) {
    .nav-menu {
        width: 100%;
        max-width: 100%;
    }

    .logo {
        font-size: 1.1rem;
        letter-spacing: 2px;
    }

    .hamburger-line {
        width: 24px;
    }

    .nav-content {
        padding: 0 var(--spacing-sm);
    }
    
    .navbar {
        width: 100%;
    }
}
/* === FIN DE LA BARRA DE NAVEGACIÓN === */


/* === CONTENIDO HERO === */

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    max-width: 1200px;
    margin: 0 auto;
    min-height: 100vh;
    align-items: center;
    padding: var(--spacing-xxl) var(--spacing-lg);
    gap: var(--spacing-xl);
}

.hero-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.hero-title {
    font-size: clamp(2rem, 8vw, 4rem);
    font-weight: var(--font-weight-thin);
    color: var(--primary-beige);
    line-height: 1.2;
    letter-spacing: clamp(1px, 0.5vw, 2px);
}

.hero-subtitle {
    font-size: clamp(2.5rem, 10vw, 5rem);
    font-weight: var(--font-weight-bold);
    color: var(--primary-dark-beige);
    line-height: 1.1;
    margin-bottom: var(--spacing-lg);
}

.hero-description {
    font-size: clamp(1rem, 3vw, 1.1rem);
    color: var(--text-light);
    margin-bottom: var(--spacing-xl);
    max-width: 500px;
    line-height: 1.7;
}

.cta-buttons {
    display: flex;
    gap: var(--spacing-md);
    flex-wrap: wrap;
}

/* === IMAGEN HERO === */

.hero-image {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 80vh;
    margin: 0 auto;
}

.model-image {
    width: 80vw;
    height: 80vh;
    max-width: none;
    object-fit: contain;
    object-position: bottom;
    filter: drop-shadow(0 10px 25px rgba(0, 0, 0, 0.1));
    mask: linear-gradient(
        to top,
        transparent 0%,
        rgba(0, 0, 0, 0.3) 3%,
        rgba(0, 0, 0, 0.7) 8%,
        rgba(0, 0, 0, 1) 15%
    );
    -webkit-mask: linear-gradient(
        to top,
        transparent 0%,
        rgba(0, 0, 0, 0.3) 3%,
        rgba(0, 0, 0, 0.7) 8%,
        rgba(0, 0, 0, 1) 15%
    );
}

/* === ANIMACIONES === */

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes float {
    0%,
    100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
}

.fade-in {
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards;
}

.hover-lift {
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.hover-lift:hover {
    transform: translateY(-3px);
}

/* === RESPONSIVE DESIGN === */

/* Tablet y móvil grande */
@media (max-width: 1024px) {
    .hero-content {
        gap: var(--spacing-lg);
        padding: var(--spacing-xl) var(--spacing-md);
    }
}

/* Tablet */
@media (max-width: 768px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: var(--spacing-lg);
        text-align: center;
        padding: calc(80px + var(--spacing-md)) var(--spacing-md) var(--spacing-md);
    }

    .hero-image {
        order: -1;
        max-width: 450px;
        height: clamp(400px, 60vh, 600px);
    }

    .cta-buttons {
        justify-content: center;
    }
}

/* Móvil */
@media (max-width: 480px) {
    .hero-image {
        max-width: 350px;
        height: clamp(350px, 50vh, 500px);
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
        width: 100%;
    }

    .btn {
        width: 100%;
        max-width: 280px;
    }

    .hero-content {
        padding: calc(70px + var(--spacing-sm)) var(--spacing-sm) var(--spacing-sm);
    }
}

/* Móvil muy pequeño */
@media (max-width: 320px) {
    .hero-image {
        max-width: 280px;
        height: clamp(300px, 45vh, 420px);
    }

    .logo {
        font-size: 1.1rem;
        letter-spacing: 1px;
    }

    .model-image {
        height: auto;
    }
}

/* Mejoras para pantallas muy grandes */
@media (min-width: 1400px) {
    .hero-content {
        max-width: 1400px;
    }

    .hero-image {
        max-width: 700px;
        height: clamp(600px, 85vh, 900px);
    }
}

/* Optimizaciones para dispositivos táctiles */
@media (hover: none) and (pointer: coarse) {
    .btn:hover,
    .nav-link:hover {
        transform: none;
    }

    .btn:active {
        transform: scale(0.98);
    }

    .model-image {
        height: auto;
    }
}

/* Modo oscuro (si el sistema lo prefiere) */
@media (prefers-color-scheme: dark) {
    .navbar.scrolled {
        background: rgba(44, 44, 44, 0.9);
    }

    .nav-link {
        color: #ffffff;
    }
}

/* Reducir movimiento para usuarios que lo prefieren */
@media (prefers-reduced-motion: reduce) {
    *,
    ::before,
    ::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* === RESTO DE LAS SECCIONES (continúan igual) === */

/*seccion de informacion*/

.services-section {
    padding: 80px 0;
    background-color: #f8f9fa;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.services-content {
    display: flex;
    align-items: center;
    gap: 60px;
    flex-wrap: wrap;
}

/* Imagen del equipo */
.team-image {
    flex: 1;
    min-width: 300px;
}

.team-photo {
    width: 100%;
    height: auto;
    border-radius: 20px;
    object-fit: cover;
}

/* Contenido de servicios */
.services-info {
    flex: 1;
    min-width: 400px;
}

.services-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #b8956b;
    margin-bottom: 20px;
    line-height: 1.2;
}

.services-description {
    font-size: 1.1rem;
    color: #666;
    line-height: 1.6;
    margin-bottom: 25px;
}

.services-subtitle {
    font-size: 1rem;
    color: #666;
    margin-bottom: 30px;
    font-weight: 500;
}

/* Grid de servicios */
.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 40px;
}

.service-card {
    display: flex;
    align-items: center;
    padding: 25px;
    background: #b8956b;
    border-radius: 15px;
    color: white;
    transition: all 0.3s ease;
    cursor: pointer;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(184, 149, 107, 0.3);
}

.service-icon {
    width: 50px;
    height: 50px;
    margin-right: 20px;
    flex-shrink: 0;
}

.service-icon svg {
    width: 100%;
    height: 100%;
    fill: white;
}

.service-content h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0;
    line-height: 1.2;
}

.service-content p {
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0;
    line-height: 1.2;
}

/* Botón Ver más */
.services-action {
    text-align: right;
}

.btn-see-more {
    display: inline-block;
    padding: 12px 30px;
    background-color: #4a5568;
    color: white;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.btn-see-more:hover {
    background-color: #2d3748;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(74, 85, 104, 0.3);
    color: white;
    text-decoration: none;
}

/* Responsive Design */
@media (max-width: 768px) {
    .services-content {
        flex-direction: column;
        gap: 40px;
        text-align: center;
    }
    
    .team-image,
    .services-info {
        min-width: auto;
    }
    
    .services-title {
        font-size: 2rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .service-card {
        padding: 20px;
    }
    
    .services-action {
        text-align: center;
    }
}


@media (max-width: 480px) {
    .services-section {
        padding: 60px 0;
    }
    
    .container {
        padding: 0 15px;
    }
    
    .services-title {
        font-size: 1.8rem;
    }
    
    .service-icon {
        width: 40px;
        height: 40px;
        margin-right: 15px;
    }
    
    .service-content h3,
    .service-content p {
        font-size: 1rem;
    }
}


/* === SECCIÓN DE PROMOCIONES === */



/* === SECCIÓN DEL EQUIPO === */
.team-section {
    padding: 60px 20px;
    position: relative;
    background: #f8f9fa;
}

.team-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 var(--spacing-lg);
}

/* Contenedor principal con ondas */
.team-wave-container {
    position: relative;
    max-width: 100%;
    width: 100%;
    border-radius: 40px;
    overflow: hidden;
    min-height: 500px;
}

.team-content {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    align-items: center;
    gap: 60px;
    min-height: 500px;
    padding: 80px 100px;
    position: relative;
    z-index: 2;
}

/* Contenido de texto */
.team-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
    z-index: 3;
    position: relative;
    padding-left: 40px;
}

.team-title {
    font-size: 1.8rem;
    font-weight: var(--font-weight-bold);
    color: var(--accent-brown);
    line-height: 1.2;
    margin-bottom: 10px;
}

.team-description {
    font-size: clamp(1rem, 2.5vw, 1.15rem);
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 30px;
    text-align: justify;
}

.btn-team {
    display: inline-block;
    padding: 15px 35px;
    background-color: #486284;
    border-radius: 50px;
    color: white;
    text-decoration: none;
    font-weight: var(--font-weight-medium);
    font-size: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(72, 98, 132, 0.3);
    align-self: flex-start;
}

.btn-team:hover {
    background-color: #3a4f6b;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(72, 98, 132, 0.4);
    color: white;
    text-decoration: none;
}

/* Imagen del equipo */
.team-image {
    position: relative;
    z-index: 3;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.team-photo {
    width: 100%;
    max-width: 600px;
    height: auto;
    border-radius: 20px;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.15));
    transition: transform 0.3s ease;
}

.team-image:hover .team-photo {
    transform: translateY(-8px) scale(1.02);
}

/* Formas decorativas con ondas */
.team-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

.wave-shape {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
}

.wave-shape path:nth-child(1) {
    fill: #EAE6DE;
    opacity: 0.95;
}

.wave-shape path:nth-child(2) {
    fill: #E5DFD3;
    opacity: 0.85;
}

.wave-shape path:nth-child(3) {
    fill: #DED6C8;
    opacity: 0.75;
}

/* Animación de ondas */
@keyframes wave-flow {
    0%, 100% {
        transform: translateX(0) translateY(0);
    }
    25% {
        transform: translateX(-8px) translateY(3px);
    }
    50% {
        transform: translateX(0) translateY(-3px);
    }
    75% {
        transform: translateX(8px) translateY(3px);
    }
}

.wave-shape {
    animation: wave-flow 8s ease-in-out infinite;
}

/* === RESPONSIVE DESIGN MEJORADO === */

/* Tablet grande */
@media (max-width: 1024px) {
    .team-content {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
        padding: 40px;
    }
    
    .team-info {
        padding-left: 20px;
    }
    
    .team-photo {
        max-width: 450px;
    }
}

/* Tablet y móviles */
@media (max-width: 768px) {
    

    .team-section {
        padding: 40px 15px;
    }
    
    .team-wave-container {
        border-radius: 30px;
        min-height: auto;
        background: #EAE6DE;
    }
    
    .team-content {
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 40px 30px;
        min-height: auto;
        background: transparent;
    }
    
    .team-info {
        text-align: center;
        align-items: center;
        padding-left: 0;
        order: 2;
    }
    
    .team-title {
        font-size: 1.75rem;
        margin-bottom: 15px;
        line-height: 1.3;
    }
    
    .team-description {
        font-size: 1rem;
        text-align: center;
        margin-bottom: 25px;
    }
    
    .team-image {
        order: 1;
        margin: 0 auto;
    }
    
    .team-photo {
        max-width: 350px;
        width: 100%;
    }
    
    .btn-team {
        align-self: center;
        padding: 14px 32px;
    }
    
    .team-shapes {
        display: none;
    }
}

/* Móvil */
@media (max-width: 480px) {
    .team-section {
        padding: 10px 10px;
    }
    
    .team-wave-container {
        border-radius: 20px;
    }
    
    .team-content {
        padding: 35px 25px;
        gap: 25px;
    }
    
    .team-title {
        font-size: 1.5rem;
        margin-bottom: 12px;
    }
    
    .team-description {
        font-size: 0.95rem;
        line-height: 1.6;
        margin-bottom: 20px;
    }
    
    .team-photo {
        max-width: 100%;
        border-radius: 15px;
    }
    
    .btn-team {
        width: 100%;
        max-width: 280px;
        text-align: center;
        padding: 12px 28px;
        font-size: 0.95rem;
    }
}

/* Móvil muy pequeño */
@media (max-width: 360px) {
    .team-content {
        padding: 30px 20px;
        gap: 20px;
    }
    
    .team-title {
        font-size: 1.4rem;
    }
    
    .team-description {
        font-size: 0.9rem;
    }
}

/* Pantallas muy grandes */
@media (min-width: 1400px) {
    .team-container {
        max-width: 1600px;
    }
    
    .team-content {
        padding: 80px;
        gap: 60px;
    }
    
    .team-photo {
        max-width: 700px;
    }
}

/* Reducir animación para usuarios que lo prefieren */
@media (prefers-reduced-motion: reduce) {
    .btn-team,
    .team-photo,
    .wave-shape {
        transition: none;
        animation: none;
    }
}
/*FIN DE TEAM SECTION*/




/* Sección de Promociones */
.promotions-section {
    padding: var(--spacing-xxl) 0;
    background: linear-gradient(to bottom, #f8f5f0 0%, var(--white) 30%);
}

.promotions-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-lg);
}

.promotions-title {
    text-align: left;
    font-size: 2.5rem;
    font-weight: var(--font-weight-bold);
    color: var(--primary-dark-beige);
    margin-bottom: var(--spacing-xxl);
}

.promotions-grid {
    display: grid;
    grid-template-columns: 1fr 2fr 1fr;
    grid-template-rows: 280px 280px;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-xl);
}

/* Tarjetas promocionales */
.promotion-card {
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-light);
    transition: all 0.3s ease;
    position: relative;
    background: var(--white);
    display: flex;
    flex-direction: column;
}

.promotion-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-heavy);
}

/* Cuadros pequeños */
.promo-small {
    display: flex;
    flex-direction: column;
}

/* Cuadro grande del centro */
.promo-large {
    grid-column: 2;
    grid-row: 1 / -1;
    display: flex;
    flex-direction: column;
}

/* OCULTAR contenido de texto dentro de los cuadros */
.promo-content,
.promo-header,
.promo-main-content,
.promo-features {
    display: none;
}

/* Imagen ocupa todo el cuadro */
.promo-image,
.promo-main-image {
    flex: 1;
    width: 100%;
    overflow: hidden;
}

.promo-img,
.promo-main-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Texto DEBAJO del cuadro - fuera de la tarjeta */
.promo-treatment {
    background: var(--white);
    padding: var(--spacing-sm) 0;
    text-align: center;
    font-size: 0.9rem;
    font-weight: var(--font-weight-medium);
    color: var(--text-dark);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Precios DEBAJO del cuadro */
.promo-pricing,
.promo-main-pricing {
    background: var(--white);
    padding: var(--spacing-sm);
    display: flex;
    justify-content: space-around;
    align-items: center;
    border-top: 1px solid #eee;
}

.price-before,
.price-after {
    text-align: center;
    display: flex;
    flex-direction: column;
}

.label {
    font-size: 0.8rem;
    color: var(--text-light);
    margin-bottom: 2px;
    text-transform: uppercase;
}

.amount {
    font-size: 1rem;
    font-weight: var(--font-weight-bold);
    color: var(--text-light);
    text-decoration: line-through;
}

.amount.highlight {
    color: #4A90E2;
    text-decoration: none;
    font-size: 1.1rem;
}

/* Separador entre precios */
.price-before::after {
    content: "|";
    position: absolute;
    right: -10px;
    color: var(--text-light);
    font-size: 1.2rem;
}

.price-before {
    position: relative;
}

/* Botón ver más promociones */
.promotions-action {
    text-align: center;
    margin-top: var(--spacing-xl);
    width: 100%;
    clear: both;
}

.btn-see-more-promos {
    display: inline-block;
    padding: var(--spacing-sm) var(--spacing-xl);
    background-color: var(--accent-brown);
    color: var(--white);
    text-decoration: none;
    border-radius: var(--border-radius-xl);
    font-weight: var(--font-weight-medium);
    font-size: clamp(0.9rem, 2.5vw, 1rem);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: var(--shadow-light);
}

.btn-see-more-promos:hover {
    background: var(--primary-dark-beige);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
    text-decoration: none;
}

/* Responsive para tablets */
@media (max-width: 1024px) {
    .promotions-grid {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: repeat(3, 280px);
        gap: var(--spacing-md);
    }
    
    .promo-large {
        grid-column: 1 / -1;
        grid-row: 1;
    }
}

/* Responsive para móviles */
@media (max-width: 768px) {
    .promotions-section {
        padding: var(--spacing-xl) 0;
    }
    
    .promotions-container {
        padding: 0 var(--spacing-md);
    }
    
    .promotions-title {
        font-size: 2rem;
        margin-bottom: var(--spacing-lg);
        text-align: center;
    }
    
    .promotions-grid {
        grid-template-columns: 1fr;
        grid-template-rows: repeat(5, 300px);
        gap: var(--spacing-lg);
        margin-bottom: 50px; /* ESPACIO EXTRA ANTES DEL BOTÓN */
    }
    
    .team-shapes {
        display: none;
    }

    .team-wave-container {
        background: #EAE6DE;
    }
    
    .team-content {
        background: transparent;
    }

    .promo-large {
        grid-column: 1;
        grid-row: 3;
    }
    
    .promo-treatment {
        font-size: 0.85rem;
        padding: var(--spacing-xs) 0;
    }
    
    .promo-pricing,
    .promo-main-pricing {
        padding: var(--spacing-xs) var(--spacing-sm);
    }
    
    .label {
        font-size: 0.75rem;
    }
    
    .amount {
        font-size: 0.9rem;
    }
    
    .amount.highlight {
        font-size: 1rem;
    }
    
    /* Asegurar que las imágenes se ajusten correctamente */
    .promo-img,
    .promo-main-img {
        object-fit: cover;
        object-position: center;
    }
    
    /* MÁS ESPACIO PARA EL BOTÓN */
    .promotions-action {
        margin-top: 40px;
        padding: 0 var(--spacing-md);
    }
    
    .btn-see-more-promos {
        width: calc(100% - 40px);
        max-width: 320px;
        padding: 15px var(--spacing-lg);
    }
}

/* Responsive para móviles pequeños */
@media (max-width: 480px) {
    .promotions-title {
        font-size: 1.75rem;
    }
    
    .promotions-grid {
        grid-template-rows: repeat(5, 280px);
        gap: var(--spacing-md);
        margin-bottom: 40px; /* ESPACIO EXTRA */
    }
    
    .promotions-action {
        margin-top: 30px;
    }
    
    .btn-see-more-promos {
        width: calc(100% - 30px);
        max-width: 280px;
        padding: 12px var(--spacing-md);
        margin-top: 1080px;
    }

    
    .btn-see-more-promos {
        width: calc(100% - 30px);
        max-width: 280px;
        padding: 12px var(--spacing-md);
        margin-top: 860px;
    }
}

/* === SECCIÓN DE ESPACIOS DISEÑADOS === */
.spaces-section {
    padding: var(--spacing-xxl) 0;
    background: var(--white);
}

.spaces-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-lg);
}

.spaces-content {
    display: grid;
    grid-template-columns: 2fr 3fr;
    gap: var(--spacing-xxl);
    align-items: center;
    min-height: 500px;
}

/* Contenido de texto con fondo beige */
.spaces-info {
    position: relative;
}

.spaces-text-container {
    background: #EAE6DE;
    padding: 30px 20px;
    border-radius: 60px;
    box-shadow: var(--shadow-light);
    max-width: 500px;
}

.spaces-title {
    font-size: clamp(2rem, 5vw, 2.8rem);
    font-weight: var(--font-weight-bold);
    color: var(--accent-brown);
    margin-bottom: var(--spacing-xl);
    line-height: 1.2;
    letter-spacing: clamp(1px, 0.2vw, 1.5px);
}

.spaces-description {
    font-size: clamp(1rem, 2.5vw, 1.1rem);
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: var(--spacing-lg);
    text-align: left;
}

.spaces-description:last-child {
    margin-bottom: 0;
}

/* Grid de galería de imágenes */
.spaces-gallery {
    display: grid;
    padding-top: 10px;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 130px 200px;
    gap: var(--spacing-md);
    height: 100%;
}

.gallery-item {
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-medium);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-heavy);
}

/* Imagen pequeña - esquina superior izquierda */
.gallery-large {
    grid-column: 1;
    grid-row: 1;
}

/* Imagen pequeña - esquina superior derecha */
.gallery-small {
    grid-column: 2;
    grid-row: 1;
}

/* Imagen grande - ocupa toda la segunda fila */
.gallery-medium {
    grid-column: 1 / -1;
    grid-row: 2;
}

.gallery-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-img {
    transform: scale(1.05);
}

/* === RESPONSIVE DESIGN === */

/* Tablet */
@media (max-width: 768px) {
    .spaces-content {
        grid-template-columns: 1fr;
        gap: var(--spacing-xl);
        min-height: auto;
    }
    
    .spaces-info {
        order: 2;
    }
    
    .spaces-gallery {
        order: 1;
        grid-template-rows: 180px 140px;
        gap: var(--spacing-sm);
    }
    
    .spaces-text-container {
        padding: var(--spacing-xl);
        border-radius: 40px;
    }
}

/* Móvil */
@media (max-width: 480px) {
    .spaces-section {
        padding: var(--spacing-xl) 0;
    }
    
    .spaces-container {
        padding: 0 var(--spacing-md);
    }
    
    .spaces-content {
        gap: var(--spacing-lg);
    }
    
    .spaces-gallery {
        grid-template-columns: 1fr;
        grid-template-rows: repeat(3, 180px);
        gap: var(--spacing-sm);
    }
    
    .gallery-large {
        grid-column: 1;
        grid-row: 1;
    }
    
    .gallery-small {
        grid-column: 1;
        grid-row: 2;
    }
    
    .gallery-medium {
        grid-column: 1;
        grid-row: 3;
    }
    
    .spaces-text-container {
        padding: var(--spacing-lg);
        border-radius: 30px;
        max-width: none;
    }
    
    .spaces-title {
        margin-bottom: var(--spacing-lg);
    }
    
    .spaces-description {
        margin-bottom: var(--spacing-md);
    }
}

/* Móvil muy pequeño */
@media (max-width: 320px) {
    .spaces-gallery {
        grid-template-rows: repeat(3, 160px);
    }
    
    .spaces-text-container {
        padding: var(--spacing-md);
        border-radius: 25px;
    }
}

/* Pantallas muy grandes */
@media (min-width: 1400px) {
    .spaces-container {
        max-width: 1400px;
    }
    
    .spaces-content {
        gap: clamp(var(--spacing-xxl), 8vw, 120px);
    }
    
    .spaces-gallery {
        grid-template-rows: 250px 200px;
        gap: var(--spacing-lg);
    }
}

/* Optimizaciones para dispositivos táctiles */
@media (hover: none) and (pointer: coarse) {
    .gallery-item:hover {
        transform: none;
    }
    
    .gallery-item:active {
        transform: scale(0.98);
    }
    
    .gallery-img {
        transform: none;
    }
}

/* Reducir movimiento para usuarios que lo prefieren */
@media (prefers-reduced-motion: reduce) {
    .gallery-item,
    .gallery-img {
        transition: none;
    }
}

/* === SECCIÓN DE NUESTRA INSTALACIÓN === */
.location-section {
    padding: var(--spacing-xxl) 0;
    background: var(--white);
}

.location-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-lg);
}

.location-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-xxl);
    align-items: start;
}

/* Información de la clínica */
.location-info {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-lg);
}

.location-title {
    font-size: clamp(2.5rem, 6vw, 3.5rem);
    font-weight: var(--font-weight-bold);
    color: var(--primary-dark-beige);
    line-height: 1.2;
    margin-bottom: var(--spacing-md);
}

/* Badge de sede */
.location-badge {
    align-self: flex-start;
}

.badge-text {
    display: inline-block;
    padding: var(--spacing-sm) var(--spacing-lg);
    background: transparent;
    border: 2px solid var(--primary-beige);
    color: var(--primary-beige);
    border-radius: var(--border-radius-xl);
    font-weight: var(--font-weight-medium);
    font-size: clamp(0.9rem, 2vw, 1rem);
    transition: all 0.3s ease;
}

.badge-text:hover {
    background: var(--primary-beige);
    color: var(--white);
}

/* Foto de recepción */
.reception-photo {
    position: relative;
    height: 300px;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-medium);
}

.reception-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.photo-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(70, 130, 180, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
    transition: opacity 0.3s ease;
}

.reception-photo:hover .photo-overlay {
    opacity: 0;
}

.photo-label {
    color: var(--white);
    font-size: clamp(1.2rem, 3vw, 1.5rem);
    font-weight: var(--font-weight-bold);
    text-align: center;
    letter-spacing: 2px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

/* Detalles de la clínica */
.clinic-details {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-lg);
}

.schedule-info,
.address-info {
    display: flex;
    align-items: flex-start;
    gap: var(--spacing-md);
}

.clock-icon,
.location-icon {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    color: var(--text-light);
    margin-top: 4px;
}

.schedule-text,
.address-text {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-xs);
}

.schedule-days,
.clinic-name {
    font-size: clamp(1rem, 2.2vw, 1.1rem);
    color: var(--text-dark);
    font-weight: var(--font-weight-medium);
}

.schedule-weekend,
.clinic-address {
    font-size: clamp(0.9rem, 2vw, 1rem);
    color: var(--text-light);
    font-weight: var(--font-weight-normal);
}

/* Mapa */
.location-map {
    height: 100%;
    min-height: 400px;
}

.map-container {
    height: 100%;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-medium);
}

/* Placeholder del mapa */
.map-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #f5f5f5 0%, #e8e8e8 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    text-align: center;
    padding: var(--spacing-lg);
}

.map-placeholder span {
    font-size: clamp(1.2rem, 3vw, 1.4rem);
    font-weight: var(--font-weight-medium);
    margin-bottom: var(--spacing-sm);
}

.map-placeholder p {
    font-size: clamp(0.9rem, 2vw, 1rem);
    opacity: 0.8;
}

/* === RESPONSIVE DESIGN === */

/* Tablet */
@media (max-width: 768px) {
    .location-content {
        grid-template-columns: 1fr;
        gap: var(--spacing-xl);
    }
    
    .location-info {
        order: 1;
    }
    
    .location-map {
        order: 2;
        min-height: 300px;
    }
    
    .reception-photo {
        height: 250px;
    }
}

/* Móvil */
@media (max-width: 480px) {
    .location-section {
        padding: var(--spacing-xl) 0;
    }
    
    .location-container {
        padding: 0 var(--spacing-md);
    }
    
    .location-content {
        gap: var(--spacing-lg);
    }
    
    .location-info {
        gap: var(--spacing-md);
    }
    
    .reception-photo {
        height: 200px;
    }
    
    .location-map {
        min-height: 250px;
    }
    
    .clinic-details {
        gap: var(--spacing-md);
    }
    
    .schedule-info,
    .address-info {
        gap: var(--spacing-sm);
    }
}

/* Móvil muy pequeño */
@media (max-width: 320px) {
    .reception-photo {
        height: 180px;
    }
    
    .location-map {
        min-height: 200px;
    }
    
    .badge-text {
        padding: var(--spacing-xs) var(--spacing-md);
    }
}

/* Pantallas muy grandes */
@media (min-width: 1400px) {
    .location-container {
        max-width: 1400px;
    }
    
    .location-content {
        gap: clamp(var(--spacing-xxl), 8vw, 120px);
    }
    
    .location-map {
        min-height: 500px;
    }
}

/* Optimizaciones para dispositivos táctiles */
@media (hover: none) and (pointer: coarse) {
    .badge-text:hover {
        background: transparent;
        color: var(--primary-beige);
    }
    
    .photo-overlay {
        opacity: 0.7;
    }
    
    .reception-photo:hover .photo-overlay {
        opacity: 0.7;
    }
}

/* Reducir movimiento para usuarios que lo prefieren */
@media (prefers-reduced-motion: reduce) {
    .badge-text,
    .photo-overlay {
        transition: none;
    }
}

/* === SECCIÓN DE TESTIMONIOS === */
.testimonials-section {
    padding: var(--spacing-xxl) 0;
    background: var(--white);
    position: relative;
    overflow: hidden;
}

.testimonials-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 var(--spacing-lg);
    position: relative;
    z-index: 2;
}

/* Encabezado */
.testimonials-header {
    text-align: center;
    margin-bottom: var(--spacing-xxl);
}

.testimonials-subtitle {
    font-size: clamp(0.9rem, 2vw, 1rem);
    color: var(--primary-dark-beige);
    font-weight: var(--font-weight-medium);
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: var(--spacing-md);
}

.testimonials-title {
    font-size: clamp(2.5rem, 6vw, 3.5rem);
    font-weight: var(--font-weight-bold);
    color: var(--primary-dark-beige);
    line-height: 1.2;
}

/* Grid de testimonios */
.testimonials-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-xxl);
    margin-bottom: var(--spacing-xxl);
}

.testimonial-card {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-lg);
    padding: var(--spacing-xl);
    background: var(--white);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-light);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-heavy);
}

/* Estrellas */
.stars-rating {
    display: flex;
    gap: 4px;
    margin-bottom: var(--spacing-sm);
}

.star {
    color: #FFD700;
    font-size: clamp(1.2rem, 2.5vw, 1.4rem);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

/* Texto del testimonio */
.testimonial-text {
    font-size: clamp(1rem, 2.2vw, 1.1rem);
    color: var(--text-light);
    line-height: 1.6;
    font-style: italic;
    text-align: left;
    flex: 1;
}

/* Información del autor */
.testimonial-author {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    margin-top: auto;
}

.author-photo {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: var(--shadow-light);
    flex-shrink: 0;
}

.author-info {
    display: flex;
    flex-direction: column;
}

.author-name {
    font-size: clamp(1rem, 2vw, 1.1rem);
    font-weight: var(--font-weight-bold);
    color: var(--text-dark);
    line-height: 1.2;
}

.author-treatment {
    font-size: clamp(0.9rem, 1.8vw, 1rem);
    color: var(--text-light);
    font-weight: var(--font-weight-normal);
    line-height: 1.2;
}

/* Elementos decorativos de fondo */
.testimonials-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
    overflow: hidden;
}

.bg-text {
    position: absolute;
    font-size: clamp(8rem, 20vw, 15rem);
    font-weight: var(--font-weight-bold);
    color: rgba(212, 184, 150, 0.05);
    line-height: 1;
    white-space: nowrap;
    user-select: none;
}

.bg-text-1 {
    top: 20%;
    left: -10%;
    transform: rotate(-15deg);
}

.bg-text-2 {
    bottom: 20%;
    right: -10%;
    transform: rotate(15deg);
}

/* === RESPONSIVE DESIGN === */

/* Tablet */
@media (max-width: 768px) {
    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-xl);
    }
    
    .testimonial-card {
        padding: var(--spacing-lg);
        gap: var(--spacing-md);
    }
    
    .testimonials-header {
        margin-bottom: var(--spacing-xl);
    }
    
    .bg-text-1 {
        top: 10%;
        left: -20%;
    }
    
    .bg-text-2 {
        bottom: 10%;
        right: -20%;
    }
}

/* Móvil */
@media (max-width: 480px) {
    .testimonials-section {
        padding: var(--spacing-xl) 0;
    }
    
    .testimonials-container {
        padding: 0 var(--spacing-md);
    }
    
    .testimonials-grid {
        gap: var(--spacing-lg);
    }
    
    .testimonial-card {
        padding: var(--spacing-md);
        gap: var(--spacing-sm);
    }
    
    .testimonials-header {
        margin-bottom: var(--spacing-lg);
    }
    
    .author-photo {
        width: 40px;
        height: 40px;
    }
    
    .testimonial-author {
        gap: var(--spacing-sm);
    }
    
    .bg-text {
        display: none;
    }
}

/* Móvil muy pequeño */
@media (max-width: 320px) {
    .testimonial-card {
        padding: var(--spacing-sm);
    }
    
    .stars-rating {
        gap: 2px;
    }
    
    .star {
        font-size: 1.1rem;
    }
}

/* Pantallas muy grandes */
@media (min-width: 1400px) {
    .testimonials-container {
        max-width: 1200px;
    }
    
    .testimonials-grid {
        gap: clamp(var(--spacing-xxl), 8vw, 120px);
    }
}

/* Optimizaciones para dispositivos táctiles */
@media (hover: none) and (pointer: coarse) {
    .testimonial-card:hover {
        transform: none;
    }
    
    .testimonial-card:active {
        transform: scale(0.98);
    }
}

/* Reducir movimiento para usuarios que lo prefieren */
@media (prefers-reduced-motion: reduce) {
    .testimonial-card {
        transition: none;
    }
    
    .bg-text {
        animation: none;
    }
}

/* Mejorar contraste para accesibilidad */
@media (prefers-contrast: high) {
    .bg-text {
        opacity: 0.02;
    }
    
    .testimonial-card {
        border: 1px solid var(--primary-light-beige);
    }
}

/* Sección de Reservar Cita */
.appointment-section {
    padding: 80px 20px;
    background: var(--white);
}

.appointment-container {
    max-width: 1500px;
    margin: 0 auto;
    padding: 0 var(--spacing-lg);
}

.appointment-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2px;
    align-items: center;
    padding-left: 130px;
}

/* Contenedor izquierdo - Imagen + Texto superpuesto */
.appointment-image-left {
    position: relative;
    height: 450px;
}

.professionals-img {
    height: 100%;
    border-radius: 60px 30px 50px 40px;
    object-fit: cover;
    display: block;
}

/* Texto centrado directamente sobre la imagen - SIN FONDO */
.info-shape {
    position: absolute;
    top: 50%;
    left: 40%;
    transform: translate(-40%, -50%);
    text-align: left;
    max-width: 75%;
    z-index: 2;
    padding-left: 30px;
}

.appointment-title {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: var(--font-weight-bold);
    color: var(--primary-dark-beige);
    line-height: 1.2;
    margin-bottom: 5px;
}

.appointment-description {
    font-size: 1rem;
    color: var(--text-dark);
    line-height: 1.6;
    margin-bottom: 5px;
}

.appointment-contact {
    font-size: 1rem;
    color: var(--text-dark);
    line-height: 1.6;
    margin-bottom: 25px;
}

.appointment-contact strong {
    color: var(--text-dark);
    font-weight: var(--font-weight-bold);
}

.btn-appointment {
    display: inline-block;
    padding: 12px 30px;
    background-color: #4A6FA5;
    color: var(--white);
    text-decoration: none;
    border-radius: 50px;
    font-weight: var(--font-weight-medium);
    font-size: 0.95rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(74, 111, 165, 0.3);
}

.btn-appointment:hover {
    background-color: #3A5A95;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(74, 111, 165, 0.4);
    color: var(--white);
    text-decoration: none;
}

/* Imagen derecha - Sin fondo */
.appointment-image-right {
    position: relative;
    height: 400px;
    padding-right: 250px;
}

.appointment-image-right .professionals-img {
    border-radius: 50px 60px 40px 30px;
}

/* Responsive */
@media (max-width: 1200px) {
    .appointment-image-left,
    .appointment-image-right {
        height: 450px;
    }
    
    .info-shape {
        padding: 40px 35px;
    }
}

/* OCULTAR TODA LA SECCIÓN EN TABLETS (iPads) Y MÓVILES */
@media (max-width: 1024px) {
    .appointment-section {
        display: none;
    }
}

@media (max-width: 768px) {
    .appointment-section {
        display: none;
    }
}

@media (max-width: 480px) {
    .appointment-section {
        display: none;
    }
}
/* === FOOTER === */
a{
    text-align: none;
    text-decoration: none;
}

.footer-section {
    background-color: #1a1a1a;
    color: var(--white);
    padding: var(--spacing-xxl) 0 var(--spacing-lg) 0;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-lg);
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: var(--spacing-xxl);
    margin-bottom: var(--spacing-xl);
}

.footer-column {
    display: flex;
    flex-direction: column;
}

/* Títulos de las columnas */
.footer-title {
    font-size: clamp(1.2rem, 2.8vw, 1.4rem);
    font-weight: var(--font-weight-bold);
    color: var(--white);
    margin-bottom: var(--spacing-lg);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Texto sobre nosotros */
.footer-text {
    font-size: clamp(0.9rem, 2vw, 1rem);
    color: #cccccc;
    line-height: 1.6;
    text-align: justify;
}

/* Enlaces de contacto */
.contact-links {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

.contact-link {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    color: var(--white);
    text-decoration: none;
    transition: all 0.3s ease;
    padding: var(--spacing-xs) 0;
}

.contact-link:hover {
    color: var(--primary-beige);
    text-decoration: none;
    transform: translateX(5px);
}

/* Iconos sociales */
.social-icon {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.facebook-icon {
    color: #1877F2;
}

.instagram-icon {
    color: #E4405F;
}

.whatsapp-icon {
    color: #25D366;
}

.tiktok-icon {
    color: #000000;
    background: var(--white);
    border-radius: 4px;
    padding: 2px;
}

.contact-link:hover .social-icon {
    transform: scale(1.1);
}

.contact-link span {
    font-size: clamp(0.9rem, 2vw, 1rem);
    font-weight: var(--font-weight-medium);
}

/* Libro de reclamaciones */
.complaints-book {
    text-align: center;
    background-color: #2a2a2a;
    padding: var(--spacing-xl);
    border-radius: var(--border-radius-lg);
    border: 2px solid #444444;
    transition: all 0.3s ease;
}

.complaints-book:hover {
    border-color: var(--primary-beige);
    transform: translateY(-3px);
}

.complaints-title {
    font-size: clamp(1rem, 2.5vw, 1.2rem);
    font-weight: var(--font-weight-bold);
    color: var(--white);
    margin-bottom: var(--spacing-lg);
    text-transform: uppercase;
    letter-spacing: 1px;
    line-height: 1.3;
}

.book-icon {
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--white);
    margin-top: var(--spacing-md);
}

.book-icon svg {
    width: 80px;
    height: 60px;
    opacity: 0.8;
}

/* Footer bottom */
.footer-bottom {
    border-top: 1px solid #444444;
    padding-top: var(--spacing-lg);
    text-align: center;
}

.copyright {
    font-size: clamp(0.8rem, 1.8vw, 0.9rem);
    color: #888888;
    margin: 0;
}

/* === RESPONSIVE DESIGN === */

/* Tablet */
@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: var(--spacing-xl);
        text-align: center;
    }
    
    .footer-text {
        text-align: left;
    }
    
    .contact-links {
        align-items: center;
    }
    
    .contact-link {
        justify-content: center;
        max-width: 300px;
        margin: 0 auto;
    }
    
    .complaints-book {
        max-width: 400px;
        margin: 0 auto;
    }
}

/* Móvil */
@media (max-width: 480px) {
    .footer-section {
        padding: var(--spacing-xl) 0 var(--spacing-md) 0;
    }
    
    .footer-container {
        padding: 0 var(--spacing-md);
    }
    
    .footer-content {
        gap: var(--spacing-lg);
        margin-bottom: var(--spacing-lg);
    }
    
    .complaints-book {
        padding: var(--spacing-lg);
        max-width: 320px;
    }
    
    .book-icon svg {
        width: 60px;
        height: 45px;
    }
    
    .contact-link {
        padding: var(--spacing-sm) 0;
    }
}

/* Móvil muy pequeño */
@media (max-width: 320px) {
    .complaints-book {
        padding: var(--spacing-md);
        max-width: 280px;
    }
    
    .social-icon {
        width: 20px;
        height: 20px;
    }
}

/* Pantallas muy grandes */
@media (min-width: 1400px) {
    .footer-container {
        max-width: 1400px;
    }
    
    .footer-content {
        gap: clamp(var(--spacing-xxl), 8vw, 120px);
    }
}

/* Optimizaciones para dispositivos táctiles */
@media (hover: none) and (pointer: coarse) {
    .contact-link:hover,
    .complaints-book:hover {
        transform: none;
    }
    
    .contact-link:active {
        transform: scale(0.98);
    }
    
    .complaints-book:active {
        transform: scale(0.98);
    }
    
    .social-icon {
        transform: none;
    }
}

/* Reducir movimiento para usuarios que lo prefieren */
@media (prefers-reduced-motion: reduce) {
    .contact-link,
    .complaints-book,
    .social-icon {
        transition: none;
    }
}

/* Mejorar contraste para accesibilidad */
@media (prefers-contrast: high) {
    .footer-text {
        color: #e0e0e0;
    }
    
    .copyright {
        color: #b0b0b0;
    }
    
    .complaints-book {
        border-color: #666666;
    }
}