/* ==========================================================================
   Home page (below the slider) + footer redesign — 2026
   Brand palette kept: dark #151919 / #080e0e, yellow #ffd000, white text.
   Prefix: hx-
   ========================================================================== */

:root {
    --hx-yellow: #ffd000;
    --hx-yellow-dark: #e6bb00;
    --hx-dark: #151919;
    --hx-darker: #0f1313;
    --hx-line: rgba(255, 255, 255, .08);
    --hx-text: rgba(255, 255, 255, .78);
    --hx-muted: rgba(255, 255, 255, .55);
    --hx-radius: 12px;
}

/* ---------- shared ---------- */
.hx-eyebrow {
    display: inline-block;
    color: var(--hx-yellow);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .18em;
    text-transform: uppercase;
    margin-bottom: 10px;
}
.hx-title {
    position: relative;
    color: #fff;
    font-weight: 700;
    font-size: 30px;
    line-height: 1.2;
    margin: 0 0 18px;
    padding-top: 16px;
}
.hx-title:before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 44px;
    height: 4px;
    background: var(--hx-yellow);
    border-radius: 2px;
}
.hx-title--center {
    text-align: center;
    padding-top: 18px;
}
.hx-title--center:before {
    left: 50%;
    transform: translateX(-50%);
}
.hx-sub {
    color: var(--hx-muted);
    font-size: 15px;
    margin: 0 0 32px;
}
.hx-btn {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 8px 16px;
    border-radius: 999px;
    font-weight: 700;
    font-size: 13px;
    line-height: 1.2;
    border: 1px solid var(--hx-yellow);
    background: var(--hx-yellow);
    color: #151919 !important;
    transition: transform .2s ease, background .2s ease, color .2s ease, box-shadow .2s ease;
    text-decoration: none !important;
}
.hx-btn:hover,
.hx-btn:focus {
    background: var(--hx-yellow-dark);
    border-color: var(--hx-yellow-dark);
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(255, 208, 0, .22);
}
.hx-btn--sm {
    padding: 6px 13px;
    font-size: 12px;
    gap: 6px;
}
.hx-btn--sm:hover,
.hx-btn--sm:focus { transform: none; box-shadow: none; }
.hx-btn--ghost {
    background: transparent;
    color: #fff !important;
    border-color: rgba(255, 255, 255, .35);
}
.hx-btn--ghost:hover,
.hx-btn--ghost:focus {
    background: rgba(255, 255, 255, .06);
    border-color: var(--hx-yellow);
    color: var(--hx-yellow) !important;
    box-shadow: none;
}
.hx-link {
    color: var(--hx-yellow) !important;
    font-weight: 700;
    font-size: 14px;
}
.hx-link:hover { color: #fff !important; }
.hx-card {
    background: rgba(255, 255, 255, .035);
    border: 1px solid var(--hx-line);
    border-radius: var(--hx-radius);
}

/* ---------- 1. intro + departures ---------- */
.hx-intro {
    padding: 56px 0 48px;
}
.hx-intro__grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    grid-template-rows: auto 1fr;
    gap: 0 40px;
    align-items: stretch;
}
/* each column shares the two rows (head / card) so headings and card tops line up */
.hx-intro__col {
    display: grid;
    grid-row: span 2;
    grid-template-rows: subgrid;
    min-width: 0;
}
.hx-intro__head { align-self: end; }
.hx-intro__body {
    position: relative;
    padding: 28px 30px;
    background: #fff;
    border-color: #fff;
    border-top: 4px solid var(--hx-yellow);
    color: #3a3f3f;
    font-size: 15px;
    line-height: 1.8;
    box-shadow: 0 18px 40px rgba(0, 0, 0, .35);
}
.hx-intro__body p { margin: 0 0 16px; text-align: left !important; }
.hx-intro__body p:last-child { margin-bottom: 0; }
.hx-intro__body strong, .hx-intro__body b { color: #151919; }
.hx-intro__body a { color: #151919; text-decoration: underline; text-decoration-color: var(--hx-yellow); }
.hx-intro__facts {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 26px;
    margin: 0 0 22px;
    padding: 0;
    list-style: none;
    color: var(--hx-muted);
    font-size: 13px;
}
.hx-intro__facts li { display: flex; align-items: center; gap: 8px; min-height: 28px; }
.hx-intro__facts i { color: var(--hx-yellow); }
.hx-intro__facts--dep { gap: 10px 18px; }

/* departures */
.hx-dep {
    overflow: hidden;
    display: flex;
    flex-direction: column;
}
.hx-dep__list {
    list-style: none;
    margin: 0;
    padding: 10px 10px 6px;
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
}
.hx-dep__item { flex: 1 0 auto; }
.hx-dep__item {
    display: grid;
    grid-template-columns: 118px minmax(0, 1fr) auto;
    align-items: center;
    gap: 14px;
    padding: 12px 14px;
    border-radius: 8px;
    transition: background .2s ease;
}
.hx-dep__item + .hx-dep__item { border-top: 1px solid var(--hx-line); border-radius: 0; }
.hx-dep__item:hover { background: rgba(255, 255, 255, .04); }
.hx-dep__date {
    color: var(--hx-yellow);
    font-size: 12px;
    font-weight: 700;
    line-height: 1.35;
    letter-spacing: .02em;
}
.hx-dep__date i { margin-right: 6px; opacity: .8; }
.hx-dep__name {
    color: #fff !important;
    font-weight: 600;
    font-size: 15px;
    line-height: 1.35;
}
.hx-dep__name:hover { color: var(--hx-yellow) !important; }
.hx-dep__status {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    padding: 5px 10px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, .25);
    color: var(--hx-text);
    white-space: nowrap;
}
.hx-dep__status--guaranteed {
    background: var(--hx-yellow);
    border-color: var(--hx-yellow);
    color: #151919;
}
.hx-dep__status--available {
    border-color: rgba(255, 208, 0, .6);
    color: var(--hx-yellow);
}
.hx-dep__foot {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 14px 24px 16px;
    border-top: 1px solid var(--hx-line);
    margin-top: auto;
}
.hx-dep__foot .hx-link { display: inline-flex; align-items: center; gap: 6px; }
.hx-dep__empty { padding: 24px; color: var(--hx-muted); }

/* ---------- 2. our tours ---------- */
.hx-tours {
    position: relative;
    padding: 64px 0 72px;
}
.hx-tours:before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(8, 14, 14, .55), rgba(8, 14, 14, .75));
}
.hx-tours .container { position: relative; }
.hx-tours__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px;
}
.hx-tour {
    position: relative;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border-radius: var(--hx-radius);
    background: rgba(10, 14, 14, .72);
    border: 1px solid var(--hx-line);
    transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.hx-tour:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 208, 0, .55);
    box-shadow: 0 18px 40px rgba(0, 0, 0, .45);
}
.hx-tour__media {
    position: relative;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: #0b0f0f;
}
.hx-tour__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .6s ease;
}
.hx-tour:hover .hx-tour__media img { transform: scale(1.06); }
.hx-tour__media:after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 55%, rgba(0, 0, 0, .55));
}
.hx-tour__body {
    padding: 22px 22px 24px;
    display: flex;
    flex-direction: column;
    flex: 1;
}
.hx-tour__body h3 {
    position: relative;
    margin: 0 0 12px;
    padding-top: 14px;
    font-size: 18px;
    line-height: 1.3;
    font-weight: 700;
}
.hx-tour__body h3:before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 32px;
    height: 4px;
    background: var(--hx-yellow);
    border-radius: 2px;
}
.hx-tour__body h3 a { color: #fff; }
.hx-tour__body h3 a:after { content: ''; position: absolute; inset: 0; } /* whole card clickable */
.hx-tour__body h3 a:hover { color: var(--hx-yellow); }
.hx-tour__text {
    color: var(--hx-muted);
    font-size: 14px;
    line-height: 1.7;
    margin: 0 0 18px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-align: left !important;
}
.hx-tour__text p { margin: 0; display: inline; }
.hx-tour__more {
    margin-top: auto;
    color: var(--hx-yellow);
    font-weight: 700;
    font-size: 13px;
    letter-spacing: .04em;
    text-transform: uppercase;
}
.hx-tour__more i { transition: transform .2s ease; margin-left: 6px; }
.hx-tour:hover .hx-tour__more i { transform: translateX(4px); }
.hx-tours__cta { text-align: center; margin-top: 40px; }

/* ---------- 3. footer ---------- */
#footer.hx-footer {
    background: var(--hx-darker);
    border-top: 1px solid var(--hx-line);
    padding: 0;
    color: #9aa3a3;
}
.hx-footer__social-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 36px;
    padding: 44px 0 36px;
    border-bottom: 1px solid var(--hx-line);
    align-items: start;
}
.hx-footer__ta-widget {
    display: block;
    transform: scale(1.2);
    transform-origin: left top;
    min-height: 60px;
}
/* TripAdvisor "rating only – wide" widget: force a single line (logo | name | bubbles + count) */
.hx-footer__ta-widget .cdsROW { width: auto !important; display: inline-block; }
.hx-footer__ta-widget .cdsLocName { max-width: none !important; white-space: nowrap; }
.hx-footer__ta-widget .cdsLocName a { color: #000 !important; font-weight: 700; }
.hx-footer__top {
    display: grid;
    grid-template-columns: 1.1fr 1fr 1fr;
    gap: 36px;
    padding: 40px 0 36px;
}
.hx-footer h5, .hx-footer .hx-footer__h, .hx-footer h2 {
    position: relative;
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    margin: 0 0 20px;
    padding-bottom: 12px;
}
.hx-footer h5:after, .hx-footer .hx-footer__h:after, .hx-footer h2:after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 28px;
    height: 3px;
    background: var(--hx-yellow);
    border-radius: 2px;
}
.hx-footer__brand img { height: 56px; width: auto; display: block; margin-bottom: 16px; }
.hx-footer__brand strong { display: block; color: #fff; font-size: 17px; margin-bottom: 6px; }
.hx-footer__brand p { margin: 0 0 18px; font-size: 14px; line-height: 1.7; max-width: 360px; }
.hx-social { display: flex; flex-wrap: wrap; gap: 10px; }
.hx-social a {
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, .06);
    border: 1px solid var(--hx-line);
    color: #fff !important;
    font-size: 16px;
    transition: all .2s ease;
}
.hx-social--lg { gap: 14px; }
.hx-social--lg a { width: 54px; height: 54px; font-size: 22px; background: rgba(255, 255, 255, .08); }
.hx-social a:hover { background: var(--hx-yellow); border-color: var(--hx-yellow); color: #151919 !important; transform: translateY(-2px); }
.hx-footer ul { list-style: none; margin: 0; padding: 0; }
.hx-footer__links li { margin: 0 0 10px; }
.hx-footer__links a { color: #b5bcbc; font-size: 14px; }
.hx-footer__links a:hover { color: var(--hx-yellow); }
.hx-contact li { display: flex; gap: 12px; align-items: flex-start; margin: 0 0 12px; font-size: 14px; line-height: 1.6; }
.hx-contact i { color: var(--hx-yellow); margin-top: 4px; width: 14px; text-align: center; flex: none; }
.hx-contact a { color: #b5bcbc; }
.hx-contact a:hover { color: var(--hx-yellow); }
.hx-members { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.hx-members img { max-height: 64px; width: auto; opacity: .9; }
.hx-footer__partners {
    border-top: 1px solid var(--hx-line);
    padding: 28px 0;
    display: grid;
    grid-template-columns: 180px minmax(0, 1fr);
    gap: 24px;
    align-items: center;
}
.hx-footer__partners h5, .hx-footer__partners .hx-footer__h { margin: 0; padding: 0; }
.hx-footer__partners h5:after, .hx-footer__partners .hx-footer__h:after { display: none; }
.hx-footer__partners > div:last-child, #owl-demo { min-width: 0; max-width: 100%; overflow: hidden; } /* owl sets a fixed wrapper width; never let it widen the page on phones */
.hx-footer__partners .item { padding: 0 10px; }
.hx-footer__partners .item img { max-height: 64px; width: auto; margin: 0 auto; opacity: .85; }
.hx-footer__bottom {
    border-top: 1px solid var(--hx-line);
    padding: 18px 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 10px;
    font-size: 13px;
}
.hx-footer__bottom a { color: #b5bcbc; }
.hx-footer__bottom a:hover { color: var(--hx-yellow); }
.hx-footer__bottom nav a { margin-left: 18px; }

/* ---------- responsive ---------- */
@media (max-width: 1199px) {
    .hx-tours__grid { gap: 20px; }
    .hx-footer__ta-widget { transform: scale(.95); min-height: 48px; }
}
@media (max-width: 991px) {
    .hx-intro__grid { grid-template-columns: 1fr; grid-template-rows: none; gap: 32px; }
    .hx-intro__col { display: block; grid-row: auto; }
    .hx-tours__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .hx-footer__top { grid-template-columns: 1fr 1fr; }
    .hx-footer__top > :last-child { grid-column: 1 / -1; }
    .hx-footer__social-row { grid-template-columns: 1fr; gap: 28px; padding: 36px 0 28px; }
    .hx-footer__ta-widget { transform: scale(1.3); min-height: 64px; }
}
@media (max-width: 767px) {
    .hx-intro { padding: 40px 0 32px; }
    .hx-title { font-size: 25px; }
    .hx-intro__body { padding: 22px 20px; }
    .hx-dep__item { grid-template-columns: 1fr; gap: 6px; }
    .hx-dep__status { justify-self: start; }
    .hx-tours { padding: 48px 0 56px; }
    .hx-footer__partners { grid-template-columns: minmax(0, 1fr); }
    .hx-footer__ta-widget { transform: scale(1.15); min-height: 56px; }
}
@media (max-width: 480px) {
    .hx-footer__ta-widget { transform: scale(.83); min-height: 42px; }
    .hx-footer__ta-widget .cdsLocName { max-width: 110px !important; white-space: normal; }
}
@media (max-width: 580px) {
    .hx-tours__grid { grid-template-columns: 1fr; }
    .hx-footer__top { grid-template-columns: 1fr; padding: 32px 0 24px; }
    .hx-footer__top > :last-child { grid-column: auto; }
    .hx-footer__bottom { flex-direction: column; }
    .hx-footer__bottom nav a { margin: 0 18px 0 0; }
}

/* override legacy footer icon rule (display:block; line-height:44px) */
#footer .hx-contact li i,
#footer .hx-intro__facts li i { display: inline-block; line-height: 1.6; height: auto; margin-top: 3px; }

/* font-awesome.css on this site sets .fa { line-height: 44px } — reset inside redesigned blocks */
.hx-btn i, .hx-link i, .hx-intro i, .hx-dep i, .hx-tours i {
    display: inline-block;
    line-height: 1;
    vertical-align: middle;
}

/* the scaled Tripadvisor widget must not widen the page */
.hx-footer__ta { overflow: hidden; }

/* intro: photo behind, glass cards with blur (2026-10-19) */
.hx-intro { position: relative; isolation: isolate; background: #151919 var(--hx-intro-bg, none) center 40% / cover no-repeat; }
.hx-intro::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(21, 25, 25, .9) 0%, rgba(21, 25, 25, .74) 50%, rgba(21, 25, 25, .96) 100%); }
.hx-intro .hx-dep { background: rgba(21, 25, 25, .42); border: 1px solid rgba(255, 255, 255, .14); backdrop-filter: blur(16px) saturate(130%); -webkit-backdrop-filter: blur(16px) saturate(130%); box-shadow: 0 24px 60px rgba(0, 0, 0, .35), inset 0 1px 0 rgba(255, 255, 255, .08); }
.hx-intro .hx-dep__item:hover { background: rgba(255, 255, 255, .07); }
.hx-intro .hx-dep__item + .hx-dep__item { border-top-color: rgba(255, 255, 255, .1); }
