/* Richways Insurance Agency LLC — About Us page */
:root {
    --about-navy: #0b203b;
    --about-blue: #536b86;
    --about-orange: #fe5c03;
    --about-pale: #edf2f8;
    --about-white: #ffffff;
    --about-line: #d8e0e9;
}

.about-page {
    color: var(--about-navy);
    overflow: hidden;
    background: #fff;
    font-family: inherit;
}

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

.about-eyebrow {
    display: inline-block;
    margin-bottom: 18px;
    color: var(--about-orange);
    font-size: .82rem;
    font-weight: 800;
    letter-spacing: .16em;
    line-height: 1.4;
    text-transform: uppercase;
}

.about-eyebrow--dark { color: #c84a00; }

.about-rule {
    display: block;
    width: 92px;
    height: 6px;
    margin: 26px 0;
    background: var(--about-orange);
}

.about-hero {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 640px;
    isolation: isolate;
    background:
        radial-gradient(circle at 75% 30%, rgba(67, 91, 117, .6), transparent 42%),
        linear-gradient(120deg, #15283f, #43566c);
}

.about-hero__image,
.about-hero__overlay {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.about-hero__image {
    z-index: -2;
    object-fit: cover;
    object-position: center;
}

.about-hero__overlay {
    z-index: -1;
    background: linear-gradient(90deg, rgba(5, 20, 39, .78), rgba(5, 20, 39, .42));
}

.about-hero__inner {
    display: flex;
    align-items: center;
    padding-block: 64px;
}

.about-hero__card {
    width: min(760px, 75%);
    padding: clamp(34px, 5vw, 66px);
    border-top: 7px solid var(--about-orange);
    border-radius: 3px;
    background: rgba(255, 255, 255, .97);
    box-shadow: 0 24px 70px rgba(0, 0, 0, .18);
}

.about-hero h1 {
    max-width: 680px;
    margin: 0;
    color: var(--about-navy);
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(3rem, 6.2vw, 5.7rem);
    font-weight: 700;
    letter-spacing: -.045em;
    line-height: .99;
}

.about-hero__card > p {
    max-width: 630px;
    margin: 0 0 28px;
    color: #435b77;
    font-size: clamp(1.05rem, 1.5vw, 1.25rem);
    line-height: 1.75;
}

.about-hero__actions,
.about-final-cta__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.about-button {
    display: inline-flex;
    min-height: 48px;
    align-items: center;
    justify-content: center;
    padding: 13px 22px;
    border: 2px solid transparent;
    border-radius: 4px;
    font-size: .94rem;
    font-weight: 750;
    text-align: center;
    text-decoration: none;
    transition: transform .2s ease, background-color .2s ease, color .2s ease;
}

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

.about-button--primary {
    border-color: var(--about-orange);
    background: var(--about-orange);
    color: #fff;
}

.about-button--primary:hover {
    border-color: #d94c00;
    background: #d94c00;
    color: #fff;
}

.about-button--outline {
    border-color: #b8c6d6;
    background: transparent;
    color: var(--about-navy);
}

.about-button--outline:hover {
    border-color: var(--about-navy);
    background: var(--about-navy);
    color: #fff;
}

.about-section { padding: clamp(68px, 8vw, 108px) 0; }

.about-intro { background: var(--about-pale); }

.about-intro__grid {
    display: grid;
    grid-template-columns: .8fr 1.2fr;
    gap: clamp(40px, 8vw, 110px);
    align-items: start;
}

.about-intro h2,
.about-section-heading h2,
.about-approach h2,
.about-final-cta h2 {
    margin: 0;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(2.2rem, 4vw, 3.7rem);
    letter-spacing: -.035em;
    line-height: 1.08;
}

.about-intro__copy p {
    margin: 0 0 18px;
    color: #526982;
    font-size: 1.06rem;
    line-height: 1.85;
}

.about-intro__copy .about-lead {
    color: var(--about-navy);
    font-size: clamp(1.15rem, 1.8vw, 1.35rem);
    font-weight: 600;
    line-height: 1.7;
}

.about-services { background: #fff; }

.about-section-heading {
    max-width: 760px;
    margin: 0 auto 48px;
    text-align: center;
}

.about-section-heading > p {
    margin: 20px auto 0;
    color: #526982;
    font-size: 1.06rem;
    line-height: 1.75;
}

.about-service-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
    align-items: stretch;
}

.about-service-card {
    position: relative;
    display: flex;
    flex-direction: column;
    min-width: 0;
    padding: 34px 30px 30px;
    border: 1px solid #e0e6ee;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 14px 36px rgba(11, 32, 59, .06);
    transition: transform .2s ease, box-shadow .2s ease;
}

.about-service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 44px rgba(11, 32, 59, .11);
}

.about-service-card__number {
    position: absolute;
    top: 24px;
    right: 26px;
    color: #d5dee8;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 2.2rem;
    font-weight: 700;
}

.about-service-card__icon {
    display: grid;
    width: 66px;
    height: 66px;
    place-items: center;
    margin-bottom: 25px;
    border-radius: 50%;
    background: #fff0e7;
    color: var(--about-orange);
}

.about-service-card__icon svg {
    width: 36px;
    height: 36px;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.about-service-card h3 {
    margin: 0 0 16px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.65rem;
    line-height: 1.2;
}

.about-service-card p {
    margin: 0 0 14px;
    color: #526982;
    font-size: .98rem;
    line-height: 1.75;
}

.about-service-card a {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin-top: auto;
    padding-top: 18px;
    color: #b94100;
    font-weight: 800;
    text-decoration: none;
}

.about-service-card a:hover { color: var(--about-orange); }
.about-service-card a span { font-size: 1.25rem; }

.about-approach { background: var(--about-pale); }

.about-approach__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(40px, 8vw, 100px);
    align-items: center;
}

.about-approach__panel {
    padding: clamp(30px, 5vw, 58px);
    border-top: 6px solid var(--about-orange);
    background: #fff;
    box-shadow: 0 18px 45px rgba(11, 32, 59, .07);
}

.about-approach__panel h2 { margin-bottom: 22px; }

.about-approach__panel p {
    margin: 0 0 28px;
    color: #526982;
    font-size: 1.04rem;
    line-height: 1.8;
}

.about-approach__points {
    display: grid;
    gap: 0;
}

.about-approach__point {
    display: grid;
    grid-template-columns: 54px 1fr;
    gap: 18px;
    padding: 24px 0;
    border-bottom: 1px solid #d1dce8;
}

.about-approach__point:first-child { padding-top: 0; }
.about-approach__point:last-child { border-bottom: 0; }

.about-approach__point > span {
    color: var(--about-orange);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.7rem;
    font-weight: 700;
}

.about-approach__point h3 {
    margin: 0 0 7px;
    font-size: 1.12rem;
}

.about-approach__point p {
    margin: 0;
    color: #526982;
    line-height: 1.7;
}

.about-final-cta {
    padding: clamp(58px, 7vw, 86px) 0;
    background: var(--about-navy);
    color: #fff;
}

.about-final-cta__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 42px;
}

.about-final-cta h2 {
    max-width: 690px;
    color: #fff;
}

.about-final-cta p {
    max-width: 660px;
    margin: 18px 0 0;
    color: #d7e1ec;
    line-height: 1.75;
}

.about-final-cta__actions { flex-shrink: 0; }
.about-final-cta .about-button--outline { border-color: #8194aa; color: #fff; }
.about-final-cta .about-button--outline:hover { background: #fff; color: var(--about-navy); }

.about-disclaimer {
    margin: 0;
    padding: 18px 24px;
    background: #07172b;
    color: #bdc9d7;
    font-size: .8rem;
    line-height: 1.6;
    text-align: center;
}

@media (max-width: 980px) {
    .about-hero { min-height: 570px; }
    .about-hero__card { width: min(700px, 88%); }
    .about-service-grid { grid-template-columns: 1fr; }
    .about-service-card { padding: 30px; }
    .about-service-card p { max-width: 760px; }
    .about-final-cta__inner { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 700px) {
    .about-container { width: min(100% - 32px, 1240px); }
    .about-hero { min-height: auto; }
    .about-hero__inner { padding-block: 40px; }
    .about-hero__card { width: 100%; padding: 30px 24px; }
    .about-hero h1 { font-size: clamp(2.8rem, 13vw, 4rem); }
    .about-hero__card > p { font-size: 1rem; }
    .about-hero__actions { align-items: stretch; flex-direction: column; }
    .about-button { width: 100%; }
    .about-intro__grid,
    .about-approach__grid { grid-template-columns: 1fr; gap: 28px; }
    .about-section { padding-block: 60px; }
    .about-section-heading { margin-bottom: 32px; text-align: left; }
    .about-section-heading > p { margin-inline: 0; }
    .about-service-card { padding: 28px 24px; }
    .about-approach__panel { padding: 30px 24px; }
    .about-final-cta__actions { width: 100%; flex-direction: column; }
}


/* =========================================================
   ABOUT US — refinements inspired by property.html
   Adds the four-value grid and improves consistency,
   keyboard focus, image behavior, and mobile presentation.
   ========================================================= */

/* Trust/value strip: use immediately below the hero if desired. */
.about-trust {
    position: relative;
    z-index: 1;
    background: var(--about-navy);
    color: var(--about-white);
}

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

.about-trust__item {
    display: grid;
    grid-template-columns: 42px 1fr;
    align-items: start;
    gap: 14px;
    min-width: 0;
    padding: 26px 20px;
    border-right: 1px solid rgba(255, 255, 255, .16);
}

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

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

.about-trust__item > span {
    color: var(--about-orange);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.65rem;
    font-weight: 700;
    line-height: 1.1;
}

.about-trust__item strong {
    display: block;
    margin-bottom: 6px;
    color: #fff;
    font-size: .98rem;
}

.about-trust__item p {
    margin: 0;
    color: #d7e1ec;
    font-size: .88rem;
    line-height: 1.6;
}

/* Four core values — complements the numbered cards on property.html. */
.about-values {
    background: #f7f9fc;
}

.about-values__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
    align-items: stretch;
}

.about-value-card {
    position: relative;
    min-width: 0;
    padding: 32px 26px 30px;
    border: 1px solid #e0e6ee;
    border-top: 4px solid var(--about-orange);
    border-radius: 6px;
    background: #fff;
    box-shadow: 0 12px 32px rgba(11, 32, 59, .055);
    transition: transform .2s ease, box-shadow .2s ease;
}

.about-value-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 38px rgba(11, 32, 59, .10);
}

.about-value-card__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    margin-bottom: 24px;
    border-radius: 50%;
    background: #fff0e7;
    color: #b94100;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1rem;
    font-weight: 800;
}

.about-value-card h3 {
    margin: 0 0 12px;
    color: var(--about-navy);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.35rem;
    line-height: 1.25;
}

.about-value-card p {
    margin: 0;
    color: #526982;
    font-size: .97rem;
    line-height: 1.75;
}

/* Keep the slogan visually distinct in the final banner. */
.about-final-cta .about-final-cta__tagline {
    margin-top: 14px;
    color: #fff;
    font-weight: 750;
    letter-spacing: .02em;
}

/* Make the hero's image and overlay work consistently with the template. */
.about-hero {
    overflow: hidden;
}

.about-hero__image {
    display: block;
}

/* Accessible keyboard focus and less motion for visitors who request it. */
.about-page a:focus-visible {
    outline: 3px solid var(--about-orange);
    outline-offset: 4px;
}

@media (max-width: 1100px) {
    .about-values__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

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

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

    .about-trust__item:nth-child(3),
    .about-trust__item:nth-child(4) {
        border-top: 1px solid rgba(255, 255, 255, .16);
    }

    .about-trust__item:nth-child(3) {
        padding-left: 0;
    }
}

@media (max-width: 700px) {
    .about-values__grid,
    .about-trust__grid {
        grid-template-columns: 1fr;
    }

    .about-trust__item,
    .about-trust__item:first-child,
    .about-trust__item:last-child,
    .about-trust__item:nth-child(3) {
        padding: 20px 0;
        border-right: 0;
        border-top: 1px solid rgba(255, 255, 255, .16);
    }

    .about-trust__item:first-child {
        border-top: 0;
    }

    .about-value-card {
        padding: 28px 24px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .about-button,
    .about-service-card,
    .about-value-card {
        transition: none;
    }

    .about-button:hover,
    .about-service-card:hover,
    .about-value-card:hover {
        transform: none;
    }
}
