/* =========================================================================
   Laara tour-request wizard — cover-flow design.
   Palette (solid, no gradients): white page, navy #111835, blue #0248c1,
   gold #f8d613, paper #fbfcfc.
   Type: Fraunces (headings) + Plus Jakarta Sans (UI/body).
   ========================================================================= */
.laara {
    --navy: #111835;
    --blue: #0248c1;
    --gold: #f8d613;
    --paper: #fbfcfc;

    --ink: #111835;                 /* primary text */
    --muted: rgba(17, 24, 53, 0.58);
    --line: rgba(17, 24, 53, 0.12);
    --card-w: 210px;
    --card-h: 264px;

    --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    --font-head: 'Fraunces', Georgia, 'Times New Roman', serif;

    position: relative;
    min-height: calc(100vh - 80px);
    margin: 0;
    padding: 0 0 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    overflow: hidden;
    font-family: var(--font-body);
    color: var(--ink);
    isolation: isolate;
}

.laara-bg { position: absolute; inset: 0; z-index: 0; background: #ffffff; }
.laara > *:not(.laara-bg) { position: relative; z-index: 1; }

/* ---- brand + progress ---------------------------------------------------- */
.laara-brand { display: flex; align-items: center; gap: 9px; margin: 24px 0 6px; }
.laara-brand-mark {
    width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center;
    background: var(--gold); color: var(--navy); font-size: 16px;
    box-shadow: 0 6px 16px rgba(248, 214, 19, 0.4);
}
.laara-brand-name { font-family: var(--font-head); font-weight: 600; font-size: 21px; color: var(--navy); }
.laara-brand-sub { font-size: 12.5px; color: var(--muted); align-self: flex-end; margin-bottom: 3px; }

.laara-progress { width: min(320px, 78vw); display: flex; align-items: center; gap: 10px; margin: 6px 0 2px; }
.laara-bar { flex: 1; height: 6px; background: rgba(17, 24, 53, 0.10); border-radius: 99px; overflow: hidden; }
.laara-bar-fill { height: 100%; width: 0; border-radius: 99px; background: var(--blue); transition: width .5s cubic-bezier(.22,.61,.36,1); }
.laara-progress span { font-size: 11px; font-weight: 700; color: var(--muted); white-space: nowrap; letter-spacing: .03em; }

/* ---- stage --------------------------------------------------------------- */
.laara-stage {
    flex: 0 1 auto; width: 100%; max-width: 760px;
    display: flex; flex-direction: column; align-items: center; justify-content: flex-start;
    padding: 6px 12px 8px; text-align: center; min-height: 0; overflow-y: auto;
}
.laara-prompt { font-family: var(--font-head); font-size: clamp(20px, 5vw, 27px); font-weight: 600; line-height: 1.25; margin: 4px auto 2px; max-width: 560px; color: var(--navy); letter-spacing: -0.01em; }
.laara-hint { font-size: 13.5px; color: var(--muted); margin-bottom: 10px; font-weight: 500; }

/* ---- cover-flow ---------------------------------------------------------- */
.laara-cf { position: relative; width: 100%; height: calc(var(--card-h) + 24px); perspective: 1400px; margin-top: 4px; display: flex; align-items: center; justify-content: center; }
.laara-cf-track { position: relative; width: var(--card-w); height: var(--card-h); transform-style: preserve-3d; }
.laara-card {
    position: absolute; top: 0; left: 0; width: var(--card-w); height: var(--card-h);
    border-radius: 20px; overflow: hidden; cursor: pointer;
    background: var(--paper); border: 1px solid var(--line);
    box-shadow: 0 22px 48px rgba(17, 24, 53, 0.18);
    transition: transform .5s cubic-bezier(.22,.61,.36,1), opacity .5s, box-shadow .3s;
    backface-visibility: hidden; will-change: transform;
}
.laara-card-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.laara-card-fade { display: none; }
.laara-card-cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 13px 14px 15px; text-align: left; background: rgba(17, 24, 53, 0.72); }
.laara-card-cap .t { font-weight: 700; font-size: 15px; line-height: 1.2; color: #fff; }
.laara-card-cap .s { font-size: 12px; color: rgba(255,255,255,.82); margin-top: 2px; font-weight: 500; }
.laara-card.is-focus { box-shadow: 0 30px 64px rgba(17, 24, 53, 0.28), 0 0 0 2px var(--blue); }
.laara-card .laara-check {
    position: absolute; top: 12px; right: 12px; width: 30px; height: 30px; border-radius: 50%;
    background: var(--gold); color: var(--navy); display: none; place-items: center; font-size: 17px;
    box-shadow: 0 4px 12px rgba(17,24,53,.3); z-index: 3;
}
.laara-card.is-selected .laara-check { display: grid; }
.laara-card.is-selected { border-color: var(--gold); box-shadow: 0 22px 48px rgba(17,24,53,.18), 0 0 0 3px var(--gold); }

.laara-cf-nav {
    position: absolute; top: 50%; transform: translateY(-50%); z-index: 40;
    width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line);
    background: #fff; color: var(--navy); cursor: pointer; font-size: 18px;
    display: grid; place-items: center;
    box-shadow: 0 6px 16px rgba(17,24,53,.14); transition: background .15s, color .15s;
}
.laara-cf-nav:hover { background: var(--navy); color: #fff; }
.laara-cf-nav.prev { left: max(8px, calc(50% - var(--card-w)/2 - 64px)); }
.laara-cf-nav.next { right: max(8px, calc(50% - var(--card-w)/2 - 64px)); }
.laara-cf-nav[disabled] { opacity: .3; pointer-events: none; }

/* ---- illustrated "scene" cards (solid colour, no gradients) --------------- */
.laara-illus { position: absolute; inset: 0; overflow: hidden; display: grid; place-items: center; isolation: isolate; }
.laara-card-img { z-index: 2; }
.laara-illus .blob { display: none; }
.laara-illus .glyph { position: relative; z-index: 2; font-size: 58px; color: #fff; }
.laara-illus .ring { position: absolute; width: 124px; height: 124px; border-radius: 50%; border: 1.5px solid rgba(255,255,255,.28); z-index: 1; }
/* premium gradients composed only from the two card colours (navy #111835 + blue #0248c1) */
.tone-navy {
    background:
        radial-gradient(130% 120% at 84% 6%, rgba(2, 72, 193, 0.45) 0%, rgba(2, 72, 193, 0) 58%),
        linear-gradient(157deg, #111835 16%, #0248c1 172%);
}
.tone-blue {
    background:
        radial-gradient(125% 120% at 16% 96%, rgba(17, 24, 53, 0.55) 0%, rgba(17, 24, 53, 0) 56%),
        linear-gradient(157deg, #0248c1 -6%, #111835 116%);
}
.tone-gold  { background: var(--gold); }
.tone-gold .glyph { color: var(--navy); } .tone-gold .ring { border-color: rgba(17,24,53,.25); }

/* hero (input questions) */
.laara-hero { display: flex; flex-direction: column; align-items: center; gap: 14px; }
.laara-hero .laara-illus { position: relative; width: 132px; height: 132px; border-radius: 30px; box-shadow: 0 18px 40px rgba(17,24,53,.22); }
.laara-hero .laara-illus .glyph { font-size: 50px; } .laara-hero .laara-illus .ring { width: 96px; height: 96px; }

/* ---- player-bar dock ----------------------------------------------------- */
.laara-dock-wrap { width: 100%; display: flex; justify-content: center; padding: 6px 12px 50px; }
.laara-dock {
    width: 100%; max-width: 680px; min-height: 66px;
    background: #ffffff; border: 1px solid var(--line);
    border-radius: 36px; padding: 10px 14px;
    box-shadow: 0 14px 40px rgba(17, 24, 53, 0.14);
    display: flex; align-items: center; gap: 10px;
}
.laara-dock-spacer { flex: 1; }
.laara-ctrl {
    flex: none; width: 44px; height: 44px; border-radius: 50%; border: 0; cursor: pointer;
    background: rgba(17, 24, 53, 0.06); color: var(--navy); font-size: 17px; display: grid; place-items: center;
    transition: background .15s, transform .12s, opacity .15s;
}
.laara-ctrl:hover { background: rgba(17, 24, 53, 0.12); }
.laara-ctrl:active { transform: scale(.94); }
.laara-ctrl[disabled] { opacity: .3; pointer-events: none; }
.laara-ctrl.primary { width: 56px; height: 56px; font-size: 22px; background: var(--blue); color: #fff; box-shadow: 0 8px 20px rgba(2, 72, 193, 0.36); }
.laara-ctrl.primary:hover { background: #0240ac; }

.laara-now { flex: 1; min-width: 0; display: flex; align-items: center; gap: 11px; padding: 4px 8px; }
.laara-now-thumb { position: relative; width: 42px; height: 42px; border-radius: 10px; overflow: hidden; flex: none; background: var(--paper); display: grid; place-items: center; color: var(--navy); font-size: 18px; }
.laara-now-thumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.laara-now-thumb .laara-illus { border-radius: 10px; }
.laara-now-thumb .laara-illus .glyph { font-size: 20px; } .laara-now-thumb .laara-illus .ring { display: none; }
.laara-now-txt { min-width: 0; text-align: left; }
.laara-now-txt .t { font-weight: 700; font-size: 14px; color: var(--navy); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.laara-now-txt .s { font-size: 11.5px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.laara-input, .laara-textarea, .laara-date {
    width: 100%; background: #fff; border: 1.5px solid var(--line); color: var(--navy);
    border-radius: 14px; padding: 11px 13px; font-size: 15px; font-family: inherit;
}
.laara-input::placeholder, .laara-textarea::placeholder { color: rgba(17,24,53,.4); }
.laara-input:focus, .laara-textarea:focus, .laara-date:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(2,72,193,.22); }
.laara-textarea { resize: none; min-height: 44px; }
.laara-btn {
    border: 0; border-radius: 16px; padding: 12px 22px; font-size: 15px; font-weight: 700; cursor: pointer;
    display: inline-flex; align-items: center; justify-content: center; gap: 8px; white-space: nowrap;
    background: var(--blue); color: #fff; box-shadow: 0 8px 20px rgba(2,72,193,.32);
    transition: transform .12s, background .15s, opacity .15s; text-decoration: none; font-family: inherit;
}
.laara-btn:hover { background: #0240ac; } .laara-btn:active { transform: translateY(1px); }
.laara-btn[disabled] { opacity: .5; pointer-events: none; box-shadow: none; }
.laara-btn-ghost { background: rgba(17,24,53,.06); color: var(--navy); box-shadow: none; border: 1px solid var(--line); }

.laara-meta { font-size: 13px; color: var(--muted); font-weight: 600; margin-top: 6px; min-height: 18px; }
.laara-err { color: #c8102e; font-weight: 700; }

/* ---- input panel --------------------------------------------------------- */
.laara-field-panel { width: min(460px, 92vw); margin: 14px auto 0; display: flex; flex-direction: column; gap: 10px; }
.laara-daterow { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.laara-fieldlabel { font-size: 11.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); text-align: left; margin-bottom: 5px; }
.laara-nights { display: inline-block; font-size: 13px; font-weight: 700; color: var(--navy); background: rgba(248,214,19,.28); border: 1px solid rgba(248,214,19,.7); padding: 7px 14px; border-radius: 12px; }

/* ---- hotels: tier cards + summary ---------------------------------------- */
.laara-tiercards { display: flex; gap: 9px; justify-content: center; margin-bottom: 14px; }
.laara-tiercard { flex: 1; max-width: 142px; height: 88px; position: relative; padding: 0; cursor: pointer; color: #fff; border: 1px solid var(--line); border-radius: 15px; overflow: hidden; background: var(--paper); transition: transform .14s, box-shadow .2s; }
.laara-tiercard:hover { transform: translateY(-2px); }
.laara-tiercard .laara-illus { position: absolute; inset: 0; }
.laara-tiercard .laara-illus .glyph { font-size: 26px; } .laara-tiercard .laara-illus .ring { display: none; }
.laara-tiercard .tl { position: absolute; left: 0; right: 0; bottom: 0; padding: 12px 6px 8px; font-size: 12px; font-weight: 700; line-height: 1.15; color: #fff; background: rgba(17,24,53,.55); }
.laara-tiercard.active { border-color: var(--gold); box-shadow: 0 0 0 2px var(--gold), 0 12px 24px rgba(17,24,53,.2); }

.laara-hotel-summary { display: flex; flex-wrap: wrap; gap: 7px; margin: 4px 0 12px; justify-content: center; }
.laara-chip { display: inline-flex; align-items: center; gap: 6px; background: rgba(2,72,193,.1); border: 1px solid rgba(2,72,193,.32); color: var(--navy); border-radius: 99px; padding: 5px 6px 5px 12px; font-size: 12px; font-weight: 700; }
.laara-chip-x { border: 0; background: rgba(17,24,53,.14); color: var(--navy); width: 18px; height: 18px; border-radius: 50%; cursor: pointer; font-size: 13px; line-height: 1; display: grid; place-items: center; }
.laara-chip-x:hover { background: var(--blue); color: #fff; }

/* legacy hotel-list styles (kept for safety) */
.laara-hotels { display: flex; flex-direction: column; gap: 10px; }
.laara-hotel { border: 1px solid var(--line); border-radius: 16px; overflow: hidden; background: #fff; }
.laara-hotel.selected { border-color: var(--gold); box-shadow: 0 0 0 1px var(--gold); }
.laara-hotel-thumb { width: 116px; flex: none; background: var(--paper); position: relative; }
.laara-hotel-thumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.laara-room { text-align: left; border: 1px solid var(--line); background: #fff; color: var(--navy); border-radius: 11px; padding: 9px 12px; cursor: pointer; }
.laara-room.selected { border-color: var(--gold); background: rgba(248,214,19,.16); }

/* ---- contact ------------------------------------------------------------- */
.laara-contact { width: min(480px, 94vw); margin: 6px auto 0; }
.laara-grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 11px; }
.laara-grid2 .full { grid-column: 1 / -1; }
.laara-contact .laara-textarea { min-height: 76px; resize: vertical; }

/* ---- success ------------------------------------------------------------- */
.laara-success { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 8px; }
.laara-success .ok { width: 84px; height: 84px; border-radius: 50%; background: var(--gold); color: var(--navy); display: grid; place-items: center; font-size: 42px; animation: laara-pop .5s cubic-bezier(.2,.9,.3,1.4) both; box-shadow: 0 12px 30px rgba(248,214,19,.4); }
@keyframes laara-pop { from { transform: scale(.4); opacity: 0; } to { transform: scale(1); opacity: 1; } }
.laara-success h2 { font-family: var(--font-head); font-weight: 600; font-size: 26px; margin: 6px 0 2px; color: var(--navy); }
.laara-success p { color: var(--muted); font-size: 15px; max-width: 440px; margin: 0 auto; }
.laara-inq { margin: 12px 0; padding: 9px 20px; border: 1.5px dashed var(--blue); border-radius: 14px; font-weight: 800; letter-spacing: .05em; font-size: 17px; color: var(--blue); }

/* ---- loading + fallback -------------------------------------------------- */
.laara-loading { display: inline-flex; align-items: center; gap: 9px; color: var(--muted); font-size: 14px; }
.laara-spinner { width: 18px; height: 18px; border-radius: 50%; border: 2.5px solid rgba(17,24,53,.16); border-top-color: var(--blue); animation: laara-spin .8s linear infinite; }
@keyframes laara-spin { to { transform: rotate(360deg); } }
.laara-shell { background: #fff; border: 1px solid var(--line); border-radius: 24px; margin: 60px auto; max-width: 520px; box-shadow: 0 18px 50px rgba(17,24,53,.12); }
.laara-fallback { text-align: center; padding: 52px 26px; }
.laara-fallback-icon { font-size: 44px; color: var(--muted); margin-bottom: 12px; }
.laara-fallback h3 { font-family: var(--font-head); font-weight: 600; font-size: 22px; margin-bottom: 8px; color: var(--navy); }
.laara-fallback p { color: var(--muted); max-width: 380px; margin: 0 auto 20px; }
.laara-fallback-actions { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }

.laara-credit { font-size: 12px; color: var(--muted); padding: 8px 0 18px; text-align: center; }
.laara-credit strong { color: var(--navy); }

/* ---- responsive ---------------------------------------------------------- */
@media (max-width: 640px) {
    /* natural height on mobile so the content sits near the top (no big top gap) */
    .laara { --card-w: 168px; --card-h: 214px; min-height: auto; }
    .laara-cf-nav.prev { left: 6px; } .laara-cf-nav.next { right: 6px; }
    .laara-grid2 { grid-template-columns: 1fr; }
    .laara-dock { border-radius: 28px; gap: 7px; padding: 9px 10px; }
    .laara-ctrl { width: 40px; height: 40px; } .laara-ctrl.primary { width: 50px; height: 50px; }
    .laara-now-thumb { width: 36px; height: 36px; }
    .laara-progress { width: 84vw; }
}
@media (max-width: 380px) { .laara { --card-w: 150px; --card-h: 192px; } }
