/* ================================
   ROOT
================================ */

:root {
    --brand-red: #A61E2D;
    --dark-red: #68151E;
    --light-red: #F5E8E9;

    --ivory: #FAF8F5;
    --white: #FFFFFF;

    --black: #191717;
    --gray: #6D6666;

    --border: rgba(25, 23, 23, 0.14);

    --font-heading: "Manrope", sans-serif;
    --font-body: "DM Sans", sans-serif;

    --container: 1320px;
}


/* ================================
   RESET
================================ */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background: var(--ivory);
    color: var(--black);
    line-height: 1.5;
}

img {
    display: block;
    width: 100%;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input,
textarea,
select {
    font: inherit;
}

button {
    cursor: pointer;
}


/* ================================
   TYPOGRAPHY
================================ */

h1,
h2,
h3 {
    font-family: var(--font-heading);
    line-height: 1.05;
}

.eyebrow {
    font-size: 0.74rem;
    font-weight: 600;
    letter-spacing: 0.16em;
    color: var(--brand-red);
    margin-bottom: 20px;
}

.section {
    max-width: var(--container);
    margin: auto;
}


/* ================================
   HEADER
================================ */

.site-header {
    position: fixed;
    top: 0;
    left: 0;

    width: 100%;
    height: 86px;

    padding: 0 5vw;

    display: flex;
    align-items: center;
    justify-content: space-between;

    z-index: 1000;

    color: var(--white);

    transition:
        background 0.35s ease,
        color 0.35s ease,
        box-shadow 0.35s ease;
}

.site-header.scrolled {
    background: rgba(250, 248, 245, 0.95);
    backdrop-filter: blur(15px);

    color: var(--black);

    box-shadow: 0 1px 0 var(--border);
}

.brand {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    letter-spacing: 0.16em;
    font-weight: 700;
}

.brand img {
    height: 42px;
    width: auto;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 34px;

    font-size: 0.9rem;
    font-weight: 500;
}

.main-nav > a:not(.nav-cta) {
    position: relative;
}

.main-nav > a:not(.nav-cta)::after {
    content: "";
    position: absolute;

    left: 0;
    bottom: -7px;

    width: 0;
    height: 1px;

    background: currentColor;

    transition: width 0.3s ease;
}

.main-nav > a:not(.nav-cta):hover::after {
    width: 100%;
}

.nav-cta {
    background: var(--brand-red);
    color: var(--white);

    padding: 12px 20px;

    transition:
        background 0.25s ease,
        transform 0.25s ease;
}

.nav-cta:hover {
    background: var(--dark-red);
    transform: translateY(-1px);
}

.menu-toggle {
    display: none;

    width: 32px;
    height: 32px;

    background: none;
    border: none;
}

.menu-toggle span {
    display: block;

    height: 1px;
    width: 26px;

    background: currentColor;

    margin: 7px 0;
}


/* ================================
   HERO
================================ */

.hero {
    min-height: 100vh;

    position: relative;

    background:
        url("Images/hero.jpg")
        center center / cover no-repeat;

    display: flex;
    align-items: center;

    padding: 120px 7vw 80px;

    color: var(--white);
}

.hero-overlay {
    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            90deg,
            rgba(30, 10, 12, 0.72) 0%,
            rgba(45, 14, 17, 0.52) 30%,
            rgba(20, 10, 10, 0.16) 60%,
            rgba(0, 0, 0, 0.02) 100%
        );
}

.hero-content {
    position: relative;
    z-index: 2;

    max-width: 720px;
}

.hero-eyebrow {
    color: rgba(255, 255, 255, 0.72);
}

.hero h1 {
    font-size: clamp(3.6rem, 7vw, 7rem);

    letter-spacing: -0.055em;

    margin-bottom: 26px;
}

.hero-description {
    max-width: 590px;

    font-size: 1.08rem;
    line-height: 1.7;

    color: rgba(255, 255, 255, 0.86);

    margin-bottom: 34px;
}

.hero-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.btn {
    min-height: 52px;

    padding: 0 25px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    font-size: 0.9rem;
    font-weight: 600;

    transition:
        transform 0.25s ease,
        background 0.25s ease,
        color 0.25s ease;
}

.btn:hover {
    transform: translateY(-2px);
}

.btn-primary {
    background: var(--brand-red);
    color: var(--white);
}

.btn-primary:hover {
    background: var(--dark-red);
}

.btn-light {
    border: 1px solid rgba(255, 255, 255, 0.6);
    color: var(--white);
}

.btn-light:hover {
    background: var(--white);
    color: var(--black);
}

.hero-trust {
    margin-top: 38px;

    display: flex;
    gap: 26px;
    flex-wrap: wrap;

    color: rgba(255, 255, 255, 0.78);
    font-size: 0.79rem;
}

.hero-trust span {
    position: relative;
}

.hero-trust span:not(:last-child)::after {
    content: "";

    position: absolute;

    right: -14px;
    top: 50%;

    width: 3px;
    height: 3px;

    background: rgba(255, 255, 255, 0.6);
    border-radius: 50%;
}

.scroll-indicator {
    position: absolute;

    bottom: 32px;
    right: 5vw;

    width: 28px;
    height: 48px;

    border: 1px solid rgba(255, 255, 255, 0.45);
    border-radius: 20px;

    z-index: 2;
}

.scroll-indicator span {
    position: absolute;

    top: 9px;
    left: 50%;

    width: 3px;
    height: 8px;

    border-radius: 2px;

    background: var(--white);

    transform: translateX(-50%);

    animation: scrollDot 1.8s infinite;
}

@keyframes scrollDot {
    0% {
        opacity: 0;
        transform: translate(-50%, 0);
    }

    30% {
        opacity: 1;
    }

    100% {
        opacity: 0;
        transform: translate(-50%, 16px);
    }
}


/* ================================
   FEATURED HOMES
================================ */

.featured {
    padding: 100px 5vw;
}

.section-heading {
    display: flex;
    justify-content: space-between;
    align-items: end;

    margin-bottom: 44px;
}

.section-heading h2 {
    font-size: clamp(2.4rem, 4vw, 4.5rem);

    letter-spacing: -0.045em;
}

.text-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;

    font-weight: 600;
    font-size: 0.92rem;

    border-bottom: 1px solid var(--black);

    padding-bottom: 5px;
}

.text-link span {
    transition: transform 0.25s ease;
}

.text-link:hover span {
    transform: translateX(4px);
}

.property-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);

    gap: 20px;
}

.property-card {
    background: var(--white);
}

.property-image {
    display: block;

    position: relative;

    height: 380px;

    overflow: hidden;
}

.property-image img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    transition: transform 0.55s ease;
}

.property-card:hover .property-image img {
    transform: scale(1.045);
}

.property-badge {
    position: absolute;

    top: 18px;
    left: 18px;

    padding: 8px 11px;

    background: var(--brand-red);
    color: var(--white);

    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.property-info {
    min-height: 116px;

    padding: 22px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 15px;
}

.property-info h3 {
    font-size: 1.35rem;

    margin-bottom: 10px;
}

.property-info p {
    color: var(--gray);
    font-size: 0.84rem;
}

.property-info p span {
    margin: 0 4px;
}

.property-arrow {
    width: 43px;
    height: 43px;

    flex-shrink: 0;

    border: 1px solid var(--border);

    display: grid;
    place-items: center;

    transition:
        background 0.25s ease,
        color 0.25s ease,
        border 0.25s ease;
}

.property-card:hover .property-arrow {
    background: var(--brand-red);
    border-color: var(--brand-red);
    color: var(--white);
}

.mobile-link {
    display: none;
}


/* ================================
   VALUES
================================ */

.values-section {
    display: grid;
    grid-template-columns: 1fr 1fr;

    min-height: 700px;

    background: var(--light-red);
}

.values-image {
    overflow: hidden;
}

.values-image img {
    width: 100%;
    height: 100%;
    min-height: 700px;

    object-fit: cover;
}

.values-content {
    padding: 85px 7vw;

    display: flex;
    flex-direction: column;
    justify-content: center;
}

.values-content h2 {
    font-size: clamp(2.4rem, 4vw, 4.6rem);

    letter-spacing: -0.05em;

    margin-bottom: 22px;
}

.values-intro {
    max-width: 530px;

    color: var(--gray);
    line-height: 1.7;

    margin-bottom: 45px;
}

.values-list {
    border-top: 1px solid rgba(25, 23, 23, 0.15);
}

.value-item {
    display: grid;
    grid-template-columns: 70px 1fr;

    padding: 20px 10px;

    border-bottom: 1px solid rgba(25, 23, 23, 0.15);

    transition:
        padding 0.25s ease,
        background 0.25s ease;
}

.value-item:hover {
    padding-left: 18px;

    background: rgba(166, 30, 45, 0.05);
}

.value-number {
    color: var(--brand-red);

    font-size: 0.76rem;
    font-weight: 600;
}

.value-item h3 {
    font-size: 1rem;

    margin-bottom: 4px;
}

.value-item p {
    color: var(--gray);
    font-size: 0.86rem;
}


/* ================================
   CONTACT
================================ */

.contact-section {
    background: var(--dark-red);

    color: var(--white);

    padding: 105px 7vw;

    display: grid;
    grid-template-columns: 0.9fr 1.1fr;

    gap: 8vw;
}

.light-eyebrow {
    color: rgba(255, 255, 255, 0.6);
}

.contact-copy h2 {
    font-size: clamp(3rem, 5vw, 5.6rem);

    letter-spacing: -0.055em;

    margin-bottom: 26px;
}

.contact-copy > p:not(.eyebrow) {
    max-width: 470px;

    color: rgba(255, 255, 255, 0.72);

    font-size: 1rem;
    line-height: 1.7;
}

.contact-detail {
    margin-top: 52px;
}

.contact-detail span {
    display: block;

    color: rgba(255, 255, 255, 0.45);

    font-size: 0.68rem;
    text-transform: uppercase;
    letter-spacing: 0.14em;

    margin-bottom: 8px;
}

.contact-detail a {
    font-size: 1rem;
}

.contact-form {
    align-self: center;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;

    gap: 20px;
}

.field {
    margin-bottom: 25px;
}

.field label {
    display: block;

    font-size: 0.71rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;

    color: rgba(255, 255, 255, 0.6);

    margin-bottom: 8px;
}

.field input,
.field select,
.field textarea {
    width: 100%;

    padding: 13px 0;

    border: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);

    background: transparent;
    color: var(--white);

    outline: none;

    border-radius: 0;

    transition: border-color 0.25s ease;
}

.field input::placeholder,
.field textarea::placeholder {
    color: rgba(255, 255, 255, 0.42);
}

.field input:focus,
.field select:focus,
.field textarea:focus {
    border-bottom-color: var(--white);
}

.field select {
    color: rgba(255, 255, 255, 0.75);
}

.field select option {
    color: var(--black);
}

.field textarea {
    resize: vertical;
}

.contact-submit {
    width: 100%;

    min-height: 56px;

    padding: 0 22px;

    border: none;

    background: var(--ivory);
    color: var(--dark-red);

    display: flex;
    align-items: center;
    justify-content: space-between;

    font-weight: 600;

    transition:
        transform 0.25s ease,
        background 0.25s ease;
}

.contact-submit:hover {
    transform: translateY(-2px);
    background: var(--white);
}

.form-note {
    text-align: center;

    margin-top: 13px;

    color: rgba(255, 255, 255, 0.52);
    font-size: 0.76rem;
}


/* ================================
   SOCIAL CTA
================================ */

.social-section {
    max-width: var(--container);

    margin: auto;

    padding: 76px 5vw;

    display: flex;
    align-items: end;
    justify-content: space-between;

    gap: 40px;
}

.social-section h2 {
    font-size: clamp(2.2rem, 4vw, 4rem);

    letter-spacing: -0.045em;
}

.social-links {
    display: flex;
    gap: 30px;
}

.social-links a {
    display: flex;
    align-items: center;
    gap: 10px;

    padding-bottom: 6px;

    border-bottom: 1px solid var(--black);

    font-weight: 600;
    font-size: 0.9rem;
}

.social-links span {
    transition: transform 0.25s ease;
}

.social-links a:hover span {
    transform: translate(2px, -2px);
}


/* ================================
   FOOTER
================================ */

.footer {
    background: var(--black);
    color: var(--white);

    padding: 70px 6vw 28px;
}

.footer-top {
    max-width: var(--container);
    margin: auto;

    display: flex;
    align-items: flex-start;
    justify-content: space-between;

    padding-bottom: 65px;

    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-brand h2 {
    font-size: clamp(2.5rem, 6vw, 6rem);

    letter-spacing: -0.055em;

    margin-bottom: 20px;
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.55);
}

.footer-links {
    display: grid;
    gap: 14px;

    min-width: 130px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.72);

    transition: color 0.2s ease;
}

.footer-links a:hover {
    color: var(--white);
}

.footer-bottom {
    max-width: var(--container);
    margin: auto;

    padding-top: 25px;

    display: flex;
    justify-content: space-between;

    color: rgba(255, 255, 255, 0.38);
    font-size: 0.76rem;
}


/* ================================
   REVEAL ANIMATION
================================ */

.reveal {
    opacity: 0;
    transform: translateY(35px);

    transition:
        opacity 0.75s ease,
        transform 0.75s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}


/* ================================
   RESPONSIVE
================================ */

@media (max-width: 1050px) {

    .property-grid {
        grid-template-columns: 1fr 1fr;
    }

    .property-card:last-child {
        grid-column: span 2;
    }

    .property-card:last-child .property-image {
        height: 480px;
    }

    .values-content {
        padding: 70px 5vw;
    }

    .contact-section {
        grid-template-columns: 1fr;

        gap: 70px;
    }
}


@media (max-width: 780px) {

    .site-header {
        height: 74px;

        padding: 0 22px;
    }

    .menu-toggle {
        display: block;

        position: relative;
        z-index: 1002;
    }

    .main-nav {
        position: fixed;

        top: 0;
        right: -100%;

        width: min(85vw, 360px);
        height: 100vh;

        padding: 110px 30px 40px;

        background: var(--ivory);
        color: var(--black);

        flex-direction: column;
        align-items: stretch;

        gap: 0;

        box-shadow: -20px 0 50px rgba(0, 0, 0, 0.12);

        transition: right 0.35s ease;
    }

    .main-nav.open {
        right: 0;
    }

    .main-nav > a {
        padding: 18px 0;

        border-bottom: 1px solid var(--border);
    }

    .main-nav .nav-cta {
        margin-top: 20px;

        text-align: center;

        border: none;
    }


    .hero {
        min-height: 92vh;

        padding: 120px 24px 70px;

        background-position: 62% center;
    }

    .hero-overlay {
        background:
            linear-gradient(
                90deg,
                rgba(25, 8, 10, 0.8),
                rgba(25, 8, 10, 0.42)
            );
    }

    .hero h1 {
        font-size: clamp(3.1rem, 13vw, 5.2rem);
    }

    .hero-description {
        font-size: 0.96rem;
    }

    .scroll-indicator {
        display: none;
    }


    .featured {
        padding: 75px 22px;
    }

    .section-heading {
        align-items: start;
    }

    .desktop-link {
        display: none;
    }

    .mobile-link {
        display: inline-flex;

        margin-top: 30px;
    }

    .property-grid {
        grid-template-columns: 1fr;
    }

    .property-card:last-child {
        grid-column: auto;
    }

    .property-image,
    .property-card:last-child .property-image {
        height: 330px;
    }


    .values-section {
        grid-template-columns: 1fr;
    }

    .values-image img {
        min-height: 420px;
        height: 420px;
    }

    .values-content {
        padding: 65px 22px;
    }


    .contact-section {
        padding: 75px 22px;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }


    .social-section {
        padding: 65px 22px;

        align-items: flex-start;
        flex-direction: column;
    }

    .social-links {
        flex-wrap: wrap;
    }


    .footer {
        padding: 60px 22px 25px;
    }

    .footer-top {
        flex-direction: column;
        gap: 50px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 6px;
    }
}


@media (max-width: 480px) {

    .hero-actions {
        flex-direction: column;
    }

    .btn {
        width: 100%;
    }

    .hero-trust {
        gap: 18px;
    }

    .hero-trust span:not(:last-child)::after {
        display: none;
    }

    .property-image,
    .property-card:last-child .property-image {
        height: 270px;
    }

    .social-links {
        flex-direction: column;
        align-items: flex-start;
    }
}