.rh-pricing {
    --rh-navy: #08224a;
    --rh-navy-deep: #061a38;
    --rh-blue: #143b6d;
    --rh-gold: #efa81a;
    --rh-gold-light: #ffc85a;
    --rh-ink: #111827;
    --rh-muted: #536173;
    --rh-line: #dbe3ed;
    --rh-soft: #f4f7fb;
    --rh-white: #ffffff;
    width: 100%;
    color: var(--rh-ink);
    background: var(--rh-white);
    font-family: inherit;
    line-height: 1.55;
}

.rh-pricing *,
.rh-pricing *::before,
.rh-pricing *::after {
    box-sizing: border-box;
}

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

.rh-pricing h1,
.rh-pricing h2,
.rh-pricing h3,
.rh-pricing p {
    margin-top: 0;
}

.rh-pricing h1,
.rh-pricing h2,
.rh-pricing h3 {
    color: inherit;
    font-family: inherit;
    font-weight: 900;
    letter-spacing: -0.035em;
}

.rh-pricing h1 {
    max-width: 820px;
    margin-bottom: 24px;
    font-size: clamp(42px, 5.4vw, 76px);
    line-height: 1.02;
}

.rh-pricing h2 {
    margin-bottom: 18px;
    font-size: clamp(32px, 3.7vw, 52px);
    line-height: 1.08;
}

.rh-pricing h3 {
    margin-bottom: 10px;
    font-size: 21px;
    line-height: 1.18;
}

.rh-pricing__hero {
    position: relative;
    overflow: hidden;
    padding: 28px 0 96px;
    color: var(--rh-white);
    background:
        linear-gradient(115deg, rgba(6, 26, 56, 0.98) 0%, rgba(8, 34, 74, 0.96) 56%, rgba(20, 59, 109, 0.94) 100%),
        repeating-linear-gradient(90deg, transparent 0, transparent 79px, rgba(255, 255, 255, 0.05) 80px);
}

.rh-pricing__hero::after {
    position: absolute;
    right: -120px;
    bottom: -210px;
    width: 540px;
    height: 540px;
    border: 1px solid rgba(239, 168, 26, 0.28);
    border-radius: 50%;
    box-shadow: 0 0 0 70px rgba(239, 168, 26, 0.04), 0 0 0 140px rgba(239, 168, 26, 0.025);
    content: '';
    pointer-events: none;
}

.rh-pricing__switcher {
    position: relative;
    z-index: 1;
    display: inline-flex;
    margin-bottom: 70px;
    border: 1px solid rgba(255, 255, 255, 0.24);
}

.rh-pricing__switcher a {
    display: inline-flex;
    align-items: center;
    min-height: 46px;
    padding: 11px 18px;
    color: rgba(255, 255, 255, 0.75);
    font-size: 13px;
    font-weight: 900;
    line-height: 1.2;
    text-decoration: none;
    text-transform: uppercase;
}

.rh-pricing__switcher a + a {
    border-left: 1px solid rgba(255, 255, 255, 0.24);
}

.rh-pricing__switcher a.is-active,
.rh-pricing__switcher a:hover,
.rh-pricing__switcher a:focus-visible {
    color: var(--rh-ink);
    background: var(--rh-gold);
}

.rh-pricing__hero-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1.55fr) minmax(320px, 0.75fr);
    gap: 76px;
    align-items: end;
}

.rh-pricing__eyebrow,
.rh-pricing__kicker {
    margin-bottom: 18px;
    color: var(--rh-gold);
    font-size: 13px;
    font-weight: 950;
    line-height: 1.3;
    text-transform: uppercase;
    letter-spacing: 0.055em;
}

.rh-pricing__lead {
    max-width: 760px;
    margin-bottom: 34px;
    color: rgba(255, 255, 255, 0.78);
    font-size: clamp(18px, 2vw, 22px);
    line-height: 1.55;
}

.rh-pricing__hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 22px;
    align-items: center;
}

.rh-pricing__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    padding: 14px 22px;
    border: 1px solid transparent;
    border-radius: 0;
    font: inherit;
    font-size: 14px;
    font-weight: 950;
    line-height: 1.25;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.rh-pricing__button:hover,
.rh-pricing__button:focus-visible {
    transform: translateY(-2px);
}

.rh-pricing__button--gold {
    color: var(--rh-ink) !important;
    background: var(--rh-gold);
    box-shadow: 0 16px 34px rgba(0, 0, 0, 0.18);
}

.rh-pricing__button--gold:hover,
.rh-pricing__button--gold:focus-visible {
    color: var(--rh-ink) !important;
    background: var(--rh-gold-light);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.24);
}

.rh-pricing__button--navy {
    color: var(--rh-white) !important;
    background: var(--rh-navy);
}

.rh-pricing__button--navy:hover,
.rh-pricing__button--navy:focus-visible {
    color: var(--rh-white) !important;
    background: var(--rh-blue);
}

.rh-pricing__text-link {
    color: var(--rh-white) !important;
    font-size: 14px;
    font-weight: 900;
    text-underline-offset: 5px;
}

.rh-pricing__text-link span {
    color: var(--rh-gold);
}

.rh-pricing__promise {
    padding: 30px;
    border-top: 4px solid var(--rh-gold);
    background: rgba(255, 255, 255, 0.085);
    box-shadow: 0 28px 55px rgba(0, 0, 0, 0.16);
    backdrop-filter: blur(10px);
}

.rh-pricing__promise > p {
    margin-bottom: 22px;
    color: var(--rh-white);
    font-size: 19px;
    font-weight: 900;
}

.rh-pricing__promise ol {
    display: grid;
    gap: 17px;
    margin: 0 0 24px;
    padding: 0;
    list-style: none;
}

.rh-pricing__promise li {
    display: grid;
    grid-template-columns: 34px 1fr;
    gap: 12px;
    color: rgba(255, 255, 255, 0.78);
    font-size: 14px;
}

.rh-pricing__promise li span {
    color: var(--rh-gold);
    font-size: 12px;
    font-weight: 950;
}

.rh-pricing__promise strong {
    display: block;
    padding-top: 19px;
    border-top: 1px solid rgba(255, 255, 255, 0.18);
    color: var(--rh-white);
    font-size: 13px;
    line-height: 1.5;
}

.rh-pricing__section {
    padding: 100px 0;
}

.rh-pricing__section--segments,
.rh-pricing__section--faq {
    background: var(--rh-soft);
}

.rh-pricing__section-head {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.65fr);
    gap: 70px;
    align-items: end;
    margin-bottom: 46px;
}

.rh-pricing__section-head h2 {
    margin-bottom: 0;
}

.rh-pricing__section-head > p,
.rh-pricing__budget-layout > div:first-child > p:last-child,
.rh-pricing__faq-layout > div:first-child > p:last-child {
    margin-bottom: 0;
    color: var(--rh-muted);
    font-size: 17px;
}

.rh-pricing__segments {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    border-top: 1px solid var(--rh-line);
    border-left: 1px solid var(--rh-line);
}

.rh-pricing__segment {
    display: flex;
    flex-direction: column;
    min-height: 390px;
    padding: 27px;
    color: var(--rh-ink);
    background: var(--rh-white);
    border: 0;
    border-right: 1px solid var(--rh-line);
    border-bottom: 1px solid var(--rh-line);
    border-radius: 0;
    font: inherit;
    text-align: left;
    cursor: pointer;
    transition: color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.rh-pricing__segment:hover,
.rh-pricing__segment:focus-visible {
    position: relative;
    z-index: 1;
    color: var(--rh-white);
    background: var(--rh-navy);
    transform: translateY(-7px);
    box-shadow: 0 22px 45px rgba(8, 34, 74, 0.18);
    outline: none;
}

.rh-pricing__segment-number {
    margin-bottom: 38px;
    color: var(--rh-gold);
    font-size: 12px;
    font-weight: 950;
}

.rh-pricing__segment-fit {
    margin-bottom: 9px;
    color: var(--rh-muted);
    font-size: 12px;
    font-weight: 850;
    text-transform: uppercase;
}

.rh-pricing__segment:hover .rh-pricing__segment-fit,
.rh-pricing__segment:focus-visible .rh-pricing__segment-fit,
.rh-pricing__segment:hover .rh-pricing__segment-copy,
.rh-pricing__segment:focus-visible .rh-pricing__segment-copy {
    color: rgba(255, 255, 255, 0.72);
}

.rh-pricing__segment strong {
    display: block;
    margin-bottom: 17px;
    font-size: 23px;
    font-weight: 950;
    line-height: 1.15;
}

.rh-pricing__segment-range {
    display: block;
    margin-bottom: 18px;
    color: var(--rh-navy);
    font-size: 20px;
    font-weight: 950;
}

.rh-pricing__segment:hover .rh-pricing__segment-range,
.rh-pricing__segment:focus-visible .rh-pricing__segment-range {
    color: var(--rh-gold);
}

.rh-pricing__segment-range small {
    display: block;
    margin-top: 3px;
    color: inherit;
    font-size: 11px;
    font-weight: 800;
    opacity: 0.64;
}

.rh-pricing__segment-copy {
    color: var(--rh-muted);
    font-size: 14px;
    line-height: 1.55;
}

.rh-pricing__segment-action {
    margin-top: auto;
    padding-top: 25px;
    color: var(--rh-navy);
    font-size: 13px;
    font-weight: 950;
}

.rh-pricing__segment:hover .rh-pricing__segment-action,
.rh-pricing__segment:focus-visible .rh-pricing__segment-action {
    color: var(--rh-gold);
}

.rh-pricing__section--budget {
    color: var(--rh-white);
    background: var(--rh-navy);
}

.rh-pricing__budget-layout {
    display: grid;
    grid-template-columns: minmax(280px, 0.65fr) minmax(0, 1.35fr);
    gap: 80px;
    align-items: center;
}

.rh-pricing__section--budget h2 {
    color: var(--rh-white);
}

.rh-pricing__section--budget .rh-pricing__budget-layout > div:first-child > p:last-child {
    color: rgba(255, 255, 255, 0.7);
}

.rh-pricing__budget-panel {
    padding: 34px;
    color: var(--rh-ink);
    background: var(--rh-white);
    box-shadow: 0 30px 65px rgba(0, 0, 0, 0.22);
}

.rh-pricing__budget-options {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    margin-bottom: 28px;
    border-top: 1px solid var(--rh-line);
    border-left: 1px solid var(--rh-line);
}

.rh-pricing__budget-options button {
    min-height: 58px;
    padding: 12px 8px;
    color: var(--rh-navy);
    background: var(--rh-white);
    border: 0;
    border-right: 1px solid var(--rh-line);
    border-bottom: 1px solid var(--rh-line);
    border-radius: 0;
    font: inherit;
    font-size: 14px;
    font-weight: 950;
    cursor: pointer;
}

.rh-pricing__budget-options button:hover,
.rh-pricing__budget-options button:focus-visible {
    background: #fff8e7;
}

.rh-pricing__budget-options button.is-selected {
    color: var(--rh-ink);
    background: var(--rh-gold);
    box-shadow: inset 0 -4px 0 rgba(8, 34, 74, 0.22);
}

.rh-pricing__selection {
    display: flex;
    gap: 24px;
    align-items: center;
    justify-content: space-between;
}

.rh-pricing__selection span {
    display: block;
    margin-bottom: 3px;
    color: var(--rh-muted);
    font-size: 12px;
    font-weight: 850;
    text-transform: uppercase;
}

.rh-pricing__selection strong {
    color: var(--rh-navy);
    font-size: 23px;
    font-weight: 950;
}

.rh-pricing__microcopy {
    margin: 23px 0 0;
    padding-top: 20px;
    border-top: 1px solid var(--rh-line);
    color: var(--rh-muted);
    font-size: 12px;
}

.rh-pricing__scope-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    border-top: 1px solid var(--rh-line);
    border-left: 1px solid var(--rh-line);
}

.rh-pricing__scope-card {
    min-height: 235px;
    padding: 30px;
    border-right: 1px solid var(--rh-line);
    border-bottom: 1px solid var(--rh-line);
}

.rh-pricing__scope-card > span {
    display: block;
    margin-bottom: 44px;
    color: var(--rh-gold);
    font-size: 12px;
    font-weight: 950;
}

.rh-pricing__scope-card p {
    margin-bottom: 0;
    color: var(--rh-muted);
    font-size: 14px;
}

.rh-pricing__section--process {
    color: var(--rh-white);
    background: var(--rh-navy-deep);
}

.rh-pricing__section--process h2,
.rh-pricing__section--process h3 {
    color: var(--rh-white);
}

.rh-pricing__process-intro {
    max-width: 730px;
    margin-bottom: 54px;
}

.rh-pricing__process-list {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    border-top: 1px solid rgba(255, 255, 255, 0.16);
    border-left: 1px solid rgba(255, 255, 255, 0.16);
}

.rh-pricing__process-list article {
    min-height: 250px;
    padding: 28px;
    border-right: 1px solid rgba(255, 255, 255, 0.16);
    border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

.rh-pricing__process-list article > span {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    margin-bottom: 55px;
    color: var(--rh-ink);
    background: var(--rh-gold);
    font-size: 13px;
    font-weight: 950;
}

.rh-pricing__process-list article p {
    margin-bottom: 0;
    color: rgba(255, 255, 255, 0.67);
    font-size: 14px;
}

.rh-pricing__section--form {
    background: linear-gradient(90deg, var(--rh-white) 0%, var(--rh-white) 50%, var(--rh-soft) 50%, var(--rh-soft) 100%);
}

.rh-pricing__form-layout {
    display: grid;
    grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.22fr);
    gap: 90px;
    align-items: start;
}

.rh-pricing__form-copy {
    position: sticky;
    top: 34px;
    padding-top: 36px;
}

.rh-pricing__form-copy > p:not(.rh-pricing__kicker):not(.rh-pricing__contact) {
    color: var(--rh-muted);
    font-size: 17px;
}

.rh-pricing__form-copy ul {
    display: grid;
    gap: 12px;
    margin: 32px 0;
    padding: 0;
    list-style: none;
}

.rh-pricing__form-copy li {
    position: relative;
    padding-left: 28px;
    color: var(--rh-navy);
    font-size: 14px;
    font-weight: 850;
}

.rh-pricing__form-copy li::before {
    position: absolute;
    left: 0;
    color: var(--rh-gold);
    content: '✓';
    font-weight: 950;
}

.rh-pricing__contact {
    padding-top: 26px;
    border-top: 1px solid var(--rh-line);
    color: var(--rh-muted);
    font-size: 14px;
}

.rh-pricing__contact a {
    color: var(--rh-navy);
    font-weight: 900;
}

.rh-pricing__form-card {
    padding: 42px;
    background: var(--rh-white);
    border-top: 5px solid var(--rh-gold);
    box-shadow: 0 25px 65px rgba(8, 34, 74, 0.14);
}

.rh-pricing__form-card form {
    display: grid;
    gap: 18px;
}

.rh-pricing__field-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.rh-pricing__form-card label {
    display: grid;
    gap: 7px;
    margin: 0;
}

.rh-pricing__form-card label > span {
    color: var(--rh-ink);
    font-size: 12px;
    font-weight: 900;
}

.rh-pricing .rh-pricing__form-card input,
.rh-pricing .rh-pricing__form-card select,
.rh-pricing .rh-pricing__form-card textarea {
    width: 100%;
    min-height: 50px;
    margin: 0;
    padding: 12px 14px;
    color: var(--rh-ink) !important;
    background: var(--rh-white) !important;
    border: 1px solid #b9c6d6;
    border-radius: 0;
    box-shadow: none;
    font: inherit;
    font-size: 14px;
}

.rh-pricing .rh-pricing__form-card textarea {
    min-height: 92px;
    resize: vertical;
}

.rh-pricing .rh-pricing__form-card input:focus,
.rh-pricing .rh-pricing__form-card select:focus,
.rh-pricing .rh-pricing__form-card textarea:focus {
    border-color: var(--rh-navy);
    outline: 3px solid rgba(239, 168, 26, 0.28);
}

.rh-pricing__honeypot {
    position: absolute !important;
    left: -99999px !important;
    width: 1px !important;
    height: 1px !important;
    opacity: 0 !important;
}

.rh-pricing__submit {
    width: 100%;
    margin-top: 5px;
}

.rh-pricing__privacy {
    margin-bottom: 0;
    color: var(--rh-muted);
    font-size: 11px;
    line-height: 1.45;
    text-align: center;
}

.rh-pricing__notice {
    margin-bottom: 22px;
    padding: 15px 17px;
    border: 1px solid;
    font-size: 14px;
}

.rh-pricing__notice strong {
    display: block;
}

.rh-pricing__notice--success {
    color: #14532d;
    background: #ecfdf3;
    border-color: #86efac;
}

.rh-pricing__notice--error {
    color: #7f1d1d;
    background: #fff1f2;
    border-color: #fda4af;
}

.rh-pricing__faq-layout {
    display: grid;
    grid-template-columns: minmax(260px, 0.58fr) minmax(0, 1.42fr);
    gap: 90px;
    align-items: start;
}

.rh-pricing__faq-list {
    border-top: 1px solid var(--rh-line);
}

.rh-pricing__faq-list details {
    background: var(--rh-white);
    border-bottom: 1px solid var(--rh-line);
}

.rh-pricing__faq-list summary {
    position: relative;
    display: flex;
    gap: 20px;
    align-items: center;
    justify-content: space-between;
    padding: 22px 64px 22px 22px;
    color: var(--rh-navy);
    font-size: 16px;
    font-weight: 900;
    line-height: 1.35;
    list-style: none;
    cursor: pointer;
}

.rh-pricing__faq-list summary::-webkit-details-marker {
    display: none;
}

.rh-pricing__faq-list summary span,
.rh-pricing__faq-list summary span::after {
    position: absolute;
    top: 50%;
    right: 22px;
    width: 18px;
    height: 2px;
    background: var(--rh-gold);
    content: '';
    transform: translateY(-50%);
}

.rh-pricing__faq-list summary span::after {
    top: 0;
    right: 0;
    transform: rotate(90deg);
    transition: transform 0.18s ease;
}

.rh-pricing__faq-list details[open] summary span::after {
    transform: rotate(0);
}

.rh-pricing__faq-list details[open] summary {
    background: #fff9eb;
}

.rh-pricing__faq-list details > div {
    padding: 0 54px 24px 22px;
}

.rh-pricing__faq-list details p {
    margin-bottom: 0;
    color: var(--rh-muted);
    font-size: 14px;
}

.rh-pricing__closing {
    padding: 74px 0;
    color: var(--rh-white);
    background: var(--rh-navy);
}

.rh-pricing__closing .rh-pricing__container {
    display: flex;
    gap: 50px;
    align-items: center;
    justify-content: space-between;
}

.rh-pricing__closing p {
    margin-bottom: 10px;
    color: var(--rh-gold);
    font-size: 13px;
    font-weight: 950;
    text-transform: uppercase;
}

.rh-pricing__closing h2 {
    max-width: 810px;
    margin-bottom: 0;
    color: var(--rh-white);
    font-size: clamp(27px, 3vw, 40px);
}

body.page-template-default .rh-pricing {
    margin-top: 0;
}

.rankhero-pricing-page .post-content > p:empty,
.rankhero-pricing-page .fusion-title,
.rankhero-pricing-page .fusion-page-title-bar {
    display: none;
}

.rankhero-pricing-page #main,
.rankhero-pricing-page #main .fusion-row,
.rankhero-pricing-page #content,
.rankhero-pricing-page .post-content {
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0;
}

@media (max-width: 1080px) {
    .rh-pricing__hero-grid { grid-template-columns: 1fr; gap: 46px; }
    .rh-pricing__promise { max-width: 650px; }
    .rh-pricing__segments { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .rh-pricing__budget-layout { grid-template-columns: 1fr; gap: 42px; }
    .rh-pricing__process-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .rh-pricing__form-layout { gap: 52px; }
    .rh-pricing__faq-layout { gap: 52px; }
}

@media (max-width: 800px) {
    .rh-pricing__container { width: min(100% - 32px, 720px); }
    .rh-pricing__hero { padding-bottom: 70px; }
    .rh-pricing__switcher { margin-bottom: 50px; }
    .rh-pricing__section { padding: 76px 0; }
    .rh-pricing__section-head,
    .rh-pricing__form-layout,
    .rh-pricing__faq-layout { grid-template-columns: 1fr; gap: 36px; }
    .rh-pricing__section-head { align-items: start; }
    .rh-pricing__scope-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .rh-pricing__form-copy { position: static; padding-top: 0; }
    .rh-pricing__section--form { background: var(--rh-soft); }
    .rh-pricing__closing .rh-pricing__container { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 620px) {
    .rh-pricing__container { width: calc(100% - 24px); }
    .rh-pricing h1 { font-size: clamp(38px, 12vw, 52px); }
    .rh-pricing h2 { font-size: 34px; }
    .rh-pricing__switcher { display: flex; width: 100%; }
    .rh-pricing__switcher a { flex: 1; justify-content: center; padding-inline: 10px; font-size: 11px; }
    .rh-pricing__hero-actions { align-items: stretch; flex-direction: column; }
    .rh-pricing__hero-actions .rh-pricing__button { width: 100%; }
    .rh-pricing__text-link { padding: 8px 0; text-align: center; }
    .rh-pricing__promise { padding: 24px 20px; }
    .rh-pricing__segments,
    .rh-pricing__scope-grid,
    .rh-pricing__process-list { grid-template-columns: 1fr; }
    .rh-pricing__segment { min-height: 340px; }
    .rh-pricing__budget-panel,
    .rh-pricing__form-card { padding: 24px 18px; }
    .rh-pricing__budget-options { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .rh-pricing__budget-options button:last-child { grid-column: 1 / -1; }
    .rh-pricing__selection { align-items: stretch; flex-direction: column; }
    .rh-pricing__selection .rh-pricing__button { width: 100%; }
    .rh-pricing__field-row { grid-template-columns: 1fr; }
    .rh-pricing__process-list article { min-height: auto; }
    .rh-pricing__process-list article > span { margin-bottom: 32px; }
    .rh-pricing__faq-list summary { padding-left: 16px; font-size: 15px; }
    .rh-pricing__faq-list details > div { padding-left: 16px; }
}

@media (prefers-reduced-motion: reduce) {
    .rh-pricing *,
    .rh-pricing *::before,
    .rh-pricing *::after {
        scroll-behavior: auto !important;
        transition: none !important;
    }
}
