/* ===========================
   VARIABLES EDITABLES
   =========================== */
:root {
  --accent: #667eea;
  --accent-2: #764ba2;
  --accent-3: #00c2a8;
  --bg-overlay: rgba(0, 0, 0, 0.35);
  --text-color: #ffffff;
  --text-secondary: rgba(255, 255, 255, 0.8);
  --easing: cubic-bezier(.22, .9, .35, 1);
  --transition: 0.3s ease;
}

* {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
}

body {
  font-family: 'Inter', 'Segoe UI', sans-serif;
  margin: 0;
  padding: 0;
  color: var(--text-color);
  background: transparent;
  line-height: 1.6;
}

/* Textura de fondo sutil */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -1;
  background-image:
    radial-gradient(rgba(7, 1, 1, 0.979) 1px, transparent 1px),
    linear-gradient(180deg, #0f1219 0%, #060810 50%, #0a0e17 100%);
  background-size: 20px 20px, 100% 100%;
  opacity: 0.5;
  pointer-events: none;
}

/* ===========================
   HEADER FIJO
   =========================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 32px;
  z-index: 100;
  background: transparent;
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.site-header .logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  font-size: 18px;
}

.header-logo {
  width: 40px;
  height: 40px;
  object-fit: contain;
  border-radius: 50%;
}

.site-title {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.site-header .nav {
  display: flex;
  gap: 28px;
  align-items: center;
}

.site-header .nav a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: color var(--transition);
  position: relative;
}

.site-header .nav a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width var(--transition);
}

.site-header .nav a:hover::after {
  width: 100%;
}

/* ===========================
   HERO - FULLSCREEN
   =========================== */
.hero {
  position: relative;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  margin-top: 0;
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.hero-video-youtube {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  border: none;
  display: none;
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 10;
  text-align: center;
  padding: 40px;
  max-width: 800px;
}

.hero-content h1 {
  font-size: 72px;
  font-weight: 800;
  margin: 0 0 16px;
  letter-spacing: -1px;
  text-shadow: 0 10px 40px rgba(0, 0, 0, 0.7);
  animation: slideDown 0.8s var(--easing);
}

.hero-content p {
  font-size: 20px;
  margin: 0 0 40px;
  opacity: 0.95;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
  animation: slideDown 0.8s var(--easing) 0.1s backwards;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }

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

/* ===========================
   BOTONES CIRCULARES
   =========================== */
.btn-circular {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  border: none;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: white;
  cursor: pointer;
  box-shadow: 0 12px 40px rgba(102, 126, 234, 0.2), inset 0 -6px 18px rgba(0, 0, 0, 0.15);
  transition: transform 0.35s var(--easing), box-shadow 0.35s var(--easing);
  position: relative;
}

.btn-circular:hover {
  transform: translateY(-8px) scale(1.08);
  box-shadow: 0 20px 60px rgba(102, 126, 234, 0.3);
}

.btn-circular svg {
  width: 24px;
  height: 24px;
  stroke-width: 2;
}

.btn-circular.pulse::after {
  content: '';
  position: absolute;
  inset: -12px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(102, 126, 234, 0.2), transparent 70%);
  animation: pulse 2.6s infinite;
  z-index: -1;
}

@keyframes pulse {
  0% {
    transform: scale(0.95);
    opacity: 0.7;
  }

  60% {
    transform: scale(1.15);
    opacity: 0;
  }

  100% {
    transform: scale(1);
    opacity: 0;
  }
}

/* ===========================
   BOTONES GENERALES
   =========================== */
.btn {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: white;
  border: none;
  padding: 12px 24px;
  border-radius: 50px;
  cursor: pointer;
  font-weight: 600;
  transition: all var(--transition);
  box-shadow: 0 8px 24px rgba(102, 126, 234, 0.15);
}

.btn:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 36px rgba(102, 126, 234, 0.25);
}

.btn-outline {
  background: transparent;
  border: 2px solid rgba(255, 255, 255, 0.2);
  color: var(--text-color);
  padding: 10px 20px;
  border-radius: 8px;
}

.btn-outline:hover {
  border-color: var(--accent);
  background: rgba(102, 126, 234, 0.1);
  transform: translateY(-2px);
}

.btn-primary {
  display: inline-block;
  padding: 10px 20px;
  background: var(--accent);
  color: white;
  text-decoration: none;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  transition: all var(--transition);
  font-weight: 600;
}

.btn-primary:hover {
  background: var(--accent-2);
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(102, 126, 234, 0.2);
}

/* ===========================
   SECCIONES
   =========================== */
.section {
  padding: 100px 32px;
  background: transparent;
  position: relative;
  z-index: 1;
}

.section.alt {
  background: linear-gradient(180deg, rgba(15, 18, 25, 0.5), rgba(10, 14, 23, 0.5));
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

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

/* ===========================
   ENCABEZADOS DE SECCIÓN
   =========================== */
.section-header {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 60px;
  animation: slideDown 0.6s var(--easing);
}

.section-deco {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  box-shadow: 0 8px 30px rgba(102, 126, 234, 0.15);
  flex-shrink: 0;
}

.section-title {
  font-size: 25px;
  font-weight: 800;
  margin: 0;
  letter-spacing: -0.5px;
}

.section-rule {
  height: 2px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.1), transparent);
  flex: 1;
  border-radius: 2px;
}


/* ===========================
   CLIMA
   =========================== */
.weather-widget {
  background: linear-gradient(135deg, rgba(0, 100, 200, 0.1), rgba(100, 50, 200, 0.1));
  padding: 32px;
  border-radius: 16px;
  border: 1px solid rgba(102, 126, 234, 0.2);
  backdrop-filter: blur(10px);
}

.weather-info {
  display: flex;
  gap: 40px;
  align-items: flex-start;
  margin-top: 100px;
}

.weather-main {
  display: flex;
  align-items: center;
  gap: 24px;
}

.weather-icon {
  width: 80px;
  height: 80px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05);
  object-fit: contain;
}

.weather-temp-now {
  font-size: 48px;
  font-weight: 800;
  margin: 0;
  background: linear-gradient(135deg, #87CEEB, #00BFFF);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.weather-desc {
  font-size: 16px;
  opacity: 0.85;
  margin-top: 4px;
}

.weather-details {
  font-size: 13px;
  opacity: 0.8;
}

.weather-details p {
  margin: 6px 0;
}

.weather-update {
  font-size: 12px;
  opacity: 0.6;
  margin-top: 8px;
}

.weather-forecast {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 16px;
  margin-top: 24px;
}

.forecast-card {
  background: rgba(255, 255, 255, 0.06);
  padding: 16px;
  border-radius: 12px;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all var(--transition);
}

.forecast-card:hover {
  background: rgba(102, 126, 234, 0.1);
  border-color: rgba(102, 126, 234, 0.3);
  transform: translateY(-4px);
}

.forecast-day {
  font-size: 13px;
  font-weight: 600;
  opacity: 0.8;
  margin-bottom: 8px;
}

.forecast-icon {
  font-size: 36px;
  margin: 8px 0;
}

.forecast-temps {
  font-size: 14px;
  font-weight: 600;
}

/* ===========================
   CALENDARIO
   =========================== */
.calendar-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}

.calendar-widget {
  background: rgba(255, 255, 255, 0.04);
  padding: 24px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  max-width: 400px;
  margin: 0 auto;
}

.calendar {
  text-align: center;
}

.calendar h4 {
  font-size: 18px;
  font-weight: 700;
  margin: 0 0 20px;
}

.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
}

.calendar-day-header {
  font-weight: 700;
  font-size: 12px;
  padding: 8px 0;
  opacity: 0.7;
}

.calendar-day {
  padding: 12px 0;
  font-size: 13px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.04);
  cursor: pointer;
  transition: all var(--transition);
}

.calendar-day:hover {
  background: rgba(102, 126, 234, 0.15);
}

.calendar-day.today {
  background: var(--accent);
  font-weight: 700;
  box-shadow: 0 4px 12px rgba(102, 126, 234, 0.2);
}

.events-list {
  margin-top: 40px;
}

.event-card {
  background: rgba(255, 255, 255, 0.05);
  padding: 20px;
  border-radius: 12px;
  border-left: 4px solid var(--accent);
  margin-bottom: 16px;
  transition: all var(--transition);
}

.event-card:hover {
  transform: translateX(8px);
  background: rgba(102, 126, 234, 0.1);
}

.event-card h4 {
  margin: 0 0 8px;
  font-size: 16px;
  color: var(--accent);
}

.event-card p {
  margin: 4px 0;
  font-size: 14px;
  opacity: 0.85;
}

/* ===========================
   MAPA
   =========================== */
.map-container {
  position: relative;
  width: 100%;
  height: 500px;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  margin-bottom: 40px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.map-frame {
  width: 100%;
  height: 100%;
  border: none;
  border-radius: 16px;
}

.location-info {
  background: rgba(255, 255, 255, 0.04);
  padding: 24px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.location-info h3 {
  margin: 0 0 16px;
  color: var(--accent);
}

.location-info p {
  margin: 8px 0;
  opacity: 0.85;
  line-height: 1.7;
}

/* ===========================
   CONTACTO
   =========================== */
/* ===========================
   CONTACTO
   =========================== */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 40px;
}

.contact-card {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
  padding: 32px;
  border-radius: 16px;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
  transition: all var(--transition);
}

.contact-card:hover {
  transform: translateY(-8px);
  border-color: rgba(102, 126, 234, 0.3);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
}

.contact-card h3 {
  margin: 0 0 16px;
  font-size: 18px;
  color: var(--accent);
}

.contact-number {
  font-weight: 700;
  font-size: 16px;
  margin: 12px 0;
}

.contact-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  margin-top: 16px;
  flex-wrap: wrap;
}

/* ===========================
   ANIMACIONES
   =========================== */
.reveal-fade {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.6s var(--easing) forwards;
}

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

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

/* ===========================
   FOOTER
   =========================== */
.footer {
  background: rgba(0, 0, 0, 0.5);
  padding: 40px 32px;
  text-align: center;
  font-size: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: 60px;
}

.footer p {
  margin: 8px 0;
  opacity: 0.7;
}

/* ===========================
   ANIMACIÓN DE CARGA
   =========================== */
#root {
  opacity: 0;
  transform: scale(0.98) translateY(10px);
  animation: rootReveal 0.6s var(--easing) forwards;
}

@keyframes rootReveal {
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

/* Tarjetas con fondo de imagen */
.info-card,
.content-card {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border-radius: 12px;
  overflow: hidden;
  position: relative;
  min-height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Fondo oscuro translúcido para mejorar legibilidad */
.info-card::before,
.content-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
  /* Oscurece la imagen un 60% */
  z-index: 1;
}

/* Contenido encima del fondo */
.card-content {
  position: relative;
  z-index: 2;
  color: white;
  text-align: center;
  max-width: 90%;
}

.card-content h3 {
  font-size: 1.4rem;
  margin-bottom: 12px;
  color: white;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.6);
}

.card-content p {
  font-size: 1rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.95);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

/* ===========================
   GRID DE VIDEOS (YOUTUBE)
   =========================== */
.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
  margin-bottom: 40px;
}

.video-card {
  border-radius: 12px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  cursor: pointer;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.video-card:hover {
  transform: translateY(-8px);
  border-color: var(--accent);
  box-shadow: 0 20px 40px rgba(102, 126, 234, 0.2);
  background: rgba(255, 255, 255, 0.08);
}

.video-thumbnail-wrapper {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
  /* Ratio 16:9 */
  overflow: hidden;
  background: #000;
}

.video-thumbnail {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.video-card:hover .video-thumbnail {
  transform: scale(1.05);
}

.video-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.4);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.video-card:hover .video-overlay {
  opacity: 1;
}

.play-btn {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--accent);
  border: none;
  color: white;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  box-shadow: 0 10px 30px rgba(102, 126, 234, 0.4);
}

.play-btn:hover {
  transform: scale(1.1);
  background: var(--accent-2);
  box-shadow: 0 15px 40px rgba(102, 126, 234, 0.6);
}

.play-btn svg {
  width: 24px;
  height: 24px;
  margin-left: 2px;
}

.video-info {
  padding: 16px;
}

.video-title {
  font-size: 0.95rem;
  font-weight: 600;
  margin: 0 0 8px 0;
  color: white;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.video-date {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.6);
  margin: 0;
}


.photo-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.5);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.photo-card:hover .photo-overlay {
  opacity: 1;
}

.expand-btn {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--accent-3);
  border: none;
  color: white;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  box-shadow: 0 10px 30px rgba(0, 194, 168, 0.4);
}

.expand-btn:hover {
  transform: scale(1.1);
  background: var(--accent);
  box-shadow: 0 15px 40px rgba(0, 194, 168, 0.6);
}

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

.photo-info {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 12px;
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.8));
  opacity: 0;
  transition: opacity 0.3s ease;
}

.photo-card:hover .photo-info {
  opacity: 1;
}

.photo-name {
  font-size: 0.8rem;
  margin: 0;
  color: white;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ===========================
   LOADING STATE
   =========================== */
.loading {
  grid-column: 1 / -1;
  text-align: center;
  padding: 40px 20px;
  color: rgba(255, 255, 255, 0.6);
  font-size: 1.1rem;
}

/* ===========================
   SOCIAL BUTTONS
   =========================== */
.social-buttons-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  max-width: 800px;
  margin: 0 auto;
}

.social-button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 30px;
  border-radius: 15px;
  text-decoration: none;
  color: white;
  transition: all 0.3s var(--easing);
  border: 2px solid rgba(255, 255, 255, 0.1);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
  backdrop-filter: blur(10px);
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.social-button::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.social-button:hover::before {
  opacity: 1;
}

.social-button-content {
  display: flex;
  align-items: center;
  gap: 20px;
  flex: 1;
  z-index: 1;
}

.social-icon {
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  transition: transform 0.3s ease;
}

.youtube-button .social-icon {
  background: rgba(255, 0, 0, 0.2);
  color: #FF0000;
  border: 2px solid rgba(255, 0, 0, 0.3);
}

.youtube-button:hover .social-icon {
  background: rgba(255, 0, 0, 0.3);
  border-color: rgba(255, 0, 0, 0.5);
  transform: scale(1.1);
}

.facebook-button .social-icon {
  background: rgba(59, 89, 152, 0.2);
  color: #3B5998;
  border: 2px solid rgba(59, 89, 152, 0.3);
}

.facebook-button:hover .social-icon {
  background: rgba(59, 89, 152, 0.3);
  border-color: rgba(59, 89, 152, 0.5);
  transform: scale(1.1);
}

.social-icon svg {
  width: 32px;
  height: 32px;
}

.social-info {
  text-align: left;
}

.social-title {
  margin: 0;
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 5px;
}

.social-description {
  margin: 0;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
}

.social-arrow {
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease;
  color: rgba(255, 255, 255, 0.6);
  z-index: 1;
}

.social-arrow svg {
  width: 24px;
  height: 24px;
}

.social-button:hover .social-arrow {
  transform: translateX(5px);
  color: rgba(255, 255, 255, 1);
}

.youtube-button:hover {
  border-color: rgba(255, 0, 0, 0.5);
  background: linear-gradient(135deg, rgba(255, 0, 0, 0.1), rgba(255, 0, 0, 0.05));
  transform: translateY(-3px);
}

.facebook-button:hover {
  border-color: rgba(59, 89, 152, 0.5);
  background: linear-gradient(135deg, rgba(59, 89, 152, 0.1), rgba(59, 89, 152, 0.05));
  transform: translateY(-3px);
}

@media (max-width: 768px) {
  .social-buttons-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .social-button {
    padding: 25px;
  }

  .social-icon {
    width: 50px;
    height: 50px;
  }

  .social-icon svg {
    width: 28px;
    height: 28px;
  }

  .social-title {
    font-size: 1.1rem;
  }

  .social-description {
    font-size: 0.85rem;
  }
}

/* ===========================
   SECCIÓN NOTICIAS
   =========================== */
.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
  margin-top: 40px;
}

.news-card {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.news-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  border-color: var(--accent);
}

.news-header {
  padding: 15px 20px;
  background: rgba(0, 0, 0, 0.2);
  display: flex;
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.news-header h3 {
  margin: 0;
  font-size: 18px;
  color: white;
}

.social-icon {
  width: 24px;
  height: 24px;
}

.news-content {
  padding: 0;
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 400px;
}

.social-embed {
  width: 100%;
  height: 100%;
  border: none;
  min-height: 500px;
}

/* Estilos específicos para Instagram Card */
.insta-card {
  padding: 20px;
  text-align: center;
  background: linear-gradient(45deg, #405de6, #5851db, #833ab4, #c13584, #e1306c, #fd1d1d);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: white;
}

.insta-profile-pic {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  border: 4px solid white;
  margin-bottom: 15px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.insta-btn {
  display: inline-block;
  padding: 10px 25px;
  background: white;
  color: #e1306c;
  text-decoration: none;
  border-radius: 25px;
  font-weight: bold;
  margin-top: 15px;
  transition: transform 0.2s;
}

.insta-btn:hover {
  transform: scale(1.05);
}



/* ===========================
   BOTÓN MUTE VIDEO
   =========================== */
.mute-btn {
  position: absolute;
  top: 100px;
  right: 30px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 20;
  transition: all 0.3s ease;
  padding: 0;
}

.mute-btn:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: scale(1.1);
}

.mute-icon {
  width: 24px;
  height: 24px;
}

/* Estilos para miniaturas de galería */
.gallery-thumbnail {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  aspect-ratio: 1;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  cursor: pointer;
}

.gallery-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s cubic-bezier(0.22, 0.9, 0.35, 1);
}

.gallery-thumbnail:hover img {
  transform: scale(1.1);
}

.gallery-thumbnail::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(102, 126, 234, 0.3);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.gallery-thumbnail:hover::after {
  opacity: 1;
}

/* Estilos mejorados para botones WhatsApp */
.btn-whatsapp {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, #25d366 0%, #1fa855 100%);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.22, 0.9, 0.35, 1);
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
  color: white;
  text-decoration: none;
}

.btn-whatsapp svg {
  width: 24px;
  height: 24px;
  fill: white;
}

.btn-whatsapp:hover {
  transform: scale(1.15) translateY(-3px);
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.6);
}

.btn-whatsapp:active {
  transform: scale(0.95);
}

/* Animación de pulso para WhatsApp */
@keyframes whatsapp-pulse {
  0% {
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
  }

  50% {
    box-shadow: 0 4px 25px rgba(37, 211, 102, 0.7);
  }

  100% {
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
  }
}

.contact-card:hover .btn-whatsapp {
  animation: whatsapp-pulse 2s ease-in-out infinite;
}