:root {
    /* Define tus colores aquí */
    --color-primario: #0dbb1b;    /* Azul Principal */
    --color-secundario: #212529;  /* Gris muy oscuro (casi negro) */
    --color-acento: #17650b;      /* Amarillo/Dorado para botones de acción */
    --color-fondo: #000000;       /* Gris muy claro para el fondo */
    --color-texto: #333333;       /* Gris oscuro para lectura */
}

body {
    background-color: var(--color-fondo);
    color: var(--color-texto);
}

/* Aplicar color primario al menú */
.navbar {
    background-color: var(--color-secundario) !important;
    border-bottom: 4px solid var(--color-primario);
}
.navbar {
    background: linear-gradient(90deg, #1cbc03 0%, #000000 100%) !important;
}

/* Botones personalizados */
.btn-principal {
    background-color: var(--color-primario);
    color: white;
    border: none;
}

.btn-principal:hover {
    background-color: #0b5ed7;
    color: white;
}

.nav-link {
    position: relative;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: #0d6efd; /* Azul Bootstrap */
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.navbar-brand img {
    border-radius: 5px;
    
}
h1 {
    text-align:center;
    color: var(--color-primario);
    margin-top: 2rem;
    margin-bottom: 2rem;
    text-transform: uppercase; /* Opcional: todo en mayúsculas */
}

.titulo-decorado {
    text-align: center;
    position: relative;
    padding-bottom: 10px;
}

.titulo-decorado::after {
    content: '';
    position: absolute;
    width: 300px;
    height: 4px;
    background: var(--color-primario);
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    transition: width 0.5s ease-in-out;
}
.titulo-decorado:hover::after {
    width: 50%; /* La línea se alarga cuando pasas el mouse */
   
}
h2 {
    text-align:center;
        color: var(--color-secundario);
    margin-top: 2rem;
    margin-bottom: 2rem;
    text-transform: uppercase; /* Opcional: todo en mayúsculas */
}
.btn-whatsapp-flotante {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 20px;
    right: 20px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 10px rgba(0,0,0,0.2);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    text-decoration: none;
}

.btn-whatsapp-flotante:hover {
    background-color: #128c7e;
    transform: scale(1.1);
    color: white;
}
#respuesta {
    display: none; 
    position: fixed !important; 
    top: 200px !important; /* Lo bajamos bastante para probar */
    left: 50% !important; 
    transform: translateX(-50%) !important; 
    z-index: 99999 !important;
    padding: 15px 30px;
    border-radius: 8px;
    color: white;
    font-weight: bold;
    min-width: 300px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

.toast-exito { background-color: #28a745; }
.toast-error { background-color: #dc3545; }
/* Animación de entrada */
@keyframes slideIn {
    from { transform: translateX(100%); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}
.contenedor-servicios {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 25px;
  padding: 40px 20px;
  background-color: #f8f9fa; /* Fondo suave para que resalten las cards */
}
/* Contenedor Principal */
/* EL CONTENEDOR: Forzamos el ancho y el centrado */
.contenedor-servicios {
   display: grid !important;
   grid-template-columns: repeat(3, 1fr) !important; 
    gap: 20px !important;
    width: 100% !important;
    max-width: 1000px !important; /* Limitamos el ancho total */
    margin: 40px auto !important;
    padding: 20px !important;
    box-sizing: border-box !important;
}
/* LA TARJETA: Aquí forzamos el blanco y el tamaño fijo */
.card-presentacion {
    background-color: #ffffff !important;
    border-radius: 15px !important;
    padding: 20px !important;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1) !important;
    text-align: center !important;
    display: block !important; /* Cambiamos de flex a block para evitar conflictos internos */
    box-sizing: border-box !important;
    width: auto !important; /* Que se adapte a la columna del grid */
}

.card-presentacion:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

/* LA IMAGEN: Forzamos el redimensionamiento */
.card-presentacion img {
    width: 150px !important; /* Forzamos tamaño pequeño */
    height: 110px !important;
    object-fit: contain !important;
    margin: 0 auto 15px auto !important;
    display: block !important;
    background-color: transparent !important;
}

/* RESPONSIVE: Si la pantalla es muy chica (celular), ahí sí ponemos una abajo de otra */
@media (max-width: 800px) {
    .contenedor-servicios {
        grid-template-columns: 1fr !important;
    }
}
/* Textos */
.card-presentacion h3 {
    color: #333 !important;
    font-family: sans-serif;
    margin: 10px 0;
}

.card-presentacion p {
    color: #666 !important;
    font-size: 0.9rem;
    line-height: 1.4;
}

/* Botón redondeado azul */
.btn-servicios {
  background-color: #114b8f;
  color: white;
  padding: 10px 25px;
  border-radius: 25px;
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: bold;
  display: inline-block;
  transition: background 0.3s;
}

.btn-servicios:hover {
  background-color: #0a3566;
}
/* Colores según el estado */
