*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
html {
    scroll-behavior: smooth;
}
body {
    font-family: 'Proxima Nova', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: #1D283A;
    background: #fff;
    -webkit-font-smoothing: antialiased;
}
a {
    color: inherit;
    text-decoration: none;
}
ul {
    list-style: none;
}
img {
    max-width: 100%;
    height: auto;
}

/* ===== Container ===== */
.richmond-container {
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 60px;
}

/* ===== Header ===== */
.richmond-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: #fff;
    border-bottom: 1px solid #E7E8E8;
    height: 74px;
}
.richmond-header__inner {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 60px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.richmond-header__logo img {
    display: block;
    width: 160px;
    height: 40px;
}
.richmond-header__menu {
    display: flex;
    align-items: center;
    gap: 27px;
}
.richmond-header__nav {
    display: flex;
    gap: 27px;
    align-items: center;
}
.richmond-header__nav a {
    font-size: 18px;
    font-weight: 400;
    color: #1D283A;
    transition: opacity 0.2s;
}
.richmond-header__nav a:hover {
    opacity: 0.7;
}
.richmond-header__cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #1D283A;
    color: #EEF5F3;
    border-radius: 30px;
    padding: 15px 25px;
    font-size: 16px;
    font-weight: 600;
    min-width: 207px;
    height: 44px;
    transition: background 0.2s;
}
.richmond-header__cta:hover {
    background: #263a4d;
    color: #EEF5F3;
}
.richmond-header__burger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}
.richmond-header__burger span {
    display: block;
    width: 24px;
    height: 2px;
    background: #1D283A;
    border-radius: 1px;
    transition: transform 0.3s, opacity 0.3s;
}
.richmond-header__burger.is-open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}
.richmond-header__burger.is-open span:nth-child(2) {
    opacity: 0;
}
.richmond-header__burger.is-open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* ===== Pill Badge (reusable section label) ===== */
.richmond-pill {
    display: inline-block;
    background: #EEF5F3;
    border: 1px solid rgba(47, 169, 140, 0.22);
    border-radius: 39px;
    padding: 10px;
    font-size: 16px;
    font-weight: 600;
    color: #1D283A;
    line-height: 1.56;
    margin-bottom: 16px;
    width: fit-content;
}

/* ===== Hero ===== */
.richmond-hero {
    padding: 20px 0 0;
}
.richmond-hero__row {
    display: flex;
    gap: 20px;
    align-items: stretch;
    height: 631px;
    padding: 0 20px;
}
.richmond-hero__text {
    flex: 0 0 54%;
    background: #EEF5F3;
    border-radius: 38px;
    padding: 0 23px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    box-sizing: border-box;
}
.richmond-hero__text-inner {
    max-width: 600px;
    width: 100%;
}
.richmond-hero__heading {
    font-size: 48px;
    line-height: 1.08;
    font-weight: 600;
    color: #1D283A;
    text-transform: uppercase;
    margin: 0 0 22px;
}
.richmond-hero__heading em {
    font-style: italic;
    font-weight: 400;
}
.richmond-hero__desc {
    font-size: 18px;
    line-height: 1.39;
    font-weight: 400;
    color: #1D283A;
    margin: 0 0 22px;
}
a.richmond-hero__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #1D283A;
    color: #fff;
    border: none;
    border-radius: 30px;
    padding: 15px 25px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    min-width: 207px;
    height: 44px;
    transition: background 0.2s;
}
a.richmond-hero__btn:hover {
    background: #263a4d;
    color: #fff;
}
.richmond-hero__image {
    flex: 1 1 auto;
    border-radius: 38px;
    overflow: hidden;
    position: relative;
}
.richmond-hero__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 38px;
}

/* ===== Trust Badges Bar ===== */
.richmond-badges-bar {
    background: #1D283A;
    padding: 16px 0;
    margin-top: 20px;
    overflow: hidden;
}
.richmond-badges-bar__track {
    display: flex;
    justify-content: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}
.richmond-badges-bar__row {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 12px 23px;
}
.richmond-badges-bar__row--clone {
    display: none;
}
.richmond-badges-bar__item {
    display: flex;
    align-items: center;
    gap: 3px;
    font-size: 16px;
    font-weight: 400;
    color: #fff;
    white-space: nowrap;
}
.richmond-badges-bar__item svg {
    flex-shrink: 0;
    color: #fff;
    width: 19px;
    height: 19px;
}

/* ===== Who We Are ===== */
.richmond-whoweare {
    min-height: 480px;
    margin-top: 60px;
    overflow-x: clip;
}
.richmond-whoweare__inner {
    position: relative;
    max-width: calc(100% - 40px);
    margin: 0 auto;
    min-height: 480px;
}
.richmond-whoweare__glow {
    position: absolute;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: rgba(47, 169, 140, 0.3);
    filter: blur(120px);
    pointer-events: none;
}
.richmond-whoweare__glow--left {
    left: 10%;
    top: 10%;
}
.richmond-whoweare__glow--right {
    right: -5%;
    top: 30%;
    width: 300px;
    height: 300px;
    background: rgba(47, 169, 140, 0.6);
    filter: blur(120px);
}
.richmond-whoweare__text {
    position: relative;
    z-index: 2;
    margin-left: 57%;
    padding: 20px 0 40px 0;
}
.richmond-whoweare__heading {
    font-size: 46px;
    line-height: 1.08;
    font-weight: 600;
    text-transform: uppercase;
    color: #1D283A;
    margin: 0 0 22px;
    max-width: 578px;
}
.richmond-whoweare__heading em {
    font-style: italic;
    font-weight: 400;
}
.richmond-whoweare__desc {
    font-size: 16px;
    line-height: 1.56;
    font-weight: 400;
    color: #1D283A;
    margin: 0;
    max-width: 516px;
}
.richmond-whoweare__image {
    position: absolute;
    left: -50px;
    top: 5%;
    width: 55%;
    max-width: 737px;
    z-index: 1;
}
.richmond-whoweare__image img {
    width: 100%;
    height: auto;
    display: block;
}

/* ===== Specialties ===== */
.richmond-specialties {
    max-width: 1128px;
    margin: 0 auto;
    padding: 60px 0;
}
.richmond-specialties__header {
    text-align: center;
    margin-bottom: 48px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}
.richmond-specialties__heading {
    font-size: 46px;
    line-height: 1.11;
    font-weight: 600;
    text-transform: uppercase;
    color: #1D283A;
    margin: 0;
}
.richmond-specialties__heading em {
    font-style: italic;
    font-weight: 400;
}
.richmond-specialties__sub {
    font-size: 16px;
    line-height: 1.56;
    font-weight: 400;
    color: #1D283A;
    max-width: 712px;
    margin: 0;
}
.richmond-specialties__grid {
    display: flex;
    flex-direction: column;
    gap: 24px;
}
.richmond-specialties__row {
    display: flex;
    gap: 24px;
}
.richmond-specialties__row--center {
    justify-content: center;
}
.richmond-card {
    width: 360px;
    background: #EEF5F3;
    border-radius: 24px;
    padding: 20px;
}
.richmond-card__icon {
    width: 60px;
    height: 60px;
    background: #EEF5F3;
    border-radius: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}
.richmond-card__icon img {
    width: 40px;
    height: 40px;
}
.richmond-card__title {
    font-size: 24px;
    font-weight: 600;
    color: #1D283A;
    line-height: 1.04;
    margin: 0 0 15px;
}
.richmond-card__desc {
    font-size: 14px;
    font-weight: 400;
    color: #1D283A;
    line-height: 1.29;
    margin: 0;
}

/* ===== Services ===== */
.richmond-services {
    max-width: 1128px;
    margin: 0 auto;
    padding: 60px 0;
}
.richmond-services__top {
    display: flex;
    align-items: flex-start;
    gap: 73px;
    margin-bottom: 39px;
    min-height: 390px;
}
.richmond-services__top-text {
    flex: 0 0 540px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    align-items: flex-start;
    padding-top: 33px;
}
.richmond-services__heading {
    font-size: 46px;
    line-height: 1.11;
    font-weight: 600;
    text-transform: uppercase;
    color: #1D283A;
    margin: 0;
}
.richmond-services__heading em {
    font-style: italic;
    font-weight: 400;
}
.richmond-services__desc {
    font-size: 16px;
    line-height: 1.56;
    font-weight: 400;
    color: #1D283A;
    margin: 0;
}
.richmond-services__top-image {
    flex: 0 0 532px;
    height: 390px;
    border-radius: 24px;
    overflow: hidden;
}
.richmond-services__top-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.richmond-services__grid {
    display: flex;
    gap: 103px;
}
.richmond-services__col {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.richmond-svc-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    padding: 20px;
    border-radius: 12px;
}
.richmond-svc-item__icon {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #EEF5F3;
    border-radius: 30px;
}
.richmond-svc-item__icon img {
    width: 40px;
    height: 40px;
}
.richmond-svc-item__text h3 {
    font-size: 22px;
    font-weight: 600;
    margin: 0 0 6px;
    color: #1D283A;
    line-height: 1.14;
}
.richmond-svc-item__text p {
    margin: 0;
    font-size: 16px;
    font-weight: 400;
    color: #1D283A;
    line-height: 1.19;
}

/* ===== Testimonials ===== */
.richmond-testimonials {
    max-width: 1128px;
    margin: 0 auto;
    padding: 60px 0;
}
.richmond-testimonials__header {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    margin-bottom: 50px;
}
.richmond-testimonials__heading {
    font-size: 46px;
    line-height: 1.11;
    font-weight: 600;
    text-transform: uppercase;
    color: #1D283A;
    margin: 0;
    max-width: 692px;
}
.richmond-testimonials__heading em {
    font-style: italic;
    font-weight: 400;
}
.richmond-testimonials__stats {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}
.richmond-testimonials__stat {
    font-size: 16px;
    font-weight: 600;
    color: #1D283A;
    display: flex;
    align-items: center;
    gap: 3px;
}
.richmond-testimonials__stat img {
    width: 24px;
    height: 24px;
}
.richmond-testimonials__desc {
    font-size: 16px;
    line-height: 1.56;
    font-weight: 400;
    color: #1D283A;
    max-width: 692px;
    margin: 0;
}
.richmond-reviews {
    display: flex;
    gap: 24px;
}
.richmond-review-card {
    flex: 1;
    background: linear-gradient(135deg, rgba(238, 247, 245, 1) 0%, rgba(240, 253, 247, 1) 100%);
    border-radius: 14px;
    padding: 36px;
    position: relative;
    min-height: 266px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.richmond-review-card__body {
    flex: 1;
}
.richmond-review-card__text {
    font-size: 18px;
    line-height: 1.28;
    font-weight: 400;
    color: #1D283A;
    margin: 0;
    text-align: left;
    padding-right: 50px;
}
.richmond-review-card__quote {
    position: absolute;
    right: 22px;
    bottom: 17px;
    font-size: 112px;
    line-height: 1;
    color: #1D283A;
    font-family: 'Proxima Nova', sans-serif;
    transform: scaleX(-1);
}
.richmond-review-card__author {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 20px;
}
.richmond-review-card__verified {
    width: 28px;
    height: 28px;
    flex-shrink: 0;
    display: block;
}
.richmond-review-card__name {
    font-size: 16px;
    font-weight: 600;
    color: #1D283A;
    line-height: 1.44;
}

/* ===== About ===== */
.richmond-about-section {
    padding: 60px 0;
}
.richmond-about {
    background: #EEF5F3;
    border-radius: 38px;
    padding: 46px 23px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 46px;
    max-width: calc(100% - 80px);
    margin: 0 auto;
    box-sizing: border-box;
    overflow: hidden;
}
.richmond-about__image {
    flex: 0 0 500px;
    height: 539px;
    border-radius: 44px;
    overflow: hidden;
}
.richmond-about__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.richmond-about__text {
    flex: 1;
    max-width: 600px;
    display: flex;
    flex-direction: column;
    gap: 22px;
}
.richmond-about__heading {
    font-size: 48px;
    line-height: 1.08;
    font-weight: 600;
    text-transform: uppercase;
    color: #1D283A;
    margin: 0;
    text-align: left;
}
.richmond-about__heading em {
    font-style: italic;
    font-weight: 400;
}
.richmond-about__desc {
    font-size: 18px;
    line-height: 1.39;
    font-weight: 400;
    color: #1D283A;
    margin: 0;
    text-align: left;
}
.richmond-about__action {
    margin-top: 0;
}

/* ===== Certifications ===== */
.richmond-certs-section {
    padding: 60px 0;
}
.richmond-certs-heading {
    font-size: 46px;
    line-height: 1.11;
    font-weight: 600;
    text-transform: uppercase;
    text-align: center;
    color: #1D283A;
    margin: 0 auto 58px;
    max-width: 750px;
}
.richmond-certs-heading em {
    font-style: italic;
    font-weight: 400;
}
.richmond-certifications {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 12px;
}
.richmond-certifications img {
    height: 138px;
    width: 306px;
    object-fit: contain;
}
.richmond-certifications img:first-child {
    width: 350px;
    height: 225px;
}

/* ===== CTA ===== */
.richmond-cta-section {
    position: relative;
    background-size: cover;
    background-position: center 75%;
    padding: 117px 40px;
    text-align: center;
    border-radius: 57px;
    max-width: calc(100% - 80px);
    margin: 0 auto;
    overflow: hidden;
}
.richmond-cta-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 57px;
}
.richmond-cta-section > * {
    position: relative;
    z-index: 1;
}
.richmond-cta__heading {
    color: #EEF5F3;
    font-size: 56px;
    line-height: 1.05;
    font-weight: 600;
    text-transform: uppercase;
    max-width: 700px;
    margin: 0 auto 20px;
}
.richmond-cta__heading em {
    font-style: italic;
    font-weight: 400;
    color: #1D283A;
}
.richmond-cta__desc {
    color: #EEF5F3;
    max-width: 640px;
    margin: 0 auto 30px;
    font-size: 18px;
    line-height: 1.39;
    font-weight: 400;
}
a.richmond-cta__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #1D283A;
    color: #fff;
    border: none;
    border-radius: 30px;
    padding: 15px 25px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    min-width: 207px;
    height: 44px;
}
a.richmond-cta__btn:hover {
    background: #263a4d;
    color: #EEF5F3;
}

/* ===== FAQ ===== */
.richmond-faq {
    padding: 80px 0 100px;
}
.richmond-faq__top {
    max-width: 778px;
    margin: 0 auto 40px;
    text-align: center;
}
.richmond-faq__heading {
    font-size: 46px;
    line-height: 1.11;
    font-weight: 600;
    text-transform: uppercase;
    color: #1D283A;
    margin: 0;
}
.richmond-faq__heading em {
    font-style: italic;
    font-weight: 400;
}
.richmond-faq__box {
    max-width: 778px;
    margin: 0 auto;
}
.richmond-faq__list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.richmond-faq__item {
    background: #e6efec;
    border-radius: 12px;
}
.richmond-faq__title {
    font-size: 18px;
    font-weight: 600;
    color: #1D283A;
    padding: 20px 56px 20px 24px;
    display: block;
    position: relative;
    margin: 0;
    cursor: pointer;
}
.richmond-faq__title u {
    font-size: 28px;
    font-weight: 300;
    color: #1D283A;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    line-height: 1;
}
.richmond-faq__title u::before {
    content: '+';
    font-size: 28px;
    font-weight: 300;
}
.richmond-faq__title.active u::before {
    content: '\00d7';
}
.richmond-faq__answer {
    display: none;
    padding: 0 24px 20px;
    font-size: 16px;
    line-height: 1.56;
    color: #1D283A;
}
.richmond-faq__title.active + .richmond-faq__answer {
    display: block;
}

/* ===== Partner Form ===== */
.richmond-form-section {
    padding: 60px 40px 80px;
}
.richmond-form-section__inner {
    max-width: 1360px;
    margin: 0 auto;
    display: flex;
    min-height: 840px;
    position: relative;
}
.richmond-form-section__left {
    flex: 0 0 49%;
    background-size: cover;
    background-position: center;
    border-radius: 57px;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}
.richmond-form-section__overlay {
    position: absolute;
    inset: 0;
    background: rgba(20, 20, 20, 0.25);
    backdrop-filter: blur(5px);
    border-radius: 57px;
}
.richmond-form-section__left-text {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 460px;
    padding: 40px;
}
.richmond-form-section__heading {
    font-size: 64px;
    line-height: 1.1;
    font-weight: 600;
    text-transform: uppercase;
    color: #EEF5F3;
    margin: 0 0 16px;
}
.richmond-form-section__sub {
    font-size: 18px;
    line-height: 1.39;
    font-weight: 600;
    color: #EEF5F3;
}
.richmond-form-section__right {
    flex: 1;
    background: #fff;
    border-radius: 46px;
    box-shadow: 0 0 53px 7px rgba(155, 152, 187, 0.18);
    padding: 38px;
    margin-left: 16px;
    display: flex;
    align-items: center;
}
.richmond-form {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 46px;
}
.richmond-form__group {
    display: flex;
    flex-direction: column;
    gap: 24px;
}
.richmond-form__section-title {
    font-size: 20px;
    font-weight: 600;
    text-transform: uppercase;
    color: #1D283A;
    line-height: 1.2;
}
.richmond-form__row {
    display: flex;
    gap: 24px;
}
.richmond-form__field {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.richmond-form__field--full {
    width: 100%;
}
.richmond-form__field label {
    font-size: 16px;
    font-weight: 400;
    color: #001C46;
    opacity: 0.8;
}
.richmond-form__field input[type="text"],
.richmond-form__field input[type="email"],
.richmond-form__field input[type="tel"],
.richmond-form__select-wrap select {
    width: 100%;
    background: #EEF5F3;
    border: 1px solid rgba(64, 65, 65, 0.19);
    border-radius: 9px;
    padding: 12px 16px;
    font-family: 'Proxima Nova', sans-serif;
    font-size: 16px;
    color: #001C46;
    outline: none;
    transition: border-color 0.2s;
}
.richmond-form__field input:focus,
.richmond-form__select-wrap select:focus {
    border-color: #5BC2B1;
}
.richmond-form__select-wrap {
    position: relative;
}
.richmond-form__select-wrap select {
    appearance: none;
    cursor: pointer;
    padding-right: 40px;
}
.richmond-form__select-wrap::after {
    content: '';
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 6px solid #001C46;
    pointer-events: none;
}
.richmond-form__options {
    display: flex;
    flex-wrap: wrap;
    gap: 26px;
}
.richmond-form__radio,
.richmond-form__checkbox {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 16px;
    color: #001C46;
    opacity: 0.8;
    cursor: pointer;
    user-select: none;
}
.richmond-form__radio input,
.richmond-form__checkbox input {
    display: none;
}
.richmond-form__radio-mark {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    border: 1px solid #5BC2B1;
    flex-shrink: 0;
    position: relative;
}
.richmond-form__radio input:checked + .richmond-form__radio-mark::after {
    content: '';
    position: absolute;
    inset: 3px;
    border-radius: 50%;
    background: #5BC2B1;
}
.richmond-form__check-mark {
    width: 16px;
    height: 16px;
    border-radius: 4px;
    border: 1px solid #5BC2B1;
    flex-shrink: 0;
    position: relative;
}
.richmond-form__checkbox input:checked + .richmond-form__check-mark::after {
    content: '';
    position: absolute;
    left: 4px;
    top: 1px;
    width: 6px;
    height: 9px;
    border: solid #5BC2B1;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}
.richmond-form__submit {
    width: 100%;
    background: #002746;
    color: #fff;
    border: none;
    border-radius: 30px;
    padding: 15px 25px;
    font-family: 'Proxima Nova', sans-serif;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
}
.richmond-form__submit:hover {
    background: #003d6b;
}
.richmond-form__submit:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}
.richmond-form__status {
    text-align: center;
    font-size: 14px;
    min-height: 20px;
}
.richmond-form__status--success {
    color: #2FA98C;
}
.richmond-form__status--error {
    color: #e44;
}

/* ===== Footer ===== */
.richmond-footer {
    background: #1D283A;
    border-top: 1px solid #C1E4DA;
    padding: 80px 0;
}
.richmond-footer__inner {
    max-width: 1152px;
    margin: 0 auto;
    padding: 0 40px;
}
.richmond-footer__top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 40px;
    margin-bottom: 66px;
}
.richmond-footer__brand {
    width: 311px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}
.richmond-footer__brand img {
    display: block;
    width: 160px;
    height: 40px;
}
.richmond-footer__tagline {
    font-size: 20px;
    line-height: 1.35;
    color: #EEF5F3;
}
.richmond-footer__social {
    display: flex;
    gap: 16px;
    align-items: center;
}
.richmond-footer__social a {
    display: flex;
    opacity: 0.8;
    transition: opacity 0.2s;
}
.richmond-footer__social a:hover {
    opacity: 1;
}
.richmond-footer__social img {
    width: 21px;
    height: 21px;
}
.richmond-footer__links h4,
.richmond-footer__contact h4 {
    font-size: 20px;
    font-weight: 700;
    color: #EEF5F3;
    line-height: 1.1;
    margin-bottom: 20px;
}
.richmond-footer__links-cols {
    display: flex;
    gap: 40px;
}
.richmond-footer__links ul {
    display: flex;
    flex-direction: column;
    gap: 18px;
}
.richmond-footer__links a {
    font-size: 18px;
    color: #EEF5F3;
    opacity: 0.7;
    transition: opacity 0.2s;
}
.richmond-footer__links a:hover {
    opacity: 1;
}
.richmond-footer__contact ul {
    display: flex;
    flex-direction: column;
    gap: 18px;
}
.richmond-footer__contact li {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 18px;
    color: #EEF5F3;
    opacity: 0.7;
}
.richmond-footer__contact img {
    width: 18px;
    height: 18px;
    opacity: 0.7;
}
.richmond-footer__contact a {
    transition: opacity 0.2s;
}
.richmond-footer__contact a:hover {
    opacity: 0.7;
    text-decoration: underline;
}
.richmond-footer__bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 30px;
    border-top: 1px solid rgba(193, 228, 218, 0.2);
}
.richmond-footer__copy {
    font-size: 15px;
    color: #EEF5F3;
    opacity: 0.5;
}
.richmond-footer__legal {
    display: flex;
    gap: 40px;
}
.richmond-footer__legal a {
    font-size: 15px;
    color: #EEF5F3;
    transition: opacity 0.2s;
}
.richmond-footer__legal a:hover {
    opacity: 0.7;
}

/* ===== Marquee animation ===== */
@keyframes richmond-marquee {
    0% { transform: translateX(-50%); }
    100% { transform: translateX(0); }
}

/* ===== Responsive ===== */
@media (max-width: 1200px) {
    .richmond-services {
        padding: 60px 20px;
    }
    .richmond-services__top {
        flex-direction: column;
        align-items: center;
        gap: 30px;
    }
    .richmond-services__top-text {
        flex: none;
        width: 100%;
        align-items: center;
        text-align: center;
    }
    .richmond-services__top-image {
        flex: none;
        width: 100%;
        height: 390px;
    }
    .richmond-services__grid {
        gap: 40px;
    }
    .richmond-about {
        padding: 46px 40px;
        gap: 30px;
    }
    .richmond-about__image {
        flex: 0 0 45%;
        height: 450px;
    }
    .richmond-cta-section {
        max-width: calc(100% - 40px);
        padding: 80px 30px;
    }
}
@media (max-width: 991px) {
    .richmond-header__menu {
        display: none;
    }
    .richmond-header__menu.is-open {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 74px;
        left: 0;
        right: 0;
        background: #fff;
        padding: 20px;
        gap: 16px;
        border-bottom: 1px solid #E7E8E8;
        box-shadow: 0 4px 12px rgba(0,0,0,0.08);
        z-index: 99;
    }
    .richmond-header__menu.is-open .richmond-header__nav {
        flex-direction: column;
        gap: 16px;
    }
    .richmond-header__menu.is-open .richmond-header__cta {
        width: 100%;
        text-align: center;
    }
    .richmond-header__burger {
        display: flex;
    }
    .richmond-header__inner {
        padding: 0 20px;
    }
    .richmond-container {
        padding: 0 20px;
    }
    .richmond-hero__row {
        flex-direction: column;
        height: auto;
    }
    .richmond-hero__text {
        padding: 60px 28px;
        flex: none;
    }
    .richmond-hero__heading {
        font-size: 36px;
    }
    .richmond-hero__image {
        min-height: 300px;
    }
    .richmond-whoweare {
        min-height: auto;
    }
    .richmond-whoweare__inner {
        flex-direction: column;
        padding: 40px 20px;
        min-height: auto;
    }
    .richmond-whoweare__text {
        flex: none;
        max-width: 100%;
    }
    .richmond-whoweare__heading {
        font-size: 36px;
    }
    .richmond-whoweare__image {
        position: relative;
        left: 0;
        width: 80%;
        max-width: 400px;
        margin: 20px auto 0;
    }
    .richmond-specialties {
        padding: 60px 20px;
    }
    .richmond-specialties__heading {
        font-size: 36px;
    }
    .richmond-specialties__row {
        flex-wrap: wrap;
    }
    .richmond-card {
        width: calc(50% - 12px);
    }
    .richmond-badges-bar__row {
        justify-content: center;
    }
    .richmond-services__heading,
    .richmond-testimonials__heading,
    .richmond-about__heading,
    .richmond-certs-heading,
    .richmond-cta__heading,
    .richmond-faq__heading {
        font-size: 36px;
    }
    .richmond-services__grid {
        flex-direction: column;
        gap: 0;
    }
    .richmond-reviews {
        flex-direction: column;
        padding: 0 20px;
    }
    .richmond-about {
        flex-direction: column;
        padding: 20px 20px 20px;
    }
    .richmond-about__image {
        flex: none;
        width: 100%;
        height: 350px;
    }
    .richmond-about__text {
        max-width: 100%;
    }
    .richmond-cta-section {
        max-width: calc(100% - 20px);
        border-radius: 30px;
        padding: 60px 20px;
    }
    .richmond-cta-section::before {
        border-radius: 30px;
    }
    .richmond-form-section {
        padding: 40px 20px 60px;
    }
    .richmond-form-section__inner {
        flex-direction: column;
        min-height: auto;
    }
    .richmond-form-section__left {
        flex: none;
        min-height: 300px;
        border-radius: 30px;
    }
    .richmond-form-section__overlay {
        border-radius: 30px;
    }
    .richmond-form-section__heading {
        font-size: 36px;
    }
    .richmond-form-section__right {
        margin-left: 0;
        margin-top: 16px;
        border-radius: 30px;
    }
    .richmond-form__row {
        flex-direction: column;
    }
    .richmond-footer__top {
        flex-direction: column;
        gap: 40px;
    }
    .richmond-footer__brand {
        width: 100%;
    }
    .richmond-footer__bottom {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
}
@media (max-width: 750px) {
    .richmond-hero__text {
        padding: 40px 22px;
        align-items: center;
        text-align: center;
    }
    .richmond-hero__heading {
        font-size: 28px;
    }
    .richmond-hero__image {
        min-height: 220px;
    }
    a.richmond-hero__btn {
        width: 100%;
        min-width: unset;
    }
    .richmond-whoweare__inner {
        max-width: 100%;
        padding: 40px 0 0;
    }
    .richmond-whoweare__text {
        margin-left: 0;
        padding: 0 16px 20px;
        text-align: center;
    }
    .richmond-whoweare__heading {
        font-size: 32px;
        max-width: 100%;
    }
    .richmond-whoweare__desc {
        margin-left: 0;
        max-width: 100%;
        text-align: left;
    }
    .richmond-whoweare__glow--left {
        display: none;
    }
    .richmond-whoweare__glow--right {
        width: 200px;
        height: 200px;
        right: -50px;
        top: 60px;
        background: rgba(47, 169, 140, 0.45);
        filter: blur(90px);
    }
    .richmond-whoweare__image {
        position: relative;
        left: 0;
        width: calc(100% + 7px);
        max-width: none;
        margin: 0 0 0 -7px;
    }
    .richmond-whoweare__image::before {
        content: '';
        position: absolute;
        width: 150px;
        height: 150px;
        border-radius: 50%;
        background: rgba(47, 169, 140, 0.35);
        filter: blur(80px);
        left: 60px;
        top: -10px;
        pointer-events: none;
        z-index: 1;
    }
    .richmond-badges-bar__track {
        justify-content: flex-start;
        padding: 0;
        max-width: none;
        animation: richmond-marquee 15s linear infinite;
    }
    .richmond-badges-bar__row {
        flex-wrap: nowrap;
        flex-shrink: 0;
        gap: 20px;
        padding: 0 10px;
    }
    .richmond-badges-bar__row--clone {
        display: flex;
    }
    .richmond-card {
        width: 100%;
    }
    .richmond-specialties {
        padding: 40px 16px;
    }
    .richmond-specialties__header .richmond-hero__btn {
        width: 100%;
    }
    .richmond-services__top-text .richmond-hero__btn {
        width: 100%;
    }
    .richmond-about {
        flex-direction: column-reverse;
    }
    .richmond-about__text {
        text-align: center;
        align-items: center;
    }
    .richmond-about__desc {
        text-align: left;
    }
    .richmond-about__action .richmond-hero__btn {
        width: 100%;
    }
    .richmond-certs-heading {
        margin-bottom: 10px;
    }
    .richmond-certifications {
        flex-direction: column;
        align-items: center;
        gap: 0;
    }
    .richmond-certifications img {
        width: 280px;
        height: 138px;
        object-fit: contain;
        margin-top: 12px;
    }
    .richmond-certifications img:first-child {
        width: 280px;
        height: 249px;
        object-fit: contain;
        margin-top: -30px;
        margin-bottom: -48px;
    }
    .richmond-cta-section {
        padding: 50px 16px;
        border-radius: 20px;
    }
    .richmond-cta-section::before {
        border-radius: 20px;
    }
    .richmond-cta__heading {
        font-size: 28px;
    }
    .richmond-footer {
        padding: 50px 0;
    }
    .richmond-footer__inner {
        padding: 0 16px;
    }
    .richmond-footer__legal {
        gap: 20px;
    }
}
/* ===== Specialties page ===== */
.rp-spec-page {
    padding: 20px 0 120px;
    background: #F3F3F3;
}

/* Hero — side margins match .richmond-cta-section (40 / 20 / 10 across breakpoints) */
.rp-spec-hero {
    padding: 0 40px;
}
.rp-spec-hero__inner {
    position: relative;
    height: 322px;
    border-radius: 38px;
    background: rgba(255, 255, 255, 0.1);
    box-shadow:
        inset 0 0 0 1px #ffffff,
        inset 0 0 4px rgba(0, 0, 0, 0.05);
    overflow: hidden;
}
.rp-spec-hero__title {
    position: absolute;
    left: 111px;
    top: 77px;
    max-width: 497px;
    margin: 0;
    color: #1D283A;
    font-family: 'Proxima Nova', sans-serif;
    font-weight: 600;
    font-size: 78px;
    line-height: 1.08;
    text-transform: uppercase;
    letter-spacing: 0;
    z-index: 2;
}
.rp-spec-hero__title em {
    font-style: italic;
    color: #5BC2B1;
    font-weight: 400;
}
.rp-spec-hero__img {
    position: absolute;
    right: -29px;
    bottom: -93px;
    width: 816px;
    height: 543px;
    pointer-events: none;
    z-index: 1;
}
.rp-spec-hero__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: right bottom;
    display: block;
}

/* Grid */
.rp-spec-grid-section {
    margin: 48px auto 0;
    padding: 0 64px;
}
.rp-spec-grid {
    display: grid;
    grid-template-columns: repeat(3, 424px);
    justify-content: center;
    gap: 20px;
}

/* Card */
.rp-spec-card {
    position: relative;
    height: 197px;
    width: 424px;
    border-radius: 20px;
    border: 1px solid #DEEEEB;
    background: linear-gradient(133deg, #fff 0%, rgba(255, 255, 255, 0.62) 100%);
    color: #1D283A;
    text-decoration: none;
    display: block;
    overflow: hidden;
    transition: transform .2s ease, box-shadow .2s ease;
}
.rp-spec-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(29, 40, 58, 0.08);
}
.rp-spec-card__title {
    position: absolute;
    left: 40px;
    font-family: 'Proxima Nova', sans-serif;
    font-weight: 400;
    font-size: 26px;
    line-height: 1.19;
    color: #1D283A;
    max-width: 220px;
    z-index: 2;
}
.rp-spec-card__img {
    position: absolute;
    display: block;
    pointer-events: none;
    z-index: 1;
}
.rp-spec-card__img img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Desktop-exact title/image positions (Figma node 328:21) */
@media (min-width: 992px) {
    .rp-spec-card--weight-loss .rp-spec-card__title,
    .rp-spec-card--longevity   .rp-spec-card__title,
    .rp-spec-card--peptides    .rp-spec-card__title,
    .rp-spec-card--dermatology .rp-spec-card__title,
    .rp-spec-card--sexual      .rp-spec-card__title,
    .rp-spec-card--veterinary  .rp-spec-card__title { top: 83px; }

    .rp-spec-card--hrt         .rp-spec-card__title { top: 52px; }

    .rp-spec-card--mens        .rp-spec-card__title,
    .rp-spec-card--womens      .rp-spec-card__title,
    .rp-spec-card--digestive   .rp-spec-card__title,
    .rp-spec-card--commercial  .rp-spec-card__title,
    .rp-spec-card--pain        .rp-spec-card__title { top: 67px; }

    .rp-spec-card--weight-loss .rp-spec-card__img { left: 254px;   top: 0;     width: 161px;    height: 197px; }
    .rp-spec-card--hrt         .rp-spec-card__img { left: 224.3px; top: 13px;  width: 158.4px;  height: 184.18px; }
    .rp-spec-card--longevity   .rp-spec-card__img { left: 230px;   top: -16px; width: 194.5px;  height: 259.51px; }
    .rp-spec-card--peptides    .rp-spec-card__img { left: 128px;   top: 0;     width: 295.5px;  height: 196.95px; }
    .rp-spec-card--mens        .rp-spec-card__img { left: 186px;   top: 9px;   width: 215px;    height: 275px; }
    .rp-spec-card--womens      .rp-spec-card__img { left: 226px;   top: 14px;  width: 177.5px;  height: 177.5px; }
    .rp-spec-card--digestive   .rp-spec-card__img { left: 247.94px;top: 8px;   width: 167.13px; height: 198px; }
    .rp-spec-card--dermatology .rp-spec-card__img { left: 160px;   top: 0;     width: 278.23px; height: 199.28px; }
    .rp-spec-card--sexual      .rp-spec-card__img { left: 218px;   top: 20px;  width: 213px;    height: 173.04px; }
    .rp-spec-card--commercial  .rp-spec-card__img { left: 256px;   top: 16px;  width: 154px;    height: 180.77px; }
    .rp-spec-card--pain        .rp-spec-card__img { left: 260px;   top: 0;     width: 141.91px; height: 201px; }
    .rp-spec-card--veterinary  .rp-spec-card__img { left: 230px;   top: 7px;   width: 194px;    height: 190.29px; }
}

/* CTA modifier — reuses .richmond-cta-section from richmond-pharmacy.css */
.rp-spec-cta {
    margin-top: 100px;
}

/* ===== Responsive ===== */
@media (max-width: 1439px) {
    /* hero still works since image is clipped by overflow:hidden; just ensure inner scales */
    .rp-spec-hero__inner { max-width: 1360px; margin: 0 auto; }
    /* 3-cols grid (1312px) doesn't fit at <1440; drop to 2-col to avoid h-scroll */
    .rp-spec-grid { grid-template-columns: repeat(2, 424px); }
}

@media (max-width: 1280px) {
    .rp-spec-hero__img {
        width: 650px;
        height: 433px;
        bottom: -75px;
    }
}

@media (max-width: 1200px) {
    .rp-spec-hero { padding: 0 20px; }
    .rp-spec-hero__title { font-size: 64px; max-width: 420px; }
}

@media (max-width: 1100px) {
    .rp-spec-hero__img {
        width: 520px;
        height: 346px;
        bottom: -40px;
    }
}

@media (max-width: 991px) {
    /* Switch cards to flex layout, grid 1 column */
    .rp-spec-hero__inner { height: 260px; border-radius: 28px; }
    .rp-spec-hero__title {
        left: 40px;
        top: 40px;
        font-size: 48px;
        line-height: 1.1;
        max-width: 320px;
    }
    .rp-spec-hero__img {
        right: -120px;
        top: auto;
        bottom: -60px;
        width: 600px;
        height: 400px;
    }

    .rp-spec-grid-section { padding: 0 24px; }
    .rp-spec-grid {
        grid-template-columns: minmax(0, 560px);
        justify-content: center;
        gap: 16px;
    }
    .rp-spec-card {
        width: 100%;
        height: auto;
        min-height: 140px;
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 20px 0 20px 28px;
        overflow: hidden;
    }
    .rp-spec-card__title {
        position: static;
        left: auto;
        top: auto;
        max-width: calc(100% - 160px);
        font-size: 22px;
        line-height: 1.2;
    }
    .rp-spec-card__img {
        position: relative;
        left: auto;
        top: auto;
        width: 140px;
        height: 140px;
        flex-shrink: 0;
    }
    .rp-spec-card__img img {
        object-fit: contain;
        object-position: center right;
    }

    .rp-spec-cta { margin-top: 60px; }
}

@media (max-width: 750px) {
    .rp-spec-hero { padding: 0 10px; }
}

/* ===== Mobile (≤600): from Figma 354:2 "Richmond Pharmacy s m" ===== */
@media (max-width: 600px) {
    .rp-spec-page { padding: 20px 0 40px; background: #F3F3F3; }

    /* Hero (354:631) */
    .rp-spec-hero { padding: 0 16px; }
    .rp-spec-hero__inner {
        height: 212px;
        max-width: 328px;
        margin: 0 auto;
        border-radius: 38px;
        background: rgba(255, 255, 255, 0.1);
        box-shadow:
            inset 0 0 0 1px #ffffff,
            inset 0 0 4px rgba(0, 0, 0, 0.05);
    }
    .rp-spec-hero__title {
        left: 21px;
        top: 27px;
        right: 21px;
        font-size: 48px;
        line-height: 1.08;
        max-width: 286px;
        text-align: center;
    }
    .rp-spec-hero__title em { color: #5BC2B1; font-weight: 400; }
    .rp-spec-hero__img {
        left: 0;
        right: auto;
        top: 5.33px;
        bottom: auto;
        width: 345px;
        height: 229.6px;
    }
    .rp-spec-hero__img img { object-fit: fill; object-position: center; }

    /* Grid (354:634) — 12 cards single column, 328 wide on 360 viewport */
    .rp-spec-grid-section {
        margin: 20px auto 0;
        padding: 0 16px;
    }
    .rp-spec-grid {
        grid-template-columns: minmax(0, 328px);
        gap: 20px;
    }

    /* Card (354:636 etc) — reset 991 flex, use absolute positioning per-card */
    .rp-spec-card {
        width: 100%;
        max-width: 328px;
        height: 197px;
        min-height: 197px;
        border-radius: 20px;
        display: block;
        padding: 0;
        overflow: hidden;
    }
    .rp-spec-card__title {
        position: absolute;
        left: 40px;
        right: auto;
        font-size: 26px;
        line-height: 1.192; /* 31/26 */
        font-weight: 400;
        max-width: 160px;
        z-index: 2;
    }
    .rp-spec-card__img {
        position: absolute;
        display: block;
    }
    .rp-spec-card__img img { object-fit: contain; object-position: center; }

    /* Per-card title + image positions (Figma 354:636..683) */
    .rp-spec-card--weight-loss .rp-spec-card__title { top: 83px; }
    .rp-spec-card--weight-loss .rp-spec-card__img   { left: 162px; top: 0;    width: 161px;   height: 197px; }

    .rp-spec-card--hrt         .rp-spec-card__title { top: 52px; }
    .rp-spec-card--hrt         .rp-spec-card__img   { left: 184.3px; top: 13px; width: 158.4px; height: 184.2px; }

    .rp-spec-card--longevity   .rp-spec-card__title { top: 83px; }
    .rp-spec-card--longevity   .rp-spec-card__img   { left: 154px; top: -16px; width: 194.5px; height: 259.5px; }

    .rp-spec-card--peptides    .rp-spec-card__title { top: 83px; }
    .rp-spec-card--peptides    .rp-spec-card__img   { left: 41px;  top: 1px;  width: 286px;   height: 196px; }

    .rp-spec-card--mens        .rp-spec-card__title { top: 67px; max-width: 108px; }
    .rp-spec-card--mens        .rp-spec-card__img   { left: 117px; top: 9px;  width: 215px;   height: 275px; }

    .rp-spec-card--womens      .rp-spec-card__title { top: 67px; max-width: 126px; }
    .rp-spec-card--womens      .rp-spec-card__img   { left: 156px; top: 14px; width: 177.5px; height: 177.5px; }

    .rp-spec-card--digestive   .rp-spec-card__title { top: 67px; }
    .rp-spec-card--digestive   .rp-spec-card__img   { left: 157.9px; top: 8px; width: 167.1px; height: 198px; }

    .rp-spec-card--dermatology .rp-spec-card__title { top: 83px; }
    .rp-spec-card--dermatology .rp-spec-card__img   { left: 88px;  top: 0;    width: 278.2px; height: 199.3px; }

    .rp-spec-card--sexual      .rp-spec-card__title { top: 83px; }
    .rp-spec-card--sexual      .rp-spec-card__img   { left: 177px; top: 20px; width: 213px;   height: 173px; }

    .rp-spec-card--commercial  .rp-spec-card__title { top: 67px; }
    .rp-spec-card--commercial  .rp-spec-card__img   { left: 169px; top: 16px; width: 154px;   height: 180.8px; }

    .rp-spec-card--pain        .rp-spec-card__title { top: 67px; }
    .rp-spec-card--pain        .rp-spec-card__img   { left: 179px; top: 0;    width: 141.9px; height: 201px; }

    .rp-spec-card--veterinary  .rp-spec-card__title { top: 83px; }
    .rp-spec-card--veterinary  .rp-spec-card__img   { left: 168px; top: 7px;  width: 194px;   height: 190.3px; }

    /* CTA (354:687) — local mobile override of shared .richmond-cta-section.
       Figma bg is 516×531 extending past viewport; emulate edge-to-edge with
       mobile-specific bg image (sp-cta-mobile.webp from Figma imageRef 4e890d7d). */
    .rp-spec-cta.richmond-cta-section {
        margin: 20px 0 0;
        max-width: none;
        width: 100%;
        padding: 52px 16px;
        min-height: 531px;
        border-radius: 0;
        background-image: url('/assets/img/richmond/specialties/sp-cta-mobile.webp') !important;
        background-size: cover;
        background-position: center;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 16px;
        text-align: center;
    }
    .rp-spec-cta.richmond-cta-section::before {
        border-radius: 0;
        background: rgba(0, 0, 0, 0.2);
    }
    .rp-spec-cta .richmond-cta__heading {
        max-width: 328px;
        font-size: 38px;
        line-height: 1.105;
        color: #EEF5F3;
    }
    .rp-spec-cta .richmond-cta__desc {
        max-width: 328px;
        margin: 0;
        font-size: 18px;
        line-height: 1.111;
        color: #EEF5F3;
    }
    .rp-spec-cta .richmond-cta__btn {
        width: 100%;
        max-width: 328px;
        height: 49px;
        padding: 15px 25px;
        border-radius: 30px;
        background: #1D283A;
        color: #EEF5F3;
        font-size: 16px;
        line-height: 1.218;
        font-weight: 600;
    }
}

@media (max-width: 360px) {
    /* Cards are max-width 328; with 16+16 side padding they fit on exactly 360.
       On narrower devices (e.g. 320), cards shrink — some titles may wrap;
       per-card image positions remain absolute relative to card box. */
    .rp-spec-hero__inner { max-width: 100%; }
    .rp-spec-card { max-width: 100%; }
    .rp-spec-cta.richmond-cta-section { margin: 20px 0 0; }
}
