/* Contact page - scoped styles */
:root {
    --cg: #dca62c;
    --cd: #171717;
    --ct: #333;
    --cm: #707070;
    --cl: #f6f6f4;
    --cb: #e4e4e4
}

.contact-container {
    width: min(1180px, calc(100% - 40px));
    margin: auto
}

.contact-header {
    background: #fff;
    border-bottom: 1px solid var(--cb);
    position: relative;
    z-index: 1000
}

.contact-header-inner {
    min-height: 82px;
    display: flex;
    align-items: center;
    justify-content: space-between
}

.contact-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--cd)
}

.contact-brand>b {
    font-size: 34px;
    color: var(--cg)
}

.contact-brand span {
    display: flex;
    flex-direction: column
}

.contact-brand strong {
    font-size: 16px;
    letter-spacing: 1.4px
}

.contact-brand small {
    font-size: 9px;
    letter-spacing: 3px;
    color: #777
}

.contact-nav {
    display: flex;
    gap: 28px
}

.contact-nav a {
    color: #222;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    padding: 10px 0
}

.contact-nav a.active,
.contact-nav a:hover {
    color: var(--cg)
}

.contact-menu-toggle {
    display: none;
    background: none;
    border: 0
}

.contact-menu-toggle i {
    display: block;
    width: 27px;
    height: 2px;
    background: #222;
    margin: 5px
}

.contact-hero {
    min-height: 370px;
    display: grid;
    place-items: center;
    text-align: center;
    background: linear-gradient(#000a, #000b), url("../assets/images/project-1.jpg") center/cover
}

.contact-hero-content {
    color: #fff;
    padding: 70px 0
}

.contact-hero-content>span,
.contact-section-heading>span,
.contact-info-heading>span,
.contact-form-heading>span,
.contact-location-heading>span,
.contact-cta span {
    color: var(--cg);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 2.5px
}

.contact-hero h1 {
    font-size: clamp(42px, 7vw, 72px);
    margin: 14px 0 18px
}

.contact-hero p {
    max-width: 700px;
    margin: auto;
    line-height: 1.8;
    color: #eee
}

.contact-intro {
    padding: 90px 0 55px
}

.contact-section-heading {
    max-width: 800px
}

.contact-section-heading h2,
.contact-info-heading h2,
.contact-form-heading h2,
.contact-location-heading h2 {
    font-size: clamp(30px, 4vw, 48px);
    line-height: 1.12;
    margin: 14px 0 18px;
    color: var(--cd)
}

.contact-section-heading em {
    color: var(--cg);
    font-style: normal
}

.contact-section-heading p,
.contact-form-heading p,
.contact-location-heading p {
    color: var(--cm);
    line-height: 1.8
}

.contact-main {
    padding: 25px 0 100px;
    background: var(--cl)
}

.contact-main-grid {
    display: grid;
    grid-template-columns: .82fr 1.35fr;
    gap: 32px
}

.contact-info-card,
.contact-form-card {
    border: 1px solid var(--cb);
    border-radius: 8px;
    box-shadow: 0 18px 50px #00000012
}

.contact-info-card {
    padding: 34px;
    background: var(--cd);
    color: #fff
}

.contact-info-heading h2 {
    color: #fff;
    font-size: 31px
}

.contact-info-list {
    margin-top: 25px
}

.contact-info-item {
    display: flex;
    gap: 15px;
    padding: 15px 0;
    border-bottom: 1px solid #ffffff1f;
    color: #fff;
    text-decoration: none
}

.contact-info-item>b {
    width: 38px;
    height: 38px;
    flex: 0 0 38px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: #dca62c26;
    color: var(--cg)
}

.contact-info-item small {
    display: block;
    color: #ffffff8c;
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 4px
}

.contact-info-item strong {
    font-size: 14px;
    line-height: 1.55
}

.contact-info-item:hover strong {
    color: var(--cg)
}

.contact-quick-actions {
    display: flex;
    gap: 10px;
    margin-top: 25px
}

.contact-quick-actions a {
    flex: 1;
    text-align: center;
    text-decoration: none;
    padding: 13px;
    border-radius: 4px;
    font-weight: 700;
    font-size: 13px;
    background: var(--cg);
    color: #111
}

.contact-quick-actions a+a {
    background: transparent;
    color: #fff;
    border: 1px solid #ffffff33
}

.contact-form-card {
    padding: 40px;
    background: #fff
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 18px
}

.contact-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px
}

.contact-form label {
    display: flex;
    flex-direction: column;
    gap: 8px;
    color: #242424;
    font-size: 13px;
    font-weight: 700
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    box-sizing: border-box;
    width: 100%;
    border: 1px solid #d9d9d9;
    border-radius: 4px;
    padding: 14px 15px;
    font: inherit;
    font-weight: 400;
    outline: none
}

.contact-form input,
.contact-form select {
    min-height: 49px
}

.contact-form textarea {
    resize: vertical
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    border-color: var(--cg);
    box-shadow: 0 0 0 3px #dca62c1f
}

.contact-form button,
.contact-cta a {
    border: 0;
    background: var(--cg);
    color: #171717;
    padding: 15px 25px;
    border-radius: 4px;
    font-weight: 800;
    cursor: pointer;
    text-decoration: none
}

.contact-form-note {
    font-size: 12px;
    color: #888;
    line-height: 1.6;
    margin: 0
}

.contact-form-status {
    display: none
}

.contact-form-status.success {
    display: block;
    padding: 13px;
    background: #edf8ef;
    color: #24602d;
    border: 1px solid #cce9d1;
    border-radius: 4px;
    font-size: 13px
}

.contact-location {
    padding: 95px 0
}

.contact-location-heading {
    margin-bottom: 28px
}

.contact-map {
    height: 430px;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid var(--cb);
    box-shadow: 0 18px 45px #00000014
}

.contact-map iframe {
    width: 100%;
    height: 100%;
    border: 0
}

.contact-cta {
    background: var(--cd);
    color: #fff;
    padding: 65px 0
}

.contact-cta .contact-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px
}

.contact-cta h2 {
    font-size: clamp(28px, 4vw, 43px);
    margin: 12px 0
}

.contact-cta p {
    max-width: 700px;
    color: #ffffffb3;
    line-height: 1.7
}

.contact-footer {
    background: #101010;
    color: #fff
}

.contact-footer-grid {
    padding: 60px 0;
    display: grid;
    grid-template-columns: 1.5fr .8fr 1fr;
    gap: 50px
}

.contact-footer-grid>div:first-child>strong {
    font-size: 18px
}

.contact-footer-grid em {
    color: var(--cg);
    font-style: normal
}

.contact-footer-grid p,
.contact-footer-grid a,
.contact-footer-grid span {
    display: block;
    color: #ffffff9e;
    font-size: 13px;
    line-height: 1.75;
    text-decoration: none
}

.contact-footer-grid h3 {
    font-size: 15px;
    margin: 0 0 15px
}

.contact-footer-grid a:hover {
    color: var(--cg)
}

.contact-footer-bottom {
    border-top: 1px solid #ffffff17;
    padding: 18px 0;
    color: #ffffff80;
    font-size: 12px
}

@media(max-width:900px) {
    .contact-main-grid {
        grid-template-columns: 1fr
    }

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

@media(max-width:720px) {
    .contact-container {
        width: min(100% - 28px, 1180px)
    }

    .contact-menu-toggle {
        display: block
    }

    .contact-nav {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        display: flex;
        flex-direction: column;
        gap: 0;
        background: #fff;
        border-bottom: 1px solid var(--cb);
        padding: 8px 20px;
        opacity: 0;
        visibility: hidden;
        transform: translateY(-8px);
        transition: .25s
    }

    .contact-nav.is-open {
        opacity: 1;
        visibility: visible;
        transform: none
    }

    .contact-nav a {
        padding: 13px 0;
        border-bottom: 1px solid #eee
    }

    .contact-intro {
        padding: 65px 0 35px
    }

    .contact-form-card,
    .contact-info-card {
        padding: 26px 22px
    }

    .contact-form-row {
        grid-template-columns: 1fr
    }

    .contact-quick-actions,
    .contact-cta .contact-container {
        flex-direction: column
    }

    .contact-location {
        padding: 70px 0
    }

    .contact-map {
        height: 330px
    }

    .contact-footer-grid {
        grid-template-columns: 1fr;
        gap: 30px
    }
}

/* =========================================
   CONTACT FORM STYLING
========================================= */

.quote-form-container {
    background: #ffffff;
    padding: 40px;
    border: 1px solid #e5e5e5;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.06);
}

.quote-form-header {
    margin-bottom: 30px;
}

.quote-form-header .section-eyebrow {
    margin-bottom: 10px;
}

.quote-form-header h2 {
    margin: 0 0 12px;
    font-size: 32px;
    line-height: 1.2;
}

.quote-form-header p:last-child {
    margin: 0;
    color: #777;
    line-height: 1.7;
}


/* =========================
   FORM LAYOUT
========================= */

.quote-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}


/* =========================
   LABELS
========================= */

.quote-form .form-group label {
    display: block;
    margin: 0;
    color: #333;
    font-size: 14px;
    font-weight: 600;
}


/* =========================
   INPUTS / SELECT / TEXTAREA
========================= */

.quote-form input,
.quote-form select,
.quote-form textarea {
    width: 100%;
    box-sizing: border-box;

    padding: 14px 16px;

    border: 1px solid #d9d9d9;
    border-radius: 3px;

    background: #ffffff;
    color: #333;

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

    outline: none;

    transition:
        border-color 0.25s ease,
        box-shadow 0.25s ease,
        background-color 0.25s ease;
}


/* Input height */

.quote-form input,
.quote-form select {
    min-height: 50px;
}


/* Textarea */

.quote-form textarea {
    min-height: 160px;
    resize: vertical;
}


/* Placeholder */

.quote-form input::placeholder,
.quote-form textarea::placeholder {
    color: #aaa;
    opacity: 1;
}


/* =========================
   FOCUS EFFECT
========================= */

.quote-form input:focus,
.quote-form select:focus,
.quote-form textarea:focus {
    border-color: #dca62c;
    box-shadow: 0 0 0 3px rgba(220, 166, 44, 0.12);
}


/* =========================
   SELECT
========================= */

.quote-form select {
    cursor: pointer;
    appearance: auto;
}


/* =========================
   SUBMIT BUTTON
========================= */

.quote-form .quote-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;

    width: fit-content;
    min-width: 170px;

    padding: 14px 24px;

    border: none;
    border-radius: 3px;

    cursor: pointer;

    font-family: inherit;
    font-size: 14px;
    font-weight: 700;

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        background-color 0.2s ease;
}

.quote-form .quote-submit span {
    font-size: 18px;
    line-height: 1;
    transition: transform 0.2s ease;
}

.quote-form .quote-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.quote-form .quote-submit:hover span {
    transform: translateX(4px);
}


/* =========================
   FORM NOTE
========================= */

.quote-form-note {
    margin: -4px 0 0;

    color: #888;

    font-size: 12px;
    line-height: 1.7;
}


/* =========================
   VALIDATION
========================= */

.quote-form input:invalid:not(:placeholder-shown),
.quote-form textarea:invalid:not(:placeholder-shown) {
    border-color: #d7a1a1;
}

.quote-form input:valid:not(:placeholder-shown),
.quote-form textarea:valid:not(:placeholder-shown) {
    border-color: #d9d9d9;
}


/* =========================
   SUCCESS MESSAGE
========================= */

.contact-form-status {
    display: none;
    margin-top: 5px;
    padding: 14px 16px;

    border-left: 3px solid #dca62c;

    background: #f8f8f8;
    color: #555;

    font-size: 13px;
    line-height: 1.6;
}

.contact-form-status.success {
    display: block;
}


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

@media (max-width: 600px) {

    .quote-form-container {
        padding: 25px 20px;
    }

    .quote-form-header h2 {
        font-size: 27px;
    }

    .quote-form {
        gap: 17px;
    }

    .quote-form input,
    .quote-form select,
    .quote-form textarea {
        font-size: 14px;
        padding: 13px 14px;
    }

    .quote-form textarea {
        min-height: 140px;
    }

    .quote-form .quote-submit {
        width: 100%;
    }
}

/* =========================================
   FORM STATUS NOTIFICATION
========================================= */

.contact-form-status {
    display: none;

    margin-bottom: 25px;
    padding: 16px 20px;

    border-radius: 4px;

    font-size: 14px;
    line-height: 1.6;
}


/* SUCCESS */

.contact-form-status.success {
    display: block;

    background: #f1f8f3;
    border: 1px solid #b8d8c0;
    color: #245b32;
}


/* ERROR */

.contact-form-status.error {
    display: block;

    background: #fff4f4;
    border: 1px solid #e2b5b5;
    color: #8a2f2f;
}