/* =========================================================
   Base / Reset
========================================================= */
html,
body {
  overflow-x: hidden;  /* oculta horizontal */
  overflow-y: auto;    /* muestra vertical solo cuando es necesario */
}

:root {
  --bg: #0f1216;
  --card: #12161c;
  --radius: 20px;
  --shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  --azul: #0d3b8e;
  --verde: #0f8f44;
  --amarillo: #d4b108;
  --rojo: #c91621;
}

body {
  background: var(--bg);
  padding-top: 2rem;
}

/* =========================================================
   HERO
========================================================= */
.hero {
  position: relative;
  min-height: min(50vh, 400px);
  display: flex;
  align-items: center;
  padding: 4rem 0;
  width: 100% !important;
  background-image: url(assets/imagenes/header-texture-e4752c7f.png);
  background-size: cover !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
  background-color: #626060;
}

.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(1);
  z-index: -2;
}

.hero .overlay {
  position: absolute;
  inset: 0;
  background: none !important;
  z-index: -1;
}

/* =========================================================
   Cards
========================================================= */
.evt-card {
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--card);
  box-shadow: 0 10px 24px rgba(0,0,0,.25);
  color: #fff;
  transition: transform .2s ease, box-shadow .2s ease;
}
.evt-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(0,0,0,.35);
}
.evt-card:focus-visible {
  outline: 2px solid #4dabf7;
  outline-offset: 3px;
}

.evt-media {
  position: relative;
  aspect-ratio: 16/9;
  background: #1a1f27;
}
.evt-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.evt-badge {
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: var(--radius) var(--radius) 0 0;
}
.evt-badge::before,
.evt-badge::after {
  content: "";
  position: absolute;
  border-radius: 6px;
  background: var(--accent, #18a058);
  opacity: .95;
}
.evt-badge::before {
  width: 8px; height: 80px; right: 16px; top: 12px;
  transform: skew(-16deg);
}
.evt-badge::after {
  width: 10px; height: 10px; left: 14px; top: 14px; border-radius: 999px;
}

.evt-body {
  background: #fff;
  color: #111827;
  padding: 18px 20px;
  border-radius: 0 0 var(--radius) var(--radius);
}

.evt-title {
  font-size: 1rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .5px;
  margin: 0 0 8px 0;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

.evt-meta {
  color: #475563;
  font-size: .95rem;
  display: grid;
  gap: 2px;
}

.evt-title .emoji {
  font-size: 1.6em;
  line-height: 1;
  vertical-align: -0.1em;
  display: inline-block;
  margin-right: .35rem;
  font-family: "Segoe UI Emoji","Apple Color Emoji","Noto Color Emoji",sans-serif;
}

/* =========================================================
   Navbar
========================================================= */
#navbar-superior {
  background-color: #ea8215 !important;
  background-image: url(assets/imagenes/header-texture-e4752c7f.png);
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}
#navbar-superior .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.navbar img {
  height: 5em; width: auto;
  padding-top: 3px !important;
  padding-bottom: 0 !important;
  align-items: center;
}

.logo-central {
  flex: 1;
  display: flex;
  justify-content: center;
  transform: translateX(-50%);
}
@media (max-width: 768px) {
  .logo-central { transform: translateX(-30%); padding-left: 5% !important; }
}

/* =========================================================
   Sección "Deportes"
========================================================= */
#deportes {
  background-image: url(assets/imagenes/header-texture-e4752c7f.png);
  background-size: cover !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
  width: 100% !important;
  background-color: #f5f5f5;
  padding-top: 2rem;
}

#titulo-mapas,
#titulo-itinerarios {
  text-align: center;
  width: 80%;
  margin-left: auto;
  margin-right: auto;
}

/* Social */
#titulo-mapas {
  font-size: .8rem;
  font-weight: 600;
  color: white;        /* ajustá según color de fondo */
  background-color: #f08414;
  letter-spacing: .3px;
  text-transform: uppercase;
  opacity: .95;
  padding: .35rem .6rem !important;
  border-radius: .5rem;
}

#titulo-mapas .emoji {
  font-size: 1.3em;
  line-height: 1;
  vertical-align: -0.1em;
  display: inline-block;
  margin-left: .35rem;
  font-family: "Segoe UI Emoji","Apple Color Emoji","Noto Color Emoji",sans-serif;
}

#titulo-itinerarios { color: #000; }
@media (max-width: 767.98px) {
  #titulo-mapas,
  #titulo-itinerarios { font-size: 1rem; }
}

#titulo-itinerarios {
  font-size: .8rem;
  font-weight: 600;
  color: white;        /* ajustá según color de fondo */
  background-color: #f08414;
  letter-spacing: .3px;
  text-transform: uppercase;
  opacity: .95;
  padding: .35rem .6rem !important;
  border-radius: .5rem;
}

#titulo-itinerarios .emoji {
  font-size: 1.3em;
  line-height: 1;
  vertical-align: -0.1em;
  display: inline-block;
  margin-left: .35rem;
  font-family: "Segoe UI Emoji","Apple Color Emoji","Noto Color Emoji",sans-serif;
}

/* =========================================================
   "Encontranos en"
========================================================= */
.redes {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0px;
}

/* Social */
.redes-label {
  font-size: .8rem;
  font-weight: 600;
  color: white;        /* ajustá según color de fondo */
  background-color: black;
  letter-spacing: .3px;
  text-transform: uppercase;
  opacity: .95;
  padding: .35rem .6rem;
  border-radius: .5rem;
}

@keyframes latido{
  0%,100%{ transform: scale(1); }
  40%{ transform: scale(1.06); }
}

.redes-icons {
  display: flex;
  gap: 10px;
}

.icon-redes{
  height: 4rem !important;
  width: auto;
  transition: transform .3s ease;
}

.icon-redes:hover {
  transform: scale(70%);
}

.icon--instagram {
  cursor: pointer;
  animation: latido 1s infinite; 
}

.icon--pedidosya {
  animation: latido 1.5s infinite; 
}

.icon--whatsapp {
  animation: latido 1s infinite; 
}

@media (max-width: 576px) {
  .icon-redes{ height: 4rem !important; }
  .redes-label { font-size: .75rem; }
}

/* =========================================================
   Tramos
========================================================= */
#tramos {
  font-family: "Poppins", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
}

.dia {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 18px 18px 22px;
  position: relative;
}

.dia-head {
  position: relative;
  margin: -6px 0 14px;
  padding-top: 6px;
}

.dia-title {
  display: inline-block;
  font: 900 .95rem/1 "Oxanium", sans-serif;
  color: #fff;
  padding: .65rem 1rem .6rem;
  border-radius: 8px 0 0 8px;
  letter-spacing: .4px;
  text-transform: uppercase;
}

.card-tramo {
  border: 2px solid currentColor;
  border-radius: 18px;
  padding: 18px 16px;
  margin-bottom: 14px;
  color: #0e3a72;
  background: #fff;
  box-shadow: 0 6px 14px rgba(0,0,0,.05);
}

.tramo-tit {
  font-family: "Oxanium", sans-serif;
  font-weight: 800;
  font-size: 1.08rem;
  margin: 0 0 .35rem 0;
  text-transform: uppercase;
}
.tramo-tit .thin { font-weight: 700; opacity: .85; }

.tramo-sub {
  font-family: "Oxanium", sans-serif;
  font-weight: 900;
  color: inherit;
  letter-spacing: .6px;
  text-transform: uppercase;
  margin-bottom: .1rem;
}

.tramo-horas {
  font-size: 1rem;
  letter-spacing: .2px;
}

.dia--azul .dia-title { background: var(--azul); }
.dia--azul .dia-ribbon { background: var(--azul); }
.dia--azul .card-tramo { color: var(--azul); }

.dia--verde .dia-title { background: var(--verde); }
.dia--verde .dia-ribbon { background: var(--verde); }
.dia--verde .card-tramo { color: var(--verde); }

.dia--amarillo .dia-title { background: var(--amarillo); }
.dia--amarillo .dia-ribbon { background: var(--amarillo); }
.dia--amarillo .card-tramo { color: var(--amarillo); }

.dia--rojo .dia-title { background: var(--rojo); }
.dia--rojo .dia-ribbon { background: var(--rojo); }
.dia--rojo .card-tramo { color: var(--rojo); }

@media (max-width: 992px) {
  .dia { padding: 16px; }
  .dia-title { font-size: .9rem; }
  .tramo-tit { font-size: 1rem; }
  .dia-ribbon { left: 132px; width: 88px; height: 26px; }
}
@media (max-width: 576px) {
  .dia { border-radius: 18px; }
  .dia-title { font-size: .88rem; padding: .55rem .9rem; }
  .tramo-tit { font-size: .98rem; }
  .card-tramo { padding: 16px 14px; }
  .dia-ribbon { left: 120px; width: 82px; height: 24px; }
}

/* =========================================================
   Footer
========================================================= */
#contacto {
  background-color: #ea8215 !important;
  background-image: url(assets/imagenes/header-texture-e4752c7f.png);
}

/* =========================================================
   Banderas
========================================================= */
.icono-banderas {
  width: 20%;
  height: auto;
  filter: brightness(0) invert(1);
  display: block;
  margin-bottom: 5px;
  position: absolute;
  left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  height: 40px;
}

@media (max-width: 991.98px) {
  .icono-banderas { display: none; }
}

/* =========================================================
   Ajustes móviles emoji
========================================================= */
@media (max-width: 768px) {
  .evt-title .emoji { font-size: 1.3em; }
}

/* =========================================================
   Día 4 - título y icono
========================================================= */

.mapa-con-icono {
  position: relative;
}

.icono-mapa {
  position: absolute;
  top: 14rem;
  right: 1rem;
  width: 35px;
  height: 35px;
  cursor: pointer;
  background: white;
  border-radius: 50%;
  padding: 5px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.3);
  transition: transform 0.2s ease;
}

/* Efecto hover */
.icono-mapa:hover {
  transform: scale(1.1);
}

/* Contenedor del día en posición relativa para anclar el icono */
.dia {
  position: relative;
}

.icono-article {
  position: absolute;
  top: 4.5rem;
  right: 2rem;
  width: 32px;
  height: 32px;
  background: #fff;
  border-radius: 50%;
  padding: 5px;
  box-shadow: 0 2px 6px rgba(0,0,0,.3);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform .2s ease;
}

.icono-article img {
  width: 100%;
  height: 100%;
}

.icono-article:hover {
  transform: scale(1.1);
}

.icono-article-2 {
  position: absolute;
  top: 12rem;
  right: 2rem;
  width: 32px;
  height: 32px;
  background: #fff;
  border-radius: 50%;
  padding: 5px;
  box-shadow: 0 2px 6px rgba(0,0,0,.3);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform .2s ease;
}

.icono-article-2 img {
  width: 100%;
  height: 100%;
}

.icono-article-2:hover {
  transform: scale(1.1);
}


.icono-article-3 {
  position: absolute;
  top: 20rem;
  right: 2rem;
  width: 32px;
  height: 32px;
  background: #fff;
  border-radius: 50%;
  padding: 5px;
  box-shadow: 0 2px 6px rgba(0,0,0,.3);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform .2s ease;
}

.icono-article-3 img {
  width: 100%;
  height: 100%;
}

.icono-article-3:hover {
  transform: scale(1.1);
}

.icono-article-4 {
  position: absolute;
  top: 27.5rem;
  right: 2rem;
  width: 32px;
  height: 32px;
  background: #fff;
  border-radius: 50%;
  padding: 5px;
  box-shadow: 0 2px 6px rgba(0,0,0,.3);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform .2s ease;
}

.icono-article-4 img {
  width: 100%;
  height: 100%;
}

.icono-article-4:hover {
  transform: scale(1.1);
}


/* Fila de horario + icono alineados */
.tramo-horas-row{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:.75rem;
}

/* estilo base (opcional) para todos los iconos del sábado */
.icono-article-sab-1,
.icono-article-sab-2,
.icono-article-sab-3,
.icono-article-sab-4{
  width:32px;
  height:32px;
  background:#fff;
  border-radius:50%;
  padding:5px;
  box-shadow:0 2px 6px rgba(0,0,0,.3);
  display:flex;
  align-items:center;
  justify-content:center;
  transition:transform .2s ease;
}
.icono-article-sab-1 img,
.icono-article-sab-2 img,
.icono-article-sab-3 img,
.icono-article-sab-4 img{
  width:100%;
  height:100%;
}
.icono-article-sab-1:hover,
.icono-article-sab-2:hover,
.icono-article-sab-3:hover,
.icono-article-sab-4:hover{
  transform:scale(1.1);
}

/* Fila de horas + icono alineados */
.tramo-horas-row{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:.75rem;
}

/* DOMINGO – Icono 1 */
.icono-article-dom-1{
  width:32px;
  height:32px;
  background:#fff;
  border-radius:50%;
  padding:5px;
  box-shadow:0 2px 6px rgba(0,0,0,.3);
  display:flex;
  align-items:center;
  justify-content:center;
  transition:transform .2s ease;
}
.icono-article-dom-1 img{ width:100%; height:100%; }
.icono-article-dom-1:hover{ transform:scale(1.1); }

/* DOMINGO – Icono 2 */
.icono-article-dom-2{
  width:32px;
  height:32px;
  background:#fff;
  border-radius:50%;
  padding:5px;
  box-shadow:0 2px 6px rgba(0,0,0,.3);
  display:flex;
  align-items:center;
  justify-content:center;
  transition:transform .2s ease;
}
.icono-article-dom-2 img{ width:100%; height:100%; }
.icono-article-dom-2:hover{ transform:scale(1.1); }

.tramo-horas-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
}

/* Viernes - Iconos */
.icono-article-vie-1,
.icono-article-vie-2,
.icono-article-vie-3,
.icono-article-vie-4 {
  width: 32px;
  height: 32px;
  background: #fff;
  border-radius: 50%;
  padding: 5px;
  box-shadow: 0 2px 6px rgba(0,0,0,.3);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform .2s ease;
}
.icono-article-vie-1 img,
.icono-article-vie-2 img,
.icono-article-vie-3 img,
.icono-article-vie-4 img {
  width: 100%;
  height: 100%;
}
.icono-article-vie-1:hover,
.icono-article-vie-2:hover,
.icono-article-vie-3:hover,
.icono-article-vie-4:hover {
  transform: scale(1.1);
}

.tramo-horas-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
}

/* Jueves - Icono 1 */
.icono-article-jue-1 {
  width: 32px;
  height: 32px;
  background: #fff;
  border-radius: 50%;
  padding: 5px;
  box-shadow: 0 2px 6px rgba(0,0,0,.3);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform .2s ease;
}
.icono-article-jue-1 img {
  width: 100%;
  height: 100%;
}
.icono-article-jue-1:hover {
  transform: scale(1.1);
}

html {
  scroll-behavior: smooth;
}

.scroll-cue {
  position: fixed;
  left: 50%;
  bottom: 20px;
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 999px;
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(4px);
  border: 1px solid rgba(255,255,255,0.25);
  text-decoration: none;
  transition: opacity .4s ease, transform .2s ease, background .2s ease, border-color .2s ease;
  z-index: 1000;
  opacity: 1; /* visible por defecto */
}

/* Oculto cuando se hace scroll */
.scroll-cue.hidden {
  opacity: 0;
  pointer-events: none;
}

/* Hover */
.scroll-cue:hover {
  background: rgba(0,0,0,0.9);
  border-color: rgba(255,255,255,0.4);
  transform: translateX(-50%) translateY(-2px);
}

/* Focus */
.scroll-cue:focus {
  outline: none;
}

/* Active */
.scroll-cue:active {
  transform: translateX(-50%) translateY(1px) scale(0.96);
}

/* Flecha blanca animada */
.scroll-cue .chevrons {
  animation: cue-bounce 0.6s infinite ease-in-out;
  fill: #fff;
}

/* Animación rebote */
@keyframes cue-bounce {
  0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
  40% { transform: translateY(6px); }
  60% { transform: translateY(3px); }
}

/* ===== Enlaces a Google Maps en la fila de horario (limpio y siempre visible) ===== */
.tramo-horas-row {
  display: flex;
  align-items: center;
  justify-content: space-between;   /* horas a la izquierda, enlace a la derecha */
  gap: .75rem;
  padding-right: 16px;              /* despega del borde derecho */
}

.tramo-horas-row a[class^="icono-article-"] {
  display: inline-flex;
  align-items: center;
  gap: .55rem;                      /* espacio entre texto/flecha e icono */
  text-decoration: none;
  vertical-align: middle;
  position: relative;
  isolation: isolate;

  /* limpieza de estilos heredados */
  background: none !important;
  border: none !important;
  box-shadow: none !important;
  border-radius: 0 !important;
}

.tramo-horas-row a[class^="icono-article-"] img {
  width: 22px;
  height: 22px;
  object-fit: contain;
  display: block;
  background: none !important;
  border: none !important;
  box-shadow: none !important;
  border-radius: 0 !important;
}

/* Texto "Ver mapa" siempre visible (antes del icono) */
.tramo-horas-row a[class^="icono-article-"]::before {
  content: "Ver mapa";
  color: #e53935;
  font-weight: 700;
  font-size: .72rem;
  letter-spacing: .2px;
  text-transform: uppercase;
  line-height: 1;
  margin-right: .25rem;
}

/* Hover: sutil brillo al ícono */
.tramo-horas-row a[class^="icono-article-"]:hover img {
  filter: brightness(1.08);
}

/* Mobile: reducimos ambos (texto y flecha) */
@media (max-width: 576px) {
  .tramo-horas-row a[class^="icono-article-"]::before {
    font-size: .65rem;
  }
  .tramo-horas-row a[class^="icono-article-"]::after {
    font-size: .75rem;
  }
}

/* Importante: no afectar al botón flotante sobre el iframe */
.icono-mapa::before,
.icono-mapa::after {
  content: none !important;
}

/* Chanchi flotando sobre el borde superior del footer */
#contacto {               /* el footer */
  position: relative;     /* referencia para el posicionamiento absoluto */
  overflow: visible;      /* por si el logo sobresale hacia arriba */
}

#logo-chanchi {
  position: absolute;
  top: -19.3rem;
  left: 18%;
  transform: translateX(-70%); /* más negativo = más a la izquierda */
  width: 25rem;
  height: auto;
  z-index: 2;
  pointer-events: none;
}

/* Por defecto oculto */
#logo-chanchi {
  display: none;
}

/* Mostrar solo a partir de 1422x881 */
@media (min-width: 1295px){
  #logo-chanchi {
    display: block;
    position: absolute;
    top: -19.3rem;
    left: 18%;
    transform: translateX(-70%);
    width: 25rem;
    height: auto;
    z-index: 2;
    pointer-events: none;
  }
}













