@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap");

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Clases para cursor draggable */
.draggable {
  cursor: move; /* fallback: no `url()` support or images disabled */
  cursor: url(images/grab.cur); /* fallback: Internet Explorer */
  cursor: -webkit-grab; /* Chrome 1-21, Safari 4+ */
  cursor: -moz-grab; /* Firefox 1.5-26 */
  cursor: grab; /* W3C standards syntax, should come least */
}

.draggable:active {
  cursor: url(images/grabbing.cur);
  cursor: -webkit-grabbing;
  cursor: -moz-grabbing;
  cursor: grabbing;
}

body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  margin: 0;
  padding: 0;
  overflow: hidden;
}

.carousel-logo {
  width: 210px;
  height: auto;
}

.carousel-header {
  position: relative;
  display: flex;
  flex-direction: row;
  justify-content: center;
  gap: 20px;
  align-content: center;
  align-items: center;
  padding: 0 15px;
  flex-wrap: wrap;
}

.container {
  width: 100%;
  margin: 0;
  padding: 0;
}

.carousel-container {
  width: 100%;
  height: 300px;
  background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 50%, #06b6d4 100%);
  position: relative;
  overflow: hidden; /* Importante para no cortar últimas tarjetas fuera del contenedor visible */
  display: flex;
  flex-direction: column;
}

/* Elementos decorativos del fondo */
.carousel-container::before {
  content: "";
  position: absolute;
  top: -50px;
  right: -100px;
  width: 200px;
  height: 200px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  z-index: 1;
}

.carousel-container::after {
  content: "";
  position: absolute;
  bottom: -100px;
  right: -50px;
  width: 150px;
  height: 150px;
  background: rgba(59, 130, 246, 0.3);
  border-radius: 50%;
  z-index: 1;
}

.carousel-title {
  text-align: center;
  color: #fff;
  font-size: 1.8rem;
  font-weight: 700;
  margin: 20px 0 15px 0;
  letter-spacing: -0.5px;
  z-index: 2;
  position: relative;
}

/* Banner de estadísticas sobre el carrusel */
.stats-banner {
  width: 100%;
  max-width: 1100px;
  margin: 12px auto 6px auto;
  display: flex;
  align-items: center;
  gap: 16px;
  justify-content: center;
  z-index: 3;
  position: relative;
  color: #fff;
  padding: 8px 16px;
}

.stats-number {
  font-size: 1.6rem;
  font-weight: 800;
  color: #fff;
  background: rgba(0, 0, 0, 0.15);
  padding: 8px 12px;
  border-radius: 8px;
  min-width: 84px;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.stats-text {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.95);
  opacity: 0.95;
  font-weight: 600;
  text-align: left;
}

/* Banner mejorado con logo, contador y sello */
.enhanced-stats-banner {
  width: 100%;
  max-width: 1200px;
  margin: 15px auto 10px auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 3;
  position: relative;
  color: #fff;
  padding: 20px 24px;
  gap: 20px;
}

.banner-left {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
}

.came-logo {
  height: 80px;
  width: auto;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.2));
}

.banner-center {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.stats-highlight {
  text-align: center;
}

.stats-number-enhanced {
  font-size: 3.2rem;
  font-weight: 900;
  color: #fff;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.2),
    rgba(255, 255, 255, 0.1)
  );
  padding: 12px 20px;
  border-radius: 16px;
  min-width: 120px;
  text-align: center;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
  border: 2px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  margin-bottom: 8px;
}

.stats-label {
  font-size: 1.1rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 4px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.stats-subtitle {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 500;
  font-style: italic;
}

.cta-button {
  background: linear-gradient(135deg, #ff6b35, #f7931e);
  color: white;
  text-decoration: none;
  padding: 12px 20px;
  border-radius: 25px;
  font-size: 0.9rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s ease;
  box-shadow: 0 6px 18px rgba(255, 107, 53, 0.4);
  border: none;
}

.cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(255, 107, 53, 0.5);
  background: linear-gradient(135deg, #f7931e, #ff6b35);
}

.banner-right {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
}

.iso-seal {
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  padding: 12px 16px;
  text-align: center;
  min-width: 120px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.iso-title {
  font-size: 0.8rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 2px;
}

.iso-text {
  font-size: 1.1rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 2px;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.iso-subtitle {
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 500;
}

/* Banner horizontal en una sola fila */
.horizontal-stats-banner {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 3;
  position: relative;
  color: #fff;
  padding-top: 10px;
  gap: 20px;
  min-height: 60px;
}

.banner-item {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.logo-item {
  flex: 0 0 auto;
}

.came-logo-horizontal {
  height: 50px;
  width: auto;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

.iso-item {
  flex: 0 0 auto;
}

.iso-seal-horizontal {
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  padding: 8px 12px;
  text-align: center;
  min-width: 110px;
}

.iso-compact {
  font-size: 0.75rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 1px;
}

.iso-standard {
  font-size: 0.9rem;
  font-weight: 800;
  color: #fff;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.counter-item {
  flex: 0 0 auto;
  gap: 20px;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.2),
    rgba(255, 255, 255, 0.1)
  );
  padding: 8px 16px;
  border-radius: 12px;
  min-width: 100px;
  text-align: center;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(8px);
}

.stats-number-horizontal {
  font-size: 2.5rem;
  font-weight: 900;
  color: #fff;
}

.text-item {
  flex: 1;
  padding: 0 16px;
}

.stats-text-horizontal {
  text-align: left;
}

.stats-main {
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 2px;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.stats-sub {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 500;
  font-style: italic;
}

.cta-item {
  flex: 0 0 auto;
}

.cta-button-horizontal {
  background: linear-gradient(135deg, #ff6b35, #f7931e);
  color: white;
  text-decoration: none;
  padding: 10px 16px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(255, 107, 53, 0.4);
  border: none;
  white-space: nowrap;
}

.cta-button-horizontal:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(255, 107, 53, 0.5);
  background: linear-gradient(135deg, #f7931e, #ff6b35);
}

.titulo-carousel {
  font-size: 1.2rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 5px;
  padding-left: 1em;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.carousel-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  height: 200px;
  max-width: 100vw;
  margin: 0 auto;
  padding: 0 60px;
  z-index: 2;
}

.carousel {
  overflow: hidden;
  flex: 1;
  height: 100%;
  user-select: none;
  width: 100%;
}

.carousel-track {
  display: flex;
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  gap: 20px;
  height: 100%;
}

.agenda-item {
  /* Cálculo correcto considerando el gap: (100% - gaps) / items */
  /* Para 4 items: (100% - 3 gaps de 20px) / 4 */
  flex: 0 0 calc((100% - 60px) / 4);
  width: calc((100% - 60px) / 4);
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  transition: all 0.3s ease;
  position: relative;
  height: 160px;
  color: #222;
  display: flex;
  flex-shrink: 0;
  -webkit-border-radius: 12px;
  -moz-border-radius: 12px;
  -ms-border-radius: 12px;
  -o-border-radius: 12px;
  -webkit-transition: all 0.3s ease;
  -moz-transition: all 0.3s ease;
  -ms-transition: all 0.3s ease;
  -o-transition: all 0.3s ease;
}

/* Breakpoints para ajustar ancho según itemsPerView JS */
@media (max-width: 1024px) {
  .agenda-item {
    flex: 0 0 calc((100% - 40px) / 3); /* 3 items, 2 gaps -> 40px */
    width: calc((100% - 40px) / 3);
  }
}

@media (max-width: 768px) {
  .agenda-item {
    flex: 0 0 calc((100% - 20px) / 2); /* 2 items, 1 gap -> 20px */
    width: calc((100% - 20px) / 2);
  }
}

@media (max-width: 480px) {
  .agenda-item {
    flex: 0 0 100%;
    width: 100%;
  }
}

.agenda-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
}

/* Estilo especial para el evento de hoy */
.agenda-item.today-event {
  border: 3px solid #ff6b35;
  box-shadow: 0 8px 20px rgba(255, 107, 53, 0.3);
}

.agenda-item.today-event:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 24px rgba(255, 107, 53, 0.4);
}

.agenda-item.today-event .date-section {
  background: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%);
}

.agenda-item.today-event .date-section::after {
  content: "HOY";
  position: absolute;
  top: 5px;
  right: 5px;
  background: rgba(255, 255, 255, 0.9);
  color: #ff6b35;
  font-size: 0.6rem;
  font-weight: 700;
  padding: 2px 4px;
  border-radius: 8px;
  letter-spacing: 0.5px;
}

.agenda-flex {
  display: flex;
  height: 100%;
  width: 100%;
}

.date-section {
  background: linear-gradient(135deg, #2196f3 0%, #1976d2 100%);
  color: #fff;
  width: 90px;
  min-width: 90px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
}

.date-label {
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 1px;
  margin-bottom: 4px;
  display: flex;
  align-items: center;
  gap: 2px;
  flex-wrap: wrap;
  justify-content: center;
}

.weekday {
  font-size: 0.85rem;
  font-weight: 700;
}

.month {
  font-size: 0.85rem;
  font-weight: 700;
  opacity: 0.9;
}

.day {
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1;
}

.content-section {
  flex: 1;
  padding: 5px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.event-title {
  font-size: 1rem;
  font-weight: 700;
  color: #1a1a1a;
  line-height: 1.2rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.event-author {
  font-size: 0.85rem;
  color: #1976d2;
  font-style: italic;
}

.event-organizer {
  font-size: 0.75rem;
  color: #666;
  margin-bottom: 2px;
  line-height: 0.7rem;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;
}

.event-details {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.event-time {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  color: #2196f3;
  font-weight: 600;
}

.event-mode {
  display: flex;
  align-items: center;
  gap: 6px;
}

.mode-badge {
  background: #e3f2fd;
  color: #1976d2;
  padding: 4px 8px;
  border-radius: 12px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: capitalize;
}

.mode-badge.virtual {
  background: #fff3e0;
  color: #f57c00;
}

.mode-badge.presencial {
  background: #e8f5e8;
  color: #388e3c;
}

.location {
  font-size: 0.75rem;
  color: #888;
  margin-left: 4px;
}

/* Sección de acciones y botón de consulta */
.event-actions {
  margin-top: auto;
  padding-top: 0px;
}

.contact-btn {
  background: linear-gradient(135deg, #2196f3 0%, #1976d2 100%);
  color: white;
  border: none;
  border-radius: 8px;
  padding: 6px 12px;
  font-size: 0.75rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 6px;
  width: 100%;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(33, 150, 243, 0.3);
}

.contact-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(33, 150, 243, 0.4);
  background: linear-gradient(135deg, #1976d2 0%, #1565c0 100%);
}

.contact-btn:active {
  transform: translateY(0);
}

.contact-btn svg {
  width: 14px;
  height: 14px;
}

/* Botones de navegación */
.carousel-btn {
  background: rgba(255, 255, 255, 0.95);
  border: none;
  border-radius: 50%;
  width: 45px;
  height: 45px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  color: #2196f3;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
}

.carousel-btn--prev {
  left: 15px;
}

.carousel-btn--next {
  right: 15px;
}

.carousel-btn:hover {
  background: white;
  transform: translateY(-50%) scale(1.1);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.carousel-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
  transform: translateY(-50%);
}

/* Indicadores */
.carousel-indicators {
  display: flex;
  justify-content: center;
  gap: 8px;
  position: absolute;
  bottom: 15px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
}

.indicator {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: all 0.3s ease;
}

.indicator.active {
  background: #fff;
  transform: scale(1.3);
}

/* Responsive Design */
@media (max-width: 1366px) and (min-width: 1025px) {
  /* Breakpoint específico para 1366x768 y similares */
  .horizontal-stats-banner {
    max-width: 1300px;
    padding: 8px 16px;
    gap: 15px;
  }

  .content-section {
    padding: 5px;
  }
  .event-actions {
    margin-top: 0px;
    padding-top: 4px;
  }

  .came-logo-horizontal {
    height: 42px;
  }

  .counter-item {
    min-width: 90px;
    padding: 6px 12px;
  }

  .stats-number-horizontal {
    font-size: 2.2rem;
  }

  .stats-main {
    font-size: 0.95rem;
    margin-bottom: 3px;
  }

  .stats-sub {
    font-size: 0.8rem;
  }

  .cta-button-horizontal {
    font-size: 0.75rem;
    padding: 8px 14px;
  }

  .iso-seal-horizontal {
    min-width: 95px;
    padding: 6px 10px;
  }

  .carousel-wrapper {
    padding: 0 45px;
    height: 190px;
  }

  .carousel-container {
    height: 290px;
  }

  .agenda-item {
    height: 170px;
  }

  .date-section {
    width: 85px;
    min-width: 85px;
  }

  .day {
    font-size: 2.3rem;
  }

  .event-title {
    font-size: 0.95rem;
  }

  .event-organizer {
    font-size: 0.6rem;
    line-height: 0.5rem;
  }
  .event-time {
    font-size: 0.7rem;
  }
  .event-mode span {
    font-size: 0.7rem;
  }
  .carousel-btn {
    width: 40px;
    height: 40px;
  }
}

@media (max-width: 1200px) and (min-width: 1025px) {
  .carousel-wrapper {
    padding: 0 50px;
  }
}

@media (max-width: 1024px) {
  .agenda-item {
    /* Para 3 items: (100% - 2 gaps de 20px) / 3 */
    width: calc((100% - 40px) / 3);
  }

  .carousel-title {
    font-size: 1.6rem;
    margin: 15px 0 10px 0;
  }

  .carousel-wrapper {
    padding: 0 40px;
    height: 200px;
  }

  .stats-number {
    font-size: 1.4rem;
    min-width: 72px;
  }
  .stats-text {
    font-size: 0.9rem;
  }

  /* Banner mejorado responsive 1024px */
  .enhanced-stats-banner {
    padding: 16px 20px;
    gap: 16px;
  }

  .came-logo {
    height: 65px;
  }

  .stats-number-enhanced {
    font-size: 2.8rem;
    padding: 10px 16px;
  }

  .stats-label {
    font-size: 1rem;
  }

  .cta-button {
    font-size: 0.85rem;
    padding: 10px 16px;
  }

  .iso-seal {
    min-width: 100px;
    padding: 10px 12px;
  }

  /* Banner horizontal responsive 1024px */
  .horizontal-stats-banner {
    padding: 12px 20px;
    gap: 16px;
  }

  .came-logo-horizontal {
    height: 45px;
  }

  .stats-number-horizontal {
    font-size: 2.2rem;
    padding: 6px 14px;
  }

  .stats-main {
    font-size: 0.95rem;
  }

  .cta-button-horizontal {
    font-size: 0.75rem;
    padding: 8px 14px;
  }

  .agenda-item {
    height: 180px;
  }

  .date-section {
    width: 80px;
    min-width: 80px;
  }

  .day {
    font-size: 2.2rem;
  }
}

@media (max-width: 768px) {
  .agenda-item {
    /* Para 2 items: (100% - 1 gap de 20px) / 2 */
    width: calc((100% - 20px) / 2);
  }

  .carousel-wrapper {
    padding: 0 35px;
  }

  .carousel-btn {
    width: 35px;
    height: 35px;
  }

  .carousel-btn--prev {
    left: 10px;
  }

  .carousel-btn--next {
    right: 10px;
  }

  .carousel-header {
    gap: 15px;
    padding: 0 10px;
  }

  .carousel-logo {
    width: 160px;
  }

  .carousel-title {
    font-size: 1.5rem;
  }

  /* Banner mejorado responsive 768px */
  .enhanced-stats-banner {
    padding: 14px 16px;
    gap: 12px;
  }

  .came-logo {
    height: 55px;
  }

  .stats-number-enhanced {
    font-size: 2.4rem;
    padding: 8px 14px;
  }

  .stats-label {
    font-size: 0.95rem;
  }

  .cta-button {
    font-size: 0.8rem;
    padding: 8px 14px;
  }

  .iso-seal {
    min-width: 90px;
    padding: 8px 10px;
  }

  .iso-title {
    font-size: 0.75rem;
  }

  .iso-text {
    font-size: 1rem;
  }

  /* Banner horizontal responsive 768px */
  .horizontal-stats-banner {
    padding: 10px 16px;
    gap: 12px;
  }

  .came-logo-horizontal {
    height: 40px;
  }

  .stats-number-horizontal {
    font-size: 2rem;
    padding: 6px 12px;
  }

  .stats-main {
    font-size: 0.9rem;
  }

  .stats-sub {
    font-size: 0.8rem;
  }

  .cta-button-horizontal {
    font-size: 0.7rem;
    padding: 6px 12px;
  }

  .iso-seal-horizontal {
    min-width: 90px;
    padding: 6px 8px;
  }
}

@media (max-width: 480px) {
  .carousel-header {
    flex-direction: column;
    gap: 10px;
    padding: 15px 10px 10px 10px;
  }

  .carousel-logo {
    width: 140px;
  }

  .carousel-title {
    font-size: 1.3rem;
    margin: 0;
    text-align: center;
  }

  .carousel-wrapper {
    padding: 0 30px;
    height: 180px;
  }

  .stats-banner {
    padding: 6px 10px;
    gap: 10px;
    flex-direction: column;
  }

  .stats-number {
    font-size: 1.1rem;
    min-width: auto;
    width: auto;
  }

  .stats-text {
    font-size: 0.85rem;
    text-align: center;
  }

  .agenda-item {
    /* Para 1 item: 100% sin gaps */
    width: 100%;
    height: 160px;
  }

  .carousel-btn {
    width: 30px;
    height: 30px;
  }

  .carousel-btn--prev {
    left: 5px;
  }

  .carousel-btn--next {
    right: 5px;
  }

  .date-section {
    width: 65px;
    min-width: 65px;
    padding: 8px 4px;
  }

  .date-label {
    font-size: 0.7rem;
    margin-bottom: 2px;
    flex-direction: column;
    gap: 0;
    line-height: 1.1;
  }

  .weekday,
  .month {
    font-size: 0.7rem;
  }

  .day {
    font-size: 1.8rem;
    margin-top: 2px;
  }

  .content-section {
    padding: 5px;
  }

  .event-title {
    font-size: 0.85rem;
    margin-bottom: 3px;
    -webkit-line-clamp: 2;
    line-clamp: 2;
  }

  .event-author {
    font-size: 0.75rem;
  }

  .event-organizer {
    font-size: 0.7rem;
    margin-bottom: 10px;
    -webkit-line-clamp: 3;
    line-clamp: 3;
  }

  .event-details {
    gap: 8px;
    flex-wrap: wrap;
  }

  .event-time {
    font-size: 0.7rem;
  }

  .mode-badge {
    font-size: 0.65rem;
    padding: 2px 6px;
  }

  .contact-btn {
    font-size: 0.7rem;
    padding: 5px 10px;
    gap: 4px;
  }

  .contact-btn svg {
    width: 12px;
    height: 12px;
  }

  /* Banner mejorado responsive 480px */
  .enhanced-stats-banner {
    padding: 12px 16px;
    gap: 12px;
    flex-direction: column;
    text-align: center;
  }

  .banner-left,
  .banner-right {
    order: 2;
  }

  .banner-center {
    order: 1;
  }

  .came-logo {
    height: 45px;
  }

  .stats-number-enhanced {
    font-size: 2rem;
    padding: 8px 12px;
  }

  .stats-label {
    font-size: 0.9rem;
  }

  .stats-subtitle {
    font-size: 0.8rem;
  }

  .cta-button {
    font-size: 0.75rem;
    padding: 8px 12px;
  }

  .iso-seal {
    min-width: 80px;
    padding: 6px 8px;
  }

  .iso-title {
    font-size: 0.7rem;
  }

  .iso-text {
    font-size: 0.9rem;
  }

  .iso-subtitle {
    font-size: 0.6rem;
  }

  /* Banner horizontal responsive 480px */
  .horizontal-stats-banner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto auto;
    grid-template-areas:
      "logo iso"
      "counter counter"
      "button button";
    padding-top: 10px;
    gap: 0;
    text-align: center;
    min-height: 120px;
    justify-items: center;
    align-items: center;
  }

  /* Posicionamiento con grid areas */
  .logo-item {
    grid-area: logo;
    justify-self: end;
    padding-right: 10px;
  }

  .iso-item {
    grid-area: iso;
    justify-self: start;
    padding-left: 10px;
  }

  .counter-item {
    grid-area: counter;
    width: 90%;
    justify-content: center;
    flex-direction: column;
    margin: 8px 0;
    gap: 0;
  }

  .cta-item {
    grid-area: button;
    width: 100%;
    justify-content: center;
  }

  .came-logo-horizontal {
    height: 40px;
  }

  .stats-number-horizontal {
    font-size: 2rem;
    padding: 0;
    margin: 0;
  }

  .stats-main {
    font-size: 0.9rem;
    margin-bottom: 4px;
  }

  .stats-sub {
    font-size: 0.8rem;
  }

  .cta-button-horizontal {
    font-size: 0.75rem;
    padding: 10px 16px;
    margin-top: 8px;
  }

  .iso-seal-horizontal {
    min-width: 70px;
    padding: 4px 6px;
  }

  .iso-compact {
    font-size: 0.65rem;
  }

  .iso-standard {
    font-size: 0.8rem;
  }

  /* Contenedor más alto para móviles */
  .carousel-container {
    height: 420px; /* Más altura para móviles como solicitaste */
  }
}

@media (max-width: 360px) {
  .carousel-logo {
    width: 120px;
  }

  .carousel-title {
    font-size: 1.2rem;
  }

  .date-section {
    width: 60px;
    min-width: 60px;
  }

  .date-label {
    font-size: 0.65rem;
  }

  .weekday,
  .month {
    font-size: 0.65rem;
  }

  .day {
    font-size: 1.6rem;
  }

  .event-title {
    font-size: 0.8rem;
  }

  .event-author {
    font-size: 0.7rem;
  }

  .event-organizer {
    font-size: 0.65rem;
    line-height: 0.75rem;
  }

  .event-time {
    font-size: 0.65rem;
  }

  .mode-badge {
    font-size: 0.6rem;
    padding: 2px 4px;
  }

  .contact-btn {
    font-size: 0.65rem;
    padding: 4px 8px;
    gap: 3px;
  }

  .contact-btn svg {
    width: 11px;
    height: 11px;
  }
}

/* Animaciones */
@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.agenda-item {
  animation: slideIn 0.6s ease forwards;
}

.agenda-item:nth-child(1) {
  animation-delay: 0.1s;
}
.agenda-item:nth-child(2) {
  animation-delay: 0.2s;
}
.agenda-item:nth-child(3) {
  animation-delay: 0.3s;
}
.agenda-item:nth-child(4) {
  animation-delay: 0.4s;
}
