.comp-stg {
    --brand: #E9212D;
    --brand-dark: #c41e3a;
    --brand-rgb: 233, 33, 45;
}

.comp-ubc {
    --brand: #21307f;
    --brand-dark: #0d2b67;
    --brand-rgb: 33, 48, 127;
}

/* ── Pricing ── */
.lp-pricing {
    margin-bottom: 80px;
}

.lp-pricing-card {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 0;
    background: var(--surface);
    border-radius: calc(var(--radius) + 4px);
    overflow: hidden;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
}

.lp-pricing-content {
    padding: 48px 44px;
}

.lp-pricing-content h2 {
    margin: 0 0 32px;
    font-family: "aviano-sans", sans-serif;
    font-size: clamp(1.75rem, 2.8vw, 2.35rem);
    font-weight: 700;
    color: var(--text);
    background: none;
    padding: 0;
}

.lp-price-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.lp-price-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 20px 0;
    border-bottom: 1px solid var(--border);
}

.lp-price-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.lp-price-num {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: rgba(var(--brand-rgb), 0.1);
    color: var(--brand);
    font-family: "aviano-sans", sans-serif;
    font-size: 1rem;
    font-weight: 700;
}

.lp-price-details {
    flex: 1;
}

.lp-price-amount {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--brand);
    margin-bottom: 4px;
}

.lp-price-label {
    font-size: 1.0625rem;
    color: var(--text-muted);
    line-height: 1.5;
}

.lp-pricing-visual {
    position: relative;
    min-height: 360px;
    background: #f0f0f0;
}

.lp-pricing-visual img {
    position: absolute;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.lp-pricing-visual .img-top {
    top: 32px;
    right: 32px;
    width: 58%;
    height: 48%;
}

.lp-pricing-visual .img-bottom {
    bottom: 32px;
    left: 32px;
    width: 58%;
    height: 48%;
}

/* ── Event picker ── */
.lp-event-section {
    /* Extra space so open routine lists are not clipped by the footer */
    padding-bottom: 160px;
}

.lp-event-card {
    background: var(--surface);
    border-radius: calc(var(--radius) + 4px);
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
    /* Keep visible so Year/City/Studio/Routine dropdowns are not clipped */
    overflow: visible;
}

.lp-event-header {
    padding: 24px 32px;
    background: var(--brand);
    color: #fff;
}

.lp-event-header h2 {
    margin: 0;
    font-family: "aviano-sans", sans-serif;
    font-size: clamp(1.25rem, 2vw, 1.5rem);
    font-weight: 700;
    letter-spacing: 0.02em;
    background: none;
    padding: 0;
    color: #fff;
}

.lp-event-body {
    padding: 32px;
    overflow: visible;
}

.comp-page .select-event-form {
    max-width: 640px;
    margin: 0 auto;
    overflow: visible;
}

.comp-page .event-dropdown {
    border-radius: 10px;
    border: 1px solid var(--border);
    border-left: 4px solid var(--brand);
    background: #fafafa;
    margin: 16px 0;
    padding: 16px 20px;
    font-size: 1.25rem;
    font-weight: 500;
    line-height: 1.45;
    overflow: visible;
    z-index: 1;
}

.comp-page .event-dropdown > span {
    font-size: 1.25rem;
    font-weight: 600;
}

.comp-page .event-dropdown.active {
    z-index: 50;
}

.comp-page .event-dropdown .dropdown {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 0 0 10px 10px;
    left: 0;
    max-height: min(360px, 50vh);
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
}

.comp-page .event-dropdown .dropdown li a {
    border-left-color: rgba(var(--brand-rgb), 0.25);
    white-space: normal;
    word-break: break-word;
    font-size: 1.1875rem;
    font-weight: 500;
    line-height: 1.45;
    padding: 12px 14px;
}

.comp-page .event-dropdown .dropdown li:nth-child(1) a {
    border-left-color: var(--brand);
}

.comp-page .error-span {
    color: var(--brand);
    text-align: center;
    font-size: 1rem;
    margin-top: 8px;
}

.comp-page #btn-select-event {
    display: block;
    margin-top: 24px;
    text-decoration: none;
}

.comp-page .btn-select {
    display: block;
    width: 100%;
    padding: 16px 24px;
    background: var(--brand);
    color: #fff;
    text-align: center;
    font-size: 1.0625rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    border-radius: 100px;
    border: none;
    transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 4px 16px rgba(var(--brand-rgb), 0.25);
}

.comp-page .btn-select:hover {
    background: var(--brand-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(var(--brand-rgb), 0.35);
}

@media (max-width: 900px) {
    .lp-pricing-card {
        grid-template-columns: 1fr;
    }

    .lp-pricing-visual {
        min-height: 280px;
        order: -1;
    }

    .lp-pricing-content {
        padding: 32px 24px;
    }

    .lp-event-header {
        padding: 20px 24px;
    }

    .lp-event-body {
        padding: 24px 20px;
    }
}
