/* ============================================================
   workshop.css  –  Hurd Solutions workshop booking page
   Brand: teal #00897B | pink #C2185B | navy #1A1A2E
   ============================================================ */

/* ── Hero ──────────────────────────────────────────────────── */
.workshop-hero {
    background: var(--color-navy, #1A1A2E);
    color: #fff;
    padding: 4rem 0 5rem;
    position: relative;
    overflow: hidden;
}

.workshop-hero::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 48px;
    background: var(--color-bg, #F5F7F6);
    clip-path: ellipse(55% 100% at 50% 100%);
}

.workshop-hero__inner {
    max-width: 760px;
}

.event-label {
    font-family: 'Playfair Display', Georgia, serif;
    font-style: italic;
    font-size: 1rem;
    color: var(--color-teal, #00897B);
    display: block;
    margin-bottom: 0.75rem;
}

.workshop-hero h1 {
    font-size: clamp(2rem, 5vw, 3.2rem);
    line-height: 1.1;
    margin-bottom: 0;
}

.pink-rule {
    height: 5px;
    width: 56px;
    background: var(--color-pink, #C2185B);
    border-radius: 2px;
    margin: 1.25rem 0;
}

.workshop-hero__intro {
    font-size: 1.05rem;
    line-height: 1.7;
    color: rgba(255,255,255,0.82);
    max-width: 560px;
    margin-bottom: 2rem;
}

.workshop-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1.25rem;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    font-size: 0.9rem;
    color: rgba(255,255,255,0.9);
}

.meta-item svg {
    color: var(--color-teal, #00897B);
    flex-shrink: 0;
}

/* ── Two-column grid ───────────────────────────────────────── */
.workshop-grid {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 3rem;
    align-items: start;
    padding-top: 3rem;
    padding-bottom: 4rem;
}

@media (max-width: 768px) {
    .workshop-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .booking-card {
        order: -1;
    }
}

/* ── Workshop detail (left column) ────────────────────────── */
.workshop-detail h2 {
    font-size: 1.6rem;
    color: var(--color-navy, #1A1A2E);
    margin-bottom: 1rem;
}

.workshop-detail p {
    font-size: 0.95rem;
    line-height: 1.75;
    margin-bottom: 1rem;
    color: var(--color-text, #2D2D2D);
}

.includes-list {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0;
}

.includes-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.6rem 0;
    border-bottom: 1px solid #E5E7EB;
    font-size: 0.9rem;
    line-height: 1.5;
}

.includes-list li:last-child {
    border-bottom: none;
}

.check {
    color: var(--color-teal, #00897B);
    font-weight: 700;
    flex-shrink: 0;
    margin-top: 1px;
}

.who-box {
    background: var(--color-navy, #1A1A2E);
    color: #fff;
    border-radius: 12px;
    padding: 1.5rem;
    margin-top: 2rem;
}

.who-box h3 {
    font-size: 1rem;
    color: var(--color-teal, #00897B);
    margin-bottom: 0.6rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.who-box p {
    font-size: 0.875rem;
    line-height: 1.75;
    color: rgba(255,255,255,0.82);
    margin: 0;
}

/* ── Booking card (right column) ──────────────────────────── */
.booking-card {
    background: #fff;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 4px 24px rgba(26,26,46,0.1);
    position: sticky;
    top: 2rem;
}

.price-block {
    text-align: center;
    padding-bottom: 1.25rem;
    border-bottom: 3px solid var(--color-pink, #C2185B);
    margin-bottom: 1.25rem;
}

.price {
    font-family: 'Anton', sans-serif;
    font-size: 3rem;
    color: var(--color-navy, #1A1A2E);
    line-height: 1;
}

.price-note {
    font-size: 0.8rem;
    color: var(--color-muted, #6B7280);
    margin-top: 0.25rem;
}

.seats-note {
    font-size: 0.8rem;
    color: var(--color-muted, #6B7280);
    text-align: center;
    margin-bottom: 1.25rem;
    font-style: italic;
}

/* Error */
.booking-error {
    background: #FEE2E2;
    border: 1px solid #FCA5A5;
    color: #991B1B;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    font-size: 0.85rem;
    margin-bottom: 1rem;
}

/* Form fields */
.form-field {
    margin-bottom: 1rem;
}

.form-field label {
    display: block;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--color-navy, #1A1A2E);
    margin-bottom: 0.35rem;
}

.form-field label span {
    color: var(--color-pink, #C2185B);
}

.form-field input {
    width: 100%;
    padding: 0.65rem 0.875rem;
    border: 1.5px solid #D1D5DB;
    border-radius: 8px;
    font-size: 0.9rem;
    font-family: inherit;
    color: var(--color-text, #2D2D2D);
    background: #FAFAFA;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.form-field input:focus {
    outline: none;
    border-color: var(--color-teal, #00897B);
    box-shadow: 0 0 0 3px rgba(0,137,123,0.12);
    background: #fff;
}

.field-hint {
    font-size: 0.75rem;
    color: var(--color-muted, #6B7280);
    margin-top: 0.3rem;
    line-height: 1.4;
}

/* Stripe card element */
#card-element {
    padding: 0.65rem 0.875rem;
    border: 1.5px solid #D1D5DB;
    border-radius: 8px;
    background: #FAFAFA;
    transition: border-color 0.2s, box-shadow 0.2s;
}

#card-element.StripeElement--focus {
    border-color: var(--color-teal, #00897B);
    box-shadow: 0 0 0 3px rgba(0,137,123,0.12);
    background: #fff;
}

#card-errors {
    color: var(--color-pink, #C2185B);
    font-size: 0.8rem;
    margin-top: 0.35rem;
    min-height: 1.2em;
}

/* Full-width button modifier */
.btn--full {
    width: 100%;
    margin-top: 1.25rem;
    text-align: center;
}

.btn--full:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.secure-note {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    font-size: 0.75rem;
    color: var(--color-muted, #6B7280);
    margin-top: 0.75rem;
}

/* ── Success page ──────────────────────────────────────────── */
.success-hero {
    min-height: 80vh;
    display: flex;
    align-items: center;
    padding: 4rem 0;
}

.success-inner {
    max-width: 560px;
    text-align: center;
}

.tick-circle {
    width: 72px;
    height: 72px;
    background: var(--color-teal, #00897B);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: #fff;
    animation: pop 0.4s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}

@keyframes pop {
    from { transform: scale(0); opacity: 0; }
    to   { transform: scale(1); opacity: 1; }
}

.success-inner .pink-rule {
    margin: 1rem auto;
}

.success-intro {
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--color-muted, #6B7280);
    margin-bottom: 1.75rem;
}

.what-next {
    background: var(--color-bg, #F5F7F6);
    border-radius: 12px;
    padding: 1.25rem 1.5rem;
    margin: 0 auto 1.5rem;
    text-align: left;
}

.what-next h3 {
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--color-navy, #1A1A2E);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 0.75rem;
}

.what-next ul {
    list-style: none;
    padding: 0;
    font-size: 0.875rem;
    color: var(--color-text, #2D2D2D);
    line-height: 1.6;
}

.what-next ul li {
    padding: 0.25rem 0 0.25rem 1.25rem;
    position: relative;
}

.what-next ul li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--color-teal, #00897B);
    font-weight: 700;
}

.success-contact {
    font-size: 0.875rem;
    color: var(--color-muted, #6B7280);
    margin-bottom: 1.5rem;
}

.success-contact a {
    color: var(--color-teal, #00897B);
    text-decoration: none;
    font-weight: 600;
}

.success-contact a:hover {
    text-decoration: underline;
}

.workshop-hero {
    position: relative;
    z-index: 1;
}

.booking-card {
    position: relative;
    z-index: 2;
}

#card-element {
    position: relative;
    z-index: 3;
}

@media (max-width: 768px) {
    .booking-card {
        position: relative;
        top: auto;
    }
}