/* =========================================
   CONTACT PAGE
   Loaded only on /contact, after style.css.
   Uses the colour variables from style.css (:root).
   ========================================= */

.contact-page {
    --req: #b42318;
    --field-border: #d6d5cf;
    --field-bg: #fbfbf9;
}

.contact-page [hidden] {
    display: none !important;
}


/* -----------------------------------------
   LABEL PILL (same look as the homepage labels)
   ----------------------------------------- */

.contact-page .c-pill {
    display: inline-flex;
    align-items: center;
    align-self: flex-start;

    gap: 8px;

    padding: 7px 14px;

    border-radius: 999px;

    background: #20242c;

    font-size: 14px;
    line-height: 1.3;
    font-weight: 700;

    color: #ffffff;
}

.contact-page .c-pill::before {
    content: "";

    width: 7px;
    height: 7px;

    border-radius: 50%;

    background: var(--yellow);
}

.contact-page .c-pill-on-dark {
    border: 1px solid rgba(255, 255, 255, 0.14);

    background: rgba(255, 255, 255, 0.08);
}


/* -----------------------------------------
   HERO
   ----------------------------------------- */

.contact-hero {
    padding: 56px 0 40px;
}

.contact-hero-inner {
    display: flex;
    flex-direction: column;
    align-items: flex-start;

    gap: 18px;
}

.contact-page .contact-hero h1 {
    max-width: 860px;

    font-size: clamp(40px, 4.4vw, 56px);
    line-height: 1.04;
    font-weight: 800;

    letter-spacing: -0.045em;
}

.contact-page .contact-hero h1 span {
    color: #e6a600;
}

.contact-hero-lead {
    max-width: 760px;

    font-size: 18px;
    line-height: 1.55;
    font-weight: 500;

    color: #3f4650;
}

.contact-trust {
    display: flex;
    flex-wrap: wrap;

    gap: 14px 32px;

    margin-top: 8px;

    list-style: none;
}

.contact-trust li {
    display: flex;
    align-items: center;

    gap: 10px;

    font-size: 14px;
    font-weight: 600;

    color: #3f4650;
}

.contact-trust svg {
    width: 24px;
    height: 24px;

    flex-shrink: 0;

    fill: none;
    stroke: #e6a600;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}


/* -----------------------------------------
   MAIN GRID: form + sidebar
   ----------------------------------------- */

.contact-main {
    padding: 0 0 80px;
}

.contact-grid {
    display: grid;

    grid-template-columns:
        minmax(0, 1.55fr)
        minmax(0, 1fr);

    gap: 32px;

    align-items: start;
}


/* -----------------------------------------
   FORM CARD
   ----------------------------------------- */

.fit-card {
    scroll-margin-top: 100px;

    padding: 36px;

    border: 1px solid var(--border);
    border-radius: 20px;

    background: var(--white);

    box-shadow: 0 12px 32px rgba(17, 19, 24, 0.04);
}

.fit-form {
    display: flex;
    flex-direction: column;

    gap: 28px;
}

.contact-page .fit-head h2 {
    font-size: 26px;
    line-height: 1.1;
    font-weight: 800;

    letter-spacing: -0.03em;
}

.fit-head p {
    margin-top: 6px;

    font-size: 14.5px;
    line-height: 1.5;

    color: var(--muted);
}

.fit-head .fit-required-note {
    margin-top: 4px;

    font-size: 13px;
}

.contact-page .req {
    color: var(--req);
}


/* Alert shown above the fields */

.form-alert {
    padding: 14px 16px;

    border: 1px solid #f3c2bd;
    border-radius: 10px;

    background: #fdecea;

    font-size: 14px;
    line-height: 1.5;

    color: #8a1c14;
}

.form-alert a {
    font-weight: 700;

    color: inherit;

    text-decoration: underline;
}


/* Text fields */

.fit-grid {
    display: grid;

    grid-template-columns: repeat(2, minmax(0, 1fr));

    gap: 18px 16px;
}

.field {
    display: flex;
    flex-direction: column;

    gap: 7px;

    min-width: 0;
}

.field label {
    font-size: 13.5px;
    font-weight: 700;

    color: var(--text);
}

.field-optional {
    font-weight: 500;

    color: var(--muted);
}

.field input,
.field select,
.field textarea {
    width: 100%;

    box-sizing: border-box;

    border: 1px solid var(--field-border);
    border-radius: 10px;

    background: var(--field-bg);

    font: inherit;
    font-size: 15px;
    font-weight: 400;

    color: var(--text);
}

.field input,
.field select {
    height: 48px;

    padding: 0 14px;
}

.field textarea {
    min-height: 96px;

    padding: 12px 14px;

    line-height: 1.5;

    resize: vertical;
}

.field input::placeholder,
.field textarea::placeholder {
    color: #8a8f98;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
    outline: 2px solid var(--yellow);
    outline-offset: 1px;

    border-color: #e6a600;

    background: var(--white);
}

.field-half {
    max-width: calc(50% - 8px);
}

.field.has-error input,
.field.has-error select {
    border-color: var(--req);
}

.field-error {
    font-size: 12.5px;
    font-weight: 600;

    color: var(--req);
}


/* -----------------------------------------
   CHOICE PILLS
   Real radio buttons / checkboxes, styled as pills.
   ----------------------------------------- */

.choice-set {
    min-width: 0;

    margin: 0;
    padding: 0;

    border: 0;
}

.choice-set legend {
    padding: 0;

    font-size: 17px;
    line-height: 1.35;
    font-weight: 800;

    letter-spacing: -0.01em;

    color: var(--text);
}

.choice-set .choice-legend-spaced {
    margin-bottom: 14px;
}

.choice-hint {
    margin: 4px 0 14px;

    font-size: 13.5px;

    color: var(--muted);
}

.choice-group {
    display: flex;
    flex-wrap: wrap;

    gap: 10px;
}

.choice {
    position: relative;

    display: inline-flex;
}

.choice input {
    position: absolute;

    width: 1px;
    height: 1px;

    margin: 0;

    opacity: 0;

    pointer-events: none;
}

.choice span {
    display: inline-flex;
    align-items: center;

    min-height: 44px;

    padding: 0 16px;

    border: 1px solid var(--field-border);
    border-radius: 999px;

    background: var(--white);

    font-size: 14px;
    line-height: 1.3;
    font-weight: 600;

    color: var(--text);

    cursor: pointer;

    transition:
        background 0.15s ease,
        border-color 0.15s ease,
        color 0.15s ease;
}

.choice:hover span {
    border-color: #b9b8b1;
}

.choice input:focus-visible + span {
    outline: 2px solid var(--yellow);
    outline-offset: 2px;
}

/* Single choice: dark when selected */
.choice input[type="radio"]:checked + span {
    border-color: #20242c;

    background: #20242c;

    color: #ffffff;
}

/* Multiple choice: soft yellow when selected */
.choice input[type="checkbox"]:checked + span {
    border-color: #e6a600;

    background: var(--yellow-soft);
}

.choice-set.has-error .choice span {
    border-color: #e8a29b;
}

.choice-set .field-error {
    display: block;

    margin-top: 10px;
}

/* Budget: even grid instead of wrapping pills */
.choice-group.is-grid {
    display: grid;

    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.choice-group.is-grid .choice {
    display: flex;
}

.choice-group.is-grid .choice span {
    width: 100%;

    justify-content: center;

    padding: 0 12px;

    border-radius: 10px;

    text-align: center;
}


/* -----------------------------------------
   SUBMIT + SPAM FIELD
   ----------------------------------------- */

.fit-submit {
    display: flex;
    flex-direction: column;

    gap: 12px;
}

.fit-submit .btn {
    width: 100%;

    min-height: 56px;

    border: 0;

    font: inherit;
    font-size: 15px;
    font-weight: 800;

    cursor: pointer;
}

.fit-submit .btn[disabled] {
    opacity: 0.7;

    cursor: progress;

    transform: none;
}

.fit-reply {
    display: flex;
    align-items: center;
    justify-content: center;

    gap: 8px;

    font-size: 13px;

    color: var(--muted);
}

.fit-reply svg {
    width: 15px;
    height: 15px;

    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* Honeypot: off-screen for people, visible to bots */
.hp-field {
    position: absolute;
    left: -10000px;
    top: auto;

    width: 1px;
    height: 1px;

    overflow: hidden;
}


/* -----------------------------------------
   SUCCESS
   ----------------------------------------- */

.fit-success {
    display: flex;
    flex-direction: column;
    align-items: flex-start;

    gap: 16px;

    padding: 24px 0;
}

.fit-success-icon {
    width: 56px;
    height: 56px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: var(--yellow-soft);

    color: #b07a00;
}

.fit-success-icon svg {
    width: 26px;
    height: 26px;

    fill: none;
    stroke: currentColor;
    stroke-width: 2.4;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.contact-page .fit-success h2 {
    font-size: 30px;
    line-height: 1.1;
    font-weight: 800;

    letter-spacing: -0.035em;
}

.fit-success p {
    max-width: 520px;

    font-size: 16px;
    line-height: 1.6;

    color: #3f4650;
}

.fit-success-link {
    font-size: 14px;
    font-weight: 750;

    color: var(--text);

    text-decoration: underline;
    text-decoration-color: var(--yellow);
    text-decoration-thickness: 2px;
    text-underline-offset: 4px;
}


/* -----------------------------------------
   SIDEBAR
   ----------------------------------------- */

.contact-aside {
    display: flex;
    flex-direction: column;

    gap: 20px;
}

.aside-card {
    padding: 28px;

    border: 1px solid var(--border);
    border-radius: 20px;

    background: var(--white);
}

.contact-page .aside-card h2 {
    margin-bottom: 22px;

    font-size: 18px;
    line-height: 1.25;
    font-weight: 800;

    letter-spacing: -0.01em;
}


/* What happens next: numbered steps with a joining line */

.next-steps {
    list-style: none;
}

.next-steps li {
    position: relative;

    display: grid;

    grid-template-columns: 40px minmax(0, 1fr);

    column-gap: 14px;

    padding-bottom: 20px;
}

.next-steps li:last-child {
    padding-bottom: 0;
}

.next-steps li:not(:last-child)::after {
    content: "";

    position: absolute;

    left: 19px;
    top: 46px;
    bottom: 4px;

    width: 2px;

    border-radius: 2px;

    background: rgba(244, 189, 32, 0.7);
}

.step-num {
    width: 40px;
    height: 40px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: var(--yellow);

    font-size: 12px;
    font-weight: 800;

    color: #171717;
}

.next-steps strong {
    display: block;

    margin: 2px 0 4px;

    font-size: 15px;
    font-weight: 800;
}

.next-steps p {
    font-size: 14px;
    line-height: 1.5;

    color: var(--muted);
}


/* Dark Diagnostic card */

.diag-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;

    gap: 12px;

    padding: 28px;

    border-radius: 20px;

    background: #20242c;

    color: #ffffff;

    box-shadow: 0 16px 40px rgba(17, 19, 24, 0.08);
}

.contact-page .diag-card h2 {
    font-size: 22px;
    line-height: 1.2;
    font-weight: 800;

    letter-spacing: -0.02em;

    color: #ffffff;
}

.diag-price {
    font-size: 44px;
    line-height: 1;
    font-weight: 800;

    letter-spacing: -0.03em;

    color: var(--yellow);
}

.diag-delivery {
    font-size: 14px;
    line-height: 1.55;
    font-weight: 600;

    color: #e0e3e7;
}

.diag-credit {
    font-size: 14px;
    line-height: 1.55;

    color: #c5c9d0;
}

.diag-list {
    width: 100%;

    margin-top: 4px;

    list-style: none;
}

.diag-list li {
    display: flex;
    align-items: center;

    gap: 10px;

    padding: 10px 0;

    border-bottom: 1px solid rgba(255, 255, 255, 0.08);

    font-size: 14px;
    font-weight: 600;

    color: #e0e3e7;
}

.diag-list li:last-child {
    border-bottom: 0;
}

.diag-list svg {
    width: 16px;
    height: 16px;

    flex-shrink: 0;

    fill: none;
    stroke: var(--yellow);
    stroke-width: 2.6;
    stroke-linecap: round;
    stroke-linejoin: round;
}


/* WhatsApp card */

.wa-card {
    display: flex;
    flex-direction: column;

    gap: 12px;

    padding: 24px 28px;
}

.contact-page .wa-card h2 {
    margin: 0;

    font-size: 16px;
}

.wa-card p {
    font-size: 14px;
    line-height: 1.5;

    color: var(--muted);
}

.wa-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    gap: 10px;

    min-height: 48px;

    border: 1px solid #20242c;
    border-radius: 10px;

    font-size: 14px;
    font-weight: 800;

    color: #20242c;

    transition:
        background 0.2s ease,
        color 0.2s ease;
}

.wa-btn:hover {
    background: #20242c;

    color: #ffffff;
}

.wa-btn svg {
    width: 18px;
    height: 18px;

    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}


/* -----------------------------------------
   LOWER SECTIONS
   ----------------------------------------- */

.c-band {
    padding: 72px 0;

    border-top: 1px solid var(--border);

    background: var(--background);
}

.c-band-white {
    background: var(--white);
}

.c-section-head {
    display: flex;
    flex-direction: column;
    align-items: flex-start;

    gap: 16px;

    margin-bottom: 28px;
}

.contact-page .c-section-head h2 {
    font-size: clamp(30px, 3.2vw, 40px);
    line-height: 1.06;
    font-weight: 800;

    letter-spacing: -0.04em;
}

.contact-page .c-section-head h2 span {
    color: #e6a600;
}

.contact-page .c-h2 {
    font-size: clamp(28px, 2.8vw, 36px);
    line-height: 1.08;
    font-weight: 800;

    letter-spacing: -0.035em;
}


/* Why BTech is different */

.diff-grid {
    display: grid;

    grid-template-columns: repeat(3, minmax(0, 1fr));

    gap: 18px;
}

.diff-card {
    display: flex;
    flex-direction: column;

    gap: 12px;

    padding: 26px;

    border: 1px solid var(--border);
    border-radius: 16px;

    background: #fbfbf9;
}

.diff-icon {
    width: 46px;
    height: 46px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: var(--yellow-soft);
}

.diff-icon svg {
    width: 24px;
    height: 24px;

    fill: none;
    stroke: #e6a600;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.contact-page .diff-card h3 {
    font-size: 18px;
    line-height: 1.2;
    font-weight: 800;

    letter-spacing: -0.02em;
}

.diff-card p {
    font-size: 14.5px;
    line-height: 1.6;

    color: #5b616b;
}


/* Who this is for + sample roadmap */

.fit-roadmap {
    display: grid;

    grid-template-columns: repeat(2, minmax(0, 1fr));

    gap: 48px;

    align-items: center;
}

.who-list {
    display: flex;
    flex-direction: column;

    gap: 14px;

    margin-top: 20px;

    list-style: none;
}

.who-list li {
    display: flex;
    align-items: flex-start;

    gap: 12px;

    font-size: 15.5px;
    line-height: 1.5;
    font-weight: 500;

    color: #3f4650;
}

.who-list svg {
    width: 20px;
    height: 20px;

    flex-shrink: 0;

    margin-top: 2px;

    fill: none;
    stroke: #e6a600;
    stroke-width: 2.6;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.not-fit {
    margin-top: 20px;

    padding: 16px 18px;

    border: 1px solid var(--border);
    border-radius: 12px;

    background: var(--white);

    font-size: 14px;
    line-height: 1.55;

    color: #5b616b;
}

.not-fit strong {
    color: var(--text);
}


/* Sample roadmap visual (decorative) */

.roadmap-visual {
    position: relative;

    height: 340px;
}

.roadmap-page {
    position: absolute;

    width: 270px;
    height: 310px;

    box-sizing: border-box;

    border: 1px solid var(--border);
    border-radius: 12px;

    background: var(--white);

    box-shadow: 0 10px 24px rgba(17, 19, 24, 0.06);
}

.rm-p3 {
    left: 150px;
    top: 18px;

    transform: rotate(6deg);
}

.rm-p2 {
    left: 120px;
    top: 14px;

    transform: rotate(3deg);
}

.rm-p1 {
    left: 90px;
    top: 10px;

    display: flex;
    flex-direction: column;

    overflow: hidden;

    box-shadow: 0 16px 36px rgba(17, 19, 24, 0.1);
}

.rm-head {
    display: flex;
    flex-direction: column;

    gap: 4px;

    padding: 16px 18px;

    background: #20242c;
}

.rm-title {
    font-size: 15px;
    font-weight: 800;

    color: #ffffff;
}

.rm-sub {
    font-size: 11px;

    color: #c5c9d0;
}

.rm-body {
    display: flex;
    flex-direction: column;

    gap: 12px;

    padding: 16px 18px;
}

.rm-label {
    font-size: 11px;
    font-weight: 800;

    color: var(--text);
}

.rm-flow {
    display: flex;
    align-items: center;

    gap: 6px;
}

.rm-box {
    flex-grow: 1;

    height: 22px;

    border-radius: 6px;

    background: #f1f1ed;
}

.rm-box.is-hot {
    border: 1px solid #e6a600;

    background: var(--yellow-soft);
}

.rm-arrow {
    font-size: 10px;

    color: #8a8e96;
}

.rm-rank {
    display: flex;
    flex-direction: column;

    gap: 7px;
}

.rm-rank-row {
    display: flex;
    align-items: center;

    gap: 8px;
}

.rm-dot {
    width: 16px;
    height: 16px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: var(--yellow);

    font-size: 9px;
    font-weight: 800;
}

.rm-bar {
    height: 8px;

    border-radius: 4px;

    background: var(--yellow);
}

.rm-bar-1 { width: 170px; }
.rm-bar-2 { width: 128px; }
.rm-bar-3 { width: 90px; }

.rm-lines {
    display: flex;
    flex-direction: column;

    gap: 6px;
}

.rm-lines span {
    height: 6px;

    border-radius: 3px;

    background: var(--border);
}

.rm-lines span:nth-child(2) { width: 85%; }
.rm-lines span:nth-child(3) { width: 65%; }

.roadmap-caption {
    display: flex;
    flex-direction: column;

    gap: 6px;

    margin-top: 18px;
    padding-left: 90px;
}

.roadmap-caption strong {
    font-size: 16px;
    font-weight: 800;
}

.roadmap-caption p {
    font-size: 14px;
    line-height: 1.55;

    color: var(--muted);
}


/* FAQ */

.faq-title {
    margin-bottom: 28px;
}

.faq-grid {
    display: grid;

    grid-template-columns: repeat(2, minmax(0, 1fr));

    gap: 16px;
}

.faq-item {
    padding: 22px 24px;

    border: 1px solid var(--border);
    border-radius: 14px;

    background: #fbfbf9;
}

.contact-page .faq-item h3 {
    margin-bottom: 8px;

    font-size: 16px;
    line-height: 1.3;
    font-weight: 800;

    letter-spacing: -0.01em;
}

.faq-item p {
    font-size: 14.5px;
    line-height: 1.6;

    color: #5b616b;
}


/* =========================================
   TABLET
   ========================================= */

@media (max-width: 1000px) {

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .diff-grid {
        grid-template-columns: 1fr;

        gap: 14px;
    }

    .fit-roadmap {
        grid-template-columns: 1fr;

        gap: 40px;
    }

}


/* =========================================
   MOBILE
   ========================================= */

@media (max-width: 700px) {

    .contact-hero {
        padding: 30px 0 24px;
    }

    .contact-page .contact-hero h1 {
        font-size: 36px;
        line-height: 1.05;
    }

    .contact-hero-lead {
        font-size: 15px;
    }

    .contact-trust {
        flex-direction: column;

        gap: 10px;
    }

    .contact-trust li {
        font-size: 13.5px;
    }

    .contact-main {
        padding-bottom: 32px;
    }

    .fit-card {
        padding: 20px;

        border-radius: 18px;
    }

    .fit-form {
        gap: 24px;
    }

    .contact-page .fit-head h2 {
        font-size: 23px;
    }

    .fit-grid {
        grid-template-columns: 1fr;

        gap: 16px;
    }

    .field-half {
        max-width: none;
    }

    .choice-set legend {
        font-size: 16px;
    }

    .choice-group {
        gap: 8px;
    }

    .choice span {
        padding: 0 14px;

        font-size: 13.5px;
    }

    .choice-group.is-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .contact-aside {
        gap: 16px;
    }

    .aside-card,
    .diag-card {
        padding: 22px 20px;

        border-radius: 18px;
    }

    .wa-card {
        padding: 20px;
    }

    .diag-price {
        font-size: 40px;
    }

    .c-band {
        padding: 40px 0;
    }

    .diff-card {
        padding: 20px;
    }

    .roadmap-visual {
        height: 330px;
    }

    .roadmap-page {
        width: 250px;
        height: 300px;
    }

    .rm-p3 { left: 62px; }
    .rm-p2 { left: 40px; }
    .rm-p1 { left: 18px; }

    .rm-bar-1 { width: 150px; }
    .rm-bar-2 { width: 112px; }
    .rm-bar-3 { width: 80px; }

    .roadmap-caption {
        padding-left: 0;
    }

    .faq-title {
        margin-bottom: 20px;
    }

    .faq-grid {
        grid-template-columns: 1fr;

        gap: 12px;
    }

    .faq-item {
        padding: 18px 20px;
    }

}