/* Ticketa — Content Pages (home, about, contact, terms, privacy) */
/* Uses existing design tokens from variables.css */

.tk-page {
    color: var(--ticketa-off-white, #f5f1ea);
    padding-block: clamp(2rem, 6vw, 5rem);
}
.tk-page .container { max-width: var(--container-max, 1320px); }

.tk-hero {
    text-align: center;
    padding-block: clamp(2.5rem, 6vw, 4rem) clamp(1.25rem, 3vw, 2rem);
    position: relative;
}
/* When .tk-section directly follows .tk-hero, kill its top padding to avoid
 * the double-gap between heading and body content. */
.tk-hero + .tk-section { padding-block-start: 0; }
.tk-hero h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 800;
    line-height: 1.15;
    margin: 0 0 1rem;
    letter-spacing: -0.02em;
}
.tk-hero p.tk-lead {
    font-size: clamp(1.05rem, 1.6vw, 1.25rem);
    color: var(--ticketa-grey-muted, #b3a89a);
    max-width: 56ch;
    margin: 0 auto 2rem;
    line-height: 1.6;
}

.tk-cta-row { display: flex; gap: .75rem; justify-content: center; flex-wrap: wrap; }

.tk-section { padding-block: clamp(2.5rem, 5vw, 4rem); }
.tk-section h2 {
    font-size: clamp(1.5rem, 2.4vw, 2rem);
    font-weight: 700;
    margin: 0 0 1rem;
    letter-spacing: -0.01em;
}
.tk-section h3 {
    font-size: 1.15rem;
    font-weight: 700;
    margin: 1.5rem 0 .5rem;
}
.tk-section p, .tk-section li {
    line-height: 1.7;
    color: var(--ticketa-off-white, #f5f1ea);
}

.tk-grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}
.tk-card {
    background: var(--ticketa-bg-card, #1a1815);
    border: 1px solid var(--ticketa-border, #2a2724);
    border-radius: 16px;
    padding: 1.75rem;
}
.tk-card h3 { margin-top: 0; }

.tk-prose { max-width: 72ch; margin-inline: auto; }
.tk-prose ol, .tk-prose ul { padding-inline-start: 1.5rem; }
.tk-prose li + li { margin-top: .35rem; }
.tk-prose a {
    color: var(--ticketa-orange, #ff8a3d);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.tk-toc {
    background: var(--ticketa-bg-panel, #15130f);
    border: 1px solid var(--ticketa-border, #2a2724);
    border-radius: 12px;
    padding: 1.25rem 1.5rem;
    margin-bottom: 2rem;
}
.tk-toc h2 { font-size: 1rem; margin: 0 0 .5rem; color: var(--ticketa-grey-muted); }
.tk-toc ol { margin: 0; }

.tk-contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-top: 2rem;
}
@media (max-width: 720px) {
    .tk-contact-grid { grid-template-columns: 1fr; }
}
.tk-contact-item {
    display: flex; gap: .75rem; align-items: flex-start;
    padding: 1rem 0;
}
.tk-contact-item strong { display: block; margin-bottom: .25rem; }
.tk-contact-item a { color: var(--ticketa-orange, #ff8a3d); }

.tk-doc-meta {
    color: var(--ticketa-grey-muted);
    font-size: .9rem;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--ticketa-border);
}

/* ═══ CONTACT FORM ═══════════════════════════════════════════════════════════ */
.tk-contact-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.7fr) minmax(260px, 1fr);
    gap: clamp(1.5rem, 4vw, 3rem);
    align-items: start;
}
@media (max-width: 820px) {
    .tk-contact-layout {
        grid-template-columns: 1fr;
    }
}

/* ── Form ─────────────────────────────────────────────────────────────────── */
.tk-contact-form {
    background: rgba(255,255,255,.025);
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 14px;
    padding: clamp(1.25rem, 3vw, 2rem);
    backdrop-filter: blur(6px);
}
.tk-contact-form__title {
    margin: 0 0 1.5rem;
    font-size: 1.4rem;
    font-weight: 700;
    color: #fff;
}
.tk-field {
    margin-bottom: 1.1rem;
    position: relative;
}
.tk-field-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 0;
}
.tk-field-row .tk-field { margin-bottom: 1.1rem; }
@media (max-width: 520px) {
    .tk-field-row { grid-template-columns: 1fr; gap: 0; }
}

.tk-field__label {
    display: block;
    font-size: .85rem;
    font-weight: 600;
    color: rgba(255,255,255,.85);
    margin-bottom: .4rem;
}
.tk-field__req {
    color: var(--ticketa-orange, #e87722);
    margin-inline-start: 2px;
}
.tk-field__opt {
    color: rgba(255,255,255,.4);
    font-size: .78rem;
    font-weight: 400;
    margin-inline-start: 4px;
}
.tk-field__input {
    width: 100%;
    padding: .7rem .85rem;
    background: rgba(255,255,255,.05);
    border: 1px solid rgba(255,255,255,.14);
    border-radius: 9px;
    color: #fff;
    font-family: inherit;
    font-size: .95rem;
    line-height: 1.5;
    transition: border-color .15s, background .15s, box-shadow .15s;
    color-scheme: dark;
}
.tk-field__input::placeholder { color: rgba(255,255,255,.35); }
.tk-field__input:focus {
    outline: none;
    border-color: var(--ticketa-orange, #e87722);
    background: rgba(255,255,255,.08);
    box-shadow: 0 0 0 3px rgba(232,119,34,.18);
}
.tk-field__textarea {
    resize: vertical;
    min-height: 120px;
    line-height: 1.55;
}
select.tk-field__input {
    appearance: none;
    -webkit-appearance: none;
    background-image: linear-gradient(45deg, transparent 50%, rgba(255,255,255,.5) 50%),
                      linear-gradient(135deg, rgba(255,255,255,.5) 50%, transparent 50%);
    background-position: calc(0% + 16px) 50%, calc(0% + 21px) 50%;
    background-size: 5px 5px, 5px 5px;
    background-repeat: no-repeat;
    padding-inline-start: 36px;
}
select.tk-field__input option {
    background: #1a1815;
    color: #f5f1ea;
}
.tk-field__error {
    margin: .35rem 0 0;
    font-size: .78rem;
    color: #ff6b6b;
    min-height: 0;
    line-height: 1.4;
}
.tk-field--error .tk-field__input {
    border-color: rgba(255,107,107,.6);
    background: rgba(255,107,107,.05);
}
.tk-field--error .tk-field__input:focus {
    box-shadow: 0 0 0 3px rgba(255,107,107,.18);
}

/* Submit button */
.tk-contact-form__submit {
    margin-top: .25rem;
    width: 100%;
    padding: .9rem 1.25rem;
    background: linear-gradient(135deg, #e87722 0%, #ff8c33 100%);
    color: #fff;
    border: none;
    border-radius: 11px;
    font-family: inherit;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: transform .12s ease, box-shadow .15s ease, opacity .15s ease;
    box-shadow: 0 6px 18px rgba(232,119,34,.28);
    position: relative;
}
.tk-contact-form__submit:hover:not(:disabled) {
    transform: translateY(-1px);
    box-shadow: 0 8px 24px rgba(232,119,34,.4);
}
.tk-contact-form__submit:active:not(:disabled) { transform: translateY(0); }
.tk-contact-form__submit:disabled { opacity: .65; cursor: not-allowed; }
.tk-contact-form__submit-label,
.tk-contact-form__submit-loader {
    display: inline-flex;
    align-items: center;
    gap: .55rem;
    justify-content: center;
}
.tk-contact-form__submit-loader { display: none; }
.tk-contact-form__submit.is-loading .tk-contact-form__submit-label { display: none; }
.tk-contact-form__submit.is-loading .tk-contact-form__submit-loader { display: inline-flex; }

/* Status messages */
.tk-contact-form__status {
    margin-top: 1rem;
    display: none;
}
.tk-contact-form__status.is-visible { display: block; }
.tk-contact-form__status-success,
.tk-contact-form__status-error {
    display: none;
    align-items: center;
    gap: .55rem;
    padding: .85rem 1rem;
    border-radius: 10px;
    font-size: .9rem;
    line-height: 1.5;
}
.tk-contact-form__status-success {
    background: rgba(46,204,113,.08);
    border: 1px solid rgba(46,204,113,.35);
    color: #5edc92;
}
.tk-contact-form__status-error {
    background: rgba(255,107,107,.08);
    border: 1px solid rgba(255,107,107,.35);
    color: #ff8a8a;
}

/* ── Sidebar info ────────────────────────────────────────────────────────── */
.tk-contact-info {
    background: rgba(255,255,255,.025);
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 14px;
    padding: clamp(1.25rem, 3vw, 1.75rem);
    backdrop-filter: blur(6px);
}
.tk-contact-info__title {
    margin: 0 0 1.25rem;
    font-size: 1.1rem;
    font-weight: 700;
    color: #fff;
}
.tk-contact-info__item {
    display: flex;
    align-items: flex-start;
    gap: .85rem;
    padding: .7rem 0;
    border-bottom: 1px solid rgba(255,255,255,.06);
}
.tk-contact-info__item:last-child { border-bottom: none; }
.tk-contact-info__icon {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: rgba(232,119,34,.12);
    color: var(--ticketa-orange, #e87722);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: .9rem;
    margin-top: 1px;
}
.tk-contact-info__item strong {
    display: block;
    font-size: .78rem;
    font-weight: 700;
    color: rgba(255,255,255,.55);
    text-transform: uppercase;
    letter-spacing: .04em;
    margin-bottom: 2px;
}
.tk-contact-info__item a {
    color: #fff;
    text-decoration: none;
    font-size: .92rem;
    font-weight: 500;
    transition: color .15s;
    word-break: break-word;
}
.tk-contact-info__item a:hover { color: var(--ticketa-orange, #e87722); }
