/* =============================================================================
   Adventures and Excursions Ensenada - Editorial Travel Magazine Design System
   Inspired by Explore Shaw & Modern High-End Travel Publication Aesthetics
   ============================================================================= */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;0,700;0,900;1,400;1,600&family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&family=Cinzel:wght@600;700;800&display=swap');

:root {
    /* Warm Baja Coastal Palette */
    --sand-50: #faf7f2;
    --sand-100: #f4eee3;
    --sand-200: #e8ded0;
    --sand-300: #d8cbba;
    
    --ocean-950: #081822;
    --ocean-900: #0e2738;
    --ocean-800: #15384e;
    --ocean-700: #1e4d6b;
    --ocean-600: #29688e;
    --ocean-100: #e5f0f7;
    
    --terracotta: #c45731;
    --terracotta-dark: #a84420;
    --terracotta-light: #fbeee8;
    
    --gold: #d4973b;
    --gold-dark: #b87b22;
    --gold-light: #fdf6ea;
    
    --charcoal: #1f272d;
    --charcoal-light: #4b5862;
    --charcoal-muted: #74838f;
    --white: #ffffff;
    
    /* Typography */
    --font-serif: 'Playfair Display', Georgia, serif;
    --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --font-display: 'Cinzel', 'Playfair Display', serif;
    
    /* Radius & Spacing */
    --radius-sm: 4px;
    --radius: 8px;
    --radius-lg: 16px;
    --radius-full: 9999px;
}

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

body {
    background-color: var(--sand-50);
    color: var(--charcoal);
    font-family: var(--font-sans);
    font-size: 16px;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

h1, h2, h3, h4, .font-serif {
    font-family: var(--font-serif);
    font-weight: 700;
    line-height: 1.25;
    color: var(--ocean-950);
}

p {
    color: var(--charcoal-light);
}

a {
    color: inherit;
    text-decoration: none;
    transition: all 0.2s ease;
}

/* =============================================================================
   Header & Navigation
   ============================================================================= */

.site-header {
    background: var(--white);
    border-bottom: 1px solid var(--sand-200);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

.nav-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 18px 28px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.brand-logo {
    display: flex;
    flex-direction: column;
    text-decoration: none;
}

.brand-logo .brand-title {
    font-family: var(--font-display);
    font-size: 19px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--ocean-900);
    line-height: 1.1;
}

.brand-logo .brand-sub {
    font-family: var(--font-sans);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--terracotta);
    margin-top: 3px;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 32px;
    list-style: none;
}

.nav-link {
    font-family: var(--font-sans);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--charcoal);
    position: relative;
    padding: 6px 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--terracotta);
    transition: width 0.25s ease;
}

.nav-link:hover::after, .nav-link.active::after {
    width: 100%;
}

.nav-link.highlight {
    color: var(--terracotta);
    font-weight: 700;
}

.lang-switch {
    display: flex;
    align-items: center;
    border: 1px solid var(--sand-300);
    border-radius: var(--radius-full);
    padding: 3px 5px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.05em;
    gap: 2px;
    background: var(--sand-100);
}

.lang-btn {
    padding: 3px 9px;
    border-radius: var(--radius-full);
    color: var(--charcoal-light);
}

.lang-btn.active {
    background: var(--ocean-900);
    color: var(--white);
}

/* =============================================================================
   Buttons & Interactive Elements
   ============================================================================= */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 13px 28px;
    font-family: var(--font-sans);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    text-decoration: none;
    border-radius: var(--radius-sm);
    cursor: pointer;
    border: 1px solid transparent;
    transition: all 0.25s ease;
}

.btn-primary {
    background: var(--terracotta);
    color: var(--white);
    border-color: var(--terracotta);
}

.btn-primary:hover {
    background: var(--terracotta-dark);
    border-color: var(--terracotta-dark);
    transform: translateY(-1px);
}

.btn-dark {
    background: var(--ocean-900);
    color: var(--white);
    border-color: var(--ocean-900);
}

.btn-dark:hover {
    background: var(--ocean-950);
    transform: translateY(-1px);
}

.btn-outline-white {
    background: transparent;
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.75);
}

.btn-outline-white:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: var(--white);
}

.btn-outline-dark {
    background: transparent;
    color: var(--ocean-900);
    border: 1px solid var(--ocean-900);
}

.btn-outline-dark:hover {
    background: var(--ocean-900);
    color: var(--white);
}

.btn-gold {
    background: var(--gold);
    color: var(--white);
}

.btn-gold:hover {
    background: var(--gold-dark);
}

.btn-success {
    background: #16a34a;
    color: var(--white);
}

.btn-success:hover {
    background: #15803d;
}

.btn-sm {
    padding: 8px 18px;
    font-size: 11px;
    letter-spacing: 0.08em;
}

.btn-block {
    width: 100%;
}

/* =============================================================================
   Hero Section - Editorial Full Impact
   ============================================================================= */

.hero-editorial {
    position: relative;
    min-height: 84vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(180deg, rgba(8, 24, 34, 0.6) 0%, rgba(8, 24, 34, 0.75) 100%), url('/assets/images/activities/bufadora.jpg') center/cover no-repeat;
    color: var(--white);
    text-align: center;
    padding: 100px 24px 80px;
}

.hero-editorial-inner {
    max-width: 920px;
    margin: 0 auto;
}

.hero-eyebrow {
    display: inline-block;
    font-family: var(--font-sans);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 20px;
    background: rgba(8, 24, 34, 0.45);
    padding: 6px 18px;
    border-radius: var(--radius-full);
    border: 1px solid rgba(212, 151, 59, 0.35);
}

.hero-editorial h1 {
    font-family: var(--font-serif);
    font-size: 58px;
    font-weight: 900;
    letter-spacing: -0.01em;
    line-height: 1.1;
    color: var(--white);
    margin-bottom: 22px;
}

.hero-editorial h1 span {
    font-style: italic;
    font-weight: 400;
    color: var(--sand-100);
}

.hero-editorial p {
    font-size: 19px;
    font-weight: 400;
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.92);
    max-width: 680px;
    margin: 0 auto 36px;
}

.hero-editorial-actions {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 48px;
}

.hero-editorial-features {
    display: flex;
    justify-content: center;
    gap: 32px;
    flex-wrap: wrap;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.85);
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 24px;
    max-width: 720px;
    margin: 0 auto;
}

/* =============================================================================
   Editorial Narrative & Layout Sections
   ============================================================================= */

.section-editorial {
    padding: 90px 24px;
}

.container-editorial {
    max-width: 1280px;
    margin: 0 auto;
}

.section-header-editorial {
    margin-bottom: 56px;
}

.section-header-editorial.center {
    text-align: center;
    max-width: 740px;
    margin-left: auto;
    margin-right: auto;
}

.editorial-tag {
    font-family: var(--font-sans);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--terracotta);
    display: block;
    margin-bottom: 12px;
}

.section-header-editorial h2 {
    font-size: 38px;
    font-weight: 800;
    letter-spacing: -0.01em;
    line-height: 1.2;
    margin-bottom: 14px;
}

.section-header-editorial p {
    font-size: 17px;
    color: var(--charcoal-light);
    line-height: 1.7;
}

/* Editorial Story Intro Section */
.story-intro {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-bottom: 80px;
}

.story-intro-content h3 {
    font-size: 32px;
    line-height: 1.25;
    margin-bottom: 20px;
}

.story-intro-content p {
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 18px;
}

.story-intro-image {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: 0 20px 40px -15px rgba(8, 24, 34, 0.2);
}

.story-intro-image img {
    width: 100%;
    height: 480px;
    object-fit: cover;
    display: block;
    transition: transform 0.6s ease;
}

.story-intro-image:hover img {
    transform: scale(1.03);
}

/* =============================================================================
   Curated Combos & Experiences - Editorial Cards
   ============================================================================= */

.combo-editorial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
    gap: 36px;
    margin-bottom: 60px;
}

.combo-card-editorial {
    background: var(--white);
    border: 1px solid var(--sand-200);
    border-radius: var(--radius);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

.combo-card-editorial:hover {
    transform: translateY(-5px);
    box-shadow: 0 16px 32px -10px rgba(8, 24, 34, 0.12);
    border-color: var(--sand-300);
}

.combo-card-image {
    height: 250px;
    position: relative;
    background-size: cover;
    background-position: center;
    background-color: var(--ocean-800);
}

.combo-badge-floating {
    position: absolute;
    top: 16px;
    left: 16px;
    background: rgba(8, 24, 34, 0.85);
    backdrop-filter: blur(8px);
    color: var(--gold);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    padding: 6px 14px;
    border-radius: var(--radius-full);
    border: 1px solid rgba(212, 151, 59, 0.3);
}

.combo-card-body {
    padding: 30px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.combo-card-body h3 {
    font-size: 24px;
    margin-bottom: 8px;
    color: var(--ocean-950);
}

.combo-card-tagline {
    font-family: var(--font-sans);
    font-size: 13px;
    font-weight: 700;
    color: var(--terracotta);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 14px;
}

.combo-card-body p {
    font-size: 14px;
    line-height: 1.7;
    color: var(--charcoal-light);
    margin-bottom: 20px;
    flex: 1;
}

.combo-included-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 24px;
}

.combo-pill {
    background: var(--sand-100);
    border: 1px solid var(--sand-200);
    color: var(--ocean-900);
    font-size: 12px;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: var(--radius-sm);
}

.combo-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid var(--sand-200);
    padding-top: 20px;
}

.combo-price-block {
    display: flex;
    flex-direction: column;
}

.combo-price-label {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--charcoal-muted);
}

.combo-price-val {
    font-family: var(--font-serif);
    font-size: 24px;
    font-weight: 800;
    color: var(--ocean-950);
}

/* =============================================================================
   Asymmetrical Editorial Activities Grid
   ============================================================================= */

.activities-editorial-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 28px;
}

.activity-editorial-card {
    background: var(--white);
    border: 1px solid var(--sand-200);
    border-radius: var(--radius);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.03);
}

.activity-editorial-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px -6px rgba(8, 24, 34, 0.1);
}

.activity-editorial-card.col-4 { grid-column: span 4; }
.activity-editorial-card.col-6 { grid-column: span 6; }
.activity-editorial-card.col-8 { grid-column: span 8; }
.activity-editorial-card.col-12 { grid-column: span 12; }

.activity-editorial-img {
    height: 220px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.activity-editorial-card.featured .activity-editorial-img {
    height: 320px;
}

.activity-editorial-body {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.activity-editorial-body h3 {
    font-size: 20px;
    margin-bottom: 8px;
}

.activity-editorial-body p {
    font-size: 14px;
    line-height: 1.65;
    margin-bottom: 16px;
    flex: 1;
}

.activity-meta-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
    color: var(--charcoal-muted);
    border-top: 1px solid var(--sand-100);
    padding-top: 14px;
}

/* =============================================================================
   Build Your Excursion - Travel Journal Studio
   ============================================================================= */

.builder-studio {
    display: grid;
    grid-template-columns: 1.6fr 1fr;
    gap: 40px;
    align-items: start;
}

.studio-panel {
    background: var(--white);
    border: 1px solid var(--sand-200);
    border-radius: var(--radius);
    padding: 36px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.03);
    margin-bottom: 28px;
}

.studio-step-title {
    display: flex;
    align-items: baseline;
    gap: 14px;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--sand-200);
}

.studio-step-num {
    font-family: var(--font-display);
    font-size: 14px;
    font-weight: 800;
    color: var(--terracotta);
    border: 1px solid var(--terracotta);
    padding: 2px 8px;
    border-radius: var(--radius-sm);
}

.studio-step-title h3 {
    font-size: 22px;
}

.selectable-experience {
    border: 1px solid var(--sand-200);
    border-radius: var(--radius);
    padding: 16px;
    background: var(--sand-50);
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    flex-direction: column;
    position: relative;
}

.selectable-experience:hover {
    border-color: var(--terracotta);
    background: var(--white);
}

.selectable-experience.selected {
    border-color: var(--terracotta);
    background: var(--terracotta-light);
    box-shadow: 0 4px 12px rgba(196, 87, 49, 0.12);
}

.selectable-experience.selected .check-mark {
    background: var(--terracotta);
    color: var(--white);
    border-color: var(--terracotta);
}

.check-mark {
    width: 22px;
    height: 22px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--sand-300);
    background: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 800;
}

/* Live Itinerary Dossier / Sticky Card */
.itinerary-dossier {
    position: sticky;
    top: 96px;
    background: var(--white);
    border: 1px solid var(--sand-300);
    border-radius: var(--radius);
    padding: 32px;
    box-shadow: 0 12px 30px -10px rgba(8, 24, 34, 0.1);
}

.dossier-header {
    border-bottom: 2px solid var(--sand-200);
    padding-bottom: 18px;
    margin-bottom: 20px;
}

.dossier-header h3 {
    font-size: 24px;
    margin-bottom: 4px;
}

.dossier-combo-banner {
    background: var(--gold-light);
    border: 1px solid var(--gold);
    border-radius: var(--radius-sm);
    padding: 14px 18px;
    margin-bottom: 20px;
}

.dossier-combo-banner .badge {
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--gold-dark);
}

.dossier-combo-banner h4 {
    font-size: 18px;
    color: var(--ocean-950);
    margin: 4px 0 2px;
}

.dossier-combo-banner p {
    font-size: 12px;
    color: var(--charcoal-light);
}

.dossier-savings {
    background: #dcfce7;
    color: #166534;
    font-size: 12px;
    font-weight: 700;
    padding: 6px 12px;
    border-radius: var(--radius-sm);
    display: inline-block;
    margin-top: 8px;
}

/* Suggestion Card */
.combo-suggestion-box {
    background: var(--ocean-100);
    border: 1px dashed var(--ocean-600);
    border-radius: var(--radius);
    padding: 14px 18px;
    margin: 18px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.combo-suggestion-box .text {
    font-size: 13px;
    font-weight: 600;
    color: var(--ocean-900);
}

/* Timeline */
.timeline-editorial {
    position: relative;
    padding-left: 24px;
    margin: 18px 0;
}

.timeline-editorial::before {
    content: '';
    position: absolute;
    left: 6px;
    top: 6px;
    bottom: 6px;
    width: 2px;
    background: var(--sand-200);
}

.timeline-step {
    position: relative;
    margin-bottom: 16px;
}

.timeline-step::before {
    content: '';
    position: absolute;
    left: -22px;
    top: 4px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--terracotta);
    border: 2px solid var(--white);
}

.timeline-step.travel::before { background: var(--ocean-600); }
.timeline-step.return::before { background: var(--ocean-950); }

.timeline-step .time {
    font-family: var(--font-sans);
    font-size: 12px;
    font-weight: 800;
    color: var(--terracotta);
}

.timeline-step .title {
    font-size: 14px;
    font-weight: 700;
    color: var(--ocean-950);
}

.timeline-step .desc {
    font-size: 12px;
    color: var(--charcoal-muted);
}

/* Form inputs in Builder */
.form-editorial-group {
    margin-bottom: 20px;
}

.form-editorial-group label {
    display: block;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--charcoal);
    margin-bottom: 8px;
}

.form-editorial-control {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--sand-300);
    border-radius: var(--radius-sm);
    font-family: var(--font-sans);
    font-size: 15px;
    background: var(--sand-50);
    color: var(--charcoal);
    transition: border 0.2s ease;
}

.form-editorial-control:focus {
    outline: none;
    border-color: var(--terracotta);
    background: var(--white);
    box-shadow: 0 0 0 3px var(--terracotta-light);
}

/* Mobile Sticky Summary Drawer */
.mobile-itinerary-bar {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--white);
    border-top: 1px solid var(--sand-300);
    box-shadow: 0 -8px 24px rgba(8, 24, 34, 0.12);
    padding: 14px 20px;
    z-index: 999;
    align-items: center;
    justify-content: space-between;
}

/* =============================================================================
   Footer - Editorial Magazine Style
   ============================================================================= */

.site-footer-editorial {
    background: var(--ocean-950);
    color: rgba(255, 255, 255, 0.7);
    padding: 90px 24px 40px;
    margin-top: auto;
}

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

.footer-editorial-brand h3 {
    font-family: var(--font-display);
    font-size: 20px;
    letter-spacing: 0.12em;
    color: var(--white);
    margin-bottom: 8px;
}

.footer-editorial-brand p {
    color: rgba(255, 255, 255, 0.65);
    font-size: 14px;
    line-height: 1.8;
    max-width: 380px;
    margin-bottom: 24px;
}

.footer-col h4 {
    font-family: var(--font-sans);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 20px;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col ul li a {
    color: rgba(255, 255, 255, 0.75);
    font-size: 14px;
    transition: color 0.2s ease;
}

.footer-col ul li a:hover {
    color: var(--white);
}

.footer-bottom-editorial {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    flex-wrap: wrap;
    gap: 16px;
}

/* =============================================================================
   Responsive Breakpoints
   ============================================================================= */

@media (max-width: 992px) {
    .builder-studio { grid-template-columns: 1fr; }
    .itinerary-dossier { display: none; }
    .mobile-itinerary-bar { display: flex; }
    .story-intro { grid-template-columns: 1fr; }
    .activities-editorial-grid { grid-template-columns: 1fr; }
    .activity-editorial-card.col-4,
    .activity-editorial-card.col-6,
    .activity-editorial-card.col-8,
    .activity-editorial-card.col-12 { grid-column: span 1; }
    .footer-editorial-grid { grid-template-columns: 1fr 1fr; }
    .hero-editorial h1 { font-size: 40px; }
}

@media (max-width: 768px) {
    .nav-menu { display: none; }
    .footer-editorial-grid { grid-template-columns: 1fr; gap: 32px; }
    .hero-editorial { min-height: 70vh; padding: 70px 20px; }
    .hero-editorial h1 { font-size: 32px; }
}

/* =============================================================================
   Wine Tour & Horseback Experience Selectors & Safety Modal
   ============================================================================= */

/* Winery Checklist Selector */
.wine-selection-panel {
    animation: fadeInDown 0.25s ease-out;
}

.winery-checkbox-label {
    transition: background 0.15s ease, border-color 0.15s ease;
}

.winery-checkbox-label:hover {
    background: var(--sand-50);
    border-color: var(--sand-400);
}

.winery-checkbox-label.selected {
    background: #fdf8f4;
    border-color: var(--terracotta);
}

/* Horseback Experience Cards */
.horse-experience-card {
    transition: all 0.2s ease;
    border: 2px solid var(--sand-300);
}

.horse-experience-card:hover {
    border-color: var(--sand-400);
    transform: translateY(-1px);
}

.horse-experience-card.active-option {
    border-color: var(--ocean-950) !important;
    background: #f8fafc !important;
    box-shadow: 0 4px 6px -1px rgba(8, 24, 34, 0.1);
}

.horse-experience-card.recommended-fit {
    border-color: #059669 !important;
    box-shadow: 0 0 0 1px #059669;
}

/* Safety Waiver Modal */
.safety-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(8, 24, 34, 0.75);
    backdrop-filter: blur(4px);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    animation: fadeIn 0.2s ease-out;
}

.safety-modal-card {
    background: white;
    border-radius: 12px;
    width: 100%;
    max-width: 720px;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.35);
    overflow: hidden;
}

.safety-modal-header {
    padding: 20px 24px;
    background: var(--sand-50);
    border-bottom: 1px solid var(--sand-300);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-shrink: 0;
}

.safety-modal-close {
    background: none;
    border: none;
    font-size: 26px;
    line-height: 1;
    color: var(--charcoal-muted);
    cursor: pointer;
    padding: 4px 8px;
    border-radius: 4px;
    transition: color 0.15s ease;
}

.safety-modal-close:hover {
    color: var(--ocean-950);
}

.safety-modal-body {
    padding: 20px 24px;
    overflow-y: auto;
    flex: 1;
}

.safety-covered-activities-bar {
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    border-radius: 8px;
    padding: 12px 16px;
    margin-bottom: 16px;
}

.safety-bar-label {
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    color: #166534;
    display: block;
    margin-bottom: 6px;
}

.safety-act-tags-row {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.safety-act-tag {
    background: white;
    border: 1px solid #86efac;
    color: #15803d;
    font-size: 12px;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 9999px;
}

.safety-scroll-content {
    background: #f8fafc;
    border: 1px solid var(--sand-300);
    border-radius: 8px;
    padding: 18px;
    max-height: 260px;
    overflow-y: auto;
    font-size: 13px;
    line-height: 1.6;
    color: var(--charcoal);
    margin-bottom: 18px;
}

.safety-scroll-content h4 {
    color: var(--ocean-950);
    font-size: 14px;
    margin: 14px 0 6px 0;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.safety-scroll-content h4:first-child {
    margin-top: 0;
}

.safety-scroll-content p {
    margin: 0 0 10px 0;
}

.safety-consent-form {
    border-top: 1px solid var(--sand-300);
    padding-top: 16px;
}

.safety-checkbox-label {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    font-size: 13px;
    font-weight: 600;
    color: var(--ocean-950);
    cursor: pointer;
    margin-bottom: 10px;
    line-height: 1.4;
}

.safety-checkbox-label input[type="checkbox"] {
    margin-top: 3px;
    flex-shrink: 0;
    width: 16px;
    height: 16px;
    cursor: pointer;
}

.safety-modal-footer {
    padding: 16px 24px;
    background: var(--sand-50);
    border-top: 1px solid var(--sand-300);
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    flex-shrink: 0;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-8px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Mobile full-screen sheet styling */
@media (max-width: 600px) {
    .safety-modal-overlay {
        padding: 0;
    }
    .safety-modal-card {
        max-width: 100%;
        height: 100vh;
        max-height: 100vh;
        border-radius: 0;
    }
    .safety-modal-header {
        padding: 16px;
    }
    .safety-modal-body {
        padding: 16px;
    }
    .safety-scroll-content {
        max-height: 200px;
    }
    .safety-modal-footer {
        padding: 14px 16px;
        flex-direction: column-reverse;
    }
    .safety-modal-footer .btn {
        width: 100%;
    }
}

/* Additional mobile refinements (360px - 414px viewport optimization) */
@media (max-width: 480px) {
    .winery-checkbox-label {
        padding: 10px !important;
    }
    .winery-checkbox-label > span:first-child {
        max-width: 65%;
        font-size: 12px !important;
    }
    .winery-checkbox-label > span:last-child {
        font-size: 11px !important;
    }
    .horse-experience-card {
        padding: 10px !important;
    }
    .safety-modal-header h3 {
        font-size: 16px !important;
    }
    .safety-act-tag {
        font-size: 11px !important;
        padding: 2px 8px !important;
    }
    .safety-scroll-content {
        font-size: 12px !important;
        max-height: 180px !important;
    }
    .safety-checkbox-label {
        font-size: 12px !important;
    }
}
