/* Rotviks Sektioner – all selectors are scoped to rgs-* to avoid theme conflicts. */
.rgs-block {
    --rgs-primary: #153d35;
    --rgs-accent: #d5a24c;
    --rgs-ink: #17231f;
    --rgs-cream: #f5f1e7;
    --rgs-mist: #e6ece8;
    --rgs-line: rgba(23, 35, 31, .15);
    box-sizing: border-box;
    color: var(--rgs-ink);
    font-family: inherit;
}

.rgs-block *,
.rgs-block *::before,
.rgs-block *::after {
    box-sizing: border-box;
}

.rgs-wrap {
    width: min(100% - 40px, 1180px);
    margin-inline: auto;
}

.rgs-visually-hidden {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

.rgs-block :is(h1, h2, h3, p, figure, ul, ol, dl) {
    margin-top: 0;
}

.rgs-block a {
    color: inherit;
}

.rgs-kicker {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 18px;
    color: var(--rgs-primary);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .13em;
    line-height: 1.25;
    text-transform: uppercase;
}

.rgs-kicker::before {
    width: 25px;
    height: 2px;
    background: var(--rgs-accent);
    content: "";
}

.rgs-kicker-light {
    color: rgba(255, 255, 255, .84);
}

.rgs-button {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    min-height: 52px;
    padding: 14px 17px 14px 20px;
    border: 1px solid var(--rgs-primary);
    border-radius: 0;
    background: var(--rgs-primary);
    box-shadow: none;
    color: #fff !important;
    font-size: 14px;
    font-weight: 800;
    letter-spacing: .01em;
    line-height: 1.2;
    text-decoration: none !important;
    transition: background-color .2s ease, color .2s ease, transform .2s ease;
}

.rgs-button b {
    color: var(--rgs-accent);
    font-size: 18px;
    line-height: 1;
}

.rgs-button:hover,
.rgs-button:focus-visible {
    background: #0e2b25;
    color: #fff !important;
    transform: translateY(-2px);
}

.rgs-button:focus-visible,
.rgs-text-link:focus-visible,
.rgs-anchor-nav a:focus-visible,
.rgs-contact-card a:focus-visible {
    outline: 3px solid var(--rgs-accent);
    outline-offset: 3px;
}

.rgs-button-quiet {
    border-color: rgba(255, 255, 255, .45);
    background: transparent;
    color: #fff !important;
}

.rgs-button-quiet b {
    color: #fff;
}

.rgs-button-quiet:hover,
.rgs-button-quiet:focus-visible {
    border-color: #fff;
    background: rgba(255, 255, 255, .12);
}

/* Hero */
.rgs-hero {
    position: relative;
    overflow: hidden;
    padding: clamp(48px, 8vw, 100px) 0;
    background: var(--rgs-primary);
    color: #fff;
}

.rgs-hero::before {
    position: absolute;
    top: -150px;
    right: -90px;
    width: min(44vw, 650px);
    aspect-ratio: 1;
    border: 1px solid rgba(255, 255, 255, .17);
    border-radius: 42% 58% 47% 53%;
    content: "";
    opacity: .65;
    pointer-events: none;
    transform: rotate(20deg);
}

.rgs-hero-grid {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, .94fr) minmax(340px, .86fr);
    gap: clamp(36px, 6vw, 85px);
    align-items: center;
}

.rgs-hero .rgs-kicker {
    color: rgba(255, 255, 255, .84);
}

.rgs-hero-title {
    max-width: 680px;
    margin-bottom: 23px;
    color: #fff;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(42px, 5vw, 72px);
    font-weight: 400;
    letter-spacing: -.045em;
    line-height: .98;
}

.rgs-hero-title::first-letter {
    text-decoration-color: var(--rgs-accent);
}

.rgs-lead {
    max-width: 590px;
    color: rgba(255, 255, 255, .84);
    font-size: clamp(17px, 2vw, 20px);
    line-height: 1.6;
}

.rgs-lead p:last-child,
.rgs-section-text p:last-child,
.rgs-heading-text p:last-child,
.rgs-process-text p:last-child,
.rgs-contact-text p:last-child,
.rgs-cta-text p:last-child,
.rgs-service-card-text p:last-child,
.rgs-faq-answer p:last-child {
    margin-bottom: 0;
}

.rgs-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 31px;
}

.rgs-trust {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 19px;
    margin: 30px 0 0;
    padding: 0;
    color: rgba(255, 255, 255, .82);
    font-size: 12px;
    font-weight: 700;
    list-style: none;
}

.rgs-trust li {
    display: flex;
    align-items: center;
    gap: 7px;
}

.rgs-trust li::before {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--rgs-accent);
    content: "";
}

.rgs-hero-media {
    position: relative;
    min-height: 440px;
    margin: 0;
    overflow: hidden;
    background: #1c2c27;
    box-shadow: 16px 16px 0 rgba(0, 0, 0, .17);
}

.rgs-hero-media img {
    width: 100%;
    height: 100%;
    min-height: 440px;
    object-fit: cover;
}

.rgs-hero-media::after {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 47%, rgba(9, 24, 20, .65));
    content: "";
    pointer-events: none;
}

.rgs-hero-media figcaption {
    position: absolute;
    right: 23px;
    bottom: 20px;
    left: 23px;
    z-index: 1;
    color: #fff;
    font-size: 13px;
    font-weight: 700;
}

.rgs-hero--no-image .rgs-hero-grid {
    grid-template-columns: minmax(0, 760px);
}

/* SEO section */
.rgs-section {
    padding: clamp(60px, 9vw, 124px) 0;
    background: #fff;
    scroll-margin-top: 30px;
}

.rgs-section-grid {
    display: grid;
    grid-template-columns: minmax(0, .85fr) minmax(300px, .9fr);
    gap: clamp(36px, 8vw, 120px);
    align-items: center;
}

.rgs-section--no-image .rgs-section-grid {
    grid-template-columns: minmax(0, 780px);
}

.rgs-section--no-image .rgs-section-copy {
    max-width: 780px;
}

.rgs-section--image_left .rgs-section-copy {
    order: 2;
}

.rgs-section--image_left .rgs-section-media {
    order: 1;
}

.rgs-section-label {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 17px;
}

.rgs-section-label > span {
    display: grid;
    width: 38px;
    height: 38px;
    place-items: center;
    border: 1px solid var(--rgs-primary);
    border-radius: 50%;
    color: var(--rgs-primary);
    font-size: 11px;
    font-weight: 800;
}

.rgs-section-label .rgs-kicker {
    margin: 0;
}

.rgs-section-title,
.rgs-section-heading h2,
.rgs-process h2,
.rgs-faq h2,
.rgs-contact h2,
.rgs-cta h2 {
    margin-bottom: 21px;
    color: var(--rgs-ink);
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(34px, 4vw, 54px);
    font-weight: 400;
    letter-spacing: -.04em;
    line-height: 1.02;
}

.rgs-section-text,
.rgs-heading-text {
    color: #4e5a55;
    font-size: 17px;
    line-height: 1.72;
}

.rgs-section-action {
    margin-top: 28px;
}

.rgs-section-media {
    min-height: 390px;
    margin: 0;
    overflow: hidden;
    background: var(--rgs-mist);
}

.rgs-section-media img {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 390px;
    object-fit: cover;
    transition: transform .5s ease;
}

.rgs-section-media:hover img {
    transform: scale(1.035);
}

/* Services */
.rgs-services {
    padding: clamp(60px, 8vw, 112px) 0;
    background: var(--rgs-cream);
    scroll-margin-top: 30px;
}

.rgs-section-heading {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(280px, .63fr);
    gap: 30px 80px;
    align-items: end;
    margin-bottom: clamp(30px, 5vw, 55px);
}

.rgs-section-heading h2 {
    margin-bottom: 0;
}

.rgs-heading-text {
    max-width: 480px;
    margin-bottom: 4px;
}

.rgs-service-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
}

.rgs-service-card {
    display: flex;
    min-height: 300px;
    flex-direction: column;
    padding: 25px;
    border: 1px solid var(--rgs-line);
    background: rgba(255, 255, 255, .74);
    transition: background-color .25s ease, color .25s ease, transform .25s ease;
}

.rgs-service-card:hover {
    background: var(--rgs-primary);
    color: #fff;
    transform: translateY(-5px);
}

.rgs-service-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: auto;
}

.rgs-service-card-top > span {
    color: var(--rgs-primary);
    font-size: 12px;
    font-weight: 800;
}

.rgs-service-card-top i {
    display: grid;
    width: 35px;
    height: 35px;
    place-items: center;
    border: 1px solid var(--rgs-primary);
    border-radius: 50%;
    color: var(--rgs-primary);
    font-size: 17px;
    font-style: normal;
}

.rgs-service-card h3 {
    margin: 35px 0 12px;
    font-size: 21px;
    font-weight: 800;
    letter-spacing: -.02em;
    line-height: 1.2;
}

.rgs-service-card-text {
    color: #59635e;
    font-size: 14px;
    line-height: 1.58;
}

.rgs-text-link {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-top: 22px;
    border-bottom: 1px solid currentColor;
    color: var(--rgs-primary) !important;
    font-size: 12px;
    font-weight: 800;
    line-height: 1.5;
    text-decoration: none !important;
}

.rgs-text-link b {
    font-size: 16px;
}

.rgs-service-card:hover :is(.rgs-service-card-top > span, .rgs-service-card-top i, .rgs-service-card-text, .rgs-text-link) {
    border-color: rgba(255, 255, 255, .7);
    color: #fff !important;
}

/* Process */
.rgs-process {
    padding: clamp(64px, 8vw, 112px) 0;
    background: var(--rgs-primary);
    color: #fff;
    scroll-margin-top: 30px;
}

.rgs-process-grid {
    display: grid;
    grid-template-columns: minmax(0, .7fr) minmax(0, 1fr);
    gap: clamp(42px, 9vw, 130px);
    align-items: start;
}

.rgs-process h2,
.rgs-contact h2 {
    color: #fff;
}

.rgs-process-text,
.rgs-contact-text {
    max-width: 470px;
    color: rgba(255, 255, 255, .78);
    font-size: 16px;
    line-height: 1.7;
}

.rgs-process-list {
    display: grid;
    gap: 0;
    margin: 0;
    padding: 0;
    list-style: none;
}

.rgs-process-list li {
    display: grid;
    grid-template-columns: 52px 1fr;
    gap: 20px;
    padding: 20px 0;
    border-top: 1px solid rgba(255, 255, 255, .2);
}

.rgs-process-list li:last-child {
    border-bottom: 1px solid rgba(255, 255, 255, .2);
}

.rgs-process-number {
    display: grid;
    width: 37px;
    height: 37px;
    place-items: center;
    border-radius: 50%;
    background: var(--rgs-accent);
    color: #1f322b;
    font-size: 11px;
    font-weight: 900;
}

.rgs-process-list h3 {
    margin: 0 0 7px;
    color: #fff;
    font-size: 17px;
    font-weight: 800;
    line-height: 1.35;
}

.rgs-process-list p {
    margin: 0;
    color: rgba(255, 255, 255, .72);
    font-size: 14px;
    line-height: 1.6;
}

/* FAQ */
.rgs-faq {
    padding: clamp(60px, 8vw, 116px) 0;
    background: #fff;
    scroll-margin-top: 30px;
}

.rgs-faq-grid {
    display: grid;
    grid-template-columns: minmax(260px, .6fr) minmax(0, 1fr);
    gap: clamp(38px, 10vw, 150px);
    align-items: start;
}

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

.rgs-faq-item {
    border-bottom: 1px solid var(--rgs-line);
}

.rgs-faq-item summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 22px 2px;
    color: var(--rgs-ink);
    cursor: pointer;
    font-size: 17px;
    font-weight: 800;
    line-height: 1.35;
    list-style: none;
}

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

.rgs-faq-item summary:focus-visible {
    outline: 3px solid var(--rgs-accent);
    outline-offset: -3px;
}

.rgs-faq-item summary b {
    flex: 0 0 auto;
    color: var(--rgs-primary);
    font-size: 27px;
    font-weight: 400;
    line-height: 1;
    transition: transform .2s ease;
}

.rgs-faq-item[open] summary b {
    transform: rotate(45deg);
}

.rgs-faq-answer {
    max-width: 760px;
    padding: 0 45px 23px 2px;
    color: #53605a;
    font-size: 15px;
    line-height: 1.7;
}

/* Contact */
.rgs-contact {
    padding: clamp(58px, 8vw, 104px) 0;
    background: #102e28;
    color: #fff;
    scroll-margin-top: 30px;
}

.rgs-contact-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(300px, .75fr);
    gap: clamp(38px, 10vw, 150px);
    align-items: center;
}

.rgs-contact-action {
    margin-top: 28px;
}

.rgs-contact .rgs-button {
    border-color: var(--rgs-accent);
    background: var(--rgs-accent);
    color: #20342d !important;
}

.rgs-contact .rgs-button b {
    color: #20342d;
}

.rgs-contact .rgs-button:hover,
.rgs-contact .rgs-button:focus-visible {
    background: #ebbe6c;
}

.rgs-contact .rgs-button:focus-visible {
    outline-color: #fff;
}

.rgs-contact-card {
    padding: clamp(28px, 4vw, 44px);
    border: 1px solid rgba(255, 255, 255, .2);
    background: rgba(255, 255, 255, .06);
}

.rgs-contact-company {
    margin-bottom: 20px;
    color: rgba(255, 255, 255, .72);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.rgs-contact-main {
    color: #fff !important;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(29px, 4vw, 43px);
    letter-spacing: -.04em;
    line-height: 1;
    text-decoration: none !important;
}

.rgs-contact-note {
    margin: 9px 0 30px;
    color: var(--rgs-accent);
    font-size: 13px;
    font-weight: 800;
}

.rgs-contact-card dl {
    display: grid;
    gap: 15px;
    margin: 0;
}

.rgs-contact-card dl div {
    display: grid;
    grid-template-columns: 70px 1fr;
    gap: 15px;
    padding-top: 15px;
    border-top: 1px solid rgba(255, 255, 255, .15);
}

.rgs-contact-card dt {
    color: rgba(255, 255, 255, .55);
    font-size: 12px;
    font-weight: 700;
}

.rgs-contact-card dd {
    margin: 0;
    color: #fff;
    font-size: 13px;
    line-height: 1.55;
}

.rgs-contact-card dd a {
    color: #fff !important;
}

/* CTA / attention block */
.rgs-cta {
    padding: 28px 0;
    background: var(--rgs-cream);
}

.rgs-cta-inner {
    display: grid;
    grid-template-columns: 75px minmax(0, 1fr) auto;
    gap: 26px;
    align-items: center;
    min-height: 176px;
    padding: 28px 34px;
    border: 1px solid rgba(21, 61, 53, .27);
    background: #fff;
}

.rgs-cta .rgs-kicker {
    margin-bottom: 9px;
}

.rgs-cta h2 {
    margin-bottom: 9px;
    font-size: clamp(28px, 3.5vw, 41px);
}

.rgs-cta-text {
    max-width: 690px;
    color: #53605a;
    font-size: 15px;
    line-height: 1.6;
}

.rgs-cta-mark {
    position: relative;
    width: 63px;
    height: 63px;
}

.rgs-cta-mark span {
    position: absolute;
    width: 33px;
    height: 33px;
    border-radius: 7px;
}

.rgs-cta-mark span:nth-child(1) { top: 0; left: 0; background: var(--rgs-primary); }
.rgs-cta-mark span:nth-child(2) { top: 0; right: 0; background: var(--rgs-accent); }
.rgs-cta-mark span:nth-child(3) { bottom: 0; left: 0; background: #d7dfda; }
.rgs-cta-mark span:nth-child(4) { right: 0; bottom: 0; background: #ee765d; }

.rgs-cta-action {
    justify-self: end;
}

/* Anchor navigation */
.rgs-anchor-nav {
    position: relative;
    z-index: 2;
    border-top: 1px solid var(--rgs-line);
    border-bottom: 1px solid var(--rgs-line);
    background: #fff;
}

.rgs-anchor-nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    min-height: 72px;
}

.rgs-anchor-nav-inner > span {
    flex: 0 0 auto;
    color: var(--rgs-primary);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .11em;
    text-transform: uppercase;
}

.rgs-anchor-nav-inner > div {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 5px 22px;
}

.rgs-anchor-nav a {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: #45544e !important;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none !important;
}

.rgs-anchor-nav a b {
    color: var(--rgs-primary);
    font-size: 16px;
    line-height: 1;
}

.rgs-anchor-nav a:hover {
    color: var(--rgs-primary) !important;
}

/* Before/after */
.rgs-before-after {
    padding: clamp(26px, 4vw, 54px) 0;
    background: #fff;
}

.rgs-before-after-frame {
    position: relative;
    min-height: 350px;
    overflow: hidden;
    background: #e1e7e3;
    cursor: ew-resize;
    isolation: isolate;
}

.rgs-before-after-frame > img,
.rgs-before-after-before,
.rgs-before-after-before img {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 350px;
    object-fit: cover;
}

.rgs-before-after-before {
    position: absolute;
    z-index: 1;
    inset: 0;
    clip-path: inset(0 calc(100% - var(--rgs-reveal)) 0 0);
}

.rgs-before-after-before::after {
    position: absolute;
    top: 0;
    bottom: 0;
    left: calc(var(--rgs-reveal) - 2px);
    width: 4px;
    background: #fff;
    content: "";
}

.rgs-before-after-label {
    position: absolute;
    z-index: 3;
    top: 18px;
    padding: 8px 11px;
    background: rgba(16, 46, 40, .8);
    color: #fff;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.rgs-before-after-label-before { left: 18px; }
.rgs-before-after-label-after { right: 18px; }

.rgs-before-after-handle {
    position: absolute;
    z-index: 4;
    top: 50%;
    left: var(--rgs-reveal);
    display: grid;
    width: 48px;
    height: 48px;
    place-items: center;
    border: 2px solid #fff;
    border-radius: 50%;
    background: var(--rgs-primary);
    color: #fff;
    pointer-events: none;
    transform: translate(-50%, -50%);
}

.rgs-before-after-handle::before,
.rgs-before-after-handle::after {
    position: absolute;
    top: 50%;
    width: 2px;
    height: 100vh;
    background: #fff;
    content: "";
    transform: translateY(-50%);
}

.rgs-before-after-handle::before { left: 22px; }
.rgs-before-after-handle::after { display: none; }

.rgs-before-after-handle b {
    position: relative;
    z-index: 1;
    font-size: 19px;
    font-weight: 400;
}

.rgs-before-after-range {
    position: absolute;
    z-index: 6;
    inset: 0;
    width: 100%;
    height: 100%;
    margin: 0;
    cursor: ew-resize;
    opacity: 0;
}

.rgs-before-after-range:focus-visible {
    opacity: 1;
    outline: 3px solid var(--rgs-accent);
    outline-offset: -3px;
}

/* Motion is opt-in after the small script confirms that JavaScript is running. */
@media (prefers-reduced-motion: no-preference) {
    .rgs-motion-ready .rgs-animate {
        opacity: 0;
        transform: translateY(17px);
        transition: opacity .55s ease, transform .55s ease;
    }

    .rgs-motion-ready .rgs-animate.rgs-in-view {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (prefers-reduced-motion: reduce) {
    .rgs-block *,
    .rgs-block *::before,
    .rgs-block *::after {
        scroll-behavior: auto !important;
        transition-duration: .01ms !important;
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
    }
}

@media (max-width: 920px) {
    .rgs-hero-grid,
    .rgs-section-grid,
    .rgs-process-grid,
    .rgs-contact-grid,
    .rgs-faq-grid {
        grid-template-columns: 1fr;
    }

    .rgs-section--image_left .rgs-section-copy,
    .rgs-section--image_left .rgs-section-media {
        order: initial;
    }

    .rgs-hero-media {
        max-width: 650px;
    }

    .rgs-section-media {
        max-width: 700px;
    }

    .rgs-service-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .rgs-process-list {
        max-width: 780px;
    }

    .rgs-cta-inner {
        grid-template-columns: 60px 1fr;
    }

    .rgs-cta-action {
        grid-column: 2;
        justify-self: start;
    }
}

@media (max-width: 640px) {
    .rgs-wrap {
        width: min(100% - 30px, 1180px);
    }

    .rgs-hero {
        padding-top: 56px;
    }

    .rgs-hero-title {
        font-size: clamp(39px, 12vw, 57px);
    }

    .rgs-hero-media,
    .rgs-hero-media img,
    .rgs-section-media,
    .rgs-section-media img {
        min-height: 300px;
    }

    .rgs-section-heading {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .rgs-service-grid {
        grid-template-columns: 1fr;
    }

    .rgs-service-card {
        min-height: 255px;
    }

    .rgs-process-list li {
        grid-template-columns: 42px 1fr;
        gap: 14px;
    }

    .rgs-contact-card dl div {
        grid-template-columns: 1fr;
        gap: 4px;
    }

    .rgs-cta-inner {
        grid-template-columns: 1fr;
        gap: 18px;
        padding: 26px;
    }

    .rgs-cta-action {
        grid-column: auto;
    }

    .rgs-anchor-nav-inner {
        align-items: flex-start;
        flex-direction: column;
        justify-content: center;
        padding: 14px 0;
    }

    .rgs-anchor-nav-inner > div {
        justify-content: flex-start;
    }

    .rgs-before-after-frame,
    .rgs-before-after-frame > img,
    .rgs-before-after-before,
    .rgs-before-after-before img {
        min-height: 270px;
    }

    .rgs-before-after-label {
        top: 12px;
        padding: 6px 8px;
        font-size: 10px;
    }

    .rgs-before-after-label-before { left: 12px; }
    .rgs-before-after-label-after { right: 12px; }
}
