:root{
  --brand-dark:#4F7095; /* header */
  --brand:#ebedf1;      /* accents */
  --brand-soft:#4F7095; /* section bg */
}
html { scroll-behavior: smooth; }

[id] {
  scroll-margin-top: 120px; /* ajustá según la altura real de tu header */
}

.navbar {
  background-color: rgba(228, 219, 219, 0.8); /* gris 70% opaco */
 
}

.navbar .nav-link {
  color: var(--brand-soft) !important;   /* texto oscuro */
  transition: all 0.2s ease-in-out;
}

.navbar .nav-link:hover {
  
  transform: scale(1.25);  
}

.navbar-dark .navbar-toggler-icon {
  background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba(0,0,0,1)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
}

#equipo{
  background: var(--brand-soft) !important;
  
}

.logo {
  background: url("assets/logo2.png") no-repeat center center;
  background-size: contain;
  width: 200px;   /* ancho del logo */
  height: 100px;   /* alto del logo */
  flex-shrink: 0; /* evita que se achique */
 
}



.hero {
  background: url("assets/banner2.webp") no-repeat center center;
  background-size: cover;
  color: #fff;
  padding: 140px 0 90px;
  position: relative;
  min-height: 400px;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.5); /* oscurece la imagen para que el texto se lea */
}
.hero .container {
  position: relative;
  z-index: 1;
}

.hero-icon { font-size:84px; opacity:.9; }


.btn-background{
  
  color: #000000;
  
}

.btn-background:hover{
  background: var(--brand-dark);
  color: #fff;
}





.section-pad { padding: 80px 0; }
.section-muted { background: var(--brand-soft) !important;  }
.brand-underline { width: 72px; height: 4px; background: var(--brand-soft);border-radius: 2px; }
.brand-underline-white { width: 72px; height: 4px; background: var(--brand);border-radius: 2px; }

/* WhatsApp floating button */
.whatsapp-float {
  position: fixed; right: 18px; bottom: 18px; z-index: 1030;
  width: 56px; height: 56px; border-radius: 50%;
  display:flex; align-items:center; justify-content:center;
  background: #25D366; color: #fff; box-shadow: 0 8px 24px rgba(0,0,0,.18);
  text-decoration: none;
}
.whatsapp-float:hover{ opacity:.9; color:#fff; }

/* Footer */
.footer { background: var(--brand-soft) !important;
   color:#cbd5e1; }
.footer a { color:#e2e8f0; text-decoration:none; }
.footer a:hover { text-decoration:underline; }


.servicio-card {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  text-align: center;
}

.servicio-card img {
  width: 100%;
  height: 250px; /* tamaño fijo para todas */
  object-fit: cover;
  transition: transform 0.5s ease;
}

.servicio-card:hover img {
  transform: scale(1.05);
  cursor: pointer;
}

.servicio-card .titulo {
  position: absolute;
  top: 10px;
  left: 0;
  width: 100%;
  text-align: center;
  font-weight: bold;
  font-size: 1.2rem;
  color: #fff;
  text-shadow: 0 2px 4px rgba(0,0,0,0.6);
  z-index: 2;
}

.servicio-card .overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.65);
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: opacity 0.4s ease;
  padding: 20px;
  color: #fff;
  font-size: 0.9rem;
  cursor: pointer;
}

.servicio-card:hover .overlay {
  opacity: 1;
}



.titulo-type .titulo-inicio {
  color: #fff; /* blanco por defecto */
  font-weight: bold;
  display: inline-block;
  border-right: 3px solid var(--brand-soft); /* cursor efecto */
  white-space: nowrap;
  overflow: hidden;
 
}

.titulo-type
{margin-top: 100px;}

/* Parpadeo del cursor */
@keyframes blink {
  0%, 50% { border-color: var(--brand-soft); }
  51%, 100% { border-color: transparent; }
}
.titulo-type .titulo-inicio {
  animation: blink 0.8s step-end infinite;
}

/* Hace que se vean parcialmente las tarjetas */
#serviciosCarousel .carousel-inner {
  overflow: visible;
}

.cards-wrapper {
  gap: 1rem; /* espacio entre cards */
  justify-content: center;
}

.card-item {
  flex: 0 0 30%; /* 3 cards visibles aprox */
}

@media (max-width: 768px) {
  .card-item {
    flex: 0 0 70%; /* en mobile se ve 1 y parte de otra */
  }
}


.carousel-control-prev-icon,
.carousel-control-next-icon {
  background-image: none; /* elimina el ícono default */
}

.carousel-control-prev-icon::after,
.carousel-control-next-icon::after {
  content: '‹'; /* para el prev */
  font-size: 5rem;
  color: #000; /* negro */
}

.carousel-control-next-icon::after {
  content: '›'; /* para el next */
}

.card-img{
  min-height: 400px !important;
}

#vencimientos {
   background: url("assets/banner3.webp") no-repeat center center;
  background-size: cover;
  background-attachment: fixed; /* efecto parallax */
  background-position: center;
  color: white; /* texto en blanco para contraste */
  position: relative;
}

#vencimientos::before {
  content: "";
  position: absolute;
  inset: 0;

}

#vencimientos .container {
  position: relative;
  z-index: 1; /* asegura que el texto quede arriba del overlay */
}



.calendar-icon {
  display: inline-block;
  width: 60px;
  border: 2px solid #ccc;
  background-color: #fff;
  border-radius: 6px;
  text-align: center;
  overflow: hidden;
  font-family: Arial, sans-serif;
}

.calendar-day {
  background-color: #1a237e; /* Azul oscuro */
  color: white;
  font-size: 14px;
  font-weight: bold;
  padding: 4px 0;
  text-transform: uppercase;
}

.calendar-date {
  font-size: 20px;
  font-weight: bold;
  color: #333;
  padding: 8px 0;
}

#mantenimiento-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.75);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    backdrop-filter: blur(3px);
  }

  .mantenimiento-content {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 12px;
    padding: 40px 60px;
    text-align: center;
    color: #fff;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.2);
  }

  .mantenimiento-content h2 {
    font-size: 2rem;
    margin-bottom: 10px;
  }

  .mantenimiento-content p {
    font-size: 1.1rem;
    opacity: 0.9;
  }