:root {
    --azul: #0066ff;
    --azul-oscuro: #0066ff;
    --verde: #00A859;
    --blanco: #ffffff;
    --fondo: #F4F8FB;
    --texto: #1F2A37;
    --suave: #64748B;
    --linea: #DDE7F0;
    --sombra: 0 24px 60px rgba(0, 45, 91, 0.16);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
    color: var(--texto);
    background: var(--blanco);
    font-family: 'Montserrat', sans-serif;
    line-height: 1.5;
}

main,
footer {
    max-width: 100%;
    overflow-x: clip;
}

a {
    color: inherit;
    text-decoration: none;
}

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

.shell {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
}

.topbar {
    position: fixed;
    inset: 0 0 auto;
    z-index: 50;
    min-height: 58px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 6px 5%;
    background: rgba(255, 255, 255, 0.96);
    border-bottom: 1px solid rgba(0, 85, 165, 0.12);
    backdrop-filter: blur(14px);
}

.brand img {
    height: 60px;
    width: auto;
    display: block;
}


.main-nav {
    display: flex;
    align-items: center;
    gap: 14px;
}

.main-nav a,
.nav-dropdown > button {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 35px;
    padding: 6px 4px;
    color: var(--azul);
    border-radius: 999px;
    font-family: 'Montserrat', sans-serif;
    font-size: 1 rem;
    font-weight: 800;
    
}

.nav-dropdown > button {
    background: transparent;
    border: 0;
    cursor: pointer;
}

.nav-dropdown > button i {
    font-size: 0.72rem;
}

.main-nav a:hover,
.nav-dropdown > button:hover,
.nav-dropdown.open > button {
    color: var(--azul);
    background: rgba(0, 85, 165, 0.08);
}

.nav-dropdown {
    position: relative;
}

.nav-dropdown-menu {
    position: absolute;
    top: calc(100% + 8px);
    left: 50%;
    z-index: 60;
    display: none;
    width: 300px;
    transform: translateX(-50%);
    background: var(--blanco);
    border: 1px solid rgba(0, 85, 165, 0.18);
    border-radius: 8px;
    box-shadow: 0 22px 42px rgba(0, 45, 91, 0.18);
    overflow: hidden;
}

.nav-dropdown.open .nav-dropdown-menu {
    display: block;
}

.main-nav .nav-dropdown-menu a {
    display: flex;
    min-height: 42px;
    padding: 9px 16px;
    color: #5f6670;
    border-radius: 0;
    border-bottom: 1px solid rgba(0, 85, 165, 0.12);
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    font-weight: 500;
    line-height: 1.25;
}

.main-nav .nav-dropdown-menu a:last-child {
    border-bottom: 0;
}

.main-nav .nav-dropdown-menu a:hover {
    color: var(--azul-oscuro);
    background: var(--fondo);
}

.main-nav .nav-action {
    color: var(--blanco);
    min-width: 152px;
    justify-content: center;
    padding: 8px 22px;
    background: var(--azul);
}

.main-nav .nav-action:hover {
    color: var(--blanco);
    background: var(--azul-oscuro);
}

.menu-button {
    display: none;
    width: 44px;
    height: 44px;
    color: var(--azul);
    background: var(--fondo);
    border: 0;
    border-radius: 8px;
    font-size: 1.2rem;
}

.hero {
    position: relative;
    height: 620px;
    min-height: 620px;
    margin-top: 58px;
    overflow: hidden;
}

.hero-slider,
.hero-slide,
.hero-overlay {
    position: absolute;
    inset: 0;
}

.hero-slider {
    z-index: 0;
}

.hero-slide {
    opacity: 0;
    background-position: center;
    background-size: cover;
    transform: scale(1.04);
    transition:
        opacity 1800ms ease-in-out,
        transform 7200ms ease-in-out;
    will-change: opacity, transform;
}

.hero-slide.is-active {
    opacity: 1;
    transform: scale(1);
}

.hero-slide-1 {
    background-image: url("img/caminoneta.png");
}

.hero-slide-2 {
    background-image: url("img/bus1.png");
    
}

.hero-slide-3 {
    background-image: url("img/vans.png");
}

.hero-overlay {
    z-index: 1;
    background:
        linear-gradient(90deg, rgba(0, 45, 91, 0.78), rgba(0, 85, 165, 0.5) 45%, rgba(0, 45, 91, 0.16) 82%),
        linear-gradient(0deg, rgba(0, 45, 91, 0.42), rgba(0, 45, 91, 0.08) 56%),
        rgba(0, 45, 91, 0.18);
}

.hero-dots {
    position: absolute;
    z-index: 3;
    top: 138px;
    right: clamp(24px, 4vw, 62px);
    display: grid;
    gap: 11px;
}

.hero-dots span {
    width: 12px;
    height: 12px;
    border: 2px solid rgba(255, 255, 255, 0.86);
    border-radius: 50%;
    transition:
        background-color 450ms ease,
        border-color 450ms ease,
        transform 450ms ease;
}

.hero-dots span.is-active {
    background: var(--verde);
    border-color: var(--verde);
    transform: scale(1.14);
}

.hero-inner {
    position: relative;
    z-index: 2;
    width: min(1096px, calc(100% - 136px));
    height: 100%;
    padding: 0;
}

.hero-copy {
    position: absolute;
    top: 68px;
    left: 0;
    width: min(760px, 100%);
    height: 170px;
    color: var(--blanco);
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--verde);
    margin-bottom: 10px;
    background: #ffffff;
    padding: 6px 16px 6px 12px;
    font-size: 0.8rem;
    border-radius: 30px;
    font-weight: 900;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.eyebrow::before {
    content: "";
    width: 34px;
    height: 3px;
    background: currentColor;
    border-radius: 99px;
}

h1,
h2,
h3,
p,
a,
button,
input,
select,
textarea {
    overflow-wrap: anywhere;
}

h1 {
    max-width: 820px;
    margin-top: 0;
    color: var(--blanco);
    font-size: clamp(4rem, 5.25vw, 4.7rem);
    line-height: 1.04;
    letter-spacing: 0;
    overflow-wrap: normal;
    word-break: normal;
}

.hero-title {
    position: absolute;
    inset: 0 auto auto 0;
    opacity: 0;
    transform: translateY(20px);
    transition:
        opacity 360ms ease,
        transform 520ms ease;
    will-change: opacity, transform;
}

.hero-title.is-active {
    opacity: 1;
    transform: translateY(0);
}

.hero-copy h1 span {
    display: block;
}

.hero-copy h1 em {
    color: var(--verde);
    font-style: italic;
}

.hero-copy p {
    max-width: 720px;
    margin-top: 24px;
    color: rgba(255, 255, 255, 0.88);
    font-size: 1.18rem;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 34px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 48px;
    padding: 13px 22px;
    border: 0;
    border-radius: 8px;
    font: inherit;
    font-weight: 900;
    cursor: pointer;
}

.btn-primary {
    color: var(--blanco);
    background: var(--azul);
}

.btn-secondary {
    color: var(--azul-oscuro);
    background: var(--blanco);
}

.status-card {
    color: var(--blanco);
    background: rgba(0, 45, 91, 0.88);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    box-shadow: var(--sombra);
    overflow: hidden;
}

.status-head {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding: 18px 20px;
    background: rgba(255, 255, 255, 0.1);
    font-weight: 900;
}

.status-head b,
.mini-board strong {
    color: var(--verde);
}

.status-metric {
    padding: 24px 20px;
}

.status-metric strong {
    display: block;
    color: var(--blanco);
    font-size: 3.4rem;
    line-height: 1;
}

.status-metric span {
    color: rgba(255, 255, 255, 0.72);
    font-weight: 800;
}

.mini-board div {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 16px;
    padding: 17px 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.route-status-card {
    position: absolute;
    left: 0;
    bottom: 49px;
    width: 358px;
    min-height: 117px;
    padding: 20px 20px 18px;
    color: var(--blanco);
    background: rgba(43, 57, 69, 0.78);
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 12px;
    box-shadow: 0 18px 38px rgba(0, 0, 0, 0.18);
    backdrop-filter: blur(10px);
}

.route-status-card > span {
    display: block;
    margin-bottom: 9px;
    color: var(--verde);
    font-size: 0.88rem;
    font-weight: 900;
    letter-spacing: 0.34em;
    text-transform: uppercase;
}

.route-status-content {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 1px max-content;
    gap: 20px;
    align-items: center;
}

.route-status-content > div {
    min-width: 0;
}

.route-status-content strong {
    display: block;
    font-family: 'Montserrat', sans-serif;
    font-size: 1.58rem;
    line-height: 1;
}

.route-status-content b {
    display: block;
    color: var(--verde);
    font-size: 1.44rem;
    line-height: 1;
}

.route-status-content small {
    display: inline-block;
    max-width: 100%;
    margin-top: 4px;
    color: rgba(255, 255, 255, 0.86);
    font-family: 'Montserrat', sans-serif;
    font-size: 0.92rem;
    line-height: 1.1;
    white-space: nowrap;
    overflow: visible;
    text-overflow: clip;
    overflow-wrap: normal;
    word-break: normal;
}

.route-status-divider {
    width: 1px;
    height: 46px;
    background: rgba(255, 255, 255, 0.32);
}

.hero-search {
    position: absolute;
    right: 0;
    bottom: 50px;
    width: min(520px, calc(100% - 390px));
    min-width: 0;
}

.hero-search div {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
    background: rgba(17, 24, 39, 0.9);
    border: 2px solid #00a859;
    border-radius: 50px;
    padding: 0 12px 0 30px;
    overflow: visible;
    backdrop-filter: blur(10px); 
}

.hero-search input {
    flex: 1;
    min-width: 0;
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.7);
    font-size: 1rem;
    outline: none;
    padding-right: 15px;
}
.hero-search input::placeholder {
    color: rgba(255, 255, 255, 0.55);
}

.hero-search input:focus {
    outline: none;
}

.hero-search button {
    width: 116px;
    height: 40px;
    padding: 0 24px;
    background-color: #00a859;
    color: #ffffff;
    border: none;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    flex-shrink: 0;
    white-space: nowrap;
    transition: transform 0.2s ease, background 0.2s ease;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.search-band {
    position: relative;
    z-index: 5;
    display: grid;
    grid-template-columns: 1fr 360px;
    gap: 24px;
    align-items: center;
    margin-top: -44px;
    padding: 24px;
    background: var(--blanco);
    border: 1px solid var(--linea);
    border-radius: 8px;
    box-shadow: var(--sombra);
}

.search-form label,
.filters label,
.suggestion-form label {
    display: grid;
    gap: 9px;
    color: var(--azul-oscuro);
    font-weight: 900;
}

.search-form div {
    display: grid;
    grid-template-columns: 1fr 52px;
    gap: 10px;
}

input,
select,
textarea {
    width: 100%;
    min-height: 48px;
    padding: 13px 14px;
    color: var(--texto);
    background: var(--blanco);
    border: 1px solid var(--linea);
    border-radius: 8px;
    font: inherit;
}

textarea {
    resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
    outline: 3px solid rgba(0, 168, 89, 0.18);
    border-color: var(--verde);
}

.search-form button {
    color: var(--blanco);
    background: var(--verde);
    border: 0;
    border-radius: 8px;
    font-size: 1.05rem;
    cursor: pointer;
}

.hero-search.search-form div {
    display: flex;
    grid-template-columns: none;
    gap: 0;
}

.hero-search.search-form button {
    width: 116px;
    height: 40px;
    padding: 0 24px;
    border-radius: 50px;
    font-size: 0.9rem;
}

.service-note {
    display: flex;
    align-items: center;
    gap: 14px;
    color: var(--azul-oscuro);
    font-weight: 800;
}

.service-note i {
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    flex: 0 0 auto;
    color: var(--blanco);
    background: var(--azul);
    border-radius: 8px;
}

.section {
    padding: 32px 0;
}

.routes-section,
.suggestions-section {
    background: var(--fondo);
}

.travel-formats-section {
    background: var(--blanco);
}

.section-title {
    margin-bottom: 18px;
}

.section-title.split {
    display: grid;
    grid-template-columns: 1fr 420px;
    gap: 42px;
    align-items: end;
}

.section-title.center {
    text-align: center;
}

.section-title.center .eyebrow {
    justify-content: center;
}

h2 {
    margin-top: 14px;
    color: var(--azul-oscuro);
    font-size: clamp(2rem, 4vw, 3.3rem);
    line-height: 1.04;
    letter-spacing: 0;
}

.section-title p,
.about-copy > p,
.contact-panel p {
    color: var(--suave);
    font-size: 1.06rem;
}

.filters {
    display: grid;
    grid-template-columns: 1fr 260px;
    gap: 18px;
    margin-bottom: 24px;
    padding: 22px;
    background: var(--blanco);
    border: 1px solid var(--linea);
    border-radius: 8px;
}

.travel-formats-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
}

.travel-format-card {
    display: grid;
    gap: 16px;
    align-content: start;
    min-height: 300px;
    padding: 24px;
    background: var(--fondo);
    border: 1px solid var(--linea);
    border-radius: 8px;
    box-shadow: 0 18px 42px rgba(0, 45, 91, 0.08);
    scroll-margin-top: 86px;
}

.travel-format-card i {
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    color: var(--blanco);
    background: var(--azul);
    border-radius: 8px;
    font-size: 1.35rem;
}

.travel-format-card h3 {
    color: var(--azul-oscuro);
    font-size: 1.35rem;
    line-height: 1.18;
}

.format-view {
    display: grid;
    place-items: center;
    min-height: 160px;
    padding: 20px;
    color: var(--suave);
    background: var(--blanco);
    border: 1px dashed rgba(0, 85, 165, 0.34);
    border-radius: 8px;
    font-weight: 800;
    text-align: center;
}

.travel-format-card:target {
    border-color: var(--verde);
    box-shadow: 0 22px 48px rgba(0, 168, 89, 0.18);
}

.format-page {
    min-height: 70vh;
    padding-top: 10px;
    background: var(--fondo);
}

.format-page-section {
    padding: 86px 0 96px;
}

.format-page h1 {
    max-width: 1000px;
    margin-top: 16px;
    margin-bottom: 24px;
    color: var(--azul-oscuro);
    font-size: clamp(1.8rem, 3.8vw, 2.5rem);
    white-space: normal;
    
}


.format-document {
    min-height: 520px;
    margin-top: 36px;
    padding: 34px;
    background: var(--blanco);
    border: 1px solid var(--linea);
    border-radius: 8px;
    box-shadow: 0 22px 52px rgba(0, 45, 91, 0.1);
}

.format-placeholder {
    display: grid;
    place-items: center;
    min-height: 452px;
    color: var(--suave);
    border: 1px dashed rgba(0, 85, 165, 0.32);
    border-radius: 8px;
    font-weight: 900;
    text-align: center;
}

.route-table {
    overflow: hidden;
    background: var(--blanco);
    border: 1px solid var(--linea);
    border-radius: 8px;
}

.route-header,
.route-row {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr 1fr;
    gap: 18px;
    align-items: center;
    padding: 18px 22px;
}

.route-header {
    color: var(--blanco);
    background: var(--azul);
    font-size: 0.8rem;
    font-weight: 900;
    text-transform: uppercase;
}

.route-row {
    border-top: 1px solid var(--linea);
}

.route-name {
    display: flex;
    align-items: center;
    gap: 12px;
}

.route-name i {
    color: var(--verde);
}

.route-name small {
    display: block;
    color: var(--suave);
}

.vehicle-pill,
.status-pill {
    display: inline-flex;
    width: fit-content;
    padding: 7px 10px;
    border-radius: 8px;
    font-size: 0.78rem;
    font-weight: 900;
}

.vehicle-pill {
    color: var(--azul-oscuro);
    background: #EAF2FA;
}

.status-pill {
    color: #007B43;
    background: #E8F8EF;
}

.empty-state {
    padding: 30px;
    color: var(--suave);
    text-align: center;
}

.fleet-section .shell {
    width: min(100% - 40px, 1240px);
}

.fleet-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.fleet-card {
    display: grid;
    grid-template-rows: auto 1fr;
    border-radius: 12px;
    background: var(--blanco);
    overflow: hidden;
    border: 1px solid var(--linea);
    box-shadow: 0 8px 20px rgba(0,0,0,.08);
}

.fleet-card:last-child {
    border-right: 1px solid var(--linea);
}

.fleet-card img {
    width: 100%;
    height: auto;
    aspect-ratio: 3 / 2;
    object-fit: cover;
    object-position: center;
    display: block;
    image-rendering: auto;
  
}

.fleet-card div {
    padding: 24px;
}

.fleet-card i,
.about-values i {
    color: var(--verde);
    font-size: 1.55rem;
}

.fleet-card h3,
.about-values h3 {
    margin-top: 12px;
    color: var(--azul);
}

.fleet-card p,
.about-values p {
    margin-top: 8px;
    color: var(--suave);
    
}

.about-values article p {
    text-align: justify;
}

.about-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
    gap: 48px;
    align-items: center;
}

.about-copy {
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
}
.about-section {
    background: var(--fondo);
}

.about-values {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.about-photo {
    min-height: 560px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--sombra);
}

.about-photo img {
    height: 100%;
    min-height: 560px;
    object-fit: cover;
}

.about-values {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 36px;
    margin-top: 28px;
    perspective: 1200px;
}




.flip-card {
    min-height: 340px;
    outline: none;
    cursor: pointer;
}

.flip-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 340px;
    transform-style: preserve-3d;
    transition: transform 2s ease;
}

.flip-card:hover .flip-card-inner,
.flip-card:focus .flip-card-inner,
.flip-card:focus-within .flip-card-inner {
    transform: rotateY(180deg);
}

.flip-card-face {
    position: absolute;
    inset: 0;
    display: grid;
    align-content: center;
    justify-items: center;
    padding: 28px;
    background: var(--fondo);
    border: 1px solid var(--linea);
    border-radius: 8px;
    box-shadow: 0 8px 25px rgba(0,0,0,.05);
    backface-visibility: hidden;
    transition:.4s;
}

.flip-card-back {
    transform: rotateY(180deg);
}

.flip-card:focus {
    border-radius: 8px;
    box-shadow: 0 0 0 4px rgba(0, 168, 89, 0.16);
}

.flip-card-face::before{
    content:"";
    position:absolute;
    top:0;
    left:0;
    width:100%;
    height:5px;
    background:linear-gradient(90deg,#0d6efd,#00c6ff);
}





.equipo-seccion {
    padding: 40px 0;
    text-align: center;
    background: var(--fondo);
}

.equipo-seccion .section-title {
    margin: 0;
    text-align: center;
     margin-bottom: 30px;
}

.equipo-seccion .subtitle {
    display: block;
    margin-bottom: 18px;
    color: var(--verde);
    font-size: 0.82rem;
    font-weight: 900;
    letter-spacing: 0.45em;
    line-height: 1;
    text-transform: uppercase;
}

.pagination {
    display: flex;
    justify-content: space-between;
    margin-top: 20px;
}

.pagination[hidden] {
    display: none;
}

.page-link {
    color: #0055A5;
    font-weight: 600;
    cursor: pointer;
    transition: 0.3s;
}

.page-link:hover {
    color: #003d75;
    text-decoration: underline;
}

.page-link.disabled {
    opacity: 0.4;
    cursor: not-allowed;
    pointer-events: none;
}

.equipo-seccion .section-title::after {
    content: "";
    display: block;
    width: 64px;
    height: 4px;
    margin: 28px auto 24px;
    background: linear-gradient(90deg, var(--azul), var(--verde));
    border-radius: 999px;
    box-shadow: 0 8px 18px rgba(0, 168, 89, 0.18);
}

.equipo-seccion p {
    margin: 0;
    color: #304a6f;
    font-size: 1.12rem;
    font-style: italic;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(36px, 8vw, 120px);
    align-items: start;
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
    padding: 0 0 22px;
    background: var(--fondo);
}

.team-member {
    display: grid;
    justify-items: center;
    text-align: center;
    outline: none;
    transition: transform 300ms ease;
}

.team-member:hover,
.team-member:focus-within {
    transform: translateY(-4px);
}

.member-img {
    width: clamp(210px, 22vw, 252px);
    aspect-ratio: 1;
    padding: 6px;
    background: var(--blanco);
    border: 5px solid var(--azul);
    border-radius: 50%;
    box-shadow: 0 12px 32px rgba(0, 45, 91, 0.12);
    overflow: hidden;
    transition:
        border-color 300ms ease,
        box-shadow 300ms ease,
        transform 300ms ease;
}

.team-member:hover .member-img,
.team-member:focus-within .member-img {
    border-color: var(--verde);
    box-shadow: 0 18px 42px rgba(0, 168, 89, 0.18);
}

.member-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    transition: transform 300ms ease, filter 300ms ease;
}

.team-member:hover .member-img img,
.team-member:focus-within .member-img img {
    transform: scale(1.05);
    filter: saturate(1.06) contrast(1.04);
}



.member-info {
    margin-top: 24px;
    transition: transform 300ms ease;
}

.team-member:hover .member-info,
.team-member:focus-within .member-info {
    transform: translateY(-2px);
}

.member-info h4 {
    color: #0052cc;
    font-size: 1.28rem;
    line-height: 1.15;
    font-weight: 900;
    transition: color 300ms ease;
}

.team-member:hover .member-info h4,
.team-member:focus-within .member-info h4 {
    color: #003f9e;
}

.member-info span {
    display: block;
    margin-top: 4px;
    color: var(--verde);
    font-size: 0.86rem;
    font-weight: 900;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.suggestions-grid {
    display: grid;
    grid-template-columns: 390px 1fr;
    gap: 28px;
    align-items: start;
}

.contact-panel,
.suggestion-form {
    border-radius: 8px;
}

.contact-panel {
    padding: 32px;
    color: var(--blanco);
    background: var(--azul-oscuro);
}

.contact-panel h2 {
    color: var(--blanco);
}

.contact-panel p {
    margin-top: 18px;
    color: rgba(255, 255, 255, 0.78);
}

.contact-line {
    display: flex;
    gap: 12px;
    align-items: center;
    margin-top: 18px;
    color: rgba(255, 255, 255, 0.88);
    text-decoration: none;
    transition: color 0.2s ease;
}

.contact-line:hover {
    color: var(--blanco);
}

.contact-line i {
    color: var(--verde);
    background: white;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    font-size: 1rem;
    transition: color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.contact-line:hover i {
    color: var(--blanco);
    background: var(--verde);
    transform: translateY(-2px);
}

.suggestion-form {
    display: grid;
    gap: 18px;
    padding: 28px;
    background: var(--blanco);
    border: 1px solid var(--linea);
}

.bus-rating-field {
    display: grid;
    gap: 10px;
    margin: 0;
    padding: 0;
    border: 0;
}

.bus-rating-field legend {
    color: var(--azul);
    font-weight: 800;
}

.bus-rating-input {
    display: inline-flex;
    flex-direction: row-reverse;
    justify-content: flex-end;
    gap: 8px;
}

.bus-rating-input input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.bus-rating-input label {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    color: #b8c6d8;
    border: 1px solid var(--linea);
    border-radius: 8px;
    cursor: pointer;
    transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.bus-rating-input label i {
    font-size: 1.3rem;
}

.bus-rating-input label:hover,
.bus-rating-input label:hover ~ label,
.bus-rating-input input:checked ~ label {
    color: var(--verde);
    border-color: rgba(0, 168, 89, 0.42);
    background: rgba(0, 168, 89, 0.08);
}

.felicitaciones-section {
    padding: 36px 0;
    background: var(--fondo);
    
}

.felicitaciones-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.felicitacion-card {
    display: flex;
    flex-direction: column;
    min-height: 280px;
    padding: 30px;
    background: var(--blanco);
    border: 1px solid var(--linea);
    border-radius: 8px;
    box-shadow: 0 18px 42px rgba(0, 45, 91, 0.08);
}

.felicitacion-card i {
    color: var(--verde);
    font-size: 1.7rem;
    margin-bottom: 20px;
}

.felicitacion-card .bus-rating {
    display: flex;
    gap: 6px;
    margin: -8px 0 18px;
}

.felicitacion-card .bus-rating i {
    color: var(--verde);
    font-size: 1rem;
    margin: 0;
}

.felicitacion-card .bus-rating i.is-empty {
    color: #cbd5e1;
}

.felicitacion-card p {
    color: var(--suave);
    font-size: 1rem;
    line-height: 1.6;
}

.empty-felicitaciones {
    grid-column: 1 / -1;
    margin: 0;
    padding: 26px;
    color: var(--suave);
    text-align: center;
    background: var(--blanco);
    border: 1px solid var(--linea);
    border-radius: 8px;
}

.pasajero {
    margin-top: auto;
    padding-top: 24px;
}

.pasajero strong {
    display: block;
    color: var(--azul-oscuro);
    font-size: 1rem;
}

.pasajero span {
    display: block;
    margin-top: 4px;
    color: var(--verde);
    font-size: 0.82rem;
    font-weight: 900;
    text-transform: uppercase;
}

/*transporte de mascotas*/
/* Estilos generales para las listas dentro de las tarjetas de alerta */
.alert-box ul {
    list-style: none; /* Quitamos las viñetas feas por defecto */
    padding: 0;
    margin: 15px 0 0 0;
}

.alert-box li {
    position: relative;
    padding-left: 26px; /* Espacio para el nuevo ícono personalizado */
    margin-bottom: 14px; /* Separación saludable entre requisitos */
    font-size: 0.95rem;
    line-height: 1.6; /* Hace el texto legal mucho más legible */
    color: #4a5568;
}

/* Ponemos un marcador personalizado sutil en lugar del punto negro */
.alert-box li::before {
    content: "➔"; 
    position: absolute;
    left: 0;
    top: 2px;
    font-size: 0.85rem;
    font-weight: bold;
}

/*google maps*/
.btn-map{
    display:inline-flex;
    align-items:center;
    gap:.5rem;
    color:#0055A5;
    font-weight:600;
    text-decoration:none;
    margin-top:1rem;
}
/* Personalización de colores por caja para mantener la armonía */
.success-box li::before {
    color: var(--verde); 
}

.warning-box li::before {
    color: #0042bd;
}

/* Ajuste estético para los títulos e iconos de las tarjetas */
.alert-box i {
    font-size: 1.6rem;
    margin-bottom: 8px;
    display: inline-block;
}

.alert-box h4 {
    font-size: 1.2rem;
    color: #1a202c;
    margin: 0 0 10px 0;
    font-weight: 700;
}

/* Estilo para el enlace o botón "ver" si decides mantenerlo */
.alert-box a {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    margin-top: 10px;
    color: #0042bd;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
}

.alert-box a:hover {
    text-decoration: underline;
}
/*equipaje*/
/* Lista limpia para los objetos prohibidos */
.clean-list {
    list-style: none;
    padding: 0;
}

.clean-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    font-size: 0.95rem;
    color: #555;
}

.clean-list li i {
    color: var(--verde);
    width: 20px;
    text-align: center;
}

/* Ajuste para que el h3 de protocolos tenga espacio */
.security-protocol h3 {
    margin-bottom: 15px;
    color: var(--azul);
    display: flex;
    align-items: center;
    gap: 10px;
}


/*Agencias*/
.agencies-section {
    background-color: #f4f7f6;
    padding: 50px 0;
}

.agencies-section .eyebrow,
.agencies-section h2 {
    display: flex;
    justify-content: center;
    text-align: center;
}

/* CONTENEDOR DEL FILTRO SUPERIOR */
.search-agency-filter {
    background: #ffffff;
    padding: 25px;
    border-radius: 14px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.04);
    max-width: 850px;
    margin: 0 auto 25px auto;
}

.search-agency-filter label {
    display: block;
    font-size: 0.95rem;
    color: #4a5568;
    margin-bottom: 12px;
    font-weight: 500;
}

/* EMBALAJE DEL SELECT ESTILIZADO */
.select-wrapper {
    position: relative;
    width: 100%;
}

.search-agency-filter select {
    width: 100%;
    padding: 14px 20px;
    font-size: 1rem;
    font-weight: 700;
    color: var(--azul);
    background-color: #ffffff;
    border: 2px solid #0042bd; /* Color de tu marca */
    border-radius: 8px;
    appearance: none; /* Elimina la flecha fea por defecto */
    cursor: pointer;
    outline: none;
    transition: border-color 0.2s ease;
}

.search-agency-filter select:focus {
    border-color: var(--verde);
}

.select-icon {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--azul);
    pointer-events: none; /* Evita que estorbe al hacer clic */
}

/* MANEJO DE VISIBILIDAD DE TARJETAS */
.agency-display-container {
    max-width: 850px;
    margin: 0 auto;
}

.agency-result-card {
    display: none; /* Ocultas por defecto */
    animation: slideCardIn 0.35s ease;
}

.agency-result-card.active {
    display: block; /* Solo se muestra la activa */
}

/* ESTRUCTURA INTERNA DE LA TARJETA REJILLA */
.agency-card-grid {
    background: #ffffff;
    border-radius: 14px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.05);
    display: grid;
    grid-template-columns: 1fr;
    overflow: hidden;
    padding: 20px;
    

    
}

li a{
    display:flex;
    align-items:center;
    gap:15px;

    text-decoration:none;
    color:inherit;

    transition:0.3s;
}

li a:hover{
    color:#25D366; /* Verde de WhatsApp */
}

li a:hover i{
    transform:scale(1.1);
}

li i{
    transition:0.3s;
}

@media (min-width: 768px) {
    .agency-card-grid {
        grid-template-columns: 38% 62%;
    }
}

.agency-image {
    width: 100%;
    overflow: hidden;
}

@media (min-width: 768px) {
    .agency-image {
        min-height: 220px;
    }
}

.agency-image img {
    display: block;
    width: 100%;
    height: 220px;
    object-fit: cover;
}

@media (min-width: 768px) {
    .agency-image img {
        height: 100%;
        min-height: 220px;
        max-height: 280px;
    }
}

.agency-details {
    padding: 30px;
}

.agency-details h3 {
    color: var(--azul);
    font-size: 1.3rem;
    margin: 0 0 20px 0;
    font-weight: 800;
    letter-spacing: 0.5px;
}

/* LISTADO DE DATOS CON ICONOS */
.agency-info-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.agency-info-list li {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 14px;
    font-size: 0.95rem;
    color: #4a5568;
    line-height: 1.5;
}

.agency-info-list li i {
    color: var(--verde);
    font-size: 1.05rem;
    margin-top: 3px;
    width: 20px;
    text-align: center;
}


/* Contenedor */
.privacy-policy {
    margin: 18px 0;
}

/* Label */
.checkbox-label {
    display: flex !important;      
    flex-direction: row !important; 
    align-items: flex-start;
    gap: 10px;
    font-size: 14px;
    line-height: 1.6;
    color: #555;
}

/* Checkbox */
.checkbox-label input[type="checkbox"] {
    width: 16px;
    height: 16px;
    min-width: 16px;
    margin: 3px 0 0 0;
    padding: 0;
    flex: none;
    cursor: pointer;
}

/* Texto */
.checkbox-label span {
   flex: 1;
   display: inline !important;    /* Evita que el span actúe como bloque y se baje */
   text-align: left;
}

/* Enlace */
.checkbox-label a {
    color: #0d6efd;
    text-decoration: none;
    font-weight: 600;
}

.checkbox-label a:hover {
    text-decoration: underline;
}
/* Animación de entrada fluida */
@keyframes slideCardIn {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 980px) {
    .felicitaciones-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .team-grid {
        grid-template-columns: 1fr;
        gap: 44px;
    }

    .equipo-seccion {
        padding-top: 28px;
    }
}

@media (max-width: 860px) {
    .hero {
        height: 620px;
        min-height: 620px;
    }

    .hero-inner {
        width: min(100% - 40px, 1180px);
    }

    .hero-copy {
        top: 58px;
    }

    h1 {
        font-size: clamp(3.4rem, 11vw, 4.35rem);
    }

    .route-status-card {
        bottom: 132px;
        width: min(430px, 100%);
    }

    .hero-search {
        right: auto;
        left: 0;
        bottom: 50px;
        width: min(430px, 100%);
    }
}

@media (max-width: 680px) {
    .felicitaciones-grid {
        grid-template-columns: 1fr;
    }

    .felicitacion-card {
        min-height: auto;
    }
}


.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

.footer {
    background: linear-gradient(135deg, var(--azul) 0%, #0042bd 100%); /* Azul con profundidad */
    width: 100%;
    padding-top: 50px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr; /* Separa marca, enlaces y redes */
    gap: 30px;
    padding-bottom: 40px;
    align-items: flex-start;
}

.footer strong {
   color: var(--verde);
    font-size: 1.7rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    display: inline-block;
    position: relative;
    padding-bottom: 8px;
    margin-bottom: 12px;
    text-shadow: 0 0 12px rgba(0, 168, 89, 0.5), 
                 2px 2px 3px rgba(0, 0, 0, 0.4);
}


.footer strong::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 45px;
    height: 4px;
    background: var(--verde);
    border-radius: 2px;
    box-shadow: 0 0 8px rgba(0, 168, 89, 0.6);
}

.footer-grid nav {
    display: flex;
    flex-direction: column; 
    gap: 14px;
    padding-top: 10px;
}

.footer-grid nav a {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: 700;
    transition: all 0.25s ease;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    width: fit-content;
}

.footer p {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.8);
    max-width: 380px;
    line-height: 1.5;
    margin: 0;
}

.footer nav {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    font-weight: 800;
}

.footer nav a {
    color: #ffffff;
    text-decoration: none;
    font-size: 1.2rem;
    display: inline-flex;
    align-items: center; 
    gap: 10px; 
    transition: all 0.25s ease; 
}



.footer nav a i {
    color: rgba(255, 255, 255, 0.7); 
    font-size: 1.2rem;
    width: 24px; 
    text-align: center;
    transition: color 0.25s ease, transform 0.25s ease;
}

.footer nav a:hover {
    color: var(--verde);
    transform: translateX(6px); /* Desplazamiento suave hacia la derecha */
}

.footer nav a:hover i {
    color: var(--verde); 
    transform: scale(1.15); /* El icono se agranda un poquito como feedback */
}

.footer-social {
    position: relative;
    display: grid;
    gap: 14px;
    justify-items: start;
    padding-top: 10px;
}

.footer-social > span {
    color: var(--verde);
    font-size: 1.1rem;
    font-weight: 900;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.social-links {
    display: flex;
    gap: 12px;
    align-items: center;
}

.social-btn {
    position: relative;
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    color: var(--blanco);
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.24);
    border-radius: 50%;
    font-size: 1.25rem;
    transition:
        color 220ms ease,
        background-color 220ms ease,
        border-color 220ms ease,
        transform 220ms ease,
        box-shadow 220ms ease;
}

.social-btn:hover,
.social-btn:focus {
    color: var(--blanco);
    background: var(--verde);
    border-color: var(--verde);
    transform: translateY(-4px);
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.2);
}

.facebook-link:hover,
.facebook-link:focus {
    background: #1877F2;
    border-color: #1877F2;
}

.facebook-preview {
    position: absolute;
    right: -24px;
    bottom: calc(100% + 16px);
    z-index: 20;
    width: 206px;
    opacity: 0;
    pointer-events: none;
    transform: translateY(12px) scale(0.94);
    transform-origin: bottom right;
    transition:
        opacity 220ms ease,
        transform 220ms ease;
}

.facebook-link:hover .facebook-preview,
.facebook-link:focus .facebook-preview {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.phone-preview {
    position: relative;
    display: block;
    min-height: 318px;
    padding: 18px 12px 14px;
    color: #1f2a37;
    background: #f7fbff;
    border: 8px solid #111827;
    border-radius: 28px;
    box-shadow: 0 24px 42px rgba(0, 0, 0, 0.3);
    overflow: hidden;
}

.phone-notch {
    position: absolute;
    top: 8px;
    left: 50%;
    width: 58px;
    height: 12px;
    background: #111827;
    border-radius: 0 0 12px 12px;
    transform: translateX(-50%);
}

.fb-cover {
    display: block;
    height: 104px;
    margin: 8px -4px 0;
    background:
        linear-gradient(135deg, rgba(0, 102, 255, 0.45), rgba(0, 168, 89, 0.38)),
        url("img/imagen-facebook.jpg") center/cover;
    border-radius: 14px;
}

.fb-profile-row {
    display: flex;
    gap: 8px;
    align-items: center;
    margin-top: -38px;
}

.fb-profile-row > span:last-child {
    min-width: 0;
    flex: 1;
}

.fb-avatar {
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    background: var(--blanco);
    border: 3px solid var(--blanco);
    border-radius: 50%;
    box-shadow: 0 6px 16px rgba(0, 45, 91, 0.16);
    overflow: hidden;
}

.fb-avatar img {
    width: 38px;
    height: auto;
}

.fb-profile-row strong {
    display: inline-block;
    color: var(--blanco);
    background: rgba(0, 85, 165, 0.82);
    font-size: 0.84rem;
    line-height: 1.05;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.28);
    letter-spacing: 0;
    padding: 3px 7px;
    margin: 0;
    border-radius: 6px;
    white-space: nowrap;
    overflow: visible;
    overflow-wrap: normal;
    word-break: normal;
}

.fb-profile-row strong::after {
    content: none;
}

.fb-profile-row small,
.fb-post small {
    display: block;
    color: #64748b;
    font-size: 0.68rem;
    line-height: 1.2;
}

.fb-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-top: 12px;
}

.fb-actions b {
    display: grid;
    place-items: center;
    min-height: 28px;
    color: var(--blanco);
    background: var(--azul);
    border-radius: 8px;
    font-size: 0.68rem;
}

.fb-actions b:last-child {
    color: #007b43;
    background: #e8f8ef;
}

.fb-post {
    display: grid;
    gap: 6px;
    margin-top: 12px;
    padding: 12px;
    background: var(--blanco);
    border: 1px solid var(--linea);
    border-radius: 12px;
}

.fb-post em {
    color: var(--azul);
    font-size: 0.78rem;
    font-style: normal;
    font-weight: 900;
    line-height: 1.2;
}

/* Estilo para lograr el copyright exacto de la imagen */
.footer-bottom {
    width: 100%; /* Ahora sí se expande por toda la pantalla */
    border-top: 1px solid rgba(255, 255, 255, 0.15); /* La línea divisoria */
    padding: 25px 0;
    text-align: center;
    margin-top: 40px; /* Espacio con los enlaces de arriba */
    background: rgba(0, 0, 0, 0.1);
}

/* El texto de los créditos por dentro */
.footer-bottom p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.85rem;
    max-width: 100%;
}

.whatsapp-float {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 40;
    display: grid;
    place-items: center;
    width: 58px;
    height: 58px;
    color: var(--blanco);
    background: #25D366;
    border-radius: 50%;
    box-shadow: 0 12px 28px rgba(37, 211, 102, 0.32);
    font-size: 1.8rem;
}

.scroll-top-button {
    position: fixed;
    right: 24px;
    bottom: 94px;
    z-index: 40;
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    color: var(--blanco);
    background: var(--azul);
    border: 0;
    border-radius: 50%;
    box-shadow: 0 12px 28px rgba(0, 102, 255, 0.28);
    font-size: 1.2rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(14px);
    transition:
        opacity 180ms ease,
        visibility 180ms ease,
        transform 180ms ease,
        background-color 180ms ease,
        box-shadow 180ms ease;
}

.scroll-top-button.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-top-button:hover {
    background: var(--verde);
    box-shadow: 0 14px 30px rgba(0, 168, 89, 0.28);
}

/* --- Contenedor Principal --- */
.monitoreo-layout {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1100px;
    margin: 60px auto;
    padding: 0 20px;
    gap: 50px; 
    margin-bottom: 60px;
    border-bottom: 2px solid #eee; 
    padding-bottom: 60px;
}

/* --- Columna de Texto (Izquierda) --- */
.monitoreo-texto {
    flex: 1;
    text-align: left;
}

.monitoreo-texto .subtitle {
    display: block;
    color: #00a859; 
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 2px;
    margin-bottom: 10px;
}

.monitoreo-texto h3 {
    font-size: 2.5rem;
    color: var(--azul-oscuro);
    margin-bottom: 20px;
    line-height: 1.2;
}

.monitoreo-texto h3 span {
    color: #00a859;
}

.monitoreo-texto p {
    font-size: 1.1rem;
    color: #555;
    line-height: 1.7;
}

/* --- Columna de Video (Derecha) --- */
.monitor-status-container {
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}

/* Círculo del Video */
.video-circle-wrapper {
    position: relative;
    width: 300px;  
    height: 300px;
    border-radius: 50%;
    border: 4px solid #00a859;
    padding: 6px;
    background: #fff;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.video-mini {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

/* --- Efecto de Pulso Satelital --- */
.pulse-ring {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 4px solid #00a859;
    border-radius: 50%;
    animation: pulsar-señal 2.5s infinite;
    z-index: -1;
}



/*formato vacunacion*/
.download-container {
    background: #f8f9fa;
    border-left: 5px solid var(--verde); /* Tu color verde de marca */
    padding: 30px;
    border-radius: 8px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    margin: 20px 0;
}

.format-documentf {
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    height: auto; 
    min-height: unset;
    padding: 20px; 
    border-top: 3px solid var(--verde); 
    margin-top: 20px;
    margin-bottom: 25px; 
}

.download-info {
    display: flex;
    align-items: center;
    gap: 20px;
}

.download-info i {
    font-size: 3rem;
    color: #e74c3c; /* Color rojo típico de PDF */
}

.download-info h3 {
    margin: 0;
    color: var(--azul);
    font-size: 1.2rem;
}

.download-info p {
    margin: 5px 0 0;
    color: #666;
    font-size: 0.9rem;
}

.btn-download {
    background-color: var(--verde);
    color: white;
    padding: 15px 25px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: transform 0.2s, background 0.2s;
}

.btn-download:hover {
    background-color: #008f4c; /* Un verde un poco más oscuro */
    transform: translateY(-2px);
    color: white;
}

/*contrato de pasajeros*/
/* Contenedor del documento */
.format-document {
    background: #ffffff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    margin-top: 25px;
}

/* El visor de PDF responsivo */
.pdf-viewer-container {
    position: relative;
    width: 100%;
    height: 75vh; /* Ocupa el 75% de la altura de la pantalla del usuario */
    border-radius: 6px;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.1);
}


/*menores de edad*/
/* Estilo general del texto intro */
.intro-text {
    font-size: 1.1rem;
    color: #444;
    margin-bottom: 30px;
    line-height: 1.6;
}

/* Contenedor de Pasos */
.steps-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.step-card {
    background: #fff;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    position: relative;
    border-top: 4px solid var(--verde);
}

.step-number {
    background: var(--verde);
    color: white;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-weight: bold;
    margin-bottom: 15px;
}

/* Cajas de Alerta (Edades) */
.info-alert-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin: 40px 0;
}

.alert-box {
    background: #eef4ff;
    padding: 20px;
    border-radius: 10px;
    border-left: 5px solid #0042bd;
}

.alert-box i {
    font-size: 1.5rem;
    color: #0042bd;
    margin-bottom: 10px;
}

/* Protocolo de Seguridad */
.security-protocol {
    background: #fdfdfd;
    padding: 30px;
    border: 1px dashed #ccc;
    border-radius: 10px;
    margin-top: 30px;
}

.security-protocol h3 {
    color: #d32f2f; /* Rojo para indicar importancia */
    display: flex;
    align-items: center;
    gap: 10px;
}

.security-protocol ul {
    margin-top: 15px;
    padding-left: 20px;
}

.security-protocol li {
    margin-bottom: 10px;
    color: #555;
}

.btn-downloadm {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 15px;
    color: #0042bd; /* Azul corporativo para que resalte en la tarjeta blanca */
    text-decoration: none;
    font-weight: 600;
    font-size: 1.2rem;
    transition: color 0.2s ease;
}

.btn-downloadm:hover {
    color: #002d85; /* Un tono más oscuro al pasar el mouse */
    text-decoration: underline;
}

.btn-downloadm i {
    font-size: 1.1rem;
}

/* Ajustes para móviles */
@media (max-width: 768px) {
    .info-alert-grid {
        grid-template-columns: 1fr;
    }
}


/* Ajuste opcional para celulares si deseas que sea un poco más corto */
@media (max-width: 768px) {
    .pdf-viewer-container {
        height: 60vh;
    }
}



/* --- Texto de Estado Inferior --- */
.status-text {
    margin-top: 20px;
    font-size: 0.85rem;
    font-weight: 800;
    color: #333;
    display: flex;
    align-items: center;
    letter-spacing: 1.5px;
}

/* Punto Rojo Parpadeante */
.dot-live {
    height: 10px;
    width: 10px;
    background-color: #ff0000;
    border-radius: 50%;
    display: inline-block;
    margin-right: 10px;
    animation: blink-live 1.2s infinite;
}

@keyframes blink-live {
    0% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.3; transform: scale(1.1); }
    100% { opacity: 1; transform: scale(1); }
}

/* --- Responsive (Celulares) --- */
@media (max-width: 768px) {
    .monitoreo-layout {
        flex-direction: column; 
        text-align: center;
        gap: 30px;
    }
    
    .monitoreo-texto {
        text-align: center;
    }

    .monitoreo-texto h3 {
        font-size: 1.8rem;
    }
}


@media (max-width: 980px) {
    .menu-button {
        display: grid;
        place-items: center;
    }

    .main-nav {
        position: fixed;
        top: 58px;
        left: 0;
        right: 0;
        display: none;
        flex-direction: column;
        align-items: stretch;
        padding: 18px;
        background: var(--blanco);
        border-bottom: 1px solid var(--linea);
        box-shadow: var(--sombra);
    }

    .main-nav.open {
        display: flex;
    }

    .main-nav a {
        justify-content: center;
    }

    .nav-dropdown {
        width: 100%;
    }

    .nav-dropdown > button {
        width: 100%;
        justify-content: center;
    }

    .nav-dropdown-menu {
        position: static;
        width: 100%;
        margin-top: 8px;
        transform: none;
        box-shadow: none;
    }

    .main-nav .nav-dropdown-menu a {
        justify-content: center;
        text-align: center;
    }

    .hero-inner,
    .search-band,
    .section-title.split,
    .travel-formats-grid,
    .filters,
    .about-grid,
    .suggestions-grid {
        grid-template-columns: 1fr;
    }

    .status-card {
        max-width: 520px;
    }

    .fleet-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .about-photo,
    .about-photo img {
        min-height: 420px;
    }
}

@media (max-width: 680px) {
    .shell {
        width: min(100% - 28px, 1180px);
    }

    .brand small {
        display: none;
    }

    .hero {
        height: 720px;
        min-height: 720px;
    }

    .hero-inner {
        width: min(100% - 28px, 1180px);
        padding: 0;
    }

    .hero-copy {
        top: 54px;
    }

    h1 {
        max-width: 100%;
        font-size: clamp(2.45rem, 13vw, 3.45rem);
        line-height: 1.04;
    }

    .route-status-card {
        width: 100%;
        bottom: 128px;
    }

    .route-status-content {
        grid-template-columns: minmax(0, 1fr) 1px max-content;
        gap: 14px;
    }

    .hero-search {
        right: 0;
        bottom: 50px;
        width: 100%;
    }

    .hero-search div {
        grid-template-columns: 1fr 96px;
        padding-left: 20px;
    }

    .hero-search input {
        font-size: 0.9rem;
    }

    .hero-search.search-form button {
        width: 100px;
        padding: 0 16px;
        font-size: 0.82rem;
    }

    .hero-dots {
        top: auto;
        right: 18px;
        bottom: 22px;
        grid-auto-flow: column;
        transform: none;
    }

    .hero-actions,
    .form-row,
    .about-values,
    .footer-grid {
        grid-template-columns: 1fr;
        flex-direction: column;
    }

    .footer-social {
        justify-items: center;
        text-align: center;
    }

    .facebook-preview {
        right: 50%;
        transform: translate(50%, 12px) scale(0.94);
        transform-origin: bottom center;
    }

    .facebook-link:hover .facebook-preview,
    .facebook-link:focus .facebook-preview {
        transform: translate(50%, 0) scale(1);
    }

    .btn {
        width: 100%;
    }

    .search-band {
        width: 100%;
        margin-top: 0;
        border-radius: 0;
    }

    .fleet-grid {
        grid-template-columns: 1fr;
    }

    .fleet-card {
        border: 1px solid var(--linea);
    }

    .route-header {
        display: none;
    }

    .route-row {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .whatsapp-float {
        right: 16px;
        bottom: 16px;
    }

    .scroll-top-button {
        right: 16px;
        bottom: 84px;
    }
}


/* Animaciones generales */
@media (prefers-reduced-motion: no-preference) {
    html {
        scroll-behavior: smooth;
    }

    body {
        animation: pageFade 700ms ease both;
    }

    .topbar,
    .site-header {
        animation: slideDown 700ms ease both;
    }

    .hero-content,
    .hero-inner {
        animation: heroText 900ms ease both;
    }

    .status-card,
    .departure-board {
        animation: floatIn 1000ms ease 250ms both;
    }

    .search-band,
    .quick-search {
        animation: riseUp 800ms ease 450ms both;
    }

    .fleet-card,
    .fleet-item,
    .felicitacion-card,
    .testimonial,
    .about-values article,
    .value-card,
    .team-card,
    .route-table,
    .suggestion-form,
    .contact-panel {
        opacity: 0;
        transform: translateY(28px);
        transition:
            opacity 650ms ease,
            transform 650ms ease,
            box-shadow 220ms ease,
            border-color 220ms ease;
    }

    .fleet-card.is-visible,
    .fleet-item.is-visible,
    .felicitacion-card.is-visible,
    .testimonial.is-visible,
    .about-values article.is-visible,
    .value-card.is-visible,
    .team-card.is-visible,
    .route-table.is-visible,
    .suggestion-form.is-visible,
    .contact-panel.is-visible {
        opacity: 1;
        transform: translateY(0);
    }

    .section-title,
    .section-heading,
    .about-copy,
    .story-panel {
        opacity: 0;
        transform: translateY(22px);
        transition: opacity 650ms ease, transform 650ms ease;
    }

    .section-title.is-visible,
    .section-heading.is-visible,
    .about-copy.is-visible,
    .story-panel.is-visible {
        opacity: 1;
        transform: translateY(0);
    }

    .fleet-card:hover,
    .fleet-item:hover,
    .felicitacion-card:hover,
    .testimonial:hover,
    .team-card:hover,
    .value-card:hover {
        transform: translateY(-8px);
        box-shadow: 0 22px 50px rgba(0, 45, 91, 0.16);
        border-color: rgba(0, 168, 89, 0.35);
    }

    .fleet-card img,
    .fleet-item img,
    .about-photo img,
    .team-card img {
        transition: transform 700ms ease, filter 700ms ease;
    }

    .fleet-item:hover img,
    .about-photo:hover img,
    .team-card:hover img {
        transform: scale(1.06);
        filter: saturate(1.08) contrast(1.04);
    }

    .fleet-card:hover img {
        filter: none;
    }

    .btn,
    .nav-action,
    .search-form button,
    .whatsapp-float {
        transition:
            transform 180ms ease,
            box-shadow 180ms ease,
            background-color 180ms ease;
    }

    .btn:hover,
    .nav-action:hover,
    .search-form button:hover {
        transform: translateY(-2px);
        box-shadow: 0 14px 28px rgba(0, 45, 91, 0.18);
    }

    .btn:active,
    .search-form button:active {
        transform: translateY(0) scale(0.98);
    }

    .whatsapp-float {
        animation: whatsappPulse 2200ms ease-in-out infinite;
    }

    .route-row {
        animation: rowEnter 420ms ease both;
    }

    .status-metric strong,
    #activeUnits {
        transition: transform 220ms ease, color 220ms ease;
    }

    .status-metric strong:hover,
    #activeUnits:hover {
        transform: scale(1.06);
        color: var(--verde);
    }
}

@keyframes pageFade {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

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

@keyframes heroText {
    from {
        opacity: 0;
        transform: translateY(34px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes heroSlide {
    0% {
        opacity: 0;
        transform: scale(1.06) translateX(0);
    }
    8% {
        opacity: 1;
        transform: scale(1.02) translateX(0);
    }
    30% {
        opacity: 1;
        transform: scale(1) translateX(-12px);
    }
    41%,
    100% {
        opacity: 0;
        transform: scale(1.04) translateX(-18px);
    }
}

@keyframes heroDot {
    0%,
    7% {
        background: transparent;
        border-color: rgba(255, 255, 255, 0.86);
        transform: scale(1);
    }
    9%,
    30% {
        background: var(--verde);
        border-color: var(--verde);
        transform: scale(1.14);
    }
    38%,
    100% {
        background: transparent;
        border-color: rgba(255, 255, 255, 0.86);
        transform: scale(1);
    }
}

@keyframes heroPhrase {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    8% {
        opacity: 1;
        transform: translateY(0);
    }
    30% {
        opacity: 1;
        transform: translateY(0);
    }
    39%,
    100% {
        opacity: 0;
        transform: translateY(-18px);
    }
}

@keyframes floatIn {
    from {
        opacity: 0;
        transform: translateY(36px) scale(0.96);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes riseUp {
    from {
        opacity: 0;
        transform: translateY(38px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes rowEnter {
    from {
        opacity: 0;
        transform: translateX(-14px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes whatsappPulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 12px 28px rgba(37, 211, 102, 0.32);
    }
    50% {
        transform: scale(1.06);
        box-shadow: 0 18px 36px rgba(37, 211, 102, 0.46);
    }
}



/* Responsivo formato fiebre amarilla */
@media (max-width: 600px) {
    .download-container {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }
    .download-info {
        flex-direction: column;
    }
}

@keyframes pulsar-señal {
    0% { transform: scale(1); opacity: 0.8; }
    100% { transform: scale(1.5); opacity: 0; }
}
