/* RESET GENERAL */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
/*movimiento de pagina*/
html {
  scroll-behavior: smooth;
}

body {
    font-family: 'Hubot Sans', sans-serif;
    background-color: #f8fafc; /* Fondo gris muy claro, limpio y profesional */
    color: #1e293b;

 /*animacion de fondo*/
    margin: 0;
    padding: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    /* Degradado moderno con los colores de tu marca (Azul y un toque sutil) */
    background: linear-gradient(-45deg, #002244, #0055a5, #007acc, #001122);
    background-size: 400% 400%;
    animation: gradientAnimation 15s ease infinite;
    color: #ffffff; /* Cambiamos el texto a blanco para que contraste */
    min-height: 100vh;
    /*animacion de fondo*/
@keyframes gradientAnimation {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}
}

/* HEADER STYLES */
.main-header {
    background-color: #ffffff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
}

.logo img {
    max-height: 85px;
    width: auto;
    display: block;
}
nav a, .menu a {
    text-decoration: none;
}
.nav-menu {
    display: flex;
    align-items: center;
    gap: 25px;
}

.nav-link {
    text-decoration: none;
    color: #64748b;
    font-weight: 600;
    transition: color 0.3s;
}

.nav-link:hover {
    color: #0284c7; /* Azul tecnológico al pasar el cursor */
}

.nav-link-btn {
    text-decoration: none;
    background-color: #26dcdc; /* Rojo llamativo basado en tu logo */
    color: #ffffff;
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: 600;
    transition: transform 0.2s, background-color 0.3s;
}

.nav-link-btn:hover {
    background-color: #b91c1c;
    transform: translateY(-2px);
}

/* HERO SECTION */
.hero-section {
    min-height: calc(100vh - 75px);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 40px 20px;
    background: radial-gradient(circle at top, #e0f2fe 0%, #f8fafc 70%); /* Sutil degradado azul */
}

.hero-container {
    max-width: 800px;
}

.hero-title {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.2;
    color: #0f172a;
    margin-bottom: 20px;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: #475569;
    margin-bottom: 35px;
    line-height: 1.6;
}

.hero-actions {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.btn-primary {
    text-decoration: none;
    background-color: #0284c7; /* Azul corporativo */
    color: #ffffff;
    padding: 14px 28px;
    border-radius: 8px;
    font-weight: 600;
    transition: background-color 0.3s;
}

.btn-primary:hover {
    background-color: #0369a1;
}

.btn-secondary {
    text-decoration: none;
    background-color: transparent;
    color: #0284c7;
    border: 2px solid #0284c7;
    padding: 12px 26px;
    border-radius: 8px;
    font-weight: 600;
    transition: background-color 0.3s, color 0.3s;
}

.btn-secondary:hover {
    background-color: #0284c7;
    color: #ffffff;
}

/* RESPONSIVO PARA CELULARES */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2rem;
    }
    .hero-actions {
        flex-direction: column;
    }
    .header-container {
        flex-direction: column;
        gap: 15px;
    }
}
/* Sección Nosotros */
.about-section {
    padding: 80px 20px;
    background-color: #ffffff; /* Fondo claro para contrastar si usas fondo oscuro arriba */
    color: #333333;
}

.about-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.subtitle {
    color: #0055a5;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-size: 0.9rem;
    display: block;
    margin-bottom: 10px;
}

.about-content h2 {
    font-size: 2.5rem;
    color: #002244;
    margin-top: 0;
    margin-bottom: 20px;
    line-height: 1.2;
}

.about-content p {
    color: #666666;
    line-height: 1.6;
    margin-bottom: 15px;
}

/* Características internas */
.about-features {
    margin-top: 30px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.feature-icon {
    font-size: 1.8rem;
    background: #e6f0fa;
    padding: 10px;
    border-radius: 12px;
}

.feature-item h4 {
    margin: 0 0 5px 0;
    color: #002244;
    font-size: 1.1rem;
}

.feature-item p {
    margin: 0;
    font-size: 0.95rem;
}

/* Columna Visual */
.about-visual {
    position: relative;
    display: flex;
    justify-content: center;
}

.visual-box {
    position: relative;
    width: 100%;
    max-width: 450px;
}

.visual-box img {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
    display: block;
}

/* Tarjeta flotante de experiencia */
.experience-badge {
    position: absolute;
    bottom: -20px;
    left: -20px;
    background: linear-gradient(135deg, #0055a5, #002244);
    color: white;
    padding: 20px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 85, 165, 0.3);
    text-align: center;
}

.experience-badge h3 {
    margin: 0;
    font-size: 2rem;
    font-weight: 800;
}

.experience-badge p {
    margin: 0;
    font-size: 0.85rem;
    color: #e0e0e0;
}

/* Adaptación para Celulares (Responsivo) */
@media (max-width: 768px) {
    .about-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .about-content h2 {
        font-size: 2rem;
    }
    
    .about-visual {
        order: -1; /* Muestra la imagen arriba en celulares */
    }
    
    .experience-badge {
        left: 20px;
    }
}
/* Sección de Servicios */
.services-section {
    padding: 80px 20px;
    background: #f4f7f6; /* Un fondo gris extra claro para diferenciarlo de Nosotros */
    color: #333333;
}

.services-container {
    max-width: 1200px;
    margin: 0 auto;
}

.services-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 50px auto;
}

.services-header h2 {
    font-size: 2.5rem;
    color: #002244;
    margin: 10px 0 20px 0;
}

.services-header p {
    color: #666666;
    font-size: 1.1rem;
    line-height: 1.6;
}

/* Grid de Tarjetas */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

/* Estilo de cada Tarjeta */
.service-card {
    background: #ffffff;
    padding: 40px 30px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
    border: 1px solid #eef2f5;
}

.card-icon {
    font-size: 2.5rem;
    margin-bottom: 20px;
    display: inline-block;
    background: #e6f0fa;
    padding: 15px;
    border-radius: 15px;
}

.service-card h3 {
    font-size: 1.4rem;
    color: #002244;
    margin: 0 0 15px 0;
}

.service-card p {
    color: #666666;
    line-height: 1.6;
    font-size: 0.95rem;
    margin: 0;
}

/* --- Efecto Moderno Interactiva --- */
.service-card:hover {
    transform: translateY(-10px); /* La tarjeta se eleva */
    box-shadow: 0 20px 40px rgba(0, 85, 165, 0.15);
    background: linear-gradient(135deg, #ffffff, #f0f7ff); /* Sutil destello azul al fondo */
    border-color: #0055a5;
}

/* Ajuste Responsivo */
@media (max-width: 768px) {
    .services-header h2 {
        font-size: 2rem;
    }
}
/* inicio pagina consulta*/
.btn-volver {
  display: inline-block;
  padding: 10px 20px;
  background-color: #6c757d; /* Color gris (puedes cambiarlo al azul que usas) */
  color: #ffffff;
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
  text-align: center;
  transition: background-color 0.3s ease;
}

.btn-volver:hover {
  background-color: #5a6268; /* Color más oscuro al pasar el cursor */
}
.consulta-saldo-container {
    max-width: 500px;
    margin: 30px auto;
    padding: 25px;
    background: #ffffff7c;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    font-family: sans-serif;
    text-align: center;
}
.input-group {
    display: flex;
    gap: 10px;
    margin-top: 15px;
}

.input-group input {
    flex: 1;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 16px;
}

.input-group button {
    padding: 12px 20px;
    background-color: #0056b3; /* Ajusta al color azul de Enlace4D */
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
}

.input-group button:disabled {
    background-color: #cccccc;
}

.resultado-box {
    margin-top: 20px;
    padding: 15px;
    border-radius: 5px;
}

.hidden { display: none; }

.alerta-deuda { background-color: #fff3cd; color: #856404; padding: 15px; border-left: 5px solid #ffc107; border-radius: 4px; }
.alerta-deuda .monto span { font-size: 20px; font-weight: bold; color: #dc3545; }

.alerta-al-dia { background-color: #d4edda; color: #155724; padding: 15px; border-left: 5px solid #28a745; border-radius: 4px; }
.error-msg { color: #dc3545; font-weight: bold; }
/*fin pagina consulta*/