/* ======================================================================
   RMW Tours & Travel — Public site design system
   Palette: deep forest green + warm terracotta/orange + warm sand
   ====================================================================== */

@font-face {
    font-family: 'PT Sans';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('../fonts/pt-sans-regular.woff2') format('woff2');
}
@font-face {
    font-family: 'PT Sans';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url('../fonts/pt-sans-bold.woff2') format('woff2');
}

:root {
    --color-primary: #1B4332;
    --color-primary-dark: #10261B;
    --color-primary-light: #2D6A4F;
    --color-accent: #E08D3C;
    --color-accent-dark: #C46F27;
    --color-sand: #F7F3EA;
    --color-sand-dark: #EDE6D6;
    --color-dark: #1F2A24;
    --color-gray: #6B7280;
    --color-gray-light: #9CA3AF;
    --color-white: #FFFFFF;
    --color-border: #E4DECD;
    --color-success: #2D6A4F;
    --color-danger: #B3432B;
    --color-nav-bg: #10261B;
    --color-nav-text: #F2C94C;
    --color-nav-text-hover: #FFE08A;

    --font-body: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    --font-heading: 'PT Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --shadow-sm: 0 1px 3px rgba(16, 38, 27, 0.08);
    --shadow-md: 0 8px 24px rgba(16, 38, 27, 0.12);
    --shadow-lg: 0 20px 48px rgba(16, 38, 27, 0.18);
    --container: 1160px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

/* --- Scroll reveal: elements fade/slide in as they enter the viewport ---
   Gated behind .js-enabled (set by an inline script in <body>) so content
   stays visible if JavaScript never runs. --- */
.js-enabled .reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.6s ease, transform 0.6s ease; }
.js-enabled .reveal.is-visible { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
    .js-enabled .reveal { opacity: 1; transform: none; transition: none; }
}

body {
    margin: 0;
    font-family: var(--font-body);
    color: var(--color-dark);
    background: var(--color-sand);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

h1, h2, h4 {
    font-family: var(--font-heading);
    color: var(--color-primary-dark);
    line-height: 1.2;
    margin: 0 0 0.5em;
}

h3 {
    font-family: var(--font-body);
    font-weight: 700;
    color: var(--color-primary-dark);
    line-height: 1.25;
    margin: 0 0 0.5em;
}

h1 { font-size: clamp(2rem, 4vw, 3.2rem); }
h2 { font-size: clamp(1.1rem, 2vw, 1.6rem); }
h3 { font-size: 1.3rem; }

p { margin: 0 0 1em; }

.container {
    width: 100%;
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 24px;
}

.section { padding: 72px 0; }
.section-fullwidth .container { max-width: 100%; padding-left: 48px; padding-right: 48px; }
@media (max-width: 640px) { .section-fullwidth .container { padding-left: 20px; padding-right: 20px; } }
.section-tight { padding: 40px 0; }
.section-alt { background: var(--color-white); }

.eyebrow {
    display: inline-block;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--color-accent-dark);
    margin-bottom: 10px;
}

.section-head { max-width: 640px; margin: 0 auto 40px; text-align: center; }
.section-head p { color: var(--color-gray); }

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 13px 28px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 0.95rem;
    border: 2px solid transparent;
    cursor: pointer;
    transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, color 0.15s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--color-accent); color: var(--color-white); box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: var(--color-accent-dark); box-shadow: var(--shadow-md); }
.btn-outline { background: transparent; border-color: var(--color-white); color: var(--color-white); }
.btn-outline:hover { background: var(--color-white); color: var(--color-primary-dark); }
.btn-dark { background: var(--color-primary); color: var(--color-white); }
.btn-dark:hover { background: var(--color-primary-dark); }
.btn-block { width: 100%; }
.btn-sm { padding: 9px 18px; font-size: 0.85rem; }

/* --- Top bar + nav --- */
.topbar {
    background: var(--color-primary-dark);
    color: rgba(255,255,255,0.85);
    font-size: 0.82rem;
}
.topbar .container { display: flex; justify-content: space-between; align-items: center; padding-top: 8px; padding-bottom: 8px; flex-wrap: wrap; gap: 6px; }
.topbar a { opacity: 0.9; }
.topbar a:hover { opacity: 1; text-decoration: underline; }
.topbar-links { display: flex; gap: 18px; }
.topbar-social { display: flex; gap: 12px; }

.navbar {
    background: var(--color-nav-bg);
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 10px rgba(16,38,27,0.18);
}
.navbar .container { display: flex; align-items: center; justify-content: space-between; padding-top: 14px; padding-bottom: 14px; max-width: 100%; padding-left: 32px; padding-right: 32px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; font-family: var(--font-heading); font-size: 1.3rem; font-weight: 700; color: var(--color-white); flex-shrink: 0; }
.brand-mark {
    width: 40px; height: 40px; border-radius: var(--radius-md);
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-accent) 100%);
    display: flex; align-items: center; justify-content: center;
    color: #fff; font-weight: 800; font-family: var(--font-body);
}
.brand-logo { width: 40px; height: 40px; border-radius: var(--radius-md); object-fit: cover; }
.nav-links { display: flex; gap: 22px; align-items: center; flex-wrap: nowrap; }
.nav-links > a { font-weight: 600; font-size: 0.92rem; color: var(--color-nav-text); padding: 6px 2px; border-bottom: 2px solid transparent; white-space: nowrap; }
.nav-links > a:hover, .nav-links > a.active { color: var(--color-nav-text-hover); border-bottom-color: var(--color-nav-text-hover); }
.nav-cta { display: flex; align-items: center; gap: 16px; flex-shrink: 0; }
.nav-toggle {
    display: none; flex-direction: column; justify-content: center; align-items: center; gap: 5px;
    width: 40px; height: 40px; background: none; border: none; cursor: pointer; padding: 0;
}
.nav-toggle-bar { display: block; width: 22px; height: 2px; background: var(--color-nav-text); border-radius: 2px; transition: transform 0.25s ease, opacity 0.2s ease; }
.nav-toggle.is-active .nav-toggle-bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.is-active .nav-toggle-bar:nth-child(2) { opacity: 0; }
.nav-toggle.is-active .nav-toggle-bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* --- Dropdown nav items (Safaris / National Parks) --- */
.nav-dropdown { position: relative; }
.nav-dropdown > a { display: inline-flex; align-items: center; gap: 4px; font-weight: 600; font-size: 0.92rem; color: var(--color-nav-text); padding: 6px 2px; border-bottom: 2px solid transparent; white-space: nowrap; }
.nav-dropdown > a:hover, .nav-dropdown > a.active { color: var(--color-nav-text-hover); border-bottom-color: var(--color-nav-text-hover); }
.nav-dropdown .caret { font-size: 0.7em; }
.dropdown-panel {
    position: absolute; top: 100%; left: 50%; transform: translateX(-50%) translateY(8px);
    background: var(--color-white); border-radius: var(--radius-sm); box-shadow: var(--shadow-md);
    border: 1px solid var(--color-border); min-width: 220px; padding: 8px;
    opacity: 0; visibility: hidden; transition: opacity 0.15s ease, transform 0.15s ease;
    z-index: 50;
}
.nav-dropdown:hover .dropdown-panel, .nav-dropdown:focus-within .dropdown-panel { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.dropdown-panel a { display: block; padding: 9px 12px; border-radius: var(--radius-sm); font-size: 0.88rem; font-weight: 500; color: var(--color-dark); }
.dropdown-panel a:hover { background: var(--color-sand); color: var(--color-accent-dark); }
.dropdown-panel a.dropdown-all { margin-top: 4px; border-top: 1px solid var(--color-border); padding-top: 10px; font-weight: 700; color: var(--color-primary); }

/* --- Nested flyout: a destination inside the National Parks dropdown
   reveals its own parks in a second-level panel to the right --- */
.park-flyout { position: relative; }
.park-flyout > a { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.flyout-panel {
    position: absolute; top: -8px; left: 100%; margin-left: 6px;
    background: var(--color-white); border-radius: var(--radius-sm); box-shadow: var(--shadow-md);
    border: 1px solid var(--color-border); min-width: 240px; padding: 8px;
    opacity: 0; visibility: hidden; transition: opacity 0.15s ease;
    z-index: 60;
}
.park-flyout:hover .flyout-panel, .park-flyout:focus-within .flyout-panel { opacity: 1; visibility: visible; }
.flyout-panel a { display: block; padding: 8px 12px; border-radius: var(--radius-sm); font-size: 0.85rem; font-weight: 500; color: var(--color-dark); white-space: normal; }
.flyout-panel a:hover { background: var(--color-sand); color: var(--color-accent-dark); }

@media (max-width: 1080px) {
    .nav-toggle { display: flex; }
    .nav-links { display: none; }
    .topbar-links { display: none; }
}

/* ======================================================================
   Mobile off-canvas menu — entirely separate markup/CSS from the desktop
   nav so it can never inherit desktop hover/focus-within behavior.
   Panel + overlay live in the DOM at all widths but only ever open via
   JS-added classes, and the toggle button that triggers them is itself
   display:none above the 1080px breakpoint, so there's no way to reach
   them on desktop.
   ====================================================================== */
.mobile-nav-overlay {
    position: fixed; inset: 0; background: rgba(16,38,27,0.55);
    opacity: 0; visibility: hidden; transition: opacity 0.25s ease, visibility 0.25s ease;
    z-index: 190;
}
.mobile-nav-overlay.is-open { opacity: 1; visibility: visible; }

.mobile-nav-panel {
    position: fixed; top: 0; right: 0; bottom: 0; width: 86%; max-width: 360px;
    background: var(--color-nav-bg); box-shadow: -8px 0 24px rgba(0,0,0,0.25);
    transform: translateX(100%); transition: transform 0.3s ease;
    z-index: 200; display: flex; flex-direction: column;
    overflow-y: auto; overflow-x: hidden; scrollbar-gutter: stable;
}
.mobile-nav-panel.is-open { transform: translateX(0); }

.mobile-nav-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 18px 20px; border-bottom: 1px solid rgba(255,255,255,0.12); }
.mobile-nav-head .brand { font-size: 1.05rem; }
.mobile-nav-close { background: none; border: none; color: var(--color-nav-text); font-size: 1.2rem; line-height: 1; cursor: pointer; padding: 8px; }

.mobile-nav-links { display: flex; flex-direction: column; padding: 8px 12px; flex: 1; }
.mobile-nav-links > a {
    display: block; padding: 14px 10px; font-weight: 600; font-size: 0.98rem;
    color: var(--color-nav-text); border-bottom: 1px solid rgba(255,255,255,0.08);
}
.mobile-nav-links > a.active, .mobile-nav-links > a:hover { color: var(--color-nav-text-hover); }

.mobile-nav-accordion { border-bottom: 1px solid rgba(255,255,255,0.08); }
.mobile-nav-accordion-toggle {
    display: flex; align-items: center; justify-content: space-between; width: 100%;
    background: none; border: none; padding: 14px 10px; font-weight: 600; font-size: 0.98rem;
    color: var(--color-nav-text); cursor: pointer; text-align: left; font-family: inherit;
    -webkit-tap-highlight-color: transparent; touch-action: manipulation;
}
.mobile-nav-accordion-toggle.active { color: var(--color-nav-text-hover); }
.mobile-nav-caret { font-size: 1.2rem; transition: transform 0.2s ease; color: var(--color-accent); }
.mobile-nav-accordion.is-open .mobile-nav-caret { transform: rotate(90deg); }
.mobile-nav-accordion-panel {
    max-height: 0; overflow: hidden; transition: max-height 0.25s ease;
    display: flex; flex-direction: column; padding-left: 14px;
}
.mobile-nav-accordion.is-open .mobile-nav-accordion-panel { max-height: 600px; }
.mobile-nav-accordion-panel a { padding: 11px 10px; font-size: 0.9rem; color: rgba(255,255,255,0.8); border-left: 2px solid rgba(255,255,255,0.15); }
.mobile-nav-accordion-panel a:hover { color: var(--color-nav-text-hover); }
.mobile-nav-accordion-panel a.mobile-nav-viewall { font-weight: 700; color: var(--color-nav-text-hover); }

.mobile-nav-foot { padding: 18px 20px 24px; border-top: 1px solid rgba(255,255,255,0.12); display: flex; flex-direction: column; gap: 14px; }
.mobile-nav-contact { display: flex; flex-direction: column; gap: 6px; }
.mobile-nav-contact a { font-size: 0.85rem; color: rgba(255,255,255,0.75); }

body.mobile-nav-open { overflow: hidden; }

@media (min-width: 1081px) {
    .mobile-nav-overlay, .mobile-nav-panel { display: none; }
}

/* --- Hero --- */
.hero {
    position: relative;
    color: var(--color-white);
    /* Dark only behind the text on the left; the photo itself reads at
       near-full opacity across most of the frame. */
    background: linear-gradient(90deg, rgba(16,38,27,0.85) 0%, rgba(16,38,27,0.6) 32%, rgba(16,38,27,0.2) 58%, rgba(16,38,27,0) 78%), var(--hero-bg, var(--color-primary)) center/cover no-repeat;
    padding: 110px 0 90px;
}
.hero .container { max-width: 100%; padding-left: 48px; padding-right: 48px; }
.hero-inner { max-width: 680px; text-align: left; }
.hero .eyebrow { color: var(--color-accent); }
.hero h1 { color: var(--color-white); text-align: left; font-size: clamp(1.2rem, 2.4vw, 1.92rem); }
.hero p.lead { font-size: 1.15rem; color: rgba(255,255,255,0.9); max-width: 560px; text-align: left; }
.hero-actions { display: flex; gap: 14px; margin-top: 28px; flex-wrap: wrap; justify-content: flex-start; }
.hero-stats { display: flex; gap: 40px; margin-top: 48px; flex-wrap: wrap; justify-content: flex-start; }
.hero-stats div strong { display: block; font-size: 1.8rem; font-family: var(--font-heading); }
.hero-stats div span { font-size: 0.85rem; color: rgba(255,255,255,0.75); }
@media (max-width: 620px) {
    .hero .container { padding-left: 24px; padding-right: 24px; }
    .hero { background: linear-gradient(180deg, rgba(16,38,27,0.75), rgba(16,38,27,0.85)), var(--hero-bg, var(--color-primary)) center/cover no-repeat; }
}

/* --- Hero slider (uploadable slides from admin) --- */
.hero-slider { position: relative; overflow: hidden; }
.hero-slider .hero { display: none; }
.hero-slider .hero.is-active { display: block; animation: heroFade 0.5s ease; }
@keyframes heroFade { from { opacity: 0; } to { opacity: 1; } }
.hero-dots {
    position: absolute; bottom: 22px; left: 50%; transform: translateX(-50%);
    display: flex; gap: 10px; z-index: 10;
}
.hero-dots button {
    width: 10px; height: 10px; border-radius: 50%; border: 2px solid rgba(255,255,255,0.7);
    background: transparent; padding: 0; cursor: pointer;
}
.hero-dots button.is-active { background: var(--color-accent); border-color: var(--color-accent); }

.page-hero {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
    color: var(--color-white);
    padding: 64px 0;
    text-align: center;
}
.page-hero h1 { color: var(--color-white); margin-bottom: 8px; font-family: var(--font-body); font-size: clamp(1rem, 2vw, 1.6rem); }
.page-hero .breadcrumb { color: rgba(255,255,255,0.75); font-size: 0.9rem; }
.page-hero .breadcrumb a { color: var(--color-white); font-weight: 600; }

/* --- Cards --- */
.grid { display: grid; gap: 20px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 960px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .grid-3, .grid-4, .grid-2 { grid-template-columns: 1fr; } }

.card {
    background: var(--color-white);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    display: flex; flex-direction: column;
    border: 1px solid var(--color-border);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.card-media { aspect-ratio: 4/3; overflow: hidden; position: relative; }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.card:hover .card-media img { transform: scale(1.06); }
.card-badge {
    position: absolute; top: 14px; left: 14px;
    background: var(--color-accent); color: #fff; font-size: 0.72rem; font-weight: 700;
    padding: 5px 12px; border-radius: 999px; text-transform: uppercase; letter-spacing: 0.05em;
}
.card-body { padding: 16px 18px 18px; flex: 1; display: flex; flex-direction: column; }
.card-meta { display: flex; gap: 12px; font-size: 0.8rem; color: var(--color-gray); margin-bottom: 6px; }
.card-body h3 { margin-bottom: 6px; }
.card-body p { color: var(--color-gray); font-size: 0.9rem; flex: 1; }
.card-footer { display: flex; justify-content: space-between; align-items: center; margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--color-border); }
.price { font-weight: 700; color: var(--color-primary); font-size: 1.05rem; }
.price small { font-weight: 400; color: var(--color-gray); font-size: 0.75rem; }

/* --- Icon feature blocks --- */
.feature { text-align: center; padding: 10px; }
.feature-icon {
    width: 64px; height: 64px; margin: 0 auto 16px;
    border-radius: 50%;
    background: var(--color-sand-dark);
    display: flex; align-items: center; justify-content: center;
    color: var(--color-primary);
}
.feature p { color: var(--color-gray); font-size: 0.92rem; }

/* --- Why Choose Us list (paired with About content in a two-col layout) --- */
.why-us-list { margin-top: 24px; display: flex; flex-direction: column; gap: 20px; }
.why-us-row { padding-left: 16px; border-left: 3px solid var(--color-accent); }
.why-us-row h4 { margin-bottom: 4px; font-size: 1.05rem; }
.why-us-row p { color: var(--color-gray); font-size: 0.9rem; margin-bottom: 0; }

/* --- Filters --- */
.filter-bar { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 36px; }
.filter-chip {
    padding: 9px 20px; border-radius: 999px; border: 1px solid var(--color-border);
    background: var(--color-white); font-weight: 600; font-size: 0.85rem; color: var(--color-dark);
}
.filter-chip:hover { border-color: var(--color-accent); color: var(--color-accent-dark); }
.filter-chip.active { background: var(--color-primary); border-color: var(--color-primary); color: #fff; }

/* --- Timeline (day-by-day itinerary) --- */
.timeline { position: relative; padding-left: 40px; }
.timeline::before { content: ""; position: absolute; left: 14px; top: 6px; bottom: 6px; width: 2px; background: var(--color-border); }
.timeline-item { position: relative; padding-bottom: 32px; }
.timeline-item:last-child { padding-bottom: 0; }
.timeline-dot {
    position: absolute; left: -40px; top: 0; width: 30px; height: 30px; border-radius: 50%;
    background: var(--color-accent); color: #fff; font-weight: 700; font-size: 0.85rem;
    display: flex; align-items: center; justify-content: center;
}
.timeline-item h4 { margin-bottom: 4px; }
.timeline-item p { color: var(--color-gray); margin-bottom: 0; }

/* --- Testimonials --- */
.testimonial-card {
    background: var(--color-white); border-radius: var(--radius-md); padding: 28px;
    border: 1px solid var(--color-border); box-shadow: var(--shadow-sm);
}
.testimonial-stars { color: var(--color-accent); letter-spacing: 2px; margin-bottom: 10px; }
.testimonial-quote { font-style: italic; color: var(--color-dark); margin-bottom: 18px; }
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.testimonial-avatar { width: 44px; height: 44px; border-radius: 50%; overflow: hidden; background: var(--color-sand-dark); }
.testimonial-avatar img { width: 100%; height: 100%; object-fit: cover; }
.testimonial-author strong { display: block; font-size: 0.92rem; }
.testimonial-author span { font-size: 0.8rem; color: var(--color-gray); }

/* --- Team (About Us) --- */
.team-card { text-align: center; padding: 20px; }
.team-card-photo {
    width: 120px; height: 120px; border-radius: 50%; overflow: hidden; margin: 0 auto 16px;
    background: var(--color-sand-dark); border: 3px solid var(--color-white); box-shadow: var(--shadow-sm);
}
.team-card-photo img { width: 100%; height: 100%; object-fit: cover; }
.team-card-role { display: inline-block; font-size: 0.82rem; font-weight: 600; color: var(--color-accent-dark); margin-bottom: 10px; }
.team-card p { color: var(--color-gray); font-size: 0.9rem; }

/* --- Partners (About Us) --- */
.partner-grid { display: flex; flex-wrap: wrap; gap: 20px; justify-content: center; align-items: center; }
.partner-logo {
    display: flex; align-items: center; justify-content: center; width: 180px; height: 100px;
    background: var(--color-white); border: 1px solid var(--color-border); border-radius: var(--radius-md);
    padding: 16px; transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.partner-logo:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.partner-logo img { max-width: 100%; max-height: 100%; object-fit: contain; }

/* --- CTA band --- */
.cta-band {
    background: linear-gradient(120deg, var(--color-primary) 0%, var(--color-primary-light) 100%);
    color: #fff; border-radius: var(--radius-lg); padding: 56px; text-align: center;
}
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255,255,255,0.85); max-width: 520px; margin: 0 auto 24px; }

/* --- Forms --- */
.form-group { margin-bottom: 18px; }
label { display: block; font-weight: 600; font-size: 0.88rem; margin-bottom: 6px; color: var(--color-primary-dark); }
input[type=text], input[type=email], input[type=tel], input[type=number], input[type=password], input[type=date], select, textarea {
    width: 100%; padding: 12px 14px; border: 1px solid var(--color-border); border-radius: var(--radius-sm);
    font-family: var(--font-body); font-size: 0.95rem; background: var(--color-white); color: var(--color-dark);
}
textarea { resize: vertical; min-height: 120px; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--color-accent); box-shadow: 0 0 0 3px rgba(224,141,60,0.15); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 620px) { .form-row { grid-template-columns: 1fr; } }

.checkbox-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px 16px; }
@media (max-width: 480px) { .checkbox-grid { grid-template-columns: 1fr; } }
.checkbox-row { display: flex; align-items: center; gap: 8px; font-size: 0.9rem; font-weight: 500; color: var(--color-dark); cursor: pointer; }
.checkbox-row input { width: auto; accent-color: var(--color-primary); }

.alert { padding: 14px 18px; border-radius: var(--radius-sm); margin-bottom: 20px; font-size: 0.92rem; }
.alert-success { background: #E7F3EC; color: var(--color-success); border: 1px solid #BFE0CC; }
.alert-error { background: #FBEAE5; color: var(--color-danger); border: 1px solid #F0C6B8; }

/* --- Footer --- */
footer { background: var(--color-primary-dark); color: rgba(255,255,255,0.75); padding-top: 60px; }
footer .container { max-width: 100%; padding-left: 48px; padding-right: 48px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr 1fr 1.2fr; gap: 32px; padding-bottom: 40px; }
@media (max-width: 1200px) { .footer-grid { grid-template-columns: 1fr 1fr 1fr; } }
@media (max-width: 700px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 460px) { .footer-grid { grid-template-columns: 1fr; } }
footer h4 { color: #fff; font-size: 1rem; margin-bottom: 16px; }
footer .brand { color: #fff; }
footer p { font-size: 0.88rem; }
footer ul { list-style: none; margin: 0; padding: 0; }
footer li { margin-bottom: 10px; font-size: 0.88rem; }
footer a:hover { color: var(--color-accent); }
.footer-social { display: flex; gap: 12px; margin-top: 16px; }
.footer-social a {
    width: 36px; height: 36px; border-radius: 50%; background: rgba(255,255,255,0.08);
    display: flex; align-items: center; justify-content: center; overflow: hidden;
}
.footer-social a img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }
.footer-social a:hover { background: var(--color-accent); }

.whatsapp-float {
    position: fixed; bottom: 24px; right: 24px; width: 56px; height: 56px; border-radius: 50%;
    background: #25D366; color: #fff; display: flex; align-items: center; justify-content: center;
    box-shadow: var(--shadow-md); z-index: 500; transition: transform 0.2s ease;
}
.whatsapp-float:hover { transform: scale(1.08); }
.whatsapp-float svg { width: 55%; height: 55%; }
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1); padding: 20px 0; font-size: 0.82rem;
}
.footer-bottom-inner {
    display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 8px;
}
.footer-credit a { font-weight: 600; color: rgba(255,255,255,0.9); text-decoration: underline; text-underline-offset: 2px; }
.footer-credit a:hover { color: var(--color-accent); }
@media (max-width: 700px) { .footer-bottom-inner { justify-content: center; text-align: center; } }

/* --- Misc pages --- */
.empty-state { text-align: center; padding: 60px 20px; color: var(--color-gray); }
.badge { display: inline-block; padding: 4px 12px; border-radius: 999px; font-size: 0.72rem; font-weight: 700; background: var(--color-sand-dark); color: var(--color-primary); text-transform: uppercase; letter-spacing: 0.04em; }

.pagination { display: flex; gap: 8px; justify-content: center; margin-top: 40px; }
.pagination a, .pagination span {
    width: 38px; height: 38px; display: flex; align-items: center; justify-content: center;
    border-radius: var(--radius-sm); border: 1px solid var(--color-border); font-weight: 600; font-size: 0.9rem;
}
.pagination a:hover { border-color: var(--color-accent); color: var(--color-accent-dark); }
.pagination .current { background: var(--color-primary); color: #fff; border-color: var(--color-primary); }

.sidebar-block { background: var(--color-white); border: 1px solid var(--color-border); border-radius: var(--radius-md); padding: 24px; margin-bottom: 24px; }
.sidebar-block h4 { margin-bottom: 14px; }
.post-list-item { display: flex; gap: 12px; margin-bottom: 14px; }
.post-list-item img { width: 60px; height: 60px; object-fit: cover; border-radius: var(--radius-sm); }
.post-list-item span { font-size: 0.85rem; font-weight: 600; line-height: 1.35; }

.two-col { display: grid; grid-template-columns: 2fr 1fr; gap: 40px; align-items: start; }
@media (max-width: 860px) { .two-col { grid-template-columns: 1fr; } }

.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
@media (max-width: 860px) { .gallery-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 600px) { .gallery-grid { grid-template-columns: repeat(2, 1fr); } }
.gallery-item { border-radius: var(--radius-sm); overflow: hidden; aspect-ratio: 1; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s ease; }
.gallery-item:hover img { transform: scale(1.08); }

/* --- Destination rows (destinations.php): each destination with its parks nested underneath --- */
.destination-row {
    display: grid; grid-template-columns: 340px 1fr; gap: 32px; align-items: start;
    background: var(--color-white); border: 1px solid var(--color-border); border-radius: var(--radius-md);
    padding: 24px; margin-bottom: 24px; box-shadow: var(--shadow-sm);
}
.destination-row-media { border-radius: var(--radius-sm); overflow: hidden; aspect-ratio: 4/3; }
.destination-row-media img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 760px) { .destination-row { grid-template-columns: 1fr; } }

.park-chip-list { display: flex; flex-wrap: wrap; gap: 10px; }
.park-chip {
    display: inline-block; padding: 8px 16px; border-radius: var(--radius-sm);
    background: var(--color-sand); border: 1px solid var(--color-border);
    font-size: 0.85rem; font-weight: 600; color: var(--color-primary-dark);
}
.park-chip:hover { background: var(--color-primary); color: #fff; border-color: var(--color-primary); }

/* --- Print / "Download as PDF" (browser print-to-PDF, no server-side library needed) --- */
@media print {
    .topbar, .navbar, footer, .whatsapp-float, .breadcrumb, .nav-toggle { display: none !important; }
    .page-hero { background: none !important; color: var(--color-dark) !important; padding: 0 0 20px; }
    .page-hero h1 { color: var(--color-dark) !important; }
    #itinerary-print-area { display: block !important; }
    #itinerary-print-area aside { display: none !important; }
    body { background: #fff !important; }
    a { color: inherit !important; text-decoration: none !important; }
    .card, .sidebar-block { box-shadow: none !important; border: 1px solid #ddd !important; }
}
