/* ===========================
   How We Work Page Styles
   Rapid Property Transfers — Premium Classical Design
   =========================== */

/* ── Container ─────────────────────────────────────────── */

.hw-container {
    max-width: 1280px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 20px;
    padding-right: 20px;
}

/* ── Section header ────────────────────────────────────── */

.hw-section-header {
    text-align: center;
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 56px;
}

.hw-section-title {
    font-family: var(--font-heading);
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    font-weight: 700;
    color: var(--color-navy);
    margin: 0 0 16px;
    line-height: 1.2;
}

.hw-section-subtitle {
    font-family: var(--font-body);
    font-size: 1.0625rem;
    color: #5a6373;
    margin: 0;
    line-height: 1.7;
}

/* ============================================================
   HERO
   ============================================================ */

.hw-hero {
    background-color: var(--color-navy);
    background-image:
        radial-gradient(ellipse 70% 60% at 50% 100%, rgba(197, 160, 73, 0.12) 0%, transparent 65%),
        radial-gradient(ellipse 40% 40% at 90% 10%, rgba(255,255,255,0.04) 0%, transparent 60%);
    padding: 96px 0 80px;
    text-align: center;
}

.hw-hero-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
    max-width: 860px;
    margin: 0 auto;
}

.hw-hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 6px 16px 6px 10px;
    border-radius: 50px;
    background: rgba(197, 160, 73, 0.15);
    border: 1px solid rgba(197, 160, 73, 0.4);
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    color: var(--color-gold);
}

.hw-hero-eyebrow svg {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
    color: var(--color-gold);
}

.hw-hero-headline {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 5vw, 3.25rem);
    font-weight: 700;
    color: #ffffff;
    line-height: 1.15;
    margin: 0;
}

.hw-hero-subheadline {
    font-family: var(--font-heading);
    font-size: clamp(1rem, 2vw, 1.25rem);
    font-weight: 500;
    color: var(--color-gold);
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin: 0;
}

.hw-hero-desc {
    font-size: 1.0625rem;
    color: rgba(255, 255, 255, 0.78);
    line-height: 1.75;
    max-width: 640px;
    margin: 0;
}

.hw-hero-ctas {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 8px;
}

/* Hero with background image */

.hw-hero.has-bg {
    background-image: none;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
}

.hw-hero.has-bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(12, 30, 74, 0.88);
    z-index: 0;
}

.hw-hero.has-bg .hw-container {
    position: relative;
    z-index: 1;
}

/* ============================================================
   PROCESS STEPS
   ============================================================ */

.hw-steps {
    padding: 96px 0;
    background-color: #ffffff;
}

.hw-step-list {
    list-style: none;
    margin: 0;
    padding: 0;
    max-width: 780px;
    margin-left: auto;
    margin-right: auto;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.hw-step {
    display: flex;
    gap: 32px;
    align-items: flex-start;
}

/* ── Left marker column ─────────────────────────────────── */

.hw-step-marker {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex-shrink: 0;
    width: 52px;
}

.hw-step-number {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: var(--color-navy);
    border: 3px solid var(--color-gold);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--color-gold);
    flex-shrink: 0;
    position: relative;
    z-index: 1;
}

.hw-step-line {
    width: 2px;
    flex: 1;
    min-height: 32px;
    background: linear-gradient(to bottom, var(--color-gold) 0%, rgba(197, 160, 73, 0.2) 100%);
    margin-top: 0;
}

/* ── Content card ───────────────────────────────────────── */

.hw-step-content {
    flex: 1;
    background: #ffffff;
    border: 1px solid rgba(12, 30, 74, 0.08);
    border-radius: 12px;
    padding: 28px 32px;
    margin-bottom: 24px;
    box-shadow: 0 2px 12px rgba(12, 30, 74, 0.05);
    transition: box-shadow 0.2s ease, transform 0.2s ease;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.hw-step-content:hover {
    box-shadow: 0 6px 24px rgba(12, 30, 74, 0.1);
    transform: translateY(-1px);
}

/* Last step — no bottom margin (no connector line below it) */
.hw-step:last-child .hw-step-content {
    margin-bottom: 0;
}

.hw-step-icon {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    background: linear-gradient(135deg, rgba(197, 160, 73, 0.12), rgba(197, 160, 73, 0.06));
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-gold);
    flex-shrink: 0;
}

.hw-step-icon i,
.hw-step-icon svg {
    width: 20px;
    height: 20px;
}

.hw-step-title {
    font-family: var(--font-heading);
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--color-navy);
    margin: 0;
    line-height: 1.3;
}

.hw-step-desc {
    font-size: 0.9375rem;
    color: #5a6373;
    line-height: 1.75;
    margin: 0;
}

/* ============================================================
   WHAT YOU'LL NEED
   ============================================================ */

.hw-need {
    padding: 96px 0;
    background-color: var(--color-navy);
    background-image: radial-gradient(ellipse 60% 50% at 50% 0%, rgba(197, 160, 73, 0.1) 0%, transparent 65%);
}

.hw-need .hw-section-title {
    color: #ffffff;
}

.hw-need .hw-section-subtitle {
    color: rgba(255, 255, 255, 0.65);
}

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

.hw-need-card {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(197, 160, 73, 0.2);
    border-radius: 12px;
    padding: 28px 24px;
    transition: background-color 0.2s ease, border-color 0.2s ease;
}

.hw-need-card:hover {
    background: rgba(255, 255, 255, 0.09);
    border-color: rgba(197, 160, 73, 0.45);
}

.hw-need-icon-wrap {
    width: 48px;
    height: 48px;
    border-radius: 10px;
    background: rgba(197, 160, 73, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--color-gold);
}

.hw-need-icon-wrap i,
.hw-need-icon-wrap svg {
    width: 22px;
    height: 22px;
}

.hw-need-body {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.hw-need-title {
    font-family: var(--font-heading);
    font-size: 1.0625rem;
    font-weight: 700;
    color: #ffffff;
    margin: 0;
    line-height: 1.3;
}

.hw-need-desc {
    font-size: 0.9375rem;
    color: rgba(255, 255, 255, 0.65);
    line-height: 1.7;
    margin: 0;
}

/* ============================================================
   FAQ ACCORDION
   — Uses shared .faq-* classes from home.css (already loaded)
   ============================================================ */

.hw-faq {
    padding: 96px 0;
    background-color: #f8f9fb;
}

/* ============================================================
   RESPONSIVE — TABLET  (≤ 1024px)
   ============================================================ */

@media (max-width: 1024px) {

    .hw-hero {
        padding: 72px 0 64px;
    }

    .hw-need-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

}

/* ============================================================
   RESPONSIVE — MOBILE  (≤ 640px)
   ============================================================ */

@media (max-width: 640px) {

    .hw-hero {
        padding: 56px 0 48px;
    }

    .hw-hero-ctas {
        flex-direction: column;
        width: 100%;
    }

    .hw-hero-ctas .btn {
        width: 100%;
    }

    .hw-steps,
    .hw-need,
    .hw-faq {
        padding: 64px 0;
    }

    .hw-section-header {
        margin-bottom: 40px;
    }

    .hw-step {
        gap: 20px;
    }

    .hw-step-marker {
        width: 40px;
    }

    .hw-step-number {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    .hw-step-content {
        padding: 20px;
        gap: 8px;
    }

    .hw-need-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .hw-need-card {
        padding: 20px;
    }

    .faq-question {
        padding: 20px;
    }

    .faq-answer-inner {
        padding: 0 20px 20px;
    }

}
