/* ═══════════════════════════════════════════════════════════════
   bto.css — Shared Bento Design System
   ATAV Vienna Airport Transfer
   Loaded globally on all bto-* pages (services, about, prices)
════════════════════════════════════════════════════════════════ */


/* ── Design tokens ──────────────────────────────────────────── */
.bto-page {
    --bto-white:    #ffffff;
    --bto-gray:     #f5f5f7;
    --bto-gray2:    #e8e8ed;
    --bto-dark:     #1d1d1f;
    --bto-mid:      #6e6e73;
    --bto-subtle:   #aeaeb2;
    --bto-red:      #D60000;
    --bto-red-dark: #b50000;
    --bto-red-pale: rgba(214, 0, 0, 0.06);
    --bto-border:   rgba(0, 0, 0, 0.08);
    --bto-radius:   20px;
    --bto-radius-lg: 28px;
    --bto-shadow:   0 2px 20px rgba(0, 0, 0, 0.07);
    --bto-shadow-h: 0 8px 40px rgba(0, 0, 0, 0.13);

    background: var(--bto-white);
    color: var(--bto-dark);
    font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", sans-serif;
}

/* ── UIKit reset (transparent sections) ────────────────────── */
.bto-page .uk-section,
.bto-page .uk-section-muted,
.bto-page .uk-section-default,
.bto-page section {
    background: transparent !important;
}
.bto-page .uk-card-default {
    background: var(--bto-white) !important;
    border: 1px solid var(--bto-border) !important;
    color: var(--bto-mid) !important;
}

/* Section backgrounds — .bto-page + class = specificity 0,2,0
   beats .bto-page section (0,1,1) from UIKit reset above      */
.bto-page .bto-section-white { background: var(--bto-white) !important; }
.bto-page .bto-section-gray  { background: var(--bto-gray)  !important; }


/* ── UIKit link-color override (UIKit sets a{color:#1e87f0}) ── */
.bto-page a:not([class]) {
    color: var(--bto-dark);
    text-decoration: underline;
}
.bto-page a:not([class]):hover {
    color: var(--bto-red);
}

/* ── Utilities ──────────────────────────────────────────────── */
.bto-center   { text-align: center; margin-top: 3rem; }
.bto-red-em   { color: var(--bto-red) !important; font-style: normal; }
.bto-link-red { color: var(--bto-red); text-decoration: none; }
.bto-link-red:hover { text-decoration: underline; }

.bto-eyebrow {
    display: inline-block;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--bto-red);
    margin-bottom: 0.9rem;
}


/* ── Buttons ────────────────────────────────────────────────── */
.bto-btn-red {
    display: inline-block;
    padding: 0.78rem 1.9rem;
    background: var(--bto-red);
    color: #fff !important;
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.01em;
    border-radius: 50px;
    text-decoration: none !important;
    transition: background 0.22s, box-shadow 0.22s, transform 0.18s;
}
.bto-btn-red:hover {
    background: var(--bto-red-dark);
    box-shadow: 0 4px 20px rgba(214, 0, 0, 0.35);
    transform: translateY(-1px);
}

.bto-btn-outline {
    display: inline-block;
    padding: 0.78rem 1.9rem;
    background: transparent;
    color: var(--bto-dark) !important;
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.01em;
    border-radius: 50px;
    text-decoration: none !important;
    border: 1.5px solid rgba(0, 0, 0, 0.22);
    transition: border-color 0.22s, background 0.22s;
}
.bto-btn-outline:hover {
    border-color: var(--bto-dark);
    background: rgba(0, 0, 0, 0.04);
}

.bto-btn-white-lg {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: #fff;
    color: var(--bto-red) !important;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.01em;
    border-radius: 50px;
    text-decoration: none !important;
    transition: background 0.22s, box-shadow 0.22s, transform 0.18s;
}
.bto-btn-white-lg:hover {
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 6px 30px rgba(0, 0, 0, 0.18);
    transform: translateY(-2px);
}


/* ── Section shell ──────────────────────────────────────────── */
.bto-section { padding: 5.5rem 0; }

.bto-section-head {
    text-align: center;
    margin-bottom: 3.5rem;
}
.bto-section-title {
    font-size: clamp(1.75rem, 4vw, 2.75rem);
    font-weight: 800;
    line-height: 1.12;
    letter-spacing: -0.03em;
    color: var(--bto-dark) !important;
    margin: 0.35rem 0 0.8rem;
}
.bto-section-sub {
    font-size: 0.975rem;
    color: var(--bto-mid);
    max-width: 580px;
    margin: 0 auto;
    line-height: 1.75;
}


/* ════════════════════════════════════════════════════════════════
   HERO
════════════════════════════════════════════════════════════════ */
/* Note: .bto-hero is a <section>, so UIKit resets its background
   to transparent. Since .bto-page is white, the result is white —
   which is correct. No fix needed here.                          */
.bto-hero {
    padding: 100px 0 0;
    overflow: hidden;
    position: relative;
}

.bto-hero-watermark {
    position: absolute;
    top: -0.1em;
    right: -0.05em;
    font-size: clamp(12rem, 25vw, 22rem);
    font-weight: 900;
    letter-spacing: -0.05em;
    color: rgba(214, 0, 0, 0.04);
    line-height: 1;
    pointer-events: none;
    user-select: none;
    z-index: 0;
}

.bto-hero-inner {
    position: relative;
    z-index: 1;
    text-align: center;
    padding-bottom: 3.5rem;
}

.bto-hero-title {
    font-size: clamp(2.25rem, 6vw, 4.25rem);
    font-weight: 900;
    line-height: 1.06;
    letter-spacing: -0.04em;
    color: var(--bto-dark) !important;
    margin: 0 0 1.25rem;
    max-width: 820px;
    margin-left: auto;
    margin-right: auto;
}

.bto-hero-rule {
    width: 56px;
    height: 4px;
    background: var(--bto-red);
    border-radius: 4px;
    margin: 0 auto 1.4rem;
    animation: bto-rule-in 0.8s cubic-bezier(0.22, 1, 0.36, 1) both;
}
@keyframes bto-rule-in {
    from { width: 0; opacity: 0; }
    to   { width: 56px; opacity: 1; }
}

.bto-hero-sub {
    font-size: 1.05rem;
    color: var(--bto-mid);
    line-height: 1.75;
    max-width: 640px;
    margin: 0 auto 2rem;
}
.bto-hero-sub strong      { color: var(--bto-dark); }
.bto-hero-sub .bto-red-em { color: var(--bto-red) !important; }

.bto-hero-btns {
    display: flex;
    gap: 0.9rem;
    justify-content: center;
    flex-wrap: wrap;
}


/* ── Stats strip ────────────────────────────────────────────── */
/* .bto-stats-strip is a <div> (not <section>), UIKit won't reset it */
.bto-stats-strip {
    background: var(--bto-dark) !important;
    padding: 2rem 0;
    position: relative;
    z-index: 1;
}
.bto-stats-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    flex-wrap: wrap;
}
.bto-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0.5rem 2.5rem;
    gap: 0.15rem;
}
.bto-stat-val {
    font-size: clamp(1.8rem, 4vw, 2.6rem);
    font-weight: 900;
    letter-spacing: -0.04em;
    color: #ffffff;
    line-height: 1;
}
.bto-stat-sup {
    font-size: 0.55em;
    font-weight: 700;
    color: var(--bto-red);
    vertical-align: super;
    letter-spacing: 0;
}
.bto-stat-label {
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.45);
}
.bto-stat-divider {
    width: 1px;
    height: 2.5rem;
    background: rgba(255, 255, 255, 0.12);
    flex-shrink: 0;
}


/* ════════════════════════════════════════════════════════════════
   FEATURE CARD (bto-fc) — used across all pages
════════════════════════════════════════════════════════════════ */
.bto-fc {
    border-radius: var(--bto-radius);
    padding: 2.25rem 2rem;
    position: relative;
    overflow: hidden;
    transition: transform 0.28s cubic-bezier(0.34, 1.56, 0.64, 1),
                box-shadow 0.28s ease;
}
.bto-fc:hover {
    transform: translateY(-4px) scale(1.005);
    box-shadow: var(--bto-shadow-h);
}

/* Width helpers (used with feat-bento grid) */
.bto-fc--wide   { grid-column: span 4; }
.bto-fc--narrow { grid-column: span 2; }
.bto-fc--half   { grid-column: span 3; }

/* Color variants — <article> elements, not <section>, so !important alone is enough */
.bto-fc--white {
    background: var(--bto-white) !important;
    border: 1px solid var(--bto-border);
    box-shadow: var(--bto-shadow);
}
.bto-fc--gray {
    background: var(--bto-gray2) !important;
    border: 1px solid transparent;
}
.bto-fc--red {
    background: var(--bto-red) !important;
    border: none;
}
.bto-fc--dark {
    background: var(--bto-dark) !important;
    border: none;
}

/* Oversized decorative text */
.bto-fc-deco {
    position: absolute;
    bottom: -0.1em;
    right: -0.05em;
    font-size: 5.5rem;
    font-weight: 900;
    letter-spacing: -0.06em;
    line-height: 1;
    opacity: 0.055;
    pointer-events: none;
    user-select: none;
}
.bto-fc--white .bto-fc-deco,
.bto-fc--gray  .bto-fc-deco { color: var(--bto-red); }

/* Icon box */
.bto-fc-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.2rem;
    font-size: 1.4rem;
    line-height: 1;
}
.bto-fc--white .bto-fc-icon,
.bto-fc--gray  .bto-fc-icon { background: var(--bto-red-pale); color: var(--bto-red); border: 1px solid rgba(214,0,0,0.12); }
.bto-fc--red   .bto-fc-icon,
.bto-fc--dark  .bto-fc-icon { background: rgba(255,255,255,0.15); color: #ffffff; border: 1px solid rgba(255,255,255,0.2); }

.bto-fc-title {
    font-size: 1.05rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin: 0 0 0.5rem;
    line-height: 1.25;
}
.bto-fc--white .bto-fc-title,
.bto-fc--gray  .bto-fc-title { color: var(--bto-dark) !important; }
.bto-fc--red   .bto-fc-title,
.bto-fc--dark  .bto-fc-title { color: #ffffff !important; }

.bto-fc-text {
    font-size: 0.86rem;
    line-height: 1.65;
    margin: 0;
}
.bto-fc--white .bto-fc-text,
.bto-fc--gray  .bto-fc-text { color: var(--bto-mid) !important; }
.bto-fc--red   .bto-fc-text,
.bto-fc--dark  .bto-fc-text { color: rgba(255,255,255,0.72) !important; }

.bto-fc-price-badge {
    display: inline-block;
    margin-top: 1.25rem;
    padding: 0.35rem 1rem;
    background: rgba(255,255,255,0.18);
    color: #fff;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    border-radius: 50px;
    border: 1px solid rgba(255,255,255,0.3);
}


/* ════════════════════════════════════════════════════════════════
   CTA BANNER — Bold Red
   Uses .bto-page scope (0,2,0) to beat UIKit's .bto-page section
   transparent reset (0,1,1) — because <section class="bto-cta-section">
════════════════════════════════════════════════════════════════ */
.bto-page .bto-cta-section {
    background: var(--bto-red) !important;
    padding: 6rem 0;
}
.bto-cta-inner { text-align: center; }
.bto-cta-eyebrow {
    display: inline-block;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 0.9rem;
}
.bto-cta-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 900;
    line-height: 1.08;
    letter-spacing: -0.035em;
    color: #ffffff !important;
    margin: 0.3rem 0 1rem;
}
.bto-cta-sub {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.72) !important;
    max-width: 480px;
    margin: 0 auto 2.5rem;
    line-height: 1.75;
}


/* ════════════════════════════════════════════════════════════════
   RESPONSIVE — shared rules
════════════════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
    .bto-stat { padding: 0.5rem 1.5rem; }
}

@media (max-width: 768px) {
    .bto-stat { padding: 0.5rem 1.25rem; }
    .bto-stat-divider { height: 1.75rem; }
}

@media (max-width: 600px) {
    .bto-hero    { padding-top: 72px; }
    .bto-section { padding: 3.5rem 0; }
    .bto-page .bto-cta-section { padding: 4rem 0; }
    .bto-hero-watermark { font-size: 8rem; }

    .bto-stats-row { flex-wrap: wrap; gap: 0; }
    .bto-stat { width: 50%; }
    .bto-stat-divider { display: none; }

    .bto-fc--wide,
    .bto-fc--narrow,
    .bto-fc--half { grid-column: span 1; }
}


/* ═══════════════════════════════════════════════════════════════
   Homepage — bto-hero booking form & benefits
   ═══════════════════════════════════════════════════════════════ */

/* Booking form card */
.bto-page .bto-booking-wrapper {
    margin: 2rem auto 0;
    max-width: 880px;
}

.bto-page .bto-booking-card {
    background: #ffffff;
    border: 1px solid var(--bto-border);
    border-radius: var(--bto-radius);
    padding: 1.25rem 1.5rem;
    box-shadow: var(--bto-shadow-h);
}

.bto-page .bto-booking-card .uk-input {
    border-radius: 50px;
    border: 1.5px solid var(--bto-border);
    height: 48px;
    font-size: 0.9rem;
    color: var(--bto-dark);
    transition: border-color 0.2s;
}

.bto-page .bto-booking-card .uk-input:focus {
    border-color: var(--bto-red);
    box-shadow: 0 0 0 3px var(--bto-red-pale);
}

.bto-page .bto-booking-card .uk-button-primary {
    background: var(--bto-red);
    border-color: var(--bto-red);
    border-radius: 50px;
    height: 48px;
    font-weight: 700;
    font-size: 0.9rem;
    letter-spacing: 0.02em;
    transition: background 0.2s, transform 0.15s;
}

.bto-page .bto-booking-card .uk-button-primary:hover {
    background: var(--bto-red-dark);
    border-color: var(--bto-red-dark);
    transform: translateY(-1px);
}

.bto-page .bto-booking-card .booking-form__separator {
    display: flex;
    align-items: center;
    color: var(--bto-mid);
}

/* Benefits list */
.bto-page .bto-hero .benefits-list {
    margin-top: 1.5rem;
    color: var(--bto-mid);
}

.bto-page .bto-hero .benefits-list li {
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    color: var(--bto-mid);
}

.bto-page .bto-hero .benefits-list li strong {
    color: var(--bto-dark);
}

/* Responsive booking form */
@media (max-width: 768px) {
    .bto-page .bto-booking-card {
        padding: 1rem;
    }

    .bto-page .bto-booking-card .uk-input,
    .bto-page .bto-booking-card .uk-button-primary {
        height: 44px;
    }
}


/* ── Quiz Hero ─────────────────────────────────────────────── */
.bto-page .bto-quiz-wrapper {
    max-width: 620px;
    margin: 2rem auto 0;
    text-align: center;
}

.bto-page .bto-quiz-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.875rem;
    margin-bottom: 1.5rem;
    color: var(--bto-mid);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.bto-page .bto-quiz-dots {
    display: flex;
    gap: 6px;
}

.bto-page .bto-qdot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--bto-border);
    transition: background 0.25s, transform 0.25s;
}

.bto-page .bto-qdot.active {
    background: var(--bto-red);
    transform: scale(1.35);
}

.bto-page .bto-qdot.done {
    background: var(--bto-mid);
}

.bto-page .bto-quiz-step {
    display: none;
}

.bto-page .bto-quiz-step.active {
    display: block;
    animation: quizFadeIn 0.25s ease;
}

@keyframes quizFadeIn {
    from { opacity: 0; transform: translateY(8px); }
    to   { opacity: 1; transform: translateY(0); }
}

.bto-page .bto-quiz-question {
    font-size: 1.45rem;
    font-weight: 700;
    color: var(--bto-dark);
    margin-bottom: 1.25rem;
    line-height: 1.3;
}

.bto-page .bto-quiz-choices {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.bto-page .bto-choice {
    background: #fff;
    border: 2px solid var(--bto-border);
    border-radius: 14px;
    padding: 0.9rem 1rem;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--bto-dark);
    cursor: pointer;
    transition: border-color 0.15s, background 0.15s, color 0.15s, transform 0.1s;
    text-align: center;
    line-height: 1.35;
    font-family: inherit;
}

.bto-page .bto-choice:hover {
    border-color: var(--bto-red);
    background: var(--bto-red-pale);
    transform: translateY(-1px);
}

.bto-page .bto-choice.selected {
    border-color: var(--bto-red);
    background: var(--bto-red);
    color: #fff;
    transform: translateY(-1px);
}

.bto-page .bto-quiz-nav {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
}

.bto-page .bto-quiz-back {
    background: none;
    border: none;
    color: var(--bto-mid);
    font-size: 0.9rem;
    cursor: pointer;
    padding: 0.5rem 1rem;
    font-family: inherit;
    transition: color 0.15s;
}

.bto-page .bto-quiz-back:hover {
    color: var(--bto-dark);
}

.bto-page .bto-quiz-next {
    background: var(--bto-red);
    color: #fff;
    border: none;
    border-radius: 50px;
    padding: 0.75rem 2rem;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    opacity: 0.35;
    pointer-events: none;
    transition: opacity 0.2s, transform 0.15s;
    font-family: inherit;
}

.bto-page .bto-quiz-next.ready {
    opacity: 1;
    pointer-events: auto;
}

.bto-page .bto-quiz-next.ready:hover {
    transform: translateY(-1px);
}

/* Result card */
.bto-page .bto-qresult-card {
    background: #fff;
    border: 1px solid var(--bto-border);
    border-radius: var(--bto-radius);
    padding: 2rem 2rem 1.5rem;
    text-align: center;
    box-shadow: var(--bto-shadow-h);
    margin-bottom: 1rem;
}

.bto-page .bto-qresult-icon {
    font-size: 2.75rem;
    margin-bottom: 0.625rem;
    line-height: 1;
}

.bto-page .bto-qresult-label {
    display: inline-block;
    background: var(--bto-red);
    color: #fff;
    border-radius: 50px;
    padding: 0.2rem 0.9rem;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-bottom: 0.875rem;
}

.bto-page .bto-qresult-title {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--bto-dark);
    margin: 0 0 0.5rem;
    line-height: 1.3;
}

.bto-page .bto-qresult-desc {
    color: var(--bto-mid);
    font-size: 0.9rem;
    margin: 0 0 1rem;
    line-height: 1.6;
}

.bto-page .bto-qresult-perks {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
}

.bto-page .bto-qresult-perk {
    background: var(--bto-gray);
    border-radius: 50px;
    padding: 0.25rem 0.8rem;
    font-size: 0.8rem;
    color: var(--bto-dark);
    font-weight: 500;
}

.bto-page .bto-quiz-restart {
    background: none;
    border: none;
    color: var(--bto-mid);
    font-size: 0.85rem;
    cursor: pointer;
    margin-bottom: 1.25rem;
    font-family: inherit;
    transition: color 0.15s;
}

.bto-page .bto-quiz-restart:hover {
    color: var(--bto-dark);
}

.bto-page .bto-quiz-skip {
    margin-top: 0.75rem;
}

.bto-page .bto-quiz-skip button {
    background: none;
    border: none;
    color: var(--bto-mid);
    font-size: 0.8rem;
    text-decoration: underline;
    cursor: pointer;
    font-family: inherit;
    transition: color 0.15s;
}

.bto-page .bto-quiz-skip button:hover {
    color: var(--bto-dark);
}

/* Mobile quiz */
@media (max-width: 640px) {
    .bto-page .bto-quiz-question {
        font-size: 1.2rem;
    }

    .bto-page .bto-quiz-choices {
        grid-template-columns: 1fr 1fr;
        gap: 0.5rem;
    }

    .bto-page .bto-choice {
        padding: 0.75rem 0.5rem;
        font-size: 0.875rem;
    }

    .bto-page .bto-qresult-card {
        padding: 1.5rem 1.25rem 1.25rem;
    }
}
