:root{
      --primary:#0d6efd;
      --accent:#ffd500;
      --glass-bg: rgba(255,255,255,0.62);
      --muted:#6c757d;
    }

    body {
      scroll-behavior: smooth;
      background: #f8f9fa;
    }
    .text-justify {
        text-align: justify;
    }

    section,
    header,
    .container,
    .container-fluid {
      overflow-x: hidden;
    }


    /* =======================================
       NAVBAR GLASSMORPHISM
    =======================================*/
    /* .navbar-glass {
      backdrop-filter: blur(15px);
      background: rgba(255, 255, 255, 0.65) !important;
      border-bottom: 1px solid rgba(255, 255, 255, 0.25);
      box-shadow: 0 4px 20px rgba(0, 0, 0, 0.07);
      transition: all .3s ease;
    }
    .navbar-glass.scrolled {
      background: rgba(255, 255, 255, 0.85) !important;
      box-shadow: 0 6px 25px rgba(0,0,0,.15);
    } */

    /* Logo */
    /* .navbar-logo {
      height: 38px;
      width: auto;
      object-fit: contain;
    } */

    /* Texto marca */
    /* .brand-text {
  font-size: 1.1rem;
  white-space: normal; 
  line-height: 1.1;
} */

/* En móvil acorta el texto */
/* @media (max-width: 576px) {
  .brand-text {
    font-size: 0.9rem;
    max-width: 140px;
  }
} */

    /* Ajustes móviles */
    /* @media (max-width: 576px) {
      .navbar-logo {
        height: 30px;
      }

      .brand-text {
        font-size: 0.95rem;
      }
    } */

    
    /* ===========================
       HEADER / HERO
    ============================*/
    .hero-header {
      background: linear-gradient(135deg, #0d6efd 0%, #003c8f 100%);
      color: white;
      padding-top: 130px;
      padding-bottom: 100px;
    }

    .hero-img {
      border-radius: 20px;
      transition: transform .4s ease;
      box-shadow: 0 15px 30px rgba(0,0,0,.35);
    }
    .hero-img:hover {
      transform: scale(1.03);
    }

    /* CTA PRINCIPAL */
    .cta-main {
      font-size: 1.1rem;
      padding: 14px 24px;
      border-radius: 12px;
      background: #ffd500;
      color: #000 !important;
      font-weight: bold;
      transition: all .3s ease;
    }
    .cta-main:hover {
      background: #ffcc00;
      transform: translateY(-3px);
    }

    .features-list p {
      margin: 6px 0;
    }
    .features-list i {
      color: #ffdd57;
      margin-right: 6px;
    }

    .icon-circle {
      width: 70px;
      height: 70px;
      border-radius: 50%;
      background: #e8f0ff;
      display: flex;
      justify-content: center;
      align-items: center;
      font-size: 32px;
      color: #0d6efd;
      margin: 0 auto 15px;
    }

    /* ---------- SERVICES ---------- */
    .service-card {
    border-radius: 16px;
    overflow: hidden; /* CLAVE para que la imagen respete el borde */
    transition: transform .32s ease, box-shadow .32s ease;
    background: linear-gradient(180deg, #fff, #fbfdff);
    box-shadow: 0 8px 24px rgba(20,30,60,0.08);
    height: 100%;
    display: flex;
    flex-direction: column;
    }

/* Hover elegante */
.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 18px 60px rgba(20,30,60,0.14);
}

/* Contenedor de imagen */
.service-img {
  width: 100%;
  height: 180px;
  overflow: hidden;
}

/* Imagen */
.service-img img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* Ajusta sin deformar */
  transition: transform .4s ease;
}

/* Zoom suave al hover */
.service-card:hover .service-img img {
  transform: scale(1.08);
}

/* Cuerpo de la tarjeta */
.service-body {
  padding: 1.5rem;
  text-align: center;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.service-body h5 {
  font-weight: 600;
  margin-bottom: .5rem;
}

.service-body p {
  font-size: .95rem;
  margin: 0;
}

/* Responsive */
@media (max-width: 768px) {
  .service-img {
    height: 150px;
  }

  .service-body {
    padding: 1.25rem;
  }
}


    
    #galeria {
      padding: 60px 0;
    }

    #galeria h2 {
      font-weight: 700;
      color: #333;
    }

    #galeria .img-fluid {
      cursor: pointer;
      transition: transform 0.3s ease, box-shadow 0.3s ease;
      border-radius: 8px;
    }

    #galeria .img-fluid:hover {
      transform: scale(1.05);
      box-shadow: 0 10px 20px rgba(0,0,0,0.2);
    }


    /* BOTÓN WHATSAPP */
    .whatsapp-float {
      position: fixed;
      bottom: 20px;
      right: 20px;
      background-color: #25d366;
      color: #fff;
      width: 55px;
      height: 55px;
      border-radius: 50%;
      font-size: 28px;
      display: flex;
      justify-content: center;
      align-items: center;
      z-index: 999;
      transition: all .3s ease;
      box-shadow: 0 5px 15px rgba(0,0,0,.3);
    }
    .whatsapp-float:hover {
      transform: scale(1.1);
      text-decoration: none;
      color: #fff;
    }

    
    

.grain-parallax {
  position: relative;
  min-height: 60vh;
  background-image: url("/Assets/img/servicios/parallax.png");
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  overflow: hidden;
}

/* Overlay ocupa TODO el contenedor */
.grain-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #022458ce 0%, #003c8f63 100%);
  display: flex;
  align-items: center;
}

/* Contenido */
.grain-content h2 {
  font-size: 3rem;
}

.grain-content p {
  font-size: 2rem; /* Fuente más grande */
  line-height: 1.8;
}

/* 🔽 ADAPTACIÓN MÓVIL */
@media (max-width: 768px) {
  .grain-parallax {
    background-attachment: scroll; /* Evita bugs en móvil */
    min-height: 85vh;
  }

  .grain-overlay {
     background: linear-gradient(135deg, #022458ce 0%, #003c8f63 100%);
  }

  .grain-content {
    text-align: center;
  }

  .grain-content h2 {
    font-size: 1.9rem;
  }

  .grain-content p {
    font-size: 1.05rem;
    text-align: left; 
  }
}

.grain-info h3 {
  font-size: 2rem;
}

.grain-info ul li div {
  font-size: 1.1rem;
  line-height: 1.6;
}

@media (max-width: 992px) {
  .grain-info ul li div {
    font-size: 1rem;
  }
}


