html {
  scroll-behavior: smooth;
}

@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Crimson+Pro:ital,wght@0,300;0,400;1,300&display=swap');

@font-face {
  font-family: 'ArtegraSansBlack';
  src: url('tipografia/black.otf') format('opentype');
  font-weight: 900;
  font-style: normal;
}

/* ══════════════════════════════════════
   SECCIÓN 1 - CONTENIDO HERO
══════════════════════════════════════ */
.seccion1 {
  position: relative;
  width: 100%;
  min-height: 100vh;
  background-image: url('../recursos/HO3.png');
  background-size: cover;
  background-position: top;
  background-repeat: no-repeat;
}

.seccion1-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 53, 61, 0.608);
  z-index: 100;
}
/* rgba(53, 100, 105, 0.55);*/
.seccion1-content {
  position: relative;
  z-index: 200;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: 2rem 1.5rem;
  text-align: center;
  gap: 0;
}

.seccion1-badge {
  font-family: 'Crimson Pro', serif;
  font-size: clamp(0.7rem, 1.5vw, 0.85rem);
  font-weight: 300;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.25);
  padding: 0.4rem 1.2rem;
  margin-bottom: 2rem;
  animation: fadeSlideDown 1s ease both;
  animation-delay: 0.2s;
}

.seccion1-titulo {
  font-family: 'ArtegraSansBlack', sans-serif;
  font-weight: 900;
  font-size: clamp(2.9rem, 10vw, 5.5rem);
  line-height: 0.92;
  color: #ffffff;
  letter-spacing: 0.09em;
  margin: 0 0 1.5rem;
  text-shadow: 0 4px 40px rgba(0, 0, 0, 0.448);
  
}

.titulo-linea1 {
  display: block;
  animation: fadeSlideDown 1s ease both;
  animation-delay: 0.4s;
  padding-bottom: 5px;

}

.titulo-linea2 {
  display: block;
  color: #e1c11c;
  animation: fadeSlideDown 1s ease both;
  animation-delay: 0.55s;
  
}

.seccion1-divider {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: #f7c50fe2;
  margin-bottom: 1.25rem;
  animation: fadeIn 1s ease both;
  animation-delay: 0.7s;
}

.seccion1-divider span {
  display: block;
  width: clamp(40px, 8vw, 80px);
  height: 1px;
  background: #f7c50fe2;
}

.seccion1-subtitulo {
  font-family: 'Crimson Pro', serif;
  font-style: italic;
  font-size: clamp(1.1rem, 2.5vw, 1.5rem);
  font-weight: 300;
  color: rgba(255, 255, 255, 0.85);
  letter-spacing: 0.05em;
  margin: 0 0 2.5rem;
  animation: fadeIn 1s ease both;
  animation-delay: 0.85s;
}

.seccion1-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: 'Crimson Pro', serif;
  font-size: clamp(0.85rem, 1.8vw, 1rem);
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  text-decoration: none;
  color: #ffffff;
  background: transparent;
  border: 1.5px solid rgba(255, 255, 255, 0.6);
  padding: 0.85rem 2.2rem;
  position: relative;
  overflow: hidden;
  transition: color 0.35s ease, border-color 0.35s ease;
  animation: fadeSlideUp 1s ease both;
  animation-delay: 1s;
}

.seccion1-btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: #f7c50f1b;
  transform: translateX(-101%);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.seccion1-btn:hover::before {
  transform: translateX(0);
}

.seccion1-btn:hover {
  border-color: #f7c50fe2;
}

.seccion1-btn svg {
  transition: transform 0.3s ease;
}

.seccion1-btn:hover svg {
  transform: translateX(4px);
}

/* Scroll hint */
.seccion1-scroll-hint {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.8rem;
  color: rgba(255, 255, 255, 0.6);
  font-family: 'Crimson Pro', serif;
  font-size: 0.75rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  text-decoration: none;
  transition: color 0.3s ease;
  z-index: 210;
  animation: fadeIn 1.5s ease both;
  animation-delay: 1.4s;
}

.seccion1-scroll-hint:hover {
  color: #d9d6cde2;
}

.scroll-line {
  position: relative;
  width: 1px;
  height: 60px;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0.5), transparent);
  overflow: visible;
}

.scroll-dot {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 8px;
  height: 8px;
  background: #f7c50fe2;
  border-radius: 50%;
  box-shadow: 0 0 10px #f7c50fa2;
  animation: scrollDotAnim 2.5s cubic-bezier(0.65, 0, 0.35, 1) infinite;
}

/* ══════════════════════════════════════
   ANIMACIONES
══════════════════════════════════════ */

@keyframes fadeSlideDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeSlideUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes scrollPulse {
  0%, 100% {
    opacity: 0.4;
  }
  50% {
    opacity: 0.8;
  }
}

@keyframes scrollDotAnim {
  0%, 100% {
    top: 5%;
    transform: translateX(-50%) scale(1);
    opacity: 1;
  }
  50% {
    top: 85%;
    transform: translateX(-50%) scale(0.8);
    opacity: 0.5;
  }
}

/* ══════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════ */

@media (max-width: 768px) {
  .seccion1-content {
    padding: 2rem 1.25rem;
    justify-content: center;
  }

  .seccion1-titulo {
    line-height: 0.90;
    position: relative;
    padding: 0 10px;
   
  }


  /* Línea decorativa lateral pequeña para el título móvil */
  .titulo-linea2 {
    display: inline-block;
    position: relative;
    padding-bottom: 5px;
  }

  .titulo-linea2::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 15%;
    width: 70%;
    height: 1.5px;
    background: currentColor;
    opacity: 0.6;
  }

  .seccion1-btn {
    padding: 0.8rem 1.8rem;
  }

  .seccion1-scroll-hint {
    bottom: 1.5rem;
  }
}

@media (max-width: 480px) {
  .seccion1-badge {
    font-size: 0.65rem;
    letter-spacing: 0.25em;
    padding: 0.35rem 0.9rem;
    border-top: 2px solid rgba(255, 255, 255, 0.4); /* Línea extra superior */
  }

  .seccion1-divider span {
    width: 30px;
  }
}
/* ══════════════════════════════════════
   SECCIÓN CANDIDATOS (HOME)
══════════════════════════════════════ */
.candidatos-home {
  padding: 110px 20px;
  background: linear-gradient(160deg, #011820 0%, #01282f 50%, #012026 100%);
  text-align: center;
  position: relative;
  overflow: hidden;
}

/* Fondo decorativo radial sutil */
.candidatos-home::before {
  content: '';
  position: absolute;
  top: -200px;
  left: 50%;
  transform: translateX(-50%);
  width: 900px;
  height: 900px;
  background: radial-gradient(ellipse at center, rgba(247, 197, 15, 0.06) 0%, transparent 70%);
  pointer-events: none;
  z-index: 1;
}



.candidatos-container {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

/* ── Header ─────────────────────────── */
.candidatos-header {
  margin-bottom: 70px;
}

.candidatos-badge {
  font-family: 'Crimson Pro', serif;
  font-size: 0.72rem;
  letter-spacing: 0.4em;
  color: #f7c50f;
  text-transform: uppercase;
  font-weight: 700;
  display: block;
  margin-bottom: 16px;
  opacity: 0.85;
}

.candidatos-titulo {
  font-family: 'Georgia', serif;
  font-size: 2.5rem;
  color: #ffffff;
  margin: 0 0 15px;
  line-height: 1.15;
}

.candidatos-titulo span {
  color: #f7c50f;
  font-style: italic;
}

/* Footer del botón */
.candidatos-footer {
  text-align: center;
  margin-top: 52px;
  position: relative;
  z-index: 5;
}

/* ── Grid ───────────────────────────── */
.candidatos-grid {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 60px 80px;
}

/* ── Card ───────────────────────────── */
.candidato-card {
  flex: 1;
  min-width: 260px;
  max-width: 400px;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.45s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  cursor: default;
}

.candidato-card:hover {
  transform: translateY(-14px);
}

/* ── Imagen ─────────────────────────── */
.candidato-img-wrapper {
  width: clamp(220px, 18vw, 280px);
  height: clamp(220px, 18vw, 280px);
  border-radius: 50%;
  overflow: hidden;
  position: relative;
  margin-bottom: 32px;
  /* Anillo dorado exterior */
  box-shadow:
    0 0 0 3px rgba(247, 197, 15, 0.5),
    0 0 0 8px rgba(247, 197, 15, 0.08),
    0 25px 60px rgba(0, 0, 0, 0.5);
  transition: box-shadow 0.45s ease;
}

.candidato-img-wrapper::before {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: 50%;
  background: conic-gradient(
    from 0deg,
    #f7c50f 0deg,
    rgba(247, 197, 15, 0.2) 90deg,
    #f7c50f 180deg,
    rgba(247, 197, 15, 0.2) 270deg,
    #f7c50f 360deg
  );
  z-index: -1;
  opacity: 0;
  transition: opacity 0.45s ease;
}

.candidato-card:hover .candidato-img-wrapper::before {
  opacity: 1;
  animation: rotateRing 6s linear infinite;
}

@keyframes rotateRing {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

.candidato-card:hover .candidato-img-wrapper {
  box-shadow:
    0 0 0 3px #f7c50f,
    0 0 0 10px rgba(247, 197, 15, 0.15),
    0 30px 80px rgba(247, 197, 15, 0.2),
    0 30px 80px rgba(0, 0, 0, 0.4);
}

.candidato-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  transition: transform 0.6s ease;
  display: block;
}

.candidato-card:hover .candidato-img-wrapper img {
  transform: scale(1.07);
}

/* ── Info ───────────────────────────── */
.candidato-info {
  text-align: center;
}

.candidato-info h3 {
  font-family: 'ArtegraSansBlack', sans-serif;
  font-size: clamp(1.3rem, 2.5vw, 1.65rem);
  color: #ffffff;
  margin: 0 0 10px;
  letter-spacing: 0.04em;
  transition: color 0.3s ease;
}

.candidato-card:hover .candidato-info h3 {
  color: #f7c50f;
}

.candidato-puesto {
  font-family: 'Crimson Pro', serif;
  font-size: 0.82rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.5);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  display: block;
  line-height: 1.5;
}

/* Separador decorativo bajo el nombre */
.candidato-info::after {
  content: '';
  display: block;
  width: 0;
  height: 2px;
  background: #f7c50f;
  margin: 14px auto 0;
  border-radius: 1px;
  transition: width 0.4s ease;
}

.candidato-card:hover .candidato-info::after {
  width: 50px;
}

/* ══════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════ */

/* Tablet */
@media (max-width: 900px) {
  .candidatos-home {
    padding: 80px 24px;
  }

  .candidatos-grid {
    gap: 50px 40px;
  }
  .candidatos-home {
  background-image: linear-gradient(rgba(1, 32, 38, 0.8), rgba(1, 32, 38, 0.75)), url('../recursos/IMG_2184.webp');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
}

  .candidato-img-wrapper {
    width: 230px;
    height: 230px;
  }
}

/* Mobile */
@media (max-width: 600px) {
  .candidatos-home {
    padding: 50px 25px;
  }
  .candidatos-home {
  background-image: linear-gradient(rgba(1, 32, 38, 0.8), rgba(1, 32, 38, 0.75)), url('../recursos/IMG_2184.webp');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
}

  .candidatos-header {
    margin-bottom: 50px;
  }

  .candidatos-titulo {
    font-size: 1.4rem;
    border-left: 3px solid #f7c50f;
    padding-left: 12px;
    margin-bottom: 20px;
    text-align: left;
    max-width: fit-content;
    margin-left: auto;
    margin-right: auto;
  }

  .candidatos-grid {
    flex-direction: row;        /* ← lado a lado */
    justify-content: center;
    align-items: flex-start;
    flex-wrap: nowrap;          /* ← que no salte a segunda línea */
    gap: 16px;
  }

  .candidato-card {
    min-width: unset;
    flex: 1;
    max-width: 48%;             /* ← cada card ocupa la mitad */
  }

  .candidato-img-wrapper {
    width: clamp(120px, 38vw, 170px);   /* ← se adapta al ancho de pantalla */
    height: clamp(120px, 38vw, 170px);
    margin-bottom: 20px;
  }

  .candidato-info h3 {
    font-size: clamp(0.8rem, 3vw, 1.1rem);   /* ← escala con el viewport */
  }

  .candidato-puesto {
    font-size: clamp(0.6rem, 2vw, 0.75rem);
    letter-spacing: 0.12em;
  }
  /* Footer del botón */
.candidatos-footer {
  text-align: center;
  margin-top: 10px;
  position: relative;
  z-index: 5;
  margin-right: 25px;
  margin-left: 25px;
}

}

/* Mobile pequeño */
@media (max-width: 380px) {
  .candidato-img-wrapper {
    width: clamp(110px, 36vw, 145px);
    height: clamp(110px, 36vw, 145px);
  }

  .candidatos-titulo {
    font-size: 24px;
  }
}

/* ===== SECCIÓN ===== */
.seccion2 {
  position: relative;
  width: 100%;
 
  font-family: Arial, sans-serif;
  background: #f5f5f5;
 

}

/* ===== CARRUSEL ===== */
.hero-carousel {
  position: relative;
  width: 100%;
  height: 80vh;
  overflow: hidden;
  z-index: 2;
  border-radius: 0 0 50px 50px;
}

.slide {
  position: absolute;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.8s ease;
  z-index: 1;
}

.slide.active {
  opacity: 1;
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 40% 10%;
  position: relative;
  z-index: 0;
}

/* OVERLAY OSCURO (MEJORADO) */
.slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(0, 53, 61, 0.597) 0%, rgba(13, 13, 13, 0.466) 100%);
  z-index: 10;
  pointer-events: none;
}

/* TEXTO ENCIMA */
.overlay-text {
  position: absolute;
  bottom: 20%;
  left: 10%;
  color: white;
  max-width: 500px;
  z-index: 20;
}

.overlay-text h2 {
  font-size: 3rem;
  font-family: 'Georgia', serif;
  margin-bottom: 10px;
  text-shadow: 2px 2px 10px rgba(0,0,0,0.6);
}

.overlay-text p {
  font-size: 1.1rem;
  line-height: 1.5;
  text-shadow: 1px 1px 8px rgba(0,0,0,0.5);
}

/* CONTROLES */
.controls span {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 2rem;
  color: white;
  cursor: pointer;
  padding: 10px;
  z-index: 3;
}

.prev { left: 20px; }
.next { right: 20px; }

/* ===== SECCIÓN INFERIOR ===== */
.info-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding: 60px 10%;
  gap: 40px;
  align-items: flex-end;
}

.info-left h3 {
  font-size: 2.5rem;
  margin-bottom: 15px;
  font-family: 'Georgia', serif;
}

.info-left p {
  color: #111;
  line-height: 1.6;
}

/* --- Botón Conocenos (Replicado de btn-uiverse) --- */
.btn-conocenos {
  outline: 0;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  background: #f7c50f;
  min-width: 50px;
  margin-bottom: 30px;
  border: 0;
  border-radius: 4px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, .1);
  box-sizing: border-box;
  padding: 16px 20px;
  color: #ffffff;
  font-family: 'Trebuchet MS', sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  overflow: hidden;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-conocenos:hover {
  opacity: .95;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, .15);
}

.btn-conocenos .dot-animation {
  border-radius: 100%;
  animation: ripple 0.6s linear infinite;
}

.info-right img {
  width: 100%;
  border-radius: 10px;
  display: flex;
  justify-content: flex-end;
  align-items: flex-end;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .overlay-text h2 {
    font-size: 1.5rem;
   
  }

  .overlay-text {
    bottom: 15%;
    left: 5%;
    right: 5%;
    padding: 10px;
    background: rgba(0, 0, 0, 0.089);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(247, 197, 15, 0.771); /* Contorno sutil dorado */
    border-radius: 4px;
    margin-left: 25px;
    margin-right: 25px;
  }

  .overlay-text p{
    font-size: 0.7rem;
  }
  .info-section {
    padding: 30px 0px 0px 30px;
  }

  .info-section h3 {
    font-size: 1.4rem;
    border-left: 3px solid #f7c50f; /* Línea vertical decorativa */
    padding-left: 12px;
    margin-bottom: 20px;
  }

  .info-section p {
    font-size: 0.85rem;
    border-top: 1px solid rgba(0, 0, 0, 0.05); /* Línea de separación sutil */
    padding-top: 10px;
  }
  .hero-carousel {
    height: 50vh;
  }
  .info-right img {
    width: 150px;
    height: 300px;
    object-fit: cover;
    border-radius: 0%;
    border-top-left-radius: 100px;
    
    
    margin: 0px;
  }
}


/* =========================================
   SECCIÓN 3 — NOTICIAS
   ========================================= */

.seccion3 {
  background-image: url(../recursos/fondoazul.webp);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 96px 24px;
  font-family: 'Georgia', serif;
}

.noticias-container {
  max-width: 1200px;
  margin: 0 auto;
}

/* --- Encabezado --- */
.noticias-header {
  text-align: center;
  margin-bottom: 56px;
}

.noticias-label {
  display: inline-block;
  font-family: 'Trebuchet MS', sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #ae9a19;
  margin-bottom: 14px;
  padding: 6px 16px;
  border: 1px solid #ae9a19;
  border-radius: 2px;
}

.noticias-titulo {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: #ebe6a7;
  line-height: 1.15;
  margin: 0 0 16px;
  letter-spacing: -0.02em;
}

.noticias-titulo em {
  font-style: italic;
  color: #e1c11c;
}

.noticias-subtitulo {
  font-family: 'Trebuchet MS', sans-serif;
  font-size: 1rem;
  color: #a4a4a4;
  max-width: 520px;
  margin: 0 auto;
  line-height: 1.7;
}

/* --- Grid de cards --- */
.noticias-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

/* --- Card --- */
.noticia-card {
  background: #fff;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0,0,0,0.07);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

.noticia-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.13);
}

.noticia-link {
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  height: 100%;
}

/* --- Imagen de card --- */
.noticia-imagen {
  position: relative;
  height: 190px;
  background-size: cover;
  background-position: center;
  overflow: hidden;
}

.noticia-imagen::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(20,20,40,0.55) 0%, transparent 60%);
  transition: opacity 0.3s;
}

.noticia-card:hover .noticia-imagen::after {
  opacity: 0.75;
}

.noticia-categoria {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 2;
  background: #e1c11c;
  color: #fff;
  font-family: 'Trebuchet MS', sans-serif;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 2px;
}

/* Ícono play para videos */
.noticia-video .play-btn {
  position: absolute;
  bottom: 14px;
  right: 14px;
  z-index: 2;
  width: 44px;
  height: 44px;
  background: #e1c11c;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.25s;
}

.noticia-card:hover .play-btn {
  background: #e1c11c;
}

/* --- Cuerpo de card --- */
.noticia-body {
  padding: 22px 20px 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.noticia-fecha {
  font-family: 'Trebuchet MS', sans-serif;
  font-size: 0.72rem;
  color: #9a9a9a;
  letter-spacing: 0.04em;
  margin-bottom: 10px;
  display: block;
}

.noticia-titulo-card {
  font-size: 1rem;
  font-weight: 700;
  color: #012026;
  line-height: 1.4;
  margin: 0 0 10px;
  transition: color 0.2s;
}

.noticia-card:hover .noticia-titulo-card {
  color: 012026;
}

.noticia-desc {
  font-family: 'Trebuchet MS', sans-serif;
  font-size: 0.85rem;
  color: #666;
  line-height: 1.65;
  margin: 0 0 auto;
  padding-bottom: 18px;
}

.noticia-leer {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: 'Trebuchet MS', sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: 012026;
  border-top: 1px solid #ece9e1;
  padding-top: 14px;
  transition: gap 0.2s;
}

.noticia-card:hover .noticia-leer {
  gap: 10px;
}

/* --- Botón Ver más --- */
.noticias-footer {
  text-align: center;
  margin-top: 52px;
}

.btn-uiverse {
  outline: 0;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  background: #f7c50f;
  min-width: 200px;
  border: 0;
  border-radius: 4px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, .1);
  box-sizing: border-box;
  padding: 16px 20px;
  color: #ffffff;
  font-family: 'Trebuchet MS', sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  overflow: hidden;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-uiverse:hover {
  opacity: .95;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, .15);
}

.btn-uiverse .animation {
  border-radius: 100%;
  animation: ripple 0.6s linear infinite;
}

@keyframes ripple {
  0% {
    box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.2), 0 0 0 20px rgba(255, 255, 255, 0.2), 0 0 0 40px rgba(255, 255, 255, 0.2), 0 0 0 60px rgba(255, 255, 255, 0.2);
  }

  100% {
    box-shadow: 0 0 0 20px rgba(255, 255, 255, 0.2), 0 0 0 40px rgba(255, 255, 255, 0.2), 0 0 0 60px rgba(255, 255, 255, 0.2), 0 0 0 80px rgba(255, 255, 255, 0);
  }
}

/* =========================================
   MODAL / POPUP (Noticias)
   ========================================= */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 32, 38, 0.85);
    backdrop-filter: blur(5px);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal.show {
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
}

.modal-content {
    background-color: #fff;
    margin: auto;
    padding: 0;
    border-radius: 8px;
    width: 90%;
    max-width: 700px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    position: relative;
    transform: translateY(30px);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    overflow: hidden;
}

.modal.show .modal-content {
    transform: translateY(0);
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 20px;
    color: white;
    font-size: 32px;
    font-weight: bold;
    cursor: pointer;
    z-index: 10;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
    transition: color 0.3s;
}

.modal-close:hover {
    color: #f7c50f;
}

.modal-header {
    position: relative;
    height: 250px;
    background-size: cover;
    background-position: center;
}

.modal-header::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(1, 32, 38, 0.9) 0%, transparent 100%);
}

.modal-header-text {
    position: absolute;
    bottom: 20px;
    left: 20px;
    right: 20px;
    z-index: 2;
    color: white;
}

.modal-header-text h2 {
    font-size: 1.8rem;
    line-height: 1.2;
    margin-bottom: 5px;
    text-shadow: 0 2px 5px rgba(0,0,0,0.5);
}

.modal-header-text .modal-fecha {
    font-family: 'Trebuchet MS', sans-serif;
    font-size: 0.85rem;
    color: #f7c50f;
    display: flex;
    align-items: center;
    gap: 5px;
}

.modal-body {
    padding: 30px;
    font-family: 'Trebuchet MS', sans-serif;
    font-size: 1rem;
    line-height: 1.7;
    color: #444;
}

.modal-body p {
    margin-bottom: 15px;
}

/* =========================================
   RESPONSIVE
   ========================================= */

/* Tablets: 2 columnas */
@media (max-width: 960px) {
  .noticias-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Móvil grande: 2 columnas ajustadas */
@media (max-width: 600px) {
  .seccion3 {
    padding: 64px 16px;
  }

  .noticias-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .noticias-titulo {
    font-size: 1.9rem;
  }

  .noticia-imagen {
    height: 210px;
  }

  .btn-uiverse {
    width: 100%;
    justify-content: center;
  }
}

/* =========================================
   MODAL CAROUSEL
   ========================================= */
.modal-carousel-container {
    margin-top: 25px;
    position: relative;
    width: 100%;
    border-radius: 8px;
    overflow: hidden;
    background: #f9f9f9;
    box-shadow: inset 0 0 10px rgba(0,0,0,0.05);
    padding: 15px;
}

.modal-carousel-title {
    font-family: 'ArtegraSansBlack', sans-serif;
    font-size: 0.9rem;
    color: #012026;
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.modal-carousel-title::before {
    content: '';
    width: 20px;
    height: 2px;
    background: #e1c11c;
    display: block;
}

.modal-carousel-view {
    position: relative;
    width: 100%;
    height: 380px;
    border-radius: 6px;
    overflow: hidden;
    margin-bottom: 10px;
    background: #eee;
}

.modal-carousel-track {
    display: flex;
    width: 100%;
    height: 100%;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.modal-carousel-img {
    min-width: 100%;
    height: 100%;
    object-fit: contain;
    background: #012026;
}

/* Nav Arrows */
.modal-carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.9);
    border: none;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    z-index: 10;
    transition: all 0.3s ease;
    color: #012026;
}

.modal-carousel-btn:hover {
    background: #e1c11c;
    color: white;
    transform: translateY(-50%) scale(1.1);
}

.modal-carousel-btn svg {
    width: 20px;
    height: 20px;
}

.modal-carousel-btn.prev { left: 15px; }
.modal-carousel-btn.next { right: 15px; }

/* Indicators */
.modal-carousel-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 15px;
}

.modal-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #ccc;
    border: 2px solid transparent;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}

.modal-dot.active {
    background: #e1c11c;
    border-color: #fff;
    box-shadow: 0 0 0 1px #e1c11c;
    transform: scale(1.2);
}

/* Responsive */
@media (max-width: 700px) {
    .modal-carousel-view {
        height: 280px;
    }
    .modal-carousel-container {
        padding: 10px;
    }
    .modal-carousel-btn {
        width: 36px;
        height: 36px;
    }
}
