  :root {
      --celeste-hover: #1991bd;
    }

   
    .header::before {
      content: "";
      position: absolute;
      inset: 0;
      background-color: rgba(63, 169, 213, 0.8);
      z-index: 0;
    }

    .header>* {
      position: relative;
      z-index: 1;
    }

    /* Navbar base */
    .my-nav {
      background-color: rgba(255, 255, 255, 0.0);
      transition: background-color 0.3s ease, box-shadow 0.3s ease;
    }

    /* Navbar fija al hacer scroll */
    .my-nav.fixed-nav {
      position: fixed;
      top: 0;
      left: 0;
      right: 0;
      background-color: white !important;
      box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
      z-index: 1030;
    }

    /* Estilo de enlaces del menú */
    .navbar-nav .nav-link {
      color: black;
      font-weight: 500;
      margin-left: 0.4rem;
      margin-right: 0.4rem;
      transition: color 0.3s ease;
      display: flex;
      align-items: center;
      gap: 0.3rem;
    }

    .navbar-nav .nav-link:hover,
    .navbar-nav .nav-link.active {
      color: var(--celeste-hover);
    }

    @media (max-width: 768px) {
      .navbar-nav .nav-link {
        margin: 0.6rem 0;
      }
    }

    .col-md-6.text-white h1 {
      font-weight: 700;
      /* más grueso */
      font-size: 3rem;
      /* más grande (puedes ajustar) */
    }

    .btn-ver {
      background-color: #148cb8;
      color: white;
      border: 1px solid transparent;
      transition: all 0.3s ease;
    }

    .btn-ver:hover {
      background-color: #148cb8;
      border-color: white;
    }

    .btn-contactar {
      background-color: rgba(255, 255, 255, 0.1);
      color: white;
      border: 1px solid white;
      transition: all 0.3s ease;
    }

    .btn-contactar:hover {
      background-color: rgba(255, 255, 255, 0.5);
      color: black;
    }

    body {
      padding-top: 0;
    }

    /****************************************************/

    .por-que-elegirnos {
      padding: 40px 20px;
      text-align: center;
    }

    .por-que-elegirnos h2 {
      color: #148cb8;
      margin-bottom: 10px;
      font-size: 2.5rem;
    }

    .por-que-elegirnos .lead {
      font-size: 1.2rem;
      margin-bottom: 40px;
      color: #555;
    }

    .contenedor-beneficios {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
      gap: 40px;
      padding: 20px;
      max-width: 85%;
      margin: 0 auto;
    }

    .beneficio {
      border: 1px solid #148cb8;
      box-shadow: 0 0 15px #148cb8;
      border-radius: 10px;
      padding: 20px;
      background-color: white;
      transition: transform 0.3s, box-shadow 0.3s;
    }

    .beneficio h4 {
      color: #148cb8;
      margin-bottom: 10px;
    }

    .beneficio p {
      font-size: 0.95rem;
      color: #444;
    }
    .icono {
      background-color: #e7f3fa;
      border-radius: 50%;
      width: 60px;
      height: 60px;
      margin: 0 auto 20px;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 28px;
      color: #0891b2;
    }

/**************************************************************************/
    .servicios {
      text-align: center;
      padding: 0px 0px;
    }

    .servicios h2 {
      color: #148cb8;
      margin-bottom: 10px;
      font-size: 2.5rem;
    }



    .tarjetas-servicios {
      display: flex;
      flex-wrap: wrap;
      justify-content: center;
      gap: 20px;
    }

    .tarjeta {
      background-color:#2295c0;
      border-radius: 12px;
      box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
      border: 2px solid #2295c0;
      overflow: hidden;
       color: #ffffff;
      width: 300px;
      text-align: left;
      display: flex;
      flex-direction: column;
      transition: transform 0.3s ease, border 0.3s ease;
      
    }

    .tarjeta:hover {
      transform: translateY(-5px);
      background-color:#ffffff;
       color: #148cb8;
       box-shadow: 0 0 25px #2295c0;
       transition: transform 0.4s ease;
    }


    .tarjeta img {
      width: 100%;
      height: 180px;
      object-fit: cover;
      transition: transform 0.4s ease;
      /* transición para zoom */
    }

    /* 🔍 Efecto de zoom en imagen cuando se hace hover en la tarjeta */
    .tarjeta:hover img {
      transform: scale(1.1);
    }

    .contenido {
      padding: 20px;
      flex-grow: 1;
   display: flex;
  flex-direction: column;
    }

     .contenido h3 {
      color: #ffffff;
      margin-bottom: 10px;
    }
 
    .contenido p {
      font-size: 0.95rem;
      color: #ffffff;
    }
.tarjeta:hover .contenido h3 {
  color: #148cb8;
}

.tarjeta:hover .contenido p {
  color: #000000;
}
    .boton {
      display: inline-block;
      padding: 10px 16px;
      background-color: #f1f5f9;
      border: 1px solid #e2e8f0;
      border-radius: 8px;
      font-size: 14px;
      font-weight: 500;
      color: #000;
      text-decoration: none;
      transition: background-color 0.3s;
           margin-top: auto;
    }

    .boton:hover {
      background-color: #e2e8f0;
    }
/*********************************************************************/
    .btn-ver-todos {
      margin-top: 40px;
      padding: 12px 20px;
      background-color: #0891b2;
      color: #fff;
      border: none;
      border-radius: 8px;
      font-size: 14px;
      font-weight: bold;
      cursor: pointer;
      transition: background-color 0.3s;
    }

    .btn-ver-todos:hover {
      background-color: #0e7490;
    }
/**********************************************************/
    @media (max-width: 600px) {
      .tarjeta {
        width: 100%;
        max-width: 90%;
      }
    }

    .card-testimonio {
      border: none;
      border-radius: 15px;
      box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
      padding: 25px;
      background-color: #fff;
      text-align: left;
      display: flex;
      flex-direction: column;
      justify-content: space-between;
    }

    .stars {
      color: #f5c518;
      font-size: 1.2rem;
      margin-bottom: 10px;
    }

    .avatar-circle {
      width: 48px;
      height: 48px;
      border-radius: 50%;
      background-color: #b3e5fc;
      color: #006064;
      display: flex;
      align-items: center;
      justify-content: center;
      font-weight: bold;
      font-size: 20px;
    }

    .testimonios-section {
      background-color: #f8f9fa;
      padding: 60px 20px;
    }

     .testimonios-section h2 {
      color: #148cb8;
      margin-bottom: 10px;
        text-align: center;
         font-size: 2.5rem;
    }

   .testimonios-section p.lead {
      font-size: 1.2rem;
      color: #444;
        text-align: center;
    }

    /********************************************************/
    .cta-section {
      background: #148cb8;
      color: white;
      text-align: center;
      padding: 60px 20px;
    }

    .footer {
      background-color: #0B0F1A;
      color: white;
      padding: 40px 10px 30px;

    }

    .footer a {
      color: #ccc;
      text-decoration: none;
      transition: color 0.3s ease;
    }

    .footer a:hover,
    .footer a:active {
      color: #148cb8;
    }

    .footer .fa-brands {
      font-size: 1.25rem;
      margin-right: 15px;
      color: #ccc;
      transition: color 0.3s ease;
    }

    .footer .fa-brands:hover {
      color: #148cb8;
    }

    .footer .contact-icon {
      color: #148cb8;
    }

    .footer-bottom {
      text-align: center;
      color: #777;
      font-size: 14px;
      padding-top: 10px;
    }

    .logo-footer {
      max-width: 200px;
    }