*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

::selection {
    background: rgba(192, 122, 75, 0.22);
    color: var(--text);
}
::-moz-selection {
    background: rgba(192, 122, 75, 0.22);
    color: var(--text);
}

:root {
    --primary-black: #271c14;
    --paper: #fefcfa;
    --surface: #f6f4f1;
    --surface-strong: #eeeae4;
    --surface-glass: rgba(255, 255, 255, 0.72);
    --line: #e6ddd2;
    --line-strong: #ab7a58;
    --text: #1e1710;
    --text-subtle: #5c4d3e;
    --text-muted: #8d7c6a;
    --accent: #c07a4b;
    --accent-strong: #a86439;
    --accent-alt: #92a4ba;
    --transition: 0.3s ease;
    --hairline-border: 1px solid rgba(171, 122, 88, 0.10);
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.04);
    --shadow-md: 0 4px 14px rgba(0,0,0,0.06);
    --shadow-lg: 0 8px 32px rgba(0,0,0,0.07);
    --radius: 16px;
    --radius-lg: 24px;
    --font-sans: 'Instrument Sans', 'Heebo', 'Helvetica Neue', Arial, sans-serif;
    --font-display: 'Instrument Sans', 'Heebo', 'Helvetica Neue', Arial, sans-serif;
    --font-display-serif: 'Instrument Serif', 'Heebo', Georgia, serif;
    --font-hebrew: 'Heebo', 'Arial Hebrew', Arial, sans-serif;
    --font: var(--font-sans);

    /* Legacy aliases used by inline page styles */
    --primary: #3d2a1d;
    --primary-dark: #1e1710;
    --accent-light: #f6f4f1;
    --dark: #1e1710;
    --text-light: #5c4d3e;
    --border: rgba(171, 122, 88, 0.10);
    --cream: #f6f4f1;
    --warm-cream: #eeeae4;
    --off-white: #fefcfa;
    --warm-brown: #7e583b;
    --light-brown: #d7b69a;
}

html {
    scroll-behavior: smooth;
}

/* RTL support for Hebrew text */
[dir="rtl"] {
    unicode-bidi: embed;
    text-align: right;
}

body {
    min-height: 100vh;
    font-family: var(--font-sans);
    background: #fefcfa;
    color: var(--text);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

a {
    color: inherit;
    text-decoration: none;
    transition: color var(--transition), background-color var(--transition), border-color var(--transition), transform var(--transition);
}

img {
    display: block;
    max-width: 100%;
    height: auto;
    border-radius: 10px;
}

button,
input,
select,
textarea {
    font: inherit;
}

:lang(he),
[lang="he"],
[lang^="he-"],
[dir="rtl"] {
    font-family: var(--font-hebrew);
}

button {
    border: 0;
    background: transparent;
}

.container {
    width: min(100%, 1180px);
    margin: 0 auto;
    padding: 0 22px;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-display);
    color: var(--text);
    font-weight: 600;
    line-height: 1;
    letter-spacing: -0.045em;
    text-transform: none;
}

h1:lang(he),
h2:lang(he),
h3:lang(he),
h4:lang(he),
h5:lang(he),
h6:lang(he),
[lang="he"] h1,
[lang="he"] h2,
[lang="he"] h3,
[lang="he"] h4,
[lang="he"] h5,
[lang="he"] h6,
[lang^="he-"] h1,
[lang^="he-"] h2,
[lang^="he-"] h3,
[lang^="he-"] h4,
[lang^="he-"] h5,
[lang^="he-"] h6,
[dir="rtl"] h1,
[dir="rtl"] h2,
[dir="rtl"] h3,
[dir="rtl"] h4,
[dir="rtl"] h5,
[dir="rtl"] h6 {
    font-family: var(--font-hebrew);
    font-weight: 500;
}

h1 {
    font-size: clamp(2.7rem, 5.8vw, 4.35rem);
}

h2 {
    font-family: var(--font-display);
    font-size: clamp(1.55rem, 2.3vw, 2.35rem);
    font-weight: 400;
    letter-spacing: -0.03em;
}

h3 {
    font-family: var(--font-sans);
    font-size: clamp(1.04rem, 1.35vw, 1.22rem);
    font-weight: 500;
    letter-spacing: -0.015em;
}

h4 {
    font-family: var(--font-sans);
    font-size: 0.92rem;
    font-weight: 500;
    letter-spacing: -0.01em;
}

p {
    color: var(--text-subtle);
    font-weight: 400;
    font-size: 1rem;
    line-height: 1.64;
}

small,
.eyebrow,
.section-label,
.nav-mark-meta,
.card-kicker,
.footer-label,
.stat-label,
.card-price small,
.trip-origin-ribbon,
.card-status-ribbon,
.card-meta,
.breadcrumb,
.trip-origin-filter-label,
.footer-bottom,
.testimonial-trip,
.page-note {
    font-size: 0.74rem;
    letter-spacing: 0.02em;
    text-transform: none;
    font-weight: 500;
    color: var(--text-muted);
}

.eyebrow,
.section-label,
.footer-label {
    display: inline-block;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 0 16px;
    border: 1px solid rgba(0, 0, 0, 0.10);
    border-radius: 999px;
    background: #fff;
    color: var(--text);
    cursor: pointer;
    font-size: 0.82rem;
    font-weight: 500;
    letter-spacing: 0;
    text-transform: none;
    box-shadow: var(--shadow-sm);
    backdrop-filter: none;
    overflow: hidden;
    position: relative;
    transition: background-color var(--transition), color var(--transition), border-color var(--transition), box-shadow var(--transition), transform var(--transition);
}

.btn:hover,
.btn:focus-visible {
    background: var(--accent);
    color: #fff;
    border-color: var(--accent);
    box-shadow: var(--shadow-md);
}

.btn-primary,
.btn-secondary,
.btn-outline,
.btn-accent {
    color: var(--text);
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent), #d69160);
    border-color: transparent;
    color: #fff;
}

.btn-primary:hover,
.btn-primary:focus-visible {
    background: linear-gradient(135deg, var(--accent-strong), var(--accent));
    color: #fff;
}

.btn-sm {
    min-height: 34px;
    padding: 0 12px;
}

.btn-lg {
    min-height: 44px;
    padding: 0 18px;
}

.btn i,
.btn svg {
    display: none !important;
}

.navbar {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.82);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.page-home .navbar {
    position: fixed;
    inset: 0 0 auto 0;
    background: linear-gradient(180deg, rgba(27, 18, 13, 0.52), rgba(27, 18, 13, 0.08));
    border-bottom-color: transparent;
    box-shadow: none;
    backdrop-filter: blur(8px);
}

.page-home .navbar:not(.scrolled) .nav-links a {
    color: rgba(255, 250, 246, 0.8);
    background: none;
    border-color: transparent;
}
.page-home .navbar:not(.scrolled) .nav-links a.nav-manage-booking {
    background: rgba(255,255,255,0.15);
    color: #fff;
    border-radius: 6px;
}
.page-home .navbar:not(.scrolled) .nav-links a.nav-manage-booking:hover {
    background: rgba(255,255,255,0.25);
    color: #fff;
}

.page-home .navbar:not(.scrolled) .nav-links a:hover,
.page-home .navbar:not(.scrolled) .nav-links a.active {
    color: #fff;
    background: none;
    border-bottom-color: rgba(255, 255, 255, 0.6);
}

/* When side drawer is open on home page, use dark text on light background */
.page-home .navbar:not(.scrolled) .nav-links.open a {
    color: var(--text-subtle);
    background: none;
    border-color: transparent;
}

.page-home .navbar:not(.scrolled) .nav-links.open a:hover,
.page-home .navbar:not(.scrolled) .nav-links.open a.active {
    background: none;
    border-bottom-color: var(--accent-strong);
    color: var(--accent-strong);
}

.page-home .navbar:not(.scrolled) .mobile-toggle {
    background: transparent;
    border: none;
    box-shadow: none;
}

.page-home .navbar:not(.scrolled) .mobile-toggle span {
    background: #fff;
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 1px 8px rgba(0, 0, 0, 0.06);
}

.navbar .container {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto auto;
    align-items: center;
    gap: 24px;
    min-height: 82px;
}

.nav-logo {
    position: relative;
    display: inline-flex;
    align-items: center;
    min-height: 44px;
}

.nav-logo-image {
    display: block;
    width: auto;
    height: 34px;
    transition: opacity var(--transition);
}

.nav-logo-image--light {
    position: absolute;
    inset: 50% auto auto 0;
    transform: translateY(-50%);
    opacity: 0;
    pointer-events: none;
}

.page-home .navbar:not(.scrolled) .nav-logo-image--dark {
    opacity: 0;
}

.page-home .navbar:not(.scrolled) .nav-logo-image--light {
    opacity: 1;
}

.nav-links {
    display: flex;
    align-items: stretch;
    list-style: none;
    gap: 8px;
}

.nav-links > a {
    display: inline-flex;
    align-items: center;
    min-height: 42px;
    padding: 0 12px;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--text-subtle);
    border-radius: 0;
    background: none;
    border: none;
    border-bottom: 2px solid transparent;
    transition: color 0.25s ease, border-color 0.25s ease, transform 0.2s ease;
}

.nav-links a:hover,
.nav-links a.active {
    background: none;
    border-color: transparent;
    border-bottom-color: var(--accent-strong);
    color: var(--accent-strong);
    transform: translateY(-1px);
}

.nav-links a.nav-manage-booking {
    background: var(--accent-strong);
    color: #fff;
    border-radius: 6px;
    border-bottom: 2px solid transparent;
    padding: 0 16px;
    font-size: 0.66rem;
    overflow: hidden;
    position: relative;
}
.nav-links a.nav-manage-booking:hover {
    background: #8f5430;
    color: #fff;
    border-bottom-color: transparent;
}

/* Hover slide effect for nav-manage-booking */
.nav-manage-booking .btn-text {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: inherit;
    position: relative;
    z-index: 1;
    transition: transform 0.28s cubic-bezier(.4, 0, .2, 1);
}

.nav-manage-booking:hover .btn-text,
.nav-manage-booking:focus-visible .btn-text {
    transform: translateY(-180%);
}

.nav-manage-booking::after {
    content: attr(data-text);
    position: absolute;
    inset: 0;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transform: translateY(180%);
    transition: transform 0.28s cubic-bezier(.4, 0, .2, 1);
    font-size: inherit;
    font-weight: inherit;
    letter-spacing: inherit;
    text-transform: inherit;
    pointer-events: none;
}

.nav-manage-booking:hover::after,
.nav-manage-booking:focus-visible::after {
    transform: translateY(0);
}

.mobile-toggle {
    display: none;
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 6px;
    border: none;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    cursor: pointer;
    position: relative;
    z-index: 1001;
}

/* Hidden on desktop */
.nav-close,
.nav-drawer-contact {
    display: none;
}

.mobile-toggle span {
    width: 22px;
    height: 1.5px;
    background: var(--text);
    border-radius: 1px;
    transition: transform var(--transition), opacity var(--transition);
}

section {
    padding: 76px 0;
}

.bg-cream {
    background: #f7f5f2;
}

.bg-warm {
    background: #f4f1ed;
}

.cta-section,
#trips-status-note {
    background: transparent;
}

.page-header {
    padding: 110px 0 16px;
    background: transparent !important;
    color: var(--text);
}

.page-header .container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    align-items: start;
    width: min(100%, 980px);
    margin: 0 auto;
}

.page-header h1 {
    grid-column: auto;
    max-width: 10ch;
    font-size: clamp(2.6rem, 4.8vw, 3.7rem);
}

.page-header p {
    grid-column: auto;
    margin-bottom: 0;
    max-width: 52ch;
}

.breadcrumb {
    grid-column: 1 / -1;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    padding-top: 18px;
    border-top: 1px solid rgba(171, 122, 88, 0.12);
}

.hero {
    min-height: 100vh;
    padding: 0;
}

.hero + section {
    padding-top: clamp(64px, 9vw, 110px);
}

.hero .container {
    width: 100%;
    max-width: none;
    padding: 0;
}

.hero-stage {
    --hero-scroll-progress: 1;
    --hero-stage-width: 100%;
    --hero-stage-radius: 0px;
    --hero-video-inset: 0px;
    --hero-video-radius: 0px;
    position: relative;
    top: auto;
    min-height: 100vh;
    width: 100%;
    margin: 0 auto;
    padding: 0;
    border-radius: 0;
    background: transparent;
    border: 0;
    box-shadow: none;
    overflow: hidden;
}

.hero-stage::before {
    display: none;
}

.hero-video-layer {
    position: absolute;
    inset: var(--hero-video-inset);
    border-radius: var(--hero-video-radius);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    transition: inset 0.2s ease, border-radius 0.2s ease, box-shadow 0.2s ease;
}

.hero-grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
    align-items: end;
    min-height: 100vh;
    width: min(100%, 1180px);
    margin: 0 auto;
    padding: calc(82px + clamp(26px, 4vw, 50px)) 28px 28px;
}

.hero-copy {
    display: grid;
    gap: 16px;
    align-self: end;
    color: #fff;
    max-width: 640px;
    justify-items: center;
    text-align: center;
    margin: 0 auto;
}

.hero-copy p {
    max-width: 38ch;
    color: rgba(255, 248, 242, 0.86);
    font-size: 1rem;
    line-height: 1.55;
}

.hero-title {
    max-width: 14ch;
    color: #fff;
    text-shadow: 0 14px 34px rgba(29, 17, 10, 0.34);
    font-size: clamp(2.2rem, 4.6vw, 3.6rem);
    font-weight: 600;
    letter-spacing: -0.04em;
    line-height: 1.05;
}

.hero-meta-item strong,
.contact-info-card h4,
.footer-contact-item small {
    display: block;
    margin-bottom: 8px;
    font-size: 0.76rem;
    font-weight: 500;
    letter-spacing: 0.04em;
    text-transform: none;
    color: var(--text-muted);
}

.hero-actions,
.cta-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.hero-copy .hero-actions {
    justify-content: center;
}

.eyebrow {
    color: rgba(255, 248, 242, 0.8);
}

.hero-scroll,
.hero-glow,
.particles,
.meteors-container,
.section-title .divider {
    display: none !important;
}

.hero-video {
    display: block !important;
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    display: block !important;
    position: absolute;
    inset: 0;
    background:
        linear-gradient(120deg, rgba(10, 18, 32, 0.68) 0%, rgba(18, 38, 66, 0.36) 42%, rgba(92, 108, 136, 0.2) 100%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.03), transparent 34%, rgba(7, 13, 24, 0.22) 100%);
}

.section-title {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
    align-items: end;
    max-width: 760px;
    margin-bottom: 18px;
    text-align: left;
}

.section-title .section-label {
    grid-column: 1 / -1;
    margin-bottom: -2px;
    color: var(--accent-strong);
}

.section-title h2 {
    grid-column: auto;
    margin: 0;
}

.section-title .subtitle {
    grid-column: auto;
    max-width: 44ch;
    margin: 0;
}

.features-grid,
.trips-grid,
.testimonials-grid,
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
    width: 100%;
    margin: 0;
    align-items: stretch;
}

/* â”€â”€ Mixed Gallery Grid â”€â”€ */
.gallery-mixed {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    width: 100%;
    justify-content: center;
}
.gallery-cell {
    position: relative;
    border-radius: 14px;
    overflow: hidden;
    background: #f2ede7;
    cursor: pointer;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(0,0,0,0.06);
    transition: transform var(--transition), box-shadow var(--transition);
    aspect-ratio: 16 / 10;
    width: calc(33.333% - 11px);
    flex-shrink: 0;
    flex-grow: 0;
}
.gallery-cell:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}
/* Portrait cells â€” SAME landscape container, no aspect change */
.gallery-cell.is-portrait {
    /* keep same 16:10 landscape cell */
}
/* Blur background â€” always visible for all cells */
.gallery-blur-bg {
    position: absolute;
    inset: -20px;
    z-index: 0;
    overflow: hidden;
}
.gallery-blur-bg img,
.gallery-blur-bg video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: blur(28px) brightness(0.85);
    transform: scale(1.15);
}
/* Foreground media */
.gallery-media {
    position: relative;
    z-index: 1;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s ease;
}
.gallery-cell.is-portrait .gallery-media {
    object-fit: contain;
}
.gallery-cell:hover .gallery-media {
    transform: scale(1.04);
}
.gallery-cell.is-portrait:hover .gallery-media {
    transform: none;
}
/* Play button on video cells â€” always visible */
.gallery-play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(0,0,0,0.5);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: auto;
    border: 2px solid rgba(255,255,255,0.3);
    cursor: pointer;
    transition: background 0.2s, transform 0.2s;
}
.gallery-cell:hover .gallery-play-btn {
    background: rgba(0,0,0,0.65);
    transform: translate(-50%, -50%) scale(1.06);
}
.gallery-play-btn svg {
    width: 18px;
    height: 18px;
    fill: #fff;
    margin-left: 2px;
}
.gallery-play-btn .pause-icon { display: none; }
.gallery-cell.is-playing .gallery-play-btn .play-icon { display: none; }
.gallery-cell.is-playing .gallery-play-btn .pause-icon { display: block; }
/* Caption overlay â€” hidden for clean look */
.gallery-caption {
    display: none;
}

/* â”€â”€ Custom Video Player Overlay â”€â”€ */
.video-player-overlay {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 10000;
    background: rgba(0,0,0,0.92);
    align-items: center;
    justify-content: center;
}
.video-player-overlay.active {
    display: flex;
}
.video-player-close {
    position: absolute;
    top: 16px;
    right: 20px;
    width: 48px;
    height: 48px;
    background: none;
    border: none;
    color: #fff;
    font-size: 2.2rem;
    cursor: pointer;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.7;
    transition: opacity 0.2s;
}
.video-player-close:hover { opacity: 1; }
.video-player-wrap {
    position: relative;
    width: 90vw;
    max-width: 720px;
    max-height: 85vh;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.video-player-video {
    width: 100%;
    max-height: 80vh;
    border-radius: 12px;
    background: #000;
    object-fit: contain;
}
.video-player-controls {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    padding: 10px 4px 0;
}
.video-player-playpause,
.video-player-mute {
    width: 36px;
    height: 36px;
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    flex-shrink: 0;
}
.video-player-playpause svg,
.video-player-mute svg {
    width: 20px;
    height: 20px;
    fill: #fff;
    stroke: #fff;
    stroke-width: 1.5;
    stroke-linecap: round;
    stroke-linejoin: round;
}
.video-player-progress {
    flex: 1;
    height: 5px;
    background: rgba(255,255,255,0.2);
    border-radius: 3px;
    cursor: pointer;
    position: relative;
}
.video-player-progress-fill {
    height: 100%;
    width: 0%;
    background: #fff;
    border-radius: 3px;
    transition: width 0.1s linear;
}

.features-grid > *,
.trips-grid > *,
.testimonials-grid > *,
.gallery-grid > * {
    min-width: 0;
    height: 100%;
}

.feature-card,
.card,
.testimonial-card,
.contact-info-card,
.contact-form,
.trip-info-card,
.trip-section,
.booking-card,
.flight-card,
.gallery-item {
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
}

.feature-card {
    grid-column: auto;
    min-height: 0;
    height: 100%;
    padding: 18px;
    display: grid;
    grid-template-rows: auto auto 1fr;
    align-content: start;
    gap: 10px;
    transition: background-color var(--transition), color var(--transition), border-color var(--transition), transform var(--transition), box-shadow var(--transition);
}

.feature-card:hover {
    background: #f9f7f4;
    color: var(--text);
    border-color: rgba(192, 122, 75, 0.18);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.feature-card:hover h3,
.feature-card:hover p {
    color: inherit;
}

.feature-card h3 {
    font-family: var(--font-sans);
    min-height: 2.3em;
}

.feature-card p {
    max-width: none;
    font-size: 0.94rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.card {
    display: grid;
    grid-template-rows: auto 1fr;
    height: 100%;
    overflow: hidden;
    transition: border-color var(--transition), background-color var(--transition), transform var(--transition), box-shadow var(--transition);
}

.card:hover {
    border-color: rgba(192, 122, 75, 0.18);
    background: #fff;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.card-image {
    position: relative;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: #f2ede7;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.card:hover .card-image img {
    transform: scale(1.05);
}

.trip-origin-ribbon,
.card-status-ribbon {
    position: static;
    display: inline-flex;
    align-items: center;
    width: fit-content;
    padding: 6px 10px;
    border: 1px solid rgba(171, 122, 88, 0.16);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.76);
    color: var(--accent-strong);
}

.card-body {
    display: grid;
    grid-template-rows: auto auto 1fr auto;
    gap: 14px;
    height: 100%;
    padding: 18px;
}

.card-topline {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 12px;
    align-items: start;
}

.card-serial {
    color: rgba(192, 122, 75, 0.26);
    font-size: 1.14rem;
    font-weight: 300;
    line-height: 0.8;
    letter-spacing: -0.08em;
}

.card-title-group {
    display: grid;
    gap: 8px;
}

.card-kicker-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.card-kicker {
    color: var(--text-muted);
}

.card-title-group h3 {
    margin: 0;
    font-family: var(--font-sans);
    min-height: 2.4em;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.card-body > p {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.card-meta {
    display: grid;
    gap: 10px;
}

.card-meta-line {
    display: grid;
    grid-template-columns: 82px 1fr;
    gap: 10px;
    padding-top: 10px;
    border-top: 1px solid rgba(171, 122, 88, 0.1);
}

.card-meta-line:first-child {
    padding-top: 0;
    border-top: 0;
}

.card-meta-label {
    color: var(--text-muted);
}

.card-price {
    font-size: 1.18rem;
    font-weight: 600;
    letter-spacing: -0.05em;
    color: var(--text);
}

.card-price small {
    display: block;
    margin-top: 6px;
}

.card-footer {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 12px;
    padding-top: 18px;
    margin-top: 4px;
    border-top: var(--hairline-border);
}

/* New trip card chips + price tag */
.card-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 4px 0 8px;
}
.card-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #f5efe5;
    color: #6e574a;
    border: 1px solid rgba(171, 122, 88, 0.18);
    border-radius: 999px;
    padding: 5px 12px;
    font-size: 0.78rem;
    font-weight: 500;
    line-height: 1.2;
}
.card-chip-icon { width: 13px; height: 13px; opacity: .75; }

/* Price chip â€” same shape as other chips but copper-tinted so it stands out. */
.card-chip-price {
    background: linear-gradient(135deg, #c07a4b 0%, #a86439 100%);
    color: #fff;
    border-color: rgba(168, 100, 57, 0.4);
    font-weight: 600;
    box-shadow: 0 2px 6px rgba(168, 100, 57, 0.25);
}
.card-chip-price .card-chip-icon { opacity: 0.95; color: #fff; }

.card-price-tag {
    position: absolute;
    bottom: 14px;
    right: 14px;
    background: #ffffff;
    color: var(--text, #3C2415);
    border-radius: 14px;
    padding: 10px 14px 8px;
    box-shadow: 0 10px 28px rgba(60, 36, 21, 0.18);
    text-align: right;
    line-height: 1.05;
    z-index: 2;
}
.card-price-tag .card-price-amount {
    display: block;
    font-size: 1.55rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: #3C2415;
}
.card-price-tag small {
    display: block;
    margin-top: 4px;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #8B7355;
    font-weight: 500;
}
.card-price-tag--quote .card-price-amount { font-size: 1.2rem; }
@media (max-width: 480px) {
    .card-price-tag { bottom: 10px; right: 10px; padding: 8px 12px 6px; }
    .card-price-tag .card-price-amount { font-size: 1.3rem; }
}

.trips-origin-filter {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
    margin-bottom: 24px;
}

.trip-origin-filter-label {
    font-family: var(--font-sans);
    font-size: 0.82rem;
    font-weight: 500;
    white-space: nowrap;
}

.trips-origin-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.trip-origin-button,
.gallery-filter {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 0 12px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 999px;
    background: #fff;
    color: var(--text);
    font-size: 0.76rem;
    font-weight: 400;
    letter-spacing: 0;
    text-transform: none;
    cursor: pointer;
    box-shadow: var(--shadow-sm);
    transition: background-color var(--transition), color var(--transition), border-color var(--transition), transform var(--transition);
}

.trip-origin-button:hover,
.trip-origin-button.active,
.gallery-filter:hover,
.gallery-filter.active {
    background: rgba(192, 122, 75, 0.16);
    color: var(--accent-strong);
    border-color: rgba(171, 122, 88, 0.18);
    transform: none;
}

#trips-status-note {
    margin-bottom: 24px;
    padding: 16px 18px;
    border: var(--hairline-border);
    color: var(--text-subtle);
}

.about-grid,
.contact-grid,
.trip-detail-layout {
    display: grid;
    gap: 32px;
    align-items: start;
}

.about-grid,
.contact-grid {
    grid-template-columns: minmax(320px, 0.92fr) minmax(0, 1.08fr);
}

.trip-detail-layout {
    grid-template-columns: minmax(0, 1.18fr) minmax(320px, 0.82fr);
}

.about-image {
    grid-column: auto;
    overflow: hidden;
    background: #f2ede7;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

.about-image img {
    width: 100%;
    height: 100%;
    min-height: 100%;
    object-fit: cover;
    aspect-ratio: 4 / 5;
}

.about-content {
    grid-column: auto;
    display: grid;
    gap: 14px;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 16px;
    border: 0;
    background: transparent;
}

.stat-item {
    background: #fff;
    padding: 28px 24px;
    text-align: center;
    border-radius: var(--radius);
    border: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.stat-number {
    color: var(--accent-strong);
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 700;
    line-height: 1;
    letter-spacing: -0.04em;
    font-family: var(--font-sans);
}

.stat-label {
    margin-top: 6px;
    font-size: 0.82rem;
    font-weight: 500;
    color: var(--text-subtle);
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.gallery-item {
    position: relative;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    cursor: pointer;
    background: #f2ede7;
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    transition: transform var(--transition), box-shadow var(--transition);
}

.gallery-item:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-overlay {
    position: absolute;
    inset: auto 0 0 0;
    padding: 16px 18px;
    background: linear-gradient(to top, rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0));
    color: var(--text);
    opacity: 1;
}

.contact-grid > :first-child {
    grid-column: auto;
}

.contact-grid > :last-child {
    grid-column: auto;
}

.contact-info-cards {
    display: grid;
    gap: 16px;
}

.contact-info-card {
    padding: 24px;
    transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.contact-info-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    border-color: rgba(192, 122, 75, 0.16);
}

.contact-form {
    padding: 32px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label,
.bk-form-group label {
    display: block;
    margin-bottom: 10px;
    font-size: 0.74rem;
    font-weight: 500;
    letter-spacing: 0.02em;
    text-transform: none;
    color: var(--text-muted);
}

.form-control,
.bk-input {
    width: 100%;
    min-height: 52px;
    padding: 0 16px;
    border: 1px solid rgba(0, 0, 0, 0.10);
    border-radius: 12px;
    background: #fff;
    color: var(--text);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.38);
    transition: border-color var(--transition), background-color var(--transition), box-shadow var(--transition);
}

textarea.form-control,
textarea.bk-input {
    min-height: 132px;
    padding: 14px 16px;
    resize: vertical;
}

.form-control:focus,
.bk-input:focus {
    outline: none;
    border-color: rgba(192, 122, 75, 0.34);
    box-shadow: 0 0 0 4px rgba(192, 122, 75, 0.12);
}

.form-row,
.booking-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.testimonials-grid {
    align-items: start;
}

.testimonial-card {
    height: 100%;
    padding: 22px;
    display: grid;
    grid-template-rows: 1fr auto;
    gap: 20px;
    transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.testimonial-card::before,
.testimonial-avatar {
    display: none !important;
}

.testimonial-text {
    color: var(--text);
}

.testimonial-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    border-color: rgba(192, 122, 75, 0.16);
}

.testimonial-author {
    display: grid;
    gap: 6px;
    padding-top: 18px;
    border-top: var(--hairline-border);
}

.testimonial-name {
    font-size: 0.95rem;
    font-weight: 500;
    letter-spacing: -0.03em;
    color: var(--text);
}

.cta-section {
    padding: 60px 0 78px;
}

.cta-section .container {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr) auto;
    gap: 28px;
    align-items: end;
    padding: clamp(26px, 4vw, 38px);
    border-radius: var(--radius-lg);
    background: #fff;
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(0, 0, 0, 0.06);
}

.cta-section h2 {
    grid-column: auto;
}

.cta-section p {
    grid-column: auto;
    margin: 0;
}

.cta-section .cta-actions,
.cta-section > .container > div:last-child {
    grid-column: auto;
    justify-content: flex-end;
}

.footer {
    padding: 0 0 24px;
    background: transparent;
    color: var(--text);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 0;
    margin-bottom: 18px;
    padding: 14px;
    border-radius: var(--radius-lg);
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: var(--shadow-sm);
}

.footer-panel {
    min-height: 220px;
    padding: 28px 20px 32px;
}

.footer-panel + .footer-panel {
    border-left: 1px solid rgba(171, 122, 88, 0.1);
}

.footer-brand {
    grid-column: span 7;
}

.footer-logo {
    height: 24px;
    width: auto;
    margin-bottom: 10px;
    opacity: 0.8;
}

.footer-grid .footer-panel:nth-child(2) {
    grid-column: span 2;
}

.footer-grid .footer-panel:nth-child(3) {
    grid-column: span 3;
}

.footer-brand-title {
    font-family: var(--font-display);
    font-size: 1.08rem;
    font-weight: 400;
    letter-spacing: -0.03em;
    line-height: 1;
    margin-bottom: 10px;
    color: var(--text);
}

.feature-icon,
.contact-card-icon,
.trip-info-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 999px;
    background: rgba(192, 122, 75, 0.10);
    color: var(--accent-strong);
    border: 1px solid rgba(171, 122, 88, 0.14);
}

.feature-icon svg,
.contact-card-icon svg,
.trip-info-icon svg,
.card-meta svg {
    width: 15px !important;
    height: 15px !important;
    stroke-width: 1.6;
}

.feature-card .feature-icon {
    margin-bottom: 4px;
}

.contact-card-icon {
    margin-bottom: 12px;
}

.footer-links {
    list-style: none;
    display: grid;
    gap: 10px;
}

.footer-links a,
.footer-contact-item a,
.footer-contact-item span {
    color: var(--text-subtle);
}

.footer-links a:hover,
.footer-contact-item a:hover {
    color: var(--text);
}

.footer-contact-item {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 8px;
    margin-bottom: 10px;
}
.footer-contact-item small {
    display: inline-block;
    margin: 0;
    flex-shrink: 0;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding-top: 18px;
    border-top: 1px solid rgba(171, 122, 88, 0.12);
}

.footer-bottom a:hover {
    color: var(--accent-strong);
}

.trip-detail-main {
    grid-column: auto;
}

.trip-detail-sidebar {
    grid-column: auto;
}

.trip-info-card,
.trip-section,
.booking-card {
    padding: 24px 22px;
    margin-bottom: 20px;
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
}

.trip-info-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.trip-info-item {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    padding-top: 14px;
    border-top: var(--hairline-border);
}

.trip-info-icon {
    flex-shrink: 0;
    margin-top: 2px;
}

.trip-info-item strong {
    display: block;
    margin-bottom: 8px;
    font-size: 0.74rem;
    font-weight: 500;
    letter-spacing: 0.02em;
    text-transform: none;
    color: var(--text-muted);
}

.trip-section h2 {
    margin-bottom: 18px;
    font-size: clamp(1.28rem, 2vw, 1.72rem);
}

.itinerary-day {
    padding-top: 18px;
    border-top: var(--hairline-border);
    margin-top: 18px;
}

.itinerary-day:first-child {
    margin-top: 0;
}

.itinerary-day-title {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: baseline;
    margin-bottom: 14px;
}

.itinerary-day-title small {
    color: var(--text-muted);
}

.itinerary-stop {
    display: grid;
    grid-template-columns: 110px 1fr;
    gap: 16px;
    padding: 14px 0;
    border-top: var(--hairline-border);
}

.itinerary-stop:first-of-type {
    border-top: 0;
}

.itinerary-time {
    font-size: 0.74rem;
    font-weight: 500;
    letter-spacing: 0.02em;
    text-transform: none;
    color: var(--text-muted);
}

.itinerary-text-summary {
    margin-top: 18px;
    padding-top: 18px;
    border-top: var(--hairline-border);
}

.flight-cards {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.flight-card {
    padding: 20px;
    border-radius: 22px;
}

.flight-card h4 {
    margin-bottom: 12px;
}

.flight-meta-list {
    padding-left: 18px;
    color: var(--text-subtle);
}

.flight-meta-list li + li {
    margin-top: 8px;
}

.booking-card {
    position: sticky;
    top: 96px;
    box-shadow: var(--shadow-md);
}

.booking-card-price {
    display: grid;
    gap: 10px;
    padding-bottom: 18px;
    margin-bottom: 18px;
    border-bottom: var(--hairline-border);
}

.price-amount {
    font-size: clamp(2.2rem, 4vw, 3.2rem);
    font-weight: 600;
    letter-spacing: -0.06em;
    line-height: 0.9;
}

.booking-inline-alert {
    padding: 14px 16px;
    margin-bottom: 16px;
    border: 1px solid rgba(171, 122, 88, 0.14);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.74);
    color: var(--text-subtle);
}

.booking-inline-alert.is-error {
    background: #f7f7f7;
    border-color: var(--line-strong);
    color: var(--text);
}

.booking-quick-points {
    display: grid;
    gap: 12px;
    margin-bottom: 18px;
}

.booking-point {
    padding-top: 16px;
    border-top: var(--hairline-border);
    color: var(--text-subtle);
    line-height: 1.7;
}

.booking-point:first-child {
    padding-top: 0;
    border-top: 0;
}

.booking-form-actions {
    display: flex;
    gap: 12px;
    margin-top: 24px;
}

.booking-submit-btn {
    flex: 1;
    justify-content: center;
}

.booking-card-note,
.trip-booking-intro {
    color: var(--text-subtle);
}

.trip-empty-state {
    padding: 48px 32px;
    border: 1px solid rgba(171, 122, 88, 0.14);
    border-radius: var(--radius-lg);
    background: var(--surface);
    box-shadow: var(--shadow-sm);
}

.whatsapp-float {
    position: fixed;
    right: 24px;
    bottom: calc(24px + env(safe-area-inset-bottom));
    z-index: 980;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-height: 48px;
    padding: 0 14px;
    border: 1px solid rgba(18, 140, 126, 0.28);
    border-radius: 999px;
    background: linear-gradient(135deg, #25d366, #1fb857);
    color: #fff;
    box-shadow: 0 16px 30px rgba(37, 211, 102, 0.22);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    text-transform: none;
    transition: transform var(--transition), box-shadow var(--transition), background-color var(--transition), border-color var(--transition);
}

.whatsapp-float:hover {
    background: linear-gradient(135deg, #1da851, #128c7e);
    color: #fff;
    box-shadow: 0 22px 44px rgba(18, 140, 126, 0.28);
}

.whatsapp-float__icon,
.whatsapp-float__icon svg {
    width: 18px;
    height: 18px;
}

.whatsapp-float__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.whatsapp-float__icon svg {
    display: block;
}

.whatsapp-float__label {
    line-height: 1;
}

.lightbox {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 10000;
    background: rgba(0, 0, 0, 0.6);
    align-items: center;
    justify-content: center;
}

.lightbox.active {
    display: flex;
}

/* Blurred background image behind lightbox */
.lightbox-blur-bg {
    position: absolute;
    inset: -40px;
    z-index: 0;
    background-size: cover;
    background-position: center;
    filter: blur(40px) brightness(0.35) saturate(1.2);
    transform: scale(1.15);
    pointer-events: none;
    transition: background-image 0.3s ease;
}

/* Side preview strips */
.lightbox-side {
    display: none;
}

/* Prev/Next navigation images */
.lightbox-nav {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 120px;
    flex-shrink: 0;
    padding: 0 20px;
    cursor: pointer;
    transition: opacity 0.2s;
    opacity: 0.45;
}
.lightbox-nav:hover {
    opacity: 0.85;
}
.lightbox-nav img,
.lightbox-nav video {
    max-width: 100%;
    max-height: 45vh;
    border-radius: 10px;
    object-fit: contain;
    box-shadow: 0 4px 24px rgba(0,0,0,0.3);
    transition: transform 0.3s cubic-bezier(.4,0,.2,1), opacity 0.3s ease;
}
.lightbox-nav:hover img,
.lightbox-nav:hover video {
    transform: scale(1.06);
}

.lightbox-main {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 1;
    min-height: 0;
    min-width: 0;
    padding: 40px 24px;
}

.lightbox-main img,
.lightbox-main video {
    max-width: 100%;
    max-height: 82vh;
    border-radius: 10px;
    object-fit: contain;
    box-shadow: 0 8px 60px rgba(0,0,0,0.4);
    transition: transform 0.35s cubic-bezier(.4,0,.2,1), opacity 0.3s ease;
}

/* Lightbox item transition animation */
.lightbox-main img.lb-entering,
.lightbox-main video.lb-entering {
    transform: scale(0.88);
    opacity: 0;
}
.lightbox-main img.lb-active,
.lightbox-main video.lb-active {
    transform: scale(1);
    opacity: 1;
}

.lightbox-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 44px;
    height: 44px;
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    font-size: 1.6rem;
    cursor: pointer;
    z-index: 10;
    transition: background 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-close:hover {
    background: rgba(255, 255, 255, 0.22);
}

.lightbox-counter {
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.82rem;
    font-weight: 500;
    letter-spacing: 0.04em;
    z-index: 5;
}

/* Bottom thumbs hidden on desktop â€” using side panels instead */
.lightbox-thumbs {
    display: none;
}

.lightbox-thumb {
    width: 56px;
    height: 42px;
    border-radius: 6px;
    overflow: hidden;
    cursor: pointer;
    opacity: 0.4;
    border: 2px solid transparent;
    flex-shrink: 0;
    transition: opacity 0.2s, border-color 0.2s;
}

.lightbox-thumb.active {
    opacity: 1;
    border-color: var(--accent);
}

.lightbox-thumb:hover {
    opacity: 0.8;
}

.lightbox-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Gallery mixed grid responsive */
@media (max-width: 820px) {
    .gallery-mixed {
        gap: 10px;
    }
    .gallery-cell { width: calc(33.333% - 7px); }
    .gallery-cell.is-portrait { width: calc(33.333% - 7px); }
    .lightbox-nav { display: none; }
    .lightbox-thumbs { display: flex; gap: 6px; padding: 12px 20px 20px; overflow-x: auto; max-width: 100%; justify-content: center; }
    .lightbox-main { padding: 60px 16px 8px; }
    .lightbox-main img, .lightbox-main video { max-height: 65vh; }
}

@media (max-width: 560px) {
    .gallery-mixed {
        gap: 8px;
    }
    .gallery-cell { width: calc(50% - 4px); }
    .gallery-cell.is-portrait { width: calc(50% - 4px); }
    .gallery-play-btn { width: 36px; height: 36px; }
    .gallery-play-btn svg { width: 14px; height: 14px; }
    .lightbox-main { padding: 52px 8px 8px; }
    .lightbox-thumbs { padding: 8px 12px 16px; }
    .lightbox-thumb { width: 36px; height: 28px; }
}

/* Chevron arrow buttons â€” basic next/prev buttons overlaid on the lightbox.
   Visible on desktop AND on mobile (where the thumbnail-strip nav is hidden). */
.lightbox-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: rgba(10, 22, 40, 0.55);
    border: 1px solid rgba(255,255,255,0.15);
    color: #fff;
    cursor: pointer;
    z-index: 6;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    transition: background 0.2s ease, transform 0.2s ease, opacity 0.2s ease;
    opacity: 0.85;
}
.lightbox-arrow:hover { background: rgba(192, 122, 75, 0.85); opacity: 1; transform: translateY(-50%) scale(1.06); }
.lightbox-arrow-prev { left: 18px; }
.lightbox-arrow-next { right: 18px; }
.lightbox-arrow svg { display: block; }

/* Mobile: fullscreen, larger tap target arrows, dim look */
@media (max-width: 820px) {
    .lightbox { padding: 0 !important; }
    .lightbox-main { padding: env(safe-area-inset-top, 12px) 0 0 !important; align-items: center; }
    .lightbox-main img, .lightbox-main video {
        max-height: 100vh !important;
        max-width: 100vw !important;
        border-radius: 0 !important;
        width: 100vw;
        object-fit: contain;
    }
    .lightbox-arrow { width: 44px; height: 44px; opacity: 0.7; }
    .lightbox-arrow-prev { left: 10px; }
    .lightbox-arrow-next { right: 10px; }
    .lightbox-close { top: calc(env(safe-area-inset-top, 8px) + 8px); right: 10px; }
    .lightbox-thumbs { display: none !important; }
    .lightbox-counter { top: calc(env(safe-area-inset-top, 8px) + 14px); }
}

.alert {
    padding: 14px 16px;
    border: 1px solid rgba(171, 122, 88, 0.14);
    border-radius: 18px;
    margin-bottom: 16px;
}

.alert-success,
.alert-error,
.alert-warning,
.alert-info {
    background: var(--surface);
    color: var(--text);
}

.loading-spinner {
    width: 30px;
    height: 30px;
    border: 2px solid rgba(171, 122, 88, 0.16);
    border-top-color: var(--accent);
    border-radius: 50%;
    animation: spin 0.75s linear infinite;
    margin: 0 auto 16px;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

@media (max-width: 1100px) {
    .page-header h1,
    .section-title h2,
    .cta-section h2 {
        grid-column: 1 / -1;
    }

    .page-header p,
    .section-title .subtitle,
    .cta-section p,
    .cta-section .cta-actions,
    .cta-section > .container > div:last-child {
        grid-column: 1 / -1;
    }

    .hero-grid,
    .page-header .container,
    .section-title,
    .cta-section .container,
    .about-grid,
    .contact-grid,
    .trip-detail-layout {
        grid-template-columns: 1fr;
    }

    .hero-copy,
    .about-image,
    .about-content,
    .trip-detail-main,
    .trip-detail-sidebar,
    .contact-grid > :first-child,
    .contact-grid > :last-child {
        grid-column: auto;
    }

    .features-grid,
    .trips-grid,
    .testimonials-grid,
    .gallery-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .feature-card,
    .footer-brand,
    .footer-grid .footer-panel:nth-child(2),
    .footer-grid .footer-panel:nth-child(3) {
        grid-column: span 6;
    }
}

@media (max-width: 820px) {
    .navbar .container {
        grid-template-columns: 1fr auto;
    }

    .mobile-toggle {
        display: inline-flex;
        grid-column: 2;
        grid-row: 1;
        justify-self: end;
    }

    .nav-links {
        position: fixed;
        top: 0;
        left: 0;
        bottom: 0;
        right: 0;
        width: 100%;
        height: 100vh;
        height: 100dvh;
        flex-direction: column;
        gap: 0;
        padding: 0 32px 40px;
        padding-top: 80px;
        border-left: 0;
        background: #fff;
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
        transform: translateX(-100%);
        transition: transform 0.32s cubic-bezier(.4,0,.2,1);
        z-index: 999;
        overflow-y: auto;
        display: flex;
        align-items: flex-start;
    }

    .nav-links.open {
        transform: translateX(0);
    }

    /* Close button inside drawer */
    .nav-close {
        display: flex;
        align-items: center;
        justify-content: center;
        position: absolute;
        top: 18px;
        right: 18px;
        width: 56px;
        height: 56px;
        border-radius: 0;
        border: none;
        background: transparent;
        cursor: pointer;
        z-index: 1002;
        font-size: 2rem;
        color: var(--text);
        transition: color 0.2s;
    }

    .nav-close:hover {
        color: var(--accent-strong);
    }

    /* Dim backdrop */
    .nav-backdrop {
        display: none;
        position: fixed;
        inset: 0;
        background: rgba(0, 0, 0, 0.4);
        z-index: 998;
        transition: opacity 0.3s ease;
    }

    .nav-backdrop.open {
        display: block;
    }

    /* Contact info inside drawer */
    .nav-drawer-contact {
        display: flex;
        flex-direction: column;
        gap: 14px;
        margin-top: auto;
        padding-top: 28px;
        border-top: 1px solid rgba(171, 122, 88, 0.1);
        width: 100%;
    }

    .nav-drawer-contact a,
    .nav-drawer-contact span {
        display: flex;
        align-items: center;
        gap: 10px;
        font-size: 0.88rem;
        color: var(--text-subtle);
        text-decoration: none;
        border-bottom: none !important;
        min-height: auto;
        padding: 0;
        text-transform: none;
        letter-spacing: 0;
        font-weight: 400;
    }

    .nav-drawer-contact a:hover {
        color: var(--accent-strong);
    }

    .nav-drawer-contact svg {
        width: 18px;
        height: 18px;
        flex-shrink: 0;
        stroke: currentColor;
        fill: none;
        stroke-width: 2;
        stroke-linecap: round;
        stroke-linejoin: round;
    }

    .nav-links > a {
        min-height: 54px;
        padding: 0 4px;
        justify-content: flex-start;
        border-radius: 0;
        font-size: 1.05rem;
        font-weight: 500;
        letter-spacing: 0.04em;
        text-transform: none;
        border-bottom: 1px solid rgba(0, 0, 0, 0.07);
        color: var(--text);
        width: 100%;
    }

    .nav-links a:hover,
    .nav-links a.active {
        border-bottom-color: var(--accent-strong);
    }

    .nav-links a.nav-manage-booking {
        background: none;
        color: var(--accent-strong);
        border-radius: 0;
        border-bottom: 1px solid rgba(0, 0, 0, 0.07);
        margin: 0;
        width: 100%;
        text-align: left;
        justify-content: flex-start;
        min-height: 54px;
        font-size: 1.05rem;
        font-weight: 500;
        letter-spacing: 0.04em;
        text-transform: none;
        padding: 0 4px;
    }

    section {
        padding: 60px 0;
    }

    .hero {
        min-height: auto;
        padding-top: 0;
        margin-bottom: 24px;
    }

    .hero-copy {
        gap: 24px;
        padding: 0;
    }

    .hero-meta,
    .trip-info-grid,
    .flight-cards,
    .form-row,
    .booking-form-grid,
    .about-stats {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .features-grid,
    .trips-grid,
    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .feature-card,
    .footer-brand,
    .footer-grid .footer-panel:nth-child(2),
    .footer-grid .footer-panel:nth-child(3) {
        grid-column: 1 / -1;
    }

    .footer-panel + .footer-panel {
        border-left: 0;
        border-top: 1px solid rgba(171, 122, 88, 0.1);
    }

    .footer-bottom {
        flex-direction: column;
    }

    .card-topline,
    .card-footer,
    .cta-actions,
    .booking-form-actions {
        flex-direction: column;
        align-items: flex-start;
    }

    .card-meta-line,
    .itinerary-stop {
        grid-template-columns: 1fr;
    }

    .contact-form {
        padding: 24px;
    }

    .booking-card {
        position: static;
    }

    .whatsapp-float {
        right: 16px;
        bottom: calc(16px + env(safe-area-inset-bottom));
        min-height: 48px;
        padding: 0 12px;
    }

    .hero-stage {
        position: relative;
        top: 0;
        width: 100%;
        min-height: 74vh;
    }

    .hero-video-layer {
        inset: 0;
        border-radius: 0;
    }
}

@media (max-width: 560px) {
    .container {
        padding: 0 16px;
    }

    h1 {
        font-size: clamp(2.15rem, 11vw, 3rem);
    }

    h2 {
        font-size: clamp(1.36rem, 5.8vw, 1.72rem);
    }

    .hero-grid {
        padding: calc(82px + 22px) 16px 24px;
    }

    .nav-logo-image {
        height: 30px;
    }

    .nav-links {
        width: 100%;
    }

    .footer-panel {
        min-height: auto;
        padding: 24px 0;
    }

    .whatsapp-float__label {
        display: none;
    }

    .whatsapp-float {
        width: 48px;
        height: 48px;
        min-height: 48px;
        padding: 0;
        justify-content: center;
    }

    section {
        padding: 44px 0;
    }

    .booking-success-card {
        padding: 28px 20px;
    }
}

/* =============================================
   CARD ORIGIN BADGE - positioned on card image
   ============================================= */
.card-origin-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 2;
    width: fit-content;
    max-width: max-content;
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    padding: 5px 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(8px);
    color: var(--accent-strong);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    border: 1px solid rgba(171, 122, 88, 0.12);
}

/* =============================================
   HERO SECTION - title higher, buttons centered
   ============================================= */
.hero-copy {
    align-self: center;
}

.hero-grid {
    align-items: center;
    padding-bottom: 18vh;
}

/* =============================================
   HERO ANIMATION - thicker frame first, then scroll
   ============================================= */
.hero-stage {
    --hero-frame-thickness: 0px;
}

.hero-video-layer {
    border: var(--hero-frame-thickness) solid #f4f1ed;
}

/* =============================================
   TRIPS PAGE - filter layout fixes
   ============================================= */
.trip-origin-button,
.gallery-filter {
    font-family: var(--font-sans);
    font-size: 0.76rem;
    box-shadow: none;
}

/* Trips page heading in one row and bigger */
.page-trips .section-title h2 {
    white-space: nowrap;
    font-size: clamp(1.6rem, 2.6vw, 2.5rem);
}

/* =============================================
   TRIP DETAIL PAGE - name in one row
   ============================================= */
.page-header h1 {
    max-width: none;
    white-space: normal;
}

/* Trip title in card should not wrap each word */
.card-title-group h3 {
    min-height: auto;
    -webkit-line-clamp: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: block;
}

/* =============================================
   BUTTON HOVER - text slide-up effect
   ============================================= */
.btn {
    overflow: hidden;
}

/* Button text slide-up hover */
.btn-text {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    gap: inherit;
    position: relative;
    z-index: 1;
    transition: transform 0.28s cubic-bezier(.4, 0, .2, 1), opacity 0.18s ease;
}

.btn:hover .btn-text,
.btn:focus-visible .btn-text {
    transform: translateY(-180%);
    opacity: 0;
}

.btn[data-text]::after {
    content: attr(data-text);
    position: absolute;
    inset: 0;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transform: translateY(180%);
    transition: transform 0.28s cubic-bezier(.4, 0, .2, 1);
    color: inherit;
    font-size: inherit;
    font-weight: inherit;
    letter-spacing: inherit;
    text-transform: inherit;
    pointer-events: none;
}

.btn:hover[data-text]::after,
.btn:focus-visible[data-text]::after {
    transform: translateY(0);
}



/* =============================================
   ITINERARY CARDS - small location cards styling
   ============================================= */
.itinerary-cards-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 12px;
}

.itinerary-location-card {
    display: inline-flex;
    flex-direction: column;
    gap: 2px;
    padding: 10px 16px;
    background: var(--surface);
    border: 1px solid rgba(171, 122, 88, 0.14);
    border-radius: 14px;
    min-width: 100px;
}

.itinerary-location-card strong {
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--text);
    line-height: 1.2;
}

.itinerary-location-card span {
    font-size: 0.72rem;
    color: var(--text-muted);
    font-weight: 400;
}

/* Itinerary day tabs */
.itin-day-tabs {
    display: flex;
    gap: 6px;
    margin-bottom: 16px;
    border-bottom: var(--hairline-border);
    padding-bottom: 0;
}

.itin-day-tab {
    padding: 8px 18px;
    font-family: var(--font-sans);
    font-size: 0.82rem;
    font-weight: 500;
    color: var(--text-subtle);
    background: none;
    border: none;
    border-bottom: 2px solid transparent;
    cursor: pointer;
    transition: color var(--transition), border-color var(--transition);
    margin-bottom: -1px;
}

.itin-day-tab:hover {
    color: var(--text);
}

.itin-day-tab.active {
    color: var(--accent-strong);
    border-bottom-color: var(--accent-strong);
}

.itin-day-panel {
    display: none;
    flex-direction: column;
    gap: 8px;
}

.itin-day-panel.active {
    display: flex;
}

.itin-stop-card {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 16px;
    background: var(--surface);
    border: 1px solid rgba(171, 122, 88, 0.12);
    border-radius: 12px;
}

.itin-stop-time {
    font-family: var(--font-sans);
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--accent-strong);
    white-space: nowrap;
    min-width: 52px;
}

.itin-stop-name {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text);
}

.itin-stop-desc {
    font-size: 0.78rem;
    color: var(--text-subtle);
    margin-left: auto;
}

/* =============================================
   BOOKING CARD SIDEBAR - cleaner
   ============================================= */
.booking-card {
    box-shadow: none;
    border: 1px solid rgba(171, 122, 88, 0.18);
}

.booking-sidebar-summary {
    margin-bottom: 24px;
}

/* =============================================
   BOOKING SUCCESS - centered card, no serif
   ============================================= */
.page-trips .trip-section {
    font-family: var(--font-sans);
}

.booking-success-card {
    max-width: 560px;
    margin: 0 auto;
    padding: 48px 36px;
    background: var(--surface);
    border: 1px solid rgba(171, 122, 88, 0.16);
    border-radius: var(--radius-lg);
    text-align: center;
    font-family: var(--font-sans);
    line-height: 1.8;
}

.booking-success-icon {
    margin-bottom: 20px;
}

.booking-success-card h2 {
    font-family: var(--font-sans);
    font-weight: 600;
    font-size: 1.4rem;
    margin-bottom: 20px;
}

.booking-success-card p {
    font-size: 0.92rem;
    margin-bottom: 12px;
    line-height: 1.8;
}

.booking-ref-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 20px 28px;
    background: rgba(192, 122, 75, 0.06);
    border: 1px solid rgba(171, 122, 88, 0.18);
    border-radius: var(--radius);
    margin: 20px auto 24px;
    max-width: 320px;
}

.booking-ref-label {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--text-subtle);
    font-weight: 500;
}

.booking-ref-number {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--accent-strong);
    letter-spacing: 1px;
    font-family: var(--font-sans);
}

.booking-success-card .hero-actions {
    justify-content: center;
    margin-top: 20px;
}

/* =============================================
   TRIP DETAIL - sidebar itinerary, better booking flow
   ============================================= */
.booking-card .itinerary-cards-grid {
    margin-bottom: 16px;
}

/* Booking form - more spacing */
.booking-form-grid {
    gap: 16px;
    margin-bottom: 12px;
}

.bk-form-group {
    margin-bottom: 4px;
}

/* =============================================
   CARD + SURFACE STYLING - clear contrast, no outlines
   ============================================= */
.feature-card,
.card,
.testimonial-card,
.contact-info-card,
.contact-form,
.trip-info-card,
.trip-section,
.booking-card,
.flight-card,
.gallery-item {
    box-shadow: none;
}

.trip-empty-state {
    box-shadow: none;
}

.footer-grid {
    box-shadow: none;
}

.cta-section .container {
    box-shadow: none;
}

.about-image {
    box-shadow: none;
}

.contact-form {
    box-shadow: none;
}

/* =============================================
   ERROR PAGE (404 / generic)
   ============================================= */
.error-page {
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 80px 0;
}

.error-card {
    max-width: 480px;
    margin: 0 auto;
    text-align: center;
    background: var(--paper, #fefcfa);
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 24px;
    padding: 52px 40px 44px;
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.05);
}

.error-code {
    display: block;
    font-family: var(--font-display, var(--font-sans));
    font-size: clamp(3rem, 10vw, 4.5rem);
    font-weight: 800;
    line-height: 1;
    color: var(--accent-strong);
    margin-bottom: 12px;
    letter-spacing: -0.03em;
}

.error-title {
    font-family: var(--font-display, var(--font-sans));
    font-size: clamp(1.1rem, 2.5vw, 1.35rem);
    font-weight: 600;
    color: var(--text-dark, #2a1f14);
    margin-bottom: 14px;
    line-height: 1.4;
}

.error-message {
    font-size: 0.92rem;
    color: var(--text-light, #7a6e62);
    line-height: 1.7;
    margin-bottom: 28px;
}

.error-actions {
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 28px;
}

.error-note {
    font-size: 0.78rem;
    color: var(--text-light, #7a6e62);
    font-style: italic;
    line-height: 1.6;
    max-width: 360px;
    margin: 0 auto;
}

@media (max-width: 560px) {
    .error-card {
        padding: 36px 24px 32px;
        border-radius: 18px;
    }
}

/* â”€â”€ Gallery: wider grid + slimmer side margins.
   Goal: same-ish thumbnail size, less margin left/right, more thumbs per row.
   The site's narrow .container is overridden ONLY when it directly contains
   .gallery-mixed (so the rest of the page stays as-is). */
.gallery-mixed { width: 100%; max-width: 1920px; margin-left: auto; margin-right: auto; }

@media (min-width: 1024px) {
    section .container:has(> .gallery-mixed) {
        max-width: none;
        padding-left: 32px;
        padding-right: 32px;
    }
    .gallery-mixed { gap: 12px; }
    .gallery-mixed .gallery-cell { width: calc(25% - 9px); }   /* 4 per row */
}
@media (min-width: 1280px) {
    section .container:has(> .gallery-mixed) { padding-left: 28px; padding-right: 28px; }
    .gallery-mixed .gallery-cell { width: calc(20% - 10px); }  /* 5 per row */
}
@media (min-width: 1600px) {
    section .container:has(> .gallery-mixed) { padding-left: 24px; padding-right: 24px; }
    .gallery-mixed .gallery-cell { width: calc(16.6666% - 10px); } /* 6 per row */
}
@media (min-width: 1920px) {
    .gallery-mixed .gallery-cell { width: calc(14.2857% - 11px); } /* 7 per row */
}

/* â”€â”€ Inspire strip on private-trips page: 1-row horizontal scroller with arrows â”€â”€ */
.inspire-strip {
    position: relative;
    width: 100%;
}
.inspire-strip-track {
    display: flex;
    gap: 14px;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-behavior: smooth;
    scrollbar-width: none;
    padding: 6px 4px 18px;
    -webkit-overflow-scrolling: touch;
}
.inspire-strip-track::-webkit-scrollbar { display: none; }
.inspire-strip-track .inspire-cell {
    flex: 0 0 auto;
    width: 260px;
    aspect-ratio: 16 / 10;
    cursor: pointer;
}
@media (min-width: 768px) {
    .inspire-strip-track .inspire-cell { width: 300px; }
}
@media (min-width: 1280px) {
    .inspire-strip-track .inspire-cell { width: 320px; }
}
.inspire-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 5;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid rgba(0,0,0,0.08);
    background: rgba(255,255,255,0.95);
    color: var(--copper, #c07a4b);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(0,0,0,0.12);
    transition: transform 0.2s, background 0.2s;
}
.inspire-arrow:hover { transform: translateY(-50%) scale(1.07); background: #fff; }
.inspire-arrow-prev { left: -8px; }
.inspire-arrow-next { right: -8px; }
@media (max-width: 600px) {
    .inspire-arrow { width: 38px; height: 38px; }
    .inspire-arrow-prev { left: 4px; }
    .inspire-arrow-next { right: 4px; }
}

/* â”€â”€ Gallery: hover-play autoplay, no play/pause button â”€â”€ */
.gallery-play-btn { display: none !important; }

/* Small "video" badge so the user knows a cell will play on hover. */
.gallery-video-badge {
    position: absolute; top: 10px; right: 10px;
    width: 30px; height: 30px; border-radius: 50%;
    background: rgba(0,0,0,0.55); color: #fff;
    display: inline-flex; align-items: center; justify-content: center;
    backdrop-filter: blur(4px);
    opacity: 0.9; transition: opacity 0.2s;
    pointer-events: none; z-index: 2;
}
.gallery-cell.is-playing .gallery-video-badge { opacity: 0; }

/* â”€â”€ Lightbox: remove side thumbnail previews (keep arrow buttons only) â”€â”€ */
.lightbox-nav,
.lightbox-nav-prev,
.lightbox-nav-next { display: none !important; }
.lightbox-main { padding-left: 80px !important; padding-right: 80px !important; }
@media (max-width: 768px) {
    .lightbox-main { padding-left: 16px !important; padding-right: 16px !important; }
}

/* === Trust strip on /trips page === */
.trust-strip-section { padding: 18px 0 4px; }
.trust-strip { display:flex; flex-wrap:wrap; gap:14px 22px; align-items:center; justify-content:space-between; background:var(--cream,#fefcfa); border:1px solid rgba(0,0,0,0.06); border-radius:14px; padding:14px 18px; box-shadow:var(--shadow-sm); }
.trust-strip-left, .trust-strip-right { display:flex; flex-wrap:wrap; gap:10px 14px; align-items:center; }
.trust-pill { display:inline-flex; align-items:center; gap:6px; background:#fff; border:1px solid rgba(0,0,0,0.08); padding:6px 12px; border-radius:99px; font-size:0.8rem; font-weight:500; color:var(--warm-brown,#3b2418); }
.trust-pill svg { color:var(--copper,#c07a4b); }
.trust-tel { display:inline-flex; align-items:center; gap:8px; padding:6px 12px; border-radius:10px; text-decoration:none; color:var(--warm-brown,#3b2418); border:1px solid rgba(0,0,0,0.08); background:#fff; font-size:0.85rem; transition:background .15s, transform .15s; }
.trust-tel:hover { background:#fffaf3; transform:translateY(-1px); }
.trust-flag { display:inline-block; padding:2px 7px; border-radius:6px; font-size:0.68rem; font-weight:700; letter-spacing:0.04em; background:var(--copper,#c07a4b); color:#fff; }
.trust-tel--wa .trust-flag { background:#25D366; }
@media (max-width:720px) { .trust-strip { flex-direction:column; align-items:flex-start; } .trust-strip-right { width:100%; } }



/* â”€â”€â”€â”€â”€ Sticky footer: keeps the footer flush at the bottom on short pages â”€â”€â”€â”€â”€ */
html, body.frontend-body { min-height: 100vh; }
body.frontend-body { display: flex; flex-direction: column; }
body.frontend-body > nav.navbar { flex: 0 0 auto; }
body.frontend-body > .trust-strip-section--footer,
body.frontend-body > footer.footer { flex: 0 0 auto; }
body.frontend-body > section,
body.frontend-body > main,
body.frontend-body > .page-hero,
body.frontend-body > .hero,
body.frontend-body > .container { flex: 0 0 auto; }
body.frontend-body > .fy-content,
body.frontend-body > .site-main { flex: 1 0 auto; }
/* Push everything above the footer up so the footer hugs the viewport bottom. */
body.frontend-body > footer.footer { margin-top: auto; }
body.frontend-body > .trust-strip-section--footer + footer.footer { margin-top: 0; }
body.frontend-body > .trust-strip-section--footer { margin-top: auto; }

/* Footer-variant of the trust strip â€” slightly tighter than the hero variant. */
.trust-strip-section--footer { background: var(--cream, #fefcfa); padding: 22px 0 8px; border-top: 1px solid rgba(59,36,24,0.08); }

/* ───── Sticky footer: keeps the footer flush at the bottom on short pages ───── */
html { min-height: 100%; }
body.frontend-body { display: flex; flex-direction: column; min-height: 100vh; margin: 0; }
body.frontend-body > .trust-strip-section--footer { margin-top: auto; }
body.frontend-body > .trust-strip-section--footer + footer.footer { margin-top: 0; }
/* When there is no trust-strip-section--footer immediately before footer (e.g. on pages where its hidden), the footer itself gets the auto margin. */
body.frontend-body > footer.footer:first-of-type { margin-top: auto; }

/* Footer-variant of the trust strip — slightly tighter than the hero variant. */
.trust-strip-section--footer { background: var(--cream, #fefcfa); padding: 22px 0 8px; border-top: 1px solid rgba(59,36,24,0.08); }
