/* Existing shared header styles. */
.header{height:65px;padding:0 24px 0 max(24px,calc((100vw - 1090px)/2));background:#202428!important;backdrop-filter:none}.header-container{max-width:1440px;gap:24px}.header .logo{gap:10px;flex-shrink:0}.header .logo-icon{width:40px;height:43px}.header .logo-text{font-size:29px;letter-spacing:-1px}.header .logo-text b{color:#ffbd08}.header .logo-caption{display:none}.header-nav{gap:26px;white-space:nowrap}.header-nav a{font-size:12px;letter-spacing:0}.header-right{gap:24px}.header-phone a{font-size:14px;white-space:nowrap}.header-phone i{color:#ffbd08}.header-schedule{font-size:11px;color:white}.header .btn-header{padding:10px 12px;color:#ffce00;border:1px solid #ffce00;border-radius:10px;font-size:12px;letter-spacing:0;white-space:nowrap;background:transparent}
@media (min-width: 901px) and (max-width: 1279px) {
    .header:not(.rp-home-header) .header-nav { gap: 14px; }
    .header:not(.rp-home-header) .header-right { gap: 10px; }
    .header:not(.rp-home-header) .btn-header { font-size: 9px; }
    .header:not(.rp-home-header) .header-container { gap: 14px; }
    .header:not(.rp-home-header) .logo-text { font-size: 24px; }
    .header:not(.rp-home-header) .header-phone a { font-size: 11px; }
}

/* Homepage masthead */
.rp-home-header,
.rp-reference {
    --rp-accent: #ff9b00;
    --rp-ink: #15191d;
    --rp-white: #fafafa;
}

.header.rp-home-header {
    height: 68px;
    padding: 0 clamp(18px, 1.3vw, 26px);
    background: var(--rp-ink) !important;
}
.rp-home-header .header-container { max-width: 1920px; }
.rp-home-header .logo-icon { width: 42px; height: 40px; }
.rp-home-header .logo-text b,
.rp-home-header .header-phone i,
.rp-home-header .header-phone a:hover { color: var(--rp-accent); }
.rp-home-header .header-nav a {
    color: var(--rp-white);
    font-size: 14px;
    font-weight: 800;
}
.rp-home-header .header-nav a::after { background: var(--rp-accent); }
.rp-home-header .header-schedule { display: block; }
.rp-home-header .btn-header {
    padding: 9px 19px;
    border-color: var(--rp-accent);
    border-radius: 999px;
    color: var(--rp-accent);
    font-weight: 800;
}
.rp-home-header .btn-header:hover {
    color: var(--rp-ink);
    background: var(--rp-accent);
}
@media (min-width: 1201px) {
    .rp-home-header .header-left { margin-left: clamp(0px, calc((100vw - 1190px) * .57), 270px); }
    .rp-home-header .header-nav { gap: clamp(18px, 2.2vw, 38px); }
}

section.rp-reference {
    padding: 68px 0 0 !important;
    overflow: hidden;
    background: radial-gradient(ellipse at 55% 40%, #1a1e22, var(--rp-ink) 72%);
    color: var(--rp-white);
    font-family: Arial, sans-serif;
}
.rp-stage {
    position: relative;
    isolation: isolate;
    display: grid;
    grid-template-columns: 33.3% minmax(0, 1fr);
    max-width: 1920px;
    margin: 0 auto;
    container-type: inline-size;
}
.rp-left {
    width: 89%;
    padding: 3.55cqw 1.45cqw 2rem 1.68cqw;
    text-align: center;
}
.rp-mobile-brand { display: none; }
.rp-brand img {
    display: block;
    width: 8.15cqw;
    height: auto;
    margin: 0 auto 5px;
}
.rp-brand > div {
    font: 800 clamp(42px, 4.18cqw, 80px)/1.05 Manrope, Arial, sans-serif;
    letter-spacing: -.045em;
}
.rp-brand span,
.rp-description strong,
.rp-right h1 span,
.rp-numbers b { color: var(--rp-accent); }
.rp-brand p {
    margin: .37em 0 1.98cqw;
    font-size: clamp(13px, 1.19cqw, 23px);
    font-weight: 700;
}
.rp-benefits {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 4px;
    padding: 1.26cqw 0;
    margin-bottom: 1.9cqw;
    border-block: 2px solid var(--rp-accent);
}
.rp-benefits > div {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 7px;
}
.rp-benefits svg {
    width: clamp(24px, 2.15cqw, 40px);
    height: auto;
    color: var(--rp-accent);
}
.rp-benefits span {
    font-size: clamp(10px, .86cqw, 16px);
    line-height: 1.2;
}
.rp-description {
    margin-bottom: 1.05cqw;
    font-size: clamp(13px, 1.22cqw, 24px);
    line-height: 1.46;
}
.rp-description strong { font-size: 1.09em; }
.rp-estimate {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 8px 12px;
    border: 2px solid var(--rp-white);
    border-radius: 15px;
    color: var(--rp-white);
    text-decoration: none;
    font-size: clamp(13px, 1.025cqw, 20px);
    font-weight: 800;
    line-height: 1.07;
}
.rp-estimate:hover { border-color: var(--rp-accent); color: var(--rp-accent); }
.rp-wa {
    display: flex;
    padding: 3px;
    border-radius: 6px;
    background: #08d443;
}
.rp-wa svg { width: clamp(23px, 1.87cqw, 36px); height: auto; color: white; }

/* Preserve the reference's gold, highlights and adjacent photo at one scale. */
.rp-diagonal {
    position: absolute;
    z-index: -1;
    top: 0;
    left: 25.375%;
    width: 16.416%;
    height: auto;
    pointer-events: none;
    clip-path: polygon(
        0 0, 14.35% 0, 100% 50.8%, 18.7% 100%, 4.2% 100%,
        71.8% 58.8%, 27.1% 58.8%, 23.6% 58.5%, 21.5% 57.9%,
        21.2% 57%, 21.2% 40%, 44.8% 26.15%
    );
}

.rp-right { padding: 2.25cqw 2.83cqw 2.3cqw 0; }
.rp-right h1 {
    margin: 0 1.45cqw 0 0;
    padding-bottom: 1.22cqw;
    border-bottom: 3px solid var(--rp-accent);
    font: 800 clamp(32px, 3.61cqw, 70px)/1.05 Manrope, Arial, sans-serif;
    letter-spacing: -.025em;
}
.rp-gallery { margin: .96cqw 0 0 8.35cqw; }
.rp-main-photo { aspect-ratio: 1.89; }
.rp-main-photo > img,
.rp-gallery-bottom > img {
    display: block;
    width: 100%;
    height: 100%;
    border-radius: clamp(12px, 1.18cqw, 22px);
    object-fit: cover;
}
.rp-main-photo > span { display: none; }
.rp-gallery-bottom {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: start;
    gap: .9cqw;
    margin-top: .97cqw;
}
.rp-gallery-bottom > img { height: auto; aspect-ratio: 292 / 167; }
.rp-numbers { padding: 1.9cqw .2rem 0; text-align: center; line-height: 1.22; }
.rp-numbers b {
    display: block;
    font: 800 clamp(32px, 3.5cqw, 67px)/1.03 Manrope, Arial, sans-serif;
}
.rp-numbers span { display: block; font-size: clamp(12px, 1.3cqw, 25px); }
.rp-numbers hr {
    height: 1px;
    margin: 12px auto;
    width: 55%;
    border: 0;
    background: var(--rp-accent);
}
.rp-numbers > div:last-child b { font-size: clamp(22px, 2.1cqw, 40px); }

@media (max-width: 1200px) {
    .rp-home-header .header-nav { display: none; }
    .rp-home-header .mobile-menu-btn { display: flex; }
}

@media (max-width: 1100px) {
    .header-nav { display: none; }
    .header .mobile-menu-btn { display: flex; }
    .header-right { margin-left: auto; }
}
@media (max-width: 900px) {
    .header { padding: 0 20px; }
    .header .btn-header { display: none; }
    .rp-stage { display: flex; flex-direction: column; }
    .rp-mobile-brand {
        display: block;
        order: -1;
        padding: 26px 20px 4px;
        text-align: center;
    }
    .rp-mobile-brand img { width: 76px; }
    .rp-mobile-brand > div { font-size: 49px; }
    .rp-mobile-brand p { margin: 6px 0 0; font-size: 12px; }
    .rp-right { order: 0; padding: 22px 16px 28px; }
    .rp-right h1 {
        max-width: 650px;
        margin: 0 auto;
        padding-bottom: 15px;
        font-size: clamp(25px, 5.2cqw, 46px);
        line-height: 1.1;
    }
    .rp-gallery { max-width: 650px; margin: 13px auto 0; }
    .rp-gallery-bottom { gap: 8px; margin-top: 8px; }
    .rp-numbers { padding: 3px 0 0; }
    .rp-numbers b { font-size: clamp(25px, 6.9cqw, 41px); }
    .rp-numbers span { font-size: clamp(10px, 2.8cqw, 15px); }
    .rp-numbers hr { margin: 5px auto; }
    .rp-numbers > div:last-child b { font-size: clamp(19px, 5.4cqw, 31px); }
    .rp-left {
        order: 1;
        position: relative;
        isolation: isolate;
        width: 100%;
        min-height: clamp(310px, 92cqw, 515px);
        padding: 28px clamp(77px, 25cqw, 170px) 34px 14px;
        border-top: 1px solid #ffffff18;
    }
    .rp-left > .rp-brand { display: none; }
    .rp-benefits { max-width: 435px; padding: 14px 0; margin: 0 auto 20px; }
    .rp-benefits > div { gap: 4px; }
    .rp-benefits span { font-size: clamp(8px, 2.5cqw, 13px); }
    .rp-description { margin-bottom: 13px; }
    .rp-diagonal { left: auto; right: 0; width: clamp(96px, 28.6cqw, 160px); }
}
@media (max-width: 370px) {
    .header-contacts { display: none; }
}
@media (prefers-reduced-motion: reduce) {
    .rp-reference * { animation: none !important; transition: none !important; }
}
