/* Contact page container */
#page-contact.page {
    padding: 26px 0 58px;
}

/* Section inside contact page */
#page-contact .section {
    margin-top: clamp(18px, 3.2vw, 34px);
    padding: clamp(18px, 3.2vw, 30px);
    border-radius: var(--radius-xl);
    background: linear-gradient(180deg, rgba(10, 16, 32, .74), rgba(10, 16, 32, .52));
    border: 1px solid rgba(140, 200, 255, .14);
    box-shadow: var(--shadow2);
    position: relative;
    overflow: hidden;
}

/* Kicker text */
#page-contact .kicker {
    font-family: Oxanium, Inter, sans-serif;
    letter-spacing: .18em;
    text-transform: uppercase;
    font-weight: 700;
    font-size: 12px;
    color: rgba(118, 215, 255, .92);
    margin: 0 0 10px 0;
}

/* Title */
#page-contact .title {
    margin: 0 0 10px 0;
    font-family: Oxanium, Inter, sans-serif;
    font-size: var(--h2);
    letter-spacing: .02em;
    line-height: 1.06;
}

/* Lead paragraph */
#page-contact .lead {
    margin: 0;
    color: var(--muted);
    font-size: var(--p);
    line-height: 1.65;
}

/* Contact grid container */
.contactGrid {
    display: flex;
    gap: var(--gridGap);
    flex-wrap: wrap;
    margin-top: clamp(18px, 3.2vw, 34px);
}

/* Logo card on left */
.logoCard.io {
    flex: 1 1 320px;
    max-width: 520px;
    background: var(--panel);
    border-radius: var(--radius-xl);
    padding: clamp(18px, 3.2vw, 30px);
    box-shadow: var(--shadow2);
    position: relative;
}

/* SVG inside logoCard */
.logoCard.io img {
    width: 100%;
    height: auto;
    display: block;
}

/* Caption below logo */
.logoCard .caption {
    margin-top: 12px;
    color: var(--muted);
    font-size: var(--p);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Tag inside caption */
.logoCard .tag {
    border: 1px solid;
    border-radius: var(--radius-sm);
    padding: 4px 8px;
    font-size: 12px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 6px;
}

/* Dot inside tag */
.logoCard .dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    display: inline-block;
    background: var(--blue);
    box-shadow: 0 0 0 4px rgba(42, 169, 255, .12);
}

/* Contact form panel */
.panel.io {
    flex: 2 1 600px;
    background: var(--panel);
    border-radius: var(--radius-xl);
    padding: clamp(18px, 3.2vw, 30px);
    box-shadow: var(--shadow2);
    color: var(--text);
    position: relative;
    display: flex;
    flex-direction: column;
}

/* Form styles */
.form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* Form field container */
.field {
    display: flex;
    flex-direction: column;
}

/* Form labels */
.field label {
    font-weight: 600;
    font-size: var(--p);
    margin-bottom: 6px;
    color: var(--text);
}

/* Form inputs and textarea */
.field input,
.field textarea {
    background: var(--bg1);
    border: 1px solid rgba(140, 200, 255, .18);
    border-radius: var(--radius-sm);
    color: var(--text);
    font-size: var(--p);
    padding: 10px 12px;
    font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, "Helvetica Neue", "Noto Sans", "Liberation Sans", sans-serif;
    resize: vertical;
    transition: border-color 0.3s var(--ease);
}

.field input:focus,
.field textarea:focus {
    outline: none;
    border-color: var(--blue);
    box-shadow: 0 0 8px var(--blue);
}

/* Form textarea height */
.field textarea {
    min-height: 100px;
}

/* Form actions container */
.formActions {
    display: flex;
    align-items: center;
    gap: 12px;
}

/* Buttons */
.btn {
    padding: 10px 18px;
    border-radius: var(--radius-md);
    border: none;
    font-weight: 700;
    font-size: var(--p);
    cursor: pointer;
    transition: background-color 0.3s var(--ease), color 0.3s var(--ease);
}

/* Primary button */
.btn.primary {
    background: var(--yellow);
    color: #1A1B1F;
    box-shadow: 0 10px 30px rgba(255, 216, 77, 0.3);
}

.btn.primary:hover {
    filter: saturate(1.1) contrast(1.05);
}

/* Hint text */
.hint {
    font-size: 12px;
    color: var(--muted);
}

/* Toast notification */
.toast {
    margin-top: 12px;
    font-size: 14px;
    color: var(--ok);
}

.discount {
    display: block;
    margin: 50px auto 0 auto;
    /* centers safely */
    background: var(--yellow);
    color: #1A1B1F;
    box-shadow: 0 10px 30px rgba(255, 216, 77, 0.3);
    padding: 15px;
    border: 1px solid rgba(255, 216, 77);
    font-weight: 700;
    max-width: 100%;
}

.discount:hover {
    background: rgba(255, 216, 77, 0.3);
    color: var(--yellow);
}

.honeypot {
    position: absolute;
    left: -9999px;
    opacity: 0;
    pointer-events: none;
}

.toast {
    opacity: 0;
    transition: opacity 0.4s ease;
}

.toast.show {
    opacity: 1;
}


/* Responsive adjustments */
@media (max-width: 920px) {
    .contactGrid {
        flex-direction: column;
    }

    .logoCard.io,
    .panel.io {
        max-width: 100%;
        flex: 1 1 auto;
    }

    .discount {
        margin-bottom: 0px;
        width: 90%;
    }
}