/* =========================================================
   CONTACT SECTION
========================================================= */

.contact-section {
    position: relative;

    padding: 80px 0 88px;

    background: var(--surface-flow);

    color: #1f2933;
}


/* =========================================================
   HEADING
========================================================= */

.contact-heading {
    max-width: 1080px;

    margin: 0 auto 48px;

    text-align: center;
}

.contact-eyebrow {
    margin: 0 0 12px;

    color: #a97829;

    font-size: 10px;
    font-weight: 600;
    line-height: 1;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.contact-title {
    max-width: 1000px;

    margin: 0 auto;

    color: #252b34;

    font-size: clamp(26px, 3.3vw, 44px);
    font-weight: 500;
    line-height: 1.22;
    letter-spacing: -0.035em;
}

.contact-subtitle {
    max-width: 640px;

    margin: 14px auto 0;

    color: #717b85;

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


/* =========================================================
   CONTACT OPTIONS
========================================================= */

.contact-options {
    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 18px;
    align-items: stretch;

    max-width: 1280px;

    margin: 0 auto;
}

.contact-option {
    position: relative;

    display: flex;
    flex-direction: column;
    align-items: center;

    min-height: 176px;

    padding: 22px 18px 18px 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;

    text-align: center;
    transition: transform 180ms ease, opacity 180ms ease;
}

.contact-option:hover {
    transform: translateY(-3px);
    opacity: 0.92;
}

.contact-option::before {
    content: "";
    width: 34px;
    height: 3px;
    margin-bottom: 16px;
    border-radius: 999px;
    background: linear-gradient(90deg, #5369df, #8aa2ff);
}


/* =========================================================
   OPTION TITLE
========================================================= */

.contact-option h3 {
    margin: 0 0 16px;

    color: #252b34;

    font-size: 16px;
    font-weight: 600;
    line-height: 1.3;
    letter-spacing: -0.02em;
}


.contact-meta {
    margin: 0;

    color: #818a93;

    font-size: 11px;
    line-height: 1.55;
}

.contact-meta-line,
.contact-meta-block {
    display: block;
}

.contact-meta-rich {
    display: grid;
    gap: 10px;
    width: 100%;
}

.contact-text-link {
    display: inline-flex;
    align-items: flex-start;
    justify-content: center;
    gap: 8px;
    color: #3651d4;
    text-decoration: none;
    transition: color 180ms ease, transform 180ms ease, opacity 180ms ease;
}

.contact-text-link:hover {
    color: #2139b3;
    transform: translateY(-1px);
}

.contact-text-link-block {
    justify-content: flex-start;
    text-align: left;
}

.contact-inline-icon {
    flex: 0 0 auto;
    width: 15px;
    height: 15px;
    margin-top: 2px;
    color: rgba(83, 105, 223, 0.9);
}

.contact-meta-block + .contact-meta-block,
.contact-meta-line + .contact-meta-line,
.contact-text-link + .contact-text-link {
    margin-top: 8px;
}

.contact-meta-block strong {
    display: block;
    margin-bottom: 4px;
    color: #39424c;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}


/* =========================================================
   DARK MODE
========================================================= */

:root[data-theme="dark"] .contact-section {
    background: var(--surface-flow);
    color: #ffffff;
}

:root[data-theme="dark"] .contact-title,
:root[data-theme="dark"] .contact-option h3 {
    color: #f5f7f8;
}

:root[data-theme="dark"] .contact-option {
    background: transparent;
    box-shadow: none;
}

:root[data-theme="dark"] .contact-option:hover {
    opacity: 0.92;
}

:root[data-theme="dark"] .contact-subtitle {
    color: rgba(228, 237, 244, 0.62);
}

:root[data-theme="dark"] .contact-option::before {
    background: linear-gradient(90deg, #9fd1eb, #dcb467);
}

:root[data-theme="dark"] .contact-text-link {
    color: #9fd1eb;
}

:root[data-theme="dark"] .contact-text-link:hover {
    color: #c0e3f3;
}

:root[data-theme="dark"] .contact-meta {
    color: rgba(228, 237, 244, 0.48);
}

:root[data-theme="dark"] .contact-meta-block strong {
    color: rgba(228, 237, 244, 0.72);
}

:root[data-theme="dark"] .contact-inline-icon {
    color: rgba(159, 209, 235, 0.88);
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1023px) {

    .contact-section {
        padding: 66px 0 72px;
    }

    .contact-heading {
        margin-bottom: 38px;
    }

    .contact-title {
        max-width: 820px;

        font-size: clamp(24px, 3.8vw, 36px);
    }

    .contact-options {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 14px;
    }

    .contact-option {
        min-height: 164px;

        padding-right: 18px;
        padding-left: 18px;
    }

    .contact-option h3 {
        margin-bottom: 18px;

        font-size: 16px;
    }

    .contact-inline-icon {
        width: 14px;
        height: 14px;
    }
}


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

@media (max-width: 767px) {

    .contact-section {
        padding: 50px 0 56px;
    }

    .contact-heading {
        margin-bottom: 28px;

        text-align: left;
    }

    .contact-eyebrow {
        margin-bottom: 12px;

        font-size: 10px;
    }

    .contact-title {
        max-width: 420px;

        margin: 0;

        font-size: 23px;
        line-height: 1.18;
    }

    .contact-subtitle {
        max-width: 460px;

        margin: 12px 0 0;

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


    /* Options */

    .contact-options {
        grid-template-columns: 1fr;
    }

    .contact-option {
        align-items: flex-start;

        min-height: auto;

        padding: 18px 0;

        text-align: left;
    }

    .contact-option h3 {
        margin-bottom: 14px;

        font-size: 15px;
    }

    .contact-text-link {
        gap: 7px;
    }

    .contact-meta {
        margin-top: 8px;
    }
}


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

@media (max-width: 479px) {

    .contact-section {
        padding: 44px 0 48px;
    }

    .contact-title {
        font-size: 21px;
    }

    .contact-text-link {
        width: 100%;
    }

    .contact-text-link:not(.contact-text-link-block) {
        justify-content: flex-start;
    }
}
