﻿/*--------------------------------------------------------------
# General
--------------------------------------------------------------*/
body {
    background: #fff;
    color: #666666;
    font-family: 'Quicksand', sans-serif;
}

a {
    color: #57C4AD;
    transition: 0.5s;
}

    a:hover,
    a:active,
    a:focus {
        color: #18d36e;
        outline: none;
        text-decoration: none;
    }

p {
    padding: 0;
    margin: 0 0 30px 0;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: "Montserrat", sans-serif;
    font-weight: 400;
    margin: 0 0 20px 0;
    padding: 0;
}

/* Back to top button */

.back-to-top {
    position: fixed;
    display: none;
    background: #57C4AD;
    color: #3ac8a1;
    width: 44px;
    height: 44px;
    text-align: center;
    line-height: 1;
    font-size: 16px;
    border-radius: 50%;
    right: 15px;
    bottom: 15px;
    transition: background 0.5s;
    z-index: 11;
}

    .back-to-top i {
        padding-top: 12px;
        color: #fff;
    }

/* Prelaoder */

#preloader {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 9999;
    overflow: hidden;
    background: #fff;
}

    #preloader:before {
        content: "";
        position: fixed;
        top: calc(50% - 30px);
        left: calc(50% - 30px);
        border: 6px solid #f2f2f2;
        border-top: 6px solid #57C4AD;
        border-radius: 50%;
        width: 60px;
        height: 60px;
        -webkit-animation: animate-preloader 1s linear infinite;
        animation: animate-preloader 1s linear infinite;
    }

@-webkit-keyframes animate-preloader {
    0% {
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg);
    }

    100% {
        -webkit-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

@keyframes animate-preloader {
    0% {
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg);
    }

    100% {
        -webkit-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

/*--------------------------------------------------------------
# Header
--------------------------------------------------------------*/

#header {
    padding: 16px 0;
    height: 92px;
    position: fixed;
    left: 0;
    top: 0;
    right: 0;
    transition: all 0.5s;
    z-index: 997;
    background: #57C4AD;
}

#header.header-scrolled {
    background-color: #57C4AD;
    padding: 8px 0;
    height: 78px;
    transition: all 0.5s;
}

#header #logo {
    float: none; /* quitar el float */
    display: flex; /* centrar el contenido del logo */
    flex-direction: column; /* img arriba, tagline debajo */
    justify-content: center; /* centrado vertical dentro del header */
    height: 100%; /* toma la altura del header */
}

#header #logo h1 {
    font-size: 34px;
    margin: 0;
    padding: 0;
    line-height: 1;
    font-family: "Montserrat", sans-serif;
    font-weight: 700;
    letter-spacing: 3px;
}

#header #logo h1 a,
#header #logo h1 a:hover {
    color: #fff;
}

    #header #logo img {
        padding: 0;
        margin: 0;
        max-height: 35px; /* ajustá el valor si querés más o menos */
        width: auto;
        height: auto;
        display: block;
        color: #fff;
    }

/*--------------------------------------------------------------
# Intro Section
--------------------------------------------------------------*/

#intro {
    display: table;
    width: 100%;
    height: 100vh;
    background: #000;
}

    #intro .carousel-item {
        width: 100%;
        height: 100vh;
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
    }

        #intro .carousel-item::before {
            content: '';
            background-color: rgba(0, 0, 0, 0.7);
            position: absolute;
            height: 100%;
            width: 100%;
            top: 0;
            right: 0;
            left: 0;
            bottom: 0;
        }

    #intro .carousel-container {
        display: -webkit-box;
        display: -webkit-flex;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-pack: center;
        -webkit-justify-content: center;
        -ms-flex-pack: center;
        justify-content: center;
        -webkit-box-align: center;
        -webkit-align-items: center;
        -ms-flex-align: center;
        align-items: center;
        position: absolute;
        bottom: 0;
        top: 0;
        left: 0;
        right: 0;
    }

    #intro .carousel-background img {
        max-width: 100%;
    }

    #intro .carousel-content {
        text-align: center;
    }

    #intro h2 {
        color: #fff;
        margin-bottom: 30px;
        font-size: 48px;
        font-weight: 700;
    }

    #intro p {
        width: 80%;
        margin: 0 auto 30px auto;
        color: #fff;
    }

    #intro .carousel-fade {
        overflow: hidden;
    }

        #intro .carousel-fade .carousel-inner .carousel-item {
            transition-property: opacity;
        }

        #intro .carousel-fade .carousel-inner .carousel-item,
        #intro .carousel-fade .carousel-inner .active.carousel-item-left,
        #intro .carousel-fade .carousel-inner .active.carousel-item-right {
            opacity: 0;
        }

        #intro .carousel-fade .carousel-inner .active,
        #intro .carousel-fade .carousel-inner .carousel-item-next.carousel-item-left,
        #intro .carousel-fade .carousel-inner .carousel-item-prev.carousel-item-right {
            opacity: 1;
            transition: 0.5s;
        }

            #intro .carousel-fade .carousel-inner .carousel-item-next,
            #intro .carousel-fade .carousel-inner .carousel-item-prev,
            #intro .carousel-fade .carousel-inner .active.carousel-item-left,
            #intro .carousel-fade .carousel-inner .active.carousel-item-right {
                left: 0;
                -webkit-transform: translate3d(0, 0, 0);
                transform: translate3d(0, 0, 0);
            }

    #intro .carousel-control-prev,
    #intro .carousel-control-next {
        width: 10%;
    }

    #intro .carousel-control-next-icon,
    #intro .carousel-control-prev-icon {
        background: none;
        font-size: 32px;
        line-height: 1;
    }

    #intro .carousel-indicators li {
        cursor: pointer;
    }

    #intro .btn-get-started {
        font-family: "Montserrat", sans-serif;
        font-weight: 500;
        font-size: 16px;
        letter-spacing: 1px;
        display: inline-block;
        padding: 8px 32px;
        border-radius: 50px;
        transition: 0.5s;
        margin: 10px;
        color: #fff;
        background: #57C4AD;
    }

        #intro .btn-get-started:hover {
            background: #fff;
            color: #57C4AD;
        }

/*--------------------------------------------------------------
# Navigation Menu
--------------------------------------------------------------*/

/* Nav Menu Essentials */

.nav-menu,
.nav-menu * {
    margin: 0;
    padding: 0;
    list-style: none;
}

    .nav-menu ul {
        position: absolute;
        display: none;
        top: 100%;
        left: 0;
        z-index: 99;
    }

    .nav-menu li {
        position: relative;
        white-space: nowrap;
    }

    .nav-menu > li {
        float: left;
    }

    .nav-menu li:hover > ul,
    .nav-menu li.sfHover > ul {
        display: block;
    }

    .nav-menu ul ul {
        top: 0;
        left: 100%;
    }

    .nav-menu ul li {
        min-width: 180px;
    }

/* Nav Menu Arrows */

.sf-arrows .sf-with-ul {
    padding-right: 30px;
}

    .sf-arrows .sf-with-ul:after {
        content: "\f107";
        position: absolute;
        right: 15px;
        font-family: FontAwesome;
        font-style: normal;
        font-weight: normal;
    }

.sf-arrows ul .sf-with-ul:after {
    content: "\f105";
}

/* Nav Meu Container */

#nav-menu-container {
    float: right;
    margin: 0;
}

/* Nav Meu Styling */

.nav-menu a {
    padding: 0 8px 10px 8px;
    text-decoration: none;
    display: inline-block;
    color: #fff;
    font-family: "Montserrat", sans-serif;
    font-weight: 700;
    font-size: 16px;
    text-transform: none;
    outline: none;
}

.nav-menu li:hover > a,
.nav-menu > .menu-active > a {
    color: #FFE39F;
}

.nav-menu > li {
    margin-left: 10px;
}

.nav-menu ul {
    margin: 4px 0 0 0;
    padding: 10px;
    box-shadow: 0px 0px 30px rgba(127, 137, 161, 0.25);
    background: #fff;
}

    .nav-menu ul li {
        transition: 0.3s;
    }

        .nav-menu ul li a {
            padding: 10px;
            color: #333;
            transition: 0.3s;
            display: block;
            font-size: 13px;
            text-transform: none;
        }

        .nav-menu ul li:hover > a {
            color: #57C4AD;
        }

    .nav-menu ul ul {
        margin: 0;
    }

/* Mobile Nav Toggle */

#mobile-nav-toggle {
    position: fixed;
    right: 0;
    top: 0;
    z-index: 999;
    margin: 20px 20px 0 0;
    border: 0;
    background: none;
    font-size: 24px;
    display: none;
    transition: all 0.4s;
    outline: none;
    cursor: pointer;
}

    #mobile-nav-toggle i {
        color: #fff;
    }

/* Mobile Nav Styling */

#mobile-nav {
    position: fixed;
    top: 0;
    padding-top: 18px;
    bottom: 0;
    z-index: 998;
    background: rgba(0, 0, 0, 0.8);
    left: -260px;
    width: 260px;
    overflow-y: auto;
    transition: 0.4s;
}

    #mobile-nav ul {
        padding: 0;
        margin: 0;
        list-style: none;
    }

        #mobile-nav ul li {
            position: relative;
        }

            #mobile-nav ul li a {
                color: #fff;
                font-size: 13px;
                text-transform: uppercase;
                overflow: hidden;
                padding: 10px 22px 10px 15px;
                position: relative;
                text-decoration: none;
                width: 100%;
                display: block;
                outline: none;
                font-weight: 700;
                font-family: "Montserrat", sans-serif;
            }

                #mobile-nav ul li a:hover {
                    color: #57C4AD;
                }

            #mobile-nav ul li li {
                padding-left: 30px;
            }

            #mobile-nav ul li.menu-active a {
                color: #57C4AD;
            }

        #mobile-nav ul .menu-has-children i {
            position: absolute;
            right: 0;
            z-index: 99;
            padding: 15px;
            cursor: pointer;
            color: #fff;
        }

            #mobile-nav ul .menu-has-children i.fa-chevron-up {
                color: #57C4AD;
            }

        #mobile-nav ul .menu-has-children li a {
            text-transform: none;
        }

        #mobile-nav ul .menu-item-active {
            color: #57C4AD;
        }

#mobile-body-overly {
    width: 100%;
    height: 100%;
    z-index: 997;
    top: 0;
    left: 0;
    position: fixed;
    background: rgba(0, 0, 0, 0.7);
    display: none;
}

/* Mobile Nav body classes */

body.mobile-nav-active {
    overflow: hidden;
}

    body.mobile-nav-active #mobile-nav {
        left: 0;
    }

    body.mobile-nav-active #mobile-nav-toggle {
        color: #fff;
    }

/*--------------------------------------------------------------
# Sections
--------------------------------------------------------------*/

/* Sections Header
--------------------------------*/

.section-header h3 {
    font-size: 32px;
    color: #111;
    text-transform: uppercase;
    text-align: center;
    font-weight: 700;
    position: relative;
    padding-bottom: 15px;
}

    .section-header h3::before {
        content: '';
        position: absolute;
        display: block;
        width: 120px;
        height: 1px;
        background: #ddd;
        bottom: 1px;
        left: calc(50% - 60px);
    }

    .section-header h3::after {
        content: '';
        position: absolute;
        display: block;
        width: 40px;
        height: 3px;
        background: #57C4AD;
        bottom: 0;
        left: calc(50% - 20px);
    }

.section-header p {
    text-align: center;
    padding-bottom: 30px;
    color: #333;
}

/* Section with background
--------------------------------*/

.section-bg {
    background: #f7f7f7;
}

/* Featured Services Section
--------------------------------*/

#featured-services {
    background: #FFE39F;
    padding-top: 10px;
}

    #featured-services .box {
        padding: 30px 20px;
    }

    #featured-services .box-bg {
        background-image: linear-gradient(0deg, #000000 0%, #242323 50%, #000000 100%);
    }

    #featured-services i {
        color: #57C4AD;
        font-size: 48px;
        display: inline-block;
        line-height: 1;
    }

    #featured-services h4 {
        font-weight: 400;
        margin: 15px 0;
        font-size: 18px;
    }

        #featured-services h4 a {
            color: #333;
        }

            #featured-services h4 a:hover {
                color: #57C4AD;
            }

    #featured-services p {
        font-size: 14px;
        line-height: 24px;
        color: #333;
        margin-bottom: 0;
    }

/* About Us Section
--------------------------------*/

#about {
    background: url("../img/fondopbnb2.jpg") center top no-repeat fixed;
    background-size: cover;
    padding: 60px 0 40px 0;
    position: relative;
}

    #about::before {
        content: '';
        position: absolute;
        left: 0;
        right: 0;
        top: 0;
        bottom: 0;
        background: rgba(255, 255, 255, 0.82);
        z-index: 9;
    }

    #about .container {
        position: relative;
        z-index: 10;
    }

    #about .about-col {
        background: #fff;
        border-radius: 0 0 4px 4px;
        box-shadow: 0px 2px 12px rgba(0, 0, 0, 0.08);
        margin-bottom: 20px;
    }

        #about .about-col .img {
            position: relative;
        }

            #about .about-col .img img {
                border-radius: 4px 4px 0 0;
            }

        #about .about-col .icon {
            width: 64px;
            height: 64px;
            padding-top: 8px;
            text-align: center;
            position: absolute;
            background-color: #57C4AD;
            border-radius: 50%;
            text-align: center;
            border: 4px solid #fff;
            left: calc( 50% - 32px);
            bottom: -30px;
            transition: 0.3s;
        }

        #about .about-col i {
            font-size: 36px;
            line-height: 1;
            color: #fff;
            transition: 0.3s;
        }

        #about .about-col:hover .icon {
            background-color: #fff;
        }

        #about .about-col:hover i {
            color: #57C4AD;
        }

        #about .about-col h2 {
            color: #000;
            text-align: center;
            font-weight: 700;
            font-size: 20px;
            padding: 0;
            margin: 40px 0 12px 0;
        }

            #about .about-col h2 a {
                color: #000;
            }

                #about .about-col h2 a:hover {
                    color: #57C4AD;
                }

        #about .about-col p {
            font-size: 14px;
            line-height: 24px;
            color: #333;
            margin-bottom: 0;
            padding: 0 20px 20px 20px;
        }

    /*New About*/
    #about .section-header h2 {
        color: #57C4AD;
        font-weight: 700;
        font-size: 32px;
        margin-bottom: 15px;
    }

    #about .section-header p {
        color: #333333;
        font-size: 16px;
        line-height: 28px;
        max-width: 800px;
        margin: 0 auto;
    }

.about-col .icon-static {
    width: 64px;
    height: 64px;
    margin: 0 auto 10px auto;
    background-color: #57C4AD;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 32px;
    transition: 0.3s;
    border: 4px solid #fff;
}

.about-col:hover .icon-static {
    background-color: #fff;
    color: #57C4AD;
    border-color: #57C4AD;
}

.about-col p {
    text-align: center;
}


/* Services Section
--------------------------------*/

#services {
    background: #fff;
    background-size: cover;
    padding: 60px 0 40px 0;
}

    #services .box {
        margin-bottom: 30px;
    }

    #services .icon {
        float: left;
    }

        #services .icon i {
            color: #57C4AD;
            font-size: 36px;
            line-height: 1;
            transition: 0.5s;
        }

    #services .title {
        margin-left: 60px;
        font-weight: 700;
        margin-bottom: 15px;
        font-size: 18px;
    }

        #services .title a {
            color: #111;
        }

    #services .box:hover .title a {
        color: #57C4AD;
    }

    #services .description {
        font-size: 14px;
        margin-left: 60px;
        line-height: 24px;
        margin-bottom: 0;
    }

/* Call To Action Section
--------------------------------*/

#call-to-action {
    background: linear-gradient(rgba(0, 142, 99, 0.1), rgba(0, 0, 0, 0.1)), url(../img/call-to-action-bg.jpg) fixed center center;
    background-size: cover;
    padding: 60px 0;
}

    #call-to-action h3 {
        color: #fff;
        font-size: 28px;
        font-weight: 700;
    }

    #call-to-action p {
        color: #fff;
    }

    #call-to-action .cta-btn {
        font-family: "Montserrat", sans-serif;
        text-transform: uppercase;
        font-weight: 500;
        font-size: 16px;
        letter-spacing: 1px;
        display: inline-block;
        padding: 8px 28px;
        border-radius: 25px;
        transition: 0.5s;
        margin-top: 10px;
        border: 2px solid #fff;
        color: #fff;
    }

        #call-to-action .cta-btn:hover {
            background: #57C4AD;
            border: 2px solid #57C4AD;
        }

/* Call To Action Section
--------------------------------*/

#skills {
    padding: 60px 0;
}

    #skills .progress {
        height: 35px;
        margin-bottom: 10px;
    }

        #skills .progress .skill {
            font-family: "Quicksand", sans-serif;
            line-height: 35px;
            padding: 0;
            margin: 0 0 0 20px;
            text-transform: uppercase;
        }

            #skills .progress .skill .val {
                float: right;
                font-style: normal;
                margin: 0 20px 0 0;
            }

    #skills .progress-bar {
        width: 1px;
        text-align: left;
        transition: .9s;
    }

/* Facts Section
--------------------------------*/

#facts {
    background: url("../img/facts-bg.jpg") center top no-repeat fixed;
    background-size: cover;
    padding: 60px 0 0 0;
    position: relative;
}

    #facts::before {
        content: '';
        position: absolute;
        left: 0;
        right: 0;
        top: 0;
        bottom: 0;
        background: rgba(255, 255, 255, 0.88);
        z-index: 9;
    }

    #facts .container {
        position: relative;
        z-index: 10;
    }

    #facts .counters span {
        font-family: "Montserrat", sans-serif;
        font-weight: bold;
        font-size: 48px;
        display: block;
        color: #57C4AD;
    }

    #facts .counters p {
        padding: 0;
        margin: 0 0 20px 0;
        font-family: "Montserrat", sans-serif;
        font-size: 14px;
        color: #111;
    }

    #facts .facts-img {
        text-align: center;
        padding-top: 30px;
    }

/* Portfolio Section
--------------------------------*/

#portfolio {
    padding: 60px 0;
}

    #portfolio #portfolio-flters {
        padding: 0;
        margin: 5px 0 35px 0;
        list-style: none;
        text-align: center;
    }

        #portfolio #portfolio-flters li {
            cursor: pointer;
            margin: 15px 15px 15px 0;
            display: inline-block;
            padding: 10px 20px;
            font-size: 12px;
            line-height: 20px;
            color: #666666;
            border-radius: 4px;
            text-transform: uppercase;
            background: #fff;
            margin-bottom: 5px;
            transition: all 0.3s ease-in-out;
        }

            #portfolio #portfolio-flters li:hover,
            #portfolio #portfolio-flters li.filter-active {
                background: #57C4AD;
                color: #fff;
            }

            #portfolio #portfolio-flters li:last-child {
                margin-right: 0;
            }

    #portfolio .portfolio-wrap {
        box-shadow: 0px 2px 12px rgba(0, 0, 0, 0.08);
        transition: 0.3s;
    }

        #portfolio .portfolio-wrap:hover {
            box-shadow: 0px 4px 14px rgba(0, 0, 0, 0.16);
        }

    #portfolio .portfolio-item {
        position: relative;
        height: 360px;
        overflow: hidden;
    }

        #portfolio .portfolio-item figure {
            background: #000;
            overflow: hidden;
            height: 240px;
            position: relative;
            border-radius: 4px 4px 0 0;
            margin: 0;
        }

            #portfolio .portfolio-item figure:hover img {
                opacity: 0.4;
                transition: 0.3s;
            }

            #portfolio .portfolio-item figure .link-preview,
            #portfolio .portfolio-item figure .link-details {
                position: absolute;
                display: inline-block;
                opacity: 0;
                line-height: 1;
                text-align: center;
                width: 36px;
                height: 36px;
                background: #fff;
                border-radius: 50%;
                transition: 0.2s linear;
            }

                #portfolio .portfolio-item figure .link-preview i,
                #portfolio .portfolio-item figure .link-details i {
                    padding-top: 6px;
                    font-size: 22px;
                    color: #333;
                }

                #portfolio .portfolio-item figure .link-preview:hover,
                #portfolio .portfolio-item figure .link-details:hover {
                    background: #57C4AD;
                }

                    #portfolio .portfolio-item figure .link-preview:hover i,
                    #portfolio .portfolio-item figure .link-details:hover i {
                        color: #fff;
                    }

            #portfolio .portfolio-item figure .link-preview {
                left: calc(50% - 38px);
                top: calc(50% - 18px);
            }

            #portfolio .portfolio-item figure .link-details {
                right: calc(50% - 38px);
                top: calc(50% - 18px);
            }

            #portfolio .portfolio-item figure:hover .link-preview {
                opacity: 1;
                left: calc(50% - 44px);
            }

            #portfolio .portfolio-item figure:hover .link-details {
                opacity: 1;
                right: calc(50% - 44px);
            }

        #portfolio .portfolio-item .portfolio-info {
            background: #fff;
            text-align: center;
            padding: 30px;
            height: 90px;
            border-radius: 0 0 3px 3px;
        }

            #portfolio .portfolio-item .portfolio-info h4 {
                font-size: 18px;
                line-height: 1px;
                font-weight: 700;
                margin-bottom: 18px;
                padding-bottom: 0;
            }

                #portfolio .portfolio-item .portfolio-info h4 a {
                    color: #333;
                }

                    #portfolio .portfolio-item .portfolio-info h4 a:hover {
                        color: #57C4AD;
                    }

            #portfolio .portfolio-item .portfolio-info p {
                padding: 0;
                margin: 0;
                color: #b8b8b8;
                font-weight: 500;
                font-size: 14px;
                text-transform: uppercase;
            }

/* Clients Section
--------------------------------*/

#clients {
    padding: 60px 0;
}

    #clients img {
        max-width: 100%;
        opacity: 0.5;
        transition: 0.3s;
        padding: 15px 0;
    }

        #clients img:hover {
            opacity: 1;
        }

    #clients .owl-nav,
    #clients .owl-dots {
        margin-top: 5px;
        text-align: center;
    }

    #clients .owl-dot {
        display: inline-block;
        margin: 0 5px;
        width: 12px;
        height: 12px;
        border-radius: 50%;
        background-color: #ddd;
    }

        #clients .owl-dot.active {
            background-color: #57C4AD;
        }

/* Testimonials Section
--------------------------------*/

#testimonials {
    padding: 60px 0;
}

    #testimonials .section-header {
        margin-bottom: 40px;
    }

    #testimonials .testimonial-item {
        text-align: center;
    }

        #testimonials .testimonial-item .testimonial-img {
            width: 120px;
            border-radius: 50%;
            border: 4px solid #fff;
            margin: 0 auto;
        }

        #testimonials .testimonial-item h3 {
            font-size: 20px;
            font-weight: bold;
            margin: 10px 0 5px 0;
            color: #111;
        }

        #testimonials .testimonial-item h4 {
            font-size: 14px;
            color: #999;
            margin: 0 0 15px 0;
        }

        #testimonials .testimonial-item .quote-sign-left {
            margin-top: -15px;
            padding-right: 10px;
            display: inline-block;
            width: 37px;
        }

        #testimonials .testimonial-item .quote-sign-right {
            margin-bottom: -15px;
            padding-left: 10px;
            display: inline-block;
            max-width: 100%;
            width: 37px;
        }

        #testimonials .testimonial-item p {
            font-style: italic;
            margin: 0 auto 15px auto;
        }

    #testimonials .owl-nav,
    #testimonials .owl-dots {
        margin-top: 5px;
        text-align: center;
    }

    #testimonials .owl-dot {
        display: inline-block;
        margin: 0 5px;
        width: 12px;
        height: 12px;
        border-radius: 50%;
        background-color: #ddd;
    }

        #testimonials .owl-dot.active {
            background-color: #57C4AD;
        }

/* Team Section
--------------------------------*/

#team {
    background: #fff;
    padding: 60px 0;
}

    #team .member {
        text-align: center;
        margin-bottom: 20px;
        background: #000;
        position: relative;
    }

        #team .member .member-info {
            opacity: 0;
            display: -webkit-box;
            display: -webkit-flex;
            display: -ms-flexbox;
            display: flex;
            -webkit-box-pack: center;
            -webkit-justify-content: center;
            -ms-flex-pack: center;
            justify-content: center;
            -webkit-box-align: center;
            -webkit-align-items: center;
            -ms-flex-align: center;
            align-items: center;
            position: absolute;
            bottom: 0;
            top: 0;
            left: 0;
            right: 0;
            transition: 0.2s;
        }

        #team .member .member-info-content {
            margin-top: -50px;
            transition: margin 0.2s;
        }

        #team .member:hover .member-info {
            background: rgba(0, 0, 0, 0.7);
            opacity: 1;
            transition: 0.4s;
        }

        #team .member:hover .member-info-content {
            margin-top: 0;
            transition: margin 0.4s;
        }

        #team .member h4 {
            font-weight: 700;
            margin-bottom: 2px;
            font-size: 18px;
            color: #fff;
        }

        #team .member span {
            font-style: italic;
            display: block;
            font-size: 13px;
            color: #fff;
        }

        #team .member .social {
            margin-top: 15px;
        }

            #team .member .social a {
                transition: none;
                color: #fff;
            }

                #team .member .social a:hover {
                    color: #57C4AD;
                }

            #team .member .social i {
                font-size: 18px;
                margin: 0 2px;
            }

/* Contact Section
--------------------------------*/

#contact {
    padding: 60px 0;
    background: url("../img/fondopbnb2.jpg") center top no-repeat fixed;
    background-size: cover;
    padding: 60px 0 40px 0;
    position: relative;
}

    #contact::before {
        content: '';
        position: absolute;
        left: 0;
        right: 0;
        top: 0;
        bottom: 0;
        background: rgba(255, 255, 255, 0.82);
        z-index: 9;
    }

    #contact .container {
        position: relative;
        z-index: 10;
    }


    #contact .contact-info {
        margin-bottom: 20px;
        text-align: center;
    }

        #contact .contact-info i {
            font-size: 48px;
            display: inline-block;
            margin-bottom: 10px;
            color: #57C4AD;
        }

        #contact .contact-info address,
        #contact .contact-info p {
            margin-bottom: 0;
            color: #000;
        }

        #contact .contact-info h3 {
            font-size: 18px;
            margin-bottom: 15px;
            font-weight: bold;
            text-transform: uppercase;
            color: #999;
        }

        #contact .contact-info a {
            color: #000;
        }

            #contact .contact-info a:hover {
                color: #57C4AD;
            }

    #contact .contact-address,
    #contact .contact-phone,
    #contact .contact-email {
        margin-bottom: 20px;
    }

    #contact .form #sendmessage {
        color: #57C4AD;
        border: 1px solid #57C4AD;
        display: none;
        text-align: center;
        padding: 15px;
        font-weight: 600;
        margin-bottom: 15px;
    }

    #contact .form #errormessage {
        color: red;
        display: none;
        border: 1px solid red;
        text-align: center;
        padding: 15px;
        font-weight: 600;
        margin-bottom: 15px;
    }

        #contact .form #sendmessage.show,
        #contact .form #errormessage.show,
        #contact .form .show {
            display: block;
        }

    #contact .form .validation {
        color: red;
        display: none;
        margin: 0 0 20px;
        font-weight: 400;
        font-size: 13px;
    }

    #contact .form input,
    #contact .form textarea {
        padding: 10px 14px;
        border-radius: 0;
        box-shadow: none;
        font-size: 15px;
    }

    #contact .form button[type="submit"] {
        background: #57C4AD;
        border: 0;
        padding: 10px 30px;
        color: #fff;
        transition: 0.4s;
        cursor: pointer;
    }

        #contact .form button[type="submit"]:hover {
            background: #13a456;
        }

    /*new contact*/
    /* Ajustes visuales para el formulario de registro de anfitriones */
    #contact.section-bg {
        background-color: #F8F8F8;
        border-top: 8px solid #FFE39F;
        padding: 60px 0;
    }

    #contact .section-header h2 {
        color: #57C4AD;
        font-weight: bold;
    }

    #contact .section-header p {
        color: #333333;
        font-size: 16px;
    }

    #contact .form {
        background-color: #fff;
        padding: 30px;
        border-radius: 8px;
        box-shadow: 0 0 12px rgba(0, 0, 0, 0.05);
        border-left: 6px solid #FFE39F;
    }

        #contact .form input,
        #contact .form textarea,
        #contact .form select {
            background: #fff;
            border: 1px solid #ccc;
            color: #333;
            border-radius: 6px;
        }

            #contact .form input::placeholder,
            #contact .form textarea::placeholder {
                color: #999;
            }

        #contact .form label {
            color: #57C4AD;
            font-weight: 600;
            margin-top: 15px;
            display: block;
        }

        #contact .form .form-check-label {
            color: #333;
            margin-right: 20px;
            font-weight: normal;
        }

        #contact .form button[type="submit"] {
            background: #57C4AD;
            border: none;
            padding: 12px 30px;
            font-size: 16px;
            border-radius: 30px;
            color: #fff;
            margin-top: 20px;
            transition: 0.3s ease;
        }

            #contact .form button[type="submit"]:hover {
                background: #4bb49b;
            }

    #contact .form {
        background: rgba(255, 255, 255, 0.15); /* translúcido */
        backdrop-filter: blur(5px); /* efecto desenfoque */
        -webkit-backdrop-filter: blur(8px); /* compatibilidad Safari */
        padding: 30px;
        border-radius: 12px;
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
        border-left: 6px solid #FFE39F;
        transition: 0.3s ease;
    }


/*--------------------------------------------------------------
# Footer
--------------------------------------------------------------*/

#footer {
    background: #FFE39F;
    padding: 0 0 30px 0;
    color: #333;
    font-size: 14px;
}

    #footer .footer-top {
        background: #FFF7EC;
        padding: 60px 0 30px 0;
    }

        #footer .footer-top .footer-info {
            margin-bottom: 30px;
        }

            #footer .footer-top .footer-info h3 {
                font-size: 34px;
                margin: 0 0 20px 0;
                padding: 2px 0 2px 10px;
                line-height: 1;
                font-family: "Montserrat", sans-serif;
                font-weight: 700;
                letter-spacing: 3px;
                border-left: 4px solid #57C4AD;
            }

            #footer .footer-top .footer-info p {
                font-size: 14px;
                line-height: 24px;
                margin-bottom: 0;
                font-family: "Montserrat", sans-serif;
                color: #eee;
            }

        #footer .footer-top .social-links a {
            font-size: 18px;
            display: inline-block;
            background: #333;
            color: #eee;
            line-height: 1;
            padding: 8px 0;
            margin-right: 4px;
            border-radius: 50%;
            text-align: center;
            width: 36px;
            height: 36px;
            transition: 0.3s;
        }

            #footer .footer-top .social-links a:hover {
                background: #57C4AD;
                color: #fff;
            }

        #footer .footer-top h4 {
            font-size: 14px;
            font-weight: bold;
            color: #fff;
            text-transform: none;
            position: relative;
            padding-bottom: 12px;
        }

            #footer .footer-top h4::before,
            #footer .footer-top h4::after {
                content: '';
                position: absolute;
                left: 0;
                bottom: 0;
                height: 2px;
            }

            #footer .footer-top h4::before {
                right: 0;
                background: #555;
            }

            #footer .footer-top h4::after {
                background: #57C4AD;
                width: 60px;
            }

        #footer .footer-top .footer-links {
            margin-bottom: 30px;
        }

            #footer .footer-top .footer-links ul {
                list-style: none;
                padding: 0;
                margin: 0;
            }

                #footer .footer-top .footer-links ul i {
                    padding-right: 8px;
                    color: #ddd;
                }

                #footer .footer-top .footer-links ul li {
                    border-bottom: 1px solid #333;
                    padding: 10px 0;
                }

                    #footer .footer-top .footer-links ul li:first-child {
                        padding-top: 0;
                    }

                #footer .footer-top .footer-links ul a {
                    color: #eee;
                }

                    #footer .footer-top .footer-links ul a:hover {
                        color: #57C4AD;
                    }

        #footer .footer-top .footer-contact {
            margin-bottom: 30px;
        }

            #footer .footer-top .footer-contact p {
                line-height: 26px;
            }

        #footer .footer-top .footer-newsletter {
            margin-bottom: 30px;
        }

            #footer .footer-top .footer-newsletter input[type="email"] {
                border: 0;
                padding: 6px 8px;
                width: 65%;
            }

            #footer .footer-top .footer-newsletter input[type="submit"] {
                background: #57C4AD;
                border: 0;
                width: 35%;
                padding: 6px 0;
                text-align: center;
                color: #fff;
                transition: 0.3s;
                cursor: pointer;
            }

                #footer .footer-top .footer-newsletter input[type="submit"]:hover {
                    background: #13a456;
                }

    #footer .copyright {
        text-align: center;
        padding-top: 30px;
    }

    #footer .credits {
        text-align: center;
        font-size: 13px;
        color: #ddd;
    }

    /*New Footer*/
    #footer .footer-top .footer-info h3,
    #footer .footer-top h4 {
        color: #57C4AD;
    }

    #footer .footer-top .footer-links ul a,
    #footer .footer-top .footer-contact p {
        color: #333;
    }

        #footer .footer-top .footer-links ul a:hover {
            color: #4bb49b;
        }

    #footer .footer-top .footer-links ul i {
        color: #57C4AD;
    }

    #footer .footer-top .footer-links ul li {
        border-bottom: 1px solid #E6C985;
    }

    #footer .copyright {
        color: #333;
    }

    #footer .footer-top .footer-info img {
        max-width: 210px;
        height: auto;
        margin-bottom: 10px;
    }


/*--------------------------------------------------------------
# Responsive Media Queries
--------------------------------------------------------------*/

@media (min-width: 768px) {
    #contact .contact-address,
    #contact .contact-phone,
    #contact .contact-email {
        padding: 20px 0;
    }

    #contact .contact-phone {
        border-left: 1px solid #ddd;
        border-right: 1px solid #ddd;
    }
}

@media (min-width: 992px) {
    #testimonials .testimonial-item p {
        width: 80%;
    }
}

@media (min-width: 1024px) {
    #header #logo {
        padding-left: 60px;
    }

    #intro p {
        width: 60%;
    }

    #intro .carousel-control-prev,
    #intro .carousel-control-next {
        width: 5%;
    }

    #nav-menu-container {
        padding-right: 60px;
    }
}

@media (max-width: 768px) {
    .back-to-top {
        bottom: 15px;
    }

    #header {
        padding: 10px 0;
        height: auto;
    }

        #header #logo h1 {
            font-size: 28px;
        }

        #header #logo img {
            max-height: 40px;
        }

        #header #logo p {
            font-size: 13px;
            line-height: 1.2;
            margin-top: 5px;
            margin-bottom: 0;
            max-width: 200px;
            color: #fff;
            word-break: break-word;
        }

        #header #logo {
            display: flex;
            flex-direction: column;
            align-items: flex-start;
        }

    #intro h2 {
        font-size: 28px;
    }

    #nav-menu-container {
        display: none;
    }

    #mobile-nav-toggle {
        display: inline;
    }

    #header.header-scrolled #logo img {
        max-height: 40px;
    }

    #header.header-scrolled #logo p {
        font-size: 12px;
        line-height: 1.2;
        margin-top: 2px;
    }

    #header.header-scrolled {
        padding: 8px 0;
        height: auto;
    }
}

/* Ajuste visual para el botón ASP.NET */
input[type="submit"]#btnRegister.btn-registrar {
    background: #57C4AD !important;
    border: none !important;
    padding: 12px 30px !important;
    font-size: 16px !important;
    border-radius: 30px !important;
    color: #fff !important;
    cursor: pointer;
    margin-top: 20px;
    display: inline-block;
}

    input[type="submit"]#btnRegister.btn-registrar:hover {
        background: #4bb49b !important;
    }


/* Alinear mensaje de confirmación */
#mensajeConfirmacion {
    margin-top: 20px;
    font-weight: bold;
    color: #57C4AD;
    text-align: center;
}


.form-control {
    border: 1px solid #ccc;
    border-radius: 6px;
    padding: 10px 14px;
    font-size: 15px;
    background-color: #fff;
    color: #333;
    box-shadow: none;
    transition: border-color 0.3s ease;
}

    .form-control:focus {
        border-color: #57C4AD;
        outline: none;
        box-shadow: 0 0 4px rgba(87, 196, 173, 0.3);
    }

textarea.form-control {
    resize: vertical;
    min-height: 100px;
}

.role-card {
    background-color: #57C4AD;
    color: white;
    padding: 40px 20px;
    text-align: center;
    border-radius: 10px;
    transition: transform 0.2s ease, background-color 0.3s ease;
    cursor: pointer;
    height: 100%;
    border: 4px solid transparent;
}

    .role-card:hover {
        background-color: #3eb69c;
        transform: scale(1.05);
    }

    .role-card.selected {
        border-color: #ffe39f;
        box-shadow: 0 0 10px rgba(255, 227, 159, 0.6);
    }

    .role-card i {
        font-size: 48px;
        margin-bottom: 15px;
    }

.role-label {
    font-size: 1.5rem;
    font-weight: bold;
}

.role-grid {
    gap: 20px;
}

@media (max-width: 576px) {
    .role-card {
        padding: 30px 15px;
    }
}

/* Barra de busqueda */
.busqueda-airbnb .search-wrapper {
    display: flex;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 40px;
    overflow: visible;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    flex-wrap: nowrap;
    align-items: center;
    padding-left: 15px;
    gap: 1px;
}

.search-field {
    border: none;
    padding: 14px 20px;
    min-width: 150px;
    font-size: 15px;
    color: #333;
    background: transparent;
    outline: none;
    flex: 1;
}

    .search-field:not(:last-child) {
        border-right: 1px solid #eee;
    }

.search-btn {
    border-radius: 50%;
    margin: 5px;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
}

@media (max-width: 768px) {
    .busqueda-airbnb .search-wrapper {
        flex-direction: column;
        border-radius: 20px;
    }

    .search-field {
        border: none !important;
        width: 100%;
    }

    .search-btn {
        border-radius: 25px;
        width: 100%;
    }
}

/* Campo con dos líneas (label + subtexto) */
.search-double-line {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 10px 20px;
    min-width: 150px;
    cursor: pointer;
    background: transparent;
    border-right: 1px solid #eee;
    position: relative;
}

.search-label {
    font-size: 12px;
    font-weight: 600;
    color: #666;
    line-height: 1.1;
}

.search-subtext {
    font-size: 14px;
    color: #000;
    line-height: 1.4;
}

/* Input oculto pero funcional */
.search-hidden-input {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    pointer-events: auto;
    border: none;
    cursor: pointer;
}
.search-double-line span {
    pointer-events: none;
}
.oculto {
    display: none !important;
}
/* Campo especial para Lugar (editable real) */
.editable-lugar {
    flex-direction: column;
    justify-content: center;
    padding: 6px 20px;
    min-width: 180px;
    position: relative;
    border-right: 1px solid #eee;
}

    .editable-lugar .search-label {
        font-size: 12px;
        font-weight: 600;
        color: #666;
        margin-bottom: 2px;
    }

.search-input-visible {
    border: none;
    background: transparent;
    font-size: 14px;
    color: #000;
    padding: 0;
    margin: 0;
    outline: none;
    width: 100%;
}


.card-img-top {
    height: 200px; /* Ajustá este valor según el diseño final */
    width: 100%;
    object-fit: cover;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}

#Login a {
    color: #fff !important;
    text-decoration: none;
}

    #Login a:hover {
        color: #FFE39F !important; /* opcional: dorado claro al pasar el mouse */
    }

.dropdown-mascotas-count {
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 999;
    background: #fff;
    border: 1px solid #ccc;
    border-radius: 10px;
    width: 100%;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    display: none;
    margin-top: 5px;
    padding: 10px 15px;
}

.mascota-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 6px 0;
    font-size: 14px;
}

.contador {
    display: flex;
    align-items: center;
    gap: 10px;
}

.btn-menos,
.btn-mas {
    background-color: #57C4AD;
    color: white;
    border: none;
    border-radius: 50%;
    width: 28px;
    height: 28px;
    font-size: 16px;
    line-height: 1;
    cursor: pointer;
    font-weight: bold;
    transition: background 0.2s;
}

    .btn-menos:hover,
    .btn-mas:hover {
        background-color: #4bb49b;
    }

.sugerencias-container {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    border: 1px solid #ccc;
    background: #ffffff; /* asegúrate que el fondo sea blanco */
    z-index: 1000;
    max-height: 250px;
    overflow-y: auto;
    border-radius: 4px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.sugerencias-container div {
    padding: 10px;
    cursor: pointer;
    font-size: 14px;
    color: #333333; /* forzar color oscuro para texto */
}

.sugerencias-container div:hover {
    background-color: #f5f5f5;
}

.profile-photo-border {
    border: 3px solid #198754 !important; /* verde Bootstrap */
}

.hamburger-menu {
    position: fixed;
    top: 0;
    right: -300px;
    width: 250px;
    height: 100vh;
    background: #49c2a2;
    box-shadow: -2px 0 5px rgba(0, 0, 0, 0.2);
    transition: right 0.3s ease-in-out;
    padding: 80px 20px 20px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

    .hamburger-menu ul {
        list-style: none;
        padding: 0;
        margin: 0;
    }

        .hamburger-menu ul li {
            margin-bottom: 20px;
        }

            .hamburger-menu ul li a {
                color: #fff !important;
                font-size: 18px;
                text-decoration: none;
                display: block;
                transition: color 0.2s;
            }

                .hamburger-menu ul li a:hover {
                    color: #ffd76a !important;
                }

    .hamburger-menu.open {
        right: 0;
    }

.menu-toggle {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10000;
    background: none;
    border: none;
    font-size: 28px;
    cursor: pointer;
    color: white;
}

    .menu-toggle .menu-icon {
        transition: transform 0.3s ease;
        user-select: none;
    }

#faq.section-bg {
    background-color: #f0f0f0;
    padding: 60px 0;
}

#faq h2 {
    color: #57C4AD;
    font-weight: 700;
    font-size: 32px;
    margin-bottom: 15px;
}

#faq .card {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(8px);
    border: none;
    border-left: 6px solid #FFE39F;
    border-radius: 12px;
    margin-bottom: 15px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

#faq .card-header {
    background-color: transparent;
    border: none;
    padding: 0;
}

#faq .btn-link {
    color: #57C4AD;
    font-weight: bold;
    text-decoration: none;
    display: block;
    width: 100%;
    text-align: left;
    padding: 16px 24px;
    font-size: 18px;
}

    #faq .btn-link:hover {
        color: #4bb49b;
        text-decoration: none;
    }

#faq .card-body {
    padding: 20px 24px;
    color: #333;
    font-size: 16px;
    background-color: transparent;
}

.center-buttons {
    display: flex;
    justify-content: center;
    gap: 8px; /* opcional, espacio entre botones */
}



/* Marco del carrusel: más chico y centrado */
#galeria .carousel-frame {
    max-width: 560px; /* ancho “mediano-chico” */
}

@media (max-width: 767.98px) {
    #galeria .carousel-frame {
        max-width: 100%;
    }
    /* en móvil ocupa ancho completo */
}

/* Si querés aún más bajo, podés usar ratio 4x3:
   cambia 'ratio-16x9' por 'ratio-4x3' en el HTML de arriba. */
/* Limita a 3 líneas y agrega "..." visual */
.clamp-3 {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Botón verde PatitaBnb */
.btn-get-started {
    --brand-green: #21c37a; /* <-- cambia este HEX si tu verde es otro */
    background-color: var(--brand-green) !important;
    border-color: var(--brand-green) !important;
    color: #fff !important;
    font-weight: 600;
}

    .btn-get-started:hover,
    .btn-get-started:focus {
        filter: brightness(0.92);
        color: #fff !important;
    }

    .btn-get-started:active {
        filter: brightness(0.85);
    }

    .btn-get-started:disabled {
        opacity: .65;
        cursor: not-allowed;
    }

:root {
    --brand-green: #21c37a; /* cambiá este HEX si tu verde es otro */
}

/* Sólido (como el “primary” pero verde marca) */
.btn-get-started {
    background-color: var(--brand-green) !important;
    border-color: var(--brand-green) !important;
    color: #fff !important;
    font-weight: 600;
}

    .btn-get-started:hover,
    .btn-get-started:focus {
        filter: brightness(.92);
        color: #fff !important;
    }

    .btn-get-started:active {
        filter: brightness(.85);
    }

    .btn-get-started:disabled {
        opacity: .65;
        cursor: not-allowed;
    }

/* Outline en verde */
.btn-get-started-outline {
    background: transparent !important;
    border: 1px solid var(--brand-green) !important;
    color: var(--brand-green) !important;
    font-weight: 600;
}

    .btn-get-started-outline:hover,
    .btn-get-started-outline:focus {
        background-color: var(--brand-green) !important;
        color: #fff !important;
    }

    .btn-get-started-outline:disabled {
        opacity: .65;
        cursor: not-allowed;
    }

#chatHistory .bg-white {
    background-color: #fff;
}

#chatHistory .bg-primary {
    background-color: var(--bs-primary) !important;
}

/* Timestamp más chico en el chat */
#chatModal #chatHistory .chat-timestamp {
    font-size: .67rem; /* más chico que .small */
    line-height: 1.2;
}

@media (max-width: 576px) {
    #chatModal #chatHistory .chat-timestamp {
        font-size: .68rem;
    }
}

/* Variante suave (ghost) */
.btn-ghost {
    background: transparent;
    border: 1px solid var(--bs-border-color);
    color: var(--bs-body-color);
}

    .btn-ghost:hover {
        background: rgba(0,0,0,.03);
    }

.actions-toolbar {
    display: grid;
    gap: .5rem;
    justify-content: center;
}
/* centrado siempre */
@media (min-width: 992px) {
    .actions-toolbar {
        grid-auto-flow: column;
    }
    /* en desktop, en fila */
}

.btn-action {
    padding: .7rem 1rem;
    border-radius: .75rem;
    font-weight: 600;
    line-height: 1.2;
    height: 48px;
}

.btn-icon {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
}
    }

.rating-stars {
    display: flex;
    flex-direction: row-reverse;
    justify-content: center;
    gap: .25rem;
}

.rating-stars input {
    display: none;
}

.rating-stars label {
    font-size: 2rem;
    cursor: pointer;
    color: #ccc;
    user-select: none;
}

.rating-stars input:checked ~ label {
    color: #ffc107;
}

.rating-stars label:hover, .rating-stars label:hover ~ label {
    color: #ffda6a;
}

.rating-avg {
    position: relative;
    display: inline-block;
    line-height: 1;
}

    .rating-avg .stars-bg, .rating-avg .stars-fg {
        font-size: 18px; /* ajustá al tamaño que quieras */
        letter-spacing: 2px; /* espacio entre estrellas */
        font-weight: 600; /* que se vean bien sólidas */
    }

    .rating-avg .stars-bg {
        color: #CED4DA;
    }
    /* gris */
    .rating-avg .stars-fg {
        color: #F6B400; /* dorado */
        position: absolute;
        left: 0;
        top: 0;
        white-space: nowrap;
        overflow: hidden; /* recorta por width */
    }

/* Necesario para el overlay */
.reviews-viewport {
    position: relative;
}

    /* Señal de reinicio (fade suave y un iconito ↺ centrado) */
    .reviews-viewport.restart-cue {
        animation: restartFade 420ms ease;
    }

@keyframes restartFade {
    0% {
        opacity: 1;
        filter: none;
    }

    40% {
        opacity: .65;
        filter: brightness(.92);
    }

    100% {
        opacity: 1;
        filter: none;
    }
}

/* Overlay con el icono de reinicio */
.reviews-viewport.restart-cue::after {
    content: "↺";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(.85);
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: rgba(0,0,0,.35);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    line-height: 1;
    pointer-events: none;
    animation: restartPulse 420ms ease forwards;
}

@keyframes restartPulse {
    0% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(.8);
    }

    40% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
    }

    100% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(.9);
    }
}
/* === Base del slider (si no lo tenés ya) === */
.reviews-slider {
    position: relative;
    display: flex;
    align-items: center;
    gap: .5rem;
}

.reviews-viewport {
    overflow: hidden;
    width: 100%;
    position: relative; /* ya lo tenés, lo repito a propósito */
}

.reviews-track {
    display: flex;
    transition: transform 450ms ease;
    will-change: transform;
}

.reviews-slide {
    flex: 0 0 calc(100% / 3); /* 3 visibles en desktop */
    padding: 0 .5rem;
    box-sizing: border-box;
}

/* Responsivo opcional: 2 en tablet, 1 en mobile */
@media (max-width: 991.98px) {
    .reviews-slide {
        flex: 0 0 calc(100% / 2);
    }
}

@media (max-width: 575.98px) {
    .reviews-slide {
        flex: 0 0 100%;
    }
}

/* === Controles sutiles tipo Bootstrap === */
.reviews-control {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 2.25rem;
    height: 2.25rem;
    border: 0;
    border-radius: 50%;
    background: rgba(0,0,0,0.18);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    opacity: .75;
    transition: opacity .2s ease, background-color .2s ease;
    z-index: 2; /* por encima de las cards */
}

    .reviews-control:hover {
        opacity: .95;
        background: rgba(0,0,0,0.28);
    }

    .reviews-control:focus {
        outline: none;
        box-shadow: 0 0 0 2px rgba(255,255,255,.4);
    }

    .reviews-control:disabled {
        opacity: .25;
        cursor: default;
    }

    .reviews-control .carousel-control-prev-icon,
    .reviews-control .carousel-control-next-icon {
        width: 1rem;
        height: 1rem;
        filter: drop-shadow(0 0 2px rgba(0,0,0,.35));
    }

.reviews-control-prev {
    left: .5rem;
}

.reviews-control-next {
    right: .5rem;
}

@media (max-width: 575.98px) {
    .reviews-control {
        display: none;
    }
}

/* === Estrellitas (si no las tenés ya) === */
.rating-avg .stars-bg {
    color: #ddd;
}

.rating-avg .stars-fg {
    color: #f5c518;
    white-space: nowrap;
}

/* === Ajuste para el cue de reinicio (tu overlay) === */
/* Sumale z-index para que el ↺ quede por encima de las cards y bajo las flechas si querés */
.reviews-viewport.restart-cue::after {
    z-index: 3;
}
