/* =========================================
   PRIME ESTATE - SINGLE PAGE
   PREMIUM REAL ESTATE DESIGN
========================================= */

:root {
    --black: #090909;
    --black-soft: #151515;
    --gold: #c9a45c;
    --gold-light: #e6ca83;
    --white: #ffffff;
    --text: #222222;
    --muted: #777777;
    --border: #dedad1;
    --green: #25d366;
    --error: #c0392b;
}


/* =========================================
   RESET
========================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "DM Sans", sans-serif;
    background: #111;
    color: var(--text);
    min-height: 100vh;
}

a {
    text-decoration: none;
}

button,
input,
select {
    font-family: inherit;
}


/* =========================================
   MAIN PAGE
========================================= */

.page {
    min-height: 100vh;
    position: relative;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}


/* =========================================
   REAL ESTATE BACKGROUND
========================================= */

.bg {
    position: fixed;
    inset: 0;

    background-image: url("https://images.unsplash.com/photo-1600607687920-4e2a09cf159d?auto=format&fit=crop&w=2200&q=90");

    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;

    z-index: -3;
}


/* =========================================
   DARK OVERLAY
========================================= */

.shade {
    position: fixed;
    inset: 0;

    background:
        linear-gradient(
            90deg,
            rgba(0, 0, 0, 0.90) 0%,
            rgba(0, 0, 0, 0.72) 42%,
            rgba(0, 0, 0, 0.45) 100%
        );

    z-index: -2;
}


/* =========================================
   HEADER
========================================= */

header {
    width: min(1180px, 92%);
    margin: 0 auto;

    padding: 25px 0;

    display: flex;
    align-items: center;
    justify-content: space-between;

    position: relative;
    z-index: 5;
}

.logo {
    color: var(--white);

    font-size: 23px;
    font-weight: 800;

    letter-spacing: 1.5px;
}

.logo span {
    color: var(--gold-light);
}

.top-text {
    color: rgba(255, 255, 255, 0.75);

    font-size: 10px;
    font-weight: 700;

    letter-spacing: 2px;
}


/* =========================================
   MAIN CONTENT
========================================= */

main {
    width: min(1180px, 92%);
    margin: auto;

    flex: 1;

    display: grid;

    grid-template-columns: minmax(0, 1fr) 470px;

    gap: 70px;

    align-items: center;

    padding: 35px 0 55px;
}


/* =========================================
   LEFT INTRO
========================================= */

.intro {
    max-width: 620px;
}

.tag {
    color: var(--gold-light);

    font-size: 11px;
    font-weight: 800;

    letter-spacing: 2.5px;

    margin-bottom: 20px;

    display: flex;
    align-items: center;
    gap: 10px;
}

.tag::before {
    content: "";

    width: 32px;
    height: 1px;

    background: var(--gold);
}

h1 {
    color: var(--white);

    font-family: "Playfair Display", serif;

    font-size: clamp(48px, 6vw, 76px);

    font-weight: 500;

    line-height: 1.03;

    letter-spacing: -1px;
}

h1 span {
    color: var(--gold-light);
}

.intro p {
    color: rgba(255, 255, 255, 0.78);

    max-width: 560px;

    margin-top: 24px;

    font-size: 16px;

    line-height: 1.75;
}


/* =========================================
   FORM CARD
========================================= */

.card {
    width: 100%;

    background: rgba(255, 255, 255, 0.97);

    border: 1px solid rgba(255, 255, 255, 0.5);

    border-radius: 18px;

    padding: 30px;

    box-shadow:
        0 30px 80px rgba(0, 0, 0, 0.38);

    backdrop-filter: blur(10px);

    position: relative;
}


/* Gold top line */

.card::before {
    content: "";

    position: absolute;

    top: 0;
    left: 35px;
    right: 35px;

    height: 3px;

    background: linear-gradient(
        90deg,
        transparent,
        var(--gold),
        transparent
    );

    border-radius: 0 0 5px 5px;
}


/* =========================================
   CARD TITLE
========================================= */

.card-title {
    margin-bottom: 23px;
}

.card-title small {
    display: block;

    color: #9a7737;

    font-size: 10px;

    font-weight: 800;

    letter-spacing: 2px;

    margin-bottom: 5px;
}

.card-title h2 {
    color: #181818;

    font-family: "Playfair Display", serif;

    font-size: 28px;

    font-weight: 500;

    line-height: 1.2;
}


/* =========================================
   FORM
========================================= */

.fields {
    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 14px;
}

.field {
    min-width: 0;
}

.field label {
    display: block;

    color: #333;

    font-size: 11px;

    font-weight: 700;

    margin-bottom: 6px;
}


/* =========================================
   INPUT / SELECT
========================================= */

.field input,
.field select {
    width: 100%;

    height: 44px;

    border: 1px solid var(--border);

    border-radius: 7px;

    background: #ffffff;

    color: #222;

    padding: 0 12px;

    font-size: 13px;

    outline: none;

    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}

.field input::placeholder {
    color: #a2a2a2;
}

.field input:focus,
.field select:focus {
    border-color: var(--gold);

    box-shadow:
        0 0 0 3px rgba(201, 164, 92, 0.12);
}


/* =========================================
   SELECT ARROW
========================================= */

.field select {
    cursor: pointer;
}


/* =========================================
   ERROR MESSAGE
========================================= */

#error {
    display: none;

    margin-top: 15px;

    padding: 10px 12px;

    border-radius: 7px;

    background: #fff1f1;

    border: 1px solid #efcaca;

    color: var(--error);

    font-size: 12px;

    line-height: 1.4;
}


/* =========================================
   WHATSAPP BUTTON
========================================= */

button[type="submit"] {
    width: 100%;

    min-height: 48px;

    border: none;

    border-radius: 8px;

    background: var(--green);

    color: #ffffff;

    margin-top: 17px;

    padding: 13px 16px;

    display: flex;

    align-items: center;

    justify-content: center;

    gap: 10px;

    cursor: pointer;

    font-size: 14px;

    font-weight: 800;

    box-shadow:
        0 8px 20px rgba(37, 211, 102, 0.15);

    transition:
        transform 0.2s ease,
        background 0.2s ease,
        box-shadow 0.2s ease;
}

button[type="submit"]:hover {
    background: #20bd5a;

    transform: translateY(-2px);

    box-shadow:
        0 12px 28px rgba(37, 211, 102, 0.22);
}

button[type="submit"]:active {
    transform: translateY(0);
}

button[type="submit"] span {
    font-size: 11px;

    padding-right: 10px;

    border-right: 1px solid rgba(255, 255, 255, 0.35);
}

button[type="submit"] b {
    font-size: 18px;

    line-height: 1;
}


/* =========================================
   PRIVACY
========================================= */

.privacy {
    text-align: center;

    color: #999;

    font-size: 9px;

    margin-top: 10px;
}


/* =========================================
   FOOTER
========================================= */

footer {
    width: min(1180px, 92%);

    margin: 0 auto;

    padding: 15px 0 22px;

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 20px;

    color: rgba(255, 255, 255, 0.65);

    font-size: 10px;

    position: relative;
}

footer span {
    color: var(--gold-light);

    font-weight: 800;

    letter-spacing: 1.2px;
}

footer i {
    font-style: normal;
}


/* =========================================
   TABLET
========================================= */

@media (max-width: 900px) {

    main {
        grid-template-columns: 1fr;

        gap: 35px;

        padding-top: 40px;
    }

    .intro {
        max-width: 700px;

        text-align: center;

        margin: auto;
    }

    .tag {
        justify-content: center;
    }

    .intro p {
        margin-left: auto;
        margin-right: auto;
    }

    .card {
        width: min(520px, 100%);

        margin: auto;
    }
}


/* =========================================
   MOBILE
========================================= */

@media (max-width: 600px) {

    .page {
        min-height: 100svh;
    }

    .bg {
        background-position: 62% center;
    }

    .shade {
        background:
            linear-gradient(
                180deg,
                rgba(0, 0, 0, 0.82),
                rgba(0, 0, 0, 0.65)
            );
    }

    header {
        width: 90%;

        padding: 18px 0;
    }

    .logo {
        font-size: 19px;
    }

    .top-text {
        display: none;
    }

    main {
        width: 90%;

        padding:
            25px 0
            35px;

        gap: 28px;
    }

    .intro {
        text-align: center;
    }

    .tag {
        font-size: 9px;

        letter-spacing: 1.7px;

        margin-bottom: 14px;
    }

    .tag::before {
        width: 20px;
    }

    h1 {
        font-size: 43px;

        letter-spacing: -0.5px;
    }

    .intro p {
        font-size: 13px;

        line-height: 1.6;

        margin-top: 15px;
    }

    .card {
        padding: 21px;

        border-radius: 14px;
    }

    .card::before {
        left: 25px;
        right: 25px;
    }

    .card-title {
        margin-bottom: 18px;
    }

    .card-title h2 {
        font-size: 24px;
    }

    .fields {
        grid-template-columns: 1fr;

        gap: 12px;
    }

    .field input,
    .field select {
        height: 43px;
    }

    button[type="submit"] {
        font-size: 13px;

        padding: 14px 10px;
    }

    footer {
        width: 90%;

        justify-content: center;

        padding-bottom: 17px;
    }

    footer i {
        display: none;
    }
}


/* =========================================
   SMALL MOBILE
========================================= */

@media (max-width: 380px) {

    h1 {
        font-size: 38px;
    }

    .card {
        padding: 17px;
    }

    .card-title h2 {
        font-size: 22px;
    }

    button[type="submit"] {
        font-size: 12px;
    }
}


/* =========================================
   LARGE SCREENS
========================================= */

@media (min-width: 1400px) {

    main {
        grid-template-columns: 1fr 500px;

        gap: 100px;
    }

    .card {
        padding: 34px;
    }
}