/* =========================================================
   ZENITH LUXURY HOMES
   PROPERTY ENQUIRY PAGE
   Premium Cream / Charcoal / Gold Theme
   ========================================================= */


/* =========================================================
   1. FOUNDATION
   ========================================================= */

.enquiry-page {
    --enquiry-cream: #f7f4ed;
    --enquiry-cream-dark: #eee9de;
    --enquiry-white: #ffffff;

    --enquiry-black: #171714;
    --enquiry-black-soft: #20201c;

    --enquiry-gold: #c9a34f;
    --enquiry-gold-light: #d9b866;
    --enquiry-gold-dark: #aa8438;

    --enquiry-text: #1b1a17;
    --enquiry-text-soft: #68655e;
    --enquiry-text-muted: #8a867d;

    --enquiry-border: #e2ddd3;

    min-height: 100vh;

    background: var(--enquiry-cream);

    color: var(--enquiry-text);

    box-sizing: border-box;
}

.enquiry-page *,
.enquiry-page *::before,
.enquiry-page *::after {
    box-sizing: border-box;
}

.enquiry-page img {
    display: block;
    max-width: 100%;
}


/* =========================================================
   2. CONTAINER
   ========================================================= */

.enquiry-page .container {
    width: min(1180px, calc(100% - 48px));
    margin-inline: auto;
}


/* =========================================================
   3. BREADCRUMB
   ========================================================= */

.enquiry-breadcrumb {
    padding: 32px 0 20px;

    background: var(--enquiry-cream);
}

.enquiry-breadcrumb .container {
    display: flex;
    align-items: center;
    flex-wrap: wrap;

    gap: 10px;
}

.enquiry-breadcrumb a {
    color: #77736b;

    font-size: 13px;
    font-weight: 500;

    text-decoration: none;

    transition: color 0.25s ease;
}

.enquiry-breadcrumb a:hover {
    color: var(--enquiry-gold-dark);
}

.enquiry-breadcrumb span {
    color: #b7b1a5;

    font-size: 13px;
}

.enquiry-breadcrumb strong {
    color: var(--enquiry-gold-dark);

    font-size: 13px;
    font-weight: 600;
}


/* =========================================================
   4. PAGE HEADER
   ========================================================= */

.enquiry-header {
    padding: 45px 0 52px;

    background: var(--enquiry-cream);
}

.enquiry-header .container {
    max-width: 850px;

    margin-inline: auto;

    text-align: center;
}


/* Eyebrow */

.enquiry-eyebrow {
    display: block;

    margin-bottom: 14px;

    color: var(--enquiry-gold-dark);

    font-size: 10px;
    font-weight: 700;

    letter-spacing: 0.17em;

    text-transform: uppercase;
}


/* Heading */

.enquiry-header h1 {
    margin: 0;

    color: var(--enquiry-black);

    font-family: "Playfair Display", Georgia, serif;

    font-size: clamp(43px, 5vw, 68px);
    font-weight: 500;

    line-height: 1.05;

    letter-spacing: -0.035em;
}


/* Description */

.enquiry-header p {
    max-width: 620px;

    margin: 18px auto 0;

    color: var(--enquiry-text-soft);

    font-size: 15px;

    line-height: 1.8;
}


/* =========================================================
   5. MAIN CONTENT
   ========================================================= */

.enquiry-content {
    padding: 0 0 100px;

    background: var(--enquiry-cream);
}

.enquiry-layout {
    display: grid;

    grid-template-columns: minmax(0, 1fr) 350px;

    align-items: start;

    gap: 35px;
}


/* =========================================================
   6. FORM CARD
   ========================================================= */

.enquiry-form-card {
    padding: 42px;

    background: var(--enquiry-white);

    border: 1px solid var(--enquiry-border);

    border-radius: 18px;

    box-shadow:
        0 14px 40px rgba(30, 27, 20, 0.055);
}


/* =========================================================
   7. FORM HEADING
   ========================================================= */

.enquiry-form-heading {
    margin-bottom: 32px;
}

.enquiry-form-heading > span {
    display: block;

    margin-bottom: 9px;

    color: var(--enquiry-gold-dark);

    font-size: 10px;
    font-weight: 700;

    letter-spacing: 0.14em;

    text-transform: uppercase;
}

.enquiry-form-heading h2 {
    margin: 0;

    color: var(--enquiry-black);

    font-family: "Playfair Display", Georgia, serif;

    font-size: 32px;
    font-weight: 500;

    line-height: 1.2;

    letter-spacing: -0.025em;
}

.enquiry-form-heading p {
    max-width: 650px;

    margin: 12px 0 0;

    color: var(--enquiry-text-soft);

    font-size: 14px;

    line-height: 1.75;
}


/* =========================================================
   8. ALERTS
   ========================================================= */

.enquiry-alert {
    display: flex;
    align-items: flex-start;

    gap: 13px;

    margin-bottom: 27px;

    padding: 17px 18px;

    border-radius: 10px;
}


/* Success */

.enquiry-success {
    background: #f1f6ed;

    border: 1px solid #d5e3cc;

    color: #4c6842;
}


/* Error */

.enquiry-error {
    background: #faf0ee;

    border: 1px solid #ead3ce;

    color: #8a4c42;
}


/* Alert icon */

.alert-icon {
    flex: 0 0 28px;

    width: 28px;
    height: 28px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: currentColor;

    color: #ffffff;

    font-size: 13px;
    font-weight: 800;
}

.enquiry-alert strong {
    display: block;

    margin-bottom: 3px;

    font-size: 13px;
}

.enquiry-alert p {
    margin: 0;

    font-size: 13px;

    line-height: 1.6;
}


/* =========================================================
   9. FORM
   ========================================================= */

.property-enquiry-form {
    width: 100%;
}


/* Two-column form row */

.form-row {
    display: grid;

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

    gap: 20px;
}


/* Form group */

.form-group {
    margin-bottom: 21px;
}


/* Labels */

.form-group label {
    display: block;

    margin-bottom: 8px;

    color: #383631;

    font-size: 12px;
    font-weight: 700;

    letter-spacing: 0.015em;
}

.form-group label span {
    color: var(--enquiry-gold-dark);
}


/* =========================================================
   10. INPUTS
   ========================================================= */

.form-group input,
.form-group textarea {
    width: 100%;

    display: block;

    border: 1px solid #dcd7ce;
    border-radius: 8px;

    background: #fcfbf8;

    color: #24231f;

    font-family: "DM Sans", sans-serif;

    font-size: 14px;

    outline: none;

    transition:
        border-color 0.25s ease,
        background 0.25s ease,
        box-shadow 0.25s ease;
}


/* Input */

.form-group input {
    height: 54px;

    padding: 0 16px;
}


/* Textarea */

.form-group textarea {
    min-height: 160px;

    padding: 15px 16px;

    resize: vertical;

    line-height: 1.65;
}


/* Placeholder */

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #aaa59b;

    opacity: 1;
}


/* Focus */

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--enquiry-gold);

    background: #ffffff;

    box-shadow:
        0 0 0 3px rgba(201, 163, 79, 0.10);
}


/* =========================================================
   11. SUBMIT BUTTON
   ========================================================= */

.enquiry-submit {
    width: 100%;

    min-height: 58px;

    display: flex;
    align-items: center;
    justify-content: center;

    gap: 13px;

    margin-top: 5px;

    padding: 0 22px;

    border: 1px solid var(--enquiry-gold);

    border-radius: 8px;

    background: var(--enquiry-gold);

    color: #171714;

    font-family: "DM Sans", sans-serif;

    font-size: 11px;
    font-weight: 800;

    letter-spacing: 0.12em;

    text-transform: uppercase;

    cursor: pointer;

    transition:
        background 0.25s ease,
        border-color 0.25s ease,
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

.enquiry-submit:hover {
    background: var(--enquiry-gold-light);

    border-color: var(--enquiry-gold-light);

    transform: translateY(-2px);

    box-shadow:
        0 10px 24px rgba(201, 163, 79, 0.20);
}

.enquiry-submit:active {
    transform: translateY(0);
}


/* Submit arrow */

.submit-arrow {
    font-size: 17px;
    font-weight: 400;

    transition:
        transform 0.25s ease;
}

.enquiry-submit:hover .submit-arrow {
    transform: translateX(4px);
}


/* =========================================================
   12. FORM NOTE
   ========================================================= */

.form-note {
    margin: 15px 0 0;

    color: #98938a;

    font-size: 11px;

    line-height: 1.65;

    text-align: center;
}


/* =========================================================
   13. SIDEBAR
   ========================================================= */

.enquiry-sidebar {
    position: sticky;

    top: 25px;

    align-self: start;
}


/* =========================================================
   14. PROPERTY SUMMARY CARD
   ========================================================= */

.enquiry-property-card {
    overflow: hidden;

    background: #ffffff;

    border: 1px solid var(--enquiry-border);

    border-radius: 16px;

    box-shadow:
        0 12px 30px rgba(30, 27, 20, 0.055);
}


/* Property image */

.enquiry-property-image {
    width: 100%;
    height: 225px;

    overflow: hidden;

    background: #22221e;
}

.enquiry-property-image img {
    width: 100%;
    height: 100%;

    object-fit: cover;
    object-position: center;

    transition:
        transform 0.5s ease;
}

.enquiry-property-card:hover
.enquiry-property-image img {
    transform: scale(1.035);
}


/* Empty image */

.property-image-empty {
    width: 100%;
    height: 100%;

    display: flex;
    align-items: center;
    justify-content: center;

    color: #aaa79f;

    font-size: 12px;
}


/* =========================================================
   15. PROPERTY INFORMATION
   ========================================================= */

.enquiry-property-info {
    padding: 25px 25px 26px;
}


/* Type */

.property-type-label {
    display: block;

    margin-bottom: 8px;

    color: var(--enquiry-gold-dark);

    font-size: 10px;
    font-weight: 700;

    letter-spacing: 0.12em;

    text-transform: uppercase;
}


/* Title */

.enquiry-property-info h3 {
    margin: 0;

    color: var(--enquiry-black);

    font-family: "Playfair Display", Georgia, serif;

    font-size: 25px;
    font-weight: 500;

    line-height: 1.2;

    letter-spacing: -0.02em;
}


/* Location */

.enquiry-property-info .property-location {
    display: flex;
    align-items: center;

    gap: 7px;

    margin: 11px 0 0;

    color: #858078;

    font-size: 12px;

    line-height: 1.5;
}

.enquiry-property-info .property-location span {
    color: var(--enquiry-gold-dark);
}


/* =========================================================
   16. PROPERTY PRICE
   ========================================================= */

.enquiry-property-price {
    margin-top: 22px;

    padding-top: 18px;

    border-top: 1px solid #e6e1d8;
}

.enquiry-property-price span {
    display: block;

    margin-bottom: 5px;

    color: #8d887f;

    font-size: 9px;
    font-weight: 700;

    letter-spacing: 0.13em;

    text-transform: uppercase;
}

.enquiry-property-price strong {
    display: block;

    color: var(--enquiry-black);

    font-family: "Playfair Display", Georgia, serif;

    font-size: 27px;
    font-weight: 600;

    line-height: 1.15;
}


/* =========================================================
   17. VIEW PROPERTY LINK
   ========================================================= */

.view-property-link {
    display: flex;
    align-items: center;
    justify-content: space-between;

    margin-top: 22px;

    padding-top: 17px;

    border-top: 1px solid #e6e1d8;

    color: #45423c;

    font-size: 12px;
    font-weight: 700;

    text-decoration: none;

    transition:
        color 0.25s ease;
}

.view-property-link span {
    color: var(--enquiry-gold-dark);

    font-size: 18px;
    font-weight: 400;

    transition:
        transform 0.25s ease;
}

.view-property-link:hover {
    color: var(--enquiry-gold-dark);
}

.view-property-link:hover span {
    transform: translateX(4px);
}


/* =========================================================
   18. ADVISOR CARD
   ========================================================= */

.enquiry-advisor-card {
    display: flex;
    align-items: flex-start;

    gap: 15px;

    margin-top: 17px;

    padding: 21px;

    background: #ffffff;

    border: 1px solid var(--enquiry-border);

    border-radius: 15px;

    box-shadow:
        0 8px 22px rgba(30, 27, 20, 0.04);
}


/* Advisor mark */

.advisor-mark {
    flex: 0 0 50px;

    width: 50px;
    height: 50px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background:
        linear-gradient(
            145deg,
            #d4ad58,
            #b88e3e
        );

    color: #171714;

    font-family: "Playfair Display", Georgia, serif;

    font-size: 24px;
    font-weight: 600;

    box-shadow:
        inset 0 1px 1px rgba(255, 255, 255, 0.25);
}


/* Advisor text */

.advisor-label {
    display: block;

    margin-bottom: 5px;

    color: #8d887f;

    font-size: 9px;
    font-weight: 700;

    letter-spacing: 0.11em;

    text-transform: uppercase;
}

.enquiry-advisor-card strong {
    display: block;

    margin-bottom: 4px;

    color: #292823;

    font-size: 14px;
    font-weight: 700;
}

.enquiry-advisor-card p {
    margin: 0;

    color: #88847b;

    font-size: 11px;

    line-height: 1.55;
}


/* =========================================================
   19. CONTACT CARD
   ========================================================= */

.enquiry-contact-card {
    position: relative;

    overflow: hidden;

    margin-top: 17px;

    padding: 27px 25px;

    background:
        radial-gradient(
            circle at 100% 0%,
            rgba(201, 163, 79, 0.11),
            transparent 38%
        ),
        linear-gradient(
            145deg,
            #22221e,
            #171714
        );

    border: 1px solid #302f28;

    border-radius: 15px;
}


/* Decorative ring */

.enquiry-contact-card::after {
    content: "";

    position: absolute;

    width: 150px;
    height: 150px;

    top: -85px;
    right: -65px;

    border: 1px solid rgba(201, 163, 79, 0.15);

    border-radius: 50%;

    pointer-events: none;
}


/* Contact label */

.enquiry-contact-card > span {
    position: relative;
    z-index: 1;

    display: block;

    margin-bottom: 8px;

    color: #d2b262;

    font-size: 9px;
    font-weight: 700;

    letter-spacing: 0.13em;

    text-transform: uppercase;
}


/* Contact heading */

.enquiry-contact-card h3 {
    position: relative;
    z-index: 1;

    margin: 0 0 9px;

    color: #f7f4ed;

    font-family: "Playfair Display", Georgia, serif;

    font-size: 27px;
    font-weight: 500;
}

.enquiry-contact-card p {
    position: relative;
    z-index: 1;

    margin: 0 0 20px;

    color: #aaa79f;

    font-size: 12px;

    line-height: 1.7;
}


/* Phone button */

.contact-phone {
    position: relative;
    z-index: 1;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 44px;

    padding: 0 18px;

    border: 1px solid rgba(201, 163, 79, 0.45);
    border-radius: 7px;

    color: #d7b867;

    font-size: 11px;
    font-weight: 700;

    text-decoration: none;

    transition:
        background 0.25s ease,
        border-color 0.25s ease,
        color 0.25s ease;
}

.contact-phone:hover {
    background: var(--enquiry-gold);

    border-color: var(--enquiry-gold);

    color: #171714;
}


/* =========================================================
   20. TABLET
   ========================================================= */

@media (max-width: 1050px) {

    .enquiry-page .container {
        width: min(100% - 38px, 960px);
    }

    .enquiry-layout {
        grid-template-columns: minmax(0, 1fr) 310px;

        gap: 25px;
    }

    .enquiry-form-card {
        padding: 34px;
    }

    .enquiry-property-image {
        height: 200px;
    }

}


/* =========================================================
   21. SMALL TABLET
   ========================================================= */

@media (max-width: 850px) {

    .enquiry-layout {
        grid-template-columns: 1fr;
    }

    .enquiry-sidebar {
        position: static;
    }

    .enquiry-property-card,
    .enquiry-advisor-card,
    .enquiry-contact-card {
        width: 100%;
    }

    .enquiry-property-image {
        height: 280px;
    }

    .enquiry-contact-card {
        padding: 30px;
    }

}


/* =========================================================
   22. MOBILE
   ========================================================= */

@media (max-width: 650px) {

    .enquiry-page .container {
        width: calc(100% - 28px);
    }


    /* Breadcrumb */

    .enquiry-breadcrumb {
        padding: 22px 0 15px;
    }


    /* Header */

    .enquiry-header {
        padding: 32px 0 38px;
    }

    .enquiry-header h1 {
        font-size: 43px;
    }

    .enquiry-header p {
        margin-top: 14px;

        font-size: 13px;
    }


    /* Content */

    .enquiry-content {
        padding-bottom: 65px;
    }


    /* Form */

    .enquiry-form-card {
        padding: 27px 20px 29px;

        border-radius: 14px;
    }

    .enquiry-form-heading {
        margin-bottom: 27px;
    }

    .enquiry-form-heading h2 {
        font-size: 28px;
    }

    .enquiry-form-heading p {
        font-size: 13px;
    }


    /* Form rows */

    .form-row {
        grid-template-columns: 1fr;

        gap: 0;
    }


    /* Inputs */

    .form-group input {
        height: 52px;
    }

    .form-group textarea {
        min-height: 145px;
    }


    /* Property card */

    .enquiry-property-image {
        height: 235px;
    }

    .enquiry-property-info {
        padding: 23px 20px 24px;
    }

    .enquiry-property-info h3 {
        font-size: 23px;
    }


    /* Advisor */

    .enquiry-advisor-card {
        padding: 19px;
    }


    /* Contact */

    .enquiry-contact-card {
        padding: 27px 22px;
    }

}


/* =========================================================
   23. SMALL MOBILE
   ========================================================= */

@media (max-width: 430px) {

    .enquiry-page .container {
        width: calc(100% - 22px);
    }

    .enquiry-header h1 {
        font-size: 38px;
    }

    .enquiry-form-card {
        padding: 24px 17px 25px;
    }

    .enquiry-form-heading h2 {
        font-size: 26px;
    }

    .enquiry-alert {
        padding: 14px;
    }

    .enquiry-property-image {
        height: 210px;
    }

    .enquiry-property-price strong {
        font-size: 24px;
    }

    .enquiry-submit {
        min-height: 55px;
    }

}


/* =========================================================
   24. ACCESSIBILITY
   ========================================================= */

.enquiry-page a:focus-visible,
.enquiry-page button:focus-visible,
.enquiry-page input:focus-visible,
.enquiry-page textarea:focus-visible {
    outline: 2px solid var(--enquiry-gold);

    outline-offset: 3px;
}


/* =========================================================
   25. REDUCED MOTION
   ========================================================= */

@media (prefers-reduced-motion: reduce) {

    .enquiry-page *,
    .enquiry-page *::before,
    .enquiry-page *::after {

        transition-duration: 0.01ms !important;

        animation-duration: 0.01ms !important;

        animation-iteration-count: 1 !important;
    }
}