/* CSS para Transmontt S.A. - Dark Mode Premium con Indigo */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&family=Outfit:wght@400;500;600;700;800&display=swap');

:root {
    --primary: #e2e8f0;
    --primary-light: #1e293b;
    --accent: #6366f1;
    --accent-light: #818cf8;
    --accent-glow: rgba(99, 102, 241, 0.12);
    --gold: #f59e0b;
    --gold-light: #fbbf24;
    --text-light: #f1f5f9;
    --text-dark: #e2e8f0;
    --text-muted: #94a3b8;
    --bg-light: #0f172a;
    --bg-white: #1e293b;
    --bg-dark-section: #0f172a;
    --card-shadow: 0 4px 20px -2px rgba(0, 0, 0, 0.4), 0 2px 6px -1px rgba(0, 0, 0, 0.3);
    --card-shadow-hover: 0 20px 40px -15px rgba(99, 102, 241, 0.25);
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    --max-width: 1200px;
    --border: rgba(99, 102, 241, 0.15);
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-dark);
    background-color: var(--bg-light);
    background-image: radial-gradient(ellipse 80% 50% at 50% -20%, rgba(99, 102, 241, 0.08), transparent);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    color: var(--primary);
    text-shadow: 0 1px 3px rgba(0,0,0,0.2);
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

.container {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 2rem;
}

/* --- HEADER / NAVEGACIÓN --- */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(15, 23, 42, 0.75);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(99, 102, 241, 0.15);
    transition: var(--transition);
}

header.scrolled {
    padding: 0.5rem 0;
    background: rgba(15, 23, 42, 0.95);
    box-shadow: 0 10px 40px -15px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(99, 102, 241, 0.1);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo-text {
    font-family: 'Outfit', sans-serif;
    font-size: 1.8rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    color: var(--primary);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo-text span {
    color: var(--accent);
}

.logo-img {
    height: 48px;
    width: auto;
    display: block;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-link {
    color: var(--text-muted);
    font-size: 0.95rem;
    font-weight: 550;
    padding: 0.5rem 0;
    position: relative;
}

.nav-link:hover, .nav-link.active {
    color: var(--accent-light);
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background: linear-gradient(to right, var(--accent), var(--accent-light));
    transition: var(--transition);
    border-radius: 2px;
    box-shadow: 0 0 8px var(--accent);
}

.nav-link:hover::after, .nav-link.active::after {
    width: 100%;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1.5rem;
    color: var(--text-light);
}

/* --- HERO SECTION (TEMA CLARO) --- */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.92) 0%, rgba(30, 41, 59, 0.88) 50%, rgba(49, 46, 129, 0.5) 100%), 
                url('../images/transmontt_hero_bg.png') no-repeat center center/cover;
    color: var(--text-dark);
    padding-top: 80px;
}

.hero-content {
    max-width: 800px;
    z-index: 10;
}

.hero-subtitle {
    font-family: 'Outfit', sans-serif;
    color: var(--accent-light);
    font-size: 1.1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1rem;
    text-shadow: 0 0 20px rgba(99, 102, 241, 0.5);
}

.hero-title {
    font-family: 'Outfit', sans-serif;
    color: var(--primary);
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    letter-spacing: -1px;
}

.hero-title span {
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-light) 50%, #c084fc 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 0 20px rgba(99, 102, 241, 0.3));
}

.hero-desc {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    max-width: 650px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.8rem 2rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent) 0%, #7c3aed 100%);
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.3);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #4f46e5 0%, #6d28d9 100%);
    color: #ffffff;
    transform: translateY(-3px);
    box-shadow: 0 15px 30px -8px rgba(99, 102, 241, 0.5);
}

.btn-secondary {
    border: 1.5px solid rgba(99, 102, 241, 0.5);
    color: var(--accent-light);
    margin-left: 1rem;
    background: rgba(99, 102, 241, 0.05);
}

.btn-secondary:hover {
    background: rgba(99, 102, 241, 0.15);
    color: #ffffff;
    border-color: var(--accent);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(99, 102, 241, 0.2);
}

.hero-highlights {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-top: 4rem;
}

.highlight-card {
    background: rgba(30, 41, 59, 0.7);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(99, 102, 241, 0.2);
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: var(--card-shadow);
    transition: var(--transition);
}

.highlight-card:hover {
    transform: translateY(-5px);
    border-color: rgba(99, 102, 241, 0.5);
    background: rgba(30, 41, 59, 0.9);
    box-shadow: var(--card-shadow-hover);
}

.highlight-num {
    font-family: 'Outfit', sans-serif;
    font-size: 2.2rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--accent-light), #c084fc);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 0.2rem;
}

.highlight-text {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.4;
}

/* --- SECTION HEADERS --- */
section {
    padding: 6.5rem 0;
    transition: var(--transition);
}

.section-dark {
    background-color: #080f1e;
    color: var(--text-dark);
    border-top: 1px solid rgba(99, 102, 241, 0.08);
    border-bottom: 1px solid rgba(99, 102, 241, 0.08);
}

.section-dark h2 {
    color: var(--primary);
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.section-header h2::after {
    content: '';
    position: absolute;
    width: 60px;
    height: 4px;
    background: linear-gradient(to right, var(--accent), #c084fc);
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 2px;
    box-shadow: 0 0 10px rgba(99, 102, 241, 0.5);
}

.section-header p {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-top: 1.5rem;
}

/* --- NOTICIAS HOME --- */
.news-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.news-card {
    background-color: #1a2744;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--card-shadow);
    transition: var(--transition);
    border: 1px solid rgba(99, 102, 241, 0.12);
    display: flex;
    flex-direction: column;
}

.news-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--card-shadow-hover);
    border-color: rgba(99, 102, 241, 0.4);
}

.news-body {
    padding: 2rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.news-meta {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 500;
    margin-bottom: 0.8rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.news-meta span.tag {
    background: rgba(99, 102, 241, 0.15);
    color: var(--accent-light);
    padding: 0.2rem 0.6rem;
    border-radius: 4px;
    font-weight: 600;
    border: 1px solid rgba(99, 102, 241, 0.2);
}

.news-title {
    font-size: 1.3rem;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 1rem;
}

.news-desc {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.news-link {
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--accent);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.news-link:hover {
    color: var(--primary);
}

/* --- SECTION: NOSOTROS (TABS SYSTEM) --- */
.tabs-container {
    background: #1a2744;
    border-radius: 20px;
    box-shadow: var(--card-shadow);
    border: 1px solid rgba(99, 102, 241, 0.2);
    overflow: hidden;
}

.tab-nav {
    display: flex;
    border-bottom: 1px solid rgba(99, 102, 241, 0.15);
    background: rgba(15, 23, 42, 0.6);
    overflow-x: auto;
}

.tab-btn {
    flex: 1;
    padding: 1.2rem 1.5rem;
    background: none;
    border: none;
    cursor: pointer;
    font-family: 'Outfit', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-muted);
    text-align: center;
    transition: var(--transition);
    white-space: nowrap;
    border-bottom: 3px solid transparent;
}

.tab-btn:hover {
    background: rgba(99, 102, 241, 0.08);
    color: var(--text-light);
}

.tab-btn.active {
    background: rgba(99, 102, 241, 0.1);
    color: var(--accent-light);
    border-bottom-color: var(--accent);
    box-shadow: 0 0 20px rgba(99, 102, 241, 0.1) inset;
}

.tab-content-panel {
    padding: 3rem;
    display: none;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.tab-content-panel.active {
    display: block;
    opacity: 1;
}

/* TAB: HISTORIA CON FOTOS */
.historia-content {
    max-width: 1000px;
    margin: 0 auto;
}

.historia-flex {
    display: flex;
    gap: 3rem;
    align-items: center;
    margin-bottom: 3rem;
}

.historia-flex-reverse {
    flex-direction: row-reverse;
}

.historia-text {
    flex: 1.2;
}

.historia-img-wrapper {
    flex: 0.8;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--card-shadow);
    border: 1px solid var(--border);
}

.historia-img-wrapper img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.historia-p {
    font-size: 1.05rem;
    margin-bottom: 1.5rem;
    color: var(--text-muted);
    text-align: justify;
}

.historia-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
    margin-top: 3rem;
}

.historia-box {
    background: rgba(15, 23, 42, 0.6);
    border-left: 4px solid var(--accent);
    padding: 1.5rem;
    border-radius: 0 12px 12px 0;
    box-shadow: inset 0 0 0 1px rgba(99, 102, 241, 0.1);
}

.historia-box h4 {
    margin-bottom: 0.8rem;
    font-size: 1.1rem;
}

.historia-box ul {
    list-style-type: none;
}

.historia-box ul li {
    font-size: 0.95rem;
    margin-bottom: 0.5rem;
    color: var(--text-muted);
    padding-left: 1rem;
    position: relative;
}

.historia-box ul li::before {
    content: '•';
    color: var(--accent-light);
    position: absolute;
    left: 0;
    font-weight: bold;
}

/* TAB: VISION Y MISION */
.vision-mision-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
    margin-bottom: 3rem;
}

.vm-card {
    background: rgba(15, 23, 42, 0.6);
    border-radius: 12px;
    padding: 2.5rem;
    border: 1px solid rgba(99, 102, 241, 0.15);
    transition: var(--transition);
}

.vm-card:hover {
    border-color: rgba(99, 102, 241, 0.4);
    box-shadow: 0 10px 30px rgba(99, 102, 241, 0.08);
}

.vm-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.vm-card h3::before {
    content: '';
    width: 6px;
    height: 24px;
    background: linear-gradient(to bottom, var(--accent), #c084fc);
    display: inline-block;
    border-radius: 3px;
    box-shadow: 0 0 10px rgba(99, 102, 241, 0.4);
}

.politicas-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
}

.politica-card {
    background: rgba(15, 23, 42, 0.6);
    border-radius: 10px;
    padding: 1.5rem;
    border-top: 3px solid var(--accent);
    border: 1px solid rgba(99, 102, 241, 0.1);
    border-top: 3px solid var(--accent);
    transition: var(--transition);
}

.politica-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(99, 102, 241, 0.1);
    border-color: rgba(99, 102, 241, 0.3);
}

.politica-card h4 {
    font-size: 1rem;
    margin-bottom: 0.8rem;
}

.politica-card p {
    font-size: 0.88rem;
    color: var(--text-muted);
    line-height: 1.5;
}

/* TAB: DIRECTORIO & TEAM */
.team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.team-card {
    background: rgba(26, 39, 68, 0.8);
    border-radius: 16px;
    padding: 2rem;
    border: 1px solid rgba(99, 102, 241, 0.15);
    text-align: center;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.team-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(to right, transparent, var(--accent), transparent);
    opacity: 0;
    transition: var(--transition);
}

.team-card:hover {
    transform: translateY(-5px);
    border-color: rgba(99, 102, 241, 0.4);
    background: rgba(30, 41, 59, 0.9);
    box-shadow: var(--card-shadow-hover);
}

.team-card:hover::before {
    opacity: 1;
}

.team-avatar {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    background: rgba(99, 102, 241, 0.1);
    color: var(--accent-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 700;
    margin: 0 auto 1.5rem auto;
    font-family: 'Outfit', sans-serif;
    border: 2px solid rgba(99, 102, 241, 0.25);
    overflow: hidden;
    transition: var(--transition);
    box-shadow: 0 0 20px rgba(99, 102, 241, 0.1);
}

.team-card:hover .team-avatar {
    background: linear-gradient(135deg, var(--accent), #7c3aed);
    color: #ffffff;
    transform: scale(1.05);
    box-shadow: 0 0 25px rgba(99, 102, 241, 0.4);
}

.director-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.team-name {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 0.4rem;
}

.team-role {
    font-size: 0.9rem;
    color: var(--text-muted);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.admin-list-container {
    background: rgba(15, 23, 42, 0.5);
    border-radius: 12px;
    padding: 2.5rem;
    border: 1px solid rgba(99, 102, 241, 0.12);
}

.admin-list-container h3 {
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
}

.admin-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.admin-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.8rem 1rem;
    background: rgba(30, 41, 59, 0.6);
    border-radius: 8px;
    border: 1px solid rgba(99, 102, 241, 0.1);
    transition: var(--transition);
}

.admin-item:hover {
    border-color: rgba(99, 102, 241, 0.3);
    background: rgba(30, 41, 59, 0.9);
}

.admin-item-name {
    font-weight: 600;
    color: var(--primary);
}

.admin-item-role {
    font-size: 0.85rem;
    background: rgba(99, 102, 241, 0.15);
    color: var(--accent-light);
    padding: 0.2rem 0.6rem;
    border-radius: 4px;
    font-weight: 500;
    border: 1px solid rgba(99, 102, 241, 0.2);
}

/* --- SECTION: RECORRIDOS (TEMA CLARO) --- */
.recorridos-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.recorrido-card {
    background: #1a2744;
    border: 1px solid rgba(99, 102, 241, 0.15);
    border-radius: 16px;
    padding: 2.5rem;
    box-shadow: var(--card-shadow);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.recorrido-card:hover {
    transform: translateY(-5px);
    background: #1e2e55;
    border-color: rgba(99, 102, 241, 0.5);
    box-shadow: var(--card-shadow-hover);
}

.recorrido-icon {
    width: 50px;
    height: 50px;
    background: rgba(99, 102, 241, 0.15);
    color: var(--accent-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    border-radius: 10px;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(99, 102, 241, 0.2);
    box-shadow: 0 0 15px rgba(99, 102, 241, 0.1);
}

.recorrido-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 1rem;
}

.recorrido-desc {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* --- SECTION: DOCUMENTOS --- */
.docs-container {
    background: linear-gradient(135deg, #1a2744 0%, #1e1b4b 100%);
    border-radius: 20px;
    border: 1px solid rgba(99, 102, 241, 0.25);
    box-shadow: var(--card-shadow), 0 0 40px rgba(99, 102, 241, 0.05);
    padding: 3rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 3rem;
}

.docs-text {
    flex: 2;
}

.docs-text h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.docs-text p {
    color: var(--text-muted);
    font-size: 1.05rem;
}

.docs-action {
    flex: 1;
    text-align: right;
}

.btn-icon {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
}

/* --- SECTION: CONTACTO --- */
.contacto-grid {
    display: grid;
    grid-template-columns: 3fr 2fr;
    gap: 4rem;
}

.contacto-form-wrapper {
    background: #1a2744;
    border-radius: 20px;
    padding: 3rem;
    border: 1px solid rgba(99, 102, 241, 0.2);
    box-shadow: var(--card-shadow);
}

.contacto-form h3 {
    margin-bottom: 2rem;
    font-size: 1.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--primary);
}

.form-control {
    width: 100%;
    padding: 0.8rem 1rem;
    border: 1px solid rgba(99, 102, 241, 0.2);
    background-color: rgba(15, 23, 42, 0.6);
    border-radius: 8px;
    font-family: inherit;
    font-size: 0.95rem;
    color: var(--text-dark);
    transition: var(--transition);
}

.form-control::placeholder {
    color: rgba(148, 163, 184, 0.5);
}

.form-control:focus {
    outline: none;
    border-color: var(--accent);
    background-color: rgba(30, 41, 59, 0.8);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.12);
}

textarea.form-control {
    resize: vertical;
    min-height: 150px;
}

.contacto-info {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

.info-item {
    display: flex;
    gap: 1.2rem;
}

.info-icon {
    width: 48px;
    height: 48px;
    background: rgba(99, 102, 241, 0.12);
    color: var(--accent-light);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 1.2rem;
    flex-shrink: 0;
    border: 1px solid rgba(99, 102, 241, 0.2);
    box-shadow: 0 0 15px rgba(99, 102, 241, 0.1);
}

.info-text h4 {
    font-size: 1.1rem;
    margin-bottom: 0.3rem;
}

.info-text p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.5;
}

.map-wrapper {
    margin-top: 1rem;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--card-shadow);
    border: 1px solid var(--border);
}

.map-wrapper iframe {
    display: block;
    width: 100%;
    height: 250px;
    border: 0;
}

/* --- FOOTER (MANTIENE TONO OSCURO ANCLA) --- */
footer {
    background: linear-gradient(180deg, #080f1e 0%, #060c18 100%);
    color: rgba(248, 250, 252, 0.6);
    padding: 4rem 0 2rem 0;
    border-top: 1px solid rgba(99, 102, 241, 0.15);
    position: relative;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 200px;
    height: 1px;
    background: linear-gradient(to right, transparent, var(--accent), transparent);
    box-shadow: 0 0 15px var(--accent);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 3rem;
}

.footer-logo {
    font-family: 'Outfit', sans-serif;
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--text-light);
}

.footer-logo span {
    background: linear-gradient(135deg, var(--accent-light), #c084fc);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.footer-links {
    display: flex;
    gap: 2rem;
    list-style: none;
}

.footer-links a:hover {
    color: var(--accent-light);
}

.footer-bottom {
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 2rem;
    font-size: 0.9rem;
    color: rgba(248, 250, 252, 0.5);
}

/* --- RESPONSIVE DESIGN --- */
@media (max-width: 1024px) {
    .hero-highlights {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .contacto-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .politicas-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    html {
        font-size: 15px;
    }
    
    .container {
        padding: 0 1.5rem;
    }
    
    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: rgba(15, 23, 42, 0.97);
        backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 2rem;
        gap: 1.5rem;
        border-bottom: 1px solid rgba(99, 102, 241, 0.15);
        box-shadow: 0 20px 40px rgba(0,0,0,0.4);
    }
    
    .nav-menu.open {
        display: flex;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-highlights {
        grid-template-columns: 1fr;
    }
    
    .news-grid {
        grid-template-columns: 1fr;
    }
    
    .tab-content-panel {
        padding: 1.5rem;
    }
    
    .historia-flex {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .historia-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .vision-mision-grid {
        grid-template-columns: 1fr;
    }
    
    .politicas-grid {
        grid-template-columns: 1fr;
    }
    
    .team-grid {
        grid-template-columns: 1fr;
    }
    
    .admin-grid {
        grid-template-columns: 1fr;
    }
    
    .recorridos-grid {
        grid-template-columns: 1fr;
    }
    
    .docs-container {
        flex-direction: column;
        text-align: center;
        padding: 2rem;
    }
    
    .docs-action {
        text-align: center;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 2rem;
        text-align: center;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 1rem;
    }
}
