/* ==========================================================================
   Real Homez Buildcon — Premium Design Overlay
   Layered on top of styles.css. Establishes a refined design system,
   sharper typography, fluid spacing, premium shadows, gradients, and
   glass surfaces. Targets every page through the shared layout.
   ========================================================================== */

@import url("https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&family=Fraunces:opsz,wght@9..144,400;9..144,500;9..144,600;9..144,700&display=swap");

:root {
    /* Brand tokens (refined) */
    --rh-gold-50:  #fdf8ef;
    --rh-gold-100: #f7ecd0;
    --rh-gold-200: #ecd9a4;
    --rh-gold-300: #e0c47a;
    --rh-gold-400: #d8b76a;
    --rh-gold-500: #c9a455;
    --rh-gold-600: #a8842e;
    --rh-gold-700: #856821;
    --rh-ink-900:  #14161a;
    --rh-ink-800:  #1f2226;
    --rh-ink-700:  #2c2e33;
    --rh-ink-600:  #3b3e44;
    --rh-ink-500:  #5c5e61;
    --rh-ink-400:  #8a8d92;
    --rh-ink-300:  #b6b9bd;
    --rh-ink-200:  #dfe1e4;
    --rh-ink-100:  #eef0f2;
    --rh-ink-50:   #f7f8f9;
    --rh-cream:    #fbf6ec;
    --rh-warm:     #faf6ec;

    /* Semantic */
    --rh-text:        var(--rh-ink-700);
    --rh-text-muted:  var(--rh-ink-500);
    --rh-text-soft:   #6c6e72;
    --rh-heading:     var(--rh-ink-800);
    --rh-bg:          #ffffff;
    --rh-bg-alt:      var(--rh-ink-50);
    --rh-bg-warm:     var(--rh-warm);
    --rh-divider:     rgba(20, 22, 26, 0.07);
    --rh-divider-strong: rgba(20, 22, 26, 0.12);

    /* Radii */
    --rh-radius-xs: 8px;
    --rh-radius-sm: 12px;
    --rh-radius-md: 16px;
    --rh-radius-lg: 22px;
    --rh-radius-xl: 28px;
    --rh-radius-pill: 999px;

    /* Shadows (layered, low-opacity) */
    --rh-shadow-xs: 0 1px 2px rgba(20, 22, 26, 0.04);
    --rh-shadow-sm: 0 2px 6px rgba(20, 22, 26, 0.05),
                    0 1px 2px rgba(20, 22, 26, 0.03);
    --rh-shadow-md: 0 6px 18px rgba(20, 22, 26, 0.07),
                    0 2px 6px rgba(20, 22, 26, 0.04);
    --rh-shadow-lg: 0 14px 38px rgba(20, 22, 26, 0.10),
                    0 4px 12px rgba(20, 22, 26, 0.05);
    --rh-shadow-xl: 0 28px 64px rgba(20, 22, 26, 0.14),
                    0 10px 24px rgba(20, 22, 26, 0.06);
    --rh-shadow-gold: 0 18px 48px rgba(184, 148, 72, 0.22),
                      0 4px 12px rgba(184, 148, 72, 0.10);
    --rh-shadow-inset-glass: inset 0 1px 0 rgba(255, 255, 255, 0.5);

    /* Spacing scale (fluid) */
    --rh-space-1: 4px;
    --rh-space-2: 8px;
    --rh-space-3: 12px;
    --rh-space-4: 16px;
    --rh-space-5: 20px;
    --rh-space-6: 24px;
    --rh-space-7: 32px;
    --rh-space-8: 40px;
    --rh-space-9: 56px;
    --rh-space-10: 72px;
    --rh-space-11: 96px;
    --rh-space-section: clamp(72px, 9vw, 128px);
    --rh-space-section-tight: clamp(48px, 6vw, 88px);

    /* Typography */
    --rh-font-sans: "Plus Jakarta Sans", "Manrope", "Lexend",
                    -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
                    "Helvetica Neue", Arial, sans-serif;
    --rh-font-display: "Fraunces", "Plus Jakarta Sans", "Lexend", serif;

    /* Easings */
    --rh-ease: cubic-bezier(0.22, 0.61, 0.36, 1);
    --rh-ease-emphasized: cubic-bezier(0.2, 0.8, 0.2, 1);

    /* Gradients */
    --rh-grad-gold:    linear-gradient(135deg, #c9a455 0%, #d8b76a 35%, #ecd9a4 75%, #c9a455 100%);
    --rh-grad-gold-soft: linear-gradient(135deg, rgba(216,183,106,0.16) 0%, rgba(252,242,213,0.55) 60%, rgba(216,183,106,0.10) 100%);
    --rh-grad-ink:     linear-gradient(135deg, #14161a 0%, #1f2226 50%, #2c2e33 100%);
    --rh-grad-glass:   linear-gradient(135deg, rgba(255,255,255,0.7) 0%, rgba(255,255,255,0.45) 100%);
    --rh-grad-page:    radial-gradient(120% 80% at 80% -10%, rgba(216,183,106,0.10) 0%, transparent 55%),
                       radial-gradient(80% 60% at -10% 100%, rgba(216,183,106,0.06) 0%, transparent 55%);
}

/* --------------------------------------------------------------------------
   Base — typography + body polish
   -------------------------------------------------------------------------- */

html { scroll-behavior: smooth; }

body {
    font-family: var(--rh-font-sans);
    font-feature-settings: "ss01", "cv11", "cv02";
    font-size: 15px;
    line-height: 1.6;
    color: var(--rh-text);
    background: var(--rh-bg);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

body.popup-loader,
body { background: var(--rh-bg); }

::selection {
    background: rgba(216, 183, 106, 0.32);
    color: var(--rh-ink-900);
}

h1, h2, h3, h4, h5, h6,
.heading,
.title,
.h1, .h2, .h3, .h4, .h5, .h6 {
    font-family: var(--rh-font-sans);
    color: var(--rh-heading);
    letter-spacing: -0.012em;
    line-height: 1.18;
    font-weight: 700;
}

h1, .h1 { letter-spacing: -0.022em; line-height: 1.1; font-weight: 700; }
h2, .h2 { letter-spacing: -0.018em; line-height: 1.14; }
h3, .h3 { letter-spacing: -0.014em; }

/* Display headings (page hero, big titles) */
.page-title h2,
.page-title h1,
.flat-title .heading,
.heading-section .title,
.hero-cover-title,
.section-headline {
    font-family: var(--rh-font-display);
    font-weight: 600;
    letter-spacing: -0.018em;
}

p, .text-1, .text-2, .text-3 {
    color: var(--rh-text);
}

a {
    color: var(--rh-ink-800);
    text-decoration: none;
    transition: color .2s var(--rh-ease);
}
a:hover { color: var(--rh-gold-600); }

img { max-width: 100%; height: auto; }

hr {
    border: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--rh-divider-strong), transparent);
    margin: var(--rh-space-7) 0;
}

/* --------------------------------------------------------------------------
   Layout — containers, sections, surfaces
   -------------------------------------------------------------------------- */

.tf-container,
.tf-container.xl {
    padding-left: clamp(16px, 4vw, 32px);
    padding-right: clamp(16px, 4vw, 32px);
}

@media (min-width: 1400px) {
    .tf-container.xl { max-width: 1360px; }
}
@media (min-width: 1600px) {
    .tf-container.xl { max-width: 1440px; }
}

/* Section spacing (override theme tf-spacing-1 with smoother fluid scale) */
.tf-spacing-1,
.section-style {
    padding-top: var(--rh-space-section);
    padding-bottom: var(--rh-space-section);
}

.tf-spacing-2 { padding-top: var(--rh-space-section-tight); padding-bottom: var(--rh-space-section-tight); }

/* Surface refinements */
.rh-surface-light {
    background: linear-gradient(180deg, #ffffff 0%, #fbfcfd 100%);
    border-bottom: 1px solid var(--rh-divider);
}
.rh-surface-warm {
    background:
        radial-gradient(80% 60% at 100% 0%, rgba(216, 183, 106, 0.12) 0%, transparent 60%),
        linear-gradient(180deg, #fbf6ec 0%, #f8f1de 100%);
    border-bottom: 1px solid rgba(184, 148, 72, 0.14);
}
.rh-surface-muted,
.rh-section-alt {
    background: linear-gradient(180deg, #f5f7f9 0%, #eef1f4 100%);
    border-bottom: 1px solid var(--rh-divider);
}

.rh-team-page {
    background:
        radial-gradient(100% 60% at 50% 0%, rgba(216, 183, 106, 0.06) 0%, transparent 65%),
        linear-gradient(180deg, #fafbfc 0%, #f4f6f9 100%);
}

/* --------------------------------------------------------------------------
   Section heading polish
   -------------------------------------------------------------------------- */

.heading-section { margin-bottom: clamp(28px, 4vw, 48px); }
.heading-section .title { margin-bottom: 12px; }
.heading-section .text-1 { color: var(--rh-text-muted); max-width: 720px; margin-left: auto; margin-right: auto; }
.heading-section.text-center .text-1 { margin-left: auto; margin-right: auto; }

.rh-eyebrow,
.heading-section .text-4.fw-6.text-uppercase,
.heading-section .rh-accent-line {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--rh-font-sans);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--rh-gold-600);
    padding: 6px 14px;
    border-radius: var(--rh-radius-pill);
    background: linear-gradient(135deg, rgba(216,183,106,0.14), rgba(216,183,106,0.06));
    border: 1px solid rgba(216, 183, 106, 0.28);
    margin-bottom: 16px;
}
.heading-section .rh-accent-line::after { display: none; }
.heading-section.text-center .rh-eyebrow,
.heading-section.text-center .rh-accent-line { margin-left: auto; margin-right: auto; }

/* --------------------------------------------------------------------------
   Buttons — premium polish
   -------------------------------------------------------------------------- */

.tf-btn,
button.tf-btn,
a.tf-btn {
    font-family: var(--rh-font-sans);
    font-weight: 600;
    letter-spacing: 0.005em;
    border-radius: var(--rh-radius-pill);
    padding: 14px 28px;
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border: 1px solid transparent;
    transition: transform .25s var(--rh-ease),
                box-shadow .25s var(--rh-ease),
                background-color .25s var(--rh-ease),
                color .25s var(--rh-ease),
                border-color .25s var(--rh-ease);
    box-shadow: var(--rh-shadow-sm);
    position: relative;
    overflow: hidden;
}

.tf-btn.pd-23 { padding: 14px 30px; }

.tf-btn.bg-color-primary,
.tf-btn.bg-color-primary:link {
    background: var(--rh-grad-gold);
    background-size: 180% 180%;
    background-position: 0% 50%;
    color: #1f1708 !important;
    border-color: rgba(133, 104, 33, 0.25);
    box-shadow: var(--rh-shadow-sm), var(--rh-shadow-inset-glass);
}
.tf-btn.bg-color-primary:hover {
    background-position: 100% 50%;
    transform: translateY(-2px);
    box-shadow: var(--rh-shadow-gold), var(--rh-shadow-inset-glass);
    color: #1a1304 !important;
}
.tf-btn.bg-color-primary:active { transform: translateY(0); }

.tf-btn.style-border {
    background: rgba(255, 255, 255, 0.8);
    color: var(--rh-ink-800);
    border: 1px solid var(--rh-divider-strong);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}
.tf-btn.style-border:hover {
    background: var(--rh-grad-gold);
    color: #1a1304 !important;
    border-color: rgba(133, 104, 33, 0.45);
    transform: translateY(-2px);
    box-shadow: var(--rh-shadow-gold), var(--rh-shadow-inset-glass);
}

.tf-btn.style-2,
.tf-btn.bg-color-secondary {
    background: var(--rh-grad-ink);
    color: #fff;
    border-color: rgba(255,255,255,0.06);
}
.tf-btn.style-2:hover,
.tf-btn.bg-color-secondary:hover {
    background: var(--rh-grad-gold);
    transform: translateY(-2px);
    box-shadow: var(--rh-shadow-gold), var(--rh-shadow-inset-glass);
    color: #1a1304 !important;
    border-color: rgba(133, 104, 33, 0.45);
}

/* ---- Kill the theme's dark-charcoal swipe-on-hover pseudo for ALL buttons ----
   The theme defines .tf-btn::after as a 0-width dark layer that animates to 115%
   width on :hover, turning every button dark. We disable it so our gold hover
   gradients show through cleanly. */
.tf-btn::after,
.tf-btn::before { display: none !important; content: none !important; }
.tf-btn:hover { background-color: transparent; }
.tf-btn:hover svg path { stroke: currentColor; }

.rh-btn-forest {
    background-color: #0f3d39 !important;
    background-image: linear-gradient(135deg, #0f3d39 0%, #15524d 100%) !important;
    border-color: #0f3d39 !important;
    box-shadow: 0 8px 22px rgba(15, 61, 57, 0.25), var(--rh-shadow-inset-glass) !important;
}
.rh-btn-forest:hover {
    background-image: linear-gradient(135deg, #0a2e2b 0%, #15524d 100%) !important;
    transform: translateY(-2px);
}

/* Tiny ghost/text button utility */
.rh-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--rh-gold-600);
    font-weight: 600;
    letter-spacing: 0.01em;
}
.rh-link::after {
    content: "→";
    transition: transform .25s var(--rh-ease);
}
.rh-link:hover { color: var(--rh-gold-700); }
.rh-link:hover::after { transform: translateX(4px); }

/* --------------------------------------------------------------------------
   Form controls — premium polish
   -------------------------------------------------------------------------- */

.form-control,
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="password"],
input[type="search"],
input[type="number"],
input.input,
textarea,
select.form-control,
.nice-select {
    font-family: var(--rh-font-sans);
    font-size: 15px;
    color: var(--rh-ink-800);
    background: #ffffff;
    border: 1px solid var(--rh-divider-strong);
    border-radius: 14px;
    padding: 14px 16px;
    min-height: 52px;
    line-height: 1.4;
    box-shadow: var(--rh-shadow-xs);
    transition: border-color .2s var(--rh-ease), box-shadow .2s var(--rh-ease), background-color .2s var(--rh-ease);
}

textarea,
textarea.form-control { min-height: 130px; resize: vertical; }

.form-control::placeholder,
input::placeholder,
textarea::placeholder { color: var(--rh-ink-400); opacity: 1; }

.form-control:focus,
input:focus,
textarea:focus,
select.form-control:focus {
    outline: none;
    border-color: var(--rh-gold-400);
    background: #fffdf7;
    box-shadow: 0 0 0 4px rgba(216, 183, 106, 0.18), var(--rh-shadow-xs);
}

label,
.form-label {
    font-size: 13px;
    font-weight: 600;
    color: var(--rh-ink-800);
    letter-spacing: 0.01em;
    margin-bottom: 8px;
    display: inline-block;
}

input[type="checkbox"],
input[type="radio"] {
    accent-color: var(--rh-gold-500);
    width: 16px; height: 16px;
}

/* Newsletter (sib) input on dark footer */
.sib-form .input-nl,
.sib-form input.input {
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.12);
    color: #fff;
    border-radius: 12px;
    padding: 14px 16px;
    min-height: 52px;
    transition: border-color .2s var(--rh-ease), background .2s var(--rh-ease);
}
.sib-form .input-nl:focus,
.sib-form input.input:focus {
    background: rgba(255,255,255,0.10);
    border-color: rgba(216, 183, 106, 0.6);
    box-shadow: 0 0 0 4px rgba(216, 183, 106, 0.18);
    color: #fff;
}
.sib-form .input-nl::placeholder { color: rgba(255,255,255,0.55); }

/* Validation */
.alert {
    border-radius: 14px;
    border: 1px solid var(--rh-divider-strong);
    padding: 14px 16px;
    background: #fff;
    box-shadow: var(--rh-shadow-xs);
}
.alert-danger {
    border-color: rgba(242, 105, 92, 0.35);
    background: linear-gradient(180deg, #fff7f6 0%, #fceeec 100%);
    color: #8a2c22;
}
.alert-success {
    border-color: rgba(37, 197, 91, 0.35);
    background: linear-gradient(180deg, #f3fbf6 0%, #e8f7ee 100%);
    color: #1d6f3d;
}

/* --------------------------------------------------------------------------
   Cards — universal polish
   -------------------------------------------------------------------------- */

.rh-elev {
    background: #ffffff;
    border-radius: var(--rh-radius-md);
    border: 1px solid var(--rh-divider);
    box-shadow: var(--rh-shadow-sm);
    transition: transform .35s var(--rh-ease),
                box-shadow .35s var(--rh-ease),
                border-color .35s var(--rh-ease);
}
.rh-elev:hover {
    transform: translateY(-4px);
    box-shadow: var(--rh-shadow-lg);
    border-color: rgba(216, 183, 106, 0.32);
}

.rh-glass {
    background: rgba(255,255,255,0.72);
    backdrop-filter: blur(16px) saturate(140%);
    -webkit-backdrop-filter: blur(16px) saturate(140%);
    border: 1px solid rgba(255,255,255,0.55);
    border-radius: var(--rh-radius-md);
    box-shadow: var(--rh-shadow-md);
}

.rh-glass-dark {
    background: rgba(20, 22, 26, 0.55);
    backdrop-filter: blur(16px) saturate(140%);
    -webkit-backdrop-filter: blur(16px) saturate(140%);
    border: 1px solid rgba(255,255,255,0.10);
    border-radius: var(--rh-radius-md);
    color: #fff;
}

/* Project / property cards */
.rh-project-card.box-house,
.rh-project-card.rh-elev,
.box-house.rh-elev {
    border-radius: var(--rh-radius-md);
    overflow: hidden;
    background: #fff;
    transition: transform .4s var(--rh-ease),
                box-shadow .4s var(--rh-ease),
                border-color .4s var(--rh-ease);
}
.rh-project-card.rh-elev:hover,
.box-house.rh-elev:hover {
    transform: translateY(-6px);
    box-shadow: var(--rh-shadow-xl);
    border-color: rgba(216, 183, 106, 0.4);
}
.rh-project-card .image-wrap,
.box-house .image-wrap {
    overflow: hidden;
    position: relative;
}
.rh-project-card .image-wrap::after,
.box-house .image-wrap::after {
    content: "";
    position: absolute; inset: 0;
    background: linear-gradient(180deg, transparent 55%, rgba(20,22,26,0.18) 100%);
    pointer-events: none;
    opacity: .65;
    transition: opacity .35s var(--rh-ease);
}
.rh-project-card:hover .image-wrap::after,
.box-house:hover .image-wrap::after { opacity: .35; }
.rh-project-card .image-wrap img,
.box-house .image-wrap img {
    transition: transform .8s var(--rh-ease-emphasized);
}
.rh-project-card:hover .image-wrap img,
.box-house:hover .image-wrap img {
    transform: scale(1.05);
}

.rh-project-card .content,
.box-house .content {
    padding: 22px 22px 24px;
}
.rh-project-card .content h6,
.rh-project-card .content h5,
.rh-project-card .content .title,
.box-house .content h6,
.box-house .content .title {
    color: var(--rh-heading);
    font-weight: 700;
}

/* Benefit cards */
.rh-benefit {
    background: #fff;
    padding: 28px 24px;
    border-radius: var(--rh-radius-md);
}
.rh-benefit-icon {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(216,183,106,0.20) 0%, rgba(216,183,106,0.08) 100%);
    color: var(--rh-gold-600);
    box-shadow: inset 0 0 0 1px rgba(216,183,106,0.22), var(--rh-shadow-xs);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    flex-shrink: 0;
}

/* Location panel */
.rh-location-panel {
    border-radius: var(--rh-radius-md);
    border-left: 4px solid var(--rh-gold-400);
    background: linear-gradient(135deg, #ffffff 0%, #fbf8f0 100%);
    box-shadow: var(--rh-shadow-md);
    padding: clamp(24px, 3vw, 36px);
}

/* Leader / team cards */
.rh-leader-card {
    border-radius: var(--rh-radius-md);
    background: #fff;
    overflow: hidden;
}
.rh-leader-card.rh-elev:hover {
    border-color: rgba(216,183,106,0.4);
}
.rh-leader-card--split .rh-leader-media {
    background: linear-gradient(180deg, #fdf8ef 0%, #ffffff 60%, #f7f1e2 100%);
}
.rh-leader-photo--with-fallback .rh-leader-photo-fallback {
    background:
        radial-gradient(120% 120% at 20% 10%, rgba(216,183,106,0.30) 0%, rgba(255,255,255,0.92) 45%, rgba(44,46,51,0.06) 100%);
}
.rh-leader-photo--with-fallback .rh-initials,
.rh-leader-photo-placeholder .rh-initials {
    font-family: var(--rh-font-display);
    font-weight: 600;
    letter-spacing: 0.04em;
    color: rgba(20,22,26,0.78);
}
.rh-leader-body { padding: 24px; }
.rh-leader-body h5,
.rh-leader-body .title { font-weight: 700; margin-bottom: 4px; }
.rh-leader-role {
    font-family: var(--rh-font-sans);
    font-size: 11.5px !important;
    font-weight: 700 !important;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--rh-gold-700) !important;
    margin-bottom: 14px !important;
}

/* Force the rich-detail leader card into a clean vertical stack so the body
   has full column width to render highlights / philosophy / confidence. */
.rh-team-detail-card.rh-leader-card--split {
    flex-direction: column !important;
}
.rh-team-detail-card.rh-leader-card--split .rh-leader-media,
.rh-team-detail-card.rh-leader-card--split .rh-leader-body {
    width: 100% !important;
}
.rh-team-detail-card.rh-leader-card--split .rh-leader-photo {
    aspect-ratio: 4 / 5;
    height: auto !important;
    min-height: 0 !important;
}
.rh-team-detail-card .rh-leader-body {
    padding: 22px 22px 22px !important;
}
.rh-team-detail-card .rh-leader-body .title { font-size: 22px; line-height: 1.18; }
.rh-team-detail-card .rh-team-bullets li { font-size: 14px; line-height: 1.55; }
.rh-leader-quote {
    margin-top: auto;
    padding: 14px 16px;
    border-left: 3px solid var(--rh-gold-400);
    background: linear-gradient(135deg, rgba(216,183,106,0.10), rgba(216,183,106,0.02));
    border-radius: 0 12px 12px 0;
    color: var(--rh-ink-800);
    font-size: 13.5px;
    line-height: 1.55;
}

/* Icon links + social */
.rh-icon-link {
    background: #fff;
    border: 1px solid var(--rh-divider);
    border-radius: var(--rh-radius-pill);
    padding: 10px 16px;
    transition: transform .2s var(--rh-ease), border-color .2s var(--rh-ease), box-shadow .2s var(--rh-ease);
    box-shadow: var(--rh-shadow-xs);
}
.rh-icon-link:hover {
    transform: translateY(-2px);
    border-color: rgba(216,183,106,0.4);
    box-shadow: var(--rh-shadow-sm);
    color: var(--rh-gold-700);
}

.rh-social {
    width: 42px; height: 42px;
    border-radius: 14px;
    background: rgba(255,255,255,0.85);
    border: 1px solid var(--rh-divider);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    box-shadow: var(--rh-shadow-xs);
}
.rh-social:hover {
    transform: translateY(-2px);
    border-color: rgba(216,183,106,0.45);
    background: linear-gradient(135deg, #fffaee 0%, #ffffff 100%);
    box-shadow: var(--rh-shadow-sm);
}

/* Gallery */
.rh-gallery-item {
    position: relative;
    display: block;
    overflow: hidden;
    border-radius: var(--rh-radius-md);
    box-shadow: var(--rh-shadow-md);
    border: 1px solid var(--rh-divider);
    cursor: zoom-in;
    text-decoration: none;
    transition: transform .35s var(--rh-ease), box-shadow .35s var(--rh-ease), border-color .35s var(--rh-ease);
}
.rh-gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--rh-shadow-xl);
    border-color: rgba(216,183,106,0.4);
}
.rh-gallery-item img { transition: transform .8s var(--rh-ease-emphasized); }
.rh-gallery-item:hover img { transform: scale(1.06); }
.rh-gallery-item::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 60%, rgba(20,22,26,0.0) 60%, rgba(20,22,26,0.45) 100%);
    opacity: 0;
    transition: opacity .35s var(--rh-ease);
    pointer-events: none;
    z-index: 1;
}
.rh-gallery-item:hover::after { opacity: 1; }
.rh-gallery-item .rh-events-zoom {
    /* uses the same affordance as event cards */
    z-index: 2;
}

/* Gallery teaser CTA breathing room */
.rh-gallery-teaser .rh-gallery-row { margin-bottom: 56px; }
.rh-gallery-teaser .rh-gallery-cta { margin-top: 0; }
@media (max-width: 991.98px) { .rh-gallery-teaser .rh-gallery-row { margin-bottom: 40px; } }
@media (max-width: 575.98px) { .rh-gallery-teaser .rh-gallery-row { margin-bottom: 32px; } }

/* --------------------------------------------------------------------------
   Gallery page — project-wise tabbed galleries
   -------------------------------------------------------------------------- */

.rh-gallery-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: clamp(28px, 3.5vw, 48px);
    padding: 8px;
    background: #ffffff;
    border: 1px solid var(--rh-divider);
    border-radius: var(--rh-radius-lg);
    box-shadow: var(--rh-shadow-sm);
}
.rh-gallery-tab {
    flex: 1 1 180px;
    display: inline-flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 2px;
    padding: 12px 18px;
    background: transparent;
    border: 1px solid transparent;
    border-radius: var(--rh-radius-md);
    color: var(--rh-ink-700);
    cursor: pointer;
    transition: background .25s var(--rh-ease), color .25s var(--rh-ease), border-color .25s var(--rh-ease), transform .25s var(--rh-ease), box-shadow .25s var(--rh-ease);
    text-align: left;
    line-height: 1.2;
    min-width: 0;
}
.rh-gallery-tab:hover {
    background: rgba(216,183,106,0.06);
    color: var(--rh-gold-700);
}
.rh-gallery-tab.is-active {
    background: var(--rh-grad-gold);
    color: #1a1304;
    border-color: rgba(133, 104, 33, 0.35);
    box-shadow: var(--rh-shadow-sm), var(--rh-shadow-inset-glass);
}
.rh-gallery-tab-label {
    font-family: var(--rh-font-sans);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: -0.005em;
    line-height: 1.2;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
}
.rh-gallery-tab-count {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    opacity: 0.75;
    line-height: 1.2;
}

.rh-gallery-panel {
    display: none;
    animation: rh-fade-up 0.45s var(--rh-ease) both;
}
.rh-gallery-panel.is-active { display: block; }

.rh-project-gallery { scroll-margin-top: 100px; }
.rh-project-gallery-head {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px 24px;
    margin-bottom: clamp(24px, 3vw, 40px);
    padding-bottom: 22px;
    border-bottom: 1px solid var(--rh-divider);
}
.rh-project-gallery-head > div { flex: 1 1 auto; min-width: 0; }
.rh-project-gallery-head .title {
    font-family: var(--rh-font-display);
    font-size: clamp(24px, 2.6vw, 34px);
    font-weight: 600;
    line-height: 1.15;
    letter-spacing: -0.018em;
    margin: 6px 0 6px;
}
.rh-project-gallery-head .text-1 { color: var(--rh-text-muted); }
.rh-project-gallery-cta { flex-shrink: 0; }

.rh-project-gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 16px;
}
.rh-project-gallery-item {
    position: relative;
    display: block;
    overflow: hidden;
    aspect-ratio: 4 / 3;
    border-radius: var(--rh-radius-md);
    cursor: zoom-in;
    text-decoration: none;
    background:
        radial-gradient(80% 60% at 50% 0%, rgba(216,183,106,0.10) 0%, transparent 60%),
        linear-gradient(180deg, #faf3e3 0%, #f1e2bc 100%);
    transition: transform .35s var(--rh-ease), box-shadow .35s var(--rh-ease), border-color .35s var(--rh-ease);
}
.rh-project-gallery-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--rh-shadow-xl);
    border-color: rgba(216,183,106,0.4);
}
.rh-project-gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform .8s var(--rh-ease-emphasized);
    display: block;
}
.rh-project-gallery-item:hover img { transform: scale(1.06); }

@media (max-width: 991.98px) {
    .rh-gallery-tab { flex: 1 1 calc(50% - 4px); }
}
@media (max-width: 575.98px) {
    .rh-project-gallery-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
    .rh-project-gallery-head { flex-direction: column; align-items: flex-start; }
    .rh-project-gallery-cta { width: 100%; }
    .rh-gallery-tabs { padding: 6px; gap: 6px; }
    .rh-gallery-tab { flex: 1 1 100%; padding: 10px 14px; }
    .rh-gallery-tab-label { font-size: 13px; white-space: normal; }
}

/* --------------------------------------------------------------------------
   Header — compact, premium, smooth
   -------------------------------------------------------------------------- */

#header-main.header {
    background: #ffffff;
    border-bottom: 1px solid var(--rh-divider);
    box-shadow: 0 1px 0 rgba(20,22,26,0.02);
    transition: box-shadow .25s var(--rh-ease);
}
#header-main.header.is-fixed,
#header-main.header.is-stuck,
#header-main.header.header-sticky.is-fixed {
    box-shadow: 0 6px 18px rgba(20,22,26,0.06);
}

/* Top announcement bar — slim & elegant */
.rh-header-top {
    background: linear-gradient(92deg, #b8932f 0%, #c9a455 22%, #d8b76a 50%, #c9a455 78%, #a8842e 100%);
    color: #1d1607;
    border-bottom: 1px solid rgba(60, 44, 12, 0.22);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.32), inset 0 -1px 0 rgba(0,0,0,0.05);
    font-size: 11.5px;
    letter-spacing: 0.02em;
}
.rh-header-top-inner { padding: 6px 0; gap: 8px 14px; }
.rh-header-tagline {
    font-weight: 600;
    color: #1a1408;
    text-shadow: 0 1px 0 rgba(255,255,255,0.30);
    font-size: 11.5px;
    line-height: 1.4;
}
.rh-header-top-links {
    font-size: 11.5px;
    display: inline-flex;
    align-items: center;
    gap: 4px 8px;
}
.rh-header-top-links a {
    color: #2b1f08;
    font-weight: 600;
    border-bottom: 1px solid rgba(43,31,8,0.0);
    transition: border-color .2s var(--rh-ease), color .2s var(--rh-ease);
}
.rh-header-top-links a:hover { color: #0d0a04; border-bottom-color: rgba(13,10,4,0.5); }
.rh-dot { margin: 0 2px; opacity: 0.55; }

.rh-header-top-dismiss {
    width: 22px; height: 22px;
    background: rgba(40, 28, 10, 0.14);
    transition: background .2s var(--rh-ease), transform .2s var(--rh-ease);
}
.rh-header-top-dismiss i { font-size: 9px; }
.rh-header-top-dismiss:hover { background: rgba(40, 28, 10, 0.26); transform: rotate(90deg); }

/* Main row — compact */
.header .header-inner { padding: 0; }
.header .header-inner-wrap { gap: 12px; min-height: 64px; align-items: center; }
.header .header-logo { padding: 10px 0; }
.header .header-logo img,
.header-logo .logo_header,
.header-logo .rh-brand-logo {
    height: 38px;
    width: auto;
    max-width: 180px;
    object-fit: contain;
    object-position: left center;
}

/* Nav — tighter, smoother */
.main-menu .navigation { gap: 0; }
.main-menu .navigation > li { line-height: 1; }
.main-menu .navigation > li > a {
    font-family: var(--rh-font-sans);
    font-weight: 600;
    font-size: 13.5px;
    letter-spacing: 0.005em;
    color: var(--rh-ink-700);
    padding: 22px 12px;
    position: relative;
    transition: color .2s var(--rh-ease);
    line-height: 1.2;
}
.main-menu .navigation > li > a::after {
    content: "";
    position: absolute;
    left: 12px; right: 12px;
    bottom: 14px;
    height: 2px;
    background: var(--rh-grad-gold);
    border-radius: 2px;
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform .3s var(--rh-ease);
}
.main-menu .navigation > li:hover > a,
.main-menu .navigation > li.current-menu > a {
    color: var(--rh-ink-900);
}
.main-menu .navigation > li:hover > a::after,
.main-menu .navigation > li.current-menu > a::after {
    transform: scaleX(1);
}
.main-menu .navigation .has-child > a::before { display: none; }

.main-menu .submenu {
    background: rgba(255,255,255,0.97);
    backdrop-filter: blur(14px) saturate(140%);
    -webkit-backdrop-filter: blur(14px) saturate(140%);
    border-radius: var(--rh-radius-md);
    border: 1px solid var(--rh-divider);
    box-shadow: var(--rh-shadow-lg);
    padding: 8px;
    min-width: 220px;
}
.main-menu .submenu li a {
    border-radius: 8px;
    padding: 8px 12px;
    font-size: 13.5px;
    color: var(--rh-ink-700);
    transition: background .2s var(--rh-ease), color .2s var(--rh-ease);
}
.main-menu .submenu li a:hover {
    background: linear-gradient(135deg, rgba(216,183,106,0.16), rgba(216,183,106,0.06));
    color: var(--rh-gold-700);
}

/* Right cluster — compact pills */
.header .header-right { gap: 10px; }

.header .phone-number {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 14px;
    border-radius: var(--rh-radius-pill);
    background: linear-gradient(135deg, rgba(216,183,106,0.10) 0%, rgba(216,183,106,0.04) 100%);
    border: 1px solid rgba(216,183,106,0.28);
    transition: border-color .2s var(--rh-ease), background .2s var(--rh-ease);
    height: 36px;
}
.header .phone-number:hover {
    border-color: rgba(216,183,106,0.55);
    background: linear-gradient(135deg, rgba(216,183,106,0.18) 0%, rgba(216,183,106,0.08) 100%);
}
.header .phone-number .icons {
    width: 22px; height: 22px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center; justify-content: center;
    background: #fff;
    border: 1px solid rgba(216,183,106,0.25);
    flex-shrink: 0;
}
.header .phone-number .icons svg {
    width: 12px; height: 12px;
}
.header .phone-number p { margin: 0; line-height: 1; font-size: 13px; }
.header .phone-number a { color: var(--rh-ink-800); font-weight: 600; font-size: 13px; }
.header .phone-number a:hover { color: var(--rh-gold-700); }

/* Header buttons — compact (override global tf-btn min-height inside header) */
.header .tf-btn,
.header .btn-add .tf-btn,
.header form button.tf-btn {
    min-height: 36px;
    height: 36px;
    padding: 0 18px;
    font-size: 13px;
    border-radius: var(--rh-radius-pill);
    line-height: 1;
}
.header .tf-btn.pd-23 { padding: 0 18px; }

/* Mobile button — compact */
.header .mobile-button {
    width: 38px; height: 38px;
    border-radius: 10px;
    display: none;
    align-items: center; justify-content: center;
    border: 1px solid var(--rh-divider-strong);
    background: #fff;
    color: var(--rh-ink-800);
    font-size: 18px;
    transition: background .2s var(--rh-ease), color .2s var(--rh-ease);
}
.header .mobile-button:hover { background: var(--rh-ink-800); color: #fff; }
.header .mobile-button i { font-size: 18px; }

/* Sticky / fixed states — keep compact */
.header.header-sticky {
    position: sticky;
    top: 0;
    z-index: 999;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(14px) saturate(140%);
    -webkit-backdrop-filter: blur(14px) saturate(140%);
}

/* Dashboard header variant */
#header-main.header.dashboard {
    background: linear-gradient(180deg, #ffffff 0%, #fafbfc 100%);
}

/* --------------------------------------------------------------------------
   Page title / breadcrumbs / hero polish
   -------------------------------------------------------------------------- */

.flat-title {
    background:
        radial-gradient(60% 100% at 50% 100%, rgba(216,183,106,0.16) 0%, transparent 65%),
        linear-gradient(180deg, #faf3e3 0%, #f5e8c8 100%);
    padding: clamp(28px, 3.4vw, 48px) 0 clamp(24px, 3vw, 40px);
    border-bottom: 1px solid rgba(216,183,106,0.28);
    position: relative;
    overflow: hidden;
    text-align: center;
}
.flat-title::before {
    content: "";
    position: absolute;
    inset: -120px -10% auto auto;
    width: 360px; height: 360px;
    background: radial-gradient(circle, rgba(216,183,106,0.22) 0%, transparent 65%);
    filter: blur(40px);
    pointer-events: none;
    z-index: 0;
}
.flat-title::after {
    content: "";
    position: absolute;
    inset: auto auto -120px -10%;
    width: 320px; height: 320px;
    background: radial-gradient(circle, rgba(216,183,106,0.14) 0%, transparent 65%);
    filter: blur(40px);
    pointer-events: none;
    z-index: 0;
}
.flat-title .row > [class*="col-"],
.flat-title .col-12 { display: flex; justify-content: center; }
.flat-title .title-inner {
    position: relative;
    z-index: 1;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    max-width: 760px;
}
.flat-title .heading {
    font-family: var(--rh-font-display);
    font-size: clamp(26px, 3.6vw, 40px);
    font-weight: 600;
    line-height: 1.15;
    letter-spacing: -0.018em;
    margin: 0 0 10px;
    color: var(--rh-ink-900);
    position: relative;
}
.flat-title .heading::after {
    content: "";
    display: block;
    width: 48px;
    height: 2px;
    margin: 12px auto 0;
    background: linear-gradient(90deg, transparent 0%, var(--rh-gold-500) 50%, transparent 100%);
    border-radius: 2px;
}
.flat-title .text-1,
.flat-title .title-inner > p {
    font-size: clamp(13.5px, 1.2vw, 15.5px);
    color: var(--rh-text-muted);
    margin: 12px 0 0;
    line-height: 1.55;
    max-width: 640px;
}

.breadcrumb {
    display: inline-flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 4px 10px;
    background: rgba(255,255,255,0.85);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(216,183,106,0.28);
    border-radius: var(--rh-radius-pill);
    padding: 5px 14px;
    margin: 0 0 14px;
    box-shadow: var(--rh-shadow-xs);
    list-style: none;
    font-size: 11.5px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    font-weight: 600;
}
.breadcrumb li {
    display: inline-flex;
    align-items: center;
    color: var(--rh-text-muted);
}
.breadcrumb li + li::before {
    content: "›";
    margin: 0 8px 0 0;
    color: var(--rh-gold-500);
    font-size: 13px;
    font-weight: 700;
}
.breadcrumb li a { color: var(--rh-ink-700); }
.breadcrumb li a:hover { color: var(--rh-gold-700); }
.breadcrumb li:last-child { color: var(--rh-gold-700); }

@media (max-width: 767.98px) {
    .flat-title { padding: 22px 0 22px; }
    .flat-title .heading { font-size: clamp(22px, 6vw, 28px); }
    .flat-title .heading::after { width: 36px; margin-top: 10px; }
    .flat-title .text-1, .flat-title .title-inner > p { font-size: 13px; margin-top: 8px; }
    .breadcrumb { font-size: 10.5px; padding: 4px 12px; margin-bottom: 10px; }
}

/* Hero (home) — refine titles, slider treatment */
.page-title.home01 { position: relative; }
.page-title.home01 .swiper-slide img {
    width: 100%; height: 100%;
    object-fit: cover; object-position: center;
}
.page-title.home01::after { display: none; }
.page-title.home01 { margin-bottom: 0; padding-bottom: 0; }
.page-title.home01 .swiper.hero-home-cover { margin-bottom: 0; }

/* Cap the home hero on tablets so it doesn't take over the screen. */
@media (max-width: 991.98px) {
    .page-title.home01 .hero-home-cover { height: 65svh !important; min-height: 360px !important; max-height: 560px !important; }
}

/* Mobile: size the slider container to the photo's natural aspect ratio
   (~5:2 for the wide group photo) — no cream bars, but Swiper's fade
   layout (slidesPerView:1, effect:"fade") is preserved so transitions
   work correctly between all 3 slides. */
@media (max-width: 767.98px) {
    .page-title.home01 .hero-home-cover {
        height: auto !important;
        min-height: 0 !important;
        max-height: none !important;
        aspect-ratio: 5 / 2;
        background: transparent !important;
    }
    .page-title.home01 .hero-home-cover .swiper-slide img {
        width: 100% !important;
        height: 100% !important;
        min-height: 0 !important;
        max-height: none !important;
        object-fit: cover;
        object-position: center;
        display: block;
    }
}
@media (max-width: 479.98px) {
    .page-title.home01 .hero-home-cover { aspect-ratio: 4 / 2; }
}

/* Make the card sit flush — no margin above (slider) or below (next section) */
.rh-hero-intro-card { margin-top: 0 !important; margin-bottom: 0 !important; }

/* First section after the home hero — tighten its top padding so the gap is gone */
.page-title.home01 + .main-content > section:first-child,
.page-title.home01 + .main-content section.tf-spacing-1:first-of-type,
.page-title.home01 + .main-content > section:first-child.tf-spacing-1,
.page-title.home01 + .main-content section.section-style:first-of-type {
    padding-top: clamp(36px, 4vw, 56px);
}

.page-title.home01 .hero-home-intro-band,
.hero-home-intro-band {
    background: transparent !important;
    padding: 0 !important;
    margin: 0 !important;
    position: relative;
    z-index: 2;
    overflow: visible;
}
.page-title.home01 .hero-home-intro-band::before,
.page-title.home01 .hero-home-intro-band::after,
.hero-home-intro-band::before,
.hero-home-intro-band::after { display: none !important; content: none !important; }

.page-title.home01 .hero-home-intro-band .tf-container.hero-home-intro,
.hero-home-intro-band .tf-container.hero-home-intro,
.hero-home-intro-band > .tf-container,
.hero-home-intro {
    padding: 0 !important;
    margin: 0 !important;
    max-width: 100% !important;
    width: 100%;
}

.rh-hero-intro-card {
    position: relative;
    width: 100vw;
    max-width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    padding: clamp(28px, 3vw, 48px) clamp(20px, 4vw, 80px);
    text-align: center;
    background:
        radial-gradient(ellipse 130% 85% at 50% 108%, rgba(216,183,106,0.28) 0%, rgba(245,232,210,0.12) 42%, transparent 68%),
        linear-gradient(180deg, #faf2db 0%, #f5e8c5 100%);
    border: none;
    border-top: 1px solid rgba(216,183,106,0.32);
    border-bottom: 1px solid rgba(216,183,106,0.32);
    border-radius: 0;
    box-shadow:
        0 8px 24px rgba(184,148,72,0.06),
        inset 0 1px 0 rgba(255,255,255,0.6);
    overflow: hidden;
    animation: rh-fade-up 0.9s var(--rh-ease) both;
}
.rh-hero-intro-card::before,
.rh-hero-intro-card::after {
    content: "";
    position: absolute;
    width: 480px; height: 480px;
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
    filter: blur(60px);
}
.rh-hero-intro-card::before {
    top: -180px; right: -120px;
    background: radial-gradient(circle, rgba(216,183,106,0.30) 0%, transparent 70%);
}
.rh-hero-intro-card::after {
    bottom: -200px; left: -150px;
    background: radial-gradient(circle, rgba(216,183,106,0.20) 0%, transparent 70%);
}
.rh-hero-intro-card > * { position: relative; z-index: 1; }

.rh-hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 5px 14px;
    margin-bottom: 14px;
    font-family: var(--rh-font-sans);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.26em;
    text-transform: uppercase;
    color: var(--rh-gold-700);
    background: linear-gradient(135deg, rgba(216,183,106,0.18) 0%, rgba(216,183,106,0.06) 100%);
    border: 1px solid rgba(216,183,106,0.32);
    border-radius: var(--rh-radius-pill);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.5);
}
.rh-hero-eyebrow-dot {
    width: 5px; height: 5px;
    border-radius: 50%;
    background: var(--rh-gold-500);
    box-shadow: 0 0 8px rgba(216,183,106,0.6);
}

.rh-hero-headline {
    font-family: var(--rh-font-display);
    font-size: clamp(24px, 3.6vw, 42px);
    font-weight: 600;
    line-height: 1.12;
    letter-spacing: -0.02em;
    color: var(--rh-ink-900);
    margin: 0 auto 14px;
    max-width: 880px;
}
.rh-hero-headline-accent {
    display: inline-block;
    background: linear-gradient(135deg, var(--rh-gold-600) 0%, var(--rh-gold-400) 50%, var(--rh-gold-600) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-style: italic;
    font-weight: 500;
}

.rh-hero-flourish {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin: 0 auto 12px;
    color: var(--rh-gold-500);
    max-width: 260px;
}
.rh-hero-flourish-line {
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, rgba(216,183,106,0.55) 50%, transparent 100%);
}
.rh-hero-flourish-mark {
    flex-shrink: 0;
    color: var(--rh-gold-500);
    filter: drop-shadow(0 2px 4px rgba(216,183,106,0.35));
}

.rh-hero-tagline {
    font-size: clamp(13.5px, 1.2vw, 16px);
    color: var(--rh-text-muted);
    max-width: 720px;
    margin: 0 auto 18px;
    line-height: 1.55;
    font-weight: 400;
}

.rh-hero-stats {
    list-style: none;
    margin: 0 auto 18px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    max-width: 760px;
    border-top: 1px solid rgba(216,183,106,0.20);
    border-bottom: 1px solid rgba(216,183,106,0.20);
    padding: 14px 0;
}
.rh-hero-stats li {
    flex: 1 1 160px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    position: relative;
    padding: 0 12px;
}
.rh-hero-stats li:not(:last-child)::after {
    content: "";
    position: absolute;
    right: 0; top: 12%;
    width: 1px; height: 76%;
    background: linear-gradient(180deg, transparent 0%, rgba(216,183,106,0.32) 50%, transparent 100%);
}
.rh-hero-stat-value {
    font-family: var(--rh-font-display);
    font-size: clamp(24px, 2.8vw, 34px);
    font-weight: 700;
    line-height: 1;
    letter-spacing: -0.02em;
    background: linear-gradient(135deg, var(--rh-ink-900) 0%, var(--rh-gold-600) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.rh-hero-stat-suffix {
    font-size: 0.7em;
    color: var(--rh-gold-500);
    -webkit-text-fill-color: var(--rh-gold-500);
    margin-left: 2px;
}
.rh-hero-stat-label {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.10em;
    text-transform: uppercase;
    color: var(--rh-text-muted);
}

.rh-hero-cta {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-top: 4px;
}

@media (max-width: 767.98px) {
    .rh-hero-intro-card { padding: 28px 20px; border-radius: var(--rh-radius-lg); }
    .rh-hero-eyebrow { font-size: 10.5px; letter-spacing: 0.22em; padding: 6px 14px; gap: 8px; margin-bottom: 18px; }
    .rh-hero-headline { font-size: clamp(24px, 7vw, 32px); margin-bottom: 18px; }
    .rh-hero-flourish { margin-bottom: 16px; max-width: 220px; }
    .rh-hero-tagline { font-size: 14px; margin-bottom: 22px; }
    .rh-hero-stats { gap: 16px; padding: 18px 0; margin-bottom: 22px; }
    .rh-hero-stats li { flex: 1 1 100%; padding: 6px 0; }
    .rh-hero-stats li:not(:last-child)::after {
        right: 12%; left: 12%; top: auto; bottom: 0;
        width: auto; height: 1px;
        background: linear-gradient(90deg, transparent 0%, rgba(216,183,106,0.32) 50%, transparent 100%);
    }
    .rh-hero-stat-value { font-size: 28px; }
}

/* Hide the legacy classes if they appear anywhere else */
.hero-cover-title,
.hero-cover-subtitle,
.hero-cover-tagline { display: none; }

/* --------------------------------------------------------------------------
   Authentication pages polish (login / register) — scoped via body class
   so it doesn't bleed onto generic .rh-elev panels on other pages.
   -------------------------------------------------------------------------- */

body.page-auth .section-style.rh-surface-light .rh-elev,
.rh-auth-card.rh-elev {
    border-radius: var(--rh-radius-lg);
    box-shadow: var(--rh-shadow-xl);
    overflow: hidden;
}

/* --------------------------------------------------------------------------
   Footer — compact, premium
   -------------------------------------------------------------------------- */

#footer {
    background:
        radial-gradient(60% 80% at 100% 0%, rgba(216,183,106,0.08) 0%, transparent 55%),
        radial-gradient(60% 80% at 0% 100%, rgba(216,183,106,0.05) 0%, transparent 55%),
        linear-gradient(180deg, #14161a 0%, #1a1d22 50%, #1f2226 100%);
    color: rgba(255,255,255,0.75);
    border-top: 1px solid rgba(216,183,106,0.16);
    padding-top: clamp(36px, 4.5vw, 56px);
    padding-bottom: 16px;
    font-size: 13.5px;
}

#footer h5,
#footer .title {
    color: #ffffff;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: -0.005em;
    margin-bottom: 14px;
    position: relative;
    padding-bottom: 8px;
}
#footer h5::after,
#footer .title::after {
    content: "";
    position: absolute;
    left: 0; bottom: 0;
    width: 24px; height: 2px;
    background: var(--rh-grad-gold);
    border-radius: 2px;
}

#footer .footer-top {
    padding-bottom: 22px;
    border-bottom: 1px solid rgba(255,255,255,0.07);
    margin-bottom: 26px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 24px;
}
#footer .footer-logo { flex-shrink: 0; }
#footer .footer-logo img { height: 36px; width: auto; }

#footer .wrap-contact-item {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    flex: 1 1 auto;
    margin: 0;
    justify-content: flex-end;
}
#footer .contact-item {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 0 1 auto;
    min-width: 0;
    padding: 8px 14px 8px 10px;
    border-radius: var(--rh-radius-pill);
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    transition: border-color .2s var(--rh-ease), background .2s var(--rh-ease);
}
#footer .contact-item:hover {
    border-color: rgba(216,183,106,0.32);
    background: rgba(255,255,255,0.06);
}
#footer .contact-item .icons {
    width: 28px; height: 28px;
    flex-shrink: 0;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(216,183,106,0.22) 0%, rgba(216,183,106,0.06) 100%);
    color: var(--rh-gold-300);
    display: inline-flex;
    align-items: center; justify-content: center;
    font-size: 13px;
    border: 1px solid rgba(216,183,106,0.24);
}
#footer .contact-item .icons svg,
#footer .contact-item .icons i { font-size: 13px; width: 14px; height: 14px; }
#footer .contact-item .content { min-width: 0; line-height: 1.2; }
#footer .contact-item .title {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: rgba(255,255,255,0.5);
    margin-bottom: 2px;
    padding-bottom: 0;
    line-height: 1;
}
#footer .contact-item .title::after { display: none; }
#footer .contact-item h6 {
    color: #fff;
    font-size: 12.5px;
    line-height: 1.3;
    font-weight: 500;
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 220px;
}
#footer .contact-item h6 a { color: #fff; border-bottom: 1px solid transparent; }
#footer .contact-item h6 a:hover { color: var(--rh-gold-200); border-bottom-color: rgba(216,183,106,0.55); }
#footer .contact-item h6 .d-block { display: inline-block !important; margin-top: 0 !important; }

/* Kill theme-supplied vertical separator lines that appear next to icons/content */
.wrap-contact-item .contact-item .content::after,
.wrap-contact-item .contact-item .content::before,
#footer .wrap-contact-item .contact-item .content::after,
#footer .wrap-contact-item .contact-item .content::before,
.box-contact .list-info li .icon::after,
.box-contact .list-info li .icon::before,
.box-contact.style-1 .list-info li .icon::after,
.tf-social.style-3 li a::after,
.agent-item .tf-social a::after { display: none !important; content: none !important; }

#footer .footer-main { margin-top: 0; }
#footer .footer-main .row { row-gap: 22px; }

#footer .footer-menu-list ul { padding: 0; margin: 0; list-style: none; }
#footer .footer-menu-list ul li { margin-bottom: 6px; }
#footer .footer-menu-list ul li a {
    color: rgba(255,255,255,0.7);
    font-size: 13px;
    line-height: 1.5;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: color .2s var(--rh-ease), padding-left .2s var(--rh-ease);
    padding-left: 0;
}
#footer .footer-menu-list ul li a::before {
    content: "›";
    position: static;
    width: auto;
    height: auto;
    background: transparent;
    color: var(--rh-gold-400);
    font-size: 14px;
    line-height: 1;
    opacity: 0;
    transform: translateX(-4px);
    transition: opacity .2s var(--rh-ease), transform .2s var(--rh-ease);
}
#footer .footer-menu-list ul li a:hover {
    color: #fff;
    padding-left: 4px;
}
#footer .footer-menu-list ul li a:hover::before { opacity: 1; transform: translateX(0); }

/* Override theme's style-2 footer column treatment (which adds an opaque charcoal block + duplicate icomoon arrow) */
#footer .footer-menu-list.style-2 ul li a {
    background-color: transparent !important;
    padding-left: 0 !important;
    color: rgba(255,255,255,0.7);
}
#footer .footer-menu-list.style-2 ul li a::after {
    content: none !important;
    display: none !important;
}
#footer .footer-menu-list.style-2 ul li:hover a::before {
    width: 0 !important;
    background-color: transparent !important;
}

#footer .footer-menu-list.newsletter .text-1 {
    color: rgba(255,255,255,0.7);
    font-size: 12.5px;
    line-height: 1.5;
    margin-bottom: 10px;
}
#footer .footer-menu-list.newsletter .sib-form .input-nl,
#footer .footer-menu-list.newsletter .sib-form input.input {
    min-height: 40px;
    padding: 10px 12px;
    font-size: 13px;
    border-radius: 10px;
}
#footer .footer-menu-list.newsletter .sib-form-block__button {
    min-height: 38px;
    height: 38px;
    padding: 0 16px;
    font-size: 13px;
    border-radius: var(--rh-radius-pill);
}

#footer .footer-bottom {
    margin-top: 26px;
    padding-top: 14px;
    border-top: 1px solid rgba(255,255,255,0.07);
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px 20px;
}
#footer .footer-bottom p { margin: 0; color: rgba(255,255,255,0.55); font-size: 12px; line-height: 1.5; }
#footer .footer-bottom .fw-7 { color: #fff; }

#footer .wrap-social { display: inline-flex; align-items: center; gap: 10px; }
#footer .wrap-social .text-3 {
    color: rgba(255,255,255,0.65);
    font-weight: 600;
    font-size: 11.5px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}
#footer .tf-social { display: inline-flex; gap: 6px; list-style: none; padding: 0; margin: 0; }
#footer .tf-social li a {
    width: 30px; height: 30px;
    border-radius: 8px;
    display: inline-flex;
    align-items: center; justify-content: center;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.10);
    color: #fff;
    font-size: 12px;
    transition: background .2s var(--rh-ease), border-color .2s var(--rh-ease), transform .2s var(--rh-ease), color .2s var(--rh-ease);
}
#footer .tf-social li a i { font-size: 12px; }
#footer .tf-social li a:hover {
    background: var(--rh-grad-gold);
    color: #1f1708;
    border-color: rgba(216,183,106,0.55);
    transform: translateY(-1px);
}

/* --------------------------------------------------------------------------
   "Let's Work Together" brand-logo marquee tiles
   -------------------------------------------------------------------------- */

.partner-item.style-2.rh-brand-tile {
    width: 180px;
    height: 100px;
    padding: 14px 18px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.10);
    border-radius: 16px;
    transition: border-color .25s var(--rh-ease), background .25s var(--rh-ease), transform .25s var(--rh-ease);
}
.partner-item.style-2.rh-brand-tile img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
    margin: 0 auto;
    filter: brightness(0) invert(1) opacity(0.78);
    transition: filter .3s var(--rh-ease), transform .3s var(--rh-ease);
}
.partner-item.style-2.rh-brand-tile:hover {
    border-color: rgba(216, 183, 106, 0.55);
    background: rgba(216, 183, 106, 0.08);
    transform: translateY(-2px);
}
.partner-item.style-2.rh-brand-tile:hover img {
    filter: none;
    transform: scale(1.04);
}

/* Light-background variant — used on contact page where .section-work-together.style-2
   removes the dark wg-partner backdrop. Logos render in full color on a soft cream tile. */
.section-work-together.style-2 .partner-item.style-2.rh-brand-tile {
    background: linear-gradient(180deg, #ffffff 0%, #fbf6ec 100%);
    border: 1px solid rgba(20, 22, 26, 0.08);
    box-shadow: var(--rh-shadow-xs);
}
.section-work-together.style-2 .partner-item.style-2.rh-brand-tile img {
    filter: none;
    opacity: 1;
}
.section-work-together.style-2 .partner-item.style-2.rh-brand-tile:hover {
    border-color: rgba(216, 183, 106, 0.55);
    background: linear-gradient(180deg, #fffaee 0%, #fbf0d6 100%);
    box-shadow: var(--rh-shadow-sm);
}
.section-work-together.style-2 .partner-item.style-2.rh-brand-tile:hover img {
    transform: scale(1.04);
}
/* Theme's spotlight effect (dim/blur non-hovered siblings) — apply same filter to the
   img so it dims uniformly on light bg too. */
.section-work-together.style-2 .wrap-partners:hover .partner-item.rh-brand-tile:not(:hover) img {
    filter: saturate(0.3) opacity(0.55);
}

/* --------------------------------------------------------------------------
   Project detail page (shared partial)
   -------------------------------------------------------------------------- */

.rh-pd-hero {
    background: linear-gradient(180deg, #ffffff 0%, #fbf8f1 100%);
    padding: clamp(28px, 4vw, 56px) 0;
    border-bottom: 1px solid var(--rh-divider);
}
.rh-pd-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: clamp(24px, 3vw, 56px);
    align-items: stretch;
    width: min(100%, 1440px);
    margin: 0 auto;
    padding: 0 clamp(16px, 3vw, 56px);
}
@media (max-width: 991.98px) {
    .rh-pd-hero-grid { grid-template-columns: 1fr; }
}

.rh-pd-hero-media {
    position: relative;
    border-radius: var(--rh-radius-lg);
    overflow: hidden;
    aspect-ratio: 5 / 4;
    box-shadow: var(--rh-shadow-lg);
    border: 1px solid rgba(216,183,106,0.22);
}
.rh-pd-hero-media img {
    width: 100%; height: 100%;
    object-fit: cover; object-position: center;
    display: block;
}
.rh-pd-hero-tag {
    position: absolute;
    top: 16px; left: 16px;
    padding: 7px 16px;
    border-radius: var(--rh-radius-pill);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}
.rh-pd-hero-tag--gold {
    background: var(--rh-grad-gold);
    color: #1a1304;
    box-shadow: 0 6px 16px rgba(184,148,72,0.32);
}
.rh-pd-hero-tag--forest {
    background: linear-gradient(135deg, #0f5d4f 0%, #15724f 100%);
    color: #fff;
    box-shadow: 0 6px 16px rgba(15,93,79,0.32);
}

.rh-pd-hero-body {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: clamp(8px, 1vw, 16px) 0;
}
.rh-pd-hero-headline {
    font-family: var(--rh-font-display);
    font-size: clamp(28px, 3.4vw, 44px);
    font-weight: 600;
    line-height: 1.12;
    letter-spacing: -0.022em;
    color: var(--rh-ink-900);
    margin: 14px 0 12px;
}
.rh-pd-hero-tagline {
    font-family: var(--rh-font-display);
    font-style: italic;
    font-size: clamp(15px, 1.3vw, 18px);
    color: var(--rh-gold-700);
    margin: 0 0 16px;
    line-height: 1.4;
}
.rh-pd-hero-intro p {
    color: var(--rh-text);
    font-size: 15px;
    line-height: 1.7;
    margin: 0 0 14px;
}
.rh-pd-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 8px;
}

/* Specs strip */
.rh-pd-specs {
    padding: clamp(28px, 3vw, 44px) 0 !important;
    border-bottom: 1px solid rgba(216,183,106,0.22);
}
.rh-pd-specs-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}
@media (max-width: 767.98px) {
    .rh-pd-specs-grid { grid-template-columns: repeat(2, 1fr); }
}
.rh-pd-spec-card {
    background: rgba(255,255,255,0.85);
    border: 1px solid rgba(216,183,106,0.28);
    border-radius: var(--rh-radius-md);
    padding: 16px 18px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.rh-pd-spec-label {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--rh-text-muted);
}
.rh-pd-spec-value {
    font-family: var(--rh-font-display);
    font-size: clamp(15px, 1.3vw, 18px);
    font-weight: 600;
    color: var(--rh-ink-900);
    line-height: 1.25;
}
.rh-pd-spec-tail {
    color: var(--rh-text-muted);
    font-weight: 400;
    font-family: var(--rh-font-sans);
    font-size: 0.82em;
    margin-left: 4px;
}

/* Video stage */
.rh-pd-video-stage {
    border-radius: var(--rh-radius-lg);
    overflow: hidden;
    background: #000;
    border: 1px solid rgba(216,183,106,0.32);
    box-shadow: var(--rh-shadow-xl);
    aspect-ratio: 16 / 9;
    max-width: 1200px;
    margin: 0 auto;
}
.rh-pd-video-stage video {
    width: 100%;
    height: 100%;
    display: block;
}

.rh-pd-video-thumbs {
    margin-top: 24px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}
.rh-pd-video-chip {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 14px;
    background: #fff;
    border: 1px solid rgba(216,183,106,0.32);
    border-radius: var(--rh-radius-pill);
    color: var(--rh-ink-700);
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    max-width: 320px;
    transition: background .2s var(--rh-ease), color .2s var(--rh-ease), border-color .2s var(--rh-ease);
}
.rh-pd-video-chip:hover {
    background: rgba(216,183,106,0.08);
    color: var(--rh-gold-700);
}
.rh-pd-video-chip.is-active {
    background: var(--rh-grad-gold);
    color: #1a1304;
    border-color: rgba(133,104,33,0.5);
}
.rh-pd-video-chip-num {
    font-family: var(--rh-font-display);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.06em;
    opacity: 0.7;
}
.rh-pd-video-chip-label {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 240px;
}

/* Highlights grid */
.rh-pd-highlights-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 18px;
}
.rh-pd-highlight {
    padding: 22px 20px;
    background: #fff;
    border-radius: var(--rh-radius-md);
    text-align: left;
}
.rh-pd-highlight-icon {
    display: inline-flex;
    width: 46px; height: 46px;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(216,183,106,0.20) 0%, rgba(216,183,106,0.06) 100%);
    color: var(--rh-gold-700);
    align-items: center;
    justify-content: center;
    font-size: 22px;
    margin-bottom: 14px;
    border: 1px solid rgba(216,183,106,0.28);
}
.rh-pd-highlight-title {
    font-family: var(--rh-font-display);
    font-size: 17px;
    font-weight: 600;
    color: var(--rh-ink-900);
    margin: 0 0 6px;
    letter-spacing: -0.005em;
}
.rh-pd-highlight-desc {
    color: var(--rh-text-muted);
    font-size: 13.5px;
    line-height: 1.55;
    margin: 0;
}

/* Gallery on detail page */
.rh-pd-gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 14px;
}
.rh-pd-gallery-item {
    position: relative;
    display: block;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    border-radius: var(--rh-radius-md);
    cursor: zoom-in;
    text-decoration: none;
    background: linear-gradient(180deg, #fbf6ec 0%, #f1e2bc 100%);
    transition: transform .35s var(--rh-ease), box-shadow .35s var(--rh-ease), border-color .35s var(--rh-ease);
}
.rh-pd-gallery-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--rh-shadow-xl);
    border-color: rgba(216,183,106,0.45);
}
.rh-pd-gallery-item img {
    width: 100%; height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform .8s var(--rh-ease-emphasized);
    display: block;
}
.rh-pd-gallery-item:hover img { transform: scale(1.05); }

/* Quote band */
.rh-pd-quote {
    padding: clamp(36px, 5vw, 72px) 0;
    background:
        radial-gradient(60% 50% at 100% 0%, rgba(216,183,106,0.08) 0%, transparent 60%),
        linear-gradient(180deg, #faf3e3 0%, #f5e8c5 100%);
    border-top: 1px solid rgba(216,183,106,0.22);
    border-bottom: 1px solid rgba(216,183,106,0.22);
}
.rh-pd-quote-block {
    max-width: 780px;
    margin: 0 auto;
    text-align: center;
    color: var(--rh-ink-900);
}
.rh-pd-quote-mark {
    display: block;
    font-family: var(--rh-font-display);
    font-size: 64px;
    font-weight: 700;
    color: var(--rh-gold-500);
    line-height: 0.5;
    margin-bottom: 12px;
}
.rh-pd-quote-block p {
    font-family: var(--rh-font-display);
    font-size: clamp(20px, 2vw, 26px);
    font-style: italic;
    font-weight: 500;
    line-height: 1.4;
    letter-spacing: -0.01em;
    margin: 0 0 14px;
}
.rh-pd-quote-block footer {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--rh-gold-700);
}

/* CTA panel */
.rh-pd-cta {
    padding: clamp(28px, 3.5vw, 56px) 0 !important;
    background: linear-gradient(180deg, #ffffff 0%, #fbf6ec 100%);
}
.rh-pd-cta-panel {
    width: min(100%, 1200px);
    margin: 0 auto;
    padding: clamp(28px, 3.5vw, 56px);
    border-radius: var(--rh-radius-lg);
    background:
        radial-gradient(80% 60% at 0% 0%, rgba(216,183,106,0.18) 0%, transparent 55%),
        linear-gradient(135deg, #14161a 0%, #1f2226 60%, #2c2e33 100%);
    border: 1px solid rgba(216,183,106,0.40);
    box-shadow: 0 30px 80px rgba(20,22,26,0.30), 0 8px 24px rgba(184,148,72,0.18);
    color: #fff;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}
.rh-pd-cta-eyebrow {
    background: rgba(255,255,255,0.10) !important;
    color: var(--rh-gold-300) !important;
    border-color: rgba(216,183,106,0.40) !important;
}
.rh-pd-cta-title {
    font-family: var(--rh-font-display);
    font-size: clamp(20px, 1.8vw, 26px);
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: -0.012em;
    color: #fff;
    margin: 12px 0 6px;
}
.rh-pd-cta-sub {
    font-size: 14px;
    color: rgba(255,255,255,0.78);
    margin: 0;
    max-width: 540px;
    line-height: 1.55;
}
.rh-pd-cta-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    flex-shrink: 0;
}
.rh-pd-cta .tf-btn.style-border {
    background: rgba(255,255,255,0.06);
    color: #fff;
    border-color: rgba(216,183,106,0.45);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}

/* --------------------------------------------------------------------------
   Featured Projects — premium project cards with detail rail
   -------------------------------------------------------------------------- */

.rh-projects-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(20px, 2.4vw, 32px);
}
@media (min-width: 1280px) {
    .rh-projects-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 767.98px) {
    .rh-projects-grid { grid-template-columns: 1fr; gap: 18px; }
}

.rh-project-tile {
    position: relative;
    display: grid;
    grid-template-columns: minmax(220px, 0.85fr) minmax(0, 1fr);
    background: #ffffff;
    border-radius: var(--rh-radius-lg);
    overflow: hidden;
    border: 1px solid rgba(216,183,106,0.22);
    box-shadow: var(--rh-shadow-sm);
    transition: transform .35s var(--rh-ease), box-shadow .35s var(--rh-ease), border-color .35s var(--rh-ease);
}
.rh-project-tile:hover {
    transform: translateY(-4px);
    box-shadow: var(--rh-shadow-xl);
    border-color: rgba(216,183,106,0.45);
}
@media (max-width: 991.98px) {
    .rh-project-tile { grid-template-columns: 1fr; }
}

.rh-project-tile-media {
    position: relative;
    overflow: hidden;
    text-decoration: none;
    display: block;
    background: linear-gradient(180deg, #faf3e3 0%, #f1e2bc 100%);
    min-height: 240px;
}
.rh-project-tile-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: transform .8s var(--rh-ease-emphasized);
}
.rh-project-tile:hover .rh-project-tile-media img { transform: scale(1.05); }
.rh-project-tile-media::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 50%, rgba(20,22,26,0.55) 100%);
    pointer-events: none;
}
@media (max-width: 991.98px) {
    .rh-project-tile-media { aspect-ratio: 16 / 10; min-height: 0; }
}

.rh-project-tile-badge {
    position: absolute;
    top: 14px; left: 14px;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    padding: 6px 14px;
    border-radius: var(--rh-radius-pill);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}
.rh-project-tile-badge--gold {
    background: var(--rh-grad-gold);
    color: #1a1304;
    box-shadow: 0 6px 16px rgba(184,148,72,0.32);
}
.rh-project-tile-badge--forest {
    background: linear-gradient(135deg, #0f5d4f 0%, #15724f 100%);
    color: #fff;
    box-shadow: 0 6px 16px rgba(15,93,79,0.32);
}

.rh-project-tile-pills {
    position: absolute;
    left: 14px; right: 14px;
    bottom: 14px;
    z-index: 2;
    color: #fff;
    font-family: var(--rh-font-sans);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-shadow: 0 1px 2px rgba(0,0,0,0.4);
}

.rh-project-tile-body {
    padding: 24px 24px 22px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.rh-project-tile-title {
    margin: 0;
    font-family: var(--rh-font-display);
    font-size: clamp(20px, 1.7vw, 24px);
    font-weight: 600;
    line-height: 1.18;
    letter-spacing: -0.012em;
}
.rh-project-tile-title a {
    color: var(--rh-ink-900);
    text-decoration: none;
    transition: color .2s var(--rh-ease);
}
.rh-project-tile-title a:hover { color: var(--rh-gold-700); }

.rh-project-tile-sub {
    margin: 0;
    color: var(--rh-text-muted);
    font-size: 13.5px;
    line-height: 1.5;
    font-style: italic;
}

.rh-project-tile-location {
    margin: 0;
    display: flex;
    align-items: flex-start;
    gap: 8px;
    color: var(--rh-ink-700);
    font-size: 13px;
    line-height: 1.45;
    font-weight: 500;
}
.rh-project-tile-location svg {
    color: var(--rh-gold-600);
    flex-shrink: 0;
    margin-top: 2px;
}

.rh-project-tile-price {
    display: inline-flex;
    align-self: flex-start;
    padding: 5px 12px;
    border-radius: var(--rh-radius-pill);
    background: linear-gradient(135deg, rgba(216,183,106,0.18) 0%, rgba(216,183,106,0.06) 100%);
    border: 1px solid rgba(216,183,106,0.30);
    font-family: var(--rh-font-display);
    font-size: 14px;
    font-weight: 600;
    color: var(--rh-gold-700);
    letter-spacing: -0.005em;
}

.rh-project-tile-specs {
    list-style: none;
    margin: 4px 0 0;
    padding: 12px 0 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
    border-top: 1px dashed rgba(216,183,106,0.32);
}
.rh-project-tile-specs li {
    display: grid;
    grid-template-columns: 110px minmax(0, 1fr);
    gap: 12px;
    align-items: baseline;
    font-size: 12.5px;
    line-height: 1.4;
}
.rh-project-tile-spec-label {
    color: var(--rh-text-muted);
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: 0.10em;
    text-transform: uppercase;
}
.rh-project-tile-spec-value {
    color: var(--rh-ink-800);
    font-weight: 500;
}

.rh-project-tile-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px 16px;
    margin-top: auto;
    padding-top: 14px;
}
.rh-project-tile-actions .tf-btn {
    min-height: 40px;
    height: 40px;
    padding: 0 22px;
    font-size: 13px;
}
.rh-project-tile-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--rh-ink-800);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: -0.005em;
    transition: color .2s var(--rh-ease), gap .2s var(--rh-ease);
}
.rh-project-tile-link:hover {
    color: var(--rh-gold-700);
    gap: 10px;
}
.rh-project-tile-link svg {
    transition: transform .2s var(--rh-ease);
}
.rh-project-tile-link:hover svg { transform: translateX(2px); }

@media (max-width: 575.98px) {
    .rh-project-tile-body { padding: 18px 18px 18px; gap: 8px; }
    .rh-project-tile-specs li { grid-template-columns: 96px minmax(0, 1fr); gap: 10px; }
    .rh-project-tile-actions .tf-btn { padding: 0 18px; }
}

/* --------------------------------------------------------------------------
   Exclusive Interview — full-width split with sticky photo + accordion Q&A
   -------------------------------------------------------------------------- */

.rh-interview {
    background:
        radial-gradient(60% 50% at 100% 0%, rgba(216,183,106,0.10) 0%, transparent 60%),
        radial-gradient(50% 40% at 0% 100%, rgba(20,22,26,0.04) 0%, transparent 60%),
        linear-gradient(180deg, #faf6ec 0%, #f5e8c5 100%);
    border-top: 1px solid rgba(216,183,106,0.22);
    border-bottom: 1px solid rgba(216,183,106,0.22);
    padding: 0 !important;
}

.rh-interview-shell {
    --rh-interview-h: clamp(640px, 82vh, 920px);
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
    gap: 0;
    align-items: stretch;
    width: 100%;
    max-width: none;
    height: var(--rh-interview-h);
}

.rh-interview-media {
    position: relative;
    overflow: hidden;
    background: #14161a;
    isolation: isolate;
    height: 100%;
}
.rh-interview-photo {
    position: relative;
    width: 100%;
    height: 100%;
}
.rh-interview-photo::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 35%, rgba(20,22,26,0.45) 78%, rgba(20,22,26,0.85) 100%);
    z-index: 1;
    pointer-events: none;
}
.rh-interview-photo img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.rh-interview-quote {
    position: absolute;
    left: clamp(20px, 3vw, 40px);
    right: clamp(20px, 3vw, 40px);
    bottom: clamp(20px, 3vw, 40px);
    z-index: 2;
    color: #fff;
    max-width: 540px;
}
.rh-interview-quote-mark {
    font-family: var(--rh-font-display);
    font-size: clamp(48px, 6vw, 84px);
    line-height: 0.5;
    color: var(--rh-gold-300);
    display: block;
    margin-bottom: 8px;
    font-weight: 700;
}
.rh-interview-quote p {
    font-family: var(--rh-font-display);
    font-size: clamp(18px, 1.6vw, 22px);
    line-height: 1.4;
    font-weight: 500;
    letter-spacing: -0.005em;
    margin: 0 0 10px;
    color: rgba(255,255,255,0.96);
}
.rh-interview-quote-attr {
    font-family: var(--rh-font-sans);
    font-size: 12px !important;
    font-weight: 600 !important;
    letter-spacing: 0.10em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.78) !important;
    margin: 0 !important;
}

.rh-interview-content {
    padding: clamp(32px, 4vw, 64px) clamp(24px, 4vw, 64px);
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    height: 100%;
    min-height: 0;
}
.rh-interview-content .rh-eyebrow { margin-bottom: 14px; }
.rh-interview-headline {
    font-family: var(--rh-font-display);
    font-size: clamp(26px, 2.8vw, 38px);
    font-weight: 600;
    line-height: 1.15;
    letter-spacing: -0.018em;
    color: var(--rh-ink-900);
    margin: 0 0 14px;
}
.rh-interview-headline em {
    font-style: italic;
    background: linear-gradient(135deg, var(--rh-gold-700) 0%, var(--rh-gold-500) 50%, var(--rh-gold-700) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-weight: 500;
}
.rh-interview-sub {
    color: var(--rh-text-muted);
    font-size: clamp(14px, 1.1vw, 16px);
    line-height: 1.55;
    margin: 0 0 24px;
    max-width: 560px;
}

.rh-interview-toolbar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px 16px;
    margin-bottom: 22px;
    padding-bottom: 22px;
    border-bottom: 1px solid rgba(216,183,106,0.28);
}
.rh-interview-play-all {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 18px;
    background: var(--rh-grad-gold);
    color: #1a1304;
    border: 1px solid rgba(133,104,33,0.35);
    border-radius: var(--rh-radius-pill);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.005em;
    cursor: pointer;
    box-shadow: var(--rh-shadow-sm), var(--rh-shadow-inset-glass);
    transition: transform .25s var(--rh-ease), box-shadow .25s var(--rh-ease);
}
.rh-interview-play-all:hover {
    transform: translateY(-1px);
    box-shadow: var(--rh-shadow-gold), var(--rh-shadow-inset-glass);
}
.rh-interview-play-all.is-playing { background: linear-gradient(135deg, #1f2226 0%, #2c2e33 100%); color: #fff; }
.rh-interview-play-icon {
    width: 22px; height: 22px;
    display: inline-flex;
    align-items: center; justify-content: center;
    background: rgba(255,255,255,0.5);
    border-radius: 50%;
}
.rh-interview-play-all.is-playing .rh-interview-play-icon { background: rgba(216,183,106,0.7); }
.rh-interview-help {
    font-size: 12px;
    color: var(--rh-text-muted);
    line-height: 1.45;
}

.rh-interview-accordion {
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
    overflow-x: hidden;
    padding-right: 6px;
    scrollbar-width: thin;
    scrollbar-color: rgba(216,183,106,0.45) transparent;
}
.rh-interview-accordion::-webkit-scrollbar { width: 6px; }
.rh-interview-accordion::-webkit-scrollbar-track { background: transparent; }
.rh-interview-accordion::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, rgba(216,183,106,0.55), rgba(216,183,106,0.30));
    border-radius: 3px;
}
.rh-interview-accordion::-webkit-scrollbar-thumb:hover { background: rgba(216,183,106,0.7); }

.rh-interview-item {
    background: rgba(255,255,255,0.85);
    border: 1px solid rgba(216,183,106,0.24);
    border-radius: var(--rh-radius-md);
    overflow: hidden;
    flex: 0 0 auto;
    transition: border-color .25s var(--rh-ease), background .25s var(--rh-ease), box-shadow .25s var(--rh-ease);
}
.rh-interview-item:hover {
    border-color: rgba(216,183,106,0.5);
    background: #fff;
}
.rh-interview-item[open] {
    border-color: rgba(216,183,106,0.55);
    background: #fff;
    box-shadow: var(--rh-shadow-sm);
}
.rh-interview-item.is-playing {
    border-color: var(--rh-gold-500);
    box-shadow: 0 0 0 2px rgba(216,183,106,0.22), var(--rh-shadow-sm);
}

.rh-interview-summary {
    list-style: none;
    cursor: pointer;
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr) auto auto;
    align-items: center;
    gap: 14px;
    padding: 14px 16px;
    user-select: none;
}
.rh-interview-summary::-webkit-details-marker { display: none; }
.rh-interview-summary::marker { display: none; content: ''; }

.rh-interview-num {
    width: 44px;
    height: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--rh-radius-pill);
    background: linear-gradient(135deg, rgba(216,183,106,0.18) 0%, rgba(216,183,106,0.06) 100%);
    color: var(--rh-gold-700);
    font-family: var(--rh-font-display);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.04em;
    border: 1px solid rgba(216,183,106,0.32);
}
.rh-interview-q {
    color: var(--rh-ink-900);
    font-size: 14.5px;
    font-weight: 600;
    line-height: 1.4;
    letter-spacing: -0.005em;
    min-width: 0;
    overflow-wrap: anywhere;
    white-space: normal;
}

.rh-interview-listen {
    width: 32px; height: 32px;
    display: inline-flex;
    align-items: center; justify-content: center;
    background: rgba(216,183,106,0.10);
    border: 1px solid rgba(216,183,106,0.28);
    border-radius: 50%;
    color: var(--rh-gold-700);
    cursor: pointer;
    flex-shrink: 0;
    transition: background .2s var(--rh-ease), color .2s var(--rh-ease), transform .2s var(--rh-ease);
}
.rh-interview-listen:hover {
    background: var(--rh-grad-gold);
    color: #1a1304;
    transform: scale(1.05);
}
.rh-interview-item.is-playing .rh-interview-listen,
.rh-interview-listen.is-playing {
    background: var(--rh-grad-gold);
    color: #1a1304;
    animation: rh-pulse 1.4s ease-in-out infinite;
}
@keyframes rh-pulse {
    0%,100% { box-shadow: 0 0 0 0 rgba(216,183,106,0.55); }
    50%     { box-shadow: 0 0 0 8px rgba(216,183,106,0); }
}

.rh-interview-chevron {
    width: 24px; height: 24px;
    display: inline-flex;
    align-items: center; justify-content: center;
    color: var(--rh-text-muted);
    transition: transform .25s var(--rh-ease), color .25s var(--rh-ease);
    flex-shrink: 0;
}
.rh-interview-item[open] .rh-interview-chevron {
    transform: rotate(180deg);
    color: var(--rh-gold-700);
}

/* Answer text starts under the question (16px padding + 44px badge + 14px gap = 74px) */
.rh-interview-answer {
    padding: 0 16px 16px 74px;
    color: var(--rh-text);
    font-size: 14px;
    line-height: 1.65;
}
.rh-interview-answer p { margin: 0 0 10px; }
.rh-interview-answer p:last-child { margin-bottom: 0; }
.rh-interview-answer ul {
    margin: 4px 0 12px;
    padding-left: 18px;
    list-style: disc;
    color: var(--rh-text);
}
.rh-interview-answer ul li {
    margin-bottom: 4px;
    line-height: 1.55;
}
.rh-interview-answer ul li::marker { color: var(--rh-gold-500); }

@media (max-width: 991.98px) {
    .rh-interview-shell {
        grid-template-columns: 1fr;
        height: auto;
    }
    .rh-interview-media { height: 50vh; min-height: 360px; max-height: 520px; }
    .rh-interview-photo { height: 100%; }
    .rh-interview-content { padding: 32px 24px; height: auto; }
    .rh-interview-quote { right: clamp(20px, 4vw, 60px); }
    .rh-interview-accordion { overflow: visible; max-height: none; padding-right: 0; flex: 0 1 auto; }
}

@media (max-width: 575.98px) {
    .rh-interview-media { height: 56vh; min-height: 280px; max-height: 420px; }
    .rh-interview-quote p { font-size: 16px; }
    .rh-interview-headline { font-size: 24px; }
    .rh-interview-summary {
        grid-template-columns: auto 1fr auto;
        grid-template-rows: auto auto;
        gap: 8px 10px;
        padding: 12px 12px;
    }
    .rh-interview-num { grid-row: 1; }
    .rh-interview-q { grid-column: 1 / -1; grid-row: 2; font-size: 13.5px; }
    .rh-interview-listen { grid-column: 2; grid-row: 1; justify-self: end; }
    .rh-interview-chevron { grid-column: 3; grid-row: 1; }
    .rh-interview-answer { padding: 0 12px 14px 12px; }
}

/* --------------------------------------------------------------------------
   Sponsored Events — home-page mosaic + dedicated page grid
   -------------------------------------------------------------------------- */

.rh-events-teaser {
    background:
        radial-gradient(80% 60% at 100% 0%, rgba(216,183,106,0.10) 0%, transparent 60%),
        linear-gradient(180deg, #fdfbf4 0%, #fbf6ec 100%);
    border-bottom: 1px solid var(--rh-divider);
}

/* Full-width mosaic — 4 large focused cards on desktop, 2 on tablet,
   1 on mobile. Photos render fully uncropped on cream tiles. */
.rh-events-teaser .tf-container { max-width: 100%; padding-left: clamp(16px, 3vw, 64px); padding-right: clamp(16px, 3vw, 64px); }

.rh-events-mosaic {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
    margin-bottom: 64px;
}
.rh-events-mosaic-item {
    position: relative;
    overflow: hidden;
    border-radius: var(--rh-radius-lg);
    text-decoration: none;
    display: block;
    aspect-ratio: 5 / 4;
    cursor: zoom-in;
    background:
        radial-gradient(80% 60% at 50% 0%, rgba(216,183,106,0.12) 0%, transparent 60%),
        linear-gradient(180deg, #fbf6ec 0%, #f1e2bc 100%);
    box-shadow: 0 4px 14px rgba(20,22,26,0.06);
    transition: transform .35s var(--rh-ease), box-shadow .35s var(--rh-ease);
}
.rh-events-mosaic-item:hover {
    transform: translateY(-6px);
    box-shadow: var(--rh-shadow-xl), 0 0 0 2px rgba(216,183,106,0.32);
}

.rh-events-mosaic-item img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    padding: 10px;
    transition: transform .8s var(--rh-ease-emphasized);
    display: block;
}
.rh-events-mosaic-item:hover img { transform: scale(1.05); }

.rh-events-mosaic-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-start;
    gap: 8px;
    padding: 14px 16px;
    background: linear-gradient(180deg, transparent 55%, rgba(20,22,26,0.15) 78%, rgba(20,22,26,0.80) 100%);
    color: #fff;
    pointer-events: none;
}
.rh-events-mosaic-title {
    font-family: var(--rh-font-display);
    font-size: clamp(14px, 1.1vw, 16px);
    font-weight: 600;
    line-height: 1.25;
    letter-spacing: -0.005em;
}

.rh-events-teaser .text-center.mt-40 { margin-top: 0 !important; }

/* Zoom-in affordance circle that appears on hover */
.rh-events-zoom {
    position: absolute;
    top: 14px; right: 14px;
    width: 38px; height: 38px;
    display: inline-flex;
    align-items: center; justify-content: center;
    border-radius: 50%;
    background: rgba(255,255,255,0.94);
    color: var(--rh-gold-700);
    box-shadow: 0 4px 14px rgba(20,22,26,0.18);
    opacity: 0;
    transform: scale(0.8);
    transition: opacity .25s var(--rh-ease), transform .25s var(--rh-ease);
    pointer-events: none;
    z-index: 3;
}
.rh-events-mosaic-item:hover .rh-events-zoom,
.rh-event-card:hover .rh-events-zoom {
    opacity: 1;
    transform: scale(1);
}

/* Magnific Popup luxe styling */
.rh-mfp.mfp-bg { background: rgba(14,16,20,0.92); }
.rh-mfp .mfp-content { padding: 0 8px; }
.rh-mfp .mfp-figure { line-height: 0; }
.rh-mfp .mfp-figure::after { display: none; }
.rh-mfp img.mfp-img {
    padding: 24px 0 56px;
    max-height: 88vh;
    width: auto;
    border-radius: 8px;
    box-shadow: 0 24px 60px rgba(0,0,0,0.55);
}
.rh-mfp .mfp-bottom-bar { margin-top: -52px; }
.rh-mfp .mfp-title {
    color: rgba(255,255,255,0.95);
    font-family: var(--rh-font-display);
    font-size: 16px;
    text-align: center;
    padding: 0 40px;
    line-height: 1.4;
}
.rh-mfp .mfp-counter {
    color: rgba(255,255,255,0.6);
    font-size: 12px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    font-weight: 600;
}
.rh-mfp .mfp-arrow {
    width: 56px; height: 56px;
    border-radius: 50%;
    background: rgba(255,255,255,0.10);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    transition: background .2s var(--rh-ease);
    opacity: 1;
    margin-top: -28px;
}
.rh-mfp .mfp-arrow:hover { background: var(--rh-grad-gold); }
.rh-mfp .mfp-arrow::before, .rh-mfp .mfp-arrow::after { display: none; }
.rh-mfp .mfp-arrow-left { left: 24px; }
.rh-mfp .mfp-arrow-right { right: 24px; }
.rh-mfp .mfp-arrow-left::after,
.rh-mfp .mfp-arrow-right::after {
    content: "";
    display: block;
    position: absolute;
    top: 50%; left: 50%;
    width: 12px; height: 12px;
    border-top: 2px solid #fff;
    border-right: 2px solid #fff;
    border-left: 0; border-bottom: 0;
    margin: 0;
    background: transparent;
    transform: translate(-50%, -50%) rotate(45deg);
}
.rh-mfp .mfp-arrow-left::after {
    transform: translate(-30%, -50%) rotate(-135deg);
}
.rh-mfp .mfp-arrow:hover::after { border-color: #1a1304; }

.rh-mfp button.mfp-close {
    width: 44px; height: 44px;
    line-height: 44px;
    color: #fff;
    opacity: 1;
    font-size: 28px;
    background: rgba(255,255,255,0.10);
    border-radius: 50%;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    margin-top: 8px;
    margin-right: 8px;
    transition: background .2s var(--rh-ease);
}
.rh-mfp button.mfp-close:hover { background: var(--rh-grad-gold); color: #1a1304; }

.rh-mfp.mfp-fade.mfp-bg.mfp-ready { opacity: 0.92; }

/* Make sure the zoom cursor is consistent across all event triggers */
.rh-event-card { cursor: zoom-in; }

.rh-event-tag {
    display: inline-flex;
    align-items: center;
    padding: 4px 12px;
    border-radius: var(--rh-radius-pill);
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    background: var(--rh-grad-gold);
    color: #1a1304;
    box-shadow: 0 4px 12px rgba(184,148,72,0.32);
}

@media (max-width: 991.98px) {
    .rh-events-mosaic { grid-template-columns: repeat(2, 1fr); gap: 14px; margin-bottom: 40px; }
}
@media (max-width: 575.98px) {
    .rh-events-mosaic { grid-template-columns: 1fr; gap: 12px; margin-bottom: 32px; }
}

/* Dedicated Sponsored Events page grid */
.rh-events-grid-section {
    background:
        radial-gradient(60% 40% at 50% 0%, rgba(216,183,106,0.06) 0%, transparent 60%),
        linear-gradient(180deg, #ffffff 0%, #fbf8f1 100%);
}
.rh-events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 22px;
}
.rh-event-card {
    margin: 0;
    padding: 0;
    overflow: hidden;
    border-radius: var(--rh-radius-md);
    background: #fff;
    transition: transform .35s var(--rh-ease), box-shadow .35s var(--rh-ease), border-color .35s var(--rh-ease);
    display: flex;
    flex-direction: column;
}
.rh-event-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--rh-shadow-xl);
    border-color: rgba(216,183,106,0.4);
}
.rh-event-media {
    position: relative;
    aspect-ratio: 5 / 4;
    overflow: hidden;
    background:
        radial-gradient(80% 60% at 50% 0%, rgba(216,183,106,0.10) 0%, transparent 60%),
        linear-gradient(180deg, #faf3e3 0%, #f1e2bc 100%);
}
.rh-event-media img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    padding: 6px;
    transition: transform .8s var(--rh-ease-emphasized);
    display: block;
}
.rh-event-card:hover .rh-event-media img { transform: scale(1.05); }
.rh-event-media .rh-event-tag {
    position: absolute;
    top: 14px; left: 14px;
    z-index: 2;
}
.rh-event-caption {
    padding: 16px 18px 18px;
}
.rh-event-title {
    font-family: var(--rh-font-display);
    font-size: 16px;
    font-weight: 600;
    line-height: 1.3;
    color: var(--rh-ink-900);
    margin: 0;
    letter-spacing: -0.005em;
}

/* --------------------------------------------------------------------------
   Contact-page CTA — flipped person mascot
   -------------------------------------------------------------------------- */

.section-CTA:not(.style-2) .content-inner img.rh-cta-person-flip {
    transform: scaleX(-1);
    transform-origin: bottom center;
    max-width: 160px;
    bottom: 0;
    left: 0;
}
.section-CTA:not(.style-2) .content-inner:has(img.rh-cta-person-flip) .content {
    padding-left: 190px;
}
@media (max-width: 767.98px) {
    .section-CTA:not(.style-2) .content-inner img.rh-cta-person-flip { max-width: 110px; }
    .section-CTA:not(.style-2) .content-inner:has(img.rh-cta-person-flip) .content { padding-left: 130px; }
}

/* --------------------------------------------------------------------------
   Final CTA panel
   -------------------------------------------------------------------------- */

.rh-final-cta {
    background:
        radial-gradient(60% 70% at 50% 0%, rgba(216,183,106,0.10) 0%, transparent 55%),
        linear-gradient(180deg, #ebecef 0%, #e3e6ea 100%);
}
.rh-final-cta .rh-cta-panel {
    border-radius: var(--rh-radius-lg);
    background:
        radial-gradient(80% 60% at 0% 0%, rgba(216,183,106,0.18) 0%, transparent 55%),
        radial-gradient(60% 50% at 100% 100%, rgba(216,183,106,0.10) 0%, transparent 55%),
        linear-gradient(135deg, #14161a 0%, #1f2226 50%, #2c2e33 100%);
    border: 1px solid rgba(216,183,106,0.40);
    box-shadow: 0 30px 80px rgba(20,22,26,0.30), 0 8px 24px rgba(184,148,72,0.18);
    color: #fff;
    padding: clamp(48px, 6vw, 88px) clamp(24px, 4vw, 56px);
}
.rh-final-cta .rh-cta-panel .text-2,
.rh-final-cta .rh-cta-panel p { color: rgba(255,255,255,0.86); }
.rh-final-cta .rh-cta-panel .title,
.rh-final-cta .rh-cta-panel .heading { color: #fff; }

/* --------------------------------------------------------------------------
   Dashboard / profile
   -------------------------------------------------------------------------- */

body.bg-dashboard {
    background: linear-gradient(180deg, #f6f7f9 0%, #eef1f4 100%);
}
.dashboard-wrap,
.dashboard-content,
.dashboard-content .widget-box {
    background: #ffffff;
    border-radius: var(--rh-radius-md);
    box-shadow: var(--rh-shadow-sm);
    border: 1px solid var(--rh-divider);
}

/* Dashboard counters */
.flat-counter-v2.tf-counter {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 18px;
    margin-bottom: 28px;
}
.flat-counter-v2 .counter-box {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 22px;
    background: #fff;
    border: 1px solid var(--rh-divider);
    border-radius: var(--rh-radius-md);
    box-shadow: var(--rh-shadow-sm);
    transition: transform .25s var(--rh-ease), box-shadow .25s var(--rh-ease), border-color .25s var(--rh-ease);
}
.flat-counter-v2 .counter-box:hover {
    transform: translateY(-3px);
    box-shadow: var(--rh-shadow-md);
    border-color: rgba(216,183,106,0.32);
}
.flat-counter-v2 .box-icon {
    width: 56px; height: 56px;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(216,183,106,0.20), rgba(216,183,106,0.06));
    display: inline-flex;
    align-items: center; justify-content: center;
    border: 1px solid rgba(216,183,106,0.22);
    flex-shrink: 0;
}
.flat-counter-v2 .title-count {
    font-size: 12.5px;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--rh-text-muted);
    margin-bottom: 6px;
    font-weight: 600;
}
.flat-counter-v2 .box-count .number {
    font-family: var(--rh-font-display);
    font-size: clamp(28px, 3vw, 36px);
    font-weight: 700;
    color: var(--rh-heading);
    line-height: 1;
}
.flat-counter-v2 .box-count .text {
    font-size: 13px;
    color: var(--rh-text-muted);
    margin-left: 8px;
    margin-bottom: 4px;
}

/* --------------------------------------------------------------------------
   Admin / Operations Console (dashboard)
   -------------------------------------------------------------------------- */

.rh-admin-hero {
    background:
        radial-gradient(80% 60% at 100% 0%, rgba(216,183,106,0.16) 0%, transparent 60%),
        linear-gradient(180deg, #faf3e3 0%, #f5e8c5 100%);
    padding: clamp(40px, 5vw, 72px) 0 clamp(28px, 4vw, 48px);
    border-bottom: 1px solid rgba(216,183,106,0.28);
}
.rh-admin-hero-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 16px 24px;
    align-items: flex-end;
    justify-content: space-between;
}
.rh-admin-title {
    font-family: var(--rh-font-display);
    font-size: clamp(28px, 3vw, 40px);
    font-weight: 600;
    line-height: 1.15;
    letter-spacing: -0.018em;
    color: var(--rh-ink-900);
    margin: 12px 0 6px;
}
.rh-admin-title em {
    font-style: italic;
    background: linear-gradient(135deg, var(--rh-gold-700) 0%, var(--rh-gold-500) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-weight: 500;
}
.rh-admin-sub { color: var(--rh-text-muted); margin: 0; max-width: 560px; }
.rh-admin-hero-actions { display: flex; gap: 10px; flex-wrap: wrap; }

.rh-admin-section { padding: clamp(24px, 3vw, 40px) 0; }

.rh-admin-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px;
}
.rh-admin-stat {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 18px 20px;
    background: #fff;
    border-radius: var(--rh-radius-md);
    text-decoration: none;
    transition: transform .25s var(--rh-ease), box-shadow .25s var(--rh-ease), border-color .25s var(--rh-ease);
}
.rh-admin-stat:hover {
    transform: translateY(-3px);
    box-shadow: var(--rh-shadow-md);
    border-color: rgba(216,183,106,0.4);
}
.rh-admin-stat-icon {
    width: 48px; height: 48px;
    display: inline-flex;
    align-items: center; justify-content: center;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(216,183,106,0.20) 0%, rgba(216,183,106,0.06) 100%);
    color: var(--rh-gold-700);
    flex-shrink: 0;
    border: 1px solid rgba(216,183,106,0.28);
}
.rh-admin-stat-icon svg { color: var(--rh-gold-700); }
.rh-admin-stat-body { display: flex; flex-direction: column; line-height: 1.2; min-width: 0; }
.rh-admin-stat-label {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--rh-text-muted);
}
.rh-admin-stat-value {
    font-family: var(--rh-font-display);
    font-size: clamp(24px, 2.4vw, 30px);
    font-weight: 700;
    color: var(--rh-ink-900);
    line-height: 1;
    margin: 4px 0;
    letter-spacing: -0.02em;
}
.rh-admin-stat-hint { font-size: 11.5px; color: var(--rh-text-muted); }

.rh-admin-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}
@media (max-width: 991.98px) { .rh-admin-row { grid-template-columns: 1fr; } }

.rh-admin-card {
    background: #fff;
    border-radius: var(--rh-radius-md);
    overflow: hidden;
}
.rh-admin-card--full { width: 100%; }
.rh-admin-card-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 12px;
    padding: 18px 22px;
    border-bottom: 1px solid var(--rh-divider);
}
.rh-admin-card-title {
    font-family: var(--rh-font-display);
    font-size: 20px;
    font-weight: 600;
    color: var(--rh-ink-900);
    margin: 6px 0 0;
    letter-spacing: -0.012em;
}
.rh-admin-card-link {
    font-size: 13px;
    font-weight: 600;
    color: var(--rh-gold-700);
    text-decoration: none;
}
.rh-admin-card-link:hover { color: var(--rh-gold-500); }
.rh-admin-card-body { padding: 18px 22px 22px; }

.rh-admin-kv { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.rh-admin-kv li {
    display: grid;
    grid-template-columns: 140px minmax(0, 1fr);
    gap: 12px;
    align-items: baseline;
    border-bottom: 1px dashed var(--rh-divider);
    padding-bottom: 8px;
}
.rh-admin-kv li:last-child { border-bottom: none; padding-bottom: 0; }
.rh-admin-kv li span {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--rh-text-muted);
}
.rh-admin-kv li strong {
    font-size: 13.5px;
    color: var(--rh-ink-900);
    font-weight: 600;
    word-break: break-word;
}

.rh-admin-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.rh-admin-list li {
    display: grid;
    grid-template-columns: 32px minmax(0, 1fr) auto;
    gap: 14px;
    align-items: center;
    padding: 12px 14px;
    background: #fbf6ec;
    border: 1px solid rgba(216,183,106,0.22);
    border-radius: var(--rh-radius-sm);
}
.rh-admin-list-num {
    font-family: var(--rh-font-display);
    font-size: 13px;
    font-weight: 700;
    color: var(--rh-gold-700);
    text-align: center;
}
.rh-admin-list-body { display: flex; flex-direction: column; min-width: 0; gap: 2px; }
.rh-admin-list-body strong { font-weight: 700; color: var(--rh-ink-900); font-size: 14px; }
.rh-admin-list-body em {
    font-style: normal;
    font-size: 12px;
    color: var(--rh-text-muted);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.rh-admin-list-meta {
    font-family: var(--rh-font-display);
    font-size: 13px;
    font-weight: 600;
    color: var(--rh-gold-700);
    flex-shrink: 0;
}

.rh-admin-badge {
    display: inline-flex;
    align-items: center;
    padding: 4px 12px;
    border-radius: var(--rh-radius-pill);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    background: var(--rh-grad-gold);
    color: #1a1304;
}

.rh-admin-table-wrap { padding: 0; }
.rh-admin-table-wrap .rh-admin-empty { padding: 32px 22px; text-align: center; color: var(--rh-text-muted); }
.rh-admin-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13.5px;
}
.rh-admin-table th {
    background: #fbf6ec;
    border-bottom: 1px solid rgba(216,183,106,0.22);
    padding: 12px 14px;
    font-weight: 700;
    text-align: left;
    color: var(--rh-ink-800);
    font-size: 11px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    white-space: nowrap;
}
.rh-admin-table td {
    padding: 12px 14px;
    border-bottom: 1px solid var(--rh-divider);
    vertical-align: top;
    color: var(--rh-ink-800);
}
.rh-admin-table tr:last-child td { border-bottom: none; }
.rh-admin-table-msg { color: var(--rh-text); max-width: 360px; }
.rh-admin-pill {
    display: inline-flex;
    align-items: center;
    padding: 3px 10px;
    border-radius: var(--rh-radius-pill);
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: 0.10em;
    text-transform: uppercase;
}
.rh-admin-pill--new { background: rgba(216,183,106,0.18); color: var(--rh-gold-700); border: 1px solid rgba(216,183,106,0.32); }
.rh-admin-pill--read { background: rgba(20,22,26,0.06); color: var(--rh-ink-700); border: 1px solid rgba(20,22,26,0.10); }
.rh-admin-pill--replied { background: rgba(16,185,129,0.14); color: #0d8b5f; border: 1px solid rgba(16,185,129,0.30); }
.rh-admin-pill--archived { background: rgba(20,22,26,0.04); color: var(--rh-text-muted); border: 1px solid var(--rh-divider); }

/* --------------------------------------------------------------------------
   Admin Console — sidebar shell + forms + tables
   -------------------------------------------------------------------------- */

.rh-admin-body {
    background: linear-gradient(180deg, #f7f8f9 0%, #eef1f4 100%);
    min-height: 100vh;
}
.rh-admin-shell {
    display: grid;
    grid-template-columns: 260px minmax(0, 1fr);
    min-height: 100vh;
}
.rh-admin-sidebar {
    background: linear-gradient(180deg, #14161a 0%, #1f2226 100%);
    color: #fff;
    padding: 22px 18px;
    display: flex;
    flex-direction: column;
    gap: 18px;
    position: sticky;
    top: 0;
    height: 100vh;
    overflow-y: auto;
}
.rh-admin-sidebar-head { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; padding-bottom: 14px; border-bottom: 1px solid rgba(255,255,255,0.08); }
.rh-admin-brand img { height: 40px; width: auto; filter: var(--rh-logo-filter); }
.rh-admin-brand-tag {
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--rh-gold-300);
}
.rh-admin-nav { display: flex; flex-direction: column; gap: 14px; flex: 1 1 auto; }
.rh-admin-nav-group { display: flex; flex-direction: column; gap: 2px; }
.rh-admin-nav-group-label {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.20em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.40);
    margin: 8px 14px 4px;
}
.rh-admin-nav-link, .rh-admin-logout {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    border-radius: 10px;
    color: rgba(255,255,255,0.74);
    text-decoration: none;
    font-size: 13.5px;
    font-weight: 500;
    transition: background .2s var(--rh-ease), color .2s var(--rh-ease);
    background: transparent;
    border: 0;
    width: 100%;
    text-align: left;
    cursor: pointer;
}
.rh-admin-nav-link svg { color: rgba(255,255,255,0.55); transition: color .2s var(--rh-ease); flex-shrink: 0; }
.rh-admin-nav-link:hover { background: rgba(255,255,255,0.06); color: #fff; }
.rh-admin-nav-link:hover svg { color: var(--rh-gold-300); }
.rh-admin-nav-link.is-active {
    background: linear-gradient(135deg, rgba(216,183,106,0.20), rgba(216,183,106,0.06));
    color: #fff;
    box-shadow: inset 0 0 0 1px rgba(216,183,106,0.32);
}
.rh-admin-nav-link.is-active svg { color: var(--rh-gold-400); }
.rh-admin-sidebar-foot { display: flex; flex-direction: column; gap: 6px; padding-top: 14px; border-top: 1px solid rgba(255,255,255,0.08); }

.rh-admin-main { display: flex; flex-direction: column; min-width: 0; }
.rh-admin-topbar {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 18px clamp(16px, 3vw, 36px);
    background: rgba(255,255,255,0.96);
    backdrop-filter: blur(12px) saturate(140%);
    -webkit-backdrop-filter: blur(12px) saturate(140%);
    border-bottom: 1px solid var(--rh-divider);
    position: sticky; top: 0;
    z-index: 60;
    box-shadow: 0 1px 0 rgba(20,22,26,0.04);
}
.rh-admin-page-title {
    font-family: var(--rh-font-display);
    font-size: clamp(22px, 2vw, 28px);
    font-weight: 600;
    margin: 4px 0 0;
    color: var(--rh-ink-900);
    letter-spacing: -0.018em;
}
.rh-admin-topbar-meta { margin-left: auto; }
.rh-admin-user {
    font-size: 13px;
    color: var(--rh-text-muted);
    font-weight: 600;
    padding: 6px 14px;
    border-radius: var(--rh-radius-pill);
    background: rgba(216,183,106,0.10);
    border: 1px solid rgba(216,183,106,0.28);
}
.rh-admin-menu-btn {
    display: none;
    width: 38px; height: 38px;
    border-radius: 8px;
    border: 1px solid var(--rh-divider);
    background: #fff;
    cursor: pointer;
}
.rh-admin-content {
    padding: 24px clamp(20px, 3vw, 36px) 80px;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.rh-admin-flash {
    margin: 14px clamp(20px, 3vw, 36px) 0;
    padding: 12px 16px;
    border-radius: var(--rh-radius-md);
    font-size: 14px;
    font-weight: 600;
    border: 1px solid;
}
.rh-admin-flash--success { background: linear-gradient(180deg, #f3fbf6 0%, #e8f7ee 100%); color: #1d6f3d; border-color: rgba(37,197,91,0.35); }
.rh-admin-flash--error   { background: linear-gradient(180deg, #fff7f6 0%, #fceeec 100%); color: #8a2c22; border-color: rgba(242,105,92,0.35); }

/* Maintenance ON banner (sticky info bar at top of every admin page) */
.rh-admin-maint-banner {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px clamp(16px, 3vw, 36px);
    background: linear-gradient(135deg, #14161a 0%, #2c2e33 100%);
    color: #fff;
    border-bottom: 1px solid rgba(216,183,106,0.45);
    position: sticky;
    top: 0;
    z-index: 70;
    flex-wrap: wrap;
}
.rh-admin-maint-icon {
    flex-shrink: 0;
    width: 32px; height: 32px;
    display: inline-flex;
    align-items: center; justify-content: center;
    border-radius: 50%;
    background: var(--rh-grad-gold);
    color: #1a1304;
}
.rh-admin-maint-body { flex: 1 1 auto; display: flex; flex-direction: column; line-height: 1.35; min-width: 0; }
.rh-admin-maint-body strong { font-size: 13.5px; color: var(--rh-gold-300); letter-spacing: 0.04em; text-transform: uppercase; font-weight: 700; }
.rh-admin-maint-body span { font-size: 12.5px; color: rgba(255,255,255,0.78); }
.rh-admin-maint-cta {
    flex-shrink: 0;
    padding: 7px 14px;
    border-radius: var(--rh-radius-pill);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    background: var(--rh-grad-gold);
    color: #1a1304 !important;
    text-decoration: none;
}
.rh-admin-maint-cta--outline {
    background: transparent;
    border: 1px solid rgba(216,183,106,0.55);
    color: var(--rh-gold-300) !important;
}
.rh-admin-maint-cta:hover { transform: translateY(-1px); }
@media (max-width: 575.98px) {
    .rh-admin-maint-banner { padding: 10px 14px; gap: 10px; }
    .rh-admin-maint-body strong { font-size: 12px; }
    .rh-admin-maint-body span { display: none; }
    .rh-admin-maint-cta { padding: 6px 10px; font-size: 11px; }
}

/* Floating toasts (success / error feedback) */
.rh-admin-toasts {
    position: fixed;
    top: 84px;
    right: 24px;
    z-index: 200;
    display: flex;
    flex-direction: column;
    gap: 10px;
    pointer-events: none;
    max-width: calc(100vw - 32px);
}
.rh-admin-toast {
    pointer-events: auto;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    min-width: 280px;
    max-width: 380px;
    padding: 12px 14px 12px 12px;
    background: #fff;
    border: 1px solid var(--rh-divider);
    border-radius: var(--rh-radius-md);
    box-shadow: 0 18px 48px rgba(20,22,26,0.16), 0 6px 14px rgba(20,22,26,0.06);
    transform: translateX(120%);
    opacity: 0;
    transition: transform .35s var(--rh-ease-emphasized), opacity .25s var(--rh-ease);
}
.rh-admin-toast.is-in { transform: translateX(0); opacity: 1; }
.rh-admin-toast.is-out { transform: translateX(120%); opacity: 0; }
.rh-admin-toast-icon {
    flex-shrink: 0;
    width: 32px; height: 32px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center; justify-content: center;
}
.rh-admin-toast--success .rh-admin-toast-icon { background: linear-gradient(135deg, #d1f7e0, #a8eebd); color: #0d6f3d; }
.rh-admin-toast--error   .rh-admin-toast-icon { background: linear-gradient(135deg, #fde0dc, #f6b6ae); color: #8a2c22; }
.rh-admin-toast-body { display: flex; flex-direction: column; gap: 2px; min-width: 0; flex: 1 1 auto; }
.rh-admin-toast-body strong { font-size: 13px; font-weight: 700; color: var(--rh-ink-900); letter-spacing: -0.005em; }
.rh-admin-toast-body span { font-size: 12.5px; color: var(--rh-text-muted); line-height: 1.45; word-wrap: break-word; }
.rh-admin-toast--success .rh-admin-toast-body strong { color: #0d6f3d; }
.rh-admin-toast--error   .rh-admin-toast-body strong { color: #8a2c22; }
.rh-admin-toast-close {
    flex-shrink: 0;
    width: 24px; height: 24px;
    border: 0;
    background: transparent;
    color: var(--rh-text-muted);
    font-size: 18px;
    line-height: 1;
    cursor: pointer;
    border-radius: 6px;
    transition: background .2s var(--rh-ease), color .2s var(--rh-ease);
}
.rh-admin-toast-close:hover { background: rgba(20,22,26,0.06); color: var(--rh-ink-800); }

@media (max-width: 575.98px) {
    .rh-admin-toasts { top: 76px; right: 12px; left: 12px; }
    .rh-admin-toast { min-width: 0; max-width: none; }
}

/* Tools */
.rh-admin-toolbar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 18px;
}
.rh-admin-toolbar-meta { color: var(--rh-text-muted); font-size: 13.5px; margin: 0; }

/* Tabs (filters / settings groups) */
.rh-admin-tabs { display: inline-flex; gap: 4px; background: #fff; padding: 4px; border-radius: var(--rh-radius-pill); border: 1px solid var(--rh-divider); }
.rh-admin-tabs--scroll {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    max-width: 100%;
    scrollbar-width: thin;
    scrollbar-color: rgba(216,183,106,0.4) transparent;
}
.rh-admin-tabs--scroll::-webkit-scrollbar { height: 6px; }
.rh-admin-tabs--scroll::-webkit-scrollbar-thumb { background: rgba(216,183,106,0.4); border-radius: 3px; }
.rh-admin-tab {
    padding: 8px 16px;
    border-radius: var(--rh-radius-pill);
    font-size: 12.5px;
    font-weight: 600;
    color: var(--rh-text-muted);
    text-decoration: none;
    background: transparent;
    border: 0;
    cursor: pointer;
    white-space: nowrap;
    transition: background .2s var(--rh-ease), color .2s var(--rh-ease);
}
.rh-admin-tab:hover { color: var(--rh-ink-800); background: rgba(216,183,106,0.08); }
.rh-admin-tab.is-active { background: var(--rh-grad-gold); color: #1a1304; }

/* Tab panels */
.rh-admin-tab-panel { display: none; animation: rh-fade-up .35s var(--rh-ease) both; }
.rh-admin-tab-panel.is-active { display: block; }

/* Toggle switch (settings) */
.rh-admin-switch { display: inline-flex; align-items: center; gap: 12px; cursor: pointer; user-select: none; }
.rh-admin-switch input[type=checkbox] { position: absolute; opacity: 0; pointer-events: none; }
.rh-admin-switch-track {
    display: inline-flex;
    align-items: center;
    width: 46px; height: 26px;
    background: rgba(20,22,26,0.14);
    border-radius: 999px;
    padding: 3px;
    transition: background .2s var(--rh-ease);
    flex-shrink: 0;
}
.rh-admin-switch-thumb {
    width: 20px; height: 20px;
    background: #fff;
    border-radius: 50%;
    box-shadow: var(--rh-shadow-xs);
    transition: transform .25s var(--rh-ease);
}
.rh-admin-switch input[type=checkbox]:checked + .rh-admin-switch-track { background: var(--rh-grad-gold); }
.rh-admin-switch input[type=checkbox]:checked + .rh-admin-switch-track .rh-admin-switch-thumb { transform: translateX(20px); }
.rh-admin-switch-text {
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--rh-text-muted);
}
.rh-admin-switch input[type=checkbox]:checked ~ .rh-admin-switch-text { color: var(--rh-gold-700); }

/* Sticky save bar (settings page) */
.rh-admin-actions--sticky {
    position: sticky;
    bottom: 0;
    margin: 0 calc(-1 * clamp(20px, 3vw, 36px));
    padding: 14px clamp(20px, 3vw, 36px);
    background: rgba(255,255,255,0.96);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-top: 1px solid var(--rh-divider);
    box-shadow: 0 -8px 24px rgba(20,22,26,0.06);
    z-index: 30;
    justify-content: flex-end;
}

/* Make sure no admin content card creates a higher stacking context than the topbar */
.rh-admin-content { position: relative; z-index: 1; }

/* Repeater (replaces JSON textarea fields) */
.rh-rep {
    display: block;
    background: rgba(216,183,106,0.04);
    border: 1px solid rgba(216,183,106,0.20);
    border-radius: var(--rh-radius-md);
    padding: 16px;
}
.rh-rep + .mt-24, .mt-24 > .rh-rep { margin-top: 0; }
.rh-rep-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 12px;
    flex-wrap: wrap;
}
.rh-rep-title {
    font-family: var(--rh-font-display);
    font-size: 16px;
    font-weight: 600;
    color: var(--rh-ink-900);
    margin: 0 0 2px;
    letter-spacing: -0.01em;
}
.rh-rep-hint { font-size: 12px; color: var(--rh-text-muted); margin: 0; line-height: 1.45; max-width: 540px; }
.rh-rep-add {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--rh-grad-gold);
    color: #1a1304;
    border: 1px solid rgba(133,104,33,0.32);
    border-radius: var(--rh-radius-pill);
    padding: 7px 14px;
    font-size: 12.5px;
    font-weight: 700;
    cursor: pointer;
    box-shadow: var(--rh-shadow-xs);
    flex-shrink: 0;
}
.rh-rep-add:hover { transform: translateY(-1px); }
.rh-rep-rows { display: flex; flex-direction: column; gap: 10px; }
.rh-rep-rows:empty::before {
    content: 'No rows yet — click "Add" to insert one.';
    display: block;
    text-align: center;
    color: var(--rh-text-muted);
    font-size: 12.5px;
    padding: 18px 12px;
    background: #fff;
    border: 1px dashed rgba(216,183,106,0.32);
    border-radius: var(--rh-radius-sm);
}
.rh-rep-row {
    display: grid;
    grid-template-columns: 16px minmax(0, 1fr) 38px;
    gap: 10px;
    align-items: stretch;
    background: #fff;
    border: 1px solid var(--rh-divider);
    border-radius: var(--rh-radius-sm);
    padding: 10px 12px;
}
.rh-rep-handle {
    color: var(--rh-ink-300);
    font-size: 14px;
    line-height: 1;
    align-self: center;
    cursor: grab;
}
.rh-rep-fields {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 8px;
    min-width: 0;
}
.rh-rep-field { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.rh-rep-field span {
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: 0.10em;
    text-transform: uppercase;
    color: var(--rh-text-muted);
}
.rh-rep-field input,
.rh-rep-field textarea {
    width: 100%;
    background: #fff;
    border: 1px solid var(--rh-divider-strong);
    border-radius: 8px;
    padding: 8px 10px;
    font-size: 13px;
    color: var(--rh-ink-800);
    font-family: var(--rh-font-sans);
}
.rh-rep-field textarea { min-height: 56px; resize: vertical; }
.rh-rep-field input:focus,
.rh-rep-field textarea:focus { outline: none; border-color: var(--rh-gold-400); box-shadow: 0 0 0 3px rgba(216,183,106,0.18); }
.rh-rep-del {
    align-self: center;
    width: 30px; height: 30px;
    display: inline-flex;
    align-items: center; justify-content: center;
    border: 1px solid rgba(242,105,92,0.30);
    background: #fff;
    color: #8a2c22;
    border-radius: 8px;
    cursor: pointer;
    transition: background .2s var(--rh-ease), color .2s var(--rh-ease);
}
.rh-rep-del:hover { background: #fceeec; }

@media (max-width: 575.98px) {
    .rh-rep-row { grid-template-columns: 1fr; }
    .rh-rep-handle { display: none; }
    .rh-rep-del { justify-self: flex-end; width: 100%; height: 34px; }
}

/* Forms */
.rh-admin-form .form-control {
    background: #fff;
    border: 1px solid var(--rh-divider-strong);
    border-radius: 10px;
    padding: 10px 14px;
    min-height: 44px;
    font-size: 14px;
}
.rh-admin-form textarea.form-control { min-height: 110px; }
.rh-admin-mono { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 12.5px !important; line-height: 1.5; }
.rh-admin-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 16px;
}
.rh-admin-field { display: flex; flex-direction: column; gap: 6px; }
.rh-admin-field--full { grid-column: 1 / -1; }
.rh-admin-field label { font-size: 12px; font-weight: 700; letter-spacing: 0.10em; text-transform: uppercase; color: var(--rh-ink-800); }
.rh-admin-field small { color: var(--rh-text-muted); font-size: 11.5px; }
.rh-admin-checkbox { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 500; letter-spacing: 0; text-transform: none; color: var(--rh-ink-800); }
.rh-admin-actions { display: flex; gap: 12px; justify-content: flex-end; padding: 8px 0 24px; flex-wrap: wrap; }

/* Tables */
.rh-admin-table-actions { white-space: nowrap; text-align: right; }
.rh-admin-action-link {
    display: inline-block;
    padding: 6px 12px;
    margin-left: 6px;
    border-radius: 8px;
    border: 1px solid var(--rh-divider-strong);
    background: #fff;
    color: var(--rh-ink-800);
    font-size: 12px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
}
.rh-admin-action-link:hover { background: rgba(216,183,106,0.08); color: var(--rh-gold-700); border-color: rgba(216,183,106,0.45); }
.rh-admin-action-link--danger { color: #8a2c22; border-color: rgba(242,105,92,0.35); }
.rh-admin-action-link--danger:hover { background: #fceeec; color: #8a2c22; border-color: rgba(242,105,92,0.6); }

/* Gallery admin grid */
.rh-admin-gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 14px;
}
.rh-admin-gallery-card {
    background: #fff;
    border-radius: var(--rh-radius-md);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}
.rh-admin-gallery-thumb {
    display: block;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: linear-gradient(180deg, #fbf6ec 0%, #f1e2bc 100%);
}
.rh-admin-gallery-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.rh-admin-gallery-meta { padding: 10px 12px; line-height: 1.3; }
.rh-admin-gallery-meta strong { font-size: 13px; color: var(--rh-ink-900); display: block; }
.rh-admin-gallery-meta small { color: var(--rh-text-muted); font-size: 11.5px; }
.rh-admin-gallery-actions { display: flex; gap: 4px; padding: 0 10px 10px; }

/* Mobile sidebar backdrop */
.rh-admin-sidebar-backdrop {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(20,22,26,0.55);
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
    z-index: 99;
    opacity: 0;
    transition: opacity .3s var(--rh-ease);
}
.rh-admin-sidebar-backdrop.is-open { display: block; opacity: 1; }
body.rh-admin-no-scroll { overflow: hidden; }

/* Make tables scroll horizontally inside cards on small screens */
.rh-admin-table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.rh-admin-table-wrap > .rh-admin-table { min-width: 720px; }

/* Pagination styling (Laravel default Bootstrap-5 paginator) */
.rh-admin-content nav[role=navigation] {
    margin-top: 18px;
    display: flex;
    justify-content: center;
}
.rh-admin-content nav[role=navigation] ul,
.rh-admin-content nav[role=navigation] .pagination {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 4px;
    list-style: none;
    margin: 0;
    padding: 4px;
    background: #fff;
    border: 1px solid var(--rh-divider);
    border-radius: var(--rh-radius-pill);
}
.rh-admin-content nav[role=navigation] .page-item .page-link,
.rh-admin-content nav[role=navigation] a,
.rh-admin-content nav[role=navigation] span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 34px;
    height: 32px;
    padding: 0 12px;
    border-radius: var(--rh-radius-pill);
    border: 0;
    background: transparent;
    color: var(--rh-ink-700);
    font-size: 12.5px;
    font-weight: 600;
    text-decoration: none;
    transition: background .2s var(--rh-ease), color .2s var(--rh-ease);
}
.rh-admin-content nav[role=navigation] a:hover { background: rgba(216,183,106,0.10); color: var(--rh-gold-700); }
.rh-admin-content nav[role=navigation] .page-item.active .page-link,
.rh-admin-content nav[role=navigation] .active span { background: var(--rh-grad-gold); color: #1a1304; }
.rh-admin-content nav[role=navigation] .page-item.disabled .page-link,
.rh-admin-content nav[role=navigation] .disabled span { color: var(--rh-ink-300); cursor: not-allowed; }

/* Empty states */
.rh-admin-empty {
    padding: 48px 24px;
    text-align: center;
    color: var(--rh-text-muted);
    background: linear-gradient(180deg, rgba(216,183,106,0.04), transparent);
    border: 1px dashed rgba(216,183,106,0.32);
    border-radius: var(--rh-radius-md);
    margin: 12px;
}
.rh-admin-empty p { margin: 0; font-size: 14px; }

/* Form inputs full width safe */
.rh-admin-form .form-control,
.rh-admin-form select,
.rh-admin-form textarea { width: 100%; max-width: 100%; }

/* Responsive sidebar collapse */
@media (max-width: 991.98px) {
    .rh-admin-shell { grid-template-columns: 1fr; }
    .rh-admin-sidebar {
        position: fixed;
        top: 0; left: -310px;
        width: 280px;
        height: 100vh;
        z-index: 100;
        transition: left .3s var(--rh-ease);
        box-shadow: 6px 0 24px rgba(0,0,0,0.3);
    }
    .rh-admin-sidebar.is-open { left: 0; }
    .rh-admin-menu-btn { display: inline-flex; align-items: center; justify-content: center; }
    .rh-admin-content { padding: 18px 16px 80px; }
    .rh-admin-flash { margin: 14px 16px 0; }
    .rh-admin-toolbar { gap: 10px; }
    .rh-admin-toolbar .tf-btn { padding: 0 16px; min-height: 38px; height: 38px; font-size: 13px; }
    .rh-admin-card-head { padding: 14px 16px; flex-wrap: wrap; }
    .rh-admin-card-body { padding: 14px 16px 16px; }
    .rh-admin-grid { grid-template-columns: 1fr; gap: 12px; }
    .rh-admin-kv li { grid-template-columns: 1fr; gap: 4px; }
    .rh-admin-row { grid-template-columns: 1fr; }
    .rh-admin-actions--sticky { margin-left: -16px; margin-right: -16px; padding: 12px 16px; }
    .rh-admin-table th, .rh-admin-table td { padding: 10px 12px; font-size: 12.5px; }
    .rh-admin-table-actions { display: flex; gap: 4px; }
    .rh-admin-action-link { padding: 5px 10px; font-size: 11.5px; margin-left: 0; }
}

@media (max-width: 575.98px) {
    .rh-admin-topbar { padding: 14px 16px; gap: 12px; }
    .rh-admin-page-title { font-size: 18px; }
    .rh-admin-user { display: none; }
    .rh-admin-stats { grid-template-columns: 1fr 1fr; gap: 10px; }
    .rh-admin-stat { padding: 14px; gap: 10px; }
    .rh-admin-stat-icon { width: 38px; height: 38px; border-radius: 10px; }
    .rh-admin-stat-icon svg { width: 18px; height: 18px; }
    .rh-admin-stat-value { font-size: 22px; }
    .rh-admin-stat-label { font-size: 10px; }
    .rh-admin-tabs { padding: 3px; }
    .rh-admin-tab { padding: 6px 12px; font-size: 11.5px; }
    .rh-admin-gallery-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
}

/* --------------------------------------------------------------------------
   Tables (dashboards / data lists)
   -------------------------------------------------------------------------- */

table {
    border-collapse: separate;
    border-spacing: 0;
    width: 100%;
}
table th,
table td {
    padding: 14px 16px;
    border-bottom: 1px solid var(--rh-divider);
    text-align: left;
    font-size: 14.5px;
}
table th {
    font-weight: 700;
    color: var(--rh-ink-800);
    background: var(--rh-ink-50);
}
table tr:last-child td { border-bottom: none; }

/* --------------------------------------------------------------------------
   Badges & chips
   -------------------------------------------------------------------------- */

.rh-chip,
.badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: var(--rh-radius-pill);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}
.rh-chip-gold,
.badge.bg-gold {
    background: linear-gradient(135deg, rgba(216,183,106,0.18), rgba(216,183,106,0.06));
    color: var(--rh-gold-700);
    border: 1px solid rgba(216,183,106,0.32);
}
.rh-chip-ink,
.badge.bg-ink {
    background: rgba(20,22,26,0.06);
    color: var(--rh-ink-800);
    border: 1px solid rgba(20,22,26,0.10);
}

/* --------------------------------------------------------------------------
   404 / error states
   -------------------------------------------------------------------------- */

.error-content,
.page-404 {
    padding: clamp(56px, 8vw, 120px) 0;
}
.error-content .heading,
.page-404 .heading {
    font-family: var(--rh-font-display);
    font-size: clamp(56px, 12vw, 160px);
    background: var(--rh-grad-gold);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    line-height: 1;
    letter-spacing: -0.04em;
    margin-bottom: 16px;
}

/* --------------------------------------------------------------------------
   Contact page — form & list polish
   -------------------------------------------------------------------------- */

.section-top-map .wrap-map { position: relative; overflow: hidden; }
.section-top-map .wrap-map #map,
.section-top-map .wrap-map iframe {
    min-height: 420px;
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
    border-radius: 0;
    filter: saturate(0.94) contrast(1.03);
}
.section-top-map .box {
    position: relative;
    z-index: 2;
    margin-top: -120px;
}
.section-top-map .form-contact {
    background: #fff;
    border-radius: var(--rh-radius-lg);
    padding: clamp(28px, 4vw, 48px);
    box-shadow: var(--rh-shadow-xl);
    border: 1px solid var(--rh-divider);
}

.form-contact .cols {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
    margin-bottom: 18px;
}
@media (max-width: 767.98px) {
    .form-contact .cols { grid-template-columns: 1fr; }
    .section-top-map .box { margin-top: -64px; }
    .section-top-map .wrap-map #map { min-height: 320px; }
}
.form-contact fieldset { display: block; }
.form-contact label,
.form-contact .text-1.fw-6 {
    display: inline-block;
    font-size: 13px;
    font-weight: 600;
    color: var(--rh-ink-800);
    letter-spacing: 0.01em;
    margin-bottom: 8px;
}
.form-contact textarea { min-height: 150px; }

.send-wrap { margin-top: 8px; display: flex; justify-content: flex-end; }

/* nice-select polish */
.nice-select {
    display: inline-flex;
    align-items: center;
    width: 100%;
    background: #fff;
    border: 1px solid var(--rh-divider-strong);
    border-radius: 14px;
    padding: 14px 44px 14px 16px;
    min-height: 52px;
    font-size: 15px;
    color: var(--rh-ink-800);
    cursor: pointer;
    position: relative;
    transition: border-color .2s var(--rh-ease), box-shadow .2s var(--rh-ease);
}
.nice-select:focus,
.nice-select.open {
    border-color: var(--rh-gold-400);
    box-shadow: 0 0 0 4px rgba(216, 183, 106, 0.18);
    outline: none;
}
.nice-select::after {
    content: "";
    position: absolute;
    top: 50%; right: 18px;
    width: 9px; height: 9px;
    border-right: 2px solid var(--rh-ink-500);
    border-bottom: 2px solid var(--rh-ink-500);
    transform: translateY(-70%) rotate(45deg);
    transition: transform .2s var(--rh-ease);
}
.nice-select.open::after { transform: translateY(-25%) rotate(-135deg); }
.nice-select .list {
    position: absolute;
    top: calc(100% + 8px);
    left: 0; right: 0;
    background: #fff;
    border: 1px solid var(--rh-divider);
    border-radius: var(--rh-radius-md);
    box-shadow: var(--rh-shadow-lg);
    max-height: 280px;
    overflow-y: auto;
    z-index: 9;
    display: none;
    padding: 6px;
}
.nice-select.open .list { display: block; }
.nice-select .option {
    list-style: none;
    padding: 10px 14px;
    border-radius: 10px;
    font-size: 14.5px;
    cursor: pointer;
    transition: background .15s var(--rh-ease), color .15s var(--rh-ease);
}
.nice-select .option:hover,
.nice-select .option.focus,
.nice-select .option.selected.focus {
    background: linear-gradient(135deg, rgba(216,183,106,0.16), rgba(216,183,106,0.06));
    color: var(--rh-gold-700);
}

/* List info (contact info blocks) — uniform card grid */
.box-contact .list-info {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 14px;
}
.box-contact .list-info li {
    display: flex;
    gap: 16px;
    align-items: center;
    padding: 16px 20px;
    background: #fff;
    border: 1px solid var(--rh-divider);
    border-radius: var(--rh-radius-md);
    box-shadow: var(--rh-shadow-xs);
    transition: transform .25s var(--rh-ease),
                box-shadow .25s var(--rh-ease),
                border-color .25s var(--rh-ease);
}
.box-contact .list-info li:hover {
    transform: translateY(-3px);
    box-shadow: var(--rh-shadow-md);
    border-color: rgba(216,183,106,0.32);
}
.box-contact .list-info .icon {
    flex-shrink: 0;
    width: 44px; height: 44px;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(216,183,106,0.20) 0%, rgba(216,183,106,0.06) 100%);
    display: inline-flex;
    align-items: center; justify-content: center;
    border: 1px solid rgba(216,183,106,0.24);
}
.box-contact .list-info .icon svg {
    width: 22px;
    height: 22px;
}
.box-contact .list-info .content {
    min-width: 0;
    flex: 1 1 auto;
}
.box-contact .list-info .sub {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    font-weight: 700;
    color: var(--rh-gold-700);
    margin-bottom: 2px;
    line-height: 1.2;
}
.box-contact .list-info p { margin: 0; color: var(--rh-ink-800); font-size: 14.5px; line-height: 1.45; font-weight: 500; }
.box-contact .list-info li .content > a,
.box-contact .list-info li .content > .phone {
    color: var(--rh-ink-800) !important;
    font-size: 14.5px !important;
    font-weight: 500 !important;
    line-height: 1.45 !important;
    letter-spacing: 0.001em !important;
    text-decoration: none;
    transition: color .2s var(--rh-ease);
}
.box-contact .list-info li .content > a:hover,
.box-contact .list-info li .content > .phone:hover { color: var(--rh-gold-700) !important; }
.box-contact .list-info li .content > .phone {
    display: block;
    font-size: 14.5px !important;
    font-weight: 500 !important;
}
.box-contact .list-info li .content br + a {
    margin-top: 2px;
}

/* Email group: stacked emails (primary first), consistent with other cards */
.box-contact .list-info li .rh-contact-emails {
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.box-contact .list-info li .rh-contact-emails a {
    display: inline-block;
    color: var(--rh-ink-800) !important;
    font-size: 14.5px !important;
    font-weight: 500 !important;
    line-height: 1.45 !important;
    text-decoration: none;
    word-break: break-all;
    transition: color .2s var(--rh-ease);
}
.box-contact .list-info li .rh-contact-emails a:first-of-type {
    color: var(--rh-gold-700) !important;
    font-weight: 600 !important;
}
.box-contact .list-info li .rh-contact-emails a:hover { color: var(--rh-gold-700) !important; }

/* Phone group: 3 numbers stacked, consistent with other cards */
.box-contact .list-info li .rh-contact-phones {
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.box-contact .list-info li .rh-contact-phones a {
    display: inline-block;
    color: var(--rh-ink-800) !important;
    font-size: 14.5px !important;
    font-weight: 500 !important;
    font-variant-numeric: tabular-nums;
    line-height: 1.45 !important;
    letter-spacing: 0.005em !important;
    text-decoration: none;
    transition: color .2s var(--rh-ease);
}
.box-contact .list-info li .rh-contact-phones a:hover { color: var(--rh-gold-700) !important; }

/* --------------------------------------------------------------------------
   Project / property hero on detail pages
   -------------------------------------------------------------------------- */

.page-content > section.section-style:first-child {
    padding-top: clamp(48px, 6vw, 80px);
}

.rh-project-card .box-house img,
section.tf-spacing-1 .box-house img {
    aspect-ratio: var(--rh-project-image-ratio, 4 / 3);
    object-fit: cover;
}

/* Investment / about — responsive richer copy blocks */
.tf-content-prose,
.section-style p.text-1 { line-height: 1.7; }
.section-style ul.text-1,
.section-style ul:not([class]) {
    padding-left: 1.2em;
}
.section-style ul.text-1 li,
.section-style ul:not([class]) li {
    margin-bottom: 8px;
    line-height: 1.6;
}
.section-style blockquote,
.section-style .fst-italic.text-center {
    border-left: 3px solid var(--rh-gold-400);
    padding: 12px 22px;
    background: linear-gradient(135deg, rgba(216,183,106,0.08), rgba(216,183,106,0.02));
    border-radius: 0 12px 12px 0;
    color: var(--rh-ink-800);
    font-style: italic;
    margin: 24px auto;
    max-width: 720px;
}

/* --------------------------------------------------------------------------
   Mobile nav offcanvas
   -------------------------------------------------------------------------- */

.offcanvas {
    border: none;
    background: linear-gradient(180deg, #ffffff 0%, #fafbfc 100%);
    box-shadow: var(--rh-shadow-xl);
}
.offcanvas .offcanvas-header { border-bottom: 1px solid var(--rh-divider); padding: 18px 22px; }
.offcanvas .offcanvas-body { padding: 18px 22px; }
.offcanvas .menu-mobile li a {
    display: block;
    padding: 14px 14px;
    border-radius: 12px;
    font-weight: 600;
    color: var(--rh-ink-700);
    transition: background .2s var(--rh-ease), color .2s var(--rh-ease);
}
.offcanvas .menu-mobile li a:hover {
    background: linear-gradient(135deg, rgba(216,183,106,0.16), rgba(216,183,106,0.06));
    color: var(--rh-gold-700);
}

/* --------------------------------------------------------------------------
   Misc reliability fixes — prevent overlap, hidden text, color-blend
   -------------------------------------------------------------------------- */

.text_white,
.text-white { color: #ffffff !important; }
.text-color-heading { color: var(--rh-heading) !important; }

/* Ensure dark sections keep readable body copy */
section[class*="bg-color-secondary"] p,
section[class*="bg-color-secondary"] .text-1,
.rh-final-cta .rh-cta-panel p,
.rh-final-cta .rh-cta-panel .text-1,
.rh-final-cta .rh-cta-panel .text-2 { color: rgba(255,255,255,0.86); }

/* Avoid invisible inputs on dark backgrounds */
.bg-color-secondary input,
.bg-color-secondary textarea,
.rh-glass-dark input,
.rh-glass-dark textarea {
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.14);
    color: #fff;
}
.bg-color-secondary input::placeholder,
.bg-color-secondary textarea::placeholder { color: rgba(255,255,255,0.55); }

/* Prevent unintentional overflow on wide grids */
.tf-container > .row { row-gap: 24px; }

/* Image safety inside cards (no stretch / no overflow) */
.box-house .image-wrap img,
.rh-project-card .image-wrap img,
.rh-leader-photo img,
.rh-gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Visually hide but accessible (use sparingly) */
.rh-visually-hidden {
    position: absolute !important;
    width: 1px; height: 1px;
    padding: 0; margin: -1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
    border: 0;
}

/* Anchor offset for fixed headers (compact header height) */
section[id], div[id] { scroll-margin-top: 80px; }

/* Focus ring (accessibility) */
:focus-visible {
    outline: 2px solid rgba(216, 183, 106, 0.6);
    outline-offset: 3px;
    border-radius: 4px;
}

/* --------------------------------------------------------------------------
   Animations / refinements
   -------------------------------------------------------------------------- */

@keyframes rh-fade-up {
    from { opacity: 0; transform: translateY(14px); }
    to   { opacity: 1; transform: translateY(0); }
}
.rh-fade-up { animation: rh-fade-up .7s var(--rh-ease) both; }

@keyframes rh-shimmer {
    0%   { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}
.rh-shimmer-text {
    background: linear-gradient(90deg, var(--rh-gold-600) 0%, var(--rh-gold-300) 35%, var(--rh-gold-600) 70%);
    background-size: 200% auto;
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    animation: rh-shimmer 6s linear infinite;
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.001s !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.001s !important;
    }
    html { scroll-behavior: auto; }
}

/* --------------------------------------------------------------------------
   Responsive — fine-tune at key breakpoints
   -------------------------------------------------------------------------- */

@media (max-width: 1199.98px) {
    .main-menu .navigation > li > a { padding: 22px 9px; font-size: 13px; }
    .main-menu .navigation > li > a::after { left: 9px; right: 9px; }
    .header .phone-number { padding: 6px 12px; }
    .header .phone-number p,
    .header .phone-number a { font-size: 12.5px; }
    .header .header-right { gap: 8px; }
}

@media (max-width: 991.98px) {
    .header .header-inner-wrap { min-height: 60px; }
    .header .header-logo { padding: 8px 0; }
    .header-logo .logo_header,
    .header-logo .rh-brand-logo { height: 34px; }

    .main-menu { display: none; }
    .header .mobile-button { display: inline-flex; }

    .flat-title { padding: clamp(24px, 3vw, 36px) 0 clamp(20px, 2.5vw, 32px); }
    .flat-title .heading { font-size: clamp(24px, 4vw, 32px); }
    .tf-spacing-1, .section-style { padding-top: clamp(56px, 8vw, 88px); padding-bottom: clamp(56px, 8vw, 88px); }
    #footer .footer-top { gap: 16px; }
    #footer .wrap-contact-item { gap: 8px; justify-content: flex-start; width: 100%; }
}

@media (max-width: 767.98px) {
    .rh-header-top-inner { flex-wrap: wrap; padding: 6px 0; gap: 4px 10px; }
    .rh-header-tagline { flex: 1 1 100%; font-size: 11px; }
    .rh-header-top-links { font-size: 11px; }
    .rh-header-top-links a:nth-child(n+3) { display: none; }

    .header .header-inner-wrap { min-height: 56px; gap: 8px; }
    .header-logo .logo_header,
    .header-logo .rh-brand-logo { height: 32px; }

    .header .phone-number { display: none; }
    .header .btn-add { display: none; }
    .header .mobile-button { width: 36px; height: 36px; }

    .heading-section { margin-bottom: 28px; text-align: center; }
    .heading-section .title { font-size: clamp(24px, 6vw, 32px); }
    .breadcrumb { font-size: 12.5px; padding: 6px 12px; }

    #footer { padding-top: clamp(24px, 6vw, 36px); padding-bottom: 12px; font-size: 13px; }
    #footer .footer-top { flex-direction: column; align-items: flex-start; gap: 12px; padding-bottom: 14px; margin-bottom: 16px; }
    #footer .footer-logo img { height: 32px; }
    #footer .wrap-contact-item { flex-direction: column; gap: 6px; }
    #footer .contact-item { width: 100%; }
    #footer .contact-item h6 { max-width: none; white-space: normal; }
    #footer .footer-main .row { row-gap: 14px; }
    #footer h5, #footer .title { font-size: 13px; margin-bottom: 8px; padding-bottom: 6px; }
    #footer h5::after, #footer .title::after { width: 20px; height: 1px; }
    #footer .footer-bottom { flex-direction: column; align-items: flex-start; gap: 6px; padding-top: 10px; margin-top: 14px; }

    /* Override theme's mobile accordion — show every column open and inline.
       Both desktop and mobile titles are unified, the +/- toggle is removed,
       collapse content is forced visible. Less surprising on a touch device. */
    #footer .footer-menu-list .title.title-mobile { display: none !important; }
    #footer .footer-menu-list .title.title-desktop { display: block !important; }
    #footer .footer-col-block .title-mobile::before,
    #footer .footer-col-block .title-mobile::after { display: none !important; content: none !important; }
    #footer .footer-col-block .tf-collapse-content {
        display: block !important;
        height: auto !important;
        max-height: none !important;
        overflow: visible !important;
        opacity: 1 !important;
        visibility: visible !important;
        padding: 0 !important;
    }
    #footer .footer-menu-list ul li { margin-bottom: 4px; }
    #footer .footer-menu-list ul li a { font-size: 12.5px; line-height: 1.5; }

    .tf-btn { padding: 12px 22px; min-height: 44px; font-size: 14px; }
    .tf-btn.pd-23 { padding: 12px 24px; }
    .header .tf-btn { min-height: 34px; height: 34px; padding: 0 14px; font-size: 12.5px; }

    .form-control,
    input[type="text"], input[type="email"], input[type="tel"],
    input[type="password"], input[type="search"], textarea {
        min-height: 48px;
        font-size: 14.5px;
    }

    .rh-final-cta .rh-cta-panel { padding: 36px 22px; }
}

@media (max-width: 479.98px) {
    .hero-cover-subtitle { font-size: clamp(24px, 7vw, 32px); }
    .hero-cover-tagline { font-size: 14.5px; }
    .flat-title .heading { font-size: clamp(22px, 7vw, 28px); }
}

/* --------------------------------------------------------------------------
   Print
   -------------------------------------------------------------------------- */

@media print {
    #header-main,
    #footer,
    .rh-header-top,
    .popup-setting,
    .mobile-button { display: none !important; }
    body { background: #fff !important; color: #000 !important; }
    a { color: #000 !important; text-decoration: underline; }
}

/* --------------------------------------------------------------------------
   Color theme picker — replaces the old RTL/dark toggle
   -------------------------------------------------------------------------- */

:root { --rh-logo-filter: none; }

.rh-brand-logo,
.logo_header,
#logo_footer,
.site-logo img,
.header-logo img,
.footer-logo img {
    filter: var(--rh-logo-filter);
    transition: filter .35s var(--rh-ease);
}

/* Override default rule when a theme is active.
   Each theme remaps the gold palette and supplies a logo hue-rotate filter. */
html[data-rh-accent="bronze"] {
    --rh-gold-50:  #fbf2e2; --rh-gold-100: #f3e1bd; --rh-gold-200: #e7c388;
    --rh-gold-300: #d8a35a; --rh-gold-400: #c89248; --rh-gold-500: #b08043;
    --rh-gold-600: #8e6431; --rh-gold-700: #6e4c22;
    --Primary: #c89248; --Sub-primary-1: #fbf2e2;
    --rh-grad-gold: linear-gradient(135deg, #b08043 0%, #c89248 35%, #e7c388 75%, #b08043 100%);
    --rh-shadow-gold: 0 18px 48px rgba(176,128,67,0.25), 0 4px 12px rgba(176,128,67,0.12);
    --rh-logo-filter: hue-rotate(-12deg) saturate(1.05);
}
html[data-rh-accent="forest"] {
    --rh-gold-50:  #e8f3ef; --rh-gold-100: #cce5dc; --rh-gold-200: #99cab8;
    --rh-gold-300: #5fa68f; --rh-gold-400: #258070; --rh-gold-500: #196b5d;
    --rh-gold-600: #0f5d4f; --rh-gold-700: #094238;
    --Primary: #258070; --Sub-primary-1: #e8f3ef;
    --rh-grad-gold: linear-gradient(135deg, #0f5d4f 0%, #258070 35%, #5fa68f 75%, #0f5d4f 100%);
    --rh-shadow-gold: 0 18px 48px rgba(15,93,79,0.25), 0 4px 12px rgba(15,93,79,0.12);
    --rh-logo-filter: hue-rotate(115deg) saturate(0.85);
}
html[data-rh-accent="emerald"] {
    --rh-gold-50:  #e7f9f1; --rh-gold-100: #c5f1de; --rh-gold-200: #8be3bf;
    --rh-gold-300: #4ed09b; --rh-gold-400: #18b67d; --rh-gold-500: #10b981;
    --rh-gold-600: #0d8b5f; --rh-gold-700: #096a48;
    --Primary: #10b981; --Sub-primary-1: #e7f9f1;
    --rh-grad-gold: linear-gradient(135deg, #0d8b5f 0%, #10b981 35%, #4ed09b 75%, #0d8b5f 100%);
    --rh-shadow-gold: 0 18px 48px rgba(16,185,129,0.25), 0 4px 12px rgba(16,185,129,0.12);
    --rh-logo-filter: hue-rotate(95deg) saturate(0.9);
}
html[data-rh-accent="royal"] {
    --rh-gold-50:  #e9efff; --rh-gold-100: #cfddff; --rh-gold-200: #a3bcff;
    --rh-gold-300: #6f96ff; --rh-gold-400: #3f6cff; --rh-gold-500: #2563eb;
    --rh-gold-600: #1d4fc4; --rh-gold-700: #163b91;
    --Primary: #2563eb; --Sub-primary-1: #e9efff;
    --rh-grad-gold: linear-gradient(135deg, #1d4fc4 0%, #2563eb 35%, #6f96ff 75%, #1d4fc4 100%);
    --rh-shadow-gold: 0 18px 48px rgba(37,99,235,0.25), 0 4px 12px rgba(37,99,235,0.12);
    --rh-logo-filter: hue-rotate(190deg) saturate(0.95);
}
html[data-rh-accent="plum"] {
    --rh-gold-50:  #f1eafd; --rh-gold-100: #e0d2fb; --rh-gold-200: #c1a5f5;
    --rh-gold-300: #a07cee; --rh-gold-400: #8b5fea; --rh-gold-500: #7c3aed;
    --rh-gold-600: #6020c8; --rh-gold-700: #461696;
    --Primary: #7c3aed; --Sub-primary-1: #f1eafd;
    --rh-grad-gold: linear-gradient(135deg, #6020c8 0%, #7c3aed 35%, #a07cee 75%, #6020c8 100%);
    --rh-shadow-gold: 0 18px 48px rgba(124,58,237,0.25), 0 4px 12px rgba(124,58,237,0.12);
    --rh-logo-filter: hue-rotate(245deg) saturate(0.9);
}
html[data-rh-accent="crimson"] {
    --rh-gold-50:  #fbe6e3; --rh-gold-100: #f6c8c2; --rh-gold-200: #ec968b;
    --rh-gold-300: #df6557; --rh-gold-400: #d44432; --rh-gold-500: #c0392b;
    --rh-gold-600: #962a20; --rh-gold-700: #6a1d16;
    --Primary: #c0392b; --Sub-primary-1: #fbe6e3;
    --rh-grad-gold: linear-gradient(135deg, #962a20 0%, #c0392b 35%, #df6557 75%, #962a20 100%);
    --rh-shadow-gold: 0 18px 48px rgba(192,57,43,0.25), 0 4px 12px rgba(192,57,43,0.12);
    --rh-logo-filter: hue-rotate(-50deg) saturate(1.05);
}
html[data-rh-accent="slate"] {
    --rh-gold-50:  #ecf0f4; --rh-gold-100: #d1d9e3; --rh-gold-200: #a1adbc;
    --rh-gold-300: #71819b; --rh-gold-400: #58697f; --rh-gold-500: #475569;
    --rh-gold-600: #36405c; --rh-gold-700: #232a3d;
    --Primary: #475569; --Sub-primary-1: #ecf0f4;
    --rh-grad-gold: linear-gradient(135deg, #36405c 0%, #475569 35%, #71819b 75%, #36405c 100%);
    --rh-shadow-gold: 0 18px 48px rgba(71,85,105,0.25), 0 4px 12px rgba(71,85,105,0.12);
    --rh-logo-filter: grayscale(1) brightness(0.92);
}

/* Settings popup (the floating gear)
   Override theme's 150px width and gear-offset so the picker shows fully
   and the gear sits flush against the panel edge. */
.popup-setting.rh-color-picker {
    width: 280px !important;
    right: -280px !important;
    top: 50% !important;
    transform: translateY(-50%);
    background: transparent !important;
    box-shadow: none !important;
    overflow: visible !important;
    max-height: calc(100vh - 80px);
}
.popup-setting.rh-color-picker.show {
    right: 0 !important;
}
.popup-setting.rh-color-picker .btn-setting {
    width: 42px !important;
    height: 42px !important;
    background: var(--rh-grad-gold) !important;
    border-radius: 12px 0 0 12px;
    box-shadow: var(--rh-shadow-md);
    display: flex; align-items: center; justify-content: center;
    border: 1px solid rgba(255,255,255,0.18);
    border-right: none;
    position: absolute !important;
    left: -42px !important;
    top: 50% !important;
    transform: translateY(-50%);
    transition: box-shadow .25s var(--rh-ease);
}
.popup-setting.rh-color-picker .btn-setting:hover {
    box-shadow: var(--rh-shadow-gold);
}
.popup-setting.rh-color-picker .btn-setting a,
.popup-setting.rh-color-picker .btn-setting a.sw-click {
    color: #fff !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 42px !important;
    height: 42px !important;
    animation: none !important;
    -webkit-animation: none !important;
    font-size: 18px !important;
    transition: transform .35s var(--rh-ease);
}
.popup-setting.rh-color-picker .btn-setting:hover a,
.popup-setting.rh-color-picker.show .btn-setting a {
    transform: rotate(60deg);
}
.popup-setting.rh-color-picker .btn-setting a i { font-size: 18px !important; animation: none !important; -webkit-animation: none !important; }

.popup-setting.rh-color-picker .popup-setting-container {
    background: rgba(255,255,255,0.97);
    backdrop-filter: blur(16px) saturate(140%);
    -webkit-backdrop-filter: blur(16px) saturate(140%);
    border: 1px solid var(--rh-divider);
    border-right: none;
    border-radius: 14px 0 0 14px;
    padding: 16px;
    box-shadow: -12px 12px 36px rgba(20,22,26,0.12), -2px 2px 8px rgba(20,22,26,0.04);
    width: 280px;
    max-width: 280px;
    max-height: calc(100vh - 120px);
    overflow-y: auto;
    overflow-x: hidden;
}
.popup-setting.rh-color-picker .popup-setting-container::-webkit-scrollbar { width: 6px; }
.popup-setting.rh-color-picker .popup-setting-container::-webkit-scrollbar-track { background: transparent; }
.popup-setting.rh-color-picker .popup-setting-container::-webkit-scrollbar-thumb {
    background: rgba(20,22,26,0.12);
    border-radius: 3px;
}

.rh-color-picker-head { margin-bottom: 12px; }
.rh-color-picker-title {
    display: block;
    font-family: var(--rh-font-sans);
    font-weight: 700;
    font-size: 13px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--rh-ink-800);
    margin-bottom: 2px;
}
.rh-color-picker-subtitle {
    display: block;
    font-size: 11.5px;
    color: var(--rh-text-muted);
}

.rh-color-swatches {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
    margin-bottom: 12px;
}
.rh-color-swatch {
    width: 100%;
    aspect-ratio: 1;
    background: var(--sw, var(--rh-gold-500));
    border: 2px solid rgba(20,22,26,0.08);
    border-radius: 10px;
    cursor: pointer;
    padding: 0;
    box-shadow: var(--rh-shadow-xs), inset 0 1px 0 rgba(255,255,255,0.25);
    transition: transform .2s var(--rh-ease), box-shadow .2s var(--rh-ease), border-color .2s var(--rh-ease);
    position: relative;
}
.rh-color-swatch:hover {
    transform: translateY(-2px);
    box-shadow: var(--rh-shadow-sm), inset 0 1px 0 rgba(255,255,255,0.25);
}
.rh-color-swatch.is-active {
    border-color: var(--sw, var(--rh-gold-500));
    box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--sw, var(--rh-gold-500));
}
.rh-color-swatch.is-active::after {
    content: "";
    position: absolute;
    top: 50%; left: 50%;
    width: 12px; height: 6px;
    border-left: 2px solid #fff;
    border-bottom: 2px solid #fff;
    transform: translate(-50%, -70%) rotate(-45deg);
}

.rh-setting-group { margin-bottom: 14px; }
.rh-setting-group:last-of-type { margin-bottom: 12px; }

.rh-setting-label {
    display: block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.10em;
    text-transform: uppercase;
    color: var(--rh-text-muted);
    margin-bottom: 8px;
}

.rh-setting-segments {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px;
    background: rgba(20,22,26,0.04);
    border: 1px solid rgba(20,22,26,0.06);
    border-radius: 10px;
    padding: 4px;
}
.rh-setting-segments[aria-label*="font"] { grid-template-columns: 1fr 1fr; }
.rh-setting-segments[aria-label*="radius"],
.rh-setting-segments[aria-label*="density"] { grid-template-columns: 1fr 1fr 1fr; }

.rh-setting-seg {
    background: transparent;
    border: none;
    padding: 7px 8px;
    border-radius: 7px;
    font-size: 12px;
    font-weight: 600;
    color: var(--rh-text-muted);
    cursor: pointer;
    transition: background .18s var(--rh-ease), color .18s var(--rh-ease), box-shadow .18s var(--rh-ease);
    line-height: 1.2;
    text-align: center;
}
.rh-setting-seg:hover { color: var(--rh-ink-800); }
.rh-setting-seg.is-active {
    background: #fff;
    color: var(--rh-gold-700);
    box-shadow: var(--rh-shadow-xs), 0 0 0 1px rgba(216,183,106,0.32) inset;
}

.rh-toggle {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    user-select: none;
}
.rh-toggle input { position: absolute; opacity: 0; pointer-events: none; }
.rh-toggle-track {
    display: inline-flex;
    align-items: center;
    width: 38px; height: 22px;
    background: rgba(20,22,26,0.14);
    border-radius: 999px;
    padding: 2px;
    transition: background .2s var(--rh-ease);
    flex-shrink: 0;
}
.rh-toggle-thumb {
    width: 18px; height: 18px;
    background: #fff;
    border-radius: 50%;
    box-shadow: var(--rh-shadow-xs);
    transition: transform .2s var(--rh-ease);
}
.rh-toggle input:checked + .rh-toggle-track {
    background: var(--rh-grad-gold);
}
.rh-toggle input:checked + .rh-toggle-track .rh-toggle-thumb {
    transform: translateX(16px);
}
.rh-toggle-text {
    font-size: 12.5px;
    font-weight: 600;
    color: var(--rh-ink-800);
}

.rh-color-reset {
    width: 100%;
    background: transparent;
    border: 1px solid var(--rh-divider-strong);
    border-radius: 10px;
    padding: 8px 12px;
    font-size: 12.5px;
    font-weight: 600;
    color: var(--rh-text-muted);
    cursor: pointer;
    margin-top: 4px;
    transition: background .2s var(--rh-ease), color .2s var(--rh-ease), border-color .2s var(--rh-ease);
}
.rh-color-reset:hover {
    background: rgba(216,183,106,0.08);
    color: var(--rh-gold-700);
    border-color: rgba(216,183,106,0.4);
}

/* ---- Theme variants for font / radius / density / motion ---- */

html[data-rh-font="classic"] {
    --rh-font-sans: "Manrope", "Plus Jakarta Sans", -apple-system, sans-serif;
    --rh-font-display: "Playfair Display", "Fraunces", serif;
}
html[data-rh-font="editorial"] {
    --rh-font-sans: "Plus Jakarta Sans", -apple-system, sans-serif;
    --rh-font-display: "Cormorant Garamond", "Fraunces", serif;
}
html[data-rh-font="techno"] {
    --rh-font-sans: "Inter", -apple-system, sans-serif;
    --rh-font-display: "Inter", -apple-system, sans-serif;
}

html[data-rh-radius="sharp"] {
    --rh-radius-xs: 2px;
    --rh-radius-sm: 4px;
    --rh-radius-md: 6px;
    --rh-radius-lg: 8px;
    --rh-radius-xl: 10px;
    --rh-radius-pill: 6px;
}
html[data-rh-radius="round"] {
    --rh-radius-xs: 12px;
    --rh-radius-sm: 18px;
    --rh-radius-md: 24px;
    --rh-radius-lg: 32px;
    --rh-radius-xl: 40px;
    --rh-radius-pill: 999px;
}

html[data-rh-density="compact"] {
    --rh-space-section: clamp(40px, 5vw, 72px);
    --rh-space-section-tight: clamp(28px, 3.5vw, 56px);
}
html[data-rh-density="cozy"] {
    --rh-space-section: clamp(96px, 11vw, 168px);
    --rh-space-section-tight: clamp(64px, 8vw, 112px);
}

html[data-rh-motion="off"],
html[data-rh-motion="off"] *,
html[data-rh-motion="off"] *::before,
html[data-rh-motion="off"] *::after {
    animation-duration: 0.001s !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001s !important;
    scroll-behavior: auto !important;
}

/* --------------------------------------------------------------------------
   Floating WhatsApp chat widget
   -------------------------------------------------------------------------- */

.rh-wa {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 990;
    font-family: var(--rh-font-sans);
}

.rh-wa-fab {
    position: relative;
    width: 60px; height: 60px;
    border: none;
    border-radius: 50%;
    background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
    color: #fff;
    display: inline-flex;
    align-items: center; justify-content: center;
    cursor: pointer;
    box-shadow: 0 12px 28px rgba(37, 211, 102, 0.42), 0 4px 10px rgba(20,22,26,0.18);
    transition: transform .25s var(--rh-ease), box-shadow .25s var(--rh-ease);
}
.rh-wa-fab:hover { transform: translateY(-2px) scale(1.04); box-shadow: 0 16px 36px rgba(37,211,102,0.55), 0 6px 14px rgba(20,22,26,0.20); }
.rh-wa-fab:active { transform: scale(0.96); }

.rh-wa-fab-pulse {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.55);
    animation: rh-wa-pulse 2.4s ease-out infinite;
    pointer-events: none;
}
@keyframes rh-wa-pulse {
    0%   { box-shadow: 0 0 0 0   rgba(37,211,102,0.55); }
    70%  { box-shadow: 0 0 0 18px rgba(37,211,102,0);   }
    100% { box-shadow: 0 0 0 0   rgba(37,211,102,0);    }
}

.rh-wa-panel {
    position: absolute;
    bottom: calc(100% + 16px);
    right: 0;
    width: 360px;
    max-width: calc(100vw - 32px);
    max-height: calc(100vh - 120px);
    background: linear-gradient(180deg, #efeae2 0%, #e8e1d3 100%);
    border-radius: 20px;
    box-shadow: 0 30px 70px rgba(20,22,26,0.32), 0 10px 24px rgba(20,22,26,0.10), 0 0 0 1px rgba(255,255,255,0.4) inset;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transform-origin: bottom right;
    transform: scale(0.92) translateY(12px);
    opacity: 0;
    transition: transform .32s var(--rh-ease-emphasized), opacity .24s var(--rh-ease);
    pointer-events: none;
}
.rh-wa.is-open .rh-wa-panel {
    transform: scale(1) translateY(0);
    opacity: 1;
    pointer-events: auto;
}
.rh-wa.is-open .rh-wa-fab-pulse { animation: none; }

.rh-wa-header { position: relative; padding: 16px 16px 18px; color: #fff; overflow: hidden; }
.rh-wa-header-bg {
    position: absolute; inset: 0;
    background:
        radial-gradient(80% 70% at 100% 0%, rgba(37,211,102,0.45) 0%, transparent 60%),
        radial-gradient(60% 60% at 0% 100%, rgba(7,94,84,0.65) 0%, transparent 60%),
        linear-gradient(135deg, #128c7e 0%, #075e54 60%, #064f47 100%);
}
.rh-wa-header-bg::after {
    content: "";
    position: absolute; inset: 0;
    background-image:
        radial-gradient(rgba(255,255,255,0.06) 1px, transparent 1px);
    background-size: 18px 18px;
    opacity: 0.6;
    pointer-events: none;
}
.rh-wa-header-inner { position: relative; display: flex; align-items: center; gap: 12px; z-index: 1; }
.rh-wa-avatar {
    position: relative;
    width: 52px; height: 52px;
    border-radius: 50%;
    overflow: hidden;
    background: linear-gradient(135deg, #fff 0%, #efeae2 100%);
    flex-shrink: 0;
    border: 3px solid rgba(255,255,255,0.95);
    box-shadow: 0 6px 18px rgba(0,0,0,0.30), 0 0 0 1px rgba(255,255,255,0.18);
}
.rh-wa-avatar img {
    width: 100%; height: 100%;
    object-fit: cover;
    object-position: center 18%;
    display: block;
    transform: scale(1.05);
}
.rh-wa-avatar .rh-wa-initials {
    width: 100%; height: 100%;
    display: flex; align-items: center; justify-content: center;
    font-family: var(--rh-font-display);
    font-weight: 700;
    font-size: 22px;
    color: #075e54;
}
.rh-wa-presence {
    position: absolute;
    bottom: -1px; right: -1px;
    width: 14px; height: 14px;
    border-radius: 50%;
    background: #25d366;
    border: 3px solid #075e54;
    box-shadow: 0 0 0 2px rgba(37,211,102,0.35);
    animation: rh-wa-blink 2s ease-in-out infinite;
}
@keyframes rh-wa-blink {
    0%,80%,100% { transform: scale(1); }
    90%         { transform: scale(0.85); }
}
.rh-wa-meta { flex: 1 1 auto; min-width: 0; line-height: 1.3; }
.rh-wa-meta strong {
    display: block;
    font-family: var(--rh-font-display);
    font-size: 16px;
    font-weight: 600;
    color: #fff;
    letter-spacing: -0.005em;
    line-height: 1.15;
}
.rh-wa-meta .rh-wa-status {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 11.5px !important;
    color: #d6f5dc !important;
    margin-top: 3px;
    font-weight: 500;
}
.rh-wa-meta .rh-wa-dot {
    display: inline-block;
    width: 7px; height: 7px;
    border-radius: 50%;
    background: #25d366;
    box-shadow: 0 0 8px rgba(37,211,102,0.7);
}
.rh-wa-meta .rh-wa-role {
    display: block;
    font-size: 10.5px !important;
    color: rgba(255,255,255,0.62) !important;
    margin-top: 2px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    font-weight: 600;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.rh-wa-close {
    flex-shrink: 0;
    width: 32px; height: 32px;
    border: 0;
    background: rgba(255,255,255,0.14);
    color: #fff;
    border-radius: 50%;
    cursor: pointer;
    display: inline-flex;
    align-items: center; justify-content: center;
    transition: background .2s var(--rh-ease), transform .2s var(--rh-ease);
}
.rh-wa-close:hover { background: rgba(255,255,255,0.28); transform: rotate(90deg); }

.rh-wa-body {
    padding: 18px 16px 16px;
    background-color: #efeae2;
    background-image:
        radial-gradient(rgba(20,22,26,0.045) 1px, transparent 1.5px),
        radial-gradient(rgba(20,22,26,0.030) 1px, transparent 1.5px);
    background-size: 22px 22px, 22px 22px;
    background-position: 0 0, 11px 11px;
    overflow-y: auto;
    flex: 1 1 auto;
    min-height: 220px;
}

/* Typing dots indicator (shown for 1s before bubble appears) */
.rh-wa-typing {
    display: none;
    width: fit-content;
    background: #fff;
    border-radius: 0 14px 14px 14px;
    padding: 12px 14px;
    margin-bottom: 14px;
    box-shadow: 0 1px 2px rgba(0,0,0,0.08);
}
.rh-wa-typing.is-on { display: flex; gap: 4px; align-items: center; }
.rh-wa-typing span {
    width: 7px; height: 7px;
    background: #128c7e;
    border-radius: 50%;
    opacity: 0.5;
    animation: rh-wa-typing 1.2s ease-in-out infinite;
}
.rh-wa-typing span:nth-child(2) { animation-delay: 0.15s; }
.rh-wa-typing span:nth-child(3) { animation-delay: 0.30s; }
@keyframes rh-wa-typing {
    0%,60%,100% { opacity: 0.35; transform: translateY(0); }
    30%         { opacity: 1;    transform: translateY(-4px); }
}

.rh-wa-bubble {
    background: #fff;
    border-radius: 2px 14px 14px 14px;
    padding: 10px 12px 8px;
    max-width: 88%;
    box-shadow: 0 1px 2px rgba(0,0,0,0.08);
    margin-bottom: 14px;
    position: relative;
    transform: translateY(8px) scale(0.96);
    opacity: 0;
    transition: transform .35s var(--rh-ease-emphasized), opacity .25s var(--rh-ease);
}
.rh-wa-bubble.is-in { transform: translateY(0) scale(1); opacity: 1; }
.rh-wa-bubble::before {
    content: "";
    position: absolute;
    top: 0; left: -8px;
    width: 0; height: 0;
    border-style: solid;
    border-width: 0 8px 8px 0;
    border-color: transparent #fff transparent transparent;
}
.rh-wa-bubble p { margin: 0; font-size: 13.5px; line-height: 1.55; color: var(--rh-ink-800); }
.rh-wa-time {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 4px;
    font-size: 10.5px;
    color: var(--rh-text-muted);
    margin-top: 4px;
}

.rh-wa-prompt {
    font-size: 11.5px;
    font-weight: 600;
    color: var(--rh-text-muted);
    margin: 16px 0 10px;
    padding: 0 4px;
    text-align: center;
    letter-spacing: 0.02em;
    transform: translateY(6px);
    opacity: 0;
    transition: transform .3s var(--rh-ease), opacity .25s var(--rh-ease);
}
.rh-wa-prompt.is-in { transform: translateY(0); opacity: 1; }
.rh-wa-replies { display: flex; flex-direction: column; gap: 8px; }
.rh-wa-reply {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 11px 14px;
    background: linear-gradient(180deg, #dcf8c6 0%, #d2f1b6 100%);
    border-radius: 16px 16px 4px 16px;
    border: 1px solid rgba(123,191,75,0.35);
    color: var(--rh-ink-800);
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    line-height: 1.45;
    align-self: flex-end;
    max-width: 92%;
    margin-left: auto;
    box-shadow: 0 1px 2px rgba(0,0,0,0.05);
    transform: translateY(6px) scale(0.97);
    opacity: 0;
    transition: transform .3s var(--rh-ease-emphasized) var(--rh-wa-delay, 0ms),
                opacity   .25s var(--rh-ease)            var(--rh-wa-delay, 0ms),
                background .2s var(--rh-ease),
                box-shadow .2s var(--rh-ease);
}
.rh-wa-reply.is-in { transform: translateY(0) scale(1); opacity: 1; }
.rh-wa-reply:hover {
    background: linear-gradient(180deg, #c8f0a3 0%, #b9e891 100%);
    box-shadow: 0 6px 16px rgba(37,211,102,0.25);
    color: var(--rh-ink-800);
}
.rh-wa-reply-text { flex: 1 1 auto; min-width: 0; }
.rh-wa-reply-arrow {
    flex-shrink: 0;
    color: #128c7e;
    opacity: 0.65;
    transition: opacity .2s var(--rh-ease), transform .2s var(--rh-ease);
}
.rh-wa-reply:hover .rh-wa-reply-arrow { opacity: 1; transform: translateX(2px); }

.rh-wa-footer {
    padding: 12px 16px 14px;
    background: linear-gradient(180deg, #f6f1e7 0%, #efeae2 100%);
    border-top: 1px solid rgba(20,22,26,0.06);
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
}
.rh-wa-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 11px 18px;
    border-radius: 999px;
    background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
    color: #fff !important;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 6px 14px rgba(37,211,102,0.35);
    transition: transform .2s var(--rh-ease), box-shadow .2s var(--rh-ease);
}
.rh-wa-cta:hover { transform: translateY(-1px); box-shadow: 0 8px 18px rgba(37,211,102,0.45); color: #fff !important; }
.rh-wa-footer small { font-size: 10.5px; color: var(--rh-text-muted); text-align: center; }

@media (max-width: 575.98px) {
    .rh-wa { right: 14px; bottom: 14px; }
    .rh-wa-fab { width: 54px; height: 54px; }
    .rh-wa-fab svg { width: 24px; height: 24px; }
    .rh-wa-panel { width: calc(100vw - 28px); }
}

/* --------------------------------------------------------------------------
   Theme dark-mode toggle compatibility (existing theme switch)
   -------------------------------------------------------------------------- */

body.dark,
html[data-theme="dark"] body {
    background: #0f1115;
    color: rgba(255,255,255,0.82);
}
body.dark #header-main.header,
html[data-theme="dark"] #header-main.header {
    background: rgba(15,17,21,0.92);
    border-bottom-color: rgba(255,255,255,0.06);
}
body.dark .rh-elev,
html[data-theme="dark"] .rh-elev {
    background: #161a1f;
    border-color: rgba(255,255,255,0.06);
    box-shadow: 0 6px 18px rgba(0,0,0,0.4);
}
