/**
 * Camp Final Template Styles
 *
 * Styles for the camp-final.php template including:
 * - Mobile Swiper carousel for Masters section
 * - Responsive design enhancements
 * - Modern CSS Grid architecture (2025)
 * - Fluid typography with clamp()
 * - CSS Grid sticky sidebar layout
 *
 * Uses design tokens from design-system-2.0/main.css:
 * - --sys-color-primary (#B7780D): Heritage gold
 * - --sys-color-primary-light (#D8A81B): Sunlit gold
 * - --sys-color-ink-base (#2B2823): Deep charcoal
 *
 * @package Opanije
 * @since 1.5.0
 * @updated 2.1.0 - Migrated to design system tokens
 */

@import url('https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:opsz,wght,FILL,GRAD@20..48,100..700,0..1,-50..200&display=swap');

/* ==========================================================================
   2025 ARCHITECTURE: CSS GRID & FLUID TYPOGRAPHY
   Restored from PR #412 - patterns were reverted due to React issues,
   not because these CSS patterns were problematic.
   ========================================================================== */

/* --------------------------------------------------------------------------
   ACCESSIBILITY: Reduced Motion Support (2025 WCAG Best Practice)
   Respects user's motion preferences for better accessibility.
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* ==========================================================================
   MAIN CONTENT WRAPPER - Normal stacking (no isolation)
   NOTE: Removed isolation: isolate - was creating stacking context that
   prevented hero content from showing through transparent header.
   Reference: https://www.smashingmagazine.com/2024/09/sticky-headers-full-height-elements-tricky-combination/
   ========================================================================== */
.cultural-immersion-salvador-page {
    position: relative;
}

/* ==========================================================================
   IMMERSIVE HEADER - Absolute Positioned Transparent Overlay
   For the header to be truly invisible over the hero video:
   - position: absolute takes it OUT of document flow
   - Hero naturally fills from top of viewport
   - Header overlays on top with transparent background

   CRITICAL: "Nuclear Option" - Force transparent on ALL elements
   Based on research: Inner elements like navigation can retain backgrounds
   even when parent is transparent. Must explicitly set ALL children transparent.
   Reference: https://developer.mozilla.org/en-US/docs/Web/CSS/background
   ========================================================================== */

/* Ensure main content starts at very top with no gap */
body.has-op-doormat-sticky main,
body.has-op-doormat-sticky .cultural-immersion-salvador-page {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

/* Hero container must fill from absolute top of viewport */
body.has-op-doormat-sticky #react-luxury-hero-container {
    margin-top: 0 !important;
    padding-top: 0 !important;
    position: relative;
    z-index: 1;
}

/* Override React's bg-black fallback to prevent black showing through */
body.has-op-doormat-sticky #react-luxury-hero-container > section {
    padding-top: 0 !important;
    margin-top: 0 !important;
}

/* Ensure html/body have no default margins creating gaps */
html {
    margin: 0 !important;
    padding: 0 !important;
}

body.has-op-doormat-sticky {
    margin: 0 !important;
    padding-top: 0 !important;
}

/* Main header container - transparent overlay */
body.has-op-doormat-sticky #site-header:not(.scrolled) {
    position: absolute !important;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 9999 !important; /* MAXIMUM z-index to ensure visibility */
    background: transparent !important;
    background-color: transparent !important;
    background-image: none !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    box-shadow: none !important;
    border-bottom: none !important;
    border: none !important;
}

/* NUCLEAR OPTION: Force ALL inner elements transparent */
body.has-op-doormat-sticky #site-header:not(.scrolled) .content-container,
body.has-op-doormat-sticky #site-header:not(.scrolled) .main-navigation,
body.has-op-doormat-sticky #site-header:not(.scrolled) .nav-menu,
body.has-op-doormat-sticky #site-header:not(.scrolled) .nav-item,
body.has-op-doormat-sticky #site-header:not(.scrolled) .cart-item {
    background: transparent !important;
    background-color: transparent !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
}

/* Remove any pseudo-elements that might have backgrounds */
body.has-op-doormat-sticky #site-header:not(.scrolled)::before,
body.has-op-doormat-sticky #site-header:not(.scrolled)::after,
body.has-op-doormat-sticky #site-header:not(.scrolled) .content-container::before,
body.has-op-doormat-sticky #site-header:not(.scrolled) .content-container::after {
    display: none !important;
    content: none !important;
}

/* Mobile menu toggle - transparent background for immersive header */
body.has-op-doormat-sticky #site-header:not(.scrolled) .mobile-menu-toggle {
    background: transparent !important;
    background-color: transparent !important;
    border-color: rgba(255, 255, 255, 0.3) !important;
}

/* Nav link hover pseudo-elements - keep transparent in immersive mode */
body.has-op-doormat-sticky #site-header:not(.scrolled) .nav-link::before {
    background: rgba(255, 255, 255, 0.1) !important;
}

/* Cart link - transparent for immersive header */
body.has-op-doormat-sticky #site-header:not(.scrolled) .cart-link {
    background: transparent !important;
    background-color: transparent !important;
    border-color: rgba(255, 255, 255, 0.3) !important;
}

body.has-op-doormat-sticky #site-header:not(.scrolled) .cart-link::before {
    display: none !important;
}

/* ==========================================================================
   HERO-HEADER TEXT READABILITY
   Using text-shadow approach instead of scrim overlays.
   The hero video provides natural contrast; text-shadow ensures readability.
   ========================================================================== */

/* Enhanced text-shadow for better readability on video backgrounds */
body.has-op-doormat-sticky #site-header:not(.scrolled) .logo-name,
body.has-op-doormat-sticky #site-header:not(.scrolled) .nav-link,
body.has-op-doormat-sticky #site-header:not(.scrolled) .menu-label {
    text-shadow:
        0 1px 2px rgba(0, 0, 0, 0.8),
        0 2px 4px rgba(0, 0, 0, 0.6),
        0 4px 8px rgba(0, 0, 0, 0.3) !important;
}

/* Restore normal header on scroll */
body.has-op-doormat-sticky #site-header.scrolled {
    position: sticky !important;
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(12px) saturate(180%) !important;
    -webkit-backdrop-filter: blur(12px) saturate(180%) !important;
    box-shadow: 0 4px 12px rgba(43, 40, 35, 0.08) !important;
    border-bottom: 1px solid #F4F3F0 !important;
}

/* White logo overlay for transparent header */
body.has-op-doormat-sticky #site-header:not(.scrolled) .logo {
    position: relative;
}

body.has-op-doormat-sticky #site-header:not(.scrolled) .logo img {
    opacity: 0 !important;
}

body.has-op-doormat-sticky #site-header:not(.scrolled) .logo::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    background-image: url('https://opanije.com/wp-content/uploads/2025/12/OPANIJE-BRANCO_11zon.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

@media (max-width: 768px) {
    body.has-op-doormat-sticky #site-header:not(.scrolled) .logo::before {
        width: 42px;
        height: 42px;
    }
}

@media (max-width: 480px) {
    body.has-op-doormat-sticky #site-header:not(.scrolled) .logo::before {
        width: 38px;
        height: 38px;
    }
}

/* White text for transparent header with enhanced text-shadow for readability */
/* Maximum specificity with html prefix to override modern-header-2025.css */
html body.has-op-doormat-sticky #site-header:not(.scrolled) .logo-name,
html body.has-op-doormat-sticky #site-header:not(.scrolled) .content-container .logo .logo-name,
html body.has-op-doormat-sticky #site-header:not(.scrolled) span.logo-name {
    color: #FFFFFF !important;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5) !important;
}

/* MOBILE: Force white logo-name on small screens */
@media (max-width: 900px) {
    html body.has-op-doormat-sticky #site-header:not(.scrolled) .logo-name,
    html body.has-op-doormat-sticky #site-header:not(.scrolled) .content-container .logo .logo-name,
    html body.has-op-doormat-sticky #site-header:not(.scrolled) span.logo-name,
    html body.has-op-doormat-sticky #site-header:not(.scrolled) a.logo .logo-name {
        color: #FFFFFF !important;
        text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5) !important;
    }
}

body.has-op-doormat-sticky #site-header:not(.scrolled) .mobile-menu-toggle {
    color: #FFFFFF !important;
}

body.has-op-doormat-sticky #site-header:not(.scrolled) .hamburger-icon i {
    background-color: #FFFFFF !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
}

body.has-op-doormat-sticky #site-header:not(.scrolled) .menu-label {
    color: #FFFFFF !important;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

/* White navigation links for transparent header */
body.has-op-doormat-sticky #site-header:not(.scrolled) .nav-link {
    color: #FFFFFF !important;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

body.has-op-doormat-sticky #site-header:not(.scrolled) .nav-link:hover,
body.has-op-doormat-sticky #site-header:not(.scrolled) .nav-link:focus {
    color: #D4A017 !important;
}

body.has-op-doormat-sticky #site-header:not(.scrolled) .nav-link.current-page {
    color: #D4A017 !important;
}

/* White cart icon */
body.has-op-doormat-sticky #site-header:not(.scrolled) .cart-link svg,
body.has-op-doormat-sticky #site-header:not(.scrolled) .cart-link i {
    color: #FFFFFF !important;
    fill: #FFFFFF !important;
}

body.has-op-doormat-sticky #site-header:not(.scrolled) .cart-count {
    background-color: #D4A017 !important;
    color: #FFFFFF !important;
}

/* Scrolled state - restore regular logo */
body.has-op-doormat-sticky #site-header.scrolled .logo img {
    opacity: 1 !important;
}

body.has-op-doormat-sticky #site-header.scrolled .logo::before {
    display: none;
}

/* --------------------------------------------------------------------------
   CONTAINER QUERIES FOUNDATION (2025 Component Responsiveness)
   Enable container queries for truly responsive components.
   -------------------------------------------------------------------------- */
.cq-container {
    container-type: inline-size;
}

.cq-container-name-card {
    container-type: inline-size;
    container-name: card;
}

.cq-container-name-section {
    container-type: inline-size;
    container-name: section;
}

/* Container query example for responsive cards */
@container card (min-width: 400px) {
    .cq-card-horizontal {
        display: grid;
        grid-template-columns: auto 1fr;
        gap: 1.5rem;
    }
}

@container section (min-width: 768px) {
    .cq-grid-auto {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
}

/* 1. HERO: CSS Grid Stacking Context (No Absolute Positioning)
   -------------------------------------------------------------------------- */
.hero-modern-grid {
    display: grid;
    grid-template-areas: "stack"; /* Single cell stack */
    min-block-size: 85vh; /* Logical property for height */
    overflow: hidden;
    isolation: isolate; /* Create new stacking context */
}

.hero-modern-bg {
    grid-area: stack;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

/* Gradient overlay using modern syntax */
.hero-modern-overlay {
    grid-area: stack;
    z-index: 1;
    background: linear-gradient(
        to right,
        rgba(43, 40, 35, 0.92) 0%,
        rgba(43, 40, 35, 0.7) 45%,
        rgba(43, 40, 35, 0.2) 100%
    );
}

.hero-modern-content {
    grid-area: stack;
    z-index: 2;
    align-self: center; /* Vertical Center */
    padding-inline: var(--bs-gutter-x, 1.5rem);
    width: 100%;
    max-width: 1320px; /* Bootstrap XXL container */
    margin-inline: auto;
}

/* Fluid Typography: Scales smoothly without breakpoints */
.text-fluid-h1 {
    font-family: 'Playfair Display', 'Georgia', serif;
    font-size: clamp(2.5rem, 5vw + 1rem, 5rem);
    line-height: 1.1;
    letter-spacing: -0.02em;
    color: #fff;
    font-weight: 700;
}

.text-fluid-subtitle {
    font-size: clamp(1.1rem, 1.5vw, 1.35rem);
    line-height: 1.6;
    font-weight: 300;
}

/* Hero CTA Button - Modern Gold Gradient */
.btn-primary-gold-modern {
    background: linear-gradient(135deg, var(--sys-color-primary, #B7780D) 0%, var(--sys-color-primary-light, #D8A81B) 100%);
    color: #fff;
    border: none;
    border-radius: 9999px;
    padding: 1rem 2.5rem;
    font-weight: 700;
    font-size: 1rem;
    transition: transform 0.3s cubic-bezier(0.165, 0.84, 0.44, 1),
                box-shadow 0.3s ease;
    box-shadow: 0 4px 14px -3px rgba(183, 120, 13, 0.4);
}

.btn-primary-gold-modern:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px -5px rgba(183, 120, 13, 0.5);
    color: #fff;
}

.btn-primary-gold-modern:focus-visible {
    outline: 3px solid rgba(216, 168, 27, 0.5);
    outline-offset: 3px;
}

/* 2. MAP: CSS Grid Sticky Layout (The "Holy Grail" Sidebar)
   -------------------------------------------------------------------------- */
.map-modern-layout {
    display: grid;
    grid-template-columns: 1fr;
    position: relative;
}

@media (min-width: 992px) {
    .map-modern-layout {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
        align-items: start; /* CRITICAL for sticky behavior */
    }
}

.map-list-wrapper {
    padding-block: 5rem;
    padding-inline: 3rem;
    background: var(--sys-color-surface-1, #FCFBF8);
}

.map-sticky-wrapper {
    position: sticky;
    top: 0;
    height: 100vh;
    width: 100%;
    overflow: hidden;
}

.map-sticky-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Map Location Cards */
.map-location-card {
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 1rem;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.map-location-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px -8px rgba(0, 0, 0, 0.12);
    border-color: rgba(216, 168, 27, 0.3);
}

.map-location-card__number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, var(--sys-color-primary, #B7780D) 0%, var(--sys-color-primary-light, #D8A81B) 100%);
    color: #fff;
    font-weight: 700;
    font-size: 0.875rem;
    border-radius: 50%;
    margin-right: 0.75rem;
}

.map-location-card__tag {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #6c757d;
}

.map-location-card__image {
    aspect-ratio: 21 / 9;
    border-radius: 0.75rem;
    overflow: hidden;
    margin-top: 1rem;
}

.map-location-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.map-location-card:hover .map-location-card__image img {
    transform: scale(1.05);
}

/* Map Overlay Stats */
.map-stats-overlay {
    position: absolute;
    bottom: 2rem;
    left: 2rem;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 1.5rem;
    border-radius: 1rem;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.8);
    z-index: 10;
}

/* 3. PRICING: Bento Grid (Auto-Fit)
   -------------------------------------------------------------------------- */
.pricing-modern-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    padding-block: 4rem;
}

.pricing-card-modern {
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 2.5rem;
    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 1.5rem;
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1),
                box-shadow 0.4s ease;
}

.pricing-card-modern:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.12);
}

.pricing-card-modern.highlight {
    background: var(--sys-color-ink-base, #2B2823);
    color: #fff;
    border-color: var(--sys-color-ink-base, #2B2823);
    position: relative;
    transform: scale(1.03);
    box-shadow: 0 25px 50px -12px rgba(43, 40, 35, 0.35);
    z-index: 1;
}

.pricing-card-modern.highlight:hover {
    transform: scale(1.03) translateY(-8px);
}

.pricing-card-modern.highlight .text-muted {
    color: rgba(255, 255, 255, 0.6) !important;
}

.pricing-card-modern.highlight h3,
.pricing-card-modern.highlight .pricing-val {
    color: #fff !important;
}

.pricing-card-modern__badge {
    position: absolute;
    top: -0.75rem;
    right: 1.5rem;
    background: linear-gradient(135deg, var(--sys-color-primary, #B7780D) 0%, var(--sys-color-primary-light, #D8A81B) 100%);
    color: #fff;
    padding: 0.375rem 1rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 12px -2px rgba(183, 120, 13, 0.4);
}

.pricing-card-modern__price {
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    font-weight: 800;
    line-height: 1;
    margin-bottom: 0.5rem;
}

.pricing-card-modern__features {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0;
    flex-grow: 1;
}

.pricing-card-modern__features li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.625rem 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.pricing-card-modern.highlight .pricing-card-modern__features li {
    border-bottom-color: rgba(255, 255, 255, 0.1);
}

/* ==========================================================================
   EXISTING STYLES (Pre-2025 Architecture)
   ========================================================================== */

/* Default state - hide swiper container on all screens */
.masters-section .masters-swiper-container {
    display: none;
}

/* Default state - show grid on all screens */
.masters-section .row.masters-grid {
    display: flex;
}

/* Masters Section - Mobile Swiper */
@media (max-width: 767px) {
    /* Show swiper container on mobile */
    .masters-section .masters-swiper-container {
        display: block !important;
    }

    /* Hide Bootstrap grid on mobile */
    .masters-section .row.masters-grid {
        display: none !important;
    }

    .masters-section .swiper {
        overflow: visible;
        padding-bottom: 2rem;
        width: 100%;
    }

    .masters-section .swiper-wrapper {
        padding-bottom: 1rem;
    }

    .masters-section .swiper-slide {
        height: auto;
        display: flex;
    }

    .masters-section .master-card {
        height: 100%;
        width: 100%;
    }

    .masters-section .swiper-pagination {
        bottom: 0;
        position: relative;
        margin-top: 1.5rem;
    }

    .masters-section .swiper-pagination-bullet {
        width: 10px;
        height: 10px;
        background: var(--sys-color-primary-light, #D8A81B);
        opacity: 0.4;
        transition: all 0.3s ease;
    }

    .masters-section .swiper-pagination-bullet-active {
        opacity: 1;
        width: 24px;
        border-radius: 5px;
    }
}

/* Desktop - Hide Swiper, show grid */
@media (min-width: 768px) {
    .masters-section .masters-swiper-container {
        display: none !important;
    }

    .masters-section .row.masters-grid {
        display: flex !important;
    }
}

/* Master Card Hover Effect */
.master-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15) !important;
}

/* Concierge Section - Card Hover Effect */
.concierge-section .transition-hover:hover {
    transform: translateY(-5px);
    box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.075) !important;
    border-color: rgba(216, 168, 27, 0.3) !important;
}

/* ============================================
   ENERGY BALANCE ITINERARY SECTION
   ============================================ */

/* Energy Card Hover Effect */
.energy-card-hover:hover {
    transform: translateY(-2px);
    box-shadow: 0 .5rem 1rem rgba(0,0,0,.1) !important;
}

/* Gold Outline Button for Timeline */
.btn-outline-gold {
    color: #8c6b11;
    border-color: var(--sys-color-primary-light, #D8A81B);
    background-color: transparent;
    transition: all 0.2s ease;
}

.btn-outline-gold:hover,
.btn-outline-gold[aria-expanded="true"] {
    background-color: rgba(216, 168, 27, 0.1);
    color: var(--sys-color-ink-base, #2B2823);
    border-color: var(--sys-color-primary-light, #D8A81B);
}

/* Timeline Item - Last Child Spacing */
.timeline-item:last-child {
    margin-bottom: 0 !important;
}

/* Mobile Optimizations for Energy Timeline */
@media (max-width: 767px) {
    .energy-itinerary-section {
        padding: 60px 0 !important;
    }

    .itinerary-timeline {
        padding-left: 15px !important;
    }

    .timeline-item .ms-4 {
        margin-left: 2rem !important;
    }

    /* Adjust timeline dot positioning for mobile */
    .timeline-item > div[style*="transform: translateX(-50%)"] {
        left: 15px !important;
    }

    /* Stack badges vertically on very small screens */
    @media (max-width: 480px) {
        .timeline-item .d-flex.flex-wrap {
            flex-direction: column !important;
            align-items: flex-start !important;
        }

        .timeline-item .badge.bg-dark,
        .timeline-item .badge.bg-secondary {
            margin-top: 0.5rem;
        }
    }
}

/* Tablet Optimizations */
@media (min-width: 768px) and (max-width: 991px) {
    .energy-itinerary-section .section-description {
        max-width: 700px !important;
    }
}

/* Desktop Optimizations */
@media (min-width: 992px) {
    .itinerary-timeline {
        max-width: 900px;
        margin: 0 auto;
    }
}

/* ============================================
   MEANING OF OPANIJÉ SECTION
   ============================================ */

/* Fix: Ensure dark background is applied despite CSS layer specificity */
.meaning-section.op-bg-dark {
    background-color: var(--sys-color-ink-base, #2B2823) !important;
    color: #FFFFFF;
}

.meaning-section.op-bg-dark h1,
.meaning-section.op-bg-dark h2,
.meaning-section.op-bg-dark h3,
.meaning-section.op-bg-dark h4,
.meaning-section.op-bg-dark h5,
.meaning-section.op-bg-dark h6 {
    color: #FFFFFF !important;
}

.meaning-section.op-bg-dark p,
.meaning-section.op-bg-dark .lead {
    color: rgba(255, 255, 255, 0.85) !important;
}

/* Typography Override for Meaning Section */
.meaning-section h2 {
    font-family: 'Playfair Display', 'Georgia', serif;
}

/* Subtle pulse animation for the drum icon */
.meaning-section svg {
    animation: pulse-gold 3s infinite;
}

@keyframes pulse-gold {
    0% {
        transform: scale(1);
        opacity: 0.5;
    }
    50% {
        transform: scale(1.1);
        opacity: 0.8;
    }
    100% {
        transform: scale(1);
        opacity: 0.5;
    }
}

/* ============================================
   UNITY SOCIAL PROOF SECTION
   ============================================ */

/* Hover Lift Effect for Testimonial Cards */
.hover-lift {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hover-lift:hover {
    transform: translateY(-5px);
    box-shadow: 0 1rem 3rem rgba(0,0,0,.1) !important;
}

/* ============================================
   MOBILE STICKY FOOTER - CONVERSION ENGINE
   ============================================ */

/* Ensure the Gold text matches branding */
.text-gold {
    color: var(--sys-color-primary-light, #D8A81B) !important;
}

/* Mobile Footer Mechanics */
@media (max-width: 767.98px) {
    /* Add padding to body so footer doesn't cover content */
    body {
        padding-bottom: 110px !important;
    }

    .mobile-sticky-footer {
        /* Hardware acceleration for smooth scrolling */
        transform: translateZ(0);
        /* Entrance Animation */
        animation: slideUp 0.5s ease-out forwards;
    }
}

@keyframes slideUp {
    from {
        transform: translateY(100%);
    }
    to {
        transform: translateY(0);
    }
}

/* ============================================
   STICKY DOORMAT - BUTTON COLOR FIX
   ============================================ */

/* Fix: Ensure View Packages button uses correct gold gradient */
/* Using multiple selectors for maximum specificity */
.op-doormat-sticky .op-btn-primary,
.op-doormat-sticky__cta .op-btn-primary,
aside.op-doormat-sticky .op-doormat-sticky__cta a.op-btn-primary {
    /* Gradient background: Heritage Gold → Sunlit Gold */
    background: linear-gradient(135deg, var(--sys-color-primary, #B7780D) 0%, var(--sys-color-primary-light, #D8A81B) 100%) !important;
    background-color: var(--sys-color-primary, #B7780D) !important; /* Fallback */

    /* Typography */
    color: #FFFFFF !important;
    font-weight: 700 !important;
    text-decoration: none !important;

    /* Shape: Pill */
    border: none !important;
    border-radius: 9999px !important;

    /* Spacing */
    padding: 12px 32px !important;

    /* Layout */
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;

    /* Interaction */
    cursor: pointer !important;
    transition: transform 0.2s ease, box-shadow 0.3s ease !important;

    /* Baseline shadow */
    box-shadow:
        0 4px 6px -1px rgba(183, 120, 13, 0.2),
        0 2px 4px -1px rgba(183, 120, 13, 0.1) !important;
}

.op-doormat-sticky .op-btn-primary:hover,
.op-doormat-sticky__cta .op-btn-primary:hover,
aside.op-doormat-sticky .op-doormat-sticky__cta a.op-btn-primary:hover {
    transform: translateY(-2px) !important;
    box-shadow:
        0 20px 25px -5px rgba(43, 40, 35, 0.12),
        0 10px 10px -5px rgba(183, 120, 13, 0.08) !important;
    color: #FFFFFF !important;
    text-decoration: none !important;
    background: linear-gradient(135deg, var(--sys-color-primary, #B7780D) 0%, var(--sys-color-primary-light, #D8A81B) 100%) !important;
}

.op-doormat-sticky .op-btn-primary:focus-visible,
.op-doormat-sticky__cta .op-btn-primary:focus-visible,
aside.op-doormat-sticky .op-doormat-sticky__cta a.op-btn-primary:focus-visible {
    outline: 3px solid rgba(216, 168, 27, 0.3) !important;
    outline-offset: 3px !important;
}

.op-doormat-sticky .op-btn-primary:active,
.op-doormat-sticky__cta .op-btn-primary:active,
aside.op-doormat-sticky .op-doormat-sticky__cta a.op-btn-primary:active {
    transform: translateY(0) !important;
}

/* ============================================
   NEXT-GEN MOBILE UX MICRO-INTERACTIONS
   v1.0 - World-Class Mobile Polish
   ============================================ */

/* 1. Z-INDEX HIERARCHY */
:root {
    --z-sticky: 1020;
    --z-fixed: 1030;
    --z-fab: 1045;
    --z-backdrop: 1050;
    --z-modal: 1055;
}

/* 2. RENDERING PERFORMANCE (Heavy Sections) */
.heavy-render-section {
    content-visibility: auto;
    contain-intrinsic-size: auto 1000px;
}

/* 3. SKELETON LOADING STATES (Perceived Performance) */
.img-fluid,
.hero-image-frame img,
.master-card img,
.month-background {
    background-color: #f8f9fa;
    transition: opacity 0.3s ease-in;
}

/* Month Selector Tabs - Desktop Layout */
@media (min-width: 768px) {
    .month-selector-tabs {
        justify-content: center;
        gap: 1.5rem;
    }
}

/* 4. MOBILE-ONLY MICRO-INTERACTIONS */
@media (max-width: 767.98px) {
    /* Peek Animation - teaches users "this scrolls" */
    @keyframes peek-scroll {
        0% { transform: translateX(0); }
        20% { transform: translateX(-20px); }
        40% { transform: translateX(0); }
        100% { transform: translateX(0); }
    }

    .mobile-swimlane > *:first-child,
    .masters-mobile-swimlane > *:first-child {
        animation: peek-scroll 1.5s ease-out 1s 1;
    }

    /* Mobile Swimlanes with Scroll Snap */
    .mobile-swimlane,
    .masters-mobile-swimlane {
        display: flex !important;
        flex-wrap: nowrap !important;
        overflow-x: auto !important;
        scroll-snap-type: x mandatory;
        overscroll-behavior-x: contain;
        gap: 1rem !important;
        padding: 0 1rem 1.5rem 1rem;
        scroll-padding-left: 1rem;
        -webkit-overflow-scrolling: touch;

        /* Scroll-Driven Shadow Hint */
        background:
            linear-gradient(to right, #fff 30%, rgba(255, 255, 255, 0)),
            linear-gradient(to right, rgba(255, 255, 255, 0), #fff 70%) 0 100%,
            radial-gradient(farthest-side at 0 50%, rgba(0, 0, 0, 0.15), rgba(0, 0, 0, 0)),
            radial-gradient(farthest-side at 100% 50%, rgba(0, 0, 0, 0.15), rgba(0, 0, 0, 0)) 0 100%;
        background-repeat: no-repeat;
        background-size: 40px 100%, 40px 100%, 14px 100%, 14px 100%;
        background-position: 0 0, 100% 0, 0 0, 100% 0;
        background-attachment: local, local, scroll, scroll;
    }

    .mobile-swimlane::-webkit-scrollbar,
    .masters-mobile-swimlane::-webkit-scrollbar {
        display: none;
    }

    .mobile-swimlane,
    .masters-mobile-swimlane {
        scrollbar-width: none;
    }

    .mobile-swimlane > *,
    .masters-mobile-swimlane > * {
        flex: 0 0 85% !important;
        width: 85% !important;
        scroll-snap-align: center;
    }

    /* Quick Info Cards Override */
    .quick-info-swimlane > .info-card-wrapper {
        flex: 0 0 70% !important;
        width: 70% !important;
    }

    /* Reviews Cards Override */
    .reviews-swimlane > .review-card-wrapper {
        flex: 0 0 90% !important;
        width: 90% !important;
    }

    /* Month Tabs Override */
    .month-selector-tabs.mobile-swimlane > .month-tab {
        flex: 0 0 45% !important;
        min-height: 120px !important;
    }

    /* Tap Highlight Removal - app-like feel */
    .btn,
    .accordion-button,
    .master-card,
    .month-tab,
    .info-card,
    .review-card {
        -webkit-tap-highlight-color: transparent;
    }

    /* Timeline Mobile Connector */
    .timeline-mobile-connector {
        border-left: 2px solid var(--sys-color-primary-light, #D8A81B);
        padding: 0 0 2rem 1.25rem;
        margin-left: 0.5rem;
        position: relative;
    }

    .timeline-mobile-connector::before {
        content: "";
        position: absolute;
        left: -7px;
        top: 0;
        width: 12px;
        height: 12px;
        background: var(--sys-color-primary-light, #D8A81B);
        border-radius: 50%;
        box-shadow: 0 0 0 4px #fff;
    }

    .timeline-mobile-connector:last-child {
        border: 0;
    }

    /* Touch-friendly button targets */
    .btn-touch-target {
        min-height: 52px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .hero-cta-group .btn {
        width: 100%;
        min-height: 52px;
    }

    /* Hero title mobile sizing */
    .hero-title {
        font-size: clamp(2rem, 10vw, 3rem) !important;
        line-height: 1.1;
    }

    /* Modal fullscreen on mobile */
    .modal-fullscreen-sm-down .modal-dialog {
        margin: 0;
        max-width: none;
        width: 100%;
        height: 100%;
    }

    .modal-fullscreen-sm-down .modal-content {
        border: 0;
        border-radius: 0;
        height: 100%;
    }

    /* WhatsApp FAB above sticky footer */
    .op-whatsapp-fab,
    .luxury-whatsapp-fab {
        bottom: 110px !important;
    }
}

/* 5. SAFE AREA & STICKY FOOTER Z-INDEX */
body.has-sticky-conversion {
    padding-bottom: calc(90px + env(safe-area-inset-bottom));
}

.mobile-sticky-footer {
    z-index: var(--z-fixed, 1040) !important;
    padding-bottom: env(safe-area-inset-bottom, 1rem);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

/* WhatsApp FAB z-index */
.op-whatsapp-fab,
.luxury-whatsapp-fab {
    z-index: var(--z-fab, 1045) !important;
}

/* Desktop: Hide mobile swimlanes, show grids */
@media (min-width: 768px) {
    .masters-mobile-swimlane {
        display: none !important;
    }

    .masters-grid {
        display: flex !important;
    }
}

/* ============================================
   EXTRACTED FROM INLINE STYLES (December 2025)
   Previously in camp-final.php lines 402-765
   ============================================ */

/* Desktop Hero Enhancements */
.hero-cta-group .btn:first-child:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(216, 168, 27, 0.4) !important;
}

.hero-image-wrapper {
    transition: transform 0.3s ease;
}

.hero-image-wrapper:hover {
    transform: translateY(-4px);
}

/* Trust bar responsive adjustments */
@media (max-width: 991px) {
    .trust-bar {
        flex-direction: column !important;
        gap: 1rem !important;
    }

    .trust-bar > div[style*="width: 1px"] {
        display: none !important;
    }
}

/* ============================================
   SCROLL PROGRESS BAR - Mobile Only
   Report Reference: Section 3 (Accessibility)
   ============================================ */

.mobile-progress-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: rgba(0, 0, 0, 0.05);
    z-index: 1040;
    pointer-events: none;
}

.mobile-progress-bar {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, var(--sys-color-primary-light, #D8A81B), var(--sys-color-primary-tint-light));
    transition: width 0.1s ease-out;
    box-shadow: 0 0 8px rgba(216, 168, 27, 0.4);
}

/* ============================================
   NAVIGATION CHIPS - ACTIVE STATE
   ============================================ */

#react-navigation-chips [data-section] {
    position: relative;
    transition: all 0.2s ease;
    padding: 0.5rem 1rem;
    border-radius: 2rem;
    white-space: nowrap;
}

#react-navigation-chips [data-section].active {
    background: linear-gradient(135deg, var(--sys-color-primary-light, #D8A81B), var(--sys-color-primary-tint-light));
    color: white;
    font-weight: 700;
    box-shadow: 0 2px 8px rgba(216, 168, 27, 0.3);
}

#react-navigation-chips [data-section].active::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 50%;
    transform: translateX(-50%);
    width: 40%;
    height: 3px;
    background: white;
    border-radius: 2px;
}

/* ============================================
   BACK TO TOP FAB - Mobile Only
   ============================================ */

.back-to-top-fab {
    position: fixed;
    bottom: 140px; /* Above mobile sticky footer */
    right: 20px;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--sys-color-primary-light, #D8A81B), var(--sys-color-primary-tint-light));
    color: white;
    border: none;
    box-shadow: 0 4px 12px rgba(216, 168, 27, 0.4);
    cursor: pointer;
    z-index: 1039;
    transition: all 0.3s ease;
    opacity: 0;
    transform: scale(0.8);
    pointer-events: none;
    display: flex;
    align-items: center;
    justify-content: center;
}

.back-to-top-fab.show {
    opacity: 1;
    transform: scale(1);
    pointer-events: auto;
}

.back-to-top-fab:active {
    transform: scale(0.95);
}

@keyframes pulse-once {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.back-to-top-fab.first-show {
    animation: pulse-once 0.6s ease-out;
}

/* ============================================
   UNIVERSAL SEE MORE TOGGLE - Mobile UX v2.0
   Collapsible preview for long narrative sections
   Uses design system tokens for consistency
   ============================================ */

.op-preview-collapsed {
    max-height: 5.5rem;
    overflow: hidden;
    position: relative;
}

.op-preview-collapsed::after {
    content: '';
    position: absolute;
    inset: auto 0 0 0;
    height: var(--sys-space-6, 2rem);
    background: linear-gradient(to bottom, transparent 0%, var(--sys-color-surface-0, #fff) 100%);
    pointer-events: none;
}

/* Dark background variant - uses ink-base color */
.op-bg-dark .op-preview-collapsed::after,
.meaning-section .op-preview-collapsed::after {
    background: linear-gradient(to bottom, transparent 0%, var(--sys-color-ink-base, #2B2823) 100%);
}

.op-see-more-toggle {
    border: none;
    background: none;
    color: var(--sys-color-primary-light, #D8A81B);
    font-family: var(--sys-font-ui, Montserrat, sans-serif);
    font-weight: 600;
    padding: var(--sys-space-2, 0.5rem) 0;
    margin-top: var(--sys-space-2, 0.5rem);
    display: inline-flex;
    align-items: center;
    gap: var(--sys-space-2, 0.5rem);
    font-size: var(--sys-font-size-small, 0.875rem);
    cursor: pointer;
    transition: color var(--sys-transition-fast, 0.15s) var(--ease-drum-soft, ease-out);
}

.op-see-more-toggle:hover {
    color: var(--sys-color-primary, #B7780D);
}

.op-see-more-toggle:focus-visible {
    outline: 2px solid var(--sys-color-primary-light, #D8A81B);
    outline-offset: 2px;
    border-radius: var(--sys-radius-sm, 4px);
}

.op-see-more-toggle .op-toggle-icon {
    transition: transform var(--sys-transition-fast, 0.15s) var(--ease-drum-soft, ease-out);
}

.op-see-more-toggle[aria-expanded="true"] .op-toggle-icon {
    transform: rotate(180deg);
}

/* Light variant for dark backgrounds */
.op-see-more-toggle--light {
    color: var(--sys-color-primary-tint-light, #f3d068);
}

.op-see-more-toggle--light:hover {
    color: var(--sys-color-surface-0, #fff);
}

/* Desktop: disable collapse behavior */
@media (min-width: 768px) {
    .op-preview-collapsed {
        max-height: none;
        overflow: visible;
    }
    .op-preview-collapsed::after {
        display: none;
    }
    .op-see-more-toggle {
        display: none;
    }
}

/* ============================================
   FLOATING PILL NAVIGATION (Dynamic Island Style)
   Horizontal pill in thumb zone at bottom center
   ============================================ */

.op-fab-pill {
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 6px;
    background: rgba(43, 40, 35, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: var(--sys-radius-full, 9999px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25), 0 2px 8px rgba(0, 0, 0, 0.15);
    z-index: var(--sys-z-sticky, 1039);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease-out, transform 0.3s ease-out;
}

.op-fab-pill.show {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
    pointer-events: auto;
}

.op-fab-pill__btn {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    padding: 8px 16px;
    background: transparent;
    border: none;
    border-radius: var(--sys-radius-lg, 20px);
    color: rgba(255, 255, 255, 0.9);
    cursor: pointer;
    transition: background 0.15s ease-out, transform 0.15s ease-out;
}

.op-fab-pill__btn:hover {
    background: rgba(255, 255, 255, 0.1);
}

.op-fab-pill__btn:active {
    transform: scale(0.95);
}

.op-fab-pill__btn:focus-visible {
    outline: 2px solid var(--sys-color-primary-light, #D8A81B);
    outline-offset: 2px;
}

.op-fab-pill__btn--primary {
    background: linear-gradient(135deg, var(--sys-color-primary-light, #D8A81B), var(--sys-color-primary, #B7780D));
    color: #fff;
}

.op-fab-pill__btn--primary:hover {
    background: linear-gradient(135deg, var(--sys-color-primary, #B7780D), var(--sys-color-primary-light, #D8A81B));
}

/* Active state - indicates current section in view */
.op-fab-pill__btn--active:not(.op-fab-pill__btn--primary) {
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
}

.op-fab-pill__btn--active:not(.op-fab-pill__btn--primary)::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 4px;
    background: var(--sys-color-primary-light, #D8A81B);
    border-radius: 50%;
}

.op-fab-pill__btn--active.op-fab-pill__btn--primary {
    box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.3);
}

.op-fab-pill__icon {
    font-size: 1.125rem;
    line-height: 1;
}

.op-fab-pill__label {
    font-family: var(--sys-font-ui, Montserrat, sans-serif);
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    white-space: nowrap;
}

/* Hide pill on desktop */
@media (min-width: 768px) {
    .op-fab-pill {
        display: none !important;
    }
}

/* Sticky Itinerary CTA - appears in itinerary section */
.op-itinerary-sticky-cta {
    position: fixed;
    bottom: 90px;
    right: 16px;
    padding: 10px 16px;
    background: linear-gradient(135deg, var(--sys-color-primary-light, #D8A81B), var(--sys-color-primary, #B7780D));
    color: #fff;
    border: none;
    border-radius: var(--sys-radius-full, 9999px);
    font-family: var(--sys-font-ui, Montserrat, sans-serif);
    font-size: 0.8125rem;
    font-weight: 600;
    box-shadow: 0 4px 16px rgba(183, 120, 13, 0.35);
    cursor: pointer;
    opacity: 0;
    transform: translateX(100%);
    pointer-events: none;
    transition: opacity 0.25s ease-out, transform 0.25s ease-out;
    z-index: var(--sys-z-sticky, 1039);
}

.op-itinerary-sticky-cta.show {
    opacity: 1;
    transform: translateX(0);
    pointer-events: auto;
}

.op-itinerary-sticky-cta:hover {
    box-shadow: 0 6px 20px rgba(183, 120, 13, 0.45);
}

.op-itinerary-sticky-cta:active {
    transform: scale(0.95);
}

@media (min-width: 768px) {
    .op-itinerary-sticky-cta {
        display: none !important;
    }
}

/* ============================================
   JOURNEY TEASER - Mobile Condensed Intro
   Three-column summary for mobile core journey
   BEM naming: .op-journey-teaser, __grid, __item, __title, __desc
   ============================================ */

.op-journey-teaser__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--sys-space-3, 0.75rem);
    text-align: center;
}

.op-journey-teaser__item {
    padding: var(--sys-space-4, 1rem) var(--sys-space-2, 0.5rem);
    background: var(--sys-color-primary-tint-05, rgba(183, 120, 13, 0.05));
    border-radius: var(--sys-radius-lg, 12px);
    border: 1px solid var(--sys-color-primary-tint-10, rgba(183, 120, 13, 0.1));
}

.op-journey-teaser__title {
    font-family: var(--sys-font-display, Montserrat, sans-serif);
    font-weight: 700;
    font-size: var(--sys-font-size-small, 0.875rem);
    color: var(--sys-color-ink-base, #2B2823);
    margin-bottom: var(--sys-space-1, 0.25rem);
}

.op-journey-teaser__desc {
    font-size: 0.7rem;
    color: var(--sys-color-ink-muted, #888580);
    line-height: var(--sys-line-height-snug, 1.25);
}

/* Reduced motion: disable animations */
@media (prefers-reduced-motion: reduce) {
    .op-see-more-toggle,
    .op-see-more-toggle .op-toggle-icon,
    .op-fab-pill,
    .op-fab-pill__btn,
    .op-itinerary-sticky-cta {
        transition: none;
    }

    .op-fab-pill__btn:hover,
    .op-fab-pill__btn:active,
    .op-itinerary-sticky-cta:active {
        transform: none;
    }
}

/* ============================================
   SECTION STYLING OVERRIDES
   ============================================ */

/* Final CTA Section - White Background Override
   Override bg-pattern-omolu classes to ensure white background */
.final-cta-section {
    background: #ffffff !important;
    background-image: none !important;
}

/* Journey Section - White and Gold Text on Dark Background
   Ensure all text is readable on the dark Omolu pattern background */
.journey-section .section-title {
    color: var(--sys-color-surface-0, #ffffff) !important;
}

.journey-section .section-description {
    color: var(--sys-color-surface-0, #ffffff) !important;
}

/* Apply white/gold text to all content in journey section */
.journey-section h3,
.journey-section h4,
.journey-section p,
.journey-section li {
    color: var(--sys-color-surface-0, #ffffff) !important;
}

/* Gold accents for journey section */
.journey-section .phase-badge,
.journey-section .phase-number {
    color: var(--sys-color-primary, #B7780D) !important;
}

/* FAQ Section - Black Title Text
   Ensure "Common Worries (We Get It)" heading is black for proper contrast */
.faq-section .section-title {
    color: var(--sys-color-ink-base, #2B2823) !important;
}

/* ============================================
   ITINERARY TIMELINE - VERTICAL FLOW DESIGN
   Phase 1: Transform card grid to timeline
   Journey progression metaphor with energy indicators
   ============================================ */

/* Timeline Container */
.itinerary-timeline-flow {
    position: relative;
    padding: 0;
    margin: 0 auto;
    max-width: 800px;
}

/* Vertical Timeline Line */
.itinerary-timeline-flow::before {
    content: '';
    position: absolute;
    left: 35px; /* Centered in 70px column */
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(
        to bottom,
        transparent 0%,
        var(--sys-color-border-subtle, #e9ecef) 5%,
        var(--sys-color-border-subtle, #e9ecef) 95%,
        transparent 100%
    );
    pointer-events: none; /* Prevent line from blocking clicks */
}

/* Timeline Day Node */
.timeline-day-node {
    display: grid;
    grid-template-columns: 70px 1fr;
    gap: 1.5rem;
    position: relative;
    padding-bottom: 1.5rem;
}

.timeline-day-node:last-child {
    padding-bottom: 0;
}

/* Date Badge - Left Side */
.timeline-date-badge {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 2;
}

.timeline-date-badge__pill {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: var(--sys-color-surface-0, #fff);
    border: 2px solid var(--sys-color-border-subtle, #e9ecef);
    border-radius: var(--sys-radius-lg, 12px);
    padding: 0.5rem 0.75rem;
    min-width: 56px;
    text-align: center;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.timeline-day-node:hover .timeline-date-badge__pill {
    border-color: var(--sys-color-primary-light, #D8A81B);
    box-shadow: 0 2px 8px rgba(216, 168, 27, 0.15);
}

.timeline-date-badge__day {
    font-family: var(--sys-font-display, 'Playfair Display', serif);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--sys-color-ink-base, #2B2823);
    line-height: 1;
}

.timeline-date-badge__label {
    font-family: var(--sys-font-ui, Montserrat, sans-serif);
    font-size: 0.65rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--sys-color-ink-muted, #888580);
    margin-top: 2px;
}

/* Energy Indicator Dot - On Timeline */
.timeline-energy-dot {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    margin-top: 0.75rem;
    border: 3px solid var(--sys-color-surface-0, #fff);
    box-shadow: 0 0 0 2px currentColor;
    transition: transform 0.2s ease;
}

.timeline-day-node:hover .timeline-energy-dot {
    transform: scale(1.15);
}

/* Energy Types */
.timeline-energy-dot--high {
    background: var(--sys-color-primary-light, #D8A81B);
    color: var(--sys-color-primary-light, #D8A81B);
}

.timeline-energy-dot--decompression {
    background: #20c997;
    color: #20c997;
}

.timeline-energy-dot--neutral {
    background: var(--sys-color-ink-muted, #888580);
    color: var(--sys-color-ink-muted, #888580);
}

.timeline-energy-dot--highlight {
    background: #E74C3C;
    color: #E74C3C;
}

/* Content Card - Right Side */
.timeline-content-card {
    background: var(--sys-color-surface-0, #fff);
    border: 1px solid var(--sys-color-border-subtle, #e9ecef);
    border-radius: var(--sys-radius-lg, 12px);
    overflow: hidden;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.timeline-day-node:hover .timeline-content-card {
    border-color: var(--sys-color-primary-tint-20, rgba(183, 120, 13, 0.2));
    box-shadow: 0 4px 16px rgba(43, 40, 35, 0.08);
}

/* Accent bar based on energy type */
.timeline-content-card__accent {
    height: 3px;
    width: 100%;
}

.timeline-content-card__accent--high {
    background: linear-gradient(90deg, var(--sys-color-primary, #B7780D), var(--sys-color-primary-light, #D8A81B));
}

.timeline-content-card__accent--decompression {
    background: linear-gradient(90deg, #20c997, #7be0c4);
}

.timeline-content-card__accent--neutral {
    background: var(--sys-color-border-subtle, #e9ecef);
}

.timeline-content-card__accent--highlight {
    background: linear-gradient(90deg, #E74C3C, #f5a5a0);
}

/* Card Header - Always Visible (Compressed Summary) */
.timeline-content-card__header {
    padding: 1rem 1.25rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
    transition: background-color 0.15s ease;
}

.timeline-content-card__header:hover {
    background-color: var(--sys-color-surface-1, #FCFBF8);
}

.timeline-content-card__summary {
    flex: 1;
}

.timeline-content-card__title {
    font-family: var(--sys-font-display, 'Playfair Display', serif);
    font-size: 1rem;
    font-weight: 600;
    color: var(--sys-color-ink-base, #2B2823);
    margin: 0 0 0.25rem 0;
    line-height: 1.3;
}

.timeline-content-card__tagline {
    font-family: var(--sys-font-ui, Montserrat, sans-serif);
    font-size: 0.85rem;
    color: var(--sys-color-ink-muted, #888580);
    margin: 0;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Energy Badge in Header */
.timeline-energy-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.25rem 0.6rem;
    border-radius: var(--sys-radius-full, 9999px);
    font-family: var(--sys-font-ui, Montserrat, sans-serif);
    font-size: 0.7rem;
    font-weight: 600;
    white-space: nowrap;
    flex-shrink: 0;
}

.timeline-energy-badge--high {
    background: rgba(216, 168, 27, 0.12);
    color: #8c6b11;
}

.timeline-energy-badge--decompression {
    background: rgba(32, 201, 151, 0.12);
    color: #157a5f;
}

.timeline-energy-badge--highlight {
    background: rgba(231, 76, 60, 0.12);
    color: #c0392b;
}

/* Expand Chevron */
.timeline-expand-trigger {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border: none;
    background: var(--sys-color-surface-1, #FCFBF8);
    border-radius: var(--sys-radius-full, 9999px);
    color: var(--sys-color-ink-muted, #888580);
    cursor: pointer;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.timeline-expand-trigger:hover {
    background: var(--sys-color-primary-tint-10, rgba(183, 120, 13, 0.1));
    color: var(--sys-color-primary, #B7780D);
}

/* Focus styles for keyboard accessibility */
.timeline-expand-trigger:focus {
    outline: none;
}

.timeline-expand-trigger:focus-visible {
    outline: 2px solid var(--sys-color-primary, #B7780D);
    outline-offset: 2px;
    background: var(--sys-color-primary-tint-10, rgba(183, 120, 13, 0.1));
}

.timeline-content-card__header:focus-visible {
    outline: 2px solid var(--sys-color-primary, #B7780D);
    outline-offset: -2px;
    background-color: var(--sys-color-surface-1, #FCFBF8);
}

.timeline-expand-trigger svg {
    width: 16px;
    height: 16px;
    transition: transform 0.25s ease;
}

.timeline-expand-trigger[aria-expanded="true"] svg {
    transform: rotate(180deg);
}

/* Expanded Content - Accordion Body */
.timeline-content-card__body {
    display: none;
    padding: 0 1.25rem 1.25rem;
    border-top: 1px solid var(--sys-color-border-subtle, #e9ecef);
}

.timeline-content-card__body.show {
    display: block;
}

.timeline-content-card__description {
    font-family: var(--sys-font-body, Montserrat, sans-serif);
    font-size: 0.9rem;
    color: var(--sys-color-ink-secondary, #4B5563);
    line-height: 1.65;
    margin: 1rem 0 0;
}

/* Week Summary Cards (for "Days 1-7" type entries) */
.timeline-week-summary {
    background: var(--sys-color-surface-1, #FCFBF8);
    border-radius: var(--sys-radius-md, 8px);
    padding: 0.75rem 1rem;
    margin-top: 0.75rem;
}

.timeline-week-summary__label {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--sys-color-primary, #B7780D);
    margin-bottom: 0.25rem;
}

/* Mobile Responsive */
@media (max-width: 767px) {
    .itinerary-timeline-flow::before {
        left: 20px; /* Centered in 40px column */
    }

    .timeline-day-node {
        grid-template-columns: 40px 1fr;
        gap: 1rem;
        padding-bottom: 1rem;
    }

    .timeline-date-badge__pill {
        padding: 0.35rem 0.5rem;
        min-width: 40px;
        border-radius: var(--sys-radius-md, 8px);
    }

    .timeline-date-badge__day {
        font-size: 1.15rem;
    }

    .timeline-date-badge__label {
        font-size: 0.55rem;
    }

    .timeline-energy-dot {
        width: 12px;
        height: 12px;
        margin-top: 0.5rem;
    }

    .timeline-content-card__header {
        padding: 0.875rem 1rem;
        flex-wrap: wrap;
    }

    .timeline-content-card__title {
        font-size: 0.95rem;
    }

    .timeline-content-card__tagline {
        font-size: 0.8rem;
    }

    .timeline-energy-badge {
        font-size: 0.65rem;
        padding: 0.2rem 0.5rem;
    }

    .timeline-expand-trigger {
        width: 28px;
        height: 28px;
    }

    .timeline-content-card__body {
        padding: 0 1rem 1rem;
    }

    .timeline-content-card__description {
        font-size: 0.85rem;
    }
}

/* Tablet Adjustments */
@media (min-width: 768px) and (max-width: 991px) {
    .itinerary-timeline-flow::before {
        left: 27.5px; /* Centered in 55px column */
    }

    .timeline-day-node {
        grid-template-columns: 55px 1fr;
        gap: 1.25rem;
    }
}

/* Animation for expand/collapse - using opacity for performance */
@keyframes timeline-fade-in {
    from {
        opacity: 0;
        transform: translateY(-8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.timeline-content-card__body.show {
    animation: timeline-fade-in 0.2s ease-out forwards;
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    .timeline-day-node:hover .timeline-energy-dot,
    .timeline-expand-trigger svg,
    .timeline-content-card,
    .timeline-date-badge__pill {
        transition: none;
    }

    .timeline-content-card__body.show {
        animation: none;
    }
}

/* ============================================
   ITINERARY UX REFINEMENT - December 2025
   Design Audit Implementation
   ============================================ */

/* ---------------------------------------------
   1. DYNAMIC CONNECTOR LINES
   Three distinct spine styles based on energy:
   - High Energy: 4px solid amber
   - Decompression: 2px dashed teal
   - Neutral: 3px solid gray
   --------------------------------------------- */

/* Remove default timeline line - we'll add per-node connectors */
.itinerary-timeline-flow::before {
    display: none;
}

/* Connector line after each day node (except last) */
.timeline-day-node {
    position: relative;
    padding-bottom: 56px; /* Enhanced spacing for better visual breathing room */
    margin-bottom: 8px; /* Additional spacing */
}

.timeline-day-node:last-child {
    padding-bottom: 0;
    margin-bottom: 0;
}

/* Default connector line (neutral) */
.timeline-day-node::after {
    content: '';
    position: absolute;
    left: 35px; /* Centered in 70px column */
    top: 80px; /* Start below the badge */
    bottom: 0;
    width: 3px;
    background: var(--sys-color-border-subtle, #e9ecef);
    z-index: 0;
}

/* High Energy connector - solid amber */
.timeline-day-node[data-energy="high"]::after,
.timeline-day-node--high::after {
    width: 4px;
    background: linear-gradient(to bottom,
        var(--sys-color-primary-light, #D8A81B) 0%,
        var(--sys-color-primary, #B7780D) 100%
    );
}

/* Decompression connector - dashed teal */
.timeline-day-node[data-energy="decompression"]::after,
.timeline-day-node--decompression::after {
    width: 2px;
    background: transparent;
    border-left: 2px dashed #4FB3BF;
}

/* Highlight/Festival connector - solid red */
.timeline-day-node[data-energy="highlight"]::after,
.timeline-day-node--highlight::after {
    width: 4px;
    background: linear-gradient(to bottom,
        #E74C3C 0%,
        #c0392b 100%
    );
}

/* Last node - no connector */
.timeline-day-node:last-child::after {
    display: none;
}

@media (max-width: 767px) {
    .timeline-day-node {
        padding-bottom: 40px;
    }

    .timeline-day-node::after {
        left: 20px; /* Centered in 40px column */
        top: 60px;
    }
}

@media (min-width: 768px) and (max-width: 991px) {
    .timeline-day-node::after {
        left: 27.5px; /* Centered in 55px column */
        top: 70px;
    }
}

/* ---------------------------------------------
   2. EMBEDDED ENERGY INDICATOR DOTS
   Larger dots integrated with timeline spine
   --------------------------------------------- */

.timeline-energy-dot {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    margin-top: 0.75rem;
    border: 3px solid var(--sys-color-surface-0, #fff);
    box-shadow: 0 0 0 2px currentColor, 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    z-index: 2;
    position: relative;
}

.timeline-day-node:hover .timeline-energy-dot {
    transform: scale(1.2);
    box-shadow: 0 0 0 3px currentColor, 0 4px 8px rgba(0, 0, 0, 0.15);
}

/* High Energy - flame orange with glow */
.timeline-energy-dot--high {
    background: linear-gradient(135deg, #D8A81B 0%, #B7780D 100%);
    color: var(--sys-color-primary, #B7780D);
    box-shadow: 0 0 0 2px var(--sys-color-primary-light, #D8A81B), 0 2px 8px rgba(216, 168, 27, 0.3);
}

/* Decompression - cool teal outline style */
.timeline-energy-dot--decompression {
    background: rgba(79, 179, 191, 0.2);
    color: #4FB3BF;
    border: 3px solid #4FB3BF;
    box-shadow: 0 0 0 2px #4FB3BF, 0 2px 8px rgba(79, 179, 191, 0.3);
}

/* Highlight/Festival - vibrant red */
.timeline-energy-dot--highlight {
    background: linear-gradient(135deg, #E74C3C 0%, #c0392b 100%);
    color: #E74C3C;
    box-shadow: 0 0 0 2px #E74C3C, 0 2px 8px rgba(231, 76, 60, 0.3);
}

/* Neutral - subtle gray */
.timeline-energy-dot--neutral {
    background: var(--sys-color-ink-muted, #888580);
    color: var(--sys-color-ink-muted, #888580);
    box-shadow: 0 0 0 2px var(--sys-color-ink-muted, #888580), 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* ---------------------------------------------
   3. TIME-OF-DAY BACKGROUND TINTS
   Subtle backgrounds for activity blocks
   --------------------------------------------- */

.timeline-activity-block {
    padding: 0.75rem 1rem;
    border-radius: var(--sys-radius-md, 8px);
    margin-top: 0.75rem;
}

.timeline-activity-block--morning {
    background: rgba(255, 248, 235, 0.6);
    border-left: 3px solid rgba(216, 168, 27, 0.3);
}

.timeline-activity-block--afternoon {
    background: rgba(255, 255, 255, 1);
    border-left: 3px solid rgba(200, 200, 200, 0.3);
}

.timeline-activity-block--evening {
    background: rgba(240, 245, 248, 0.6);
    border-left: 3px solid rgba(79, 179, 191, 0.3);
}

.timeline-activity-block__time {
    font-family: var(--sys-font-ui, Montserrat, sans-serif);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--sys-color-ink-muted, #888580);
    margin-bottom: 0.25rem;
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

.timeline-activity-block__content {
    font-size: 0.9rem;
    color: var(--sys-color-ink-secondary, #4B5563);
    line-height: 1.5;
}

/* ---------------------------------------------
   4. ACTIVITY TYPE ICONS
   Visual indicators for activity categories
   --------------------------------------------- */

.timeline-activity-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    font-size: 14px;
    margin-right: 0.5rem;
    flex-shrink: 0;
}

/* Activity types container */
.timeline-activity-types {
    display: flex;
    flex-wrap: wrap;
    gap: 0.375rem;
    margin-bottom: 0.75rem;
}

/* Activity type badges */
.timeline-activity-type {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.2rem 0.5rem;
    border-radius: var(--sys-radius-full, 9999px);
    font-size: 0.7rem;
    font-weight: 600;
}

.timeline-activity-type--percussion {
    background: rgba(183, 120, 13, 0.1);
    color: #8c6b11;
}

.timeline-activity-type--dance {
    background: rgba(231, 76, 150, 0.1);
    color: #c0267a;
}

.timeline-activity-type--beach {
    background: rgba(79, 179, 191, 0.1);
    color: #157a5f;
}

.timeline-activity-type--arts {
    background: rgba(155, 89, 182, 0.1);
    color: #7d3c98;
}

.timeline-activity-type--tour {
    background: rgba(52, 152, 219, 0.1);
    color: #2874a6;
}

.timeline-activity-type--festival {
    background: rgba(231, 76, 60, 0.1);
    color: #c0392b;
}

.timeline-activity-type--food {
    background: rgba(230, 126, 34, 0.1);
    color: #ba4a00;
}

/* ---------------------------------------------
   5. STICKY MONTH NAVIGATION BAR
   Compact navigation during scroll
   --------------------------------------------- */

.month-sticky-nav {
    position: fixed;
    top: 72px; /* Below header */
    left: 0;
    right: 0;
    height: 60px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    z-index: var(--z-sticky, 1020);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    padding: 0 1rem;
    transform: translateY(-100%);
    opacity: 0;
    transition: transform 0.3s ease, opacity 0.3s ease;
    pointer-events: none;
}

.month-sticky-nav.show {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
}

.month-sticky-nav__item {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem 1rem;
    background: transparent;
    border: none;
    border-radius: var(--sys-radius-full, 9999px);
    font-family: var(--sys-font-ui, Montserrat, sans-serif);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--sys-color-ink-muted, #888580);
    cursor: pointer;
    transition: all 0.2s ease;
    position: relative;
}

.month-sticky-nav__item:hover {
    color: var(--sys-color-ink-base, #2B2823);
    background: rgba(0, 0, 0, 0.03);
}

.month-sticky-nav__item.active {
    color: var(--sys-color-primary, #B7780D);
    background: rgba(216, 168, 27, 0.1);
}

.month-sticky-nav__item.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    height: 2px;
    background: var(--sys-color-primary-light, #D8A81B);
    border-radius: 1px;
}

/* Hide sticky nav on mobile */
@media (max-width: 767px) {
    .month-sticky-nav {
        display: none !important;
    }
}

/* ---------------------------------------------
   6. ENHANCED CHEVRON INDICATORS
   Larger, more visible expand/collapse icons
   --------------------------------------------- */

.timeline-expand-trigger {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px; /* Increased from 32px */
    height: 36px;
    border: none;
    background: var(--sys-color-surface-1, #FCFBF8);
    border-radius: var(--sys-radius-full, 9999px);
    color: var(--sys-color-ink-muted, #888580);
    cursor: pointer;
    transition: all 0.25s ease;
    flex-shrink: 0;
}

.timeline-expand-trigger:hover {
    background: var(--sys-color-primary-tint-10, rgba(183, 120, 13, 0.1));
    color: var(--sys-color-primary, #B7780D);
    transform: scale(1.05);
}

.timeline-expand-trigger svg {
    width: 20px; /* Increased from 16px */
    height: 20px;
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.timeline-expand-trigger[aria-expanded="true"] svg,
.timeline-content-card__header[aria-expanded="true"] .timeline-expand-trigger svg {
    transform: rotate(180deg);
}

/* Energy-themed background for chevron */
.timeline-day-node--high .timeline-expand-trigger {
    background: rgba(216, 168, 27, 0.08);
}

.timeline-day-node--decompression .timeline-expand-trigger {
    background: rgba(79, 179, 191, 0.08);
}

.timeline-day-node--highlight .timeline-expand-trigger {
    background: rgba(231, 76, 60, 0.08);
}

/* Mobile adjustments */
@media (max-width: 767px) {
    .timeline-expand-trigger {
        width: 32px;
        height: 32px;
    }

    .timeline-expand-trigger svg {
        width: 18px;
        height: 18px;
    }
}

/* ---------------------------------------------
   7. MONTH CARD GRADIENT VARIETY
   Seasonal color differentiation
   --------------------------------------------- */

.month-tab[data-month="january"] .month-background {
    background-image: linear-gradient(135deg, rgba(183, 120, 13, 0.85) 0%, rgba(216, 168, 27, 0.75) 100%),
                      var(--month-image, url('/wp-content/uploads/2025/11/Bonfim-Parade-263x300.jpg')) !important;
    background-size: cover;
    background-position: center;
}

.month-tab[data-month="february"] .month-background {
    background-image: linear-gradient(135deg, rgba(52, 152, 219, 0.85) 0%, rgba(79, 179, 191, 0.75) 100%),
                      var(--month-image, url('/wp-content/uploads/2025/11/Festa-de-Iemanja-300x234.jpg')) !important;
    background-size: cover;
    background-position: center;
}

/* Archived months (if re-enabled) */
.month-tab[data-month="november"] .month-background {
    background-image: linear-gradient(135deg, rgba(43, 40, 35, 0.85) 0%, rgba(80, 70, 60, 0.75) 100%),
                      var(--month-image) !important;
}

.month-tab[data-month="december"] .month-background {
    background-image: linear-gradient(135deg, rgba(192, 57, 43, 0.85) 0%, rgba(155, 89, 182, 0.75) 100%),
                      var(--month-image) !important;
}

/* ---------------------------------------------
   8. ENHANCED SPACING & VISUAL BREATHING ROOM
   --------------------------------------------- */

/* Note: Timeline node spacing defined in connector line section above (lines 1872-1881) */

/* Better card header spacing */
.timeline-content-card__header {
    padding: 1.25rem 1.5rem; /* Increased from 1rem 1.25rem */
}

@media (max-width: 767px) {
    .timeline-content-card__header {
        padding: 1rem 1.25rem;
    }
}

/* Enhanced body content spacing */
.timeline-content-card__body {
    padding: 0 1.5rem 1.5rem; /* Increased from 0 1.25rem 1.25rem */
}

@media (max-width: 767px) {
    .timeline-content-card__body {
        padding: 0 1.25rem 1.25rem;
    }
}

/* Better visual separation between duration sections */
.duration-header {
    margin-top: 2rem;
}

.duration-header:first-of-type {
    margin-top: 0;
}

/* ---------------------------------------------
   9. ITINERARY SECTION HEADER REFINEMENTS
   --------------------------------------------- */

.itinerary-section .section-title {
    font-family: var(--sys-font-display, 'Playfair Display', serif);
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 700;
    color: var(--sys-color-ink-base, #2B2823);
    margin-bottom: 1rem;
}

.itinerary-section .section-description {
    max-width: 800px;
    margin: 0 auto 2.5rem;
    font-size: 1.1rem;
    color: var(--sys-color-ink-secondary, #4B5563);
    line-height: 1.7;
}

/* Collapse instruction styling */
.collapse-instruction {
    text-align: center;
    font-size: 0.9rem;
    color: var(--sys-color-ink-muted, #888580);
    margin-bottom: 1.5rem;
    padding: 0.75rem 1rem;
    background: rgba(216, 168, 27, 0.05);
    border-radius: var(--sys-radius-md, 8px);
}

/* ==========================================================================
   10. BUFFER/CONTEXT SECTION - "The Blackest City Outside Africa"
   v4.1.0 - Geographic/cultural anchoring section

   Translates Tailwind design to Opanije Design System 2.0 tokens.
   Visual presentation preserved exactly as specified.
   ========================================================================== */

.op-buffer-section {
    position: relative;
    display: flex;
    min-height: 100vh;
    width: 100%;
    flex-direction: column;
    justify-content: center;
    overflow-x: hidden;
    background-color: var(--sys-color-surface-1, #FAFAF9);
    color: var(--sys-color-ink-base, #2B2823);
    font-family: var(--sys-font-body, 'Lato', sans-serif);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Selection styling */
.op-buffer-section ::selection {
    background-color: var(--sys-color-primary-light, #D8A81B);
    color: var(--sys-color-surface-0, #FFFFFF);
}

/* Container */
.op-buffer-container {
    width: 100%;
    height: 100%;
    padding: 2rem 1.5rem;
}

@media (min-width: 768px) {
    .op-buffer-container {
        padding: 4rem 3rem;
    }
}

@media (min-width: 1024px) {
    .op-buffer-container {
        padding: 6rem 6rem;
    }
}

@media (min-width: 1280px) {
    .op-buffer-container {
        padding: 6rem 8rem;
    }
}

/* Decorative Line */
.op-buffer-line {
    width: 100%;
    height: 1px;
    background-color: var(--sys-color-ink-base, #2B2823);
    margin-bottom: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    overflow: visible;
}

@media (min-width: 768px) {
    .op-buffer-line {
        margin-bottom: 4rem;
    }
}

@media (min-width: 1024px) {
    .op-buffer-line {
        margin-bottom: 3rem;
    }
}

.op-buffer-line--bottom {
    margin-top: 3rem;
    margin-bottom: 0;
    background-color: rgba(43, 40, 35, 0.2);
    justify-content: flex-end;
}

@media (min-width: 768px) {
    .op-buffer-line--bottom {
        margin-top: 5rem;
    }
}

@media (min-width: 1024px) {
    .op-buffer-line--bottom {
        margin-top: 6rem;
    }
}

.op-buffer-line__accent {
    height: 4px;
    width: 33.333%;
    background-color: var(--sys-color-primary-light, #D8A81B);
}

@media (min-width: 768px) {
    .op-buffer-line__accent {
        width: 16.666%;
    }
}

.op-buffer-line__accent--right {
    width: 4rem;
    height: 2px;
}

@media (min-width: 768px) {
    .op-buffer-line__accent--right {
        width: 6rem;
    }
}

.op-buffer-line__brand {
    background-color: var(--sys-color-surface-1, #FAFAF9);
    padding-left: 1rem;
    font-family: var(--sys-font-display, 'Montserrat', sans-serif);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--sys-color-primary-light, #D8A81B);
    transform: translateY(-50%);
}

/* Main Content Grid */
.op-buffer-grid {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
    align-items: flex-start;
}

@media (min-width: 768px) {
    .op-buffer-grid {
        grid-template-columns: repeat(12, 1fr);
        gap: 3rem;
    }
}

@media (min-width: 1024px) {
    .op-buffer-grid {
        gap: 4rem;
        align-items: center;
    }
}

/* Headline Column */
.op-buffer-headline-col {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

@media (min-width: 768px) {
    .op-buffer-headline-col {
        grid-column: span 12;
    }
}

@media (min-width: 1024px) {
    .op-buffer-headline-col {
        grid-column: span 8;
        justify-content: center;
    }
}

/* Decorative vertical accent line */
.op-buffer-headline-accent {
    display: none;
}

@media (min-width: 1024px) {
    .op-buffer-headline-accent {
        display: block;
        position: absolute;
        left: -3rem;
        top: 0;
        bottom: 1rem;
        width: 1px;
        background-color: rgba(197, 160, 89, 0.3);
    }
}

/* Main Headline */
.op-buffer-headline {
    font-family: var(--sys-font-display, 'Montserrat', sans-serif);
    font-weight: 900;
    font-size: 2.75rem;
    letter-spacing: -0.025em;
    line-height: 1.05;
    color: var(--sys-color-ink-base, #2B2823);
    padding: 0.5rem 0;
    word-break: break-word;
    hyphens: auto;
    margin: 0;
}

@media (min-width: 420px) {
    .op-buffer-headline {
        font-size: 3rem;
    }
}

@media (min-width: 640px) {
    .op-buffer-headline {
        font-size: 3.75rem;
    }
}

@media (min-width: 768px) {
    .op-buffer-headline {
        font-size: 4.5rem;
    }
}

@media (min-width: 1024px) {
    .op-buffer-headline {
        font-size: 6rem;
    }
}

@media (min-width: 1280px) {
    .op-buffer-headline {
        font-size: 8rem;
    }
}

.op-buffer-headline__dot {
    color: var(--sys-color-primary-light, #D8A81B);
}

/* Line breaks - hidden on larger screens */
.op-buffer-br--sm {
    display: none;
}

@media (min-width: 640px) {
    .op-buffer-br--sm {
        display: block;
    }
}

/* Content Column */
.op-buffer-content-col {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    gap: 1.5rem;
    padding-bottom: 0.5rem;
}

@media (min-width: 768px) {
    .op-buffer-content-col {
        grid-column: 3 / span 8;
        gap: 2rem;
    }
}

@media (min-width: 1024px) {
    .op-buffer-content-col {
        grid-column: span 4;
    }
}

/* Image */
.op-buffer-image {
    width: 100%;
    aspect-ratio: 4 / 3;
    background-color: var(--sys-color-surface-2, #F4F3F0);
    border: 1px solid rgba(43, 40, 35, 0.1);
    margin-bottom: 0.5rem;
    object-fit: cover;
}

@media (min-width: 768px) {
    .op-buffer-image {
        aspect-ratio: 3 / 2;
        margin-bottom: 1rem;
    }
}

@media (min-width: 1024px) {
    .op-buffer-image {
        aspect-ratio: 1 / 1;
    }
}

/* Description Text */
.op-buffer-description {
    font-family: var(--sys-font-body, 'Lato', sans-serif);
    font-size: 1rem;
    font-weight: 300;
    line-height: 1.625;
    color: rgba(43, 40, 35, 0.9);
    margin: 0;
}

@media (min-width: 768px) {
    .op-buffer-description {
        font-size: 1.125rem;
        padding-right: 2rem;
    }
}

@media (min-width: 1024px) {
    .op-buffer-description {
        font-size: 1.25rem;
        padding-right: 0;
    }
}

/* CTA Wrapper */
.op-buffer-cta-wrap {
    padding-top: 1rem;
}

/* CTA Button */
.op-buffer-cta {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    overflow: hidden;
    background: transparent;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s ease;
}

.op-buffer-cta__icon {
    position: relative;
    display: flex;
    width: 3rem;
    height: 3rem;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    border-radius: 9999px;
    border: 1px solid var(--sys-color-ink-base, #2B2823);
    background-color: var(--sys-color-surface-1, #FAFAF9);
    transition: all 0.3s ease;
}

@media (min-width: 768px) {
    .op-buffer-cta__icon {
        width: 3.5rem;
        height: 3.5rem;
    }
}

.op-buffer-cta__icon .material-symbols-outlined {
    font-family: 'Material Symbols Outlined';
    font-size: 1.5rem;
    font-variation-settings: 'opsz' 24, 'wght' 400, 'FILL' 0, 'GRAD' 0;
    color: var(--sys-color-ink-base, #2B2823);
    transition: transform 0.3s ease, color 0.3s ease;
}

.op-buffer-cta:hover .op-buffer-cta__icon {
    background-color: var(--sys-color-ink-base, #2B2823);
    border-color: var(--sys-color-ink-base, #2B2823);
}

.op-buffer-cta:hover .op-buffer-cta__icon .material-symbols-outlined {
    color: var(--sys-color-surface-1, #FAFAF9);
    transform: translateY(2px);
}

.op-buffer-cta__text {
    font-family: var(--sys-font-display, 'Montserrat', sans-serif);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--sys-color-ink-base, #2B2823);
}

@media (min-width: 768px) {
    .op-buffer-cta__text {
        font-size: 0.875rem;
    }
}

.op-buffer-cta:hover .op-buffer-cta__text {
    text-decoration: underline;
    text-decoration-color: var(--sys-color-primary-light, #D8A81B);
    text-decoration-thickness: 2px;
    text-underline-offset: 4px;
}

/* Focus states for accessibility */
.op-buffer-cta:focus-visible {
    outline: 3px solid var(--sys-color-primary-tint-20, rgba(183, 120, 13, 0.2));
    outline-offset: 3px;
    border-radius: 4px;
}
