/**
 * Ticket QR — Version 4
 * Figma: https://www.figma.com/design/RgNVpZ3TrlxEWXWB9QrQjD/The-House-of-Legends?node-id=1271-12561
 */

/* Stepper: all steps completed (gold checks + connectors) */
.reservation-v4 .tq4-stepper {
    padding: 40px 120px 0;
    max-width: 1440px;
}

.reservation-v4 .tq4-stepper .rv4-stepper-item {
    position: relative;
}

.reservation-v4 .tq4-stepper .rv4-stepper-dot {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.reservation-v4 .tq4-stepper .rv4-stepper-item.completed .rv4-stepper-dot {
    background: #c5a059;
    border-color: #c5a059;
}

.reservation-v4 .tq4-stepper .rv4-stepper-item.completed + .rv4-stepper-line {
    background: #c5a059;
}

.reservation-v4 .tq4-stepper .rv4-stepper-item.completed .rv4-stepper-label {
    color: #c5a059;
}

.reservation-v4 .tq4-stepper .rv4-stepper-dot .tq4-stepper-check {
    display: none;
    width: 14px;
    height: 14px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.reservation-v4 .tq4-stepper .rv4-stepper-item.completed .rv4-stepper-dot .tq4-stepper-check {
    display: block;
}

/* Main */
.tq4-main {
    max-width: 1440px;
    margin: 0 auto;
    padding: 40px 120px 80px;
}

.tq4-row {
    display: flex;
    gap: 64px;
    align-items: flex-start;
    justify-content: center;
}

.tq4-col-left {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 24px;
}

.tq4-success-badge {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: #624c22;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.tq4-success-badge svg {
    width: 32px;
    height: 32px;
    color: #fff;
}

.tq4-heading-block {
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: 100%;
    text-align: center;
}

.tq4-title {
    font-family: "Philosopher", serif;
    font-size: 32px;
    line-height: 38px;
    font-weight: 400;
    color: #fff;
    margin: 0;
}

.tq4-subtitle {
    font-size: 18px;
    line-height: 28px;
    font-weight: 400;
    color: #808080;
    margin: 0;
}

.tq4-reminders {
    display: flex;
    gap: 8px;
    align-items: flex-start;
    padding: 12px;
    background: #2e2e2e;
    border: 1px solid #808080;
    border-radius: 8px;
    width: 100%;
    text-align: left;
}

.tq4-reminders-icon {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    color: #c5a059;
    margin-top: 2px;
}

.tq4-reminders-body {
    flex: 1;
    min-width: 0;
    font-size: 16px;
    line-height: 24px;
    color: #fff;
}

.tq4-reminders-body p {
    margin: 0 0 0.25em;
}

.tq4-reminders-list {
    margin: 0;
    padding-left: 24px;
    list-style-type: disc;
}

.tq4-reminders-list li {
    margin-bottom: 0.15em;
}

.tq4-reminders-list li:last-child {
    margin-bottom: 0;
}

/* QR column */
.tq4-col-qr {
    flex-shrink: 0;
    width: 400px;
    max-width: 100%;
}

.tq4-qr-frame {
    width: 400px;
    max-width: 100%;
    aspect-ratio: 1;
    margin: 0 auto;
    background: #fff;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    box-sizing: border-box;
}

.tq4-qr-inner {
    display: flex;
    align-items: center;
    justify-content: center;
}

.tq4-qr-inner img,
.tq4-qr-inner canvas {
    display: block;
    max-width: 100%;
    height: auto;
}

.tq4-ref {
    margin-top: 16px;
    text-align: center;
    font-size: 14px;
    line-height: 22px;
    color: #9aa0a5;
}

.tq4-ref strong {
    color: #e6e6e6;
    font-weight: 700;
}

/* Site footer (Figma “Footer New”) */
.tq4-site-footer {
    background: #1a1a1a;
    max-width: 1440px;
    margin: 0 auto;
    padding: 40px 120px 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
}

.tq4-site-footer-divider {
    width: 100%;
    max-width: 1200px;
    height: 1px;
    background: linear-gradient(90deg, transparent, #3d3d3d 15%, #3d3d3d 85%, transparent);
    border: 0;
    margin: 0;
}

.tq4-site-footer-brand {
    text-align: center;
    width: 100%;
}

.tq4-site-footer-title {
    font-family: "Decophile", serif;
    font-size: clamp(48px, 10vw, 120px);
    line-height: 1;
    font-weight: 400;
    color: #c5a059;
    margin: 0 0 8px;
    text-align: center;
}

.tq4-site-footer-tagline {
    font-family: "Philosopher", serif;
    font-size: clamp(22px, 3vw, 32px);
    line-height: 38px;
    color: #fff;
    margin: 0;
}

.tq4-site-footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    max-width: 1200px;
    font-family: "Poppins", sans-serif;
    font-size: 16px;
    line-height: 24px;
    color: #9aa0a5;
    flex-wrap: wrap;
    gap: 12px;
}

.tq4-site-footer-spacer {
    opacity: 0;
    pointer-events: none;
    user-select: none;
}

.tq4-site-footer-terms {
    color: #9aa0a5;
    text-decoration: underline;
}

.tq4-site-footer-terms:hover {
    color: #c5a059;
}

@media (max-width: 1024px) {
    .reservation-v4 .tq4-stepper,
    .tq4-main,
    .tq4-site-footer {
        padding-left: 24px;
        padding-right: 24px;
    }

    .tq4-row {
        flex-direction: column;
        align-items: stretch;
    }

    .tq4-col-qr {
        width: 100%;
        order: -1;
    }
}

@media (max-width: 768px) {
    .reservation-v4 .tq4-stepper {
        padding: 24px 16px 0;
        overflow-x: auto;
        flex-wrap: nowrap;
        -webkit-overflow-scrolling: touch;
    }

    .reservation-v4 .tq4-stepper .rv4-stepper-item .rv4-stepper-label {
        white-space: nowrap;
    }

    .tq4-main {
        padding: 24px 16px 48px;
    }

    .tq4-site-footer {
        padding: 32px 16px 24px;
    }

    .tq4-site-footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .tq4-site-footer-spacer {
        display: none;
    }
}
