/* =========================================================
   RICHWAYS PROPERTY INSURANCE
   Professional UI system
   ========================================================= */

.property-page {
    --property-navy: #0b2a4a;
    --property-navy-dark: #071d34;
    --property-red: #FE5C03;
    --property-red-dark: #D94A00;
    --property-ink: #172333;
    --property-muted: #667384;
    --property-light: #f5f7f9;
    --property-border: #dfe5eb;
    --property-white: #ffffff;

    color: var(--property-ink);
    background: var(--property-white);

    font-family:
        Inter,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        Roboto,
        Helvetica,
        Arial,
        sans-serif;
}

.property-page *,
.property-page *::before,
.property-page *::after {
    box-sizing: border-box;
}

.property-page img {
    max-width: 100%;
}

.property-container {
    width: min(1180px, calc(100% - 48px));
    margin-inline: auto;
}

.property-section {
    padding: 104px 0;
}


/* =========================================================
   SHARED TYPOGRAPHY
   ========================================================= */

.property-eyebrow {
    display: inline-block;

    margin-bottom: 18px;

    color: var(--property-red);

    font-size: 13px;
    font-weight: 800;
    letter-spacing: .18em;
    line-height: 1.2;
    text-transform: uppercase;
}

.property-eyebrow--dark {
    color: var(--property-red);
}

.property-section h2,
.property-intro h2,
.property-protection h2,
.property-local h2,
.property-final-cta h2 {
    margin: 0;

    color: var(--property-navy);

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-weight: 700;
    letter-spacing: -.025em;
    line-height: 1.08;
}

.property-section-heading {
    max-width: 720px;
    margin-bottom: 48px;
}

.property-section-heading--center {
    margin-inline: auto;
    text-align: center;
}

.property-section-heading h2 {
    font-size: clamp(36px, 4vw, 54px);
}

.property-section-heading p {
    max-width: 650px;
    margin: 20px 0 0;

    color: var(--property-muted);
    font-size: 17px;
    line-height: 1.7;
}

.property-section-heading--center p {
    margin-inline: auto;
}


/* =========================================================
   BUTTONS
   ========================================================= */

.property-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 52px;
    padding: 0 25px;

    border: 1px solid transparent;
    border-radius: 7px;

    font-size: 15px;
    font-weight: 750;
    line-height: 1;
    text-decoration: none;

    transition:
        transform .18s ease,
        background-color .18s ease,
        border-color .18s ease,
        color .18s ease;
}

.property-button:hover {
    transform: translateY(-2px);
}

.property-button:focus-visible {
    outline: 3px solid rgba(239, 35, 60, .35);
    outline-offset: 3px;
}

.property-button--primary {
    background: var(--property-red);
    color: var(--property-white);
    border-color: var(--property-red);
}

.property-button--primary:hover {
    background: var(--property-red-dark);
    border-color: var(--property-red-dark);
    color: var(--property-white);
}

.property-button--outline {
    background: transparent;
    color: var(--property-white);
    border-color: rgba(255, 255, 255, .72);
}

.property-button--outline:hover {
    background: rgba(255, 255, 255, .10);
    border-color: var(--property-white);
    color: var(--property-white);
}


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

.property-hero {
    position: relative;
    min-height: 650px;
    overflow: hidden;

    background: var(--property-navy-dark);
}

.property-hero__image {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.property-hero__image img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;
    object-position: center center;
}

.property-hero__shade {
    position: absolute;
    inset: 0;
    z-index: 2;

    background:
        linear-gradient(
            90deg,
            rgba(5, 22, 39, .62) 0%,
            rgba(5, 22, 39, .22) 42%,
            rgba(5, 22, 39, 0) 72%
        );
}

.property-hero__card {
    position: relative;
    z-index: 3;

    width: min(555px, calc(100% - 48px));

    margin-left: max(24px, calc((100% - 1180px) / 2));
    padding: 46px 52px 38px;

    background: rgba(11, 42, 74, .93);
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 14px;

    box-shadow: 0 22px 55px rgba(0, 0, 0, .22);

    transform: translateY(45px);
}

.property-hero__card h1 {
    margin: 0;

    color: var(--property-white);

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size: clamp(44px, 4.35vw, 64px);
    font-weight: 700;
    letter-spacing: -.035em;
    line-height: 1.01;
}

.property-rule {
    display: block;

    width: 64px;
    height: 4px;

    margin: 24px 0 21px;

    background: var(--property-red);
}

.property-hero__card > p {
    max-width: 500px;

    margin: 0 0 23px;

    color: rgba(255, 255, 255, .84);

    font-size: 16px;
    line-height: 1.58;
}

.property-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;

    margin-bottom: 18px;
}

.property-hero__card small {
    display: block;

    max-width: 500px;

    color: rgba(255, 255, 255, .58);

    font-size: 11.5px;
    line-height: 1.45;
}


/* =========================================================
   TRUST STRIP
   Light connected trust bar beneath the hero
   ========================================================= */

.property-trust {
    position: relative;
    z-index: 4;

    background: #f5f7f9;
    color: var(--property-navy);

    border-top: 1px solid #e1e6eb;
    border-bottom: 1px solid #e1e6eb;
}

.property-trust__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
}

.property-trust__item {
    display: flex;
    gap: 14px;

    min-height: 108px;
    padding: 24px 26px;

    border-right: 1px solid #dfe5eb;
}

.property-trust__item:first-child {
    padding-left: 0;
}

.property-trust__item:last-child {
    padding-right: 0;
    border-right: 0;
}

.property-trust__item > span {
    flex: 0 0 auto;

    color: var(--property-red);

    font-size: 12px;
    font-weight: 800;
    letter-spacing: .12em;
    line-height: 1.3;
}

.property-trust__item strong {
    display: block;

    margin-bottom: 6px;

    color: var(--property-navy);

    font-size: 14px;
    font-weight: 800;
    line-height: 1.3;
}

.property-trust__item p {
    margin: 0;

    color: var(--property-muted);

    font-size: 13px;
    line-height: 1.5;
}


/* =========================================================
   COVERAGE SECTION
   ========================================================= */

.property-coverages {
    padding: 78px 0 96px;

    background: var(--property-light);
}

.property-coverages .property-section-heading {
    max-width: 780px;
    margin-bottom: 38px;
}

.property-coverages .property-section-heading h2 {
    max-width: 700px;

    font-size: clamp(38px, 3.8vw, 52px);
    line-height: 1.05;
}

.property-coverages .property-section-heading p {
    max-width: 720px;
    margin-top: 16px;

    font-size: 16px;
    line-height: 1.65;
}

.property-coverage-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
}

.property-coverage-card {
    display: flex;
    flex-direction: column;

    min-width: 0;

    overflow: hidden;

    background: var(--property-white);

    border: 1px solid var(--property-border);
    border-radius: 10px;

    box-shadow: 0 8px 24px rgba(16, 37, 58, .05);

    transition:
        transform .2s ease,
        box-shadow .2s ease;
}

.property-coverage-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 32px rgba(16, 37, 58, .10);
}

.property-coverage-card > img {
    display: block;

    width: 100%;
    height: 205px;

    object-fit: cover;
}

.property-coverage-card__body {
    display: flex;
    flex: 1;
    flex-direction: column;

    padding: 24px 23px 25px;
}

.property-card-number {
    display: block;

    margin-bottom: 12px;

    color: var(--property-red);

    font-size: 12px;
    font-weight: 800;
    letter-spacing: .12em;
}

.property-coverage-card h3 {
    margin: 0 0 12px;

    color: var(--property-navy);

    font-size: 21px;
    line-height: 1.2;
}

.property-coverage-card p {
    margin: 0 0 22px;

    color: var(--property-muted);

    font-size: 14px;
    line-height: 1.65;
}

.property-coverage-card a {
    margin-top: auto;

    color: var(--property-navy);

    font-size: 13px;
    font-weight: 800;
    line-height: 1.4;
    text-decoration: none;
}

.property-coverage-card a span {
    margin-left: 5px;
    color: var(--property-red);
}

.property-coverage-card a:hover {
    color: var(--property-red);
}


/* =========================================================
   PROTECTION SPLIT
   ========================================================= */

.property-protection {
    background: var(--property-white);
}

.property-protection__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;

    align-items: center;
}

.property-protection__image {
    overflow: hidden;

    border-radius: 12px;
}

.property-protection__image img {
    display: block;

    width: 100%;
    height: 570px;

    object-fit: cover;
}

.property-protection__content > p {
    max-width: 570px;

    margin: 22px 0 32px;

    color: var(--property-muted);

    font-size: 17px;
    line-height: 1.7;
}

.property-protection h2 {
    max-width: 560px;

    font-size: clamp(38px, 4vw, 52px);
}

.property-protection-list {
    border-top: 1px solid var(--property-border);
}

.property-protection-list > div {
    display: grid;
    grid-template-columns: 38px 1fr;
    gap: 14px;

    padding: 18px 0;

    border-bottom: 1px solid var(--property-border);
}

.property-protection-list > div > span {
    padding-top: 2px;

    color: var(--property-red);

    font-size: 12px;
    font-weight: 800;
}

.property-protection-list h3 {
    margin: 0 0 4px;

    color: var(--property-navy);

    font-size: 16px;
}

.property-protection-list p {
    margin: 0;

    color: var(--property-muted);

    font-size: 14px;
    line-height: 1.55;
}


/* =========================================================
   MASSACHUSETTS LOCAL SECTION
   ========================================================= */

.property-local {
    padding: 92px 0;

    background: var(--property-navy);

    color: var(--property-white);
}

.property-local__inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 90px;

    align-items: center;
}

.property-local h2 {
    max-width: 540px;

    color: var(--property-white);

    font-size: clamp(38px, 4vw, 54px);
}

.property-local__inner > div:last-child {
    max-width: 570px;
}

.property-local p {
    margin: 0 0 17px;

    color: rgba(255, 255, 255, .75);

    font-size: 17px;
    line-height: 1.7;
}

.property-local .property-button {
    margin-top: 14px;
}


/* =========================================================
   WHY RICHWAYS
   ========================================================= */

.property-why {
    background: var(--property-white);
}

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

.property-benefits-grid article {
    min-height: 215px;

    padding: 28px 28px 25px;

    border-top: 3px solid var(--property-navy);
    border-right: 1px solid var(--property-border);
}

.property-benefits-grid article:first-child {
    border-left: 1px solid var(--property-border);
}

.property-benefits-grid article > span {
    color: var(--property-red);

    font-size: 12px;
    font-weight: 800;
    letter-spacing: .12em;
}

.property-benefits-grid h3 {
    margin: 17px 0 10px;

    color: var(--property-navy);

    font-size: 19px;
}

.property-benefits-grid p {
    margin: 0;

    color: var(--property-muted);

    font-size: 14px;
    line-height: 1.65;
}


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

.property-process {
    padding: 100px 0;

    background: var(--property-light);
}

.property-process-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);

    border-top: 1px solid var(--property-border);
}

.property-process-step {
    position: relative;

    min-height: 190px;

    padding: 30px 30px 20px;

    border-right: 1px solid var(--property-border);
}

.property-process-step:first-child {
    padding-left: 0;
}

.property-process-step:last-child {
    border-right: 0;
}

.property-process-step > span {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: 38px;
    height: 38px;

    margin-bottom: 22px;

    background: var(--property-navy);

    border-radius: 50%;

    color: var(--property-white);

    font-size: 11px;
    font-weight: 800;
}

.property-process-step h3 {
    margin: 0 0 9px;

    color: var(--property-navy);

    font-size: 19px;
}

.property-process-step p {
    max-width: 230px;

    margin: 0;

    color: var(--property-muted);

    font-size: 14px;
    line-height: 1.6;
}


/* =========================================================
   FINAL CTA
   ========================================================= */

.property-final-cta {
    position: relative;

    min-height: 480px;

    display: flex;
    align-items: center;

    overflow: hidden;

    background: var(--property-navy);
}

.property-final-cta__image {
    position: absolute;
    inset: 0;

    width: 100%;
    height: 100%;

    object-fit: cover;
    object-position: center;
}

.property-final-cta__overlay {
    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            90deg,
            rgba(7, 29, 52, .96) 0%,
            rgba(7, 29, 52, .86) 42%,
            rgba(7, 29, 52, .35) 100%
        );
}

.property-final-cta__content {
    position: relative;
    z-index: 2;

    max-width: 1180px;

    padding-top: 90px;
    padding-bottom: 90px;
}

.property-final-cta h2 {
    max-width: 650px;

    color: var(--property-white);

    font-size: clamp(40px, 4.5vw, 60px);
}

.property-final-cta__content > p {
    max-width: 560px;

    margin: 20px 0 27px;

    color: rgba(255, 255, 255, .76);

    font-size: 17px;
    line-height: 1.7;
}

.property-final-cta__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;

    margin-bottom: 23px;
}

.property-final-cta__disclosure {
    max-width: 600px;

    margin: 0 !important;

    color: rgba(255, 255, 255, .52) !important;

    font-size: 12px !important;
    line-height: 1.5 !important;
}


/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 1100px) {

    .property-container {
        width: min(100% - 40px, 960px);
    }

    .property-hero {
        min-height: 620px;
    }

    .property-hero__card {
        margin-left: 40px;
        padding: 42px 44px 36px;
        transform: translateY(35px);
    }

    .property-trust__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .property-trust__item {
        padding: 22px 24px;
    }

    .property-trust__item:nth-child(2) {
        border-right: 0;
    }

    .property-trust__item:nth-child(3),
    .property-trust__item:nth-child(4) {
        border-top: 1px solid #dfe5eb;
    }

    .property-coverage-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .property-intro__grid,
    .property-protection__grid,
    .property-local__inner {
        gap: 50px;
    }

    .property-benefits-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .property-benefits-grid article:nth-child(2) {
        border-right: 0;
    }

    .property-benefits-grid article:nth-child(3),
    .property-benefits-grid article:nth-child(4) {
        border-top: 1px solid var(--property-border);
    }

    .property-process-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .property-process-step:nth-child(2) {
        border-right: 0;
    }

    .property-process-step:nth-child(3),
    .property-process-step:nth-child(4) {
        border-top: 1px solid var(--property-border);
    }
}


@media (max-width: 800px) {

    .property-section {
        padding: 76px 0;
    }

    .property-hero {
        min-height: auto;

        display: flex;
        flex-direction: column;
    }

    .property-hero__image {
        position: relative;

        height: 390px;
        min-height: 390px;
    }

    .property-hero__shade {
        background:
            linear-gradient(
                180deg,
                rgba(5, 22, 39, 0) 55%,
                rgba(5, 22, 39, .30) 100%
            );
    }

    .property-hero__card {
        width: calc(100% - 32px);

        margin: -32px 16px 32px;
        padding: 36px 28px 32px;

        transform: none;
    }

    .property-hero__card h1 {
        font-size: clamp(42px, 10vw, 58px);
    }

    .property-hero__actions {
        flex-direction: column;
    }

    .property-hero__actions .property-button {
        width: 100%;
    }

    .property-intro__grid,
    .property-protection__grid,
    .property-local__inner {
        grid-template-columns: 1fr;
    }

    .property-intro__grid {
        gap: 35px;
    }

    .property-protection__grid {
        gap: 45px;
    }

    .property-protection__image img {
        height: 400px;
    }

    .property-local__inner {
        gap: 30px;
    }

    .property-process-step {
        min-height: 175px;
    }

    .property-final-cta {
        min-height: 520px;
    }
}


@media (max-width: 600px) {

    .property-container {
        width: calc(100% - 32px);
    }

    .property-section {
        padding: 64px 0;
    }

    .property-coverages {
        padding: 62px 0 72px;
    }

    .property-hero__image {
        height: 330px;
        min-height: 330px;
    }

    .property-hero__card {
        padding: 34px 23px 30px;
    }

    .property-hero__card h1 {
        font-size: 40px;
        line-height: 1.02;
    }

    .property-coverages .property-section-heading {
        margin-bottom: 30px;
    }

    .property-coverages .property-section-heading h2 {
        font-size: 38px;
        line-height: 1.06;
    }

    .property-hero__card > p {
        font-size: 15.5px;
        line-height: 1.55;
    }

    .property-hero__card > p {
        font-size: 16px;
    }

    .property-trust__grid,
    .property-coverage-grid,
    .property-benefits-grid,
    .property-process-grid {
        grid-template-columns: 1fr;
    }

    .property-trust__item,
    .property-trust__item:first-child,
    .property-trust__item:last-child {
        min-height: auto;
        padding: 20px 0;
        border-right: 0;
        border-bottom: 1px solid #dfe5eb;
    }

    .property-trust__item:last-child {
        border-bottom: 0;
    }

    .property-coverage-card > img {
        height: 220px;
    }

    .property-protection__image img {
        height: 330px;
    }

    .property-benefits-grid article,
    .property-benefits-grid article:first-child {
        min-height: auto;
        border-left: 1px solid var(--property-border);
        border-right: 1px solid var(--property-border);
        border-top: 3px solid var(--property-navy);
        border-bottom: 0;
    }

    .property-benefits-grid article + article {
        border-top: 1px solid var(--property-border);
    }

    .property-process-grid {
        border-top: 0;
    }

    .property-process-step,
    .property-process-step:first-child,
    .property-process-step:last-child {
        min-height: auto;
        padding: 24px 0;
        border-right: 0;
        border-bottom: 1px solid var(--property-border);
    }

    .property-process-step:last-child {
        border-bottom: 0;
    }

    .property-final-cta {
        min-height: 560px;
    }

    .property-final-cta__content {
        padding-top: 70px;
        padding-bottom: 70px;
    }

    .property-final-cta__actions {
        flex-direction: column;
        align-items: stretch;
    }

    .property-final-cta__actions .property-button {
        width: 100%;
    }
}


@media (prefers-reduced-motion: reduce) {

    .property-page *,
    .property-page *::before,
    .property-page *::after {
        scroll-behavior: auto !important;
        transition: none !important;
        animation: none !important;
    }
}
