/* =========================================================
   AMBIANCE BY EPISTLE — CONTACT PAGE
========================================================= */

:root {
    --dark: #17191b;
    --dark-soft: #222528;
    --cream: #f6f3ed;
    --white: #ffffff;
    --text: #292b2d;
    --muted: #777875;

    --orange: #c96b3d;
    --yellow: #e6b84d;
    --blue: #3c7ea8;
    --green: #557b68;
    --purple: #76547e;

    --border: rgba(23, 25, 27, 0.12);

    --container: 1180px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "DM Sans", sans-serif;
    background: var(--cream);
    color: var(--text);
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

button,
input,
textarea,
select {
    font: inherit;
}

.container {
    width: min(92%, var(--container));
    margin: auto;
}


/* =========================================================
   HEADER
========================================================= */

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;

    background: rgba(246, 243, 237, 0.94);
    backdrop-filter: blur(14px);

    border-bottom: 1px solid transparent;

    transition: .3s ease;
}

.site-header.scrolled {
    border-color: var(--border);
    box-shadow: 0 10px 35px rgba(0,0,0,.05);
}

.nav-container {
    height: 82px;

    display: flex;
    align-items: center;
    justify-content: space-between;
}

.brand {
    display: flex;
    align-items: center;
    gap: 10px;
}

.brand-mark {
    width: 43px;
    height: 43px;

    display: grid;
    place-items: center;

    background: var(--dark);
    color: white;

    font-family: "Manrope", sans-serif;
    font-size: 13px;
    font-weight: 800;
}

.brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1;
}

.brand-text strong {
    font-family: "Manrope", sans-serif;
    font-size: 17px;
}

.brand-text small {
    margin-top: 5px;

    color: var(--muted);

    font-size: 9px;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 30px;
}

.main-nav > a {
    position: relative;

    color: #555;
    font-size: 13px;
    font-weight: 600;

    transition: .25s ease;
}

.main-nav > a:hover,
.main-nav > a.active {
    color: var(--dark);
}

.main-nav > a.active::after {
    content: "";

    position: absolute;
    left: 0;
    bottom: -8px;

    width: 100%;
    height: 2px;

    background: var(--orange);
}

.nav-cta {
    padding: 12px 18px;
    background: var(--dark);
    color: white !important;
}

.nav-cta:hover {
    background: var(--orange);
}

.menu-toggle {
    display: none;

    border: 0;
    background: transparent;

    cursor: pointer;
}

.menu-toggle span {
    display: block;

    width: 25px;
    height: 2px;

    margin: 5px 0;

    background: var(--dark);
}


/* =========================================================
   HERO
========================================================= */

.contact-hero {
    position: relative;

    min-height: 590px;

    padding-top: 82px;

    display: flex;
    align-items: center;

    overflow: hidden;
}

.hero-content {
    position: relative;
    z-index: 5;
}

.eyebrow {
    display: inline-block;

    margin-bottom: 20px;

    color: var(--orange);

    font-size: 11px;
    font-weight: 800;
    letter-spacing: 3px;
}

.hero-content h1 {
    max-width: 850px;

    font-family: "Manrope", sans-serif;

    font-size: clamp(52px, 7vw, 92px);
    line-height: .98;

    letter-spacing: -4px;
}

.hero-content h1 span {
    display: block;
    color: var(--orange);
}

.hero-content p {
    max-width: 620px;

    margin-top: 30px;

    color: var(--muted);

    font-size: 16px;
    line-height: 1.8;
}


/* PAINT DECORATION */

.hero-paint {
    position: absolute;

    border-radius: 100px;

    opacity: .8;
}

.paint-one {
    width: 480px;
    height: 95px;

    right: -100px;
    top: 180px;

    background: var(--yellow);

    transform: rotate(-18deg);
}

.paint-two {
    width: 430px;
    height: 80px;

    right: -50px;
    top: 330px;

    background: var(--blue);

    transform: rotate(15deg);
}


/* =========================================================
   CONTACT CARDS
========================================================= */

.contact-info {
    position: relative;
    z-index: 10;

    margin-top: -45px;
    padding-bottom: 110px;
}

.contact-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}

.contact-card {
    min-height: 145px;

    padding: 25px;

    display: flex;
    align-items: center;
    gap: 18px;

    background: white;

    border: 1px solid var(--border);

    box-shadow: 0 20px 50px rgba(0,0,0,.07);

    transition: .3s ease;
}

.contact-card:hover {
    transform: translateY(-7px);
    box-shadow: 0 25px 55px rgba(0,0,0,.11);
}

.card-icon {
    width: 50px;
    height: 50px;

    flex-shrink: 0;

    display: grid;
    place-items: center;

    background: var(--dark);
    color: white;

    font-family: "Manrope", sans-serif;
    font-size: 15px;
    font-weight: 800;
}

.whatsapp-icon {
    background: var(--green);
}

.contact-card div:nth-child(2) {
    display: flex;
    flex-direction: column;
}

.contact-card span {
    margin-bottom: 6px;

    color: var(--muted);

    font-size: 10px;
    font-weight: 700;

    letter-spacing: 2px;
    text-transform: uppercase;
}

.contact-card strong {
    font-family: "Manrope", sans-serif;
    font-size: 15px;
}

.contact-card small {
    margin-top: 5px;
    color: var(--muted);
    font-size: 11px;
}

.contact-card > b {
    margin-left: auto;
    font-size: 20px;

    transition: .3s ease;
}

.contact-card:hover > b {
    transform: translateX(5px);
    color: var(--orange);
}


/* =========================================================
   QUOTE SECTION
========================================================= */

.quote-section {
    padding: 130px 0;

    background: white;
}

.quote-grid {
    display: grid;
    grid-template-columns: .8fr 1.2fr;
    gap: 100px;
    align-items: start;
}

.quote-intro h2,
.section-heading h2,
.process-heading h2,
.faq-intro h2,
.final-content h2 {
    font-family: "Manrope", sans-serif;

    font-size: clamp(40px, 5vw, 65px);

    line-height: 1.04;

    letter-spacing: -3px;
}

.quote-intro h2 span,
.faq-intro h2 span,
.final-content h2 span {
    display: block;
    color: var(--orange);
}

.quote-intro > p {
    max-width: 480px;

    margin-top: 25px;

    color: var(--muted);

    line-height: 1.8;
}


/* NOTE */

.quote-note {
    display: flex;
    gap: 15px;

    max-width: 460px;

    margin-top: 45px;
    padding-top: 25px;

    border-top: 1px solid var(--border);
}

.note-mark {
    width: 35px;
    height: 35px;

    flex-shrink: 0;

    display: grid;
    place-items: center;

    border-radius: 50%;

    background: var(--orange);
    color: white;

    font-weight: 700;
}

.quote-note strong {
    font-family: "Manrope", sans-serif;
    font-size: 14px;
}

.quote-note p {
    margin-top: 7px;

    color: var(--muted);

    font-size: 12px;
    line-height: 1.6;
}


/* =========================================================
   FORM
========================================================= */

.quote-form-wrap {
    padding: 45px;

    background: var(--cream);

    border: 1px solid var(--border);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    margin-bottom: 23px;
}

.form-group label {
    display: block;

    margin-bottom: 9px;

    font-size: 11px;
    font-weight: 700;

    letter-spacing: .8px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;

    padding: 15px 16px;

    border: 1px solid #d9d5cc;

    background: white;

    color: var(--text);

    outline: none;

    font-size: 13px;

    transition: .25s ease;
}

.form-group textarea {
    resize: vertical;
    min-height: 150px;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--orange);

    box-shadow: 0 0 0 3px rgba(201,107,61,.08);
}

.form-group input.error,
.form-group select.error,
.form-group textarea.error {
    border-color: #bd4d4d;
}

.error-message {
    display: block;

    min-height: 15px;

    margin-top: 5px;

    color: #bd4d4d;

    font-size: 10px;
}

.submit-button {
    width: 100%;

    padding: 17px 20px;

    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;

    border: 0;

    background: var(--dark);
    color: white;

    cursor: pointer;

    font-size: 13px;
    font-weight: 700;

    transition: .3s ease;
}

.submit-button:hover {
    background: var(--orange);
    transform: translateY(-2px);
}

.submit-button span {
    font-size: 18px;
}

.form-disclaimer {
    margin-top: 15px;

    color: var(--muted);

    font-size: 10px;
    line-height: 1.6;

    text-align: center;
}


/* =========================================================
   LOCATION
========================================================= */

.location-section {
    padding: 130px 0;
}

.section-heading {
    max-width: 650px;
    margin-bottom: 55px;
}

.section-heading p {
    margin-top: 20px;

    color: var(--muted);

    line-height: 1.8;
}

.location-grid {
    display: grid;
    grid-template-columns: 1.4fr .6fr;
    gap: 25px;
}


/* MAP */

.map-wrapper {
    position: relative;

    min-height: 520px;

    overflow: hidden;

    background: #ddd;

    box-shadow: 0 25px 60px rgba(0,0,0,.09);
}

.map-wrapper iframe {
    width: 100%;
    height: 520px;

    display: block;

    border: 0;
}

.map-button {
    position: absolute;

    left: 25px;
    bottom: 25px;

    padding: 13px 18px;

    background: var(--dark);
    color: white;

    font-size: 12px;
    font-weight: 700;

    box-shadow: 0 10px 25px rgba(0,0,0,.2);

    transition: .3s ease;
}

.map-button:hover {
    background: var(--orange);
}

.map-button span {
    margin-left: 8px;
}


/* LOCATION DETAILS */

.location-details {
    padding: 45px;

    background: var(--dark);
    color: white;
}

.location-icon {
    width: 48px;
    height: 48px;

    margin-bottom: 45px;

    display: grid;
    place-items: center;

    border: 1px solid rgba(255,255,255,.2);

    font-size: 22px;
}

.location-details .eyebrow {
    color: var(--orange);
}

.location-details h3 {
    margin-top: 5px;

    font-family: "Manrope", sans-serif;
    font-size: 25px;
}

.location-details > p {
    margin-top: 20px;

    color: #aaa;

    font-size: 13px;
    line-height: 1.9;
}

.location-divider {
    width: 100%;
    height: 1px;

    margin: 35px 0;

    background: rgba(255,255,255,.12);
}

.direction-item {
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.direction-item strong {
    font-size: 13px;
}

.direction-item span {
    color: #999;
    font-size: 11px;
    line-height: 1.6;
}

.direction-button {
    display: inline-flex;
    gap: 14px;

    margin-top: 25px;
    padding: 13px 18px;

    background: var(--orange);

    font-size: 12px;
    font-weight: 700;

    transition: .3s ease;
}

.direction-button:hover {
    background: white;
    color: var(--dark);
}


/* =========================================================
   PROCESS
========================================================= */

.contact-process {
    padding: 130px 0;

    background: var(--dark);
    color: white;
}

.process-heading {
    margin-bottom: 60px;
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
}

.process-card {
    position: relative;

    padding: 30px;

    min-height: 280px;

    border-left: 1px solid rgba(255,255,255,.12);
}

.process-card > span {
    color: var(--orange);

    font-family: "Manrope", sans-serif;

    font-size: 12px;
    font-weight: 800;
}

.process-icon {
    width: 45px;
    height: 45px;

    margin: 40px 0 25px;

    display: grid;
    place-items: center;

    border: 1px solid rgba(255,255,255,.2);

    color: var(--orange);

    font-weight: 700;
}

.process-card h3 {
    font-family: "Manrope", sans-serif;
    font-size: 19px;
}

.process-card p {
    margin-top: 12px;

    color: #999;

    font-size: 12px;
    line-height: 1.7;
}


/* =========================================================
   FAQ
========================================================= */

.faq-section {
    padding: 130px 0;

    background: white;
}

.faq-grid {
    display: grid;
    grid-template-columns: .75fr 1.25fr;
    gap: 100px;
}

.faq-intro p {
    max-width: 400px;

    margin-top: 25px;

    color: var(--muted);

    line-height: 1.8;
}

.faq-list {
    border-top: 1px solid var(--border);
}

.faq-item {
    border-bottom: 1px solid var(--border);
}

.faq-question {
    width: 100%;

    padding: 23px 0;

    display: flex;
    justify-content: space-between;
    align-items: center;

    border: 0;
    background: transparent;

    color: var(--dark);

    text-align: left;

    font-family: "Manrope", sans-serif;
    font-size: 14px;
    font-weight: 700;

    cursor: pointer;
}

.faq-question span {
    font-size: 22px;
    font-weight: 400;

    transition: .3s ease;
}

.faq-item.open .faq-question span {
    transform: rotate(45deg);
    color: var(--orange);
}

.faq-answer {
    max-height: 0;

    overflow: hidden;

    transition: max-height .35s ease;
}

.faq-answer p {
    max-width: 650px;

    padding-bottom: 22px;

    color: var(--muted);

    font-size: 13px;
    line-height: 1.8;
}


/* =========================================================
   FINAL CTA
========================================================= */

.final-cta {
    position: relative;

    padding: 140px 0;

    overflow: hidden;

    background: var(--cream);

    text-align: center;
}

.final-content {
    position: relative;
    z-index: 5;
}

.final-content h2 {
    max-width: 850px;

    margin: auto;
}

.final-actions {
    margin-top: 35px;

    display: flex;
    justify-content: center;
    gap: 12px;
}

.final-button {
    padding: 16px 23px;

    display: inline-flex;
    align-items: center;
    gap: 17px;

    background: var(--dark);
    color: white;

    font-size: 12px;
    font-weight: 700;

    transition: .3s ease;
}

.final-button:hover {
    background: var(--orange);
    transform: translateY(-3px);
}

.final-button.secondary {
    background: white;
    color: var(--dark);

    border: 1px solid var(--border);
}

.final-button.secondary:hover {
    background: var(--dark);
    color: white;
}

.cta-paint {
    position: absolute;

    width: 400px;
    height: 80px;

    border-radius: 100px;

    opacity: .75;
}

.paint-a {
    top: 70px;
    left: -100px;

    background: var(--orange);

    transform: rotate(20deg);
}

.paint-b {
    right: -100px;
    top: 150px;

    background: var(--yellow);

    transform: rotate(-15deg);
}

.paint-c {
    bottom: 40px;
    left: 40%;

    background: var(--blue);

    transform: rotate(8deg);
}


/* =========================================================
   FOOTER
========================================================= */

.site-footer {
    padding-top: 80px;

    background: var(--dark);
    color: white;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr .6fr 1fr;

    gap: 70px;

    padding-bottom: 70px;
}

.footer-brand p {
    max-width: 360px;

    margin-top: 25px;

    color: #999;

    font-size: 13px;
    line-height: 1.7;
}

.footer-column {
    display: flex;
    flex-direction: column;

    gap: 13px;
}

.footer-column h4 {
    margin-bottom: 10px;

    font-size: 12px;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.footer-column a,
.footer-column p {
    color: #999;

    font-size: 13px;
    line-height: 1.7;
}

.footer-column a:hover {
    color: white;
}

.footer-bottom {
    padding: 25px 0;

    display: flex;
    align-items: center;
    justify-content: space-between;

    border-top: 1px solid rgba(255,255,255,.1);
}

.footer-bottom p,
.footer-bottom a {
    color: #777;
    font-size: 11px;
}


/* =========================================================
   BACK TO TOP
========================================================= */

.back-top {
    position: fixed;

    right: 25px;
    bottom: 25px;

    width: 45px;
    height: 45px;

    border: 0;

    background: var(--dark);
    color: white;

    cursor: pointer;

    opacity: 0;
    pointer-events: none;

    transform: translateY(20px);

    transition: .3s ease;

    z-index: 100;
}

.back-top.show {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

.back-top:hover {
    background: var(--orange);
}


/* =========================================================
   REVEAL
========================================================= */

.reveal {
    opacity: 0;

    transform: translateY(35px);

    transition:
        opacity .8s ease,
        transform .8s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}


/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 950px) {

    .main-nav {
        position: absolute;

        top: 82px;
        left: 0;

        width: 100%;

        padding: 25px;

        display: none;
        flex-direction: column;
        align-items: flex-start;

        background: var(--cream);

        border-bottom: 1px solid var(--border);
    }

    .main-nav.open {
        display: flex;
    }

    .menu-toggle {
        display: block;
    }

    .contact-cards {
        grid-template-columns: 1fr;
    }

    .quote-grid,
    .faq-grid {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .location-grid {
        grid-template-columns: 1fr;
    }

    .process-grid {
        grid-template-columns: 1fr 1fr;
    }

    .process-card {
        border-bottom: 1px solid rgba(255,255,255,.12);
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .footer-brand {
        grid-column: 1 / -1;
    }
}


@media (max-width: 600px) {

    .nav-container {
        height: 72px;
    }

    .main-nav {
        top: 72px;
    }

    .contact-hero {
        min-height: 550px;
        padding-top: 72px;
    }

    .hero-content h1 {
        font-size: 51px;
        letter-spacing: -3px;
    }

    .hero-paint {
        opacity: .45;
    }

    .contact-info {
        margin-top: 0;
        padding-top: 30px;
    }

    .quote-section,
    .location-section,
    .contact-process,
    .faq-section,
    .final-cta {
        padding: 90px 0;
    }

    .quote-form-wrap {
        padding: 25px;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .map-wrapper,
    .map-wrapper iframe {
        min-height: 400px;
        height: 400px;
    }

    .location-details {
        padding: 35px;
    }

    .process-grid {
        grid-template-columns: 1fr;
    }

    .process-card {
        min-height: auto;
        padding: 30px 0;
        border-left: 0;
    }

    .process-icon {
        margin-top: 25px;
    }

    .final-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .final-button {
        justify-content: center;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .footer-brand {
        grid-column: auto;
    }

    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }

    .cta-paint {
        opacity: .4;
    }
}


@media (prefers-reduced-motion: reduce) {

    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: .01ms !important;
        transition-duration: .01ms !important;
    }
}