/* =========================================================
   RP SKY POOL
   CONTACT PAGE
========================================================= */

.rp-contact-page {
    background: #ffffff;
    color: #071830;
}


/* =========================================================
   HERO
========================================================= */

.contact-hero {
    position: relative;

    min-height: 540px;

    display: flex;
    align-items: center;

    overflow: hidden;

    background: #071830;
}


.contact-hero-bg {
    position: absolute;
    inset: 0;

    background-image:
        linear-gradient(
            90deg,
            rgba(7, 24, 48, .95) 0%,
            rgba(7, 24, 48, .76) 48%,
            rgba(7, 24, 48, .25) 100%
        ),
        url("../img/project/Luxury Resort Infinity Pool-2.jpg");

    background-size: cover;
    background-position: center;
}


.contact-hero .container {
    position: relative;
    z-index: 2;
}


.contact-hero-content {
    max-width: 780px;

    padding: 100px 0;
}


.contact-breadcrumb {
    display: flex;
    align-items: center;
    gap: 10px;

    margin-bottom: 28px;

    font-size: 12px;
}


.contact-breadcrumb a {
    color: rgba(255,255,255,.65);

    text-decoration: none;

    transition: color .25s ease;
}


.contact-breadcrumb a:hover {
    color: #d4af37;
}


.contact-breadcrumb span {
    color: rgba(255,255,255,.35);
}


.contact-breadcrumb strong {
    color: #d4af37;
}


.contact-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 12px;

    margin-bottom: 18px;

    color: #a98527;

    font-size: 11px;
    font-weight: 700;

    letter-spacing: 2.5px;
}


.contact-eyebrow::before {
    content: "";

    width: 35px;
    height: 1px;

    background: currentColor;
}


.contact-hero .contact-eyebrow,
.contact-final-cta .contact-eyebrow {
    color: #d4af37;
}


.contact-hero h1 {
    margin: 0 0 25px;

    color: #ffffff;

    font-size: clamp(44px, 5vw, 68px);
    line-height: 1.05;

    font-weight: 600;

    letter-spacing: -2px;
}


.contact-hero h1 span {
    display: block;

    color: #d4af37;
}


.contact-hero p {
    max-width: 650px;

    margin: 0;

    color: rgba(255,255,255,.82);

    font-size: 17px;
    line-height: 1.8;
}


/* =========================================================
   INTRO
========================================================= */

.contact-intro {
    padding: 110px 0;
}


.contact-intro-grid {
    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 80px;

    align-items: stretch;
}


.contact-intro-copy {
    padding: 25px 0;
}


.contact-intro-copy h2 {
    max-width: 600px;

    margin: 0 0 25px;

    color: #071830;

    font-size: clamp(36px, 4vw, 52px);
    line-height: 1.1;

    font-weight: 600;

    letter-spacing: -1.5px;
}


.contact-intro-copy h2 span {
    display: block;

    color: #b08a22;
}


.contact-intro-copy > p {
    max-width: 650px;

    margin: 0 0 18px;

    color: #687585;

    font-size: 15px;
    line-height: 1.9;
}


.contact-direct-links {
    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 15px;

    margin-top: 35px;
}


.contact-direct-links a {
    display: flex;

    align-items: center;

    gap: 15px;

    padding: 18px;

    border: 1px solid #e2e7ec;

    color: #071830;

    text-decoration: none;

    transition:
        border-color .25s ease,
        transform .25s ease,
        box-shadow .25s ease;
}


.contact-direct-links a:hover {
    border-color: #d4af37;

    transform: translateY(-3px);

    box-shadow: 0 12px 30px rgba(7,24,48,.08);
}


.contact-icon {
    width: 42px;
    height: 42px;

    display: flex;
    align-items: center;
    justify-content: center;

    flex: 0 0 auto;

    background: #071830;

    color: #d4af37;

    font-size: 17px;
}


.contact-direct-links small {
    display: block;

    margin-bottom: 4px;

    color: #9a7a26;

    font-size: 9px;
    font-weight: 700;

    letter-spacing: 1.5px;
}


.contact-direct-links strong {
    display: block;

    font-size: 13px;

    font-weight: 600;

    word-break: break-word;
}


/* =========================================================
   CONTACT INFO CARD
========================================================= */

.contact-info-card {
    padding: 38px;

    background: #071830;

    color: #ffffff;

    box-shadow: 0 25px 60px rgba(7,24,48,.14);
}


.contact-info-card-top {
    display: flex;

    flex-direction: column;

    gap: 7px;

    padding-bottom: 28px;

    border-bottom: 1px solid rgba(255,255,255,.12);
}


.contact-info-card-top > span {
    color: #d4af37;

    font-size: 11px;
    font-weight: 700;

    letter-spacing: 2px;
}


.contact-info-card-top strong {
    color: rgba(255,255,255,.6);

    font-size: 12px;

    font-weight: 500;
}


.contact-info-item {
    display: grid;

    grid-template-columns: 38px 1fr;

    gap: 18px;

    padding: 30px 0;

    border-bottom: 1px solid rgba(255,255,255,.1);
}


.contact-info-item:last-child {
    border-bottom: 0;

    padding-bottom: 0;
}


.contact-info-item > span {
    color: #d4af37;

    font-size: 12px;
    font-weight: 700;
}


.contact-info-item small {
    display: block;

    margin-bottom: 7px;

    color: #b08a22;

    font-size: 9px;
    font-weight: 700;

    letter-spacing: 1.8px;
}


.contact-info-item h3 {
    margin: 0 0 12px;

    color: #ffffff;

    font-size: 21px;

    font-weight: 600;
}


.contact-info-item p {
    margin: 0 0 13px;

    color: rgba(255,255,255,.63);

    font-size: 13px;
    line-height: 1.75;
}


.contact-info-item a {
    color: #d4af37;

    font-size: 12px;
    font-weight: 700;

    text-decoration: none;
}


/* =========================================================
   FORM SECTION
========================================================= */

.contact-form-section {
    padding: 115px 0;

    background: #f5f7f9;
}


.contact-form-layout {
    display: grid;

    grid-template-columns: .75fr 1.25fr;

    gap: 85px;

    align-items: start;
}


.contact-form-heading {
    padding-top: 20px;
}


.contact-form-heading h2 {
    margin: 0 0 20px;

    color: #071830;

    font-size: clamp(36px, 4vw, 50px);
    line-height: 1.1;

    font-weight: 600;

    letter-spacing: -1.5px;
}


.contact-form-heading h2 span {
    display: block;

    color: #b08a22;
}


.contact-form-heading > p {
    max-width: 500px;

    margin: 0;

    color: #687585;

    font-size: 15px;
    line-height: 1.85;
}


.contact-form-points {
    display: grid;

    gap: 13px;

    margin-top: 35px;
}


.contact-form-points div {
    display: flex;

    align-items: center;

    gap: 12px;

    color: #344255;

    font-size: 13px;
}


.contact-form-points span {
    color: #b08a22;

    font-weight: 800;
}


/* =========================================================
   FORM CARD
========================================================= */

.contact-form-card {
    padding: 45px;

    background: #ffffff;

    border: 1px solid #e1e6eb;

    box-shadow: 0 20px 50px rgba(7,24,48,.07);
}


.rp-contact-form {
    width: 100%;
}


.form-row {
    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 20px;

    margin-bottom: 20px;
}


.form-field {
    margin-bottom: 20px;
}


.form-row .form-field {
    margin-bottom: 0;
}


.form-field label {
    display: block;

    margin-bottom: 8px;

    color: #071830;

    font-size: 11px;
    font-weight: 700;

    letter-spacing: .5px;
}


.form-field input,
.form-field select,
.form-field textarea {
    width: 100%;

    box-sizing: border-box;

    padding: 14px 15px;

    border: 1px solid #dce2e8;

    border-radius: 0;

    outline: none;

    background: #ffffff;

    color: #071830;

    font-family: inherit;

    font-size: 13px;

    transition:
        border-color .25s ease,
        box-shadow .25s ease;
}


.form-field input,
.form-field select {
    min-height: 50px;
}


.form-field textarea {
    min-height: 150px;

    resize: vertical;

    line-height: 1.7;
}


.form-field input::placeholder,
.form-field textarea::placeholder {
    color: #9ca6b2;
}


.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
    border-color: #b08a22;

    box-shadow: 0 0 0 3px rgba(176,138,34,.08);
}


.form-field select {
    appearance: auto;

    cursor: pointer;
}


.contact-submit {
    width: 100%;

    min-height: 54px;

    display: flex;

    align-items: center;
    justify-content: center;

    gap: 15px;

    margin-top: 5px;

    padding: 15px 25px;

    border: 0;

    background: #071830;

    color: #ffffff;

    font-family: inherit;

    font-size: 13px;
    font-weight: 700;

    cursor: pointer;

    transition:
        background .25s ease,
        transform .25s ease;
}


.contact-submit span {
    color: #d4af37;

    font-size: 19px;
}


.contact-submit:hover {
    background: #102a4d;

    transform: translateY(-2px);
}


.form-note {
    margin: 14px 0 0;

    color: #89939f;

    font-size: 10px;

    text-align: center;
}


/* =========================================================
   SERVICES
========================================================= */

.contact-services {
    padding: 115px 0;
}


.contact-section-heading {
    margin-bottom: 55px;
}


.contact-section-heading.center {
    max-width: 760px;

    margin-left: auto;
    margin-right: auto;

    text-align: center;
}


.contact-section-heading.center .contact-eyebrow {
    justify-content: center;
}


.contact-section-heading h2 {
    margin: 0;

    color: #071830;

    font-size: clamp(36px, 4vw, 52px);
    line-height: 1.1;

    font-weight: 600;

    letter-spacing: -1.5px;
}


.contact-section-heading h2 span {
    color: #b08a22;
}


.contact-section-heading p {
    max-width: 650px;

    margin: 18px auto 0;

    color: #687585;

    font-size: 15px;
    line-height: 1.8;
}


.contact-service-grid {
    display: grid;

    grid-template-columns: repeat(3, minmax(0, 1fr));

    border-top: 1px solid #dce2e8;
    border-left: 1px solid #dce2e8;
}


.contact-service-grid a {
    min-height: 260px;

    display: flex;

    flex-direction: column;

    padding: 30px;

    border-right: 1px solid #dce2e8;
    border-bottom: 1px solid #dce2e8;

    color: #071830;

    text-decoration: none;

    transition:
        background .25s ease,
        color .25s ease;
}


.contact-service-grid a:hover {
    background: #071830;

    color: #ffffff;
}


.contact-service-grid a > span {
    color: #b08a22;

    font-size: 11px;
    font-weight: 700;
}


.contact-service-grid h3 {
    margin: 45px 0 12px;

    font-size: 19px;

    line-height: 1.4;

    font-weight: 600;
}


.contact-service-grid p {
    margin: 0;

    color: #718090;

    font-size: 13px;
    line-height: 1.7;
}


.contact-service-grid a:hover p {
    color: rgba(255,255,255,.62);
}


.contact-service-grid strong {
    margin-top: auto;

    padding-top: 25px;

    color: #a98527;

    font-size: 11px;
}


.contact-service-grid a:hover strong {
    color: #d4af37;
}


/* =========================================================
   LOCATIONS
========================================================= */

.contact-locations {
    padding: 115px 0;

    background: #f5f7f9;
}


.location-cards {
    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 30px;
}


.location-card {
    position: relative;

    padding: 42px;

    background: #ffffff;

    border: 1px solid #e1e6eb;

    transition:
        transform .3s ease,
        box-shadow .3s ease;
}


.location-card:hover {
    transform: translateY(-5px);

    box-shadow: 0 20px 45px rgba(7,24,48,.08);
}


.location-card-number {
    position: absolute;

    top: 25px;
    right: 25px;

    color: #d5dbe2;

    font-size: 42px;

    font-weight: 700;

    line-height: 1;
}


.location-card > span {
    display: block;

    margin-bottom: 12px;

    color: #a98527;

    font-size: 10px;
    font-weight: 700;

    letter-spacing: 2px;
}


.location-card h3 {
    margin: 0 0 18px;

    color: #071830;

    font-size: 27px;

    font-weight: 600;
}


.location-card p {
    max-width: 500px;

    margin: 0 0 22px;

    color: #687585;

    font-size: 13px;

    line-height: 1.8;
}


.location-contact {
    display: flex;

    flex-wrap: wrap;

    gap: 20px;

    margin-bottom: 18px;
}


.location-contact a {
    color: #071830;

    font-size: 13px;
    font-weight: 700;

    text-decoration: none;
}


.location-email {
    color: #b08a22;

    font-size: 12px;
    font-weight: 700;

    text-decoration: none;
}


/* =========================================================
   FINAL CTA
========================================================= */

.contact-final-cta {
    position: relative;

    padding: 120px 0;

    overflow: hidden;

    background: #071830;
}


.contact-final-bg {
    position: absolute;
    inset: 0;

    background-image:
        linear-gradient(
            90deg,
            rgba(7,24,48,.96) 0%,
            rgba(7,24,48,.78) 55%,
            rgba(7,24,48,.35) 100%
        ),
        url("../img/project/Twilight Luxury Infinity Pool Retreat.jpg");

    background-size: cover;
    background-position: center;
}


.contact-final-cta .container {
    position: relative;

    z-index: 2;
}


.contact-final-content {
    max-width: 750px;
}


.contact-final-content h2 {
    margin: 0 0 22px;

    color: #ffffff;

    font-size: clamp(40px, 4.5vw, 60px);
    line-height: 1.08;

    font-weight: 600;

    letter-spacing: -1.5px;
}


.contact-final-content h2 span {
    display: block;

    color: #d4af37;
}


.contact-final-content p {
    max-width: 650px;

    margin: 0 0 32px;

    color: rgba(255,255,255,.75);

    font-size: 16px;
    line-height: 1.8;
}


.contact-final-button {
    display: inline-flex;

    align-items: center;

    gap: 18px;

    padding: 15px 25px;

    background: #d4af37;

    color: #071830;

    font-size: 13px;
    font-weight: 700;

    text-decoration: none;

    transition:
        transform .25s ease,
        background .25s ease;
}


.contact-final-button span {
    font-size: 19px;
}


.contact-final-button:hover {
    transform: translateY(-3px);

    background: #e3c45d;
}


/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 1000px) {

    .contact-intro-grid {
        grid-template-columns: 1fr;

        gap: 50px;
    }


    .contact-form-layout {
        grid-template-columns: 1fr;

        gap: 50px;
    }


    .contact-service-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

}


@media (max-width: 700px) {

    /* HERO */

    .contact-hero {
        min-height: 500px;
    }


    .contact-hero-content {
        padding: 80px 0;
    }


    .contact-hero h1 {
        font-size: 43px;

        letter-spacing: -1px;
    }


    .contact-hero p {
        font-size: 15px;
    }


    /* INTRO */

    .contact-intro {
        padding: 75px 0;
    }


    .contact-intro-copy h2 {
        font-size: 38px;
    }


    .contact-direct-links {
        grid-template-columns: 1fr;
    }


    .contact-info-card {
        padding: 28px 22px;
    }


    /* FORM */

    .contact-form-section {
        padding: 80px 0;
    }


    .contact-form-heading h2 {
        font-size: 38px;
    }


    .contact-form-card {
        padding: 25px 20px;
    }


    .form-row {
        grid-template-columns: 1fr;

        gap: 0;
    }


    .form-row .form-field {
        margin-bottom: 20px;
    }


    /* SERVICES */

    .contact-services {
        padding: 80px 0;
    }


    .contact-section-heading {
        margin-bottom: 35px;
    }


    .contact-section-heading h2 {
        font-size: 38px;
    }


    .contact-service-grid {
        grid-template-columns: 1fr;
    }


    .contact-service-grid a {
        min-height: 220px;
    }


    /* LOCATIONS */

    .contact-locations {
        padding: 80px 0;
    }


    .location-cards {
        grid-template-columns: 1fr;
    }


    .location-card {
        padding: 30px 25px;
    }


    .location-card h3 {
        font-size: 24px;
    }


    /* CTA */

    .contact-final-cta {
        padding: 80px 0;
    }


    .contact-final-content h2 {
        font-size: 40px;
    }

}