@font-face {
    font-family: 'Planet37Sofmar-Regular';
    src: url('../fonts/Planet37Sofmar-Regular.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
}

/* Aplica solo a los encabezados */
h1 {
    font-family: 'Planet37Sofmar-Regular', sans-serif;
}

body {
  font-family: "Montserrat", sans-serif;
}

/*----------------NAVBAR----------------*/
.logo-img {
  height: 40px;
  width: auto;
}
.custom-navbar {
  background: linear-gradient(90deg, #004080, #001f3f);
}

.custom-navbar .nav-link {
  color: #fff !important;
  transition: color 0.3s ease;
}

.custom-navbar .nav-link:hover {
  color: #009dff !important;
}

.navbar-brand {
  font-weight: 700; /* Negrita para el logo */
  letter-spacing: 1px; /* Espaciado elegante */
}

.nav-link {
  font-weight: 500;
}

/*-------------SECTION 1----------------*/
.img-gradient-wrapper {
  position: relative;
  width: 100%;
  height: 80%;       /* ajusta altura visual */
  max-height: 400px; /* opcional para pantallas grandes */
  overflow: hidden;
  margin: 0 auto;
}

.img-gradient-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0;
}

.img-gradient-wrapper.img-right .img-gradient {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to right, rgba(255,255,255,0) 60%, rgba(255,255,255,0.6) 100%);
  pointer-events: none;
}

.img-gradient-wrapper.img-left .img-gradient {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to left, rgba(255,255,255,0) 60%, rgba(255,255,255,0.6) 100%);
  pointer-events: none;
}



/*-------------SECTION 2----------------*/
.enfoque-card {
  background-color: #1a1a1a;
  border: 1px solid #333;
  border-radius: 0;
  transition: transform 0.3s ease, background-color 0.3s ease,
    box-shadow 0.3s ease;
  width: 250px;
  aspect-ratio: 1 / 1; /* Cuadrada */
  color: #e0e0e0; /* Texto base más claro */
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.7); /* Sombra para que contraste siempre */
}

.enfoque-card:hover {
  transform: scale(1.05);
  background-color: #2a2a2a;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
  color: #4fc3f7; /* Texto al hover azul claro */
  cursor: pointer;
}

.enfoque-card .icono {
  font-size: 3rem;
  transition: transform 0.3s ease, color 0.3s ease;
  color: #e0e0e0; /* icono base */
}

.enfoque-card:hover .icono {
  transform: scale(1.2);
  color: #4fc3f7; /* icono al hover azul claro */
}

.enfoque-card h5 {
  transition: color 0.3s ease;
}

/* Mueve las flechas hacia afuera */
#carouselServicios .carousel-control-prev {
  left: -60px; /* mueve más hacia la izquierda */
}

#carouselServicios .carousel-control-next {
  right: -60px; /* mueve más hacia la derecha */
}

/* Opcional: agrandar las flechas */
#carouselServicios .carousel-control-prev-icon,
#carouselServicios .carousel-control-next-icon {
  width: 3rem;
  height: 3rem;
}

/*-------------SECTION 3----------------*/

.imagen-card {
  background-color: #fff;
  border: 1px solid #ccc;
  border-radius: 0;
  width: 100%;
  max-width: 250px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

.imagen-card:hover {
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.imagen-contenedor {
  width: 100%;
  aspect-ratio: auto; /* permite altura flexible según la imagen */
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #fff;
}
.imagen-contenedor img {
  width: 85%;
  height: auto; /* mantiene la proporción */
  object-fit: contain; /* muestra toda la imagen sin recortarla */
}

.card-body .descripcion {
  font-size: 0.9rem;
  color: #333;
}

#servicios {
  background-image: url('../img/services/img01.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  background-repeat: no-repeat;
  position: relative;
  z-index: 0; /* importante */
}

#servicios::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background-color: rgba(0, 0, 0, 0.6); 
  z-index: 1; /* ahora se ve encima del fondo */
}

#servicios .container, 
#servicios h1 {
  position: relative;
  z-index: 2; /* siempre arriba del overlay */
}
.popover {
    background-color: #111 !important;  /* negro intenso */
    color: #fff !important;             /* fuerza blanco puro */
    border-radius: 0 !important;
    border: none !important;
    max-width: 250px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    opacity: 1 !important;              /* asegura que sea totalmente opaco */
}

.popover-body {
    padding: 1rem;
    font-size: 0.9rem;
    color: #fff !important;             /* fuerza color en el body */
}

.popover .popover-arrow::before {
    border-top-color: #111 !important;
    border-right-color: #111 !important;
    border-bottom-color: #111 !important;
    border-left-color: #111 !important;
}


/*-------------SECTION 4----------------*/

.precio-btn {
  transition: all 0.3s ease;
}

.precio-btn:hover {
  content: "Cotizar";
}

.precio-btn::after {
  content: " Cotizar";
  display: none;
}

.precio-btn:hover::after {
  display: inline;
}

.precio-btn:hover {
  color: #fff;
  background-color: #000;
  border-color: #000;
}



/*-----------FOOTER---------*/

/* Input minimalista para fondo oscuro */
.minimal-input {
  background: transparent !important;
  border: none !important;
  border-bottom: 1px solid #aaa !important;
  border-radius: 0 !important;
  color: #ccc !important; /* texto gris claro */
  padding: 0.25rem 0 !important;
  box-shadow: none !important;
}

/* Placeholder */
.minimal-input::placeholder {
  color: #aaa !important;
  opacity: 1;
}

/* Focus */
.minimal-input:focus {
  outline: none !important;
  border-bottom: 1px solid #4fc3f7 !important; /* línea azul al enfocar */
  color: #ccc !important; /* mantener gris claro al escribir */
}

/*--------SOCIOS--------------*/

#socios .socios-grid .col {
  border: 1px solid #ccc; /* líneas grises claras */
  background: #efefef; /* fondo fijo */
}

#socios .socios-grid img {
  max-height: 70px;
}


