/* ==========================================================
   TAKE 5 TRAVEL
   FINAL GLOBAL POLISH
   ========================================================== */

:root {
    --t5-ink-deep: #0d1420;
    --t5-ink: #18202c;
    --t5-blue-clean: #123f86;
    --t5-blue-soft: #eaf1fb;
    --t5-gold-soft: #d7b36a;
    --t5-paper: #f8f7f3;
    --t5-line-clean: #dfe3e8;
}

html {
    scroll-behavior: smooth;
}

body {
    color: var(--t5-ink);
    background: #ffffff;
}

body,
button,
input,
select,
textarea {
    font-family: "Roboto", Arial, sans-serif;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    color: #111820;
}

h1,
h2,
h3 {
    letter-spacing: -0.025em;
}

p {
    color: #5e6874;
}

/* ----------------------------------------------------------
   GLOBAL NAVIGATION
   ---------------------------------------------------------- */

.t5-site-nav {
    min-height: 74px;
    border: 0;
    background: #ffffff;
    box-shadow: 0 1px 0 rgba(13, 20, 32, 0.08);
    z-index: 1000;
}

.t5-site-nav-inner {
    width: min(1380px, calc(100% - 72px));
    min-height: 74px;
    margin: 0 auto;
    display: flex;
    align-items: center;
}

.t5-site-brand {
    display: flex;
    align-items: center;
    padding: 0;
}

.t5-site-brand img {
    width: 142px;
    height: auto;
    display: block;
}

.t5-site-links {
    align-items: center;
    gap: 30px;
}

.t5-site-links .nav-link {
    padding: 8px 0 !important;
    color: #17202c !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    letter-spacing: 0 !important;
    text-transform: none !important;
    position: relative;
}

.t5-site-links .nav-link::after {
    content: "";
    position: absolute;
    left: 0;
    right: 100%;
    bottom: 1px;
    height: 1px;
    background: var(--t5-blue-clean);
    transition: right 220ms ease;
}

.t5-site-links .nav-link:hover::after,
.t5-site-links .nav-link.active::after {
    right: 0;
}

.t5-site-links .nav-link:hover,
.t5-site-links .nav-link.active {
    color: var(--t5-blue-clean) !important;
}

.t5-site-actions {
    align-items: center;
    gap: 14px;
}

.t5-site-icon {
    color: #17202c !important;
    font-size: 15px;
    text-decoration: none;
}

.t5-site-icon:hover {
    color: var(--t5-blue-clean) !important;
}

.t5-site-divider {
    width: 1px;
    height: 22px;
    background: #cfd5dc;
}

.t5-site-lang {
    border: 0;
    background: transparent;
    color: #17202c;
    font-size: 13px;
    padding: 6px 2px;
}

.t5-site-plan {
    display: inline-flex !important;
    align-items: center;
    gap: 13px;
    padding: 12px 17px !important;
    border-radius: 999px;
    background: var(--t5-ink-deep) !important;
    color: #ffffff !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    text-decoration: none;
    transition: transform 180ms ease, background 180ms ease;
}

.t5-site-plan span {
    color: var(--t5-gold-soft);
    font-size: 16px;
    line-height: 1;
}

.t5-site-plan:hover {
    color: #ffffff !important;
    background: var(--t5-blue-clean) !important;
    transform: translateY(-1px);
}

.t5-site-toggler {
    border: 1px solid var(--t5-line-clean) !important;
    color: var(--t5-ink) !important;
    padding: 8px 10px !important;
}

/* ----------------------------------------------------------
   GLOBAL SECTION RHYTHM
   ---------------------------------------------------------- */

main > section {
    position: relative;
}

.t5-home-section,
.t5-featured-section,
.t5-home-journeys,
.t5-stays-section,
.t5-services-section,
.t5-traveler-voices {
    background: #ffffff;
}

.t5-section-eyebrow {
    color: var(--t5-blue-clean) !important;
    font-size: 10px !important;
    font-weight: 700 !important;
    letter-spacing: 0.18em !important;
    line-height: 1.4;
}

.t5-home-section h2,
.t5-featured-section h2,
.t5-stays-section h2,
.t5-services-section h2,
.t5-traveler-voices h2 {
    color: #111820 !important;
    font-size: clamp(30px, 3vw, 46px) !important;
    line-height: 1.08 !important;
}

.t5-home-section-head p,
.t5-stays-intro p,
.t5-services-head p {
    max-width: 650px;
}

/* ----------------------------------------------------------
   CARDS
   ---------------------------------------------------------- */

.t5-featured-card,
.t5-story-card,
.t5-stay-card,
.t5-service-card,
.t5-dest-card {
    box-shadow: none;
}

.t5-featured-card:hover,
.t5-story-card:hover,
.t5-stay-card:hover,
.t5-dest-card:hover {
    box-shadow: 0 18px 42px rgba(13, 20, 32, 0.10);
}

/* ----------------------------------------------------------
   GLOBAL FOOTER
   One footer, same visual language everywhere.
   ---------------------------------------------------------- */

.t5-global-footer {
    margin-top: 0;
    padding: 70px max(24px, 5.2vw) 0 !important;
    background: #10151e !important;
    color: #ffffff !important;
}

.t5-global-footer-inner {
    width: min(1380px, 100%);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.35fr 0.9fr 0.9fr 1.2fr;
    gap: 58px;
}

.t5-footer-brand img {
    width: 150px !important;
    height: auto;
    display: block;
    margin-bottom: 18px;
    filter: brightness(0) invert(1);
}

.t5-footer-brand p,
.t5-global-footer p {
    max-width: 330px;
    margin: 0;
    color: #aeb7c4 !important;
    font-size: 13px !important;
    line-height: 1.8 !important;
}

.t5-footer-column h3,
.t5-global-footer h3 {
    margin: 0 0 20px;
    color: #ffffff !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.t5-footer-column > a,
.t5-global-footer-inner > div > a {
    display: block;
    width: fit-content;
    margin: 0 0 12px;
    color: #d5dbe3 !important;
    font-size: 13px !important;
    line-height: 1.4;
    text-decoration: none;
    transition: color 180ms ease, transform 180ms ease;
}

.t5-footer-column > a:hover,
.t5-global-footer-inner > div > a:hover {
    color: #ffffff !important;
    transform: translateX(3px);
}

.t5-footer-socials {
    display: flex;
    gap: 9px;
    margin-top: 22px;
}

.t5-footer-socials a {
    width: 34px;
    height: 34px;
    margin: 0 !important;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    display: grid !important;
    place-items: center;
    color: #ffffff !important;
    background: #173d80;
    text-decoration: none;
}

.t5-footer-socials a:hover {
    background: #2455a1;
    transform: translateY(-2px);
}

.t5-footer-contact {
    margin-bottom: 15px !important;
}

.t5-footer-contact-column > a {
    margin-bottom: 10px !important;
}

.t5-footer-newsletter {
    width: 100%;
    display: flex;
    align-items: center;
    margin-top: 18px;
    padding: 4px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 999px;
    background: #ffffff;
}

.t5-footer-newsletter input {
    flex: 1;
    min-width: 0;
    border: 0 !important;
    outline: 0 !important;
    background: transparent !important;
    color: #17202c !important;
    padding: 9px 12px !important;
    box-shadow: none !important;
}

.t5-footer-newsletter input::placeholder {
    color: #87919d;
}

.t5-footer-newsletter button {
    width: 38px;
    height: 38px;
    flex: 0 0 38px;
    border: 0;
    border-radius: 50%;
    background: #173f87;
    color: #ffffff;
    font-size: 17px;
    line-height: 1;
}

.t5-footer-newsletter button:hover {
    background: #2455a1;
}

.t5-newsletter-status {
    display: block;
    min-height: 16px;
    margin-top: 7px;
    color: #9ea9b7 !important;
    font-size: 11px !important;
}

.t5-footer-bottom {
    width: min(1380px, 100%);
    margin: 48px auto 0 !important;
    padding: 20px 0 !important;
    border-top: 1px solid rgba(255, 255, 255, 0.09);
    display: flex;
    justify-content: space-between;
    gap: 20px;
    color: #7f8997 !important;
    font-size: 11px !important;
}

/* ----------------------------------------------------------
   FORMS
   ---------------------------------------------------------- */

.form-control,
.form-select {
    min-height: 44px;
    border-color: #dce1e6 !important;
    color: #17202c !important;
    background: #ffffff !important;
}

.form-control:focus,
.form-select:focus {
    border-color: #7f9bc7 !important;
    box-shadow: 0 0 0 3px rgba(18, 63, 134, 0.08) !important;
}

.btn-primary {
    background: var(--t5-blue-clean) !important;
    border-color: var(--t5-blue-clean) !important;
}

.btn-primary:hover {
    background: #0d326b !important;
    border-color: #0d326b !important;
}

/* ----------------------------------------------------------
   MOBILE
   ---------------------------------------------------------- */

@media (max-width: 1100px) {
    .t5-site-nav-inner {
        width: min(100% - 42px, 1380px);
    }

    .t5-site-links {
        gap: 20px;
    }

    .t5-global-footer-inner {
        grid-template-columns: 1fr 1fr;
        gap: 44px;
    }
}

@media (max-width: 991px) {
    .t5-site-nav {
        position: relative !important;
        background: #ffffff !important;
    }

    .t5-site-nav-inner {
        width: calc(100% - 32px);
        min-height: 70px;
    }

    .t5-site-brand img {
        width: 132px;
    }

    .t5-site-links {
        padding: 12px 0 4px;
    }

    .t5-site-actions {
        padding: 8px 0 14px;
    }
}

@media (max-width: 640px) {
    .t5-site-nav-inner {
        width: calc(100% - 24px);
    }

    .t5-site-links .nav-link {
        font-size: 14px !important;
    }

    .t5-site-plan {
        padding: 11px 14px !important;
    }

    .t5-global-footer {
        padding: 54px 22px 0 !important;
    }

    .t5-global-footer-inner {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .t5-footer-bottom {
        flex-direction: column;
        gap: 7px;
    }
}
