/* ESTRUCTURA ACADÉMICA - PABLO GRANADOS GARCÍA */
:root {
    --edu-dark: #0B1F38;       /* Azul marino académico */
    --edu-accent: #EAB308;     /* Oro mostaza */
    --edu-bg: #F8FAFC;         /* Blanco roto lectura */
    --white: #FFFFFF;
    --text-main: #334155;
    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'Inter', system-ui, sans-serif; background-color: var(--edu-bg); color: var(--text-main); line-height: 1.8; overflow-x: hidden; }
h1, h2, h3, h4 { font-family: 'Lora', serif; color: var(--edu-dark); }

/* CABECERA ACADÉMICA */
header { background: rgba(255, 255, 255, 0.98); padding: 20px 5%; display: flex; justify-content: space-between; align-items: center; position: fixed; width: 100%; top: 0; z-index: 1000; box-shadow: 0 4px 20px rgba(0,0,0,0.04); border-bottom: 2px solid var(--edu-accent); }
.brand h1 { font-size: 2rem; font-weight: 700; color: var(--edu-dark); letter-spacing: -0.5px; }
.brand h1 span { color: var(--edu-accent); }
.brand p { font-size: 0.85rem; color: #64748B; font-family: 'Inter', sans-serif; font-weight: 600; text-transform: uppercase; letter-spacing: 2px; margin-top: 3px; }
nav { display: flex; gap: 35px; align-items: center; }
.nav-links { display: flex; gap: 25px; list-style: none; }
.nav-links a { text-decoration: none; color: var(--edu-dark); font-weight: 600; font-size: 0.95rem; text-transform: uppercase; letter-spacing: 0.5px; transition: var(--transition); position: relative; }
.nav-links a::after { content: ''; position: absolute; width: 0; height: 2px; bottom: -6px; left: 0; background-color: var(--edu-accent); transition: var(--transition); }
.nav-links a:hover { color: var(--edu-accent); }
.nav-links a:hover::after { width: 100%; }
.lang-selector { padding: 8px 16px; background: transparent; border: 2px solid var(--edu-dark); color: var(--edu-dark); font-weight: bold; border-radius: 6px; cursor: pointer; transition: var(--transition); font-family: 'Inter', sans-serif; }
.lang-selector:hover { background: var(--edu-dark); color: var(--white); }

/* HERO CON VÍDEO DE FONDO LOCAL */
.hero { position: relative; min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 0 5%; overflow: hidden; text-align: center; }
.hero-video { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; z-index: 1; filter: brightness(35%) contrast(110%); }
.hero-content { position: relative; z-index: 2; max-width: 1000px; margin-top: 60px; padding: 50px; background: rgba(11, 31, 56, 0.6); backdrop-filter: blur(8px); border-radius: 12px; border: 1px solid rgba(255,255,255,0.1); }
.hero-content h2 { font-size: 4.5rem; color: var(--white); line-height: 1.1; margin-bottom: 25px; font-weight: 700; }
.hero-content p { font-size: 1.3rem; color: #E2E8F0; font-family: 'Inter', sans-serif; font-weight: 300; max-width: 800px; margin: 0 auto; }

/* BLOQUES DE CONTENIDO DENSOS */
.content-block { padding: 100px 5%; max-width: 1400px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.content-block.full { grid-template-columns: 1fr; max-width: 1000px; text-align: center; }
.content-block h2 { font-size: 3rem; margin-bottom: 30px; position: relative; padding-bottom: 20px; }
.content-block h2::after { content: ''; position: absolute; left: 0; bottom: 0; width: 60px; height: 4px; background: var(--edu-accent); }
.content-block.full h2::after { left: 50%; transform: translateX(-50%); }
.content-block p { font-size: 1.15rem; margin-bottom: 25px; text-align: justify; }

/* CATÁLOGO INQUEBRANTABLE (SOLO TÍTULOS) */
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(350px, 1fr)); gap: 40px; margin-top: 60px; width: 100%; }
.service-card { position: relative; height: 420px; border-radius: 12px; overflow: hidden; display: flex; align-items: flex-end; justify-content: center; background: var(--edu-dark); box-shadow: 0 15px 30px rgba(0,0,0,0.08); }
.service-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 1; transition: transform 0.8s ease; filter: brightness(55%); }
.service-card:hover img { transform: scale(1.08); filter: brightness(40%); }
.service-card .overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(11,31,56,0.95) 0%, rgba(11,31,56,0) 70%); z-index: 2; pointer-events: none; }
.service-card h3 { position: relative; z-index: 3; color: var(--white); font-size: 1.6rem; font-weight: 700; text-align: center; padding: 40px 30px; width: 100%; font-family: 'Lora', serif; }

/* TESTIMONIOS ANÓNIMOS */
.testimonial-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(400px, 1fr)); gap: 40px; margin-top: 50px; }
.testimonial-card { background: var(--white); padding: 50px; border-radius: 12px; box-shadow: 0 10px 40px rgba(0,0,0,0.03); position: relative; border-left: 6px solid var(--edu-accent); }
.testimonial-card p { font-size: 1.15rem; font-style: italic; color: var(--text-main); position: relative; z-index: 1; text-align: justify; }
.testimonial-card::before { content: '”'; position: absolute; top: -10px; right: 30px; font-family: 'Lora', serif; font-size: 8rem; color: #F1F5F9; line-height: 1; z-index: 0; }

/* FAQ: EXACTAMENTE 2, H3 + P */
.faq-container { background: var(--white); padding: 80px; border-radius: 12px; box-shadow: 0 15px 50px rgba(0,0,0,0.03); text-align: left; }
.faq-item { margin-bottom: 50px; }
.faq-item:last-child { margin-bottom: 0; }
.faq-item h3 { color: var(--edu-dark); font-size: 1.8rem; margin-bottom: 20px; font-weight: 700; }
.faq-item p { font-size: 1.15rem; color: var(--text-main); }

/* FOOTER UNIFICADO GLOBAL */
footer { background: var(--edu-dark); padding: 100px 5% 40px; margin-top: 100px; color: var(--white); }
.footer-columns { display: grid; grid-template-columns: repeat(4, 1fr); gap: 60px; max-width: 1400px; margin: 0 auto 80px; }
.footer-columns h4 { color: var(--edu-accent); font-family: 'Lora', serif; font-size: 1.5rem; margin-bottom: 30px; letter-spacing: 0.5px; }
.footer-columns p { color: #94A3B8; font-size: 1.05rem; margin-bottom: 12px; }
.footer-menu-links { list-style: none; }
.footer-menu-links li { margin-bottom: 15px; }
.footer-menu-links a { color: #94A3B8; text-decoration: none; font-size: 1.05rem; transition: var(--transition); display: block; font-weight: 500; }
.footer-menu-links a:hover { color: var(--white); transform: translateX(5px); }

/* LOGO KIT DIGITAL */
.logo-kit-centered { height: 125px !important; background-color: transparent !important; display: block; margin: 0 auto 50px; }
.footer-legal-text { text-align: center; color: #475569; font-size: 0.95rem; border-top: 1px solid #1E293B; padding-top: 30px; }