/* =========================================================
   RAHEJA PROPERTIES — CONTACT PAGE
   Premium Responsive Contact Experience
========================================================= */

.contact-page {
    --contact-ivory: #fcfaf6;
    --contact-cream: #f4ede3;
    --contact-ink: #26231f;
    --contact-muted: #756e65;
    --contact-orange: #f47716;
    --contact-line: rgba(38, 35, 31, .14);

    margin: 0;
    background: var(--contact-ivory);
    color: var(--contact-ink);
    font-family: "DM Sans", sans-serif;
}

.contact-page main {
    overflow: hidden;
}

.contact-page *,
.contact-page *::before,
.contact-page *::after {
    box-sizing: border-box;
}

.contact-page a {
    color: inherit;
}

.contact-container {
    width: min(calc(100% - 110px), 1420px);
    margin: 0 auto;
}


/* =========================================================
   HERO
========================================================= */

.contact-hero {
    position: relative;
    min-height: 720px;
    padding: 150px 0 90px;
    display: flex;
    align-items: center;
    overflow: hidden;
    isolation: isolate;

    background:
        radial-gradient(
            circle at 82% 22%,
            rgba(244, 119, 22, .14),
            transparent 27%
        ),
        linear-gradient(
            135deg,
            #fcfaf6 0%,
            #f6f0e8 56%,
            #eee3d5 100%
        );

    border-bottom: 1px solid var(--contact-line);
}

.contact-hero-grid {
    position: absolute;
    inset: 0;
    z-index: -3;
    opacity: .42;

    background-image:
        linear-gradient(
            rgba(38, 35, 31, .055) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(38, 35, 31, .055) 1px,
            transparent 1px
        );

    background-size: 86px 86px;

    -webkit-mask-image:
        linear-gradient(to right, #000 0%, rgba(0,0,0,.6) 65%, transparent);
    mask-image:
        linear-gradient(to right, #000 0%, rgba(0,0,0,.6) 65%, transparent);
}

.contact-hero::before {
    content: "";
    position: absolute;
    width: 580px;
    height: 760px;
    right: 7%;
    top: -100px;
    z-index: -2;

    border: 1px solid rgba(38, 35, 31, .10);
    background: rgba(255,255,255,.12);
    transform: rotate(17deg);
}

.contact-hero::after {
    content: "";
    position: absolute;
    width: 1px;
    height: 78%;
    left: 67%;
    top: 11%;
    z-index: -1;

    background:
        linear-gradient(
            transparent,
            rgba(38,35,31,.20),
            transparent
        );
}

.contact-hero-shape {
    position: absolute;
    border: 1px solid rgba(244,119,22,.17);
    border-radius: 50%;
    pointer-events: none;
    z-index: -2;
}

.contact-hero .shape-one {
    width: 390px;
    height: 390px;
    right: -180px;
    bottom: -150px;
}

.contact-hero .shape-two {
    width: 170px;
    height: 170px;
    right: 28%;
    top: 16%;
}

.contact-hero-container {
    position: relative;
    z-index: 2;

    display: grid;
    grid-template-columns:
        minmax(0, 1.45fr)
        minmax(280px, .55fr);

    gap: 100px;
    align-items: end;
}

.contact-hero-copy {
    max-width: 900px;
}

.contact-eyebrow,
.contact-label,
.contact-info-label {
    display: block;

    font-size: 11px;
    line-height: 1.2;
    font-weight: 700;
    letter-spacing: .22em;
    text-transform: uppercase;
}

.contact-eyebrow {
    margin-bottom: 26px;
    color: var(--contact-orange);
}

.contact-hero-copy h1 {
    margin: 0;
    max-width: 900px;

    font-family: "Playfair Display", Georgia, serif;
    font-size: clamp(66px, 6.4vw, 105px);
    line-height: .92;
    font-weight: 500;
    letter-spacing: -.045em;
}

.contact-hero-copy h1 span {
    display: block;
    color: var(--contact-orange);
    font-style: italic;
}

.contact-hero-copy > p {
    max-width: 680px;
    margin: 34px 0 0;

    font-size: 16px;
    line-height: 1.8;
    color: #5f5951;
}

.contact-hero-side {
    max-width: 355px;
    padding: 8px 0 10px 34px;
    border-left: 1px solid rgba(38,35,31,.20);
}

.contact-side-number {
    display: block;
    margin-bottom: 24px;

    color: var(--contact-orange);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .18em;
}

.contact-hero-side p {
    margin: 0 0 28px;
    color: #625c54;
    font-size: 14px;
    line-height: 1.75;
}

.contact-scroll-link {
    display: flex;
    justify-content: space-between;
    align-items: center;

    padding: 17px 0;

    border-top: 1px solid var(--contact-line);
    border-bottom: 1px solid var(--contact-line);

    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
}

.contact-scroll-link span {
    color: var(--contact-orange);
    font-size: 18px;
    transition: transform .25s ease;
}

.contact-scroll-link:hover span {
    transform: translateY(4px);
}


/* =========================================================
   INTRO
========================================================= */

.contact-intro {
    padding: 135px 0;
    background: var(--contact-ivory);
}

.contact-intro-grid {
    display: grid;
    grid-template-columns:
        110px
        minmax(380px, 1.15fr)
        minmax(300px, .75fr);

    gap: 60px;
    align-items: start;
}

.contact-section-index {
    padding-top: 8px;

    color: var(--contact-orange);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .16em;
}

.contact-label {
    margin-bottom: 25px;
    color: #777066;
}

.contact-intro-heading h2 {
    margin: 0;

    font-family: "Playfair Display", Georgia, serif;
    font-size: clamp(48px, 4.7vw, 76px);
    line-height: 1;
    font-weight: 500;
    letter-spacing: -.035em;
}

.contact-intro-heading h2 em {
    display: block;
    color: var(--contact-orange);
    font-weight: 500;
}

.contact-intro-copy {
    padding-top: 43px;
}

.contact-intro-copy > p {
    margin: 0;

    color: #625c54;
    font-size: 15px;
    line-height: 1.85;
}

.contact-intro-line {
    width: 100%;
    height: 1px;
    margin: 35px 0;

    background: var(--contact-line);
}

.contact-small-copy {
    max-width: 340px;

    font-family: "Playfair Display", Georgia, serif;
    font-size: 20px !important;
    line-height: 1.45 !important;
    color: var(--contact-ink) !important;
}


/* =========================================================
   CONTACT FORM SECTION
========================================================= */

.contact-main {
    padding: 125px 0 140px;

    background:
        linear-gradient(
            135deg,
            #f4ede3 0%,
            #f9f5ef 55%,
            #f0e6d9 100%
        );

    border-top: 1px solid var(--contact-line);
}

.contact-main-heading {
    display: grid;
    grid-template-columns:
        minmax(0, 1.15fr)
        minmax(280px, .55fr);

    gap: 90px;
    align-items: end;

    padding-bottom: 65px;
    border-bottom: 1px solid var(--contact-line);
}

.contact-main-heading h2 {
    margin: 0;

    font-family: "Playfair Display", Georgia, serif;
    font-size: clamp(50px, 5vw, 82px);
    line-height: .98;
    font-weight: 500;
    letter-spacing: -.04em;
}

.contact-main-heading h2 em {
    display: block;
    color: var(--contact-orange);
    font-weight: 500;
}

.contact-main-heading > p {
    max-width: 390px;
    margin: 0 0 5px;

    color: #655f57;
    font-size: 14px;
    line-height: 1.8;
}


/* CONTACT CONTENT */

.contact-content-grid {
    display: grid;
    grid-template-columns:
        minmax(250px, .65fr)
        minmax(0, 1.55fr);

    gap: 90px;

    padding-top: 75px;
}


/* =========================================================
   CONTACT INFORMATION
========================================================= */

.contact-information {
    padding-right: 55px;
    border-right: 1px solid var(--contact-line);
}

.contact-info-block {
    padding: 0 0 36px;
    margin: 0 0 36px;

    border-bottom: 1px solid var(--contact-line);
}

.contact-info-block:last-child {
    margin-bottom: 0;
    border-bottom: 0;
}

.contact-info-label {
    margin-bottom: 18px;
    color: var(--contact-orange);
}

.contact-info-block h3 {
    margin: 0 0 10px;

    font-family: "Playfair Display", Georgia, serif;
    font-size: 29px;
    line-height: 1.15;
    font-weight: 500;
}

.contact-info-block p {
    max-width: 300px;
    margin: 0;

    color: #6b645b;
    font-size: 13px;
    line-height: 1.75;
}


/* =========================================================
   FORM
========================================================= */

.contact-form-wrap {
    min-width: 0;
}

.contact-form {
    width: 100%;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 35px;
}

.form-field {
    position: relative;
    margin-bottom: 42px;
}

.form-field label {
    display: block;
    margin-bottom: 12px;

    color: #625b52;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .13em;
    text-transform: uppercase;
}

.form-field input,
.form-field select,
.form-field textarea {
    display: block;
    width: 100%;

    margin: 0;
    padding: 13px 0 16px;

    border: 0;
    border-bottom: 1px solid rgba(38,35,31,.28);
    border-radius: 0;
    outline: 0;

    background: transparent;
    color: var(--contact-ink);

    font-family: "DM Sans", sans-serif;
    font-size: 16px;

    transition:
        border-color .25s ease,
        padding-left .25s ease;
}

.form-field input::placeholder,
.form-field textarea::placeholder {
    color: #9b9389;
    opacity: 1;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
    border-bottom-color: var(--contact-orange);
}

.form-field textarea {
    min-height: 125px;
    resize: vertical;
    line-height: 1.65;
}

.form-field select {
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;

    padding-right: 30px;

    background-image:
        linear-gradient(45deg, transparent 50%, #26231f 50%),
        linear-gradient(135deg, #26231f 50%, transparent 50%);

    background-position:
        calc(100% - 8px) 50%,
        calc(100% - 3px) 50%;

    background-size:
        5px 5px,
        5px 5px;

    background-repeat: no-repeat;
}

.form-field-full {
    width: 100%;
}

.contact-form-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;

    gap: 35px;
    margin-top: 5px;
}

.contact-consent {
    display: flex;
    align-items: flex-start;
    gap: 11px;

    max-width: 420px;

    cursor: pointer;
    color: #716a61;

    font-size: 12px;
    line-height: 1.55;
}

.contact-consent input {
    flex: 0 0 auto;
    width: 16px;
    height: 16px;
    margin: 2px 0 0;

    accent-color: var(--contact-orange);
}

.contact-submit {
    min-width: 205px;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 35px;

    padding: 20px 23px;

    border: 1px solid var(--contact-orange);
    border-radius: 0;

    background: var(--contact-orange);
    color: #fff;

    font-family: "DM Sans", sans-serif;
    font-size: 13px;
    font-weight: 700;

    cursor: pointer;

    transition:
        background .25s ease,
        color .25s ease,
        transform .25s ease;
}

.contact-submit span {
    font-size: 18px;
    transition: transform .25s ease;
}

.contact-submit:hover {
    background: var(--contact-ink);
    border-color: var(--contact-ink);
}

.contact-submit:hover span {
    transform: translate(3px, -3px);
}


/* =========================================================
   FINAL CTA
========================================================= */

.contact-final {
    position: relative;
    padding: 115px 0;

    overflow: hidden;
    background: #25221e;
    color: #fff;
}

.contact-final::before {
    content: "RAHEJA";
    position: absolute;
    left: -12px;
    bottom: -48px;

    color: rgba(255,255,255,.025);

    font-family: "Playfair Display", Georgia, serif;
    font-size: clamp(130px, 18vw, 280px);
    line-height: .75;
    pointer-events: none;
}

.contact-final-grid {
    position: relative;
    z-index: 1;

    display: grid;
    grid-template-columns:
        90px
        minmax(380px, 1.1fr)
        minmax(280px, .6fr);

    gap: 55px;
    align-items: center;
}

.contact-final-index {
    align-self: start;
    padding-top: 8px;

    color: var(--contact-orange);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .15em;
}

.contact-final-heading > span {
    display: block;
    margin-bottom: 22px;

    color: #aaa198;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .20em;
}

.contact-final-heading h2 {
    margin: 0;

    font-family: "Playfair Display", Georgia, serif;
    font-size: clamp(45px, 4.5vw, 72px);
    line-height: 1;
    font-weight: 500;
    letter-spacing: -.035em;
}

.contact-final-heading h2 em {
    display: block;
    color: var(--contact-orange);
    font-weight: 500;
}

.contact-final-action p {
    margin: 0 0 28px;

    color: #c2bbb2;
    font-size: 13px;
    line-height: 1.75;
}

.contact-final-action a {
    display: flex;
    align-items: center;
    justify-content: space-between;

    padding: 17px 0;

    border-top: 1px solid rgba(255,255,255,.20);
    border-bottom: 1px solid rgba(255,255,255,.20);

    color: #fff;
    text-decoration: none;

    font-size: 13px;
    font-weight: 600;
}

.contact-final-action a span {
    color: var(--contact-orange);
    font-size: 18px;
    transition: transform .25s ease;
}

.contact-final-action a:hover span {
    transform: translate(3px, -3px);
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1000px) {

    .contact-container {
        width: calc(100% - 64px);
    }

    .contact-hero {
        min-height: 650px;
        padding: 135px 0 80px;
    }

    .contact-hero-container {
        grid-template-columns: 1.25fr .65fr;
        gap: 55px;
    }

    .contact-hero-copy h1 {
        font-size: clamp(58px, 8vw, 82px);
    }

    .contact-intro-grid {
        grid-template-columns: 70px 1fr;
        gap: 40px;
    }

    .contact-intro-copy {
        grid-column: 2;
        padding-top: 0;
    }

    .contact-main-heading {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .contact-content-grid {
        grid-template-columns: 240px 1fr;
        gap: 50px;
    }

    .contact-information {
        padding-right: 35px;
    }

    .contact-final-grid {
        grid-template-columns: 60px 1fr;
    }

    .contact-final-action {
        grid-column: 2;
        max-width: 500px;
    }
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 700px) {

    .contact-container {
        width: calc(100% - 36px);
    }

    .contact-hero {
        min-height: auto;
        padding: 120px 0 75px;
        align-items: initial;
    }

    .contact-hero::before {
        width: 360px;
        height: 540px;
        right: -180px;
    }

    .contact-hero::after {
        display: none;
    }

    .contact-hero-container {
        grid-template-columns: 1fr;
        gap: 55px;
    }

    .contact-hero-copy h1 {
        font-size: clamp(49px, 14vw, 67px);
        line-height: .95;
        letter-spacing: -.04em;
    }

    .contact-hero-copy > p {
        margin-top: 26px;
        font-size: 14px;
    }

    .contact-hero-side {
        max-width: none;
        padding: 25px 0 0;
        border-left: 0;
        border-top: 1px solid var(--contact-line);
    }

    .contact-intro {
        padding: 85px 0;
    }

    .contact-intro-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .contact-intro-copy {
        grid-column: auto;
    }

    .contact-intro-heading h2 {
        font-size: clamp(43px, 12vw, 58px);
    }

    .contact-main {
        padding: 85px 0 95px;
    }

    .contact-main-heading {
        padding-bottom: 45px;
    }

    .contact-main-heading h2 {
        font-size: clamp(45px, 12vw, 62px);
    }

    .contact-content-grid {
        grid-template-columns: 1fr;
        gap: 60px;
        padding-top: 55px;
    }

    .contact-information {
        padding: 0;
        border-right: 0;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .contact-form-footer {
        flex-direction: column;
        align-items: stretch;
    }

    .contact-submit {
        width: 100%;
    }

    .contact-final {
        padding: 85px 0;
    }

    .contact-final-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .contact-final-action {
        grid-column: auto;
    }

    .contact-final-heading h2 {
        font-size: clamp(42px, 12vw, 58px);
    }
}


/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 430px) {

    .contact-container {
        width: calc(100% - 28px);
    }

    .contact-hero {
        padding-top: 108px;
    }

    .contact-hero-copy h1 {
        font-size: 47px;
    }

    .contact-eyebrow {
        margin-bottom: 20px;
    }

    .contact-intro,
    .contact-main {
        padding-top: 75px;
        padding-bottom: 75px;
    }

    .form-field {
        margin-bottom: 34px;
    }
}


/* =========================================================
   REDUCED MOTION
========================================================= */

@media (prefers-reduced-motion: reduce) {

    .contact-page *,
    .contact-page *::before,
    .contact-page *::after {
        scroll-behavior: auto !important;
        transition-duration: .01ms !important;
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
    }
}