/* --- Design Tokens --- */
:root {
    --primary: #12793C; /* Amazon Green */
    --primary-dark: #0a4f26;
    --primary-light: #24a155;
    --secondary: #F2994A; /* Sunset Orange / Gold */
    --secondary-dark: #d67a28;
    
    --bg-light: #ffffff;
    --bg-alt: #f9fbf9;
    --bg-dark: #111814;
    
    --text-main: #2a352d;
    --text-muted: #5a6b60;
    --text-white: #ffffff;
    
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    --radius: 12px;
    --radius-lg: 20px;
    --shadow-sm: 0 4px 6px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 20px 40px rgba(0, 0, 0, 0.12);
    
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* --- Base Reset --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px; /* For fixed navbar */
}

body {
    font-family: var(--font-body);
    color: var(--text-main);
    background-color: var(--bg-light);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4 {
    font-family: var(--font-heading);
    font-weight: 800;
    line-height: 1.2;
    color: var(--text-main);
}

p {
    font-size: 1.1rem;
    color: var(--text-muted);
}

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

ul {
    list-style: none;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

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

/* --- Buttons --- */
.btn {
    display: inline-block;
    padding: 12px 28px;
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    text-align: center;
    transition: var(--transition);
    border: 2px solid transparent;
}

.btn-primary {
    background: var(--primary);
    color: var(--text-white);
    box-shadow: 0 8px 20px rgba(18, 121, 60, 0.3);
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 12px 25px rgba(18, 121, 60, 0.4);
}

.btn-secondary {
    background: var(--secondary);
    color: var(--text-white);
    box-shadow: 0 8px 20px rgba(242, 153, 74, 0.3);
}

.btn-secondary:hover {
    background: var(--secondary-dark);
    transform: translateY(-3px);
    box-shadow: 0 12px 25px rgba(242, 153, 74, 0.4);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--text-white);
    color: var(--text-white);
}

.btn-outline:hover {
    background: var(--text-white);
    color: var(--primary);
}

.dark-outline {
    border-color: var(--primary);
    color: var(--primary);
}
.dark-outline:hover {
    background: var(--primary);
    color: var(--text-white);
}

/* --- Navbar --- */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 0;
    z-index: 1000;
    transition: var(--transition);
    background: transparent;
}

header.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 15px 0;
    box-shadow: var(--shadow-sm);
}

header.scrolled .logo-img {
    filter: brightness(0.2); /* Make the white logo dark when scrolled */
}

header.scrolled .nav-links a {
    color: var(--text-main);
}

header.scrolled .btn-outline {
    border-color: var(--primary);
    color: var(--primary);
}

header.scrolled .btn-outline:hover {
    background: var(--primary);
    color: var(--text-white);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-img {
    height: 85px;
    width: auto;
    display: block;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-links a:not(.btn) {
    font-weight: 500;
    color: var(--text-white);
    position: relative;
}

.nav-links a:not(.btn)::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0%;
    height: 2px;
    background: var(--secondary);
    transition: var(--transition);
}

.nav-links a:not(.btn):hover::after {
    width: 100%;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
}

.menu-toggle .bar {
    width: 25px;
    height: 3px;
    background: var(--text-white);
    transition: var(--transition);
}

header.scrolled .menu-toggle .bar {
    background: var(--text-main);
}

/* --- Hero Section --- */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--text-white);
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    z-index: 1;
    overflow: hidden;
}

.video-bg iframe {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100vw;
    height: 56.25vw; /* 16:9 Aspect Ratio */
    min-height: 100vh;
    min-width: 177.77vh; /* 16:9 Aspect Ratio */
    transform: translate(-50%, -50%);
    pointer-events: none;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(10, 79, 38, 0.8) 0%, rgba(17, 24, 20, 0.6) 100%);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    max-width: 800px;
}

.hero h1 {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    color: var(--text-white);
    margin-bottom: 20px;
}

.hero p {
    color: rgba(255,255,255,0.9);
    font-size: clamp(1.1rem, 2vw, 1.4rem);
    margin-bottom: 40px;
}

.hero-actions {
    display: flex;
    gap: 20px;
    justify-content: center;
}

/* --- Stats Section --- */
.stats {
    position: relative;
    padding: 100px 0;
    color: var(--text-white);
}

.stats-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    z-index: 1;
}

.stats-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(17, 24, 20, 0.85);
    backdrop-filter: blur(5px);
    z-index: 2;
}

.stats .container {
    position: relative;
    z-index: 3;
}

.stats h2 {
    color: var(--text-white);
    margin-bottom: 60px;
    font-size: 2.5rem;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
}

.stat-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 40px 20px;
    border-radius: var(--radius-lg);
    text-align: center;
    backdrop-filter: blur(10px);
    transition: var(--transition);
}

.stat-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--secondary);
}

.stat-card h3 {
    font-size: 3.5rem;
    color: var(--secondary);
    margin-bottom: 10px;
}

.stat-card p {
    color: var(--text-white);
    font-size: 1.1rem;
    font-weight: 500;
}

/* --- About Section --- */
.about {
    padding: 120px 0;
    background: var(--bg-alt);
}

.about-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-image {
    width: 100%;
    height: 500px;
    background-size: cover;
    background-position: center;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    position: relative;
}

.about-image::before {
    content: '';
    position: absolute;
    top: -20px;
    left: -20px;
    width: 100px;
    height: 100px;
    background: var(--secondary);
    border-radius: 50%;
    z-index: -1;
    opacity: 0.5;
}

.about-text h2 {
    font-size: 2.8rem;
    margin-bottom: 30px;
    color: var(--primary-dark);
}

.scripture {
    font-style: italic;
    font-size: 1.3rem;
    color: var(--primary);
    border-left: 4px solid var(--secondary);
    padding-left: 20px;
    margin-bottom: 30px;
}

.scripture span {
    display: block;
    font-size: 1rem;
    font-weight: bold;
    margin-top: 10px;
    color: var(--text-main);
}

.about-text p {
    margin-bottom: 20px;
}

/* --- Trips Section --- */
.trips {
    padding: 120px 0;
    background: var(--bg-light);
}

.trips h2 {
    font-size: 2.8rem;
    margin-bottom: 10px;
    color: var(--primary-dark);
}

.section-subtitle {
    margin-bottom: 60px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.trips-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.trip-card {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    border: 1px solid rgba(0,0,0,0.05);
}

.trip-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.trip-image {
    height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 800;
    color: white;
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* Homepage "Where We Go" trip card photos. */
.brazil-bg { background: url('assets/images/brazil-ministry.jpg') center/cover; color: transparent; }
.bolivia-bg { background: url('assets/images/bolivia-woman.jpg') top center/cover; color: transparent; }
.peru-bg { background: url('assets/images/tres-fronteras-river.jpg') center/cover; color: transparent;}
.guyana-bg { background: url('assets/images/guyana-team.jpg') center/cover; color: transparent; }

.trip-content {
    padding: 30px;
    background: #fff;
}

.trip-content h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
}

.trip-content p {
    font-size: 1rem;
    margin-bottom: 8px;
}

.trip-desc {
    margin-top: 15px;
    font-size: 0.95rem;
    color: var(--text-muted);
    border-top: 1px solid rgba(0,0,0,0.1);
    padding-top: 15px;
}

.trip-btn {
    margin-top: 20px;
    width: 100%;
}

/* --- How You Fit In --- */
.fit-in {
    padding: 100px 0;
    background: var(--bg-alt);
}

.fit-in h2 {
    font-size: 2.8rem;
    color: var(--primary-dark);
    margin-bottom: 20px;
}

/* --- Contact Form --- */
.contact-section {
    padding: 100px 0;
    background: var(--bg-light);
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.contact-text h2 {
    font-size: 2.8rem;
    color: var(--primary-dark);
    margin-bottom: 20px;
}

.contact-form-wrapper {
    background: var(--bg-alt);
    padding: 40px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(0,0,0,0.05);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--text-main);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: var(--radius);
    font-family: var(--font-body);
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(18, 121, 60, 0.1);
}

.form-btn {
    width: 100%;
    border: none;
}

/* Honeypot field — off-screen, not display:none, so most spam bots still fill it */
.hp-field {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.form-status {
    display: none;
    margin-top: 18px;
    padding: 14px 18px;
    border-radius: var(--radius);
    font-size: 0.95rem;
    font-weight: 500;
}

.form-status.success {
    display: block;
    background: rgba(18, 121, 60, 0.1);
    border: 1px solid rgba(18, 121, 60, 0.3);
    color: var(--primary-dark);
}

.form-status.error {
    display: block;
    background: rgba(178, 59, 59, 0.1);
    border: 1px solid rgba(178, 59, 59, 0.3);
    color: #8a2f2f;
}

/* --- Footer --- */
footer {
    background: var(--bg-dark);
    color: var(--text-white);
    padding: 80px 0 20px;
}

.footer-container {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
}

.footer-logo {
    display: block;
    margin-bottom: 20px;
}

footer p {
    color: rgba(255,255,255,0.7);
}

footer h3 {
    color: var(--text-white);
    margin-bottom: 20px;
    font-size: 1.4rem;
}

.contact-info li {
    margin-bottom: 15px;
    color: rgba(255,255,255,0.7);
    line-height: 1.4;
}

.contact-info a {
    color: var(--secondary);
}

.contact-info a:hover {
    color: var(--text-white);
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 20px;
    background: rgba(255,255,255,0.1);
    border-radius: var(--radius);
    transition: var(--transition);
    font-weight: bold;
}

.social-icon:hover {
    background: var(--secondary);
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
}

/* --- Animations --- */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }


/* --- Responsive --- */
@media (max-width: 992px) {
    .about-container {
        grid-template-columns: 1fr;
    }
    .footer-container {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--bg-light);
        flex-direction: column;
        padding: 30px 0;
        gap: 20px;
        box-shadow: var(--shadow-md);
        clip-path: circle(0% at 100% 0);
        transition: all 0.5s ease-in-out;
    }

    .nav-links.active {
        clip-path: circle(150% at 100% 0);
    }

    .nav-links a:not(.btn) {
        color: var(--text-main);
    }
    
    header.scrolled .nav-links {
        background: rgba(255, 255, 255, 0.98);
    }

    .menu-toggle {
        display: flex;
    }

    .hero-actions {
        flex-direction: column;
    }
    
    .footer-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

/* ============================================
   Trip Detail Pages — "Field Passport" system
   Signature: an ink-stamp motif. Every trip on
   this site genuinely requires a passport, so the
   stamp isn't decoration — it's the one true thing
   that ties all four trips together.
   ============================================ */

:root {
    --ink: #16211b;
    --hairline: rgba(17, 24, 20, 0.12);
    --stamp: #a13d2b;
    --paper: #fbfaf7;
}

/* Accessibility: visible focus + reduced motion */
a:focus-visible,
button:focus-visible {
    outline: 2px solid var(--stamp);
    outline-offset: 3px;
    border-radius: 4px;
}

@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.001ms !important;
        scroll-behavior: auto !important;
    }
}

/* --- Breadcrumb / back link --- */
.trip-back-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 24px;
    color: rgba(255, 255, 255, 0.82);
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    text-shadow: 0 1px 8px rgba(0, 0, 0, 0.5);
}

.trip-back-link:hover {
    color: var(--secondary);
}

/* --- Hero --- */
.trip-page-hero {
    position: relative;
    min-height: 640px;
    display: flex;
    align-items: flex-end;
    padding: 170px 0 60px;
    color: var(--text-white);
    background-size: cover;
    background-position: center;
    overflow: hidden;
}

@media (max-width: 900px) {
    .trip-page-hero {
        min-height: 520px;
        padding: 140px 0 60px;
    }
}

.trip-page-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(10, 79, 38, 0.35) 0%, rgba(17, 24, 20, 0.42) 45%, rgba(17, 24, 20, 0.72) 100%);
}

.trip-page-hero .container {
    position: relative;
    z-index: 2;
}

.trip-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 0.78rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--secondary);
    margin-bottom: 18px;
    text-shadow: 0 1px 8px rgba(0, 0, 0, 0.5);
}

.trip-eyebrow::before {
    content: '';
    width: 28px;
    height: 2px;
    background: var(--secondary);
}

.trip-page-hero h1 {
    color: var(--text-white);
    font-size: clamp(2.3rem, 5vw, 3.8rem);
    max-width: 780px;
    margin-bottom: 22px;
    text-shadow: 0 2px 16px rgba(0, 0, 0, 0.45);
}

.trip-meta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.trip-meta-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 18px;
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 50px;
    font-size: 0.92rem;
    color: rgba(255, 255, 255, 0.98);
    background: rgba(17, 24, 20, 0.38);
    backdrop-filter: blur(4px);
    text-shadow: 0 1px 6px rgba(0, 0, 0, 0.4);
}

/* --- Passport stamp signature element --- */
.stamp {
    position: absolute;
    right: 7%;
    bottom: -46px;
    width: 132px;
    height: 132px;
    z-index: 3;
    transform: rotate(-11deg);
    filter: drop-shadow(0 8px 18px rgba(0, 0, 0, 0.25));
    animation: stamp-in 0.7s cubic-bezier(0.25, 0.8, 0.25, 1) 0.25s both;
}

@keyframes stamp-in {
    from { opacity: 0; transform: rotate(-32deg) scale(0.6); }
    to { opacity: 1; transform: rotate(-11deg) scale(1); }
}

.stamp svg { width: 100%; height: 100%; display: block; }

@media (max-width: 640px) {
    .stamp { width: 92px; height: 92px; right: 20px; bottom: -30px; }
}

/* --- Facts strip: "passport data page" --- */
.quick-facts-bar {
    position: relative;
    background: var(--paper);
    border-bottom: 1px solid var(--hairline);
    padding: 48px 0 30px;
}

.quick-facts-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 0;
}

.quick-fact {
    padding: 0 24px;
    border-left: 1px solid var(--hairline);
}

.quick-fact:first-child { border-left: none; padding-left: 0; }

.quick-fact .label {
    display: block;
    font-family: var(--font-body);
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text-muted);
    margin-bottom: 6px;
}

.quick-fact .value {
    display: block;
    font-family: var(--font-heading);
    font-weight: 600;
    color: var(--ink);
    font-size: 1.15rem;
    line-height: 1.3;
}

@media (max-width: 900px) {
    .quick-facts-grid { grid-template-columns: repeat(2, 1fr); gap: 26px 20px; }
    .quick-fact { border-left: none; padding-left: 0; }
}

/* --- Body layout --- */
.trip-body {
    padding: 90px 0 40px;
}

.trip-body-grid {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(280px, 1fr);
    gap: 70px;
    align-items: start;
}

.trip-main h2 {
    position: relative;
    font-size: 1.85rem;
    color: var(--ink);
    margin: 46px 0 18px;
    line-height: 1.2;
    padding-top: 22px;
}

.trip-main h2::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 34px;
    height: 3px;
    background: var(--secondary);
}

.trip-main > h2:first-child {
    margin-top: 0;
    padding-top: 0;
}

.trip-main > h2:first-child::before {
    display: none;
}

.trip-main p {
    font-size: 1.06rem;
    line-height: 1.8;
    margin-bottom: 18px;
    color: var(--text-muted);
}

/* Pull quote — real sentences lifted from the trip's own text */
.trip-pullquote {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1.5rem;
    line-height: 1.4;
    color: var(--primary-dark);
    border-left: 3px solid var(--stamp);
    padding: 4px 0 4px 26px;
    margin: 34px 0;
}

/* Photo placeholders within content */
.trip-photo {
    width: 100%;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    margin: 30px 0;
    position: relative;
}

.trip-photo img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.trip-photo.wide { aspect-ratio: 16 / 9; }

.trip-photo-caption {
    position: absolute;
    left: 0; right: 0; bottom: 0;
    padding: 10px 16px;
    background: linear-gradient(0deg, rgba(17, 24, 20, 0.72), transparent);
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.76rem;
    letter-spacing: 0.4px;
}

.trip-photo-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin: 30px 0;
}

.trip-photo-split .trip-photo { margin: 0; aspect-ratio: 4 / 3; }

.trip-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    margin: 34px 0 10px;
}

.trip-gallery .trip-photo { margin: 0; aspect-ratio: 1 / 1; }

@media (max-width: 640px) {
    .trip-photo-split, .trip-gallery { grid-template-columns: 1fr 1fr; }
}

/* Timeline (used by trips with a day-by-day schedule) */
.trip-timeline {
    margin: 10px 0 30px;
    padding-left: 28px;
    border-left: 2px solid var(--hairline);
}

.schedule-item {
    position: relative;
    padding-bottom: 30px;
}

.schedule-item:last-child { padding-bottom: 0; }

.schedule-item::before {
    content: '';
    position: absolute;
    left: -34px;
    top: 4px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--secondary);
    border: 3px solid var(--bg-light);
    box-shadow: 0 0 0 2px var(--secondary);
}

.schedule-item .schedule-dates {
    display: block;
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 4px;
    font-size: 1.02rem;
}

.schedule-item p { margin-bottom: 0; }

/* --- Sidebar --- */
.trip-sidebar {
    background: var(--paper);
    border-radius: var(--radius-lg);
    padding: 38px 34px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--hairline);
    position: sticky;
    top: 100px;
}

.trip-sidebar h3 {
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--primary);
    margin: 28px 0 12px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--hairline);
}

.trip-sidebar h3:first-child { margin-top: 0; }

.trip-sidebar ul { margin-bottom: 6px; }

.trip-sidebar li {
    position: relative;
    padding-left: 24px;
    margin-bottom: 12px;
    color: var(--text-muted);
    font-size: 0.96rem;
    line-height: 1.5;
}

.trip-sidebar li::before {
    content: '\2713';
    position: absolute;
    left: 0;
    top: 1px;
    color: var(--primary);
    font-weight: 700;
}

.trip-sidebar p {
    font-size: 0.94rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 8px;
}

.trip-sidebar-cta {
    margin-top: 30px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.trip-sidebar-cta .btn { width: 100%; }

@media (max-width: 900px) {
    .trip-sidebar { position: static; }
}

/* --- CTA band --- */
.trip-cta-band {
    background: var(--bg-dark);
    padding: 70px 0;
    text-align: center;
}

.trip-cta-band h2 {
    color: var(--text-white);
    margin-bottom: 10px;
}

.trip-cta-band p {
    color: rgba(255, 255, 255, 0.72);
    margin-bottom: 32px;
}

.trip-cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

@media (max-width: 900px) {
    .trip-body-grid { grid-template-columns: 1fr; }
}

/* ============================================
   How You Fit In page — testimonial cards + lists
   ============================================ */
.testimonial-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin: 30px 0;
}

.testimonial-card {
    background: var(--paper);
    border: 1px solid var(--hairline);
    border-radius: var(--radius);
    padding: 24px 26px;
    position: relative;
}

.testimonial-card::before {
    content: '\201C';
    position: absolute;
    top: 10px;
    left: 18px;
    font-family: var(--font-heading);
    font-size: 2.5rem;
    color: var(--secondary);
    opacity: 0.5;
    line-height: 1;
}

.testimonial-card p {
    font-size: 0.98rem;
    font-style: italic;
    color: var(--text-main);
    margin-bottom: 12px;
    padding-top: 14px;
}

.testimonial-card cite {
    display: block;
    font-style: normal;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.88rem;
    color: var(--primary-dark);
}

@media (max-width: 640px) {
    .testimonial-grid { grid-template-columns: 1fr; }
}

.packing-list {
    columns: 2;
    column-gap: 30px;
    margin: 20px 0 30px;
}

.packing-list li {
    font-size: 0.98rem;
    color: var(--text-muted);
    margin-bottom: 8px;
    break-inside: avoid;
    padding-left: 18px;
    position: relative;
}

.packing-list li::before {
    content: '\2022';
    position: absolute;
    left: 0;
    color: var(--secondary);
    font-weight: 700;
}

@media (max-width: 640px) {
    .packing-list { columns: 1; }
}

.ways-list {
    counter-reset: ways;
    margin: 20px 0 30px;
    padding: 0;
}

.ways-list li {
    counter-increment: ways;
    position: relative;
    list-style: none;
    padding-left: 44px;
    margin-bottom: 20px;
    font-size: 1.02rem;
    line-height: 1.7;
    color: var(--text-muted);
}

.ways-list li::before {
    content: counter(ways);
    position: absolute;
    left: 0;
    top: 0;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: var(--primary);
    color: var(--text-white);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.donate-block {
    display: flex;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
    margin: 24px 0;
    padding: 24px;
    background: var(--paper);
    border: 1px solid var(--hairline);
    border-radius: var(--radius-lg);
}

.donate-block img.qr-code {
    width: 120px;
    height: 120px;
    border-radius: var(--radius);
    border: 1px solid var(--hairline);
}

.donate-block .donate-text {
    flex: 1;
    min-width: 220px;
}

.donate-block .donate-text p {
    margin-bottom: 12px;
}

/* ============================================
   What We Do page — responsive video embed
   ============================================ */
.video-embed {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 */
    height: 0;
    overflow: hidden;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    margin: 30px 0;
}

.video-embed iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* ============================================
   Who We Are page — team roster
   ============================================ */
.team-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin: 20px 0 40px;
}

.team-grid.single-col {
    grid-template-columns: 1fr;
    max-width: 360px;
}

.team-card {
    display: flex;
    align-items: center;
    gap: 16px;
    background: var(--paper);
    border: 1px solid var(--hairline);
    border-radius: var(--radius);
    padding: 18px 20px;
}

.team-avatar {
    flex-shrink: 0;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--primary);
    color: var(--text-white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.1rem;
    overflow: hidden;
}

.team-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.team-info .name {
    display: block;
    font-family: var(--font-heading);
    font-weight: 600;
    color: var(--ink);
    font-size: 1.02rem;
    line-height: 1.3;
}

.team-info .support-id {
    display: block;
    font-size: 0.82rem;
    color: var(--text-muted);
    margin-top: 2px;
}

@media (max-width: 640px) {
    .team-grid { grid-template-columns: 1fr; }
}

/* ============================================
   Photo carousel — single image, prev/next arrows
   ============================================ */
.photo-carousel {
    margin: 24px 0 34px;
}

.carousel-viewport {
    position: relative;
    width: 100%;
    aspect-ratio: 3 / 2;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    background: var(--bg-dark);
}

.carousel-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: none;
    background: rgba(17, 24, 20, 0.55);
    color: var(--text-white);
    font-size: 1.6rem;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    backdrop-filter: blur(3px);
    transition: var(--transition);
}

.carousel-btn:hover {
    background: rgba(17, 24, 20, 0.8);
}

.carousel-prev { left: 14px; }
.carousel-next { right: 14px; }

.carousel-counter {
    position: absolute;
    right: 14px;
    bottom: 14px;
    padding: 5px 12px;
    border-radius: 50px;
    background: rgba(17, 24, 20, 0.55);
    color: var(--text-white);
    font-size: 0.8rem;
    font-weight: 600;
    backdrop-filter: blur(3px);
}

@media (max-width: 640px) {
    .carousel-btn { width: 38px; height: 38px; font-size: 1.3rem; }
}
