/* ===== KrisLMS — contact.css ===== */

/* LAYOUT */
.page {
    padding-top: 102px;
    min-height: 100vh;
    display: grid;
    grid-template-columns: 420px 1fr;
}

/* LEFT PANEL */
.lp {
    background: var(--navy);
    position: relative;
    overflow: hidden;
    padding: 56px 48px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    min-height: calc(100vh - 68px);
}
.lp-pat {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(201, 168, 76, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(201, 168, 76, 0.04) 1px, transparent 1px);
    background-size: 60px 60px;
    pointer-events: none;
}
.lp-glow {
    position: absolute;
    top: -20%;
    right: -20%;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: radial-gradient(
        circle,
        rgba(14, 116, 144, 0.18) 0%,
        transparent 70%
    );
    pointer-events: none;
}
.lp-glow2 {
    position: absolute;
    bottom: -10%;
    left: -10%;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: radial-gradient(
        circle,
        rgba(201, 168, 76, 0.08) 0%,
        transparent 70%
    );
    pointer-events: none;
}
.lp-inner {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    height: 100%;
}
.lp-eyebrow {
    font-size: 10px;
    font-weight: 700;
    color: var(--gold);
    letter-spacing: 0.16em;
    text-transform: uppercase;
    font-family: "DM Mono", monospace;
    margin-bottom: 12px;
}
.lp-title {
    font-family: "Playfair Display", serif;
    font-size: 32px;
    font-weight: 700;
    color: #fff;
    line-height: 1.2;
    margin-bottom: 14px;
}
.lp-title em {
    color: var(--gold);
    font-style: normal;
}
.lp-sub {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.48);
    line-height: 1.8;
    margin-bottom: 32px;
    font-weight: 300;
}

/* Promises */
.promises {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 28px;
}
.promise {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}
.promise-icon {
    width: 34px;
    height: 34px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(201, 168, 76, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    flex-shrink: 0;
    margin-top: 1px;
}
.promise-title {
    font-size: 13px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 2px;
}
.promise-desc {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.35);
    line-height: 1.55;
}

/* Context card */
.ctx-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(14, 116, 144, 0.3);
    border-radius: 10px;
    padding: 14px 16px;
    display: none;
    animation: fadeUp 0.3s ease;
    margin-bottom: 20px;
}
.ctx-card.show {
    display: block;
}
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(8px);
    }
    to {
        opacity: 1;
        transform: none;
    }
}
.ctx-label {
    font-size: 9px;
    font-weight: 700;
    color: var(--teal-lt);
    font-family: "DM Mono", monospace;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-bottom: 5px;
}
.ctx-title {
    font-size: 14px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 4px;
    line-height: 1.3;
}
.ctx-desc {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.4);
    line-height: 1.55;
}
.ctx-link {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    margin-top: 8px;
    font-size: 11px;
    color: var(--teal-lt);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
}
.ctx-link:hover {
    color: var(--gold-lt);
}

/* Dev note inside context card */
.dev-note {
    margin-top: 10px;
    padding: 9px 11px;
    background: rgba(201, 168, 76, 0.1);
    border: 1px solid rgba(201, 168, 76, 0.3);
    border-radius: 6px;
    display: none;
}
.dev-note.show {
    display: block;
}
.dev-note-label {
    font-size: 9px;
    font-weight: 700;
    color: var(--gold);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    font-family: "DM Mono", monospace;
    margin-bottom: 4px;
}
.dev-note-text {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.55);
    line-height: 1.5;
}
.dev-note-text strong {
    color: rgba(255, 255, 255, 0.8);
}

/* Contact details */
.contact-details {
    margin-top: auto;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    flex-direction: column;
    gap: 11px;
}
.cd-item {
    display: flex;
    align-items: center;
    gap: 11px;
}
.cd-icon {
    width: 30px;
    height: 30px;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    flex-shrink: 0;
}
.cd-label {
    font-size: 9px;
    color: rgba(255, 255, 255, 0.28);
    font-family: "DM Mono", monospace;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 1px;
}
.cd-text {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.55);
}
.cd-text a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.2s;
}
.cd-text a:hover {
    color: var(--gold-lt);
}

/* RIGHT PANEL */
.rp {
    background: var(--cream);
    padding: 52px 56px;
    overflow-y: auto;
}
.bc {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 24px;
}
.bc a,
.bc span {
    font-size: 11px;
    font-family: "DM Mono", monospace;
    text-decoration: none;
}
.bc a {
    color: var(--g400);
    transition: color 0.2s;
}
.bc a:hover {
    color: var(--navy);
}
.bc-sep {
    color: var(--g300);
}
.bc .cur {
    color: var(--navy);
    font-weight: 600;
}
.form-title {
    font-family: "Playfair Display", serif;
    font-size: 26px;
    font-weight: 600;
    color: var(--navy);
    margin-bottom: 6px;
}
.form-sub {
    font-size: 13px;
    color: var(--g500);
    margin-bottom: 28px;
    line-height: 1.65;
    max-width: 580px;
}

/* Section labels */
.fsec {
    margin: 22px 0 14px;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--g200);
}
.fsec-lbl {
    font-size: 10px;
    font-weight: 700;
    color: var(--teal);
    letter-spacing: 0.12em;
    text-transform: uppercase;
    font-family: "DM Mono", monospace;
}

/* Form elements */
.fg {
    display: flex;
    flex-direction: column;
    gap: 5px;
    margin-bottom: 14px;
}
.fr {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin-bottom: 14px;
}
.fr .fg {
    margin-bottom: 0;
}
label.lbl {
    font-size: 11px;
    font-weight: 600;
    color: var(--g700);
    letter-spacing: 0.04em;
    text-transform: uppercase;
    font-family: "DM Mono", monospace;
}
label.lbl .req {
    color: var(--red);
    margin-left: 2px;
}
label.lbl .opt {
    color: var(--g400);
    font-weight: 400;
    font-size: 10px;
    margin-left: 4px;
    text-transform: none;
    letter-spacing: 0;
    font-family: "DM Sans", sans-serif;
}
input.fi,
select.fi,
textarea.fi {
    width: 100%;
    padding: 11px 14px;
    border: 1.5px solid var(--g200);
    border-radius: 8px;
    font-size: 13px;
    font-family: "DM Sans", sans-serif;
    color: #000;
    background: #fff;
    transition:
        border-color 0.2s,
        box-shadow 0.2s;
    outline: none;
    appearance: none;
}
input.fi:focus,
select.fi:focus,
textarea.fi:focus {
    border-color: var(--navy-mid);
    box-shadow: 0 0 0 3px rgba(15, 32, 68, 0.08);
}
input.fi::placeholder,
textarea.fi::placeholder {
    color: gray;
}
select.fi {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%236b7280' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 36px;
    cursor: pointer;
}
textarea.fi {
    resize: vertical;
    min-height: 100px;
    line-height: 1.6;
}
.ferr {
    font-size: 11px;
    color: var(--red);
    margin-top: 3px;
    display: none;
}
.fi.err {
    border-color: var(--red) !important;
}

/* Phone row */
.phone-row {
    display: grid;
    grid-template-columns: 96px 1fr;
    gap: 8px;
}

/* For-whom toggle buttons */
.toggle-row {
    display: flex;
    gap: 10px;
    margin-top: 2px;
}
.tbtn {
    flex: 1;
    padding: 10px 14px;
    border: 1.5px solid var(--g200);
    border-radius: 8px;
    background: #fff;
    font-size: 13px;
    font-family: "DM Sans", sans-serif;
    color: var(--g500);
    cursor: pointer;
    transition: all 0.18s;
    text-align: center;
    font-weight: 500;
}
.tbtn:hover {
    border-color: var(--navy-mid);
    color: var(--navy);
}
.tbtn.active {
    border-color: var(--navy);
    background: var(--navy);
    color: #fff;
    font-weight: 600;
}
.tbtn.active.tself {
    border-color: var(--teal);
    background: var(--teal);
}

/* Buyer type radio */
.buyer-toggle {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-top: 4px;
}
.buyer-opt {
    position: relative;
}
.buyer-opt input[type="radio"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}
.buyer-opt label {
    display: flex;
    flex-direction: column;
    padding: 12px 14px;
    border: 1.5px solid var(--g200);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.18s;
    background: #fff;
}
.buyer-opt input:checked + label {
    border-color: var(--navy);
    background: rgba(15, 32, 68, 0.04);
}
.bt-title {
    font-size: 13px;
    font-weight: 600;
    color: var(--navy);
    margin-bottom: 3px;
}
.bt-sub {
    font-size: 11px;
    color: var(--g500);
    line-height: 1.4;
}

/* Checkboxes */
.check-group {
    display: flex;
    flex-direction: column;
    gap: 7px;
    margin-top: 4px;
}
.check-item {
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 9px 12px;
    border: 1.5px solid var(--g200);
    border-radius: 7px;
    cursor: pointer;
    transition: all 0.15s;
    background: #fff;
}
.check-item:hover {
    border-color: var(--navy-mid);
}
.check-item input[type="checkbox"] {
    width: 15px;
    height: 15px;
    accent-color: var(--navy);
    cursor: pointer;
    flex-shrink: 0;
}
.check-item label {
    font-size: 13px;
    color: var(--g700);
    cursor: pointer;
}

/* Exp buttons (training partner) */
.exp-opts {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
    margin-top: 4px;
}
.exp-btn {
    padding: 9px 6px;
    border: 1.5px solid var(--g200);
    border-radius: 7px;
    background: #fff;
    font-size: 12px;
    font-family: "DM Sans", sans-serif;
    color: var(--g500);
    cursor: pointer;
    transition: all 0.15s;
    text-align: center;
    font-weight: 500;
}
.exp-btn:hover {
    border-color: var(--navy-mid);
    color: var(--navy);
}
.exp-btn.active {
    border-color: var(--navy);
    background: var(--navy);
    color: #fff;
    font-weight: 600;
}

/* reCAPTCHA */
.recaptcha-wrap {
    margin: 18px 0 4px;
}

/* Submit */
.submit-btn {
    width: 100%;
    background: var(--navy);
    color: #fff;
    border: none;
    padding: 15px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    font-family: "DM Sans", sans-serif;
    transition:
        background 0.2s,
        transform 0.15s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 4px;
}
.submit-btn:hover {
    background: var(--navy-mid);
    transform: translateY(-1px);
}
.submit-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}
.submit-btn .spinner {
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top-color: #fff;
    border-radius: 50%;
    animation: spin 0.7s linear infinite;
    display: none;
}
.submit-btn.loading .spinner {
    display: block;
}
.submit-btn.loading .btn-text {
    opacity: 0.6;
}
@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}
.priv-note {
    font-size: 11px;
    color: var(--g400);
    margin-top: 12px;
    line-height: 1.6;
    text-align: center;
}
.priv-note a {
    color: var(--teal);
    text-decoration: none;
}

/* Honeypot */
.hp {
    display: none;
    visibility: hidden;
    position: absolute;
    left: -9999px;
}

/* Success */
.success-state {
    display: none;
    text-align: center;
    padding: 48px 20px;
}
.success-state.show {
    display: block;
}
.form-wrap {
    display: block;
}
.form-wrap.hide {
    display: none;
}
.suc-icon {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: linear-gradient(
        135deg,
        rgba(14, 116, 144, 0.15),
        rgba(14, 116, 144, 0.05)
    );
    border: 2px solid rgba(14, 116, 144, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    margin: 0 auto 24px;
}
.suc-title {
    font-family: "Playfair Display", serif;
    font-size: 26px;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 10px;
}
.suc-sub {
    font-size: 14px;
    color: var(--g500);
    line-height: 1.8;
    margin-bottom: 6px;
}
.suc-email {
    font-size: 15px;
    font-weight: 700;
    color: var(--navy);
    font-family: "DM Mono", monospace;
    margin-bottom: 24px;
}
.suc-steps {
    background: #fff;
    border: 1px solid var(--g200);
    border-radius: 12px;
    padding: 20px 24px;
    text-align: left;
    margin-bottom: 28px;
}
.step {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 12px;
}
.step:last-child {
    margin-bottom: 0;
}
.step-num {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--navy);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-family: "DM Mono", monospace;
}
.step-text {
    font-size: 13px;
    color: var(--g700);
    line-height: 1.55;
}
.step-text strong {
    color: var(--navy);
}
.back-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: var(--teal);
    text-decoration: none;
    border: 1px solid rgba(14, 116, 144, 0.25);
    border-radius: 6px;
    padding: 10px 18px;
    transition: all 0.2s;
}
.back-link:hover {
    background: rgba(14, 116, 144, 0.06);
}

/* Enquiry type highlight */
select.fi.chosen {
    border-color: var(--teal);
    background: rgba(14, 116, 144, 0.03);
}

/* Conditional field groups — hidden by default */
.cond {
    display: none;
}
.cond.show {
    display: block;
}
.cond-row {
    display: none;
}
.cond-row.show {
    display: grid;
}

@media (max-width: 960px) {
    nav {
        padding: 0 20px;
    }
    .page {
        grid-template-columns: 1fr;
    }
    .lp {
        padding: 40px 24px;
        min-height: auto;
    }
    .lp-title {
        font-size: 26px;
    }
    .contact-details {
        margin-top: 28px;
    }
    .rp {
        padding: 40px 24px;
    }
    .fr {
        grid-template-columns: 1fr;
    }
    .buyer-toggle {
        grid-template-columns: 1fr;
    }
    .exp-opts {
        grid-template-columns: 1fr 1fr;
    }
}

/* ── SITE-WIDE TICKER ── */
.ticker-bar {
    position: fixed;
    top: 68px;
    left: 0;
    right: 0;
    z-index: 290;
    background: rgba(8, 15, 34, 0.96);
    border-bottom: 1px solid rgba(201, 168, 76, 0.15);
    backdrop-filter: blur(8px);
    height: 34px;
    overflow: hidden;
}
.ticker-bar::before,
.ticker-bar::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    width: 80px;
    z-index: 2;
    pointer-events: none;
}
.ticker-bar::before {
    left: 0;
    background: linear-gradient(90deg, rgba(8, 15, 34, 0.98), transparent);
}
.ticker-bar::after {
    right: 0;
    background: linear-gradient(270deg, rgba(8, 15, 34, 0.98), transparent);
}
.ticker-track {
    display: flex;
    align-items: center;
    height: 34px;
    animation: tickerSlide 40s linear infinite;
    width: max-content;
}
.ticker-track:hover {
    animation-play-state: paused;
}
.ticker-item {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 0 48px 0 0;
    white-space: nowrap;
}
.ticker-tag {
    font-size: 8px;
    font-weight: 700;
    padding: 2px 7px;
    border-radius: 3px;
    font-family: "DM Mono", monospace;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    flex-shrink: 0;
}
.ticker-tag.new {
    background: rgba(201, 168, 76, 0.15);
    color: #c9a84c;
    border: 1px solid rgba(201, 168, 76, 0.25);
}
.ticker-tag.live {
    background: rgba(22, 163, 74, 0.12);
    color: #4ade80;
    border: 1px solid rgba(22, 163, 74, 0.25);
}
.ticker-tag.cpd {
    background: rgba(139, 92, 246, 0.12);
    color: #a78bfa;
    border: 1px solid rgba(139, 92, 246, 0.25);
}
.ticker-tag.info {
    background: rgba(255, 255, 255, 0.06);
    color: rgba(255, 255, 255, 0.38);
    border: 1px solid rgba(255, 255, 255, 0.1);
}
.ticker-tag.soon {
    background: rgba(14, 116, 144, 0.15);
    color: #0ea5c9;
    border: 1px solid rgba(14, 116, 144, 0.25);
}
.ticker-text {
    font-size: 11.5px;
    color: rgba(255, 255, 255, 0.42);
    font-family: "DM Sans", sans-serif;
    font-weight: 400;
}
.ticker-sep {
    width: 1px;
    height: 14px;
    background: rgba(255, 255, 255, 0.1);
    margin: 0 20px 0 -32px;
    flex-shrink: 0;
}
@keyframes tickerSlide {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}
/* Push page content down to account for ticker */
body.has-ticker nav ~ *:not(.ticker-bar) {
    margin-top: 0;
}
