/* ================= VARIABLES Y CONFIGURACIÓN BASE ================= */
:root {

  --marketing-green: #0a2f1c;
  --marketing-bright-green: #00ff66;
}

html, body {
  margin: 0;
  padding: 0;
  font-family: 'Montserrat', sans-serif;
  background-color: #051c10;
  color: #051c10;

  /* Scroll overlay (cuando el navegador lo soporte) */
  overflow-y: overlay;

  /* Ocultar scrollbar en Firefox */
  scrollbar-width: none;
}

/* Ocultar scrollbar en Chrome */
body::-webkit-scrollbar {
  display: none;
}

/* ================= SCROLLBAR CUSTOM ================= */
.scrollbar {
  position: fixed;
  top: 0;
  right: 8px;
  width: 6px;
  height: 100vh;

  z-index: 9999;
  pointer-events: none; /* 👈 no interfiere con clicks */
}

.thumb {
  width: 100%;
  position: absolute;
  top: 0;

  background: var(--marketing-bright-green);
  border-radius: 10px;

  box-shadow: 0 0 10px var(--marketing-bright-green),
              0 0 20px var(--marketing-bright-green);

  transition: background 0.3s ease;
}

/* Hover opcional (si decides activar pointer-events) */
.scrollbar:hover .thumb {
  background: #00cc55;
}

/* ================= CONTENIDO DEMO ================= */
.contenido {
  min-height: 200vh; /* solo para probar scroll */
}

/* ================= NAVEGACIÓN ================= */
.navbar {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  background: transparent;
  padding: 15px 30px;
  display: flex;
  justify-content: flex-start;
  box-sizing: border-box;
  z-index: 10;
}

.menu ul {
  list-style: none;
  display: flex;
  gap: 25px;
  margin: 0;
  padding: 0;
}

.menu a {
  color: white;
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
}

.menu ul {
  list-style: none;
  display: flex;
  gap: 35px;
  margin: 0;
  padding: 0;
}

.menu a {
  color: white;
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  transition: color 0.3s ease;
}

.menu a:hover {
  color: var(--marketing-bright-green);
}

/* ================= ESTILOS DEL NUEVO LOGO ================= */
.logo-link {

  text-decoration: none;
  outline: none;
}

.nav-logo {

  height: 60px;
  width: auto;
  display: block;
  transition: transform 0.3s ease;
  border-radius: 13px;
}


.nav-logo:hover {
  transform: scale(1.05);
}

/* ================= FOOTER ================= */
.footer-section {
  background: linear-gradient(to bottom, #0a2f1c, #051c10);
  color: white;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 80px;
  padding: 80px 20px;
}

.footer-column h4 {
  font-size: 18px;
  font-weight: 800;
  margin-bottom: 25px;
}

.footer-column a {
  display: block;
  color: #aaa;
  text-decoration: none;
  margin-bottom: 15px;
  font-size: 14px;
  transition: 0.3s;
}

.footer-column a:hover {
  color: white;
}
/* ================= SECCIÓN ABOUT US  ================= */


.about-container {
  max-width: 1100px; 
  margin: 120px auto 60px auto; 
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  gap: 25px; 
}


.hero-image {
  width: 100%;
  height: auto;
  border-radius: 20px; 
  display: block;
  object-fit: cover; 
  animation: fadeIn 1.2s ease-out;
}

/* Blanco pequeño arriba */
.text-solid-white {
  color: #ffffff;
  font-size: clamp(14px, 1.5vw, 18px);
  letter-spacing: 2px;
  margin-bottom: 10px;
}

/* Verde medio */
.text-solid-green-1 {
  color: #00ff66;
  font-size: clamp(18px, 2.5vw, 28px);
  margin-bottom: 30px;
}

/* Título principal */
.text-outline {
  color: white;
  font-weight: 900;
  font-size: clamp(40px, 8vw, 140px);
  -webkit-text-stroke: 2px #ffffff;

  text-shadow:
    0 0 10px rgba(255,255,255,0.2),
    0 0 20px rgba(0,255,102,0.15);

  margin-bottom: 30px;
}

/* Verde inferior */
.text-solid-green-2 {
  color: #00ff66;
  font-size: clamp(16px, 2vw, 24px);
  letter-spacing: 1px;
}

.eventos-title{
  text-align: center;
  animation: fadeIn 1.2s ease-out;
}

.experiences-container {
  max-width: 900px;
  margin: 0 auto;
}

.mission-vision-section {
  display: flex;
  gap: 25px; 
}


.mv-card {
  background-color: var(--marketing-bright-green); 
  flex: 1; 
  border-radius: 20px; 
  padding: 40px;
  box-sizing: border-box;
  color: #051c10; 
  min-height: 200px; 
}

.mv-card h2 {
  font-size: 32px;
  font-weight: 800; 
  margin-top: 0;
  margin-bottom: 20px;
  text-transform: uppercase;
}


.mv-card p {
  font-size: 18px;
  line-height: 1.4; 
  margin: 0;
  font-weight: 600; 
}

/* ================= DISEÑO RESPONSIVO ================= */

@media (max-width: 768px) {
  .mission-vision-section {
    flex-direction: column; 
  }
  
  .mv-card {
    min-height: auto; 
  }
}

/* ================= SECCIÓN DOCUMENTOS ================= */


.documents-section {
  position: relative;
  width: 100%;
  padding: 100px 20px;
  box-sizing: border-box;
  overflow: hidden; 
  display: flex;
  justify-content: center;
  z-index: 0; 
}


.bg-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover; 
  z-index: -1; 
}


.documents-content {
  position: relative;
  z-index: 1; 
  max-width: 800px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}


.documents-title {
  font-family: 'Georgia', 'Times New Roman', serif; 
  font-size: 52px;
  color: white;
  margin-top: 0;
  margin-bottom: 50px;
  font-weight: normal;
}


.cards-container {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
}


.doc-card {
  background-color: white;
  border-radius: 12px;
  padding: 30px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.doc-info {
  flex: 1;
}

.doc-info h3 {
  margin: 0 0 8px 0;
  font-size: 22px;
  font-weight: 800;
}


.doc-meta {
  font-size: 13px;
  color: #777;
  font-family: 'Courier New', Courier, monospace; 
  display: block;
  margin-bottom: 15px;
}

.doc-info p {
  margin: 0;
  font-size: 16px;
  color: #333;
  line-height: 1.5;
  font-weight: 600;
}


.doc-btn {
  background-color: black;
  color: white;
  border: none;
  padding: 12px 20px;
  font-family: 'Courier New', Courier, monospace;
  font-size: 14px;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s ease;
  flex-shrink: 0; 
}

.doc-btn:hover {
  background-color: #333;
}

/* ================= DISEÑO RESPONSIVO ================= */
@media (max-width: 650px) {
  .doc-card {
    flex-direction: column; 
  }
  
  .doc-btn {
    align-self: flex-start; 
    width: 100%; 
  }
}

/* ================= SECCIÓN ORGANIGRAMA ================= */

.org-chart-section {
  width: 100%;
  padding: 80px 20px;
  box-sizing: border-box;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  position: relative;
  z-index: 1; 
}

.org-tree {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  max-width: 1100px;
}


.org-node {
  color: white;
  font-family: 'Montserrat', sans-serif;
  font-weight: 800; 
  text-align: center;
  border-radius: 30px; 
  z-index: 2; 
  box-shadow: 0 4px 15px rgba(0,0,0,0.3); 
}


.level-1 { 
  background-color: #0c6a35; 
  font-size: 26px; 
  padding: 15px 40px; 
}

.level-2 { 
  background-color: #00a854; 
  font-size: 22px; 
  padding: 12px 35px; 
}

.level-3 { 
  background-color: #1aff66; 
  color: #051c10; 
  font-size: 14px; 
  padding: 12px 15px; 
  width: 100%; 
  box-sizing: border-box;
}


.org-line-vertical {
  width: 4px;
  height: 25px;
  background-color: white;
  position: relative;
  margin: 0 auto;
}


.long-line {
  height: 80px;
}


.org-arrow::after {
  content: '';
  position: absolute;
  bottom: -10px; 
  left: 50%;
  transform: translateX(-50%);
  border-width: 10px 10px 0 10px;
  border-style: solid;
  border-color: white transparent transparent transparent;
}


.org-branches-container {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}


.org-line-horizontal {
  width: 85%;
  height: 4px;
  background-color: white;
}


.org-branches-row {
  display: flex;
  width: 100%;
  justify-content: space-between;
  align-items: flex-start;
}


.org-branch {
  flex: 1; 
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* ================= DISEÑO RESPONSIVO ================= */
@media (max-width: 850px) {
  .org-branches-row {
    flex-direction: column; 
    gap: 15px;
    align-items: center;
  }
  
  .org-line-horizontal {
    width: 4px;
    height: 40px; 
  }
  
  
  .org-branch .org-line-vertical {
    display: none; 
  }
  
  .level-3 {
    width: 250px; 
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}


.popup {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.75);

  justify-content: center;
  align-items: center;
}

.popup-content{
  width: 80%;
  max-width: 1100px;
  min-height: 500px;

  background: #062b18;

  border: 2px solid #00ff66;
  border-radius: 25px;

  padding: 50px;

  position: relative;

  display: flex;
  align-items: center;
  justify-content: center;
  gap: 60px;

  animation: popupFade 0.3s ease;
}

.popup-content img{
  width: 420px;
  max-width: 100%;

  border: 3px solid #00ff66;
  border-radius: 20px;

  object-fit: cover;

  box-shadow: 0 0 25px rgba(0,255,102,0.35);
}

.popup-text{
  max-width: 450px;
  text-align: left;
}

.popup-text h2{
  font-size: 52px;
  margin-bottom: 25px;

  color: white;
}

.popup-text p{
  font-size: 24px;
  line-height: 1.6;

  color: #d9d9d9;
}

.close-btn{
  position: absolute;
  top: 20px;
  right: 25px;

  font-size: 38px;
  color: white;

  cursor: pointer;

  transition: 0.3s;
}

.close-btn:hover{
  transform: scale(1.2);
  color: #00ff66;
}

.close-btn {
  position: absolute;
  top: 10px;
  right: 18px;
  font-size: 30px;
  cursor: pointer;
}

.popup-btn {
  cursor: pointer;
  transition: 0.3s;
}

.popup-btn:hover {
  transform: scale(1.05);
}

@keyframes popupFade {
  from {
    opacity: 0;
    transform: scale(0.7);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* ================= RESPONSIVE ================= */

@media (max-width: 900px){
  .popup-content{
    width: 90%;
    min-height: auto;
    flex-direction: column;
    gap: 30px;
    padding: 35px 25px;
    text-align: center;
    overflow-y: auto;
  }
  .popup-content img{
    width: 100%;
    max-width: 320px;
  }
  .popup-text{
    max-width: 100%;
    text-align: center;
  }
  .popup-text h2{
    font-size: 38px;
    margin-bottom: 18px;
  }
  .popup-text p{
    font-size: 20px;
    line-height: 1.5;
  }

}

/* CELULARES */

@media (max-width: 600px){

  .popup-content{
    width: 92%;
    padding: 25px 18px;
    border-radius: 18px;
    gap: 25px;
  }
  .popup-content img{
    max-width: 100%;
    border-radius: 15px;
  }
  .popup-text h2{
    font-size: 30px;
  }
  .popup-text p{
    font-size: 17px;
  }
  .close-btn{
    top: 12px;
    right: 16px;
    font-size: 30px;
  }

}