  /*Cambios en el hero responsive*/

  @media (max-width: 768px) {
    #home .container {
      padding-top: 3rem;
      padding-bottom: 3rem;
    }
  }

  @media (max-width: 768px) {
    #home h1 {
      font-size: 2.2rem !important;
      line-height: 1.15;
      margin-bottom: 1.25rem;
    }
  }

  @media (max-width: 768px) {
    #home p {
      margin-bottom: 1.25rem;
    }
  }

  @media (max-width: 768px) {
    #home .btn {
      margin-top: 1.5rem;
      padding-top: 0.9rem;
      padding-bottom: 0.9rem;
    }
  }

  @media (max-width: 768px) {
    #home .col-lg-8 {
      max-width: 95%;
      margin: 0 auto;
    }
  }



  /* Esta seccion es para la imagenes animadas */
  .logo-item {
    width: 160px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
  }

  .logo-item img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
  }

  .map-container iframe {
    width: 100%;
    height: 500px;
    border: 0;
  }

  /*Esta seccion es para el Arquilatero animado*/

  .arquilatero-overlay {
    position: relative;
    z-index: 3;
    pointer-events: none;
    /* UX clean */
  }

  @media (min-width: 992px) {
    .arquilatero-overlay {
      position: relative;
      top: 70px;
      /* controla la superposición */
    }
  }

  @media (max-width: 768px) {
    .text-bg-clip-animation {
      display: none;
    }

    .arquilatero-overlay {
      top: 0;
    }
  }

  .text-bg-clip-animation {
    font-size: clamp(3rem, 10vw, 9rem);
    line-height: 1.1;
    font-weight: 800;
    text-align: center;
    background-size: 40%;
    background-position: center;
    background-clip: text;
    -webkit-background-clip: text;
    color: rgba(0, 0, 0, 0);

  }

  /* MOBILE */
  @media (max-width: 768px) {
    .text-bg-clip-animation {
      display: none;
    }
  }

  @media (max-width: 1200px) {
    .text-bg-clip-animation {
      font-size: 75px;
      line-height: 100px;
    }
  }

  .text-bg-clip-animation.appear-animation-visible {
    animation: textBgZoom 10s ease-in-out infinite alternate;
    /*ease 500ms forwards;*/
  }


  @keyframes textBgZoom {
    from {
      background-size: 40%;
    }

    to {
      background-size: 10%;
    }
  }


  /*
* Card
*/
  .custom-card-style-2 {
    box-shadow: 0px 0px 35px -5px rgba(0, 0, 0, 0.1);
    border-left: 1px solid #e8e8e8;
    border-bottom: 1px solid #e8e8e8;
    border-right: 1px solid #e8e8e8;
    margin-top: 16px;
    margin-top: 1rem;
  }

  .custom-card-style-2 h3,
  .custom-card-style-2 h4 {
    letter-spacing: inherit;
    font-weight: 600;
  }

  .custom-card-style-2 hr {
    background: rgba(0, 0, 0, 0.15) !important;
  }

  .custom-card-style-2:before {
    content: "";
    display: block;
    top: 0;
    left: 0;
    height: 3px;
    width: 100%;
  }

  .custom-card-style-2.card-contact-us {
    margin-top: 6.4px !important;
    margin-top: 0.4rem !important;
  }

  /*Seccion contactanos*/
  .custom-card-style-2:before {
    background-color: var(--primary);
  }

  /*Para el mapa de google*/
  .mapa-section {
    width: 100vw;
    /* Usa todo el ancho visible */
    margin-left: calc(-50vw + 50%);
    /* Corrige el centrado si está dentro de un container */
  }

  .mapa-section iframe {
    width: 100%;
    height: 500px;
    /* Puedes ajustar la altura */
    border: none;
    display: block;
  }

  @media (max-width: 768px) {
    .mapa-section iframe {
      height: 600px;
      /* Más pequeño en móviles */
    }
  }


  /*
* Line Pre
*/
  .line-pre-title {
    width: 50px;
    height: 3px;
    margin-right: 20px;
    display: inline-block;
    vertical-align: middle;
  }


  /* Cabecera de la caja de mensaje*/
  .encabezado-serv {
    padding: 16px 16px 0px 16px;
    position: relative;
    z-index: 1;
  }

  /*Seccion consideraciones importantes*/
  .message {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-bottom: 260px;
    /* espacio para la imagen */
  }

  /* bloque amarillo */
  .message blockquote {
    border-radius: 28px;
    background: #ffe83a;
    /* amarillo */
    padding: 32px 38px;
    box-shadow: 0px 18px 38px rgba(0, 0, 0, 0.08);
  }

  /* imagen */
  .engineer {
    position: absolute;
    bottom: -60px;/* controla cuánto se asoma */
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .engineer img {
    width: 350px;
    height: auto;
    user-select: none;
    pointer-events: none;
  }

  /* sombra/base */
  .engineer::after {
    content: "";
    width: 250px;
    height: 20px;
    background: rgba(0, 0, 0, 0.50);
    filter: blur(8px);
    border-radius: 50%;
    margin-top: -2px;
  }


  @media (max-width: 768px) {
    .message {
      padding-bottom: 200px;
    }

    .engineer {
      bottom: -5px;
    }

    .engineer img {
      width: 250px;
    }

    .engineer::after {
      width: 180px;
      height: 14px;
      filter: blur(10px);
    }

    .message blockquote {
      padding: 24px;
    }
  }


  /*Cambiar el color de mis iconos*/
  .color-icon {
    fill: #fee800;
  }

  /*para el footer*/

  #footer a:not(.btn):not(.no-footer-css),
  #footer li,
  #footer span,
  #footer p {
    color: #888888;
  }

  .custom-list-style-1>li {
    margin-bottom: 0;
    padding-top: 10px;
    padding-bottom: 10px;
  }

  .custom-list-style-1>li+li {
    border-top: 1px solid #46474a;
  }

  .custom-list-style-1>li:first-child {
    padding-top: 0;
  }

  .custom-list-style-1>li:last-child {
    padding-bottom: 0;
  }

  /*Para Wsap*/
  .whatsapp-fijo {
    position: fixed;
    bottom: 70px;
    /* ajustado para no chocar con su botón de subir */
    right: 30px;
    width: 65px;
    height: 65px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #25D366;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    animation: pulse 1.8s infinite;
    z-index: 1000;
  }

  .whatsapp-fijo img {
    width: 38px;
    height: 38px;
  }

  /* ANIMACIÓN */
  @keyframes pulse {
    0% {
      box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }

    70% {
      box-shadow: 0 0 0 18px rgba(37, 211, 102, 0);
    }

    100% {
      box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
  }


  @media (max-width: 768px) {
    .whatsapp-fijo {
      width: 52px;
      height: 52px;
      bottom: 20px;
      right: 20px;
    }

    .whatsapp-fijo img {
      width: 26px;
    }
  }


  /*imagen lateral del footer*/
  .custom-svg-3 {
    display: none;
    position: absolute;
    right: 0;
  }

  @media (min-width: 576px) {
    .custom-svg-3 {
      display: block;
      bottom: -80px;
      width: 80px;
    }
  }

  @media (min-width: 1440px) {
    .custom-svg-3 {
      bottom: -150px;
      width: 150px;
    }
  }

  /*hide btn - ocultar boton en el inicio*/

  @media (max-width: 768px) {
    .hide-mobile {
      display: none;
    }
  }


  /* Estrellas activas del carrusel de testimonios */
  .owl-carousel.carousel-center-active-item-2 .owl-item.active .star-rating i {
    color: var(--secondary) !important;
  }


  /* Controlar img-ing de contactanos */
  .engineer-mobile {
    display: none;
  }

  .engineer-desktop {
    display: block;
  }

  /* Mobile */
  @media (max-width: 991px) {
    .engineer-desktop {
      display: none;
    }

    .engineer-mobile {
      display: block;
      max-width: 70%;
      margin: 2rem auto 0;
    }
  }

  /* Caja de formulario*/

  .contact-form-box {
    background: #ffffff;
    border-radius: 16px;
    padding: 48px 48px 56px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1);
    margin-bottom: 80px;
  }

  @media (max-width: 991px) {
    .contact-form-box {
      margin-bottom: 15px;
      padding: 32px 24px 40px;
    }
  }

  /*imagen de ing Miguel*/
  .about-img {
    height: 400px;
    /* controla el alto */
    overflow: hidden;
  }

  .about-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* recorta sin deformar */
    object-position: center;
  }

  @media (max-width: 768px) {
    .about-img {
      height: 360px;
    }
  }