/*
 * RS Estatement
 * Site styles
 * Version: 1.0
 */


/* =========================================================
   DESIGN TOKENS
   ========================================================= */

:root {
    --rs-white: #FFFFFF;
    --rs-bg: #FFFFFF;
    --rs-section: #EFF8FC;

    --rs-primary: #0077B6;
    --rs-accent: #009C95;
    --rs-warm: #F3E7D3;
    --rs-text: #334155;

    /* Compatibility aliases used by the existing page styles. */
    --rs-navy: var(--rs-primary);
    --rs-blue: var(--rs-primary);
    --rs-blue-dark: var(--rs-primary);
    --rs-sea: var(--rs-accent);
    --rs-muted: rgba(51, 65, 85, 0.76);
    --rs-bg-soft: var(--rs-section);
    --rs-bg-blue: var(--rs-section);

    --rs-border: rgba(51, 65, 85, 0.14);

    --rs-shadow-sm:
        0 4px 14px rgba(51, 65, 85, 0.06);

    --rs-shadow-md:
        0 14px 35px rgba(51, 65, 85, 0.10);

    --rs-hero-gradient:
        linear-gradient(
            135deg,
            var(--rs-primary) 0%,
            var(--rs-primary) 55%,
            var(--rs-accent) 100%
        );

    --rs-header-bg: rgba(255, 255, 255, 0.96);
}

html {
    scroll-padding-top: 100px;
}

body {
    color: var(--rs-text);
    background: var(--rs-bg);
}

.rs-home {
    color: var(--rs-text);
}


/* =========================================================
   BASIC TYPOGRAPHY
   ========================================================= */

.rs-home,
.rs-home * {
    box-sizing: border-box;
}

.rs-home p {
    font-size: 16px;
    line-height: 1.72;
}

.rs-home h1,
.rs-home h2,
.rs-home h3,
.rs-home h4 {
    color: var(--rs-navy);
    line-height: 1.18;
}

.rs-home h1 {
    margin-top: 0;
}

.rs-home a {
    transition:
        color 0.2s ease,
        background-color 0.2s ease,
        border-color 0.2s ease,
        box-shadow 0.2s ease,
        transform 0.2s ease;
}


/* =========================================================
   COMMON SECTIONS
   ========================================================= */

.rs-home .rs-section {
    padding-top: 76px;
    padding-bottom: 76px;
    padding-left: 28px;
    padding-right: 28px;
}

.rs-home .rs-eyebrow {
    margin-bottom: 12px;

    color: var(--rs-blue);

    font-size: 12px;
    font-weight: 700;
    line-height: 1.3;

    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.rs-home .rs-section-title {
    margin-top: 0;
    margin-bottom: 16px;

    font-size: clamp(30px, 3.3vw, 44px);
}

.rs-home .rs-section-intro {
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;

    color: var(--rs-muted);

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


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

.rs-home .wp-block-buttons {
    gap: 12px;
}

.rs-home .wp-block-button__link {
    padding: 13px 22px;

    border-radius: 7px;

    font-size: 15px;
    font-weight: 700;

    text-decoration: none;

    box-shadow: none;
}

.rs-home
.wp-block-button:not(.is-style-outline)
.wp-block-button__link {
    border: 1px solid var(--rs-blue);
    background: var(--rs-blue);
    color: var(--rs-white);
}

.rs-home
.wp-block-button:not(.is-style-outline)
.wp-block-button__link:hover {
    border-color: var(--rs-blue-dark);
    background: var(--rs-blue-dark);

    transform: translateY(-1px);

    box-shadow:
        0 7px 18px rgba(33, 110, 170, 0.20);
}

.rs-home
.wp-block-button.is-style-outline
.wp-block-button__link {
    border: 1.5px solid var(--rs-blue);

    background: transparent;
    color: var(--rs-blue);
}

.rs-home
.wp-block-button.is-style-outline
.wp-block-button__link:hover {
    background: var(--rs-blue);
    color: var(--rs-white);
}


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

.rs-home .rs-hero {
    position: relative;
    overflow: hidden;

    padding-top: 96px;
    padding-bottom: 96px;
    padding-left: 28px;
    padding-right: 28px;

    background:
        linear-gradient(
            135deg,
            #edf6fb 0%,
            #e4f0f7 58%,
            #dbeaf3 100%
        );
}

.rs-home .rs-hero::after {
    content: "";

    position: absolute;
    top: -180px;
    right: -160px;

    width: 420px;
    height: 420px;

    border-radius: 50%;

    background:
        rgba(43, 156, 161, 0.08);

    pointer-events: none;
}

.rs-home .rs-hero-grid {
    position: relative;
    z-index: 1;

    gap: clamp(40px, 6vw, 80px);
}

.rs-home .rs-hero-copy {
    padding-right: 12px;
}

.rs-home .rs-hero h1 {
    max-width: 760px;

    margin-bottom: 22px;

    font-size: clamp(40px, 5vw, 64px);
    letter-spacing: -0.035em;
}

.rs-home .rs-hero-lead {
    max-width: 720px;

    color: #294257;

    font-size: clamp(19px, 2vw, 23px);
    line-height: 1.55;
}

.rs-home .rs-hero-description {
    max-width: 680px;

    color: var(--rs-muted);
}

.rs-home .rs-hero-buttons {
    margin-top: 30px;
}


/* =========================================================
   PANELS
   ========================================================= */

.rs-home .rs-panel {
    border: 1px solid rgba(22, 50, 79, 0.08);
    border-radius: 16px;

    background: var(--rs-white);

    box-shadow: var(--rs-shadow-md);
}

.rs-home .rs-hero-card {
    padding: 34px;
}

.rs-home .rs-hero-card h3 {
    margin-top: 0;
    margin-bottom: 14px;

    font-size: 23px;
}

.rs-home .rs-hero-card p,
.rs-home .rs-hero-card li {
    color: var(--rs-muted);
}

.rs-home .rs-hero-card ul {
    margin-top: 20px;
    margin-bottom: 20px;

    padding-left: 22px;
}

.rs-home .rs-hero-card li {
    margin-bottom: 8px;

    line-height: 1.5;
}

.rs-home .rs-location {
    margin-bottom: 0;

    color: var(--rs-navy) !important;
}


/* =========================================================
   BENEFITS
   ========================================================= */

.rs-home .rs-benefits {
    background: var(--rs-white);
}

.rs-home .rs-benefit-grid {
    gap: 28px;
}

.rs-home .rs-benefit {
    position: relative;

    padding-top: 26px;
    padding-right: 24px;
    padding-bottom: 26px;
    padding-left: 24px;

    border-top: 3px solid var(--rs-sea);
}

.rs-home .rs-benefit h3 {
    margin-top: 0;

    font-size: 20px;
}

.rs-home .rs-benefit p {
    margin-bottom: 0;

    color: var(--rs-muted);
}


/* =========================================================
   SERVICES
   ========================================================= */

.rs-home .rs-services {
    background: var(--rs-bg-soft);
}

.rs-home .rs-service-header {
    margin-bottom: 42px;
}

.rs-home .rs-service-grid {
    gap: 24px;
}

.rs-home .rs-service-grid > .wp-block-column {
    display: flex;
}

.rs-home .rs-card {
    width: 100%;
    height: 100%;

    padding: 28px;

    border: 1px solid var(--rs-border);
    border-radius: 14px;

    background: var(--rs-white);

    box-shadow: var(--rs-shadow-sm);

    transition:
        transform 0.22s ease,
        box-shadow 0.22s ease,
        border-color 0.22s ease;
}

.rs-home .rs-card:hover {
    border-color: rgba(33, 110, 170, 0.35);

    transform: translateY(-3px);

    box-shadow: var(--rs-shadow-md);
}

.rs-home .rs-card h3,
.rs-home .rs-card h4 {
    margin-top: 0;
}

.rs-home .rs-card p {
    color: var(--rs-muted);
}

.rs-home .rs-card a {
    color: var(--rs-blue);

    font-weight: 700;
    text-decoration: none;
}

.rs-home .rs-card a:hover {
    color: var(--rs-blue-dark);
}

.rs-home .rs-card-kicker {
    margin-top: 0;
    margin-bottom: 18px;

    color: var(--rs-sea) !important;

    font-size: 13px !important;
    font-weight: 800;

    letter-spacing: 0.08em;
}

.rs-home .rs-card-featured {
    padding: 34px;

    border-top: 4px solid var(--rs-blue);
}

.rs-home .rs-card-featured h3 {
    font-size: 25px;
}

.rs-home .rs-maintenance-title {
    margin-top: 52px;
    margin-bottom: 28px;

    text-align: center;
}


/* =========================================================
   PRICES
   ========================================================= */

.rs-home .rs-prices {
    text-align: center;

    background: var(--rs-white);
}

.rs-home .rs-prices p {
    max-width: 720px;

    margin-left: auto;
    margin-right: auto;

    color: var(--rs-muted);
}

.rs-home .rs-prices .wp-block-buttons {
    margin-top: 26px;
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 1024px) {

    .rs-home .rs-section {
        padding-top: 64px;
        padding-bottom: 64px;
    }

    .rs-home .rs-hero {
        padding-top: 72px;
        padding-bottom: 72px;
    }

    .rs-home .rs-card {
        padding: 24px;
    }

}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 781px) {

    .rs-home .rs-section,
    .rs-home .rs-hero {
        padding-top: 52px;
        padding-bottom: 52px;
        padding-left: 20px;
        padding-right: 20px;
    }

    .rs-home .rs-hero h1 {
        font-size: clamp(35px, 10vw, 48px);
    }

    .rs-home .rs-hero-lead {
        font-size: 19px;
    }

    .rs-home .rs-hero-copy {
        padding-right: 0;
    }

    .rs-home .rs-hero-card {
        padding: 26px;
    }

    .rs-home .rs-benefit {
        padding-left: 4px;
        padding-right: 4px;
    }

    .rs-home .rs-service-header {
        margin-bottom: 30px;
    }

    .rs-home .rs-card,
    .rs-home .rs-card-featured {
        padding: 24px;
    }

    .rs-home .rs-maintenance-title {
        margin-top: 38px;
    }

    .rs-home .rs-process-grid {
        margin-top: 26px;
    }

    .rs-home .rs-process-step {
        padding-top: 18px;
        padding-right: 0;
        padding-bottom: 24px;
        padding-left: 22px;
    }

    .rs-home .rs-remote-card {
        padding: 26px;
    }

    .rs-home .wp-block-buttons {
        align-items: stretch;
    }

}


/* =========================================================
   SMALL MOBILE
   ========================================================= */

@media (max-width: 520px) {

    .rs-home .wp-block-buttons {
        display: flex;
        flex-direction: column;
    }

    .rs-home .wp-block-button {
        width: 100%;
    }

    .rs-home .wp-block-button__link {
        display: block;

        width: 100%;

        text-align: center;
    }

}


/* =========================================================
   ACCESSIBILITY
   ========================================================= */

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

    .rs-home a,
    .rs-home .rs-card,
    .rs-home .wp-block-button__link {
        transition: none;
    }

    .rs-home .rs-card:hover,
    .rs-home .wp-block-button__link:hover {
        transform: none;
    }

}

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

.rs-home .rs-hero-media {
    position: relative;
}

.rs-home .rs-hero-image {
    overflow: hidden;

    margin: 0;

    border: 1px solid rgba(22, 50, 79, 0.10);
    border-radius: 18px;

    background: var(--rs-white);

    box-shadow:
        0 18px 45px rgba(22, 50, 79, 0.14);
}

.rs-home .rs-hero-image img {
    display: block;

    width: 100%;
    height: auto;

    margin: 0;
}

@media (max-width: 781px) {

    .rs-home .rs-hero-media {
        margin-top: 12px;
    }

    .rs-home .rs-hero-image {
        border-radius: 14px;
    }

}


/* =========================================================
   SERVICE CARD ICONS
   ========================================================= */

.rs-home .rs-service-card {
    position: relative;

    display: flex;
    flex-direction: column;
}

.rs-home .rs-service-card::before {
    content: "";

    display: block;

    width: 38px;
    height: 38px;

    margin-bottom: 20px;

    background:
        linear-gradient(
            135deg,
            var(--rs-blue) 0%,
            var(--rs-sea) 100%
        );

    -webkit-mask-image: var(--rs-icon);
    mask-image: var(--rs-icon);

    -webkit-mask-position: center;
    mask-position: center;

    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;

    -webkit-mask-size: contain;
    mask-size: contain;
}

.rs-home .rs-card-featured.rs-service-card::before {
    width: 44px;
    height: 44px;

    margin-bottom: 22px;
}

.rs-home .rs-service-card > p:last-child {
    margin-top: auto;
    padding-top: 10px;
}

.rs-home .rs-service-card h3,
.rs-home .rs-service-card h4 {
    margin-bottom: 12px;
}


/* Property management */

.rs-home .rs-icon-management {
    --rs-icon:
        url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%20fill='none'%20stroke='black'%20stroke-width='1.8'%20stroke-linecap='round'%20stroke-linejoin='round'%3E%3Cpath%20d='M3%2011l9-8%209%208'/%3E%3Cpath%20d='M5%2010v10h14V10'/%3E%3Cpath%20d='M9%2020v-6h6v6'/%3E%3C/svg%3E");
}


/* Property inspection */

.rs-home .rs-icon-inspection {
    --rs-icon:
        url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%20fill='none'%20stroke='black'%20stroke-width='1.8'%20stroke-linecap='round'%20stroke-linejoin='round'%3E%3Crect%20x='5'%20y='4'%20width='14'%20height='17'%20rx='2'/%3E%3Cpath%20d='M9%204V2h6v2'/%3E%3Cpath%20d='M8.5%2012l2%202%205-5'/%3E%3C/svg%3E");
}


/* Cleaning */

.rs-home .rs-icon-cleaning {
    --rs-icon:
        url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%20fill='none'%20stroke='black'%20stroke-width='1.8'%20stroke-linecap='round'%20stroke-linejoin='round'%3E%3Cpath%20d='M12%202l1.5%204.5L18%208l-4.5%201.5L12%2014l-1.5-4.5L6%208l4.5-1.5L12%202z'/%3E%3Cpath%20d='M19%2014l.8%202.2L22%2017l-2.2.8L19%2020l-.8-2.2L16%2017l2.2-.8L19%2014z'/%3E%3Cpath%20d='M5%2013l.7%202L8%2015.7l-2.3.8L5%2019l-.7-2.5L2%2015.7l2.3-.7L5%2013z'/%3E%3C/svg%3E");
}


/* Handyman */

.rs-home .rs-icon-handyman {
    --rs-icon:
        url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%20fill='none'%20stroke='black'%20stroke-width='1.8'%20stroke-linecap='round'%20stroke-linejoin='round'%3E%3Cpath%20d='M14%206l4-4%204%204-4%204'/%3E%3Cpath%20d='M13%207L3%2017a2.1%202.1%200%200%200%203%203L16%2010'/%3E%3Cpath%20d='M5%205l4%204'/%3E%3Cpath%20d='M3%203l4%202'/%3E%3C/svg%3E");
}


/* Plumbing */

.rs-home .rs-icon-plumbing {
    --rs-icon:
        url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%20fill='none'%20stroke='black'%20stroke-width='1.8'%20stroke-linecap='round'%20stroke-linejoin='round'%3E%3Cpath%20d='M12%202s6%206.2%206%2012a6%206%200%200%201-12%200c0-5.8%206-12%206-12z'/%3E%3Cpath%20d='M9%2015a3%203%200%200%200%203%203'/%3E%3C/svg%3E");
}


/* Electrical */

.rs-home .rs-icon-electrical {
    --rs-icon:
        url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%20fill='none'%20stroke='black'%20stroke-width='1.8'%20stroke-linecap='round'%20stroke-linejoin='round'%3E%3Cpath%20d='M13%202L4%2014h7l-1%208%209-13h-7l1-7z'/%3E%3C/svg%3E");
}


/* AC */

.rs-home .rs-icon-ac {
    --rs-icon:
        url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%20fill='none'%20stroke='black'%20stroke-width='1.6'%20stroke-linecap='round'%20stroke-linejoin='round'%3E%3Cpath%20d='M12%202v20'/%3E%3Cpath%20d='M4.2%206.5l15.6%2011'/%3E%3Cpath%20d='M19.8%206.5l-15.6%2011'/%3E%3Cpath%20d='M9.5%204.5L12%207l2.5-2.5'/%3E%3Cpath%20d='M9.5%2019.5L12%2017l2.5%202.5'/%3E%3Cpath%20d='M5%209l3.4-.4-.6-3.3'/%3E%3Cpath%20d='M19%2015l-3.4.4.6%203.3'/%3E%3Cpath%20d='M19%209l-3.4-.4.6-3.3'/%3E%3Cpath%20d='M5%2015l3.4.4-.6%203.3'/%3E%3C/svg%3E");
}


/* Other services */

.rs-home .rs-icon-more {
    --rs-icon:
        url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%20fill='none'%20stroke='black'%20stroke-width='1.8'%20stroke-linecap='round'%20stroke-linejoin='round'%3E%3Ccircle%20cx='12'%20cy='12'%20r='9'/%3E%3Cpath%20d='M12%208v8'/%3E%3Cpath%20d='M8%2012h8'/%3E%3C/svg%3E");
}


@media (max-width: 781px) {

    .rs-home .rs-service-card::before {
        width: 34px;
        height: 34px;

        margin-bottom: 16px;
    }

    .rs-home .rs-card-featured.rs-service-card::before {
        width: 40px;
        height: 40px;
    }

}


/* =========================================================
   BENEFIT ICONS
   ========================================================= */

.rs-home .rs-benefit::before {
    content: "";

    display: block;

    width: 38px;
    height: 38px;

    margin-bottom: 18px;

    background:
        linear-gradient(
            135deg,
            var(--rs-blue) 0%,
            var(--rs-sea) 100%
        );

    -webkit-mask-image: var(--rs-benefit-icon);
    mask-image: var(--rs-benefit-icon);

    -webkit-mask-position: center;
    mask-position: center;

    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;

    -webkit-mask-size: contain;
    mask-size: contain;
}


/* Local Support — location pin */

.rs-home .rs-benefit:nth-child(1) {
    --rs-benefit-icon:
        url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%20fill='none'%20stroke='black'%20stroke-width='1.8'%20stroke-linecap='round'%20stroke-linejoin='round'%3E%3Cpath%20d='M20%2010c0%205-8%2012-8%2012S4%2015%204%2010a8%208%200%201%201%2016%200z'/%3E%3Ccircle%20cx='12'%20cy='10'%20r='2.5'/%3E%3C/svg%3E");
}


/* One Point of Contact — people */

.rs-home .rs-benefit:nth-child(2) {
    --rs-benefit-icon:
        url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%20fill='none'%20stroke='black'%20stroke-width='1.8'%20stroke-linecap='round'%20stroke-linejoin='round'%3E%3Ccircle%20cx='9'%20cy='8'%20r='3'/%3E%3Cpath%20d='M3%2020v-2a6%206%200%200%201%2012%200v2'/%3E%3Ccircle%20cx='17'%20cy='9'%20r='2.3'/%3E%3Cpath%20d='M16%2014.5a5%205%200%200%201%205%205V20'/%3E%3C/svg%3E");
}


/* Support While Away — shield */

.rs-home .rs-benefit:nth-child(3) {
    --rs-benefit-icon:
        url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%20fill='none'%20stroke='black'%20stroke-width='1.8'%20stroke-linecap='round'%20stroke-linejoin='round'%3E%3Cpath%20d='M12%202l8%203v6c0%205.2-3.4%209-8%2011-4.6-2-8-5.8-8-11V5l8-3z'/%3E%3Cpath%20d='M8.5%2012l2.2%202.2L15.8%209'/%3E%3C/svg%3E");
}


@media (max-width: 781px) {

    .rs-home .rs-benefit::before {
        width: 34px;
        height: 34px;

        margin-bottom: 14px;
    }

}


/* =========================================================
   HOW IT WORKS — PROCESS TIMELINE
   ========================================================= */

.rs-home .rs-process {
    position: relative;

    background:
        linear-gradient(
            180deg,
            #ffffff 0%,
            #fbfdfe 100%
        );
}


.rs-home .rs-process-grid {
    position: relative;

    margin-top: 48px;

    gap: 36px;
}


/*
 * Horizontal connecting line.
 * It runs approximately from the centre
 * of step 01 to the centre of step 03.
 */
.rs-home .rs-process-grid::before {
    content: "";

    position: absolute;

    top: 62px;
    left: 16.5%;
    right: 16.5%;

    height: 2px;

    background:
        linear-gradient(
            90deg,
            rgba(33, 110, 170, 0.20) 0%,
            rgba(43, 156, 161, 0.60) 50%,
            rgba(33, 110, 170, 0.20) 100%
        );

    z-index: 0;
}


.rs-home .rs-process-step {
    position: relative;
    z-index: 1;

    padding:
        30px
        26px
        32px;

    border-left: 0;

    text-align: center;
}


.rs-home .rs-step-number {
    position: relative;
    z-index: 2;

    display: flex;
    align-items: center;
    justify-content: center;

    width: 64px;
    height: 64px;

    margin:
        0
        auto
        26px;

    border: 6px solid #ffffff;
    border-radius: 50%;

    background:
        linear-gradient(
            135deg,
            var(--rs-blue) 0%,
            var(--rs-sea) 100%
        );

    color: #ffffff !important;

    font-size: 15px !important;
    font-weight: 800;

    letter-spacing: 0.06em;

    box-shadow:
        0 0 0 1px rgba(33, 110, 170, 0.12),
        0 8px 22px rgba(22, 50, 79, 0.12);
}


.rs-home .rs-process-step h3 {
    max-width: 250px;

    margin:
        0
        auto
        14px;

    color: var(--rs-navy);

    font-size: 22px;
    line-height: 1.25;
}


.rs-home .rs-process-step > p:last-child {
    max-width: 300px;

    margin:
        0
        auto;

    color: var(--rs-muted);

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


/*
 * Small decorative dot beneath the description.
 */
.rs-home .rs-process-step::after {
    content: "";

    display: block;

    width: 28px;
    height: 3px;

    margin:
        26px
        auto
        0;

    border-radius: 999px;

    background:
        linear-gradient(
            90deg,
            var(--rs-blue),
            var(--rs-sea)
        );

    opacity: 0.7;
}


/* =========================================================
   HOW IT WORKS — TABLET
   ========================================================= */

@media (max-width: 1024px) {

    .rs-home .rs-process-grid {
        gap: 20px;
    }

    .rs-home .rs-process-step {
        padding-left: 16px;
        padding-right: 16px;
    }

    .rs-home .rs-process-step h3 {
        font-size: 20px;
    }

}


/* =========================================================
   HOW IT WORKS — MOBILE
   ========================================================= */

@media (max-width: 781px) {

    .rs-home .rs-process-grid {
        position: relative;

        margin-top: 32px;

        gap: 0;
    }


    /*
     * Replace horizontal timeline
     * with a vertical one.
     */
    .rs-home .rs-process-grid::before {
        top: 34px;
        bottom: 34px;

        left: 31px;
        right: auto;

        width: 2px;
        height: auto;

        background:
            linear-gradient(
                180deg,
                rgba(33, 110, 170, 0.20) 0%,
                rgba(43, 156, 161, 0.65) 50%,
                rgba(33, 110, 170, 0.20) 100%
            );
    }


    .rs-home .rs-process-step {
        display: grid;

        grid-template-columns:
            64px
            minmax(0, 1fr);

        grid-template-rows:
            auto
            auto;

        column-gap: 20px;

        padding:
            12px
            0
            34px;

        text-align: left;
    }


    .rs-home .rs-step-number {
        grid-column: 1;
        grid-row: 1 / span 2;

        align-self: start;

        width: 62px;
        height: 62px;

        margin: 0;

        border-width: 5px;
    }


    .rs-home .rs-process-step h3 {
        grid-column: 2;
        grid-row: 1;

        max-width: none;

        margin:
            5px
            0
            8px;

        font-size: 20px;
        text-align: left;
    }


    .rs-home .rs-process-step > p:last-child {
        grid-column: 2;
        grid-row: 2;

        max-width: none;

        margin: 0;

        text-align: left;
    }


    .rs-home .rs-process-step::after {
        display: none;
    }

}


/* =========================================================
   HOW IT WORKS — SMALL MOBILE
   ========================================================= */

@media (max-width: 480px) {

    .rs-home .rs-process-grid::before {
        left: 27px;
    }

    .rs-home .rs-process-step {
        grid-template-columns:
            56px
            minmax(0, 1fr);

        column-gap: 16px;
    }

    .rs-home .rs-step-number {
        width: 54px;
        height: 54px;

        font-size: 13px !important;
    }

}


/* =========================================================
   REMOTE OWNERS — FEATURE SECTION
   ========================================================= */

.rs-home .rs-remote {
    position: relative;
    overflow: hidden;

    background:
        linear-gradient(
            135deg,
            var(--rs-section) 0%,
            #e1eef5 58%,
            #d9eaf2 100%
        );
}


/*
 * Soft decorative circle in the background.
 */
.rs-home .rs-remote::before {
    content: "";

    position: absolute;
    top: -190px;
    left: -170px;

    width: 420px;
    height: 420px;

    border-radius: 50%;

    background:
        rgba(43, 156, 161, 0.08);

    pointer-events: none;
}


.rs-home .rs-remote-grid {
    position: relative;
    z-index: 1;

    gap: clamp(46px, 7vw, 90px);
}


/* =========================================================
   REMOTE OWNERS — COPY
   ========================================================= */

.rs-home .rs-remote-copy {
    position: relative;

    padding:
        22px
        10px
        22px
        0;
}


.rs-home .rs-remote-copy .rs-eyebrow {
    margin-bottom: 14px;
}


.rs-home .rs-remote-copy h2 {
    max-width: 720px;

    margin-top: 0;
    margin-bottom: 24px;

    font-size: clamp(34px, 3.6vw, 48px);
    line-height: 1.16;

    letter-spacing: -0.025em;
}


.rs-home .rs-remote-copy p {
    max-width: 720px;

    color: #40596c;

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


.rs-home .rs-remote-copy p:first-of-type {
    color: var(--rs-navy);

    font-size: 20px;
    font-weight: 600;
    line-height: 1.55;
}


/*
 * Small accent line beneath the text.
 */
.rs-home .rs-remote-copy::after {
    content: "";

    display: block;

    width: 62px;
    height: 4px;

    margin-top: 30px;

    border-radius: 999px;

    background:
        linear-gradient(
            90deg,
            var(--rs-blue),
            var(--rs-sea)
        );
}


/* =========================================================
   REMOTE OWNERS — CTA CARD
   ========================================================= */

.rs-home .rs-remote-card {
    position: relative;
    overflow: hidden;

    padding:
        38px
        34px
        36px;

    border: 1px solid rgba(22, 50, 79, 0.08);
    border-radius: 18px;

    background:
        rgba(255, 255, 255, 0.96);

    box-shadow:
        0 18px 45px rgba(22, 50, 79, 0.11);
}


/*
 * Top accent.
 */
.rs-home .rs-remote-card::before {
    content: "";

    position: absolute;
    top: 0;
    left: 0;
    right: 0;

    height: 5px;

    background:
        linear-gradient(
            90deg,
            var(--rs-blue),
            var(--rs-sea)
        );
}


/*
 * Decorative shield/check icon.
 */
.rs-home .rs-remote-card::after {
    content: "";

    display: block;

    width: 46px;
    height: 46px;

    margin-top: 28px;

    background:
        linear-gradient(
            135deg,
            var(--rs-blue) 0%,
            var(--rs-sea) 100%
        );

    -webkit-mask-image:
        url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%20fill='none'%20stroke='black'%20stroke-width='1.8'%20stroke-linecap='round'%20stroke-linejoin='round'%3E%3Cpath%20d='M12%202l8%203v6c0%205.2-3.4%209-8%2011-4.6-2-8-5.8-8-11V5l8-3z'/%3E%3Cpath%20d='M8.5%2012l2.2%202.2L15.8%209'/%3E%3C/svg%3E");

    mask-image:
        url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%20fill='none'%20stroke='black'%20stroke-width='1.8'%20stroke-linecap='round'%20stroke-linejoin='round'%3E%3Cpath%20d='M12%202l8%203v6c0%205.2-3.4%209-8%2011-4.6-2-8-5.8-8-11V5l8-3z'/%3E%3Cpath%20d='M8.5%2012l2.2%202.2L15.8%209'/%3E%3C/svg%3E");

    -webkit-mask-position: center;
    mask-position: center;

    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;

    -webkit-mask-size: contain;
    mask-size: contain;
}


.rs-home .rs-remote-card h3 {
    margin-top: 0;
    margin-bottom: 14px;

    font-size: 25px;
    line-height: 1.25;
}


.rs-home .rs-remote-card p {
    margin-bottom: 24px;

    color: var(--rs-muted);

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


.rs-home .rs-remote-card .wp-block-buttons {
    margin-top: 24px;
}


.rs-home .rs-remote-card .wp-block-button {
    width: 100%;
}


.rs-home .rs-remote-card .wp-block-button__link {
    display: block;

    width: 100%;

    padding-top: 14px;
    padding-bottom: 14px;

    text-align: center;
}


/* =========================================================
   REMOTE OWNERS — TABLET
   ========================================================= */

@media (max-width: 1024px) {

    .rs-home .rs-remote-grid {
        gap: 38px;
    }

    .rs-home .rs-remote-copy h2 {
        font-size: clamp(31px, 4vw, 40px);
    }

    .rs-home .rs-remote-card {
        padding:
            32px
            28px;
    }

}


/* =========================================================
   REMOTE OWNERS — MOBILE
   ========================================================= */

@media (max-width: 781px) {

    .rs-home .rs-remote::before {
        top: -150px;
        left: -220px;

        width: 380px;
        height: 380px;
    }


    .rs-home .rs-remote-copy {
        padding:
            0
            0
            12px;
    }


    .rs-home .rs-remote-copy h2 {
        font-size: 34px;
    }


    .rs-home .rs-remote-copy p {
        font-size: 16px;
    }


    .rs-home .rs-remote-copy p:first-of-type {
        font-size: 18px;
    }


    .rs-home .rs-remote-card {
        margin-top: 8px;

        padding:
            30px
            26px;

        border-radius: 15px;
    }


    .rs-home .rs-remote-card h3 {
        font-size: 22px;
    }

}


/* =========================================================
   PRICES — FEATURE SECTION
   ========================================================= */

.rs-home .rs-prices {
    position: relative;
    overflow: hidden;

    padding-top: 78px;
    padding-bottom: 78px;

    text-align: center;

    background:
        linear-gradient(
            180deg,
            #ffffff 0%,
            #f8fbfd 100%
        );
}


/*
 * Decorative soft circle.
 */
.rs-home .rs-prices::before {
    content: "";

    position: absolute;
    top: -150px;
    right: -120px;

    width: 320px;
    height: 320px;

    border-radius: 50%;

    background:
        rgba(33, 110, 170, 0.045);

    pointer-events: none;
}


/*
 * Price/tag icon.
 */
.rs-home .rs-prices::after {
    content: "";

    display: block;

    width: 48px;
    height: 48px;

    margin:
        30px
        auto
        0;

    background:
        linear-gradient(
            135deg,
            var(--rs-blue) 0%,
            var(--rs-sea) 100%
        );

    -webkit-mask-image:
        url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%20fill='none'%20stroke='black'%20stroke-width='1.8'%20stroke-linecap='round'%20stroke-linejoin='round'%3E%3Cpath%20d='M20%2013L11%2022l-9-9V4a2%202%200%200%201%202-2h9l7%207v4z'/%3E%3Ccircle%20cx='7.5'%20cy='7.5'%20r='1.5'/%3E%3C/svg%3E");

    mask-image:
        url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%20fill='none'%20stroke='black'%20stroke-width='1.8'%20stroke-linecap='round'%20stroke-linejoin='round'%3E%3Cpath%20d='M20%2013L11%2022l-9-9V4a2%202%200%200%201%202-2h9l7%207v4z'/%3E%3Ccircle%20cx='7.5'%20cy='7.5'%20r='1.5'/%3E%3C/svg%3E");

    -webkit-mask-position: center;
    mask-position: center;

    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;

    -webkit-mask-size: contain;
    mask-size: contain;
}


.rs-home .rs-prices > * {
    position: relative;
    z-index: 1;
}


.rs-home .rs-prices .rs-eyebrow {
    margin-bottom: 12px;
}


.rs-home .rs-prices .rs-section-title {
    margin-bottom: 18px;
}


.rs-home .rs-prices > p:not(.rs-eyebrow) {
    max-width: 700px;

    margin-left: auto;
    margin-right: auto;

    color: var(--rs-muted);

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


.rs-home .rs-prices .wp-block-buttons {
    margin-top: 30px;
}


/*
 * Give the Prices button more presence.
 */
.rs-home
.rs-prices
.wp-block-button.is-style-outline
.wp-block-button__link {
    padding:
        14px
        28px;

    border-width: 1.5px;
    border-radius: 8px;

    background: var(--rs-white);

    box-shadow:
        0 5px 16px rgba(22, 50, 79, 0.06);
}


.rs-home
.rs-prices
.wp-block-button.is-style-outline
.wp-block-button__link:hover {
    border-color: var(--rs-blue);

    background: var(--rs-blue);
    color: var(--rs-white);

    box-shadow:
        0 9px 24px rgba(33, 110, 170, 0.18);
}


/* =========================================================
   FINAL CTA — PRODUCTION STYLE
   ========================================================= */

.rs-home .rs-final-cta {
    position: relative;
    overflow: hidden;

    padding-top: 92px;
    padding-bottom: 92px;
    padding-left: 28px;
    padding-right: 28px;

    text-align: center;

    background:
        linear-gradient(
            135deg,
            #102b46 0%,
            #17456a 55%,
            #176b7c 100%
        );

    color: #ffffff;
}


/*
 * Large decorative circle — left bottom.
 */
.rs-home .rs-final-cta::before {
    content: "";

    position: absolute;

    bottom: -230px;
    left: -170px;

    width: 470px;
    height: 470px;

    border-radius: 50%;

    background:
        rgba(43, 156, 161, 0.14);

    pointer-events: none;
}


/*
 * Smaller decorative circle — right top.
 */
.rs-home .rs-final-cta::after {
    content: "";

    position: absolute;

    top: -170px;
    right: -100px;

    width: 330px;
    height: 330px;

    border-radius: 50%;

    border:
        1px solid
        rgba(255, 255, 255, 0.08);

    background:
        rgba(255, 255, 255, 0.025);

    pointer-events: none;
}


.rs-home .rs-final-cta > * {
    position: relative;
    z-index: 2;
}


.rs-home .rs-final-cta h2 {
    max-width: 820px;

    margin:
        0
        auto
        20px;

    color: #ffffff;

    font-size: clamp(36px, 4vw, 54px);
    line-height: 1.15;

    letter-spacing: -0.025em;
}


.rs-home .rs-final-cta > p {
    max-width: 680px;

    margin-left: auto;
    margin-right: auto;

    color:
        rgba(255, 255, 255, 0.82);

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


.rs-home .rs-final-cta .wp-block-buttons {
    margin-top: 34px;

    gap: 14px;
}


/*
 * Main CTA button.
 */
.rs-home
.rs-final-cta
.wp-block-button:not(.is-style-outline)
.wp-block-button__link {
    padding:
        15px
        28px;

    border:
        1px solid
        #ffffff;

    border-radius: 8px;

    background: #ffffff;
    color: var(--rs-navy);

    box-shadow:
        0 10px 28px rgba(0, 0, 0, 0.13);
}


.rs-home
.rs-final-cta
.wp-block-button:not(.is-style-outline)
.wp-block-button__link:hover {
    border-color: var(--rs-section);

    background: var(--rs-section);
    color: var(--rs-blue-dark);

    transform: translateY(-2px);

    box-shadow:
        0 14px 34px rgba(0, 0, 0, 0.18);
}


/*
 * Secondary CTA button.
 */
.rs-home
.rs-final-cta
.wp-block-button.is-style-outline
.wp-block-button__link {
    padding:
        15px
        28px;

    border:
        1.5px solid
        rgba(255, 255, 255, 0.72);

    border-radius: 8px;

    background:
        rgba(255, 255, 255, 0.04);

    color: #ffffff;
}


.rs-home
.rs-final-cta
.wp-block-button.is-style-outline
.wp-block-button__link:hover {
    border-color: #ffffff;

    background: #ffffff;
    color: var(--rs-navy);

    transform: translateY(-2px);
}


/* =========================================================
   PRICES + FINAL CTA — TABLET
   ========================================================= */

@media (max-width: 1024px) {

    .rs-home .rs-prices {
        padding-top: 68px;
        padding-bottom: 68px;
    }


    .rs-home .rs-final-cta {
        padding-top: 78px;
        padding-bottom: 78px;
    }

}


/* =========================================================
   PRICES + FINAL CTA — MOBILE
   ========================================================= */

@media (max-width: 781px) {

    .rs-home .rs-prices {
        padding-top: 58px;
        padding-bottom: 58px;
    }


    .rs-home .rs-prices::before {
        top: -120px;
        right: -180px;
    }


    .rs-home .rs-prices::after {
        width: 42px;
        height: 42px;
    }


    .rs-home .rs-final-cta {
        padding-top: 66px;
        padding-bottom: 66px;
        padding-left: 20px;
        padding-right: 20px;
    }


    .rs-home .rs-final-cta h2 {
        font-size: 36px;
    }


    .rs-home .rs-final-cta > p {
        font-size: 17px;
    }


    .rs-home .rs-final-cta::before {
        bottom: -260px;
        left: -250px;
    }


    .rs-home .rs-final-cta::after {
        top: -220px;
        right: -190px;
    }

}


/* =========================================================
   FINAL CTA — SMALL MOBILE
   ========================================================= */

@media (max-width: 520px) {

    .rs-home .rs-final-cta .wp-block-buttons {
        width: 100%;
    }


    .rs-home .rs-final-cta .wp-block-button {
        width: 100%;
    }


    .rs-home .rs-final-cta .wp-block-button__link {
        display: block;

        width: 100%;

        text-align: center;
    }

}


/* =========================================================
   MOBILE POLISH
   ========================================================= */

@media (max-width: 781px) {

    /*
     * Gutenberg columns stack vertically on mobile.
     * Reduce the desktop column gap once stacked.
     */
    .rs-home .rs-hero-grid {
        gap: 28px;
    }


    .rs-home .rs-hero-media {
        margin-top: 0;
    }


    /*
     * Some themes add extra bottom margin
     * to stacked Gutenberg columns.
     */
    .rs-home .rs-hero-grid > .wp-block-column,
    .rs-home .rs-benefit-grid > .wp-block-column,
    .rs-home .rs-service-grid > .wp-block-column {
        margin-bottom: 0;
    }


    /*
     * Keep Hero image visually compact.
     */
    .rs-home .rs-hero-image {
        aspect-ratio: 16 / 10;
    }


    .rs-home .rs-hero-image img {
        width: 100%;
        height: 100%;

        object-fit: cover;
    }


    /*
     * Slightly reduce vertical spacing
     * inside service cards on phones.
     */
    .rs-home .rs-service-grid {
        gap: 16px;
    }


    .rs-home .rs-card,
    .rs-home .rs-card-featured {
        padding: 22px;
    }


    .rs-home .rs-service-card::before {
        margin-bottom: 14px;
    }


    /*
     * Benefits remain one-per-row,
     * but do not consume excessive height.
     */
    .rs-home .rs-benefit-grid {
        gap: 8px;
    }


    .rs-home .rs-benefit {
        padding-top: 22px;
        padding-bottom: 22px;
    }

}


@media (max-width: 520px) {

    .rs-home .rs-hero-grid {
        gap: 24px;
    }


    .rs-home .rs-card,
    .rs-home .rs-card-featured {
        padding: 20px;
    }

}


/* =========================================================
   REMOTE OWNERS — MOBILE POLISH
   ========================================================= */

@media (max-width: 781px) {

    /*
     * Make the remote-owner section more compact
     * before the Prices section.
     */
    .rs-home .rs-remote {
        padding-bottom: 42px;
    }


    .rs-home .rs-remote-grid {
        gap: 24px;
    }


    /*
     * Reserve space for the shield in the top-right
     * corner instead of displaying it below the CTA.
     */
    .rs-home .rs-remote-card {
        position: relative;

        padding:
            30px
            72px
            30px
            26px;
    }


    .rs-home .rs-remote-card::after {
        position: absolute;

        top: 28px;
        right: 24px;

        width: 38px;
        height: 38px;

        margin: 0;
    }


    /*
     * Keep Prices compact on narrow screens.
     */
    .rs-home .rs-prices {
        padding-top: 50px;
        padding-bottom: 50px;
    }


    .rs-home .rs-prices .rs-section-title {
        font-size: 32px;
        line-height: 1.2;
    }

}


@media (max-width: 480px) {

    .rs-home .rs-remote-card {
        padding:
            28px
            64px
            28px
            22px;
    }


    .rs-home .rs-remote-card::after {
        top: 25px;
        right: 20px;

        width: 34px;
        height: 34px;
    }

}


/* =========================================================
   KADENCE / GUTENBERG PAGE LAYOUT
   ========================================================= */

/*
 * Kadence uses viewport-based rules for alignfull blocks.
 * Keep RS Estatement sections inside our own page canvas.
 */
.rs-home .alignfull {
    width: 100% !important;
    max-width: 100% !important;

    margin-left: 0 !important;
    margin-right: 0 !important;
}


/*
 * RS Estatement page canvas.
 *
 * Wide on desktop, with a small outer gutter so the page
 * does not touch the browser edges.
 */
.rs-home {
    position: relative;

    left: 50%;

    width: min(
        1600px,
        calc(100vw - 96px)
    );

    max-width: none !important;

    transform: translateX(-50%);
}


/*
 * Gutenberg places one inner wrapper directly inside
 * the main RS Home group.
 */
.rs-home
> .wp-block-group__inner-container {
    width: 100%;
    max-width: none;

    margin-left: 0;
    margin-right: 0;

    padding-left: 0;
    padding-right: 0;
}


/*
 * Main top-level sections use the full RS page canvas.
 *
 * Removing Gutenberg/Kadence margins here also prevents
 * the underlying page background from appearing as strips
 * between adjacent sections.
 */
.rs-home
> .wp-block-group__inner-container
> .rs-section {
    width: 100% !important;
    max-width: 100% !important;

    margin-top: 0 !important;
    margin-right: 0 !important;
    margin-bottom: 0 !important;
    margin-left: 0 !important;

    margin-block-start: 0 !important;

    padding-left: 0 !important;
    padding-right: 0 !important;
}


/*
 * Actual content container inside each section.
 *
 * The section background remains wide while text,
 * columns and cards stay at a comfortable reading width.
 */
.rs-home
> .wp-block-group__inner-container
> .rs-section
> .wp-block-group__inner-container {
    width: 100%;
    max-width: 1360px;

    margin-left: auto;
    margin-right: auto;

    padding-left: 48px;
    padding-right: 48px;

    box-sizing: border-box;
}


/*
 * Hero and Remote Owners benefit from a slightly wider
 * content area than card-heavy sections.
 */
@media (min-width: 1281px) {

    .rs-home
    > .wp-block-group__inner-container
    > .rs-hero
    > .wp-block-group__inner-container,

    .rs-home
    > .wp-block-group__inner-container
    > .rs-remote
    > .wp-block-group__inner-container {
        max-width: 1480px;

        padding-left: 40px;
        padding-right: 40px;
    }

}


/* =========================================================
   PAGE LAYOUT — MEDIUM DESKTOP
   ========================================================= */

@media (max-width: 1440px) {

    .rs-home {
        width: calc(100vw - 56px);
    }


    .rs-home
    > .wp-block-group__inner-container
    > .rs-section
    > .wp-block-group__inner-container {
        max-width: 1240px;

        padding-left: 36px;
        padding-right: 36px;
    }

}


/* =========================================================
   PAGE LAYOUT — TABLET
   ========================================================= */

@media (max-width: 1024px) {

    .rs-home {
        width: calc(100vw - 32px);
    }


    .rs-home
    > .wp-block-group__inner-container
    > .rs-section
    > .wp-block-group__inner-container {
        max-width: 100%;

        padding-left: 28px;
        padding-right: 28px;
    }

}


/* =========================================================
   PAGE LAYOUT — MOBILE
   ========================================================= */

@media (max-width: 781px) {

    .rs-home {
        width: calc(100vw - 16px);
    }


    .rs-home
    > .wp-block-group__inner-container
    > .rs-section
    > .wp-block-group__inner-container {
        padding-left: 20px;
        padding-right: 20px;
    }

}


/* =========================================================
   PAGE LAYOUT — SMALL MOBILE
   ========================================================= */

@media (max-width: 480px) {

    .rs-home {
        width: calc(100vw - 12px);
    }


    .rs-home
    > .wp-block-group__inner-container
    > .rs-section
    > .wp-block-group__inner-container {
        padding-left: 16px;
        padding-right: 16px;
    }

}


/* =========================================================
   KADENCE HOME WRAPPER CLEANUP

   Remove the boxed Kadence background/padding around
   RS Estatement Home. The RS sections provide their
   own backgrounds and spacing.
   ========================================================= */

.entry-content-wrap:has(.rs-home) {
    padding-top: 0 !important;
    padding-bottom: 0 !important;

    background: transparent !important;

    box-shadow: none !important;
}


.entry-content:has(.rs-home) {
    margin-top: 0 !important;
    margin-bottom: 0 !important;

    padding-top: 0 !important;
    padding-bottom: 0 !important;
}


article.content-bg:has(.rs-home) {
    background: transparent !important;
}



/* =========================================================
   SERVICE PAGES — DESIGN TOKENS
   ========================================================= */

.rs-service-page {
    position: relative;

    left: 50%;

    width: min(
        1600px,
        calc(100vw - 96px)
    );

    max-width: none !important;

    transform: translateX(-50%);

    color: var(--rs-text);
}


.rs-service-page,
.rs-service-page * {
    box-sizing: border-box;
}


.rs-service-page p {
    font-size: 16px;
    line-height: 1.72;
}


.rs-service-page h1,
.rs-service-page h2,
.rs-service-page h3,
.rs-service-page h4 {
    color: var(--rs-navy);
    line-height: 1.18;
}


.rs-service-page a {
    transition:
        color 0.2s ease,
        background-color 0.2s ease,
        border-color 0.2s ease,
        box-shadow 0.2s ease,
        transform 0.2s ease;
}


/* =========================================================
   SERVICE PAGES — KADENCE / GUTENBERG LAYOUT
   ========================================================= */

.rs-service-page .alignfull {
    width: 100% !important;
    max-width: 100% !important;

    margin-left: 0 !important;
    margin-right: 0 !important;
}


.rs-service-page
> .wp-block-group__inner-container {
    width: 100%;
    max-width: none;

    margin: 0;

    padding: 0;
}


.rs-service-page
> .wp-block-group__inner-container
> .rs-service-section {
    width: 100% !important;
    max-width: 100% !important;

    margin: 0 !important;
    margin-block-start: 0 !important;

    padding-left: 0 !important;
    padding-right: 0 !important;
}


.rs-service-page
> .wp-block-group__inner-container
> .rs-service-section
> .wp-block-group__inner-container {
    width: 100%;
    max-width: 1360px;

    margin-left: auto;
    margin-right: auto;

    padding-left: 48px;
    padding-right: 48px;
}


/*
 * Kadence wrapper cleanup.
 */
.entry-content-wrap:has(.rs-service-page) {
    padding-top: 0 !important;
    padding-bottom: 0 !important;

    background: transparent !important;

    box-shadow: none !important;
}


.entry-content:has(.rs-service-page) {
    margin-top: 0 !important;
    margin-bottom: 0 !important;

    padding-top: 0 !important;
    padding-bottom: 0 !important;
}


article.content-bg:has(.rs-service-page) {
    background: transparent !important;
}


/* =========================================================
   SERVICE PAGES — COMMON
   ========================================================= */

.rs-service-page .rs-service-section {
    padding-top: 76px;
    padding-bottom: 76px;
}


.rs-service-page .rs-eyebrow {
    margin-bottom: 12px;

    color: var(--rs-blue);

    font-size: 12px;
    font-weight: 700;
    line-height: 1.3;

    letter-spacing: 0.14em;
    text-transform: uppercase;
}


.rs-service-page .rs-service-title {
    margin-top: 0;
    margin-bottom: 16px;

    font-size: clamp(32px, 3.3vw, 46px);
}


.rs-service-page .rs-service-intro {
    max-width: 720px;

    margin-left: auto;
    margin-right: auto;

    color: var(--rs-muted);

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


.rs-service-page .wp-block-buttons {
    gap: 12px;
}


.rs-service-page .wp-block-button__link {
    padding: 13px 22px;

    border-radius: 7px;

    font-size: 15px;
    font-weight: 700;

    text-decoration: none;
}


.rs-service-page
.wp-block-button:not(.is-style-outline)
.wp-block-button__link {
    border: 1px solid var(--rs-blue);

    background: var(--rs-blue);
    color: var(--rs-white);
}


.rs-service-page
.wp-block-button:not(.is-style-outline)
.wp-block-button__link:hover {
    border-color: var(--rs-blue-dark);

    background: var(--rs-blue-dark);

    transform: translateY(-1px);
}


.rs-service-page
.wp-block-button.is-style-outline
.wp-block-button__link {
    border: 1.5px solid var(--rs-blue);

    background: transparent;
    color: var(--rs-blue);
}


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

.rs-service-page .rs-service-hero {
    position: relative;
    overflow: hidden;

    padding-top: 94px;
    padding-bottom: 94px;

    background:
        linear-gradient(
            135deg,
            #edf6fb 0%,
            #e4f0f7 58%,
            #dbeaf3 100%
        );
}


.rs-service-page .rs-service-hero::after {
    content: "";

    position: absolute;

    top: -180px;
    right: -150px;

    width: 410px;
    height: 410px;

    border-radius: 50%;

    background:
        rgba(43, 156, 161, 0.08);

    pointer-events: none;
}


.rs-service-page .rs-service-hero-grid {
    position: relative;
    z-index: 1;

    gap: clamp(44px, 6vw, 82px);
}


.rs-service-page .rs-service-hero h1 {
    max-width: 700px;

    margin-top: 0;
    margin-bottom: 22px;

    font-size: clamp(42px, 5vw, 64px);

    letter-spacing: -0.035em;
}


.rs-service-page .rs-service-hero-lead {
    max-width: 700px;

    color: #294257;

    font-size: clamp(19px, 2vw, 23px);
    line-height: 1.55;
}


.rs-service-page .rs-service-hero-description {
    max-width: 670px;

    color: var(--rs-muted);
}


.rs-service-page .rs-service-hero-buttons {
    margin-top: 30px;
}


.rs-service-page .rs-service-hero-image {
    overflow: hidden;

    margin: 0;

    border: 1px solid rgba(22, 50, 79, 0.10);
    border-radius: 18px;

    box-shadow:
        0 18px 45px rgba(22, 50, 79, 0.14);
}


.rs-service-page .rs-service-hero-image img {
    display: block;

    width: 100%;
    height: auto;
}


/* =========================================================
   SERVICE AUDIENCE
   ========================================================= */

.rs-service-page .rs-service-audience {
    background: var(--rs-white);
}


.rs-service-page .rs-audience-grid {
    gap: 24px;

    margin-top: 42px;
}


.rs-service-page .rs-audience-card {
    height: 100%;

    padding: 30px;

    border-top: 3px solid var(--rs-sea);

    background: var(--rs-white);
}


.rs-service-page .rs-audience-number {
    margin-top: 0;

    color: var(--rs-sea) !important;

    font-size: 13px !important;
    font-weight: 800;

    letter-spacing: 0.08em;
}


.rs-service-page .rs-audience-card h3 {
    margin-top: 18px;
    margin-bottom: 12px;

    font-size: 21px;
}


.rs-service-page .rs-audience-card p:last-child {
    margin-bottom: 0;

    color: var(--rs-muted);
}


/* =========================================================
   SERVICE SCOPE
   ========================================================= */

.rs-service-page .rs-service-scope {
    background: var(--rs-bg-soft);
}


.rs-service-page .rs-scope-grid {
    gap: 24px;

    margin-top: 42px;
}


.rs-service-page .rs-scope-grid + .rs-scope-grid {
    margin-top: 24px;
}


.rs-service-page .rs-scope-card {
    width: 100%;
    height: 100%;

    padding: 28px;

    border: 1px solid var(--rs-border);
    border-radius: 14px;

    background: var(--rs-white);

    box-shadow: var(--rs-shadow-sm);
}


.rs-service-page .rs-scope-card h3 {
    margin-top: 0;
    margin-bottom: 12px;

    font-size: 21px;
}


.rs-service-page .rs-scope-card p {
    margin-bottom: 0;

    color: var(--rs-muted);
}


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

.rs-service-page .rs-service-process {
    background: var(--rs-white);
}


.rs-service-page .rs-service-process-grid {
    position: relative;

    margin-top: 48px;

    gap: 24px;
}


.rs-service-page .rs-service-process-step {
    position: relative;

    padding: 28px;

    text-align: center;
}


.rs-service-page .rs-service-step-number {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 60px;
    height: 60px;

    margin:
        0
        auto
        22px;

    border-radius: 50%;

    background:
        linear-gradient(
            135deg,
            var(--rs-blue),
            var(--rs-sea)
        );

    color: var(--rs-white) !important;

    font-size: 14px !important;
    font-weight: 800;

    box-shadow:
        0 8px 22px rgba(22, 50, 79, 0.12);
}


.rs-service-page .rs-service-process-step h3 {
    margin-top: 0;
    margin-bottom: 12px;

    font-size: 20px;
}


.rs-service-page .rs-service-process-step p:last-child {
    color: var(--rs-muted);
}


/* =========================================================
   FLEXIBLE SUPPORT
   ========================================================= */

.rs-service-page .rs-flexible-support {
    background:
        linear-gradient(
            135deg,
            var(--rs-section) 0%,
            #e1eef5 58%,
            #d9eaf2 100%
        );
}


.rs-service-page .rs-flexible-grid {
    gap: clamp(40px, 6vw, 74px);
}


.rs-service-page .rs-flexible-copy h2 {
    margin-top: 0;

    font-size: clamp(32px, 3.3vw, 46px);
}


.rs-service-page .rs-flexible-copy p {
    color: #40596c;
}


.rs-service-page .rs-flexible-card {
    padding: 34px;

    border: 1px solid rgba(22, 50, 79, 0.08);
    border-radius: 18px;

    background: var(--rs-white);

    box-shadow: var(--rs-shadow-md);
}


.rs-service-page .rs-flexible-card h3 {
    margin-top: 0;
}


/* =========================================================
   RELATED SERVICES
   ========================================================= */

.rs-service-page .rs-related-services {
    background: var(--rs-bg-soft);
}


.rs-service-page .rs-related-grid {
    gap: 20px;

    margin-top: 38px;
}


.rs-service-page .rs-related-card {
    height: 100%;

    padding: 24px;

    border: 1px solid var(--rs-border);
    border-radius: 12px;

    background: var(--rs-white);
}


.rs-service-page .rs-related-card h3 {
    margin-top: 0;
    margin-bottom: 10px;

    font-size: 19px;
}


.rs-service-page .rs-related-card p {
    color: var(--rs-muted);
}


.rs-service-page .rs-related-card a {
    color: var(--rs-blue);

    font-weight: 700;
    text-decoration: none;
}


/* =========================================================
   SERVICE FAQ
   ========================================================= */

.rs-service-page .rs-service-faq {
    background: var(--rs-white);
}


.rs-service-page .rs-faq-list {
    max-width: 900px;

    margin:
        40px
        auto
        0;
}


.rs-service-page .rs-faq-item {
    padding:
        24px
        0;

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


.rs-service-page .rs-faq-item:first-child {
    border-top: 1px solid var(--rs-border);
}


.rs-service-page .rs-faq-item h3 {
    margin-top: 0;
    margin-bottom: 10px;

    font-size: 20px;
}


.rs-service-page .rs-faq-item p {
    margin-bottom: 0;

    color: var(--rs-muted);
}


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

.rs-service-page .rs-service-final-cta {
    position: relative;
    overflow: hidden;

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

    text-align: center;

    background:
        linear-gradient(
            135deg,
            #102b46 0%,
            #17456a 55%,
            #176b7c 100%
        );

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


.rs-service-page .rs-service-final-cta h2 {
    max-width: 820px;

    margin:
        0
        auto
        20px;

    color: var(--rs-white);

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


.rs-service-page .rs-service-final-cta p {
    max-width: 680px;

    margin-left: auto;
    margin-right: auto;

    color: rgba(255, 255, 255, 0.82);

    font-size: 18px;
}


.rs-service-page .rs-service-final-cta .wp-block-buttons {
    margin-top: 30px;
}


.rs-service-page
.rs-service-final-cta
.wp-block-button:not(.is-style-outline)
.wp-block-button__link {
    border-color: var(--rs-white);

    background: var(--rs-white);
    color: var(--rs-navy);
}


/* =========================================================
   SERVICE PAGES — RESPONSIVE
   ========================================================= */

@media (max-width: 1440px) {

    .rs-service-page {
        width: calc(100vw - 56px);
    }


    .rs-service-page
    > .wp-block-group__inner-container
    > .rs-service-section
    > .wp-block-group__inner-container {
        max-width: 1240px;

        padding-left: 36px;
        padding-right: 36px;
    }

}


@media (max-width: 1024px) {

    .rs-service-page {
        width: calc(100vw - 32px);
    }


    .rs-service-page
    > .wp-block-group__inner-container
    > .rs-service-section
    > .wp-block-group__inner-container {
        max-width: 100%;

        padding-left: 28px;
        padding-right: 28px;
    }


    .rs-service-page .rs-service-section {
        padding-top: 64px;
        padding-bottom: 64px;
    }

}


@media (max-width: 781px) {

    .rs-service-page {
        width: calc(100vw - 16px);
    }


    .rs-service-page
    > .wp-block-group__inner-container
    > .rs-service-section
    > .wp-block-group__inner-container {
        padding-left: 20px;
        padding-right: 20px;
    }


    .rs-service-page .rs-service-section,
    .rs-service-page .rs-service-hero {
        padding-top: 52px;
        padding-bottom: 52px;
    }


    .rs-service-page .rs-service-hero h1 {
        font-size: clamp(35px, 10vw, 48px);
    }


    .rs-service-page .rs-service-hero-grid,
    .rs-service-page .rs-flexible-grid {
        gap: 26px;
    }


    .rs-service-page .rs-service-hero-image {
        margin-top: 4px;

        border-radius: 14px;
    }


    .rs-service-page .rs-audience-grid,
    .rs-service-page .rs-scope-grid,
    .rs-service-page .rs-related-grid {
        gap: 16px;
    }

}


@media (max-width: 520px) {

    .rs-service-page {
        width: calc(100vw - 12px);
    }


    .rs-service-page
    > .wp-block-group__inner-container
    > .rs-service-section
    > .wp-block-group__inner-container {
        padding-left: 16px;
        padding-right: 16px;
    }


    .rs-service-page .wp-block-buttons {
        display: flex;
        flex-direction: column;
    }


    .rs-service-page .wp-block-button {
        width: 100%;
    }


    .rs-service-page .wp-block-button__link {
        display: block;

        width: 100%;

        text-align: center;
    }

}


/* =========================================================
   SERVICE PAGES — ACCESSIBILITY
   ========================================================= */

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

    .rs-service-page a,
    .rs-service-page .wp-block-button__link {
        transition: none;
    }

}


/* =========================================================
   SERVICE SCOPE — VISUAL POLISH
   ========================================================= */

.rs-service-page .rs-scope-card {
    position: relative;

    padding-top: 30px;

    transition:
        transform 0.22s ease,
        box-shadow 0.22s ease,
        border-color 0.22s ease;
}


.rs-service-page .rs-scope-card:hover {
    border-color: rgba(33, 110, 170, 0.30);

    transform: translateY(-3px);

    box-shadow: var(--rs-shadow-md);
}


/*
 * Small service marker.
 *
 * Intentionally generic: the cards describe coordinated
 * property support rather than six unrelated businesses.
 */
.rs-service-page .rs-scope-card::before {
    content: "";

    display: block;

    width: 34px;
    height: 34px;

    margin-bottom: 18px;

    background:
        linear-gradient(
            135deg,
            var(--rs-blue),
            var(--rs-sea)
        );

    -webkit-mask-image:
        url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%20fill='none'%20stroke='black'%20stroke-width='1.8'%20stroke-linecap='round'%20stroke-linejoin='round'%3E%3Ccircle%20cx='12'%20cy='12'%20r='9'/%3E%3Cpath%20d='M8%2012l2.6%202.6L16.5%209'/%3E%3C/svg%3E");

    mask-image:
        url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%20fill='none'%20stroke='black'%20stroke-width='1.8'%20stroke-linecap='round'%20stroke-linejoin='round'%3E%3Ccircle%20cx='12'%20cy='12'%20r='9'/%3E%3Cpath%20d='M8%2012l2.6%202.6L16.5%209'/%3E%3C/svg%3E");

    -webkit-mask-position: center;
    mask-position: center;

    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;

    -webkit-mask-size: contain;
    mask-size: contain;
}


.rs-service-page .rs-scope-card h3 {
    margin-bottom: 10px;
}


/* =========================================================
   RELATED SERVICES — VISUAL POLISH
   ========================================================= */

.rs-service-page .rs-related-card {
    position: relative;

    display: flex;
    flex-direction: column;

    transition:
        transform 0.22s ease,
        box-shadow 0.22s ease,
        border-color 0.22s ease;
}


.rs-service-page .rs-related-card:hover {
    border-color: rgba(33, 110, 170, 0.30);

    transform: translateY(-2px);

    box-shadow: var(--rs-shadow-sm);
}


.rs-service-page .rs-related-card::before {
    content: "";

    display: block;

    width: 28px;
    height: 3px;

    margin-bottom: 18px;

    border-radius: 999px;

    background:
        linear-gradient(
            90deg,
            var(--rs-blue),
            var(--rs-sea)
        );
}


.rs-service-page .rs-related-card > p:last-child {
    margin-top: auto;
    padding-top: 10px;
}


@media (max-width: 781px) {

    .rs-service-page .rs-scope-card::before {
        width: 30px;
        height: 30px;

        margin-bottom: 15px;
    }

}


/* =========================================================
   KADENCE BUILT-IN PAGE HERO DISABLE
   Custom RS pages provide their own H1 / Hero section.
   ========================================================= */

.page-id-13 .entry-hero-container,
.page-id-14 .entry-hero-container {
    display: none !important;
}



/* =========================================================
   KADENCE CONTENT AREA SPACING
   RS pages provide their own vertical section spacing.
   ========================================================= */

#primary.content-area:has(.rs-home),
#primary.content-area:has(.rs-service-page) {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}



/* =========================================================
   PAGE-SPECIFIC HERO VARIATIONS
   ========================================================= */

/* Home — branded / flagship */
.rs-home .rs-hero {
    background:
        linear-gradient(
            135deg,
            var(--rs-section) 0%,
            #e1f0f6 100%
        );
}

/* Property Management — slightly more business-like */
.rs-property-management .rs-service-hero {
    background:
        linear-gradient(
            135deg,
            #f4f8fa 0%,
            #eaf2f6 100%
        );

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

.rs-property-management .rs-service-hero-image img {
    border-radius: 18px;
}

/* Property Inspection — lighter and more compact */
.rs-property-inspection .rs-service-hero {
    background:
        linear-gradient(
            135deg,
            #f7fafb 0%,
            #edf4f6 100%
        );

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

.rs-property-inspection .rs-service-hero-image img {
    border-radius: 10px;
}

/* Small accent difference between service types */
.rs-property-management .rs-eyebrow {
    color: var(--rs-primary) !important;
}

.rs-property-inspection .rs-eyebrow {
    color: var(--rs-accent) !important;
}




/* =========================================================
   MAINTENANCE SERVICE PAGES — DISTINCT SERVICE MASTHEAD
   Cleaning, Handyman, Plumbing, Electrical, AC
   ========================================================= */

.rs-service-page.rs-maintenance-service .rs-service-hero {
    position: relative;

    padding-top: 42px !important;
    padding-bottom: 42px !important;

    background: var(--rs-hero-gradient) !important;

    overflow: hidden;
}

/* Decorative background shape */
.rs-service-page.rs-maintenance-service .rs-service-hero::after {
    content: "";

    position: absolute;
    width: 420px;
    height: 420px;

    right: -150px;
    top: -190px;

    border-radius: 50%;

    background: rgba(255,255,255,0.055);

    pointer-events: none;
}

/* Remove previous left stripe */
.rs-service-page.rs-maintenance-service .rs-service-hero::before {
    display: none !important;
}

/* Hero grid */
.rs-service-page.rs-maintenance-service .rs-service-hero-grid {
    position: relative;
    z-index: 2;

    gap: 48px !important;
}

/* Text column */
.rs-service-page.rs-maintenance-service
.rs-service-hero-grid > .wp-block-column:first-child {
    flex-basis: 62% !important;
}

/* Image column */
.rs-service-page.rs-maintenance-service
.rs-service-hero-grid > .wp-block-column:last-child {
    flex-basis: 38% !important;
}

/* Eyebrow becomes a small service badge */
.rs-service-page.rs-maintenance-service
.rs-service-hero .rs-eyebrow {
    display: inline-block;

    margin: 0 0 16px 0 !important;
    padding: 7px 12px !important;

    border: 1px solid rgba(255,255,255,0.22);
    border-radius: 999px;

    background: rgba(255,255,255,0.08);

    color: #bfecef !important;

    font-size: 11px !important;
    line-height: 1.2 !important;
    letter-spacing: 0.1em !important;
    text-transform: uppercase;
}

/* Clearly smaller service-page H1 */
.rs-service-page.rs-maintenance-service
.rs-service-hero h1.wp-block-heading {
    max-width: 600px !important;

    margin-top: 0 !important;
    margin-bottom: 18px !important;

    color: #ffffff !important;

    font-size: clamp(36px, 3.3vw, 50px) !important;
    line-height: 1.04 !important;
    letter-spacing: -0.025em !important;
}

/* Lead */
.rs-service-page.rs-maintenance-service
.rs-service-hero-lead {
    max-width: 650px !important;

    margin-bottom: 14px !important;

    color: rgba(255,255,255,0.92) !important;

    font-size: 19px !important;
    line-height: 1.48 !important;
}

/* Description */
.rs-service-page.rs-maintenance-service
.rs-service-hero-description {
    max-width: 650px !important;

    color: rgba(255,255,255,0.70) !important;

    font-size: 15px !important;
    line-height: 1.6 !important;
}

/* Buttons */
.rs-service-page.rs-maintenance-service
.rs-service-hero-buttons {
    margin-top: 24px !important;
}

.rs-service-page.rs-maintenance-service
.rs-service-hero-buttons .wp-block-button__link {
    padding: 12px 21px !important;

    font-size: 14px !important;
}

/* Main button */
.rs-service-page.rs-maintenance-service
.rs-service-hero-buttons
.wp-block-button:not(.is-style-outline)
.wp-block-button__link {
    background: #ffffff !important;
    color: var(--rs-primary) !important;

    border-color: #ffffff !important;
}

/* Outline button */
.rs-service-page.rs-maintenance-service
.rs-service-hero-buttons
.wp-block-button.is-style-outline
.wp-block-button__link {
    color: #ffffff !important;

    border-color: rgba(255,255,255,0.55) !important;

    background: transparent !important;
}

/* Image becomes a compact visual card */
.rs-service-page.rs-maintenance-service
.rs-service-hero-image {
    margin: 0 !important;

    padding: 7px !important;

    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 16px;

    background: rgba(255,255,255,0.08);
}

.rs-service-page.rs-maintenance-service
.rs-service-hero-image img {
    display: block;

    width: 100% !important;
    height: 310px !important;

    object-fit: cover !important;

    border-radius: 10px !important;

    box-shadow: none !important;
}


/* =========================================================
   MAINTENANCE CONTENT SECTIONS
   ========================================================= */

/* First section gets stronger separation from dark masthead */
.rs-service-page.rs-maintenance-service .rs-service-audience {
    padding-top: 70px !important;
    padding-bottom: 64px !important;

    background: #ffffff !important;
}

/* Scope section gets its own subtle band */
.rs-service-page.rs-maintenance-service .rs-service-scope {
    padding-top: 64px !important;
    padding-bottom: 64px !important;

    background: #f2f7f8 !important;
}

/* Section eyebrow */
.rs-service-page.rs-maintenance-service
.rs-service-section:not(.rs-service-hero)
.rs-eyebrow {
    color: var(--rs-accent) !important;

    font-size: 12px !important;
    letter-spacing: 0.08em !important;
}

/* Slightly more compact section titles */
.rs-service-page.rs-maintenance-service
.rs-service-title {
    font-size: clamp(30px, 3vw, 42px) !important;
}

/* Utility cards — flatter and more practical */
.rs-service-page.rs-maintenance-service .rs-audience-card,
.rs-service-page.rs-maintenance-service .rs-scope-card {
    padding: 26px !important;

    border: 1px solid #e3ecee !important;
    border-radius: 8px !important;

    background: #ffffff !important;

    box-shadow: 0 4px 14px rgba(22,50,79,0.045) !important;
}

/* Numbers smaller and more graphic */
.rs-service-page.rs-maintenance-service
.rs-audience-number,
.rs-service-page.rs-maintenance-service
.rs-service-step-number {
    font-size: 13px !important;
    letter-spacing: 0.08em !important;

    color: var(--rs-accent) !important;
}

/* Card headings */
.rs-service-page.rs-maintenance-service
.rs-audience-card h3,
.rs-service-page.rs-maintenance-service
.rs-scope-card h3 {
    font-size: 20px !important;
    line-height: 1.25 !important;
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 781px) {

    .rs-service-page.rs-maintenance-service .rs-service-hero {
        padding-top: 32px !important;
        padding-bottom: 34px !important;
    }

    .rs-service-page.rs-maintenance-service
    .rs-service-hero-grid {
        gap: 28px !important;
    }

    .rs-service-page.rs-maintenance-service
    .rs-service-hero h1.wp-block-heading {
        max-width: none !important;

        font-size: clamp(34px, 9vw, 44px) !important;
        line-height: 1.06 !important;
    }

    .rs-service-page.rs-maintenance-service
    .rs-service-hero-lead {
        font-size: 18px !important;
    }

    .rs-service-page.rs-maintenance-service
    .rs-service-hero-description {
        font-size: 15px !important;
    }

    .rs-service-page.rs-maintenance-service
    .rs-service-hero-image img {
        height: 260px !important;
    }

    .rs-service-page.rs-maintenance-service
    .rs-service-audience,
    .rs-service-page.rs-maintenance-service
    .rs-service-scope {
        padding-top: 48px !important;
        padding-bottom: 48px !important;
    }
}





/* =========================================================
   MAINTENANCE PAGE BACKGROUND — REFINED
   ========================================================= */

/* Overall page background */
.rs-service-page.rs-maintenance-service {
    background: #edf2f3 !important;
}

/* Light sections */
.rs-service-page.rs-maintenance-service .rs-service-audience,
.rs-service-page.rs-maintenance-service .rs-related-services,
.rs-service-page.rs-maintenance-service .rs-service-faq {
    background: #ffffff !important;
}

/* Alternating tinted sections */
.rs-service-page.rs-maintenance-service .rs-service-scope,
.rs-service-page.rs-maintenance-service .rs-service-process {
    background: #eef4f5 !important;
}

/* Flexible support gets a slightly stronger tint */
.rs-service-page.rs-maintenance-service .rs-flexible-support {
    background: #e7eff0 !important;
}

/* Final CTA should stand out, not merge with the page */
.rs-service-page.rs-maintenance-service .rs-service-final-cta {
    background: #dce8ea !important;

    border-top: 1px solid rgba(23, 63, 74, 0.08);
}



/* =========================================================
   HERO COLOR SWAP
   Main pages = dark green
   Everyday service pages = light blue
   ========================================================= */

/* ---------------------------------------------------------
   MAIN PAGES
   Home / Property Management / Property Inspection
   --------------------------------------------------------- */

.rs-home .rs-hero,
.rs-property-management .rs-service-hero,
.rs-property-inspection .rs-service-hero {
    background: var(--rs-hero-gradient) !important;
}

/* White headings on main dark heroes */
.rs-home .rs-hero h1,
.rs-property-management .rs-service-hero h1,
.rs-property-inspection .rs-service-hero h1 {
    color: #ffffff !important;
}

/* Main hero lead text */
.rs-home .rs-hero .rs-hero-lead,
.rs-home .rs-hero .rs-service-hero-lead,
.rs-property-management .rs-service-hero-lead,
.rs-property-inspection .rs-service-hero-lead {
    color: rgba(255,255,255,0.92) !important;
}

/* Main hero description */
.rs-home .rs-hero .rs-hero-description,
.rs-home .rs-hero .rs-service-hero-description,
.rs-property-management .rs-service-hero-description,
.rs-property-inspection .rs-service-hero-description {
    color: rgba(255,255,255,0.72) !important;
}

/* Eyebrow on dark heroes */
.rs-home .rs-hero .rs-eyebrow,
.rs-property-management .rs-service-hero .rs-eyebrow,
.rs-property-inspection .rs-service-hero .rs-eyebrow {
    color: #bfecef !important;
}

/* Outline buttons on dark heroes */
.rs-home .rs-hero .wp-block-button.is-style-outline .wp-block-button__link,
.rs-property-management .rs-service-hero .wp-block-button.is-style-outline .wp-block-button__link,
.rs-property-inspection .rs-service-hero .wp-block-button.is-style-outline .wp-block-button__link {
    color: #ffffff !important;
    border-color: rgba(255,255,255,0.55) !important;
    background: transparent !important;
}

/* ---------------------------------------------------------
   EVERYDAY SERVICE PAGES
   Cleaning / Handyman / Plumbing / Electrical / AC
   --------------------------------------------------------- */

.rs-service-page.rs-maintenance-service .rs-service-hero {
    background:
        linear-gradient(
            135deg,
            var(--rs-section) 0%,
            #e1f0f6 100%
        ) !important;
}

/* Restore dark text */
.rs-service-page.rs-maintenance-service
.rs-service-hero h1.wp-block-heading {
    color: var(--rs-primary) !important;
}

/* Restore dark lead */
.rs-service-page.rs-maintenance-service
.rs-service-hero-lead {
    color: #243746 !important;
}

/* Restore softer dark description */
.rs-service-page.rs-maintenance-service
.rs-service-hero-description {
    color: #60717b !important;
}

/* Eyebrow */
.rs-service-page.rs-maintenance-service
.rs-service-hero .rs-eyebrow {
    color: var(--rs-accent) !important;

    background: rgba(43,156,161,0.08) !important;
    border-color: rgba(43,156,161,0.18) !important;
}

/* Main button */
.rs-service-page.rs-maintenance-service
.rs-service-hero-buttons
.wp-block-button:not(.is-style-outline)
.wp-block-button__link {
    background: var(--rs-primary) !important;
    color: #ffffff !important;
    border-color: var(--rs-primary) !important;
}

/* Outline button */
.rs-service-page.rs-maintenance-service
.rs-service-hero-buttons
.wp-block-button.is-style-outline
.wp-block-button__link {
    color: var(--rs-primary) !important;
    border-color: rgba(23,63,74,0.35) !important;
    background: transparent !important;
}

/* Light image frame */
.rs-service-page.rs-maintenance-service
.rs-service-hero-image {
    border-color: rgba(23,63,74,0.08) !important;
    background: rgba(255,255,255,0.52) !important;
}



/* =========================================================
   SERVICE PAGES — RESTORE FINAL CTA STYLE
   Make maintenance-service bottom CTA look like main pages
   ========================================================= */

.rs-service-page.rs-maintenance-service .rs-service-final-cta {
    position: relative;
    overflow: hidden;

    background: var(--rs-hero-gradient) !important;
}

/* decorative shapes like on main pages */
.rs-service-page.rs-maintenance-service .rs-service-final-cta::before {
    content: "";
    position: absolute;
    left: -140px;
    bottom: -140px;
    width: 320px;
    height: 320px;
    border-radius: 50%;
    background: rgba(255,255,255,0.06);
    pointer-events: none;
}

.rs-service-page.rs-maintenance-service .rs-service-final-cta::after {
    content: "";
    position: absolute;
    right: -120px;
    top: -120px;
    width: 260px;
    height: 260px;
    border-radius: 50%;
    background: rgba(255,255,255,0.06);
    pointer-events: none;
}

/* keep content above decorative shapes */
.rs-service-page.rs-maintenance-service .rs-service-final-cta > * {
    position: relative;
    z-index: 2;
}

.rs-service-page.rs-maintenance-service .rs-service-final-cta h2,
.rs-service-page.rs-maintenance-service .rs-service-final-cta .wp-block-heading {
    color: #ffffff !important;
}

.rs-service-page.rs-maintenance-service .rs-service-final-cta p {
    color: rgba(255,255,255,0.90) !important;
}

.rs-service-page.rs-maintenance-service .rs-service-final-cta .rs-eyebrow {
    color: #bfecef !important;
}

/* primary button */
.rs-service-page.rs-maintenance-service
.rs-service-final-cta .wp-block-button:not(.is-style-outline) .wp-block-button__link {
    background: #ffffff !important;
    color: var(--rs-primary) !important;
    border-color: #ffffff !important;
}

/* outline button */
.rs-service-page.rs-maintenance-service
.rs-service-final-cta .wp-block-button.is-style-outline .wp-block-button__link {
    background: transparent !important;
    color: #ffffff !important;
    border-color: rgba(255,255,255,0.60) !important;
}



/* =========================================================
   STICKY HEADER
   ========================================================= */

#masthead.site-header {
    position: sticky !important;
    top: 0;
    z-index: 1100;

    overflow: visible;

    background: var(--rs-header-bg);

    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);

    box-shadow: 0 6px 20px rgba(51, 65, 85, 0.08);
}

#masthead.site-header .site-header-wrap,
#masthead.site-header .site-mobile-header-wrap,
#masthead.site-header .site-header-inner-wrap,
#masthead.site-header .site-header-upper-wrap,
#masthead.site-header .site-header-upper-inner-wrap,
#masthead.site-header .site-main-header-wrap,
#masthead.site-header .site-header-row-container-inner {
    overflow: visible;
}

#masthead.site-header .site-main-header-wrap,
#masthead.site-header .site-header-row-container-inner {
    background: transparent !important;
}

#masthead.site-header
.main-navigation
.primary-menu-container
> ul
> li
> a {
    color: var(--rs-text) !important;
}

#masthead.site-header
.main-navigation
.primary-menu-container
> ul
> li:hover
> a,
#masthead.site-header
.main-navigation
.primary-menu-container
> ul
> .current-menu-item
> a,
#masthead.site-header
.main-navigation
.primary-menu-container
> ul
> .current-menu-ancestor
> a {
    color: var(--rs-primary) !important;
}

#masthead.site-header .menu-toggle-open {
    color: var(--rs-primary);
}

body.admin-bar #masthead.site-header {
    top: 32px !important;
}

@media screen and (max-width: 782px) {

    body.admin-bar #masthead.site-header {
        top: 46px !important;
    }

}

@media screen and (max-width: 600px) {

    body.admin-bar #masthead.site-header {
        top: 0 !important;
    }

}


/* =========================================================
   HEADER DROPDOWN MENU
   ========================================================= */

/* Dropdown container */
.site-header .main-navigation .sub-menu,
.site-header .primary-menu-container .sub-menu {
    z-index: 1110;

    min-width: 240px;

    padding: 10px 0 !important;

    background: var(--rs-white) !important;

    border: 1px solid rgba(51, 65, 85, 0.10) !important;
    border-radius: 12px !important;

    box-shadow: 0 16px 40px rgba(51, 65, 85, 0.14) !important;

    overflow: hidden;
}

/* Dropdown links */
.site-header .main-navigation .sub-menu a,
.site-header .primary-menu-container .sub-menu a {
    padding: 11px 18px !important;

    color: var(--rs-text) !important;

    font-size: 15px !important;
    line-height: 1.35 !important;

    transition:
        background-color 0.18s ease,
        color 0.18s ease,
        padding-left 0.18s ease;
}

/* Hover */
.site-header .main-navigation .sub-menu a:hover,
.site-header .primary-menu-container .sub-menu a:hover {
    background: var(--rs-section) !important;
    color: var(--rs-primary) !important;

    padding-left: 22px !important;
}

/* Current / active item */
.site-header .main-navigation .sub-menu .current-menu-item > a,
.site-header .main-navigation .sub-menu .current-menu-ancestor > a,
.site-header .primary-menu-container .sub-menu .current-menu-item > a {
    background: var(--rs-section) !important;
    color: var(--rs-primary) !important;

    font-weight: 600 !important;
}

/* Slight separation between items */
.site-header .main-navigation .sub-menu li + li,
.site-header .primary-menu-container .sub-menu li + li {
    border-top: 1px solid rgba(51, 65, 85, 0.06);
}

/* Parent menu item with dropdown */
.site-header .main-navigation .menu-item-has-children > a,
.site-header .primary-menu-container .menu-item-has-children > a {
    gap: 5px;
}

/* Dropdown arrow */
.site-header .main-navigation .menu-item-has-children > a .dropdown-nav-toggle,
.site-header .primary-menu-container .menu-item-has-children > a .dropdown-nav-toggle {
    opacity: 0.65;

    transition:
        opacity 0.18s ease,
        transform 0.18s ease;
}

/* Small motion on hover */
.site-header .main-navigation .menu-item-has-children:hover > a .dropdown-nav-toggle,
.site-header .primary-menu-container .menu-item-has-children:hover > a .dropdown-nav-toggle {
    opacity: 1;
    transform: translateY(1px);
}

/* RS PRICES PAGE START */

#primary.content-area:has(.rs-prices-page) {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}

.rs-prices-page {
    color: var(--rs-text);
}

.rs-prices-hero {
    padding: clamp(72px, 8vw, 118px) 24px;
    background: var(--rs-hero-gradient);
    color: #ffffff;
}

.rs-prices-hero .rs-eyebrow,
.rs-prices-hero h1,
.rs-prices-hero .rs-prices-lead,
.rs-prices-hero .rs-prices-currency {
    color: #ffffff;
}

.rs-prices-hero h1 {
    max-width: 850px;
    margin-left: auto;
    margin-right: auto;
    font-size: clamp(38px, 5vw, 62px);
    line-height: 1.06;
}

.rs-prices-lead {
    max-width: 760px;
    margin: 20px auto 0;
    font-size: clamp(18px, 2vw, 22px);
    line-height: 1.6;
    opacity: 0.96;
}

.rs-prices-currency {
    margin-top: 14px;
    font-size: 14px;
    opacity: 0.78;
}

.rs-prices-hero .wp-block-buttons {
    margin-top: 28px;
}

.rs-prices-hero .wp-block-button__link {
    background: #ffffff;
    color: var(--rs-primary);
    border-radius: 8px;
    padding: 13px 24px;
    font-weight: 700;
}

.rs-price-section {
    padding: clamp(62px, 7vw, 92px) 24px;
}

.rs-price-section-alt {
    background: var(--rs-section);
}

.rs-price-management {
    background: #ffffff;
}

.rs-custom-quote-card {
    max-width: 760px;
    margin: 34px auto 0;
    padding: clamp(30px, 4vw, 46px);
    background: var(--rs-section);
    border: 1px solid rgba(23, 63, 74, 0.10);
    border-radius: 18px;
    box-shadow: 0 14px 34px rgba(23, 63, 74, 0.07);
}

.rs-custom-quote-card h3 {
    margin-top: 4px;
    margin-bottom: 14px;
    font-size: clamp(30px, 4vw, 42px);
    color: var(--rs-primary);
}

.rs-price-kicker {
    margin-bottom: 4px;
    color: var(--rs-accent);
    font-size: 12px;
    letter-spacing: 0.13em;
}

.rs-custom-quote-card .wp-block-buttons {
    margin-top: 24px;
}

.rs-custom-quote-card .wp-block-button__link {
    background: var(--rs-primary);
}

.rs-price-two-col,
.rs-price-three-col {
    align-items: stretch;
    margin-top: 34px;
    gap: 22px;
}

.rs-price-two-col > .wp-block-column,
.rs-price-three-col > .wp-block-column {
    display: flex;
}

.rs-price-card {
    width: 100%;
    padding: 28px;
    background: #ffffff;
    border: 1px solid rgba(23, 63, 74, 0.10);
    border-radius: 16px;
    box-shadow: 0 10px 28px rgba(23, 63, 74, 0.06);
}

.rs-price-card h3 {
    margin-top: 0;
    margin-bottom: 20px;
    color: var(--rs-primary);
    font-size: 22px;
}

.rs-price-card-wide {
    max-width: 900px;
    margin: 34px auto 0;
}

.rs-price-card-compact {
    max-width: 760px;
}

.rs-price-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.rs-price-list li {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 24px;
    padding: 13px 0;
    border-bottom: 1px solid rgba(23, 63, 74, 0.08);
    line-height: 1.45;
}

.rs-price-list li:first-child {
    padding-top: 0;
}

.rs-price-list li:last-child {
    border-bottom: 0;
    padding-bottom: 0;
}

.rs-price-list li span {
    flex: 1 1 auto;
}

.rs-price-list li strong {
    flex: 0 0 auto;
    color: var(--rs-primary);
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}

.rs-price-link {
    margin-top: 22px;
    margin-bottom: 0;
    font-weight: 650;
}

.rs-price-link a {
    color: var(--rs-accent);
    text-decoration: none;
}

.rs-price-link a:hover {
    color: var(--rs-primary);
}

.rs-price-note-section {
    padding-top: 18px;
    padding-bottom: 74px;
}

.rs-price-note {
    max-width: 860px;
    margin: 0 auto;
    padding: 28px 32px;
    background: var(--rs-section);
    border-left: 4px solid var(--rs-accent);
    border-radius: 12px;
}

.rs-price-note h3 {
    margin-top: 0;
    color: var(--rs-primary);
}

.rs-prices-page .rs-service-cta {
    padding: clamp(62px, 7vw, 92px) 24px;
    background: var(--rs-hero-gradient);
    color: #ffffff;
}

.rs-prices-page .rs-service-cta h2,
.rs-prices-page .rs-service-cta p {
    color: #ffffff;
}

.rs-prices-page .rs-service-cta .wp-block-buttons {
    margin-top: 26px;
}

.rs-prices-page .rs-service-cta .wp-block-button__link {
    background: #ffffff;
    color: var(--rs-primary);
    font-weight: 700;
}

@media (max-width: 781px) {
    .rs-price-two-col,
    .rs-price-three-col {
        gap: 16px;
    }

    .rs-price-card {
        padding: 23px 20px;
    }

    .rs-price-list li {
        gap: 14px;
    }
}

@media (max-width: 520px) {
    .rs-prices-hero,
    .rs-price-section,
    .rs-prices-page .rs-service-cta {
        padding-left: 18px;
        padding-right: 18px;
    }

    .rs-price-list li {
        display: block;
    }

    .rs-price-list li strong {
        display: block;
        margin-top: 4px;
    }

    .rs-price-note {
        padding: 24px 20px;
    }
}

/* RS PRICES PAGE END */

/* Prices: keep service name and price separated in Gutenberg and frontend */
.rs-price-list li {
    display: flex !important;
    justify-content: space-between;
    align-items: flex-start;
    gap: 24px !important;
}

.rs-price-list li strong {
    margin-left: auto;
    padding-left: 16px;
}

/* =========================================================
   PRICES PAGE — PAGE CANVAS & HERO ALIGNMENT
   ========================================================= */

.rs-prices-page {
    position: relative;
    left: 50%;

    width: min(
        1600px,
        calc(100vw - 96px)
    ) !important;

    max-width: none !important;

    margin-left: 0 !important;
    margin-right: 0 !important;

    transform: translateX(-50%);
}


/* Reset outer Gutenberg wrapper */
.rs-prices-page
> .wp-block-group__inner-container {
    width: 100% !important;
    max-width: none !important;

    margin-left: 0 !important;
    margin-right: 0 !important;

    padding-left: 0 !important;
    padding-right: 0 !important;
}


/* Prevent Kadence alignfull from escaping our page canvas */
.rs-prices-page .alignfull {
    width: 100% !important;
    max-width: 100% !important;

    margin-left: 0 !important;
    margin-right: 0 !important;
}


/* Top-level sections */
.rs-prices-page
> .wp-block-group__inner-container
> .rs-prices-hero,

.rs-prices-page
> .wp-block-group__inner-container
> .rs-price-section,

.rs-prices-page
> .wp-block-group__inner-container
> .rs-service-cta {
    width: 100% !important;
    max-width: 100% !important;

    margin-left: 0 !important;
    margin-right: 0 !important;
}


/* Hero content container */
.rs-prices-hero
> .wp-block-group__inner-container {
    width: 100% !important;
    max-width: 1360px !important;

    margin-left: auto !important;
    margin-right: auto !important;

    padding-left: 48px !important;
    padding-right: 48px !important;

    box-sizing: border-box;
}


/* Hero text alignment */
.rs-prices-hero .rs-eyebrow,
.rs-prices-hero h1,
.rs-prices-hero .rs-prices-lead,
.rs-prices-hero .rs-prices-currency {
    margin-left: auto !important;
    margin-right: auto !important;

    text-align: center !important;
}

.rs-prices-hero h1 {
    width: 100% !important;
    max-width: 900px !important;
}

.rs-prices-hero .rs-prices-lead {
    width: 100% !important;
    max-width: 760px !important;
}

.rs-prices-hero .wp-block-buttons {
    justify-content: center !important;
}


/* Desktop */
@media (max-width: 1440px) {

    .rs-prices-page {
        width: calc(100vw - 56px) !important;
    }

    .rs-prices-hero
    > .wp-block-group__inner-container {
        padding-left: 36px !important;
        padding-right: 36px !important;
    }

}


/* Tablet */
@media (max-width: 1024px) {

    .rs-prices-page {
        width: calc(100vw - 32px) !important;
    }

    .rs-prices-hero
    > .wp-block-group__inner-container {
        padding-left: 28px !important;
        padding-right: 28px !important;
    }

}


/* Mobile */
@media (max-width: 781px) {

    .rs-prices-page {
        width: calc(100vw - 16px) !important;
    }

    .rs-prices-hero
    > .wp-block-group__inner-container {
        padding-left: 20px !important;
        padding-right: 20px !important;
    }

}

/* =========================================================
   PRICES PAGE — REMOVE EXTRA BACKGROUND STRIPS
   ========================================================= */

.rs-prices-page,
.rs-prices-page > .wp-block-group__inner-container,
.rs-prices-page .rs-price-section,
.rs-prices-page .rs-service-cta,
.rs-prices-page .rs-prices-hero {
    position: relative;
    overflow: hidden;
}

/* Убираем декоративные полосы/плашки */
.rs-prices-page::before,
.rs-prices-page::after,
.rs-prices-page > .wp-block-group__inner-container::before,
.rs-prices-page > .wp-block-group__inner-container::after,
.rs-prices-page .rs-price-section::before,
.rs-prices-page .rs-price-section::after,
.rs-prices-page .rs-service-cta::before,
.rs-prices-page .rs-service-cta::after,
.rs-prices-page .rs-prices-hero::before,
.rs-prices-page .rs-prices-hero::after {
    content: none !important;
    display: none !important;
    background: none !important;
    box-shadow: none !important;
}

/* На всякий случай убираем фон у внутренних декоративных оберток */
.rs-prices-page .wp-block-group.has-background:not(.rs-prices-hero):not(.rs-service-card):not(.rs-price-card) {
    background-image: none !important;
}

/* =========================================================
   PRICES PAGE — REMOVE GUTENBERG SECTION GAPS
   ========================================================= */

.rs-prices-page
> .wp-block-group__inner-container {
    gap: 0 !important;
}

/* Remove Gutenberg flow spacing between every top-level Prices section */
.rs-prices-page
> .wp-block-group__inner-container
> .wp-block-group {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    margin-block-start: 0 !important;
    margin-block-end: 0 !important;
}

/* Explicitly cover all main Prices sections */
.rs-prices-page .rs-prices-hero,
.rs-prices-page .rs-price-section,
.rs-prices-page .rs-service-cta {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    margin-block-start: 0 !important;
    margin-block-end: 0 !important;
}


/* =========================================================
   PRICES PAGE — FINAL BACKGROUND / OUTER GAP CLEANUP
   ========================================================= */

/*
 * Kadence outer page wrappers.
 * Remove the strip between header and Prices canvas.
 */
body:has(.rs-prices-page) #primary,
body:has(.rs-prices-page) #main,
body:has(.rs-prices-page) .content-container,
body:has(.rs-prices-page) article,
body:has(.rs-prices-page) .entry-content-wrap,
body:has(.rs-prices-page) .entry-content {
    margin-top: 0 !important;
    margin-bottom: 0 !important;

    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

/* Prevent the final Gutenberg block from recreating a bottom strip */
body:has(.rs-prices-page) .entry-content > *:last-child {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}


/*
 * One continuous background for the pricing area.
 */
.rs-prices-page {
    background: var(--rs-section) !important;
}


/*
 * Every pricing section uses the same background.
 * No white/blue alternating bands.
 */
.rs-prices-page .rs-price-section,
.rs-prices-page .rs-price-management,
.rs-prices-page .rs-price-section-alt,
.rs-prices-page .rs-price-note-section {
    background: var(--rs-section) !important;
    background-image: none !important;
}


/*
 * The hero remains dark.
 */
.rs-prices-page .rs-prices-hero {
    background: var(--rs-hero-gradient) !important;
}


/*
 * Ensure Gutenberg inner wrappers do not paint their
 * own white rectangles.
 */
.rs-prices-page
.rs-price-section
> .wp-block-group__inner-container,

.rs-prices-page
.rs-price-management
> .wp-block-group__inner-container,

.rs-prices-page
.rs-price-section-alt
> .wp-block-group__inner-container,

.rs-prices-page
.rs-price-note-section
> .wp-block-group__inner-container {
    background: transparent !important;
}


/*
 * Keep actual price cards white.
 */
.rs-prices-page .rs-price-card,
.rs-prices-page .rs-custom-quote-card {
    background: #ffffff !important;
}


/*
 * No Gutenberg spacing between top-level sections.
 */
.rs-prices-page
> .wp-block-group__inner-container
> * {
    margin-block-start: 0 !important;
    margin-block-end: 0 !important;
}


/*
 * Prevent a first-block margin from recreating the
 * small strip above the hero.
 */
.rs-prices-page
> .wp-block-group__inner-container
> :first-child {
    margin-top: 0 !important;
}

/* RS ABOUT PAGE START */

.rs-about-page .rs-about-hero {
    padding-top: clamp(70px, 8vw, 112px);
    padding-bottom: clamp(70px, 8vw, 112px);
    color: #ffffff;
    background: var(--rs-hero-gradient);
}

.rs-about-page .rs-about-hero .rs-eyebrow,
.rs-about-page .rs-about-hero h1,
.rs-about-page .rs-about-hero p {
    color: #ffffff;
}

.rs-about-page .rs-about-hero h1 {
    max-width: 780px;
    margin-top: 12px;
    margin-bottom: 22px;
    font-size: clamp(40px, 5vw, 62px);
    line-height: 1.06;
}

.rs-about-page .rs-about-hero-lead {
    max-width: 830px;
    font-size: clamp(20px, 2.2vw, 25px);
    line-height: 1.55;
}

.rs-about-page .rs-about-hero > .wp-block-group__inner-container > p:not(.rs-eyebrow):not(.rs-about-hero-lead) {
    max-width: 800px;
    font-size: 16px;
    line-height: 1.75;
    opacity: 0.92;
}

.rs-about-page .rs-about-hero .wp-block-buttons {
    margin-top: 30px;
}

.rs-about-page .rs-about-hero .wp-block-button__link {
    background: #ffffff;
    color: var(--rs-primary);
    font-weight: 700;
}

.rs-about-page .rs-about-story,
.rs-about-page .rs-about-away {
    padding-top: clamp(68px, 7vw, 96px);
    padding-bottom: clamp(68px, 7vw, 96px);
    background: #ffffff;
}

.rs-about-page .rs-about-story-grid,
.rs-about-page .rs-about-away-grid {
    gap: clamp(34px, 5vw, 70px);
}

.rs-about-page .rs-about-story h2,
.rs-about-page .rs-about-away h2 {
    margin-top: 10px;
    margin-bottom: 22px;
    font-size: clamp(34px, 4vw, 48px);
    line-height: 1.15;
    color: var(--rs-primary);
}

.rs-about-page .rs-about-story p,
.rs-about-page .rs-about-away p {
    line-height: 1.75;
}

.rs-about-page .rs-about-story-figure {
    margin: 0 0 24px;
}

.rs-about-page .rs-about-story-figure img {
    width: 100%;
    display: block;
    border-radius: 18px;
    box-shadow: 0 16px 36px rgba(23, 63, 74, 0.12);
    object-fit: cover;
}

.rs-about-page .rs-about-highlight,
.rs-about-page .rs-about-away-card {
    padding: clamp(28px, 4vw, 40px);
    background: var(--rs-section);
    border: 1px solid rgba(23, 63, 74, 0.10);
    border-radius: 18px;
    box-shadow: 0 14px 34px rgba(23, 63, 74, 0.07);
}

.rs-about-page .rs-about-highlight h3,
.rs-about-page .rs-about-away-card h3 {
    margin-top: 0;
    color: var(--rs-primary);
    font-size: 25px;
}

.rs-about-page .rs-about-services {
    padding-top: clamp(68px, 7vw, 94px);
    padding-bottom: clamp(68px, 7vw, 94px);
    background: var(--rs-section);
}

.rs-about-page .rs-about-service-grid {
    align-items: stretch;
    gap: 20px;
    margin-top: 22px;
}

.rs-about-page .rs-about-service-grid > .wp-block-column {
    display: flex;
}

.rs-about-page .rs-about-service-card {
    width: 100%;
    padding: 28px;
    background: #ffffff;
    border: 1px solid rgba(23, 63, 74, 0.09);
    border-radius: 16px;
    box-shadow: 0 9px 26px rgba(23, 63, 74, 0.05);
}

.rs-about-page .rs-about-service-card h3 {
    margin-top: 0;
    margin-bottom: 12px;
    color: var(--rs-primary);
    font-size: 21px;
}

.rs-about-page .rs-about-service-card p {
    margin-bottom: 0;
    line-height: 1.65;
}

.rs-about-page .rs-about-approach {
    padding-top: clamp(68px, 7vw, 94px);
    padding-bottom: clamp(68px, 7vw, 94px);
    background: #ffffff;
}

.rs-about-page .rs-about-values-grid {
    align-items: stretch;
    gap: 18px;
    margin-top: 36px;
}

.rs-about-page .rs-about-values-grid > .wp-block-column {
    display: flex;
}

.rs-about-page .rs-about-value {
    width: 100%;
    padding: 24px 22px;
    border-top: 3px solid var(--rs-accent);
    background: var(--rs-section);
}

.rs-about-page .rs-about-value h3 {
    margin-top: 0;
    margin-bottom: 10px;
    color: var(--rs-primary);
    font-size: 20px;
}

.rs-about-page .rs-about-value p {
    margin-bottom: 0;
    line-height: 1.65;
}

.rs-about-page .rs-about-lifestyle {
    position: relative;
    overflow: hidden;
    padding-top: clamp(68px, 7vw, 96px);
    padding-bottom: clamp(68px, 7vw, 96px);
    background: linear-gradient(135deg, var(--rs-section) 0%, var(--rs-warm) 100%);
}

.rs-about-page .rs-about-lifestyle > .wp-block-group__inner-container {
    max-width: 940px;
}

.rs-about-page .rs-about-lifestyle h2 {
    margin-top: 10px;
    margin-bottom: 20px;
    font-size: clamp(36px, 4.2vw, 50px);
    color: var(--rs-primary);
}

.rs-about-page .rs-about-lifestyle-lead {
    max-width: 800px;
    font-size: 21px;
    line-height: 1.6;
    color: #284b54;
}

.rs-about-page .rs-about-lifestyle p {
    max-width: 820px;
    line-height: 1.75;
}

.rs-about-page .rs-about-lifestyle-note {
    margin-top: 26px;
    padding-top: 20px;
    border-top: 1px solid rgba(23, 63, 74, 0.13);
    color: var(--rs-primary);
}

.rs-about-page .rs-about-final {
    background: var(--rs-hero-gradient);
}

@media (max-width: 1024px) {
    .rs-about-page .rs-about-values-grid {
        flex-wrap: wrap;
    }

    .rs-about-page .rs-about-values-grid > .wp-block-column {
        flex-basis: calc(50% - 10px) !important;
    }
}

@media (max-width: 781px) {
    .rs-about-page .rs-about-story-grid,
    .rs-about-page .rs-about-away-grid,
    .rs-about-page .rs-about-service-grid,
    .rs-about-page .rs-about-values-grid {
        gap: 16px;
    }

    .rs-about-page .rs-about-values-grid > .wp-block-column {
        flex-basis: 100% !important;
    }

    .rs-about-page .rs-about-service-card,
    .rs-about-page .rs-about-highlight,
    .rs-about-page .rs-about-away-card {
        padding: 24px 22px;
    }

    .rs-about-page .rs-about-story-figure {
        margin-bottom: 18px;
    }
}

/* RS ABOUT PAGE END */

/* =========================================================
   ABOUT PAGE — FINAL CANVAS CENTERING FIX
   ========================================================= */

.rs-about-page.alignfull {
    position: relative !important;

    left: 50% !important;

    width: min(
        1600px,
        calc(100vw - 96px)
    ) !important;

    max-width: none !important;

    margin-top: 0 !important;
    margin-right: 0 !important;
    margin-bottom: 0 !important;
    margin-left: 0 !important;

    transform: translateX(-50%) !important;
}


/* Gutenberg wrapper directly inside About page */
.rs-about-page
> .wp-block-group__inner-container {
    width: 100% !important;
    max-width: none !important;

    margin: 0 !important;
    padding: 0 !important;
}


/* Nested full-width sections must stay inside our canvas */
.rs-about-page .alignfull {
    width: 100% !important;
    max-width: 100% !important;

    margin-left: 0 !important;
    margin-right: 0 !important;
}


/* Medium desktop */
@media (max-width: 1440px) {

    .rs-about-page.alignfull {
        width: calc(100vw - 56px) !important;
    }

}


/* Tablet */
@media (max-width: 1024px) {

    .rs-about-page.alignfull {
        width: calc(100vw - 32px) !important;
    }

}


/* Mobile */
@media (max-width: 781px) {

    .rs-about-page.alignfull {
        width: calc(100vw - 16px) !important;
    }

}

/* RS ALTERNATIVE BEACH START */

.rs-alt-beach-page.alignfull {
    position: relative !important;
    left: 50% !important;
    width: min(1600px, calc(100vw - 96px)) !important;
    max-width: none !important;
    margin: 0 !important;
    transform: translateX(-50%) !important;
    color: var(--rs-text);
    background: #ffffff;
}

.rs-alt-beach-page > .wp-block-group__inner-container {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

.rs-alt-beach-page .alignfull {
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
}

.rs-alt-beach-page > .wp-block-group__inner-container > * {
    margin-block-start: 0 !important;
    margin-block-end: 0 !important;
}

.rs-alt-section {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}

.rs-alt-section > .wp-block-group__inner-container {
    width: 100%;
    max-width: 1360px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 48px;
    padding-right: 48px;
    box-sizing: border-box;
}

.rs-alt-hero {
    padding-top: clamp(64px, 7vw, 104px);
    padding-bottom: clamp(64px, 7vw, 104px);
    color: #ffffff;
    background: var(--rs-hero-gradient);
}

.rs-alt-hero-grid {
    align-items: center;
    gap: clamp(34px, 5vw, 72px);
}

.rs-alt-eyebrow {
    margin-bottom: 12px;
    color: #bfe5e7;
    font-size: 12px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.rs-alt-eyebrow-dark {
    color: var(--rs-accent);
}

.rs-alt-hero h1 {
    max-width: 720px;
    margin-top: 0;
    margin-bottom: 22px;
    color: #ffffff;
    font-size: clamp(42px, 5vw, 64px);
    line-height: 1.04;
}

.rs-alt-lead {
    max-width: 700px;
    margin-bottom: 16px;
    color: #ffffff;
    font-size: clamp(20px, 2vw, 24px);
    line-height: 1.55;
}

.rs-alt-hero p:not(.rs-alt-eyebrow):not(.rs-alt-lead) {
    max-width: 690px;
    color: rgba(255,255,255,0.88);
    line-height: 1.72;
}

.rs-alt-hero .wp-block-buttons {
    margin-top: 28px;
    gap: 12px;
}

.rs-alt-hero .wp-block-button__link {
    border-radius: 8px;
    font-weight: 700;
}

.rs-alt-hero .wp-block-button:not(.is-style-outline) .wp-block-button__link {
    background: #ffffff;
    color: var(--rs-primary);
}

.rs-alt-hero .is-style-outline .wp-block-button__link {
    border-color: rgba(255,255,255,0.55);
    color: #ffffff;
}

.rs-alt-hero-image {
    margin: 0;
}

.rs-alt-hero-image img {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    border-radius: 18px;
    box-shadow: 0 22px 48px rgba(0,0,0,0.18);
}

.rs-alt-intro,
.rs-alt-privacy,
.rs-alt-process {
    padding-top: clamp(68px, 7vw, 96px);
    padding-bottom: clamp(68px, 7vw, 96px);
    background: #ffffff;
}

.rs-alt-section-title {
    margin-top: 6px;
    margin-bottom: 18px;
    color: var(--rs-primary);
    font-size: clamp(34px, 4vw, 48px);
    line-height: 1.15;
}

.rs-alt-section-intro {
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    color: var(--rs-text);
    font-size: 18px;
    line-height: 1.7;
}

.rs-alt-intro-grid {
    max-width: 1040px;
    margin: 36px auto 0;
    gap: 32px;
}

.rs-alt-intro-grid p {
    margin-bottom: 0;
    line-height: 1.8;
}

.rs-alt-values {
    padding-top: clamp(68px, 7vw, 94px);
    padding-bottom: clamp(68px, 7vw, 94px);
    background: var(--rs-section);
}

.rs-alt-card-grid {
    align-items: stretch;
    margin-top: 34px;
    gap: 20px;
}

.rs-alt-card-grid-two {
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.rs-alt-card-grid > .wp-block-column {
    display: flex;
}

.rs-alt-card {
    width: 100%;
    padding: 28px;
    background: #ffffff;
    border: 1px solid rgba(23,63,74,0.09);
    border-radius: 16px;
    box-shadow: 0 10px 28px rgba(23,63,74,0.06);
}

.rs-alt-card h3 {
    margin-top: 0;
    margin-bottom: 12px;
    color: var(--rs-primary);
    font-size: 21px;
}

.rs-alt-card p {
    margin-bottom: 0;
    line-height: 1.65;
}

.rs-alt-facilities {
    padding-top: clamp(68px, 7vw, 96px);
    padding-bottom: clamp(68px, 7vw, 96px);
    background: linear-gradient(135deg, var(--rs-white) 0%, var(--rs-warm) 100%);
}

.rs-alt-facilities-grid {
    align-items: center;
    gap: clamp(36px, 5vw, 72px);
}

.rs-alt-facilities-image {
    margin: 0;
}

.rs-alt-facilities-image img {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: 18px;
    box-shadow: 0 18px 40px rgba(23,63,74,0.12);
}

.rs-alt-facilities h2 {
    margin-top: 8px;
    margin-bottom: 18px;
    color: var(--rs-primary);
    font-size: clamp(34px, 4vw, 48px);
    line-height: 1.15;
}

.rs-alt-facilities p {
    line-height: 1.75;
}

.rs-alt-facility-list,
.rs-alt-rules-list {
    list-style: none;
    margin: 24px 0 0;
    padding: 0;
}

.rs-alt-facility-list li,
.rs-alt-rules-list li {
    position: relative;
    padding: 10px 0 10px 28px;
    border-bottom: 1px solid rgba(23,63,74,0.08);
}

.rs-alt-facility-list li:last-child,
.rs-alt-rules-list li:last-child {
    border-bottom: 0;
}

.rs-alt-facility-list li::before,
.rs-alt-rules-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 10px;
    color: var(--rs-accent);
    font-weight: 700;
}

.rs-alt-etiquette {
    padding-top: clamp(68px, 7vw, 96px);
    padding-bottom: clamp(68px, 7vw, 96px);
    color: #ffffff;
    background: var(--rs-hero-gradient);
}

.rs-alt-etiquette-grid {
    align-items: center;
    gap: clamp(36px, 5vw, 72px);
}

.rs-alt-etiquette h2 {
    margin-top: 8px;
    margin-bottom: 18px;
    color: #ffffff;
    font-size: clamp(36px, 4.2vw, 50px);
    line-height: 1.12;
}

.rs-alt-etiquette-lead {
    color: #ffffff;
    font-size: 21px;
    line-height: 1.6;
}

.rs-alt-etiquette p:not(.rs-alt-eyebrow):not(.rs-alt-etiquette-lead) {
    color: rgba(255,255,255,0.88);
    line-height: 1.75;
}

.rs-alt-rules-card {
    padding: 28px 30px;
    background: rgba(255,255,255,0.97);
    border-radius: 18px;
    box-shadow: 0 18px 40px rgba(0,0,0,0.12);
}

.rs-alt-rules-card .rs-alt-rules-list {
    margin-top: 0;
    color: var(--rs-text);
}

.rs-alt-privacy {
    background: #ffffff;
}

.rs-alt-privacy-panel {
    max-width: 900px;
    margin: 34px auto 0;
    padding: 30px 34px;
    background: var(--rs-section);
    border-left: 4px solid var(--rs-accent);
    border-radius: 14px;
}

.rs-alt-privacy-panel p {
    line-height: 1.75;
}

.rs-alt-process {
    background: var(--rs-section);
}

.rs-alt-process-grid {
    align-items: stretch;
    margin-top: 34px;
    gap: 20px;
}

.rs-alt-process-grid-two {
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.rs-alt-process-grid > .wp-block-column {
    display: flex;
}

.rs-alt-step {
    width: 100%;
    padding: 26px;
    background: #ffffff;
    border: 1px solid rgba(23,63,74,0.09);
    border-radius: 16px;
}

.rs-alt-step-number {
    margin-bottom: 14px;
    color: var(--rs-accent);
    font-size: 13px;
    letter-spacing: 0.12em;
}

.rs-alt-step h3 {
    margin-top: 0;
    margin-bottom: 10px;
    color: var(--rs-primary);
    font-size: 21px;
}

.rs-alt-step p:last-child {
    margin-bottom: 0;
    line-height: 1.65;
}

.rs-alt-final {
    padding-top: clamp(72px, 8vw, 108px);
    padding-bottom: clamp(72px, 8vw, 108px);
    color: #ffffff;
    background: var(--rs-hero-gradient);
}

.rs-alt-final h2 {
    margin-top: 8px;
    margin-bottom: 18px;
    color: #ffffff;
    font-size: clamp(38px, 4.6vw, 54px);
}

.rs-alt-final-lead {
    max-width: 820px;
    margin-left: auto;
    margin-right: auto;
    color: #ffffff;
    font-size: 21px;
    line-height: 1.6;
}

.rs-alt-final p:not(.rs-alt-eyebrow):not(.rs-alt-final-lead) {
    max-width: 760px;
    margin-left: auto;
    margin-right: auto;
    color: rgba(255,255,255,0.86);
    line-height: 1.7;
}

@media (max-width: 1440px) {
    .rs-alt-beach-page.alignfull {
        width: calc(100vw - 56px) !important;
    }

    .rs-alt-section > .wp-block-group__inner-container {
        padding-left: 36px;
        padding-right: 36px;
    }
}

@media (max-width: 1024px) {
    .rs-alt-beach-page.alignfull {
        width: calc(100vw - 32px) !important;
    }

    .rs-alt-section > .wp-block-group__inner-container {
        padding-left: 28px;
        padding-right: 28px;
    }

    .rs-alt-hero-grid,
    .rs-alt-facilities-grid,
    .rs-alt-etiquette-grid {
        gap: 28px;
    }
}

@media (max-width: 781px) {
    .rs-alt-beach-page.alignfull {
        width: calc(100vw - 16px) !important;
    }

    .rs-alt-section > .wp-block-group__inner-container {
        padding-left: 20px;
        padding-right: 20px;
    }

    .rs-alt-hero-grid,
    .rs-alt-intro-grid,
    .rs-alt-card-grid,
    .rs-alt-facilities-grid,
    .rs-alt-etiquette-grid,
    .rs-alt-process-grid {
        gap: 16px;
    }

    .rs-alt-hero-image {
        margin-top: 12px;
    }

    .rs-alt-card,
    .rs-alt-step,
    .rs-alt-rules-card,
    .rs-alt-privacy-panel {
        padding: 23px 20px;
    }
}

/* RS ALTERNATIVE BEACH END */

/* =========================================================
   ALTERNATIVE BEACH — TOP WHITE STRIP FIX
   ========================================================= */

body:has(.rs-alt-beach-page) .content-area,
body:has(.rs-alt-beach-page) .site-main,
body:has(.rs-alt-beach-page) article,
body:has(.rs-alt-beach-page) .entry-content,
body:has(.rs-alt-beach-page) .entry-content > *:first-child {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

body:has(.rs-alt-beach-page) .entry-content > .wp-block-group:first-child,
body:has(.rs-alt-beach-page) .entry-content > .wp-block-cover:first-child,
body:has(.rs-alt-beach-page) .entry-content > .wp-block-columns:first-child {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

/* На случай, если Kadence добавляет внутренний отступ сверху */
body:has(.rs-alt-beach-page) .entry-content-wrap,
body:has(.rs-alt-beach-page) .site-container,
body:has(.rs-alt-beach-page) .content-container {
    padding-top: 0 !important;
    margin-top: 0 !important;
}

/* =========================================================
   ALTERNATIVE BEACH — BOTTOM WHITE STRIP FIX
   ========================================================= */

body:has(.rs-alt-beach-page) .content-area,
body:has(.rs-alt-beach-page) .site-main,
body:has(.rs-alt-beach-page) article,
body:has(.rs-alt-beach-page) .entry-content,
body:has(.rs-alt-beach-page) .entry-content-wrap {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}

body:has(.rs-alt-beach-page) .entry-content > *:last-child,
body:has(.rs-alt-beach-page) .entry-content > .wp-block-group:last-child {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}

/* RS CONTACT PAGE START */

.rs-contact-page.alignfull {
    position: relative !important;
    left: 50% !important;
    width: min(1600px, calc(100vw - 96px)) !important;
    max-width: none !important;
    margin: 0 !important;
    transform: translateX(-50%) !important;
    color: var(--rs-text);
    background: #ffffff;
}

.rs-contact-page > .wp-block-group__inner-container {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

.rs-contact-page .alignfull {
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
}

.rs-contact-page > .wp-block-group__inner-container > * {
    margin-block-start: 0 !important;
    margin-block-end: 0 !important;
}

.rs-contact-section {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}

.rs-contact-section > .wp-block-group__inner-container {
    width: 100%;
    max-width: 1360px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 48px;
    padding-right: 48px;
    box-sizing: border-box;
}

.rs-contact-hero {
    padding-top: clamp(72px, 8vw, 112px);
    padding-bottom: clamp(72px, 8vw, 112px);
    color: #ffffff;
    background: var(--rs-hero-gradient);
}

.rs-contact-eyebrow {
    margin-bottom: 12px;
    color: #bfe5e7;
    font-size: 12px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.rs-contact-eyebrow-dark {
    color: var(--rs-accent);
}

.rs-contact-hero h1 {
    max-width: 900px;
    margin-top: 0;
    margin-bottom: 22px;
    color: #ffffff;
    font-size: clamp(42px, 5vw, 64px);
    line-height: 1.04;
}

.rs-contact-lead {
    max-width: 900px;
    margin-bottom: 16px;
    color: #ffffff;
    font-size: clamp(20px, 2vw, 24px);
    line-height: 1.55;
}

.rs-contact-hero p:not(.rs-contact-eyebrow):not(.rs-contact-lead) {
    max-width: 820px;
    color: rgba(255,255,255,0.88);
    line-height: 1.72;
}

.rs-contact-channels,
.rs-contact-process {
    padding-top: clamp(68px, 7vw, 96px);
    padding-bottom: clamp(68px, 7vw, 96px);
    background: var(--rs-section);
}

.rs-contact-section-title {
    margin-top: 6px;
    margin-bottom: 18px;
    color: var(--rs-primary);
    font-size: clamp(34px, 4vw, 48px);
    line-height: 1.15;
}

.rs-contact-section-intro {
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    color: var(--rs-text);
    font-size: 18px;
    line-height: 1.7;
}

.rs-contact-card-grid {
    align-items: stretch;
    margin-top: 38px;
    gap: 22px;
}

.rs-contact-card-grid > .wp-block-column {
    display: flex;
}

.rs-contact-card {
    width: 100%;
    padding: 30px;
    background: #ffffff;
    border: 1px solid rgba(23,63,74,0.09);
    border-radius: 18px;
    box-shadow: 0 12px 30px rgba(23,63,74,0.06);
}

.rs-contact-card-featured {
    border-top: 4px solid var(--rs-accent);
}

.rs-contact-card-kicker {
    margin-bottom: 14px;
    color: var(--rs-accent);
    font-size: 12px;
    letter-spacing: 0.08em;
}

.rs-contact-card h3 {
    margin-top: 0;
    margin-bottom: 14px;
    color: var(--rs-primary);
    font-size: 28px;
}

.rs-contact-card p {
    line-height: 1.68;
}

.rs-contact-card-note {
    margin-top: 22px;
    color: var(--rs-text);
}

.rs-contact-status {
    display: inline-block;
    margin-top: 22px;
    margin-bottom: 0;
    padding: 9px 13px;
    color: var(--rs-accent);
    background: var(--rs-section);
    border-radius: 999px;
    font-size: 13px;
}

.rs-contact-prepare {
    padding-top: clamp(68px, 7vw, 96px);
    padding-bottom: clamp(68px, 7vw, 96px);
    background: linear-gradient(135deg, var(--rs-white) 0%, var(--rs-warm) 100%);
}

.rs-contact-prepare-grid {
    align-items: center;
    gap: clamp(36px, 5vw, 72px);
}

.rs-contact-prepare h2 {
    margin-top: 8px;
    margin-bottom: 18px;
    color: var(--rs-primary);
    font-size: clamp(34px, 4vw, 48px);
    line-height: 1.15;
}

.rs-contact-prepare p {
    line-height: 1.75;
}

.rs-contact-info-panel {
    padding: 30px 34px;
    background: rgba(255,255,255,0.94);
    border-radius: 18px;
    box-shadow: 0 14px 34px rgba(23,63,74,0.08);
}

.rs-contact-info-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.rs-contact-info-list li {
    position: relative;
    padding: 11px 0 11px 30px;
    border-bottom: 1px solid rgba(23,63,74,0.08);
}

.rs-contact-info-list li:last-child {
    border-bottom: 0;
}

.rs-contact-info-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 11px;
    color: var(--rs-accent);
    font-weight: 700;
}

.rs-contact-process-grid {
    align-items: stretch;
    margin-top: 38px;
    gap: 22px;
}

.rs-contact-process-grid > .wp-block-column {
    display: flex;
}

.rs-contact-step {
    width: 100%;
    padding: 28px;
    background: #ffffff;
    border: 1px solid rgba(23,63,74,0.09);
    border-radius: 16px;
}

.rs-contact-step-number {
    margin-bottom: 14px;
    color: var(--rs-accent);
    font-size: 13px;
    letter-spacing: 0.12em;
}

.rs-contact-step h3 {
    margin-top: 0;
    margin-bottom: 10px;
    color: var(--rs-primary);
    font-size: 22px;
}

.rs-contact-step p:last-child {
    margin-bottom: 0;
    line-height: 1.65;
}

.rs-contact-location {
    padding-top: clamp(72px, 8vw, 108px);
    padding-bottom: clamp(72px, 8vw, 108px);
    color: #ffffff;
    background: var(--rs-hero-gradient);
}

.rs-contact-location h2 {
    margin-top: 8px;
    margin-bottom: 18px;
    color: #ffffff;
    font-size: clamp(38px, 4.6vw, 54px);
}

.rs-contact-location-lead {
    max-width: 820px;
    margin-left: auto;
    margin-right: auto;
    color: #ffffff;
    font-size: 21px;
    line-height: 1.6;
}

.rs-contact-location p:not(.rs-contact-eyebrow):not(.rs-contact-location-lead) {
    max-width: 760px;
    margin-left: auto;
    margin-right: auto;
    color: rgba(255,255,255,0.86);
    line-height: 1.7;
}

@media (max-width: 1440px) {
    .rs-contact-page.alignfull {
        width: calc(100vw - 56px) !important;
    }

    .rs-contact-section > .wp-block-group__inner-container {
        padding-left: 36px;
        padding-right: 36px;
    }
}

@media (max-width: 1024px) {
    .rs-contact-page.alignfull {
        width: calc(100vw - 32px) !important;
    }

    .rs-contact-section > .wp-block-group__inner-container {
        padding-left: 28px;
        padding-right: 28px;
    }

    .rs-contact-prepare-grid {
        gap: 28px;
    }
}

@media (max-width: 781px) {
    .rs-contact-page.alignfull {
        width: calc(100vw - 16px) !important;
    }

    .rs-contact-section > .wp-block-group__inner-container {
        padding-left: 20px;
        padding-right: 20px;
    }

    .rs-contact-card-grid,
    .rs-contact-prepare-grid,
    .rs-contact-process-grid {
        gap: 16px;
    }

    .rs-contact-card,
    .rs-contact-step,
    .rs-contact-info-panel {
        padding: 23px 20px;
    }
}

/* RS CONTACT PAGE END */

/* =========================================================
   CONTACT PAGE — TOP / BOTTOM WHITE STRIP FIX
   ========================================================= */

body:has(.rs-contact-page) .content-area,
body:has(.rs-contact-page) .site-main,
body:has(.rs-contact-page) article,
body:has(.rs-contact-page) .entry-content,
body:has(.rs-contact-page) .entry-content-wrap {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

body:has(.rs-contact-page) .entry-content > *:first-child,
body:has(.rs-contact-page) .entry-content > *:last-child,
body:has(.rs-contact-page) .entry-content > .wp-block-group:first-child,
body:has(.rs-contact-page) .entry-content > .wp-block-group:last-child {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

body:has(.rs-contact-page) .site-container,
body:has(.rs-contact-page) .content-container {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}


/* =========================================================
   RS ESTATEMENT FOOTER — FINAL
   ========================================================= */

/* Unused Kadence top row */
.site-footer .site-top-footer-wrap {
    display: none !important;
}

/* Remove Kadence widget decoration */
.site-footer .widget-title,
.site-footer .widgettitle,
.site-footer .footer-widget-area .widget-title {
    display: none !important;
}

.site-footer,
.site-footer-wrap,
.site-footer .site-footer-row-container,
.site-footer .site-footer-row-container-inner,
.site-footer .site-footer-row,
.site-footer .site-footer-section,
.site-footer .footer-widget-area,
.site-footer .widget-area,
.site-footer .widget {
    border: 0 !important;
    box-shadow: none !important;
}

.site-footer .site-footer-row-container-inner,
.site-footer .site-footer-row,
.site-footer .site-footer-section,
.site-footer .footer-widget-area,
.site-footer .widget-area,
.site-footer .widget,
.site-footer .widget:has(.rs-footer-grid),
.site-footer .widget:has(.rs-footer-grid) > *,
.site-footer .widget:has(.rs-footer-grid) .textwidget {
    background: transparent !important;
}

/* Hide any obsolete widget left in the middle footer area */
.site-footer
.site-middle-footer-wrap
.footer-widget-area-inner
> .widget:not(:has(.rs-footer-grid)) {
    display: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* Remove Kadence spacing around the real footer widget */
.site-footer .site-middle-footer-wrap .footer-widget-area,
.site-footer .site-middle-footer-wrap .widget-area,
.site-footer .site-middle-footer-wrap .widget,
.site-footer .site-middle-footer-wrap .textwidget {
    margin: 0 !important;
    padding: 0 !important;
    min-height: 0 !important;
    border: 0 !important;
    box-shadow: none !important;
}

.site-footer .site-middle-footer-wrap .site-footer-row,
.site-footer .site-middle-footer-wrap .site-footer-section {
    margin: 0 !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    min-height: 0 !important;
}

/* Main footer */
.site-footer .site-middle-footer-wrap {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    background: var(--rs-section) !important;
    border-top: 1px solid rgba(51, 65, 85, 0.12) !important;
}

.site-footer .site-middle-footer-wrap .site-container {
    width: 100% !important;
    max-width: 1360px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding-left: 48px !important;
    padding-right: 48px !important;
    background: transparent !important;
    box-sizing: border-box;
}

/* Four-column footer grid */
.site-footer .rs-footer-grid {
    display: grid !important;
    grid-template-columns: 1.4fr .9fr 1.2fr .9fr;
    gap: 34px 52px;
    width: 100% !important;
    margin: 0 !important;
    padding: 30px 0 32px !important;
    background: transparent !important;
    text-align: left !important;
}

/* Brand column */
.site-footer .rs-footer-brand {
    color: var(--rs-text) !important;
    font-size: 15px;
    line-height: 1.65;
    text-align: left !important;
}

.site-footer .rs-footer-brand h3 {
    margin: 0 0 14px !important;
    color: var(--rs-primary) !important;
    font-size: 21px !important;
    font-weight: 700 !important;
    line-height: 1.2 !important;
    letter-spacing: .02em;
    text-align: left !important;
}

.site-footer .rs-footer-tagline {
    margin: 0 0 12px !important;
    color: var(--rs-text) !important;
    font-weight: 600;
}

.site-footer .rs-footer-brand p {
    margin-top: 0;
}

.site-footer .rs-footer-brand p:last-child {
    margin-bottom: 0 !important;
}

/* Navigation columns */
.site-footer .rs-footer-column {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left !important;
}

.site-footer .rs-footer-column h4 {
    margin: 2px 0 16px !important;
    color: var(--rs-primary) !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    line-height: 1.3 !important;
    letter-spacing: .10em;
    text-transform: uppercase;
    text-align: left !important;
}

.site-footer .rs-footer-column a {
    display: block;
    margin: 0 0 9px;
    color: var(--rs-text) !important;
    font-size: 15px;
    line-height: 1.45;
    text-decoration: none !important;
    transition: color .2s ease;
}

.site-footer .rs-footer-column a:hover {
    color: var(--rs-accent) !important;
}

/* Compact copyright row */
.site-footer .site-bottom-footer-wrap {
    width: 100% !important;
    max-width: none !important;
    min-height: 46px !important;
    margin: 0 !important;
    padding: 0 !important;
    background: var(--rs-white) !important;
    border-top: 1px solid rgba(51, 65, 85, 0.12) !important;
    color: var(--rs-text) !important;
}

.site-footer .site-bottom-footer-wrap .site-container {
    max-width: 1360px !important;
    min-height: 46px !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

.site-footer .site-bottom-footer-wrap .site-footer-row {
    min-height: 46px !important;
    margin: 0 !important;
    padding: 0 !important;
}

.site-footer .site-bottom-footer-wrap .site-footer-section {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-height: 46px !important;
    margin: 0 !important;
    padding: 0 !important;
}

.site-footer .site-bottom-footer-wrap .site-info-inner {
    margin: 0 !important;
    padding: 0 !important;
    line-height: 1.3 !important;
}

.site-footer .site-bottom-footer-wrap,
.site-footer .site-bottom-footer-wrap a {
    color: var(--rs-text) !important;
    font-size: 13px;
}

.site-footer .site-bottom-footer-wrap a:hover {
    color: var(--rs-accent) !important;
}

@media (max-width: 1024px) {
    .site-footer .site-middle-footer-wrap .site-container {
        padding-left: 32px !important;
        padding-right: 32px !important;
    }

    .site-footer .rs-footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 30px 44px;
    }
}

@media (max-width: 640px) {
    .site-footer .site-middle-footer-wrap .site-container {
        padding-left: 22px !important;
        padding-right: 22px !important;
    }

    .site-footer .rs-footer-grid {
        grid-template-columns: 1fr;
        gap: 26px;
    }
}

/* RS FOOTER LANGUAGE SWITCH START */

/* =========================================================
   FOOTER — LANGUAGE SWITCH
   ========================================================= */

.site-footer .rs-footer-lang {
    display: none !important;
}

html[lang^="en"] .site-footer .rs-footer-lang-en {
    display: block !important;
}

html[lang^="ru"] .site-footer .rs-footer-lang-ru {
    display: block !important;
}

html[lang^="de"] .site-footer .rs-footer-lang-de {
    display: block !important;
}

/* RS FOOTER LANGUAGE SWITCH END */

/* RS HEADER LANGUAGE SWITCHER START */

/* =========================================================
   HEADER — POLYLANG LANGUAGE DROPDOWN
   ========================================================= */

.site-header .pll-parent-menu-item {
    margin-left: 10px;
}

.site-header .pll-parent-menu-item > a {
    font-size: 13px !important;
    font-weight: 700 !important;
    letter-spacing: .05em;
    text-transform: uppercase;
}

/* Compact language dropdown */
.site-header .pll-parent-menu-item > .sub-menu {
    min-width: 92px !important;
    width: auto !important;
}

.site-header .pll-parent-menu-item .lang-item > a {
    min-width: 92px;
    padding: 9px 14px !important;

    font-size: 13px !important;
    font-weight: 700 !important;
    line-height: 1.35 !important;

    letter-spacing: .05em;
    text-transform: uppercase;
    white-space: nowrap;
}

/* Do not apply the old horizontal language spacing */
.site-header .lang-item-first {
    margin-left: 0 !important;
}

/* RS HEADER LANGUAGE SWITCHER END */

/* RS PRIVACY POLICY START */

/* =========================================================
   PRIVACY POLICY
   ========================================================= */

#primary.content-area:has(.rs-legal-page),
body:has(.rs-legal-page) #primary,
body:has(.rs-legal-page) #main,
body:has(.rs-legal-page) .content-container,
body:has(.rs-legal-page) .entry-content-wrap,
body:has(.rs-legal-page) .entry-content {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

.rs-legal-page.alignfull {
    position: relative !important;
    left: 50% !important;

    width: min(1600px, calc(100vw - 96px)) !important;
    max-width: none !important;

    margin: 0 !important;

    transform: translateX(-50%) !important;

    color: var(--rs-text);
    background: var(--rs-section);
}

.rs-legal-page > .wp-block-group__inner-container {
    width: 100% !important;
    max-width: none !important;

    margin: 0 !important;
    padding: 0 !important;
}

.rs-legal-section {
    margin: 0 !important;
}

.rs-legal-section > .wp-block-group__inner-container {
    width: 100%;
    max-width: 1040px;

    margin-left: auto;
    margin-right: auto;

    padding-left: 48px;
    padding-right: 48px;

    box-sizing: border-box;
}

.rs-legal-hero {
    padding-top: clamp(72px, 8vw, 112px);
    padding-bottom: clamp(64px, 7vw, 96px);

    color: #ffffff;

    background: var(--rs-hero-gradient);
}

.rs-legal-eyebrow {
    margin-bottom: 12px;

    color: #bfe5e7;

    font-size: 12px;
    font-weight: 700;
    letter-spacing: .14em;

    text-transform: uppercase;
}

.rs-legal-hero h1 {
    margin-top: 0;
    margin-bottom: 22px;

    color: #ffffff;

    font-size: clamp(44px, 5vw, 66px);
    line-height: 1.04;
}

.rs-legal-lead {
    max-width: 820px;

    margin-bottom: 18px;

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

    font-size: clamp(19px, 2vw, 23px);
    line-height: 1.55;
}

.rs-legal-updated {
    margin-bottom: 0;

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

    font-size: 14px;
}

.rs-legal-body {
    padding-top: 64px;
    padding-bottom: 82px;

    background: var(--rs-section);
}

.rs-legal-copy {
    max-width: 920px;

    margin-left: auto;
    margin-right: auto;

    padding: 48px 56px;

    background: #ffffff;

    border: 1px solid rgba(23,63,74,.08);
    border-radius: 18px;

    box-shadow: 0 14px 40px rgba(23,63,74,.06);
}

.rs-legal-copy > p:first-child {
    margin-top: 0;
}

.rs-legal-copy p,
.rs-legal-copy li {
    color: var(--rs-text);

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

.rs-legal-copy h2 {
    margin-top: 46px;
    margin-bottom: 18px;

    color: var(--rs-primary);

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

.rs-legal-copy .rs-legal-block:first-of-type h2 {
    margin-top: 38px;
}

.rs-legal-copy ul {
    margin-top: 16px;
    margin-bottom: 24px;
}

.rs-legal-copy li + li {
    margin-top: 7px;
}

.rs-legal-copy a {
    color: var(--rs-accent);

    text-decoration: underline;
    text-underline-offset: 3px;
}

.rs-legal-copy a:hover {
    color: var(--rs-primary);
}

.rs-legal-block {
    scroll-margin-top: 100px;
}

@media (max-width: 781px) {

    .rs-legal-page.alignfull {
        width: calc(100vw - 16px) !important;
    }

    .rs-legal-section > .wp-block-group__inner-container {
        padding-left: 20px;
        padding-right: 20px;
    }

    .rs-legal-hero {
        padding-top: 62px;
        padding-bottom: 62px;
    }

    .rs-legal-body {
        padding-top: 28px;
        padding-bottom: 40px;
    }

    .rs-legal-copy {
        padding: 30px 22px;

        border-radius: 14px;
    }

    .rs-legal-copy h2 {
        margin-top: 38px;

        font-size: 24px;
    }
}

/* RS PRIVACY POLICY END */


/* RS ALTERNATIVE BEACH OPENING START */
/* Additions for the supplied Gutenberg page. All rules stay inside this page. */
.rs-alt-beach-page .rsab-gallery-section,
.rs-alt-beach-page .rsab-documents-section,
.rs-alt-beach-page .rsab-opening-section {
    padding: clamp(48px, 6vw, 84px) clamp(20px, 4vw, 48px);
    background: #fff;
    scroll-margin-top: 110px;
}
.rs-alt-beach-page .rsab-documents-section { background: var(--rs-section, #eff8fc); }
.rs-alt-beach-page .rsab-gallery-section > *,
.rs-alt-beach-page .rsab-documents-section > *,
.rs-alt-beach-page .rsab-opening-section > * { max-width: 1280px; margin-left: auto; margin-right: auto; }
.rs-alt-beach-page .rsab-gallery-section > .wp-block-group__inner-container,
.rs-alt-beach-page .rsab-documents-section > .wp-block-group__inner-container,
.rs-alt-beach-page .rsab-opening-section > .wp-block-group__inner-container { padding-left: 0; padding-right: 0; max-width: 1280px; }
.rs-alt-beach-page .rsab-gallery-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; margin-top: 34px; }
.rs-alt-beach-page .rsab-gallery-card { min-width: 0; margin: 0; }
.rs-alt-beach-page .rsab-gallery-link { display: block; aspect-ratio: 4 / 3; overflow: hidden; border-radius: 14px; background: var(--rs-section); cursor: zoom-in; }
.rs-alt-beach-page .rsab-gallery-link img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .2s ease; }
.rs-alt-beach-page .rsab-gallery-link:hover img { transform: scale(1.03); }
.rs-alt-beach-page .rsab-gallery-card figcaption { margin-top: 12px; font-size: 14px; line-height: 1.5; color: var(--rs-text); }
.rs-alt-beach-page .rsab-small { font-size: 13px; line-height: 1.65; color: var(--rs-text); }
.rs-alt-beach-page .rsab-gallery-section > .rsab-small { margin-top: 25px; }
.rs-alt-beach-page .rs-alt-hero-image figcaption,
.rs-alt-beach-page .rs-alt-facilities-image figcaption { margin-top: 12px; font-size: 12px; line-height: 1.6; text-align: left; }
.rs-alt-beach-page .rs-alt-hero-image figcaption { color: #fff; }
.rs-alt-beach-page .rsab-document-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 26px; margin-top: 28px; }
.rs-alt-beach-page .rsab-doc-card { min-width: 0; padding: 28px; background: #fff; border: 1px solid var(--rs-border); border-radius: 18px; }
.rs-alt-beach-page .rsab-doc-card h3 { margin: 0 0 14px; color: var(--rs-primary); font-size: 24px; line-height: 1.25; }
.rs-alt-beach-page .rsab-doc-card p { font-size: 15px; line-height: 1.65; }
.rs-alt-beach-page .rsab-table-wrap { overflow-x: auto; }
.rs-alt-beach-page .rsab-doc-card table { width: 100%; border-collapse: collapse; font-size: 13px; line-height: 1.5; margin: 14px 0; }
.rs-alt-beach-page .rsab-doc-card th,
.rs-alt-beach-page .rsab-doc-card td { border: 0; border-bottom: 1px solid var(--rs-border); padding: 9px 6px; text-align: left; vertical-align: top; }
.rs-alt-beach-page .rsab-doc-card tbody th { white-space: nowrap; font-weight: 500; }
.rs-alt-beach-page .rsab-map-link { display: block; border: 1px solid var(--rs-border); border-radius: 10px; overflow: hidden; }
.rs-alt-beach-page .rsab-map-link img { display: block; width: 100%; height: auto; }
.rs-alt-beach-page .rsab-document-link { display: inline-block; margin-top: 12px; color: var(--rs-primary); font-size: 14px; font-weight: 700; text-underline-offset: 3px; }
.rs-alt-beach-page .rsab-opening-grid { display: flex; gap: 40px; align-items: flex-start; }
.rs-alt-beach-page .rsab-opening-grid > .wp-block-column { flex: 1 1 0; min-width: 0; }
.rs-alt-beach-page .rsab-opening-section h2 { margin-top: 0; color: var(--rs-primary); line-height: 1.2; font-size: clamp(28px, 3vw, 38px); }
.rs-alt-beach-page .rsab-faq details { border-bottom: 1px solid var(--rs-border); padding: 18px 0; }
.rs-alt-beach-page .rsab-faq summary { cursor: pointer; font-weight: 700; line-height: 1.6; }
.rs-alt-beach-page .rsab-faq details p { font-size: 15px; line-height: 1.7; margin-bottom: 0; }
.rs-alt-beach-page .rsab-opening { padding: 30px; border: 1px solid var(--rs-border); border-radius: 18px; background: var(--rs-section); color: var(--rs-text); }
.rs-alt-beach-page .rsab-opening * { box-sizing: border-box; }
.rs-alt-beach-page .rsab-opening h2 { font-size: clamp(25px, 2.6vw, 32px); margin: 0 0 14px; }
.rs-alt-beach-page .rsab-form-intro { font-size: 15px; line-height: 1.7; margin: 0 0 22px; }
.rs-alt-beach-page .rsab-fields { display: grid; gap: 18px; }
.rs-alt-beach-page .rsab-fields label { display: block; margin: 0; font-size: 14px; font-weight: 700; line-height: 1.6; }
.rs-alt-beach-page .rsab-fields label > .wpcf7-form-control-wrap { display: block; }
.rs-alt-beach-page .rsab-fields p { margin: 0; }
.rs-alt-beach-page .rsab-opening input[type="text"],
.rs-alt-beach-page .rsab-opening input[type="tel"],
.rs-alt-beach-page .rsab-opening input[type="email"] {
    display: block; width: 100%; min-width: 0; max-width: 100%; margin-top: 7px;
    padding: 12px 14px; border: 1px solid #8092a4; border-radius: 8px;
    background: #fff; color: var(--rs-text); font: inherit; font-size: 16px; box-shadow: none;
}
.rs-alt-beach-page .rsab-opening input::placeholder { color: #566477; opacity: 1; }
.rs-alt-beach-page .rsab-consent { margin: 22px 0; font-size: 13px; line-height: 1.65; }
.rs-alt-beach-page .rsab-consent label { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; }
.rs-alt-beach-page .rsab-consent .wpcf7-list-item { margin: 0; }
.rs-alt-beach-page .rsab-consent input[type="checkbox"] { flex: 0 0 18px; width: 18px; height: 18px; margin: 3px 0 0; accent-color: var(--rs-primary); }
.rs-alt-beach-page .rsab-opening a { color: #005b8c; text-underline-offset: 3px; }
.rs-alt-beach-page .rsab-opening .rsab-submit {
    width: 100%; border: 0; border-radius: 8px; padding: 15px 22px;
    background: var(--rs-primary, #0077b6); color: #fff; font: inherit; font-weight: 700;
    white-space: normal; overflow-wrap: anywhere; cursor: pointer;
}
.rs-alt-beach-page .rsab-opening .rsab-submit:hover { background: #005b8c; }
.rs-alt-beach-page .rsab-opening .rsab-submit:disabled { opacity: .65; cursor: wait; }
.rs-alt-beach-page .rsab-form-note { margin: 14px 0 0; font-size: 12px; line-height: 1.65; }
.rs-alt-beach-page .rsab-opening .wpcf7-not-valid-tip { margin-top: 5px; font-size: 13px; }
.rs-alt-beach-page .rsab-opening-grid .wpcf7-response-output { margin: 18px 0 0; padding: 12px; border-radius: 8px; font-size: 14px; line-height: 1.6; }
.rs-alt-beach-page .rsab-gallery-section :focus-visible,
.rs-alt-beach-page .rsab-documents-section :focus-visible,
.rs-alt-beach-page .rsab-opening-section :focus-visible { outline: 3px solid #b36e00; outline-offset: 4px; }
.rs-alt-beach-page .rs-alt-final .wp-block-button__link { background: #fff; color: var(--rs-primary); border-radius: 8px; font-weight: 700; }
@media (max-width: 1024px) {
    .rs-alt-beach-page .rsab-gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .rs-alt-beach-page .rsab-opening-grid { gap: 24px; }
}
@media (max-width: 781px) {
    .rs-alt-beach-page .rsab-document-grid { grid-template-columns: minmax(0, 1fr); }
    .rs-alt-beach-page .rsab-opening-grid { flex-direction: column; }
    .rs-alt-beach-page .rsab-opening-grid > .wp-block-column { width: 100%; flex-basis: auto; }
    .rs-alt-beach-page .rsab-doc-card,
    .rs-alt-beach-page .rsab-opening { padding: 24px 20px; }
}
@media (max-width: 460px) {
    .rs-alt-beach-page .rsab-gallery-grid { grid-template-columns: minmax(0, 1fr); }
    .rs-alt-beach-page .rsab-doc-card table { font-size: 12px; }
    .rs-alt-beach-page .rs-alt-hero h1 { font-size: 36px; }
}
@media (prefers-reduced-motion: reduce) {
    .rs-alt-beach-page .rsab-gallery-link img { transition: none; }
    .rs-alt-beach-page .rsab-gallery-link:hover img { transform: none; }
}
/* RS ALTERNATIVE BEACH OPENING END */
