﻿/*scroll*/
/*animaciones*/
#more {
    display: none;
}

.scroll-container {
    box-sizing: border-box;
}

    .scroll-container:nth-of-type(even) {
        flex-direction: row-reverse;
    }

.scroll-element,
.scroll-caption {
}

.scroll-element {
}

.scroll-caption {
    margin: 1rem;
}

@@media screen and (max-width: 650px) {
    .scroll-container,
    .scroll-container:nth-of-type(even) {
        align-content: inherit;
    }

    .scroll-element {
    }

    .scroll-element,
    .scroll-caption {
    }
}

.js-scroll {
    opacity: 0;
    transition: opacity 500ms;
}

    .js-scroll.scrolled {
        opacity: 1;
    }

.scrolled.fade-in {
    animation: fade-in 1s ease-in-out both;
}

.scrolled.fade-in-bottom {
    animation: fade-in-bottom 1s ease-in-out both;
}

.scrolled.slide-left {
    animation: slide-in-left 1s ease-in-out both;
}

.scrolled.slide-right {
    animation: slide-in-right 1s ease-in-out both;
}

@keyframes slide-in-left {
    0% {
        -webkit-transform: translateX(-100px);
        transform: translateX(-100px);
        opacity: 0;
    }

    100% {
        -webkit-transform: translateX(0);
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slide-in-right {
    0% {
        -webkit-transform: translateX(100px);
        transform: translateX(100px);
        opacity: 0;
    }

    100% {
        -webkit-transform: translateX(0);
        transform: translateX(0);
        opacity: 1;
    }
}
@keyframes fade-in-bottom {
    0% {
        -webkit-transform: translateY(50px);
        transform: translateY(50px);
        opacity: 0;
    }

    100% {
        -webkit-transform: translateY(0);
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes fade-in {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}




/* Banner dividido */
.banner_dras {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    min-height: 100vh;
    background: linear-gradient(to bottom, #f8f6f2, #fdfcfb);
}

/* Columna imagen derecha */
.banner-img {
    background: url('../../images/docs.jpg') center center no-repeat;
    background-size: cover;
    min-height: 400px;
    flex: 1;
    position: relative;
}

    .banner-img .overlay {
        position: absolute;
        inset: 0;
        background: rgba(0,0,0,0.3);
    }

/* Columna izquierda */
.banner_dras .col-md-6 {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start; /* sube todo al inicio */
    padding-top: 2rem; /* opcional, controlas espacio arriba */
}

/* Logo */
.logo-container {
    margin-top: 0;
    margin-bottom: 30%;
}

.banner_dras h2 {
    font-size: 2rem;
    color: #5a3c3c;
}

.banner_dras h3 {
    font-size: 1.8rem;
    color: #a36f6f;
}

/*  Botones  */
.banner_dras .btn {
    border: none;
    font-weight: 500;
    transition: all 0.3s ease;
    min-width: 220px; /* tamaño consistente */
    text-align: center;
}

    .banner_dras .btn:hover {
        transform: translateY(-2px);
        opacity: 0.9;
    }

/* Responsive */
@media (max-width: 991px) {
    .logo-img {
        max-height: 55px; /* un poco más chico en tablets */
    }

    .banner_dras h2 {
        font-size: 1.6rem;
    }

    .banner_dras h3 {
        font-size: 1.4rem;
    }
}

@media (max-width: 767px) {
    .banner_dras {
        flex-direction: column;
        min-height: auto;
    }

    .banner-img {
        height: 40vh;
        min-height: 250px;
    }

    .banner_dras .col-md-6 {
        padding: 2rem 1.2rem;
        text-align: center;
        align-items: center;
    }

    .logo-img {
        max-height: 50px; /* más pequeño para móvil */
    }

    .banner_dras h2 {
        font-size: 1.4rem;
    }

    .banner_dras h3 {
        font-size: 1.2rem;
    }

    .banner_dras .btn {
        min-width: 180px;
        font-size: 0.9rem;
    }
}


/*Sevicios de cirugía plástica y odontología*/

.seccion-servicios {
    width: 100%;
    background-color: #F7F6F3;
    padding: 40px 0;
}

.servicios {
    display: grid;
    grid-template-columns: repeat(2, minmax(320px, 480px));
    gap: 32px;
    justify-content: center;
    padding: 24px;
    margin: 0 auto;
    box-sizing: border-box;
    max-width: 1200px;
}

/* Card */
.card {
    width: 100%;
    box-sizing: border-box;
    text-align: center;
    padding: 48px 40px;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

/* Header dentro de card */
.card-header-descubrir {
    width: 100%;
    display: grid;
    grid-template-columns: 100px 1fr;
    gap: 16px;
    align-items: center;
    justify-items: center;
    margin-bottom: 16px;
}

    .card-header-descubrir .icon img {
        width: 92px;
        height: auto;
        display: block;
    }

    .card-header-descubrir h3 {
        margin: 0;
        font-size: 1.5rem;
        line-height: 1.1;
        text-align: center;
        color: #555;
        letter-spacing: 0.6px;
        font-weight: bold;
    }

/* Texto */
.lead {
    margin: 14px 0 22px;
    max-width: 280px;
    text-align: center;
    color: #555;
    line-height: 1.4;
    font-weight: bold;
}

/* Botones */
.btn-descubrir {
    display: inline-block;
    padding: 10px 22px;
    border-radius: 24px;
    text-decoration: none;
    font-weight: 600;
    color: #fff;
    transition: transform .18s ease, background .18s ease, box-shadow .18s ease;
}

/* Colores */
.card.pink {
    background: #FBEAEA;
}

    .card.pink .btn-descubrir {
        background: #c57b7b;
    }

        .card.pink .btn-descubrir:hover {
            background: #ad6466;
            transform: translateY(-3px);
            box-shadow: 0 8px 18px rgba(173,100,102,0.14);
            text-decoration: none !important;
            color:white;
        }

.card.green {
    background: #DCE9D4;
}

    .card.green .btn-descubrir {
        background: #8aa98b;
    }

        .card.green .btn-descubrir:hover {
            background: #6fa37e;
            transform: translateY(-3px);
            box-shadow: 0 8px 18px rgba(106,140,106,0.14);
            text-decoration: none !important;
            color: white;
        }

/*  Responsive  */

@media (max-width: 992px) {
    .servicios {
        grid-template-columns: repeat(2, minmax(240px, 1fr));
        gap: 20px;
    }

    .card {
        padding: 32px 24px;
    }

    .card-header-descubrir {
        grid-template-columns: 80px 1fr;
        gap: 12px;
    }

        .card-header-descubrir .icon img {
            width: 72px;
        }

        .card-header-descubrir h3 {
            font-size: 1.3rem;
        }
}


@media (max-width: 768px) {
    .servicios {
        grid-template-columns: 1fr;
        padding: 16px;
        gap: 24px;
    }

    .card {
        padding: 24px 18px;
    }

    .card-header-descubrir {
        grid-template-columns: 1fr;
        text-align: center;
    }

        .card-header-descubrir .icon img {
            width: 64px;
        }

        .card-header-descubrir h3 {
            font-size: 1.15rem;
        }

    .lead {
        max-width: 100%;
        padding: 0 6px;
        font-size: 0.95rem;
    }
}

/*Testimonios*/

.testimonios {
    width: 100%;
    padding: 60px 20px;
    background: linear-gradient(rgba(255,255,255,0.4), rgba(255,255,255,0.4)), url('/images/Banner/hero2.png') no-repeat center center;
    background-size: cover;
    text-align: center;
    color: #333;
}

.banner-testimonios {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
}

.testimonios h2 {
    font-size: 2rem;
    margin-bottom: 40px;
    color: #555;
}

.testimonios .card {
    background: #fff;
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    text-align: left;
    height: 100%;
    display: flex;
    flex-direction: column;
    gap: 3px;
}

    .testimonios .card p {
        color: #555;
        font-size: 0.95rem;
        line-height: 1.5;
    }

.testimonios .swiper-slide {
    max-width: 320px;
}

.author {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 16px;
}

    .author img {
        border-radius: 50%;
        width: 60px;
        height: 60px;
        object-fit: cover;
    }

    .author h4 {
        margin: 0;
        font-size: 1rem;
        color: #d49ba5;
    }

.stars {
    color: #d49ba5;
    margin: 0;
}


/*Paginación*/
.swiper-pagination-bullet {
    background-color: #d49ba5 !important;
    opacity: 0.5;
}


.swiper-pagination-bullet-active {
    background-color: #a45b68 !important;
    opacity: 1;
}

/*Tu nueva versión*/

.seccion-version {
    text-align: center;
    padding: 100px 20px; /* espacio arriba y abajo */
    background: linear-gradient(to bottom, #f9f4ef, #fefefe); /* degrade suave */
}

    .seccion-version h1 {
        font-size: 3rem;
        font-weight: 400;
        color: #555; /* gris elegante */
        margin-bottom: 30px;
        letter-spacing: 1px;
    }

    .seccion-version a {
        display: inline-block;
        background-color: #d49ba5;
        color: #fff;
        padding: 10px 25px;
        border-radius: 20px;
        text-decoration: none;
        font-weight: 600;
        font-size: 1.3rem;
        transition: background 0.3s ease;
    }

        .seccion-version a:hover {
            background-color: #dce9d4;
            text-decoration: none;
            color: #555;
        }


/*Odontologia*/

.banner_odontologia {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    min-height: 100vh;
    background: linear-gradient(to bottom, #f8f6f2, #fdfcfb);
}

/* Columna imagen derecha */
.banner-img-odontologia {
    background: url('/images/Banner/hero3.png') center center no-repeat;
    background-size: cover;
    min-height: 400px;
    flex: 1;
    position: relative;
}

    .banner-img-odontologia .overlay {
        position: absolute;
        inset: 0;
        background: rgba(0,0,0,0.3);
    }

/* Columna izquierda */
.banner_odontologia .col-md-6 {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center; 
    align-items: center; 
    padding: 2rem;
    font-size: 1.5rem;
    text-align: center;
}

.banner_odontologia h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

/*  Responsive  */
@media (max-width: 992px) {
    .banner_odontologia {
        flex-direction: column; 
        min-height: auto;
    }

    .banner-img-odontologia {
        min-height: 300px; 
    }

    .banner_odontologia h2 {
        font-size: 2rem;
    }
}

@media (max-width: 576px) {
    .banner-img-odontologia {
        min-height: 200px;
    }

    .banner_odontologia h2 {
        font-size: 1.6rem;
    }
}


/*En que te podemos ayudar*/

.seccion-servicios-ayuda {
    background: #dce9d4; /* verde suave */
    padding: 60px 20px;
    text-align: center;
}

    .seccion-servicios-ayuda h2 {
        font-size: 1.8rem;
        color: #444;
        margin-bottom: 40px;
    }

/* Grid responsive */
.servicios-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 24px;
    max-width: 1200px;
    margin: 0 auto;
}

/* Card servicio */
.servicio-odontologia {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
}

    .servicio-odontologia img {
        width: 100%;
        height: 240px; 
        object-fit: cover;
        display: block;
        transition: transform 0.4s ease;
    }


    /* Overlay servicios odontologia*/
    .servicio-odontologia .overlay {
        position: absolute;
        inset: 0;
        background: rgba(0,0,0,0.5);
        display: flex;
        align-items: center;
        justify-content: center;
        color: #fff;
        transition: background 0.3s ease;
    }

    .servicio-odontologia h3 {
        font-size: 1.2rem;
        font-weight: 600;
        margin: 0;
    }

    .servicio-odontologia:hover img {
        transform: scale(1.1);
    }

    .servicio-odontologia:hover .overlay {
        background: rgba(0,0,0,0.55);
    }

/*Cambiamos sonrisas*/

.cambiamos-sonrisas {
    background: #f9f8f6;
    padding: 40px 20px;
    text-align: center;
}

    .cambiamos-sonrisas h2 {
        font-size: 1.6rem;
        color: #444;
        margin-bottom: 20px;
    }

/* Contenedor imágenes */
.antes-despues {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

    .antes-despues img {
        width: 100%;
        height: 220px;
        object-fit: cover;
        border-radius: 6px;
    }

/*  responsive */
@media (max-width: 768px) {
    .antes-despues {
        grid-template-columns: 1fr;
    }

        .antes-despues img {
            height: 180px;
        }
}

/*Luce esa sonrisa*/

.sonrisa-banner {
    background: #F7F6F3 !important;
}

.container-sonrisa {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

/* Imagen */
.sonrisa-img img {
    width: 100%;
    height: auto;
    border-radius: 6px;
    object-fit: cover;
    display: block;
}

/* Texto */
.sonrisa-texto {
    text-align: center;
}

    .sonrisa-texto h2 {
        font-size: 1.8rem;
        color: #555;
        margin-bottom: 20px;
        line-height: 1.3;
    }

.btn-agendar {
    display: inline-block;
    background: #8aa98b;
    color: #fff;
    padding: 12px 26px;
    border-radius: 30px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

    .btn-agendar:hover {
        background: #9bb494;
        transform: translateY(-2px);
        text-decoration: none;
        color: white;
    }

/* Responsive */
@media (max-width: 768px) {
    .container-sonrisa {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .sonrisa-texto h2 {
        font-size: 1.5rem;
    }

    .btn-agendar {
        margin-top: 10px;
    }
}


/*Cirugia estetica*/

.banner_estetica {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    min-height: 100vh;
    background: linear-gradient(to bottom, #f8f6f2, #fdfcfb);
}

/* Columna imagen derecha */
.banner-img-estetica {
    background: url('/images/Banner/hero2.png') center center no-repeat;
    background-size: cover;
    min-height: 400px;
    flex: 1;
    position: relative;
}

.banner-img-estetica .overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.3);
}

/* Columna izquierda */
.banner_estetica .col-md-6 {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 2rem;
    font-size: 1.5rem;
    text-align: center;
}

.banner_estetica h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

/*  Responsive  */
@media (max-width: 992px) {
    .banner_estetica {
        flex-direction: column;
        min-height: auto;
    }

    .banner-img-estetica {
        min-height: 300px;
    }

    .banner_estetica h2 {
        font-size: 2rem;
    }
}

@media (max-width: 576px) {
    .banner-img-estetica {
        min-height: 200px;
    }

    .banner_estetica h2 {
        font-size: 1.6rem;
    }
}


/*En que te podemos ayudar*/

.seccion-servicios-estetica {
    background: #fbeaea !important; /* rosa suave */
    padding: 60px 20px;
    text-align: center;
}

    .seccion-servicios-estetica h2 {
        font-size: 1.8rem;
        color: #444;
        margin-bottom: 40px;
    }

/* Grid responsive */
.servicios-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 24px;
    max-width: 1200px;
    margin: 0 auto;
}

/* Card servicio */
.servicio-estetica {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
}

    .servicio-estetica img {
        width: 100%;
        height: 240px;
        object-fit: cover;
        display: block;
        transition: transform 0.4s ease;
    }


    /* Overlay servicios estetica*/
    .servicio-estetica .overlay {
        position: absolute;
        inset: 0;
        background: rgba(0,0,0,0.5);
        display: flex;
        align-items: center;
        justify-content: center;
        color: #fff;
        transition: background 0.3s ease;
    }

    .servicio-estetica h3 {
        font-size: 1.2rem;
        font-weight: 600;
        margin: 0;
    }

    .servicio-estetica:hover img {
        transform: scale(1.1);
    }

    .servicio-estetica:hover .overlay {
        background: rgba(0,0,0,0.55);
    }

/*Cambiamos sonrisas*/

.cambiamos-vidas {
    background: #f9f8f6;
    padding: 40px 20px;
    text-align: center;
}

    .cambiamos-vidas h2 {
        font-size: 1.6rem;
        color: #444;
        margin-bottom: 20px;
    }



/*Luce esa sonrisa*/

.estetica-banner {
    background: #F7F6F3 !important;
}

.container-estetica {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

/* Imagen */
.estetica-img img {
    width: 100%;
    height: auto;
    border-radius: 6px;
    object-fit: cover;
    display: block;
}

/* Texto */
.estetica-texto {
    text-align: center;
}

    .estetica-texto h2 {
        font-size: 1.8rem;
        color: #555;
        margin-bottom: 20px;
        line-height: 1.3;
    }

.btn-agendar-estetica {
    display: inline-block;
    background: #d49ba5;
    color: #fff;
    padding: 12px 26px;
    border-radius: 30px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

    .btn-agendar-estetica:hover {
        background: #fbeaea;
        transform: translateY(-2px);
        text-decoration: none;
        color:gray;
    }

/* Responsive */
@media (max-width: 768px) {
    .container-estetica {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .estetica-texto h2 {
        font-size: 1.5rem;
    }

    .btn-agendar-estetica {
        margin-top: 10px;
    }
}

