/* Design System & Custom Styles for ZUMA */

:root {
    /* Brand Color Palette */
    --purple-fuchsia: #B349A6;
    --turquoise-light: #9BEBDF;
    --coral-salmon: #EA726D;
    --green-bright: #65EB8B;
    --purple-dark: #615170;
    --earth-malva: #997979;
    
    /* Layout Constants */
    --bg-dark-slate: #1c1424;
    --bg-card: rgba(97, 81, 112, 0.15);
    --border-glass: rgba(155, 235, 223, 0.15);
    --border-glass-active: rgba(155, 235, 223, 0.6);
    --text-light: #f5f0fa;
    --text-muted: #c8b9d6;
    --radius-lg: 16px;
    --radius-md: 10px;
    --radius-sm: 6px;
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    
    /* Shadows */
    --glow-shadow: 0 0 20px rgba(155, 235, 223, 0.25);
    --glow-shadow-pink: 0 0 20px rgba(179, 73, 166, 0.35);
    --card-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.25);
}

/* Base resets & styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-dark-slate);
    color: var(--text-light);
}

body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
    position: relative;
}

/* Background Glow Elements */
.bg-glow {
    position: fixed;
    border-radius: 50%;
    filter: blur(100px);
    z-index: -1;
    opacity: 0.25;
    pointer-events: none;
    animation: pulse 12s infinite alternate;
}

.bg-glow-1 {
    width: 500px;
    height: 500px;
    background-color: var(--purple-dark);
    top: -100px;
    left: -100px;
}

.bg-glow-2 {
    width: 600px;
    height: 600px;
    background-color: var(--purple-fuchsia);
    bottom: -200px;
    right: -100px;
    animation-delay: 3s;
}

.bg-glow-3 {
    width: 400px;
    height: 400px;
    background-color: var(--coral-salmon);
    top: 30%;
    left: 60%;
    animation-delay: 6s;
}

@keyframes pulse {
    0% { transform: scale(1) translate(0, 0); opacity: 0.2; }
    50% { transform: scale(1.1) translate(30px, -20px); opacity: 0.3; }
    100% { transform: scale(0.9) translate(-10px, 30px); opacity: 0.15; }
}

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

/* Glassmorphism utility */
.glass {
    background: var(--bg-card);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-lg);
    box-shadow: var(--card-shadow);
}

/* Sub-panel layout */
.sub-panel {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    margin-top: 20px;
    padding-top: 20px;
    animation: fadeIn 0.3s ease;
}

/* Header & Navigation */
.header {
    background: rgba(28, 20, 36, 0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(155, 235, 223, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
    padding: 12px 0;
}

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

.logo-wrapper {
    display: flex;
    align-items: center;
    gap: 16px;
    cursor: pointer;
}

.zuma-logo {
    width: 54px;
    height: 54px;
    transition: var(--transition-smooth);
}

.logo-z {
    fill: none;
    stroke: var(--turquoise-light);
    stroke-width: 8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.logo-path {
    fill: none;
    stroke: var(--purple-dark);
    stroke-width: 3;
    stroke-dasharray: 4,3;
}

.logo-pin {
    fill: var(--coral-salmon);
}

.logo-plane {
    fill: var(--purple-fuchsia);
}

.logo-trail {
    fill: none;
    stroke: var(--purple-fuchsia);
    stroke-width: 1.5;
}

.logo-mountains {
    fill: none;
    stroke: var(--turquoise-light);
    stroke-width: 4;
    stroke-linecap: round;
}

.logo-waves {
    fill: none;
    stroke: var(--purple-fuchsia);
    stroke-width: 3;
    stroke-linecap: round;
}

.logo-wrapper:hover .zuma-logo {
    transform: rotate(5deg) scale(1.05);
}

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

.brand-name {
    font-family: 'Outfit', sans-serif;
    font-size: 26px;
    font-weight: 800;
    letter-spacing: 2px;
    color: var(--text-light);
    background: linear-gradient(135deg, #fff 30%, var(--turquoise-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1.1;
}

.brand-slogan {
    font-size: 11px;
    color: var(--text-muted);
    font-weight: 500;
}

.nav {
    display: flex;
    gap: 12px;
}

.nav-link {
    text-decoration: none;
    color: var(--text-muted);
    font-weight: 600;
    font-size: 14px;
    padding: 10px 18px;
    border-radius: var(--radius-md);
    transition: var(--transition-smooth);
    border: 1px solid transparent;
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-link:hover {
    color: var(--text-light);
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(155, 235, 223, 0.1);
}

.active-nav-btn {
    background: rgba(155, 235, 223, 0.1);
    color: var(--turquoise-light);
    border: 1px solid var(--border-glass-active);
    box-shadow: var(--glow-shadow);
}

.active-nav-btn:hover {
    background: rgba(155, 235, 223, 0.15);
    color: var(--turquoise-light);
    border-color: var(--turquoise-light);
}

/* Main Content Wrapper */
.main-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 80px;
    padding-top: 60px;
    padding-bottom: 80px;
}

/* Hero Section */
.hero-section {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    padding: 20px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
}

.hero-title {
    font-family: 'Outfit', sans-serif;
    font-size: 58px;
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -1px;
}

.hero-title span {
    background: linear-gradient(135deg, var(--turquoise-light) 0%, var(--purple-fuchsia) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: 18px;
    color: var(--text-muted);
    line-height: 1.6;
    max-width: 650px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 12px;
}

/* Button design */
.btn {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 15px;
    padding: 14px 28px;
    border-radius: var(--radius-md);
    border: none;
    cursor: pointer;
    transition: var(--transition-smooth);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    text-decoration: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--coral-salmon) 0%, var(--purple-fuchsia) 100%);
    color: #fff;
    box-shadow: 0 4px 15px rgba(234, 114, 109, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(234, 114, 109, 0.5), var(--glow-shadow-pink);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-light);
    border: 1px solid var(--border-glass);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--border-glass-active);
    transform: translateY(-2px);
}

.btn-whatsapp {
    background: rgba(37, 211, 102, 0.12);
    color: #65EB8B;
    border: 1px solid rgba(37, 211, 102, 0.35);
}

.btn-whatsapp:hover {
    background: rgba(37, 211, 102, 0.22);
    border-color: rgba(37, 211, 102, 0.7);
    transform: translateY(-2px);
    box-shadow: 0 0 20px rgba(37, 211, 102, 0.25);
}

.btn-whatsapp i {
    font-size: 18px;
}

.nav-link-wsp i {
    color: #65EB8B;
}

.hero-channels-note {
    margin-top: 14px;
    font-size: 13px;
    color: var(--text-muted);
}

/* Floating WhatsApp button */
.wsp-float {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 90;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: #25D366;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    text-decoration: none;
    box-shadow: 0 10px 28px -6px rgba(37, 211, 102, 0.55);
    transition: var(--transition-smooth);
}

.wsp-float:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 14px 32px -8px rgba(37, 211, 102, 0.7);
}

.wsp-float-tip {
    position: absolute;
    right: 70px;
    white-space: nowrap;
    background: rgba(0, 0, 0, 0.75);
    color: var(--text-light);
    font-size: 12px;
    font-weight: 600;
    padding: 6px 12px;
    border-radius: var(--radius-sm);
    opacity: 0;
    pointer-events: none;
    transition: var(--transition-smooth);
}

.wsp-float:hover .wsp-float-tip {
    opacity: 1;
}

@media (max-width: 640px) {
    .wsp-float {
        right: 14px;
        bottom: 14px;
        width: 44px;
        height: 44px;
        font-size: 22px;
    }
    .wsp-float-tip {
        display: none;
    }
}

.btn-danger {
    background: rgba(234, 114, 109, 0.15);
    color: var(--coral-salmon);
    border: 1px solid rgba(234, 114, 109, 0.3);
}

.btn-danger:hover {
    background: rgba(234, 114, 109, 0.25);
    border-color: var(--coral-salmon);
    transform: translateY(-2px);
}

/* Section general headings */
.section-header {
    text-align: center;
    margin-bottom: 40px;
}

.section-title {
    font-family: 'Outfit', sans-serif;
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.section-title i {
    color: var(--turquoise-light);
}

.section-subtitle {
    color: var(--text-muted);
    font-size: 16px;
    max-width: 600px;
    margin: 0 auto;
}

/* Itinerary Grid & Cards */
.itinerarios-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 24px;
}

.itinerary-card {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transition: var(--transition-smooth);
    height: 100%;
}

.itinerary-card:hover {
    transform: translateY(-5px);
    border-color: var(--border-glass-active);
    box-shadow: 0 12px 40px 0 rgba(0, 0, 0, 0.4), var(--glow-shadow);
}

.card-img-wrapper {
    position: relative;
    height: 160px;
    background-size: cover;
    background-position: center;
}

.card-img-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(28, 20, 36, 0.95) 0%, rgba(28, 20, 36, 0.2) 100%);
}

.card-tag {
    position: absolute;
    top: 12px;
    right: 12px;
    padding: 4px 10px;
    border-radius: var(--radius-sm);
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    backdrop-filter: blur(4px);
}

.tag-mochilero { background: rgba(155, 235, 223, 0.2); color: var(--turquoise-light); border: 1px solid var(--turquoise-light); }
.tag-promedio { background: rgba(101, 235, 139, 0.2); color: var(--green-bright); border: 1px solid var(--green-bright); }
.tag-comfort { background: rgba(234, 114, 109, 0.2); color: var(--coral-salmon); border: 1px solid var(--coral-salmon); }
.tag-fancy { background: rgba(179, 73, 166, 0.2); color: var(--purple-fuchsia); border: 1px solid var(--purple-fuchsia); }

.card-content {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex: 1;
    gap: 12px;
}

.card-content h3 {
    font-family: 'Outfit', sans-serif;
    font-size: 18px;
    font-weight: 600;
}

.card-desc {
    color: var(--text-muted);
    font-size: 13.5px;
    line-height: 1.5;
    flex: 1;
}

.card-details {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    font-size: 11px;
    color: var(--text-muted);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 12px;
    margin-top: 4px;
}

.card-detail-item {
    display: flex;
    align-items: center;
    gap: 4px;
}

.card-detail-item i {
    color: var(--turquoise-light);
}

.card-price {
    font-weight: 700;
    color: var(--green-bright);
    font-size: 13px;
    margin-left: auto;
}

.card-actions {
    margin-top: 12px;
    display: flex;
    gap: 8px;
}

.card-actions button {
    flex: 1;
    padding: 8px 10px;
    font-size: 12.5px;
    border-radius: var(--radius-sm);
}

/* Multi-step survey styling */
.planner-box {
    padding: 40px;
    max-width: 750px;
    margin: 0 auto;
}

.progress-container {
    background: rgba(255, 255, 255, 0.05);
    height: 8px;
    border-radius: var(--radius-sm);
    margin-bottom: 30px;
    position: relative;
    overflow: hidden;
}

.progress-bar {
    height: 100%;
    width: 8.3%;
    background: linear-gradient(to right, var(--turquoise-light), var(--purple-fuchsia));
    border-radius: var(--radius-sm);
    transition: width 0.4s ease-out;
}

.progress-steps-label {
    position: absolute;
    right: 0;
    top: -22px;
    font-size: 11px;
    color: var(--text-muted);
    font-weight: 600;
}

#survey-wizard {
    min-height: 320px;
}

.wizard-step {
    display: none;
    animation: fadeIn 0.4s ease-in-out;
}

.wizard-step.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.wizard-step h3 {
    font-family: 'Outfit', sans-serif;
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.wizard-step h3 i {
    color: var(--turquoise-light);
}

.step-desc {
    color: var(--text-muted);
    font-size: 14px;
    margin-bottom: 24px;
}

/* Form controls */
.input-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 15px;
}

.input-group label {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-muted);
}

.input-group input[type="text"],
.input-group input[type="email"],
.input-group textarea,
.custom-budget-wrapper input[type="number"] {
    width: 100%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-glass);
    padding: 14px 18px;
    border-radius: var(--radius-md);
    color: var(--text-light);
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    transition: var(--transition-smooth);
}

.input-group input:focus,
.input-group textarea:focus,
.custom-budget-wrapper input:focus {
    outline: none;
    border-color: var(--turquoise-light);
    box-shadow: 0 0 10px rgba(155, 235, 223, 0.15);
    background: rgba(255, 255, 255, 0.08);
}

.error-msg {
    color: var(--coral-salmon);
    font-size: 12px;
    font-weight: 600;
    display: none;
    margin-top: 6px;
}

/* Options selection grid */
.options-grid {
    display: grid;
    gap: 16px;
    margin-bottom: 24px;
}

.options-grid.col-2 { grid-template-columns: repeat(2, 1fr); }
.options-grid.col-3 { grid-template-columns: repeat(3, 1fr); }

.option-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-md);
    padding: 20px;
    cursor: pointer;
    transition: var(--transition-smooth);
    display: flex;
    align-items: center;
    gap: 16px;
}

.option-card:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(155, 235, 223, 0.3);
}

.option-card.selected {
    background: rgba(155, 235, 223, 0.08);
    border-color: var(--turquoise-light);
    box-shadow: var(--glow-shadow);
}

.option-card i {
    font-size: 24px;
    color: var(--turquoise-light);
}

.option-card.selected i {
    color: var(--turquoise-light);
    animation: bounce 0.4s ease;
}

.option-title {
    display: block;
    font-weight: 600;
    font-size: 15px;
    color: var(--text-light);
}

.option-sub {
    display: block;
    font-size: 11px;
    color: var(--text-muted);
    margin-top: 2px;
}

/* Small options for companions */
.option-card.small {
    flex-direction: column;
    padding: 16px;
    text-align: center;
    gap: 10px;
}

.option-card.small i {
    font-size: 22px;
}

.option-card.small .option-title {
    font-size: 13px;
}

/* Numeric input spinner layout for adults/children */
.number-input-group {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.number-input-group label {
    font-size: 12px;
    font-weight: 600;
    color: var(--text-muted);
}

.number-control {
    display: flex;
    align-items: center;
    background: rgba(0, 0, 0, 0.25);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-md);
    overflow: hidden;
    width: 140px;
}

.num-btn {
    background: transparent;
    border: none;
    color: var(--text-light);
    width: 40px;
    height: 40px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.num-btn:hover {
    background: rgba(255, 255, 255, 0.05);
    color: var(--turquoise-light);
}

.number-control input[type="number"] {
    width: 60px;
    height: 40px;
    border: none;
    background: transparent;
    color: var(--text-light);
    text-align: center;
    font-size: 16px;
    font-weight: 700;
    pointer-events: none;
}

/* Hide HTML5 Spinner arrows */
.number-control input[type=number]::-webkit-inner-spin-button, 
.number-control input[type=number]::-webkit-outer-spin-button { 
  -webkit-appearance: none; 
  margin: 0; 
}

/* Month picker flexible grid */
.months-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 10px;
}

.month-checkbox {
    cursor: pointer;
}

.month-checkbox input {
    display: none;
}

.month-checkbox span {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 45px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-sm);
    font-size: 13px;
    font-weight: 600;
    color: var(--text-muted);
    transition: var(--transition-smooth);
}

.month-checkbox:hover span {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(155, 235, 223, 0.2);
}

.month-checkbox input:checked + span {
    background: rgba(155, 235, 223, 0.1);
    color: var(--turquoise-light);
    border-color: var(--turquoise-light);
    box-shadow: 0 0 10px rgba(155, 235, 223, 0.2);
}

@keyframes bounce {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.2); }
}

.custom-budget-wrapper {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.custom-budget-wrapper label {
    display: block;
    font-size: 12px;
    color: var(--text-muted);
    margin-bottom: 8px;
}

/* Duration slider styling */
.duration-slider-container {
    padding: 20px 10px;
}

.duration-display {
    text-align: center;
    font-size: 36px;
    font-weight: 800;
    font-family: 'Outfit', sans-serif;
    color: var(--turquoise-light);
    margin-bottom: 20px;
    text-shadow: var(--glow-shadow);
}

.slider {
    -webkit-appearance: none;
    width: 100%;
    height: 8px;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.1);
    outline: none;
    transition: background 0.3s;
}

.slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--coral-salmon) 0%, var(--purple-fuchsia) 100%);
    cursor: pointer;
    box-shadow: 0 0 10px rgba(234, 114, 109, 0.4);
    transition: transform 0.1s;
}

.slider::-webkit-slider-thumb:hover {
    transform: scale(1.15);
}

.slider-labels {
    display: flex;
    justify-content: space-between;
    font-size: 11px;
    color: var(--text-muted);
    margin-top: 10px;
}

/* Checkbox Card Options for Activities & Events */
.checkbox-options-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-bottom: 20px;
}

.checkbox-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-md);
    padding: 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 14px;
    transition: var(--transition-smooth);
}

.checkbox-card input[type="checkbox"] {
    display: none;
}

.checkbox-box {
    width: 32px;
    height: 32px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-glass);
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    font-size: 15px;
    transition: var(--transition-smooth);
}

.checkbox-label {
    font-size: 14px;
    font-weight: 500;
}

.checkbox-card:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(155, 235, 223, 0.2);
}

.checkbox-card:has(input:checked) {
    background: rgba(155, 235, 223, 0.06);
    border-color: var(--turquoise-light);
    box-shadow: var(--glow-shadow);
}

.checkbox-card:has(input:checked) .checkbox-box {
    background: var(--turquoise-light);
    color: var(--purple-dark);
    border-color: var(--turquoise-light);
}

.leads-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 10px;
}

.checkbox-terms {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    margin-top: 10px;
    font-size: 12px;
    color: var(--text-muted);
    cursor: pointer;
}

.checkbox-terms input {
    margin-top: 2px;
}

.planner-actions {
    display: flex;
    justify-content: space-between;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

#survey-prev-btn {
    margin-right: auto;
}

#survey-next-btn {
    margin-left: auto;
}

/* Processing View */
.procesando-section {
    padding: 60px 40px;
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.loading-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.spinner {
    position: relative;
    width: 80px;
    height: 80px;
    margin-bottom: 10px;
}

.spinner-ring {
    position: absolute;
    inset: 0;
    border: 3px fill transparent;
    border-top: 3px solid;
    border-radius: 50%;
    animation: spin 1.5s cubic-bezier(0.5, 0.1, 0.4, 0.9) infinite;
}

.bg-pink {
    border-color: var(--purple-fuchsia) transparent transparent transparent;
}

.bg-turquoise {
    border-color: var(--turquoise-light) transparent transparent transparent;
    animation-duration: 1.2s;
    animation-direction: reverse;
    inset: 10px;
}

.bg-coral {
    border-color: var(--coral-salmon) transparent transparent transparent;
    animation-duration: 0.9s;
    inset: 20px;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.processing-subtitle {
    font-size: 14px;
    color: var(--text-muted);
    margin-top: -8px;
}

.agents-status-list {
    width: 100%;
    max-width: 400px;
    margin-top: 30px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    text-align: left;
    background: rgba(0, 0, 0, 0.1);
    padding: 20px;
    border-radius: var(--radius-md);
    border: 1px solid rgba(255, 255, 255, 0.03);
}

.agent-status-item {
    font-size: 13px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-muted);
    transition: var(--transition-smooth);
}

.agent-status-item i {
    width: 16px;
    text-align: center;
}

.agent-status-item.active {
    color: var(--turquoise-light);
    font-weight: 500;
}

.agent-status-item.active i {
    color: var(--turquoise-light);
}

.agent-status-item.done {
    color: var(--green-bright);
}

.agent-status-item.done i {
    color: var(--green-bright);
}

/* Recommendations View */
.recomendaciones-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 30px;
}

.recomendacion-card {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transition: var(--transition-smooth);
}

.recomendacion-card:hover {
    transform: translateY(-5px);
    border-color: var(--border-glass-active);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4), var(--glow-shadow);
}

.rec-badge-score {
    position: absolute;
    top: 16px;
    left: 16px;
    background: rgba(101, 235, 139, 0.9);
    color: var(--bg-dark-slate);
    padding: 6px 12px;
    border-radius: var(--radius-sm);
    font-size: 12px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 4px;
}

.rec-why {
    background: rgba(155, 235, 223, 0.06);
    border-left: 3px solid var(--turquoise-light);
    padding: 10px 14px;
    font-size: 12px;
    color: var(--text-light);
    margin-bottom: 12px;
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

/* Modal View */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(28, 20, 36, 0.85);
    backdrop-filter: blur(8px);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    animation: fadeIn 0.3s ease;
}

.modal-content {
    max-width: 900px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    padding: 40px;
    animation: slideUp 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes slideUp {
    from { transform: translateY(30px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.modal-close-btn {
    position: absolute;
    top: 24px;
    right: 24px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-glass);
    color: var(--text-light);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.modal-close-btn:hover {
    background: var(--coral-salmon);
    border-color: var(--coral-salmon);
    transform: rotate(90deg);
}

/* Full Itinerary presentation */
.iti-header {
    margin-bottom: 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 20px;
}

.iti-meta {
    display: flex;
    gap: 18px;
    flex-wrap: wrap;
    font-size: 13px;
    color: var(--text-muted);
    margin-top: 10px;
}

.iti-meta span i {
    color: var(--turquoise-light);
}

.iti-title {
    font-family: 'Outfit', sans-serif;
    font-size: 32px;
    font-weight: 800;
}

.iti-intro {
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 24px;
    color: var(--text-light);
}

/* Budget Table */
.budget-title {
    font-family: 'Outfit', sans-serif;
    font-size: 18px;
    font-weight: 600;
    margin: 24px 0 12px 0;
}

.budget-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 24px;
    font-size: 14px;
}

.budget-table th,
.budget-table td {
    padding: 12px 16px;
    text-align: left;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.budget-table th {
    font-weight: 600;
    color: var(--text-muted);
    background: rgba(0, 0, 0, 0.15);
}

.budget-table tr:hover td {
    background: rgba(255, 255, 255, 0.02);
}

.budget-table tr.total-row {
    font-weight: 700;
    font-size: 15px;
    color: var(--green-bright);
    background: rgba(101, 235, 139, 0.05);
}

.budget-table tr.total-row td {
    border-top: 2px solid rgba(101, 235, 139, 0.2);
}

/* Daily Timeline */
.timeline-title {
    font-family: 'Outfit', sans-serif;
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 16px;
}

.timeline {
    position: relative;
    border-left: 2px solid rgba(155, 235, 223, 0.2);
    padding-left: 24px;
    margin-left: 10px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.timeline-item {
    position: relative;
}

.timeline-marker {
    position: absolute;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--turquoise-light);
    border: 3px solid var(--bg-dark-slate);
    left: -33px;
    top: 4px;
    box-shadow: 0 0 8px var(--turquoise-light);
}

.timeline-day {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: 16px;
    color: var(--turquoise-light);
    margin-bottom: 6px;
}

.timeline-content {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 16px 20px;
    border-radius: var(--radius-md);
}

.timeline-content h4 {
    font-weight: 600;
    margin-bottom: 8px;
    font-size: 15px;
}

.timeline-content p {
    font-size: 13.5px;
    line-height: 1.5;
    color: var(--text-muted);
}

.itinerary-actions {
    margin-top: 30px;
    display: flex;
    justify-content: flex-end;
    gap: 16px;
}

/* Affiliate Promo badge */
.affiliate-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    background: rgba(234, 114, 109, 0.1);
    border: 1px solid rgba(234, 114, 109, 0.2);
    border-radius: var(--radius-sm);
    color: var(--coral-salmon);
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 10px;
}

.affiliate-link {
    color: var(--turquoise-light);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition-smooth);
    border-bottom: 1px dashed var(--turquoise-light);
}

.affiliate-link:hover {
    color: var(--text-light);
    border-color: var(--text-light);
}

/* Email Delivered Preview */
.email-preview-section {
    max-width: 800px;
    margin: 0 auto;
    overflow: hidden;
}

.email-mockup-header {
    background: rgba(0, 0, 0, 0.3);
    padding: 12px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    gap: 8px;
}

.email-mockup-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.email-mockup-dot.red { background: #ff5f56; }
.email-mockup-dot.yellow { background: #ffbd2e; }
.email-mockup-dot.green { background: #27c93f; }

.email-mockup-title {
    font-size: 12px;
    color: var(--text-muted);
    font-weight: 500;
    margin-left: 10px;
}

.email-mockup-envelope {
    background: #fff;
    color: #333;
    padding: 30px;
}

.email-meta-info {
    border-bottom: 1px solid #e0e0e0;
    padding-bottom: 15px;
    margin-bottom: 20px;
    font-size: 13px;
    color: #555;
    line-height: 1.6;
}

.email-body-content {
    font-size: 14px;
    line-height: 1.6;
    color: #333;
}

.email-body-content h1 {
    font-family: 'Outfit', sans-serif;
    color: var(--purple-dark);
    margin-bottom: 15px;
}

.email-body-content h2, 
.email-body-content h3 {
    margin-top: 24px;
    margin-bottom: 12px;
    color: var(--purple-dark);
}

.email-body-content a {
    color: var(--purple-fuchsia);
}

.email-preview-actions {
    display: flex;
    justify-content: center;
    gap: 16px;
    padding: 24px;
    background: rgba(0, 0, 0, 0.1);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

/* Leads Debug Box */
.leads-debug-section {
    padding: 30px;
    margin-top: 40px;
}

.leads-debug-section h3 {
    font-family: 'Outfit', sans-serif;
    font-size: 20px;
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.table-container {
    overflow-x: auto;
    background: rgba(0, 0, 0, 0.2);
    border-radius: var(--radius-md);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.leads-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 12.5px;
    text-align: left;
}

.leads-table th,
.leads-table td {
    padding: 12px 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.leads-table th {
    background: rgba(0, 0, 0, 0.3);
    color: var(--text-muted);
    font-weight: 600;
}

.debug-actions {
    margin-top: 20px;
    display: flex;
    gap: 12px;
}

/* Footer styling */
.footer {
    background: #0f0a14;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 40px 0;
    color: var(--text-muted);
    font-size: 13px;
    margin-top: auto;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-socials {
    display: flex;
    gap: 16px;
}

.footer-socials a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 18px;
    transition: var(--transition-smooth);
}

.footer-socials a:hover {
    color: var(--turquoise-light);
}

/* Responsive breakpoint adjustments */
@media (max-width: 992px) {
    .recomendaciones-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 40px;
    }
    
    .hero-subtitle {
        font-size: 15px;
    }
    
    .options-grid.col-2,
    .options-grid.col-3,
    .checkbox-options-grid {
        grid-template-columns: 1fr;
    }
    
    .months-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .header-container {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
    
    .nav {
        width: 100%;
        justify-content: center;
    }
    
    .planner-box {
        padding: 24px 16px;
    }

    /* Los dos botones no caben en fila en <768px: se apilan,
       con la acción principal (Siguiente/Generar) arriba */
    .planner-actions {
        flex-direction: column-reverse;
        gap: 12px;
    }

    .planner-actions .btn {
        width: 100%;
        justify-content: center;
    }

    .recomendaciones-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-container {
        flex-direction: column;
        text-align: center;
    }

    /* En fila no caben los 3 contactos: el teléfono se partía en 3 líneas */
    .footer-socials {
        flex-direction: column;
        align-items: center;
        gap: 12px;
    }

    .footer-socials a {
        white-space: nowrap;
    }

    .modal-content {
        padding: 20px;
    }
    
    .companions-inputs {
        flex-direction: column;
        gap: 15px;
    }
}

/* ============ FAQ: qué es ZUMA ============ */
.faq-section {
    padding: 60px 0 80px;
    scroll-margin-top: 90px;
}

.faq-list {
    max-width: 780px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.faq-item {
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: var(--transition-smooth);
}

.faq-item:hover {
    border-color: var(--border-glass-active);
    transform: translateX(4px);
}

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 18px 20px;
    background: transparent;
    border: none;
    color: var(--text-light);
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    font-weight: 600;
    text-align: left;
    cursor: pointer;
}

.faq-icon {
    color: var(--turquoise-light);
    margin-right: 8px;
}

.faq-chevron {
    color: var(--text-muted);
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    flex-shrink: 0;
}

.faq-item.open .faq-chevron {
    transform: rotate(180deg);
    color: var(--turquoise-light);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.45s cubic-bezier(0.4, 0, 0.2, 1), padding 0.3s ease;
    padding: 0 20px;
    color: var(--text-muted);
    font-size: 14px;
    line-height: 1.7;
}

.faq-item.open .faq-answer {
    max-height: 420px;
    padding: 0 20px 20px;
}

.faq-answer strong { color: var(--text-light); }

.faq-steps {
    margin: 0;
    padding-left: 20px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

/* Ruta Z→A con avioncito que despega al abrir */
.faq-route {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
}

.faq-route-dot {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: rgba(155, 235, 223, 0.12);
    border: 1px solid var(--border-glass-active);
    color: var(--turquoise-light);
    font-weight: 800;
    font-size: 13px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.faq-route-line {
    position: relative;
    flex: 1;
    border-top: 2px dashed rgba(155, 235, 223, 0.35);
    height: 0;
}

.faq-route-plane {
    position: absolute;
    top: -9px;
    left: 0;
    color: var(--coral-salmon);
    font-size: 15px;
}

.faq-item.open .faq-route-plane {
    animation: faqFly 2.2s ease-in-out forwards;
}

@keyframes faqFly {
    0%   { left: 0; transform: rotate(0deg) translateY(0); }
    50%  { transform: rotate(-8deg) translateY(-6px); }
    100% { left: calc(100% - 18px); transform: rotate(0deg) translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
    .faq-item.open .faq-route-plane { animation: none; left: calc(100% - 18px); }
}

/* ============ Banner "correo enviado" del preview ============ */
.email-sent-banner {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 20px;
    margin-bottom: 18px;
    border-radius: var(--radius-md);
    background: rgba(101, 235, 139, 0.1);
    border: 1px solid rgba(101, 235, 139, 0.35);
}

.email-sent-banner strong {
    display: block;
    color: var(--green-bright);
    font-size: 15px;
    margin-bottom: 4px;
}

.email-sent-banner span {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.5;
}

.email-sent-plane {
    font-size: 26px;
    color: var(--green-bright);
    animation: sentPlane 2.6s ease-in-out infinite;
    flex-shrink: 0;
}

@keyframes sentPlane {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    50%      { transform: translate(6px, -6px) rotate(-8deg); }
}

@media (prefers-reduced-motion: reduce) {
    .email-sent-plane { animation: none; }
}

/* ============ Links reales por destino (modal / web) ============ */
.real-links-row {
    background: rgba(155, 235, 223, 0.07);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-md);
    padding: 14px 16px;
    margin-bottom: 25px;
}

.real-links-label {
    display: block;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--turquoise-light);
    margin-bottom: 10px;
}

.real-links-btns {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.real-link-btn {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 8px 13px;
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--border-glass);
    color: var(--text-light);
    font-size: 12.5px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition-smooth);
}

.real-link-btn:hover {
    background: rgba(155, 235, 223, 0.15);
    border-color: var(--border-glass-active);
    transform: translateY(-2px);
}

.real-link-btn .fa-youtube { color: #ff5f5f; }
.real-link-btn .fa-instagram { color: #d67ce5; }
.real-link-btn .fa-plane { color: var(--turquoise-light); }
.real-link-btn .fa-bed { color: var(--green-bright); }
.real-link-btn .fa-map-location-dot { color: var(--coral-salmon); }

/* ============ Logo nuevo: la Z-ruta se dibuja sola ============ */
.logo-route {
    fill: none;
    stroke: url(#zuma-grad);
    stroke-width: 11;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-dasharray: 330;
    stroke-dashoffset: 330;
    animation: logoDraw 1.3s 0.15s cubic-bezier(0.6, 0, 0.3, 1) forwards;
}

.logo-dashes {
    fill: none;
    stroke: rgba(255, 255, 255, 0.85);
    stroke-width: 2.5;
    stroke-linecap: round;
    stroke-dasharray: 1 9;
    opacity: 0;
    animation: logoFadeIn 0.5s 1.35s ease forwards;
}

.logo-origin {
    fill: var(--coral-salmon);
    opacity: 0;
    transform-origin: 26px 30px;
    transform-box: view-box;
    animation: logoFadeIn 0.4s 1.45s ease forwards, logoPinPulse 2.6s 1.9s ease-in-out infinite;
}

.logo-jet {
    fill: #ffffff;
    opacity: 0;
    animation: logoFadeIn 0.4s 1.5s ease forwards;
}

@keyframes logoDraw {
    to { stroke-dashoffset: 0; }
}

@keyframes logoFadeIn {
    to { opacity: 1; }
}

@keyframes logoPinPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.45); }
}

/* ============ Hero: ruta punteada + avión cruzando ============ */
.hero-section {
    position: relative;
}

.hero-route {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
}

.hero-route path {
    fill: none;
    stroke: rgba(155, 235, 223, 0.22);
    stroke-width: 2;
    stroke-dasharray: 2 10;
    stroke-linecap: round;
}

.hero-route-stop {
    fill: var(--coral-salmon);
    opacity: 0.45;
    animation: stopBlink 3.2s ease-in-out infinite;
}

.hero-route-stop.s2 { animation-delay: 1s; fill: var(--turquoise-light); }
.hero-route-stop.s3 { animation-delay: 2s; fill: var(--purple-fuchsia); }

@keyframes stopBlink {
    0%, 100% { opacity: 0.25; }
    50% { opacity: 0.9; }
}

.hero-plane {
    position: absolute;
    top: 16%;
    left: -50px;
    font-size: 19px;
    color: var(--turquoise-light);
    opacity: 0;
    pointer-events: none;
    animation: heroFly 15s 1.2s linear infinite;
    filter: drop-shadow(0 0 8px rgba(155, 235, 223, 0.5));
}

@keyframes heroFly {
    0%   { transform: translate(0, 0) rotate(10deg); opacity: 0; }
    6%   { opacity: 0.75; }
    30%  { transform: translate(30vw, -28px) rotate(-6deg); }
    60%  { transform: translate(62vw, 14px) rotate(8deg); }
    92%  { opacity: 0.75; }
    100% { transform: translate(105vw, -20px) rotate(-4deg); opacity: 0; }
}

/* Entrada orquestada del hero */
.hero-title, .hero-subtitle, .hero-actions, .hero-channels-note {
    opacity: 0;
    animation: riseIn 0.7s cubic-bezier(0.2, 0.7, 0.3, 1) forwards;
}

.hero-subtitle { animation-delay: 0.15s; }
.hero-actions { animation-delay: 0.3s; }
.hero-channels-note { animation-delay: 0.45s; }

@keyframes riseIn {
    from { opacity: 0; transform: translateY(22px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* Cards de itinerarios: entran en cascada cada vez que se renderizan */
.itinerarios-grid > *, .recomendaciones-grid > * {
    animation: riseIn 0.55s cubic-bezier(0.2, 0.7, 0.3, 1) both;
}

.itinerarios-grid > *:nth-child(2), .recomendaciones-grid > *:nth-child(2) { animation-delay: 0.1s; }
.itinerarios-grid > *:nth-child(3), .recomendaciones-grid > *:nth-child(3) { animation-delay: 0.2s; }
.itinerarios-grid > *:nth-child(4) { animation-delay: 0.3s; }

/* Feedback táctil: todo botón/link se hunde levemente al presionar */
.btn:active, .real-link-btn:active, .option-card:active, .checkbox-card:active,
.faq-question:active, .nav-link:active, .wsp-float:active {
    transform: scale(0.97);
}

@media (prefers-reduced-motion: reduce) {
    .logo-route { animation: none; stroke-dashoffset: 0; }
    .logo-dashes, .logo-origin, .logo-jet { animation: none; opacity: 1; }
    .hero-plane { animation: none; opacity: 0; }
    .hero-title, .hero-subtitle, .hero-actions, .hero-channels-note,
    .itinerarios-grid > *, .recomendaciones-grid > * { animation: none; opacity: 1; }
}

/* ============ Header móvil compacto ============ */
@media (max-width: 768px) {
    .header {
        padding: 8px 0;
    }

    .header-container {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        gap: 10px;
        text-align: left;
    }

    .zuma-logo {
        width: 38px;
        height: 38px;
    }

    .logo-wrapper {
        gap: 9px;
    }

    .brand-name {
        font-size: 19px;
        letter-spacing: 1px;
    }

    .brand-slogan {
        display: none;
    }

    /* Nav de solo íconos: compacto y usable con el pulgar */
    .nav {
        width: auto;
        justify-content: flex-end;
        gap: 6px;
    }

    .nav-link {
        font-size: 0;
        padding: 10px 12px;
        border-radius: var(--radius-md);
        background: rgba(255, 255, 255, 0.04);
        border: 1px solid rgba(155, 235, 223, 0.12);
    }

    .nav-link i {
        font-size: 17px;
    }

    .active-nav-btn {
        background: rgba(155, 235, 223, 0.12);
    }

    .hero-title {
        font-size: 34px;
    }

    .hero-actions {
        width: 100%;
        flex-direction: column;
    }

    .hero-actions .btn {
        width: 100%;
    }

    .main-content {
        padding-top: 36px;
        gap: 56px;
    }
}

/* ============================================================
   ZUMA 3D LAYER (V2.5) — profundidad real, tilt y craft
   ============================================================ */

/* --- Tipografía elevada: display serif + grotesk + mono --- */
html, body, .btn {
    font-family: 'Schibsted Grotesk', 'Inter', sans-serif;
}

.hero-title {
    font-family: 'Fraunces', serif;
    font-weight: 600;
    font-size: clamp(2.9rem, 6.5vw, 4.6rem);
    line-height: 1.04;
    letter-spacing: -0.02em;
}

.hero-title span {
    background: none;
    -webkit-background-clip: unset;
    -webkit-text-fill-color: currentColor;
    color: var(--coral-salmon);
    font-style: italic;
}

.section-title {
    font-family: 'Fraunces', serif;
    font-weight: 600;
    letter-spacing: -0.01em;
}

.hero-eyebrow, .section-eyebrow {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 0.78rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--turquoise-light);
    opacity: 0.85;
}

.section-eyebrow { margin-bottom: 10px; }
.hero-eyebrow { margin-bottom: -8px; }

/* --- Grano cinematográfico: mata el look "plástico IA" --- */
.grain-overlay {
    position: fixed;
    inset: 0;
    z-index: 999;
    pointer-events: none;
    opacity: 0.05;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* --- Motor de tilt 3D (el JS aplica el transform inline) ---
   El contexto 3D solo existe mientras se interactúa: en reposo
   las cards pintan plano (evita saturar el compositor con
   preserve-3d + backdrop-filter en muchas capas a la vez). */
.tilt-3d.is-tilting,
.tilt-3d.is-resting {
    transform-style: preserve-3d;
    transition: transform 0.18s ease-out, box-shadow 0.3s ease;
}

.tilt-3d.is-resting {
    transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

/* --- Boarding pass 3D: la firma del hero --- */
.hero-pass-scene {
    perspective: 1100px;
    margin-top: 26px;
    position: relative;
    width: min(560px, 92vw);
}

.hero-pass {
    display: flex;
    border-radius: 14px;
    overflow: visible;
    position: relative;
    background: linear-gradient(160deg, rgba(97, 81, 112, 0.55), rgba(28, 20, 36, 0.85));
    border: 1px solid rgba(155, 235, 223, 0.28);
    box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.6), 0 0 40px -10px rgba(179, 73, 166, 0.25);
    animation: pass-idle 7s ease-in-out infinite;
    cursor: crosshair;
}

.hero-pass.is-tilting { animation: none; }

@keyframes pass-idle {
    0%, 100% { transform: perspective(900px) rotateX(8deg) rotateY(-7deg) translateY(0); }
    50%      { transform: perspective(900px) rotateX(4deg) rotateY(7deg) translateY(-10px); }
}

.pass-main {
    flex: 1;
    padding: 18px 20px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    border-right: 2px dashed rgba(155, 235, 223, 0.35);
    transform-style: preserve-3d;
}

.pass-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: 'IBM Plex Mono', monospace;
    font-size: 0.68rem;
    letter-spacing: 0.1em;
    color: var(--text-muted);
}

.pass-airline { display: inline-flex; align-items: center; gap: 7px; color: var(--text-light); }
.pass-mini-logo { width: 18px; height: 18px; }
.pass-class { color: var(--green-bright); }

.pass-route {
    display: flex;
    align-items: center;
    gap: 12px;
}

.pass-pop { transform: translateZ(34px); }
.pass-pop-sm { transform: translateZ(18px); }

.pass-city { display: flex; flex-direction: column; }
.pass-city.right { text-align: right; }

.pass-code {
    font-family: 'Fraunces', serif;
    font-weight: 600;
    font-size: 2rem;
    line-height: 1;
    color: var(--text-light);
}

.pass-name {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 0.65rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-top: 4px;
}

.pass-path { flex: 1; position: relative; height: 40px; }
.pass-path svg { width: 100%; height: 100%; }
.pass-path svg path { stroke: var(--turquoise-light); opacity: 0.8; }

.pass-path-plane {
    position: absolute;
    color: var(--coral-salmon);
    font-size: 15px;
    top: 2px;
    left: 46%;
    transform: rotate(12deg);
    filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.5));
}

.pass-bottom {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    flex-wrap: wrap;
    border-top: 1px solid rgba(155, 235, 223, 0.15);
    padding-top: 12px;
}

.pass-field { display: flex; flex-direction: column; gap: 2px; }
.pass-field span {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 0.58rem;
    letter-spacing: 0.09em;
    text-transform: uppercase;
    color: var(--text-muted);
}
.pass-field b {
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--turquoise-light);
    letter-spacing: 0.04em;
}

.pass-stub {
    width: 86px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 10px;
    transform: translateZ(10px);
}

.pass-barcode {
    width: 46px;
    height: 78px;
    background: repeating-linear-gradient(
        to bottom,
        var(--text-light) 0 2px,
        transparent 2px 5px,
        var(--text-light) 5px 9px,
        transparent 9px 11px
    );
    opacity: 0.85;
    border-radius: 2px;
}

.pass-stub-code {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 0.6rem;
    letter-spacing: 0.12em;
    color: var(--text-muted);
}

/* Muescas de ticket en el borde perforado */
.hero-pass::before, .hero-pass::after {
    content: '';
    position: absolute;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--bg-dark-slate);
    right: 77px;
    z-index: 2;
}
.hero-pass::before { top: -10px; }
.hero-pass::after { bottom: -10px; }

/* Brillo que sigue el cursor */
.pass-glare {
    position: absolute;
    inset: 0;
    border-radius: 14px;
    pointer-events: none;
    background: radial-gradient(
        circle at var(--mx, 50%) var(--my, 30%),
        rgba(255, 255, 255, 0.14) 0%,
        rgba(255, 255, 255, 0.03) 35%,
        transparent 60%
    );
    mix-blend-mode: screen;
}

.hero-pass-shadow {
    position: absolute;
    left: 10%;
    right: 10%;
    bottom: -26px;
    height: 30px;
    background: radial-gradient(ellipse at center, rgba(0, 0, 0, 0.55), transparent 70%);
    filter: blur(6px);
    animation: pass-shadow-idle 7s ease-in-out infinite;
}

@keyframes pass-shadow-idle {
    0%, 100% { transform: scaleX(1); opacity: 0.9; }
    50%      { transform: scaleX(0.88); opacity: 0.6; }
}

/* --- Cards con profundidad real --- */
.itinerary-card.tilt-3d { overflow: visible; }

.itinerary-card.tilt-3d .card-img-wrapper {
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
    overflow: hidden;
}
.itinerary-card.tilt-3d.is-tilting .card-img-wrapper { transform: translateZ(22px); }
.itinerary-card.tilt-3d.is-tilting .card-content { transform: translateZ(12px); }


.itinerary-card.tilt-3d:hover {
    box-shadow: 0 34px 60px -22px rgba(0, 0, 0, 0.65), 0 0 34px -8px rgba(155, 235, 223, 0.2);
    border-color: var(--border-glass-active);
}

.tilt-soft { --tilt-max: 5; }

/* --- Botones con física de presión --- */
.btn-primary {
    box-shadow: 0 5px 0 -1px rgba(120, 30, 90, 0.55), 0 14px 28px -8px rgba(234, 114, 109, 0.45);
}
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 7px 0 -1px rgba(120, 30, 90, 0.55), 0 18px 32px -8px rgba(234, 114, 109, 0.55);
}
.btn-primary:active {
    transform: translateY(3px);
    box-shadow: 0 1px 0 -1px rgba(120, 30, 90, 0.55), 0 6px 14px -6px rgba(234, 114, 109, 0.4);
}

/* --- Responsive y accesibilidad --- */
@media (max-width: 640px) {
    .hero-pass { transform: none; }
    .pass-code { font-size: 1.5rem; }
    .pass-bottom .pass-field:nth-child(n+3) { display: none; }
    .pass-stub { width: 64px; }
    .hero-pass::before, .hero-pass::after { right: 56px; }
}

@media (prefers-reduced-motion: reduce) {
    .hero-pass, .hero-pass-shadow { animation: none; }
    .tilt-3d { transform: none !important; transition: none; }
    .grain-overlay { display: none; }
}
