/*
Theme Name: Trekking Cusco
Theme URI: https://trekkingcusco.pe
Author: trekkingcusco / David Ccahuana Aguilar
Author URI: https://trekkingcusco.pe
Description: Tema para agencia de viajes y operador turístico especializado en trekking y aventura en Cusco y los Andes peruanos. Preparado para plantillas de WordPress.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: peru-reservation
Tags: travel, tourism, adventure, trekking, responsive-layout, translation-ready, custom-menu
*/

/* ==========================================================================
   1. VARIABLES & DESIGN SYSTEM TOKENS
   ========================================================================== */
:root {
    --color-primary: #164A3B;
    --color-secondary: #17324D;
    --color-accent: #F97316;
    --color-highlight: #FACC15;
    --color-nature: #65A30D;
    --color-background: #FAF8F2;
    --color-surface: #FFFFFF;
    --color-text: #17212B;
    --color-text-muted: #64748B;
    --color-muted-readable: color-mix(in srgb, var(--color-text-muted) 96%, var(--color-text));
    --color-accent-readable: color-mix(in srgb, var(--color-accent) 60%, var(--color-text));
    --color-accent-hover: color-mix(in srgb, var(--color-accent) 90%, var(--color-text));
    --color-border: color-mix(in srgb, var(--color-primary) 22%, var(--color-surface));
    --color-nature-soft: color-mix(in srgb, var(--color-nature) 10%, var(--color-surface));
    --color-clear: color-mix(in srgb, var(--color-surface) 0%, transparent);
    --font-body: 'Poppins', sans-serif;
    --font-heading: 'Montserrat', sans-serif;
    --space-sm: 16px;
    --space-md: 24px;
    --space-lg: 48px;
    --radius: 12px;
    --shadow: 0 6px 20px color-mix(in srgb, var(--color-secondary) 9%, transparent);
    --container-max: 1220px;
}

/* ==========================================================================
   2. RESET & BASE TYPOGRAPHY
   ========================================================================== */
*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 24px;
}

body {
    margin: 0;
    color: var(--color-text);
    background: var(--color-background);
    font: 14px/1.6 var(--font-body);
}

img {
    max-width: 100%;
    vertical-align: middle;
}

a {
    color: var(--color-primary);
    text-decoration: none;
}

button {
    font: inherit;
    cursor: pointer;
}

a:focus-visible,
button:focus-visible {
    outline: 3px solid var(--color-accent);
    outline-offset: 5px;
}

h1, h2, h3, p {
    margin: 0;
}

h2 {
    font: 600 22px/1.3 var(--font-heading);
}

/* ==========================================================================
   3. WORDPRESS CORE & ACCESSIBILITY CLASSES
   ========================================================================== */
.screen-reader-text,
.skip-link {
    position: absolute;
    top: -100px;
    left: 20px;
    padding: 12px;
    z-index: 10000;
    background: var(--color-surface);
    color: var(--color-text);
    border-radius: 4px;
    font-weight: 600;
    transition: top 0.2s ease;
}

.screen-reader-text:focus,
.skip-link:focus {
    top: 15px;
}

.alignwide {
    max-width: 1300px;
    margin-left: auto;
    margin-right: auto;
}

.alignfull {
    width: 100vw;
    max-width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
}

.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

body.admin-bar header.site-header {
    top: 32px;
}

@media screen and (max-width: 782px) {
    body.admin-bar header.site-header {
        top: 46px;
    }
}

/* ==========================================================================
   4. LAYOUT & SHARED COMPONENTS
   ========================================================================== */
.container {
    width: min(var(--container-max), calc(100% - 40px));
    margin-inline: auto;
}

.button {
    display: inline-flex;
    gap: 12px;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    padding: 14px 28px;
    font: 700 14px/20px 'Inter', sans-serif;
    transition: background 0.3s ease, color 0.3s ease;
}

.button.primary {
    color: var(--color-text);
    background: var(--color-accent);
}

.button.primary:hover {
    background: var(--color-accent-hover);
}

.button.outline {
    border: 2px solid var(--color-surface);
    color: var(--color-surface);
    padding: 12px 28px;
}

.button.outline:hover {
    background: color-mix(in srgb, var(--color-surface) 18%, transparent);
}

.button.gold {
    background: var(--color-accent);
    color: var(--color-text);
}

.button.gold:hover {
    background: var(--color-accent-hover);
}

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

.eyebrow {
    color: var(--color-accent);
    font: 600 12px/26px var(--font-heading);
    text-transform: uppercase;
    margin-bottom: 10px;
}

.section-heading > p:last-child {
    max-width: 1000px;
    margin: 18px auto 0;
    font: 15px/23px 'Roboto', sans-serif;
}

.stars {
    color: var(--color-highlight);
    font-style: normal;
}

/* ==========================================================================
   5. HEADER & NAVIGATION (header.php)
   ========================================================================== */
.announcement {
    background: var(--color-primary);
    text-align: center;
    color: var(--color-surface);
    padding: 5px 15px;
    font: 11px/18px var(--font-heading);
}

.announcement a {
    color: var(--color-highlight);
    font-weight: 700;
}

.site-header {
    background: var(--color-surface);
    position: relative;
    z-index: 50;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 92px;
    gap: 24px;
    position: relative;
}

/* Keep the WordPress logo crisp, proportional and balanced in the header. */
.site-header .site-logo {
    display: flex;
    align-items: center;
    flex: 0 1 230px;
    min-width: 0;
    max-width: calc(100% - 68px);
    padding-block: 10px;
}

.site-header .custom-logo-link {
    display: inline-flex;
    align-items: center;
    max-width: 100%;
    border-radius: 6px;
}

.site-header .custom-logo,
.site-header .logo {
    display: block;
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 72px;
    object-fit: contain;
    object-position: left center;
}

@media (max-width: 599px) {
    .site-header .site-logo {
        flex-basis: 190px;
    }

    .site-header .custom-logo,
    .site-header .logo {
        max-height: 60px;
    }
}

.menu-toggle {
    display: grid;
    gap: 5px;
    border: 0;
    background: var(--color-clear);
    padding: 10px;
}

.menu-toggle span {
    width: 25px;
    height: 2px;
    background: var(--color-primary);
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.header-content {
    display: none;
    position: absolute;
    left: -20px;
    right: -20px;
    top: 100%;
    padding: 24px;
    z-index: 5;
    background: var(--color-surface);
    box-shadow: var(--shadow);
}

.header-content.is-open {
    display: block;
}

.utility {
    display: grid;
    gap: 8px;
    font: 11px/1.5 var(--font-heading);
    color: var(--color-text);
}

.site-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    align-items: center;
    margin-top: 16px;
    font: 600 12px/1.5 var(--font-heading);
}

.site-nav img {
    width: 16px;
    height: 16px;
}

.social-icons {
    display: flex;
    align-items: center;
    gap: 8px;
}

.social-icons img {
    display: block;
    box-sizing: border-box;
    flex: 0 0 34px;
    width: 34px;
    height: 34px;
    padding: 7px;
    object-fit: contain;
    background: var(--color-nature-soft);
    border: 1px solid var(--color-border);
    border-radius: 50%;
    transition: transform .2s ease, background-color .2s ease, border-color .2s ease;
}

.social-icons img:hover {
    transform: translateY(-2px);
    background-color: var(--color-nature-soft);
    border-color: var(--color-border);
}

.whatsapp,
.enquire {
    display: inline-flex;
    gap: 7px;
    align-items: center;
    padding: 8px 14px;
    background: var(--color-primary);
    color: var(--color-surface);
    border-radius: 3px;
    font-weight: 600;
}

.enquire {
    background: var(--color-accent);
}

/* ==========================================================================
   MENÚ DE ANCHO COMPLETO MINIMALISTA Y CENTRADO
   ========================================================================== */
.header-menu {
    width: 100%;
    background: var(--color-secondary);
    border-top: 1px solid color-mix(in srgb, var(--color-surface) 10%, transparent);
    border-bottom: 1px solid color-mix(in srgb, var(--color-surface) 10%, transparent);
    position: relative;
    z-index: 40;
}

.header-menu-container {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
}

.header-menu-list {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 32px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.header-menu-list .menu-item {
    margin: 0;
}

.header-menu-list .menu-item a {
    position: relative;
    display: inline-block;
    padding: 14px 4px;
    color: var(--color-surface);
    font: 600 12px/1 var(--font-heading);
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: color 0.25s ease;
    white-space: nowrap;
}

.header-menu-list .menu-item a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--color-highlight);
    transition: width 0.25s ease, left 0.25s ease;
}

.header-menu-list .menu-item a:hover {
    color: var(--color-surface);
}

.header-menu-list .menu-item a:hover::after,
.header-menu-list .menu-item.current-menu-item a::after {
    width: 100%;
    left: 0;
}

.header-menu-list .menu-item.current-menu-item a {
    color: var(--color-highlight);
    font-weight: 700;
}

@media (max-width: 999px) {
    .header-menu {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }

    .header-menu::-webkit-scrollbar {
        display: none;
    }

    .header-menu-container {
        justify-content: flex-start;
        width: 100%;
        padding-inline: 20px;
        min-height: 44px;
    }

    .header-menu-list {
        justify-content: flex-start;
        gap: 20px;
        width: max-content;
    }

    .header-menu-list .menu-item a {
        font-size: 11px;
        padding: 12px 2px;
    }
}

/* ==========================================================================
   6. HERO SECTION (template-parts/section-hero.php)
   ========================================================================== */
.hero {
    position: relative;
    min-height: 700px;
    display: grid;
    place-items: center;
    isolation: isolate;
    background: var(--color-primary) url('img/banner-poster.png') center/cover;
    color: var(--color-surface);
    padding: 80px 20px;
}

.hero-video,
.hero-overlay {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
}

.hero-video {
    object-fit: cover;
}

.hero-overlay {
    z-index: -1;
    background:
        linear-gradient(90deg, color-mix(in srgb, var(--color-secondary) 78%, transparent), color-mix(in srgb, var(--color-secondary) 72%, transparent)),
        linear-gradient(0deg, color-mix(in srgb, var(--color-secondary) 35%, transparent), transparent);
}

.hero-content {
    width: min(900px, 100%);
    text-align: center;
}

.hero-eyebrow {
    color: var(--color-highlight);
    font: 700 12px/20px var(--font-heading);
    letter-spacing: 1.4px;
}

h1 {
    font: 900 clamp(32px, 4.1vw, 56px)/1 var(--font-heading);
    letter-spacing: -1.4px;
    margin-top: 16px;
}

h1 span {
    color: var(--color-highlight);
}

.hero-subtitle {
    font: 700 18px/28px 'Inter', sans-serif;
    margin-top: 20px;
}

.hero-description {
    max-width: 576px;
    margin: 12px auto 0;
    color: var(--color-surface);
    font: 16px/24px 'Inter', sans-serif;
}

.hero-actions {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 32px;
}

.hero-rating {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
    font-family: 'Inter', sans-serif;
    margin-top: 32px;
}

.hero-rating small {
    font-size: 12px;
    color: var(--color-surface);
}

/* ==========================================================================
   7. TRUST STRIP (template-parts/section-trust.php)
   ========================================================================== */
.trust-strip {
    background: var(--color-background);
}

.trust-inner {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    padding-block: 22px;
    color: var(--color-text);
    font: 10px/1.4 var(--font-heading);
}

.trust-inner > span {
    display: flex;
    align-items: center;
    gap: 10px;
}

.trust-label {
    font-size: 11px;
    letter-spacing: 1.7px;
}

.trust-inner b {
    font-size: 13px;
}

.trust-inner img {
    width: 48px;
    height: 36px;
    object-fit: contain;
}

.trust-inner small {
    display: block;
    font-size: 9px;
    font-weight: 400;
}

/* ==========================================================================
   8. ABOUT SECTION (template-parts/section-about.php)
   ========================================================================== */
.about {
    padding-block: 48px;
    display: grid;
    gap: 30px;
    align-items: center;
}

.welcome {
    font-size: 16px;
    margin-bottom: 14px;
}

.welcome::before {
    content: '';
    display: inline-block;
    width: 35px;
    height: 2px;
    background: var(--color-accent);
    margin-right: 10px;
    vertical-align: middle;
}

.about h2 {
    font: 700 31px/1.2 var(--font-body);
}

.about h3 {
    font-size: 24px;
    line-height: 1.25;
    margin-block: 9px 14px;
    font-weight: 600;
}

.about img {
    width: 100%;
    border-radius: var(--radius);
    object-fit: cover;
    aspect-ratio: 496 / 287;
}

/* ==========================================================================
   9. TOURS SECTION & TOUR CARDS (template-parts/section-tours.php)
   ========================================================================== */
.tours-section {
    padding-block: 20px 48px;
}

.tour-toolbar {
    text-align: right;
    color: var(--color-primary);
    font-size: 13px;
    margin: 24px 0 8px;
}

.tour-grid {
    display: grid;
    gap: 30px 18px;
}

.tour-card {
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    background: var(--color-surface);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease, opacity 0.3s ease;
}

.tour-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 14px 28px color-mix(in srgb, var(--color-secondary) 18%, transparent);
}

.tour-image {
    position: relative;
    overflow: hidden;
    aspect-ratio: 292 / 260;
}

.tour-image > img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.tour-card:hover .tour-image > img {
    transform: scale(1.05);
}

.badge {
    position: absolute;
    top: 12px;
    left: 10px;
    padding: 4px 10px;
    border-radius: 18px;
    background: var(--color-highlight);
    color: var(--color-text);
    font: 600 11px/16.5px var(--font-heading);
}

.tour-body {
    padding: 12px 16px 16px;
}

.tour-meta {
    display: flex;
    justify-content: space-between;
    color: var(--color-muted-readable);
    font: 12px/16px 'Inter', sans-serif;
    gap: 8px;
}

.tour-meta img,
.tour-facts img {
    width: auto;
    max-width: 15px;
    height: 14px;
    margin-right: 4px;
}

.tour-body h3 {
    font: 600 14px/1.5 var(--font-body);
    text-transform: uppercase;
    margin: 8px 0;
    min-height: 42px;
}

.tour-description {
    font-size: 11px;
    line-height: 18px;
    min-height: 56px;
    color: var(--color-text);
}

.tour-facts {
    display: grid;
    grid-template-columns: 1fr 1fr;
    font-size: 10px;
    margin-block: 12px;
}

.tour-facts strong {
    font-weight: 600;
}

.tour-facts span {
    display: block;
    padding-left: 19px;
    color: var(--color-muted-readable);
}

.tour-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    border-top: 1px solid var(--color-border);
    padding-top: 12px;
}

.price small {
    display: block;
    font: 10px/13px 'Inter', sans-serif;
    color: var(--color-muted-readable);
}

.price strong {
    display: block;
    font: 700 20px/28px 'Inter', sans-serif;
    color: var(--color-text);
}

.price span {
    color: var(--color-muted-readable);
    font-size: 10px;
}

.tour-button {
    background: var(--color-accent);
    color: var(--color-text);
    border: 0;
    border-radius: 6px;
    font: 500 10px/16px 'Inter', sans-serif;
    padding: 9px 12px;
    transition: background 0.3s ease;
}

.tour-button:hover {
    background: var(--color-accent-hover);
}

.reveal-pending {
    opacity: 0;
    transform: translateY(24px);
}

/* ==========================================================================
   10. DESTINATIONS SECTION (template-parts/section-destinations.php)
   ========================================================================== */
.destinations {
    padding-block: 16px 80px;
}

.destination-grid {
    display: grid;
    gap: 24px;
    margin-top: 42px;
}

.destination-card {
    position: relative;
    min-height: 280px;
    border-radius: 20px;
    overflow: hidden;
    color: var(--color-surface);
}

.destination-card > img {
    width: 100%;
    height: 100%;
    position: absolute;
    object-fit: cover;
}

.destination-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(color-mix(in srgb, var(--color-secondary) 20%, transparent) 0%, color-mix(in srgb, var(--color-secondary) 85%, transparent));
}

.destination-label {
    position: absolute;
    left: 28px;
    bottom: 24px;
    z-index: 1;
}

.destination-label h3 {
    font: 700 26px/1.3 'Inter', sans-serif;
}

.destination-label img {
    height: 14px;
    width: auto;
    margin-right: 6px;
}

/* ==========================================================================
   11. ADVENTURE CALL-TO-ACTION (template-parts/section-adventure.php)
   ========================================================================== */
.adventure {
    background: var(--color-secondary) url('img/292-541-imgAndesMountainsBackgroundLandscapeAtSunsetWithHiker.png') center/cover;
    color: var(--color-surface);
    box-shadow: 0 20px 25px color-mix(in srgb, var(--color-secondary) 12%, transparent);
    background-position: center -100px
}

.adventure-inner {
    min-height: 355px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding-block: 40px;
}

.adventure-inner > div {
    max-width: 650px;
}

.adventure h2 {
    font-weight: 800;
    font-size: 28px;
}

.adventure p {
    font: 14px/20px var(--font-heading);
    margin: 16px 0;
}

/* ==========================================================================
   12. TESTIMONIALS & CERTIFICATIONS
   ========================================================================== */
.testimonials {
    padding-block: 65px 30px;
    text-align: center;
}

.reviews-image {
    display: block;
    width: 100%;
    height: auto;
    margin: 25px 0;
}

.testimonials .button {
    font-size: 12px;
}

.certifications {
    padding-block: 35px 55px;
    text-align: center;
}

.certifications h2 {
    color: var(--color-primary);
    font-size: 16px;
    margin-bottom: 22px;
}

.certifications img {
    width: min(1100px, 100%);
    object-fit: contain;
}

/* ==========================================================================
   13. FOOTER & FOOTER LANDSCAPE (footer.php)
   ========================================================================== */
.site-footer {
    --footer-background: #17324d;
    position: relative;
    background: var(--footer-background);
    isolation: isolate;
}

.footer-landscape-scene {
    position: relative;
    background: linear-gradient(180deg, var(--color-background) 0%, #e6eef0 58%, #b6cddd 100%);
}

.footer-landscape-scene::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(180deg, transparent 62%, var(--footer-background) 100%);
}

.footer-landscape {
    display: block;
    width: 100%;
    height: auto;
    object-fit: contain;
}

.footer-body {
    background: #17324d;
    color: var(--color-surface);
    padding: 59px 0 68px;
}

.footer-grid {
    display: grid;
    gap: 35px;
    width: min(1279px, calc(100% - 40px));
}

.footer-col {
    min-width: 0;
}

.footer-brand {
    display: flex;
    justify-content: center;
}

.footer-brand .logo {
    width: 230px;
    height: auto;
    object-fit: contain;
}

.footer-grid p {
    font: 14px/22.75px var(--font-heading);
    margin-top: 22px;
    overflow-wrap: anywhere;
}

.footer-grid h2 {
    font: 700 15px/22.5px var(--font-heading);
    letter-spacing: -0.375px;
    margin-bottom: 15px;
}

.footer-col-contact .footer-contact-row {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin-top: 15px;
}

.footer-contact-row > img {
    flex-shrink: 0;
    margin-top: 4px;
}

.footer-contact-row > span {
    min-width: 0;
}

.footer-col-contact h2:not(:first-child) {
    margin-top: 28px;
}

.footer-col-contact .footer-hours {
    font-size: 13.5px;
    margin-top: 5px;
}

.footer-social-block {
    margin-top: 32px;
}

.footer-social-block h2 {
    font-size: 14px;
    letter-spacing: 0.7px;
    font-weight: 800;
}

.footer-socials {
    display: flex;
    align-items: center;
    gap: 14px;
}

.footer-socials a {
    display: inline-flex;
}

.footer-complaints {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    margin: 32px 0;
    text-align: center;
    font: 700 15px/22.5px var(--font-heading);
}

.footer-complaints img {
    filter: drop-shadow(0 4px 6px rgb(0 0 0 / 30%));
}

.footer-payment-logos {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    justify-content: space-between;
    max-width: 302px;
}

.footer-payment-logos img {
    object-fit: contain;
    flex-shrink: 0;
}

.footer-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 6px;
}

.footer-nav {
    display: grid;
    gap: 6px;
    font: 13.5px/20.25px var(--font-heading);
}

.footer-nav a:hover,
.footer-grid a:hover {
    text-decoration: underline;
}

.footer-legal {
    margin-top: 72px;
    text-align: center;
}

.footer-legal p:first-child {
    font: 700 11px/16.5px var(--font-heading);
    letter-spacing: 0.275px;
    text-transform: uppercase;
    color: #e5e7eb;
}

.footer-legal ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    padding: 0;
    list-style: none;
    font: 700 11px/16.5px var(--font-heading);
    text-transform: uppercase;
}

.footer-legal p:last-child {
    font: 500 12px/18px var(--font-heading);
    color: #d1d5db;
    margin-top: 16px;
}

/* ==========================================================================
   14. MODAL DIALOG (template-parts/modal-tour.php)
   ========================================================================== */
dialog {
    border: 0;
    border-radius: 16px;
    padding: 36px;
    width: min(540px, calc(100% - 32px));
    box-shadow: var(--shadow);
}

dialog::backdrop {
    background: color-mix(in srgb, var(--color-secondary) 65%, transparent);
}

dialog h2 {
    padding-right: 18px;
}

dialog p {
    margin-bottom: 18px;
}

dialog h2 + p {
    margin-top: 18px;
}

.dialog-close {
    position: absolute;
    top: 8px;
    right: 12px;
    background: var(--color-clear);
    border: 0;
    font-size: 28px;
}

/* ==========================================================================
   15. RESPONSIVE BREAKPOINTS
   ========================================================================== */
@media (min-width: 600px) {
    .tour-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

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

    .destination-card:last-child {
        grid-column: 1 / -1;
    }

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

    .footer-col-info {
        grid-column: 1 / -1;
    }
}

@media (min-width: 1000px) {
    .menu-toggle {
        display: none;
    }

    .header-content {
        display: block;
        position: static;
        padding: 0;
        box-shadow: none;
    }

    .utility {
        display: flex;
        gap: 12px;
        justify-content: flex-end;
        font-size: 10px;
    }

    .site-nav {
        justify-content: flex-end;
        gap: 20px;
        margin-top: 12px;
    }

    .hero {
        min-height: 861px;
    }

    .trust-inner {
        justify-content: space-between;
        flex-wrap: nowrap;
        min-height: 73px;
    }

    .trust-label {
        max-width: 310px;
    }

    .about {
        grid-template-columns: 1.35fr 1fr;
        gap: 45px;
        padding-block: 45px;
        min-height: 348px;
    }

    .about h3 {
        font-size: 23px;
    }

    .tour-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        row-gap: 80px;
    }

    .tours-section {
        padding-bottom: 55px;
    }

    .destination-grid {
        grid-template-columns: repeat(12, minmax(0, 1fr));
    }

    .destination-card {
        grid-column: span 4;
        min-height: 330px;
    }

    .destination-card:nth-child(4) {
        grid-column: span 7;
    }

    .destination-card:last-child {
        grid-column: span 5;
    }

    .destinations {
        padding-bottom: 160px;
    }

    .footer-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 0;
    }

    .footer-col-info {
        grid-column: auto;
        padding-right: 40px;
    }

    .footer-col-contact {
        padding-right: 40px;
    }

    .footer-grid > div + div {
        border-left: 1px solid color-mix(in srgb, var(--color-surface) 60%, transparent);
        padding-left: 40px;
    }

}

@media (min-width: 1000px) and (max-width: 1250px) {
    .header-inner {
        gap: 15px;
    }

    .utility {
        flex-wrap: wrap;
        gap: 6px 12px;
    }

    .site-nav {
        gap: 12px;
    }

    .social-icons {
        display: none;
    }
}

/* ==========================================================================
   16. ACCESSIBILITY & PREFERS-REDUCED-MOTION
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        transition: none !important;
        animation: none !important;
    }

    .reveal-pending {
        opacity: 1;
        transform: none;
    }
}

/* Destination card interaction, including keyboard navigation. */
.destination-card > img {
    transition: transform .4s ease, filter .4s ease;
}
.destination-card:hover > img,
.destination-card:focus-within > img {
    transform: scale(1.07);
    filter: brightness(.82);
}
.destination-card .destination-card-link {
    color: inherit;
    text-decoration: none;
}
.destination-card .destination-card-link {
    position: absolute;
    inset: 0;
    z-index: 2;
}
.destination-card:focus-within {
    outline: 3px solid var(--color-accent);
    outline-offset: 4px;
}
.destination-card::after { pointer-events: none; }
@media (prefers-reduced-motion: reduce) {
    .destination-card > img { transition: none; }
    .destination-card:hover > img,
    .destination-card:focus-within > img { transform: none; }
}

.social-icons a { display: inline-flex; border-radius: 50%; }
.social-icons a:focus-visible { outline: 2px solid var(--color-accent); outline-offset: 3px; }
.social-icons a:focus-visible img { background-color: var(--color-nature-soft); }

/* Palette roles and accessible interaction states. */
h1, h2, h3 { color: var(--color-primary); }
a:hover { color: var(--color-accent-readable); }
.hero h1, .hero h2, .hero h3,
.adventure h2, .destination-label h3,
.footer-body h2 { color: var(--color-surface); }
.hero a:not(.button), .destination-card a,
.footer-body a { color: inherit; }
.eyebrow { color: var(--color-primary); }
.welcome::before { background: var(--color-nature); }
.button.outline { background: var(--color-primary); border-color: var(--color-primary); color: var(--color-surface); }
.button.outline:hover { background: var(--color-secondary); border-color: var(--color-secondary); color: var(--color-surface); }
.enquire { color: var(--color-text); }
.enquire:hover { background: var(--color-accent-hover); color: var(--color-text); }
.whatsapp:hover { background: var(--color-secondary); color: var(--color-surface); }
.header-menu-list .menu-item a:hover,
.header-menu-list .menu-item.current-menu-item a { color: var(--color-accent); }
.header-menu-list .menu-item a::after { background: var(--color-accent); }
.site-nav a:hover, .site-nav .current-menu-item > a { color: var(--color-accent-readable); text-decoration: underline; text-decoration-color: var(--color-accent); }
.footer-body a:hover, .announcement a:hover { color: var(--color-highlight); }
.adventure { background-blend-mode: multiply; }
dialog, input, textarea, select {
    color: var(--color-text);
    background-color: var(--color-surface);
}
input, textarea, select { border-color: var(--color-border); }
input::placeholder, textarea::placeholder { color: var(--color-muted-readable); opacity: 1; }
:where(a, button, input, textarea, select, summary):focus-visible {
    outline: 3px solid var(--color-accent);
    outline-offset: 4px;
}
.dialog-close { color: var(--color-primary); }
.dialog-close:hover { color: var(--color-accent-readable); }
:where(button, input, textarea, select):disabled,
.button[aria-disabled="true"] {
    color: var(--color-muted-readable);
    background-color: var(--color-background);
    border-color: var(--color-muted-readable);
    cursor: not-allowed;
}
::selection { background: var(--color-highlight); color: var(--color-text); }

.site-nav .enquire:hover { color: var(--color-text); }
.site-nav .whatsapp:hover { color: var(--color-surface); }
.hero-eyebrow, .hero h1 span { color: var(--color-surface); }
.tour-bottom { border-top-color: var(--color-nature); }
