/********** Template CSS **********/

@keyframes pulseGlow {
    0% { text-shadow: 0 0 0px rgba(var(--bs-primary-rgb), 0); }
    50% { text-shadow: 0 0 15px rgba(var(--bs-primary-rgb), 0.6); }
    100% { text-shadow: 0 0 0px rgba(var(--bs-primary-rgb), 0); }
}

.pulse-glow {
    display: inline-block;
    animation: pulseGlow 2s infinite ease-in-out;
}


.contenedor-centrado {
  display: flex;
  justify-content: center; /* Centrado horizontal */
  align-items: center;     /* Centrado vertical (opcional) */
  padding: 20px;
}

@media (max-width: 600px) {
    .btn-slide {
        width: 90%;      /* El botón ocupa casi todo el ancho */
        left: 5%;        /* Centrado */
        right: auto;
        bottom: 10px;
    }
}
.process-container {
    margin-top: 0;
    position: relative;
    z-index: 2; /* Asegura que quede por encima del carrusel */
}


.titulo-glitch {
  position: relative;
  color: white;
}

.titulo-glitch::before, .titulo-glitch::after {
  content: "TU TÍTULO AQUÍ";
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  color: white;
}

.titulo-glitch::before { animation: glitch 2s infinite; clip: rect(0, 900px, 0, 0); }
.titulo-glitch::after { animation: glitch 3s infinite; clip: rect(0, 900px, 0, 0); }

@keyframes glitch {
  0% { transform: translate(0); }
  20% { transform: translate(-2px, 2px); }
  40% { transform: translate(-2px, -2px); }
  100% { transform: translate(0); }
}



.process-container {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    padding: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}


.process-step {
    background: var(--bg-card);
    border-radius: 20px;
    padding: 0;
    width: 200px;
    text-align: center;
    box-shadow: 0 10px 150px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.process-step:hover {
    transform: translateY(10px);
    box-shadow: 0 20px 35px rgba(0,0,0,0.15);
}

.icon-wrapper {
    background: var(--primary-color);
    color: #ffffff;
    width: 60px;
    height: 60px;
    line-height: 60px;
    border-radius: 50%;
    margin: 0 auto 15px;
    font-size: 24px;
}


.process-step h3 {
    color: var(--text-color);
    margin-bottom: 10px;
    font-size: 1.2rem;
}

.process-step p {
    color: #7f8c8d;
    font-size: 0.9rem;
    line-height: 1.4;
}

:root {
    --primary: #FBAE17;
    --secondary: #fbae17
7;
    --light: #F8F2F0;
    --dark: #060315;
}

.fw-medium {
    font-weight: 600 !important;
}

.back-to-top {
    position: fixed;
    display: none;
    right: 45px;
    bottom: 45px;
    z-index: 99;
}



/*** Spinner ***/
#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .5s ease-out, visibility 0s linear .5s;
    z-index: 99999;
}

#spinner.show {
    transition: opacity .5s ease-out, visibility 0s linear 0s;
    visibility: visible;
    opacity: 1;
}


/*** Button ***/


.btn-ovalado-pulsante {
  background-color: #f59e0b;
  color: white;
  padding: 15px 40px;
  border: none;
  border-radius: 50px;
  font-weight: bold;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.btn-ovalado-pulsante:hover {
  transform: scale(1.05); /* El botón crece suavemente */
  box-shadow: 0 10px 20px rgba(245, 158, 11, 0.3);
}

.btn-ovalado-pulsante:active {
  transform: scale(0.95); /* El botón se encoge al hacer clic */
}

.btn {
    font-weight: 600;
    transition: .5s;
}

.btn.btn-primary,
.btn.btn-secondary {
    color: #FFFFFF;
}

.btn-square {
    width: 38px;
    height: 38px;
}

.btn-sm-square {
    width: 32px;
    height: 32px;
}

.btn-lg-square {
    width: 48px;
    height: 48px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
}

/*** Navbar ***/




.navbar .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 1900;
    vertical-align: middle;
    margin-left: 8px;
}

.navbar-light .navbar-nav .nav-link {
    position: relative;
    margin-right: 30px;
    padding: 25px 0;
    color: #FFFFFF;
    font-size: 15px;
    text-transform: uppercase;
    outline: none;
}

.navbar-light .navbar-nav .nav-link:hover,
.navbar-light .navbar-nav .nav-link.active {
    color: var(--primary);
}

@media (max-width: 991.98px) {
    .navbar-light .navbar-nav .nav-link  {
        margin-right: 0;
        padding: 10px 0;
    }

    .navbar-light .navbar-nav {
        border-top: 1px solid #EEEEEE;
    }
}

.navbar-light .navbar-brand,
.navbar-light a.btn {
    height: 75px;
}

.navbar-light .navbar-nav .nav-link {
    color: var(--dark);
    font-weight: 500;
}

.navbar-light.sticky-top {
    top: -100px;
    transition: .5s;
}

@media (min-width: 992px) {
    .navbar-light .navbar-nav .nav-link::before {
        position: absolute;
        content: "";
        width: 0;
        height: 5px;
        top: -6px;
        left: 50%;
        background: #FFFFFF;
        transition: .5s;
    }

    .navbar-light .navbar-nav .nav-link:hover::before,
    .navbar-light .navbar-nav .nav-link.active::before {
        width: 100%;
        left: 0;
    }

    .navbar-light .navbar-nav .nav-link.nav-contact::before {
        display: none;
    }

    .navbar .nav-item .dropdown-menu {
        display: block;
        border: none;
        margin-top: 0;
        top: 150%;
        opacity: 0;
        visibility: hidden;
        transition: .5s;
    }

    .navbar .nav-item:hover .dropdown-menu {
        top: 100%;
        visibility: visible;
        transition: .5s;
        opacity: 1;
    }
}

/* Estilos base para el contenedor principal de los pasos */
.process-container {
    display: flex;
    flex-wrap: wrap; /* Permite que los elementos bajen a la siguiente línea si no caben */
    justify-content: center;
    gap: 20px; /* Espacio entre cada tarjeta */
    padding: 20px;
    width: 100%;
    box-sizing: border-box;
}

/* Estilo individual para cada tarjeta (.process-step) */
.process-step {
    background: #ffffff;
    border-radius: 8px;
    padding: 20px;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    flex: 1 1 250px; /* Se adaptan dinámicamente: mínimo 250px de ancho */
    max-width: 300px;
    box-sizing: border-box;
}

/* Ajuste específico para celulares (pantallas menores o iguales a 768px) */
@media (max-width: 768px) {
    .process-container {
        flex-direction: column; /* Cambia la disposición a una sola columna vertical */
        align-items: center;    /* Centra las tarjetas en la pantalla */
        padding: 10px;
    }

    .process-step {
        width: 100%;            /* Ocupa todo el ancho disponible del celular */
        max-width: 100%;        /* Elimina la restricción de ancho máximo */
    }

    /* Opcional: Ajustar tamaños de texto en móviles si es necesario */
    .process-step h3 {
        font-size: 1.2rem;
    }

    .process-step p {
        font-size: 0.95rem;
    }
}

/*** Header ***/

.banner-container {
    width: 100%;
    overflow: hidden; /* Evita desbordamientos */
}

.banner-container img {
    width: 100%;       /* Ocupa todo el ancho de la pantalla/contenedor */
    height: auto;      /* Mantiene la proporción original de la imagen */
    display: block;    /* Elimina espacios en blanco debajo de la imagen */
}

@media (max-width: 768px) {
    .header-carousel .owl-carousel-item {
        position: relative;
        min-height: 500px;
    }
    
    
    .header-carousel .owl-carousel-item img {
        position: absolute;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .header-carousel .owl-carousel-item h5,
    .header-carousel .owl-carousel-item p {
        font-size: 14px !important;
        font-weight: 400 !important;
    }

    .header-carousel .owl-carousel-item h1 {
        font-size: 30px;
        font-weight: 600;
    }
}

.header-carousel .owl-nav {
    position: absolute;
    top: 50%;
    right: 8%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
}

.header-carousel .owl-nav .owl-prev,
.header-carousel .owl-nav .owl-next {
    margin: 7px 0;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    background: transparent;
    border: 1px solid #FFFFFF;
    border-radius: 45px;
    font-size: 22px;
    transition: .5s;
}

.header-carousel .owl-nav .owl-prev:hover,
.header-carousel .owl-nav .owl-next:hover {
    background: var(--primary);
    border-color: var(--primary);
}

.page-header {
    background: linear-gradient(rgba(6, 3, 21, .5), rgba(6, 3, 21, .5)), url(../img/team10.jpg) center center no-repeat;
    background-size: cover;
}

.breadcrumb-item + .breadcrumb-item::before {
    color: var(--light);
}


/*** About ***/
.banner-container {
    width: 100%;
    overflow: hidden; /* Evita desbordamientos */
}

.banner-container img {
    width: 100%;       /* Ocupa todo el ancho de la pantalla/contenedor */
    height: auto;      /* Mantiene la proporción original de la imagen */
    display: block;    /* Elimina espacios en blanco debajo de la imagen */
}


@media (min-width: 992px) {
    .container.about {
        max-width: 100% !important;
    }

    .about-text  {
        padding-right: calc(((100% - 960px) / 2) + .75rem);
    }
}

@media (min-width: 1200px) {
    .about-text  {
        padding-right: calc(((100% - 1140px) / 2) + .75rem);
    }
}

@media (min-width: 1400px) {
    .about-text  {
        padding-right: calc(((100% - 1320px) / 2) + .75rem);
    }
}


/*** Feature ***/





@media (min-width: 992px) {
    .container.feature {
        max-width: 100% !important;
    }

    .feature-text  {
        padding-left: calc(((100% - 960px) / 2) + .75rem);
    }
}

@media (min-width: 1200px) {
    .feature-text  {
        padding-left: calc(((100% - 1140px) / 2) + .75rem);
    }
}

@media (min-width: 1400px) {
    .feature-text  {
        padding-left: calc(((100% - 1320px) / 2) + .75rem);
    }
}

.card-hover {
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: pointer;
    border-radius: 10px; /* Bordes suavizados */
    overflow: hidden;
}

.card-hover:hover {
    transform: translateY(-15px) scale(1.05); /* Sube y crece un 5% */
    box-shadow: 0 20px 30px rgba(0, 0, 0, 0.3) !important; /* Sombra profunda */
    z-index: 10;
}

/*** Service, Price & Team ***/


/**/ Calculadora

.quote-item.quote-border .quote-text-border {
  border: 1px solid #ffb600;
  padding: 20px;
  position: relative;
  line-height: 28px;
  color: #666;
  font-size: 18px;
  text-align: center;
}

.quote-item.quote-border .quote-text-border:before {
  border: 12px solid;
  border-color: #e1e1e1 transparent transparent;
  border-top-color: #ffb600;
  bottom: -24px;
  position: absolute;
  content: "";
  display: block;
  height: 0;
  width: 0;
  left: 0;
  margin: 0 auto;
  right: 0;
}

.quote-item.quote-border .quote-text-border:after {
  border: 12px solid;
  border-color: #fff transparent transparent;
  bottom: -22px;
  position: absolute;
  content: "";
  display: block;
  height: 0;
  width: 0;
  left: 0;
  margin: 0 auto;
  right: 0;
}

.quote-item.quote-border .quote-item-footer {
  margin-left: 0;
  text-align: center;
  margin-top: 35px;
}

.quote-item.quote-border .quote-item-footer img.testimonial-thumb {
  float: none;
  margin: 0;
}







.quote-item.quote-border .quote-item-footer .quote-item-info {
  display: block;
}
:root {
    --primary-color: #ffffff;
    --accent-color: #ffffff;
    --text-color: #00080f;
    --bg-card: #ffffff;
}

.process-container {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    padding: 40px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.process-step {
    background: var(--bg-card);
    border-radius: 15px;
    padding: 25px;
    width: 200px;
    text-align: center;
    box-shadow: 0 10px 25px rgba(255, 255, 255, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}


.process-step:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(236, 232, 232, 0.15);
}

.icon-wrapper {
    background: transparent;
    color: rgb(0, 0, 0, 0);
    width: 60px;
    height: 60px;
    line-height: 60px;
    border-radius: 50%;
    margin: 0 auto 15px;
    font-size: 24px;
}

.process-step h3 {
    color: var(--text-color);
    margin-bottom: 10px;
    font-size: 1.2rem;
}

.process-step p {
    color: #7f8c8d;
    font-size: 0.9rem;
    line-height: 1.4;
}

/* Flechas decorativas entre pasos (solo en pantallas grandes) */
.process-arrow {
    width: 30px;
    height: 2px;
    background: #f56404;
    position: relative;
}

@media (max-width: 768px) {
    .process-container {
        flex-direction: column;
    }
    .process-arrow {
        display: none; /* Ocultar flechas en móvil para mejor flujo vertical */
    }
}

:root {
    --primary-color: #ff0101; /* Azul corporativo */
    --accent-color: #ffb600;;
    --text-dark: #333333;
    --text-light: #666;
}

.workflow-container {
    max-width: 1000px;
    margin: 50px auto;
    padding: 20px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.workflow-title {
    text-align: center;
    margin-bottom: 50px;
    color: var(--primary-color);
    font-size: 2rem;
}

.workflow-grid {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

/* Línea conectora vertical para escritorio */
.workflow-grid::before {
    content: '';
    position: absolute;
    left: 25px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: #e0e0e0;
    z-index: 0;
}

.workflow-item {
    position: relative;
    display: flex;
    align-items: flex-start;
    gap: 20px;
    z-index: 1;
}

.step-number {
    background-color: var(--primary-color);
    color: white;
    min-width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.2rem;
    box-shadow: 0 4px 6px rgba(155, 15, 15, 0.1);
}

.step-content {
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    border: 1px solid #eee;
    transition: transform 0.3s ease;
    width: 100%;
}

.step-content:hover {
    transform: translateX(10px);
    box-shadow: 5px 5px 15px rgba(0,0,0,0.05);
}

.step-content h3 {
    margin: 0 0 10px 0;
    color: var(--primary-color);
    font-size: 1.25rem;
}

.step-content p {
    margin: 0;
    color: var(--text-light);
    line-height: 1.6;
}

/* Responsividad para móviles */
@media (max-width: 768px) {
    .workflow-grid::before {
        left: 20px;
    }
    .step-number {
        min-width: 40px;
        height: 40px;
        font-size: 1rem;
    }
}


.service-item,
.price-item,
.team-item {
    box-shadow: 0 0 45px rgba(0, 0, 0, .07);
    
    background-size: cover;
}



.service-item img,
.team-item img {
    transition: .5s;
}

.service-item:hover img,
.team-item:hover img {
    transform: scale(1.1);
}

.service-item a.btn-slide,
.price-item a.btn-slide,
.team-item div.btn-slide {
    position: relative;
    display: inline-block;
    overflow: hidden;
    font-size: 0;
}

.service-item a.btn-slide i,
.service-item a.btn-slide span,
.price-item a.btn-slide i,
.price-item a.btn-slide span,
.team-item div.btn-slide i,
.team-item div.btn-slide span {
    position: relative;
    height: 40px;
    padding: 0 15px;
    display: inline-flex;
    align-items: center;
    font-size: 16px;
    color: #FFFFFF;
    background: var(--primary);
    border-radius: 0 35px 35px 0;
    transition: .5s;
    z-index: 2;
}

.team-item div.btn-slide span a i {
    padding: 0 10px;
}

.team-item div.btn-slide span a:hover i {
    background: var(--secondary);
}

.service-item a.btn-slide span,
.price-item a.btn-slide span,
.team-item div.btn-slide span {
    padding-left: 0;
    left: -100%;
    z-index: 1;
}

.service-item:hover a.btn-slide i,
.price-item:hover a.btn-slide i,
.team-item:hover div.btn-slide i {
    border-radius: 0;
}

.service-item:hover a.btn-slide span,
.price-item:hover a.btn-slide span,
.team-item:hover div.btn-slide span {
    left: 0;
}

.service-item a.btn-slide:hover i,
.service-item a.btn-slide:hover span,
.price-item a.btn-slide:hover i,
.price-item a.btn-slide:hover span {
    background: var(--secondary);
}


/*** Testimonial ***/
.process-container {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    padding: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}


.process-step {
    background: var(--bg-card);
    border-radius: 20px;
    padding: 0;
    width: 200px;
    text-align: center;
    box-shadow: 0 10px 150px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.process-step:hover {
    transform: translateY(10px);
    box-shadow: 0 20px 35px rgba(0,0,0,0.15);
}

.icon-wrapper {
    background: var(--primary-color);
    color: rgb(155, 33, 33);
    width: 60px;
    height: 60px;
    line-height: 60px;
    border-radius: 50%;
    margin: 0 auto 15px;
    font-size: 24px;
}

.process-step h3 {
    color: var(--text-color);
    margin-bottom: 10px;
    font-size: 1.2rem;
}

.process-step p {
    color: #7f8c8d;
    font-size: 0.9rem;
    line-height: 1.4;
}




.testimonial-carousel .owl-item .testimonial-item {
    position: relative;
    transition: .5s;
}

.testimonial-carousel .owl-item.center .testimonial-item {
    box-shadow: 0 0 45px rgba(0, 0, 0, .08);
    animation: pulse 1s ease-out .5s;
}

.testimonial-carousel .owl-dots {
    display: flex;
    align-items: center;
    justify-content: center;
}

.testimonial-carousel .owl-dot {
    position: relative;
    display: inline-block;
    margin: 0 5px;
    width: 15px;
    height: 15px;
    background: var(--primary);
    border: 5px solid var(--light);
    border-radius: 15px;
    transition: .5s;
}

.testimonial-carousel .owl-dot.active {
    background: var(--light);
    border-color: var(--primary);
}


/*** Contact ***/

.banner-container {
    width: 100%;
    overflow: hidden; /* Evita desbordamientos */
}

.banner-container img {
    width: 100%;       /* Ocupa todo el ancho de la pantalla/contenedor */
    height: auto;      /* Mantiene la proporción original de la imagen */
    display: block;    /* Elimina espacios en blanco debajo de la imagen */
}
.contenedor-principal {
  display: grid;
  /* Crea dos columnas: una de 2 partes para el formulario y 1 parte para la imagen */
  grid-template-columns: 1fr 1fr; 
  gap: 10px; /* Espacio entre los elementos */
  align-items: center; /* Alineación vertical */
}

/* Opcional: Para asegurar que la imagen se adapte al contenedor */
.columna-imagen img {
  width: 100%;
  height: auto;
  border-radius: 8px; /* Ejemplo de diseño */
}
@media (max-width: 768px) {
  .contenedor-principal {
    grid-template-columns: 1fr; /* Cambia a una sola columna en pantallas pequeñas */
  }
}


.call-to-action-box .action-style-box {
  background: #ffb600;
  padding: 30px;
}
@media (min-width: 992px) {
    .container.contact-page {
        max-width: 100% !important;
    }

    .contact-page .contact-form  {
        padding-left: calc(((100% - 960px) / 2) + .75rem);
    }
}

@media (min-width: 1200px) {
    .contact-page .contact-form  {
        padding-left: calc(((100% - 1140px) / 2) + .75rem);
    }
}

@media (min-width: 1400px) {
    .contact-page .contact-form  {
        padding-left: calc(((100% - 1320px) / 2) + .75rem);
    }
}


/*** Footer ***/
.footer {
    background: linear-gradient(rgba(6, 3, 21, .5), rgba(6, 3, 21, .5)), url(../img/map.png) center center no-repeat;
    background-size: cover;
}

.footer .btn.btn-social {
    margin-right: 5px;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--light);
    border: 1px solid #FFFFFF;
    border-radius: 35px;
    transition: .3s;
}

.footer .btn.btn-social:hover {
    color: var(--primary);
}

.footer .btn.btn-link {
    display: block;
    margin-bottom: 5px;
    padding: 0;
    text-align: left;
    color: #FFFFFF;
    font-size: 15px;
    font-weight: normal;
    text-transform: capitalize;
    transition: .3s;
}

.footer .btn.btn-link::before {
    position: relative;
    content: "\f105";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    margin-right: 10px;
}

.footer .btn.btn-link:hover {
    letter-spacing: 1px;
    box-shadow: none;
}

.footer .copyright {
    padding: 25px 0;
    font-size: 15px;
    border-top: 1px solid rgba(256, 256, 256, .1);
}

.footer .copyright a {
    color: var(--light);
}

.logo-container {
    width: 200px; /* Tamaño máximo deseado en escritorio */
    max-width: 100%; /* Evita que el logo sea más ancho que la pantalla del móvil */
}

.responsive-logo {
    display: block; /* Elimina espacios en blanco no deseados debajo de la imagen */
    width: 100%;    /* El logo siempre ocupará el 100% del contenedor */
    height: auto;   /* ¡ESTO ES LO MÁS IMPORTANTE! Mantiene la proporción original */
}

.logo-carousel {
    max-width: 250px; /* Tamaño máximo en escritorio */
    width: 100%;      /* Ajuste dinámico */
    height: auto;     /* Mantiene la proporción */
    margin-bottom: 20px; /* Separación natural del texto */
    display: block;
}

/* Ajuste para celulares */
@media (max-width: 768px) {
    .logo-carousel {
        max-width: 150px; /* Más pequeño en móviles */
    }
}

.contenedor-recuadros {
    margin-top: -80px;
    position: relative;
    z-index: 10;
}


/* --- Estilos generales para imágenes responsivas --- */
img {
  max-width: 100%;
  height: auto;
  display: block;
}

.contenedor {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

/* Estilos base para celulares */
.menu {
    display: none; /* Menú hamburguesa por ejemplo */
}

/* Para pantallas mayores a 768px (Tablets y PCs) */
@media (min-width: 768px) {
    .menu {
        display: flex;
    }
}

img, video, iframe {
    max-width: 100%;
    height: auto;
    display: block;
}

h1 {
    font-size: clamp(1.5rem, 4vw, 3rem);
}

/* Contenedor principal de los pasos */
.process-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    padding: 40px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.process-container {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;         /* Espacio entre los cuadros y las flechas */
}

.process-step {
    flex: 1;           /* Hace que todos los cuadros ocupen el mismo ancho */
    text-align: center;
}

/* Estilo individual de cada tarjeta o paso */
.process-step {
    background: #ffffff;
    padding: 30px 20px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    text-align: center;
    flex: 1 1 250px; /* Se adapta dinámicamente: mínimo 250px de ancho por tarjeta */
    max-width: 300px;
    transition: transform 0.3s ease;
}

.process-step:hover {
    transform: translateY(-5px);
}

/* Contenedor del icono */
.icon-wrapper {
    width: 70px;
    height: 70px;
    background-color: #dc3545; /* Color primario o el que uses en tu web */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px auto;
    font-size: 24px;
}

/* Tipografía adaptativa para títulos y textos */
.process-step h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: #333;
}

.process-step p {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.5;
    margin: 0;
}

/* Media Query específica para celulares pequeños (opcional para ajustar espacios) */
@media (max-width: 768px) {
    .process-container {
        padding: 20px 10px;
        gap: 15px;
    }
    
    .process-step {
        max-width: 100%; /* Ocupa todo el ancho disponible en celulares */
    }
}

/* Altura automática y ajuste completo para móviles */
@media (max-width: 768px) {
    .header-carousel, 
    .header-carousel .owl-stage-outer, 
    .header-carousel .owl-stage, 
    .header-carousel .owl-item {
        height: auto !important;
        min-height: 200px !important;
    }

    .header-carousel .owl-item img.header-carousel-img {
        width: 100% !important;
        height: auto !important;
        max-height: 350px !important; /* Limita la altura máxima para que no ocupe toda la pantalla */
        object-fit: contain !important; /* Muestra la imagen completa sin recortarla */
        object-position: center !important;
        display: block !important;
        margin: 0 auto !important;
    }
}


/* Contenedor principal en formato de cuadrícula/flexbox */
.process-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    padding: 40px 20px;
}

/* Estilo base de cada tarjeta de paso */
.process-step {
    background: #ffffff;
    padding: 30px 20px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    width: 250px;
    text-align: center;
    
    /* Propiedad clave: suaviza el movimiento de subida */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Efecto de elevación al hacer hover (o al tocar en dispositivos móviles si se configura) */
.process-step:hover {
    transform: translateY(-10px); /* Sube 10 píxeles */
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15); /* Sombra más pronunciada al elevarse */
}

/* Estilos visuales opcionales para los iconos */
.icon-wrapper {
    background-color: #ff1e00;
    width: 60px;
    height: 60px;
    margin: 0 auto 20px auto;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 24px;
}

/* Alinear los pasos del proceso en una misma línea horizontal */
.process-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    margin-bottom: 50px;
    gap: 15px;
}

.process-step {
    flex: 1;
    text-align: center;
    padding: 10px;
}

.process-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ccc;
    font-size: 1.2rem;
}

/* Alinear los 5 elementos de workflow en una misma línea horizontal */
.workflow-container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
    overflow-x: auto; /* Por si la pantalla es muy pequeña, permite desplazamiento horizontal suave */
    padding-bottom: 20px;
}

.workflow-item {
    flex: 1;
    min-width: 200px; /* Asegura un ancho mínimo para que el texto no se comprima demasiado */
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
}

/* Mobile fixes for Laksmi template */
html,
body {
    max-width: 100%;
    overflow-x: hidden;
}

.btn-whatsapp,
.back-to-top {
    position: fixed;
    right: 20px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.btn-whatsapp {
    bottom: 88px;
    background-color: #25d366;
}

.back-to-top {
    bottom: 20px;
    background-color: #ffc107;
    color: #212529;
    display: none;
}

.btn-whatsapp img {
    width: 28px;
    height: 28px;
}

.process-container {
    width: min(100%, 1140px);
    margin: 0 auto 50px;
    padding: 32px 16px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: stretch;
    gap: 20px;
}

.process-step {
    flex: 1 1 220px;
    max-width: 280px;
    min-width: 0;
    padding: 24px 18px;
    overflow-wrap: anywhere;
}

.testimonial-carousel .testimonial-item {
    width: 100%;
    max-width: 520px;
    margin-left: auto;
    margin-right: auto;
    overflow-wrap: break-word;
}

.testimonial-carousel:not(.owl-loaded) {
    display: block;
}

.testimonial-carousel:not(.owl-loaded) .testimonial-item {
    display: none;
}

.testimonial-carousel:not(.owl-loaded) .testimonial-item:first-child {
    display: block;
}

.testimonial-carousel .testimonial-item .d-flex {
    min-width: 0;
}

.testimonial-carousel .testimonial-item .ms-4 {
    min-width: 0;
}

.testimonial-carousel .testimonial-item h3,
.testimonial-carousel .testimonial-item p {
    overflow-wrap: break-word;
}

@media (max-width: 768px) {
    .container,
    .container-fluid,
    .container-xxl {
        max-width: 100%;
    }

    .navbar-brand {
        max-width: 60%;
    }

    .navbar-brand img {
        max-width: 100%;
        height: auto !important;
        max-height: 72px;
        margin: 8px 0 !important;
    }

    .header-carousel,
    .header-carousel .owl-stage-outer,
    .header-carousel .owl-stage,
    .header-carousel .owl-item,
    .header-carousel .owl-carousel-item {
        height: auto !important;
        min-height: 0 !important;
    }

    .header-carousel picture {
        display: block;
    }

    .header-carousel .owl-carousel-item img.header-carousel-img {
        position: static !important;
        width: 100% !important;
        height: auto !important;
        max-height: none !important;
        object-fit: contain !important;
        display: block !important;
    }

    .process-container {
        width: 100%;
        flex-wrap: wrap !important;
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        gap: 16px;
        margin: 0 auto 32px;
        padding: 24px 16px;
    }

    .process-step {
        width: 100%;
        max-width: 420px;
        flex: 0 0 auto;
        padding: 22px 18px;
    }

    .process-arrow {
        display: none;
    }

    .main-container {
        overflow: hidden;
    }

    .main-container h1,
    body > div[style*="text-align: center"] h1 {
        font-size: clamp(1.6rem, 8vw, 2.1rem);
        line-height: 1.2;
        padding: 0 16px;
        margin-bottom: 24px;
    }

    .page-header {
        margin-bottom: 2rem !important;
    }

    .workflow-container {
        width: 100%;
        overflow-x: visible;
        padding: 0 16px 20px;
    }

    .workflow-item {
        width: 100%;
        min-width: 0;
        display: flex;
        gap: 14px;
        margin: 0 0 18px;
        padding: 16px;
    }

    .step-number {
        flex: 0 0 42px;
        min-width: 42px;
        width: 42px;
        height: 42px;
    }

    .step-content {
        min-width: 0;
        padding: 0;
        border: 0;
    }

    .testimonial-carousel {
        width: 100%;
        max-width: 100%;
        overflow: hidden;
    }

    .testimonial-carousel .testimonial-item {
        max-width: calc(100vw - 48px);
        padding: 24px !important;
        margin-top: 32px !important;
        margin-bottom: 28px !important;
        display: block;
        visibility: visible;
        opacity: 1;
    }

    .testimonial-carousel .testimonial-item .d-flex {
        align-items: center !important;
        gap: 16px;
    }

    .testimonial-carousel .testimonial-item .ms-4 {
        margin-left: 0 !important;
    }

    .testimonial-carousel .testimonial-item img {
        width: 72px !important;
        height: 72px !important;
    }

    .testimonial-carousel .testimonial-item h3 {
        font-size: 1.25rem;
    }

    .testimonial-carousel .testimonial-item p {
        font-size: 1rem;
        line-height: 1.55;
    }

    .btn-whatsapp,
    .back-to-top {
        right: 18px;
        width: 48px;
        height: 48px;
    }

    .btn-whatsapp {
        bottom: 86px;
    }
}

@media (max-width: 420px) {
    .testimonial-carousel .testimonial-item .d-flex {
        flex-direction: column;
        align-items: flex-start !important;
    }

    .testimonial-carousel .testimonial-item {
        max-width: calc(100vw - 32px);
        padding: 22px 18px !important;
    }
}
