:root {
    --navy: #272E68;
    --navy-light: #3a4299;
    --yellow: #FFED00;
    --red: #E62234;
    --blue: #0F70B7;
    --white: #FFFFFF;
    --gray-50: #F8F9FA;
    --gray-100: #F1F3F5;
    --gray-300: #DEE2E6;
    --gray-600: #6C757D;
    --gray-900: #212529;
    --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --max-w: 1100px;
    --radius: 8px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    font-family: var(--font);
    color: var(--gray-900);
    background: var(--white);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

.container {
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 0 24px;
}

/* Nav */
#navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--gray-300);
    z-index: 1000;
}

.nav-inner {
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--navy);
    font-weight: 700;
    font-size: 1rem;
}

.nav-logo img { height: 72px; width: auto; }

.nav-links {
    display: flex;
    list-style: none;
    gap: 28px;
}

.nav-links a {
    text-decoration: none;
    color: var(--gray-600);
    font-size: 0.875rem;
    font-weight: 500;
    transition: color .2s;
}

.nav-links a:hover { color: var(--navy); }

.nav-toggle { display: none; background: none; border: none; font-size: 1.5rem; cursor: pointer; color: var(--navy); }

/* Hero */
#inicio {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 120px 24px 80px;
    background: linear-gradient(135deg, var(--white) 0%, var(--gray-50) 100%);
}

.hero-content { max-width: 640px; }

.hero-logo {
    width: 280px;
    height: auto;
    margin-bottom: 32px;
}

#inicio h1 {
    font-size: 2.25rem;
    font-weight: 700;
    color: var(--navy);
    line-height: 1.2;
    margin-bottom: 8px;
}

.hero-sub {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--blue);
    margin-bottom: 16px;
}

.hero-desc {
    font-size: 1.05rem;
    color: var(--gray-600);
    max-width: 480px;
    margin: 0 auto 32px;
}

.btn {
    display: inline-flex;
    padding: 12px 32px;
    background: var(--navy);
    color: var(--white);
    text-decoration: none;
    border-radius: var(--radius);
    font-weight: 600;
    font-size: 0.9rem;
    transition: background .2s;
}

.btn:hover { background: var(--navy-light); }

/* Sections */
section { padding: 80px 0; }

section:nth-child(even) { background: var(--gray-50); }

section h2 {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 24px;
}

.section-intro {
    font-size: 1.05rem;
    color: var(--gray-600);
    max-width: 720px;
    margin-bottom: 40px;
}

/* Info Grid */
.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.info-card {
    background: var(--white);
    border: 1px solid var(--gray-300);
    border-radius: var(--radius);
    padding: 28px;
    transition: box-shadow .2s;
}

.info-card:hover { box-shadow: 0 2px 12px rgba(0,0,0,0.06); }

.info-card h3 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--yellow);
    display: inline-block;
}

.info-card p { font-size: 0.95rem; color: var(--gray-600); line-height: 1.7; }
.info-card .small { margin-top: 8px; font-size: 0.85rem; }

/* Objectives */
.objectives-list {
    list-style: none;
    display: grid;
    gap: 12px;
}

.objectives-list li {
    padding: 16px 20px;
    background: var(--white);
    border-left: 4px solid var(--blue);
    border-radius: 0 var(--radius) var(--radius) 0;
    font-size: 0.95rem;
    color: var(--gray-900);
    box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}

.objectives-list li::before {
    content: "▸";
    color: var(--blue);
    margin-right: 10px;
    font-weight: 700;
}

/* Tabs */
.socios-tabs {
    display: flex;
    gap: 0;
    margin-bottom: 24px;
    border-bottom: 2px solid var(--gray-300);
}

.tab-btn {
    padding: 10px 28px;
    background: none;
    border: none;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--gray-600);
    cursor: pointer;
    transition: color .2s, border-color .2s;
    border-bottom: 2px solid transparent;
    margin-bottom: -2px;
    font-family: var(--font);
}

.tab-btn.active {
    color: var(--navy);
    border-bottom-color: var(--navy);
}

.tab-btn:hover { color: var(--navy); }

.tab-content { display: none; }
.tab-content.active { display: block; }

/* Table */
.socios-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.875rem;
}

.socios-table th {
    text-align: left;
    padding: 12px 16px;
    background: var(--navy);
    color: var(--white);
    font-weight: 600;
    white-space: nowrap;
}

.socios-table th:first-child { border-radius: var(--radius) 0 0 0; }
.socios-table th:last-child { border-radius: 0 var(--radius) 0 0; }

.socios-table td {
    padding: 10px 16px;
    border-bottom: 1px solid var(--gray-300);
}

.socios-table tr:hover td { background: var(--gray-50); }

/* Directiva */
.directiva-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
}

.directiva-card {
    background: var(--white);
    border: 1px solid var(--gray-300);
    border-radius: var(--radius);
    padding: 24px;
    transition: box-shadow .2s;
}

.directiva-card:hover { box-shadow: 0 2px 12px rgba(0,0,0,0.06); }

.directiva-card h4 {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 10px;
}

.directiva-card p {
    font-size: 0.875rem;
    color: var(--gray-600);
    line-height: 1.6;
}

/* Contacto */
#contacto .contact-info p {
    font-size: 1rem;
    margin-bottom: 12px;
    color: var(--gray-600);
}

#contacto .contact-info a {
    color: var(--blue);
    text-decoration: none;
}

#contacto .contact-info a:hover { text-decoration: underline; }

/* Footer */
footer {
    padding: 32px 0;
    background: var(--navy);
    color: rgba(255,255,255,0.7);
    text-align: center;
    font-size: 0.85rem;
}

/* Responsive */
@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 64px;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        padding: 16px 24px;
        border-bottom: 1px solid var(--gray-300);
        gap: 12px;
    }

    .nav-links.open { display: flex; }
    .nav-toggle { display: block; }

    #inicio h1 { font-size: 1.6rem; }
    .hero-logo { width: 100px; }
    section { padding: 60px 0; }
    section h2 { font-size: 1.4rem; }
    .socios-table { font-size: 0.8rem; }
    .socios-table th, .socios-table td { padding: 8px 10px; }
}

@media (max-width: 480px) {
    .info-grid, .directiva-grid { grid-template-columns: 1fr; }
    .socios-table { font-size: 0.75rem; }
    .socios-table th, .socios-table td { padding: 6px 8px; }
}
