/* Source: css/trayectoria.css */
.trajectory-section {
    --trajectory-primary: #23366d;
    --trajectory-accent: #009ddd;
    --trajectory-background: #e7eef1;
    --trajectory-surface: #ffffff;
    --trajectory-text: #21406f;
    position: relative;
    width: 100%;
    overflow: hidden;
    padding: clamp(2.75rem, 6vw, 5rem) clamp(1rem, 4vw, 2.5rem);
    box-sizing: border-box;
    background:
        radial-gradient(circle at 12% 12%, rgba(0, 157, 221, 0.09), transparent 30%),
        linear-gradient(180deg, #edf3f5 0%, var(--trajectory-background) 100%);
    text-align: center;
}

.trajectory-section::before,
.trajectory-section::after {
    position: absolute;
    border-radius: 50%;
    background: rgba(46, 77, 155, 0.055);
    content: "";
    pointer-events: none;
}

.trajectory-section::before {
    top: -7rem;
    right: -5rem;
    width: 17rem;
    height: 17rem;
}

.trajectory-section::after {
    bottom: -8rem;
    left: -6rem;
    width: 19rem;
    height: 19rem;
}

.trajectory-section__inner {
    position: relative;
    z-index: 1;
    width: min(100%, 1180px);
    margin: 0 auto;
}

.trajectory-section__eyebrow {
    margin: 0 0 0.45rem;
    color: var(--trajectory-accent);
    font-family: "Rubik", sans-serif;
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.trajectory-section .main-title {
    margin: 0 0 clamp(1.75rem, 4vw, 2.75rem);
    color: var(--trajectory-primary);
    font-family: "Rubik", sans-serif;
    font-size: clamp(2rem, 4.5vw, 3.1rem);
    font-weight: 900;
    letter-spacing: 0.025em;
    line-height: 1.05;
    text-transform: uppercase;
}

.trajectory-section .cards-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(1rem, 2.3vw, 1.6rem);
    align-items: stretch;
}

.trajectory-section .stat-card {
    position: relative;
    display: flex;
    min-width: 0;
    min-height: 230px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: clamp(1.75rem, 3.5vw, 2.5rem) clamp(1.25rem, 2.5vw, 2rem);
    border: 1px solid rgba(46, 77, 155, 0.08);
    border-radius: 22px;
    background: var(--trajectory-surface);
    box-shadow: 0 12px 30px rgba(33, 64, 111, 0.09);
    transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.trajectory-section .stat-card::before {
    position: absolute;
    top: 0;
    left: 50%;
    width: 42%;
    height: 4px;
    border-radius: 0 0 999px 999px;
    background: linear-gradient(90deg, var(--trajectory-accent), var(--trajectory-primary));
    content: "";
    transform: translateX(-50%);
}

.trajectory-section .stat-card:hover {
    border-color: rgba(0, 157, 221, 0.24);
    box-shadow: 0 18px 38px rgba(33, 64, 111, 0.14);
    transform: translateY(-5px);
}

.trajectory-section .stat-number {
    margin: 0 0 0.7rem;
    color: var(--trajectory-accent);
    font-family: "Rubik", sans-serif;
    font-size: clamp(2.7rem, 5vw, 4rem);
    font-weight: 900;
    letter-spacing: -0.045em;
    line-height: 0.95;
    background: linear-gradient(180deg, var(--trajectory-accent) 5%, var(--trajectory-primary) 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.trajectory-section .stat-title {
    min-height: 1.25em;
    margin: 0 0 0.7rem;
    color: var(--trajectory-primary);
    font-family: "Rubik", sans-serif;
    font-size: clamp(1rem, 1.8vw, 1.18rem);
    font-weight: 850;
    letter-spacing: 0.025em;
    line-height: 1.2;
    text-transform: uppercase;
}

.trajectory-section .stat-description {
    max-width: 295px;
    margin: 0;
    color: var(--trajectory-text);
    font-size: clamp(0.82rem, 1.4vw, 0.92rem);
    font-weight: 500;
    line-height: 1.55;
    text-wrap: balance;
}

@media (max-width: 899px) {
    .trajectory-section .cards-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .trajectory-section .stat-card:last-child {
        grid-column: 1 / -1;
        width: calc(50% - 0.5rem);
        justify-self: center;
    }
}

@media (max-width: 599px) {
    .trajectory-section {
        padding-inline: 1rem;
    }

    .trajectory-section .cards-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .trajectory-section .stat-card,
    .trajectory-section .stat-card:last-child {
        width: auto;
        min-height: 0;
        grid-column: auto;
        padding: 1.75rem 1.25rem;
    }

    .trajectory-section .stat-description {
        max-width: 32rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .trajectory-section .stat-card {
        transition: none;
    }

    .trajectory-section .stat-card:hover {
        transform: none;
    }
}


/* Source: css/comments_cards.css */
.home-comments {
    background: #e7eff1;
    padding: 4rem 0;
    overflow: hidden;
}

.home-comments__title {
    color: #2e4d9b;
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1.75rem;
    text-align: center;
    text-transform: uppercase;
}

.home-comments__subtitle {
    color: #4a5568;
    margin-bottom: 0.5rem;
    text-align: center;
}

.home-comments__google-link {
    align-items: center;
    background: linear-gradient(90deg, #009ddd 0%, #2e4d9b 100%);
    /* border: 2px solid #2e4d9b; */
    border-radius: 999px;
    box-shadow: 0 8px 18px rgba(46, 77, 155, 0.2);
    color: #ffffff;
    display: flex;
    font-weight: 700;
    justify-content: center;
    margin: 0.85rem auto 1.5rem;
    min-height: 46px;
    padding: 0.7rem 1.5rem;
    text-align: center;
    text-decoration: none;
    transition: background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
    width: fit-content;
}

.home-comments__google-link[hidden] {
    display: flex;
    visibility: hidden;
}

.home-comments__google-link:hover,
.home-comments__google-link:focus-visible {
    background: linear-gradient(90deg, #2e4d9b 0%, #009ddd 100%);
    /* border-color: #009ddd; */
    box-shadow: 0 10px 22px rgba(0, 157, 221, 0.28);
    color: #ffffff;
    text-decoration: none;
    transform: translateY(-2px);
}

.home-comments__google-link:focus-visible {
    outline: 3px solid rgba(0, 157, 221, 0.35);
    outline-offset: 3px;
}

.comments-carousel {
    align-items: center;
    display: flex;
    margin: 0 auto;
    max-width: none;
    padding: 1rem 0;
    width: 100%;
}

.comments-carousel__viewport {
    box-sizing: border-box;
    min-height: 260px;
    overflow: hidden;
    width: 100%;
    padding: 2rem 0;
}

.comments-carousel__viewport:focus {
    outline: none;
}

.comments-carousel__track {
    display: flex;
    gap: 1rem;
    transition: transform 0.45s ease;
    will-change: transform;
}

.comments-carousel__track--no-transition {
    transition: none;
}

.comments-carousel__card {
    background-color: #ffffff;
    border-radius: 28px;
    box-sizing: border-box;
    flex: 0 0 clamp(360px, 42vw, 510px);
    min-height: 196px;
    opacity: 0.82;
    padding: 1.7rem 2rem;
    transform: scale(0.9);
    transform-origin: center;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.04);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.comments-carousel__card.is-active {
    box-shadow: 0px 4px 20px 3px rgba(0, 0, 0, 0.08);
    opacity: 1;
    transform: scale(1);
}

.comments-carousel__control {
    height: 1px;
    left: -10000px;
    overflow: hidden;
    position: absolute;
    top: auto;
    width: 1px;
}

.comments-carousel__card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}

.comments-carousel__user-info {
    display: flex;
    align-items: center;
    gap: 15px;
}

.comments-carousel__avatar {
    width: 50px;
    height: 50px;
    /* Azul oscuro para el avatar */
    background-color: transparent;
    /* Changed to transparent as new image has a background */
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    overflow: hidden;
    /* Ensure image fits and crops correctly */
}

.comments-carousel__avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* Cover the container, keeping aspect ratio */
    border-radius: 50%;
    /* Double check circular crop */
}

.comments-carousel__name {
    /* Rubik y azul claro para el nombre */
    font-family: 'Rubik', sans-serif;
    color: #009ddd;
    font-size: 1.3rem;
    font-weight: 600;
    text-decoration: none;
}

.comments-carousel__stars {
    /* Azul claro para las estrellas */
    color: #009ddd;
    font-size: 1.2rem;
    letter-spacing: 2px;
}

.comments-carousel__destination {
    /* Rubik y azul claro para el título de la reseña */
    font-family: 'Rubik', sans-serif;
    color: #009ddd;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.comments-carousel__text {
    /* Texto hereda Poppins */
    display: -webkit-box;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    color: #38559f;
    font-size: 0.95rem;
    line-height: 1.5;
    margin: 0;
    overflow: hidden;
}

.comments-carousel__message {
    color: #4a5568;
    margin: 2rem auto;
    text-align: center;
    width: 100%;
}

@media (max-width: 991px) {
    .comments-carousel__card {
        flex-basis: clamp(340px, 62vw, 460px);
    }
}

@media (max-width: 640px) {
    .home-comments {
        padding: 3rem 0;
    }

    .comments-carousel {
        padding: 1rem 0;
    }

    .comments-carousel__card {
        flex-basis: calc(100vw - 2rem);
        min-height: 196px;
        padding: 1.5rem;
        transform: scale(0.96);
    }

    .home-comments__title {
        font-size: 1.85rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .comments-carousel__track,
    .comments-carousel__card {
        transition: none;
    }
}


/* Source: css/subscribe.css */
.newsletter-section,
.newsletter-section * {
    box-sizing: border-box;
}

.newsletter-section {
    width: 100%;
    padding: 40px clamp(24px, 5vw, 54px) 54px clamp(24px, 6.7vw, 72px);
    background: #e8eff1;
}

.newsletter-section__inner {
    display: flex;
    align-items: center;
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
}

.newsletter-section__copy {
    z-index: 1;
    display: flex;
    flex: 0 0 56.4%;
    min-height: 178px;
    flex-direction: column;
    justify-content: center;
    padding: 33px clamp(32px, 5.25vw, 58px);
    border-radius: 31px;
    background: #fbfbfc;
}

.newsletter-section__copy h2 {
    margin: 0 0 6px;
    color: #263e7d;
    font-family: "Rubik", Arial, sans-serif;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    letter-spacing: -0.04em;
    line-height: 1.12;
    text-transform: uppercase;
}

.newsletter-section__copy p {
    max-width: 470px;
    margin: 0;
    color: #009ddd;
    font-family: "Rubik", Arial, sans-serif;
    font-size: clamp(1rem, 2.1vw, 1.3rem);
    font-weight: 600;
    line-height: 1.18;
}

.newsletter-section__form-card {
    z-index: 2;
    flex: 0 0 48.8%;
    min-height: 228px;
    margin-left: -5.2%;
    padding: 56px clamp(25px, 3.2vw, 40px) 56px;
    border-radius: 31px;
    background: linear-gradient(115deg, #08a4db 0%, #3157a5 100%);
}

.newsletter-form {
    display: flex;
    flex-direction: column;
    gap: 11px;
    margin: 0;
}

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

.newsletter-form__input {
    width: 100%;
    min-height: 28px;
    margin: 0;
    padding: 7px 13px;
    border: 1px solid transparent;
    border-radius: 999px;
    outline: 0;
    background: #fff;
    color: #263e7d;
    font-family: "Rubik", Arial, sans-serif;
    font-size: 0.63rem;
    font-weight: 500;
    line-height: 1.2;
    transition: border-color 160ms ease, box-shadow 160ms ease;
}

.newsletter-form__input::placeholder {
    color: #607399;
    opacity: 1;
}

.newsletter-form__input:focus {
    border-color: #173b80;
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.5);
}

.newsletter-form__input[aria-invalid="true"] {
    border-color: #a51d35;
    box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.65);
}

.newsletter-form__submit {
    display: block !important;
    width: 100% !important;
    min-height: 36px !important;
    margin: 0 !important;
    padding: 9px 20px !important;
    border: 1px solid #fff !important;
    border-radius: 999px !important;
    appearance: none;
    background: linear-gradient(90deg, #009ddd 0%, #2e4d9b 100%) !important;
    box-shadow: 0 4px 12px rgba(30, 61, 125, 0.22);
    color: #ffffff !important;
    cursor: pointer !important;
    font-family: "Rubik", Arial, sans-serif !important;
    font-size: 0.78rem !important;
    font-weight: 700 !important;
    letter-spacing: 0.03em !important;
    line-height: 1.2 !important;
    text-align: center !important;
    text-transform: uppercase !important;
    transition: background-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
    margin-top: 10px !important;
}

.newsletter-form__submit[hidden] {
    display: none;
}

.newsletter-form__submit:focus-visible {
    outline: 0;
    box-shadow: 0 0 0 3px #263e7d, 0 0 0 5px #fff;
}

.newsletter-form__submit:hover:not(:disabled) {
    background: linear-gradient(90deg, #2e4d9b 0%, #009ddd 100%) !important;
    box-shadow: 0 6px 16px rgba(30, 61, 125, 0.3);
    transform: translateY(-1px);
}

.newsletter-form__submit:disabled {
    cursor: wait;
    opacity: 0.7;
}

.newsletter-form__status {
    min-height: 0;
    margin: 0;
    padding: 6px 10px;
    border-radius: 8px;
    background: #263e7d;
    color: #fff;
    font-family: "Rubik", Arial, sans-serif;
    font-size: 0.75rem;
    font-weight: 600;
    line-height: 1.25;
    text-align: center;
}

.newsletter-form__status:empty {
    display: none;
    padding: 0;
}

@media (max-width: 767px) {
    .newsletter-section {
        padding: 28px 20px 36px;
    }

    .newsletter-section__inner {
        flex-direction: column;
    }

    .newsletter-section__copy,
    .newsletter-section__form-card {
        width: 100%;
        flex-basis: auto;
    }

    .newsletter-section__copy {
        min-height: 0;
        padding: 34px 28px 46px;
        border-radius: 28px 28px 0 0;
        text-align: center;
    }

    .newsletter-section__copy h2 {
        font-size: clamp(2rem, 10vw, 2.75rem);
    }

    .newsletter-section__copy p {
        margin: 0 auto;
        font-size: 1rem;
    }

    .newsletter-section__form-card {
        min-height: 0;
        margin: -20px 0 0;
        padding: 38px 25px 30px;
        border-radius: 28px;
    }

    .newsletter-form__input {
        min-height: 42px;
        padding: 11px 18px;
        font-size: 0.78rem;
    }

    .newsletter-form__submit {
        min-height: 44px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .newsletter-form__input,
    .newsletter-form__submit {
        transition: none;
    }

    .newsletter-form__submit:hover:not(:disabled) {
        transform: none;
    }
}


/* Source: css/listing-pagination.css */
/* Compartido con el paginador de busqueda.php de travel_vijes_2026. */
.package-pagination { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1rem; margin: 1.25rem 0 0; padding: 1rem 0; color: #183153; font-size: .8rem; }
.package-pagination__summary { line-height: 1.7; }
.package-pagination__summary strong { font-weight: 600; }
.package-pagination__controls { display: flex; align-items: center; justify-content: flex-end; gap: .3rem; }
.package-pagination .package-pagination__link { display: inline-flex; align-items: center; justify-content: center; gap: .45rem; min-width: 40px; min-height: 40px; padding: .45rem .7rem; border: 1px solid #d9e0eb; border-radius: 6px; background: #fff; color: #183153; font: inherit; line-height: 1.3; text-decoration: none; box-sizing: border-box; }
.package-pagination button.package-pagination__link { cursor: pointer; }
.package-pagination a.package-pagination__link:hover, .package-pagination button.package-pagination__link:hover { border-color: #2e4d9b; background: #edf3ff; }
.package-pagination .package-pagination__link:focus-visible { outline: 2px solid #2e4d9b; outline-offset: 2px; }
.package-pagination .package-pagination__link.is-current { border-color: #2e4d9b; background: #2e4d9b; color: #fff; font-weight: 600; }
.package-pagination .package-pagination__link.is-disabled { color: #8492a6; background: #f7f9fc; }
.package-pagination__ellipsis { min-width: 1.1rem; color: #8492a6; text-align: center; }
@media (max-width: 600px) {
    .package-pagination { justify-content: center; gap: .65rem; }
    .package-pagination__summary { flex-basis: 100%; text-align: center; }
    .package-pagination__controls { justify-content: center; flex-wrap: wrap; max-width: 100%; }
    .package-pagination .package-pagination__link { min-width: 40px; padding: .45rem .6rem; }
    .package-pagination__direction-label { display: none; }
}

