/*------------------------------------------------------------------
  RainScape — single-page overrides
  Loaded after assets/sass/style.css (PlumMet template by wpOceans).
  The template's own components carry the design (header-style-1,
  .wpo-hero-slider, .plummet-about-section, .service-wrap .single-card,
  .wpo-section-title, .theme-btn, .wpo-site-footer); this file only
  adapts them for a single-page consultancy site.
-------------------------------------------------------------------*/

/* Nunito, self-hosted (SIL OFL 1.1, assets/fonts/nunito/OFL.txt); variable 400–800 */
@font-face {
    font-family: "Nunito";
    font-style: normal;
    font-weight: 300 800;
    font-display: swap;
    src: url("../fonts/nunito/nunito-latin-ext.woff2") format("woff2");
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
    font-family: "Nunito";
    font-style: normal;
    font-weight: 300 800;
    font-display: swap;
    src: url("../fonts/nunito/nunito-latin.woff2") format("woff2");
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
    /* Brand */
    --rs-blue: #0083D5;           /* RainScape primary: fills, icons, borders, large text (4.0:1 on white) */
    --rs-blue-700: #006FB5;       /* same hue, AA for small text and text-bearing fills (5.3:1 on white) */
    --rs-blue-800: #005A94;       /* hover/pressed */
    --rs-green: #4EAB24;          /* RainScape secondary: decorative accents; text only on dark (6.0:1 on #121A22) */
    --rs-green-700: #367A16;      /* AA green for small text on white (5.3:1) */

    /* Neutrals (template values) */
    --rs-ink: #121A22;            /* template $dark-gray */
    --rs-text: #71777D;           /* template $text-light-color */
    --rs-text-strong: #4F5861;
    --rs-cyan: #F3F9FF;           /* template $cyan */
    --rs-border: #E3EAF1;         /* template $border-color */


    /* Typography (template font: Nunito; html is 15px in the template, so sizes are px-based) */
    --rs-font: "Nunito", sans-serif;
    --rs-fs-h1: clamp(34px, 26px + 1.6vw, 52px);
    --rs-fs-h2: clamp(28px, 22px + 1.1vw, 40px);
    --rs-fs-h3: clamp(20px, 17.5px + .4vw, 23px);
    --rs-fs-h4: 14px;
    --rs-fs-lead: clamp(16px, 15px + .3vw, 18px);
    --rs-fs-body: clamp(16px, 15.4px + .2vw, 17px);
    --rs-fs-small: 16px;
    --rs-fs-label: clamp(14px, 13.4px + .15vw, 15px);
    --rs-lh-body: 1.75;

    /* Spacing */
    --rs-section-y: clamp(72px, 50px + 4.5vw, 120px);
    --rs-title-gap: clamp(36px, 26px + 2vw, 60px);
    --rs-radius: 5px;

    /* Motion */
    --rs-header-h: 84px;          /* updated from the real header height in rainscape.js */
    --rs-ease: cubic-bezier(.2, .7, .2, 1);
    --rs-dur: .2s;                /* hover / focus feedback */
    --rs-reveal-dur: .55s;        /* entrance reveals */
    --rs-reveal-y: 16px;
    --rs-stagger: 70ms;
    --rs-shadow: 0 14px 34px rgba(18, 26, 34, .08);
}

/* ---------- Base ---------- */
html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--rs-header-h);
}

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

/* Template sets overflow:hidden here, which disables position:sticky */
.page-wrapper {
    overflow: visible;
    overflow-x: clip;
}

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

address { margin: 0; font-style: normal; }

/* Focus: outline (not box-shadow) so component shadows can't override it */
a:focus-visible,
button:focus-visible,
summary:focus-visible,
.wpo-site-header .mobail-menu button:focus-visible {
    outline: 3px solid var(--rs-blue);
    outline-offset: 3px;
    border-radius: 4px;
}

/* On blue surfaces the ring is white */
.wpo-site-header #navbar a:focus-visible,
.wpo-site-header #navbar button:focus-visible,
.rs-footer .wpo-lower-footer a:focus-visible,
.skip-link:focus-visible { outline-color: #fff; }

.wpo-site-header .mobail-menu button:focus-visible { outline-color: var(--rs-blue-800); }

::selection { background: var(--rs-blue); color: #fff; }

.skip-link {
    position: absolute;
    left: 16px;
    top: -60px;
    z-index: 100000;
    background: var(--rs-blue-700);
    color: #fff;
    padding: 10px 18px;
    border-radius: var(--rs-radius);
    font-weight: 700;
}

.skip-link:focus { top: 12px; color: #fff; }

/* ---------- Typography system ---------- */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--rs-font);
    color: var(--rs-ink);
    overflow-wrap: break-word;
}

h1 { font-size: var(--rs-fs-h1); line-height: 1.18; font-weight: 700; }
h2 { font-size: var(--rs-fs-h2); line-height: 1.25; font-weight: 700; }
h3 { font-size: var(--rs-fs-h3); line-height: 1.38; font-weight: 700; }
h4 { font-size: var(--rs-fs-h4); line-height: 1.4; }
h5, h6 { font-size: var(--rs-fs-small); line-height: 1.4; }

main p {
    font-size: var(--rs-fs-body);
    line-height: var(--rs-lh-body);
    color: var(--rs-text);
}

.section-padding { padding: var(--rs-section-y) 0; }

/* Section headings: one size for every H2 */
.wpo-section-title { margin-bottom: var(--rs-title-gap); }

.wpo-section-title h2,
.about-right-wrap h2 {
    font-size: var(--rs-fs-h2);
    line-height: 1.25;
    font-weight: 700;
    color: var(--rs-ink);
}

.wpo-section-title h2 { margin-top: 16px; }

/* ---------- Motion ----------
   Reveals: once per element, opacity + transform only. Content is visible without JS;
   with JS, rainscape.js sets --rs-i (order within the batch entering together) for the stagger
   and adds .rs-done afterwards so hover transitions use the short hover timing. */
.js .rs-reveal {
    opacity: 0;
    transform: translateY(var(--rs-reveal-y));
    transition:
        opacity var(--rs-reveal-dur) var(--rs-ease) calc(var(--rs-i, 0) * var(--rs-stagger)),
        transform var(--rs-reveal-dur) var(--rs-ease) calc(var(--rs-i, 0) * var(--rs-stagger)),
        border-color var(--rs-dur), box-shadow var(--rs-dur);
}

.js .rs-reveal.is-visible { opacity: 1; transform: none; }

.js .rs-reveal.rs-done {
    transition: border-color var(--rs-dur), box-shadow var(--rs-dur), transform var(--rs-dur) var(--rs-ease);
}

/* Failsafe: if rainscape.js never runs (.rs-ready missing), show everything after 2.5s */
.js:not(.rs-ready) .rs-reveal { animation: rs-show .01s 2.5s forwards; }

@keyframes rs-show { to { opacity: 1; transform: none; } }

@keyframes rs-rise {
    from { opacity: .01; transform: translateY(var(--rs-reveal-y)); }
}

@keyframes rs-fade { from { opacity: 0; } }

/* Shorter, simpler motion on mobile */
@media (max-width: 767px) {
    :root { --rs-reveal-dur: .4s; --rs-reveal-y: 10px; --rs-stagger: 50ms; }
}

@media (prefers-reduced-motion: reduce) {
    .js .rs-reveal { opacity: 1; transform: none; }
}

@media print {
    .js .rs-reveal { opacity: 1 !important; transform: none !important; }
}

/* ---------- Buttons (template .theme-btn) ---------- */
.theme-btn {
    background: var(--rs-blue-700);
    font-size: 16px;
    font-weight: 700;
    line-height: 1.4;
    transition: background-color var(--rs-dur), color var(--rs-dur), box-shadow var(--rs-dur), transform var(--rs-dur) var(--rs-ease);
}

.theme-btn:after { background: var(--rs-blue-800); transition: opacity var(--rs-dur) ease-out; }

.theme-btn:hover,
.theme-btn:focus,
.theme-btn:active {
    background: var(--rs-blue-800);
    color: #fff;
}

.theme-btn:hover { box-shadow: 0 8px 20px rgba(0, 131, 213, .25); transform: translateY(-1px); }

@media (max-width: 767px) {
    .theme-btn { padding: 14px 24px; }
}

.theme-btn.rs-btn-outline {
    background: transparent;
    color: var(--rs-blue-700);
    box-shadow: inset 0 0 0 1.5px var(--rs-blue);
}

.theme-btn.rs-btn-outline:after { background: var(--rs-blue-700); }

.theme-btn.rs-btn-outline:hover,
.theme-btn.rs-btn-outline:focus { color: #fff; }

.theme-btn.rs-btn-outline:hover { box-shadow: inset 0 0 0 1.5px var(--rs-blue-700), 0 8px 20px rgba(0, 131, 213, .2); }

/* Template .wpo-section-title span style, reused for small labels: blue text, green dot */
.wpo-section-title span,
.rs-kicker,
.rs-eyebrow {
    color: var(--rs-blue-700);
    font-size: var(--rs-fs-label);
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.rs-kicker,
.rs-eyebrow {
    position: relative;
    display: inline-block;
    padding-left: 14px;
    margin-bottom: 18px;
    line-height: 1.5;
}

.wpo-section-title span { padding-left: 14px; }

.rs-kicker::before,
.rs-eyebrow::before {
    position: absolute;
    left: 0;
    top: .75em;
    content: "";
    width: 6px;
    height: 6px;
    border-radius: 100px;
    background: var(--rs-green);
    transform: translateY(-50%);
}

.wpo-section-title span::before { width: 6px; height: 6px; background: var(--rs-green); }

.rs-title-left { text-align: left; margin-bottom: 28px; }

/* ---------- Header (template header-style-1, made sticky) ---------- */
.rs-header {
    position: sticky;
    top: 0;
    z-index: 1000;
}

.rs-header .wpo-site-header { transition: box-shadow var(--rs-dur); }

.rs-header.is-scrolled .wpo-site-header { box-shadow: 0 4px 16px rgba(18, 26, 34, .06); }

.rs-header .row { flex-wrap: nowrap; }

.wpo-site-header #navbar > ul li a { transition: color var(--rs-dur); }

.wpo-site-header #navbar > ul li a:hover,
.wpo-site-header #navbar > ul li a:focus { color: var(--rs-blue-700); }

.wpo-site-header .header-right .theme-btn { color: var(--rs-blue-700); }
.wpo-site-header .header-right .theme-btn:hover,
.wpo-site-header .header-right .theme-btn:focus { color: #fff; }

@media (min-width: 992px) {
    .wpo-site-header #navbar > ul {
        margin-left: auto;
        margin-right: auto;
    }

    .wpo-site-header #navbar > ul > li > a {
        position: relative;
        white-space: nowrap;
    }

    /* Active-section indicator */
    .wpo-site-header #navbar > ul > li > a::after {
        content: "";
        position: absolute;
        left: 50%;
        bottom: 20px;
        width: 18px;
        height: 2px;
        border-radius: 2px;
        background: var(--rs-blue);
        transform: translateX(-50%) scaleX(0);
        transition: transform var(--rs-dur) var(--rs-ease);
    }

    .wpo-site-header #navbar > ul > li > a:hover { text-decoration: none; }
    .wpo-site-header #navbar > ul > li > a:hover::after { transform: translateX(-50%) scaleX(.6); }
    .wpo-site-header #navbar > ul > li > a[aria-current="true"] { color: var(--rs-blue-700); }
    .wpo-site-header #navbar > ul > li > a[aria-current="true"]::after { transform: translateX(-50%) scaleX(1); }
}

@media (min-width: 992px) and (max-width: 1399px) {
    .wpo-site-header #navbar > ul > li > a { padding: 30px 14px; font-size: 17px; }
}

@media (min-width: 992px) and (max-width: 1199px) {
    .wpo-site-header #navbar > ul > li > a { padding: 30px 9px; font-size: 15px; }
    .wpo-site-header .header-right .theme-btn { padding: 12px 16px; font-size: 15px; }
}

.wpo-site-header .header-right .theme-btn { white-space: nowrap; }

@media (max-width: 991px) {
    .wpo-site-header .mobail-menu button { background-color: var(--rs-blue); }
    .wpo-site-header #navbar {
        background: var(--rs-blue-700);
        left: 0;
        transform: translateX(-105%);
        transition: transform .3s var(--rs-ease), opacity .2s, visibility 0s .3s;
    }
    .wpo-site-header #navbar.slideInn {
        transform: none;
        transition: transform .3s var(--rs-ease), opacity .2s, visibility 0s;
    }
    .wpo-site-header #navbar > ul > li { opacity: 0; transform: translateX(-12px); transition: opacity .2s, transform .2s var(--rs-ease); }
    .wpo-site-header #navbar.slideInn > ul > li { opacity: 1; transform: none; }
    .wpo-site-header #navbar.slideInn > ul > li:nth-child(2) { transition-delay: 50ms; }
    .wpo-site-header #navbar.slideInn > ul > li:nth-child(3) { transition-delay: 100ms; }
    .wpo-site-header #navbar.slideInn > ul > li:nth-child(4) { transition-delay: 150ms; }
    .wpo-site-header #navbar.slideInn > ul > li:nth-child(5) { transition-delay: 200ms; }

    /* Backdrop lives inside the header's stacking context, just under the menu panel */
    .rs-header::after {
        content: "";
        position: fixed;
        inset: 0;
        z-index: 999998;
        background: rgba(18, 26, 34, .45);
        opacity: 0;
        visibility: hidden;
        transition: opacity .3s, visibility 0s .3s;
    }
    .rs-menu-open .rs-header::after { opacity: 1; visibility: visible; transition: opacity .3s, visibility 0s; }
    .wpo-site-header #navbar ul a:hover,
    .wpo-site-header #navbar ul a:focus,
    .wpo-site-header #navbar > ul li a:hover,
    .wpo-site-header #navbar > ul li a:focus { color: #fff; }
    .wpo-site-header #navbar > ul > li a[aria-current="true"] {
        text-decoration: underline;
        text-decoration-color: var(--rs-green);
        text-decoration-thickness: 2px;
        text-underline-offset: 6px;
    }
    .wpo-site-header #navbar > ul > li > a { padding: 14px 30px; }
}

/* Logo (assets/images/Rainscape - Logo.svg, 1080×350) */
.rs-brand {
    display: inline-flex;
    align-items: center;
    padding: 0;
    margin: 0;
}

.rs-logo,
.wpo-site-header .navbar-header .navbar-brand img.rs-logo {
    display: block;
    width: clamp(150px, 120px + 6vw, 210px);
    max-width: 100%;
    height: auto;
    aspect-ratio: 1080 / 350;
}

/* Dark footer: the full-colour logo sits on a white plate so its dark wordmark stays legible */
.rs-brand-light {
    background: #fff;
    border-radius: var(--rs-radius);
    padding: 12px 16px;
}

.rs-brand-light .rs-logo { width: clamp(170px, 150px + 3vw, 210px); }

/* ---------- Hero (template .wpo-hero-slider) ---------- */
.rs-hero.wpo-hero-slider {
    /* Template glow kept; its grey under-layer (which darkened the glow behind the text) is now white */
    background-image: radial-gradient(circle closest-side, rgba(191, 230, 255, .8) 0, #fff 85%);
    background-color: #fff;
    height: auto;
    min-height: 850px;
    padding: 100px 0;
}

.wpo-hero-slider .hero-text h1 {
    color: var(--rs-ink);
    font-size: var(--rs-fs-h1);
    font-weight: 700;
    line-height: 1.18;
    margin-bottom: 28px;
}

.wpo-hero-slider .hero-text h1 span { color: var(--rs-blue); }

.wpo-hero-slider .hero-text p:not(.rs-eyebrow) {
    margin-right: 0;
    color: var(--rs-text-strong);   /* 5.8:1 on the glow */
    font-size: var(--rs-fs-lead);
    line-height: 1.8;
}

.wpo-hero-slider .hero-text .rs-eyebrow {
    color: var(--rs-blue-800);      /* 5.9:1 on the glow */
    font-size: var(--rs-fs-label);
    line-height: 1.5;
    margin: 0 0 22px;
}

.rs-hero-btns { display: flex; flex-wrap: wrap; gap: 14px; }
/* Hero "Our Expertise": brand green outline (exact #4EAB24 by design decision; 2.9:1 contrast, below AA) */
.rs-hero .theme-btn.rs-btn-outline {
    color: var(--rs-green);
    box-shadow: inset 0 0 0 1.5px var(--rs-green);
    transition: background-color var(--rs-dur), color var(--rs-dur), box-shadow var(--rs-dur), transform var(--rs-dur) var(--rs-ease);
}
.rs-hero .theme-btn.rs-btn-outline:after { background: var(--rs-green); }
.rs-hero .theme-btn.rs-btn-outline:hover,
.rs-hero .theme-btn.rs-btn-outline:focus {
    background: var(--rs-green);
    color: #fff;
    box-shadow: inset 0 0 0 1.5px var(--rs-green), 0 8px 20px rgba(78, 171, 36, .25);
}

.rs-hero .hero-text > * { animation: rs-rise var(--rs-reveal-dur) var(--rs-ease) both; }
.rs-hero .hero-text > :nth-child(2) { animation-delay: 60ms; }
.rs-hero .hero-text > :nth-child(3) { animation-delay: 120ms; }
.rs-hero .hero-text > :nth-child(4) { animation-delay: 180ms; }

/* Hero images: desktop only (the template hides them below 992px) */
@media (min-width: 992px) {
    .rs-hero .hero-image .image-1,
    .rs-hero .hero-image .image-2,
    .rs-hero .hero-image .image-3 { animation: rs-rise .6s var(--rs-ease) both; }
    .rs-hero .hero-image .image-3 { animation-delay: 150ms; }
    .rs-hero .hero-image .image-1 { animation-delay: 230ms; }
    .rs-hero .hero-image .image-2 { animation-delay: 310ms; }
}

/* Template three-image arrangement, kept proportional (300×200 / 300×350 beside 300×570) */
.wpo-hero-slider .hero-image { align-items: stretch; }

.wpo-hero-slider .hero-image .image-left,
.wpo-hero-slider .hero-image .image-right {
    width: calc(50% - 10px);
    max-width: 300px;
}

.wpo-hero-slider .hero-image .image-left .image-1,
.wpo-hero-slider .hero-image .image-left .image-2 {
    width: 100%;
    height: auto;
}

.wpo-hero-slider .hero-image .image-right {
    display: flex;
}

.wpo-hero-slider .hero-image .image-right .image-3 {
    width: 100%;
    height: auto;
}

.wpo-hero-slider .hero-image .image-1,
.wpo-hero-slider .hero-image .image-2,
.wpo-hero-slider .hero-image .image-3 {
    overflow: hidden;
    border-radius: var(--rs-radius);
    background: var(--rs-cyan);
}

.wpo-hero-slider .hero-image picture,
.about-left-wrap .image picture { display: block; height: 100%; }

.wpo-hero-slider .hero-image img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: cover;
}

.wpo-hero-slider .hero-image .image-1 img { aspect-ratio: 3 / 2; }
.wpo-hero-slider .hero-image .image-2 img { aspect-ratio: 6 / 7; }
.wpo-hero-slider .hero-image .image-3 img { height: 100%; }

@media (max-width: 991px) {
    .rs-hero.wpo-hero-slider { min-height: 0; padding: 90px 0; }
}

@media (max-width: 767px) {
    .rs-hero.wpo-hero-slider { padding: 64px 0 72px; }
}

/* ---------- About (template .plummet-about-section) ---------- */
.plummet-about-section::before { background: var(--rs-blue); }

.about-left-wrap .image {
    overflow: hidden;
    border-radius: var(--rs-radius);
}

.about-left-wrap .image img {
    display: block;
    height: auto;
    border-radius: var(--rs-radius);
}

.js .about-left-wrap.rs-reveal .image img {
    transform: scale(1.05);
    transition: transform .9s var(--rs-ease);
}

.js .about-left-wrap.rs-reveal.is-visible .image img { transform: none; }

.js .about-right-wrap.rs-reveal { --rs-i: 1; }

.about-right-wrap h2 { margin-right: 0; margin-bottom: 20px; }

.about-right-wrap p {
    margin-right: 0;
    font-size: var(--rs-fs-lead);
    line-height: 1.8;
}

.rs-subhead {
    font-size: var(--rs-fs-h3);
    margin: 28px 0 14px;
}

.rs-cap-list {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(230px, 100%), 1fr));
    gap: 6px 20px;
    margin-bottom: 36px;
}

.rs-cap-list a {
    display: inline-block;
    color: var(--rs-ink);
    font-weight: 600;
    font-size: var(--rs-fs-body);
    line-height: 1.5;
    padding: 4px 0 4px 18px;
    position: relative;
    transition: color var(--rs-dur);
}

.rs-cap-list a::before {
    content: "";
    position: absolute;
    left: 0;
    top: calc(4px + .75em);
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--rs-green);
    transform: translateY(-50%);
}

.rs-cap-list a:hover { color: var(--rs-blue-700); text-decoration: underline; text-underline-offset: 3px; }

@media (min-width: 992px) {
    .rs-about .about-right-wrap { padding: 60px 40px 60px 0; }
}

/* ---------- Expertise (template .service-wrap .single-card) ---------- */
/* About and Expertise are both white: don't stack two full paddings between them */
.rs-about + .rs-expertise { padding-top: calc(var(--rs-section-y) * .4); }

.rs-services {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 30px;
}

@media (max-width: 1199px) {
    .rs-services { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
}

@media (max-width: 767px) {
    .rs-services { grid-template-columns: minmax(0, 1fr); gap: 20px; }
}

.service-wrap .single-card.rs-card {
    display: flex;
    flex-direction: column;
    margin: 0;
    padding: clamp(28px, 20px + 1.6vw, 45px) clamp(22px, 14px + 1.6vw, 38px) clamp(26px, 20px + 1.2vw, 38px);
    background: #fff;
    border: 1px solid var(--rs-border);
    border-radius: var(--rs-radius);
}

/* Only the open card's row stops stretching, so neighbours stay compact (class set in rainscape.js) */
.service-wrap .single-card.rs-card.in-open-row { align-self: start; }

.service-wrap .single-card.rs-card:hover,
.service-wrap .single-card.rs-card.is-open {
    border-color: var(--rs-blue);
    box-shadow: var(--rs-shadow);
}

.service-wrap .single-card .icon {
    flex: 0 0 auto;
    color: var(--rs-blue);
    font-size: 34px;
    transition: background-color var(--rs-dur), color var(--rs-dur);
}

.service-wrap .single-card.rs-card:hover .icon,
.service-wrap .single-card.rs-card.is-open .icon {
    background: var(--rs-blue);
    color: #fff;
}

.service-wrap .single-card .text {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    margin-top: 26px;
}

.service-wrap .single-card .text h3 {
    color: var(--rs-ink);
    font-size: var(--rs-fs-h3);
    font-weight: 700;
    line-height: 1.38;
    margin-bottom: 14px;
}

.rs-card-sub {
    display: block;
    font-size: var(--rs-fs-small);
    font-weight: 600;
    line-height: 1.5;
    color: var(--rs-green-700);
    margin-top: 4px;
}

.service-wrap .single-card .text p {
    font-size: var(--rs-fs-body);
    font-weight: 500;
    line-height: var(--rs-lh-body);
}

.service-wrap .single-card .text .service-btn { margin-top: auto; padding-top: 24px; }

.rs-acc-btn {
    background: none;
    border: 0;
    padding: 0;
    display: inline-flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 4px 10px;
    color: var(--rs-blue-700);
    font-family: var(--rs-font);
    font-size: clamp(16px, 15px + .2vw, 17px);
    font-weight: 700;
    text-align: left;
    text-decoration: underline;
    text-underline-offset: 4px;
    cursor: pointer;
    padding: 10px 0;
    margin: -10px 0;
    transition: color var(--rs-dur);
}

.rs-acc-btn::after {
    content: "\e64b"; /* themify angle-down */
    font-family: "themify";
    font-size: 12px;
    display: inline-block;
    transition: transform var(--rs-dur) var(--rs-ease);
}

.rs-acc-btn[aria-expanded="true"]::after { transform: rotate(180deg); }

@media (hover: hover) {
    .rs-acc-btn:hover { color: var(--rs-ink); text-decoration: none; }
}

.rs-count {
    font-size: 14px;
    font-weight: 500;
    color: var(--rs-text);
    text-decoration: none;
    display: inline-block;
}

/* Panel */
.rs-panel-inner {
    margin-top: 22px;
    padding-top: 6px;
    border-top: 1px solid var(--rs-border);
}

.rs-panel h4 {
    font-size: var(--rs-fs-h4);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .06em;
    color: var(--rs-blue-700);
    margin: 20px 0 10px;
}

.service-wrap .single-card .text .rs-lead-in {
    font-size: var(--rs-fs-small);
    line-height: 1.6;
    margin-bottom: 10px;
}

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

.rs-list li {
    position: relative;
    padding: 7px 0 7px 24px;
    font-size: var(--rs-fs-small);
    line-height: 1.5;
    color: var(--rs-text-strong);
    border-bottom: 1px dashed var(--rs-border);
}

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

.rs-list li::before {
    content: "\e64c"; /* themify check */
    font-family: "themify";
    position: absolute;
    left: 0;
    top: 9px;
    font-size: 12px;
    color: var(--rs-green);
}

.rs-list.rs-tags { display: flex; flex-wrap: wrap; gap: 8px; }

.rs-list.rs-tags li {
    padding: 6px 12px;
    background: var(--rs-cyan);
    border: 1px solid var(--rs-border);
    border-radius: var(--rs-radius);
    font-size: 14.5px;
}

.rs-list.rs-tags li::before { display: none; }

.service-wrap .single-card .text .rs-card-close {
    font-size: var(--rs-fs-small);
    line-height: 1.7;
    border-left: 3px solid var(--rs-green);
    padding-left: 12px;
    margin: 18px 0 4px;
}

/* ---------- Why choose us (template icon-box item pattern) ---------- */
.rs-why { background: var(--rs-cyan); }

.rs-why-grid {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(8, minmax(0, 1fr));
    gap: 30px;
}

/* 4 + 3 on desktop; the second row is offset one column to centre it */
.rs-why-card { grid-column: span 2; }
.rs-why-card:nth-child(5) { grid-column: 2 / span 2; }

.rs-why-card {
    position: relative;
    overflow: hidden;
    background: #fff;
    border: 1px solid var(--rs-border);
    border-radius: var(--rs-radius);
    padding: clamp(26px, 20px + 1vw, 36px) clamp(22px, 18px + .8vw, 30px);
}

/* Green accent bar on hover */
.rs-why-card::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 3px;
    background: var(--rs-green);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .3s var(--rs-ease);
}

.rs-why-card:hover { border-color: var(--rs-blue); box-shadow: var(--rs-shadow); }

@media (hover: hover) {
    .js .rs-why-card.rs-done:hover,
    html:not(.js) .rs-why-card:hover { transform: translateY(-3px); }
}
.rs-why-card:hover::before { transform: scaleX(1); }

.rs-why-icon {
    width: 70px;
    height: 70px;
    border-radius: var(--rs-radius);
    background: var(--rs-cyan);
    color: var(--rs-blue);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    margin-bottom: 22px;
    transition: background-color var(--rs-dur), color var(--rs-dur);
}

.rs-why-card:hover .rs-why-icon { background: var(--rs-blue); color: #fff; }

.rs-why-card h3 {
    font-size: var(--rs-fs-h3);
    line-height: 1.4;
    font-weight: 700;
    margin: 0;
}

@media (max-width: 1199px) {
    .rs-why-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
    .rs-why-card,
    .rs-why-card:nth-child(5) { grid-column: auto; }
    .rs-why-card:last-child { grid-column: 1 / -1; }
}

@media (max-width: 575px) {
    .rs-why-grid { grid-template-columns: minmax(0, 1fr); }
    .rs-why-card:last-child { grid-column: auto; }
}

/* ---------- FAQ (native <details>, styled like the template cards) ---------- */
.rs-faq-list {
    max-width: 920px;
    margin: 0 auto;
    display: grid;
    gap: 14px;
}

.rs-faq-item {
    background: #fff;
    border: 1px solid var(--rs-border);
    border-radius: var(--rs-radius);
    transition: border-color var(--rs-dur), box-shadow var(--rs-dur);
}

.rs-faq-item[open],
.rs-faq-item:hover { border-color: var(--rs-blue); }
.rs-faq-item[open] { box-shadow: var(--rs-shadow); }

.rs-faq-item summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 20px clamp(18px, 14px + 1vw, 28px);
    cursor: pointer;
    list-style: none;
    border-radius: var(--rs-radius);
}

.rs-faq-item summary::-webkit-details-marker { display: none; }

.rs-faq-item summary::after {
    content: "\e61a"; /* themify plus */
    font-family: "themify";
    flex: 0 0 36px;
    width: 36px;
    height: 36px;
    border-radius: var(--rs-radius);
    background: var(--rs-cyan);
    color: var(--rs-blue);
    font-size: 13px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background-color var(--rs-dur), color var(--rs-dur);
}

.rs-faq-item[open] summary::after { content: "\e622"; background: var(--rs-blue); color: #fff; } /* themify minus */



.rs-faq-item summary h3 {
    font-size: clamp(17px, 16px + .3vw, 20px);
    line-height: 1.4;
    margin: 0;
}

.rs-faq-answer { padding: 0 clamp(18px, 14px + 1vw, 28px) 22px; }
.rs-faq-answer p { margin: 0; }
.rs-faq-answer a { color: var(--rs-blue-700); font-weight: 600; text-decoration: underline; overflow-wrap: anywhere; }

/* ---------- Contact ---------- */
.rs-contact p {
    font-size: var(--rs-fs-lead);
    line-height: 1.8;
}

.rs-contact .rs-contact-cta {
    font-weight: 700;
    color: var(--rs-ink);
    margin-bottom: 30px;
}

.rs-contact-panel {
    background: #fff;
    border: 1px solid var(--rs-border);
    border-top: 3px solid var(--rs-blue);
    border-radius: var(--rs-radius);
    padding: clamp(26px, 20px + 1.2vw, 36px) clamp(20px, 16px + 1.4vw, 34px);
    box-shadow: var(--rs-shadow);
}

.rs-contact .rs-contact-company {
    font-size: var(--rs-fs-small);
    line-height: 1.5;
    font-weight: 800;
    letter-spacing: .14em;
    color: var(--rs-ink);
    margin-bottom: 24px;
}

.rs-contact-list {
    list-style: none;
    display: grid;
    gap: 22px;
}

.rs-contact-list li {
    display: flex;
    align-items: flex-start;
    gap: 18px;
}

.rs-contact-list li + li {
    padding-top: 22px;
    border-top: 1px solid var(--rs-border);
}

.rs-contact-list strong {
    display: block;
    color: var(--rs-ink);
    font-size: 16px;
    margin-bottom: 4px;
}

.rs-contact-list a,
.rs-contact-list address {
    font-size: var(--rs-fs-body);
    line-height: 1.6;
    color: var(--rs-text);
    overflow-wrap: anywhere;
}

.rs-contact-list a { color: var(--rs-blue-700); font-weight: 600; padding-block: 10px; }
.rs-contact-list a:hover { color: var(--rs-ink); text-decoration: underline; }

.rs-contact-icon {
    flex: 0 0 56px;
    width: 56px;
    height: 56px;
    border-radius: var(--rs-radius);
    background: var(--rs-cyan);
    color: var(--rs-blue);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
}

/* ---------- Footer (template .wpo-site-footer) ---------- */
.rs-footer .widget-title h2 {
    position: relative;
    color: #fff;
    font-size: 22px;
    line-height: 1.3;
    font-weight: 700;
    margin: 0;
    padding-bottom: 14px;
}

.rs-footer .widget-title h2::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 32px;
    height: 2px;
    border-radius: 2px;
    background: var(--rs-green);
}

.rs-footer .about-widget p { font-size: var(--rs-fs-small); }

.rs-ft-contact {
    color: #B6B9BE;
    font-size: var(--rs-fs-small);
    line-height: 1.8;
    margin-top: 18px;
}

.rs-ft-contact strong { color: #fff; letter-spacing: .06em; font-size: 14px; }
.rs-ft-contact a { color: #fff; text-decoration: underline; text-decoration-color: var(--rs-green); text-underline-offset: 3px; overflow-wrap: anywhere; }
.rs-ft-contact a:hover { color: var(--rs-green); }

.rs-footer .link-widget ul li a {
    display: inline-block;
    font-size: 16px;
    padding: 6px 0;                 /* 35px target without changing spacing */
    margin: -6px 0;
    transition: color var(--rs-dur), transform var(--rs-dur) var(--rs-ease);
}

@media (hover: hover) {
    .rs-footer .link-widget ul li a:hover { transform: translateX(3px); }
}

.rs-footer .link-widget ul li a:hover,
.rs-footer .link-widget ul li a:focus { color: var(--rs-green); }

@media (min-width: 768px) {
    .rs-ft-services ul { columns: 2; column-gap: 32px; }
    .rs-ft-services ul li { break-inside: avoid; padding-top: 0 !important; margin-bottom: 15px; }
}

@media (max-width: 991px) {
    .rs-footer .wpo-upper-footer .col { min-height: 0; margin-bottom: 40px; }
}

.rs-footer .wpo-lower-footer { background: var(--rs-blue-700); }

.rs-footer .lower-wrap {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 20px 0;
}

.rs-footer .wpo-lower-footer .copyright { padding: 0; color: #fff; font-size: 15px; }

.rs-legal-links { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 22px; }
.rs-legal-links a { color: #fff; font-size: var(--rs-fs-small); }
.rs-legal-links a,
.rs-legal-links .rs-cookie-settings { padding: 10px 0; margin: -10px 0; }
.rs-legal-links a:hover, .rs-legal-links a:focus { color: #fff; text-decoration: underline; }

.rs-top-link { color: #fff; font-size: var(--rs-fs-small); }
.rs-top-link:hover, .rs-top-link:focus { color: #fff; text-decoration: underline; }



.rs-acc-target { cursor: pointer; }

/* ---------- Cookie settings (footer) ---------- */
.rs-cookie-settings {
    background: none;
    border: 0;
    padding: 0;
    color: #fff;
    font-family: var(--rs-font);
    font-size: var(--rs-fs-small);
    cursor: pointer;
}

.rs-cookie-settings:hover { text-decoration: underline; }
.rs-footer .wpo-lower-footer button:focus-visible { outline-color: #fff; }

/* ---------- Consent panel (assets/js/consent.js) ---------- */
.rs-consent {
    position: fixed;
    left: 16px;
    right: 16px;
    bottom: 16px;
    z-index: 2000;
    max-width: 1100px;
    margin: 0 auto;
    background: #fff;
    border: 1px solid var(--rs-border);
    border-top: 3px solid var(--rs-blue);
    border-radius: var(--rs-radius);
    box-shadow: 0 16px 40px rgba(18, 26, 34, .18);
}

.rs-consent[hidden] { display: none; }
.rs-consent:focus { outline: none; }
.rs-consent:focus-visible { outline: 3px solid var(--rs-blue); outline-offset: 3px; }

.rs-consent-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px 32px;
    padding: 22px clamp(18px, 14px + 1vw, 30px);
}

.rs-consent-text { flex: 1 1 420px; }

.rs-consent h2 {
    font-size: 18px;
    line-height: 1.4;
    margin: 0 0 6px;
}

.rs-consent p {
    font-size: 15px;
    line-height: 1.6;
    color: var(--rs-text-strong);
    margin: 0;
}

.rs-consent a { color: var(--rs-blue-700); font-weight: 600; text-decoration: underline; }
.rs-consent .rs-consent-status { margin-top: 6px; font-weight: 600; color: var(--rs-ink); }

.rs-consent-actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* Accept and Reject carry equal visual weight */
.rs-consent-actions .theme-btn { padding: 12px 22px; min-width: 170px; }

@media (max-width: 575px) {
    .rs-consent { left: 8px; right: 8px; bottom: 8px; }
    .rs-consent-actions { width: 100%; }
    .rs-consent-actions .theme-btn { flex: 1 1 0; min-width: 0; }
}

/* ---------- Legal pages and 404 ---------- */
.rs-page-hero {
    background: var(--rs-cyan);
    padding: clamp(56px, 40px + 4vw, 100px) 0 clamp(40px, 30px + 3vw, 70px);
}

.rs-page-hero h1 { font-size: var(--rs-fs-h2); margin: 0 0 10px; }
.rs-page-hero p { margin: 0; color: var(--rs-text-strong); }

.rs-legal { max-width: 820px; }

.rs-legal h2 { font-size: clamp(22px, 19px + .6vw, 28px); margin: 42px 0 14px; }
.rs-legal h3 { font-size: var(--rs-fs-h3); margin: 26px 0 10px; }
.rs-legal p,
.rs-legal li { font-size: var(--rs-fs-body); line-height: var(--rs-lh-body); color: var(--rs-text-strong); }
.rs-legal ul { padding-left: 22px; margin-bottom: 16px; list-style: disc; }
.rs-legal li { margin-bottom: 6px; }
.rs-legal a { color: var(--rs-blue-700); text-decoration: underline; overflow-wrap: anywhere; }
.rs-legal address { font-size: var(--rs-fs-body); color: var(--rs-text-strong); line-height: 1.8; margin-bottom: 16px; }

.rs-404 { text-align: center; }
.rs-404 .rs-404-code {
    display: block;
    font-size: clamp(80px, 50px + 8vw, 150px);
    font-weight: 800;
    line-height: 1;
    color: var(--rs-blue);
    margin-bottom: 16px;
}
.rs-404 h1 { font-size: var(--rs-fs-h2); }
.rs-404 p { max-width: 560px; margin: 0 auto 30px; }
.rs-404 .rs-hero-btns { justify-content: center; }
