:root {
    --navy-950: #061525;
    --navy-900: #071a2e;
    --navy-800: #0b2941;
    --teal-700: #087f83;
    --teal-600: #0a9a9e;
    --teal-500: #14b8a6;
    --teal-100: #ccfbf1;
    --coral-500: #ff6b5f;
    --amber-500: #f59e0b;
    --green-600: #059669;
    --red-600: #dc2626;
    --ink: #122033;
    --muted: #6a7689;
    --line: #dfe5ec;
    --canvas: #f4f7f9;
    --white: #fff;
    --radius-sm: 10px;
    --radius: 16px;
    --radius-lg: 24px;
    --shadow-sm: 0 1px 2px rgba(7, 26, 46, .05), 0 8px 24px rgba(7, 26, 46, .05);
    --shadow-lg: 0 28px 70px rgba(7, 26, 46, .18);
    --sidebar: 264px;
}

* { box-sizing: border-box; }
html { color-scheme: light; scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--canvas); font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; font-size: 15px; line-height: 1.5; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
img { display: block; max-width: 100%; }

.app-shell { min-height: 100vh; }
.sidebar { position: fixed; inset: 0 auto 0 0; z-index: 50; width: var(--sidebar); display: flex; flex-direction: column; padding: 24px 18px; color: #d9e9ee; background: linear-gradient(180deg, var(--navy-950), #082c3b 75%, #063e45); box-shadow: 12px 0 40px rgba(5, 25, 38, .08); }
.brand { display: flex; gap: 12px; align-items: center; min-height: 54px; padding: 0 8px 22px; border-bottom: 1px solid rgba(255,255,255,.09); }
.brand-mark { width: 43px; height: 43px; display: grid; place-items: center; flex: 0 0 auto; color: var(--navy-900); background: linear-gradient(135deg, #5eead4, #fff0d7); border-radius: 14px; font-size: 13px; font-weight: 900; letter-spacing: -.04em; box-shadow: 0 8px 28px rgba(20,184,166,.25); }
.brand strong, .brand small { display: block; }
.brand strong { color: #fff; font-size: 18px; line-height: 1.1; letter-spacing: -.035em; }
.brand small { margin-top: 4px; color: #7dd3cf; font-size: 9px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.sidebar-nav { flex: 1; padding-top: 24px; overflow-y: auto; }
.nav-caption, .eyebrow { margin: 0 10px 9px; color: #7ba5ad; font-size: 10px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.nav-link { display: flex; gap: 12px; align-items: center; min-height: 46px; margin: 3px 0; padding: 10px 12px; color: #a9c5cb; border: 1px solid transparent; border-radius: 13px; font-size: 13px; font-weight: 700; transition: .2s ease; }
.nav-link:hover { color: #fff; background: rgba(255,255,255,.07); }
.nav-link.is-active { color: #fff; background: rgba(20,184,166,.18); border-color: rgba(94,234,212,.2); box-shadow: inset 3px 0 #5eead4; }
.nav-icon { width: 24px; height: 24px; display: grid; place-items: center; color: #78d8d1; background: rgba(255,255,255,.06); border-radius: 8px; font-size: 16px; font-weight: 900; }
.sidebar-bottom { padding-top: 12px; border-top: 1px solid rgba(255,255,255,.09); }
.profile-chip { display: flex; gap: 10px; align-items: center; margin-top: 10px; padding: 13px 8px 2px; }
.avatar { width: 38px; height: 38px; display: grid; place-items: center; flex: 0 0 auto; color: #06363d; background: #99f6e4; border-radius: 50%; font-weight: 900; }
.profile-copy { min-width: 0; flex: 1; }
.profile-copy strong, .profile-copy small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.profile-copy strong { color: #fff; font-size: 12px; }
.profile-copy small { color: #78a4ad; font-size: 10px; }
.icon-button { width: 38px; height: 38px; display: grid; place-items: center; padding: 0; color: inherit; background: transparent; border: 1px solid rgba(255,255,255,.13); border-radius: 11px; }
.icon-button:hover { background: rgba(255,255,255,.1); }
.main-panel { min-height: 100vh; margin-left: var(--sidebar); display: flex; flex-direction: column; }
.topbar { min-height: 104px; display: flex; gap: 20px; align-items: center; justify-content: space-between; padding: 20px clamp(24px,4vw,52px); background: rgba(255,255,255,.92); border-bottom: 1px solid var(--line); backdrop-filter: blur(12px); }
.topbar-copy { min-width: 0; }
.topbar-copy .eyebrow { margin: 0 0 3px; color: var(--teal-700); }
.topbar h1 { margin: 0; font-size: clamp(22px,2.4vw,31px); line-height: 1.12; letter-spacing: -.04em; }
.topbar p:not(.eyebrow) { margin: 5px 0 0; color: var(--muted); font-size: 12px; }
.topbar-actions { display: flex; gap: 12px; align-items: center; }
.live-pill { display: inline-flex; gap: 7px; align-items: center; color: #18745d; padding: 8px 11px; background: #ecfdf5; border: 1px solid #bbf7d0; border-radius: 999px; font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; white-space: nowrap; }
.live-pill i { width: 7px; height: 7px; background: #10b981; border-radius: 50%; box-shadow: 0 0 0 4px rgba(16,185,129,.14); }
.mobile-menu, .mobile-scrim { display: none; }
.page-content { width: 100%; max-width: 1680px; flex: 1; margin: 0 auto; padding: clamp(24px,3.5vw,48px); }
.app-footer { display: flex; justify-content: space-between; padding: 18px clamp(24px,4vw,52px); color: #8993a2; border-top: 1px solid var(--line); font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }

.grid { display: grid; gap: 20px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0,1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0,1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0,1fr)); }
.layout-main { grid-template-columns: minmax(0,1.7fr) minmax(300px,.8fr); align-items: start; }
.stack { display: grid; gap: 20px; }
.card { min-width: 0; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.card-pad { padding: clamp(20px,2.5vw,30px); }
.card-header { display: flex; gap: 18px; align-items: center; justify-content: space-between; padding: 20px 24px; border-bottom: 1px solid #e9edf2; }
.card-header h2, .card-header h3, .section-title { margin: 0; font-size: 16px; letter-spacing: -.025em; }
.card-header p { margin: 4px 0 0; color: var(--muted); font-size: 11px; }
.card-body { padding: 24px; }
.metric-card { position: relative; padding: 22px; overflow: hidden; }
.metric-card::after { content: ""; position: absolute; right: -25px; bottom: -35px; width: 110px; height: 110px; background: radial-gradient(circle, rgba(20,184,166,.18), transparent 68%); }
.metric-top { display: flex; align-items: center; justify-content: space-between; }
.metric-label { color: var(--muted); font-size: 10px; font-weight: 800; letter-spacing: .11em; text-transform: uppercase; }
.metric-icon { width: 36px; height: 36px; display: grid; place-items: center; color: var(--teal-700); background: #ecfdfb; border-radius: 11px; font-size: 17px; font-weight: 900; }
.metric-value { margin: 14px 0 3px; color: var(--navy-900); font-size: clamp(26px,3vw,36px); font-weight: 850; line-height: 1; letter-spacing: -.055em; }
.metric-note { color: #7c8797; font-size: 11px; }
.metric-note strong { color: var(--green-600); }
.hero-card { position: relative; min-height: 260px; display: flex; align-items: center; padding: clamp(26px,4vw,46px); overflow: hidden; color: #fff; background: var(--navy-900) url('../img/store-visual.webp') center/cover no-repeat; border: 0; }
.hero-card::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(5,20,34,.98) 0%, rgba(5,20,34,.86) 42%, rgba(5,20,34,.12) 78%); }
.hero-copy { position: relative; z-index: 1; max-width: 520px; }
.hero-copy .eyebrow { margin-left: 0; color: #5eead4; }
.hero-copy h2 { max-width: 460px; margin: 9px 0 12px; font-size: clamp(26px,4vw,44px); line-height: 1.03; letter-spacing: -.055em; }
.hero-copy p { max-width: 440px; margin: 0 0 22px; color: #c6dadd; font-size: 13px; }
.hero-actions, .page-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.button { min-height: 42px; display: inline-flex; gap: 8px; align-items: center; justify-content: center; padding: 10px 17px; border: 1px solid transparent; border-radius: 12px; font-size: 12px; font-weight: 800; transition: .18s ease; }
.button:hover { transform: translateY(-1px); }
.button-primary { color: #fff; background: linear-gradient(135deg, var(--teal-600), #0e8c91); box-shadow: 0 9px 22px rgba(10,154,158,.2); }
.button-primary:hover { background: var(--teal-700); }
.button-light { color: var(--navy-900); background: #fff; border-color: #e6edf0; }
.button-outline { color: #fff; background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.22); backdrop-filter: blur(6px); }
.button-secondary { color: var(--navy-800); background: #eef3f5; border-color: #dce5e8; }
.button-danger { color: #b42318; background: #fff1f0; border-color: #fecaca; }
.button-compact { min-height: 37px; padding: 8px 13px; font-size: 11px; }
.button-block { width: 100%; }

.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; }
th, td { padding: 15px 18px; text-align: left; vertical-align: middle; border-bottom: 1px solid #edf0f3; }
th { color: #7b8795; background: #f8fafb; font-size: 9px; font-weight: 850; letter-spacing: .12em; text-transform: uppercase; white-space: nowrap; }
td { color: #3a4656; font-size: 12px; }
tbody tr:last-child td { border-bottom: 0; }
tbody tr:hover { background: #fbfdfd; }
.cell-primary { display: block; color: var(--ink); font-weight: 800; }
.cell-secondary { display: block; margin-top: 3px; color: #8490a0; font-size: 10px; }
.text-right { text-align: right; }
.text-center { text-align: center; }
.nowrap { white-space: nowrap; }
.badge { display: inline-flex; align-items: center; padding: 5px 9px; border-radius: 999px; font-size: 9px; font-weight: 850; letter-spacing: .06em; text-transform: uppercase; white-space: nowrap; }
.badge-pendiente { color: #9a5b08; background: #fff7df; }
.badge-confirmado { color: #145ca1; background: #eaf4ff; }
.badge-pagado, .badge-completado, .badge-check-in { color: #087357; background: #e8faf4; }
.badge-cancelado { color: #b42318; background: #fff0ef; }
.badge-neutral { color: #586474; background: #edf1f5; }

.form-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 18px; }
.field { min-width: 0; }
.field-full { grid-column: 1 / -1; }
.field label { display: block; margin-bottom: 7px; color: #445062; font-size: 10px; font-weight: 850; letter-spacing: .08em; text-transform: uppercase; }
.input, .select, .textarea { width: 100%; min-height: 46px; padding: 11px 13px; color: var(--ink); background: #fbfcfd; border: 1px solid #d8e0e7; border-radius: 11px; outline: none; transition: .18s ease; }
.textarea { min-height: 110px; resize: vertical; }
.input:focus, .select:focus, .textarea:focus { background: #fff; border-color: var(--teal-500); box-shadow: 0 0 0 4px rgba(20,184,166,.12); }
.field-help { margin: 6px 0 0; color: #8994a2; font-size: 10px; }
.field-error { margin: 6px 0 0; color: var(--red-600); font-size: 11px; font-weight: 700; }
.form-section { padding: 22px 0; border-bottom: 1px solid #edf1f4; }
.form-section:first-child { padding-top: 0; }
.form-section:last-child { padding-bottom: 0; border-bottom: 0; }
.form-section-title { margin: 0 0 16px; color: var(--navy-800); font-size: 13px; }
.slot-grid { display: grid; grid-template-columns: repeat(auto-fill,minmax(112px,1fr)); gap: 9px; }
.slot-button { min-height: 62px; padding: 8px; color: var(--navy-800); background: #f8fbfc; border: 1px solid #dbe5e8; border-radius: 12px; }
.slot-button strong, .slot-button small { display: block; }
.slot-button strong { font-size: 12px; }
.slot-button small { margin-top: 3px; color: #6e7f89; font-size: 9px; }
.slot-button:hover, .slot-button.is-selected { color: #fff; background: var(--teal-700); border-color: var(--teal-700); box-shadow: 0 7px 20px rgba(8,127,131,.22); }
.slot-button.is-selected small { color: #c9fffa; }
.slot-button.is-sold-out { color: #9ba4ae; background: #f2f3f5; opacity: .7; cursor: not-allowed; }
.quote-box { padding: 22px; color: #fff; background: linear-gradient(145deg, var(--navy-900), #0b4550); border-radius: var(--radius); }
.quote-box small { display: block; color: #8edcd5; font-size: 10px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.quote-box strong { display: block; margin: 7px 0 4px; font-size: 30px; letter-spacing: -.04em; }
.quote-box p { margin: 0; color: #a9c7cc; font-size: 10px; }
.filter-bar { display: flex; gap: 10px; align-items: end; padding: 18px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.filter-bar .field { flex: 1; }
.filter-bar .field-search { flex: 2; }

.timeline { display: grid; gap: 4px; }
.timeline-item { display: grid; grid-template-columns: 58px 1fr auto; gap: 12px; align-items: center; padding: 13px 0; border-bottom: 1px solid #edf1f3; }
.timeline-item:last-child { border-bottom: 0; }
.timeline-time { color: var(--teal-700); font-size: 11px; font-weight: 850; }
.timeline-copy strong, .timeline-copy small { display: block; }
.timeline-copy strong { font-size: 12px; }
.timeline-copy small { margin-top: 2px; color: #7e8998; font-size: 10px; }
.progress { height: 7px; overflow: hidden; background: #eaf0f2; border-radius: 999px; }
.progress span { display: block; height: 100%; background: linear-gradient(90deg,var(--teal-500),#40d8c7); border-radius: inherit; }
.occupancy-item { padding: 12px 0; }
.occupancy-top { display: flex; justify-content: space-between; margin-bottom: 7px; font-size: 11px; }
.occupancy-top strong { max-width: 72%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.occupancy-top span { color: var(--muted); }
.empty-state { padding: 54px 24px; text-align: center; color: #7f8b99; }
.empty-state .empty-icon { width: 54px; height: 54px; display: grid; place-items: center; margin: 0 auto 12px; color: var(--teal-700); background: #e9faf7; border-radius: 17px; font-size: 23px; }
.empty-state strong { display: block; margin-bottom: 4px; color: #354152; }
.empty-state p, .empty-inline { margin: 0; color: #87919e; font-size: 11px; }
.empty-inline { padding: 14px; background: #f8fafb; border: 1px dashed #d8e0e6; border-radius: 10px; }
.alert { display: flex; gap: 14px; align-items: center; justify-content: space-between; margin-bottom: 20px; padding: 13px 15px; border: 1px solid; border-radius: 12px; font-size: 12px; font-weight: 700; transition: .35s ease; }
.alert button { color: inherit; background: transparent; border: 0; font-size: 19px; }
.alert-success { color: #07634c; background: #eafaf5; border-color: #bcebdc; }
.alert-error { color: #a1271d; background: #fff1ef; border-color: #f7cbc7; }
.alert-warning { color: #895612; background: #fff8e8; border-color: #f5dfaa; }
.alert-leaving { opacity: 0; transform: translateY(-7px); pointer-events: none; }

.experience-card-grid { grid-template-columns: repeat(auto-fit,minmax(280px,320px)); justify-content: center; align-items: start; }
.tour-card { width: 100%; overflow: hidden; }
.tour-cover { position: relative; height: auto; min-height: 0; display: block; padding: 0; overflow: hidden; color: #fff; background: #f1f5f4; }
.tour-cover > img { position: relative; inset: auto; width: 100%; height: auto; display: block; background: transparent; }
.tour-card { overflow: hidden; }
.tour-cover { position: relative; height: 150px; display: flex; align-items: end; padding: 16px; color: #fff; background: linear-gradient(135deg,#0f7180,#0d293e); }
.tour-cover > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; object-position: center; background: #0d293e; }
.tour-cover::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg,rgba(4,17,30,.64),rgba(4,17,30,.04) 70%); }
.tour-cover span { position: absolute; z-index: 1; left: 16px; bottom: 16px; }
.tour-cover span { position: relative; z-index: 1; }
.tour-card .card-body { padding: 20px; }
.tour-title { margin: 0 0 6px; font-size: 16px; }
.tour-description { min-height: 42px; margin: 0 0 16px; color: var(--muted); font-size: 11px; }
.tour-meta { display: flex; justify-content: space-between; padding-top: 14px; border-top: 1px solid #edf1f3; }
.tour-meta span { color: #7d8897; font-size: 9px; text-transform: uppercase; letter-spacing: .07em; }
.tour-meta strong { display: block; margin-top: 2px; color: var(--ink); font-size: 12px; text-transform: none; letter-spacing: 0; }
.experience-image-preview { width: 100%; aspect-ratio: 16/9; display: block; margin-bottom: 10px; object-fit: contain; object-position: center; background: #edf3f4; border: 1px solid var(--line); border-radius: 12px; }
.input-file { height: auto; padding: 9px; }
.input-file::file-selector-button { margin-right: 10px; padding: 8px 11px; color: #fff; background: var(--teal-700); border: 0; border-radius: 8px; font: inherit; font-weight: 800; cursor: pointer; }

dialog { width: min(680px,calc(100vw - 32px)); max-height: 88vh; padding: 0; overflow: auto; color: var(--ink); background: #fff; border: 0; border-radius: 20px; box-shadow: var(--shadow-lg); }
dialog::backdrop { background: rgba(4,18,31,.72); backdrop-filter: blur(5px); }
.dialog-header { display: flex; align-items: center; justify-content: space-between; padding: 20px 24px; border-bottom: 1px solid var(--line); }
.dialog-header h2 { margin: 0; font-size: 18px; }
.dialog-body { padding: 24px; }
.dialog-close { color: var(--muted); background: #f1f4f6; border: 0; border-radius: 10px; width: 36px; height: 36px; }
.check-list { display: grid; gap: 10px; margin: 0 0 20px; padding: 0; list-style: none; color: var(--muted); font-size: 11px; }
.check-list li { position: relative; padding-left: 22px; }
.check-list li::before { content: "✓"; position: absolute; left: 0; color: var(--teal-600); font-weight: 900; }
.consent { display: flex; gap: 10px; align-items: flex-start; color: #5e6978; font-size: 11px; line-height: 1.5; }
.consent input { width: 17px; height: 17px; flex: 0 0 auto; accent-color: var(--teal-600); }
.legal-box { max-height: 170px; overflow-y: auto; padding: 18px; color: #5d6875; background: #f8fafb; border: 1px solid #e0e6eb; border-radius: 12px; font-size: 10px; line-height: 1.65; }
.legal-box strong { display: block; margin-bottom: 8px; color: var(--ink); font-size: 12px; }
.legal-box p { margin: 0; }
.signature-head { display: flex; align-items: center; justify-content: space-between; color: #445062; font-size: 10px; font-weight: 850; letter-spacing: .08em; text-transform: uppercase; }
.signature-head button { padding: 0; color: var(--red-600); background: transparent; border: 0; font-size: 10px; font-weight: 800; text-transform: uppercase; }
.signature-canvas { width: 100%; height: 210px; display: block; background: repeating-linear-gradient(0deg,#fff,#fff 31px,#eef2f4 32px); border: 2px dashed #cbd5dc; border-radius: 14px; touch-action: none; cursor: crosshair; }
.sticky-card { position: sticky; top: 20px; }
.inline-form { min-width: 140px; }
.select-compact { min-height: 36px; padding: 7px 10px; font-size: 10px; }
.hash-code, code { color: #0b6670; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 10px; overflow-wrap: anywhere; }
.waiver-detail > img { width: 100%; max-height: 240px; object-fit: contain; padding: 18px; background: #f8fafb; border: 1px dashed #cbd5dc; border-radius: 14px; }
.waiver-detail dl { display: grid; gap: 10px; margin: 20px 0 0; }
.waiver-detail dl div { display: grid; grid-template-columns: 120px 1fr; gap: 10px; padding-bottom: 10px; border-bottom: 1px solid #edf1f3; }
.waiver-detail dt { color: var(--muted); font-size: 10px; font-weight: 800; text-transform: uppercase; }
.waiver-detail dd { margin: 0; font-size: 11px; }
.report-line { display: flex; align-items: center; justify-content: space-between; padding: 14px 0; border-bottom: 1px solid #edf1f3; font-size: 12px; }
.report-line:last-child { border-bottom: 0; }

/* Acceso, instalación y estados */
.auth-page { min-height: 100vh; background: var(--navy-950); }
.auth-layout { min-height: 100vh; display: grid; grid-template-columns: minmax(0,1.2fr) minmax(440px,.8fr); }
.auth-showcase { position: relative; min-height: 100vh; display: flex; color: #fff; background: var(--navy-900) url('../img/store-visual.webp') center/cover no-repeat; overflow: hidden; }
.auth-showcase::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg,rgba(4,17,30,.92),rgba(4,17,30,.58) 55%,rgba(4,17,30,.12)), linear-gradient(0deg,rgba(4,17,30,.9),transparent 50%); }
.auth-showcase-content { position: relative; z-index: 1; width: 100%; display: flex; flex-direction: column; justify-content: space-between; padding: clamp(34px,5vw,70px); }
.auth-brand { width: max-content; padding-left: 0; border: 0; }
.auth-pitch { max-width: 630px; padding-top: 18vh; }
.auth-kicker { display: inline-flex; padding: 7px 11px; color: #a7f3d0; background: rgba(16,185,129,.15); border: 1px solid rgba(167,243,208,.25); border-radius: 999px; font-size: 9px; font-weight: 850; letter-spacing: .13em; text-transform: uppercase; }
.auth-pitch h1 { max-width: 610px; margin: 17px 0 18px; font-size: clamp(43px,5.3vw,76px); line-height: .97; letter-spacing: -.065em; }
.auth-pitch p { max-width: 540px; margin: 0; color: #bcd0d5; font-size: clamp(14px,1.4vw,18px); }
.auth-proof { display: flex; gap: 34px; color: #aac3c8; font-size: 9px; text-transform: uppercase; letter-spacing: .08em; }
.auth-proof strong { display: block; margin-bottom: 3px; color: #fff; font-size: 15px; text-transform: none; letter-spacing: -.02em; }
.auth-panel { display: grid; place-items: center; padding: 40px; background: #fff; }
.auth-form-wrap { width: min(100%,400px); }
.auth-heading { margin-bottom: 31px; }
.auth-heading .eyebrow { margin-left: 0; color: var(--teal-700); }
.auth-heading h2 { margin: 6px 0 6px; font-size: 34px; letter-spacing: -.05em; }
.auth-heading > p:last-child { margin: 0; color: var(--muted); font-size: 12px; }
.auth-form { display: grid; gap: 18px; }
.password-field { position: relative; }
.password-field .input { padding-right: 68px; }
.password-field > button { position: absolute; right: 12px; bottom: 12px; color: var(--teal-700); background: transparent; border: 0; font-size: 10px; font-weight: 850; }
.auth-help { display: flex; justify-content: space-between; margin-top: 28px; padding-top: 20px; color: #8993a0; border-top: 1px solid #e8ecef; font-size: 9px; font-weight: 700; }
.auth-help a { color: var(--teal-700); }
.mobile-logo { display: none; }
.setup-page { min-height: 100vh; display: grid; place-items: center; padding: 40px 20px; background: radial-gradient(circle at 20% 10%,#0c4853,var(--navy-950) 55%); }
.setup-wrap { width: min(100%,850px); display: grid; grid-template-columns: .8fr 1.2fr; gap: 42px; align-items: center; }
.setup-intro { color: #d7e6e8; }
.setup-intro .eyebrow { margin: 20px 0 8px; color: #5eead4; }
.setup-intro h1 { margin: 0 0 13px; color: #fff; font-size: 37px; line-height: 1; letter-spacing: -.05em; }
.setup-intro p:last-child { color: #a8c1c6; font-size: 12px; }
.error-page { min-height: 100vh; display: grid; place-items: center; padding: 24px; text-align: center; background: radial-gradient(circle at top,#0b4550,var(--navy-950) 56%); color: #d9e8ea; }
.error-page main { max-width: 560px; }
.error-code { width: 78px; height: 78px; display: grid; place-items: center; margin: 0 auto 20px; color: var(--navy-900); background: #99f6e4; border-radius: 24px; font-size: 23px; font-weight: 900; }
.error-page h1 { margin: 0 0 10px; color: #fff; font-size: 34px; letter-spacing: -.05em; }
.error-page p { color: #a8c1c6; }

/* Catálogo y reserva pública */
.public-page, .booking-page { background: #f8faf9; }
.public-nav, .booking-nav { min-height: 78px; display: flex; align-items: center; justify-content: space-between; padding: 12px clamp(20px,6vw,92px); color: #fff; background: var(--navy-950); }
.public-nav .brand, .booking-nav .brand { padding: 0; border: 0; }
.public-nav nav { display: flex; gap: 28px; align-items: center; font-size: 11px; font-weight: 750; }
.public-nav nav > a:not(.button):hover { color: #5eead4; }
.public-hero { position: relative; min-height: min(760px,calc(100vh - 78px)); display: flex; align-items: center; padding: clamp(70px,10vw,150px) clamp(22px,7vw,110px); color: #fff; background: var(--navy-900) url('../img/store-visual.webp') center/cover no-repeat; }
.public-hero-overlay { position: absolute; inset: 0; background: linear-gradient(90deg,rgba(4,17,30,.98) 0%,rgba(4,17,30,.78) 43%,rgba(4,17,30,.08) 76%),linear-gradient(0deg,rgba(4,17,30,.75),transparent 50%); }
.public-hero-copy { position: relative; z-index: 1; max-width: 700px; }
.public-hero h1 { margin: 20px 0; font-size: clamp(48px,6.4vw,92px); line-height: .94; letter-spacing: -.07em; }
.public-hero p { max-width: 580px; margin: 0 0 27px; color: #bdd1d5; font-size: clamp(14px,1.5vw,19px); }
.public-trust { display: flex; gap: 22px; margin-top: 34px; color: #b9d4d6; font-size: 9px; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; }
.public-section { max-width: 1480px; margin: 0 auto; padding: clamp(70px,9vw,130px) clamp(20px,5vw,70px); }
.public-heading { max-width: 660px; margin-bottom: 44px; }
.public-heading .eyebrow, .public-value .eyebrow { margin-left: 0; color: var(--teal-700); }
.public-heading h2, .public-value h2 { margin: 8px 0 10px; font-size: clamp(34px,4.5vw,60px); line-height: 1; letter-spacing: -.06em; }
.public-heading > p:last-child { color: var(--muted); }
.public-tour-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(290px,320px)); justify-content: center; align-items: start; gap: 28px; }
.public-tour-card { width: 100%; overflow: hidden; background: #fff; border: 1px solid #e0e6e7; border-radius: 22px; box-shadow: 0 15px 45px rgba(7,26,46,.07); transition: .25s ease; }
.public-tour-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 25px; }
.public-tour-card { overflow: hidden; background: #fff; border: 1px solid #e0e6e7; border-radius: 22px; box-shadow: 0 15px 45px rgba(7,26,46,.07); transition: .25s ease; }
.public-tour-card:hover { transform: translateY(-6px); box-shadow: 0 25px 60px rgba(7,26,46,.13); }
.public-tour-image { position: relative; height: auto; min-height: 0; padding: 0; overflow: hidden; background: #f1f5f4; }
.public-tour-image { position: relative; height: 220px; padding: 20px; overflow: hidden; background: linear-gradient(135deg,#0e6572,#0c2238); }
.public-tour-image::before, .public-tour-image::after { content: ""; position: absolute; border-radius: 50%; }
.public-tour-image::before { width: 250px; height: 250px; right: -55px; top: -75px; background: radial-gradient(circle,#50ddcd,transparent 65%); opacity: .8; }
.public-tour-image::after { width: 250px; height: 90px; left: -25px; bottom: -20px; background: linear-gradient(110deg,transparent,#ff7668); filter: blur(8px); transform: rotate(-12deg); opacity: .65; }
.public-tour-image.theme-2 { background: linear-gradient(135deg,#173351,#087f83); }
.public-tour-image.theme-3 { background: linear-gradient(135deg,#452942,#c65d55); }
.public-tour-image > img { position: relative; inset: auto; width: 100%; height: auto; display: block; background: transparent; }
.public-tour-image > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; object-position: center; background: #0c2238; }
.public-tour-image.has-image::before { inset: 0; width: auto; height: auto; right: 0; top: 0; border-radius: 0; background: linear-gradient(180deg,rgba(4,17,30,.55),transparent 48%); opacity: 1; z-index: 1; }
.public-tour-image.has-image::after { display: none; }
.featured-pill { position: absolute; z-index: 2; top: 20px; right: 20px; padding: 6px 9px; color: #603c08; background: #fff0c7; border-radius: 999px; font-size: 8px; font-weight: 850; letter-spacing: .08em; text-transform: uppercase; }
.public-tour-image .badge { position: absolute; z-index: 2; top: 18px; left: 18px; }
.public-tour-image .badge { position: relative; z-index: 2; }
.public-tour-body { padding: 24px; }
.public-tour-top { display: grid; grid-template-columns: 1fr; gap: 14px; }
.public-tour-top { display: grid; grid-template-columns: 1fr auto; gap: 20px; }
.public-tour-top h3 { margin: 0 0 8px; font-size: 19px; letter-spacing: -.035em; }
.public-tour-top p { min-height: 50px; margin: 0; color: var(--muted); font-size: 11px; }
.public-tour-top > strong { text-align: left; color: var(--teal-700); font-size: 16px; white-space: nowrap; }
.public-tour-top > strong { text-align: right; color: var(--teal-700); font-size: 16px; white-space: nowrap; }
.public-tour-top > strong small { display: block; color: #8993a0; font-size: 8px; font-weight: 700; }
.public-tour-facts { display: flex; gap: 12px; flex-wrap: wrap; margin: 18px 0 12px; padding-top: 15px; color: #657282; border-top: 1px solid #edf1f2; font-size: 9px; }
.public-schedule { min-height: 30px; margin: 0 0 14px; color: #86919f; font-size: 9px; }
.public-value { display: grid; grid-template-columns: .75fr 1.25fr; gap: clamp(40px,8vw,130px); padding: clamp(70px,9vw,130px) clamp(25px,7vw,110px); color: #fff; background: var(--navy-950); }
.public-value .eyebrow { color: #5eead4; }
.value-grid { display: grid; gap: 4px; }
.value-grid article { position: relative; padding: 24px 24px 24px 70px; border-bottom: 1px solid rgba(255,255,255,.1); }
.value-grid article > span { position: absolute; left: 0; color: #5eead4; font-size: 11px; font-weight: 850; }
.value-grid h3 { margin: 0 0 5px; font-size: 17px; }
.value-grid p { margin: 0; color: #9eb9bd; font-size: 11px; }
.public-footer { display: grid; grid-template-columns: 1fr auto; gap: 30px; padding: 45px clamp(25px,7vw,110px); color: #a7bec2; background: #04111e; border-top: 1px solid rgba(255,255,255,.07); }
.public-footer strong { color: #fff; }
.public-footer p { margin: 4px 0 0; font-size: 10px; }
.public-footer div:nth-child(2) { display: grid; gap: 4px; text-align: right; font-size: 10px; }
.public-footer small { grid-column: 1/-1; color: #506970; font-size: 8px; text-transform: uppercase; letter-spacing: .12em; }
.booking-nav > a:last-child { color: #a7c1c5; font-size: 10px; font-weight: 800; }
.booking-wrap { width: min(1180px,calc(100% - 36px)); margin: 0 auto; padding: clamp(45px,7vw,90px) 0; }
.booking-heading { max-width: 650px; margin-bottom: 36px; }
.booking-heading .eyebrow { margin-left: 0; color: var(--teal-700); }
.booking-heading h1, .booking-success h1 { margin: 8px 0 12px; font-size: clamp(38px,5vw,64px); line-height: .98; letter-spacing: -.06em; }
.booking-heading p { color: var(--muted); }
.booking-footer { padding: 25px; text-align: center; color: #83909c; border-top: 1px solid var(--line); font-size: 9px; text-transform: uppercase; letter-spacing: .08em; }
.booking-success { max-width: 700px; margin: 5vh auto; padding: clamp(32px,6vw,70px); text-align: center; }
.booking-success .eyebrow { margin-left: 0; color: var(--teal-700); }
.booking-success p { color: var(--muted); }
.booking-success .page-actions { justify-content: center; margin-top: 25px; }
.success-mark { width: 66px; height: 66px; display: grid; place-items: center; margin: 0 auto 20px; color: #087357; background: #d8faef; border-radius: 50%; font-size: 26px; font-weight: 900; }
.honeypot { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }

@media (max-width: 1180px) {
    .grid-4 { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .layout-main { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
    .sidebar { transform: translateX(-105%); transition: transform .25s ease; }
    .sidebar-open .sidebar { transform: translateX(0); }
    .sidebar-open .mobile-scrim { display: block; position: fixed; inset: 0; z-index: 40; background: rgba(4,18,31,.63); backdrop-filter: blur(3px); }
    .main-panel { margin-left: 0; }
    .mobile-menu { display: grid; flex: 0 0 auto; color: var(--navy-900); border-color: var(--line); }
    .topbar { min-height: 88px; padding: 16px 20px; }
    .topbar-copy p:not(.eyebrow), .live-pill { display: none; }
    .page-content { padding: 24px 18px; }
    .grid-3 { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .filter-bar { align-items: stretch; flex-direction: column; }
    .filter-bar .button { width: 100%; }
    .auth-layout { grid-template-columns: 1fr; }
    .auth-showcase { display: none; }
    .auth-panel { min-height: 100vh; padding: 30px 24px; }
    .mobile-logo { width: 52px; height: 52px; display: grid; place-items: center; margin-bottom: 22px; color: var(--navy-900); background: #99f6e4; border-radius: 16px; font-weight: 900; }
    .setup-wrap { grid-template-columns: 1fr; max-width: 560px; }
    .public-tour-grid { grid-template-columns: repeat(auto-fit,minmax(280px,320px)); }
    .public-tour-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .public-value { grid-template-columns: 1fr; }
}
@media (max-width: 620px) {
    .grid-2, .grid-3, .grid-4, .form-grid { grid-template-columns: 1fr; }
    .field-full { grid-column: auto; }
    .hide-mobile { display: none !important; }
    .topbar h1 { font-size: 21px; }
    .topbar .eyebrow { font-size: 8px; }
    .hero-card { min-height: 330px; align-items: end; background-position: 64% center; }
    .hero-card::before { background: linear-gradient(0deg,rgba(5,20,34,.98) 0%,rgba(5,20,34,.86) 52%,rgba(5,20,34,.25) 100%); }
    .hero-copy h2 { font-size: 31px; }
    .metric-card { padding: 18px; }
    .timeline-item { grid-template-columns: 48px 1fr; }
    .timeline-item .badge { display: none; }
    .card-header, .card-body { padding: 18px; }
    .app-footer { display: block; text-align: center; }
    .app-footer span { display: block; margin: 3px 0; }
    .sticky-card { position: static; }
    .public-nav nav > a:not(.button) { display: none; }
    .public-nav .brand strong, .booking-nav .brand strong { max-width: 160px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
    .public-hero { min-height: 670px; align-items: end; background-position: 65% center; }
    .public-hero-overlay { background: linear-gradient(0deg,rgba(4,17,30,.99) 0%,rgba(4,17,30,.86) 53%,rgba(4,17,30,.16) 100%); }
    .public-hero h1 { font-size: 51px; }
    .public-trust { gap: 9px; flex-direction: column; }
    .experience-card-grid, .public-tour-grid { grid-template-columns: minmax(0,320px); justify-content: center; }
    .public-tour-grid { grid-template-columns: 1fr; }
    .public-tour-top { grid-template-columns: 1fr; }
    .public-tour-top > strong { text-align: left; }
    .public-footer { grid-template-columns: 1fr; text-align: center; }
    .public-footer div:nth-child(2) { text-align: center; }
    .waiver-detail dl div { grid-template-columns: 1fr; }
}