/* =========================================================
   CIVILLENCE ENGINEERING
   CONTACT PAGE
========================================================= */

:root {
    --contact-navy: #06182B;
    --contact-navy-dark: #03101E;
    --contact-orange: #F79400;
    --contact-orange-dark: #D87800;
    --contact-white: #FFFFFF;
    --contact-grey: #F5F7FA;
    --contact-border: #E3E8ED;
    --contact-text: #152235;
    --contact-muted: #687586;
}


/* =========================================================
   HERO
========================================================= */

.contact-hero {
    background:
        linear-gradient(
            115deg,
            var(--contact-navy-dark),
            var(--contact-navy)
        );

    color: var(--contact-white);
    padding: 100px 0;
    overflow: hidden;
}


.contact-hero-container {
    display: grid;
    grid-template-columns: minmax(0, 1.3fr) minmax(300px, .7fr);
    align-items: center;
    gap: 80px;
}


.contact-eyebrow {
    display: inline-block;
    margin-bottom: 20px;

    color: var(--contact-orange);

    font-size: 13px;
    font-weight: 800;
    letter-spacing: 2px;
}


.contact-hero h1 {
    max-width: 760px;

    margin: 0 0 25px;

    font-size: clamp(42px, 5vw, 72px);
    line-height: .98;
    letter-spacing: -2px;
}


.contact-hero h1 span {
    display: block;
    color: var(--contact-orange);
}


.contact-hero-content > p {
    max-width: 680px;

    margin: 0;

    color: rgba(255,255,255,.76);

    font-size: 18px;
    line-height: 1.8;
}


.contact-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;

    margin-top: 35px;
}


/* =========================================================
   BUTTONS
========================================================= */

.contact-btn {
    min-height: 52px;

    padding: 0 22px;

    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 15px;

    text-decoration: none;

    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .4px;

    transition: .25s ease;
}


.contact-btn-primary {
    background: var(--contact-orange);
    color: var(--contact-navy);
}


.contact-btn-primary:hover {
    background: var(--contact-white);
}


.contact-btn-outline {
    border: 1px solid rgba(255,255,255,.35);
    color: var(--contact-white);
}


.contact-btn-outline:hover {
    background: var(--contact-white);
    color: var(--contact-navy);
}


/* =========================================================
   HERO PANEL
========================================================= */

.contact-hero-panel {
    position: relative;

    min-height: 280px;

    padding: 45px;

    display: flex;
    flex-direction: column;
    justify-content: flex-end;

    border: 1px solid rgba(255,255,255,.15);

    background:
        linear-gradient(
            145deg,
            rgba(255,255,255,.08),
            rgba(255,255,255,.02)
        );

    box-shadow: 0 25px 60px rgba(0,0,0,.2);
}


.contact-hero-panel::before {
    content: "";

    position: absolute;

    top: 0;
    left: 0;

    width: 70px;
    height: 5px;

    background: var(--contact-orange);
}


.contact-hero-panel span {
    margin-bottom: 15px;

    color: var(--contact-orange);

    font-size: 12px;
    font-weight: 800;
    letter-spacing: 2px;
}


.contact-hero-panel strong {
    font-size: 30px;
    line-height: 1.1;
}


.contact-hero-panel small {
    margin-top: 12px;

    color: rgba(255,255,255,.55);

    font-size: 13px;
}


/* =========================================================
   INFORMATION
========================================================= */

.contact-information {
    padding: 95px 0;
    background: var(--contact-white);
}


.contact-section-heading {
    max-width: 720px;
    margin-bottom: 50px;
}


.contact-section-label {
    display: block;

    margin-bottom: 14px;

    color: var(--contact-orange);

    font-size: 12px;
    font-weight: 800;
    letter-spacing: 2px;
}


.contact-section-heading h2,
.contact-form-wrapper h2 {
    margin: 0 0 18px;

    color: var(--contact-navy);

    font-size: clamp(34px, 4vw, 52px);
    line-height: 1.05;
}


.contact-section-heading h2 span,
.contact-form-wrapper h2 span {
    display: block;
    color: var(--contact-orange);
}


.contact-section-heading p {
    margin: 0;

    color: var(--contact-muted);

    line-height: 1.8;
}


.contact-information-grid {
    display: grid;

    grid-template-columns:
        repeat(4, minmax(0, 1fr));

    gap: 18px;
}


.contact-info-card {
    min-height: 145px;

    padding: 25px;

    display: flex;
    align-items: flex-start;
    gap: 18px;

    background: var(--contact-grey);

    border: 1px solid var(--contact-border);

    text-decoration: none;

    color: var(--contact-text);

    transition: .25s ease;
}


.contact-info-card:hover {
    transform: translateY(-5px);

    background: var(--contact-white);

    border-color: var(--contact-orange);

    box-shadow: 0 15px 35px rgba(6,24,43,.08);
}


.contact-info-icon {
    width: 45px;
    height: 45px;

    flex: 0 0 45px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: var(--contact-navy);

    color: var(--contact-orange);

    font-size: 18px;
    font-weight: 800;
}


.contact-info-card span {
    display: block;

    margin-bottom: 7px;

    color: var(--contact-muted);

    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1.5px;
}


.contact-info-card strong {
    display: block;

    color: var(--contact-navy);

    font-size: 15px;
    line-height: 1.4;
}


.contact-info-card small {
    display: block;

    margin-top: 6px;

    color: var(--contact-muted);

    font-size: 11px;
}


/* =========================================================
   MAIN CONTACT AREA
========================================================= */

.contact-main {
    padding: 100px 0;

    background: var(--contact-grey);
}


.contact-main-grid {
    display: grid;

    grid-template-columns:
        minmax(0, 1.35fr)
        minmax(300px, .65fr);

    gap: 70px;
}


.contact-form-wrapper {
    background: var(--contact-white);

    padding: 45px;

    border: 1px solid var(--contact-border);

    box-shadow: 0 20px 55px rgba(6,24,43,.06);
}


.contact-form-intro {
    margin-bottom: 35px;

    color: var(--contact-muted);

    line-height: 1.7;
}


.contact-form {
    display: flex;
    flex-direction: column;
    gap: 22px;
}


.contact-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;

    gap: 18px;
}


.contact-field {
    display: flex;
    flex-direction: column;
    gap: 8px;
}


.contact-field label {
    color: var(--contact-navy);

    font-size: 12px;
    font-weight: 800;
}


.contact-field input,
.contact-field select,
.contact-field textarea {
    width: 100%;

    padding: 14px 15px;

    border: 1px solid var(--contact-border);

    background: #FBFCFD;

    color: var(--contact-text);

    font: inherit;

    outline: none;

    transition: .2s ease;
}


.contact-field input,
.contact-field select {
    height: 50px;
}


.contact-field textarea {
    resize: vertical;
    min-height: 150px;
}


.contact-field input:focus,
.contact-field select:focus,
.contact-field textarea:focus {
    border-color: var(--contact-orange);

    background: var(--contact-white);

    box-shadow: 0 0 0 3px rgba(247,148,0,.10);
}


.contact-submit {
    min-height: 54px;

    border: 0;

    background: var(--contact-navy);

    color: var(--contact-white);

    padding: 0 24px;

    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 20px;

    cursor: pointer;

    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .5px;

    transition: .25s ease;
}


.contact-submit:hover {
    background: var(--contact-orange);
    color: var(--contact-navy);
}


/* =========================================================
   SIDE CONTENT
========================================================= */

.contact-side {
    display: flex;
    flex-direction: column;
    gap: 20px;
}


.contact-side-card {
    padding: 38px;

    background: var(--contact-navy);

    color: var(--contact-white);
}


.contact-side-card h3 {
    margin: 0 0 18px;

    font-size: 30px;
    line-height: 1.1;
}


.contact-side-card h3 span {
    color: var(--contact-orange);
}


.contact-side-card > p {
    color: rgba(255,255,255,.68);

    line-height: 1.75;
}


.contact-side-points {
    margin-top: 30px;

    display: flex;
    flex-direction: column;
    gap: 20px;
}


.contact-side-points div {
    display: flex;
    align-items: center;
    gap: 15px;

    padding-top: 18px;

    border-top: 1px solid rgba(255,255,255,.12);
}


.contact-side-points strong {
    color: var(--contact-orange);

    font-size: 13px;
}


.contact-side-points span {
    color: rgba(255,255,255,.75);

    font-size: 13px;
    line-height: 1.4;
}


/* =========================================================
   WHATSAPP CARD
========================================================= */

.contact-whatsapp-card {
    padding: 35px;

    background: var(--contact-orange);

    color: var(--contact-navy);
}


.contact-whatsapp-card > span {
    font-size: 10px;
    font-weight: 900;
    letter-spacing: 2px;
}


.contact-whatsapp-card h3 {
    margin: 12px 0;

    font-size: 28px;
}


.contact-whatsapp-card p {
    margin: 0 0 22px;

    line-height: 1.6;
}


.contact-whatsapp-card a {
    min-height: 48px;

    padding: 0 18px;

    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 18px;

    background: var(--contact-navy);

    color: var(--contact-white);

    text-decoration: none;

    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
}


.contact-whatsapp-card a:hover {
    background: var(--contact-white);
    color: var(--contact-navy);
}


/* =========================================================
   FINAL CTA
========================================================= */

.contact-final-cta {
    padding: 75px 0;

    background: var(--contact-navy);
}


.contact-final-inner {
    display: flex;

    align-items: center;
    justify-content: space-between;

    gap: 40px;
}


.contact-final-inner > div > span {
    color: var(--contact-orange);

    font-size: 11px;
    font-weight: 800;
    letter-spacing: 2px;
}


.contact-final-inner h2 {
    margin: 12px 0 8px;

    color: var(--contact-white);

    font-size: 38px;
}


.contact-final-inner p {
    margin: 0;

    color: rgba(255,255,255,.65);
}


.contact-final-button {
    min-height: 55px;

    padding: 0 25px;

    display: inline-flex;
    align-items: center;
    gap: 20px;

    background: var(--contact-orange);

    color: var(--contact-navy);

    text-decoration: none;

    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;

    white-space: nowrap;
}


.contact-final-button:hover {
    background: var(--contact-white);
}


/* =========================================================
   FLOATING WHATSAPP
========================================================= */

.floating-whatsapp {
    position: fixed;

    right: 24px;
    bottom: 24px;

    z-index: 99999;

    min-height: 58px;

    padding: 7px 18px 7px 7px;

    display: flex;
    align-items: center;
    gap: 10px;

    border-radius: 40px;

    background: #25D366;

    color: #FFFFFF;

    text-decoration: none;

    box-shadow:
        0 10px 30px rgba(0,0,0,.20);

    transition:
        transform .25s ease,
        box-shadow .25s ease;
}


.floating-whatsapp:hover {
    transform: translateY(-4px);

    box-shadow:
        0 15px 35px rgba(0,0,0,.25);
}


.whatsapp-icon {
    width: 44px;
    height: 44px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: #FFFFFF;

    color: #25D366;

    font-size: 19px;
    font-weight: 900;
}


.whatsapp-text {
    font-size: 12px;
    font-weight: 800;
}


/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 1100px) {

    .contact-information-grid {
        grid-template-columns: 1fr 1fr;
    }

}


@media (max-width: 900px) {

    .contact-hero {
        padding: 75px 0;
    }


    .contact-hero-container,
    .contact-main-grid {
        grid-template-columns: 1fr;

        gap: 40px;
    }


    .contact-hero-panel {
        min-height: 220px;
    }


    .contact-main {
        padding: 70px 0;
    }

}


@media (max-width: 650px) {

    .contact-information {
        padding: 65px 0;
    }


    .contact-information-grid {
        grid-template-columns: 1fr;
    }


    .contact-form-wrapper {
        padding: 28px 20px;
    }


    .contact-form-row {
        grid-template-columns: 1fr;
    }


    .contact-hero-actions {
        flex-direction: column;
        align-items: stretch;
    }


    .contact-btn {
        width: 100%;
    }


    .contact-final-inner {
        flex-direction: column;
        align-items: flex-start;
    }


    .contact-final-button {
        width: 100%;
    }


    .floating-whatsapp {
        right: 15px;
        bottom: 15px;
    }


    .whatsapp-text {
        display: none;
    }


    .floating-whatsapp {
        width: 58px;
        height: 58px;

        padding: 7px;

        justify-content: center;
    }

}
/* =========================================================
   FORM FEEDBACK
========================================================= */
.contact-form-message{margin:0 0 22px;padding:16px 18px;font-size:13px;line-height:1.65;border-left:4px solid #f7941d;background:#f7f9fa;color:#08233d}.contact-form-success{border-left-color:#2e9d5b;background:#eef8f1}.contact-form-error{border-left-color:#c83d3d;background:#fff2f2}.contact-form-error ul{margin:8px 0 0;padding-left:20px}
