/*
Theme Name: Roel Pastrim
Theme URI: https://roelpastrim.com/
Author: Roel Pastrim
Description: Editorial minimalist design system. Warm ivory base, deep ink, sage accent, serif/sans pairing, generous whitespace, refined motion. v7.1 — standardised buttons, emoji-free, contrast-guaranteed.
Version: 7.1.0
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 7.4
License: GPL-2.0-or-later
Text Domain: roel-pastrim
*/

/* ===========================================================================
   TOKENS — Editorial Minimalist
   =========================================================================== */
:root {
    /* Surfaces — warm neutrals */
    --rp-bg:           #f7f5f0;   /* warm ivory page surround */
    --rp-bg-soft:      #efece4;   /* slightly deeper warm tint */
    --rp-bg-tint:      #e8e3d6;   /* deepest tint for alt sections */
    --rp-card:         #ffffff;   /* pure white card */
    --rp-card-raised:  #ffffff;

    /* Ink — deep charcoal, never pure black */
    --rp-ink:          #14161a;
    --rp-ink-2:        #2c3037;
    --rp-mute:         #6b6f78;
    --rp-faint:        #9aa0a8;
    --rp-line:         #d9d3c4;   /* warm hairline */
    --rp-line-soft:    #e6e1d4;   /* subtler hairline */

    /* Brand — refined sage (elevated from generic cleaning-green) */
    --rp-brand:        #2f5d3a;   /* deep sage */
    --rp-brand-dark:   #234729;
    --rp-brand-soft:   #4d8458;   /* lighter sage for accents */
    --rp-brand-tint:   rgba(47, 93, 58, 0.08);
    --rp-brand-ring:   rgba(47, 93, 58, 0.20);

    /* Accents */
    --rp-accent-clay:  #b86f4d;   /* warm terracotta — stars, eyebrow accents */
    --rp-accent-sand:  #c8b78f;   /* sand for subtle decoration */

    /* Action variants */
    --rp-whatsapp:     #2bb673;
    --rp-whatsapp-dark:#1f8e5a;
    --rp-danger:       #b03434;

    /* Shadows — soft, warm */
    --rp-shadow-xs:  0 1px 2px rgba(20, 20, 18, 0.04);
    --rp-shadow-sm:  0 6px 18px -10px rgba(20, 20, 18, 0.10);
    --rp-shadow-md:  0 24px 48px -28px rgba(20, 20, 18, 0.20);
    --rp-shadow-lg:  0 40px 80px -40px rgba(20, 20, 18, 0.28);
    --rp-shadow-hover: 0 28px 60px -30px rgba(20, 20, 18, 0.22);

    /* Radii — restrained, gentle */
    --rp-r-xs:  4px;
    --rp-r-sm:  8px;
    --rp-r:     12px;
    --rp-r-lg:  18px;
    --rp-r-xl:  28px;
    --rp-r-full: 9999px;

    /* Spacing */
    --rp-s-1: 0.5rem;
    --rp-s-2: 1rem;
    --rp-s-3: 1.5rem;
    --rp-s-4: 2rem;
    --rp-s-5: 3rem;
    --rp-s-6: 4.5rem;
    --rp-s-7: 6rem;
    --rp-s-8: 8rem;
    --rp-s-9: 10rem;

    /* Typography — display serif + grotesque sans + mono numerals */
    --rp-font:         'Inter', system-ui, -apple-system, 'Segoe UI', Helvetica, Arial, sans-serif;
    --rp-font-display: 'Fraunces', 'Instrument Serif', Georgia, 'Times New Roman', serif;
    --rp-font-mono:    'JetBrains Mono', ui-monospace, 'SFMono-Regular', Menlo, Consolas, monospace;

    /* Layout */
    --rp-content-narrow: 720px;
    --rp-content-mid:    960px;
    --rp-content-wide:   1280px;
    --rp-content-full:   1440px;

    /* Motion */
    --rp-ease:     cubic-bezier(0.22, 1, 0.36, 1);
    --rp-ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --rp-ease-in:  cubic-bezier(0.4, 0, 1, 1);
}

/* ===========================================================================
   RESET + BASE
   =========================================================================== */
*, *::before, *::after { box-sizing: border-box; }

html {
    background: var(--rp-bg);
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
    text-rendering: optimizeLegibility;
}

body {
    margin: 0;
    font-family: var(--rp-font);
    color: var(--rp-ink-2);
    background: var(--rp-bg);
    line-height: 1.6;
    font-weight: 400;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-feature-settings: 'ss01', 'cv11';
}
body.menu-open { overflow: hidden; }

img, svg, video { max-width: 100%; height: auto; display: block; }
img { border-radius: 0; }

::selection { background: var(--rp-ink); color: var(--rp-bg); }

a { color: inherit; }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible {
    outline: 2px solid var(--rp-ink);
    outline-offset: 3px;
    border-radius: var(--rp-r-xs);
}

.screen-reader-text {
    border: 0; clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%);
    height: 1px; margin: -1px; overflow: hidden; padding: 0;
    position: absolute !important; width: 1px; word-wrap: normal !important;
}

.skip-link:focus {
    background: var(--rp-ink); color: var(--rp-bg); clip: auto; clip-path: none;
    height: auto; width: auto; padding: 1rem 1.5rem;
    position: absolute; left: 1rem; top: 1rem; z-index: 9999;
    text-decoration: none; font-weight: 500; border-radius: var(--rp-r-full);
}

.site-accent { display: none; }

/* ===========================================================================
   HEADER — refined glass band, editorial restraint
   =========================================================================== */
.site-header {
    background: rgba(247, 245, 240, 0.78);
    backdrop-filter: saturate(140%) blur(12px);
    -webkit-backdrop-filter: saturate(140%) blur(12px);
    border-bottom: 1px solid transparent;
    position: sticky;
    top: 0;
    z-index: 100;
    transition: background .35s var(--rp-ease), border-color .35s var(--rp-ease);
}
.site-header.is-scrolled {
    background: rgba(247, 245, 240, 0.92);
    border-bottom-color: var(--rp-line-soft);
}

.site-header-inner {
    max-width: var(--rp-content-full);
    margin: 0 auto;
    padding: 1.1rem 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.site-branding { display: flex; align-items: center; flex-shrink: 0; }
.site-branding a { line-height: 0; display: inline-flex; align-items: center; gap: 0.6rem; }
.site-branding img, .custom-logo { max-height: 40px; width: auto; height: auto; border-radius: 0; }

.site-title-link { text-decoration: none; }
.site-title {
    font-family: var(--rp-font-display);
    font-weight: 500;
    color: var(--rp-ink);
    font-size: 1.4rem;
    letter-spacing: -0.01em;
    font-style: italic;
}

/* Wordmark fallback */
.site-branding-mark {
    width: 28px; height: 28px;
    display: inline-flex; align-items: center; justify-content: center;
    border-radius: 50%;
    background: var(--rp-ink);
    color: var(--rp-bg);
    font-family: var(--rp-font-display);
    font-style: italic;
    font-weight: 500;
    font-size: 0.95rem;
}

.site-nav { display: flex; align-items: center; flex: 1; justify-content: center; }

.site-nav-toggle {
    display: none; flex-direction: column; justify-content: center; align-items: center; gap: 5px;
    width: 44px; height: 44px; padding: 0; background: transparent; border-radius: 50%;
    border: 1px solid var(--rp-line); cursor: pointer; transition: all .3s var(--rp-ease);
}
.site-nav-toggle:hover { border-color: var(--rp-ink); }
.site-nav-toggle span {
    display: block; width: 18px; height: 1.5px; background: var(--rp-ink); border-radius: 2px;
    transition: transform .4s var(--rp-ease), opacity .3s ease;
}
.site-nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.site-nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.site-nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

.primary-menu { display: flex; list-style: none; margin: 0; padding: 0; gap: 2.4rem; }
.primary-menu li { margin: 0; }
.primary-menu a {
    color: var(--rp-ink);
    text-decoration: none;
    font-weight: 450;
    font-size: 0.96rem;
    padding: 0.5rem 0;
    letter-spacing: 0;
    position: relative;
    transition: color .3s ease;
}
.primary-menu a::after {
    content: ""; position: absolute; left: 0; right: 0; bottom: 0.1rem;
    height: 1px; background: currentColor;
    transform: scaleX(0); transform-origin: left center;
    transition: transform .35s var(--rp-ease);
}
.primary-menu a:hover::after,
.primary-menu .current-menu-item > a::after,
.primary-menu .current_page_item > a::after { transform: scaleX(1); }

.site-header-cta { display: flex; align-items: center; gap: 1.1rem; flex-shrink: 0; }

.site-header-phone {
    font-size: 0.95rem; font-weight: 500; color: var(--rp-ink-2);
    text-decoration: none; transition: color .3s ease; letter-spacing: 0;
    font-variant-numeric: tabular-nums;
    display: inline-flex; align-items: center; gap: 0.45rem;
}
.site-header-phone::before {
    content: ""; width: 6px; height: 6px; border-radius: 50%;
    background: var(--rp-brand-soft); display: inline-block;
}
.site-header-phone:hover { color: var(--rp-ink); }

.rp-header-cta {
    display: inline-flex; align-items: center; gap: 0.55rem;
    background: var(--rp-ink); color: var(--rp-bg); border-radius: var(--rp-r-full);
    padding: 0.7rem 1.3rem; font-weight: 500; font-size: 0.9rem;
    text-decoration: none; transition: all .35s var(--rp-ease);
    border: 1px solid var(--rp-ink);
    letter-spacing: 0;
}
.rp-header-cta svg { width: 14px; height: 14px; transition: transform .35s var(--rp-ease); }
.rp-header-cta:hover { background: var(--rp-brand); border-color: var(--rp-brand); color: #fff; }
.rp-header-cta:hover svg { transform: translateX(3px); }

@media (max-width: 1100px) { .site-header-phone { display: none; } }
@media (max-width: 960px) {
    .site-nav-toggle { display: flex; order: -1; }
    .site-nav { position: static; flex: 0; }
    .site-header-inner { padding: 0.9rem 1.25rem; gap: 1rem; }
    .primary-menu {
        position: absolute; top: 100%; left: 0; right: 0;
        background: var(--rp-bg);
        flex-direction: column; gap: 0; padding: 1.5rem 1.25rem 2rem;
        display: none; max-height: calc(100vh - 80px); overflow-y: auto;
        border-bottom: 1px solid var(--rp-line-soft);
    }
    .primary-menu.is-open { display: flex; }
    .primary-menu a {
        padding: 1.1rem 0.5rem; font-size: 1.15rem; display: block;
        text-align: left; border-bottom: 1px solid var(--rp-line-soft);
        font-family: var(--rp-font-display);
        font-weight: 400;
    }
    .primary-menu a::after { display: none; }
}
@media (max-width: 460px) {
    .rp-header-cta span { display: none; }
    .rp-header-cta { padding: 0.65rem 0.9rem; }
}

/* ===========================================================================
   CONTAINERS
   =========================================================================== */
.site-content { background: var(--rp-bg); padding: 0; }
.site-main {
    max-width: var(--rp-content-wide);
    margin: 0 auto;
    padding: var(--rp-s-5) 1.5rem var(--rp-s-7);
}
.home .site-main { padding: var(--rp-s-4) 1.5rem var(--rp-s-7); max-width: var(--rp-content-full); }

.entry-content { font-size: 1.05rem; }
.entry-content .entry-content { padding: 0; max-width: none; }

/* Section spacing — generous editorial whitespace */
.entry-content > .rp-hero-split,
.entry-content > .rp-hero,
.entry-content > .rp-stats,
.entry-content > .rp-features,
.entry-content > .rp-features--services,
.entry-content > .rp-features--why,
.entry-content > .rp-imagerow,
.entry-content > .rp-gallery,
.entry-content > .rp-gallery-grid,
.entry-content > ul.rp-areas,
.entry-content > .rp-final-cta,
.entry-content > .rp-proof-section,
.entry-content > .rp-faq,
.entry-content > .rp-testimonials,
.entry-content > .rp-beforeafter {
    background: transparent !important;
    border: 0 !important;
    border-radius: 0 !important;
    padding: 0 !important;
    box-shadow: none !important;
    margin: 0 0 var(--rp-s-7) !important;
}

/* Headings outside of components — eyebrow-like */
.entry-content > .wp-block-heading {
    margin: var(--rp-s-6) 0 var(--rp-s-3) !important;
    padding: 0;
    color: var(--rp-ink);
    max-width: 22ch;
}
.entry-content > .wp-block-heading + p { color: var(--rp-mute); max-width: 60ch; margin-bottom: var(--rp-s-4); }
.entry-content > :first-child { margin-top: 0 !important; }

/* ===========================================================================
   TYPOGRAPHY — display serif + sans body
   =========================================================================== */
h1, h2, h3, h4, h5, h6, .entry-title, .wp-block-heading {
    font-family: var(--rp-font-display);
    color: var(--rp-ink);
    font-weight: 400;
    line-height: 1.04;
    letter-spacing: -0.022em;
    margin: 0 0 1rem;
    font-feature-settings: 'ss01', 'liga';
}

.entry-content h1 {
    font-size: clamp(2.6rem, 6vw, 5.4rem);
    line-height: 0.98;
    margin: 0 0 1.5rem;
    letter-spacing: -0.034em;
    font-weight: 350;
}
.entry-content h2 {
    font-size: clamp(2rem, 4.4vw, 3.4rem);
    line-height: 1.04;
    margin: var(--rp-s-6) 0 var(--rp-s-3);
    letter-spacing: -0.028em;
    max-width: 24ch;
    font-weight: 350;
}
.entry-content h3 {
    font-size: clamp(1.2rem, 1.8vw, 1.4rem);
    margin: 1.4rem 0 0.5rem;
    color: var(--rp-ink);
    font-weight: 500;
    letter-spacing: -0.012em;
    font-family: var(--rp-font);
}

.entry-content p, .entry-content li {
    font-size: 1.06rem;
    line-height: 1.7;
    color: var(--rp-ink-2);
    font-weight: 400;
    max-width: 68ch;
}
.entry-content > p:first-of-type {
    font-size: 1.18rem;
    color: var(--rp-ink-2);
    line-height: 1.55;
    max-width: 60ch;
    font-weight: 400;
    margin-bottom: var(--rp-s-3);
}

.entry-content a {
    color: var(--rp-ink);
    text-decoration: none;
    font-weight: 500;
    border-bottom: 1px solid var(--rp-line);
    transition: border-color .25s ease, color .25s ease;
    padding-bottom: 1px;
}
.entry-content a:hover {
    border-bottom-color: var(--rp-ink);
    color: var(--rp-brand);
}
.entry-content strong { color: var(--rp-ink); font-weight: 600; }
.entry-content em { font-family: var(--rp-font-display); font-style: italic; font-weight: 400; }

.entry-content ul, .entry-content ol { padding-left: 1.5rem; margin: 1.25rem 0; }
.entry-content ul li, .entry-content ol li { margin-bottom: 0.55rem; }

.rp-checks { padding: 0; list-style: none; margin: 1.5rem 0; }
.rp-checks li {
    position: relative; padding-left: 2rem; margin-bottom: 0.85rem;
    font-weight: 400; color: var(--rp-ink);
}
.rp-checks li::before {
    content: ""; position: absolute; left: 0; top: 0.45em;
    width: 14px; height: 8px;
    border-left: 1.5px solid var(--rp-brand);
    border-bottom: 1.5px solid var(--rp-brand);
    transform: rotate(-45deg);
}

.rp-areas {
    list-style: none; padding: 0;
    margin: 1.5rem 0;
    display: flex; flex-wrap: wrap; gap: 0.5rem;
}
.rp-areas li {
    margin: 0;
    padding: 0.55rem 1.1rem;
    background: var(--rp-card);
    border: 1px solid var(--rp-line);
    border-radius: var(--rp-r-full);
    font-size: 0.92rem;
    font-weight: 500;
    color: var(--rp-ink);
    transition: all .3s var(--rp-ease);
}
.rp-areas li:hover {
    background: var(--rp-ink); color: var(--rp-bg); border-color: var(--rp-ink);
    transform: translateY(-2px);
}

.entry-content blockquote {
    border: 0;
    background: transparent;
    padding: var(--rp-s-3) 0 var(--rp-s-3) var(--rp-s-3);
    margin: var(--rp-s-4) 0;
    color: var(--rp-ink);
    font-family: var(--rp-font-display);
    font-style: italic;
    font-size: clamp(1.4rem, 2.4vw, 1.8rem);
    line-height: 1.4;
    font-weight: 350;
    letter-spacing: -0.015em;
    position: relative;
    box-shadow: none;
    max-width: 30ch;
}
.entry-content blockquote::before {
    content: "“";
    position: absolute; left: -0.4rem; top: -0.6rem;
    font-size: 4rem; color: var(--rp-line);
    line-height: 1;
}

/* ===========================================================================
   BUTTONS — standardised system, contrast-guaranteed in every context
   ===========================================================================
   Variants:
     1. Default          — solid ink, cream text          (primary action)
     2. .rp-btn-primary  — same as default, hover → sage  (tel:/explicit primary)
     3. .rp-btn-whatsapp — outline ink, hover → green     (WhatsApp action)
     4. .is-style-outline— transparent, ink border        (low-emphasis link)
   Every variant overrides .entry-content a colour so cascade can't break it.
   =========================================================================== */
:where(.wp-block-button__link, .button) {
    font-family: var(--rp-font);
    font-weight: 500;
    padding: 0.95rem 1.6rem;
    transition: background .3s var(--rp-ease), color .3s var(--rp-ease), transform .3s var(--rp-ease), box-shadow .3s ease, border-color .3s ease;
    border-radius: var(--rp-r-full);
    font-size: 0.96rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    text-decoration: none !important;
    cursor: pointer;
    letter-spacing: 0;
    box-shadow: none;
    line-height: 1.1;
    border: 1px solid transparent;
    -webkit-tap-highlight-color: transparent;
    min-height: 48px;
}

/* DEFAULT (solid ink) — wins over .entry-content a via specificity + !important */
.wp-block-button__link,
.entry-content .wp-block-button__link,
.button {
    background: var(--rp-ink) !important;
    color: var(--rp-bg) !important;
    border-color: var(--rp-ink) !important;
    border-bottom-width: 1px !important;
}
.wp-block-button__link:hover,
.entry-content .wp-block-button__link:hover,
.button:hover {
    background: var(--rp-brand) !important;
    border-color: var(--rp-brand) !important;
    color: #ffffff !important;
    transform: translateY(-2px);
    box-shadow: var(--rp-shadow-sm);
}

/* OUTLINE block style — transparent with ink border */
.wp-block-button.is-style-outline > .wp-block-button__link,
.entry-content .wp-block-button.is-style-outline > .wp-block-button__link {
    background: transparent !important;
    color: var(--rp-ink) !important;
    border: 1px solid var(--rp-ink) !important;
    box-shadow: none;
}
.wp-block-button.is-style-outline > .wp-block-button__link:hover,
.entry-content .wp-block-button.is-style-outline > .wp-block-button__link:hover {
    background: var(--rp-ink) !important;
    color: var(--rp-bg) !important;
    border-color: var(--rp-ink) !important;
}

/* PRIMARY MODIFIER — same look as default solid; explicit for clarity */
.wp-block-button__link.rp-btn-primary,
.entry-content .wp-block-button__link.rp-btn-primary,
.rp-btn-primary {
    background: var(--rp-ink) !important;
    color: var(--rp-bg) !important;
    border: 1px solid var(--rp-ink) !important;
}
.wp-block-button__link.rp-btn-primary:hover,
.entry-content .wp-block-button__link.rp-btn-primary:hover,
.rp-btn-primary:hover {
    background: var(--rp-brand) !important;
    border-color: var(--rp-brand) !important;
    color: #ffffff !important;
}

/* WHATSAPP MODIFIER — outline → green on hover */
.wp-block-button__link.rp-btn-whatsapp,
.entry-content .wp-block-button__link.rp-btn-whatsapp,
.rp-btn-whatsapp {
    background: transparent !important;
    color: var(--rp-ink) !important;
    border: 1px solid var(--rp-ink) !important;
}
.wp-block-button__link.rp-btn-whatsapp:hover,
.entry-content .wp-block-button__link.rp-btn-whatsapp:hover,
.rp-btn-whatsapp:hover {
    background: var(--rp-whatsapp) !important;
    color: #ffffff !important;
    border-color: var(--rp-whatsapp) !important;
}

/* SVG icons inside any button — inherit text colour, never sepia/sage leak */
.wp-block-button__link > svg,
.rp-btn-primary > svg,
.rp-btn-whatsapp > svg,
.button > svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    stroke: currentColor !important;
    fill: none !important;
    color: currentColor !important;
    transition: transform .35s var(--rp-ease);
}
.wp-block-button__link > svg *,
.rp-btn-primary > svg *,
.rp-btn-whatsapp > svg * {
    stroke: currentColor !important;
    fill: none !important;
    color: currentColor !important;
}
.wp-block-button__link:hover > svg { transform: translateX(2px); }

/* tel: button — tabular numerals so the phone number doesn't dance */
.wp-block-button__link[href^="tel:"] { font-variant-numeric: tabular-nums; letter-spacing: 0.01em; }

/* Defeat any legacy emoji pseudo-elements */
.rp-btn-primary::before,
.rp-btn-whatsapp::before,
.wp-block-button__link::before { content: none !important; display: none !important; }

.rp-cta-row { display: flex; gap: 0.75rem; flex-wrap: wrap; align-items: center; margin-top: 1.6rem; }
.rp-cta-row .wp-block-button { margin: 0; }

/* ===========================================================================
   HERO — editorial split, oversized serif headline, image card
   =========================================================================== */
.rp-hero, .rp-hero-split {
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    gap: clamp(2rem, 5vw, 4.5rem);
    align-items: center;
    padding: var(--rp-s-4) 0 var(--rp-s-5);
    position: relative;
}
.rp-hero-split::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 1px; background: var(--rp-line-soft);
    opacity: 0.6;
}
.rp-hero-split--top::before { display: none; }
.rp-hero-split-text { display: flex; flex-direction: column; justify-content: center; align-items: flex-start; }

.rp-hero-badge {
    display: inline-flex; align-items: center; gap: 0.55rem;
    background: transparent; color: var(--rp-ink-2);
    padding: 0; font-size: 0.78rem; font-family: var(--rp-font);
    font-weight: 500; text-transform: uppercase; letter-spacing: 0.18em;
    margin-bottom: 1.6rem;
    border-radius: 0;
    border: 0;
}
.rp-hero-badge::before {
    content: ""; width: 28px; height: 1px; background: var(--rp-ink-2);
    display: inline-block;
}

.rp-hero-split-text h1 {
    font-size: clamp(2.6rem, 6vw, 5.6rem);
    line-height: 0.98;
    margin: 0 0 1.5rem;
    color: var(--rp-ink);
    letter-spacing: -0.034em;
    font-weight: 350;
    font-family: var(--rp-font-display);
    max-width: 18ch;
}
.rp-hero-split-text h1 em,
.rp-hero-split-text h1 .accent {
    font-style: italic;
    color: var(--rp-brand);
    font-weight: 400;
}
.rp-hero-split-text p {
    font-size: clamp(1.05rem, 1.4vw, 1.18rem);
    font-weight: 400;
    color: var(--rp-ink-2);
    margin-bottom: 1.8rem;
    max-width: 48ch;
    line-height: 1.55;
}

.rp-hero-split-image {
    position: relative;
    aspect-ratio: 4 / 5;
    overflow: hidden;
    border-radius: var(--rp-r-lg);
    border: 0;
    box-shadow: var(--rp-shadow-md);
}
.rp-hero-image-wrapper {
    position: relative;
    overflow: hidden;
    border-radius: var(--rp-r-lg);
    aspect-ratio: 4 / 5;
    box-shadow: var(--rp-shadow-md);
}
.rp-hero-image-wrapper img,
.rp-hero-split-image img {
    width: 100%; height: 100%; object-fit: cover;
    border-radius: var(--rp-r-lg);
    filter: none;
    transition: transform 1.4s var(--rp-ease);
}
.rp-hero-split-image:hover img,
.rp-hero-image-wrapper:hover img { transform: scale(1.04); }

.rp-hero-trust {
    position: absolute; bottom: 1.25rem; left: 1.25rem; right: 1.25rem;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    padding: 0.95rem 1.25rem;
    border-radius: var(--rp-r);
    box-shadow: var(--rp-shadow-sm);
    display: inline-flex; flex-direction: row; align-items: center; gap: 0.85rem;
    border: 1px solid rgba(255, 255, 255, 0.6);
    width: fit-content;
}
.rp-hero-trust-stars { color: var(--rp-accent-clay); font-size: 1rem; letter-spacing: 0.08em; line-height: 1; }
.rp-hero-trust-text { font-size: 0.86rem; color: var(--rp-ink-2); font-weight: 500; }
.rp-hero-trust-text strong { color: var(--rp-ink); font-weight: 700; }

@media (max-width: 900px) {
    .rp-hero, .rp-hero-split { grid-template-columns: 1fr; gap: 2rem; padding: var(--rp-s-3) 0 var(--rp-s-4); }
    .rp-hero-image-wrapper, .rp-hero-split-image { aspect-ratio: 5 / 4; max-width: 100%; }
    .rp-hero-trust { left: 1rem; right: 1rem; bottom: 1rem; padding: 0.7rem 1rem; }
    .rp-btn-primary, .rp-btn-whatsapp { flex: 1; justify-content: center; min-width: 0; }
}

/* ===========================================================================
   STATS — editorial measurement row, mono numerals
   =========================================================================== */
.rp-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    background: transparent;
    border-radius: 0;
    overflow: visible;
    border-top: 1px solid var(--rp-line-soft);
    border-bottom: 1px solid var(--rp-line-soft);
    padding: var(--rp-s-4) 0;
}
.rp-stat {
    background: transparent;
    padding: 0 1.25rem;
    text-align: left;
    display: flex; flex-direction: column; justify-content: center;
    border-left: 1px solid var(--rp-line-soft);
    position: relative;
}
.rp-stat:first-child { border-left: 0; padding-left: 0; }
.rp-stat-num {
    font-family: var(--rp-font-display);
    font-size: clamp(2.4rem, 4.2vw, 3.6rem);
    font-weight: 350;
    color: var(--rp-ink);
    margin-bottom: 0.5rem;
    line-height: 1;
    font-variant-numeric: tabular-nums;
    letter-spacing: -0.03em;
}
.rp-stat-label {
    font-size: 0.84rem;
    font-weight: 500;
    color: var(--rp-mute);
    line-height: 1.4;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}
@media (max-width: 900px) {
    .rp-stats { grid-template-columns: 1fr 1fr; gap: 1.5rem 0; padding: var(--rp-s-3) 0; }
    .rp-stat { padding: 0.75rem 1rem; }
    .rp-stat:nth-child(odd) { border-left: 0; padding-left: 0; }
    .rp-stat:nth-child(3), .rp-stat:nth-child(4) { border-top: 1px solid var(--rp-line-soft); padding-top: 1.5rem; }
}
@media (max-width: 500px) {
    .rp-stats { grid-template-columns: 1fr; }
    .rp-stat { padding: 1rem 0; border-left: 0; border-top: 1px solid var(--rp-line-soft); }
    .rp-stat:first-child { border-top: 0; padding-top: 0; }
}

/* ===========================================================================
   FEATURES / SERVICES — editorial cards with hairline borders, hover lift
   =========================================================================== */
.rp-features, .rp-features--services, .rp-features--why {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
    background: transparent;
}
.rp-feature {
    background: var(--rp-card);
    padding: 1.75rem 1.75rem 1.5rem;
    border-radius: var(--rp-r-lg);
    box-shadow: none;
    border: 1px solid var(--rp-line-soft);
    display: flex; flex-direction: column;
    transition: all .4s var(--rp-ease);
    position: relative;
    overflow: hidden;
}
.rp-feature::after {
    content: "";
    position: absolute; left: 0; top: 0; bottom: 0;
    width: 2px; background: var(--rp-brand);
    transform: scaleY(0); transform-origin: top center;
    transition: transform .4s var(--rp-ease);
}
.rp-feature:hover {
    transform: translateY(-4px);
    box-shadow: var(--rp-shadow-md);
    border-color: var(--rp-line);
    background: var(--rp-card);
}
.rp-feature:hover::after { transform: scaleY(1); }
.rp-feature h3 {
    font-size: 1.18rem;
    margin: 0 0 0.6rem;
    color: var(--rp-ink);
    font-weight: 500;
    display: flex; align-items: center; gap: 0.7rem;
    font-family: var(--rp-font);
    letter-spacing: -0.008em;
}
.rp-feature-icon {
    display: inline-flex; align-items: center; justify-content: center;
    width: 38px; height: 38px;
    background: var(--rp-bg-soft);
    color: var(--rp-ink);
    border-radius: 50%;
    flex-shrink: 0;
    transition: all .4s var(--rp-ease);
}
.rp-feature:hover .rp-feature-icon {
    background: var(--rp-ink);
    color: var(--rp-bg);
    transform: rotate(-6deg);
}
.rp-feature-icon svg { width: 18px; height: 18px; }
.rp-feature-title { flex: 1; }
.rp-feature p { font-size: 0.98rem; color: var(--rp-ink-2); margin: 0 0 1.25rem; flex: 1; font-weight: 400; line-height: 1.6; max-width: none; }
.rp-feature a {
    font-weight: 500; font-size: 0.92rem; color: var(--rp-ink);
    text-decoration: none; align-self: flex-start;
    border-bottom: 1px solid var(--rp-line);
    transition: all .3s var(--rp-ease); padding-bottom: 2px;
    display: inline-flex; align-items: center; gap: 0.35rem;
}
.rp-feature a:hover { border-bottom-color: var(--rp-ink); color: var(--rp-brand); transform: translateX(3px); }

/* Why-features variant — slight visual differentiation */
.rp-features--why .rp-feature { background: transparent; border-color: var(--rp-line-soft); }
.rp-features--why .rp-feature:hover { background: var(--rp-card); }

/* Services variant — first card spans wider */
.rp-features--services .rp-feature:nth-child(1) {
    background: var(--rp-ink);
    color: var(--rp-bg);
    border: 1px solid var(--rp-ink);
}
.rp-features--services .rp-feature:nth-child(1) h3 { color: var(--rp-bg); }
.rp-features--services .rp-feature:nth-child(1) p { color: rgba(247, 245, 240, 0.78); }
.rp-features--services .rp-feature:nth-child(1) a { color: var(--rp-bg); border-bottom-color: rgba(247, 245, 240, 0.3); }
.rp-features--services .rp-feature:nth-child(1) a:hover { border-bottom-color: var(--rp-bg); color: var(--rp-bg); }
.rp-features--services .rp-feature:nth-child(1) .rp-feature-icon { background: rgba(255, 255, 255, 0.1); color: var(--rp-bg); }
.rp-features--services .rp-feature:nth-child(1):hover .rp-feature-icon { background: var(--rp-bg); color: var(--rp-ink); }
.rp-features--services .rp-feature:nth-child(1)::after { background: var(--rp-brand-soft); }

@media (max-width: 1024px) {
    .rp-features, .rp-features--services, .rp-features--why { grid-template-columns: repeat(2, 1fr); gap: 1rem; }
}
@media (max-width: 700px) {
    .rp-features, .rp-features--services, .rp-features--why { grid-template-columns: 1fr; }
}

/* ===========================================================================
   PROCESS — numbered editorial rows
   =========================================================================== */
.rp-process-step {
    display: grid; grid-template-columns: 5rem 1fr;
    gap: 1.6rem; padding: 1.8rem 0;
    border-top: 1px solid var(--rp-line-soft);
    transition: padding-left .4s var(--rp-ease);
}
.rp-process-step:hover { padding-left: 0.5rem; }
.rp-process-step:first-child { border-top: 0; padding-top: 0; }
.rp-step-num {
    font-family: var(--rp-font-display);
    font-size: 2.2rem;
    color: var(--rp-ink);
    margin-top: -0.2rem;
    font-style: italic;
    font-weight: 350;
    font-variant-numeric: tabular-nums;
    letter-spacing: -0.02em;
}
.rp-process-step h3, .rp-process-step .rp-step-title {
    margin: 0 0 0.5rem; font-size: 1.25rem; font-weight: 500; color: var(--rp-ink);
    font-family: var(--rp-font);
    letter-spacing: -0.01em;
}
.rp-process-step p, .rp-process-step .rp-step-text {
    margin: 0; color: var(--rp-ink-2); font-size: 1rem; font-weight: 400; line-height: 1.65;
    max-width: 56ch;
}

/* ===========================================================================
   FAQ — editorial restraint
   =========================================================================== */
.rp-faq h2#rp-faq-heading,
.rp-faq h2 { font-size: clamp(2rem, 3.6vw, 2.8rem); margin: 0 0 var(--rp-s-3); }
.rp-faq details { border-bottom: 1px solid var(--rp-line-soft); padding: 0; }
.rp-faq details:last-of-type { border-bottom: 0; }
.rp-faq summary {
    padding: 1.5rem 3rem 1.5rem 0;
    font-family: var(--rp-font);
    font-size: 1.1rem;
    color: var(--rp-ink);
    cursor: pointer;
    list-style: none;
    position: relative;
    font-weight: 500;
    transition: color .25s ease;
}
.rp-faq summary:hover { color: var(--rp-brand); }
.rp-faq summary::-webkit-details-marker { display: none; }
.rp-faq summary::after {
    content: "";
    position: absolute; right: 0; top: 50%;
    transform: translateY(-50%);
    width: 14px; height: 14px;
    transition: transform .35s var(--rp-ease);
    background-image: linear-gradient(currentColor, currentColor), linear-gradient(currentColor, currentColor);
    background-size: 14px 1.5px, 1.5px 14px;
    background-position: center;
    background-repeat: no-repeat;
    color: var(--rp-ink);
}
.rp-faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.rp-faq summary + * {
    padding: 0 3rem 1.75rem 0; color: var(--rp-ink-2);
    font-size: 1rem; max-width: 70ch; font-weight: 400; line-height: 1.7;
}

/* ===========================================================================
   TESTIMONIALS — editorial featured + grid
   =========================================================================== */
.rp-testimonials h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    margin: 0 0 var(--rp-s-4);
    text-align: left;
    font-weight: 350;
    color: var(--rp-ink);
    max-width: 24ch;
}
.rp-testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
}
.rp-testimonial {
    background: var(--rp-card);
    padding: 1.75rem;
    border-radius: var(--rp-r-lg);
    border: 1px solid var(--rp-line-soft);
    display: flex; flex-direction: column;
    box-shadow: none;
    transition: all .4s var(--rp-ease);
}
.rp-testimonial:hover {
    transform: translateY(-3px);
    box-shadow: var(--rp-shadow-sm);
    border-color: var(--rp-line);
}

.rp-testimonials-grid > :first-child {
    grid-column: 1 / -1;
    background: var(--rp-ink);
    color: var(--rp-bg);
    border: 0;
    padding: clamp(2rem, 4vw, 3rem);
    margin: 0 0 0.5rem;
    text-align: left;
    align-items: flex-start;
    box-shadow: var(--rp-shadow-md);
    border-radius: var(--rp-r-xl);
    position: relative;
    overflow: hidden;
}
.rp-testimonials-grid > :first-child::before {
    content: "“";
    position: absolute;
    top: -1rem; right: 2rem;
    font-family: var(--rp-font-display);
    font-size: 8rem;
    line-height: 1;
    color: rgba(247, 245, 240, 0.08);
    pointer-events: none;
}
.rp-testimonials-grid > :first-child .rp-testimonial-text {
    font-size: clamp(1.3rem, 2.4vw, 1.75rem);
    color: var(--rp-bg);
    font-style: italic;
    font-family: var(--rp-font-display);
    margin-bottom: 1.8rem;
    max-width: 60ch;
    line-height: 1.4;
    font-weight: 350;
    letter-spacing: -0.012em;
}
.rp-testimonials-grid > :first-child .rp-testimonial-name { font-size: 1.05rem; color: var(--rp-bg); }
.rp-testimonials-grid > :first-child .rp-testimonial-stamp { color: rgba(247, 245, 240, 0.55); }
.rp-testimonials-grid > :first-child .rp-testimonial-service { color: rgba(247, 245, 240, 0.55); }
.rp-testimonials-grid > :first-child .rp-testimonial-author { border-top-color: rgba(247, 245, 240, 0.15); padding-top: 1.25rem; }
.rp-testimonials-grid > :first-child .rp-testimonial-stars { color: var(--rp-accent-clay); }
.rp-testimonials-grid > :first-child .rp-testimonial-avatar { background: var(--rp-bg); color: var(--rp-ink); }

.rp-testimonial-stars { color: var(--rp-accent-clay); font-size: 0.95rem; margin-bottom: 1.1rem; letter-spacing: 0.14em; line-height: 1; }
.rp-testimonial-text { font-size: 0.98rem; color: var(--rp-ink-2); margin: 0 0 1.5rem; font-weight: 400; flex: 1; line-height: 1.6; }
.rp-testimonial-author { display: flex; align-items: center; gap: 0.85rem; padding-top: 1.1rem; border-top: 1px solid var(--rp-line-soft); }
.rp-testimonial-avatar {
    width: 2.5rem; height: 2.5rem;
    background: var(--rp-bg-soft);
    color: var(--rp-ink);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-family: var(--rp-font-display);
    font-style: italic;
    font-weight: 500;
    font-size: 1rem;
    flex-shrink: 0;
}
.rp-testimonial-name { font-weight: 500; font-size: 0.98rem; margin-bottom: 0.15rem; color: var(--rp-ink); }
.rp-testimonial-stamp { font-size: 0.74rem; color: var(--rp-mute); letter-spacing: 0.1em; text-transform: uppercase; font-weight: 500; }
.rp-testimonial-service { font-size: 0.74rem; color: var(--rp-mute); text-transform: uppercase; letter-spacing: 0.08em; font-weight: 500; }
.rp-testimonial-author-text { min-width: 0; }

@media (max-width: 980px) { .rp-testimonials-grid { grid-template-columns: repeat(2, 1fr); } .rp-testimonials-grid > :first-child { grid-column: 1 / -1; } }
@media (max-width: 640px) { .rp-testimonials-grid { grid-template-columns: 1fr; } .rp-testimonials-grid > :first-child { padding: 2rem 1.5rem; border-radius: var(--rp-r-lg); } }

/* ===========================================================================
   FINAL CTA — editorial dark band
   =========================================================================== */
.rp-final-cta {
    background: var(--rp-ink) !important;
    border-radius: var(--rp-r-xl) !important;
    padding: clamp(2.5rem, 6vw, 4.5rem) clamp(1.75rem, 5vw, 4rem) !important;
    text-align: left;
    color: var(--rp-bg);
    position: relative;
    overflow: hidden;
    border: 0;
    box-shadow: var(--rp-shadow-md);
}
.rp-final-cta::before {
    content: "";
    position: absolute;
    top: -50%; right: -20%;
    width: 70%; height: 200%;
    background: radial-gradient(circle, rgba(77, 132, 88, 0.18) 0%, transparent 60%);
    pointer-events: none;
}
.rp-final-cta::after {
    content: "→";
    position: absolute;
    bottom: -2rem; right: 2rem;
    font-family: var(--rp-font-display);
    font-size: 12rem;
    line-height: 1;
    color: rgba(247, 245, 240, 0.05);
    pointer-events: none;
}
.rp-final-cta > * { position: relative; z-index: 1; }
.rp-final-cta h2 {
    color: var(--rp-bg);
    font-size: clamp(2rem, 4.2vw, 3.4rem);
    margin: 0 0 1rem;
    max-width: 22ch;
    font-weight: 350;
    letter-spacing: -0.03em;
    line-height: 1.04;
    font-family: var(--rp-font-display);
}
.rp-final-cta h2 em,
.rp-final-cta h2 .accent { color: var(--rp-brand-soft); font-style: italic; }
.rp-final-cta p {
    color: rgba(247, 245, 240, 0.78);
    font-size: 1.1rem;
    margin: 0 0 1.8rem;
    max-width: 52ch;
    font-weight: 400;
    line-height: 1.55;
}
.rp-final-cta .wp-block-buttons,
.rp-final-cta .rp-cta-row {
    justify-content: flex-start;
    margin-top: 0;
    gap: 0.75rem;
}
/* Inverted button treatment for the dark CTA band — guarantees light text on
   the cream button and light text on the outline variant. Wins over the
   default/.rp-btn-primary/.rp-btn-whatsapp rules above via specificity. */
.rp-final-cta .wp-block-button__link,
.rp-final-cta .wp-block-button__link.rp-btn-primary,
.rp-final-cta .button {
    background: var(--rp-bg) !important;
    color: var(--rp-ink) !important;
    border: 1px solid var(--rp-bg) !important;
}
.rp-final-cta .wp-block-button__link:hover,
.rp-final-cta .wp-block-button__link.rp-btn-primary:hover,
.rp-final-cta .button:hover {
    background: var(--rp-brand-soft) !important;
    color: #ffffff !important;
    border-color: var(--rp-brand-soft) !important;
    transform: translateY(-2px);
}
.rp-final-cta .wp-block-button__link.rp-btn-whatsapp,
.rp-final-cta .wp-block-button__link[href*="wa.me"] {
    background: transparent !important;
    color: var(--rp-bg) !important;
    border: 1px solid rgba(247, 245, 240, 0.45) !important;
}
.rp-final-cta .wp-block-button__link.rp-btn-whatsapp:hover,
.rp-final-cta .wp-block-button__link[href*="wa.me"]:hover {
    background: var(--rp-whatsapp) !important;
    color: #ffffff !important;
    border-color: var(--rp-whatsapp) !important;
}

/* ===========================================================================
   TRUST BAR — editorial credibility row
   =========================================================================== */
.rp-trust-bar {
    background: var(--rp-bg);
    border-radius: 0;
    border: 0;
    border-top: 1px solid var(--rp-line-soft);
    border-bottom: 1px solid var(--rp-line-soft);
    margin: var(--rp-s-6) auto 0;
    max-width: none;
    padding: var(--rp-s-3) 1.5rem;
    width: 100%;
}
.rp-trust-bar-inner {
    max-width: var(--rp-content-wide);
    margin: 0 auto;
    display: flex; flex-wrap: wrap;
    justify-content: space-between;
    gap: 1.5rem 2.5rem;
}
.rp-trust-item {
    display: inline-flex; align-items: center; gap: 0.7rem;
    font-weight: 500; color: var(--rp-ink); font-size: 0.92rem;
}
.rp-trust-item-icon {
    width: 32px; height: 32px;
    background: transparent;
    color: var(--rp-ink);
    border-radius: 50%;
    border: 1px solid var(--rp-line);
    display: inline-flex; align-items: center; justify-content: center;
}
.rp-trust-item-icon svg { width: 16px; height: 16px; color: currentColor; }

@media (max-width: 800px) {
    .rp-trust-bar-inner { justify-content: flex-start; }
    .rp-trust-item { font-size: 0.88rem; }
}

/* ===========================================================================
   GALLERY — asymmetric editorial grid
   =========================================================================== */
.rp-gallery-grid {
    display: grid; grid-template-columns: repeat(3, 1fr);
    gap: 1rem; margin: 0;
}
.rp-gallery-grid figure {
    margin: 0; aspect-ratio: 4 / 3;
    background: var(--rp-bg-soft);
    overflow: hidden;
    border-radius: var(--rp-r);
    box-shadow: none;
    position: relative;
}
.rp-gallery-grid img {
    width: 100%; height: 100%; object-fit: cover;
    transition: transform 0.8s var(--rp-ease);
    border-radius: var(--rp-r);
    filter: none;
}
.rp-gallery-grid figure:hover img { transform: scale(1.06); }
@media (min-width: 760px) {
    .rp-gallery-grid figure:nth-child(1) { grid-column: span 2; grid-row: span 2; aspect-ratio: auto; }
}
@media (max-width: 600px) {
    .rp-gallery-grid { grid-template-columns: 1fr 1fr; gap: 0.75rem; }
}

/* ===========================================================================
   BEFORE / AFTER DIPTYCH
   =========================================================================== */
.rp-beforeafter {
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 1rem; margin: 0 0 1rem;
}
.rp-beforeafter > figure {
    margin: 0; aspect-ratio: 4 / 3;
    position: relative;
    background: var(--rp-bg-soft);
    overflow: hidden;
    border-radius: var(--rp-r);
    box-shadow: none;
}
.rp-beforeafter > figure img {
    width: 100%; height: 100%; object-fit: cover;
    border-radius: var(--rp-r);
    filter: none;
    transition: transform .8s var(--rp-ease);
}
.rp-beforeafter > figure:hover img { transform: scale(1.04); }
.rp-beforeafter > figure::before {
    content: attr(data-label);
    position: absolute; top: 1rem; left: 1rem; z-index: 2;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(6px);
    color: var(--rp-ink);
    padding: 0.4rem 0.85rem;
    font-size: 0.72rem; font-weight: 600;
    border-radius: var(--rp-r-full);
    border: 0;
    text-transform: uppercase; letter-spacing: 0.14em;
    font-family: var(--rp-font);
}
.rp-beforeafter--proto > figure:first-child img {
    filter: saturate(0.55) contrast(0.92) brightness(0.9) sepia(0.18);
}
.rp-beforeafter__watermark {
    position: absolute; bottom: 1rem; right: 1rem; z-index: 2;
    background: rgba(20, 22, 26, 0.82);
    color: var(--rp-bg);
    padding: 0.3rem 0.85rem;
    font-size: 0.7rem;
    border-radius: var(--rp-r-full);
    letter-spacing: 0.1em; font-weight: 500;
    text-transform: uppercase;
}
.rp-beforeafter-caption {
    margin: 0 0 1rem; color: var(--rp-mute); font-size: 0.92rem;
    text-align: left; font-weight: 500;
    font-family: var(--rp-font);
    letter-spacing: 0;
}

.rp-proof-section h2 { margin-top: 0; }
.rp-proof-intro { color: var(--rp-mute); font-size: 1rem; max-width: 60ch; margin: 0 0 var(--rp-s-3); }
.rp-proof-grid { display: grid; grid-template-columns: 1fr; gap: 1.25rem; }
@media (min-width: 900px) {
    .rp-proof-grid { grid-template-columns: repeat(2, 1fr); gap: 1.25rem; }
    .rp-proof-grid > :first-child { grid-column: 1 / -1; }
}

/* ===========================================================================
   IMAGE ROW — paired text + photo, editorial
   =========================================================================== */
.rp-imagerow {
    display: grid; grid-template-columns: 1fr 1.1fr;
    gap: clamp(2rem, 5vw, 4.5rem);
    align-items: center;
}
.rp-imagerow > div:has(img),
.rp-imagerow > div > img {
    width: 100%;
}
.rp-imagerow img {
    border-radius: var(--rp-r-lg);
    filter: none;
    width: 100%; height: auto;
    box-shadow: var(--rp-shadow-md);
    aspect-ratio: 4 / 3;
    object-fit: cover;
    transition: transform 1.2s var(--rp-ease);
}
.rp-imagerow > div:hover img { transform: scale(1.03); }
.rp-imagerow h2 { font-size: clamp(2rem, 3.6vw, 2.8rem); max-width: 22ch; margin-top: 0; }
@media (max-width: 900px) { .rp-imagerow { grid-template-columns: 1fr; gap: 2rem; } }

/* ===========================================================================
   FOOTER — editorial dark band
   =========================================================================== */
.site-footer {
    background: var(--rp-ink);
    color: rgba(247, 245, 240, 0.78);
    padding: 0;
    margin: var(--rp-s-7) 0 0;
    border-radius: 0;
    border-top: 0;
    max-width: none;
    position: relative;
    overflow: hidden;
}
.site-footer::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 80% 20%, rgba(77, 132, 88, 0.10) 0%, transparent 55%);
    pointer-events: none;
}

.site-footer-masthead {
    background: transparent;
    border-bottom: 1px solid rgba(247, 245, 240, 0.1);
    padding: clamp(2.5rem, 5vw, 4rem) clamp(1.5rem, 3vw, 2.5rem);
    position: relative;
    z-index: 1;
}
.site-footer-masthead-inner {
    max-width: var(--rp-content-wide);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 2.5rem;
    align-items: center;
}
.site-footer-phone-block { color: var(--rp-bg); }
.site-footer-phone-label {
    font-family: var(--rp-font);
    font-size: 0.74rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgba(247, 245, 240, 0.55);
    margin: 0 0 1rem;
    font-weight: 500;
}
.site-footer-phone-mega {
    display: block;
    font-family: var(--rp-font-display);
    font-size: clamp(2.4rem, 5.4vw, 4.6rem);
    color: var(--rp-bg);
    text-decoration: none;
    font-weight: 350;
    letter-spacing: -0.03em;
    line-height: 1;
    margin: 0 0 1rem;
    font-variant-numeric: tabular-nums;
    transition: color .3s ease;
}
.site-footer-phone-mega:hover { color: var(--rp-brand-soft); }
.site-footer-phone-sub {
    font-size: 1rem;
    color: rgba(247, 245, 240, 0.65);
    margin: 0;
    max-width: 32ch;
    line-height: 1.5;
}

.site-footer-cta-block { display: flex; flex-direction: column; gap: 0.75rem; align-items: flex-end; }
.site-footer-cta-button {
    display: inline-flex; align-items: center; justify-content: center;
    background: var(--rp-bg);
    color: var(--rp-ink);
    padding: 1rem 1.6rem;
    border-radius: var(--rp-r-full);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.98rem;
    transition: all .35s var(--rp-ease);
    border: 1px solid var(--rp-bg);
    min-width: 200px;
}
.site-footer-cta-button:hover { background: transparent; color: var(--rp-bg); transform: translateY(-2px); }
.site-footer-cta-button--whatsapp {
    background: transparent;
    color: var(--rp-bg);
    border: 1px solid rgba(247, 245, 240, 0.35);
}
.site-footer-cta-button--whatsapp:hover { background: var(--rp-whatsapp); border-color: var(--rp-whatsapp); color: var(--rp-bg); }

@media (max-width: 800px) {
    .site-footer-masthead-inner { grid-template-columns: 1fr; gap: 2rem; }
    .site-footer-cta-block { align-items: stretch; }
    .site-footer-cta-button { width: 100%; min-width: 0; }
}

.site-footer-inner {
    max-width: var(--rp-content-wide);
    margin: 0 auto;
    padding: clamp(2.5rem, 5vw, 3.5rem) clamp(1.5rem, 3vw, 2.5rem) 2rem;
    display: grid;
    grid-template-columns: 1.4fr 1fr 1.4fr 1fr;
    gap: 2.5rem;
    position: relative;
    z-index: 1;
}
.site-footer-brand .custom-logo { max-height: 40px; margin-bottom: 1.5rem; filter: brightness(0) invert(1); }
.site-footer-tag {
    color: var(--rp-bg);
    margin: 0 0 0.4rem;
    font-family: var(--rp-font-display);
    font-size: 1.4rem;
    font-weight: 350;
    letter-spacing: -0.012em;
}
.site-footer-address {
    color: rgba(247, 245, 240, 0.6);
    margin: 0 0 1.6rem;
    font-size: 0.95rem;
    max-width: 28ch;
    font-weight: 400;
    line-height: 1.5;
}
.site-footer h4 {
    color: rgba(247, 245, 240, 0.5);
    font-size: 0.74rem;
    font-weight: 500;
    margin: 0 0 1.4rem;
    font-family: var(--rp-font);
    text-transform: uppercase;
    letter-spacing: 0.18em;
}
.site-footer-col ul, .site-footer-social {
    list-style: none; margin: 0; padding: 0;
}
.site-footer-col li, .site-footer-social li { margin: 0 0 0.85rem; }
.site-footer-col a, .site-footer-social a {
    color: rgba(247, 245, 240, 0.85);
    text-decoration: none;
    font-weight: 400;
    font-size: 0.96rem;
    transition: color .25s ease;
    border-bottom: 1px solid transparent;
    padding-bottom: 1px;
}
.site-footer-col a:hover, .site-footer-social a:hover { color: var(--rp-bg); border-bottom-color: var(--rp-bg); }
.site-footer-social { display: flex; gap: 1.25rem; flex-wrap: wrap; }

.site-footer-bottom {
    border-top: 1px solid rgba(247, 245, 240, 0.1);
    padding: 1.5rem clamp(1.5rem, 3vw, 2.5rem);
    position: relative; z-index: 1;
}
.site-footer-bottom-inner {
    max-width: var(--rp-content-wide);
    margin: 0 auto;
    display: flex; justify-content: space-between; align-items: center;
    flex-wrap: wrap; gap: 1rem;
}
.site-footer-copy, .site-footer-bottom small {
    color: rgba(247, 245, 240, 0.45);
    font-size: 0.85rem;
    font-weight: 400;
}
.site-footer-legal { display: flex; gap: 1.5rem; }
.site-footer-legal a {
    color: rgba(247, 245, 240, 0.5);
    font-size: 0.85rem;
    text-decoration: none;
    font-weight: 400;
    border-bottom: 1px solid transparent;
    padding-bottom: 1px;
    transition: color .25s ease, border-color .25s ease;
}
.site-footer-legal a:hover { color: var(--rp-bg); border-bottom-color: var(--rp-bg); }

@media (max-width: 900px) { .site-footer-inner { grid-template-columns: 1fr 1fr; gap: 2rem; } }
@media (max-width: 540px) {
    .site-footer-inner { grid-template-columns: 1fr; }
    .site-footer-bottom-inner { flex-direction: column; align-items: flex-start; }
}

/* ===========================================================================
   STICKY MOBILE CTA — refined pill icons
   =========================================================================== */
.rp-sticky-cta {
    position: fixed; bottom: 1.5rem; right: 1.5rem; z-index: 90;
    display: flex; flex-direction: column; gap: 0.7rem;
    transform: translateY(150%);
    transition: transform .6s var(--rp-ease-out);
}
.rp-sticky-cta.is-visible { transform: translateY(0); }
.rp-sticky-cta-phone, .rp-sticky-cta-whatsapp {
    width: 56px; height: 56px;
    display: flex; align-items: center; justify-content: center;
    border-radius: 50%;
    text-decoration: none;
    transition: all .3s var(--rp-ease);
    box-shadow: var(--rp-shadow-md);
    border: 0;
}
.rp-sticky-cta-phone svg, .rp-sticky-cta-whatsapp svg { width: 22px; height: 22px; }
.rp-sticky-cta-phone span, .rp-sticky-cta-whatsapp span { display: none; }
.rp-sticky-cta-phone {
    background: var(--rp-ink); color: var(--rp-bg);
}
.rp-sticky-cta-phone:hover { background: var(--rp-brand); transform: translateY(-3px) scale(1.05); }
.rp-sticky-cta-whatsapp {
    background: var(--rp-whatsapp); color: #ffffff;
}
.rp-sticky-cta-whatsapp:hover { background: var(--rp-whatsapp-dark); transform: translateY(-3px) scale(1.05); }

@media (max-width: 768px) {
    .rp-sticky-cta { bottom: 1.25rem; right: 1.25rem; }
    .rp-sticky-cta-phone, .rp-sticky-cta-whatsapp { width: 54px; height: 54px; }
}

/* ===========================================================================
   UTILITIES & ANIMATIONS
   =========================================================================== */
.rp-num {
    font-variant-numeric: tabular-nums;
    letter-spacing: 0;
}
.rp-meta {
    font-size: 0.78rem;
    color: var(--rp-mute);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.14em;
}
.rp-eyebrow {
    font-family: var(--rp-font);
    font-size: 0.74rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    font-weight: 500;
    color: var(--rp-ink-2);
    margin: 0 0 1rem;
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
}
.rp-eyebrow::before {
    content: ""; width: 24px; height: 1px; background: currentColor;
    display: inline-block;
}

.rp-reveal {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.9s var(--rp-ease-out), transform 0.9s var(--rp-ease-out);
}
.rp-reveal.is-visible { opacity: 1; transform: translateY(0); }

.rp-reveal-stagger > * {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.7s var(--rp-ease-out), transform 0.7s var(--rp-ease-out);
}
.rp-reveal-stagger.is-visible > * { opacity: 1; transform: translateY(0); }
.rp-reveal-stagger.is-visible > *:nth-child(1) { transition-delay: 0ms; }
.rp-reveal-stagger.is-visible > *:nth-child(2) { transition-delay: 80ms; }
.rp-reveal-stagger.is-visible > *:nth-child(3) { transition-delay: 160ms; }
.rp-reveal-stagger.is-visible > *:nth-child(4) { transition-delay: 240ms; }
.rp-reveal-stagger.is-visible > *:nth-child(5) { transition-delay: 320ms; }
.rp-reveal-stagger.is-visible > *:nth-child(6) { transition-delay: 400ms; }

@media (prefers-reduced-motion: reduce) {
    .rp-reveal,
    .rp-reveal-stagger > * { opacity: 1 !important; transform: none !important; transition: none !important; animation: none !important; }
    *, *::before, *::after { animation: none !important; transition-duration: 0.01ms !important; }
}

/* Marquee stripe (decorative) */
.rp-marquee {
    overflow: hidden;
    border-top: 1px solid var(--rp-line-soft);
    border-bottom: 1px solid var(--rp-line-soft);
    padding: 0.9rem 0;
    margin: var(--rp-s-5) auto;
    max-width: var(--rp-content-full);
}
.rp-marquee-track {
    display: flex; gap: 3rem;
    animation: rp-marquee 38s linear infinite;
    white-space: nowrap;
    width: max-content;
}
.rp-marquee-item {
    font-family: var(--rp-font-display);
    font-style: italic;
    font-size: 1.4rem;
    color: var(--rp-ink);
    font-weight: 350;
    letter-spacing: -0.01em;
    display: inline-flex; align-items: center; gap: 3rem;
}
.rp-marquee-item::after {
    content: "✻";
    font-style: normal; font-family: var(--rp-font);
    color: var(--rp-brand-soft);
    font-size: 1rem;
}
@keyframes rp-marquee {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
    .rp-marquee-track { animation: none; }
}
