.hero-section {
    padding-top: 180px;
    padding-bottom: 120px;
    background-image:
        linear-gradient(
            to right,
            rgba(157, 133, 84, 0.15) 1px,
            transparent 1px
        ),
        linear-gradient(
            to right,
            rgba(157, 133, 84, 0.15) 1px,
            transparent 1px
        ),
        linear-gradient(
            to bottom,
            rgba(157, 133, 84, 0.15) 1px,
            transparent 1px
        ),
        linear-gradient(
            to bottom,
            rgba(157, 133, 84, 0.15) 1px,
            transparent 1px
        );
    background-size:
        160px 160px,
        160px 160px,
        160px 160px,
        160px 160px;
    background-position:
        50px 50px,
        66px 50px,
        50px 50px,
        50px 66px;
}

.hero-container {
    position: relative;
}

.hero-layout {
    position: relative;
    display: grid;
    grid-template-rows: auto auto 1fr auto;
    height: 700px;
}

.hero-heading {
    grid-row: 1;
    max-width: 900px;
    font-size: 120px;
    line-height: 120px;
}

.hero-paragraph {
    grid-row: 2;
    max-width: 450px;
    margin-top: 24px;
}

.hero-cta-button {
    grid-row: 4;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 264px;
    height: 50px;
    background-color: var(--clr-gold);
}

.hero-image {
    position: absolute;
    right: 0;
    bottom: 0;
    width: 50vw;
    max-width: 800px;
    height: auto;
}

.hero-image img {
    display: block;
    width: 100%;
    height: auto;
}

/* HERO ANIMATIONS */

.hero-heading,
.hero-paragraph,
.hero-cta-button {
    opacity: 0;
    transform: translateY(24px);
    transition:
        opacity 800ms ease,
        transform 800ms cubic-bezier(0.22, 1, 0.36, 1);
}

.hero-heading.is-visible,
.hero-paragraph.is-visible,
.hero-cta-button.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.hero-image {
    opacity: 0;
    transform: scale(1.04);
    transition:
        opacity 1200ms ease,
        transform 1400ms cubic-bezier(0.22, 1, 0.36, 1);
}

.hero-image.is-visible {
    opacity: 1;
    transform: scale(1);
}

/* SMALL DESKTOP */

@media (max-width: 1440px) {
    .hero-layout {
        height: 650px;
    }

    .hero-heading {
        max-width: 850px;
        font-size: 108px;
        line-height: 108px;
    }

    .hero-image {
        width: 52vw;
    }
}

/* SMALL DESKTOP */

@media (max-width: 1200px) {
    .hero-heading {
        max-width: 800px;
        font-size: 96px;
        line-height: 96px;
    }

    .hero-image {
        width: 52vw;
    }
}

/* TABLET */

@media (max-width: 991px) {
    .hero-section {
        padding-top: 180px;
        padding-bottom: 64px;
    }

    .hero-layout {
        display: grid;
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto;
        grid-template-areas:
            "heading heading"
            "image image"
            "paragraph button";
        height: auto;
    }

    .hero-heading {
        grid-area: heading;
        max-width: none;
        margin-bottom: 24px;
        font-size: 96px;
        line-height: 96px;
    }

    .hero-image {
        grid-area: image;
        position: static;
        width: 100%;
        max-width: none;
    }

    .hero-paragraph {
        grid-area: paragraph;
        max-width: 450px;
        margin-top: 48px;
    }

    .hero-cta-button {
        grid-area: button;
        justify-self: end;
        align-self: start;
        margin-top: 48px;
    }
}

/* MOBILE */

@media (max-width: 767px) {
    .hero-layout {
        grid-template-columns: 1fr;
        grid-template-areas:
            "heading"
            "image"
            "paragraph"
            "button";
    }

    .hero-heading {
        font-size: 45px;
        line-height: 1;
        max-width: 500px;
    }

    .hero-paragraph {
        max-width: none;
        margin-top: 48px;
    }

    .hero-cta-button {
        justify-self: start;
        margin-top: 24px;
        width: 212px;
    }
}

/* MOBILE PORTRAIT */ 

@media (max-width: 479px) {
    .hero-heading {
        font-size: 40px;
    }
}

/* REDUCED MOTION */

@media (prefers-reduced-motion: reduce) {
    .hero-heading,
        .hero-paragraph,
        .hero-cta-button,
        .hero-image {
        opacity: 1;
        transform: none;
        transition: none;
    }
}


.about-section {
    padding-block: 72px;
}

.about-main-wrapper {
    display: flex;
    justify-content: space-between;
    gap: 36px;
}

.about-left {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.label {
    color: var(--clr-gold);
    font-size: 20px;
}

.about-heading {
    max-width: 386px;
}

.about-center {
    width: 100%;
    max-width: 415px;
    height: auto;
}

.about-right {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.about-paragraph-wrapper {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.about-paragraph {
    max-width: 342px;
}

.about-link-wrapper {
    display: flex;
    gap: 12px;
}

.about-link {
    position: relative;
}

.about-link::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -4px;
    width: 100%;
    height: 1px;
    background-color: var(--clr-gold);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 300ms ease;
}

.about-link:hover::after {
    transform: scaleX(1);
}

.arrow {
    max-width: 24px;
}

/* ABOUT ANIMATIONS */

.about-section.reveal-enabled .about-left .label,
.about-section.reveal-enabled .about-heading,
.about-section.reveal-enabled .about-paragraph,
.about-section.reveal-enabled .about-link-wrapper {
    opacity: 0;
    transform: translateY(24px);
    transition:
        opacity 800ms ease,
        transform 800ms cubic-bezier(0.22, 1, 0.36, 1);
}

.about-section.reveal-enabled .about-left .label.is-visible,
.about-section.reveal-enabled .about-heading.is-visible,
.about-section.reveal-enabled .about-paragraph.is-visible,
.about-section.reveal-enabled .about-link-wrapper.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.about-section.reveal-enabled .about-center img {
    clip-path: inset(100% 0 0 0);
    transition: clip-path 1100ms cubic-bezier(0.22, 1, 0.36, 1);
}

.about-section.reveal-enabled .about-center.is-visible img {
    clip-path: inset(0 0 0 0);
}

/* TABLET */

@media (max-width: 992px) {
    .about-section {
        padding-block: 72px;
    }

    .label {
        margin-bottom: 24px;
    }

    .about-center {
        max-width: 300px;
    }

    .about-paragraph-wrapper {
        gap: 24px;
    }
}

/* MOBILE */

@media (max-width: 767px) {
    .about-section {
        padding-block: 72px;
    }

    .about-main-wrapper {
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 24px;
    }

    .label {
        font-size: 16px;
    }

    .about-center {
        max-width: 415px;
    }

    .about-link-wrapper {
        margin-top: 24px;
    }
}

/* REDUCED MOTION */

@media (prefers-reduced-motion: reduce) {
    .about-section.reveal-enabled .about-left .label,
    .about-section.reveal-enabled .about-heading,
    .about-section.reveal-enabled .about-paragraph,
    .about-section.reveal-enabled .about-link-wrapper {
        opacity: 1;
        transform: none;
        transition: none;
    }

    .about-section.reveal-enabled .about-center img {
        clip-path: none;
        transition: none;
    }
}


.property-section {
    padding-block: 96px;
    background-color: var(--clr-beige);
}

.property-content {
    display: flex;
    flex-direction: column;
    gap: 32px;
    align-items: center;
    margin-bottom: 60px;
}

.property-heading-lg {
    max-width: 474px;
    text-align: center;
    color: var(--clr-black);
}

.property-paragraph {
    max-width: 808px;
    text-align: center;
    color: var(--clr-black);
}

.property-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 36px;
}

.property-card {
    position: relative;
    overflow: hidden;
}

.property-card-image {
    display: block;
    width: 100%;
    aspect-ratio: 942 / 513;
    object-fit: cover;
}

.property-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background-color: rgba(18, 23, 23, 0.4);
    z-index: 1;
}

.property-card-content {
    position: absolute;
    left: 24px;
    right: 24px;
    bottom: 24px;
    z-index: 2;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

.property-card-title {
    margin: 0;
    font-size: 24px;
    line-height: 24px;
    font-weight: 400;
}

.property-card-info {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    text-align: right;
    gap: 12px;
}

.property-card-stats {
    display: flex;
    gap: 24px;
    font-size: 16px;
    line-height: 16px;
    font-family: var(--ff-heading);
}

.property-card-location {
    margin: 0;
    font-size: 16px;
    line-height: 16px;
    font-family: var(--ff-heading);
}

/* PROPERTY ANIMATIONS */

.property-heading-lg,
.property-paragraph,
.property-card {
    opacity: 0;
    transform: translateY(24px);
    transition:
        opacity 800ms ease,
        transform 800ms cubic-bezier(0.22, 1, 0.36, 1);
}

.property-heading-lg.is-visible,
.property-paragraph.is-visible,
.property-card.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.property-card-image {
    transition: transform 600ms cubic-bezier(0.22, 1, 0.36, 1);
}

/* HOVER ANIMATION */

@media (hover: hover) and (pointer: fine) {
    .property-card:hover .property-card-image {
        transform: scale(1.04);
    }
}

/* TABLET */

@media (max-width: 992px) {
    .property-section {
        padding-block: 72px;
    }

    .property-grid {
        gap: 16px;
    }

    .property-card-content {
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-start;
        left: 16px;
        right: 16px;
        bottom: 16px;
        gap: 12px;
    }

    .property-card-info {
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
    }

    .property-card-stats {
        gap: 12px;
        font-size: 14px;
    }

    .property-card-loaction {
        font-size: 14px;
    }
}

/* MOBILE */

@media (max-width: 767px) {
    .property-section {
        padding-block: 48px;
    }

    .property-content {
        margin-bottom: 40px;
    }

    .property-grid {
        grid-template-columns: 1fr;
    }
}

/* REDUCED MOTION */

@media (prefers-reduced-motion: reduce) {
    .property-heading-lg,
        .property-paragraph,
        .property-card {
        opacity: 1;
        transform: none;
        transition: none;
    }

    .property-card-image {
        transition: none;
    }
}

.blog-section {
    padding-block: 96px;
    background-image:
        linear-gradient(
            to right,
            rgba(157, 133, 84, 0.15) 1px,
            transparent 1px
        ),
        linear-gradient(
            to right,
            rgba(157, 133, 84, 0.15) 1px,
            transparent 1px
        ),
        linear-gradient(
            to bottom,
            rgba(157, 133, 84, 0.15) 1px,
            transparent 1px
        ),
        linear-gradient(
            to bottom,
            rgba(157, 133, 84, 0.15) 1px,
            transparent 1px
        );
    background-size:
        160px 160px,
        160px 160px,
        160px 160px,
        160px 160px;
    background-position:
        50px 50px,
        66px 50px,
        50px 50px,
        50px 66px;
}

.container-blog {
    position: relative;
}

.blog-main-wrapper {
    display: flex;
    justify-content: space-between;
}

.blog-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.second-heading-lg {
    font-size: 72px;
    line-height: 82px;
    max-width: 540px;
    text-align: center;
}

.blog-paragraph {
    max-width: 340px;
    text-align: center;
    margin-top: 32px;
}

.blog-imgage-wrapper {
    width: 50vw;
    max-width: 672px;
    height: auto;
    overflow: hidden;
}

.blog-img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 25px;
}

.blog-link-wrapper {
    position: absolute;
    left: 0;
    bottom: 0;
    display: flex;
    gap: 12px;
    padding-left: 24px;
}

.blog-link {
    position: relative;
}

.blog-link::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -4px;
    width: 100%;
    height: 1px;
    background-color: var(--clr-gold);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 300ms ease;
}

.blog-link:hover::after {
    transform: scaleX(1);
}

/* JOURNAL ANIMATIONS */

.blog-section.reveal-enabled .blog-content .second-heading-lg,
.blog-section.reveal-enabled .blog-paragraph,
.blog-section.reveal-enabled .blog-link-wrapper {
    opacity: 0;
    transform: translateY(24px);
    transition:
        opacity 800ms ease,
        transform 800ms cubic-bezier(0.22, 1, 0.36, 1);
}

.blog-section.reveal-enabled .blog-content .second-heading-lg.is-visible,
.blog-section.reveal-enabled .blog-paragraph.is-visible,
.blog-section.reveal-enabled .blog-link-wrapper.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.blog-section.reveal-enabled .blog-img {
    clip-path: inset(0 0 100% 0);
    transform: scale(1.06);
    transition:
        clip-path 1800ms cubic-bezier(0.22, 1, 0.36, 1),
        transform 2000ms cubic-bezier(0.22, 1, 0.36, 1);
}

.blog-section.reveal-enabled .blog-imgage-wrapper.is-visible .blog-img {
    clip-path: inset(0 0 0 0);
    transform: scale(1);
}

/* TABLET */

@media (max-width: 992px) {
    .blog-section {
        padding-block: 72px;
    }

    .blog-main-wrapper {
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }

    .second-heading-lg {
        font-size: 60px;
        line-height: 70px;
    }

    .blog-imgage-wrapper {
        width: 100%;
    }

    .blog-link-wrapper {
        position: static;
        margin-top: 32px;
        margin-bottom: 32px;
    }
}

/* MOBILE */

@media (max-width: 767px) {
    .blog-section {
        padding-block: 48px;
    }

    .second-heading-lg {
        font-size: 32px;
        line-height: 42px;
        max-width: 350px;
    }

    .blog-paragraph {
        margin-top: 24px;
    }

    .blog-link-wrapper {
        margin-top: 24px;
        margin-bottom: 24px;
    }
}

/* REDUCED MOTION */

@media (prefers-reduced-motion: reduce) {
    .blog-section.reveal-enabled .blog-content .second-heading-lg,
    .blog-section.reveal-enabled .blog-paragraph,
    .blog-section.reveal-enabled .blog-link-wrapper {
        opacity: 1;
        transform: none;
        transition: none;
    }

    .blog-section.reveal-enabled .blog-img {
        clip-path: none;
        transform: none;
        transition: none;
    }
}


.cta-section {
    position: relative;
    min-height: 130vh;
    overflow: hidden;
}

.cta-image-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
     overflow: hidden;
}

.bg-image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cta-overlay {
    position: absolute;
    inset: 0;
    background-color: rgba(18, 23, 23, 0.4);
}

.cta-container {
    position: relative;
    z-index: 100;
}

.cta-heading {
    max-width: 454px;
}

.cta-paragraph {
    max-width: 434px;
    margin-top: 32px;
}

.cta-main-wrapper {
    height: 130vh;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding-block: 96px;
}

.contact-form {
    align-self: flex-end;
    position: relative;
    max-width: 670px;
    width: 100%;
    padding: 48px;
    background-color: var(--clr-beige);
    margin-top: 80px;
}

.form-header {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.form-heading {
    font-size: 48px;
    line-height: 65px;
    max-width: 450px;
    text-align: center;
    color: var(--clr-black);
}

.form-paragraph {
    max-width: 450px;
    margin-top: 32px;
    margin-bottom: 48px;
    text-align: center;
    color: var(--clr-black);
}

.form-filds {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-bottom: 48px;
}

.form-input {
    background-color: transparent;
    outline: none;
    border: none;
    border-bottom: 1px solid #121717;
    padding-bottom: 6px;
}

.form-submit {
    width: 100%;
    height: 58px;
    background-color: var(--clr-black);
    color: var(--clr-white);
}

.form-submit:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.form-input::placeholder {
    color: rgba(18, 23, 23, 0.7);
}

.form-error {
    display: none;
    margin-top: 16px;
    padding: 12px 48px;
    background-color: var(--clr-black);
}

.form-error-text {
    font-family: var(--ff-body);
    font-size: 14px;
    line-height: 20px;
    text-align: center;
    color: var(--clr-white);
}

.contact-form.is-error .form-error {
    display: block;
}

.contact-form.is-success .form-error {
    display: none;
}

.form-success {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding-block: 48px;
    text-align: center;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition:
        opacity 300ms ease,
        visibility 300ms ease;
}

.contact-form.is-success .form-content {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.contact-form.is-success .form-success {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.form-success-title {
    display: block;
    margin-bottom: 16px;
    font-family: var(--ff-heading);
    font-size: 36px;
    line-height: 36px;
    text-align: center;
    color: var(--clr-black);
}

.form-success-text {
    max-width: 380px;
    font-family: var(--ff-body);
    font-size: 16px;
    line-height: 24px;
    text-align: center;
    color: var(--clr-black);
}

.form-input:-webkit-autofill,
.form-input:-webkit-autofill:hover,
.form-input:-webkit-autofill:focus,
.form-input:-webkit-autofill:active {
    -webkit-box-shadow: 0 0 0 1000px var(--clr-beige) inset;
    -webkit-text-fill-color: var(--clr-black);
    transition: background-color 5000s ease-in-out 0s;
}

/* CTA ANIMATIONS */

.cta-heading,
.cta-paragraph,
.contact-form {
    opacity: 0;
    transform: translateY(24px);
    transition:
        opacity 900ms ease,
        transform 900ms cubic-bezier(0.22, 1, 0.36, 1);
}

.cta-heading.is-visible,
.cta-paragraph.is-visible,
.contact-form.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* TABLET */

@media (max-width: 992px) {
    .cta-section {
        min-height: auto;
    }

    .cta-heading {
        max-width: 320px;
    }

    .cta-main-wrapper {
        height: auto;
        padding-block: 72px;
    }

    .contact-form {
        padding: 32px;
        max-width: 490px;
    }

    .form-heading {
        font-size: 32px;
        line-height: 42px;
    }
}

/* MOBILE */

@media (max-width: 767px) {
    .cta-section {
        position: relative;
    }

    .cta-image-wrapper {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
    }

    .bg-image {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .cta-overlay {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
    }

    .cta-paragraph {
        margin-top: 24px;
    }

    .cta-main-wrapper {
        align-items: flex-start;
        padding-block: 48px;
    }

    .contact-form {
        margin-top: 40px;
        align-self: flex-start;
    }

    .form-heading {
        font-size: 24px;
        line-height: 32px;
    }

    .form-paragraph {
        margin-top: 24px;
        margin-bottom: 24px;
    }

    .form-filds {
        margin-bottom: 24px;
    }

    .form-submit {
        height: 48px;
    }

    .form-input::placeholder {
        font-size: 14px;
    }
}

/* MOBILE PORTRAIT */

@media (max-width: 480px) {
    .contact-form {
        padding: 20px;
    }
}

/* REDUCED MOTION */

@media (prefers-reduced-motion: reduce) {
    .cta-heading,
        .cta-paragraph,
        .contact-form {
        opacity: 1;
        transform: none;
        transition: none;
    }
}