
/* ================================================================
   HAMBURGUESA BLANCA EN RESPONSIVE (≤ 991px)
   ================================================================ */
@media (max-width: 991.98px) {

  .hamburger {
    display: flex;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
  }

  .hamburger span {
    display: block;
    width: 28px;
    height: 3px;
    background-color: #ffffff !important; /* ✅ Líneas blancas */
    border-radius: 3px;
    transition: all 0.3s ease;
  }
}


  @keyframes blob { 0%,100% { transform: translate(0,0) scale(1); } 50% { transform: translate(30px,-50px) scale(1.1); } }
  .animate-blob { animation: blob 20s infinite; }
  .animation-delay-2000 { animation-delay: 2s; }
  .animation-delay-4000 { animation-delay: 4s; }

  .card {
    position: absolute;
    width: 320px;
    height: 440px;
    cursor: grab;
    user-select: none !important;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  }
  .card:active { cursor: grabbing; }
  .card.dragging {
    transform: scale(1.1) !important;
    box-shadow: 0 60px 120px rgba(0,0,0,0.6) !important;
    z-index: 9999 !important;
  }
  .card-inner * { user-select: none !important; pointer-events: none !important; }
  
 
  /* === ELIMINA COMPLETAMENTE LOS CONTORNOS BLANCOS DE LAS FICHAS === */
  .card,
  .card * {
    outline: none !important;
    border: none !important;
    -webkit-tap-highlight-color: transparent !important;
  }

  /* Elimina el contorno azul que pone Chrome al hacer clic o drag */
  .card:focus,
  .card:active,
  .card:focus-visible,
  .card-inner:focus,
  .card-inner:active {
    outline: none !important;
    box-shadow: none !important;
  }

  /* Elimina el halo blanco que aparece en algunos navegadores al arrastrar */
  .card::-moz-focus-inner {
    border: 0 !important;
  }

  /* Para móviles: quita el resalto azul/gris al tocar */
  .card {
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
  }

  /* Extra seguridad en Safari y Chrome (drag ghost) */
  .card:-webkit-drag-image,
  .card * {
    -webkit-user-drag: none;
  }

/* ELIMINA CUALQUIER BORDE U OUTLINE */
.card, .card-inner, .card *, .card-inner * {
  outline: none !important;
  border: none !important;
  box-shadow: none !important; /* elimina halos blancos */
}

/* Chrome/Safari: evita contorno en mousedown */
.card:focus,
.card:active,
.card:focus-visible,
.card-inner:focus,
.card-inner:active {
  outline: none !important;
  box-shadow: none !important;
}

/* Firefox: elimina inner focus white border */
.card::-moz-focus-inner {
  border: 0 !important;
}

/* Móviles: elimina highlight gris/azul */
.card, .card-inner {
  -webkit-tap-highlight-color: transparent !important;
}

/* Previene ghost border al arrastrar */
.card, .card * {
  -webkit-user-drag: none;
}

  @keyframes float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-25px) rotate(8deg); }
  }
  @keyframes shine {
    0% { transform: translateX(-200%) translateY(-200%) rotate(30deg); }
    100% { transform: translateX(300%) translateY(300%) rotate(30deg); }
  }
  .animate-float { animation: float 6s ease-in-out infinite; }
  .animate-shine { animation: shine 10s linear infinite; }

  .course-card {
    min-height: 380px;
    transform: translateY(60px);
    opacity: 0;
  }
  .course-card.aos-animate {
    transform: translateY(0);
    opacity: 1;
  }

  @keyframes waveDown {
    0%, 100% {
      transform: translateY(0) scale(1);
      opacity: 1;
    }
    50% {
      transform: translateY(40px) scale(0.95);
      opacity: 0.9;
    }
  }

  .style-161 {
    width: 100%;
    max-width: 1600px;
    margin: 80px auto;
    padding: 0 20px;
    text-align: center;
  }

  #computron-svg {
    width: 100%;
    height: auto;
    filter: drop-shadow(0 15px 30px rgba(0,0,0,0.4));
  }

  .letter {
    font-family: 'Poppins', sans-serif;
    text-anchor: middle;
    dominant-baseline: middle;
  }

  .stroke {
    pointer-events: none;
  }

  /* Título superior */
  .style-157 { text-align: center; margin-bottom: 40px; }
  .style-158 { position: relative; display: inline-block; font-size: 2.8rem; font-weight: 700; color: #007bff; }
  .style-159 { position: relative; z-index: 2; }
  .title-backdrop {
    position: absolute;
    top: 50%; left: -15px; right: -15px;
    height: 16px;
    background: #ffeb3b;
    transform: translateY(-50%);
    z-index: 1;
    border-radius: 10px;
  }

  @media (max-width: 768px) {
    .style-158 { font-size: 2rem; }
    .title-backdrop { height: 12px; left: -10px; right: -10px; }
  }

  /* ===== FOOTER MODERNO ===== */
  .modern-footer {
    background: linear-gradient(135deg, #1e40af 0%, #3b82f6 30%, #93c5fd 70%, #ffffff 100%);
    color: white;
    position: relative;
    overflow: hidden;
    padding-top: 120px;
    margin-top: 80px;
  }

  .wave-container {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 150px;
    overflow: hidden; z-index: 1;
  }
  .wave {
    position: absolute; bottom: 0; width: 200%; height: 150px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 120' preserveAspectRatio='none'%3E%3Cpath d='M0,0V46.29c47.79,22.2,103.59,32.17,158,28,70.36-5.37,136.33-33.31,206.8-37.5C438.64,32.43,512.34,53.67,583,72.05c69.27,18,138.3,24.88,209.4,13.08,36.15-6,69.85-17.84,104.45-29.34C989.49,25,1113-14.29,1200,52.47V0Z' fill='%23ffffff' opacity='0.3'/%3E%3Cpath d='M0,0V15.81C13,36.92,27.64,56.86,47.69,72.05,99.41,111.27,165,111,224.58,91.58c31.15-10.15,60.09-26.07,89.67-39.8,40.92-19,84.73-46,130.83-49.67,36.26-2.85,70.9,9.42,98.6,31.56,31.77,25.39,62.32,62,103.63,73,40.44,10.79,81.35-6.69,119.13-24.28s75.16-39,116.92-43.05c59.73-5.85,113.28,22.88,168.9,38.84,30.2,8.66,59,6.17,87.09-7.5,22.43-10.89,48-26.93,60.65-49.24V0Z' fill='%23ffffff' opacity='0.5'/%3E%3Cpath d='M0,0V5.63C149.93,59,314.09,71.32,475.83,42.57c43-7.64,84.23-20.12,127.61-26.46,59-8.63,112.48,12.24,165.56,35.4C827.93,77.22,886,95.24,951.2,90c86.53-7,172.46-45.71,248.8-84.81V0Z' fill='%23ffffff'/%3E%3C/svg%3E") repeat-x;
    animation: wave 18s linear infinite;
  }
  @keyframes wave { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

  .footer-content {
    position: relative; z-index: 2;
    max-width: 1200px; margin: 0 auto; padding: 0 20px;
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px;
  }
  @media (max-width: 992px) { .footer-content { grid-template-columns: repeat(2, 1fr); } }
  @media (max-width: 600px) { .footer-content { grid-template-columns: 1fr; } }

  .footer-column h4, .footer-column h5 {
    font-weight: 600; margin-bottom: 16px; color: #fff; font-size: 1.1rem;
  }
  .footer-logo { height: 60px; margin-bottom: 16px; filter: drop-shadow(0 2px 4px rgba(0,0,0,0.2)); }
  .footer-tagline { font-style: italic; opacity: 0.95; max-width: 280px; }
  .footer-links-list, .footer-schedule { list-style: none; padding: 0; margin: 0; }
  .footer-links-list a { color: rgba(255,255,255,0.9); text-decoration: none; display: flex; align-items: center; gap: 8px; transition: all 0.3s; }
  .footer-links-list a:hover { color: #fbbf24; transform: translateX(4px); }
  .footer-links-list a i { font-size: 0.8rem; transition: transform 0.3s; }
  .footer-links-list a:hover i { transform: translateX(2px); }
  .day { font-weight: 600; }

  .footer-contact p { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 12px; font-size: 0.95rem; }
  .footer-contact i { margin-top: 4px; color: #fbbf24; }

  .newsletter-title { color: #fbbf24; margin: 20px 0 10px; font-weight: 600; }
  .newsletter-form { display: flex; max-width: 300px; margin-top: 8px; }
  .newsletter-form input {
    flex: 1; padding: 12px 16px; border: none; border-radius: 8px 0 0 8px; font-size: 0.9rem; outline: none;
  }
  .newsletter-form button {
    background: #fbbf24; color: #1e40af; border: none; padding: 0 16px; border-radius: 0 8px 8px 0;
    cursor: pointer; transition: all 0.3s; font-weight: 600;
  }
  .newsletter-form button:hover { background: #f59e0b; transform: scale(1.05); }

  .footer-bottom {
    background: rgba(0,0,0,0.2); padding: 20px 0; margin-top: 60px; backdrop-filter: blur(10px);
  }
  .footer-bottom-content {
    max-width: 1200px; margin: 0 auto; padding: 0 20px;
    display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px;
    font-size: 0.875rem; color: rgba(255,255,255,0.8);
  }
  .legal-links a { color: rgba(255,255,255,0.8); text-decoration: none; margin: 0 8px; transition: color 0.3s; }
  .legal-links a:hover { color: #fbbf24; }
  .separator { opacity: 0.7; }

  /* Animación de entrada */
  .footer-reveal {
    opacity: 0; transform: translateY(30px); transition: all 0.8s cubic-bezier(0.25, 0.8, 0.25, 1);
  }
  .footer-reveal.active {
    opacity: 1; transform: translateY(0);
  }


/* ================================================================
   PALETA DE COLORES → MODERNA, SUAVE, ELEGANTE (SIN ROJO)
   ================================================================ */
:root {
  --navbar-main: #3b82f6;    /* Azul suave */
  --navbar-accent: #06b6d4;  /* Turquesa */
  --navbar-hover: #6366f1;   /* Violeta pastel */
  --navbar-light: #7dd3fc;   /* Celeste brillante */
}

/* ================================================================
   ITEMS PRINCIPALES DEL MENÚ → COLORES NUEVOS
   ================================================================ */
.rd-navbar-nav > li > a.rd-nav-link,
.rd-nav-link,
.rd-navbar-nav a,
.rd-nav-item > a {
  color: var(--navbar-main) !important;
  background: transparent !important;
  border: none !important;
  text-shadow: 0 0 4px rgba(125, 211, 252, 0.4);
}

/* Hover / focus / active */
.rd-navbar-nav > li > a.rd-nav-link:hover,
.rd-navbar-nav > li > a.rd-nav-link:focus,
.rd-navbar-nav > li > a.rd-nav-link:active,
.rd-navbar-nav > li.active > a.rd-nav-link,
.rd-navbar-nav .rd-nav-item:hover > .rd-nav-link,
.rd-navbar-nav .rd-nav-item:focus > .rd-nav-link,
.rd-navbar-nav .rd-nav-item.focus > .rd-nav-link,
.rd-nav-item.active > a,
.rd-navbar-nav a:hover,
.rd-nav-link:hover,
.rd-nav-item:hover > a {
  background: linear-gradient(135deg, var(--navbar-accent), var(--navbar-hover)) !important;
  color: white !important;
  border-radius: 12px !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 8px 20px rgba(6, 182, 212, 0.35) !important;
  transition: all 0.35s ease !important;
}

/* Íconos → colores suaves */
.rd-navbar-nav i,
.rd-nav-item i {
  color: var(--navbar-main) !important;
  transition: 0.3s ease;
}
.rd-navbar-nav a:hover i,
.rd-nav-link:hover i {
  color: white !important;
}

/* ============================================================
   MODO MÓVIL
   ============================================================ */
@media (max-width: 992px) {
  .rd-navbar-nav > li > a.rd-nav-link:hover,
  .rd-navbar-nav > li > a.rd-nav-link:active {
    background: var(--navbar-accent) !important;
    color: white !important;
    border-radius: 10px !important;
  }
}


* {
  --red: var(--navbar-accent) !important; 
}

body *[style*="color:red"],
body *[style*="color: #ff0000"],
body *[style*="color:#ff0000"],
body *[style*="color: rgb(255,0,0)"],
body *[style*="background:red"],
body *[style*="background:#ff0000"] {
  color: var(--navbar-main) !important;
  background: transparent !important;
}

/* ============================================================
   SUBRAYADO → tonos azules y celestes, nunca rojo
   ============================================================ */
a,
.rd-nav-link,
.rd-navbar-nav a {
  text-decoration-color: var(--navbar-main) !important;
}

a:hover,
a:focus,
a:active,
.rd-nav-link:hover,
.rd-navbar-nav a:hover,
.rd-nav-item:hover > a {
  text-decoration-color: var(--navbar-light) !important;
}


/* ==============================================
   FONDO NEGRO SÓLIDO SOLO EN LA FRANJA DEL MENÚ
   SIN AFECTAR EL LOGO
   ============================================== */

/* Franja donde están los items del menú */
.rd-navbar-nav-wrap,
.rd-navbar-nav,
.rd-navbar-main-element {
    background: #000 !important;
    background-image: none !important;
    box-shadow: none !important;
}

/* Cuando el menú entra en modo sticky */
.rd-navbar--is-stuck .rd-navbar-nav-wrap,
.rd-navbar--is-stuck .rd-navbar-main-element,
.rd-navbar-fixed--is-stuck .rd-navbar-nav-wrap {
    background: #000 !important;
    background-image: none !important;
}

/* Eliminar overlays o degradados SOLO en la franja del menú */
.rd-navbar-nav-wrap::before,
.rd-navbar-nav-wrap::after,
.rd-navbar-main-element::before,
.rd-navbar-main-element::after {
    background: none !important;
}

/* Eliminar degradados en items del menú (sin tocar el logo) */
.rd-navbar-nav > li > a,
.rd-nav-item > a {
    background: #000 !important;
    background-image: none !important;
}



.swiper-slide img {
  object-fit: cover;
  object-position: center -50px; /* encuadre hacia arriba */
}

.hero-swiper {
  width: 100%;
  height: 100vh;
  position: relative;
}

.swiper-slide {
  position: relative;
}

.slide-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.slide-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.white-filter {
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.2);
}

.slide-caption {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  color: white;
  max-width: 650px;
}

.heading-decorate {
  font-size: 3rem;
  font-weight: 700;
}

.divider {
  display: block;
  width: 70px;
  height: 5px;
  background: #0ea5e9;
  margin: 15px 0;
}

.alt-color {
  color: #38bdf8;
}

.lead {
  font-size: 1.2rem;
  margin-top: 10px;
}

.button-primary {
  display: inline-block;
  margin-top: 25px;
  padding: 12px 30px;
  background: #0ea5e9;
  color: white;
  border-radius: 30px;
  text-decoration: none;
  transition: .3s;
}

.button-primary:hover {
  background: #0284c7;
}

/* Responsive */
@media (max-width: 768px) {
  .heading-decorate {
    font-size: 1.9rem;
  }
  .lead {
    font-size: 1rem;
  }
  .slide-caption {
    top: 45%;
  }
}




.swiper-slide img {
  object-fit: cover;
  object-position: center -50px; /* encuadre hacia arriba */
}

.hero-swiper {
  width: 100%;
  height: 100vh;
  position: relative;
}

.swiper-slide {
  position: relative;
}

.slide-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.slide-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.white-filter {
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.2);
}

.slide-caption {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  color: white;
  max-width: 650px;
}

.heading-decorate {
  font-size: 3rem;
  font-weight: 700;
}

.divider {
  display: block;
  width: 70px;
  height: 5px;
  background: #0ea5e9;
  margin: 15px 0;
}

.alt-color {
  color: #38bdf8;
}

.lead {
  font-size: 1.2rem;
  margin-top: 10px;
}

.button-primary {
  display: inline-block;
  margin-top: 25px;
  padding: 12px 30px;
  background: #0ea5e9;
  color: white;
  border-radius: 30px;
  text-decoration: none;
  transition: .3s;
}

.button-primary:hover {
  background: #0284c7;
}

/* Responsive */
@media (max-width: 768px) {
  .heading-decorate {
    font-size: 1.9rem;
  }
  .lead {
    font-size: 1rem;
  }
  .slide-caption {
    top: 45%;
  }
}


/* ====== SERVICIOS DIGITALES - CELESTE + AZUL + VERDE ====== */
.services-crystal {
  position: relative;
  background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 50%, #ccfbf1 100%);
}

@keyframes blob {
  0%, 100% { transform: translate(0,0) rotate(0); }
  50% { transform: translate(30px, -50px) rotate(5deg); }
}
.animate-blob { animation: blob 20s infinite; }
.animation-delay-2000 { animation-delay: 2s; }
.animation-delay-4000 { animation-delay: 4s; }

/* Tarjetas cristal premium */
.crystal-card {
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: 32px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  padding: 2.5rem 2rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: all 0.6s ease;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

.card-glow {
  position: absolute;
  inset: 0;
  border-radius: 32px;
  opacity: 0;
  transition: opacity 0.6s;
  pointer-events: none;
}
.glow-cyan { background: radial-gradient(circle at center, rgba(6, 182, 212, 0.25), transparent 70%); }
.glow-blue { background: radial-gradient(circle at center, rgba(59, 130, 246, 0.25), transparent 70%); }
.glow-teal { background: radial-gradient(circle at center, rgba(20, 184, 166, 0.25), transparent 70%); }
.glow-indigo { background: radial-gradient(circle at center, rgba(99, 102, 241, 0.25), transparent 70%); }

.crystal-card:hover {
  transform: translateY(-18px) scale(1.04);
  box-shadow: 0 30px 70px rgba(0,0,0,0.15);
}
.crystal-card:hover .card-glow { opacity: 1; }

.icon-box {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.8rem;
  color: white;
  box-shadow: 0 15px 35px rgba(0,0,0,0.25);
  transition: all 0.5s;
}

.icon-box.large {
  width: 110px;
  height: 110px;
}

.crystal-card:hover .icon-box {
  transform: scale(1.2) rotate(8deg);
}

.crystal-card h3 {
  font-size: 1.65rem;
  font-weight: 800;
  color: #1e293b;
  margin: 1rem 0;
}

.crystal-card p {
  color: #475569;
  line-height: 1.75;
  margin-bottom: 2rem;
}

.card-link {
  font-weight: 700;
  font-size: 1.1rem;
  transition: all 0.4s;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.crystal-card:hover .card-link {
  transform: translateX(12px);
}

/* Botones */
.btn-fill {
  background: linear-gradient(135deg, #0ea5e9, #0284c7);
  color: white;
  padding: 14px 32px;
  border-radius: 50px;
  border: none;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.4s;
  box-shadow: 0 10px 25px rgba(14, 165, 233, 0.3);
}

.btn-fill:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(14, 165, 233, 0.45);
}

.btn-outline {
  background: transparent;
  color: #0ea5e9;
  border: 2px solid #0ea5e9;
  padding: 12px 28px;
  border-radius: 50px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.4s;
}

.btn-outline:hover {
  background: #0ea5e9;
 0.1);
  color: white;
  transform: translateY(-4px);
}

/* Responsive */
@media (max-width: 1024px) {
  .crystal-card:hover { transform: translateY(-10px) scale(1.02); }
}