/*
 * Opción BUENOS AIRES
 */

html {
    font-size: 16px;
}

body {
    font-family: 'Roboto', sans-serif;
    font-weight: 400;
    color: #545454;
    -webkit-font-smoothing: antialiased;
    font-size: 1rem; /* Equivalente a 16px. Asegura una base legible. */
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Roboto', sans-serif;
    font-weight: 400;
    /* Line-height ajustado para encabezados, mejora la legibilidad en varias líneas */
    line-height: 1.2;
}

/* Tamaños de fuente para móviles (base) */
h1 { font-size: 1.5rem; } /* Aproximadamente 35.2px */
h2 { font-size: 1.3rem; } /* Aproximadamente 28.8px */
h3 { font-size: 1.2rem; } /* Aproximadamente 25.6px */
h4 { font-size: 1.1rem; } /* Aproximadamente 22.4px */
h5 { font-size: 1.1rem; } /* Aproximadamente 19.2px */
h6 { font-size: 1rem; }   /* Aproximadamente 16px */


p {
    margin: 0;
    padding: 0;
    color: #787878;
    font-size: 1.8rem; /* Asegura un tamaño legible en móviles (16px) */
    line-height: 1.6; /* Mejora la legibilidad de los párrafos */
}

a {
    text-decoration: none;
    color: #0165AF;
}

a:hover {
    text-decoration: none;
    color: #0000FF;
	text-decoration: underline;
}

a:hover, a:active, a:focus {
    outline: 0;
}

:focus {
    outline: none;
}

::-moz-focus-inner {
    border: 0;
}

.imgbaner {
    text-align: center;
}

img {
    max-width: 100%;
    height: auto;
}

.imgmedio{
	text-align:center;
}
/* Basic CSS ends */

header .navbar { 
	margin: 0;
	background: #ffffff;
	border-radius: 0;
	border-bottom: 2px solid rgba(0,0,0,0.2); 
	box-shadow: 0 1px 15px rgba(0,0,0,0.2);
}

/* Ajustes para enlaces de navegación en móvil */
header .navbar-default .navbar-nav>li>a {
    margin: 10px 3px; /* Espaciado más compacto para móvil */
    padding-top: 6px;
    color: #00246F;
    padding-bottom: 6px;
    border-radius: 2px;
}

header .navbar-default .navbar-nav>li>a:hover, 
header .navbar-default .navbar-nav>li>a:focus,
header .navbar-default .navbar-nav>li.open>a:hover, 
header .navbar-default .navbar-nav>li.open>a:focus {
	background: #e5e5e5;
}



header .navbar-nav .dropdown-menu {
    top: 57px;
    border-radius: 3px;
    /* En móvil, las flechas del dropdown suelen ocultarse */
}


header .navbar-nav .dropdown-menu li a {
    color: #333333 !important; /* Añade !important si es necesario */
	font-size: 1rem;
}

header .navbar-nav .dropdown-menu:after,
header .navbar-nav .dropdown-menu:before {
    display: none; /* Ocultar flechas de dropdown en móvil por defecto */
}

header .navbar-brand {
    padding: 0;
    height: auto;
}

header .navbar-brand img {
    position: relative;
    top: 3px; /* Ajustado para móvil */
    max-width: 180px; /* Tamaño del logo en móvil */
}

header .navbar-default .navbar-toggle .icon-bar {
  background-color: #333333;
}

/* Banner */
.banner {
    background: #ffffff;
    padding-top: 20px;
    padding-bottom: 30px;
}

/* Tamaños de fuente del banner para móvil */
.banner h1 {
    margin-top: 0;
    margin-bottom: 0;
    font-size: 1.6rem; /* Aproximadamente 32px */
    line-height: 1.3;
    color: #006699;
    text-align: center;
	font-weight: 600;
}
.banner h2 {
    margin-top: 0.4em;
    margin-bottom: 0;
	margin: 10px 0;
    font-size: 1.4rem; /* Aproximadamente 27.2px */
    line-height: 1.7;
    color: #CC6600;
    text-align: center;
	font-weight: 600;
}
.banner h3 {
    margin-top: 0.4em;
    margin-bottom: 0;
    font-size: 1.3rem; /* Aproximadamente 24px */
    line-height: 1.4;
    color: #006699;
    text-align: center;
	font-weight: 600;
}
.banner h4 {
    margin-top: 0.4em;
    margin-bottom: 0;
    font-size: 1.2rem; /* Aproximadamente 20.8px */
    line-height: 1.4;
    color: #CC6600;
    text-align: center;
	font-weight: 600;
}
.banner h5 {
    margin-top: 0;
    margin-bottom: 0;
    font-size: 1.1rem; /* Aproximadamente 17.6px */
    line-height: 1.5;
    color: #006699;
    text-align: center;
}

.banner p,


/* Contenedor de la fila del banner */
.banner .row {
    max-width: 700px;
    margin: 0 auto;
    margin-top: 10px;
    font-size: 0.95rem;
    line-height: 1.6;
    color: #333333;
    letter-spacing: 0.055em;
    /* No tocar text-align, para que los textos <p> sigan alineados */
}

/* Centrar solo las imágenes dentro del row */
.banner .row img {
    display: block;          /* permite centrar con margin auto */
    margin: 0 auto 15px auto; /* centrado horizontal y margen inferior */
    max-width: 100%;         /* evita que se desborden */
    height: auto;            /* mantiene proporción */
}

/* Ajustes para pantallas pequeñas (móviles) */
@media (max-width: 767px) {
    .banner .row img {
        max-width: 90%;      /* un poco más estrechas en móviles */
        margin-bottom: 20px; /* mayor separación del texto debajo */
    }

    .banner .row p {
        font-size: 1rem;     /* legible en móviles */
        line-height: 1.5;
    }
}

p img {
    display: block;       /* convierte la imagen en bloque */
    margin: 0 auto;       /* centra horizontalmente */
    max-width: 100%;      /* responsivo */
    height: auto;         /* mantiene proporción */
}

.banner ul {
    max-width: 700px;
    margin: 0 auto;
    margin-top: 10px;
    padding-left: 20px;
    color: #787878;
    list-style-type: disc;
}

.banner li {
    margin-bottom: 10px;
    line-height: 1.5;
    font-size: 0.95rem; /* Consistente con banner p */
    color: #333333;
}

.imgmedio {
    text-align: center;
}

/* default heading */
.default-heading {
    margin-top: 20px;
    margin-bottom: 10px;
    text-align: center; /* Centrado por defecto en móvil */
}
.default-heading h2 {
    margin-top: 0;
    font-size: 1.6rem; /* Aproximadamente 25.6px */
    color: #795f04;
    font-weight: 400;
}

/* footer */
footer {
    margin-top: 10px;
    padding: 10px 0;
    background: #FFF;
    text-align: center;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}
footer.ffoot {
    margin-top: 0;
}
footer p {
    font-size: 0.85rem; /* Aproximadamente 13.6px */
    line-height: 1.8;
    color: #080808;
}
footer p a {
    font-size: 0.9rem; /* Aproximadamente 14.4px */
    line-height: 1.8;
    text-transform: uppercase;
    letter-spacing: 0.055em;
    color: #080808;
}
footer p a:hover { color: #a93c01; }

footer .social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 5px 4px;
  width: 45px;
  height: 45px;
  font-size: 20px;
  border-radius: 50%;
  color: #fff;
  transition: all 0.3s ease;
  text-decoration: none;
}

/* Facebook */
footer .social a.facebook {
  background: #3b5998;
  border: 1px solid #3b5998;
}

footer .social a.facebook:hover {
  background: #2d4373;
  border-color: #2d4373;
}

/* Instagram */
footer .social a.instagram {
  background: radial-gradient(circle at 30% 107%, 
    #fdf497 0%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
  border: none;
}

footer .social a.instagram:hover {
  filter: brightness(1.1);
}

/* Email */
footer .social a.email {
  background: #00bcd4;
  border: 1px solid #00bcd4;
}

footer .social a.email:hover {
  background: #0097a7;
  border-color: #0097a7;
}

/* Asegura que el ícono no intercepte el click */
footer .social a i {
  pointer-events: none;
}

footer .texto-bajo {
    margin-top: 5px;
}

/* Google Maps Responsive */
.google-maps {
    aspect-ratio: 7 / 6;
    width: 100%;
    max-width: 700px;
    margin: 0 auto;
    overflow: hidden;
    position: relative;
	margin-top: 20px;      /* espacio desde el div del buscador */
}
.google-maps iframe {
    width: 100%;
    height: 100%;
    border: 0;
    position: absolute;
    top: 0;
    left: 0;
}

.boton-centro {
    display: flex;
    justify-content: center;
    margin: 20px 0;
}

.btn {
    background-color: #007bff;
    color: white;
    padding: 10px 15px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: background-color 0.3s ease;
    font-size: 1rem; /* Asegura un buen tamaño para el botón en móvil */
}

.btn:hover,
.btn:focus,
.btn:active {
    background-color: #0056b3; /* Fondo más oscuro */
    color: #00d4ff; /* Color del texto al interactuar */
    outline: none; /* Elimina el borde por defecto al hacer foco */
}

/*
 * Responsive CSS (Mobile-First approach with min-width)
 * Estos estilos sobrescriben los estilos base a partir de ciertos anchos de pantalla.
 */

/* Pequeñas tablets y móviles grandes (desde 481px y más) */
@media (min-width: 481px) {
    /* Puedes ajustar el tamaño del logo un poco aquí si lo deseas */
    header .navbar-brand img { max-width: 220px; }
}

/* Tablets (desde 768px y más) */
@media (min-width: 768px) {
    /* Ajustes de Navbar para tablets/desktop */
    header .navbar-brand img { max-width: 270px; top: 5px; } /* Restaurar tamaño desktop para logo */
    header .navbar-default .navbar-nav>li>a {
        margin: 18px 3px; /* Restaurar margen original para desktop */
    }
	
	header .navbar-default .navbar-nav > li > a {
    margin: 10px 3px; /* Más compacto que 18px si deseas reducir espacio */
    padding-top: 4px;
    padding-bottom: 4px;
    line-height: 1.1; /* Ajusta según lo necesites */
	font-size: 1.1rem;
}

    header .navbar-nav .dropdown-menu:after,
    header .navbar-nav .dropdown-menu:before {
        display: block; /* Mostrar las flechas del dropdown */
    }
    header .navbar-nav .dropdown-menu li a { color: #333333 !important; } /* Ajusta el color del menú */

    /* Oculta el botón de menú hamburguesa y sus estilos si usas un menú no colapsable */
    header .navbar-default .navbar-toggle,
    header .navbar-default .navbar-toggle:hover,
    header .navbar-default .navbar-toggle:focus {
        display: none;
    }
    /* Asegúrate de que el colapso del navbar se muestre siempre en desktop */
    header .navbar-collapse.collapse {
        display: block !important;
        height: auto !important;
        padding-bottom: 0;
        overflow: visible !important;
    }

    .default-heading {text-align: left;} /* Alinear a la izquierda en pantallas más grandes */

    /* Aumenta los tamaños de fuente para tablets */
    h1 { font-size: 1.8rem; }
    h2 { font-size: 1.5rem; }
    h3 { font-size: 1.3rem; }
    h4 { font-size: 1.2rem; }
    h5 { font-size: 1.1rem; }
    p { font-size: 1.05rem; }
    .banner h1 { font-size: 1.8rem; }
    .banner h2 { font-size: 1.5rem; }
    .banner h3 { font-size: 1.3rem; }
    .banner h4 { font-size: 1.2rem; }
    .banner h5 { font-size: 1.1rem; }
    .banner p, .banner ul, .banner li { font-size: 1rem; }
    .after-banner .ab-item h2 { font-size: 1.8rem; }
    .after-banner .ab-item p { font-size: 0.95rem; }
    .default-heading h2 { font-size: 2.2rem; }
    footer p { font-size: 0.9rem; }
    footer p a { font-size: 0.95rem; }
    .btn { font-size: 1.05rem; }
	.pasajes h1 { font-size: 1.8rem; }
    .pasajes h2 { font-size: 1.5rem; }
}

/* Desktop (desde 992px y más) */
@media (min-width: 992px) {
    /* Aumenta aún más los tamaños de fuente para desktop */
    h1 { font-size: 1.8rem; }
    h2 { font-size: 1.5rem; }
    h3 { font-size: 1.3rem; }
    h4 { font-size: 1.2rem; }
    h5 { font-size: 1.1rem; }
    p { font-size: 1.1rem; }
    .banner h1 { font-size: 1.8rem; }
    .banner h2 { font-size: 1.5rem; }
    .banner h3 { font-size: 1.3rem; }
	.banner h4 { font-size: 1.2rem; }
    .banner h5 { font-size: 1.1rem; }
    .banner p, .banner ul, .banner li { font-size: 1.05rem; }
    .after-banner .ab-item h2 { font-size: 1.5rem; }
    .after-banner .ab-item p { font-size: 1rem; }
    .default-heading h2 { font-size: 1.5rem; }
    footer p { font-size: 1rem; }
    footer p a { font-size: 1.05rem; }
    .btn { font-size: 1.1rem; }
	.pasajes h1 { font-size: 1.8rem; }
    .pasajes h2 { font-size: 1.5rem; }
}

/* Grandes pantallas (opcional, desde 1200px y más) */
@media (min-width: 1200px) {
    h1 { font-size: 2.1rem; }
    h2 { font-size: 1.8rem; }
}



/* Estilo general del zócalo */
.zocalo {
  position: fixed;
  bottom: -100%;
  left: 0;
  width: 100%;
  max-width: 100vw;
  background-color: #fff;
  border-top: 1px solid #ccc;
  box-shadow: 0 -2px 5px rgba(0, 0, 0, 0.1);
  transition: bottom 0.3s ease-in-out;
  z-index: 1000;
  display: none;
  font-family: sans-serif;
  font-size: 16px;
}

.zocalo.mostrar {
  bottom: 0;
  display: block;
}

.zocalo-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 12px 5px;
  border-bottom: 1px solid #eee;
}

.zocalo-titulo {
  font-weight: bold;
  font-size: 16px;
  color: #444;
}

.zocalo-cerrar {
  background: none;
  border: none;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  color: #999;
}

.zocalo-contenido {
  display: flex;
  align-items: center;
  padding: 10px 12px;
}

.zocalo img {
  width: 60px;
  height: 60px;
  object-fit: cover;
  margin-right: 10px;
  border-radius: 4px;
}

.zocalo-texto a {
  font-size: 16px;
  color: #000;
  text-decoration: none;
  display: block;
  line-height: 1.2;
}

@media (max-width: 480px) {
  .zocalo {
    font-size: 14px;
  }

  .zocalo img {
    width: 50px;
    height: 50px;
  }

  .zocalo-texto a {
    font-size: 13px;
  }
}

@media (min-width: 769px) {
  .zocalo {
    display: none !important;
  }
}



.linea-con-icono {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 2rem 0;
  color: #999;
}

.linea-con-icono::before,
.linea-con-icono::after {
  content: "";
  flex: 1;
  height: 1px;
  background-color: #ccc;
  margin: 0 12px;
}

.contenedor-del-mailing {
    max-width: 500px;
    margin: 20px auto;
    border: 1px solid #ccc;
    border-radius: 8px;
    padding: 10px;
    background: #f9f9f9;
}

.faq {
  max-width: 700px;
  margin: 40px auto;
  padding: 0 20px;
  font-family: 'Roboto', sans-serif;
}

.faq h2 {
  font-size: 1.3em;
  margin-bottom: 1em;
  text-align: center;
  color: #333333;
}

.faq-item {
  border: 1px solid #ddd;
  border-radius: 8px;
  margin-bottom: 12px;
  overflow: hidden;
  transition: box-shadow 0.3s;
}

.faq-item.open {
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.faq-question {
  background-color: #f9f9f9;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  font-weight: 600;
  font-size: 1.1em;
  position: relative;
}

.faq-question svg {
  width: 20px;
  height: 20px;
  transition: transform 0.3s;
  flex-shrink: 0;
}

.faq-item.open .faq-question svg {
  transform: rotate(180deg);
}

.faq-answer {
  display: none;
  padding: 16px 20px;
  background: #fff;
  color: #444;
  font-size: 0.95em;
  line-height: 1.5;
}

.faq-item.open .faq-answer {
  display: block;
}


#bus-search {
  margin: 1em 0;
}





/* Pasajes */
.pasajes {
    background: #ffffff;
    padding-top: 20px;
    padding-bottom: 30px;
}

/* Tamaños de fuente del banner para móvil */
.pasajes h1 {
    margin-top: 0;
    margin-bottom: 0;
    font-size: 1.6rem; /* Aproximadamente 32px */
    line-height: 1.3;
    color: #336600;
    text-align: center;
	font-weight: 600;
}

.pasajes p,
.pasajes .row {
    max-width: 1200px;
    margin: 0 auto;
    margin-top: 10px;
    font-size: 1.2rem; /* Ligeramente más pequeño que el párrafo base, pero legible */
    line-height: 1.6;
    color: #333333;
    letter-spacing: 0.055em;
}


/* After-banner */
.after-banner {
    padding-top: 5px;
}

.after-banner .row {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -10px; /* Para que haya espacio entre columnas */
}

.after-banner .col-xs-6,
.after-banner .col-sm-6,
.after-banner .col-md-3 {
    padding: 0 10px;
    margin-bottom: 20px; /* Separación entre filas */
    display: flex;
    flex-direction: column;
}

.after-banner .ab-item {
    padding: 20px;
    background-color: #fff;
    border-radius: 10px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    transition: transform 0.3s, box-shadow 0.3s;
    height: 100%; /* Hace que las tarjetas ocupen toda la altura de la columna */
}

.after-banner .ab-item h2 {
    margin-top: 0;
    margin-bottom: 10px;
    font-size: 1.5rem;
    color: #666666;
}

.after-banner .ab-item p {
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.6;
    letter-spacing: 0.025em;
}

.img-ab {
    max-height: 200px;
    object-fit: contain;
    margin-bottom: 15px;
}

/* Hover effect */
.hover-effect:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

/* Responsive: 2 columnas en móviles */
@media (max-width: 767px) {
    .after-banner .row {
        flex-wrap: wrap;
    }
    .after-banner .col-xs-6,
    .after-banner .col-sm-6 {
        flex: 0 0 50%;
        max-width: 50%;
    }
}

/* Desktop: 4 columnas */
@media (min-width: 768px) {
    .after-banner .col-md-3 {
        flex: 0 0 25%;
        max-width: 25%;
    }
}


p.resaltado {
    margin-top: 20px;           /* espacio desde elementos anteriores */
    padding: 10px 15px;         /* espacio interno */
    background-color: #f9f9f9;  /* color de fondo */
    border-radius: 8px;         /* bordes redondeados */
    line-height: 1.6;           /* mejora la legibilidad */
    color: #333;                /* color del texto */
    font-size: 1rem;            /* tamaño legible */
}




  


.tabla-310 {
    width: 320px;
    max-width: 100%;            /* hace que reduzca en pantallas pequeñas */
	margin: 0 auto; 
    table-layout: fixed;        /* columnas fijas según colgroup / estilos */
    border-collapse: collapse;
    box-sizing: border-box;
  }
  .tabla-310 col:first-child { width: 49%; }
  .tabla-310 col:last-child  { width: 51%; }
  .tabla-310 th, .tabla-310 td {
    padding: 6px;
    text-align: center;
    white-space: normal;
    overflow-wrap: break-word;
    font-size: 12px;            /* reemplaza <font size="1"> */
  }
  .tabla-310 .encabezado {
    background: #ccccff;
    font-weight: 700;
  }