@import url('https://fonts.googleapis.com/css?family=Poppins:300,400,500,600,700');

:root {
    --ink: #25334f;
    --muted: #66819d;
    --soft: #a5bbca;
    --line: #bddfea;
    --cyan: #168eac;
    --mint: #d9f3f2;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body.contact-page {
    min-height: 100vh;
    margin: 0;
    color: var(--ink);
    font-family: 'Poppins', sans-serif;
    background:
        radial-gradient(circle at 84% 18%, rgba(255, 255, 255, .78), transparent 25%),
        linear-gradient(116deg, #e8f8f7 0%, #e4f6fb 52%, #d8f0f7 100%);
}

.contact-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: min(1370px, calc(100% - 48px));
    margin: 0 auto;
    padding: 24px 0;
}

.contact-nav img { width: 94px; }

.contact-nav a {
    color: var(--ink);
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
}

.contact-nav a:hover { color: var(--cyan); }

.contact-layout {
    display: grid;
    grid-template-columns: minmax(310px, .78fr) minmax(580px, 1fr);
    gap: clamp(50px, 8vw, 125px);
    align-items: center;
    width: min(1370px, calc(100% - 48px));
    min-height: calc(100vh - 108px);
    margin: 0 auto;
    padding: 40px 0 62px;
}

.contact-intro { padding-bottom: 14px; }

.contact-eyebrow {
    display: block;
    margin-bottom: 23px;
    color: #329fbe;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 3px;
}

.contact-intro h1 {
    max-width: 570px;
    margin: 0 0 28px;
    color: var(--ink);
    font-size: clamp(46px, 4.7vw, 66px);
    font-weight: 600;
    line-height: 1.12;
    letter-spacing: -1.8px;
}

.contact-intro > p {
    max-width: 570px;
    margin: 0 0 48px;
    color: var(--muted);
    font-size: 19px;
    line-height: 1.72;
}

.contact-details { display: grid; gap: 23px; }

.contact-detail span {
    display: block;
    margin-bottom: 4px;
    color: var(--soft);
    font-size: 16px;
}

.contact-detail a,
.contact-detail p {
    margin: 0;
    color: var(--ink);
    font-size: 16px;
    line-height: 1.65;
    text-decoration: none;
}

.contact-card {
    padding: 44px;
    border: 1px solid rgba(255, 255, 255, .82);
    border-radius: 40px;
    background: rgba(255, 255, 255, .84);
    box-shadow: 0 24px 55px rgba(67, 135, 161, .13);
}

.contact-form { display: grid; gap: 22px; }

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

.contact-field label,
.contact-interest legend {
    display: block;
    margin-bottom: 8px;
    color: var(--ink);
    font-size: 16px;
    font-weight: 500;
}

.contact-field input,
.contact-field textarea {
    width: 100%;
    border: 1px solid var(--line);
    border-radius: 30px;
    outline: 0;
    padding: 13px 17px;
    color: var(--ink);
    background: rgba(255, 255, 255, .6);
    font: 400 16px 'Poppins', sans-serif;
}

.contact-field textarea {
    min-height: 127px;
    resize: vertical;
    border-radius: 60px;
}

.contact-field input::placeholder,
.contact-field textarea::placeholder { color: #b3bdc9; }

.contact-field input:focus,
.contact-field textarea:focus { border-color: #77c7da; }

.contact-interest {
    min-width: 0;
    margin: 0;
    padding: 0;
    border: 0;
}

.interest-options { display: flex; flex-wrap: wrap; gap: 8px; }

.interest-options input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.interest-options label {
    display: block;
    cursor: pointer;
    border: 1px solid #d4dfe5;
    border-radius: 24px;
    padding: 9px 17px;
    color: #6c7a8d;
    font-size: 16px;
    line-height: 1.35;
    transition: .2s ease;
}

.interest-options input:checked + label,
.interest-options label:hover {
    border-color: var(--cyan);
    background: var(--cyan);
    color: #fff;
}

.contact-submit {
    justify-self: start;
    border: 0;
    border-radius: 28px;
    padding: 13px 24px;
    color: #fff;
    background: var(--cyan);
    cursor: pointer;
    font: 600 16px 'Poppins', sans-serif;
}

.contact-submit:hover { background: #127a95; }

/* Conversly luxury contact theme */
body.contact-page {
    color: #5d6b78;
    background:
        radial-gradient(circle at 84% 18%, rgba(37, 199, 154, .15), transparent 22%),
        radial-gradient(circle at 8% 88%, rgba(214, 179, 106, .12), transparent 26%),
        linear-gradient(120deg, #f7f3ec 0%, #eef7f5 56%, #e7f3f4 100%);
}

.contact-nav {
    position: relative;
    z-index: 1;
}

.contact-nav a:last-child {
    border: 1px solid rgba(214, 179, 106, .4);
    border-radius: 999px;
    padding: 9px 17px;
    color: #102a43;
    background: rgba(255, 253, 249, .7);
    box-shadow: 0 8px 18px rgba(13, 27, 42, .05);
}

.contact-nav a:last-child:hover {
    border-color: #25c79a;
    color: #0d1b2a;
    background: #25c79a;
}

.contact-intro h1 {
    color: #102a43;
    font-weight: 700;
}

.contact-eyebrow {
    color: #159d83;
    font-weight: 700;
}

.contact-intro > p {
    color: #687886;
}

.contact-card {
    position: relative;
    overflow: hidden;
    border-color: rgba(214, 179, 106, .35);
    border-radius: 30px;
    background: rgba(255, 253, 249, .9);
    box-shadow: 0 28px 64px rgba(13, 27, 42, .13), 0 0 0 8px rgba(255, 255, 255, .25);
}

.contact-card::before {
    position: absolute;
    top: -110px;
    right: -75px;
    width: 230px;
    height: 230px;
    border: 1px solid rgba(37, 199, 154, .2);
    border-radius: 50%;
    content: "";
    box-shadow: 0 0 0 18px rgba(214, 179, 106, .05), 0 0 0 42px rgba(37, 199, 154, .03);
    pointer-events: none;
}

.contact-form {
    position: relative;
    z-index: 1;
}

.contact-field input,
.contact-field textarea {
    border-color: rgba(214, 179, 106, .32);
    background: #fff;
}

.contact-field input:focus,
.contact-field textarea:focus {
    border-color: #25c79a;
    box-shadow: 0 0 0 4px rgba(37, 199, 154, .1);
}

.interest-options label {
    border-color: rgba(214, 179, 106, .32);
    color: #687886;
    background: #fffdf9;
}

.interest-options input:checked + label,
.interest-options label:hover {
    border-color: #25c79a;
    color: #0d1b2a;
    background: #25c79a;
}

.contact-submit {
    color: #0d1b2a;
    background: #25c79a;
    box-shadow: 0 14px 28px rgba(37, 199, 154, .2);
}

.contact-submit:hover {
    color: #0d1b2a;
    background: #d6b36a;
}

@media (max-width: 900px) {
    .contact-layout {
        grid-template-columns: 1fr;
        min-height: auto;
        gap: 42px;
        padding-top: 28px;
    }

    .contact-intro h1 { max-width: 680px; }
    .contact-intro > p { margin-bottom: 30px; }
}

@media (max-width: 600px) {
    .contact-nav,
    .contact-layout { width: min(100% - 32px, 520px); }
    .contact-nav { padding: 16px 0; }
    .contact-nav img { width: 78px; }
    .contact-layout { gap: 30px; padding: 30px 0 40px; }
    .contact-eyebrow { margin-bottom: 14px; font-size: 12px; }
    .contact-intro h1 { margin-bottom: 18px; font-size: 39px; letter-spacing: -1px; }
    .contact-intro > p { font-size: 15px; line-height: 1.65; }
    .contact-card { padding: 25px 18px; border-radius: 24px; }
    .form-row { grid-template-columns: 1fr; gap: 18px; }
    .contact-field label,
    .contact-interest legend,
    .contact-detail span,
    .contact-detail a,
    .contact-detail p { font-size: 14px; }
    .interest-options label { font-size: 13px; padding: 8px 13px; }
}

.site-footer {
    position: relative;
    overflow: hidden;
    margin-top: 56px;
    padding: 70px max(24px, calc((100vw - 1160px) / 2)) 0;
    background: linear-gradient(135deg, #0d1b2a, #12364b);
    color: rgba(255, 255, 255, .76);
}

.site-footer::before {
    position: absolute;
    top: -190px;
    right: 7%;
    width: 420px;
    height: 420px;
    border: 1px solid rgba(37, 199, 154, .2);
    border-radius: 50%;
    box-shadow: 0 0 0 35px rgba(37, 199, 154, .04), 0 0 0 75px rgba(214, 179, 106, .035);
    content: "";
}

.site-footer-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1.05fr 1fr 1fr 1.1fr;
    gap: 42px;
    max-width: 1160px;
    margin: 0 auto;
}

.site-footer-brand p,
.site-footer-grid > div > p {
    color: rgba(255, 255, 255, .68);
    font-size: 13px;
    line-height: 1.8;
}

.site-footer-logo {
    display: inline-block;
    padding: 8px;
    border-radius: 15px;
    background: rgba(255, 255, 255, .94);
}

.site-footer-logo img { display: block; width: 120px; }
.site-footer h3 { margin: 4px 0 18px; color: #fff; font-size: 15px; }
.site-footer a { color: rgba(255, 255, 255, .72); text-decoration: none; transition: color .2s ease; }
.site-footer a:hover { color: #74e0bc; }

.site-footer-social { display: flex; gap: 8px; margin-top: 18px; }
.site-footer-social a { display: grid; width: 30px; height: 30px; place-items: center; border: 1px solid rgba(255, 255, 255, .22); border-radius: 50%; font-size: 11px; }

.site-footer-cta {
    min-height: 190px;
    padding: 20px;
    border: 1px solid rgba(37, 199, 154, .35);
    border-radius: 18px;
    background: rgba(255, 255, 255, .1);
    box-shadow: 0 14px 35px rgba(0, 0, 0, .16);
}

.site-footer-cta-icon { display: grid; width: 34px; height: 34px; place-items: center; border-radius: 10px; color: #0d1b2a; background: #74e0bc; }
.site-footer-cta small { display: block; margin-top: 16px; color: #74e0bc; font-size: 9px; font-weight: 700; letter-spacing: 1px; }
.site-footer-cta strong { display: block; margin: 8px 0 15px; color: #fff; font-size: 16px; line-height: 1.35; }
.site-footer-cta > a { color: #74e0bc; font-size: 11px; font-weight: 700; }
.site-footer-cta > a span { margin-left: 5px; }

.site-footer-bottom {
    position: relative;
    z-index: 1;
    max-width: 1160px;
    margin: 54px auto 0;
    padding: 18px 0 20px;
    border-top: 1px solid rgba(255, 255, 255, .13);
    color: rgba(255, 255, 255, .52);
    font-size: 12px;
    text-align: center;
}

@media (max-width: 760px) {
    .site-footer { padding-top: 52px; }
    .site-footer-grid { grid-template-columns: 1fr 1fr; gap: 30px 20px; }
    .site-footer-cta { grid-column: 1 / -1; }
}

@media (max-width: 480px) {
    .site-footer-grid { grid-template-columns: 1fr; }
    .site-footer-cta { grid-column: auto; }
}
