* {
    box-sizing: border-box;
}

[hidden] {
    display: none !important;
}

body {
    margin: 0;
    font-family: "Avenir Next", "Segoe UI", sans-serif;
    font-size: 11px;
    line-height: 1.45;
    background:
        radial-gradient(circle at top left, rgba(255, 208, 118, 0.35), transparent 26%),
        linear-gradient(160deg, #f8f3e8 0%, #f3efe5 42%, #e1ecf2 100%);
    color: #1f2933;
}

.page {
    max-width: 1280px;
    margin: 0 auto;
    padding: 24px;
}

.hero {
    background: rgba(255, 255, 255, 0.82);
    border: 1px solid rgba(31, 41, 51, 0.08);
    border-radius: 24px;
    padding: 24px;
    box-shadow: 0 20px 50px rgba(31, 41, 51, 0.08);
    backdrop-filter: blur(12px);
}

.hero h1,
.hero h2,
.hero h3,
.hero p {
    margin-top: 0;
}

.hero h1 {
    font-size: 2rem;
}

.hero h2 {
    font-size: 1.35rem;
}

.hero h3 {
    font-size: 1.02rem;
}

.grid {
    display: grid;
    gap: 16px;
}

.grid-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.grid-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.auth-shell {
    display: grid;
    grid-template-columns: minmax(300px, 360px) minmax(0, 1fr);
    gap: 22px;
    align-items: start;
}

.auth-sidebar {
    display: grid;
    gap: 18px;
}

.auth-register-card,
.auth-access-card {
    border-radius: 22px;
    box-shadow: 0 16px 34px rgba(31, 41, 51, 0.08);
}

.auth-register-card {
    padding: 22px;
}

.auth-access-card {
    padding: 18px;
}

.auth-eyebrow {
    margin-bottom: 8px;
    color: #0f766e;
    font-size: 0.74rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.form-section-card {
    display: grid;
    gap: 12px;
    padding: 16px;
    border-radius: 18px;
    border: 1px solid rgba(31, 41, 51, 0.08);
    background: linear-gradient(180deg, rgba(248, 250, 252, 0.98) 0%, rgba(255, 255, 255, 0.96) 100%);
}

.form-section-card h3 {
    margin-bottom: 0;
}

.compact-toolbar {
    margin: 12px 0 0;
}

.card,
.summary-card,
.item-card {
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(31, 41, 51, 0.08);
    border-radius: 16px;
    padding: 14px;
    box-shadow: 0 8px 22px rgba(31, 41, 51, 0.055);
}

.summary-card .label {
    display: block;
    font-size: 0.76rem;
    color: #52606d;
    margin-bottom: 8px;
}

.summary-card strong {
    font-size: 1.2rem;
}

.toolbar,
.inline-actions,
.row {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    align-items: center;
}

.toolbar {
    margin: 20px 0;
}

.toolbar form {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.main-nav {
    width: min(1280px, calc(100% - 32px));
    margin: 16px auto 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    flex-wrap: wrap;
    padding: 12px 14px;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(31, 41, 51, 0.08);
    border-radius: 18px;
    box-shadow: 0 12px 28px rgba(31, 41, 51, 0.08);
}

.main-nav-links {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.main-nav a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    padding: 8px 14px;
    border-radius: 999px;
    color: #124e66;
    text-decoration: none;
    font-weight: 700;
    background: rgba(18, 78, 102, 0.05);
}

.main-nav a.active,
.main-nav a:hover {
    background: #e6fffa;
    color: #0f766e;
}

.main-nav form {
    margin: 0;
}

.main-nav button {
    min-height: 38px;
    white-space: nowrap;
}

.agency-bottom-actions {
    position: sticky;
    bottom: 10px;
    z-index: 15;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    margin: 28px auto 0;
    padding: 14px;
    width: min(760px, 100%);
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid rgba(31, 41, 51, 0.1);
    border-radius: 18px;
    box-shadow: 0 16px 36px rgba(31, 41, 51, 0.14);
    backdrop-filter: blur(12px);
}

.agency-bottom-actions form {
    margin: 0;
}

.agency-reservations-panel {
    margin-bottom: 86px;
}

.agency-reservations-panel summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    cursor: pointer;
    list-style: none;
}

.agency-reservations-panel summary::-webkit-details-marker {
    display: none;
}

.agency-reservations-panel summary::after {
    content: "+";
    width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: #e6fffa;
    color: #0f766e;
    font-size: 1.2rem;
    font-weight: 800;
}

.agency-reservations-panel[open] summary::after {
    content: "-";
}

.agency-reservations-panel summary span:first-child {
    display: grid;
    gap: 2px;
}

.agency-topbar {
    display: grid;
    grid-template-columns: minmax(220px, 300px) minmax(0, 1fr);
    gap: 18px;
    align-items: start;
}

.agency-logo-card {
    display: grid;
    grid-template-columns: 92px minmax(0, 1fr);
    gap: 14px;
    align-items: center;
    margin: 0;
    padding: 14px;
    border: 1px solid rgba(31, 41, 51, 0.08);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 12px 30px rgba(31, 41, 51, 0.06);
}

.agency-logo-preview {
    width: 92px;
    aspect-ratio: 1;
    display: grid;
    place-items: center;
    overflow: hidden;
    border-radius: 16px;
    border: 1px dashed #b8c4cc;
    background: #f8fafc;
    color: #52606d;
    font-weight: 700;
}

.agency-logo-preview img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 8px;
}

.quote-agency-brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
    padding: 10px 14px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.74);
    border: 1px solid rgba(31, 41, 51, 0.08);
    color: #124e66;
    font-weight: 800;
}

.quote-agency-brand img {
    width: 72px;
    height: 52px;
    object-fit: contain;
    border-radius: 10px;
    background: #fff;
}

.cart-sticky {
    position: sticky;
    top: 12px;
    z-index: 12;
}

.client-compact-cart {
    border-color: rgba(15, 118, 110, 0.18);
    background: linear-gradient(180deg, rgba(239, 250, 249, 0.96) 0%, rgba(255,255,255,0.96) 100%);
}

.client-compact-cart-head,
.client-compact-cart-actions {
    display: flex;
    justify-content: space-between;
    gap: 14px;
    align-items: center;
}

.client-compact-total {
    text-align: right;
}

.client-review-section {
    border-color: rgba(18, 78, 102, 0.16);
}

.client-review-actions {
    margin-bottom: 0;
}

.client-legal-hint {
    background: rgba(255, 248, 235, 0.94);
    border-color: rgba(209, 153, 29, 0.24);
}

input,
select,
button,
textarea {
    font: inherit;
}

input,
select {
    width: 100%;
    border-radius: 11px;
    border: 1px solid #cbd2d9;
    padding: 5px 8px;
    background: #fff;
    font-size: 0.82rem;
}

textarea {
    font-size: 0.82rem;
}

label {
    font-size: 0.78rem;
    color: #334e68;
    font-weight: 650;
}

button,
.button-link {
    border: 0;
    border-radius: 999px;
    padding: 6px 10px;
    background: #0f766e;
    color: #fff;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
    box-shadow: 0 5px 12px rgba(15, 118, 110, 0.13);
    font-size: 0.8rem;
    font-weight: 650;
    line-height: 1.2;
}

button:hover,
.button-link:hover {
    transform: translateY(-1px);
}

button.secondary,
.button-link.secondary {
    background: rgba(255, 255, 255, 0.86);
    color: #124e66;
    border: 1px solid #bdd5ea;
    box-shadow: none;
}

.item-card .button-link,
.item-card button,
.extra-toggle {
    padding: 5px 8px;
    font-size: 0.74rem;
    box-shadow: none;
}

button.warning {
    background: #b45309;
}

.muted {
    color: #52606d;
}

.notice {
    font-size: 0.78rem;
    padding: 8px 10px;
}

.password-toggle {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 8px;
    font-size: 0.76rem;
    color: #52606d;
    font-weight: 650;
}

.password-toggle input {
    width: auto;
}

.filter-bar {
    display: flex;
    gap: 8px;
    align-items: end;
    flex-wrap: wrap;
}

.filter-bar input,
.filter-bar select {
    width: auto;
    min-width: 150px;
    max-width: 240px;
    padding: 7px 9px;
    font-size: 0.78rem;
}

.today-button {
    min-height: 32px;
    padding: 5px 9px;
    font-size: 0.72rem;
}

.quote-list {
    display: grid;
    gap: 8px;
}

.quote-preview-list {
    display: grid;
    gap: 8px;
}

.quote-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 12px;
}

.quote-row-main {
    min-width: 0;
}

.quote-list-title {
    margin: 0 0 4px;
    font-size: 1rem;
    line-height: 1.2;
}

.quote-list-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    margin: 0;
    color: #52606d;
    font-size: 0.78rem;
}

.quote-row .toolbar {
    margin: 0;
    flex: 0 0 auto;
}

.tramo {
    margin-top: 24px;
    padding: 18px;
    background: rgba(255, 255, 255, 0.74);
    border-radius: 24px;
    border: 1px solid rgba(31, 41, 51, 0.08);
}

.section-title {
    margin: 8px 0 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
}

.agency-panel-header {
    margin-bottom: 0;
}

.agency-panel-header {
    cursor: pointer;
    user-select: none;
}

.agency-panel-header::-webkit-details-marker {
    display: none;
}

.agency-panel-header::marker {
    content: "";
}

.agency-panel-header .toolbar {
    margin: 0;
}

.agency-panel-body {
    margin-top: 14px;
}

.panel-toggle-button {
    min-width: 70px;
    justify-content: center;
}

.item-card.selected {
    border-color: #0f766e;
    box-shadow: 0 16px 26px rgba(15, 118, 110, 0.16);
}

.item-card .item-header {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    align-items: flex-start;
    margin-bottom: 12px;
}

.tag {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    padding: 5px 10px;
    background: #e6fffa;
    color: #0f766e;
    font-size: 0.72rem;
}

.tag.gray {
    background: #f0f4f8;
    color: #52606d;
}

.thumb {
    width: 5cm;
    height: 5cm;
    object-fit: cover;
    border-radius: 16px;
    background: #d9e2ec;
    border: 1px dashed #9fb3c8;
}

.hidden {
    display: none !important;
}

.leave-modal-backdrop {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: grid;
    justify-items: center;
    align-items: start;
    padding: 72px 24px 24px;
    background: rgba(15, 23, 42, 0.44);
    backdrop-filter: blur(4px);
    overflow-y: auto;
}

.leave-modal-card {
    width: min(100%, 520px);
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid rgba(31, 41, 51, 0.08);
    border-radius: 22px;
    box-shadow: 0 22px 56px rgba(15, 23, 42, 0.22);
    padding: 22px;
}

.leave-modal-card h3 {
    margin-bottom: 8px;
}

.leave-modal-card p {
    margin-bottom: 0;
}

.leave-modal-card select {
    margin-top: 14px;
}

.notice {
    padding: 8px 10px;
    border-radius: 12px;
    margin: 12px 0;
    background: #e6fffa;
    color: #0b5c55;
    border: 1px solid #8ee3d6;
    font-size: 0.78rem;
}

.notice.error {
    background: #fff1f2;
    color: #9f1239;
    border-color: #fecdd3;
}

.client-pricing-notice {
    position: static;
    width: min(980px, calc(100vw - 32px));
    margin: 24px auto 0;
    padding: 11px 18px;
    text-align: center;
    color: #991b1b;
    font-size: 0.82rem;
    font-weight: 700;
    line-height: 1.35;
    background: rgba(254, 226, 226, 0.96);
    border: 1px solid rgba(220, 38, 38, 0.26);
    border-radius: 18px;
    overflow-wrap: anywhere;
    box-shadow: 0 10px 26px rgba(127, 29, 29, 0.12);
}

.client-availability-notice {
    position: static;
    width: min(900px, calc(100vw - 32px));
    margin: 0 auto 18px;
    padding: 6px 12px;
    text-align: center;
    color: #5f6c76;
    font-size: 0.7rem;
    line-height: 1.3;
    background: rgba(255, 255, 255, 0.86);
    border: 1px solid rgba(95, 108, 118, 0.16);
    border-radius: 999px;
    box-shadow: 0 8px 20px rgba(31, 41, 51, 0.08);
}

.transfer-highlight-panel {
    border: 1px solid rgba(15, 118, 110, 0.22);
    background:
        radial-gradient(circle at top right, rgba(110, 231, 183, 0.18), transparent 30%),
        linear-gradient(180deg, rgba(236, 253, 245, 0.98) 0%, rgba(255, 255, 255, 0.98) 100%);
    box-shadow: 0 16px 34px rgba(15, 118, 110, 0.12);
}

.transfer-highlight-head {
    margin-bottom: 10px;
}

.transfer-highlight-head h2 {
    margin-bottom: 4px;
}

.transfer-total-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 140px;
    padding: 10px 14px;
    border-radius: 999px;
    background: #0f766e;
    color: #fff;
    font-size: 1rem;
    font-weight: 800;
    box-shadow: 0 10px 22px rgba(15, 118, 110, 0.22);
}

.transfer-highlight-card {
    padding: 14px;
    border-radius: 16px;
    border: 1px solid rgba(15, 118, 110, 0.22);
    background: rgba(255, 255, 255, 0.92);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.55);
}

.transfer-highlight-card p:last-child {
    margin-bottom: 0;
}

.transfer-key-inline {
    margin-top: 10px;
    padding: 8px 10px;
    border-radius: 12px;
    background: rgba(230, 255, 250, 0.9);
    border: 1px solid rgba(15, 118, 110, 0.18);
    color: #0b5c55;
}

.transport-key-inline,
.timeline-key {
    margin-top: 10px;
    padding: 8px 10px;
    border-radius: 12px;
    background: rgba(239, 246, 255, 0.92);
    border: 1px solid rgba(59, 130, 246, 0.2);
    color: #1d4ed8;
}

.transfer-agency-card {
    border: 1px solid rgba(15, 118, 110, 0.24);
    background:
        radial-gradient(circle at top right, rgba(153, 246, 228, 0.22), transparent 30%),
        linear-gradient(180deg, rgba(240, 253, 250, 0.98) 0%, rgba(255, 255, 255, 0.98) 100%);
}

.transfer-agency-card h3 {
    color: #0f766e;
}

.timeline {
    display: grid;
    gap: 14px;
    margin-top: 20px;
}

.timeline-item {
    border-left: 4px solid #0f766e;
    padding: 14px 16px;
    background: rgba(255, 255, 255, 0.88);
    border-radius: 0 16px 16px 0;
    font-size: 0.95rem;
}

.timeline-day {
    margin-top: 10px;
    padding-top: 10px;
    border-top: 2px solid #bdd5ea;
    font-weight: 600;
    color: #124e66;
    font-size: 0.92rem;
}

.top-space {
    margin-top: 20px;
}

.portal-shell {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.portal-topbar {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    padding: 18px 26px;
}

.portal-brand {
    font-size: 0.95rem;
    font-weight: 700;
    color: #124e66;
    text-decoration: none;
}

.portal-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.portal-actions a {
    color: #1f2933;
    font-size: 0.95rem;
    text-decoration: none;
}

.apps-trigger {
    width: 46px;
    height: 46px;
    display: grid;
    grid-template-columns: repeat(3, 5px);
    grid-auto-rows: 5px;
    place-content: center;
    gap: 5px;
    padding: 0;
    background: rgba(255, 255, 255, 0.78);
    border: 1px solid rgba(31, 41, 51, 0.1);
    border-radius: 50%;
    box-shadow: 0 8px 22px rgba(31, 41, 51, 0.1);
}

.apps-trigger span {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #52606d;
}

.apps-panel {
    position: absolute;
    top: 74px;
    right: 24px;
    z-index: 20;
    width: min(390px, calc(100vw - 32px));
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    padding: 18px;
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid rgba(31, 41, 51, 0.1);
    border-radius: 24px;
    box-shadow: 0 18px 46px rgba(31, 41, 51, 0.18);
    backdrop-filter: blur(12px);
}

.apps-login {
    grid-column: 1 / -1;
    padding: 14px;
    border-top: 1px solid rgba(31, 41, 51, 0.08);
}

.apps-login label {
    display: block;
    margin-top: 10px;
    color: #52606d;
}

.apps-login input {
    border-radius: 12px;
}

.apps-panel[hidden] {
    display: none;
}

.app-tile {
    min-height: 96px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 10px;
    border-radius: 14px;
    color: #1f2933;
    text-align: center;
    text-decoration: none;
}

.app-tile:hover {
    background: #f0f4f8;
}

.app-icon {
    width: 44px;
    height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    color: #fff;
    font-weight: 800;
    font-size: 1rem;
}

.app-icon-client {
    background: #0f766e;
}

.app-icon-chat {
    background: #db2777;
    font-size: 0.82rem;
}

.app-icon-agency {
    background: #2563eb;
}

.app-icon-admin {
    background: #b45309;
    font-size: 0.82rem;
}

.app-icon-excursion {
    background: #7c3aed;
    font-size: 0.82rem;
}

.portal-main {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 28px;
    padding: 36px 22px 72px;
}

.portal-hero {
    width: min(880px, 100%);
    margin: 0 auto;
    text-align: center;
}

.portal-hero h1 {
    margin: 0;
    color: #2c3e50;
    font-size: clamp(1.8rem, 4vw, 3.35rem);
    line-height: 1.05;
    text-transform: lowercase;
}

.portal-hero p {
    font-size: 1rem;
}
/* boton de buscar viaje */
.quote-search {
    width: min(400px, 100%);
    margin: 12px auto 0;
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 10px;
    padding: 8px;
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid rgba(31, 41, 51, 0.08);
    border-radius: 999px;
    box-shadow: 0 16px 36px rgba(31, 41, 51, 0.12);
}

.quote-search input {
    border: 0;
    background: transparent;
    font-size: 1rem;
    outline: none;
}

.quote-search button {
    min-width: 30px;
    min-height: 20px;
    padding: 8px 15px;
    font-size: 0.70rem;
    justify-content: center;
}

.portal-hero-actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    margin-top: 10px;
}
/* Boton de destino */
.hero-destination-chooser {
    margin-top: 0;
    width: min(380px, 92%);
}

.hero-destination-chooser input {
    min-width: 0;
}

.hero-destination-chooser input::placeholder {
    color: rgba(18, 78, 102, 0.62);
}

.hero-helper-link {
    min-height: 25px;
    padding: 6px 14px;
    font-size: 0.80rem;
    border-radius: 999px;
    box-shadow: 0 8px 20px rgba(21, 122, 110, 0.16);
}

.promo-page {
    width: min(900px, 100%);
    display: grid;
    grid-template-columns: minmax(300px, 0.95fr) minmax(320px, 1.05fr);
    gap: 22px;
    align-items: center;
}

.promo-page-copy h1 {
    margin-bottom: 10px;
}

.promo-share-row {
    gap: 12px;
}

.promo-link-box strong {
    display: block;
    margin-top: 6px;
    font-size: 0.92rem;
    line-height: 1.5;
    word-break: break-word;
}

.promo-page-art img {
    width: 100%;
    display: block;
    border-radius: 24px;
    border: 1px solid rgba(31, 41, 51, 0.08);
    box-shadow: 0 20px 40px rgba(18, 78, 102, 0.12);
    background: #fff;
}

.promo-upload-card {
    width: min(1120px, 100%);
    margin-inline: auto;
}

.promo-home-card {
    text-align: center;
}

.promo-home-carousel-card {
    overflow: hidden;
}

.promo-home-actions {
    margin-top: 18px;
}

.promo-upload-form {
    display: flex;
    gap: 12px;
    align-items: end;
    flex-wrap: wrap;
}

.promo-upload-form > div {
    flex: 1 1 320px;
}

.promo-copy-form {
    display: grid;
    gap: 12px;
}

.promo-copy-form textarea {
    min-height: 110px;
    resize: vertical;
}

.promo-carousel-manage-form {
    margin: 0;
}

.promo-action-row {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    align-items: center;
}

.promo-separator {
    margin: 22px 0;
    border: 0;
    border-top: 1px solid rgba(31, 41, 51, 0.08);
}

.promo-role-card {
    overflow: hidden;
}

.promo-signup-card {
    width: 100%;
    margin-inline: 0;
}

.promo-carousel {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
}

.promo-carousel-track {
    position: relative;
    min-height: 240px;
}

.promo-carousel-compact .promo-carousel-track {
    min-height: 100px;
}

.promo-carousel-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.35s ease;
}

.promo-carousel-slide.is-active {
    position: relative;
    opacity: 1;
    pointer-events: auto;
}

.promo-carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    padding: 0;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(18, 78, 102, 0.82);
    color: #fff;
    z-index: 2;
}

.promo-carousel-arrow.prev {
    left: 14px;
}

.promo-carousel-arrow.next {
    right: 14px;
}

.promo-carousel-dots {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 14px;
    display: flex;
    justify-content: center;
    gap: 8px;
    z-index: 2;
}

.promo-carousel-dot {
    width: 10px;
    height: 10px;
    padding: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.55);
    box-shadow: none;
}

.promo-carousel-dot.is-active {
    background: #fff;
    transform: scale(1.15);
}

.promo-role-image {
    width: 100%;
    display: block;
    border-radius: 20px;
    border: 1px solid rgba(31, 41, 51, 0.08);
    background: #fff;
    box-shadow: 0 12px 28px rgba(31, 41, 51, 0.08);
}

.promo-home-destination-image {
    aspect-ratio: 16 / 6.1;
    object-fit: cover;
}

.nearby-destinations-card {
    overflow: hidden;
}

.nearby-slider-shell {
    position: relative;
    display: flex;
    align-items: center;
    gap: 10px;
}

.nearby-destinations-track {
    display: flex;
    gap: 18px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    padding: 4px 4px 14px;
    flex: 1 1 auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.nearby-destinations-track::-webkit-scrollbar {
    display: none;
}

.nearby-slider-arrow {
    width: 42px;
    height: 42px;
    padding: 0;
    border-radius: 999px;
    background: rgba(18, 78, 102, 0.82);
    color: #fff;
    flex: 0 0 auto;
}

.nearby-slider-arrow:hover,
.nearby-slider-arrow:focus-visible {
    background: #124e66;
}

.nearby-slider-arrow:disabled {
    opacity: 0.38;
    cursor: not-allowed;
    transform: none;
}

.nearby-destination-item {
    flex: 0 0 calc((100% - 36px) / 3);
    min-height: 100%;
    scroll-snap-align: start;
    border-color: rgba(18, 78, 102, 0.12);
    background: linear-gradient(180deg, rgba(255,255,255,0.96) 0%, rgba(241, 248, 251, 0.96) 100%);
}

.nearby-destination-item h3 {
    margin-bottom: 6px;
}

.nearby-action-label {
    display: inline-flex;
    align-items: center;
    min-height: 26px;
    margin: 0 0 8px;
    padding: 4px 10px;
    border-radius: 999px;
    background: rgba(15, 118, 110, 0.08);
    color: #0f766e;
    font-size: 0.74rem;
    font-weight: 700;
}

.nearby-action-label-available {
    background: rgba(15, 118, 110, 0.12);
    color: #0b6b62;
}

.nearby-action-label-quote {
    background: rgba(14, 116, 144, 0.12);
    color: #0f5e76;
}

.nearby-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 10px;
}

.nearby-actions .button-link {
    flex: 1 1 100%;
    justify-content: center;
}

@media (max-width: 1100px) {
    .nearby-destination-item {
        flex-basis: calc((100% - 18px) / 2);
    }
}

.portal-public-excursions {
    width: min(750px, 100%);
    margin: 0 auto;
    padding-top: 6px;
}

.portal-public-excursions .section-title {
    align-items: flex-end;
}

.portal-public-excursions h2,
.portal-public-excursions h3 {
    margin-top: 0;
}

.date-filter-card {
    display: grid;
    gap: 10px;
    margin-bottom: 9px;
    padding: 12px;
    border-radius: 9px;
    background: rgba(255, 255, 255, 0.78);
    border: 1px solid rgba(31, 41, 51, 0.08);
}

.date-filter-form {
    display: flex;
    align-items: end;
    gap: 10px;
    flex-wrap: wrap;
}

.date-filter-form label {
    color: #52606d;
    font-size: 0.78rem;
    font-weight: 700;
}

.date-filter-form input[type="month"] {
    width: 80px;
    padding: 8px 10px;
    font-size: 0.86rem;
}

.month-filter-buttons {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 8px;
    width: 100%;
    align-items: center;
}

.month-filter-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 28px;
    min-width: 42px;
    padding: 4px 8px;
    border-radius: 999px;
    color: #52606d;
    background: rgba(255, 255, 255, 0.68);
    border: 1px solid rgba(82, 96, 109, 0.18);
    font-size: 0.72rem;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
    cursor: pointer;
}

.agency-panel-section {
    overflow: visible;
}

.month-filter-link.active,
.month-filter-link:hover {
    color: #0f766e;
    border-color: rgba(15, 118, 110, 0.28);
    background: #e6fffa;
}

.blocked-itinerary-section {
    padding-top: 0;
}

.blocked-itinerary-card {
    border-color: rgba(15, 118, 110, 0.16);
}

.blocked-price {
    display: grid;
    gap: 2px;
    margin: 10px 0;
}

.blocked-price strong {
    color: #0f766e;
    font-size: 1rem;
}

.blocked-price span {
    color: #52606d;
    font-size: 0.78rem;
}

.receipt-header {
    display: flex;
    align-items: center;
    gap: 18px;
}

.receipt-header img {
    width: 96px;
    height: 72px;
    object-fit: contain;
    border-radius: 14px;
    background: #fff;
    border: 1px solid rgba(31, 41, 51, 0.08);
}

.receipt-amount {
    color: #0f766e;
    font-size: 1.7rem;
    font-weight: 800;
}

.share-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}

.share-row input {
    flex: 1 1 260px;
    min-width: 0;
    font-size: 0.82rem;
    background: #f8fafc;
}

.share-row .button-link,
.share-row button {
    min-height: 28px;
    padding: 4px 8px;
    font-size: 0.72rem;
}

.public-share-row {
    margin-top: 12px;
}

.payment-options {
    display: grid;
    gap: 4px;
    margin: 8px 0 12px;
    font-size: 0.76rem;
}

.payment-options span {
    display: block;
}

.commission-extra-form {
    display: flex;
    gap: 8px;
    align-items: center;
    flex-wrap: wrap;
    margin: 10px 0;
}

.commission-extra-form label {
    color: #52606d;
    font-size: 0.76rem;
    font-weight: 700;
}

.commission-extra-form input {
    width: 86px;
    padding: 6px 8px;
    font-size: 0.78rem;
}

.commission-extra-form button {
    min-height: 30px;
    padding: 5px 9px;
    font-size: 0.75rem;
}

.legal-consent-card {
    display: grid;
    gap: 12px;
    padding: 14px;
    border-radius: 18px;
    background: rgba(248, 250, 252, 0.9);
    border: 1px solid rgba(31, 41, 51, 0.08);
}

.legal-text {
    max-height: 260px;
    overflow: auto;
    padding: 12px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(31, 41, 51, 0.08);
    color: #334e68;
    font-size: 0.84rem;
}

.legal-text h3 {
    margin-top: 0;
}

.signature-box {
    width: 100%;
    border: 1px dashed #9fb3c8;
    border-radius: 16px;
    background: #fff;
    overflow: hidden;
}

.signature-box canvas {
    width: 100%;
    height: 180px;
    display: block;
    touch-action: none;
    cursor: crosshair;
}

@media (max-width: 700px) {
    .share-row {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 980px) {
    .auth-shell {
        grid-template-columns: 1fr;
    }
}

.excursion-photo {
    width: 100%;
    aspect-ratio: 16 / 9;
    max-height: 190px;
    object-fit: cover;
    display: block;
    border-radius: 12px;
    margin-bottom: 12px;
    background: #d9e2ec;
    border: 1px solid rgba(31, 41, 51, 0.08);
}

.blocked-itinerary-card .excursion-photo {
    max-height: 210px;
}

.portal-public-excursions .item-card h3 {
    font-size: 1rem;
    margin-bottom: 8px;
}

.portal-public-excursions .item-card p {
    margin: 0 0 8px;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.bus-shell {
    padding: 18px;
    border-radius: 24px;
    background:
        radial-gradient(circle at top left, rgba(255,255,255,0.95), transparent 28%),
        linear-gradient(180deg, rgba(224,242,254,0.96) 0%, rgba(255,255,255,0.98) 100%);
    border: 1px solid rgba(18, 78, 102, 0.12);
    position: relative;
    overflow: hidden;
}

.bus-shell::before,
.bus-shell::after {
    content: "";
    position: absolute;
    bottom: 10px;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: rgba(31, 41, 51, 0.08);
}

.bus-shell::before {
    left: 18px;
}

.bus-shell::after {
    right: 18px;
}

.bus-driver {
    width: 140px;
    margin-right: auto;
    margin-bottom: 14px;
    padding: 10px 12px;
    text-align: center;
    border-radius: 16px;
    background: rgba(18, 78, 102, 0.08);
    color: #124e66;
    font-weight: 700;
}

.seat-map-real {
    display: grid;
    gap: 10px;
}

.seat-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr)) 36px repeat(2, minmax(0, 1fr));
    gap: 10px;
    align-items: center;
}

.seat-button {
    min-height: 52px;
    border-radius: 16px;
    border: 1px solid rgba(22, 163, 74, 0.22);
    background: #dcfce7;
    color: #166534;
    font-weight: 700;
    box-shadow: none;
    position: relative;
}

.seat-button.selected {
    background: #fef3c7;
    color: #92400e;
    border-color: rgba(245, 158, 11, 0.28);
}

.seat-button.occupied {
    background: #fef3c7;
    color: #92400e;
    border-color: rgba(245, 158, 11, 0.28);
    cursor: not-allowed;
}

.seat-button.paid {
    background: #fecaca;
    color: #991b1b;
    border-color: rgba(220, 38, 38, 0.24);
    cursor: not-allowed;
}

.extra-toggle.is-selected {
    background: #0f766e;
    color: #fff;
    border-color: #0f766e;
}

.seat-aisle {
    min-height: 12px;
    position: relative;
}

.seat-aisle::before {
    content: "";
    display: block;
    width: 6px;
    height: 100%;
    margin: 0 auto;
    border-radius: 999px;
    background: rgba(148, 163, 184, 0.45);
}

.ticket-card {
    padding: 18px;
    border-radius: 22px;
    background: linear-gradient(180deg, rgba(255,255,255,0.98) 0%, rgba(248,243,232,0.98) 100%);
    border: 1px dashed rgba(18, 78, 102, 0.24);
}

.ticket-head,
.ticket-total-row,
.ticket-line {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    align-items: center;
}

.ticket-head {
    padding-bottom: 12px;
    margin-bottom: 12px;
    border-bottom: 1px dashed rgba(18, 78, 102, 0.24);
}

.ticket-lines {
    display: grid;
    gap: 10px;
}

.ticket-line {
    font-size: 0.92rem;
}

.ticket-seat-badge {
    display: inline-flex;
    align-items: center;
    padding: 4px 10px;
    border-radius: 999px;
    background: rgba(18, 78, 102, 0.08);
    color: #124e66;
    font-weight: 700;
}

.ticket-passenger-name {
    font-size: 0.86rem;
    color: #52606d;
    margin-top: -4px;
}

.form-seat-meta strong {
    color: #0f766e;
}

.ticket-total-row {
    padding-top: 14px;
    margin-top: 14px;
    border-top: 1px dashed rgba(18, 78, 102, 0.24);
}

.ticket-download-summary {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.ticket-download-summary > div {
    padding: 14px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(31, 41, 51, 0.08);
}

.ticket-download-summary .label {
    display: block;
    color: #52606d;
    font-size: 0.78rem;
    margin-bottom: 6px;
}

.ticket-print-card {
    min-height: 260px;
}

.ticket-services {
    display: grid;
    gap: 10px;
    margin-top: 16px;
    padding-top: 14px;
    border-top: 1px dashed rgba(18, 78, 102, 0.24);
}

.room-card {
    background: rgba(240, 247, 250, 0.95);
}

.room-summary {
    font-size: 0.92rem;
}

.room-note {
    margin-bottom: 0;
    background: rgba(255, 245, 212, 0.9);
    border-color: rgba(209, 153, 29, 0.28);
    color: #8a5a00;
}

.sugerencia-menor {
    padding: 10px 12px;
    border-radius: 14px;
    background: rgba(18, 78, 102, 0.08);
    border: 1px solid rgba(18, 78, 102, 0.12);
    color: #124e66 !important;
    font-size: 0.9rem;
}

.room-summary div + div {
    margin-top: 8px;
}

.return-box {
    display: grid;
    gap: 8px;
    padding: 10px 12px;
    border-radius: 14px;
    background: rgba(15, 118, 110, 0.08);
    border: 1px solid rgba(15, 118, 110, 0.14);
}

.return-item {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    align-items: center;
    padding: 8px 10px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.9);
}

.room-quote {
    background: linear-gradient(180deg, rgba(255,255,255,0.96) 0%, rgba(241,248,250,0.96) 100%);
    border: 1px solid rgba(15, 118, 110, 0.14);
    border-radius: 22px;
    padding: 18px;
    box-shadow: 0 14px 32px rgba(15, 118, 110, 0.08);
}

.room-quote.selected {
    border-color: #0f766e;
}

.room-quote-head {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    align-items: flex-start;
    margin-bottom: 14px;
}

.room-total-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 14px;
    border-radius: 999px;
    background: #0f766e;
    color: #fff;
    font-weight: 700;
    min-width: 120px;
}

.room-occupancy {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 14px;
}

.pill {
    display: inline-flex;
    align-items: center;
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(18, 78, 102, 0.08);
    color: #124e66;
    font-size: 0.82rem;
    border: 1px solid rgba(18, 78, 102, 0.1);
}

.quote-line {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid rgba(82, 96, 109, 0.12);
}

.quote-line:last-of-type {
    border-bottom: 0;
}

.quote-section {
    margin-top: 12px;
}

.quote-section-title {
    display: inline-block;
    margin-bottom: 8px;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    color: #124e66;
}

.price-split {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-top: 16px;
}

.price-chip {
    padding: 12px 14px;
    border-radius: 16px;
    background: rgba(15, 118, 110, 0.08);
    border: 1px solid rgba(15, 118, 110, 0.12);
}

.price-chip span {
    display: block;
    font-size: 0.78rem;
    color: #52606d;
    margin-bottom: 6px;
}

.price-chip strong {
    font-size: 1rem;
    color: #0f766e;
}

#mode-explainer {
    background: linear-gradient(180deg, rgba(255,255,255,0.95) 0%, rgba(244,249,251,0.95) 100%);
}

@media (max-width: 900px) {
    .promo-page {
        grid-template-columns: 1fr;
    }

    .agency-topbar {
        grid-template-columns: 1fr;
    }

    .ticket-download-summary {
        grid-template-columns: 1fr;
    }

    .date-filter-form {
        align-items: stretch;
    }

    .date-filter-form input[type="month"],
    .date-filter-form button,
    .date-filter-form .button-link {
        width: 100%;
        justify-content: center;
    }

    .grid-4,
    .grid-3,
    .grid-2 {
        grid-template-columns: 1fr;
    }

    .client-dashboard-secondary {
        display: none;
    }

    .client-dashboard-primary .summary-card strong,
    .client-dashboard-review .summary-card strong {
        font-size: 1rem;
    }

    .client-compact-cart {
        position: static;
    }

    .client-compact-cart-head,
    .client-compact-cart-actions {
        flex-direction: column;
        align-items: flex-start;
    }

    .client-compact-total {
        text-align: left;
    }

    .client-review-actions,
    .client-review-actions .button-link,
    .client-review-actions button {
        width: 100%;
        justify-content: center;
    }

    .room-quote-head,
    .quote-line,
    .quote-row {
        flex-direction: column;
        align-items: flex-start;
    }

    .quote-row .toolbar {
        width: 100%;
    }

    .price-split {
        grid-template-columns: 1fr;
    }

    .thumb {
        width: 100%;
        height: auto;
        aspect-ratio: 1 / 1;
    }

    .portal-topbar {
        padding: 14px 16px;
    }

    .portal-main {
        align-items: start;
        padding: 24px 14px 52px;
    }

    .portal-hero {
        padding-top: 15px;
    }

    .portal-hero h1 {
        font-size: 2rem;
    }

    .portal-public-excursions {
        width: min(680px, 100%);
    }

    .nearby-slider-shell {
        gap: 8px;
    }

    .nearby-slider-arrow {
        width: 36px;
        height: 36px;
    }

    .nearby-destination-item {
        flex-basis: min(86%, 320px);
    }

    .portal-public-excursions .item-card {
        padding: 12px;
    }

    .quote-search {
        grid-template-columns: 1fr;
        border-radius: 18px;
        padding: 10px;
    }

    .quote-search button {
        width: 100%;
    }

    .apps-panel {
        right: 16px;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .excursion-photo,
    .blocked-itinerary-card .excursion-photo {
        max-height: 170px;
    }
}

@media print {
    .no-print {
        display: none !important;
    }

    .no-cortar {
        break-inside: avoid;
        page-break-inside: avoid;
    }

    .nueva-hoja {
        break-before: page;
        page-break-before: always;
    }

    @page {
        margin: 9mm;
        size: auto;
    }

    body {
        background: #fff;
        font-size: 9px;
        line-height: 1.2;
    }

    .page {
        max-width: none;
        padding: 0;
    }

    .hero {
        display: flex;
        flex-direction: column;
        gap: 4px;
    }

    .hero,
    .card,
    .summary-card,
    .item-card,
    .tramo,
    .timeline-item,
    .room-quote,
    .return-box,
    .return-item {
        box-shadow: none;
        background: #fff;
    }

    .hero {
        border: 0;
        padding: 0;
    }

    .grid {
        gap: 6px;
    }

    .grid-2,
    .print-section {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 6px;
    }

    .grid-3 {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 6px;
    }

    .grid-4 {
        display: grid;
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 6px;
    }

    .summary-card,
    .card,
    .item-card,
    .room-quote,
    .timeline-item {
        margin-bottom: 6px;
        padding: 6px;
        break-inside: avoid;
        page-break-inside: avoid;
    }

    .top-space,
    .toolbar {
        margin-top: 5px;
    }

    .summary-card .label,
    .muted,
    .timeline-key,
    .transport-key-inline,
    .transfer-key-inline,
    .pill,
    .quote-section-title,
    .quote-line,
    .return-item {
        font-size: 0.7rem;
    }

    .print-hide-compact {
        display: none !important;
    }

    .summary-card strong,
    .room-total-badge,
    .transfer-total-badge {
        font-size: 0.95rem;
    }

    h1 {
        font-size: 1.28rem;
        margin-bottom: 2px;
    }

    h2 {
        font-size: 0.92rem;
        margin-bottom: 4px;
    }

    h3 {
        font-size: 0.78rem;
        margin-bottom: 2px;
    }

    h1,
    h2,
    h3,
    p,
    .timeline-day {
        break-after: avoid;
    }

    p {
        margin: 0 0 3px;
    }

    .thumb {
        max-height: 72px;
        object-fit: cover;
    }

    .timeline {
        gap: 2px;
        margin-top: 4px;
    }

    .timeline-day {
        margin: 2px 0 0;
        padding: 0;
        font-size: 0.58rem;
        line-height: 1.1;
        break-after: avoid;
        page-break-after: avoid;
        break-inside: avoid;
        page-break-inside: avoid;
    }

    .timeline-item {
        min-height: auto;
        padding: 3px 4px;
        margin-bottom: 2px;
    }

    .timeline-item strong {
        display: inline-block;
        margin-bottom: 0;
        font-size: 0.62rem;
        line-height: 1.08;
    }

    .timeline-item h3 {
        font-size: 0.64rem;
        line-height: 1.08;
        margin: 0;
    }

    .timeline-item p,
    .timeline-item .timeline-key {
        font-size: 0.58rem;
        line-height: 1.08;
        margin: 0;
    }

    .timeline-item .thumb {
        display: none;
    }

    .card:has(.timeline) {
        break-inside: auto;
        page-break-inside: auto;
    }

    .room-quote {
        padding: 4px;
    }

    .room-quote-head {
        margin-bottom: 3px;
        gap: 4px;
    }

    .room-quote-head .muted,
    .room-quote .muted,
    .room-quote .pill,
    .room-quote .quote-line,
    .room-quote .quote-section-title,
    .room-quote .return-item,
    .room-quote .price-chip span {
        font-size: 0.58rem;
        line-height: 1.05;
    }

    .room-total-badge,
    .room-quote .price-chip strong,
    .room-quote .quote-line strong {
        font-size: 0.72rem;
    }

    .room-occupancy {
        gap: 2px;
        margin-bottom: 3px;
    }

    .pill {
        padding: 2px 5px;
        border-radius: 999px;
    }

    .quote-line {
        padding: 3px 0;
    }

    .quote-section {
        margin-top: 3px;
    }

    .return-box {
        margin-top: 2px;
        padding: 3px;
    }

    .return-item {
        padding: 2px 0;
    }

    .price-split {
        gap: 4px;
        margin-top: 4px;
    }

    .price-chip {
        padding: 4px 5px;
    }

    .quote-agency-brand {
        margin-bottom: 2px;
    }

    .quote-agency-brand img {
        max-height: 34px;
        width: auto;
    }

    .print-legal-block {
        order: 99;
        margin-top: 8px !important;
        padding-top: 5px;
        border-top: 1px solid rgba(31, 41, 51, 0.16);
    }
}


.itinerary-summary {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 20px;
}

.itinerary-item {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    overflow: hidden;
    border: 1px solid #eee;
}

.itinerary-header {
    background-color: #f8f9fa;
    padding: 12px 14px;
    display: flex;
    justify-content: space-between;
    border-bottom: 1px solid #eee;
    font-weight: bold;
    color: #333;
}

.itinerary-details {
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.detail-row {
    display: flex;
    align-items: center;
    gap: 15px;
}

.icon-circle {
    width: 40px;
    height: 40px;
    background-color: #e9ecef;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #007bff; /* Color azul para los iconos */
}

.detail-info {
    display: flex;
    flex-direction: column;
}

.detail-label {
    font-size: 0.85em;
    color: #777;
    text-transform: uppercase;
}

.detail-value {
    font-size: 1em;
    color: #333;
    font-weight: 500;
}
