/* ============================================================
   JIVAA GROUP
   CONTACT PAGE
   Premium Dark / Editorial Theme
============================================================ */

:root {
    --bg: #050505;
    --bg-soft: #0a0a0b;
    --bg-lighter: #111113;

    --text: #f4f1ea;
    --text-secondary: #a6a39d;
    --text-muted: #66645f;

    --border: rgba(255, 255, 255, 0.10);
    --border-hover: rgba(255, 255, 255, 0.20);

    --container-width: 1240px;

    --transition: 300ms ease;
}


/* ============================================================
   RESET
============================================================ */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background: var(--bg);
    color: var(--text);

    font-family: "Inter", sans-serif;
    font-size: 16px;
    line-height: 1.6;

    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

a {
    color: inherit;
    text-decoration: none;
}


/* ============================================================
   COMMON
============================================================ */

.container {
    width: min(
        calc(100% - 64px),
        var(--container-width)
    );

    margin: 0 auto;
}

.section-label {
    display: block;

    font-size: 10px;
    font-weight: 600;

    letter-spacing: 0.18em;
    text-transform: uppercase;

    color: var(--text-muted);
}

.section-number {
    display: block;

    font-size: 11px;
    font-weight: 500;

    letter-spacing: 0.08em;

    color: var(--text-muted);
}


/* ============================================================
   HEADER
============================================================ */

.site-header {
    height: 82px;

    border-bottom: 1px solid var(--border);

    background: rgba(5, 5, 5, 0.94);

    position: sticky;
    top: 0;

    z-index: 100;

    backdrop-filter: blur(12px);
}

.header-inner {
    height: 100%;

    display: flex;
    align-items: center;
    justify-content: space-between;
}


/* ============================================================
   BRAND
============================================================ */

.brand {
    display: inline-flex;

    align-items: baseline;

    gap: 8px;
}

.brand-name {
    font-size: 20px;
    font-weight: 700;

    letter-spacing: -0.04em;
}

.brand-suffix {
    font-size: 9px;
    font-weight: 600;

    letter-spacing: 0.2em;

    color: var(--text-muted);
}


/* ============================================================
   NAVIGATION
============================================================ */

.main-nav {
    display: flex;

    align-items: center;

    gap: 36px;
}

.main-nav a {
    position: relative;

    font-size: 13px;
    font-weight: 500;

    color: var(--text-muted);

    transition: color var(--transition);
}

.main-nav a:hover,
.main-nav a.active {
    color: var(--text);
}

.main-nav a.active::after {
    content: "";

    position: absolute;

    left: 0;
    right: 0;

    bottom: -9px;

    height: 1px;

    background: var(--text);
}


/* ============================================================
   CONTACT HERO
============================================================ */

.contact-hero {
    position: relative;

    min-height: 58vh;

    display: flex;
    align-items: center;

    overflow: hidden;

    border-bottom: 1px solid var(--border);

    background:
        radial-gradient(
            circle at 82% 45%,
            rgba(65, 58, 48, 0.11),
            transparent 35%
        ),
        radial-gradient(
            circle at 35% 20%,
            rgba(35, 38, 42, 0.10),
            transparent 45%
        ),
        var(--bg);
}

.contact-hero::before {
    content: "";

    position: absolute;

    width: 620px;
    height: 620px;

    right: -260px;
    top: 50%;

    transform: translateY(-50%);

    border: 1px solid rgba(255, 255, 255, 0.035);

    border-radius: 50%;

    pointer-events: none;
}

.contact-hero-inner {
    position: relative;

    z-index: 2;

    padding: 120px 0;
}

.contact-hero .section-label {
    margin-bottom: 35px;
}

.contact-hero h1 {
    max-width: 1000px;

    font-size: clamp(
        60px,
        8vw,
        108px
    );

    line-height: 0.97;

    letter-spacing: -0.065em;

    font-weight: 500;
}

.contact-hero h1 span {
    display: block;

    color: var(--text-secondary);
}

.contact-hero p {
    max-width: 620px;

    margin-top: 45px;

    font-size: 17px;

    line-height: 1.75;

    color: var(--text-secondary);
}


/* ============================================================
   CONTACT SECTION
============================================================ */

.contact-section {
    padding: 150px 0 170px;

    background: var(--bg-soft);

    border-bottom: 1px solid var(--border);
}

.contact-grid {
    display: grid;

    grid-template-columns:
        minmax(280px, 0.8fr)
        minmax(420px, 1.2fr);

    gap: 120px;
}


/* ============================================================
   CONTACT DETAILS
============================================================ */

.contact-details {
    display: flex;

    flex-direction: column;

    align-items: flex-start;
}

.contact-details > .section-label {
    margin-top: 18px;
}

.contact-email {
    margin-top: 70px;
}

.contact-label {
    display: block;

    margin-bottom: 14px;

    font-size: 10px;

    font-weight: 600;

    letter-spacing: 0.15em;

    text-transform: uppercase;

    color: var(--text-muted);
}

.contact-email a {
    display: inline-block;

    padding-bottom: 8px;

    border-bottom: 1px solid var(--border-hover);

    font-size: 21px;

    letter-spacing: -0.02em;

    color: var(--text);

    transition:
        color var(--transition),
        border-color var(--transition);
}

.contact-email a:hover {
    border-color: var(--text);

    color: var(--text);
}

.contact-note {
    max-width: 360px;

    margin-top: 55px;
}

.contact-note p {
    font-size: 13px;

    line-height: 1.75;

    color: var(--text-secondary);
}


/* ============================================================
   BUSINESS LINKS
============================================================ */

.business-links {
    width: 100%;

    margin-top: 55px;

    border-top: 1px solid var(--border);
}

.business-links a {
    display: flex;

    align-items: center;

    justify-content: space-between;

    padding: 17px 0;

    border-bottom: 1px solid var(--border);

    font-size: 13px;

    color: var(--text-secondary);

    transition:
        padding var(--transition),
        color var(--transition);
}

.business-links a:hover {
    padding-left: 8px;

    padding-right: 8px;

    color: var(--text);
}

.business-link-arrow {
    font-size: 16px;

    color: var(--text-muted);

    transition:
        transform var(--transition),
        color var(--transition);
}

.business-links a:hover .business-link-arrow {
    transform: translate(4px, -4px);

    color: var(--text);
}


/* ============================================================
   CONTACT FORM
============================================================ */

.contact-form-wrapper {
    position: relative;
}

.contact-form-wrapper > .section-label {
    margin-top: 18px;
}

.contact-form {
    margin-top: 55px;
}

.form-field {
    margin-bottom: 32px;
}

.form-field label {
    display: block;

    margin-bottom: 10px;

    font-size: 10px;

    font-weight: 600;

    letter-spacing: 0.15em;

    text-transform: uppercase;

    color: var(--text-muted);
}

.form-field input,
.form-field textarea {
    width: 100%;

    padding: 14px 0;

    border: none;

    border-bottom: 1px solid var(--border);

    outline: none;

    background: transparent;

    color: var(--text);

    font-family: inherit;

    font-size: 15px;

    line-height: 1.6;

    border-radius: 0;

    transition:
        border-color var(--transition);
}

.form-field textarea {
    min-height: 130px;

    resize: vertical;
}

.form-field input::placeholder,
.form-field textarea::placeholder {
    color: #4f4e4a;
}

.form-field input:focus,
.form-field textarea:focus {
    border-bottom-color: var(--text-secondary);
}


/* ============================================================
   SUBMIT BUTTON
============================================================ */

.contact-submit {
    display: inline-flex;

    align-items: center;

    gap: 16px;

    margin-top: 15px;

    padding: 14px 0;

    border: none;
    border-bottom: 1px solid var(--text-muted);

    background: transparent;

    color: var(--text);

    font-family: inherit;

    font-size: 13px;

    font-weight: 500;

    cursor: pointer;

    transition:
        gap var(--transition),
        border-color var(--transition);
}

.contact-submit span {
    font-size: 17px;

    line-height: 1;
}

.contact-submit:hover {
    gap: 23px;

    border-color: var(--text);
}


/* ============================================================
   CONTACT CLOSING
============================================================ */

.contact-closing {
    padding: 170px 0;

    background: var(--bg);
}

.contact-closing-content {
    max-width: 1050px;
}

.contact-closing-content h2 {
    margin-top: 25px;

    font-size: clamp(
        52px,
        7vw,
        96px
    );

    line-height: 0.98;

    letter-spacing: -0.06em;

    font-weight: 500;
}

.contact-closing-content h2 span {
    display: block;

    color: var(--text-secondary);
}


/* ============================================================
   FOOTER
============================================================ */

.site-footer {
    padding: 70px 0 25px;

    border-top: 1px solid var(--border);

    background: #030303;
}

.footer-top {
    display: grid;

    grid-template-columns:
        2fr
        1fr
        1fr;

    gap: 80px;

    padding-bottom: 70px;
}

.footer-brand p {
    max-width: 330px;

    margin-top: 20px;

    font-size: 12px;

    line-height: 1.7;

    color: var(--text-muted);
}

.footer-column {
    display: flex;

    flex-direction: column;

    align-items: flex-start;

    gap: 10px;
}

.footer-heading {
    margin-bottom: 10px;

    font-size: 9px;

    font-weight: 600;

    letter-spacing: 0.18em;

    text-transform: uppercase;

    color: var(--text-muted);
}

.footer-column a {
    font-size: 12px;

    color: var(--text-secondary);

    transition: color var(--transition);
}

.footer-column a:hover {
    color: var(--text);
}

.footer-bottom {
    display: flex;

    justify-content: space-between;

    padding-top: 22px;

    border-top: 1px solid var(--border);

    font-size: 10px;

    color: var(--text-muted);
}


/* ============================================================
   TABLET
============================================================ */

@media (max-width: 900px) {

    .container {
        width: min(
            calc(100% - 48px),
            var(--container-width)
        );
    }

    .contact-hero h1 {
        font-size: clamp(
            54px,
            9vw,
            82px
        );
    }

    .contact-grid {
        grid-template-columns: 1fr;

        gap: 100px;
    }

    .contact-form-wrapper {
        max-width: 700px;
    }

    .footer-top {
        grid-template-columns:
            1.5fr
            1fr
            1fr;

        gap: 40px;
    }
}


/* ============================================================
   MOBILE
============================================================ */

@media (max-width: 640px) {

    .container {
        width: calc(100% - 32px);
    }


    /* Header */

    .site-header {
        height: 70px;
    }

    .main-nav {
        gap: 18px;
    }

    .main-nav a {
        font-size: 11px;
    }


    /* Hero */

    .contact-hero {
        min-height: calc(100vh - 70px);
    }

    .contact-hero-inner {
        padding: 90px 0;
    }

    .contact-hero .section-label {
        margin-bottom: 28px;
    }

    .contact-hero h1 {
        font-size: 52px;

        line-height: 0.98;
    }

    .contact-hero p {
        margin-top: 38px;

        font-size: 15px;
    }


    /* Contact */

    .contact-section {
        padding: 100px 0 110px;
    }

    .contact-grid {
        gap: 90px;
    }

    .contact-email {
        margin-top: 50px;
    }

    .contact-email a {
        font-size: 18px;
    }

    .contact-note {
        margin-top: 45px;
    }

    .business-links {
        margin-top: 45px;
    }

    .contact-form {
        margin-top: 45px;
    }


    /* Closing */

    .contact-closing {
        padding: 110px 0;
    }

    .contact-closing-content h2 {
        font-size: 54px;
    }


    /* Footer */

    .footer-top {
        grid-template-columns: 1fr;

        gap: 45px;

        padding-bottom: 50px;
    }

    .footer-bottom {
        flex-direction: column;

        gap: 6px;
    }
}


/* ============================================================
   REDUCED MOTION
============================================================ */

@media (prefers-reduced-motion: reduce) {

    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
    }
}

.form-message {
    margin-bottom: 28px;
    padding: 14px 16px;
    border: 1px solid var(--border);
    font-size: 14px;
}

.form-success {
    color: #d8e8d5;
}

.form-error {
    color: #e5b9b9;
}