    :root {
      --bg-dark: #08080C;
      --bg-card: rgba(18, 20, 29, 0.75);
      --neon-cyan: #cdc570;
      --neon-red: #c3325f;
      --neon-green: #05FFA1;
      --text-main: #E2E8F0;
      --text-muted: #94A3B8;
      --glass-border: rgba(0, 242, 254, 0.2);
      --transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    }

    * { margin: 0; padding: 0; box-sizing: border-box; }
    html { scroll-behavior: smooth; }
    
    body { 
      font-family: 'Rajdhani', sans-serif; 
      color: var(--text-main); 
      background-color: var(--bg-dark); 
      overflow-x: hidden;
      /* Fondo con malla Grid Futurista */
      background-image: 
        radial-gradient(circle at 50% 0%, rgba(0, 242, 254, 0.15), transparent 70%),
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
      background-size: 100% 100%, 40px 40px, 40px 40px;
    }

    h1, h2, h3, .nav-link, .btn-main, .logo-container { 
      font-family: 'Orbitron', sans-serif; 
      letter-spacing: 1px;
    }

    /* --- TOP BAR HEADER CON ELEMENTOS HUD --- */
    .top-bar {
      background: rgba(8, 8, 12, 0.85);
      backdrop-filter: blur(12px);
      color: var(--text-main);
      padding: 0px 1%;
      display: flex;
      justify-content: space-between;
      align-items: center;
      border-bottom: 1px solid var(--glass-border);
      position: relative;
      overflow: hidden;
      z-index: 10;
    }

    .logo-container { 
      display: flex; 
      align-items: center; 
      gap: 12px; 
      font-weight: 900; 
      font-size: 1.4rem; 
      z-index: 2;
      text-shadow: 0 0 10px rgba(0, 242, 254, 0.6);
    }
    .logo-container i { color: var(--neon-cyan); font-size: 2rem; filter: drop-shadow(0 0 8px var(--neon-cyan)); }
    
    .top-info { display: flex; align-items: center; gap: 25px; font-size: 0.95rem; z-index: 2; font-weight: 600; }
    .top-info a { color: var(--text-main); text-decoration: none; transition: var(--transition); }
    .top-info a:hover { color: var(--neon-cyan); text-shadow: 0 0 8px var(--neon-cyan); }
    .social-icons a { margin-left: 12px; font-size: 1.2rem; }

    /* --- ANIMACIÓN FUTURISTA DE CÍRCULOS A LA DERECHA (HUD ORB) --- */
    .futuristic-circles {
      position: absolute;
      top: -100px;
      right: -80px;
      width: 320px;
      height: 320px;
      pointer-events: none;
      z-index: 1;
    }

    .hud-ring {
      position: absolute;
      border-radius: 50%;
      top: 50%; left: 50%;
      transform: translate(-50%, -50%);
    }

    .ring-1 {
      width: 260px; height: 260px;
      border: 2px dashed var(--neon-cyan);
      box-shadow: 0 0 15px rgba(0, 242, 254, 0.3);
      animation: rotateClockwise 20s linear infinite;
    }

    .ring-2 {
      width: 200px; height: 200px;
      border: 2px solid transparent;
      border-top: 2px solid var(--neon-red);
      border-bottom: 2px solid var(--neon-red);
      filter: drop-shadow(0 0 10px var(--neon-red));
      animation: rotateCounterClockwise 10s linear infinite;
    }

    .ring-3 {
      width: 140px; height: 140px;
      border: 1px dotted var(--neon-green);
      animation: rotateClockwise 8s linear infinite;
    }

    .hud-core {
      width: 60px; height: 60px;
      background: radial-gradient(circle, var(--neon-cyan) 0%, transparent 70%);
      border-radius: 50%;
      animation: pulseGlow 2s ease-in-out infinite alternate;
    }

    @keyframes rotateClockwise {
      from { transform: translate(-50%, -50%) rotate(0deg); }
      to { transform: translate(-50%, -50%) rotate(360deg); }
    }

    @keyframes rotateCounterClockwise {
      from { transform: translate(-50%, -50%) rotate(0deg); }
      to { transform: translate(-50%, -50%) rotate(-360deg); }
    }

    @keyframes pulseGlow {
      from { opacity: 0.3; transform: translate(-50%, -50%) scale(0.8); }
      to { opacity: 0.9; transform: translate(-50%, -50%) scale(1.2); box-shadow: 0 0 25px var(--neon-cyan); }
    }

    /* --- NAVBAR --- */
    .navbar {
      background: rgba(12, 14, 20, 0.9);
      padding: 15px 5%;
      display: flex;
      justify-content: space-between;
      align-items: center;
      border-bottom: 1px solid rgba(255, 255, 255, 0.05);
      position: sticky;
      top: 0;
      z-index: 100;
    }
    .nav-menu { display: flex; list-style: none; gap: 35px; }
    .nav-link { text-decoration: none; color: var(--text-muted); font-weight: 600; text-transform: uppercase; transition: var(--transition); font-size: 0.85rem; }
    .nav-link:hover { color: var(--neon-cyan); text-shadow: 0 0 10px var(--neon-cyan); }
    
    .lang-select select {
      background: var(--bg-dark);
      color: var(--neon-cyan);
      border: 1px solid var(--neon-cyan);
      padding: 6px 12px;
      border-radius: 4px;
      font-weight: 600;
      font-family: 'Rajdhani', sans-serif;
      cursor: pointer;
      outline: none;
      box-shadow: 0 0 10px rgba(0,242,254,0.2);
    }

    /* --- HERO SLIDER --- */
    .hero-slider {
      position: relative;
      width: 100%;
      height: 80vh;
      overflow: hidden;
    }
    .slide {
      position: absolute;
      top: 0; left: 0;
      width: 100%; height: 100%;
      opacity: 0;
      transition: opacity 1s ease-in-out;
      background-size: cover;
      background-position: center;
    }
    .slide.active { opacity: 1; }
    .slide-overlay {
      background: linear-gradient(180deg, rgba(8,8,12,0.7) 0%, rgba(8,8,12,0.95) 100%);
      width: 100%; height: 100%;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      text-align: center;
      padding: 0 20px;
    }
    .slide h2 { font-size: 3rem; color: #FFF; margin-bottom: 15px; font-weight: 900; text-shadow: 0 0 20px rgba(0, 242, 254, 0.5); }
    .slide p { font-size: 1.3rem; color: var(--text-muted); max-width: 650px; margin-bottom: 30px; }
    
    .btn-main {
      padding: 14px 35px;
      background: transparent;
      color: #951a40;
      border: 2px solid var(--neon-cyan);
      text-decoration: none;
      font-weight: 700;
      border-radius: 2px;
      transition: #951a40;
      text-transform: uppercase;
      box-shadow: 0 0 15px rgba(0, 242, 254, 0.2);
      display: inline-block;
      position: relative;
    }
    .btn-main:hover { 
      background: var(--neon-cyan); 
      color: var(--bg-dark); 
      box-shadow: 0 0 30px var(--neon-cyan);
      transform: translateY(-2px); 
    }

    /* Controls Slider */
    .slider-dots {
      position: absolute;
      bottom: 25px;
      left: 50%;
      transform: translateX(-50%);
      display: flex;
      gap: 12px;
      z-index: 10;
    }
    .dot {
      width: 12px; height: 12px;
      background-color: rgba(255,255,255,0.2);
      border-radius: 50%;
      cursor: pointer;
      transition: var(--transition);
    }
    .dot.active { background-color: var(--neon-cyan); width: 30px; border-radius: 10px; box-shadow: 0 0 10px var(--neon-cyan); }

    /* --- CATÁLOGO FUTURISTA DE PROFESORES --- */
    .container { padding: 80px 5%; }
    .category-block { margin-bottom: 70px; }
    .category-header {
      display: flex;
      justify-content: space-between;
      align-items: center;
      border-bottom: 1px solid var(--glass-border);
      padding-bottom: 15px;
      margin-bottom: 35px;
    }
    .category-header h2 { font-size: 1.6rem; font-weight: 800; color: #FFF; }
    .price-range {
      background: rgba(5, 255, 161, 0.1);
      color: var(--neon-green);
      border: 1px solid var(--neon-green);
      padding: 6px 16px;
      border-radius: 20px;
      font-weight: 700;
      font-size: 0.9rem;
      box-shadow: 0 0 10px rgba(5, 255, 161, 0.2);
    }

    .teacher-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 30px;
    }

    /* TARJETAS GLASSMORPHISM */
    .card {
      background: var(--bg-card);
      backdrop-filter: blur(10px);
      border-radius: 8px;
      overflow: hidden;
      border: 1px solid var(--glass-border);
      transition: var(--transition);
      display: flex;
      flex-direction: column;
      position: relative;
    }
    .card:hover {
      transform: translateY(-8px);
      border-color: var(--neon-cyan);
      box-shadow: 0 10px 30px rgba(0, 242, 254, 0.25);
    }
    
    .card-img-wrap {
      overflow: hidden;
      height: 250px;
      position: relative;
    }
    .card-img-wrap img {
      width: 100%; height: 100%;
      object-fit: cover;
      filter: grayscale(30%) contrast(110%);
      transition: var(--transition);
    }
    .card:hover .card-img-wrap img {
      filter: grayscale(0%) contrast(100%);
      transform: scale(1.05);
    }

    .card-body { padding: 25px; text-align: center; flex-grow: 1; display: flex; flex-direction: column; justify-content: space-between; }
    .card-body h3 { font-size: 1.3rem; margin-bottom: 10px; color: #FFF; font-family: 'Orbitron', sans-serif; }
    .card-body p { color: var(--text-muted); font-size: 1rem; line-height: 1.5; margin-bottom: 20px; }
    
    .btn-card {
      background: transparent;
      border: 1px solid #951a40;
      color: #951a40;
      padding: 10px 18px;
      border-radius: 4px;
      font-weight: 700;
      cursor: pointer;
      transition:  #951a40;;
      text-decoration: none;
      display: inline-block;
      font-size: 0.85rem;
      font-family: 'Orbitron', sans-serif;
    }
    .btn-card:hover { 
      background: #951a40; 
      color: #FFF; 
      box-shadow: 0 0 15px  #951a40;
    }

    /* --- FORMULARIO DE CONTACTO CYBER --- */
    .contact-section {
      background: rgba(12, 14, 20, 0.95);
      border-top: 1px solid var(--glass-border);
      color: var(--text-main);
      padding: 80px 5%;
    }
    .contact-container { max-width: 700px; margin: 0 auto; text-align: center; }
    .contact-container h2 { font-size: 2.2rem; margin-bottom: 15px; font-weight: 800; color: #FFF; }
    .contact-container p { color: var(--text-muted); margin-bottom: 40px; }
    
    .contact-form { display: flex; flex-direction: column; gap: 20px; }
    .form-group { display: flex; gap: 20px; }
    .form-group input { width: 50%; }
    
    .contact-form input, .contact-form textarea {
      width: 100%;
      padding: 15px;
      border: 1px solid rgba(255, 255, 255, 0.1);
      background: rgba(8, 8, 12, 0.8);
      color: var(--text-main);
      border-radius: 4px;
      font-family: 'Rajdhani', sans-serif;
      font-size: 1rem;
      outline: none;
      transition: var(--transition);
    }
    .contact-form input:focus, .contact-form textarea:focus {
      border-color: var(--neon-cyan);
      box-shadow: 0 0 10px rgba(0, 242, 254, 0.3);
    }


    /* --- PERFIL DESTACADO: CESAR ALEJANDRO PEREZ --- */
    .featured-teacher {
      grid-column: 1 / -1;
      display: grid;
      grid-template-columns: minmax(190px, 0.55fr) minmax(0, 1.7fr);
      width: min(100%, 1000px);
      margin: 0 auto;
      min-height: 330px;
      border-color: rgba(205,197,112,0.55);
      background:
        radial-gradient(circle at 15% 20%, rgba(205,197,112,0.13), transparent 38%),
        linear-gradient(135deg, rgba(18,20,29,0.94), rgba(10,11,17,0.88));
      box-shadow: 0 0 0 1px rgba(205,197,112,0.08), 0 18px 50px rgba(0,0,0,0.32);
    }

    .featured-teacher:hover {
      border-color: var(--neon-cyan);
      box-shadow: 0 18px 55px rgba(205,197,112,0.16);
    }

    .featured-photo {
      min-height: 330px;
      position: relative;
      overflow: hidden;
      background: linear-gradient(145deg, #11131b, #090a0e);
    }

    .featured-photo::after {
      content: "";
      position: absolute;
      inset: 0;
      background: linear-gradient(90deg, transparent 45%, rgba(8,8,12,0.8) 100%);
      pointer-events: none;
    }

    .featured-photo img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      object-position: center;
      filter: grayscale(12%) contrast(108%);
    }

    .featured-rank {
      position: absolute;
      z-index: 2;
      top: 20px;
      left: 20px;
      padding: 8px 14px;
      border: 1px solid var(--neon-cyan);
      background: rgba(8,8,12,0.82);
      color: var(--neon-cyan);
      font-family: 'Orbitron', sans-serif;
      font-size: .72rem;
      font-weight: 800;
      letter-spacing: 1px;
      text-transform: uppercase;
      box-shadow: 0 0 18px rgba(205,197,112,0.18);
    }

    .price-badge {
      position: absolute;
      z-index: 3;
      top: 20px;
      right: 20px;
      padding: 10px 18px;
      border: 1px solid var(--neon-green);
      background: rgba(8,8,12,0.88);
      color: var(--neon-green);
      font-family: 'Orbitron', sans-serif;
      font-size: 1.05rem;
      font-weight: 800;
      letter-spacing: 1px;
      box-shadow: 0 0 18px rgba(5,255,161,0.18);
    }

    .featured-content {
      padding: 28px 32px;
      display: flex;
      flex-direction: column;
      justify-content: center;
      position: relative;
    }

    .featured-kicker {
      color: var(--neon-cyan);
      font-family: 'Orbitron', sans-serif;
      font-size: .72rem;
      letter-spacing: 2px;
      text-transform: uppercase;
      margin-bottom: 10px;
      font-weight: 800;
    }

    .featured-content h3 {
      font-size: clamp(1.45rem, 2.5vw, 2rem);
      line-height: 1.15;
      margin-bottom: 9px;
    }

    .featured-title {
      color: #fff;
      font-size: 1.05rem;
      font-weight: 700;
      margin-bottom: 16px;
    }

    .featured-lead {
      color: #cbd5e1;
      font-size: .98rem;
      line-height: 1.7;
      max-width: 850px;
      margin-bottom: 20px;
    }

    .achievement-strip {
      display: flex;
      flex-wrap: wrap;
      gap: 9px;
      margin-bottom: 23px;
    }

    .achievement-chip {
      display: inline-flex;
      align-items: center;
      gap: 7px;
      padding: 7px 11px;
      border-radius: 999px;
      border: 1px solid rgba(205,197,112,0.35);
      background: rgba(205,197,112,0.07);
      color: #e8e4bf;
      font-size: .82rem;
      font-weight: 700;
    }

    .featured-actions {
      display: flex;
      align-items: center;
      gap: 18px;
      flex-wrap: wrap;
    }

    .featured-actions .btn-card {
      border-color: var(--neon-cyan);
      color: var(--neon-cyan);
      padding: 12px 20px;
    }

    .featured-actions .btn-card:hover {
      background: var(--neon-cyan);
      color: var(--bg-dark);
    }

    .featured-note {
      color: var(--text-muted);
      font-size: .86rem;
    }

    /* --- MODAL BIOGRAFIA --- */
    .bio-modal {
      position: fixed;
      inset: 0;
      z-index: 1000;
      display: flex;
      align-items: center;
      justify-content: center;
      padding: 25px;
      background: rgba(2,3,6,0.82);
      backdrop-filter: blur(12px);
      opacity: 0;
      visibility: hidden;
      pointer-events: none;
      transition: opacity .3s ease, visibility .3s ease;
    }

    .bio-modal.open {
      opacity: 1;
      visibility: visible;
      pointer-events: auto;
    }

    .bio-dialog {
      width: min(1050px, 100%);
      max-height: 90vh;
      overflow-y: auto;
      position: relative;
      border: 1px solid rgba(205,197,112,0.45);
      border-radius: 12px;
      background:
        radial-gradient(circle at 90% 0%, rgba(205,197,112,0.10), transparent 30%),
        rgba(12,14,20,0.97);
      box-shadow: 0 30px 100px rgba(0,0,0,.65);
      transform: translateY(20px) scale(.98);
      transition: transform .35s cubic-bezier(.16,1,.3,1);
    }

    .bio-modal.open .bio-dialog {
      transform: translateY(0) scale(1);
    }

    .bio-close {
      position: sticky;
      top: 16px;
      float: right;
      z-index: 3;
      margin: 16px 16px 0 0;
      width: 40px;
      height: 40px;
      border-radius: 50%;
      border: 1px solid rgba(255,255,255,.16);
      background: rgba(8,8,12,.82);
      color: #fff;
      cursor: pointer;
      font-size: 1.1rem;
    }

    .bio-close:hover {
      border-color: var(--neon-cyan);
      color: var(--neon-cyan);
    }

    .bio-header {
      padding: 38px 48px 25px;
      border-bottom: 1px solid rgba(255,255,255,.07);
    }

    .bio-header .featured-kicker { margin-bottom: 8px; }
    .bio-header h2 {
      color: #fff;
      font-size: clamp(1.6rem, 4vw, 2.5rem);
      margin-bottom: 8px;
    }

    .bio-header p {
      color: var(--neon-cyan);
      font-weight: 700;
      font-size: 1rem;
    }

    .bio-body {
      padding: 30px 48px 42px;
    }

    .bio-intro {
      color: #d6dbe4;
      line-height: 1.8;
      font-size: 1.03rem;
      margin-bottom: 30px;
    }

    .bio-section {
      margin-top: 30px;
    }

    .bio-section h4 {
      display: flex;
      align-items: center;
      gap: 10px;
      color: #fff;
      font-family: 'Orbitron', sans-serif;
      font-size: 1.05rem;
      margin-bottom: 16px;
      padding-bottom: 10px;
      border-bottom: 1px solid rgba(205,197,112,.18);
    }

    .bio-section h4 i { color: var(--neon-cyan); }

    .student-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 15px;
    }

    .student-card {
      padding: 19px;
      border: 1px solid rgba(255,255,255,.09);
      border-radius: 8px;
      background: rgba(255,255,255,.025);
      transition: var(--transition);
    }

    .student-card:hover {
      border-color: rgba(205,197,112,.45);
      transform: translateY(-3px);
      background: rgba(205,197,112,.045);
    }

    .student-icon {
      color: #f4d35e;
      font-size: 1.25rem;
      margin-bottom: 9px;
    }

    .student-card h5 {
      color: #fff;
      font-family: 'Orbitron', sans-serif;
      font-size: .9rem;
      margin-bottom: 9px;
    }

    .student-card p {
      color: var(--text-muted);
      line-height: 1.55;
      font-size: .9rem;
    }

    .results-list {
      display: grid;
      gap: 10px;
    }

    .result-item {
      display: flex;
      align-items: flex-start;
      gap: 11px;
      color: #cbd5e1;
      line-height: 1.55;
      padding: 11px 14px;
      border-left: 2px solid rgba(205,197,112,.5);
      background: rgba(255,255,255,.018);
    }

    .result-item i {
      color: var(--neon-green);
      margin-top: 4px;
    }

    .career-highlight {
      margin-top: 28px;
      padding: 22px;
      border-radius: 9px;
      border: 1px solid rgba(205,197,112,.28);
      background: linear-gradient(135deg, rgba(205,197,112,.08), rgba(255,255,255,.015));
    }

    .career-highlight p {
      color: #d8dee8;
      line-height: 1.75;
      font-size: .98rem;
    }

    .bio-footer {
      padding: 20px 48px;
      border-top: 1px solid rgba(255,255,255,.07);
      display: flex;
      justify-content: flex-end;
    }

    .bio-footer .btn-main {
      color: var(--neon-cyan);
      border-color: var(--neon-cyan);
    }

    @media (max-width: 768px) {
      .featured-teacher {
        grid-template-columns: 1fr;
      }

      .featured-photo {
        min-height: 270px;
      }

      .featured-content {
        padding: 28px 22px;
      }

      .bio-modal {
        padding: 10px;
      }

      .bio-header,
      .bio-body {
        padding-left: 24px;
        padding-right: 24px;
      }

      .student-grid {
        grid-template-columns: 1fr;
      }

      .bio-footer {
        padding-left: 24px;
        padding-right: 24px;
      }
    }


    /* --- MISMO FORMATO HORIZONTAL PARA TODOS LOS PROFESORES --- */
    .teachers-grid {
      display: grid;
      grid-template-columns: 1fr;
      gap: 22px;
      align-items: stretch;
    }

    .teachers-grid > .featured-teacher {
      width: 100%;
      max-width: 1000px;
      margin: 0 auto;
    }

    .teachers-grid > .featured-teacher .featured-photo {
      min-height: 300px;
    }

    .teachers-grid > .featured-teacher .featured-content {
      min-width: 0;
    }

    @media (max-width: 768px) {
      .teachers-grid {
        grid-template-columns: 1fr;
        gap: 18px;
      }

      .teachers-grid > .featured-teacher .featured-photo {
        min-height: 270px;
      }
    }

    /* RESPONSIVE */
    @media (max-width: 992px) {
      .teacher-grid { grid-template-columns: repeat(2, 1fr); }
    }
    @media (max-width: 768px) {
      .top-bar { flex-direction: column; gap: 15px; text-align: center; }
      .top-info { flex-direction: column; gap: 8px; }
      .futuristic-circles { right: -120px; opacity: 0.6; }
      .teacher-grid { grid-template-columns: 1fr; }
      .form-group { flex-direction: column; gap: 20px; }
      .form-group input { width: 100%; }
      .slide h2 { font-size: 2rem; }
    }
	
	.logo-container {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-img {
  width: 200px;       /* Ajusta el tamaño según necesites */
  height: 100px;
  object-fit: contain;
}
