/* Marca de agua temporal: PRUEBA */
.watermark-prueba::before {
/*     display: none;
    content: 'PRUEBA PRUEBA PRUEBA PRUEBA PRUEBA';
    position: fixed;
    inset: 0;
    display: block;
    font-family: 'Montserrat', sans-serif;
    font-size: 9vw;
    line-height: 1.4;
    color: rgba(0, 0, 0, 0.12);
    user-select: none;
    pointer-events: none;
    z-index: 2000;
    transform: rotate(-25deg);
    transform-origin: center;
    text-align: center;
    letter-spacing: 1vw;
    background-image: repeating-linear-gradient(
        -25deg,
        rgba(0, 0, 0, 0.12) 0,
        rgba(0, 0, 0, 0.12) 2px,
        transparent 2px,
        transparent 80px
    );
    -webkit-mask-image: radial-gradient(circle at 50% 50%, rgba(0,0,0,0.9), rgba(0,0,0,0.75));
    mask-image: radial-gradient(circle at 50% 50%, rgba(0,0,0,0.9), rgba(0,0,0,0.75)); */
}
:root {
    --color-pink: #FFB6C1;
    --color-purple: #9370DB;
    --color-white: #FFFFFF;
    --color-black: #000000;
    --gradient-primary: linear-gradient(to bottom, var(--color-pink), var(--color-purple));
    --font-italiana: 'Italiana', serif;
    --font-montserrat: 'Montserrat', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-montserrat);
    line-height: 1.6;
    color: var(--color-black);
    max-width: 1920px;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 0 auto;
    overflow-x: hidden;
}

/* Header & Navigation */
header {
    width: 100%;
    z-index: 1000;
    position: absolute;
    top: 0;
    transition: all 0.3s ease;
    background: transparent;
}

header.scroll-down {
    transform: translateY(-100%);
}

header.scroll-up {
    transform: translateY(0);
}

nav {
    width: 100%;
}

.nav-container {
    max-width: 1800px;
    margin: 0 auto;
    padding: 0.5rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-links {
    flex: 1;
    display: flex;
    justify-content: center;
}

.nav-links ul {
    display: flex;
    justify-content: center;
    align-items: center;
    list-style: none;
    gap: 1.5rem;
}

nav a {
    text-decoration: none;
    color: var(--color-white);
    font-size: 0.75rem;
    letter-spacing: 0.5px;
    padding: 0.5rem;
    transition: color 0.3s ease;
    white-space: nowrap;
    font-weight: 500;
}

nav a:hover {
    color: var(--color-purple);
}

.logo {
    padding: 0.5rem;
}

.logo img {
    height: 80px;
    width: auto;
    transition: transform 0.3s ease;
    filter: brightness(0) invert(1);
}

.logo a:hover img {
    transform: scale(1.05);
}

/* Menú Hamburguesa */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 1001;
}

.hamburger {
    display: block;
    position: relative;
    width: 24px;
    height: 2px;
    background: var(--color-white);
    transition: all 0.3s ease;
}

.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
    width: 24px;
    height: 2px;
    background: var(--color-white);
    transition: all 0.3s ease;
}

.hamburger::before {
    top: -6px;
}

.hamburger::after {
    bottom: -6px;
}

/* Menú Hamburguesa Activo */
.menu-toggle.active .hamburger {
    background: transparent;

}

.menu-toggle.active .hamburger::before {
    transform: rotate(45deg);
    top: 0;
 
}

.menu-toggle.active .hamburger::after {
    transform: rotate(-45deg);
    bottom: 0;
 
}

/* Hero Section */
.hero {
    background: var(--gradient-primary);
    min-height: 100vh;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    grid-template-rows: 1.8fr;
    padding: 8rem 12rem 4rem;
    gap: 0 6rem;
    position: relative;
    max-width: 1920px;
    margin: 0 auto;
}

.hero-top, .hero-bottom {
    color: var(--color-white);
    z-index: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.hero-top {
    grid-column: 2;
    grid-row: 1;
}

.slider {
    grid-column: 1;
    grid-row: 1 / span 2;
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 750px;
    overflow: hidden;
    border-radius: 8px;
}

.hero-bottom {
    grid-column: 2;
    grid-row: 2;
}

.hero h1 {
    font-family: var(--font-italiana);
    font-size: 4rem;
    font-weight: normal;
    margin-bottom: 1rem;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
    white-space: nowrap;
}

.hero h2 {
    font-size: 1.8rem;
    font-weight: 300;
    margin-bottom: 2rem;
    letter-spacing: 2px;
    color: rgba(255, 255, 255, 0.9);
}

.hero-features {
    margin-bottom: 2.5rem;
}

.hero-features p {
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.hero-cta {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 1rem;
}

.btn {
    display: inline-block;
    padding: 1rem 2rem;
    border: 2px solid var(--color-white);
    color: var(--color-white);
    text-decoration: none;
    font-size: 1rem;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    width: fit-content;
    border-radius: 30px;
    text-align: center;
}

.btn-primary {
    background: var(--color-white);
    color: var(--color-purple);
}

.btn-primary:hover {
    background: transparent;
    color: var(--color-white);
}

.btn-secondary {
    background: transparent;
}

.btn-secondary:hover {
    background: var(--color-white);
    color: var(--color-white);
}

.hero-image {
    flex: 1;
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
}

/* Estilos para pantallas grandes */
@media (min-width: 1920px) {
    .hero {
        min-height: 1080px;
    }
    
    nav a{
        font-size: 1rem;
    }
}

@media (min-width: 1441px) and (max-width: 1920px) {
    .hero {
        grid-template-columns: 1.2fr 0.8fr;
        padding: 8rem 12rem 4rem;
        gap: 0 6rem;
    }

    .hero h1 {
        font-size: 5rem;
        margin-bottom: 1.5rem;
    }

    .hero h2 {
        font-size: 2.2rem;
        margin-bottom: 2.5rem;
    }

    .hero-features p {
        font-size: 1.6rem;
        margin-bottom: 1.2rem;
    }

    .slider {
        min-height: 750px;
    }

    .btn {
        font-size: 1.3rem;
        padding: 1.4rem 2.8rem;
    }

    .hero-cta {
        gap: 2rem;
    }

}

@media (min-width: 1201px) and (max-width: 1700px) {
    .hero {
        padding: 8rem 4rem 4rem;
    }

    .hero h1 {
        font-size: 4rem;
    }

    .hero h2 {
        font-size: 1.8rem;
    }

    .hero-features p {
        font-size: 1.2rem;
    }

    .slider {
        min-height: 500px;
    }
}

@media (min-width: 993px) and (max-width: 1200px) {
    .hero {
        padding: 8rem 3rem 4rem;
        gap: 3rem;
    }

    .hero h1 {
        font-size: 3.5rem;
    }

    .hero h2 {
        font-size: 1.6rem;
    }

    .hero-features p {
        font-size: 1.1rem;
    }

    .slider {
        min-height: 450px;
    }

    .btn {
        padding: 0.9rem 1.8rem;
        font-size: 0.9rem;
    }
}

/* Media queries existentes */
@media (max-width: 992px) {
    .logo{
        margin: 0;
    }
    .menu-toggle {
        display: block;
        position: fixed;
        top: 1.5rem;
        left: 1.5rem;
        z-index: 1002;
    }

    .nav-container {
        padding: 1.5rem;
    }

    .nav-links {
        position: fixed;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100vh;
        background: var(--color-purple);
        padding-top: 100px;
        transition: left 0.3s ease;
        overflow-y: auto;
        z-index: 1001;
    }

    .nav-links.active {
        left: 0;
    }

    .nav-links ul {
        flex-direction: column;
        gap: 1.5rem;
        padding: 2rem;
    }

    .nav-links a {
        font-size: 1rem;
        padding: 0.5rem 1rem;
        color: var(--color-white);
    }

    .nav-links a:hover {
        color: var(--color-pink);
    }

    .logo {
        position: fixed;
        top: 0.5rem;
        left: 50%;
        transform: translateX(-50%);
        z-index: 1002;
    }

    .logo img {
        height: 60px;
    }

    /* Ajuste para el contenido cuando el menú está abierto */
    body.menu-open {
        overflow: hidden;
    }

    .hero {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 6rem 2rem 2rem;
    }

    .hero-top {
        grid-column: 1;
        grid-row: 1;
        text-align: center;
    }

    .slider {
        grid-column: 1;
        grid-row: 2;
        min-height: 400px;
    }

    .hero-bottom {
        grid-column: 1;
        grid-row: 3;
        text-align: center;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero h2 {
        font-size: 1.2rem;
        margin-bottom: 1rem;
    }

    .hero-features {
        margin-bottom: 1.5rem;
    }

    .hero-features p {
        font-size: 1rem;
    }

    .hero-cta {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }

    .btn {
        width: 100%;
        max-width: 300px;
    }
}

@media (max-width: 768px) {
    .hero {
        padding: 5rem 1rem 2rem;
        gap: 1.5rem;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero h2 {
        font-size: 1.2rem;
        margin-bottom: 1rem;
    }

    .hero-features {
        margin-bottom: 1.5rem;
    }

    .hero-features p {
        font-size: 1rem;
    }

    .slider {
        min-height: 300px;
    }

    .hero-cta {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }

    .btn {
        width: 100%;
        max-width: 300px;
    }
}

/* Añadir un menú hamburguesa para móviles si es necesario */
@media (max-width: 576px) {
    nav ul {
        flex-wrap: nowrap;
        justify-content: flex-start;
    }
 
}

/* Orientación landscape en móviles */
@media (max-height: 500px) and (orientation: landscape) {
    .hero {
        padding: 4rem 1rem 2rem;
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }

    .slider {
        min-height: 250px;
        order: 0;
    }

    .hero-content {
        padding: 0;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .hero-content h2 {
        font-size: 1rem;
        margin-bottom: 1rem;
    }

    .hero-features p {
        font-size: 0.9rem;
        margin-bottom: 0.5rem;
    }

    .btn {
        padding: 0.75rem 1.5rem;
        font-size: 0.9rem;
    }
}

/* Slider Styles */
.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
}

.slide.active {
    opacity: 1;
}

.slide img {
    height: 100%;
    width: auto;
    object-fit: contain;
    border-radius: 8px;
}

/* Slider Navigation */
.slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.3);
    color: white;
    padding: 1rem;
    border: none;
    cursor: pointer;
    font-size: 1.5rem;
    border-radius: 50%;
    width: 3rem;
    height: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s ease;
}

.slider-nav:hover {
    background: rgba(255, 255, 255, 0.5);
}

.slider-nav.prev {
    left: 1rem;
}

.slider-nav.next {
    right: 1rem;
}

/* Slider Dots */
.slider-dots {
    position: absolute;
    bottom: 1rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.5rem;
}

.dot {
    width: 0.75rem;
    height: 0.75rem;
    border-radius: 50%;
    border: 2px solid white;
    background: transparent;
    cursor: pointer;
    padding: 0;
    transition: background-color 0.3s ease;
}

.dot.active {
    background: white;
}

/* Services Section */
.services {
    padding: 6rem 6rem;
    text-align: center;
    background-color: var(--color-white);
    max-width: 1920px;
    margin: 0 auto;
    width: 100%;
}

.services h2 {
    font-family: var(--font-italiana);
    font-size: 3.5rem;
    font-weight: normal;
    margin-bottom: 2rem;
    color: var(--color-purple);
}

.services > p {
    max-width: 800px;
    margin: 0 auto 6rem;
    color: rgba(0, 0, 0, 0.7);
    font-size: 1.4rem;
    line-height: 1.6;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
    max-width: 1600px;
    margin: 0 auto;
    width: 50%;
    padding: 0 2rem;
}

.service-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.service-card a{
    text-decoration: none;
    color: var(--color-black);
    width: 100%;
}
.service-card p{
    display: flex;
    align-items: start;
    justify-content: center;
    gap: .5rem;
}

.service-card p img{
    width: 20px;
    height: 20px;
}

.service-card .image-container {
    width: 100%;
    aspect-ratio: 3/3.5;
    border-radius: 12rem 12rem 0 0;
    overflow: hidden;
    margin-bottom: 1.5rem;
}

.service-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.service-card:hover img {
    transform: scale(1.05);
}

.service-card h3 {
    font-family: var(--font-italiana);
    font-size: 2.2rem;
    font-weight: normal;
    color: var(--color-black);
    margin-bottom: 1rem;
}

.service-card .divider {
    width: 60px;
    height: 2px;
    background-color: var(--color-purple);
    margin: 0.5rem auto;
}

/* Contact Section */
.contact {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    padding: 6rem 6rem;
    background: var(--color-white);
    position: relative;
    overflow: hidden;
    max-width: 1920px;
    margin: 0 auto;
}

.contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at top right, rgba(147, 112, 219, 0.1), transparent 60%);
    pointer-events: none;
}

.contact-content {
    padding-right: 1.5rem;
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
}

.contact-content h2 {
    font-family: var(--font-italiana);
    font-size: 3.5rem;
    color: var(--color-purple);
    margin-bottom: 1.5rem;
    text-align: center;
}

.contact-content .divider {
    width: 60px;
    height: 2px;
    background-color: var(--color-purple);
    margin: 0 auto 2rem;
}

.contact-content > p {
    font-size: 1.4rem;
    color: rgba(0, 0, 0, 0.7);
    line-height: 1.6;
    margin-bottom: 3rem;
    text-align: center;
}

/* Media queries para mantener consistencia */
@media (max-width: 1600px) {
    .contact-content h2 {
        font-size: 3.2rem;
    }
}

@media (max-width: 1200px) {
    .contact-content h2 {
        font-size: 3rem;
    }

    .contact-content > p {
        font-size: 1.3rem;
    }
}

@media (max-width: 992px) {
    .contact-content h2 {
        font-size: 2.8rem;
    }

    .contact-content > p {
        font-size: 1.2rem;
        margin-bottom: 2.5rem;
    }
}

@media (max-width: 768px) {
    .contact-content h2 {
        font-size: 2.5rem;
    }

    .contact-content > p {
        font-size: 1.1rem;
        margin-bottom: 2rem;
    }
}

@media (max-width: 480px) {
    .contact-content h2 {
        font-size: 2.2rem;
    }

    .contact-content > p {
        font-size: 1rem;
    }
}

.contact-info-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.contact-info-item {
    text-align: center;
    padding: 1.5rem;
    background: rgba(147, 112, 219, 0.05);
    border-radius: 0.8rem;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.contact-info-item:hover {
    transform: translateY(-3px);
    border-color: rgba(147, 112, 219, 0.2);
    box-shadow: 0 5px 15px rgba(147, 112, 219, 0.1);
}

.contact-info-item i {
    font-size: 1.5rem;
    margin-bottom: 0.8rem;
    color: var(--color-purple);
    transition: transform 0.3s ease;
}

.contact-info-item:hover i {
    transform: scale(1.1);
}

.contact-info-item h3 {
    font-size: 1rem;
    margin-bottom: 0.4rem;
    color: var(--color-purple);
}

.contact-info-item p,
.contact-info-item a {
    font-size: 0.9rem;
    line-height: 1.4;
    color: rgba(0, 0, 0, 0.7);
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-info-item a:hover {
    color: var(--color-purple);
}

.contact form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.form-group {
    position: relative;
}

.contact input,
.contact select,
.contact textarea {
    width: 100%;
    padding: 0.8rem;
    font-size: 0.9rem;
    border: 1px solid rgba(147, 112, 219, 0.2);
    border-radius: 0.5rem;
    background: rgba(255, 255, 255, 0.8);
    color: rgba(0, 0, 0, 0.8);
    transition: all 0.3s ease;
    font-family: var(--font-montserrat);
}

.contact select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%239370DB' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14L2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: calc(100% - 1rem) center;
    padding-right: 2.5rem;
}

.contact input:focus,
.contact select:focus,
.contact textarea:focus {
    outline: none;
    border-color: var(--color-purple);
    box-shadow: 0 0 0 3px rgba(147, 112, 219, 0.1);
    background: white;
}

.contact textarea {
    height: 120px;
    resize: none;
}

.contact button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    border: 2px solid var(--color-purple);
    color: var(--color-purple);
    text-decoration: none;
    font-size: 1rem;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    width: fit-content;
    border-radius: 30px;
    text-align: center;
    background: transparent;
    cursor: pointer;
}

.contact button:hover {
    background: var(--color-purple);
    color: var(--color-white);
    transform: translateY(-2px);
}

.contact button:active {
    transform: translateY(0);
}

.contact button i {
    font-size: 1.1rem;
}

.contact-image {
    position: relative;
    min-height: 500px;
    border-radius: 1.5rem;
    overflow: hidden;
    
}
.contact-image .overlay{
    position: absolute;
    z-index: 1;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.336), rgba(0, 0, 0, 0.062));
}
.contact-image p{
    position: absolute;
    z-index: 2;
    bottom: 0;
    padding: 2rem;
    text-align: center;
    color: var(--color-white);
}

.contact-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.contact-image:hover img {
    transform: scale(1.03);
}

@media (max-width: 1200px) {
    .contact {
        padding: 4rem 3rem;
    }

    .contact-content h2 {
        font-size: 2.5rem;
    }
}

@media (max-width: 992px) {
    .contact {
        grid-template-columns: 1fr;
        padding: 3rem 2rem;
    }

    .contact-content {
        padding-right: 0;
    }

    .contact-image {
        min-height: 350px;
        order: -1;
    }

    .contact button {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .contact {
        padding: 2.5rem 1.5rem;
    }

    .contact-content h2 {
        font-size: 2.2rem;
    }

    .contact-info-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .contact-info-item {
        padding: 1rem;
    }

    .contact-image {
        min-height: 250px;
    }

    .contact-info-item:hover {
        transform: none;
    }
}

@media (max-width: 480px) {
    .contact {
        padding: 2rem 1rem;
    }

    .contact-content h2 {
        font-size: 2rem;
    }

    .contact-info-item {
        text-align: left;
        display: grid;
        grid-template-columns: auto 1fr;
        align-items: center;
        gap: 1rem;
    }

    .contact-info-item i {
        margin-bottom: 0;
        font-size: 1.2rem;
    }
}

/* Footer */
footer {
    background: var(--gradient-primary);
    padding: 6rem 6rem 2rem;
    color: var(--color-white);
    width: 100%;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 4rem;
    max-width: 1600px;
    margin: 0 auto;
}

.footer-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.footer-logo img {
    height: 80px;
    width: auto;
    filter: brightness(0) invert(1);
}

.footer-description {
    font-size: 1.1rem;
    line-height: 1.6;
    opacity: 0.9;
}

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.contact-item i {
    font-size: 1.2rem;
}

.contact-item a,
.contact-item p {
    color: var(--color-white);
    text-decoration: none;
    font-size: 1rem;
    opacity: 0.9;
    transition: opacity 0.3s ease;
}

.contact-item a:hover {
    opacity: 1;
}
footer .footer-links video{
    width: auto;
    height: 400px;
    margin-top: 1rem;
    border-radius: 10px;
   
}
.footer-links h3,
.footer-social h3 {
    font-family: var(--font-italiana);
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    font-weight: normal;
}

.footer-links ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.footer-links a {
    color: var(--color-white);
    text-decoration: none;
    font-size: 1rem;
    opacity: 0.9;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    opacity: 1;
    transform: translateX(5px);
}

.social-links {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.social-links a {
    color: var(--color-white);
    font-size: 1.5rem;
    transition: all 0.3s ease;
    opacity: 0.9;
}

.social-links a:hover {
    opacity: 1;
    transform: translateY(-3px);
}

.schedule {
    background: rgba(255, 255, 255, 0.1);
    padding: 1.5rem;
    border-radius: 1rem;
}

.schedule h4 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    font-weight: 500;
}

.schedule p {
    font-size: 0.9rem;
    opacity: 0.9;
    margin-bottom: 0.5rem;
}

.footer-bottom {
    margin-top: 4rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.footer-bottom p {
    font-size: 0.9rem;
    opacity: 0.8;
}

@media (max-width: 1200px) {
    footer {
        padding: 4rem 3rem 2rem;
    }

    .footer-grid {
        gap: 3rem;
    }

    .footer-links h3,
    .footer-social h3 {
        font-size: 1.6rem;
    }
}

@media (max-width: 992px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
    }

    footer {
        padding: 3rem 2rem 2rem;
    }
}

@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    footer {
        padding: 2.5rem 1.5rem 2rem;
    }

    .footer-info {
        text-align: center;
        align-items: center;
    }

    .footer-links,
    .footer-social {
        text-align: center;
    }

    .footer-links ul {
        align-items: center;
    }

    .social-links {
        justify-content: center;
    }

    .contact-item {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    footer {
        padding: 2rem 1rem 1.5rem;
    }

    .footer-grid {
        gap: 2rem;
    }

    .footer-logo img {
        height: 60px;
    }
}

/* Responsive Navigation */
@media (max-width: 1400px) {
    nav {
        max-width: 100%;
    }

    nav ul {
        gap: 0.75rem;
    }

    .logo {
        margin: 0 1rem;
    }

    nav a {
        font-size: 0.7rem;
        padding: 0.5rem 0.2rem;
    }

    .logo img {
        height: 70px;
    }
}

@media (max-width: 1200px) {
    .nav-container {
        padding: 0.5rem 1rem;
    }

    .nav-links ul {
        gap: 1rem;
    }

    .logo img {
        height: 70px;
    }

    .services {
        padding: 4rem 3rem;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .services {
        padding: 2.5rem 1.5rem;
    }

    .services h2 {
        font-size: 2.5rem;
        margin-bottom: 1.5rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        max-width: 400px;
        width: 80%;
    }

    .services > p {
        max-width: 600px;
        margin: 0 auto 4rem;
        font-size: 1.2rem;
        width: 80%;
    
    }
}

@media (max-width: 576px) {
    nav ul {
        flex-wrap: nowrap;
        justify-content: flex-start;
    }
}

/* Orientación landscape en móviles */
@media (max-height: 500px) and (orientation: landscape) {
    .hero {
        padding: 4rem 1rem 2rem;
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }

    .slider {
        min-height: 250px;
        order: 0;
    }

    .hero-content {
        padding: 0;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .hero-content h2 {
        font-size: 1rem;
        margin-bottom: 1rem;
    }

    .hero-features p {
        font-size: 0.9rem;
        margin-bottom: 0.5rem;
    }

    .btn {
        padding: 0.75rem 1.5rem;
        font-size: 0.9rem;
    }
}

/* Slider Styles */
.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
}

.slide.active {
    opacity: 1;
}

.slide img {
    height: 100%;
    width: auto;
    object-fit: contain;
    border-radius: 8px;
}

/* Slider Navigation */
.slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.3);
    color: white;
    padding: 1rem;
    border: none;
    cursor: pointer;
    font-size: 1.5rem;
    border-radius: 50%;
    width: 3rem;
    height: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s ease;
}

.slider-nav:hover {
    background: rgba(255, 255, 255, 0.5);
}

.slider-nav.prev {
    left: 1rem;
}

.slider-nav.next {
    right: 1rem;
}

/* Slider Dots */
.slider-dots {
    position: absolute;
    bottom: 1rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.5rem;
}

.dot {
    width: 0.75rem;
    height: 0.75rem;
    border-radius: 50%;
    border: 2px solid white;
    background: transparent;
    cursor: pointer;
    padding: 0;
    transition: background-color 0.3s ease;
}

.dot.active {
    background: white;
}

@media (max-width: 1440px) {
    .service-card h3 {
        font-size: 1.8rem;
        margin-bottom: 0.8rem;
    }

    .service-card .divider {
        width: 50px;
        height: 1px;
    }
}

@media (max-width: 992px) {
    .service-card h3 {
        font-size: 1.5rem;
        margin-bottom: 0.5rem;
    }

    .service-card .divider {
        width: 40px;
    }
}

/* Modal Promocional */
.promo-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 2000;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.promo-modal.active {
    display: flex;
    opacity: 1;
}

.modal-content {
    background: linear-gradient(135deg, #9370DB, #FFB6C1);
    max-width: 1200px;
    width: 90%;
    max-height: 90vh;
    display: grid;
    grid-template-columns: 1fr 1fr;
    border-radius: 2rem;
    position: relative;
    transform: translateY(-50px);
    transition: transform 0.3s ease;
    overflow: auto;
    scrollbar-width: none;

}

.promo-modal.active .modal-content {
    transform: translateY(0);
}

.modal-image {
    height: 100%;
    overflow: hidden;
}

.modal-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.modal-text {
    padding: 3rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: var(--color-white);
}

.modal-text h2 {
    font-family: var(--font-montserrat);
    font-size: 4.5rem;
    font-weight: 300;
    margin-bottom: 1rem;
    letter-spacing: 2px;
}

.modal-text .divider {
    width: 60px;
    height: 2px;
    background-color: var(--color-white);
    margin: 1rem auto 2rem;
}

.promo-description {
    margin-bottom: 2rem;
}

.promo-description .highlight {
    font-size: 2.5rem;
    font-weight: 300;
    margin-bottom: 1rem;
    letter-spacing: 1px;
}

.promo-description .tech {
    font-size: 2rem;
    font-weight: 300;
    letter-spacing: 1px;
}

.season-offer {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 2rem;
}

.offer-label {
    font-size: 1.8rem;
    font-weight: 300;
}

.season {
    font-size: 2.2rem;
    font-weight: 500;
    background: var(--color-white);
    color: var(--color-purple);
    padding: 0.5rem 2rem;
    border-radius: 2rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.contact-info p {
    font-size: 1.8rem;
    font-weight: 300;
}

.contact-info .phone {
    font-size: 2.2rem;
    color: var(--color-white);
    text-decoration: none;
    font-weight: 500;
}

.close-modal {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: none;
    border: none;
    font-size: 2rem;
    color: var(--color-white);
    cursor: pointer;
    z-index: 1;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.close-modal:hover {
    background: rgba(255, 255, 255, 0.2);
}

@media (max-width: 1440px) {
    .modal-text h2 {
        font-size: 3.5rem;
    }

    .promo-description .highlight {
        font-size: 2rem;
    }

    .promo-description .tech {
        font-size: 1.6rem;
    }

    .offer-label {
        font-size: 1.4rem;
    }

    .season {
        font-size: 1.8rem;
        padding: 0.4rem 1.5rem;
    }

    .contact-info p {
        font-size: 1.4rem;
    }

    .contact-info .phone {
        font-size: 1.8rem;
    }
}

@media (max-width: 992px) {
    .modal-content {
        grid-template-columns: 1fr;
        max-width: 400px;
        height: auto;
    }

    .modal-image {
        height: auto;
    }

    .modal-text {
        padding: 2rem;
    }

    .modal-text h2 {
        font-size: 2.8rem;
    }

    .promo-description .highlight {
        font-size: 1.8rem;
    }

    .promo-description .tech {
        font-size: 1.4rem;
    }

    .offer-label {
        font-size: 1.2rem;
    }

    .season {
        font-size: 1.6rem;
    }

    .contact-info p {
        font-size: 1.2rem;
    }

    .contact-info .phone {
        font-size: 1.6rem;
    }
}

/* Clinic Story Section */
.clinic-story {
    display: grid;
    grid-template-columns: 1fr ;
    gap: 4rem;
    padding: 0 4rem;
    background: var(--gradient-primary);
    max-width: 1920px;
    margin: 0 auto;
    align-items: center;
    text-align: center;
}

.story-image {
    position: relative;
    height: 100%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.story-image video {
    border-radius: 2rem 2rem 2rem 2rem;
    height: 90%;
    object-fit: cover;
}

.story-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 2rem;
    min-height: 67vh;
    scrollbar-width: none;
    -ms-overflow-style: none;
    color: var(--color-white);
}

.story-content::-webkit-scrollbar {
    display: none;
}

.story-content .since {
    font-size: 1.2rem;
    color: var(--color-white);
    margin-bottom: 0.5rem;
    font-weight: 500;
    letter-spacing: 2px;
}

.story-content h2 {
    font-family: var(--font-italiana);
    font-size: 3.5rem;
    color: var(--color-white);
    margin-bottom: 1rem;
}

.story-content .divider {
    width: 60px;
    height: 2px;
    background-color: var(--color-white);
    margin-bottom: 1.5rem;
}

.story-content .highlight {
    font-size: 1.6rem;
    color: var(--color-white);
    margin-bottom: 1.5rem;
    font-weight: 300;
    line-height: 1.4;
}

.story-content p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 1rem;
    line-height: 1.6;
}

.story-features {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
}

.feature {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.feature .number {
    font-size: 3rem;
    color: var(--color-white);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.feature .text {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.4;
}

@media (max-width: 1200px) {
    .clinic-story {
        padding: 0 2rem;
    }

    .story-image {
        height: 70vh;
    }

    .story-content {
        height: 70vh;
    }
}

@media (max-width: 992px) {
    .clinic-story {
        grid-template-columns: 1fr;
        height: auto;
        padding: 4rem 2rem;
        gap: 2rem;
    }

    .story-image {
        height: 60vh;
        order: -1;
    }

    .story-content {
        height: auto;
        text-align: center;
        padding: 0;
    }

    .story-content .divider {
        margin: 0 auto 1.5rem;
    }

    .story-features {
        max-width: 600px;
        margin: 2rem auto 0;
    }
}

@media (max-width: 768px) {
    .clinic-story {
        padding: 3rem 1rem;
    }

    .story-image {
        height: 50vh;
    }
}

/* Before & After Section */
.before-after {
    padding: 6rem 6rem;
    background: var(--color-white);
    max-width: 1920px;
    margin: 0 auto;
    width: 100%;
}

.section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 4rem;
}

.section-header h2 {
    font-family: var(--font-italiana);
    font-size: 3.5rem;
    color: var(--color-purple);
    margin-bottom: 1.5rem;
}

.section-header .divider {
    width: 60px;
    height: 2px;
    background-color: var(--color-purple);
    margin: 0 auto 2rem;
}

.section-header p {
    font-size: 1.4rem;
    color: rgba(0, 0, 0, 0.7);
    line-height: 1.6;
}

.transformations-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 4rem;
    max-width: 1600px;
    margin: 0 auto;
    width: 100%;
}

.transformation-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.transformation-item h3 {
    font-family: var(--font-italiana);
    font-size: 2rem;
    color: var(--color-purple);
    margin-bottom: 2rem;
}

.comparison-slider {
    position: relative;
    width: 100%;
    max-width: 500px;
    aspect-ratio: 1/1;
    border-radius: 2rem;
    overflow: hidden;
    cursor: col-resize;
    margin: 0 auto;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

.before-image,
.after-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

.after-image {
    clip-path: inset(0 50% 0 0);
}

.before-image img,
.after-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    pointer-events: none;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

.slider-handle {
    position: absolute;
    width: 2px;
    height: 100%;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    pointer-events: none;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

.handle-line {
    position: absolute;
    width: 2px;
    height: 100%;
    background: var(--color-white);
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
}

.handle-circle {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--color-white);
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
    display: flex;
    justify-content: center;
    align-items: center;
}

.handle-circle i {
    font-size: 0.8rem;
    color: var(--color-purple);
}

.handle-circle i:first-child {
    margin-right: 4px;
}

.slider-badge {
    position: absolute;
    top: 1.5rem;
    background: rgba(255, 255, 255, 0.9);
    padding: 0.5rem 1rem;
    border-radius: 2rem;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--color-purple);
    z-index: 1;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    pointer-events: none;
}

.badge-before {
    left: 1.5rem;
}

.badge-after {
    right: 1.5rem;
}

.before-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    z-index: 1;
}

.after-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    clip-path: inset(0 50% 0 0);
    z-index: 2;
}

@media (max-width: 1200px) {
    .before-after {
        padding: 4rem 3rem;
    }
}

@media (max-width: 992px) {
    .transformations-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
}

@media (max-width: 768px) {
    .before-after {
        padding: 2.5rem 1.5rem;
    }

    .section-header h2 {
        font-size: 2.8rem;
    }

    .section-header p {
        font-size: 1.2rem;
    }
}

.section-cta {
    text-align: center;
    margin-top: 4rem;
}

.section-cta .btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1.2rem 2.5rem;
    font-size: 1.1rem;
    background: var(--color-purple);
    border-color: var(--color-purple);
    color: var(--color-white);
    transition: all 0.3s ease;
}

.section-cta .btn:hover {
    background: var(--color-pink);
    border-color: var(--color-pink);
    transform: translateY(-2px);
}

.section-cta .btn i {
    font-size: 1.3rem;
}

@media (max-width: 768px) {
    .section-cta {
        margin-top: 3rem;
    }

    .section-cta .btn {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }
}

.team {
    padding: 0rem 4rem 4rem 4rem;
    background: var(--color-white);
}

.team-slider {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
    min-height: 500px;
}

.team-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease, visibility 0.5s ease;
    display: flex;
    justify-content: center;
}

.team-slide.active {
    opacity: 1;
    visibility: visible;
}

.team-member {
    background: linear-gradient(135deg, rgba(147, 112, 219, 0.1), rgba(255, 182, 193, 0.1));
    border-radius: 2rem;
    padding: 3rem;
    max-width: 1000px;
    width: 100%;
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 3rem;
    align-items: center;
}

.member-media {
    width: 100%;
    height: 400px;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    position: relative;
    cursor: pointer;
}

.member-media::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    z-index: 1;
    opacity: 1;
    transition: opacity 0.3s ease;
}

.member-media.playing::before {
   display: none;
}

.member-media-image img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.member-media-image::before {
    display: none;
}

.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    background: var(--color-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    cursor: pointer;
    animation: pulse 2s infinite;
    transition: all 0.3s ease;
}

.play-button::before {
    content: '';
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 15px 0 15px 25px;
    border-color: transparent transparent transparent var(--color-purple);
    margin-left: 5px;
}

.member-media.playing .play-button {
    opacity: 0;
    visibility: hidden;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.7);
    }
    70% {
        box-shadow: 0 0 0 20px rgba(255, 255, 255, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0);
    }
}

.member-media video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.member-info {
    text-align: left;
}

.member-info h3 {
    font-family: var(--font-italiana);
    font-size: 2.5rem;
    color: var(--color-purple);
    margin-bottom: 0.5rem;
}

.member-info h4 {
    font-size: 1.2rem;
    color: var(--color-pink);
    margin-bottom: 2rem;
    font-weight: 500;
}

.stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-bottom: 2rem;
}

.stat {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.stat .number {
    font-size: 2.5rem;
    font-weight: 600;
    color: var(--color-purple);
    margin-bottom: 0.5rem;
}

.stat .label {
    font-size: 0.9rem;
    color: rgba(0, 0, 0, 0.6);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.member-info p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: rgba(0, 0, 0, 0.7);
    max-width: 600px;
    margin: 0 auto;
}

.team .slider-nav {
    top: 50%;
    transform: translateY(-50%);
    background: var(--color-purple);
    color: white;
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    transition: all 0.3s ease;
    opacity: 0.7;
}

.team .slider-nav:hover {
    opacity: 1;
    background: var(--color-pink);
}

.team .slider-nav.prev {
    left: 0;
}

.team .slider-nav.next {
    right: 0;
}

.team .slider-dots {
    position: absolute;
    bottom: 50px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.5rem;
}

.team .dot {
    width: 0.75rem;
    height: 0.75rem;
    border-radius: 50%;
    border: 2px solid var(--color-purple);
    background: transparent;
    cursor: pointer;
    padding: 0;
    transition: all 0.3s ease;
}

.team .dot.active {
    background: var(--color-purple);
}

@media (max-width: 992px) {
    .team-member {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .member-media {
        height: 300px;
        max-width: 400px;
        margin: 0 auto;
    }

    .member-info {
        text-align: center;
    }
}

@media (max-width: 768px) {
    .team {
        padding: 2.5rem 1.5rem;
    }

    .team-member {
        padding: 1.5rem 1rem;
    }

    .member-info h3 {
        font-size: 2rem;
    }

    .member-info h4 {
        font-size: 1.1rem;
        margin-bottom: 1.5rem;
    }

    .stats {
        gap: 2rem;
        flex-wrap: wrap;
    }

    .stat .number {
        font-size: 2rem;
    }

    .stat .label {
        font-size: 0.8rem;
    }

    .member-info p {
        font-size: 1rem;
    }
}

/* Testimonios Section */
.testimonios {
    padding: 6rem 6rem;
    background: var(--gradient-primary);
    color: var(--color-white);
    position: relative;
    overflow: hidden;
    max-width: 1920px;
    margin: 0 auto;
    width: 100%;
}

.testimonios .section-header {
    text-align: center;
    margin-bottom: 4rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.testimonios .section-header h2 {
    font-family: var(--font-italiana);
    font-size: 3.5rem;
    color: var(--color-white);
    margin-bottom: 1.5rem;
}

.testimonios .section-header p {
    font-size: 1.4rem;
    font-weight: 300;
    opacity: 0.9;
    line-height: 1.6;
    margin-bottom: 2rem;
    color: var(--color-white);
}

.testimonios .divider {
    width: 60px;
    height: 2px;
    background-color: var(--color-white);
    margin: 0 auto 2rem;
}

.testimonios-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    max-width: 1600px;
    margin: 0 auto;
    position: relative;
}

.historias-list {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
    padding-right: 2rem;
}

.historia-item {
    padding: 2.5rem;
    border-radius: 1.5rem;
    background: rgba(255, 255, 255, 0.1);
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.historia-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 0;
    background: var(--color-white);
    transition: height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.historia-item:hover::before,
.historia-item.active::before {
    height: 100%;
}

.historia-item:hover {
    background: rgba(255, 255, 255, 0.15);
}

.historia-item.active {
    background: rgba(255, 255, 255, 0.2);
    transform: translateX(2rem);
}

.historia-quote {
    display: block;
    font-size: 1.6rem;
    font-weight: 300;
    margin-bottom: 1.5rem;
    line-height: 1.5;
    padding-left: 1rem;
}

.historia-autor {
    display: block;
    font-size: 1.2rem;
    opacity: 0.9;
    padding-left: 1rem;
    font-weight: 500;
}

.historia-divider {
    width: 40px;
    height: 1px;
    background: var(--color-white);
    margin-top: 1.5rem;
    margin-left: 1rem;
    opacity: 0.5;
}

.historia-contenido {
    position: relative;
    min-height: 700px;
}

.historia-detalle {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    visibility: hidden;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    transform: translateY(20px);
}

.historia-texto{
    margin-top: 2rem;
}

.historia-detalle.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.historia-media {
    position: relative;
    width: 100%;
    height: 600px;
    border-radius: 2rem;
    overflow: hidden;
}

.historia-media img,
.historia-media video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 80% 80%;
    border-radius: 2rem;
}
.historia-media video {
    width: 51%;
;
}

.historia-media-video {
    height: 100% !important;
    object-position: top;
    display: flex;
    justify-content: center;
    align-items: center;
}

.historia-contenido-video{
    height: 100%;
    object-position: top;
}

.historia-detalle-video{
    height: 100%;
    object-position: top;
}

.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.9);
    width: 90px;
    height: 90px;
    background: var(--color-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.play-button::before {
    content: '';
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 15px 0 15px 25px;
    border-color: transparent transparent transparent var(--color-purple);
    margin-left: 5px;
}

.historia-media:hover .play-button {
    transform: translate(-50%, -50%) scale(1);
    background: var(--color-white);
}

.historia-media.playing .play-button {
    opacity: 0;
    visibility: hidden;
    transform: translate(-50%, -50%) scale(0.8);
}

@media (max-width: 1600px) {
    .testimonios {
        padding: 5rem 4rem;
    }

    .testimonios .section-header h2 {
        font-size: 3.2rem;
    }

    .testimonios .section-header p {
        font-size: 1.3rem;
    }
}

@media (max-width: 1400px) {
    .clinic-story{
        min-height: 120vh;
    }
    .testimonios {
        padding: 3rem 3rem;
    }

    .testimonios .section-header {
        margin-bottom: 3rem;
    }

    .testimonios .section-header h2 {
        font-size: 3rem;
    }

    .testimonios .section-header p {
        font-size: 1.2rem;
    }
}

@media (max-width: 992px) {
    .testimonios {
        padding: 3rem 2rem;
    }

    .testimonios .section-header h2 {
        font-size: 2.8rem;
        margin-bottom: 1rem;
    }

    .testimonios .section-header p {
        font-size: 1.1rem;
    }
}

@media (max-width: 768px) {
    .testimonios {
        padding: 2.5rem 1.5rem;
    }

    .testimonios .section-header {
        margin-bottom: 2rem;
    }

    .testimonios .section-header h2 {
        font-size: 2.5rem;
    }

    .testimonios .section-header p {
        font-size: 1rem;
    }
    .story-content{
        width: 80%;
        margin: 0 auto;
    }
    .story-features{
        flex-direction: column;
        display: flex;
    }
}

@media (max-width: 480px) {
    .testimonios {
        padding: 2rem 1rem;
    }

    .testimonios .section-header h2 {
        font-size: 2.2rem;
    }
}

/* Blog Section */
.blog {
    padding: 6rem 6rem;
    background: var(--color-white);
    max-width: 1920px;
    margin: 0 auto;
    width: 100%;
}

.blog .section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 4rem;
}

.blog .section-header h2 {
    font-family: var(--font-italiana);
    font-size: 3.5rem;
    color: var(--color-purple);
    margin-bottom: 1.5rem;
}

.blog .divider {
    width: 60px;
    height: 2px;
    background-color: var(--color-purple);
    margin: 0 auto 2rem;
}

.blog .section-header p {
    font-size: 1.4rem;
    color: rgba(0, 0, 0, 0.7);
    line-height: 1.6;
}

.blog-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    max-width: 1600px;
    margin: 0 auto;
    width: 100%;
}

.blog-post {
    background: white;
    border-radius: 1rem;
    overflow: hidden;
    transition: transform 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.blog-post:hover {
    transform: translateY(-5px);
}

.post-image {
    position: relative;
    width: 100%;
    height: 300px;
    overflow: hidden;
}

.blog-post.featured .post-image {
    height: 600px;
}

.post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.blog-post:hover .post-image img {
    transform: scale(1.05);
}

.post-date {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--color-white);
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.post-date .day {
    display: block;
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--color-purple);
    line-height: 1;
}

.post-date .month,
.post-date .year {
    display: block;
    font-size: 0.8rem;
    color: rgba(0, 0, 0, 0.6);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.post-content {
    padding: 2rem;
}

.blog-post.featured .post-content {
    padding: 2.5rem;
}

.post-content h3 {
    font-family: var(--font-italiana);
    font-size: 1.8rem;
    color: var(--color-purple);
    margin-bottom: 1rem;
    line-height: 1.3;
}

.blog-post.featured .post-content h3 {
    font-size: 2.2rem;
}

.post-content p {
    font-size: 1rem;
    color: rgba(0, 0, 0, 0.7);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.blog-sidebar {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.blog-sidebar .blog-post .post-image {
    height: 200px;
}

.blog-sidebar .post-content {
    padding: 1.5rem;
}

.blog-sidebar .post-content h3 {
    font-size: 1.4rem;
}

@media (max-width: 1200px) {
    .blog {
        padding: 4rem 3rem;
    }

    .blog-grid {
        gap: 2rem;
    }

    .post-content h3 {
        font-size: 1.6rem;
    }

    .blog-post.featured .post-content h3 {
        font-size: 2rem;
    }
}

@media (max-width: 992px) {
    .blog {
        padding: 3rem 2rem;
    }

    .blog-grid {
        grid-template-columns: 1fr;
    }

    .blog-sidebar {
        grid-template-columns: repeat(2, 1fr);
        display: grid;
    }

    .blog-post.featured .post-image {
        height: 450px;
    }
}

@media (max-width: 768px) {
    .blog {
        padding: 2.5rem 1.5rem;
    }

    .blog .section-header h2 {
        font-size: 2.8rem;
    }

    .blog .section-header p {
        font-size: 1.2rem;
    }

    .blog-sidebar {
        grid-template-columns: 1fr;
    }

    .blog-post.featured .post-image {
        height: 400px;
    }

    .post-content {
        padding: 1.5rem;
    }

    .blog-post.featured .post-content {
        padding: 2rem;
    }

    .post-content h3 {
        font-size: 1.4rem;
    }

    .blog-post.featured .post-content h3 {
        font-size: 1.8rem;
    }
}

@media (max-width: 480px) {
    .blog {
        padding: 2rem 1rem;
    }

    .blog .section-header h2 {
        font-size: 2.5rem;
    }

    .blog-post.featured .post-image,
    .blog-sidebar .blog-post .post-image {
        height: 300px;
    }

    .post-content h3 {
        font-size: 1.3rem;
    }

    .blog-post.featured .post-content h3 {
        font-size: 1.6rem;
    }
}

/* Treatments Section */
.treatments {
    padding: 6rem 6rem;
    background: var(--color-white);
    max-width: 1920px;
    margin: 0 auto;
    width: 100%;
}

.treatments-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    max-width: 1600px;
    margin: 0 auto;
    width: 100%;
}

.treatment-card {
    background: white;
    border-radius: 1.5rem;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.treatment-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.treatment-image {
    width: 100%;
    height: 300px;
    overflow: hidden;
}

.treatment-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.treatment-card:hover .treatment-image img {
    transform: scale(1.05);
}

.treatment-content {
    padding: 2rem;
    text-align: center;
}

.treatment-content h3 {
    font-family: var(--font-italiana);
    font-size: 1.8rem;
    color: var(--color-purple);
    margin-bottom: 1rem;
}

.treatment-content p {
    font-size: 1rem;
    color: rgba(0, 0, 0, 0.7);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.treatment-content .btn {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    font-size: 0.9rem;
}

@media (max-width: 1400px) {
    .treatments {
        padding: 5rem 4rem;
    }

    .treatments-grid {
        gap: 2.5rem;
    }

    .treatment-content h3 {
        font-size: 1.6rem;
    }
}

@media (max-width: 1200px) {
    .treatments {
        padding: 4rem 3rem;
    }

    .treatments-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
}

@media (max-width: 992px) {
    .treatments {
        padding: 3rem 2rem;
    }

    .treatment-content h3 {
        font-size: 1.5rem;
    }
}

@media (max-width: 768px) {
    .treatments {
        padding: 2.5rem 1.5rem;
    }

    .treatments-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin: 0 auto;
    }

    .treatment-image {
        height: 250px;
    }
}

@media (max-width: 480px) {
    .treatments {
        padding: 2rem 1rem;
    }

    .treatment-content {
        padding: 1.5rem;
    }

    .treatment-content h3 {
        font-size: 1.4rem;
    }
}

.testimonios-carrusel {
  background: #f3c6e3;
  padding: 4rem 0 2rem 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  min-height: 600px;
}

.carrusel-container {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 900px;
  position: relative;
  margin-top: 2rem;
}

.carrusel-track {
  position: relative;
  min-height: 320px;
  height: 340px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.testimonio-card {
  background: #fff;
  border-radius: 60px;
  box-shadow: 0 8px 32px rgba(147, 112, 219, 0.15);
  display: none;
  flex-direction: row;
  align-items: center;
  min-width: 650px;

  padding: 2.5rem 2.5rem 2rem 4.5rem;
  margin: 0 1rem;
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  z-index: 1;
  transition: box-shadow 0.3s, transform 0.6s cubic-bezier(0.4,0,0.2,1), opacity 0.6s;
  opacity: 0;
}

.testimonio-card.active {
  display: flex;
  opacity: 1;
  z-index: 2;
  transform: translateX(0);
  animation: slideInFromRight 0.6s;
}

.testimonio-card.slide-left {
  display: flex;
  opacity: 1;
  z-index: 2;
  transform: translateX(-100vw);
  animation: slideInFromLeft 0.6s;
}

.testimonio-foto {
  position: absolute;
    left: 26px;
  top: 50%;
  transform: translateY(-50%);
  width: 120px;
  height: 120px;
  border-radius: 50%;
  overflow: hidden;
  border: 7px solid #e6a8d7;
  background: #fff;
  box-shadow: 0 4px 16px rgba(147, 112, 219, 0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 3;
}

.testimonio-foto img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.testimonio-contenido {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin-left: 70px;
  margin-top: 0;
}

.testimonio-texto {
  font-size: 1.18rem;
  color: #6d3e7b;
  margin-bottom: 1.2rem;
  font-family: var(--font-montserrat);
  font-weight: 400;
  text-align: center;
  margin-top: 0.5rem;
  padding: 0 0.5rem;
  line-height: 1.5;
}

.testimonio-nombre {
  font-family: var(--font-italiana);
  font-size: 1.15rem;
  color: #a05fa5;
  margin-bottom: 0.2rem;
  text-align: center;
  margin-top: 0.5rem;
  letter-spacing: 0.5px;
}

.testimonio-edad {
  font-size: 1.05rem;
  color: #7d4e7d;
  font-family: var(--font-montserrat);
}

.testimonio-estrellas {
  color: #a05fa5;
  font-size: 1.7rem;
  margin-top: 0.2rem;
  letter-spacing: 0.18rem;
  text-align: center;
}

.carrusel-nav {
  background: #a05fa5;
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 48px;
  height: 48px;
  font-size: 2rem;
  cursor: pointer;
  margin: 0 1rem;
  transition: background 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
}
.carrusel-nav.prev {
  left: -70px;
}
.carrusel-nav.next {
  right: -70px;
}

.carrusel-nav:hover {
  background: #e6a8d7;
}

@media (max-width: 900px) {
  .testimonio-card, .carrusel-track {
    min-width: 95vw;
    max-width: 95vw;
    padding: 1rem 1rem 1rem 3.5rem;
  }
  .testimonio-foto {
    width: 90px;
    height: 90px;
    left: -45px;
    border-width: 5px;
  }
  .carrusel-nav.prev {
    left: -40px;
  }
  .carrusel-nav.next {
    right: -40px;
  }
}

@media (max-width: 600px) {
  .carrusel-container {
    width: 100%;
    padding: 0;
    box-sizing: border-box  ;
  }
  .carrusel-track {
    min-height: 340px;
    height: auto;
    width: 100vw;
    padding: 0;
  }
  .testimonio-card {
    flex-direction: column;
    align-items: center;
    padding: 3.5rem 0.7rem 1.2rem 0.7rem;
    border-radius: 32px;
    margin: 0;
    position: relative;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    box-shadow: 0 4px 16px rgba(147, 112, 219, 0.13);
  }
  .testimonio-foto {
    position: absolute;
    left: 50%;
    top: 0;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    border-width: 4px;
    margin-bottom: 0.5rem;
    z-index: 3;
  }
  .testimonio-contenido {
    margin-left: 0;
    margin-top: 2.5rem;
    width: 100%;
    padding: 0 0.5rem;
  }
  .testimonio-texto {
    font-size: 1rem;
    margin-top: 0.5rem;
    padding: 0 0.2rem;
  }
  .testimonio-nombre {
    font-size: 1rem;
    margin-top: 0.5rem;
  }
  .testimonio-edad {
    font-size: 0.95rem;
  }
  .testimonio-estrellas {
    font-size: 1.2rem;
    margin-top: 0.2rem;
  }
  .carrusel-nav {
    width: 38px;
    height: 38px;
    font-size: 1.5rem;
    top: 50%;
    transform: translateY(-50%);
  }
  .carrusel-nav.prev {
    left: 2px;
  }
  .carrusel-nav.next {
    right: 2px;
  }
}

/* Oculta las tarjetas que no están activas */
.testimonio-card:not(.active):not(.slide-left) {
  display: none;
  opacity: 0;
  z-index: 1;
}

@keyframes slideInFromRight {
  from { opacity: 0; transform: translateX(100vw); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes slideInFromLeft {
  from { opacity: 0; transform: translateX(-100vw); }
  to { opacity: 1; transform: translateX(0); }
}

.doctor-card {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border-radius: 2rem;
  box-shadow: 0 4px 24px rgba(147, 112, 219, 0.10);
  padding: 2.5rem 2rem;
  max-width: 800px;
  margin: 2rem auto 3rem auto;
  gap: 2.5rem;
}
.doctor-photo {
  flex-shrink: 0;
  width: 160px;
  height: 160px;
  border-radius: 50%;
  overflow: hidden;
  border: 6px solid #e6a8d7;
  background: #fff;
  box-shadow: 0 4px 16px rgba(147, 112, 219, 0.13);
  display: flex;
  align-items: center;
  justify-content: center;
}
.doctor-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.doctor-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
}
.doctor-name {
  font-family: var(--font-italiana);
  font-size: 2rem;
  color: #a05fa5;
  margin-bottom: 0.5rem;
}
.doctor-specialty {
  font-size: 1.1rem;
  color: #6d3e7b;
  margin-bottom: 1.2rem;
  font-weight: 500;
}
.doctor-desc {
  font-size: 1.1rem;
  color: #444;
  font-family: var(--font-montserrat);
  line-height: 1.6;
}
@media (max-width: 700px) {
    .doctor-info{
        justify-content: center;
        align-items: center;
    }
  .doctor-card {
    text-align: center;
    flex-direction: column;
    align-items: center;
    padding: 1.5rem 0.5rem;
    gap: 1.2rem;
  }
  .doctor-photo {
    width: 110px;
    height: 110px;
    border-width: 4px;
  }
  .doctor-name {
    font-size: 1.3rem;
  }
  .doctor-specialty {
    font-size: 1rem;
  }
  .doctor-desc {
    font-size: 1rem;
  }
}



.blur-image {
    display: none;
    position: absolute;
    top: 0;
    right:0;
    width: 100%;
    height: 150px;
    backdrop-filter: blur(20px);
    z-index: 1;
}
.image-label{
    z-index: 2;
}
@media (max-width: 1208px) {
    .blur-image {
        display: none;

        position: absolute;
        top: 0;
        right:50%;
        transform: translateX(50%);
        width: 100%;
        height: 200px;
        backdrop-filter: blur(20px);
        z-index: 9;
    }
    .comparison-container {
   
        max-height: unset!important;
    }
    .before-image, .after-image {
        height: unset!important;
        overflow: visible!important;
    }
    .before-image img, .after-image img{
        height: unset!important;
    }
}

@media (max-width: 800px) {
    .blur-image {
        display: none;

        position: absolute;
        top: 0;
        right:50%;
        transform: translateX(50%);
        width: 100%;
        height: 300px;
        backdrop-filter: blur(20px);
        z-index: 9;
    }
}