/* ============================================
   GEIPER - Semillero de Investigación
   Estilos globales compartidos
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Noto+Serif:wght@400;700&family=Inter:wght@300;400;500;700&display=swap');

/* VARIABLES */
:root {
    --azul-oscuro: #0B2E6B;
    --azul-medio:  #1F4A8A;
    --azul-claro:  #3F6FB5;
    --blanco:      #FFFFFF;
    --gris:        #6B7280;
    --fondo-alt:   #F5F7FB;
}

/* RESET */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: 'Inter', sans-serif;
    color: var(--gris);
    background: white;
    line-height: 1.6;
}

/* ── LINKS ─────────────────────────────────── */
a { text-decoration: none; color: inherit; }
a:link, a:visited, a:hover, a:active { color: inherit; }

/* ── HEADER / NAV ───────────────────────────── */
header {
    background: var(--azul-oscuro);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}



nav {
    display: flex;
    align-items: stretch;
    position: relative;
    padding: 0;
    min-height: 76px;

    max-width: 1200px; /* Ajusta este valor al ancho de tu diseño central */
    margin: 0 auto;    /* Esto centra el nav horizontalmente */
    width: 90%;        /* Para que en pantallas pequeñas no toque los bordes */
}

nav .nav-brand {
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    text-decoration: none;
    z-index: 2;
}

.nav-logo-img {
    width: 52px;
    height: 52px;
    object-fit: contain;
    border-radius: 4px;
}

.nav-links {
    display: flex;
    align-items: stretch;
    width: 100%;
}

.nav-group {
    display: flex;
    align-items: stretch;
    justify-content: space-between;
    flex: 1 1 0%;
}

.nav-spacer {
    width: 92px;
    flex-shrink: 0;
}

.nav-links a {
    color: rgba(255,255,255,0.90);
    text-decoration: none;
    display: flex;
    align-items: center;
    padding: 0 22px;
    font-size: 16px;
    transition: background 0.2s, color 0.2s;
}
.nav-links a:hover,
.nav-links a.active { color: #ffffff; background: rgba(255,255,255,0.14); }

/* ── HERO ───────────────────────────────────── */
.hero {
    min-height: 70vh;
    background:
        linear-gradient(rgba(11,46,107,0.7), rgba(11,46,107,0.7)),
        url("https://images.unsplash.com/photo-1446776811953-b23d57bd21aa");
    background-size: cover;
    background-position: center;
    color: white;
    padding: 80px 8% 60px;
    margin-top: 76px;
}

.hero-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
}

.hero-logo-side {
    flex: 0 0 30%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-logo-placeholder {
    width: 220px; height: 220px; border-radius: 50%;
    background: linear-gradient(135deg, #1a3a7a, #2e5fbd);
    border: 3px solid rgba(255,255,255,0.3);
    box-shadow: 0 8px 40px rgba(0,0,0,0.4);
    display: flex; align-items: center; justify-content: center;
}

.hero-logo-placeholder span {
    color: white; font-size: 60px; font-weight: 800; letter-spacing: -2px;
}

.hero-logo-img {
    width: 350px;
    height: 350px;
    object-fit: contain;
    filter: drop-shadow(0 8px 24px rgba(0,0,0,0.5));
    border-radius: 10px;
}

.hero-text { flex: 1; text-align: left; }

.hero-text h1 {
    font-family: 'Noto Serif', serif;
    font-size: 52px; margin-bottom: 20px;
}

.hero-text p { margin-bottom: 16px; max-width: 600px; line-height: 1.7; }

/* ── BOTÓN ───────────────────────────────────── */
.btn {
    background: var(--azul-medio);
    color: white !important;
    padding: 12px 25px;
    text-decoration: none;
    border-radius: 30px;
    display: inline-block;
    transition: background 0.2s;
}
.btn:hover { background: var(--azul-claro); }

/* ── SECCIONES ──────────────────────────────── */
section { padding: 100px 80px; }
.alt { background: var(--fondo-alt); }

.section-title {
    text-align: center;
    font-family: 'Noto Serif', serif;
    color: var(--azul-oscuro);
    margin-bottom: 40px;
    font-size: 32px;
}
.section-title::after {
    content: '';
    width: 80px; height: 4px;
    background: var(--azul-medio);
    display: block;
    margin: 10px auto;
}

.justify p { text-align: justify; }

/* ── GRID ────────────────────────────────────── */
.grid { display: grid; gap: 25px; }
.two  { grid-template-columns: 1fr 1fr; }
.lineas      { grid-template-columns: repeat(4, 1fr); }
.profesores  { grid-template-columns: repeat(5, 1fr); }
.integrantes { grid-template-columns: repeat(4, 1fr); }

/* ── CARDS ───────────────────────────────────── */
.card {
    background: white;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    text-align: center;

    display: flex;
    flex-direction: column;
    justify-content: space-between; /* ✅ CAMBIA ESTA LÍNEA */
}
.card h3 { color: var(--azul-oscuro); margin-bottom: 10px; }

/* ── LÍNEAS DE INVESTIGACIÓN (lista por filas) ───────────── */
.lineas-lista { display: flex; flex-direction: column; max-width: 1100px; margin: 0 auto; }
.linea-fila {
    display: grid;
    grid-template-columns: 64px 280px 1fr;
    gap: 32px;
    align-items: start;
    padding: 34px 0;
    border-top: 1px solid rgba(11,46,107,0.15);
}
.linea-fila:last-child { border-bottom: 1px solid rgba(11,46,107,0.15); }
.linea-num {
    font-family: 'Noto Serif', serif;
    font-weight: 700;
    font-size: 30px;
    color: var(--azul-claro);
    line-height: 1;
}
.linea-fila h3 {
    font-family: 'Noto Serif', serif;
    font-weight: 700;
    font-size: 19px;
    color: var(--azul-oscuro);
    margin: 0;
    line-height: 1.35;
}
.linea-fila p {
    font-size: 14.5px;
    color: #5F5E5A;
    line-height: 1.65;
    margin: 0;
}

/* ── ESTADÍSTICAS ───────────────────────────── */
.stats-section {
    background: white;
    padding: 60px 80px;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 60px;
    flex-wrap: nowrap;
}
.stat-item {
    display: flex; flex-direction: column;
    align-items: center; gap: 14px;
    flex: 1; max-width: 150px;
}
.stat-circle {
    width: 160px; height: 160px; border-radius: 50%;
    border: 2.5px solid var(--azul-oscuro);
    display: flex; align-items: center; justify-content: center;
    flex-direction: column; gap: 2px; flex-shrink: 0;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    cursor: default;
}
.stat-circle:hover {
    transform: scale(1.12);
    box-shadow: 0 8px 28px rgba(11,46,107,0.18);
    border-color: var(--azul-claro);
}
.stat-circle:hover .stat-num,
.stat-circle:hover .stat-icon { color: var(--azul-claro); fill: var(--azul-claro); }
.stat-icon { width: 34px; height: 34px; fill: var(--azul-oscuro); transition: fill 0.3s; }
.stat-num  { font-size: 48px; font-weight: 700; color: var(--azul-oscuro); line-height: 1; transition: color 0.3s; }
.stat-label { font-size: 24px; font-weight: 700; color: var(--azul-oscuro); text-align: center; margin: 0; }
.stat-desc  { font-size: 15px; color: var(--gris); text-align: center; line-height: 1.55; margin: 0; }

/* ── MOSAICO "GEIPER EN ACCIÓN" ─────────────────
   4 columnas en cascada diagonal: cada columna baja un poco
   más que la anterior (desfase progresivo, no un simple
   arriba/abajo), y cada foto conserva su proporción real
   -- nada se recorta a la fuerza a un formato ajeno. */
.mosaico-cols {
    display: flex; gap: 14px;
    max-width: 1180px; margin: 0 auto;
    align-items: flex-start;
}
.mosaico-col { flex: 1; display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.mosaico-col:nth-child(1) { margin-top: 0; }
.mosaico-col:nth-child(2) { margin-top: 42px; }
.mosaico-col:nth-child(3) { margin-top: 84px; }
.mosaico-col:nth-child(4) { margin-top: 126px; }

.mosaico-card {
    position: relative; border-radius: 10px; overflow: hidden;
    box-shadow: 0 4px 14px rgba(11,46,107,0.08);
}
.mosaico-card img {
    width: 100%; height: auto; display: block;
    filter: saturate(0.94) brightness(0.98);
    transition: transform 0.6s cubic-bezier(.4,0,.2,1), filter 0.5s ease;
}
.mosaico-card:hover img { transform: scale(1.045); filter: saturate(1.05) brightness(1.02); }
.mosaico-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(to top, rgba(11,46,107,0.86) 0%, rgba(11,46,107,0.12) 45%, transparent 65%);
    display: flex; flex-direction: column; justify-content: flex-end;
    padding: 14px 15px; pointer-events: none;
}
.mosaico-tag {
    display: inline-block; background: rgba(255,255,255,0.16);
    border: 1px solid rgba(255,255,255,0.3); color: white;
    font-size: 8.5px; font-weight: 600; letter-spacing: 1.1px; text-transform: uppercase;
    padding: 3px 9px; border-radius: 20px; width: fit-content; margin-bottom: 6px;
}
.mosaico-caption { color: white; font-size: 12px; font-weight: 500; line-height: 1.35; max-width: 94%; margin: 0; }

@media (max-width: 980px) { .mosaico-col:nth-child(n) { margin-top: 0 !important; } }
@media (max-width: 760px) {
    .mosaico-cols { flex-direction: column; }
}

/* ── BADGES / FILTROS ────────────────────────── */
.filtros {
    display: flex; gap: 8px; justify-content: center;
    margin: 0 0 2rem; flex-wrap: wrap;
}
.filtro-btn {
    padding: 8px 22px; border-radius: 30px;
    border: 1px solid var(--azul-medio);
    background: transparent; color: var(--azul-medio);
    font-size: 13px; cursor: pointer; transition: all 0.2s;
    font-family: 'Inter', sans-serif;
}
.filtro-btn.active { background: var(--azul-oscuro); color: white; border-color: var(--azul-oscuro); }
.filtro-btn:hover:not(.active) { background: #f0f4fb; }

.badge {
    display: inline-block; font-size: 10px; padding: 2px 10px;
    border-radius: 20px; font-weight: 500; margin-bottom: 6px;
}
.badge-estudiante  { background: #E1F5EE; color: #0F6E56; }
.badge-profesional { background: #E6F1FB; color: #185FA5; }
.badge-lider       { background: #FFF3CD; color: #856404; }
.card-int.hidden   { display: none; }

/* ── REPOSITORIOS ─────────────────────────────── */
.repos-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0,1fr));
    gap: 24px;
}
.repo-card {
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 2rem 1.5rem;
    display: flex; flex-direction: column;
    align-items: center; text-align: center; gap: 16px;
}
.repo-icon {
    width: 64px; height: 64px; border-radius: 16px;
    display: flex; align-items: center; justify-content: center;
}
.repo-icon svg { width: 32px; height: 32px; }
.repo-card h3 { font-size: 18px; font-weight: 600; color: var(--azul-oscuro); margin: 0; }
.repo-card p  { font-size: 13px; color: var(--gris); margin: 0; line-height: 1.7; }
.repo-btn {
    margin-top: 8px; padding: 10px 28px; border-radius: 30px;
    border: 1px solid; background: transparent;
    font-size: 13px; cursor: pointer;
    font-family: 'Inter', sans-serif;
    transition: opacity 0.2s; text-decoration: none; display: inline-block;
}
.repo-btn:hover { opacity: 0.8; }

/* ── PAGE HERO (páginas internas) ─────────────── */
.page-hero {
    min-height: 32vh;
    background:
        linear-gradient(rgba(11,46,107,0.78), rgba(11,46,107,0.78)),
        url("https://images.unsplash.com/photo-1446776811953-b23d57bd21aa");
    background-size: cover;
    background-position: center;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    text-align: center;
    padding: 40px 40px 40px;
    margin-top: 76px;
}
.page-hero h1 {
    font-family: 'Noto Serif', serif;
    font-size: 42px; margin-bottom: 12px;
}
.page-hero p { font-size: 16px; opacity: 0.85; max-width: 560px; }

/* ── SUBPÁGINAS: tarjetas de acceso ─────────── */
.sub-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    max-width: 860px;
    margin: 0 auto;
}
.sub-card {
    background: white;
    border-radius: 16px;
    padding: 40px 32px;
    box-shadow: 0 6px 24px rgba(11,46,107,0.10);
    text-align: center;
    display: flex; flex-direction: column; align-items: center; gap: 16px;
    transition: transform 0.25s, box-shadow 0.25s;
    text-decoration: none;
    color: inherit;
}
.sub-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(11,46,107,0.16);
}
.sub-card-icon {
    width: 72px; height: 72px; border-radius: 50%;
    background: #E6F1FB;
    display: flex; align-items: center; justify-content: center;
}
.sub-card-icon i { font-size: 30px; color: var(--azul-medio); }
.sub-card h3 { font-family: 'Noto Serif', serif; font-size: 20px; color: var(--azul-oscuro); margin: 0; }
.sub-card p  { font-size: 13px; color: var(--gris); margin: 0; }

/* ── FOOTER ──────────────────────────────────── */
footer { background: var(--azul-oscuro); color: white; padding: 0; }

.footer-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 36px 32px 0;
    display: grid;
    grid-template-columns: 1fr 1.6fr 1fr 1fr;
    gap: 32px;
    align-items: start;
    text-align: left;
}
.footer-col h3 {
    color: #ffffff; font-size: 13px; font-weight: 700;
    letter-spacing: 2px; text-transform: uppercase;
    margin: 0 0 14px;
}
.footer-col p {
    color: rgba(255,255,255,0.65);
    font-size: 11.5px; line-height: 1.7; margin: 0 0 5px;
}
.footer-col p i { width: 14px; margin-right: 6px; color: #7aa3e0; }

.footer-logo {
    width: 120px; height: 120px; border-radius: 50%;
    background: linear-gradient(135deg, #1a3a7a, #2e5fbd);
    border: 2px solid rgba(255,255,255,0.2);
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 12px;
}
.footer-logo span { color: white; font-size: 18px; font-weight: 800; letter-spacing: -1px; }

.footer-logo-img {
    width: 195px;
    height: 195px;
    object-fit: contain;
    margin-bottom: 12px;
    filter: drop-shadow(0 2px 8px rgba(0,0,0,0.4));
}

.footer-divider {
    max-width: 1100px; margin: 24px auto 0;
    padding: 0 32px;
    border-top: 1px solid rgba(255,255,255,0.10);
}
.footer-info {
    max-width: 1100px; margin: 0 auto;
    padding: 12px 32px 0;
    display: flex; align-items: center; justify-content: center;
    gap: 18px; flex-wrap: wrap;
}
.footer-info span { color: rgba(255,255,255,0.45); font-size: 10.5px; }
.footer-info span i { margin-right: 5px; color: #7aa3e0; }
.footer-sep  { color: rgba(255,255,255,0.2) !important; }

.footer-divider-bottom {
    max-width: 1100px; margin: 12px auto 0;
    padding: 0 32px;
    border-top: 1px solid rgba(255,255,255,0.10);
}
.footer-bottom {
    max-width: 1100px; margin: 0 auto;
    padding: 10px 32px 14px;
    display: flex; align-items: center; justify-content: center;
    gap: 6px;
}
.footer-bottom span   { color: rgba(255,255,255,0.35); font-size: 10.5px; }
.footer-bottom strong { color: rgba(255,255,255,0.55); }

/* ── RESPONSIVE ──────────────────────────────── */
@media (max-width: 900px) {
    .hero          { padding: 60px 30px; text-align: center; }
    .hero-inner    { flex-direction: column; }
    .hero-text     { text-align: center; }
    .hero-text h1  { font-size: 36px; }
    .hero-logo-placeholder { width: 140px; height: 140px; }
    .hero-logo-placeholder span { font-size: 40px; }
    .hero-logo-img { width: 160px; height: 160px; }
    .footer-logo-img { width: 90px; height: 90px; }

    section { padding: 80px 30px; }

    .lineas      { grid-template-columns: 1fr 1fr; }
    .lineas-lista .linea-fila { grid-template-columns: 40px 1fr; }
    .lineas-lista .linea-fila p { grid-column: 1 / -1; margin-top: -4px; }
    .profesores  { grid-template-columns: 1fr 1fr; }
    .integrantes { grid-template-columns: 1fr 1fr; }
    .two         { grid-template-columns: 1fr; }
    .repos-grid  { grid-template-columns: 1fr; }
    .sub-grid    { grid-template-columns: 1fr; }

    .stats-section { flex-wrap: wrap; gap: 40px; }
    .stat-item     { max-width: 130px; }

    .footer-container { grid-template-columns: 1fr 1fr; text-align: center; }
    .footer-logo { margin: 0 auto 12px; }

    nav { padding: 0 20px; }
}

@media (max-width: 600px) {
    .hero-text h1 { font-size: 30px; }
    .footer-container { grid-template-columns: 1fr; }
    .page-hero h1 { font-size: 28px; }

    .lineas-lista .linea-fila {
        grid-template-columns: 1fr;
        gap: 8px;
        padding: 24px 0;
    }
    .lineas-lista .linea-fila p { grid-column: auto; margin-top: 0; }
}

/* ── HAMBURGER BUTTON ───────────────────────── */
.nav-hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-self: center;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
    border-radius: 6px;
    transition: background 0.2s;
    flex-shrink: 0;
    margin-left: auto;
    z-index: 3;
}
.nav-hamburger:hover { background: rgba(255,255,255,0.1); }
.nav-hamburger span {
    display: block;
    width: 22px; height: 2px;
    background: white; border-radius: 2px;
    transition: transform 0.3s ease, opacity 0.3s ease;
    transform-origin: center;
}
.nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── NAV MÓVIL (activado por JS cuando no caben los links) ── */
header.mobile-nav .nav-hamburger { display: flex !important; }
header.mobile-nav .nav-links {
    display: none;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    height: auto;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: var(--azul-oscuro);
    border-top: 1px solid rgba(255,255,255,0.1);
    box-shadow: 0 8px 24px rgba(0,0,0,0.25);
    z-index: 999;
}
header.mobile-nav .nav-links.open { display: flex; }
header.mobile-nav .nav-group { display: contents; }
header.mobile-nav .nav-spacer { display: none; }
header.mobile-nav .nav-links a {
    margin-left: 0;
    padding: 13px 24px;
    font-size: 14px;
    border-bottom: 1px solid rgba(255,255,255,0.07);
    color: rgba(255,255,255,0.85);
    transition: background 0.15s, color 0.15s;
}
header.mobile-nav .nav-links a:last-child { border-bottom: none; }
header.mobile-nav .nav-links a:hover { background: rgba(255,255,255,0.07); color: white; }
header.mobile-nav .nav-links a.active {
    color: white;
    background: rgba(255,255,255,0.08);
    border-left: 3px solid #F5A623;
    padding-left: 21px;
}

/* ── ESTILOS DEL FEED DE EVENTOS (RSS) ───────── */
/* ── BOLETÍN "NOVEDADES & CONVOCATORIAS" ────────
   Sin tarjetas ni pastillas de color: filas separadas por
   una línea fina, fecha grande tipo "número de revista" y
   título en Noto Serif, igual que los encabezados del
   sitio. Se usa igual en el resumen del home y en la página
   completa de eventos (mismo contenedor #rssFeedContainer). */
.feed-list { max-width: 880px; margin: 20px auto 0; }
.feed-row {
    display: grid; grid-template-columns: 100px 1fr; gap: 26px;
    padding: 28px 0; border-bottom: 1px solid #dde3f0;
}
.feed-list .feed-row:first-child { padding-top: 0; }
.feed-list .feed-row:last-child { border-bottom: none; padding-bottom: 4px; }
.feed-date-block { text-align: right; }
.feed-date-block .feed-day { font-family: 'Noto Serif', serif; font-weight: 700; font-size: 34px; color: var(--azul-oscuro); line-height: 1; }
.feed-date-block .feed-month { font-size: 11px; color: var(--gris); text-transform: uppercase; letter-spacing: 1px; margin-top: 4px; }
.feed-type { font-size: 10.5px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: var(--azul-claro); margin-bottom: 6px; }
.feed-title { font-family: 'Noto Serif', serif; font-size: 21px; color: var(--azul-oscuro); margin-bottom: 8px; line-height: 1.25; font-weight: 700; }
.feed-desc { font-size: 14px; color: var(--gris); line-height: 1.6; margin-bottom: 12px; }
.feed-tags { font-size: 12px; color: var(--azul-medio); }
.feed-tags span:not(:last-child)::after { content: '·'; margin: 0 6px; color: #c7cfe3; }
.feed-link { font-size: 13px; font-weight: 600; color: var(--azul-claro); }
.feed-link:hover { color: var(--azul-oscuro); }

@media (max-width: 700px) {
    .feed-row { grid-template-columns: 60px 1fr; gap: 14px; }
    .feed-date-block .feed-day { font-size: 24px; }
}


/* ── NUEVO BOTÓN OUTLINE ─────────────────────── */
.btn-outline {
    background: transparent;
    color: white !important;
    border: 2px solid white;
}
.btn-outline:hover {
    background: white;
    color: var(--azul-oscuro) !important;
}

/* ── PREGUNTAS FRECUENTES (FAQ) ──────────────── */
.faq-section {
    padding: 80px 80px;
    background: white;
    max-width: 900px;
    margin: 0 auto;
}
.faq-item {
    border-bottom: 1px solid #e5e7eb;
    margin-bottom: 10px;
}
.faq-question {
    width: 100%;
    text-align: left;
    padding: 20px 0;
    font-size: 16px;
    font-weight: 600;
    color: var(--azul-oscuro);
    background: transparent;
    border: none;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: color 0.2s;
    font-family: 'Inter', sans-serif;
}
.faq-question:hover {
    color: var(--azul-claro);
}
.faq-question i {
    transition: transform 0.3s;
}
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}
.faq-answer p {
    padding-bottom: 20px;
    color: var(--gris);
    font-size: 14.5px;
    line-height: 1.6;
}
.faq-item.active .faq-answer {
    max-height: 500px;
}
.faq-item.active .faq-question i {
    transform: rotate(45deg);
}

/* ── FAQ: grid de 2 columnas (franja horizontal) ────── */
.faq-grid-2col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 40px;
    margin-bottom: 34px;
}

/* ── FORMULARIO DE CONTACTO: franja ancha ───────────── */
.contact-wide-card {
    max-width: 1180px;
    margin: 0 auto;
    background: white;
    padding: 30px 36px;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(11,46,107,0.08);
}
.contact-wide-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}
.contact-wide-top h2 {
    font-family: 'Noto Serif', serif;
    color: var(--azul-oscuro);
    font-size: 22px;
}
.contact-wide-top p {
    color: var(--gris);
    font-size: 13.5px;
}
.contact-row-3 {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 16px;
    margin-bottom: 14px;
}
.contact-bottom-row {
    display: flex;
    gap: 16px;
    align-items: flex-end;
}
.contact-bottom-row .form-group {
    flex: 1;
    margin-bottom: 0;
}
.submit-btn-inline {
    padding: 12px 28px;
    background: var(--azul-medio);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
    flex-shrink: 0;
    transition: background 0.2s;
    font-family: 'Inter', sans-serif;
}
.submit-btn-inline:hover { background: var(--azul-oscuro); }

.form-group {
    margin-bottom: 20px;
}
.form-group label {
    display: block;
    margin-bottom: 8px;
    font-size: 13px;
    font-weight: 600;
    color: var(--azul-oscuro);
}
.form-input {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    color: #374151;
    transition: border-color 0.2s;
}
.form-input:focus {
    outline: none;
    border-color: var(--azul-claro);
    box-shadow: 0 0 0 3px rgba(63, 111, 181, 0.1);
}
textarea.form-input {
    resize: vertical;
    min-height: 44px;
    height: 44px;
}
.submit-btn {
    width: 100%;
    padding: 14px;
    background: var(--azul-medio);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
    font-family: 'Inter', sans-serif;
}
.submit-btn:hover {
    background: var(--azul-oscuro);
}

@media (max-width: 768px) {
    .faq-section { padding: 50px 20px; }
    .support-split-section { padding: 50px 20px !important; }
    .faq-grid-2col { grid-template-columns: 1fr; }
    .contact-wide-card { padding: 24px 20px; }
    .contact-wide-top { flex-direction: column; align-items: flex-start; }
    .contact-row-3 { grid-template-columns: 1fr; gap: 0; }
    .contact-bottom-row { flex-direction: column; align-items: stretch; }
    .submit-btn-inline { width: 100%; }
}

