
:root{
  --azul-unam:#0b2f5b;
  --dorado-unam:#BB8800;
}
h5{
  color: #0b2f5b !important;
}

/* HEADER */
.pcpuma-header{
  background: linear-gradient(
    180deg,
    #0c2d5c 0%,
    #123f7a 100%
  );
  border-top:4px solid var(--azul-unam);
  border-bottom:4px solid var(--azul-unam);
}

.pcpuma-header-inner{
  max-width:1600px;
  margin:auto;
  padding:16px 30px;
}

/* IZQUIERDA */
.pcpuma-left{
  display:flex;
  align-items:center;
  gap:24px;
}

.pcpuma-logos{
  display:flex;
  align-items:center;
  gap:0px;
}

.pcpuma-logos img{
  width:130px;
}

.pcpuma-title{
  border-left:2px solid rgba(255,255,255,.6);
  padding-left:20px;
  color:#fff;
}

.pcpuma-title h1{
  margin:0;
  font-size:26px;
  font-weight:700;
}

.pcpuma-title span{
  font-size:13px;
  opacity:.9;
}

/* NAV */
.navbar-nav .nav-link{
  color:#fff !important;
  font-weight:600;
  font-size:15px;
  padding-bottom:6px;
}

.navbar-nav .nav-link.active{
  border-bottom:3px solid #BB8800;
}

.navbar-nav .nav-link:hover{
  border-bottom:3px solid #BB8800;
}


.navbar-toggler{
  border:none;
}

.navbar-toggler:focus{
  box-shadow:none;
}

/* MÓVIL */
@media (max-width: 991px){
  .pcpuma-title{
    display:none;
  }

  .navbar-collapse{
    background:#0c2d5c;
    margin-top:12px;
    padding:15px;
    border-radius:12px;
  }

  .navbar-nav .nav-link{
    padding:10px 0;
    font-size:16px;
  }
}


.connect-section h1 {
    margin-bottom: 20px;
    color: #BB8800;
}


.color_dorado{
    color: #BB8800;
}

/* Index */
/* ================= HERO ================= */
.hero-section{
  background: linear-gradient(135deg,#1a365d,#2b6cb0);
  color:#fff;
  min-height:70vh;
  position:relative;
}
.hero-section::before{
  content:"";
  position:absolute;
  inset:0;
  background:rgba(255,255,255,.05);
}
.hero-content{position:relative;z-index:1}

.pcpuma-logo{max-width:320px}
.logo-subtitle{
  color:#BB8800;
  font-weight:600;
  letter-spacing:1px;
}

/* ================= STATS ================= */
.stat-box{
  background:rgba(255,255,255,.1);
  backdrop-filter:blur(10px);
  border:1px solid rgba(255,255,255,.2);
  border-radius:.75rem;
}

/* ================= MODULES ================= */
.module-icon{
  width:70px;height:70px;
  border-radius:50%;
  display:flex;
  align-items:center;
  justify-content:center;
  color:#fff;
  font-size:2rem;
}
.icon-blue{background:linear-gradient(135deg,#4299e1,#2b6cb0)}
.icon-orange{background:linear-gradient(135deg,#ed8936,#dd6b20)}

/* ================= VALUES ================= */
.value-icon{
  font-size:2.2rem;
  color:#2b6cb0;
}

/* ================= conect ================= */

/* ================= BASE ================= */
.section{
  padding:20px 20px;
  max-width:1200px;
  margin:auto;
}
.connect-section{
  background:#f7fafc;
  border-radius:10px;
}
.connect-section h1{
  margin-bottom:20px;
  color:#BB8800;
}
.centered-text{
  max-width:800px;
  margin:auto;
}

/* ================= NETWORKS ================= */
.networks-card{
  background:#f8f9fa;
  border:1px solid #e2e8f0;
  border-radius:8px;
  padding:25px;
  margin:25px auto;
  max-width:800px;
  text-align:center;
  box-shadow:0 2px 4px rgba(0,0,0,.05);
}
.networks-card h3{
  color:#1a365d;
  margin-bottom:20px;
  border-bottom:1px solid #e2e8f0;
  padding-bottom:10px;
  font-size:1.4rem;
}
.network-item{
  background:#fff;
  border-radius:6px;
  padding:20px;
  border:1px solid #e2e8f0;
  border-top:3px solid #d69e2e;
  text-align:left;
}
.network-item.important{
  border-top-color:#1a365d;
}
.network-name{font-weight:600;color:#2c5282}
.network-location{font-size:.9rem;color:#4a5568}
.network-ssid{
  display:inline-block;
  margin-top:10px;
  background:#f7fafc;
  border:1px solid #e2e8f0;
  padding:6px 10px;
  border-radius:4px;
  font-family:monospace;
}
.network-item.important .network-ssid{
  background:#fef5e7;
  border-color:#f6ad55;
}

/* ================= STEPS ================= */
.step-card{
  background:#fff;
  border-radius:8px;
  padding:25px;
  text-align:center;
  border:1px solid #e2e8f0;
  transition:.3s;
}
.step-card:hover{
  transform:translateY(-5px);
  box-shadow:0 8px 15px rgba(43,108,176,.1);
  border-color:#2b6cb0;
}
.step-number{
  width:40px;height:40px;
  background:#2b6cb0;
  color:#fff;
  border-radius:50%;
  display:flex;
  align-items:center;
  justify-content:center;
  font-weight:700;
  margin:0 auto 15px;
}

/* ================= LOCATIONS ================= */
.location-card{
  background:#fff;
  border-radius:8px;
  padding:25px;
  border:1px solid #e2e8f0;
  transition:.3s;
}
.location-card:hover{
  transform:translateY(-5px);
  box-shadow:0 8px 15px rgba(43,108,176,.1);
  border-color:#2b6cb0;
}
.location-card h4{
  color:#2c5282;
  border-bottom:2px solid #e2e8f0;
  padding-bottom:10px;
}
.location-list{
  list-style:none;
  padding:0;
  margin-top:15px;
}
.location-list li{
  padding:8px 0;
  border-bottom:1px solid #f1f5f9;
  color:#4a5568;
}
.location-list li:last-child{border:none}
.location-list li::before{
  content:"✓";
  color:#2b6cb0;
  font-weight:700;
  margin-right:10px;
}

/* ================= NOTES ================= */
.connect-highlight{
  background:#edf2f7;
  color:#2b6cb0;
  font-weight:700;
  font-size:1.2rem;
  text-align:center;
  padding:15px;
  border-radius:6px;
  max-width:800px;
  margin:30px auto;
}
.device-note{
  background:#fffaf0;
  border-left:4px solid #d69e2e;
  padding:15px;
  max-width:800px;
  margin:30px auto;
}

/* ================= REPORT ================= */
.report-contact{
  background:#f0f9ff;
  border:1px solid #bee3f8;
  border-left:4px solid #3182ce;
  border-radius:8px;
  padding:25px;
  margin:40px auto;
  max-width:800px;
  text-align:center;
}
.contact-email{
  background:#fff;
  border:1px solid #e2e8f0;
  border-radius:6px;
  padding:15px 20px;
  margin:15px auto;
  max-width:500px;
  transition:.3s;
}
.contact-email:hover{
  transform:translateY(-2px);
  box-shadow:0 4px 8px rgba(0,0,0,.1);
}
.email-link{
  color:#3182ce;
  font-weight:600;
  font-size:1.1rem;
  text-decoration:none;
}
.email-link:hover{text-decoration:underline}

/* ================= RESPONSIVE ================= */
@media(max-width:768px){
  .section{padding:20px 15px}
}

.location-list {
    list-style: none;
    padding: 0;
    margin-top: 15px;
    text-align: left;
}

/* ================= Solicita ================= */
section{
  padding:20px;
  max-width:1200px;
  margin:auto;
  text-align:center;
}
.section p{
  max-width:800px;
  margin:0 auto 1rem;
  color:#4a5568;
  line-height:1.5;
}

/* ================= LOAN ================= */
.loan-section{
  background:linear-gradient(135deg,#f7fafc,#edf2f7);
  border:1px solid #e2e8f0;
  border-radius:10px;
  box-shadow:0 3px 6px rgba(0,0,0,.05);
  max-width:900px;
  margin:10px auto;
  padding:20px;
}

/* ================= WARNING ================= */
.university-warning{
  background:linear-gradient(135deg,#2b6cb0,#1a365d);
  color:#fff;
  border-radius:10px;
  padding:18px 20px;
  max-width:800px;
  margin:15px auto;
  position:relative;
  box-shadow:0 4px 8px rgba(43,108,176,.15);
}
.university-warning::before{
  content:"";
  position:absolute;
  inset:0 0 auto 0;
  height:3px;
  background:linear-gradient(90deg,#f6ad55,#68d391,#4fd1c7);
}
.university-warning p{
  font-size:1.1rem;
  font-weight:600;
}
.university-icon{color:#f6e05e;margin-right:6px}

/* ================= STEPS ================= */
.step-item{
  background:#fff;
  border:1px solid #e2e8f0;
  border-radius:10px;
  padding:25px 20px;
  min-height:200px;
  position:relative;
  transition:.2s;
}
.step-item:hover{
  transform:translateY(-2px);
  box-shadow:0 5px 12px rgba(43,108,176,.1);
  border-color:#2b6cb0;
}
.step-item.important-step{
  background:linear-gradient(to right,#f8fafc,#fff);
}
.step-number-circle{
  position:absolute;
  top:-20px;
  left:50%;
  transform:translateX(-50%);
  width:45px;
  height:45px;
  border-radius:50%;
  background:linear-gradient(135deg,#2b6cb0,#4299e1);
  color:#fff;
  font-weight:700;
  display:flex;
  align-items:center;
  justify-content:center;
  border:3px solid #fff;
}
.step-item h3{
  margin-top:15px;
  color:#2c5282;
}
.step-item p{
  font-size:.95rem;
}

/* ================= TIME ================= */
.time-info{
  background:linear-gradient(135deg,#e6fffa,#b2f5ea);
  border-radius:8px;
  padding:15px 20px;
  max-width:600px;
  margin:15px auto;
}
.time-info p{
  color:#234e52;
  font-weight:600;
}
.time-highlight{
  color:#2b6cb0;
  font-weight:700;
}

/* ================= BUTTONS ================= */
.report-button-container{
  display:flex;
  justify-content:center;
  margin:15px auto;
}
.report-btn{
  background:linear-gradient(135deg,#f56565,#c53030);
  color:#fff;
  border:none;
  border-radius:8px;
  padding:12px 24px;
  font-weight:600;
  box-shadow:0 3px 6px rgba(245,101,101,.2);
  transition:.2s;
  display:flex;
  align-items:center;
  gap:8px;
}
.report-btn:hover{
  transform:translateY(-2px);
  box-shadow:0 5px 10px rgba(245,101,101,.3);
}

/* ================= FORMATO ALTERNATIVO ================= */
.requisitos-alt{
  background:#ffffff;
}

.requisitos-alt-title{
  text-align:center;
  color:#1a365d;
  font-weight:700;
  margin-bottom:35px;
}

/* CONTENEDOR */
.requisitos-alt-wrapper{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:40px;
  max-width:900px;
  margin:auto;
}

/* CAJA */
.requisitos-alt-box{
  border-radius:14px;
  padding:30px 25px 25px;
  position:relative;
  background:#f7fafc;
  border:1px solid #e2e8f0;
  box-shadow:0 4px 10px rgba(0,0,0,.06);
  transition:.3s;
}
.requisitos-alt-box:hover{
  transform:translateY(-4px);
  box-shadow:0 10px 20px rgba(43,108,176,.15);
}

/* BADGE SUPERIOR */
.requisitos-alt-badge{
  position:absolute;
  top:-18px;
  left:20px;
  padding:8px 18px;
  border-radius:20px;
  font-weight:700;
  font-size:.95rem;
  display:flex;
  align-items:center;
  gap:8px;
  color:#fff;
  box-shadow:0 4px 8px rgba(0,0,0,.15);
}

/* COLORES POR TIPO */
.alumnos-box .requisitos-alt-badge{
  background:linear-gradient(135deg,#4299e1,#2b6cb0);
}
.profesores-box .requisitos-alt-badge{
  background:linear-gradient(135deg,#f6ad55,#d69e2e);
}

/* CONTENIDO */
.requisitos-alt-content p{
  margin:18px 0;
  color:#4a5568;
  display:flex;
  align-items:flex-start;
  gap:10px;
  text-align: left !important;
}
.requisitos-alt-content i{
  color:#38a169;
  margin-top:3px;
}

/* RESPONSIVE */
@media(max-width:768px){
  .requisitos-alt-wrapper{
    grid-template-columns:1fr;
    gap:30px;
  }
  .requisitos-alt-badge{
    left:50%;
    transform:translateX(-50%);
  }
}

/* ================= MODAL ================= */
.report-modal{
  display:none;
  position:fixed;
  inset:0;
  background:rgba(0,0,0,.5);
  z-index:1000;
  align-items:center;
  justify-content:center;
}
.report-modal.active{
  display:flex;
}
.modal-content{
  background:#fff;
  border-radius:10px;
  padding:25px;
  max-width:500px;
  width:100%;
}
.modal-header{
  display:flex;
  justify-content:space-between;
  align-items:center;
  border-bottom:2px solid #e2e8f0;
  margin-bottom:15px;
}
.close-modal{
  background:none;
  border:none;
  font-size:1.3rem;
  cursor:pointer;
}
.modal-phone{
  background:#fef2f2;
  border-radius:8px;
  padding:15px;
  text-align:center;
}
.phone-number{
  font-size:1.2rem;
  font-weight:700;
  color:#c53030;
}

/* ================= DIVIDER ================= */
.process-divider{
  height:1px;
  background:linear-gradient(90deg,transparent,#e2e8f0,transparent);
  max-width:400px;
  margin:20px auto;
}

/* ================= lineamientos ================= */

/* ================= BASE ================= */
.section{
  padding:20px 20px;
  max-width:1200px;
  margin:auto;
  background:#f7fafc;
  border-radius:12px;
}
.section h1,
.section p{
  text-align:center;
}
.section p{
  max-width:800px;
  margin:0 auto;
  color:#4a5568;
  line-height:1.6;
}

/* ================= TABS ================= */
.main-tabs,
.sub-tabs{
  display:flex;
  justify-content:center;
  flex-wrap:wrap;
  gap:10px;
  margin:30px 0;
}
.main-tab,
.sub-tab{
  background:#fff;
  border:2px solid #e2e8f0;
  border-radius:8px;
  padding:12px 24px;
  font-weight:600;
  color:#4a5568;
  cursor:pointer;
  display:flex;
  align-items:center;
  gap:8px;
  transition:.3s;
}
.sub-tab{
  padding:10px 20px;
  font-size:.95rem;
}
.main-tab.active{
  background:#2b6cb0;
  color:#fff;
  border-color:#2b6cb0;
}
.sub-tab.active{
  background:#38b2ac;
  color:#fff;
  border-color:#38b2ac;
}
.main-tab:hover,
.sub-tab:hover{
  transform:translateY(-2px);
}

/* ================= CONTENT ================= */
.guidelines-content,
.user-content{
  display:none;
  animation:fadeIn .5s ease;
}
.guidelines-content.active,
.user-content.active{
  display:block;
}
@keyframes fadeIn{
  from{opacity:0;transform:translateY(10px)}
  to{opacity:1;transform:translateY(0)}
}

/* ================= CARDS ================= */
.guideline-card{
  background:#fff;
  border:1px solid #e2e8f0;
  border-radius:10px;
  padding:30px;
  margin-bottom:25px;
  box-shadow:0 4px 6px rgba(0,0,0,.05);
  transition:.3s;
}
.guideline-card:hover{
  transform:translateY(-3px);
  box-shadow:0 6px 12px rgba(43,108,176,.1);
}
.guideline-card h3{
  color:#2c5282;
  border-bottom:2px solid #e2e8f0;
  padding-bottom:10px;
  margin-bottom:20px;
  display:flex;
  align-items:center;
  font-size: 17px;
  gap:10px;
}

/* ================= LISTS ================= */
.guideline-list,
.user-section ul{
  list-style:none;
  padding:0;
}
.guideline-list li,
.user-section li{
  padding:12px 0;
  display:flex;
  gap:12px;
  color:#4a5568;
  border-bottom:1px solid #f1f5f9;
  line-height:1.6;
}
.guideline-list li:last-child,
.user-section li:last-child{
  border-bottom:none;
}
.guideline-list i{color:#2b6cb0}
.guideline-list .important i{color:#d69e2e}
.guideline-list .restricted i{color:#3182ce}
.guideline-list .prohibited-device i{color:#805ad5}

/* ================= USER SECTIONS ================= */
.user-section{
  background:#f8fafc;
  border:2px solid #e2e8f0;
  border-radius:10px;
  padding:25px;
  margin-bottom:30px;
}
.user-section h3{
  color:#2c5282;
  display:flex;
  align-items:center;
  gap:10px;
  margin-bottom:20px;
}
.alumnos-section{
  border-left:4px solid #4299e1;
}
.alumnos-section i{
  color:#4299e1;
}
.profesores-section{
  border-left:4px solid #d69e2e;
}
.profesores-section i{
  color:#d69e2e;
}

/* ================= NOTICES ================= */
.exclusive-notice{
  border-radius:10px;
  padding:25px;
  margin:25px 0;
  text-align:center;
  animation:pulse 2s infinite;
}
@keyframes pulse{
  0%{box-shadow:0 0 0 0 rgba(56,178,172,.4)}
  70%{box-shadow:0 0 0 10px rgba(56,178,172,0)}
  100%{box-shadow:0 0 0 0 rgba(56,178,172,0)}
}
.suayed-notice{
  background:linear-gradient(135deg,#e6fffa,#b2f5ea);
  border:2px solid #81e6d9;
}
.profesores-notice{
  background:linear-gradient(135deg,#feebc8,#fbd38d);
  border:2px solid #d69e2e;
}
.exclusive-notice h4{
  margin-bottom:15px;
  font-size:1.5rem;
  display:flex;
  justify-content:center;
  gap:10px;
}
.exclusive-notice p{
  font-size:1.1rem;
  font-weight:600;
}
.exclusive-badge{
  padding:6px 15px;
  border-radius:20px;
  font-size:.9rem;
  font-weight:700;
  display:inline-block;
  margin-top:10px;
  color:#fff;
}
.suayed-badge{background:#38b2ac}
.profesores-badge{background:#d69e2e}

/* ================= RESPONSIVE ================= */
@media(max-width:768px){
  .section{padding:30px 15px}
  .main-tabs,
  .sub-tabs{
    flex-direction:column;
    align-items:center;
  }
  .main-tab,
  .sub-tab{
    width:100%;
    max-width:300px;
    justify-content:center;
  }
  .guideline-card,
  .user-section{
    padding:20px;
  }
}

/* ================= que es pc puma ================= */
/* ===== BASE ===== */
.unam-header{
    text-align:center;
    margin-bottom:30px;
    padding-bottom:15px;
    border-bottom:2px solid #e2e8f0;
  }
  .about-content{
    max-width:800px;
    margin:auto;
    text-align:center;
  }
  .accent-color{
    color:#2b6cb0;
    font-weight:700;
  }
  
  /* ===== LINK OFICIAL ===== */
  .official-link-container{
    margin:40px auto 20px;
    padding:25px;
    max-width:700px;
    background:linear-gradient(135deg,#f7fafc,#edf2f7);
    border:1px solid #e2e8f0;
    border-radius:10px;
    box-shadow:0 4px 6px rgba(0,0,0,.05);
    text-align:center;
  }
  .official-link-btn{
    display:inline-flex;
    align-items:center;
    gap:12px;
    padding:16px 30px;
    border-radius:8px;
    background:linear-gradient(135deg,#2b6cb0,#1a365d);
    color:#fff;
    font-weight:600;
    font-size:1.1rem;
    text-decoration:none;
    transition:.3s;
    box-shadow:0 4px 8px rgba(43,108,176,.2);
  }
  .official-link-btn:hover{
    transform:translateY(-3px);
    box-shadow:0 6px 12px rgba(43,108,176,.3);
  }
  .official-note{
    margin-top:10px;
    font-size:.95rem;
    font-style:italic;
    color:#4a5568;
  }
  
  /* ===== MISIÓN / VISIÓN ===== */
  .mission-vision-card{
    text-align:center;
    padding:30px 25px;
  }
  .card-icon{
    font-size:2.5rem;
    color:#2b6cb0;
    margin-bottom:20px;
  }
  
  /* ===== SOCIAL ===== */
  .social-section{
    background:#f7fafc;
    border-radius:15px;
    padding:50px 20px;
    margin-top:40px;
  }
  .social-subtitle{
    max-width:700px;
    margin:0 auto 40px;
    text-align:center;
    color:#4a5568;
  }
  .social-circle{
    width:130px;
    text-decoration:none;
    text-align:center;
    transition:.3s;
  }
  .social-circle:hover{transform:translateY(-10px)}
  .circle-icon{
    width:80px;
    height:80px;
    border-radius:50%;
    display:flex;
    align-items:center;
    justify-content:center;
    color:#fff;
    font-size:1.8rem;
    margin-bottom:15px;
    box-shadow:0 4px 8px rgba(0,0,0,.1);
    transition:.3s;
  }
  .social-circle:hover .circle-icon{
    transform:scale(1.1);
  }
  .social-name{
    font-weight:600;
    color:#2d3748;
    font-size:.95rem;
  }
  
  /* COLORES */
  .website .circle-icon{background:linear-gradient(135deg,#1a365d,#2b6cb0)}
  .facebook .circle-icon{background:#1877F2}
  .twitter .circle-icon{background:#000}
  .instagram .circle-icon{
    background:linear-gradient(45deg,#405DE6,#833AB4,#E1306C,#FD1D1D)
  }
  .tiktok .circle-icon{
    background:linear-gradient(135deg,#000,#25F4EE,#FE2C55)
  }
  .youtube .circle-icon{background:#FF0000}
  
  /* ===== RESPONSIVE ===== */
  @media(max-width:768px){
    .social-circle{width:110px}
    .circle-icon{width:70px;height:70px;font-size:1.6rem}
    .official-link-btn{width:100%;max-width:400px}
  }
  @media(max-width:480px){
    .social-circle{width:90px}
    .circle-icon{width:60px;height:60px;font-size:1.4rem}
  }
  

  /* ================= modales ================= */


    /* SECCIÓN DE MÓDULOS - ESTILOS INDEPENDIENTES */
    .modules-section {
        background: linear-gradient(135deg, #f7fafc 0%, #edf2f7 100%);
        border-radius: 10px;
        margin: 20px auto;
        padding: 30px 20px;
        text-align: center;
        max-width: 1200px;
        box-shadow: 0 3px 6px rgba(0, 0, 0, 0.05);
        border: 1px solid #e2e8f0;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        width: 100%;
    }

    .modules-section h2 {
        color: #2c5282;
        margin-bottom: 30px;
        font-size: 1.4rem;
        text-align: center;
        width: 100%;
        position: relative;
        padding-bottom: 15px;
    }

    .modules-section h2::after {
        content: "";
        position: absolute;
        bottom: 0;
        left: 50%;
        transform: translateX(-50%);
        width: 100px;
        height: 3px;
        background: linear-gradient(90deg, #2b6cb0, #4299e1);
        border-radius: 2px;
    }

    .modules-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
        gap: 30px;
        margin: 20px auto;
        max-width: 1100px;
        width: 100%;
        justify-content: center;
        align-items: stretch;
    }

    .module-card {
        background-color: white;
        border-radius: 10px;
        padding: 25px;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.08);
        border: 1px solid #e2e8f0;
        transition: all 0.3s ease;
        position: relative;
        overflow: hidden;
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        margin: 0 auto;
        width: 100%;
    }

    .module-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 8px 16px rgba(43, 108, 176, 0.15);
        border-color: #2b6cb0;
    }

    .module-card.suayed {
        border-top: 4px solid #4299e1;
    }

    .module-card.profesores {
        border-top: 4px solid #d69e2e;
    }

    .module-header {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 15px;
        margin-bottom: 20px;
        width: 100%;
    }

    .module-icon {
        font-size: 2rem;
        color: #2b6cb0;
        background: #f7fafc;
        width: 60px;
        height: 60px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        box-shadow: 0 3px 6px rgba(0, 0, 0, 0.1);
    }

    .module-icon.suayed {
        background: linear-gradient(135deg, #e6fffa 0%, #b2f5ea 100%);
        color: #234e52;
    }

    .module-icon.profesores {
        background: linear-gradient(135deg, #feebc8 0%, #fbd38d 100%);
        color: #744210;
    }

    .module-title {
        font-size: 1.5rem;
        color: #2c5282;
        font-weight: 700;
        margin: 0;
    }

    .module-location {
        background: #f8fafc;
        border-radius: 8px;
        padding: 15px;
        margin: 15px 0;
        width: 100%;
        text-align: center;
        border: 1px solid #e2e8f0;
    }

    .module-location h4 {
        color: #4a5568;
        margin: 0 0 10px 0;
        font-size: 1.1rem;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
    }

    .module-location p {
        color: #2c5282;
        font-weight: 600;
        font-size: 1.2rem;
        margin: 0;
        line-height: 1.4;
    }

    .module-images {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 15px;
        margin: 20px 0;
        width: 100%;
    }

    .module-image-container {
        position: relative;
        overflow: hidden;
        border-radius: 8px;
        box-shadow: 0 3px 6px rgba(0, 0, 0, 0.1);
        height: 180px;
        cursor: pointer;
        transition: transform 0.3s ease;
    }

    .module-image-container:hover {
        transform: scale(1.03);
    }

    .module-image {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.5s ease;
    }

    .module-image-container:hover .module-image {
        transform: scale(1.1);
    }

    .image-overlay {
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
        background: rgba(0, 0, 0, 0.7);
        color: white;
        padding: 8px;
        font-size: 0.8rem;
        text-align: center;
        transform: translateY(100%);
        transition: transform 0.3s ease;
    }

    .module-image-container:hover .image-overlay {
        transform: translateY(0);
    }

    .module-description {
        color: #4a5568;
        line-height: 1.6;
        margin: 15px 0;
        font-size: 0.95rem;
        text-align: center;
        width: 100%;
        padding: 0 10px;
    }

    .module-badge {
        position: absolute;
        top: 15px;
        right: 15px;
        background: #2b6cb0;
        color: white;
        padding: 5px 12px;
        border-radius: 20px;
        font-size: 0.8rem;
        font-weight: 600;
        letter-spacing: 0.5px;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    }

    .module-card.suayed .module-badge {
        background: #38b2ac;
    }

    .module-card.profesores .module-badge {
        background: #d69e2e;
    }

    /* Modal para imágenes */
    .image-modal {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.9);
        z-index: 1100;
        align-items: center;
        justify-content: center;
        opacity: 0;
        transition: opacity 0.3s ease;
        padding: 20px;
        box-sizing: border-box;
    }

    .image-modal.active {
        display: flex;
        opacity: 1;
    }

    .image-modal-content {
        max-width: 90%;
        max-height: 90vh;
        position: relative;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .image-modal-content img {
        max-width: 100%;
        max-height: 80vh;
        border-radius: 8px;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
        object-fit: contain;
    }

    .image-modal-caption {
        color: white;
        text-align: center;
        margin-top: 15px;
        font-size: 1rem;
        padding: 10px;
        background: rgba(0, 0, 0, 0.6);
        border-radius: 5px;
        max-width: 800px;
    }

    .close-image-modal {
        position: absolute;
        top: 20px;
        right: 20px;
        background: none;
        border: none;
        color: white;
        font-size: 2rem;
        cursor: pointer;
        z-index: 1101;
        width: 50px;
        height: 50px;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: transform 0.2s ease;
    }

    .close-image-modal:hover {
        transform: scale(1.1);
    }

    .image-nav {
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        background: rgba(255, 255, 255, 0.2);
        color: white;
        border: none;
        width: 50px;
        height: 50px;
        border-radius: 50%;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 1.5rem;
        transition: background 0.3s ease;
        z-index: 1101;
    }

    .image-nav:hover {
        background: rgba(255, 255, 255, 0.3);
    }

    .prev-image {
        left: 20px;
    }

    .next-image {
        right: 20px;
    }

    /* RESPONSIVE */
    @media (max-width: 1024px) {
        .modules-grid {
            grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
            gap: 25px;
        }
        
        .module-card {
            padding: 22px;
        }
        
        .module-images {
            grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
        }
        
        .module-image-container {
            height: 160px;
        }
    }

    @media (max-width: 768px) {
        .modules-section {
            padding: 25px 15px;
        }
        
        .modules-section h2 {
            font-size: 1.6rem;
            margin-bottom: 25px;
        }
        
        .modules-grid {
            grid-template-columns: 1fr;
            max-width: 600px;
            gap: 20px;
        }
        
        .module-card {
            padding: 20px;
            max-width: 100%;
        }
        
        .module-header {
            flex-direction: column;
            gap: 10px;
            text-align: center;
        }
        
        .module-icon {
            width: 55px;
            height: 55px;
            font-size: 1.8rem;
        }
        
        .module-title {
            font-size: 1.4rem;
        }
        
        .module-images {
            grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
            gap: 12px;
        }
        
        .module-image-container {
            height: 140px;
        }
        
        .module-location p {
            font-size: 1.1rem;
        }
        
        .module-description {
            font-size: 0.9rem;
        }
        
        .image-nav {
            width: 40px;
            height: 40px;
            font-size: 1.3rem;
        }
        
        .close-image-modal {
            font-size: 1.8rem;
            width: 40px;
            height: 40px;
        }
    }

    @media (max-width: 480px) {
        .modules-section {
            padding: 20px 12px;
        }
        
        .modules-section h2 {
            font-size: 1.4rem;
            margin-bottom: 20px;
        }
        
        .modules-grid {
            gap: 15px;
        }
        
        .module-card {
            padding: 18px 15px;
        }
        
        .module-icon {
            width: 50px;
            height: 50px;
            font-size: 1.6rem;
        }
        
        .module-title {
            font-size: 1.3rem;
        }
        
        .module-images {
            grid-template-columns: 1fr;
            gap: 10px;
        }
        
        .module-image-container {
            height: 160px;
        }
        
        .module-location {
            padding: 12px;
        }
        
        .module-location p {
            font-size: 1rem;
        }
        
        .image-modal-content img {
            max-height: 70vh;
        }
    }

        /* Estilo para la nota de uso restringido */
    .usage-note {
        background-color: #fffaf0;
        border-left: 4px solid #d69e2e;
        border-radius: 6px;
        padding: 15px 20px;
        margin: 20px 0;
        width: 100%;
        box-shadow: 0 2px 4px rgba(214, 158, 46, 0.1);
        text-align: center;
    }

    .usage-note-content {
        display: flex;
        align-items: center;
        gap: 12px;
        color: #744210;
        font-size: 0.95rem;
        font-weight: 600;
        line-height: 1.5;
        margin: 0;
    }

    .usage-note-content i {
        color: #d69e2e;
        font-size: 1.2rem;
        flex-shrink: 0;
    }

    .usage-note-content span {
        flex: 1;
        text-align: left;
    }

    /* Ajustes para las tarjetas con la nota */
    .module-card .usage-note {
        order: 3; /* Colocar después de la descripción y antes de las imágenes */
    }

    /* Responsive para la nota de uso */
    @media (max-width: 768px) {
        .usage-note {
            padding: 12px 15px;
            margin: 15px 0;
        }
        
        .usage-note-content {
            font-size: 0.9rem;
            flex-direction: column;
            text-align: center;
            gap: 8px;
        }
        
        .usage-note-content i {
            font-size: 1.1rem;
        }
        
        .usage-note-content span {
            text-align: center;
        }
    }

    @media (max-width: 480px) {
        .usage-note {
            padding: 10px 12px;
            margin: 12px 0;
        }
        
        .usage-note-content {
            font-size: 0.85rem;
        }
    }      


  /* ================= modal ================= */
  :root{
    --azul-unam:#0b2f5b;
    --dorado-unam:#d69e2e;
  }
  
  /* Modal FCA */
  .pcpuma-modal .modal-content{
    border-radius:16px;
    animation:modalFadeUp .35s ease;
  }
  
  /* Header institucional */
  .pcpuma-modal .modal-header{
    background:var(--dorado-unam);
    color:#fff;
    border-bottom:none;
  }
  
  /* Footer */
  .pcpuma-modal .modal-footer{
    border-top:none;
  }
  
  /* Body */
  .pcpuma-modal .modal-body{
    line-height:1.6;
    color: #0b2f5b;
    font-size: 12px;
  }
  
  /* Fullscreen móvil: quitar bordes */
  @media (max-width: 575px){
    .pcpuma-modal .modal-content{
      border-radius:0;
    }
  }
  
  /* Animación suave */
  @keyframes modalFadeUp{
    from{
      transform:translateY(20px);
      opacity:0;
    }
    to{
      transform:translateY(0);
      opacity:1;
    }
  }
  .modal-backdrop.show{
    opacity:.75;
    background:#000;
  }
    

  .accordion-body p{
  text-align: left !important;
  margin-left: 0 !important; 
  font-size: 16px;
  }


.carousel-wrapper{
  background:#f5f7f9;
  padding:40px 0;
}

.carousel-card{
  max-width:600px;
  margin:auto;
  background:#fff;
  border-radius:12px;
  padding:24px;
}

.carousel-card img{
  border-radius:10px;
}

.carousel-title{
  color:#1f4e8c;
  font-weight:600;
}

.carousel-text-box{
  border:1px solid #e3e8ef;
  border-radius:8px;
  padding:18px;
  background:#fbfcfe;
}

.controls{
  display:flex;
  justify-content:center;
  align-items:center;
  gap:20px;
  margin-top:25px;
}

.ctrl{
  width:44px;
  height:44px;
  border-radius:50%;
  border:none;
  color:#fff;
  font-size:18px;
}

.ctrl.prev{ background:#2b6cb0; }
.ctrl.next{ background:#2b6cb0; }

.dots{
  display:flex;
  justify-content:center;
  gap:8px;
  margin-top:16px;
}

.dot{
  width:8px;
  height:8px;
  border-radius:50%;
  background:#d3d8de;
}

.dot.active{
  background:#2b6cb0;
}

/* CARRUSEL DE 3 ÍTEMS VISIBLES */
.carousel-multiple {
    position: relative;
    width: 100%;
    overflow: hidden;
    padding: 0 40px; /* Espacio para flechas */
}

.carousel-track {
    display: flex;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    gap: 20px;
}

.carousel-slide {
    flex: 0 0 calc(33.333% - 14px); /* 3 items con gap incluido */
    min-width: 0; /* Importante para flex-shrink */
    opacity: 0.95;
    transition: opacity 0.3s ease;
}

.carousel-slide.active {
    opacity: 1;
}

.carousel-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    border: 1px solid #e2e8f0;
    height: 100%;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.carousel-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.carousel-card img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    border-bottom: 2px solid #f1f5f9;
}

.carousel-title {
    color: #2c5282;
    font-size: 1.1rem;
    padding: 15px 15px 5px;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-title i {
    color: #2b6cb0;
    margin-right: 8px;
}

.carousel-text-box {
    padding: 0 15px 20px;
    color: #4a5568;
    line-height: 1.5;
    font-size: 0.95rem;
}

/* CONTROLES DEL CARRUSEL */
.carousel-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-top: 25px;
    position: relative;
}

.ctrl {
    background: #2b6cb0;
    color: #fff !important;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    transition: all 0.3s ease;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
}

.ctrl.prev {
    left: 0;
}

.ctrl.next {
    right: 0;
}

.ctrl:hover {
    background: #1a365d;
    transform: translateY(-50%) scale(1.1);
}

.ctrl:disabled {
    background: #a0aec0;
    cursor: not-allowed;
    transform: translateY(-50%);
}

/* INDICADORES */
.dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 15px;
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #e2e8f0;
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background: #2b6cb0;
    transform: scale(1.2);
}

/* CARRUSEL ESPECIAL DE 2 SLIDES - PARA EL CARRUSEL DE USO DEL DISPOSITIVO */
.carousel-multiple.double-view .carousel-slide {
    flex: 0 0 calc(50% - 10px); /* 2 items con gap incluido */
}

/* RESPONSIVE */
@media (max-width: 1200px) {
    .carousel-slide {
        flex: 0 0 calc(50% - 10px); /* 2 items en tablet grande */
    }
    
    .carousel-multiple.double-view .carousel-slide {
        flex: 0 0 calc(50% - 10px); /* Mantener 2 items */
    }
}

@media (max-width: 992px) {
    .carousel-multiple {
        padding: 0 35px;
    }
    
    .carousel-slide {
        flex: 0 0 calc(50% - 10px); /* 2 items */
    }
    
    .carousel-multiple.double-view .carousel-slide {
        flex: 0 0 calc(50% - 10px); /* Mantener 2 items */
    }
    
    .carousel-card img {
        height: 160px;
    }
}

@media (max-width: 768px) {
    .carousel-multiple {
        padding: 0 30px;
    }
    
    .carousel-slide {
        flex: 0 0 100%; /* 1 item en móvil */
    }
    
    .carousel-multiple.double-view .carousel-slide {
        flex: 0 0 100%; /* 1 item en móvil también */
    }
    
    .carousel-card img {
        height: 140px;
    }
    
    .ctrl {
        width: 35px;
        height: 35px;
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .carousel-multiple {
        padding: 0 25px;
    }
    
    .carousel-card img {
        height: 120px;
    }
    
    .carousel-title {
        font-size: 1rem;
        padding: 12px 12px 5px;
    }
    
    .carousel-text-box {
        padding: 0 12px 15px;
        font-size: 0.9rem;
    }
}

  

  /* ================= Carrusel  ================= */
  .oferta-wrapper {
    overflow: hidden;
    width: 100%;
    padding: 20px 0;
  }
  
  /* TRACK */
  .oferta-track {
    display: flex;
    gap: 20px; /* ✅ reemplaza margin */
    width: max-content;
    animation: scroll 25s linear infinite;
  }
  
  .oferta-wrapper:hover .oferta-track {
    animation-play-state: paused;
  }
  
  /* CARD BASE */
  .oferta-card {
    flex: 0 0 auto;          /* ✅ clave */
    background: #fff;
    border-radius: 14px;
    overflow: hidden;
  }
  
  /* ===== VARIANTES ===== */
  
  /* 3 visibles */
  .slider-3 .oferta-card {
    width: 360px;            /* ✅ ancho real */
  }
  
  /* 2 visibles */
  .slider-2 .oferta-card {
    width: 520px;
  }
  
  /* Imagen */
  .oferta-card img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    display: block;          /* ✅ elimina espacios fantasmas */
  }
  
  /* Animación continua REAL */
  @keyframes scroll {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
  }
  
  /* ===== RESPONSIVE ===== */
  @media (max-width: 992px) {
    .slider-3 .oferta-card {
      width: 320px;
    }
  }
  
  @media (max-width: 576px) {
    .slider-3 .oferta-card,
    .slider-2 .oferta-card {
      width: 85vw;           /* móvil limpio */
    }
  }
  

  .color_blanco{
    color: #fff !important;
  }

  .fondo_azul{
    background:#0c2d5c !important;
  }


.video-tutorial-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 12px;
    padding: 30px;
    margin-top: 30px;
    border: 1px solid #dee2e6;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.video-container {
    background: white;
    border-radius: 8px;
    padding: 25px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08);
    text-align: center;
}

.video-container h4 {
    color: #2c5282;
    padding-bottom: 10px;
    margin-bottom: 20px;
    display: inline-block;
    border-bottom: 2px solid #e2e8f0;
}

.custom-video-player {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.custom-video-player video {
    max-height: 400px;
    object-fit: contain;
    display: block;
    margin: 0 auto;
}

.video-controls {
    padding: 10px 0;
    width: 100%;
    display: flex;
    justify-content: center;
}

.report-button-container {
    margin-top: 30px;
}

.time-info {
    background-color: #e6fffa;
    border: 1px solid #81e6d9;
    border-radius: 8px;
    padding: 20px;
    margin: 30px auto;
    max-width: 800px;
    text-align: center;
}

.time-info p {
    color: #234e52;
    font-weight: 600;
    font-size: 1.2rem;
    margin: 0;
}

.time-highlight {
    color: #2b6cb0;
    font-weight: 700;
    font-size: 1.3rem;
}

/* Responsive para el video */
@media (max-width: 1200px) {
    .video-container {
        padding: 20px;
    }
}

@media (max-width: 992px) {
    .video-tutorial-section {
        padding: 20px;
    }
    
    .custom-video-player video {
        max-height: 350px;
    }
    
    .col-lg-10 {
        max-width: 90%;
    }
}

@media (max-width: 768px) {
    .video-tutorial-section {
        padding: 15px;
    }
    
    .video-container {
        padding: 15px;
    }
    
    .video-container h4 {
        font-size: 1.3rem;
    }
    
    .custom-video-player video {
        max-height: 250px;
    }
    
    .video-controls {
        flex-direction: column;
        gap: 10px;
    }
}

@media (max-width: 480px) {
    .video-container {
        padding: 12px;
    }
    
    .video-container h4 {
        font-size: 1.2rem;
    }
    
    .custom-video-player video {
        max-height: 200px;
    }
    
    .time-info {
        padding: 15px;
        margin: 20px auto;
    }
    
    .time-info p {
        font-size: 1.1rem;
    }
}

/* Animación para el botón de pantalla completa */
@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.btn-outline-primary:hover {
    animation: pulse 0.5s ease;
}

/* Asegurar que el video esté centrado */
.row.justify-content-center {
    display: flex;
    justify-content: center;
}

.text-center {
    text-align: center;
}
