/* ===== Carpir - Estilos unificados (como React) ===== */
@font-face {
  font-family: sansation-bold;
  src: url(/assets/font/Sansation_Bold.ttf) format("truetype");
}
@font-face {
  font-family: sansation-regular;
  src: url(/assets/font/Sansation_Regular.ttf) format("truetype");
}

:root {
  --dark-navy: #0a1628;
  --navy: #152238;
  --light-navy: #1e2f4f;
  --lightest-navy: #2a3d5f;
  --dark-slate: #495670;
  --slate: #8892b0;
  --light-slate: #a8b2d1;
  --lightest-slate: #ccd6f6;
  --white: #ffffff;
  --green: #64ffda;
  --accent-red: #ff3b30;
  --accent-purple: #af52de;
  --ff-montserrat: "Montserrat", sans-serif;
  --ff-sansation: sansation-regular, sans-serif;
  --gradient-rock: linear-gradient(135deg, #ff6b6b 0%, #ee5a6f 50%, #c44569 100%);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--ff-montserrat);
  color: #161616;
  line-height: 1.6;
  background-color: #fff;
}
main { flex: 1; }
a { text-decoration: none; color: inherit; transition: all 0.3s ease; }
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3, h4, h5, h6 { font-family: var(--ff-sansation); }

/* Section común */
.section {
  padding: 4rem 2rem;
  max-width: 1400px;
  margin: 0 auto;
}
.section-title {
  font-size: 2.5rem;
  color: #161616;
  font-family: var(--ff-sansation);
  margin-bottom: 3rem;
  position: relative;
  display: inline-block;
  padding-bottom: 0.5rem;
}
.section-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100px;
  height: 4px;
  background: var(--gradient-rock);
  border-radius: 2px;
  box-shadow: 0 2px 8px rgba(255, 107, 107, 0.4);
}

/* ===== Header / Nav ===== */
.header {
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: rgba(255, 255, 255, 0.85);
}
.header::before {
  content: "";
  position: absolute;
  inset: 0;
  backdrop-filter: blur(10px);
  z-index: -1;
  pointer-events: none;
}
.header--menu-open { overflow: visible; }
.navbar {
  padding: 1rem 2rem;
  position: relative;
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}
.navbar-container {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 1rem;
}
.logo-header { width: 150px; height: auto; transition: transform 0.2s ease; }
.logo-header:hover { transform: scale(1.03); }
.navbar-toggler {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  border-radius: 8px;
  transition: background 0.2s ease;
  -webkit-tap-highlight-color: transparent;
}
.navbar-toggler:hover { background: rgba(0,0,0,0.05); }
.navbar-toggler span {
  width: 22px;
  height: 2.5px;
  background: #161616;
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.2s ease;
  display: block;
}
.navbar-toggler.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.navbar-toggler.active span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.navbar-toggler.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}
.navbar-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 1001;
  background: rgba(0, 0, 0, 0.45);
  cursor: pointer;
  opacity: 0;
  transition: opacity 0.25s ease;
  -webkit-tap-highlight-color: transparent;
}
.header--menu-open .navbar-backdrop {
  opacity: 1;
}
.navbar-nav {
  display: flex;
  list-style: none;
  gap: 2rem;
  align-items: center;
  margin: 0;
  padding: 0;
}
.nav-item { list-style: none; }
.nav-link {
  color: #161616;
  font-family: var(--ff-sansation);
  font-size: 1rem;
  position: relative;
  padding: 0.5rem 0;
  transition: color 0.2s ease;
}
.nav-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent-red), var(--accent-purple));
  border-radius: 2px;
  transition: width 0.25s ease;
}
.nav-link:hover::after,
.nav-link.active::after { width: 100%; }
.nav-link:hover,
.nav-link.active { color: var(--accent-red); }

@media (max-width: 768px) {
  .navbar { padding: 1rem 1.25rem; }
  .navbar-container { flex: 1 1 auto; min-width: 0; justify-content: space-between; }
  .logo-header { width: 120px; }
  .navbar-toggler {
    display: flex;
    position: relative;
    z-index: 1006;
  }
  .navbar-backdrop {
    display: block;
    pointer-events: none;
    z-index: 1003;
  }
  .header--menu-open .navbar-backdrop {
    pointer-events: auto;
  }
  .navbar-nav {
    position: fixed;
    top: 0;
    bottom: 0;
    right: -100%;
    left: auto;
    width: min(300px, 88vw);
    height: 100vh;
    height: 100dvh;
    max-height: 100%;
    background: #fff;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    padding: 0;
    padding-top: max(1.5rem, env(safe-area-inset-top));
    padding-bottom: env(safe-area-inset-bottom);
    box-shadow: -6px 0 24px rgba(0, 0, 0, 0.12);
    transition: right 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1005;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    gap: 0;
    visibility: hidden;
  }
  .navbar-nav.active {
    right: 0;
    visibility: visible;
  }
  .navbar-nav .nav-item {
    padding: 0 1.5rem;
    border-bottom: 1px solid #f0f0f0;
  }
  .navbar-nav .nav-item .nav-link {
    font-size: 1.05rem;
    display: block;
    padding: 0.85rem 0;
  }
}

@media (min-width: 769px) {
  .navbar-nav { flex: 0 0 auto; }
}

/* ===== Nosotros ===== */
.nosotros-section { padding-top: 2rem; }
.nosotros-portada {
  margin-bottom: 3rem;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}
.nosotros-portada img {
  width: 100%;
  height: 500px;
  object-fit: cover;
}
.nosotros-texto {
  max-width: 900px;
  margin: 0 auto 2rem;
}
.nosotros-texto p {
  font-size: 1.1rem;
  font-family: var(--ff-montserrat);
  font-weight: 500;
  color: #161616;
  line-height: 1.8;
  text-align: justify;
  margin-bottom: 1.5rem;
}
.nosotros-mas { margin-top: 1rem; }
.nosotros-mas summary {
  cursor: pointer;
  font-family: var(--ff-montserrat);
  font-weight: 600;
  color: var(--accent-red);
}
.nosotros-mas p {
  margin-top: 1rem;
  font-size: 1rem;
}
.nosotros-desc, .nosotros-extra {
  font-family: var(--ff-montserrat);
  color: #161616;
  line-height: 1.8;
  text-align: justify;
}
.nosotros-desc p, .nosotros-extra p { margin-bottom: 1rem; }
.nosotros-desc strong, .nosotros-extra strong { font-weight: 700; }
.nosotros-desc em, .nosotros-extra em { font-style: italic; }
.nosotros-desc a, .nosotros-extra a { color: var(--accent-red); text-decoration: underline; }
.nosotros-desc ul, .nosotros-extra ul { list-style: disc; padding-left: 1.5rem; margin-bottom: 1rem; }
.nosotros-desc ol, .nosotros-extra ol { list-style: decimal; padding-left: 1.5rem; margin-bottom: 1rem; }
.integrantes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}
.integrante-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.integrante-card img {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 8px 25px rgba(0,0,0,0.2);
  transition: transform 0.4s ease;
}
.integrante-card:hover img { transform: scale(1.05); }
.integrante-card h3 {
  font-family: var(--ff-sansation);
  font-size: 1.25rem;
  color: #161616;
  margin-top: 1rem;
}
.integrante-card p {
  font-family: var(--ff-montserrat);
  font-size: 0.95rem;
  color: #666;
  margin: 0.25rem 0 0;
}

/* ===== Fechas preview (home) – como React ===== */
.fechas-preview-section {
  padding-top: 4rem;
  padding-bottom: 4rem;
  background: linear-gradient(180deg, #fff 0%, #fafafa 100%);
}
.fechas-preview-loading,
.fechas-preview-empty {
  text-align: center;
  padding: 2rem 1rem;
  font-family: var(--ff-montserrat);
  color: #666;
}
.fechas-preview-empty p { margin-bottom: 1rem; }
.fechas-preview-wrapper {
  max-width: 1000px;
  margin: 2rem auto 0;
}
.fechas-preview-table {
  width: 100%;
  border-collapse: collapse;
  font-family: var(--ff-montserrat);
  font-size: 0.95rem;
  background: white;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
}
.fechas-preview-table thead {
  background: linear-gradient(135deg, var(--dark-navy, #1a1a2e), var(--navy, #16213e));
  color: white;
}
.fechas-preview-table th {
  padding: 1rem;
  text-align: left;
  font-weight: 600;
}
.fechas-preview-table td {
  padding: 0.9rem 1rem;
  border-bottom: 1px solid #eee;
}
.fechas-preview-table tbody tr:last-child td { border-bottom: none; }
.fechas-preview-table tbody tr:hover {
  background: rgba(255, 107, 107, 0.03);
}
.fechas-preview-btn {
  display: inline-block;
  padding: 0.35rem 0.75rem;
  background: linear-gradient(135deg, var(--accent-red), #ff4d2e);
  color: white;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.85rem;
  text-decoration: none;
  transition: all 0.3s ease;
}
.fechas-preview-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(255, 107, 107, 0.35);
}
.fechas-preview-link {
  color: var(--accent-red);
  font-weight: 600;
  font-family: var(--ff-montserrat);
  text-decoration: none;
  transition: color 0.2s ease;
}
.fechas-preview-link:hover { text-decoration: underline; }
.fechas-preview-link-all {
  display: inline-block;
  margin-top: 1.5rem;
  padding: 0.6rem 1.25rem;
  background: transparent;
  border: 2px solid var(--accent-red);
  color: var(--accent-red);
  border-radius: 10px;
  font-weight: 700;
}
.fechas-preview-link-all:hover {
  background: var(--accent-red);
  color: white;
  text-decoration: none;
}
@media (max-width: 768px) {
  .fechas-preview-table thead { display: none; }
  .fechas-preview-table tr {
    display: block;
    margin-bottom: 1rem;
    border: 1px solid #eee;
    border-radius: 12px;
    padding: 1rem;
    background: white;
  }
  .fechas-preview-table td {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 0.5rem;
    padding: 0.5rem 0;
    border-bottom: 1px solid #f0f0f0;
  }
  .fechas-preview-table td:last-child { border-bottom: none; }
  .fechas-preview-table td::before {
    content: attr(data-label);
    font-weight: 600;
    color: #555;
    min-width: 80px;
  }
}

/* ===== Página Fechas – como React ===== */
.fechas-page {
  min-height: 80vh;
  padding: 2rem 1rem;
}
.fechas-section {
  max-width: 1100px;
  margin: 0 auto;
}
.fechas-loading {
  text-align: center;
  padding: 4rem 2rem;
  font-family: var(--ff-montserrat);
  color: #666;
}
.fechas-table-wrapper {
  overflow-x: auto;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  background: white;
  margin-top: 2rem;
}
.fechas-table {
  width: 100%;
  border-collapse: collapse;
  font-family: var(--ff-montserrat);
  font-size: 1rem;
}
.fechas-table thead {
  background: linear-gradient(135deg, var(--dark-navy, #1a1a2e), var(--navy, #16213e));
  color: white;
}
.fechas-table th {
  padding: 1rem 1.25rem;
  text-align: left;
  font-weight: 600;
  white-space: nowrap;
}
.fechas-table td {
  padding: 1rem 1.25rem;
  border-bottom: 1px solid #eee;
}
.fechas-table tbody tr { transition: background 0.2s ease; }
.fechas-table tbody tr:hover {
  background: rgba(255, 107, 107, 0.04);
}
.fechas-table tbody tr:last-child td { border-bottom: none; }
.fechas-link-entradas {
  display: inline-block;
  padding: 0.4rem 0.9rem;
  background: linear-gradient(135deg, var(--accent-red), #ff4d2e);
  color: white;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 2px 10px rgba(255, 107, 107, 0.3);
}
.fechas-link-entradas:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(255, 107, 107, 0.4);
}
.no-fechas-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 4rem 2rem;
  text-align: center;
}
.no-fechas-title {
  font-family: var(--ff-sansation);
  font-size: 2.5rem;
  color: #161616;
  margin-bottom: 3rem;
  position: relative;
  display: inline-block;
}
.no-fechas-title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 4px;
  background: linear-gradient(90deg, var(--accent-red), var(--accent-purple));
  border-radius: 2px;
}
.calendar-icon {
  margin-top: 2rem;
  color: var(--slate);
  opacity: 0.7;
  animation: fechas-float 3s ease-in-out infinite;
}
.calendar-icon svg {
  width: 250px;
  height: auto;
  transition: all 0.3s ease;
}
.calendar-icon:hover svg {
  opacity: 1;
  transform: scale(1.05);
}
@keyframes fechas-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-20px); }
}
@media (max-width: 768px) {
  .no-fechas-title { font-size: 1.8rem; }
  .calendar-icon svg { width: 200px; }
  .fechas-page { min-height: 60vh; }
  .fechas-table thead { display: none; }
  .fechas-table tr {
    display: block;
    margin-bottom: 1.5rem;
    border: 1px solid #eee;
    border-radius: 12px;
    padding: 1rem;
    background: white;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
  }
  .fechas-table td {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.6rem 0;
    border-bottom: 1px solid #f0f0f0;
  }
  .fechas-table td:last-child { border-bottom: none; }
  .fechas-table td::before {
    content: attr(data-label);
    font-weight: 600;
    color: #555;
    min-width: 90px;
  }
  .fechas-link-entradas { margin-left: auto; }
}
@media (max-width: 480px) {
  .no-fechas-title { font-size: 1.5rem; }
  .calendar-icon svg { width: 180px; }
}

/* ===== Link Ver más ===== */
.link-ver-mas {
  display: inline-block;
  margin-top: 1.5rem;
  padding: 0.6rem 1.25rem;
  border: 2px solid var(--accent-red);
  color: var(--accent-red);
  border-radius: 10px;
  font-weight: 700;
  font-family: var(--ff-montserrat);
  transition: all 0.3s ease;
}
.link-ver-mas:hover {
  background: var(--accent-red);
  color: white;
}

/* ===== Escuchanos ===== */
.escuchanos-section {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 50%, #fff 100%);
  position: relative;
  overflow: hidden;
}
.escuchanos-section > * { position: relative; z-index: 1; }
.reproductor-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 3rem;
  margin-top: 2rem;
}
.reproductor {
  background: white;
  padding: 2rem;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  transition: all 0.4s ease;
}
.reproductor:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 20px 50px rgba(0,0,0,0.2);
}
.reproductor h3 {
  font-family: var(--ff-sansation);
  font-size: 1.5rem;
  color: #161616;
  margin-bottom: 1.5rem;
  text-align: center;
}
.reproductor iframe { border: none; border-radius: 12px; }

.escuchanos-ver-mas {
  display: inline-block;
  margin-top: 2rem;
  padding: 0.6rem 1.25rem;
  background: transparent;
  border: 2px solid var(--accent-red);
  color: var(--accent-red);
  border-radius: 10px;
  font-weight: 700;
  font-family: var(--ff-montserrat);
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease;
}
.escuchanos-ver-mas:hover {
  background: var(--accent-red);
  color: white;
  text-decoration: none;
}

.ver-mas-section-link {
  display: inline-block;
  margin-top: 2rem;
  padding: 0.6rem 1.25rem;
  background: transparent;
  border: 2px solid var(--accent-red);
  color: var(--accent-red);
  border-radius: 10px;
  font-weight: 700;
  font-family: var(--ff-montserrat);
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease;
}
.ver-mas-section-link:hover {
  background: var(--accent-red);
  color: white;
  text-decoration: none;
}

.escuchanos-page .escuchanos-empty {
  text-align: center;
  color: #666;
  font-family: var(--ff-montserrat);
  padding: 2rem;
}
.escuchanos-page .escuchanos-back {
  display: inline-block;
  margin-top: 2rem;
  color: var(--accent-red);
  font-weight: 600;
  font-family: var(--ff-montserrat);
  text-decoration: none;
}
.escuchanos-page .escuchanos-back:hover { text-decoration: underline; }

/* ===== Noticias preview (home) – como React ===== */
.noticias-preview-section {
  background: linear-gradient(135deg, #f0f0f0 0%, #fafafa 100%);
  padding: 4rem 2rem;
}
.noticias-preview-empty {
  text-align: center;
  color: #666;
  font-family: var(--ff-montserrat);
  padding: 2rem;
}
.noticia-preview-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
  margin-top: 2rem;
}
.noticia-preview-content h3 {
  font-size: 2rem;
  color: #161616;
  font-family: var(--ff-sansation);
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}
.fecha-badge {
  background: linear-gradient(135deg, #328f55, #4caf6f);
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 1rem;
  font-weight: normal;
  font-family: var(--ff-montserrat);
}
.noticia-texto {
  font-size: 1.1rem;
  font-family: var(--ff-montserrat);
  font-weight: 500;
  color: #161616;
  line-height: 1.8;
  margin-bottom: 2rem;
}
.noticia-texto p { margin-bottom: 1rem; }
.noticia-texto-expandable {
  margin-bottom: 2rem;
}
.noticia-texto-expandable .noticia-texto-inner {
  margin-bottom: 0;
}
.noticia-texto-expandable.is-collapsed .noticia-texto-inner {
  max-height: 7.2em;
  overflow: hidden;
}
.noticia-ver-mas-btn {
  display: inline-block;
  margin-top: 0.75rem;
  padding: 0;
  border: none;
  background: none;
  font-family: var(--ff-montserrat);
  font-weight: 600;
  font-size: 1rem;
  color: #a711ec;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.noticia-ver-mas-btn:hover {
  color: #8b0bc9;
}
.noticia-ver-mas-btn:focus-visible {
  outline: 2px solid #a711ec;
  outline-offset: 2px;
}
.noticia-carousel {
  position: relative;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  background: #000;
}
.carousel-images {
  position: relative;
  width: 100%;
  height: 400px;
  overflow: hidden;
}
.carousel-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.5s ease;
}
.carousel-image.active { opacity: 1; }
.carousel-button {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.8);
  border: none;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  font-size: 2rem;
  color: #161616;
  cursor: pointer;
  z-index: 10;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}
.carousel-button:hover {
  background: rgba(255, 255, 255, 1);
  transform: translateY(-50%) scale(1.1);
}
.carousel-button.prev { left: 1rem; }
.carousel-button.next { right: 1rem; }
.carousel-indicators {
  position: absolute;
  bottom: 1rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.5rem;
  z-index: 10;
}
.indicator {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 2px solid white;
  background: transparent;
  cursor: pointer;
  transition: all 0.3s ease;
}
.indicator.active {
  background: white;
  transform: scale(1.2);
}
@media (max-width: 768px) {
  .noticia-preview-container {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .carousel-images { height: 300px; }
  .noticia-preview-content h3 { font-size: 1.5rem; }
  .noticia-texto { font-size: 1rem; }
}

/* ===== Página Noticias – como React ===== */
.noticias-page { min-height: 80vh; }
.noticias-empty {
  text-align: center;
  padding: 2rem;
  color: #666;
  font-family: var(--ff-montserrat);
}
.noticias-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  margin-top: 3rem;
}
.noticia-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  background: white;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}
.noticia-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}
.noticia-carousel-container {
  position: relative;
  overflow: hidden;
}
.noticia-carousel-container .noticia-carousel {
  min-height: 400px;
}
.carousel-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.5s ease;
}
.carousel-img.active { opacity: 1; }
.noticia-content {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.noticia-content h2 {
  font-family: var(--ff-sansation);
  font-size: 2rem;
  color: #161616;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}
.noticia-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}
.ver-fotos-button,
.ver-video-button {
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: 25px;
  font-size: 1rem;
  font-family: var(--ff-montserrat);
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
}
.ver-fotos-button {
  background: linear-gradient(135deg, var(--accent-red), #ff4d2e);
  color: white;
  box-shadow: 0 4px 15px rgba(236, 43, 17, 0.3);
}
.ver-fotos-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(236, 43, 17, 0.4);
}
.ver-video-button {
  background: linear-gradient(135deg, #a711ec, #c345fd);
  color: white;
  box-shadow: 0 4px 15px rgba(167, 17, 236, 0.3);
}
.ver-video-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(167, 17, 236, 0.4);
}

/* Modal galería fotos */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.9);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  padding: 2rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}
.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}
.modal-content {
  position: relative;
  max-width: 90vw;
  max-height: 90vh;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}
.modal-close {
  position: absolute;
  top: -40px;
  right: 0;
  background: white;
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  font-size: 2rem;
  color: #161616;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  transition: all 0.3s ease;
  line-height: 1;
}
.modal-close:hover {
  transform: scale(1.1);
  background: #f5f5f5;
}
.modal-carousel {
  position: relative;
  width: 100%;
  max-width: 1200px;
  border-radius: 15px;
  overflow: hidden;
  background: #000;
}
.modal-carousel-content {
  position: relative;
  width: 100%;
  height: 80vh;
  display: flex;
  justify-content: center;
  align-items: center;
}
.modal-media {
  max-width: 100%;
  max-height: 80vh;
  object-fit: contain;
  display: block;
}
.modal-carousel-button {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.9);
  border: none;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  font-size: 2rem;
  color: #161616;
  cursor: pointer;
  z-index: 10;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}
.modal-carousel-button:hover {
  background: white;
  transform: translateY(-50%) scale(1.1);
}
.modal-carousel-button.prev { left: 1rem; }
.modal-carousel-button.next { right: 1rem; }
.modal-indicators {
  position: absolute;
  bottom: 1rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.5rem;
  z-index: 10;
}
.modal-indicator {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 2px solid white;
  background: transparent;
  cursor: pointer;
  transition: all 0.3s ease;
}
.modal-indicator.active {
  background: white;
  transform: scale(1.2);
}
@media (max-width: 968px) {
  .noticia-card { grid-template-columns: 1fr; }
  .noticia-carousel-container .noticia-carousel { min-height: 300px; }
  .modal-media { max-height: 70vh; }
  .modal-carousel-content { height: 70vh; }
}
@media (max-width: 768px) {
  .noticias-grid { gap: 2rem; }
  .noticia-content { padding: 1.5rem; }
  .noticia-content h2 { font-size: 1.5rem; }
  .noticia-actions { flex-direction: column; }
  .ver-fotos-button, .ver-video-button { width: 100%; text-align: center; }
  .modal-overlay { padding: 1rem; }
  .modal-close { top: -30px; width: 35px; height: 35px; font-size: 1.5rem; }
  .modal-carousel-button { width: 40px; height: 40px; font-size: 1.5rem; }
}

/* Noticia detalle (show) */
.noticia-detalle h1 {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1.5rem;
}
.noticia-detalle .fecha-badge { margin-left: 0; }
.noticia-detalle-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
  margin: 2rem 0;
}
.noticia-detalle-gallery figure { margin: 0; }
.noticia-detalle-gallery img,
.noticia-detalle-gallery video {
  width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}
.noticia-detalle-extras h3 {
  grid-column: 1 / -1;
  font-family: var(--ff-sansation);
  font-size: 1.25rem;
  color: var(--accent-red);
  margin: 0 0 0.5rem;
}
.volver-noticias-link {
  display: inline-block;
  margin-top: 2rem;
  color: var(--accent-red);
  font-weight: 600;
  font-family: var(--ff-montserrat);
}
.volver-noticias-link:hover { text-decoration: underline; }

/* ===== Cuerpo de noticia (con formato rico) ===== */
.noticia-body {
  font-family: var(--ff-montserrat);
  color: #2d2d2d;
  line-height: 1.75;
  margin-bottom: 2rem;
}
.noticia-body p { margin-bottom: 1rem; }
.noticia-body h2, .noticia-body h3 { font-family: var(--ff-sansation); margin: 1.5rem 0 0.5rem; color: #161616; }
.noticia-body strong { font-weight: 700; }
.noticia-body em { font-style: italic; }
.noticia-body a { color: var(--accent-red); text-decoration: underline; }
.noticia-body ul { list-style: disc; padding-left: 1.5rem; margin-bottom: 1rem; }
.noticia-body ol { list-style: decimal; padding-left: 1.5rem; margin-bottom: 1rem; }

/* ===== Video en noticia ===== */
.video-clip {
  position: relative;
  width: 100%;
  max-width: 800px;
  margin: 2rem 0;
  padding-bottom: 56.25%;
  height: 0;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0,0,0,0.12);
}
.video-clip iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/* ===== Contacto ===== */
.contacto-section {
  background: linear-gradient(135deg, var(--dark-navy) 0%, var(--navy) 100%);
  padding: 4rem 2rem;
  position: relative;
  overflow: hidden;
}
.contacto-section .section-title { color: var(--white); }
.contacto-section .section-title::after {
  background: linear-gradient(90deg, var(--green), var(--accent-red));
}
.contacto-container {
  position: relative;
  z-index: 1;
  max-width: 1120px;
  margin: 0 auto;
}
.contacto-intro {
  max-width: 720px;
  margin: 1rem auto 0;
  text-align: center;
  color: rgba(255, 255, 255, 0.8);
  font-family: var(--ff-montserrat);
  font-size: 1.05rem;
  line-height: 1.7;
}
.contacto-content {
  display: block;
  margin-top: 2rem;
}
.contacto-panel {
  display: grid;
  grid-template-columns: minmax(280px, 360px) minmax(0, 1fr);
  gap: 1.5rem;
  align-items: stretch;
}
.contacto-card {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 24px;
  backdrop-filter: blur(8px);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.18);
}
.contacto-info-card {
  padding: 2rem;
  color: var(--white);
}
.contacto-info-card h3 {
  margin: 0 0 0.75rem;
  font-family: var(--ff-sansation);
  font-size: 1.8rem;
}
.contacto-info-card p {
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.7;
}
.contacto-info-list {
  margin-top: 1.5rem;
  display: grid;
  gap: 0.9rem;
}
.contacto-info-list p strong {
  color: var(--white);
}
.contacto-info-list a {
  color: var(--green);
  text-decoration: none;
}
.contacto-info-list a:hover {
  text-decoration: underline;
}
.contacto-form {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  padding: 2rem;
}
.contacto-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}
.success-message {
  background: linear-gradient(135deg, rgba(76, 175, 80, 0.9), rgba(56, 142, 60, 0.9));
  color: white;
  padding: 1rem;
  border-radius: 10px;
  text-align: center;
  font-family: var(--ff-montserrat);
  font-weight: 600;
  margin: 0 auto 1rem;
  max-width: 780px;
}
.contact-error-message {
  background: rgba(236, 43, 17, 0.2);
  color: #ff6b6b;
  padding: 1rem;
  border-radius: 10px;
  text-align: center;
  font-family: var(--ff-montserrat);
  margin: 0 auto 1rem;
  max-width: 780px;
}
.contacto-form .form-control {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.contacto-form .form-control label {
  color: var(--white);
  font-family: var(--ff-montserrat);
  font-size: 1rem;
  font-weight: 500;
}
.contacto-form .form-control .required { color: var(--accent-red); }
.contacto-form .form-control input,
.contacto-form .form-control textarea {
  padding: 1rem;
  border: 2px solid transparent;
  border-bottom: 2px solid var(--green);
  background: rgba(255, 255, 255, 0.05);
  color: var(--white);
  font-family: var(--ff-montserrat);
  font-size: 1rem;
  border-radius: 8px 8px 0 0;
  outline: none;
}
.contacto-form .form-control input::placeholder,
.contacto-form .form-control textarea::placeholder {
  color: rgba(255, 255, 255, 0.5);
}
.contacto-form .form-control input:focus,
.contacto-form .form-control textarea:focus {
  background: rgba(255, 255, 255, 0.1);
  border-bottom-color: var(--green);
}
.contacto-form .form-control.error input,
.contacto-form .form-control.error textarea {
  border-bottom-color: var(--accent-red);
  background: rgba(236, 43, 17, 0.05);
}
.contacto-form .form-control textarea {
  resize: vertical;
  min-height: 150px;
  border-radius: 12px;
}
.contacto-form .form-control small {
  color: var(--accent-red);
  font-family: var(--ff-montserrat);
  font-size: 0.875rem;
}
.contacto-help {
  color: rgba(255, 255, 255, 0.62);
  font-family: var(--ff-montserrat);
  font-size: 0.875rem;
}
.contacto-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.75rem;
}
.contacto-form .submit-button {
  padding: 1rem 2rem;
  background: linear-gradient(135deg, var(--accent-red), #ff4d2e);
  color: white;
  border: none;
  border-radius: 25px;
  font-size: 1.1rem;
  font-family: var(--ff-montserrat);
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(236, 43, 17, 0.4);
  margin-top: 0.25rem;
  min-width: 220px;
}
.contacto-form .submit-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(236, 43, 17, 0.5);
}
.contacto-form .submit-button:disabled {
  opacity: 0.8;
  cursor: wait;
  transform: none;
}
.contacto-form .submit-button.is-loading {
  background: linear-gradient(135deg, #ff7a62, #ff5d44);
}
.contacto-privacy {
  margin: 0;
  color: rgba(255, 255, 255, 0.62);
  font-family: var(--ff-montserrat);
  font-size: 0.9rem;
  line-height: 1.6;
}
.contacto-honeypot {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}
.info-contacto-seccion {
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
  padding-top: 1.5rem;
}
.info-contacto-seccion p {
  font-family: var(--ff-montserrat);
  font-size: 1.1rem;
  color: var(--light-slate);
  margin: 0.5rem 0;
}

@media (max-width: 900px) {
  .contacto-panel {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .contacto-section {
    padding: 3rem 1rem;
  }
  .contacto-grid {
    grid-template-columns: 1fr;
  }
  .contacto-form,
  .contacto-info-card {
    padding: 1.25rem;
  }
  .contacto-form .submit-button {
    width: 100%;
    min-width: 0;
  }
}

/* ===== Footer ===== */
.footer {
  background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 50%, #2d2d2d 100%);
  padding: 3rem 2rem 2rem;
  margin-top: auto;
  position: relative;
  overflow: hidden;
}
.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent-red), var(--accent-purple), var(--green));
  opacity: 0.6;
}
.footer-container {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  align-items: start;
}
.info-contacto h4 {
  color: var(--white);
  font-family: var(--ff-montserrat);
  font-size: 1.5rem;
  margin-bottom: 1rem;
  font-weight: 600;
}
.info-contacto ul { list-style: none; padding: 0; }
.info-contacto li {
  color: var(--light-slate);
  font-family: var(--ff-montserrat);
  font-size: 1rem;
  padding: 0.5rem 0;
}
.redes-sociales {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  align-items: center;
}
.redes-sociales a {
  display: flex;
  width: 60px;
  height: 60px;
  transition: transform 0.3s ease;
}
.redes-sociales a:hover { transform: scale(1.1) translateY(-5px); }
.redes-sociales img { width: 100%; height: auto; }
.copyright {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  color: var(--light-slate);
  font-family: var(--ff-montserrat);
  font-size: 0.9rem;
  text-align: right;
}
@media (max-width: 768px) {
  .section { padding: 2rem 1rem; }
  .section-title { font-size: 2rem; }
  .nosotros-portada img { height: 300px; }
  .integrantes-grid { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
  .integrante-card img { width: 150px; height: 150px; }
  .reproductor-container { grid-template-columns: 1fr; }
  .footer-container { grid-template-columns: 1fr; text-align: center; }
  .copyright { justify-content: center; text-align: center; }
}
