/**
 * Discover Nepal — Theme Layout CSS
 *
 * Supplements design-system.css with layout-specific styles
 * for header, footer, navigation, and global components.
 *
 * design-system.css = tokens + base components
 * theme.css = layout + structural styles
 */


/* =========================================================================
   SKIP LINK
   ========================================================================= */

.dn-skip-link {
    position: absolute;
    top: -100%;
    left: 16px;
    z-index: 999;
    padding: 8px 16px;
    background: var(--dn-accent, #E8A045);
    color: var(--dn-primary, #1B3A4B);
    font-family: var(--dn-font-secondary, 'Plus Jakarta Sans', sans-serif);
    font-weight: 600;
    font-size: 14px;
    border-radius: 0 0 8px 8px;
    text-decoration: none;
    transition: top 0.2s ease;
}
.dn-skip-link:focus {
    top: 0;
}

/* Push main content below fixed header */
.dn-main {
    padding-top: 64px;
}


/* =========================================================================
   SITE HEADER — 64px fixed, frosted glass
   ========================================================================= */

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: var(--dn-z-fixed, 300);
    height: 64px;
    background: #fff;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    transition: box-shadow 0.3s var(--dn-ease-default, ease);
}
/* Account for WP admin bar when logged in */
.admin-bar .site-header {
    top: 32px;
}
@media (max-width: 782px) {
    .admin-bar .site-header {
        top: 46px;
    }
}

.site-header.is-scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05);
}

/* Hide header on scroll down (mobile) */
.site-header.is-scrolling-down {
    transform: translateY(-100%);
    transition: transform 0.3s ease, background-color 0.3s ease, box-shadow 0.3s ease;
}
.site-header.is-scrolling-up {
    transform: translateY(0);
}

.site-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    gap: 24px;
}

/* Logo */
.site-header__logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    flex-shrink: 0;
}
.site-header__logo-text {
    font-family: var(--dn-font-display, 'Fraunces', serif);
    font-size: 22px;
    font-weight: 600;
    color: var(--dn-primary, #1B3A4B);
    letter-spacing: -0.02em;
}
/* Logo always dark — header has frosted glass bg */
.site-header__logo-img {
    height: 40px;
    width: auto;
}

/* Desktop Mega Menu Navigation */
.site-header__nav {
    flex: 1;
    display: flex;
    justify-content: center;
}

/* Logo tagline */
.site-header__logo {
    flex-direction: column;
    gap: 0;
    line-height: 1;
}
.site-header__logo-tagline {
    font-family: var(--dn-font-secondary, 'Plus Jakarta Sans', sans-serif);
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--dn-accent, #E8A045);
    margin-top: 2px;
}

/* Mega nav list */
.mega-nav {
    display: flex;
    align-items: center;
    gap: 28px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.mega-nav__item {
    position: relative;
}

/* Nav link with chevron */
.mega-nav__link {
    display: flex;
    align-items: center;
    gap: 4px;
    font-family: var(--dn-font-secondary, 'Plus Jakarta Sans', sans-serif);
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.02em;
    color: var(--dn-primary, #1B3A4B);
    text-decoration: none;
    padding: 8px 0;
    border-bottom: 2px solid transparent;
    transition: color 200ms var(--dn-ease-default, ease),
                border-color 200ms var(--dn-ease-default, ease);
}

.mega-nav__chevron {
    transition: transform 0.25s ease;
    opacity: 0.5;
    flex-shrink: 0;
}

/* Hover state for nav items */
@media (hover: hover) {
    .mega-nav__item:hover > .mega-nav__link,
    .mega-nav__item.is-current > .mega-nav__link {
        color: var(--dn-accent, #E8A045);
        border-bottom-color: var(--dn-accent, #E8A045);
    }
    .mega-nav__item:hover > .mega-nav__link .mega-nav__chevron {
        transform: rotate(180deg);
        opacity: 1;
    }
}

/* Transparent header — white nav links */
/* Nav links always dark — header has frosted glass bg */


/* -----------------------------------------------------------------------
   MEGA PANELS — shared base styles
   ----------------------------------------------------------------------- */
.mega-panel {
    position: absolute;
    top: calc(100% + 16px);
    left: 50%;
    transform: translateX(-50%) translateY(8px);
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(27, 58, 75, 0.12);
    border-top: 3px solid var(--dn-accent, #E8A045);
    padding: 24px;
    z-index: 100;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease;
}

/* Bridge pseudo-element connecting nav item to panel */
.mega-nav__item--has-panel::before {
    content: '';
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    height: 20px;
    background: transparent;
    pointer-events: none;
}

@media (hover: hover) {
    .mega-nav__item--has-panel:hover::before {
        pointer-events: auto;
    }
    .mega-nav__item--has-panel:hover > .mega-panel {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: translateX(-50%) translateY(0);
    }
    /* Right-aligned panels */
    .mega-nav__item--right:hover > .mega-panel {
        transform: translateX(0) translateY(0);
    }
}

/* Right-aligned panel positioning (About — prevent viewport overflow) */
.mega-nav__item--right > .mega-panel {
    left: auto;
    right: 0;
    transform: translateX(0) translateY(8px);
}

/* Reduced motion: no transform animation */
@media (prefers-reduced-motion: reduce) {
    .mega-panel {
        transition: opacity 0.15s ease, visibility 0.15s ease;
        transform: translateX(-50%) translateY(0);
    }
    .mega-nav__item--right > .mega-panel {
        transform: translateX(0) translateY(0);
    }
    .mega-nav__chevron {
        transition: none;
    }
}


/* -----------------------------------------------------------------------
   PANEL SIZES
   ----------------------------------------------------------------------- */
.mega-panel--tours        { width: 780px; }
.mega-panel--destinations { width: 680px; }
.mega-panel--activities   { width: 300px; padding: 20px; }
.mega-panel--blog         { width: 380px; }
.mega-panel--about        { width: 250px; padding: 16px; }


/* -----------------------------------------------------------------------
   PANEL GRIDS
   ----------------------------------------------------------------------- */
.mega-panel__grid--tours {
    display: grid;
    grid-template-columns: 1fr 1fr 1.2fr;
    gap: 24px;
}

.mega-panel__grid--destinations {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}


/* -----------------------------------------------------------------------
   COLUMN HEADERS
   ----------------------------------------------------------------------- */
.mega-panel__heading {
    font-family: var(--dn-font-secondary, 'Plus Jakarta Sans', sans-serif);
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--dn-muted, #8C7B6E);
    margin: 0 0 12px;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(27, 58, 75, 0.08);
}


/* -----------------------------------------------------------------------
   LINK LISTS
   ----------------------------------------------------------------------- */
.mega-panel__links {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.mega-panel__links a {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 7px 12px;
    font-family: var(--dn-font-body, 'Inter', sans-serif);
    font-size: 14px;
    font-weight: 500;
    color: var(--dn-text, #1A1A18);
    text-decoration: none;
    border-radius: 6px;
    transition: color 0.15s ease, background 0.15s ease, transform 0.15s ease;
}

@media (hover: hover) {
    .mega-panel__links a:hover {
        color: var(--dn-accent, #E8A045);
        background: var(--dn-surface, #F7F3EE);
        transform: translateX(2px);
    }
}

/* Emoji-prefixed links (Activities) */
.mega-link-emoji {
    font-size: 16px;
    line-height: 1;
    flex-shrink: 0;
    width: 20px;
    text-align: center;
}

/* Blog links — title + reading time */
.mega-panel__links--blog a {
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
    padding: 10px 12px;
}
.mega-blog-title {
    font-weight: 500;
    line-height: 1.4;
}
.mega-blog-meta {
    font-size: 12px;
    color: var(--dn-muted, #8C7B6E);
    font-weight: 400;
}


/* -----------------------------------------------------------------------
   PANEL FOOTER — "See All" LINKS
   ----------------------------------------------------------------------- */
.mega-panel__footer {
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid rgba(27, 58, 75, 0.08);
}

.mega-panel__see-all {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: var(--dn-font-secondary, 'Plus Jakarta Sans', sans-serif);
    font-size: 13px;
    font-weight: 600;
    color: var(--dn-accent, #E8A045);
    text-decoration: none;
    transition: gap 0.2s ease;
}
@media (hover: hover) {
    .mega-panel__see-all:hover {
        gap: 10px;
    }
}


/* -----------------------------------------------------------------------
   FEATURED TOUR CARD (Tours panel, col 3)
   ----------------------------------------------------------------------- */
.mega-featured-card {
    background: var(--dn-surface, #F7F3EE);
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.2s ease;
}
@media (hover: hover) {
    .mega-featured-card:hover {
        transform: translateY(-2px);
    }
}

.mega-featured-card__img {
    aspect-ratio: 16 / 10;
    overflow: hidden;
}
.mega-featured-card__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.mega-featured-card__body {
    padding: 12px;
}

.mega-featured-card__label {
    font-family: var(--dn-font-secondary, 'Plus Jakarta Sans', sans-serif);
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--dn-accent, #E8A045);
    margin-bottom: 4px;
    display: block;
}

.mega-featured-card__title {
    font-family: var(--dn-font-display, 'Fraunces', serif);
    font-size: 15px;
    font-weight: 600;
    margin: 0 0 8px;
    line-height: 1.3;
}
.mega-featured-card__title a {
    color: var(--dn-primary, #1B3A4B);
    text-decoration: none;
}
@media (hover: hover) {
    .mega-featured-card__title a:hover {
        color: var(--dn-accent, #E8A045);
    }
}

.mega-featured-card__meta {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: var(--dn-font-body, 'Inter', sans-serif);
    font-size: 13px;
}
.mega-featured-card__price {
    font-weight: 600;
    color: var(--dn-primary, #1B3A4B);
}
.mega-featured-card__days {
    color: var(--dn-muted, #8C7B6E);
}

/* "View All X Tours" link in featured col */
.mega-panel__col--featured .mega-panel__see-all {
    margin-top: 12px;
    display: flex;
}


/* -----------------------------------------------------------------------
   DESTINATION MINI-CARDS (Destinations panel)
   ----------------------------------------------------------------------- */
.mega-dest-card {
    display: block;
    text-decoration: none;
    border-radius: 10px;
    overflow: hidden;
    background: var(--dn-surface, #F7F3EE);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
@media (hover: hover) {
    .mega-dest-card:hover {
        transform: translateY(-2px);
        box-shadow: 0 8px 24px rgba(27, 58, 75, 0.1);
    }
}

.mega-dest-card__img {
    aspect-ratio: 4 / 3;
    overflow: hidden;
}
.mega-dest-card__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}
@media (hover: hover) {
    .mega-dest-card:hover .mega-dest-card__img img {
        transform: scale(1.05);
    }
}

.mega-dest-card__body {
    padding: 10px 12px 12px;
}

.mega-dest-card__title {
    font-family: var(--dn-font-secondary, 'Plus Jakarta Sans', sans-serif);
    font-size: 13px;
    font-weight: 600;
    color: var(--dn-primary, #1B3A4B);
    margin: 0 0 2px;
    line-height: 1.3;
}

.mega-dest-card__tagline {
    font-family: var(--dn-font-body, 'Inter', sans-serif);
    font-size: 11px;
    color: var(--dn-muted, #8C7B6E);
    margin: 0;
    line-height: 1.4;
}

/* Destinations panel footer */
.mega-panel--destinations .mega-panel__footer {
    margin-top: 16px;
}

/* Header actions (right side) */
.site-header__actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.site-header__phone {
    display: flex;
    align-items: center;
    gap: 6px;
    font-family: var(--dn-font-body, 'Inter', sans-serif);
    font-size: 13px;
    color: var(--dn-muted, #8C7B6E);
    text-decoration: none;
    transition: color 0.2s ease;
}
.site-header__phone:hover {
    color: var(--dn-primary, #1B3A4B);
}
/* Phone always dark — header has frosted glass bg */

.site-header__wa {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: #25D366;
    color: #fff;
    border-radius: 50%;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.site-header__wa:hover {
    transform: scale(1.08);
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.35);
}

.site-header__cta {
    display: inline-flex;
    align-items: center;
    padding: 0 20px;
    height: 36px;
    font-family: var(--dn-font-secondary, 'Plus Jakarta Sans', sans-serif);
    font-size: 14px;
    font-weight: 600;
    background: var(--dn-primary, #1B3A4B);
    color: #fff;
    border-radius: 8px;
    text-decoration: none;
    transition: background 0.2s ease, transform 0.15s ease;
}
.site-header__cta:hover {
    background: var(--dn-primary-dark, #0F2533);
    transform: translateY(-1px);
}

/* Hamburger */
.site-header__hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    padding: 10px;
    background: none;
    border: none;
    cursor: pointer;
}
.site-header__hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--dn-primary, #1B3A4B);
    border-radius: 2px;
    transition: transform 0.3s ease, opacity 0.3s ease;
}
/* Hamburger always dark — header has frosted glass bg */
.site-header__hamburger.is-active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}
.site-header__hamburger.is-active span:nth-child(2) {
    opacity: 0;
}
.site-header__hamburger.is-active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* Header responsive — hide desktop nav on mobile */
@media (max-width: 1023px) {
    .site-header__nav,
    .site-header__phone {
        display: none;
    }
    .site-header__hamburger {
        display: flex;
    }
    .site-header__cta {
        font-size: 13px;
        padding: 0 14px;
        height: 34px;
    }
}

@media (max-width: 639px) {
    .site-header__cta {
        display: none;
    }
}


/* =========================================================================
   MOBILE NAVIGATION — Slide-out drawer from right
   ========================================================================= */

.dn-mobile-menu {
    position: fixed;
    inset: 0;
    z-index: var(--dn-z-modal, 500);
    pointer-events: none;
    visibility: hidden;
}

.dn-mobile-menu.is-open {
    pointer-events: auto;
    visibility: visible;
}

/* Backdrop */
.dn-mobile-menu__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    transition: opacity 0.35s ease;
}
.dn-mobile-menu.is-open .dn-mobile-menu__backdrop {
    opacity: 1;
}

/* Drawer panel */
.dn-mobile-menu__drawer {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 85vw;
    max-width: 380px;
    background: var(--dn-primary, #1B3A4B);
    transform: translateX(100%);
    transition: transform 0.35s cubic-bezier(0.32, 0.72, 0, 1);
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}
.dn-mobile-menu.is-open .dn-mobile-menu__drawer {
    transform: translateX(0);
}

@media (prefers-reduced-motion: reduce) {
    .dn-mobile-menu__drawer {
        transition: none;
    }
    .dn-mobile-menu__backdrop {
        transition: none;
    }
}

/* Header */
.dn-mobile-menu__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    flex-shrink: 0;
}

.dn-mobile-menu__logo {
    font-family: var(--dn-font-display, 'Fraunces', serif);
    font-size: 20px;
    font-weight: 600;
    color: #fff;
}

.dn-mobile-menu__close {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.7);
    cursor: pointer;
    transition: color 0.2s ease;
}
.dn-mobile-menu__close:hover {
    color: #fff;
}

/* Enquire CTA at top */
.dn-mobile-menu__cta-wrap {
    padding: 16px 20px 8px;
    flex-shrink: 0;
}
.dn-mobile-menu__cta {
    display: block;
    text-align: center;
    padding: 12px 20px;
    background: var(--dn-accent, #E8A045);
    color: var(--dn-primary, #1B3A4B);
    font-family: var(--dn-font-secondary, 'Plus Jakarta Sans', sans-serif);
    font-size: 15px;
    font-weight: 700;
    border-radius: 10px;
    text-decoration: none;
    transition: background 0.2s ease;
}
.dn-mobile-menu__cta:hover {
    background: #F0B968;
}

/* Nav container */
.dn-mobile-menu__nav {
    padding: 12px 20px;
    flex: 1;
}

.nav-mobile {
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-mobile > li {
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

/* Direct link (Blog, Contact) */
.dn-mob-direct-link {
    display: block;
    padding: 16px 0;
    font-family: var(--dn-font-display, 'Fraunces', serif);
    font-size: 22px;
    font-weight: 500;
    color: #fff;
    text-decoration: none;
    transition: color 0.2s ease;
}
.dn-mob-direct-link:hover {
    color: var(--dn-accent, #E8A045);
}

/* Accordion header row */
.dn-mob-acc-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.dn-mob-acc-link {
    flex: 1;
    padding: 16px 0;
    font-family: var(--dn-font-display, 'Fraunces', serif);
    font-size: 22px;
    font-weight: 500;
    color: #fff;
    text-decoration: none;
    transition: color 0.2s ease;
}
.dn-mob-acc-link:hover {
    color: var(--dn-accent, #E8A045);
}

.dn-mob-acc-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.08);
    border: none;
    border-radius: 8px;
    cursor: pointer;
    color: rgba(255, 255, 255, 0.6);
    transition: background 0.2s ease, color 0.2s ease;
}
.dn-mob-acc-toggle:hover {
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
}

/* Chevron rotation */
.dn-mob-acc-chevron {
    transition: transform 0.3s ease;
}
.dn-mob-accordion.is-expanded .dn-mob-acc-chevron {
    transform: rotate(180deg);
}
.dn-mob-accordion.is-expanded .dn-mob-acc-toggle {
    background: rgba(232, 160, 69, 0.15);
    color: var(--dn-accent, #E8A045);
}

@media (prefers-reduced-motion: reduce) {
    .dn-mob-acc-chevron {
        transition: none;
    }
}

/* Accordion body */
.dn-mob-acc-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

@media (prefers-reduced-motion: reduce) {
    .dn-mob-acc-body {
        transition: none;
    }
}

/* Sub-section label */
.dn-mob-acc-label {
    display: block;
    font-family: var(--dn-font-secondary, 'Plus Jakarta Sans', sans-serif);
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--dn-accent, #E8A045);
    padding: 12px 0 6px 8px;
}
.dn-mob-acc-label:first-child {
    padding-top: 4px;
}

/* Sub-menu links */
.dn-mob-sub-links {
    list-style: none;
    margin: 0;
    padding: 0 0 4px 8px;
}
.dn-mob-sub-links li a {
    display: block;
    padding: 9px 12px;
    font-family: var(--dn-font-body, 'Inter', sans-serif);
    font-size: 15px;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    border-radius: 6px;
    transition: color 0.15s ease, background 0.15s ease;
}
.dn-mob-sub-links li a:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.06);
}

/* "View All" link in accordion */
.dn-mob-view-all {
    display: block;
    padding: 10px 12px 14px;
    font-family: var(--dn-font-secondary, 'Plus Jakarta Sans', sans-serif);
    font-size: 13px;
    font-weight: 600;
    color: var(--dn-accent, #E8A045);
    text-decoration: none;
    margin-left: 8px;
}
.dn-mob-view-all:hover {
    color: #F0B968;
}

/* Footer / Quick Contact */
.dn-mobile-menu__footer {
    padding: 20px 20px 28px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    flex-shrink: 0;
    margin-top: auto;
}

.dn-mobile-menu__contact-section {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.dn-mobile-menu__contact {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--dn-font-body, 'Inter', sans-serif);
    font-size: 15px;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
}
.dn-mobile-menu__contact:hover {
    color: #fff;
}

.dn-mobile-menu__hours {
    font-family: var(--dn-font-body, 'Inter', sans-serif);
    font-size: 12px;
    color: rgba(255, 255, 255, 0.4);
    margin: 4px 0 0;
}

/* Prevent body scroll when menu is open */
body.dn-menu-open {
    overflow: hidden;
}


/* =========================================================================
   SITE FOOTER — Dark (#0F2535), 4-column grid
   ========================================================================= */

.site-footer {
    background: #0F2535;
    color: rgba(255, 255, 255, 0.7);
    padding-top: 80px;
    padding-bottom: 0;
}

.site-footer a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.2s ease;
}
.site-footer a:hover {
    color: #fff;
}

.site-footer__grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 40px;
}

/* Column — about */
.site-footer__col--about {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.site-footer__logo {
    font-family: var(--dn-font-display, 'Fraunces', serif);
    font-size: 22px;
    font-weight: 600;
    color: #fff;
    letter-spacing: -0.02em;
}

.site-footer__tagline {
    font-family: var(--dn-font-body, 'Inter', sans-serif);
    font-size: 14px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.6);
    margin: 0;
    max-width: 280px;
}

.site-footer__link {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
}

/* Column headings */
.site-footer__heading {
    font-family: var(--dn-font-body, 'Inter', sans-serif);
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--dn-accent, #E8A045);
    margin: 0 0 16px;
}

/* Link lists */
.site-footer__links {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.site-footer__links a {
    font-family: var(--dn-font-body, 'Inter', sans-serif);
    font-size: 14px;
}

/* Social links */
.site-footer__socials {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
}
.site-footer__social-link {
    display: inline-flex;
    align-items: center;
    padding: 6px 12px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 6px;
    font-size: 13px;
    font-weight: 500;
    transition: background 0.2s ease;
}
.site-footer__social-link:hover {
    background: rgba(255, 255, 255, 0.15);
}

/* Newsletter in footer */
.site-footer__newsletter {
    margin-top: 4px;
}
.site-footer__newsletter-label {
    font-family: var(--dn-font-body, 'Inter', sans-serif);
    font-size: 13px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
    margin: 0 0 8px;
}
.site-footer__newsletter-form {
    display: flex;
    gap: 0;
}
.site-footer__newsletter-input {
    flex: 1;
    height: 44px;
    padding: 0 14px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-right: none;
    border-radius: 8px 0 0 8px;
    color: #fff;
    font-family: var(--dn-font-body, 'Inter', sans-serif);
    font-size: 14px;
    outline: none;
    transition: border-color 0.2s ease;
}
.site-footer__newsletter-input::placeholder {
    color: rgba(255, 255, 255, 0.4);
}
.site-footer__newsletter-input:focus {
    border-color: var(--dn-accent, #E8A045);
}
.site-footer__newsletter-btn {
    height: 44px;
    padding: 0 18px;
    background: var(--dn-accent, #E8A045);
    color: var(--dn-primary, #1B3A4B);
    font-family: var(--dn-font-secondary, 'Plus Jakarta Sans', sans-serif);
    font-size: 14px;
    font-weight: 600;
    border: none;
    border-radius: 0 8px 8px 0;
    cursor: pointer;
    transition: background 0.2s ease;
    white-space: nowrap;
}
.site-footer__newsletter-btn:hover {
    background: #F0B968;
}
.site-footer__newsletter-note {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.4);
    margin: 6px 0 0;
}

/* Footer bottom bar */
.site-footer__bottom {
    margin-top: 48px;
    padding: 20px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.site-footer__bottom-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
}
.site-footer__bottom p {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.5);
    margin: 0;
}
.site-footer__legal {
    display: flex;
    gap: 20px;
}
.site-footer__legal a {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.5);
}
.site-footer__legal a:hover {
    color: rgba(255, 255, 255, 0.8);
}

/* Footer responsive */
@media (max-width: 1023px) {
    .site-footer__grid {
        grid-template-columns: 1fr 1fr;
    }
}
@media (max-width: 639px) {
    .site-footer {
        padding-top: 48px;
    }
    .site-footer__grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    .site-footer__bottom-inner {
        flex-direction: column;
        text-align: center;
    }
}


/* =========================================================================
   FLOATING WHATSAPP BUTTON
   ========================================================================= */

.whatsapp-float {
    position: fixed;
    bottom: 24px;
    right: 20px;
    z-index: var(--dn-z-fixed, 300);
    width: 56px;
    height: 56px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 16px rgba(37, 211, 102, 0.4);
    opacity: 0;
    visibility: hidden;
    transform: scale(0.8);
    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
    text-decoration: none;
}
.whatsapp-float.is-visible {
    opacity: 1;
    visibility: visible;
    transform: scale(1);
}
.whatsapp-float:hover {
    transform: scale(1.08);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.5);
}

@media (max-width: 767px) {
    .whatsapp-float {
        bottom: 80px; /* Above mobile sticky bar if present */
    }
}


/* =========================================================================
   BACK TO TOP BUTTON
   ========================================================================= */

.dn-back-to-top {
    position: fixed;
    bottom: 24px;
    left: 20px;
    z-index: var(--dn-z-fixed, 300);
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(27, 58, 75, 0.12);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--dn-primary, #1B3A4B);
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}
.dn-back-to-top.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.dn-back-to-top:hover {
    background: #fff;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}


/* =========================================================================
   GLOBAL LAYOUT UTILITIES
   ========================================================================= */

/* Container — matches design system */
.dn-container {
    max-width: var(--dn-container-xl, 1100px);
    margin-left: auto;
    margin-right: auto;
    padding-left: 20px;
    padding-right: 20px;
}

/* Breadcrumb */
.dn-breadcrumb {
    padding: 12px 0;
    font-family: var(--dn-font-body, 'Inter', sans-serif);
    font-size: 13px;
}
.dn-breadcrumb__list {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 4px;
    list-style: none;
    margin: 0;
    padding: 0;
}
.dn-breadcrumb__item {
    display: flex;
    align-items: center;
    gap: 4px;
    color: var(--dn-muted, #8C7B6E);
}
.dn-breadcrumb__item::after {
    content: '›';
    margin-left: 4px;
    color: var(--dn-muted, #8C7B6E);
    opacity: 0.5;
}
.dn-breadcrumb__item:last-child::after {
    content: none;
}
.dn-breadcrumb__item a {
    color: var(--dn-muted, #8C7B6E);
    text-decoration: none;
    transition: color 0.15s ease;
}
.dn-breadcrumb__item a:hover {
    color: var(--dn-primary, #1B3A4B);
}
.dn-breadcrumb__item--current {
    color: var(--dn-text, #1A1A18);
    font-weight: 500;
}

@media (max-width: 639px) {
    .dn-breadcrumb {
        font-size: 12px;
    }
}


/* =========================================================================
   FOCUS STATES — Keyboard accessibility
   ========================================================================= */

.tour-card__link:focus-visible,
.blog-card__link:focus-visible,
.tour-card__cta:focus-visible,
.dn-mobile-menu__close:focus-visible,
.filter-bar__pill:focus-visible,
.load-more__btn:focus-visible,
.tour-faq__question:focus-visible,
.tour-nav__link:focus-visible {
    outline: 2px solid var(--dn-accent, #E8A045);
    outline-offset: 2px;
}

.load-more__btn:active {
    transform: scale(0.98);
}


/* =========================================================================
   MOBILE BOTTOM NAV — Fixed 5-item bar (injected by mobile-ux.js)
   ========================================================================= */

.dn-bottom-nav {
    display: none;
}

@media (max-width: 1023px) {
    .dn-bottom-nav {
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        z-index: var(--dn-z-fixed, 300);
        display: flex;
        align-items: stretch;
        justify-content: space-around;
        height: 60px;
        background: #fff;
        border-top: 1px solid rgba(27, 58, 75, 0.08);
        box-shadow: 0 -2px 12px rgba(0, 0, 0, 0.06);
        padding-bottom: env(safe-area-inset-bottom, 0px);
        transition: transform 0.3s ease;
    }
    .dn-bottom-nav.is-hidden {
        transform: translateY(100%);
    }

    .dn-bottom-nav__item {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        flex: 1;
        gap: 2px;
        text-decoration: none;
        color: var(--dn-muted, #8C7B6E);
        font-family: var(--dn-font-body, 'Inter', sans-serif);
        font-size: 10px;
        font-weight: 500;
        padding: 6px 0;
        transition: color 0.15s ease;
        -webkit-tap-highlight-color: transparent;
    }
    .dn-bottom-nav__item:hover,
    .dn-bottom-nav__item.is-active {
        color: var(--dn-primary, #1B3A4B);
    }

    .dn-bottom-nav__item--wa {
        color: #25D366;
    }
    .dn-bottom-nav__item--wa:hover {
        color: #1da851;
    }

    .dn-bottom-nav__icon {
        width: 22px;
        height: 22px;
        flex-shrink: 0;
    }

    .dn-bottom-nav__icon-wrap {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 36px;
        height: 36px;
        background: #25D366;
        border-radius: 50%;
        color: #fff;
        margin-top: -14px;
        box-shadow: 0 2px 8px rgba(37, 211, 102, 0.35);
    }
    .dn-bottom-nav__icon-wrap .dn-bottom-nav__icon {
        width: 18px;
        height: 18px;
    }

    .dn-bottom-nav__label {
        font-size: 10px;
        line-height: 1;
    }

    /* Add bottom padding to main content so it doesn't hide behind nav */
    .dn-main {
        padding-bottom: 68px;
    }
}


/* =========================================================================
   READING PROGRESS BAR (injected by mobile-ux.js)
   ========================================================================= */

.dn-reading-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    background: var(--dn-accent, #E8A045);
    z-index: 9999;
    width: 0;
    transition: width 0.1s linear;
}


/* =========================================================================
   PAGINATION — Hide default WP heading
   ========================================================================= */

.pagination .nav-links h2,
nav.navigation h2.screen-reader-text,
nav[role="navigation"] > h2 {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}
