/* Reset and base styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Geist', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  line-height: 1.6;
  color: #000;
  background-color: #fff;
  overflow-x: hidden;
}

.vert-c {
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Custom styles for Bootstrap integration */
.logo-img {
  max-height: 80px;
  width: auto;
}

.hamburger-line {
  width: 25px;
  height: 3px;
  margin: 3px 0;
  background-color: #000;
}

.stats-popup {
  z-index: 1050;
  max-width: 600px;
  display: none;
}

.logo-icon {
  width: 40px;
  height: 40px;
  font-weight: bold;
}

/* Header */
.header {
  background: #fff;
  border-bottom: 1px solid #e0e0e0;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.nav-btn {
  transition: all 0.3s ease;
}

.nav-btn:hover {
  background: #000 !important;
  color: #fff !important;
}

/* Top Banner */
.top-banner {
  background: #000;
  color: #fff;
  padding: 0.5rem 0;
  overflow: hidden;
}

.ticker-track {
  display: flex;
  width: max-content;             /* se ajusta al contenido */
  animation: ticker var(--speed, 30s) linear infinite;
  will-change: transform;
}

.ticker-item {
  white-space: nowrap;
  text-transform: uppercase;
  font-family: 'Geist', system-ui, sans-serif;
  font-weight: 400;
  font-size: 1.4rem;
  padding-right: 0.5rem;            /* separación entre repeticiones */
  flex: 0 0 auto;                 /* evita encogimiento */
}

@keyframes ticker {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);  /* se mueve exactamente el ancho de la primera copia */
  }
}

/* Accesibilidad: respeta usuarios que prefieren reducir animaciones */
@media (prefers-reduced-motion: reduce) {
  .ticker-track { animation: none; transform: none; }
}

/* Main Content */
.main-content {
  min-height: 100vh;
  padding: 2rem 0 0 0;
}

.main-title {
  font-family: 'Geist';
  font-weight: 400;
  font-size: 3.1rem;
  font-weight: 700;
  line-height: 120%;
  margin-bottom: 2rem;
}

.main-title a {
  color: #ff595a;
  font-family: 'Instrument Serif';
  font-weight: 400;
  font-style: normal;
  padding: 0 5px;
  cursor: pointer;
}

.main-title a:hover {
  color: #fff;
  background-color: #000;
}

.red-link {
  color: #0066cc;
  text-decoration: underline;
}

/* Stats Popup */
.stats-popup {
  background: #28a745;
  color: #fff;
  border-radius: 0.5rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.popup-header h3 {
  font-size: 1.1rem;
  font-weight: 600;
  line-height: 1.4;
}

.stats-content h4 {
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.stats-list {
  font-size: 0.95rem;
  line-height: 1.5;
}

.stat-line {
  margin-bottom: 0.5rem;
}

/* Location Section */
.location-section h2 {
  text-transform: uppercase;
  font-family: 'Geist';
  font-size: 5rem;
  font-weight: 700;
  margin-bottom: 2rem;
  line-height: 1.1;
}

.action-btn {
  font-family: 'Geist';
  transition: all 0.3s ease;
  border-radius: 0;
  padding: 0em 0.5em;
  line-height: 1em;
  font-weight: 700;
  background-color: #fff;
  color: #000;
  box-shadow: 8px 8px 11px -5px rgba(0,0,0,0.54);
  -webkit-box-shadow: 8px 8px 11px -5px rgba(0,0,0,0.54);
  -moz-box-shadow: 8px 8px 11px -5px rgba(0,0,0,0.54);
  font-size: 2.2em;
}

.action-btn:hover {
  background: #000 !important;
  color: #fff !important;
  transform: translateY(-2px);
}

/* Info Grid */
.info-grid {
  padding: 3rem 0;
}

.info-btn {
  transition: all 0.3s ease;
  border: 2px solid #000;
  min-height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.info-btn:hover {
  background: #000 !important;
  color: #fff !important;
  transform: translateY(-2px);
}

.info-btn.active {
  background: #000;
  color: #fff;
}

/* Black Buttons */
.black-buttons {
  padding: 3rem 0;
}

.black-btn {
  transition: all 0.3s ease;
  border: 2px solid #000;
}

.black-btn:hover {
  background: #fff !important;
  color: #000 !important;
  transform: translateY(-2px);
}

/* Footer */
.footer {
  background: #000;
  color: #fff;
  padding: 3rem 0;
}

.footer-logo {
  display: flex;
  align-items: center;
  margin-bottom: 1.5rem;
}

.footer-logo .logo-icon {
  width: 40px;
  height: 40px;
  background: #fff;
  color: #000;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  margin-right: 1rem;
}

.footer-logo .logo-main {
  font-weight: 700;
  font-size: 1.1rem;
  color: #fff;
  text-transform: uppercase;
}

.mission-text {
  font-size: 1.4rem;
  line-height: 120%;
  color: #fff;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2rem;
}

.footer-link {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #fff;
  text-decoration: none;
  padding: 20px 20px;
  transition: all 0.3s ease;
  border: 2px solid #fff;
  color: #fff;
  font-family: 'Geist';
  font-weight: 400;
  font-size: 1.6rem;
  text-transform: uppercase;
  position: relative;
}

.footer-link:hover {
  background-color: #a4a4a4;
  color: #000;
}

.footer-link .link-inside {
  font-family: 'Geist';
  display: inline-block;
  background-color: #000;
  color: #fff;
  font-weight: 400;
  padding: 20px 20px;
  text-transform: uppercase;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: left;
  text-align: center;
  line-height: 100%;
  height: 100%;
  font-size: 1.6rem;
  opacity: 0;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
}

.footer-link:hover .link-inside {
  opacity: 1;
}

.arrow {
  font-size: 1.2rem;
  margin-left: 0.5rem;
}

.newsletter-section h3 {
  font-family: 'Geist';
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 0;
  text-transform: uppercase;
}

.newsletter-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.newsletter-form .form-control {
  width: 100%;
  padding: 0.75rem;
  border-bottom: 1px solid #fff !important;
  background: #000;
  color: #fff;
  border-radius: 0;
  border: 0;
}

.newsletter-form .form-control::placeholder {
  color: #fff;
}

.form-group input:focus {
  outline: none;
  border-color: #fff;
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.25);
}

.subscribe-btn {
  background: #fff;
  color: #000;
  border: 0;
  padding: 0.3rem 1.5rem;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.3s ease;
  border-radius: 2rem;
  font-family: 'Geist';
  font-size: 1.5rem;
  font-weight: 600;
  border: 1px solid #000;
}

.subscribe-btn:hover {
  background: #000;
  color: #fff;
  border: 1px solid #fff;
}

.sponsor-logos {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 2rem;
  margin-top: 2rem;
  padding-top: 2rem;
}

.logo-item {
  font-weight: 600;
  color: #ccc;
  text-align: center;
}

/* Responsive Design */
@media (max-width: 1200px) {
  .stats-popup {
    max-width: 90%;
    margin: 0 1rem;
  }
}

@media (max-width: 768px) {
  .main-content {
    padding: 1rem 0;
  }

  .main-title {
    font-size: 1.8rem;
  }

  .location-section h2 {
    font-size: 2.5rem;
  }

  .footer-left {
    margin-bottom: 2rem;
  }

  .action-buttons,
  .black-buttons {
    flex-direction: column;
    gap: 1rem;
  }

  .info-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .sponsor-logos {
    flex-direction: column;
    gap: 1rem;
  }
}

@media (max-width: 480px) {
  .main-title {
    font-size: 1.5rem;
  }

  .location-section h2 {
    font-size: 2rem;
  }

  .stats-popup {
    max-width: 95%;
    padding: 1rem;
  }

  .stat-line {
    font-size: 0.9rem;
  }
}

.header-nav .nav-btn {
  border-radius: 0;
  padding: 0em 0.5em;
  line-height: 1em;
  font-size: 1.5em;
}

.header-nav .nav-btn:hover .hamburger-line {
  background-color: #fff !important;
}

/* Banner */
.hero-section {
  font-family: 'Geist';
}

.red-link {
  color: #ff595a;
  font-family: 'Instrument Serif';
  font-weight: 400;
  font-style: normal;
  padding: 0 5px;
  cursor: pointer;
}

.red-link:hover {
  color: #fff;
  background-color: #000;
}

/* Caja informativa */
.modal-header {
  border: 0;
  opacity: 1;
  padding: 0;
  position: absolute;
  right: 0;
  z-index: 3;
  top: 8px;
  right: 10px;
}

.modal-header button {
  font-family: 'Geist';
  padding: 0;
  margin: 0;
  text-align: right;
  width: 100%;
}

.modal-content {
  background-color: #ff595a;
  border-radius: 0;
  border: 1px solid #000;
  box-shadow: 8px 8px 11px -5px rgba(0,0,0,0.54);
  -webkit-box-shadow: 8px 8px 11px -5px rgba(0,0,0,0.54);
  -moz-box-shadow: 8px 8px 11px -5px rgba(0,0,0,0.54);
}

.modal-content p {
  font-size: 1.2rem;
  font-family: 'Geist';
}

.modal-content ul {
  margin-left: 0px;
  padding-left: 20px;
}

.modal-content ul li {
  font-size: 1.2rem;
  ffont-family: 'Geist';
}

.modal-backdrop.show {
  opacity: 0;
}

.modal-content .title-modal p {
  line-height: 120%;
  font-weight: 700;
}

.modal-info p {
  line-height: 110%;
  margin-bottom: 0;
  font-weight: 700;
}

.info-title p {
  line-height: 110%;
  margin-bottom: 3px;
  font-weight: 700;
}

.info-title small {
  line-height: 140%;
  display: inline-block;
}

.btn-grid a {
  font-family: 'Geist';
  display: inline-block;
  border: 1px solid #000;
  background-color: #fff;
  color: #000;
  font-weight: 400;
  padding: 20px 30px;
  text-transform: uppercase;
  text-decoration: none;
  transform: translateY(0px);
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 100%;
  height: 100%;
  font-size: 1.8rem;
  position: relative;
}

.btn-grid a:hover {
  background-color: #a4a4a4;
  color: #000;
  transform: translateY(-2px);
}

.btn-grid a .link-inside {
  font-family: 'Geist';
  display: inline-block;
  background-color: #000;
  color: #fff;
  font-weight: 400;
  padding: 15px 0px;
  text-transform: uppercase;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  line-height: 100%;
  height: 100%;
  font-size: 1.5rem;
  opacity: 0;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
}

.btn-grid a:hover .link-inside {
  opacity: 1;
}

.btn-grid a.active {
  background-color: #000;
  color: #fff;
}

/* Espaciado manual para escalonado */
.row-1 a:first-child {
  margin-right: 20px;
}

.row-1 {
  padding-left: 90px;
}

.row-2 {
  padding-right: 45px;
}

.row-2 a:first-child {
  margin-right: 20px;
}

.row-3 {
  padding-right: 90px;
}

.row-3 a:first-child {
  margin-right: 20px;
}

/* Tabla */

.table>thead tr th {
  background-color: #939393;
  line-height: 120%;
  font-weight: 400;
  border: 1px solid #000;
  padding: 0.8rem 0.5rem;
  font-size: 0.9rem;
}

.table>tbody tr th {
  background-color: #939393;
  border: 1px solid #000;
  font-weight: 400;
  padding: 0.8rem 0.5rem;
  font-size: 0.9rem;
}

.table>tbody tr td {
  background-color: #ff595a;
  border: 1px solid #000;
  font-weight: 400;
  padding: 0.8rem 0.5rem;
  font-size: 1.2rem;
}

.table>tbody tr td small {
  display: inline-block;
  line-height: 130%;
  font-size: 0.9rem;
}

.fundacion-logo {
  height: 32px;
  width: auto;
  object-fit: contain;
  margin-left: 2rem;
}

/* Donut con centro hueco y borde que se llena */
.donut{
  /* Ajusta valores a tu gusto */
  --val: 0;                    /* 0–100 */
  --size: 170px;               /* diámetro total */
  --thickness: 28px;           /* grosor del aro */
  --progress: #111111;         /* color del progreso (borde lleno) */
  --track: rgba(17,17,17,.12); /* color de la pista del aro */
  --text: #111111;

  position: relative;
  width: var(--size);
  height: var(--size);
  margin-inline: auto;
  border-radius: 50%;
  /* Pista del aro (borde tenue alrededor) */
  background:
    radial-gradient(closest-side,
      transparent calc(100% - var(--thickness)),
      var(--track) 0 99.9%,
      transparent 0); /* anillo fino exterior */
}

/* Arco de progreso solo en el borde (centro hueco) */
.donut::before{
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background:
    conic-gradient(var(--progress) calc(var(--val) * 1%), transparent 0);
    /* Recorta al grosor del aro (el centro queda vacío) */
    -webkit-mask: radial-gradient(closest-side,
      transparent calc(100% - var(--thickness)),
      #000 0);
    mask: radial-gradient(closest-side,
      transparent calc(100% - var(--thickness)),
      #000 0);
  border: 2px solid #000;
}

/* Número centrado */
.donut::after{
  content: var(--label, '0%');
  position: absolute; inset: 0;
  display: grid; place-items: center;
  font-weight: 900;
  font-size: clamp(1.25rem, 2.2vw, 2rem);
  color: var(--text);
}

/* Oculta el <p> interno si lo dejas por compatibilidad */
.donut > p{ opacity:0; height:0; margin:0; }

/* Donut “lleno” (para el 350): muestra el borde entero */
.donut[data-fill="full"]::before{
  background: conic-gradient(var(--progress) 100%, transparent 0);
}

/* Responsive */
@media (max-width:575.98px){
  .donut{ --size: 140px; --thickness: 24px; }
}

/*Ediciones*/

.anteriores h1 {
  font-family: 'Geist';
  font-weight: 700;
  line-height: 100%;
  text-transform: uppercase;
}

.anteriores .bg-archivo {
    position: relative;
    background-position: center;
    background-size: cover;
    min-height: 450px;
    -webkit-box-shadow: inset 10px 10px 5px 200px rgba(0, 0, 0, 0.47);
    -moz-box-shadow: inset 10px 10px 5px 200px rgba(0, 0, 0, 0.47);
    box-shadow: inset 10px 10px 5px 200px rgba(0, 0, 0, 0.47);
    border-radius: 0px;
}

.anteriores .ediciones {
  position: relative;
}

.anteriores .ediciones .caption {
  position: absolute;
  right: 10px;
  bottom: 10px;
  color: #fff;
  font-size: 0.7rem;
  left: 10px;
  text-align: center;
  z-index: 1;
}

.anteriores .ediciones .overlay {
    position: absolute;
    top: 15px;
    left: 15px;
    right: 30px;
    bottom: 15px;
    background-color: #ff595a;
    overflow: hidden;
    width: auto;
    height: 100%;
    transition: .5s ease;
    opacity: 0;
    min-height: 400px;
    z-index: 2;
    border-radius: 0px;
}

.anteriores .ediciones:hover .overlay, .anteriores .ediciones:focus .overlay {
    height: 400px;
    opacity: 1;
}

.anteriores .ediciones .portada-ano {
    position: absolute;
    top: 0px;
    left: 0px;
    z-index: 1;
    padding: 10px 10px;
    background-color: #000;
    border: 1px solid #fff;
}

.anteriores .ediciones .portada-ano p {
    font-family: 'Geist';
    font-weight: 700;
    color: #fff;
    margin-bottom: 0;
    line-height: 100%;
    font-size: 2.3rem;
}

.anteriores .titulo-archivo p {
    font-family: 'Geist';
    font-weight: 700;
    margin-bottom: 15px;
    line-height: 100%;
    color: #000;
    font-size: 1.4rem;
}

.anteriores .info-archivo p {
  font-family: 'Geist';
    color: #000;
    font-size: 0.79rem !important;
    line-height: 120%;
}

.anteriores .info-links {
    position: absolute;
    bottom: 0;
    width: 100%;
}

.anteriores .info-links ul {
    padding: 0;
    margin: 0 0 15px 15px;
    list-style: none;
    text-align: center;
    justify-content: left;
    display: flex;
}

.anteriores .info-links ul li {
    float: left;
    border-right: 1px solid #fff;
    padding: 0 6px;
}

.anteriores .info-links ul li:last-child {
    border-right: 0;
}

.anteriores .info-links ul li a {
  font-family: 'Geist';
    display: inline-block;
    background-color: transparent;
    color: #000;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    border: 1px solid #000;
    border-radius: 0px;
    padding: 5px 10px;
    text-transform: uppercase;
}

.anteriores .info-links ul li a:hover {
    border: 1px solid #000;
    background-color: #000;
    color: #fff;
}

/*Banner*/
.top-image{
  position: relative;
  height: var(--hero-height);
}

.top-image img{
  position: fixed;
  width: 100%;
  object-fit: cover;
  object-position: top center;
  z-index: -2;
  transform: translateZ(0);
}

.section-content{
  position: relative;
  z-index: 1;
}

.top-image::after{
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  background: linear-gradient(180deg, rgba(0,0,0,.35), rgba(0,0,0,0) 40%);
  pointer-events: none;
}

.location-section.top-local {
  position: fixed;
  bottom: 15px;
  padding-left: 10px;
  z-index: -1;
}

.location-section.top-local h2 {
  color: #fff;
  opacity: 0.9;
  text-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.top-menu-pla26 {
  background-color: #000;
  border-top: 1px solid #fff;
}

.top-menu-pla26 a {
  color: #fff;
  text-decoration: none;
  text-align: center;
  display: block;
  padding: 5px 15px;
  font-size: 1.2rem;
  font-weight: 700;
  text-transform: uppercase;
}

.top-menu-pla26 a:hover {
  color: #000;
  background-color: #fff;
}

.more-info {
  position: fixed;
  bottom: 15px;
  right: 20px;
  z-index: -1;
}

.more-info p {
  font-size: 1.2rem;
  color: #fff;
  font-weight: 700;
  margin-bottom: 0;
  text-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}
