/* ============================================================
   RAS Real Estate — List With Us Page
   Design system: Cormorant Garamond + DM Sans
   Brand colour: #2C6E4E
   ============================================================ */


/* ══════════════════════════════════════════════════
   1. HERO
══════════════════════════════════════════════════ */
.lw-hero {
    position: relative;
    height: 80vh;
    min-height: 580px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    overflow: hidden;
}

.lw-hero__bg {
    position: absolute;
    inset: 0;
    width: 100%; height: 100%;
    object-fit: cover;
    object-position: center 40%;
    transform: scale(1.07);
    transition: transform 8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: transform;
}
.lw-hero__bg.loaded { transform: scale(1); }

.lw-hero__veil {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        160deg,
        rgba(8,8,8,0.72) 0%,
        rgba(8,8,8,0.48) 50%,
        rgba(8,8,8,0.75) 100%
    );
}

.lw-hero__body {
    position: relative;
    z-index: 2;
    max-width: 760px;
    padding: 0 24px;
}

.lw-hero__label {
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.45);
    display: block;
    margin-bottom: 24px;
}

.lw-hero__title {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: clamp(36px, 5vw, 68px);
    font-weight: 500;
    line-height: 1.06;
    letter-spacing: -0.02em;
    color: var(--white);
    margin-bottom: 18px;
}
.lw-hero__title em {
    font-style: italic;
    font-weight: 300;
    color: rgba(255,255,255,0.75);
}

.lw-hero__sub {
    font-size: 15px;
    color: rgba(255,255,255,0.55);
    line-height: 1.7;
    margin-bottom: 38px;
    max-width: 520px;
    margin-left: auto;
    margin-right: auto;
}

.lw-hero__actions {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
}

.lw-hero__scroll {
    position: absolute;
    bottom: 36px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: rgba(255,255,255,0.35);
    font-size: 9px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}
.lw-hero__scroll-line {
    width: 1px; height: 48px;
    background: rgba(255,255,255,0.25);
    animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse {
    0%, 100% { opacity: 0.3; height: 48px; }
    50%       { opacity: 0.7; height: 56px; }
}


/* ══════════════════════════════════════════════════
   2. WHY LIST WITH US
══════════════════════════════════════════════════ */
.lw-why {
    background: var(--white);
    padding: 100px 0 90px;
}

.lw-why__head {
    margin-bottom: 56px;
}

.lw-why__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.lw-why-card {
    padding: 32px 30px;
    border: 1px solid var(--border);
    border-radius: 12px;
    transition: transform .3s, box-shadow .3s, border-color .3s;
}
.lw-why-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 40px rgba(0,0,0,.07);
    border-color: transparent;
}

.lw-why-card__icon {
    width: 48px; height: 48px;
    border-radius: 10px;
    background: var(--green);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: var(--white);
    flex-shrink: 0;
}
.lw-why-card__icon svg { width: 22px; height: 22px; }

.lw-why-card__title {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 20px;
    font-weight: 600;
    color: var(--black);
    margin-bottom: 10px;
    line-height: 1.2;
}

.lw-why-card__text {
    font-size: 14px;
    color: #666;
    line-height: 1.7;
}


/* ══════════════════════════════════════════════════
   3. HOW IT WORKS
══════════════════════════════════════════════════ */
.lw-steps {
    background: var(--cream);
    padding: 90px 0 100px;
}

.lw-steps__head {
    margin-bottom: 60px;
    text-align: center;
}
.lw-steps__head .sec-title::after {
    left: 50%;
    transform: translateX(-50%);
}

.lw-steps__track {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    position: relative;
}
.lw-steps__track::before {
    content: '';
    position: absolute;
    top: 28px;
    left: calc(16.66% + 14px);
    right: calc(16.66% + 14px);
    height: 1px;
    background: var(--border);
    z-index: 0;
}

.lw-step {
    text-align: center;
    padding: 0 24px;
    position: relative;
    z-index: 1;
}

.lw-step__num {
    width: 56px; height: 56px;
    border-radius: 50%;
    background: var(--white);
    border: 1.5px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 20px;
    font-weight: 600;
    color: var(--green);
    transition: background .25s, border-color .25s;
}

.lw-step:hover .lw-step__num {
    background: var(--green);
    border-color: var(--green);
    color: var(--white);
}

.lw-step__title {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 22px;
    font-weight: 600;
    color: var(--black);
    margin-bottom: 10px;
    line-height: 1.2;
}

.lw-step__text {
    font-size: 14px;
    color: #666;
    line-height: 1.7;
}


/* ══════════════════════════════════════════════════
   4. FORM SECTION
══════════════════════════════════════════════════ */
.lw-form-section {
    background: var(--white);
    padding: 100px 0 110px;
}

.lw-form-inner {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 80px;
    align-items: start;
}

.lw-form-left {
    position: sticky;
    top: 100px;
}

.lw-form-left__kicker {
    font-size: 10px;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: var(--green);
    display: block;
    margin-bottom: 16px;
}

.lw-form-left__title {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: clamp(30px, 3.2vw, 44px);
    font-weight: 600;
    line-height: 1.1;
    color: var(--black);
    letter-spacing: -0.01em;
    margin-bottom: 18px;
    position: relative;
    padding-bottom: 16px;
}
.lw-form-left__title::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0;
    width: 32px; height: 2px;
    background: var(--green);
}

.lw-form-left__text {
    font-size: 14.5px;
    color: #666;
    line-height: 1.75;
    margin-bottom: 28px;
}

.lw-form-trust {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.lw-form-trust__item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    color: #555;
}
.lw-form-trust__item svg {
    width: 16px; height: 16px;
    color: var(--green);
    flex-shrink: 0;
}

/* Form */
.lw-form {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 44px 40px;
}

.lw-form input,
.lw-form select,
.lw-form textarea {
    width: 100%;
    padding: 14px 18px;
    border: 1.5px solid var(--border);
    border-radius: 8px;
    font-family: 'DM Sans', system-ui, sans-serif;
    font-size: 14px;
    color: var(--black);
    background: #fff;
    transition: border-color .2s, box-shadow .2s;
    outline: none;
    appearance: none;
    -webkit-appearance: none;
    display: block;
    margin-bottom: 14px;
}

.lw-form input:focus,
.lw-form select:focus,
.lw-form textarea:focus {
    border-color: var(--green);
    box-shadow: 0 0 0 3px rgba(44,110,78,0.1);
}

.lw-form input::placeholder,
.lw-form textarea::placeholder { color: #aaa; }

.lw-form select { cursor: pointer; }
.lw-form select option { color: var(--black); }

.lw-form textarea {
    resize: vertical;
    min-height: 110px;
    line-height: 1.6;
}

.lw-form__row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}
.lw-form__row input { margin-bottom: 0; }

.lw-form__phone {
    position: relative;
    margin-bottom: 14px;
}
.lw-form__phone-flag {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 18px;
    pointer-events: none;
}
.lw-form__phone input {
    padding-left: 46px;
    margin-bottom: 0;
}

.lw-form__consent {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 24px;
    margin-top: 4px;
}
.lw-form__consent input[type="checkbox"] {
    width: 16px; height: 16px;
    flex-shrink: 0;
    margin-top: 2px;
    margin-bottom: 0;
    accent-color: var(--green);
    cursor: pointer;
}
.lw-form__consent label {
    font-size: 13px;
    color: #666;
    line-height: 1.55;
    cursor: pointer;
}

.lw-form__submit {
    width: 100%;
    padding: 15px 24px;
    background: var(--green);
    color: var(--white);
    border: none;
    border-radius: 8px;
    font-family: 'DM Sans', system-ui, sans-serif;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    cursor: pointer;
    transition: background .25s;
}
.lw-form__submit:hover { background: #22573D; }

/* Success state */
.lw-form-success {
    text-align: center;
    padding: 60px 40px;
    border: 1px solid var(--border);
    border-radius: 16px;
}

.lw-form-success__icon {
    width: 64px; height: 64px;
    border-radius: 50%;
    background: var(--green);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    color: var(--white);
}
.lw-form-success__icon svg { width: 28px; height: 28px; }

.lw-form-success__title {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 30px;
    font-weight: 600;
    color: var(--black);
    margin-bottom: 12px;
}

.lw-form-success__text {
    font-size: 15px;
    color: #666;
    line-height: 1.7;
    margin-bottom: 28px;
    max-width: 360px;
    margin-left: auto;
    margin-right: auto;
}


/* ══════════════════════════════════════════════════
   5. STATS BAND
══════════════════════════════════════════════════ */
.lw-stats {
    background: var(--black);
    padding: 72px 0;
}

.lw-stats__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
}

.lw-stat {
    text-align: center;
    padding: 32px 20px;
    border-right: 1px solid rgba(255,255,255,0.07);
}
.lw-stat:last-child { border-right: none; }

.lw-stat__num {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 52px;
    font-weight: 500;
    color: var(--white);
    line-height: 1;
    display: block;
    margin-bottom: 8px;
}
.lw-stat__num sup {
    font-size: 28px;
    vertical-align: super;
}

.lw-stat__label {
    font-size: 11px;
    font-weight: 400;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.4);
}


/* ══════════════════════════════════════════════════
   6. CTA SECTION
══════════════════════════════════════════════════ */
.lw-cta {
    position: relative;
    padding: 100px 5%;
    text-align: center;
    overflow: hidden;
}

.lw-cta__bg {
    position: absolute;
    inset: 0;
    width: 100%; height: 100%;
    object-fit: cover;
}
.lw-cta__veil {
    position: absolute;
    inset: 0;
    background: rgba(8,8,8,0.72);
}

.lw-cta__body {
    position: relative;
    z-index: 2;
    max-width: 640px;
    margin: 0 auto;
    color: var(--white);
}

.lw-cta__eyebrow {
    font-size: 10px;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.45);
    display: block;
    margin-bottom: 20px;
}

.lw-cta__title {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: clamp(28px, 3.8vw, 48px);
    font-weight: 500;
    line-height: 1.1;
    color: var(--white);
    margin-bottom: 16px;
}
.lw-cta__title em {
    font-style: italic;
    font-weight: 300;
    color: rgba(255,255,255,0.7);
}

.lw-cta__sub {
    font-size: 14px;
    color: rgba(255,255,255,0.5);
    line-height: 1.7;
    margin-bottom: 36px;
}

.lw-cta__btns {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
}


/* ══════════════════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════════════════ */
@media (max-width: 1024px) {
    .lw-why__grid { grid-template-columns: repeat(2, 1fr); }
    .lw-form-inner { grid-template-columns: 1fr; gap: 48px; }
    .lw-form-left { position: static; }
    .lw-stats__grid { grid-template-columns: repeat(2, 1fr); }
    .lw-stat { border-bottom: 1px solid rgba(255,255,255,0.07); }
    .lw-stat:nth-child(2) { border-right: none; }
    .lw-stat:nth-child(3) { border-bottom: none; }
    .lw-stat:nth-child(4) { border-right: none; border-bottom: none; }
}

@media (max-width: 768px) {
    .lw-hero { height: 70vh; }
    .lw-steps__track::before { display: none; }
    .lw-steps__track { grid-template-columns: 1fr; gap: 32px; }
    .lw-step { text-align: left; display: flex; gap: 20px; align-items: flex-start; }
    .lw-step__num { flex-shrink: 0; margin: 0; }
    .lw-form { padding: 32px 24px; }
    .lw-form__row { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
    .lw-why__grid { grid-template-columns: 1fr; gap: 16px; }
    .lw-stats__grid { grid-template-columns: repeat(2, 1fr); }
    .lw-stat__num { font-size: 42px; }
    .lw-cta { padding: 70px 5%; }
}
