/* Limpiado con script el 20250817 */

#main {
    margin-top: 113px !important;
}

#titulo-principal {
    padding-top: 20px;
}

/* === SERVICIOS EMPRESAS === */
.servicios-empresas-nav {
    margin-bottom: 2rem;
}

.servicios-empresas-nav .nav-btn {
    background: #fff;
    border: 2px solid #007bff;
    color: #007bff;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    display: inline-block;
    margin: 0.25rem;
}

.servicios-empresas-nav .nav-btn:hover {
    background: #007bff;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 123, 255, 0.3);
}

.servicios-empresas-nav .nav-btn.active {
    background: #007bff;
    color: #fff;
    box-shadow: 0 4px 15px rgba(0, 123, 255, 0.4);
}

.servicios-empresas-content>div {
    display: none;
    animation: fadeInUp 0.5s ease-in-out;
}

.servicios-empresas-content>div:first-child {
    display: block;
}

/* Animación suave para el contenido */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.servicios-empresas-intro {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 2rem;
    border-radius: 12px;
    margin-bottom: 2rem;
    border-left: 4px solid #007bff;
}

.servicios-empresas-intro h3 {
    color: #007bff;
    margin-bottom: 1rem;
}

/* Responsive para servicios empresas */
@media (max-width: 768px) {
    .servicios-empresas-nav .nav-btn {
        display: block;
        width: 100%;
        margin: 0.5rem 0;
        text-align: center;
    }
}

/* === SERVICIOS GENERALES === */
.servicios-destacados {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.servicios-particulares,
.servicios-empresas {
    padding: 60px 0;
}

.servicio-card {
    background: #fff;
    border-radius: 12px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    height: 100%;
    border-left: 4px solid #007bff;
}

.servicio-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.servicio-card h4 {
    color: #007bff;
    margin-bottom: 1rem;
    font-weight: 700;
}

.servicio-card i {
    font-size: 2.5rem;
    color: #007bff;
    margin-bottom: 1rem;
}

.servicio-lista {
    list-style: none;
    padding: 0;
    margin: 0;
}

.servicio-lista li {
    padding: 0.5rem 0;
    padding-left: 2rem;
    position: relative;
    border-bottom: 1px solid #f1f1f1;
}

.servicio-lista li:last-child {
    border-bottom: none;
}

.servicio-lista li:before {
    content: '\f00c';
    font-family: 'Bootstrap Icons';
    position: absolute;
    left: 0;
    top: 0.5rem;
    color: #007bff;
    font-weight: bold;
}

.servicios-intro {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 2rem;
    border-radius: 12px;
    margin-bottom: 3rem;
    border-left: 4px solid #007bff;
}

.servicios-intro h3 {
    color: #007bff;
    margin-bottom: 1rem;
    font-weight: 700;
}

.servicios-intro p {
    color: #666;
    line-height: 1.7;
    margin-bottom: 0;
}

/* Responsive para servicios */
@media (max-width: 768px) {
    .servicio-card {
        margin-bottom: 1.5rem;
        padding: 1.5rem;
    }

    .servicios-intro {
        padding: 1.5rem;
        margin-bottom: 2rem;
    }
}

/* === INFORMACIÓN AYUDA UE === */
.info-ayuda-ue {
    background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%);
    border-radius: 15px;
    padding: 2rem;
    margin: 2rem 0;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

.info-ayuda-ue::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #2196f3, #1976d2);
}

.ayuda-ue-content {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.ayuda-ue-text {
    flex: 1;
}

.ayuda-ue-text h4 {
    color: #1976d2;
    font-weight: 700;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.ayuda-ue-text p {
    color: #424242;
    line-height: 1.6;
    margin-bottom: 0;
    font-size: 1rem;
}

.ayuda-ue-imagen {
    flex-shrink: 0;
    width: 200px;
    height: 120px;
}

.ayuda-ue-imagen img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 8px;
}

/* Responsive para info ayuda UE */
@media (max-width: 768px) {
    .ayuda-ue-content {
        flex-direction: column;
        gap: 1.5rem;
    }

    .ayuda-ue-imagen {
        width: 150px;
        height: 90px;
    }

    .info-ayuda-ue {
        padding: 1.5rem;
    }

    .ayuda-ue-text h4 {
        font-size: 1.2rem;
    }
}

/* === CONTENIDO SERVICIOS EMPRESAS === */
.servicios-empresas-content .service-content {
    display: none;
    animation: fadeInUp 0.5s ease-in-out;
}

.servicios-empresas-content .service-content.active,
.servicios-empresas-content .service-content:first-child {
    display: block;
}

/* Animación suave para el contenido */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Template Name: Dewi - Updated: Mar 10 2023 with Bootstrap v5.2.3 */

/* Variables de colores principales */
/* #ff4a17 naranja inicial */
/* #0f147e azul */
/* #0d6efd azul primary bootstrap */

/* Estilos generales */
body,
p,
div,
span,
a,
li,
td,
th,
h1,
h2,
h3,
h4,
h5,
h6 {
    font-style: normal;
}

body {
    font-family: 'Myriad Pro Regular', 'Open Sans', sans-serif;
    font-style: normal;
    font-weight: 400;
}

a {
    color: #0d6efd;
    text-decoration: none;
}

a:hover {
    color: #0d6efd;
    text-decoration: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Raleway', sans-serif;
}

.fs-7 {
    font-size: 0.85rem;
}

.fs-8 {
    font-size: 0.75rem;
}

.fs-9 {
    font-size: 0.65rem;
}

/* Botón volver arriba */
.back-to-top {
    position: fixed;
    visibility: hidden;
    opacity: 0;
    right: 15px;
    bottom: 20px;
    z-index: 996;
    width: 40px;
    height: 40px;
    border-radius: 4px;
    transition: all 0.4s;
    border: solid 2px #0d6efd;
    background-color: #ffffffe1;
}

.back-to-top i {
    font-size: 24px;
    color: #0d6efd;
    line-height: 0;
}

.back-to-top.active {
    visibility: visible;
    opacity: 1;
}

/* Preloader */
#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 #0d6efd;
    border-top-color: #ffe9e3;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    animation: animate-preloader 1s linear infinite;
}

@keyframes animate-preloader {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* Desactivar animaciones AOS en mÃ³viles */
@media screen and (max-width: 768px) {
    [data-aos-delay] {
        transition-delay: 0 !important;
    }
}

/* Header */
#header {
    transition: all 0.5s;
    z-index: 997;
    padding: 20px 0;
}

.header-con-fondo {
    background-color: #042550f2 !important;
}

#header.header-scrolled {
    background: #042550f2;
    padding: 10px 0;
}

#header .logo {
    font-size: 32px;
    margin: 0;
    padding: 0;
    line-height: 1;
    font-weight: 700;
    letter-spacing: 2px;
}

#header .logo a {
    color: #fff;
}

#header .logo img {
    width: 175px;
    height: 60px;
    max-height: 60px !important;
}

/* Ayuda UE */
.ayuda_ue {
    padding: 10px 30px;
    margin-top: 15px;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.no_ayuda_ue {
    display: none;
    opacity: 0;
    transition: display 0s, opacity 0.5s linear;
}

/* Media queries para ayuda UE */
@media screen and (max-height: 599px) {
    .ayuda_ue {
        display: none !important;
    }
}

@media screen and (max-width: 990px) {

    .img-izda,
    .img-dcha {
        height: 45px !important;
    }
}

@media screen and (max-width: 500px) {
    .hero-container {
        margin-top: 100px !important;
    }
}

@media screen and (max-width: 300px) {
    .hero-container {
        margin-top: 200px !important;
    }
}

/* NavegaciÃ³n desktop */
.navbar {
    padding: 0;
}

.navbar ul {
    margin: 0;
    padding: 0;
    display: flex;
    list-style: none;
    align-items: center;
}

.navbar li {
    position: relative;
}

.navbar>ul>li {
    white-space: nowrap;
    padding: 8px 12px;
}

.navbar a,
.navbar a:focus {
    font-family: 'Open Sans', sans-serif;
    display: flex;
    align-items: center;
    position: relative;
    justify-content: space-between;
    padding: 0 3px;
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.9);
    white-space: nowrap;
    transition: 0.3s;
    letter-spacing: 1px;
}

.navbar a i,
.navbar a:focus i {
    font-size: 12px;
    line-height: 0;
    margin-left: 5px;
}

.navbar>ul>li>a:before {
    content: '';
    position: absolute;
    width: 100%;
    height: 2px;
    bottom: -6px;
    left: 0;
    background-color: #0d6efd;
    visibility: hidden;
    width: 0px;
    transition: all 0.3s ease-in-out 0s;
}

.navbar a:hover:before,
.navbar li:hover>a:before,
.navbar .active:before {
    visibility: visible;
    width: 100%;
}

.navbar a:hover,
.navbar .active,
.navbar i:hover,
.navbar .active:focus,
.navbar li:hover>a {
    color: #fff;
}

/* Dropdown del navbar */
.navbar .dropdown ul {
    display: block;
    position: absolute;
    left: 14px;
    top: calc(100% + 30px);
    margin: 0;
    padding: 10px 0;
    z-index: 99;
    opacity: 0;
    visibility: hidden;
    background: #fff;
    box-shadow: 0px 0px 30px rgba(127, 137, 161, 0.25);
    transition: 0.3s;
    border-radius: 4px;
}

.navbar .dropdown ul li {
    min-width: 200px;
}

.navbar .dropdown ul a {
    padding: 10px 20px;
    font-size: 14px;
    text-transform: none;
    color: #15222b;
    font-weight: 400;
}

.navbar .dropdown ul a i {
    font-size: 12px;
}

.navbar .dropdown ul a:hover,
.navbar .dropdown ul .active:hover,
.navbar .dropdown ul li:hover>a {
    color: #0d6efd;
}

.navbar .dropdown:hover>ul {
    opacity: 1;
    top: 100%;
    visibility: visible;
}

.navbar .dropdown .dropdown ul {
    top: 0;
    left: calc(100% - 30px);
    visibility: hidden;
}

.navbar .dropdown .dropdown:hover>ul {
    opacity: 1;
    top: 0;
    left: 100%;
    visibility: visible;
}

@media (max-width: 1366px) {
    .navbar .dropdown .dropdown ul {
        left: -90%;
    }

    .navbar .dropdown .dropdown:hover>ul {
        left: -100%;
    }
}

/* NavegaciÃ³n mÃ³vil */
.mobile-nav-toggle {
    color: #fff;
    font-size: 28px;
    cursor: pointer;
    display: none;
    line-height: 0;
    transition: 0.5s;
}

@media (max-width: 991px) {
    .mobile-nav-toggle {
        display: block;
    }

    .navbar ul {
        display: none;
    }

    .navbar.navbar-mobile {
        position: fixed;
        overflow: hidden;
        top: 0;
        right: 0;
        left: 0;
        bottom: 0;
        background: rgba(4, 7, 9, 0.9);
        transition: 0.3s;
        z-index: 999;
    }

    .navbar.navbar-mobile ul {
        display: block;
        position: absolute;
        top: 55px;
        right: 15px;
        bottom: 15px;
        left: 15px;
        padding: 10px 0;
        border-radius: 10px;
        background-color: #fff;
        overflow-y: auto;
        transition: 0.3s;
    }
}

.navbar-mobile {
    position: fixed;
    overflow: hidden;
    top: 0;
    right: 0;
    left: 0;
    bottom: 0;
    background: rgba(4, 7, 9, 0.9);
    transition: 0.3s;
    z-index: 999;
}

.navbar-mobile .mobile-nav-toggle {
    position: absolute;
    top: 15px;
    right: 15px;
}

.navbar-mobile ul {
    display: block;
    position: absolute;
    top: 55px;
    right: 15px;
    bottom: 15px;
    left: 15px;
    padding: 10px 0;
    border-radius: 10px;
    background-color: #fff;
    overflow-y: auto;
    transition: 0.3s;
}

.navbar-mobile a,
.navbar-mobile a:focus {
    padding: 10px 20px;
    font-size: 15px;
    color: #15222b;
}

.navbar-mobile a:hover,
.navbar-mobile .active,
.navbar-mobile li:hover>a {
    color: #0d6efd;
}

.navbar-mobile .dropdown ul {
    position: static;
    display: none;
    margin: 10px 20px;
    padding: 10px 0;
    z-index: 99;
    opacity: 1;
    visibility: visible;
    background: #fff;
    box-shadow: 0px 0px 30px rgba(127, 137, 161, 0.25);
}

.navbar-mobile .dropdown ul li {
    min-width: 200px;
}

.navbar-mobile .dropdown ul a {
    padding: 10px 20px;
}

.navbar-mobile .dropdown ul a i {
    font-size: 12px;
}

.navbar-mobile .dropdown ul a:hover,
.navbar-mobile .dropdown ul .active:hover,
.navbar-mobile .dropdown ul li:hover>a {
    color: #0d6efd;
}

.navbar-mobile .dropdown>.dropdown-active {
    display: block;
}

/* Sección Hero */
#hero {
    width: 100%;
    height: 100vh;
    background-image: image-set(url('../../assets/img/hero-bg.webp') type('image/webp'),
            url('../../assets/img/hero-bg.jpg') type('image/jpeg'));
    background-position: top center;
    background-size: cover;
    background-repeat: no-repeat;
}

#hero:before {
    content: '';
    background: rgba(13, 20, 26, 0.7);
    position: absolute;
    bottom: 0;
    top: 0;
    left: 0;
    right: 0;
}

#hero .hero-container {
    position: absolute;
    bottom: 0;
    top: 0;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    text-align: center;
}

#hero h1 {
    margin: 0 0 10px 0;
    font-size: 48px;
    font-weight: 700;
    line-height: 56px;
    color: #fff;
}

#hero h2 {
    color: #eee;
    margin-bottom: 50px;
    font-size: 24px;
}

@media (min-width: 1024px) {
    #hero {
        background-attachment: fixed;
    }
}

@media (max-width: 768px) {
    #hero h1 {
        font-size: 28px;
        line-height: 36px;
    }

    #hero h2 {
        font-size: 18px;
        line-height: 24px;
        margin-bottom: 30px;
    }
}

/* Secciones generales */
section {
    padding: 60px 0;
    overflow: hidden;
}

.section-bg {
    background-color: #f0f4f8;
}

.section-title {
    padding-bottom: 40px;
}

.section-title h2 {
    font-size: 14px;
    font-weight: 500;
    padding: 0;
    line-height: 1px;
    margin: 0 0 5px 0;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #5c8eb0;
    font-family: 'Open Sans', sans-serif;
}

.section-title h2::after {
    content: '';
    width: 120px;
    height: 1px;
    display: inline-block;
    background: #0d6efd;
    margin: 4px 10px;
}

.section-title p {
    margin: 0;
    margin-left: 30px;
    font-size: 33px;
    font-weight: 700;
    text-transform: lowercase;
    font-family: 'Open Sans', sans-serif;
    color: #263d4d;
}

/* SecciÃ³n About */
.about .container {
    box-shadow: 0px 2px 15px rgba(0, 0, 0, 0.1);
    padding-bottom: 15px;
}

.about .content {
    font-size: 15px;
}

.about .content h3 {
    font-weight: 700;
    font-size: 24px;
    color: #263d4d;
}

.about .content ul {
    list-style: none;
    padding: 0;
}

.about .content ul li {
    padding-bottom: 10px;
    padding-left: 28px;
    position: relative;
}

.about .content ul i {
    font-size: 24px;
    color: #0d6efd;
    position: absolute;
    left: 0;
    top: -2px;
}

.about .content p:last-child {
    margin-bottom: 0;
}

@keyframes pulsate-btn {
    0% {
        transform: scale(0.6, 0.6);
        opacity: 1;
    }

    100% {
        transform: scale(1, 1);
        opacity: 0;
    }
}

/* About Boxes */
.about-boxes {
    padding: 60px 0 30px 0;
    position: relative;
}

.about-boxes::before {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    z-index: 9;
}

.about-boxes .container {
    position: relative;
    z-index: 10;
}

.about-boxes .card {
    border-radius: 3px;
    border: 0;
    box-shadow: 0px 2px 15px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
}

.about-boxes .card-icon {
    text-align: center;
    margin-top: -32px;
}

.about-boxes .card-icon i {
    font-size: 32px;
    color: #fff;
    width: 64px;
    height: 64px;
    padding-top: 5px;
    text-align: center;
    background-color: #0d6efd;
    border-radius: 4px;
    border: 4px solid #fff;
    transition: 0.3s;
    display: inline-block;
}

.about-boxes .card-icon span {
    font-size: 40px;
    color: #fff;
    width: 64px;
    height: 64px;
    padding-top: 5px;
    text-align: center;
    background-color: #0d6efd;
    border-radius: 4px;
    border: 4px solid #fff;
    transition: 0.3s;
    display: inline-block;
}

.about-boxes .card-body {
    padding-top: 12px;
}

.about-boxes .card-title {
    font-weight: 700;
    text-align: center;
}

.about-boxes .card-title a {
    color: #15222b;
}

.about-boxes .card-title a:hover {
    color: #0d6efd;
}

.about-boxes .card-text {
    color: #5e5e5e;
}

.about-boxes .card:hover .card-icon i {
    background: #fff;
    color: #0d6efd;
}

@media (max-width: 1024px) {
    .about-boxes {
        background-attachment: scroll;
    }
}

/* Clientes */
.clients {
    background: #f0f4f8;
    padding: 15px 0;
    text-align: center;
}

.clients img {
    max-width: 45%;
    transition: all 0.4s ease-in-out;
    display: inline-block;
    padding: 15px 0;
    filter: grayscale(100);
}

.clients img:hover {
    filter: none;
    transform: scale(1.15);
}

@media (max-width: 768px) {
    .clients img {
        max-width: 40%;
    }
}

/* Features */
.features .nav-tabs {
    border: 0;
}

.features .nav-link {
    border: 1px solid #b5ccdb;
    padding: 10px 5px 10px 10px;
    transition: 0.3s;
    color: #15222b;
    border-radius: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #ffffffbd;
}

.features .nav-link i {
    padding-right: 15px;
    font-size: 48px;
}

.features .nav-link span {
    padding-right: 15px;
    font-size: 48px;
}

.features .nav-link h4 {
    font-size: 18px;
    font-weight: 600;
    margin: 0;
}

.features .nav-link:hover {
    color: #0d6efd;
}

.features .nav-link.active {
    background: #0d6efd !important;
    color: #fff !important;
    border-color: #0d6efd !important;
}

@media (max-width: 768px) {
    .features .nav-link i {
        padding: 0;
        line-height: 1;
        font-size: 36px;
    }
}

@media (max-width: 575px) {
    .features .nav-link {
        padding: 15px;
    }

    .features .nav-link i {
        font-size: 24px;
    }
}

.features .tab-content {
    margin-top: 30px;
}

.features .tab-pane h3 {
    font-weight: 600;
    font-size: 26px;
}

.features .tab-pane ul {
    list-style: none;
    padding: 0;
}

.features .tab-pane ul li {
    padding-bottom: 0px;
}

.features .tab-pane ul i {
    font-size: 20px;
    padding-right: 4px;
    color: #0d6efd;
}

.features .tab-pane p:last-child {
    margin-bottom: 0;
}

/* Servicios */
.services {
    background-image: image-set(url('../../assets/img/servicios/servicios_particulares.webp') type('image/webp'),
            url('../../assets/img/servicios/servicios_particulares.jpg') type('image/jpeg'));
    background-position: center top;
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-size: cover;
    padding: 60px 0 30px 0;
    position: relative;
}

.services::before {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.85);
    z-index: 9;
}

.services .container {
    position: relative;
    z-index: 10;
}

/* Testimonios */
.testimonials {
    padding: 80px 0;
    background: url('../../assets/img/blanco/clientes.webp') no-repeat;
    background-position: center center;
    background-size: cover;
    position: relative;
}

.testimonials::before {
    content: '';
    position: absolute;
    z-index: 0;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    background: rgba(13, 20, 26, 0.7);
}

.testimonials .container {
    position: relative;
    z-index: 1;
}

.testimonials .section-header {
    margin-bottom: 40px;
}

.testimonials p {
    font-size: 16px;
    line-height: 28px;
    color: #fff;
}

/* Portfolio */
.portfolio #portfolio-flters {
    padding: 0;
    margin: 0 auto 25px auto;
    list-style: none;
    text-align: center;
    border-radius: 50px;
}

.portfolio #portfolio-flters li {
    cursor: pointer;
    display: inline-block;
    padding: 8px 16px;
    font-size: 14px;
    font-weight: 500;
    line-height: 1;
    color: #444444;
    margin: 0 3px 10px 3px;
    transition: all ease-in-out 0.3s;
    background: #e5edf3;
    border-radius: 4px;
}

.portfolio #portfolio-flters li:hover,
.portfolio #portfolio-flters li.filter-active {
    color: #fff;
    background: #0d6efd;
}

.portfolio #portfolio-flters li:last-child {
    margin-right: 0;
}

.portfolio .portfolio-item {
    margin-bottom: 30px;
    overflow: hidden;
}

.portfolio .portfolio-item img {
    position: relative;
    top: 0;
    transition: all 0.6s cubic-bezier(0.645, 0.045, 0.355, 1);
}

.portfolio .portfolio-item .portfolio-info {
    opacity: 0;
    position: absolute;
    left: 15px;
    right: 15px;
    bottom: -50px;
    z-index: 3;
    transition: all ease-in-out 0.3s;
    background: #0d6efd;
    padding: 15px 20px;
}

.portfolio .portfolio-item .portfolio-info h4 {
    font-size: 18px;
    color: #fff;
    font-weight: 600;
}

.portfolio .portfolio-item .portfolio-info p {
    color: #fff;
    font-size: 14px;
    margin-bottom: 0;
}

.portfolio .portfolio-item:hover img {
    top: -30px;
}

.portfolio .portfolio-item:hover .portfolio-info {
    opacity: 1;
    bottom: 0;
}

/* Portfolio Details */
.portfolio-details {
    padding-top: 40px;
}

.portfolio-details .portfolio-details-slider img {
    width: 100%;
}

.portfolio-details .portfolio-details-slider .swiper-pagination {
    margin-top: 20px;
    position: relative;
}

.portfolio-details .portfolio-info {
    padding: 30px;
    box-shadow: 0px 0 30px rgba(21, 34, 43, 0.08);
}

.portfolio-details .portfolio-info h3 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.portfolio-details .portfolio-info ul {
    list-style: none;
    padding: 0;
    font-size: 15px;
}

.portfolio-details .portfolio-info ul li+li {
    margin-top: 10px;
}

.portfolio-details .portfolio-description {
    padding-top: 30px;
}

.portfolio-details .portfolio-description h2 {
    font-size: 26px;
    font-weight: 700;
    margin-bottom: 20px;
}

.portfolio-details .portfolio-description p {
    padding: 0;
}

/* Team */
.team {
    position: relative;
}

.team .container {
    position: relative;
    z-index: 10;
}

.team .member {
    margin-bottom: 100px;
    position: relative;
}

.team .member .pic {
    overflow: hidden;
    height: 176px;
}

.team .member .pic img {
    width: 100%;
}

.team .member .member-info {
    position: absolute;
    bottom: -60px;
    left: 10px;
    right: 10px;
    background: #fff;
    padding: 13px 11px;
    color: #15222b;
    box-shadow: 0px 2px 15px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: 0.5s;
}

.team .member h4 {
    font-weight: 700;
    margin-bottom: 10px;
    font-size: 16px;
    color: #15222b;
    position: relative;
    padding-bottom: 10px;
}

.team .member h4::after {
    content: '';
    position: absolute;
    display: block;
    width: 50px;
    height: 1px;
    background: #7fa5c0;
    bottom: 0;
    left: 0;
}

.team .member span {
    font-style: italic;
    display: block;
    font-size: 13px;
}

.team .member .social {
    position: absolute;
    right: 0px;
    bottom: 4px;
}

.team .member .social a {
    transition: color 0.3s;
    color: #477392;
}

.team .member .social a:hover {
    color: #0d6efd;
}

.team .member .social i {
    font-size: 16px;
    margin: 0 2px;
}

@media (max-width: 992px) {
    .team .member {
        margin-bottom: 110px;
    }
}

/* Contacto */
.contact .info-box {
    color: #444444;
    text-align: center;
    box-shadow: 0 0 30px rgba(214, 215, 216, 0.6);
    padding: 20px 0 30px 0;
    position: relative;
    overflow: hidden;
}

.contact .info-box-with-bg-icon::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-family: 'bootstrap-icons';
    font-size: 120px;
    color: rgba(126, 126, 126, 0.1);
    z-index: 0;
    pointer-events: none;
    left: 30px;
}

.contact .info-box-with-bg-icon[data-icon='bi-geo-alt']::before {
    content: '\f3e8';
}

.contact .info-box-with-bg-icon[data-icon='bi-at']::before {
    content: '\f152';
}

.contact .info-box-with-bg-icon[data-icon='bi-headset']::before {
    content: '\f414';
}

.contact .info-box-with-bg-icon>* {
    position: relative;
    z-index: 1;
}

.contact .info-box i {
    font-size: 32px;
    color: #0d6efd;
    border-radius: 50%;
    padding: 8px;
}

.contact .info-box h3 {
    font-size: 20px;
    color: #777777;
    font-weight: 700;
    margin: 10px 0;
}

.contact .info-box p {
    padding: 0;
    line-height: 24px;
    font-size: 16px;
    margin-bottom: 10px;
    color: #777777;
}

.contact .php-email-form {
    box-shadow: 0 0 30px rgba(214, 215, 216, 0.6);
    padding: 30px 30px 10px 30px;
    /* border-radius: 15px;
    border: solid 2px #0d6efd; */
}

.contact .php-email-form .error-message {
    display: none;
}

.contact .php-email-form .error-message br+br {
    margin-top: 25px;
}

.contact .php-email-form .sent-message {
    display: none;
}

.contact .php-email-form .loading {
    display: none;
    background: #fff;
    text-align: center;
    padding: 15px;
}

.contact .php-email-form .loading:before {
    content: '';
    display: inline-block;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    margin: 0 10px -6px 0;
    border: 3px solid #18d26e;
    border-top-color: #eee;
    animation: animate-loading 1s linear infinite;
}

.contact .php-email-form input,
.contact .php-email-form textarea {
    border-radius: 0;
    box-shadow: none;
    font-size: 1.1rem;
    border-radius: 4px;
}

.contact .php-email-form input:focus,
.contact .php-email-form textarea:focus {
    border-color: #0d6efd;
}

.contact .php-email-form input {
    padding: 10px 15px;
}

.contact .php-email-form textarea {
    padding: 12px 15px;
}

@keyframes animate-loading {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* Footer */
#footer {
    background: #121d24;
    padding: 0 0 30px 0;
    color: #fff;
    font-size: 14px;
}

.footer-top {
    background: #15222b;
    border-bottom: 1px solid #1d303c;
    padding: 60px 0 30px 0;
}

.footer-top .footer-info {
    margin-bottom: 30px;
}

.footer-top .footer-info h3 {
    font-size: 28px;
    margin: 0 0 15px 0;
    padding: 2px 0 2px 0;
    line-height: 1;
    font-weight: 700;
}

.footer-top .footer-info p {
    font-size: 14px;
    line-height: 24px;
    margin-bottom: 0;
    font-family: 'Open Sans', sans-serif;
    color: #fff;
}

.footer-top .social-links a {
    font-size: 18px;
    display: inline-block;
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    line-height: 1;
    padding: 8px 0;
    margin-right: 4px;
    border-radius: 4px;
    text-align: center;
    width: 36px;
    height: 36px;
    transition: 0.3s;
}

.footer-top .social-links a:hover {
    background: #0d6efd;
    color: #fff !important;
    text-decoration: none;
}

.footer-top h4 {
    font-size: 16px;
    font-weight: 600;
    color: #fff;
    position: relative;
    padding-bottom: 12px;
}

.footer-top .footer-links {
    margin-bottom: 30px;
}

.footer-top .footer-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-top .footer-links ul i {
    padding-right: 2px;
    color: #0d6efd;
    font-size: 20px !important;
    line-height: 1;
    margin-right: 8px;
}

.footer-top .footer-links ul li {
    padding: 10px 0;
    display: flex;
    align-items: center;
    font-size: 1rem;
}

.footer-top .footer-links ul li:first-child {
    padding-top: 0;
}

.footer-top .footer-links ul a {
    color: #fff;
    transition: 0.3s;
    display: inline-block;
    line-height: 1;
    text-decoration: none;
}

.footer-top .footer-links ul a:hover {
    color: #0d6efd;
}

.copyright {
    text-align: center;
    padding-top: 30px;
}

/* Posts */
.post-entry-1 {
    margin-bottom: 30px;
    padding: 26px !important;
}

.post-entry-1 img {
    margin-bottom: 30px;
}

.post-entry-1 p {
    font-family: 'Open Sans', sans-serif;
    font-size: 0.8rem;
    color: #999;
}

.post-entry-1 h2 {
    margin-bottom: 10px;
    font-size: 18px;
    font-weight: 500;
    line-height: 1.2;
}

.post-entry-1 h2::after {
    content: '';
    display: block;
    width: 50px;
    height: 2px;
    background: #7fa5c0;
    bottom: 0;
    left: 0;
    margin-top: 10px;
}

.post-entry-1 h2 a {
    color: var(--color-black);
}

.post-entry-1.lg h2 {
    font-size: 40px;
    line-height: 1;
}

.post-destacada {
    background-color: antiquewhite;
}

.mx-1 {
    color: #0d6efd !important;
    font-size: 1rem;
}

.post-meta {
    font-size: 11px;
    letter-spacing: 0.07rem;
    font-weight: 300;
    font-family: 'Open Sans', sans-serif;
    color: darkgray !important;
    margin-bottom: 10px;
}

@media (max-width: 768px) {
    .custom-border {
        border: none !important;
    }
}

.author .name h3 {
    margin: 0;
    padding: 0;
    font-size: 15px;
    font-family: 'Open Sans', sans-serif;
}

.more {
    font-family: 'Open Sans', sans-serif;
    text-transform: uppercase;
    font-size: 12px;
    font-weight: 500;
    position: relative;
    display: inline-block;
    padding-bottom: 5px;
}

.more:before {
    content: '';
    position: absolute;
    height: 2px;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--color-black);
}

/* DataTable */
.tabla tbody td {
    vertical-align: top;
}

.cuerpo-tabla {
    max-height: 100px !important;
    overflow: hidden;
    font-size: 0.8rem;
    color: #999;
}

.tabla img {
    max-width: 250px;
    width: 100%;
}

.tabla-cookies {
    font-size: 0.8rem !important;
    font-weight: normal !important;
}

/* Iconos */
.ico-footer {
    color: #ccc !important;
    margin-left: 10px;
    font-size: 0.8rem;
}

/* BotÃ³n telÃ©fono */
.bt-tlf {
    margin-left: 30px;
    max-width: 150px;
}

.bt-tlf:hover {
    color: #fff !important;
}

/* Formularios etiquetas flotantes */
.form-floating label {
    padding-left: 25px;
    color: #adadad;
}

/* Redes sociales */
.redes {
    display: flex;
    flex-wrap: wrap;
}

.red {
    flex-basis: 50%;
    box-sizing: border-box;
}

.iframe-fb iframe,
.iframe-in iframe {
    border: solid 3px #000 !important;
    border-radius: 20px !important;
    overflow: hidden !important;
    box-shadow: 9px 13px 11px 2px rgba(0, 0, 0, 0.6);
}

.iframe-fb {
    width: 330px !important;
}

@media (max-width: 768px) {
    .red {
        flex-basis: 100%;
    }
}

/* Mejoras SEO */
.subtitulo {
    color: #eee;
    font-size: 24px;
    font-weight: 500;
    margin-bottom: 50px;
    font-family: 'Open Sans', sans-serif;
}

.servicios-particulares h3 {
    font-size: 0.9rem !important;
    font-weight: 500 !important;
    margin-bottom: 0px !important;
    font-family: 'Open Sans', sans-serif;
}

/* Párrafo introductorio servicios particulares */
.intro-servicios-particulares {
    background: linear-gradient(135deg,
            rgba(234, 238, 243, 0.7) 0%,
            rgba(248, 242, 234, 0.5) 100%);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    margin-bottom: 2rem;
    border-left: 4px solid #007bff;
}

.intro-servicios-particulares .lead {
    font-size: 1.1rem;
    color: #495057;
    line-height: 1.7;
    margin-bottom: 1rem;
}

.intro-servicios-particulares .text-muted {
    color: #6c757d !important;
    font-size: 1rem;
    line-height: 1.6;
}

.intro-servicios-particulares strong {
    color: #007bff;
    font-weight: 600;
}

/* Párrafo introductorio servicios empresas */
.intro-servicios-empresas {
    background: linear-gradient(135deg,
            rgba(234, 238, 243, 0.7) 0%,
            rgba(248, 242, 234, 0.5) 100%);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 123, 255, 0.1);
    margin-bottom: 2rem;
    border-left: 4px solid #007bff;
}

.intro-servicios-empresas .lead {
    font-size: 1.1rem;
    color: #495057;
    line-height: 1.7;
    margin-bottom: 1rem;
}

.intro-servicios-empresas .text-muted {
    color: #6c757d !important;
    font-size: 1rem;
    line-height: 1.6;
}

.intro-servicios-empresas strong {
    color: #007bff;
    font-weight: 600;
}

/* Botones de navegación servicios empresas */
.service-empresas-card {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border: 2px solid #e9ecef;
    border-radius: 15px;
    padding: 1.5rem 1rem;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.service-empresas-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 123, 255, 0.15);
    border-color: #007bff;
}

.service-empresas-card.active {
    background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
    color: white;
    border-color: #007bff;
    box-shadow: 0 8px 25px rgba(0, 123, 255, 0.3);
}

.service-empresas-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #007bff;
    transition: all 0.3s ease;
    display: flex;
    justify-content: center;
    align-items: center;
}

.service-empresas-icon i {
    font-size: inherit;
    line-height: 1;
    font-family: 'bootstrap-icons' !important;
    font-style: normal;
    font-weight: normal;
    display: inline-block;
    text-decoration: inherit;
    width: 1em;
    margin-right: 0;
    text-align: center;
    font-variant: normal;
    text-transform: none;
    line-height: 1;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.service-empresas-card.active .service-empresas-icon {
    color: white;
    transform: scale(1.1);
}

.service-empresas-card h5 {
    margin: 0 0 0.5rem 0;
    font-weight: 600;
    font-size: 1.1rem;
}

.service-empresas-card p {
    margin: 0;
    font-size: 0.9rem;
    opacity: 0.8;
}

.service-empresas-card.active p {
    opacity: 1;
}

/* Contenido de servicios empresas */
.servicios-empresas-content {
    margin-top: 2rem;
}

.service-content {
    display: none;
}

.service-content.active {
    display: block;
    animation: fadeIn 0.5s ease-in-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive para servicios empresas */
@media (max-width: 768px) {
    .service-empresas-card {
        padding: 1rem 0.8rem;
        margin-bottom: 1rem;
    }

    .service-empresas-icon {
        font-size: 2rem;
    }

    .service-empresas-card h5 {
        font-size: 1rem;
    }

    .service-empresas-card p {
        font-size: 0.8rem;
    }
}

/* Estilos para listas de servicios particulares */
.servicios-particulares ul {
    list-style: none;
    padding-left: 0;
    margin: 0;
}

.servicios-particulares li {
    margin-bottom: 10px;
}

.servicios-particulares li:last-child {
    border-bottom: none;
}

.servicios-particulares .bi-check-all {
    color: #007bff !important;
    font-size: 1.2rem;
    margin-right: 10px;
    font-weight: bold;
}

.member-info h3 {
    font-size: 1rem !important;
}

.member-info h4 {
    font-size: 0.8rem !important;
}

/* ===========================
   RESEÑAS ESTILO GOOGLE CON CARRUSEL
   =========================== */
.google-reviews-container {
    margin-top: 30px;
}

.reviews-subtitle {
    text-align: center;
    color: #0f147e;
    margin-bottom: 30px;
    font-weight: 600;
}

/* Header estilo Google */
.google-reviews-wrapper {
    background: #fff;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.google-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #e8eaed;
}

.google-logo-section {
    display: flex;
    align-items: center;
    gap: 8px;
}

.google-icon {
    width: 24px;
    height: 24px;
}

.google-text {
    font-size: 16px;
    color: #4285f4;
    font-weight: 500;
}

.google-rating {
    text-align: right;
}

.rating-text {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #137333;
    margin-bottom: 4px;
}

.stars-display {
    color: #fbbc04;
    font-size: 16px;
    margin-bottom: 4px;
}

.review-count {
    font-size: 12px;
    color: #5f6368;
}

/* Carrusel */
.carousel-container {
    position: relative;
    overflow: hidden;
    margin: 0 40px;
}

.reviews-carousel {
    display: flex;
    transition: transform 0.3s ease;
    gap: 16px;
    min-width: 0;
    width: 100%;
    min-height: 220px;
    justify-content: flex-start;
    overflow: hidden;
}

.google-review-card {
    flex: 0 0 25%;
    min-width: 0;
    max-width: 25%;
    /* Si hay menos de 5, no se estira */
    background: #fff;
    border: 1px solid #dadce0;
    border-radius: 8px;
    padding: 16px;
    box-sizing: border-box;
    flex-shrink: 0;
}


.review-header {
    display: flex;
    align-items: flex-start;
    margin-bottom: 8px;
    position: relative;
}

.reviewer-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    margin-right: 12px;
    overflow: hidden;
    flex-shrink: 0;
}

.reviewer-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.reviewer-avatar.avatar-initials {
    background: #1a73e8;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 500;
    font-size: 16px;
}

.initials-fallback {
    background: #1a73e8;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 500;
    font-size: 16px;
}

.reviewer-info {
    flex: 1;
}

.reviewer-name {
    font-size: 14px;
    font-weight: 500;
    color: #202124;
    margin: 0 0 2px 0;
}

.review-date {
    font-size: 12px;
    color: #5f6368;
}

.google-logo-small {
    position: absolute;
    top: 0;
    right: 0;
}

.google-logo-small img {
    width: 16px;
    height: 16px;
}

.review-rating {
    display: flex;
    align-items: center;
    margin-bottom: 8px;
    gap: 8px;
}

.review-rating .star {
    color: #fbbc04;
    font-size: 14px;
}

.review-rating .star.empty {
    color: #dadce0;
}

.verified-badge {
    color: #137333;
    font-size: 12px;
    font-weight: 500;
}

.review-text {
    font-size: 14px;
    line-height: 1.4;
    color: #3c4043;
}

/* Botones del carrusel */
.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    border: none;
    border-radius: 0;
    width: 25px;
    height: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 18px;
    color: #0d6efd;
    z-index: 20;
    transition: all 0.3s ease;
    box-shadow: none;
}

.carousel-btn:hover {
    background: transparent;
    color: #0a58ca;
    transform: translateY(-50%) scale(1.2);
}

.prev-btn {
    left: 10px;
}

.next-btn {
    right: 10px;
}

.google-link-container {
    margin-top: 20px;
}

.google-link-container .btn {
    padding: 12px 30px;
    font-weight: 500;
    border-radius: 25px;
    transition: all 0.3s ease;
}

.google-link-container .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(13, 110, 253, 0.3);
}

/* Estados de error y sin reseñas */
.no-reviews,
.error-reviews {
    text-align: center;
    padding: 40px;
    color: #5f6368;
    font-style: italic;
}

/* Responsive */
@media (max-width: 768px) {
    .google-review-card {
        min-width: calc(100% - 0px);
    }

    .carousel-container {
        margin: 0 20px;
    }

    .google-header {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }

    .google-rating {
        text-align: center;
    }
}

@media (max-width: 992px) and (min-width: 769px) {
    .google-review-card {
        min-width: calc(33.333% - 11px);
        /* 3 tarjetas en tablet */
    }
}

/* ===========================
   MAPA ESTÁTICO CONTACTO
   =========================== */
.static-map-container {
    margin: 30px 0;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.map-image-wrapper {
    position: relative;
    width: 100%;
    height: 270px;
    overflow: hidden;
}

.map-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.map-overlay {
    position: absolute;
    top: 10px;
    left: 10px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 4px;
    padding: 12px 16px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(0, 0, 0, 0.1);
    cursor: pointer;
    transition: all 0.2s ease;
    max-width: 200px;
}

.map-overlay:hover {
    background: rgba(255, 255, 255, 1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
    transform: translateY(-1px);
}

.map-overlay-content {
    font-family: 'Roboto', 'Open Sans', sans-serif;
}

.business-name {
    font-size: 16px;
    font-weight: 500;
    color: #1a73e8;
    margin: 0 0 4px 0;
    line-height: 1.2;
}

.map-link {
    font-size: 12px;
    color: #5f6368;
    margin: 0;
    line-height: 1.2;
    text-decoration: underline;
}

.map-link:hover {
    color: #1a73e8;
}

/* Responsive para el mapa */
@media (max-width: 768px) {
    .map-image-wrapper {
        height: 220px;
    }

    .map-overlay {
        top: 8px;
        left: 8px;
        padding: 10px 12px;
        max-width: 180px;
    }

    .business-name {
        font-size: 14px;
    }

    .map-link {
        font-size: 11px;
    }
}

@media (max-width: 480px) {
    .map-image-wrapper {
        height: 200px;
    }

    .map-overlay {
        max-width: 160px;
        padding: 8px 10px;
    }

    .business-name {
        font-size: 13px;
    }

    .map-link {
        font-size: 10px;
    }
}

/* ======================================
   ESTILOS PARA SECCIÓN DE RESEÑAS
   ====================================== */

/* Truncamiento de texto para reseñas */
.text-truncate-3 {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.4;
    max-height: 4.2em;
}

/* Estilos generales para tarjetas de reseñas */
#google-reviews .card {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    border: 1px solid rgba(0, 0, 0, 0.1);
}

#google-reviews .card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15) !important;
}

#google-reviews .card-body {
    min-height: 140px;
    display: flex;
    flex-direction: column;
}

#google-reviews .card-text {
    flex-grow: 1;
}

/* Estilos para reseñas propias - mismos efectos que Google */
.mb-5 .card {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.mb-5 .card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15) !important;
}

.mb-5 .card-body {
    min-height: 140px;
    display: flex;
    flex-direction: column;
}

.mb-5 .card-text {
    flex-grow: 1;
}

/* Estilos para avatares de usuario */
.user-avatar {
    transition: transform 0.2s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.user-avatar:hover {
    transform: scale(1.05);
}

.user-initials-fallback {
    transition: transform 0.2s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.user-initials-fallback:hover {
    transform: scale(1.05);
}

/* Badge de verificación para reseñas */
.verified-badge {
    display: inline-flex;
    align-items: center;
    padding: 2px 6px;
    background: #4285f4;
    color: white;
    border-radius: 10px;
    font-size: 10px;
    font-weight: 500;
    transition: all 0.3s ease;
    cursor: help;
}

.verified-badge:hover {
    background: #3367d6;
    transform: scale(1.05);
    box-shadow: 0 2px 4px rgba(66, 133, 244, 0.3);
}

.verified-badge i {
    font-size: 10px;
}

@media (max-width: 768px) {
    .verified-badge {
        font-size: 9px;
        padding: 1px 4px;
    }
}

/* Tarjeta del perfil de empresa */
.business-profile-card {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border: 2px solid #007bff !important;
    position: relative;
    overflow: hidden;
}

.business-card-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('../../assets/img/blanco/perfil_google.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 1;
}

.business-card-bg::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg,
            rgba(0, 123, 255, 0.8) 0%,
            rgba(0, 86, 179, 0.9) 100%);
    z-index: 2;
}

.business-profile-card .card-body {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 3;
    position: relative;
}

/* Efectos de texto y logos */
.text-shadow {
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.google-logo-icon {
    filter: drop-shadow(2px 2px 4px rgba(0, 0, 0, 0.7));
    transition: transform 0.2s ease;
}

.google-logo-small {
    transition: transform 0.2s ease;
    vertical-align: middle;
}

.google-logo-small:hover {
    transform: scale(1.1);
}

.business-profile-card:hover .google-logo-icon {
    transform: scale(1.1);
}

/* Efectos hover para tarjeta de empresa */
.business-profile-card:hover {
    transform: translateY(-3px) !important;
    box-shadow: 0 6px 20px rgba(0, 123, 255, 0.3) !important;
}

.business-profile-card:hover .business-card-bg::after {
    background: linear-gradient(135deg,
            rgba(0, 123, 255, 0.7) 0%,
            rgba(0, 86, 179, 0.8) 100%);
}

/* Responsive para reseñas */
@media (max-width: 768px) {
    #google-reviews .col-md-6 {
        margin-bottom: 1rem;
    }
}

/* Mejoras para sección de ayuda UE */
#info_ayuda_ue .alert {
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

#info_ayuda_ue .alert:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

#info_ayuda_ue .position-absolute img {
    transition: opacity 0.3s ease;
}

#info_ayuda_ue .alert:hover .position-absolute img {
    opacity: 0.25 !important;
}

/* Responsive para ayuda UE */
@media (max-width: 768px) {
    #info_ayuda_ue .alert {
        margin: 15px 0;
    }

    #info_ayuda_ue .position-absolute.top-0.end-0 img {
        height: 80px !important;
    }

    #info_ayuda_ue .position-absolute.bottom-0.start-0 img {
        height: 60px !important;
    }
}

@media (max-width: 576px) {

    #info_ayuda_ue .position-absolute.top-0.end-0,
    #info_ayuda_ue .position-absolute.bottom-0.start-0 {
        display: none;
    }
}

/* ===========================
   CONFIGURACIÓN SWIPER SLIDERS - OCUPAR TODO EL ANCHO
   =========================== */

/* Contenedores principales - Sin márgenes laterales */
.google-reviews-container,
.mb-5 {
    width: 100%;
    max-width: 1140px;
    margin: 0 auto;
    padding-left: 15px;
    padding-right: 15px;
}

/* Configuración general de los sliders - ANCHO DE CONTAINER */
.google-reviews-swiper-slider,
.resenas-swiper {
    width: 100%;
    max-width: 1140px;
    height: auto;
    padding-bottom: 40px;
    margin: 0 auto;
    overflow: hidden;
}

/* Configuración responsive - ANCHO DE CONTAINER */
.google-reviews-swiper-slider .swiper-wrapper,
.resenas-swiper .swiper-wrapper {
    display: flex;
    align-items: stretch;
}

.google-reviews-swiper-slider .swiper-slide,
.resenas-swiper .swiper-slide {
    height: auto;
    display: flex;
    padding: 0 4px;
}

.google-reviews-swiper-slider .swiper-slide .google-review-card,
.resenas-swiper .swiper-slide .card {
    height: 100%;
    width: 100%;
    margin: 0;
    overflow: hidden;
}

/* Configuración responsive de slides por vista - SEGÚN ESPECIFICACIONES DEL USUARIO */
@media (min-width: 1000px) {
    .google-reviews-swiper-slider {
        --swiper-slides-per-view: 4 !important;
        --swiper-space-between: 12px;
    }

    .resenas-swiper {
        --swiper-slides-per-view: 4 !important;
        --swiper-space-between: 12px;
    }
}

@media (min-width: 800px) and (max-width: 999px) {
    .google-reviews-swiper-slider {
        --swiper-slides-per-view: 3 !important;
        --swiper-space-between: 10px;
    }

    .resenas-swiper {
        --swiper-slides-per-view: 3 !important;
        --swiper-space-between: 10px;
    }
}

@media (min-width: 500px) and (max-width: 799px) {
    .google-reviews-swiper-slider {
        --swiper-slides-per-view: 2 !important;
        --swiper-space-between: 8px;
    }

    .resenas-swiper {
        --swiper-slides-per-view: 2 !important;
        --swiper-space-between: 8px;
    }
}

@media (max-width: 499px) {
    .google-reviews-swiper-slider {
        --swiper-slides-per-view: 1 !important;
        --swiper-space-between: 8px;
    }

    .resenas-swiper {
        --swiper-slides-per-view: 1 !important;
        --swiper-space-between: 8px;
    }
}

/* Botones de navegación para reseñas propias - Estilo Bootstrap Primary */
.swiper-button-next,
.swiper-button-prev,
.resenas-next,
.resenas-prev,
.google-reviews-next-slider,
.google-reviews-prev-slider {
    width: 25px !important;
    height: 25px !important;
    margin-top: -12px !important;
    background: transparent !important;
    border: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    color: #0d6efd !important;
    font-size: 18px !important;
    z-index: 10 !important;
    transition: all 0.3s ease !important;
}

.swiper-button-next:hover,
.swiper-button-prev:hover,
.resenas-next:hover,
.resenas-prev:hover,
.google-reviews-next-slider:hover,
.google-reviews-prev-slider:hover {
    background: transparent !important;
    color: #0a58ca !important;
    transform: scale(1.2) !important;
}

.swiper-button-next:after,
.swiper-button-prev:after,
.resenas-next:after,
.resenas-prev:after,
.google-reviews-next-slider:after,
.google-reviews-prev-slider:after {
    font-size: 18px !important;
    font-weight: bold !important;
    color: inherit !important;
}

/* Posicionamiento de botones */
.swiper-button-next,
.resenas-next,
.google-reviews-next-slider {
    right: 10px !important;
    margin-right: -25px !important;
}

.swiper-button-prev,
.resenas-prev,
.google-reviews-prev-slider {
    left: 10px !important;
    margin-left: -25px !important;
}

/* Paginación */
.swiper-pagination,
.resenas-pagination,
.google-reviews-pagination-slider {
    position: relative !important;
    bottom: 0 !important;
    text-align: center !important;
    margin-top: 20px !important;
}

.swiper-pagination-bullet {
    width: 8px !important;
    height: 8px !important;
    background: #ddd !important;
    opacity: 1 !important;
    margin: 0 4px !important;
}

.swiper-pagination-bullet-active {
    background: #007bff !important;
}

/* Estados deshabilitados */
.swiper-button-disabled {
    opacity: 0.3 !important;
    cursor: not-allowed !important;
}

/* Contenedores de sliders */
.google-reviews-slider-container,
.resenas-slider-container {
    position: relative;
    padding: 20px 0;
}

/* Responsive para móviles */
@media (max-width: 768px) {

    .swiper-button-next,
    .swiper-button-prev,
    .resenas-next,
    .resenas-prev,
    .google-reviews-next-slider,
    .google-reviews-prev-slider {
        width: 22px !important;
        height: 22px !important;
        font-size: 16px !important;
    }

    .swiper-button-next:after,
    .swiper-button-prev:after,
    .resenas-next:after,
    .resenas-prev:after,
    .google-reviews-next-slider:after,
    .google-reviews-prev-slider:after {
        font-size: 16px !important;
    }
}

/* breadcrumbs */
.breadcrumbs {
    background: none;
    padding: 0;
    margin-bottom: 0;
    font-size: 0.9rem;
    margin-top: 0;
}

.breadcrumbs ol {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}

.breadcrumbs .breadcrumbs-item {
    display: flex;
    align-items: center;
}

.breadcrumbs .breadcrumbs-item+.breadcrumbs-item::before {
    content: "";
    display: inline-block;
    width: 0.5rem;
    height: 0.5rem;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='%236c757d' viewBox='0 0 16 16'%3e%3cpath fill-rule='evenodd' d='M4.646 1.646a.5.5 0 0 1 .708 0l6 6a.5.5 0 0 1 0 .708l-6 6a.5.5 0 0 1-.708-.708L10.293 8 4.646 2.354a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-size: 0.5rem;
    margin: 0 0.5rem;
}

.breadcrumbs .breadcrumbs-item a {
    color: #6c757d;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
}

.breadcrumbs .breadcrumbs-item a:hover {
    color: #495057;
    text-decoration: underline;
}

.breadcrumbs .breadcrumbs-item.active {
    color: #495057;
    font-weight: 600;
}

.breadcrumbs .breadcrumbs-item i {
    color: #6c757d;
    font-size: 0.85rem;
    opacity: 0.8;
}

/* Título Principal - Separación visual */
#titulo-principal {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-bottom: 2px solid #dee2e6 !important;
    position: relative;
}

#titulo-principal::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #0d6efd, #0056b3);
    border-radius: 2px;
}

#titulo-principal h1 {
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

#introduccion {
    padding-top: 3rem !important;
}


/* Service areas */
.service-area {
    padding: 1rem;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    height: 100%;
}

.feature-icon {
    margin-bottom: 1rem;
}

.card {
    transition: transform 0.3s ease;
    border: none;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
}

/* Estilos para servicios empresariales */
.service-empresas-card {
    background: white;
    border-radius: 12px;
    padding: 1.5rem 1rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    height: 100%;
}

.service-empresas-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.service-empresas-card.active {
    border-color: var(--bs-primary);
    background: linear-gradient(135deg, var(--bs-primary) 0%, #0056b3 100%);
    color: white;
    transform: translateY(-3px);
}

.service-empresas-card.active .service-empresas-icon i {
    color: white;
}

.service-empresas-icon {
    margin-bottom: 1rem;
}

.service-empresas-icon i {
    font-size: 2.5rem;
    color: var(--bs-primary);
    transition: color 0.3s ease;
}

.service-empresas-card h6 {
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.service-empresas-card p {
    margin-bottom: 0;
    font-size: 0.875rem;
    opacity: 0.8;
}

.servicios-empresas-content {
    margin-top: 2rem;
}

.service-content {
    display: none;
    animation: fadeIn 0.5s ease-in-out;
}

.service-content.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.service-detail-card {
    border-radius: 12px;
    overflow: hidden;
}

.service-detail-content {
    border: none;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.service-group h5,
.service-list h5 {
    color: var(--bs-dark);
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.service-group ul,
.service-list ul {
    list-style: none;
    padding-left: 0;
}

.service-group ul li,
.service-list ul li {
    padding: 0.3rem 0;
    position: relative;
    padding-left: 1.5rem;
}

.service-group ul li:before,
.service-list ul li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--bs-primary);
    font-weight: bold;
}

/* logo recapcha */
.grecaptcha-badge {
    bottom: 70px !important;
}

.escudo-portada {
    margin-bottom: 40px;
}

.escudo-portada img {
    max-width: 150px;
}

@media (max-width: 768px) {
    .escudo-portada img {
        max-width: 100px;
    }
}