:root {
    --primary-blue: #0a192f;  /* azul principal de fondo y secciones */
    --accent-red: #e63946;    /* rojo botones y acentos */
    --text-gray: #555;        /* gris para textos secundarios */
    --light-bg: #f8f9fa;      /* fondo claro de secciones */
    --blue-main: #0055ff;     /* azul de links, hover y detalles */
    --black-bg: #1a1a1a;      /* negro de fondos secundarios */
    --gray-text: #666;        /* gris texto footer y detalles */
}

body {
    font-family: 'Segoe UI', sans-serif;
    margin: 0;
    line-height: 1.6;
    color: #333;
}

.container {
    max-width: 1100px;
    margin: auto;
    padding: 40px 20px;
}

/* =========================
   TOP NAV / REDES SOCIALES
   ========================= */
.top-nav {
    background: #000;
    color: white;
    padding: 8px 5%;
    display: flex;
    justify-content: space-between;
    font-size: 10px;
    font-weight: bold;
    letter-spacing: 1px;
}

.top-links a {
    color: white;
    text-decoration: none;
    margin-left: 15px;
}

.social-icons {
    display: flex;
    gap: 18px;
    font-size: 13px;
}

.social-icons i {
    cursor: pointer;
    transition: 0.3s ease;
    color: white; /* siempre blanco por defecto */
}

.social-icons i:hover {
    color: var(--blue-main);
    transform: translateY(-2px) scale(1.1);
}

/* =========================
   HEADER
   ========================= */
header {
    background: white;
    padding: 20px 5% 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.logo-link {
    text-decoration: none;
    color: inherit;
}

.logo h1 {
    font-family: "Montserrat", sans-serif;
    font-weight: 900;
    font-size: 28px;
    font-style: italic;
    color: #1a1a1a;
}

.logo h1 span {
    color: var(--blue-main);
}

.logo p {
    font-size: 10px;
    letter-spacing: 2px;
    color: var(--gray-text);
    width: 100%;
    text-align: center;
}

/* =========================
   HERO
   ========================= */
.hero {
    background: linear-gradient(rgba(10,25,47,0.7), rgba(10,25,47,0.7)),
                url('../img/Banner.jpg') center/cover no-repeat;
    height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    padding: 0 20px;
}

.hero-content h1 {
    font-size: 2.5rem;
    margin: 15px 0;
}

.hero-content p {
    font-size: 1rem;
}

.badge {
    background: rgba(255,255,255,0.2);
    padding: 5px 15px;
    font-size: 0.8rem;
    border-radius: 20px;
}

/* =========================
   GRID SECCIONES
   ========================= */
.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.grid-4 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

/* =========================
   IMAGE BLOCK
   ========================= */
.image-block img {
    width: 100%;
    max-width: 500px;
    height: auto;
    border-radius: 8px;
    display: block;
    margin: 0 auto;
    object-fit: cover;
}

/* =========================
   MISSION / QUIÉNES SOMOS
   ========================= */
.accent-line {
    width: 50px;
    height: 4px;
    background: var(--primary-blue);
    margin-bottom: 20px;
}

.stats {
    display: flex;
    gap: 40px;
    margin-top: 30px;
    color: #0047ab;
    flex-wrap: wrap;
    justify-content: center;
}

.stats strong {
    font-size: 1.5rem;
    display: block;
    text-align: center;
}

/* =========================
   VALORES
   ========================= */
.values {
    background: white;
    text-align: center;
    padding: 60px 20px;
}

.value-card {
    background: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

.value-card .icon {
    font-size: 2rem;
    background: #eef2ff;
    width: 60px;
    height: 60px;
    line-height: 60px;
    border-radius: 50%;
    margin: 0 auto 15px;
}

/* =========================
   TEAM / MEMBERS
   ========================= */
.member-card {
    background: white;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    text-align: center;
    margin-bottom: 20px;
}

.member-card img {
    width: 100%;
    border-radius: 5px;
    margin-bottom: 10px;
}

/* =========================
   CTA SECTION
   ========================= */
.cta-section {
    background: var(--primary-blue);
    color: white;
    padding: 60px 20px;
}

.cta-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.btn-primary {
    background: var(--accent-red);
    color: white;
    padding: 12px 25px;
    text-decoration: none;
    border-radius: 5px;
    margin-right: 10px;
    margin-bottom: 10px;
}

.btn-secondary {
    border: 1px solid white;
    color: white;
    padding: 12px 25px;
    text-decoration: none;
    border-radius: 5px;
    margin-bottom: 10px;
}

/* =========================
   FOOTER
   ========================= */
footer {
    background: #0d0d0d;
    color: white;
    padding: 60px 5% 20px;
    margin-top: 50px;
}

.footer-logo h2 span {
    color: var(--blue-main);
}

.footer-columns {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.col h5 {
    font-size: 12px;
    margin-bottom: 20px;
    color: var(--gray-text);
}

.col a {
    display: block;
    color: #ccc;
    text-decoration: none;
    font-size: 11px;
    margin-bottom: 10px;
}

.input-group {
    display: flex;
    gap: 10px;
}

.input-group input {
    background: #222;
    border: none;
    padding: 10px;
    color: white;
    flex: 1;
}

.input-group button {
    background: var(--blue-main);
    color: white;
    border: none;
    padding: 10px 15px;
    font-weight: bold;
}

.copyright {
    text-align: center;
    font-size: 10px;
    color: #444;
    margin-top: 60px;
    border-top: 1px solid #222;
    padding-top: 20px;
}

/* =========================
   RESPONSIVE
   ========================= */
@media (max-width: 1200px) {
    .grid-2 { grid-template-columns: 1fr 1fr; gap: 30px; }
}

@media (max-width: 992px) {
    .grid-2 {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }

    .image-block img { max-width: 100%; }
}

@media (max-width: 768px) {
    .top-nav { flex-direction: column; gap: 8px; text-align: center; padding: 10px; }
    .top-links, .social-icons { justify-content: center; flex-wrap: wrap; }
    .top-links a { margin: 5px; font-size: 10px; }
    .header-container { flex-direction: column; gap: 15px; text-align: center; }
    .logo h1 { font-size: 22px; }
    .main-nav ul { flex-wrap: wrap; justify-content: center; gap: 12px; }
    .main-nav li { font-size: 10px; }
    .cta-flex { flex-direction: column; text-align: center; gap: 20px; }
    .stats { flex-direction: column; gap: 20px; }
}

@media (max-width: 480px) {
    .hero-content h1 { font-size: 1.8rem; }
    .hero-content p { font-size: 0.9rem; }
    .value-card .icon { width: 50px; height: 50px; line-height: 50px; font-size: 1.5rem; }
    .btn-primary, .btn-secondary { width: 100%; text-align: center; }
    .stats { gap: 15px; }
}
