/* ========================================================================
   WAYTOGO CONSULTANTS - CONTACT PAGE ONLY
   Loaded after ../style.css
   Home page spacing is the reference for all inner containers.
   ======================================================================== */

.page-contact {
    background: var(--wtg-white);
}

.page-contact .contact-section > .container,
.page-contact .contact-principle > .container,
.page-contact .contact-hero__inner {
    width: calc(100% - (var(--content-gutter) * 2));
    max-width: var(--content-max);
    margin-inline: auto;
    padding-inline: 0;
}

.contact-section {
    width: 100%;
    padding: 72px 0;
}

.contact-section-label,
.contact-eyebrow,
.contact-principle__label {
    margin: 0 0 11px;
    color: var(--wtg-navy);
    font-family: var(--font-body);
    font-size: 11px;
    font-weight: 700;
    line-height: 1.35;
    letter-spacing: 0.23em;
    text-transform: uppercase;
}

.contact-title {
    margin: 0;
    color: var(--wtg-heading);
    font-family: var(--font-display);
    font-size: clamp(34px, 2.9vw, 47px);
    font-weight: 400;
    line-height: 0.99;
    letter-spacing: -0.025em;
    text-wrap: balance;
}

.contact-copy {
    margin: 20px 0 0;
    color: var(--wtg-text-secondary);
    font-size: 14px;
    line-height: 1.65;
}


/* =========================================================
   HERO
   ========================================================= */

.contact-hero {
    position: relative;
    isolation: isolate;
    min-height: 365px;
    display: flex;
    align-items: stretch;
    overflow: hidden;
    color: var(--wtg-white);
    background: var(--wtg-navy-deep);
}

.contact-hero__media {
    position: absolute;
    z-index: -3;
    inset: 0;
    background:
        linear-gradient(
            90deg,
            rgba(3, 9, 34, 0.97) 0%,
            rgba(5, 15, 55, 0.9) 38%,
            rgba(7, 17, 63, 0.52) 65%,
            rgba(4, 11, 40, 0.18) 100%
        ),
        url("../../images/contact/contact-hero.webp")
        center center / cover no-repeat;
}

.contact-hero::after {
    content: "";
    position: absolute;
    z-index: -2;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(4, 11, 40, 0.02),
        rgba(4, 11, 40, 0.18)
    );
}

.contact-hero__inner {
    min-height: 365px;
    padding: 54px 0 58px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 270px;
    gap: 70px;
    align-items: center;
}

.contact-hero__content {
    max-width: 760px;
}

.contact-eyebrow {
    color: var(--wtg-gold-light);
}

.contact-hero__title {
    margin: 0 0 15px;
    color: var(--wtg-white);
    font-family: var(--font-display);
    font-size: clamp(48px, 4vw, 64px);
    font-weight: 400;
    line-height: 0.94;
    letter-spacing: -0.03em;
}

.contact-hero__description {
    max-width: 720px;
    margin: 0;
    color: rgba(255, 255, 255, 0.82);
    font-size: 14px;
    line-height: 1.62;
}

.contact-hero__quote {
    align-self: end;
    max-width: 250px;
    margin-bottom: 17px;
    text-align: right;
}

.contact-hero__quote p {
    margin: 0 0 13px;
    color: var(--wtg-white);
    font-family: var(--font-display);
    font-size: 22px;
    font-style: italic;
    line-height: 1.05;
}

.contact-hero__quote span {
    color: rgba(255, 255, 255, 0.62);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.19em;
    text-transform: uppercase;
}


/* =========================================================
   INQUIRY / FORM
   ========================================================= */

.contact-inquiry {
    background: var(--wtg-white);
}

.contact-inquiry__grid {
    display: grid;
    grid-template-columns: minmax(0, 1.38fr) minmax(300px, 0.62fr);
    gap: 58px;
    align-items: start;
}

.contact-inquiry__grid > * {
    min-width: 0;
}

.contact-form-wrap .contact-title {
    max-width: 650px;
    margin-bottom: 27px;
}

.contact-form__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 17px 20px;
}

.contact-field {
    margin-bottom: 17px;
}

.contact-field label {
    display: block;
    margin-bottom: 7px;
    color: var(--wtg-navy);
    font-size: 9px;
    font-weight: 700;
    line-height: 1.35;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.contact-field input,
.contact-field select,
.contact-field textarea {
    width: 100%;
    min-height: 43px;
    margin: 0;
    padding: 10px 12px;
    color: var(--wtg-heading);
    background: var(--wtg-white);
    border: 1px solid #cfd5df;
    border-radius: 0;
    outline: none;
    font-family: var(--font-body);
    font-size: 13px;
    line-height: 1.45;
    transition:
        border-color var(--transition-fast),
        box-shadow var(--transition-fast);
}

.contact-field textarea {
    min-height: 105px;
    resize: vertical;
}

.contact-field input::placeholder,
.contact-field textarea::placeholder {
    color: #8a92a1;
}

.contact-field input:focus,
.contact-field select:focus,
.contact-field textarea:focus {
    border-color: var(--wtg-navy);
    box-shadow: 0 0 0 3px rgba(11, 26, 98, 0.07);
}

.contact-form__button {
    min-width: 150px;
}

.contact-form__status {
    max-width: 560px;
    margin: 12px 0 0;
    color: var(--wtg-muted);
    font-size: 11px;
    line-height: 1.5;
}

.contact-office {
    padding: 28px 28px 26px;
    background: #f6f2e7;
    border-left: 3px solid var(--wtg-gold);
}

.contact-office h2 {
    margin: 0 0 20px;
    color: var(--wtg-heading);
    font-family: var(--font-display);
    font-size: 25px;
    font-weight: 400;
    line-height: 1.04;
}

.contact-office__list {
    margin: 0;
}

.contact-office__list > div {
    padding: 13px 0;
    border-top: 1px solid rgba(11, 26, 98, 0.12);
}

.contact-office__list dt {
    margin-bottom: 5px;
    color: var(--wtg-navy);
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.contact-office__list dd {
    margin: 0;
    color: var(--wtg-text-secondary);
    font-size: 13px;
    line-height: 1.5;
}

.contact-office__note {
    margin-top: 18px;
    padding: 11px 13px;
    color: #6b5a2d;
    background: #fff8e6;
    border-left: 2px solid var(--wtg-gold);
    font-size: 11px;
    line-height: 1.55;
}


/* =========================================================
   REASONS
   ========================================================= */

.contact-reasons {
    background: var(--wtg-cream);
}

.contact-reasons__title {
    max-width: 790px;
    margin-bottom: 31px;
}

.contact-reasons__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}

.contact-reason-card {
    min-height: 235px;
    padding: 22px 20px;
    display: flex;
    flex-direction: column;
    background: var(--wtg-white);
    border: 1px solid rgba(11, 26, 98, 0.08);
    transition:
        transform var(--transition-base),
        border-color var(--transition-base),
        box-shadow var(--transition-base);
}

.contact-reason-card:hover {
    transform: translateY(-4px);
    border-color: rgba(198, 161, 91, 0.55);
    box-shadow: 0 15px 38px rgba(11, 26, 98, 0.07);
}

.contact-reason-card > span {
    display: block;
    margin-bottom: 13px;
    color: var(--wtg-gold);
    font-family: var(--font-display);
    font-size: 25px;
    line-height: 1;
}

.contact-reason-card h3 {
    margin: 0 0 11px;
    color: var(--wtg-heading);
    font-family: var(--font-display);
    font-size: 23px;
    font-weight: 400;
    line-height: 1.04;
}

.contact-reason-card p {
    margin: 0 0 17px;
    color: var(--wtg-text-secondary);
    font-size: 13px;
    line-height: 1.58;
}

.contact-reason-card a {
    margin-top: auto;
    color: var(--wtg-navy);
    font-size: 10px;
    font-weight: 700;
}

.contact-reason-card a:hover {
    color: var(--wtg-gold);
}


/* =========================================================
   GROUP
   ========================================================= */

.contact-group {
    background: var(--wtg-white);
}

.contact-group__grid {
    display: grid;
    grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
    gap: 70px;
    align-items: start;
}

.contact-group__grid > * {
    min-width: 0;
}

.contact-group__intro .contact-title {
    max-width: 560px;
}

.contact-group__list {
    border-top: 1px solid rgba(11, 26, 98, 0.14);
}

.contact-group-row {
    display: grid;
    grid-template-columns: 42px minmax(120px, 0.55fr) minmax(0, 1.45fr) 20px;
    gap: 18px;
    align-items: start;
    padding: 23px 0;
    border-bottom: 1px solid rgba(11, 26, 98, 0.14);
    transition: transform var(--transition-base);
}

.contact-group-row:hover {
    transform: translateX(4px);
}

.contact-group-row strong {
    color: var(--wtg-gold);
    font-family: var(--font-display);
    font-size: 25px;
    font-weight: 400;
    line-height: 1;
}

.contact-group-row h3 {
    margin: 0;
    color: var(--wtg-heading);
    font-family: var(--font-display);
    font-size: 21px;
    font-weight: 400;
    line-height: 1.08;
}

.contact-group-row p {
    margin: 0;
    color: var(--wtg-text-secondary);
    font-size: 13px;
    line-height: 1.55;
}

.contact-group-row > span {
    color: var(--wtg-navy);
    font-size: 15px;
}


/* =========================================================
   PRINCIPLE
   ========================================================= */

.contact-principle {
    padding: 58px 0;
    color: var(--wtg-white);
    background: var(--wtg-navy);
}

.contact-principle__grid {
    display: grid;
    grid-template-columns: minmax(0, 1.12fr) minmax(330px, 0.88fr);
    gap: 74px;
    align-items: center;
}

.contact-principle__grid > * {
    min-width: 0;
}

.contact-principle__label {
    color: var(--wtg-gold-light);
}

.contact-principle h2 {
    max-width: 760px;
    margin: 0;
    color: var(--wtg-white);
    font-family: var(--font-display);
    font-size: clamp(33px, 2.8vw, 45px);
    font-style: italic;
    font-weight: 400;
    line-height: 1;
    letter-spacing: -0.02em;
}

.contact-principle p {
    margin: 0;
    color: rgba(255, 255, 255, 0.76);
    font-size: 13px;
    line-height: 1.62;
}


/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 1180px) {
    .contact-section {
        padding: 66px 0;
    }

    .contact-inquiry__grid,
    .contact-group__grid {
        gap: 44px;
    }

    .contact-reasons__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 1024px) {
    .contact-hero {
        min-height: 0;
    }

    .contact-hero__inner {
        min-height: 360px;
        grid-template-columns: 1fr;
        gap: 0;
        padding: 54px 0 56px;
    }

    .contact-hero__quote {
        display: none;
    }

    .contact-inquiry__grid,
    .contact-group__grid,
    .contact-principle__grid {
        grid-template-columns: 1fr;
        gap: 34px;
    }

    .contact-office {
        max-width: 720px;
    }
}

@media (max-width: 767px) {
    .contact-section {
        padding: 48px 0;
    }

    .contact-section-label,
    .contact-eyebrow,
    .contact-principle__label {
        margin-bottom: 10px;
        font-size: 10px;
        line-height: 1.4;
        letter-spacing: 0.18em;
    }

    .contact-title {
        font-size: clamp(31px, 8.8vw, 39px);
        line-height: 1;
    }

    .contact-copy {
        font-size: 14px;
        line-height: 1.62;
    }

    .contact-hero__media {
        background:
            linear-gradient(
                180deg,
                rgba(3, 9, 34, 0.82) 0%,
                rgba(4, 11, 40, 0.87) 52%,
                rgba(4, 11, 40, 0.98) 100%
            ),
            url("../../images/contact/contact-hero.webp")
            58% center / cover no-repeat;
    }

    .contact-hero__inner {
        min-height: 0;
        padding: 48px 0 50px;
    }

    .contact-hero__title {
        margin-bottom: 14px;
        font-size: 48px;
    }

    .contact-hero__description {
        font-size: 14px;
        line-height: 1.62;
    }

    .contact-inquiry__grid,
    .contact-group__grid,
    .contact-principle__grid {
        gap: 27px;
    }

    .contact-form-wrap .contact-title {
        margin-bottom: 24px;
    }

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

    .contact-field {
        margin-bottom: 15px;
    }

    .contact-field label {
        font-size: 9px;
    }

    .contact-field input,
    .contact-field select,
    .contact-field textarea {
        min-height: 46px;
        font-size: 14px;
    }

    .contact-field textarea {
        min-height: 118px;
    }

    .contact-form__button {
        width: 100%;
        min-height: 46px;
    }

    .contact-form__status {
        font-size: 11px;
    }

    .contact-office {
        padding: 24px 20px;
    }

    .contact-office h2 {
        font-size: 24px;
    }

    .contact-office__list dd {
        font-size: 14px;
    }

    .contact-reasons__title {
        margin-bottom: 26px;
    }

    .contact-reasons__grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .contact-reason-card {
        min-height: 0;
        padding: 21px 19px;
    }

    .contact-reason-card h3 {
        font-size: 23px;
    }

    .contact-reason-card p {
        font-size: 14px;
        line-height: 1.58;
    }

    .contact-group-row {
        grid-template-columns: 34px minmax(0, 1fr) 18px;
        gap: 10px 12px;
        padding: 19px 0;
    }

    .contact-group-row h3 {
        font-size: 21px;
    }

    .contact-group-row p {
        grid-column: 2 / -1;
        font-size: 14px;
        line-height: 1.58;
    }

    .contact-principle {
        padding: 48px 0;
    }

    .contact-principle h2 {
        font-size: clamp(31px, 8.8vw, 39px);
    }

    .contact-principle p {
        font-size: 14px;
    }
}

@media (max-width: 420px) {
    .contact-hero__inner {
        padding-top: 44px;
        padding-bottom: 46px;
    }

    .contact-hero__title {
        font-size: 44px;
    }

    .contact-title,
    .contact-principle h2 {
        font-size: 31px;
    }

    .contact-office {
        padding: 22px 18px;
    }
}


/* ========================================================================
   DYNAMIC CONTACT FORM + REAL OFFICE DETAILS
   ======================================================================== */

.contact-alert {
    margin-bottom: 20px;
    padding: 13px 15px;
    border-left: 3px solid;
    font-size: 13px;
    line-height: 1.55;
}

.contact-alert--success {
    color: #214c37;
    background: #edf8f1;
    border-color: #4f8b66;
}

.contact-alert--error {
    color: #7b2e2e;
    background: #fff2f2;
    border-color: #b65c5c;
}

.contact-honeypot {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

.contact-field input.is-invalid,
.contact-field select.is-invalid,
.contact-field textarea.is-invalid {
    border-color: #b65c5c;
    box-shadow: 0 0 0 3px rgba(182, 92, 92, 0.07);
}

.contact-field__error {
    display: block;
    margin-top: 6px;
    color: #9e3f3f;
    font-size: 11px;
    line-height: 1.45;
}

.contact-office__locations {
    display: grid;
    gap: 0;
    border-top: 1px solid rgba(11, 26, 98, 0.12);
}

.contact-office__location {
    padding: 15px 0;
    border-bottom: 1px solid rgba(11, 26, 98, 0.12);
}

.contact-office__location > span,
.contact-office__contact span {
    display: block;
    margin-bottom: 6px;
    color: var(--wtg-navy);
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.contact-office__location address {
    margin: 0;
    color: var(--wtg-text-secondary);
    font-style: normal;
    font-size: 13px;
    line-height: 1.62;
}

.contact-office__contact {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-top: 18px;
}

.contact-office__contact > div {
    min-width: 0;
}

.contact-office__contact a {
    color: var(--wtg-heading);
    font-size: 13px;
    line-height: 1.5;
    overflow-wrap: anywhere;
}

.contact-office__contact a:hover {
    color: var(--wtg-gold);
}

@media (max-width: 767px) {
    .contact-alert {
        font-size: 12px;
    }

    .contact-office__location address,
    .contact-office__contact a {
        font-size: 14px;
    }

    .contact-office__contact {
        grid-template-columns: 1fr;
        gap: 14px;
    }
}
