/*
 Theme Name: Refresh Health
 Theme URI: https://www.refresh-health.com
 Description: Custom child theme for Refresh Health Club - Multi-location architecture
 Author: Amanze Anyiam-Osigwe
 Template: generatepress
 Version: 1.0.0
 Text Domain: refresh-health
*/

/* ============================================
   DESIGN SYSTEM — Refresh Brand Palette
   Updated with client CMYK colour specs and font choices.
   Montserrat (headings) + Quicksand (body)
   ============================================ */
:root {
    /* ---- Brand Colours (from client CMYK specs) ---- */
    --rh-green: #8fc76e;             /* Green (44-22-57-0) — CTAs, primary actions */
    --rh-green-dark: #4e7730;        /* Darker Green (61-40-76-22) — hover states, strong accents */
    --rh-green-light: #e8f5e0;       /* Light green tint — subtle backgrounds */
    --rh-peach: #e09480;             /* Darker Brown/Peach (12-42-50-0) — warm accent */
    --rh-peach-light: #f5dedb;       /* Lighter Brown Bubble (4-13-14-0) — soft backgrounds */
    --rh-terracotta: #e09480;        /* Same as peach — primary warm accent */
    --rh-terracotta-light: #ebb0a2;  /* Lighter variant — hover states */
    --rh-terracotta-bg: #faf0ee;     /* Very light warm — subtle backgrounds */

    /* ---- Supporting Colours (kept from original palette) ---- */
    --rh-barley: #E8DDD1;           /* Warm beige — backgrounds, location bar */
    --rh-barley-dark: #C8B89A;      /* Deeper barley — borders */
    --rh-toasted-almond: #A08B76;   /* Warm taupe — secondary text */
    --rh-cloud: #F5F0EB;            /* Off-white warm — page backgrounds */
    --rh-cloud-pure: #FDFBF8;       /* Near-white — card backgrounds */
    --rh-cascade: #8BA3B0;          /* Dusty blue — subtle accents */
    --rh-pale-peach: #e09480;       /* Alias for peach */
    --rh-pale-peach-light: #f5dedb; /* Alias for light peach */

    /* ---- Neutrals ---- */
    --rh-white: #FFFFFF;
    --rh-off-white: #FAFAF7;
    --rh-gray-100: #F5F4F1;
    --rh-gray-200: #E8E6E1;
    --rh-gray-300: #D1CECC;
    --rh-gray-400: #9A9894;
    --rh-gray-500: #6B6965;
    --rh-gray-600: #4A4845;
    --rh-gray-700: #2C2A28;
    --rh-gray-800: #1A1917;

    /* ---- Typography ---- */
    /* Montserrat Semi-Bold — headings and display text */
    --rh-font-heading: 'Montserrat', -apple-system, BlinkMacSystemFont, sans-serif;
    /* Quicksand Medium — body text and UI elements */
    --rh-font-body: 'Quicksand', -apple-system, BlinkMacSystemFont, sans-serif;

    /* ---- Spacing ---- */
    --rh-space-xs: 0.25rem;
    --rh-space-sm: 0.5rem;
    --rh-space-md: 1rem;
    --rh-space-lg: 1.5rem;
    --rh-space-xl: 2rem;
    --rh-space-2xl: 3rem;
    --rh-space-3xl: 4rem;
    --rh-space-4xl: 6rem;

    /* ---- Border Radius ---- */
    --rh-radius-sm: 4px;
    --rh-radius-md: 8px;
    --rh-radius-lg: 12px;
    --rh-radius-xl: 16px;
    --rh-radius-full: 9999px;

    /* ---- Shadows (warm-tinted) ---- */
    --rh-shadow-sm: 0 1px 2px rgba(168, 139, 118, 0.06);
    --rh-shadow-md: 0 4px 12px rgba(168, 139, 118, 0.1);
    --rh-shadow-lg: 0 8px 24px rgba(168, 139, 118, 0.12);

    /* ---- Transitions ---- */
    --rh-transition: 0.2s ease;
}

/* ============================================
   FONT IMPORTS
   Raleway from Google Fonts (loaded in functions.php)
   Ivy Presto & Aristi Signature are premium — load
   via @font-face if you have the files, or fall back
   to Georgia for headings and cursive for script.
   ============================================ */

/* 
 * If you have the Ivy Presto font files, uncomment and update paths:
 *
 * @font-face {
 *     font-family: 'Ivy Presto Display';
 *     src: url('./fonts/IvyPrestoDisplay-Regular.woff2') format('woff2');
 *     font-weight: 400;
 *     font-style: normal;
 *     font-display: swap;
 * }
 * @font-face {
 *     font-family: 'Ivy Presto Display';
 *     src: url('./fonts/IvyPrestoDisplay-SemiBold.woff2') format('woff2');
 *     font-weight: 600;
 *     font-style: normal;
 *     font-display: swap;
 * }
 * @font-face {
 *     font-family: 'Ivy Presto Display';
 *     src: url('./fonts/IvyPrestoDisplay-Italic.woff2') format('woff2');
 *     font-weight: 400;
 *     font-style: italic;
 *     font-display: swap;
 * }
 * @font-face {
 *     font-family: 'Aristi Signature';
 *     src: url('./fonts/AristiSignature.woff2') format('woff2');
 *     font-weight: 400;
 *     font-style: normal;
 *     font-display: swap;
 * }
 */

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

body {
    font-family: var(--rh-font-body);
    color: var(--rh-gray-700);
    background-color: var(--rh-cloud-pure);
    line-height: 1.65;
    font-weight: 400;
    -webkit-font-smoothing: antialiased;
}

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

a {
    color: var(--rh-green-dark);
    text-decoration: none;
    transition: color var(--rh-transition);
}

a:hover {
    color: var(--rh-terracotta);
}

/* ============================================
   TYPOGRAPHY
   Ivy Presto for headings — elegant, editorial feel
   Raleway for body — clean, modern readability
   ============================================ */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--rh-font-heading);
    color: var(--rh-gray-800);
    font-weight: 600;       /* Montserrat Semi-Bold */
    line-height: 1.2;
    letter-spacing: -0.01em;
}

h1 { font-size: clamp(2.25rem, 4.5vw, 3.25rem); }
h2 { font-size: clamp(1.75rem, 3.5vw, 2.5rem); }
h3 { font-size: clamp(1.25rem, 2.5vw, 1.625rem); }

p {
    margin-bottom: var(--rh-space-md);
    color: var(--rh-gray-600);
    font-size: 1rem;
    letter-spacing: 0.01em;
}

/* Script accent text — for decorative labels like "breathe and become" */
.rh-script {
    font-family: var(--rh-font-script);
    font-weight: 400;
    color: var(--rh-toasted-almond);
}

/* Spaced uppercase label — for section subtitles */
.rh-label {
    font-family: var(--rh-font-body);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--rh-toasted-almond);
}

/* ============================================
   BUTTONS
   Primary: Grounded Green (sage)
   Secondary: Outlined, warm tones
   Peach: Pale Peach fill for softer CTAs
   ============================================ */
.rh-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.8rem 2rem;
    font-family: var(--rh-font-body);
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    border-radius: var(--rh-radius-full);
    border: none;
    cursor: pointer;
    transition: all var(--rh-transition);
    text-decoration: none;
    line-height: 1;
}

.rh-btn-primary {
    background-color: var(--rh-green);
    color: var(--rh-white);
}

.rh-btn-primary:hover {
    background-color: var(--rh-green-dark);
    color: var(--rh-white);
    transform: translateY(-1px);
    box-shadow: var(--rh-shadow-md);
}

.rh-btn-secondary {
    background-color: transparent;
    color: var(--rh-toasted-almond);
    border: 1.5px solid var(--rh-toasted-almond);
}

.rh-btn-secondary:hover {
    background-color: var(--rh-toasted-almond);
    color: var(--rh-white);
}

.rh-btn-peach {
    background-color: var(--rh-pale-peach);
    color: var(--rh-white);
}

.rh-btn-peach:hover {
    background-color: var(--rh-terracotta);
    color: var(--rh-white);
}

/* ============================================
   LOCATION BAR
   Warm barley strip at top — matches poster tone
   ============================================ */
.rh-location-bar {
    background-color: var(--rh-barley);
    padding: 0.5rem 0;
    font-size: 0.8125rem;
    letter-spacing: 0.04em;
}

.rh-location-bar__inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--rh-space-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--rh-space-md);
}

.rh-location-bar__label {
    color: var(--rh-toasted-almond);
    font-family: var(--rh-font-body);
    font-weight: 500;
}

.rh-location-bar__link {
    color: var(--rh-gray-600);
    padding: 0.25rem 0.75rem;
    border-radius: var(--rh-radius-full);
    transition: all var(--rh-transition);
    font-family: var(--rh-font-body);
    font-weight: 500;
}

.rh-location-bar__link:hover {
    color: var(--rh-gray-800);
    background-color: rgba(255, 255, 255, 0.5);
}

.rh-location-bar__link.active {
    color: var(--rh-white);
    background-color: var(--rh-green);
}

/* ============================================
   HEADER / NAV
   Clean, warm header with Ivy Presto logo area
   ============================================ */
.rh-header {
    background-color: var(--rh-cloud-pure);
    border-bottom: 1px solid var(--rh-gray-200);
    position: sticky;
    top: 0;
    z-index: 100;
}

.rh-header__inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--rh-space-lg);
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 76px;
}

/* Logo area */
.rh-logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    flex-shrink: 0;
}

.rh-logo a,
.rh-logo .custom-logo-link {
    display: flex;
    align-items: center;
}

.rh-logo img,
.rh-logo .custom-logo-link img,
.rh-logo .custom-logo,
.custom-logo {
    height: 48px !important;
    width: auto !important;
    max-height: 48px !important;
    max-width: 48px !important;
    object-fit: contain;
}

.rh-logo span {
    font-family: var(--rh-font-heading);
    font-size: 1.375rem;
    font-weight: 400;
    color: var(--rh-gray-800);
    letter-spacing: -0.01em;
}

/* Main nav list */
.rh-nav {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.rh-nav > li {
    position: relative;
}

.rh-nav > li > a {
    display: block;
    color: var(--rh-gray-600);
    font-family: var(--rh-font-body);
    font-size: 0.8125rem;
    font-weight: 500;
    letter-spacing: 0.02em;
    padding: 0.5rem 0.75rem;
    border-radius: var(--rh-radius-sm);
    transition: color var(--rh-transition), background-color var(--rh-transition);
    text-decoration: none;
}

.rh-nav > li > a:hover {
    color: var(--rh-terracotta);
    background-color: var(--rh-terracotta-bg);
}

.rh-nav > li > a.current {
    color: var(--rh-terracotta);
    position: relative;
}

/* Active page indicator — terracotta underline */
.rh-nav > li > a.current::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0.75rem;
    right: 0.75rem;
    height: 2px;
    background-color: var(--rh-terracotta);
    border-radius: 1px;
}

/* WCAG — visible focus outlines for keyboard navigation */
.rh-nav > li > a:focus-visible,
.rh-btn:focus-visible,
.rh-faq-toggle:focus-visible,
.rh-studio-card-rich:focus-visible,
.rh-menu-toggle:focus-visible {
    outline: 2px solid var(--rh-terracotta);
    outline-offset: 2px;
}

/* Remove default outline for mouse clicks */
.rh-nav > li > a:focus:not(:focus-visible),
.rh-btn:focus:not(:focus-visible) {
    outline: none;
}

/* Dropdown active item */
.rh-nav__dropdown-menu li a.current {
    color: var(--rh-terracotta);
    background-color: var(--rh-terracotta-bg);
}

/* CTA button in nav — slimmer, sits inline */
.rh-nav__cta {
    margin-left: var(--rh-space-xs);
}

.rh-nav__cta .rh-btn {
    padding: 0.5rem 1.25rem;
    font-size: 0.8125rem;
}

/* Dropdown container */
.rh-nav__dropdown {
    position: relative;
}

/* Dropdown toggle — add a small arrow indicator */
.rh-nav__dropdown-toggle::after {
    content: '';
    display: inline-block;
    width: 0;
    height: 0;
    margin-left: 5px;
    vertical-align: middle;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 4px solid currentColor;
}

/* Dropdown menu — hidden by default, appears on hover */
.rh-nav__dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 200px;
    background: var(--rh-cloud-pure);
    border: 1px solid var(--rh-gray-200);
    border-radius: var(--rh-radius-md);
    box-shadow: var(--rh-shadow-lg);
    padding: 0.5rem 0;
    list-style: none;
    z-index: 200;
}

/* Invisible bridge so hover doesn't break between toggle and menu */
.rh-nav__dropdown-menu::before {
    content: '';
    position: absolute;
    top: -12px;
    left: 0;
    right: 0;
    height: 12px;
}

/* Show dropdown on hover */
.rh-nav__dropdown:hover .rh-nav__dropdown-menu {
    display: block;
}

/* Dropdown menu items */
.rh-nav__dropdown-menu li a {
    display: block;
    padding: 0.5rem 1rem;
    font-family: var(--rh-font-body);
    font-size: 0.8125rem;
    font-weight: 400;
    color: var(--rh-gray-600);
    text-decoration: none;
    transition: all var(--rh-transition);
}

.rh-nav__dropdown-menu li a:hover {
    color: var(--rh-terracotta);
    background-color: var(--rh-cloud);
}

/* Mobile hamburger */
.rh-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: var(--rh-space-sm);
}

.rh-menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background-color: var(--rh-gray-700);
    margin: 5px 0;
    transition: all var(--rh-transition);
    border-radius: 1px;
}

/* Mobile responsive nav */
@media (max-width: 768px) {
    .rh-menu-toggle {
        display: block;
    }

    .rh-nav {
        display: none;
        position: absolute;
        top: 76px;
        left: 0;
        right: 0;
        background: var(--rh-cloud-pure);
        flex-direction: column;
        padding: var(--rh-space-lg);
        border-bottom: 1px solid var(--rh-gray-200);
        box-shadow: var(--rh-shadow-lg);
        gap: 0;
    }

    .rh-nav.open {
        display: flex;
    }

    .rh-nav > li > a {
        padding: 0.75rem 0;
        font-size: 0.9375rem;
    }

    .rh-nav__cta {
        margin-left: 0;
        margin-top: var(--rh-space-sm);
    }

    .rh-nav__cta .rh-btn {
        width: 100%;
        text-align: center;
    }

    /* Mobile dropdown — no hover, show inline */
    .rh-nav__dropdown-menu {
        display: none;
        position: static;
        box-shadow: none;
        border: none;
        padding: 0 0 0 1rem;
        margin: 0;
        min-width: auto;
    }

    .rh-nav__dropdown.open .rh-nav__dropdown-menu {
        display: block;
    }

    .rh-nav__dropdown-menu li a {
        padding: 0.5rem 0;
    }
}

/* ============================================
   SECTIONS & LAYOUT
   Warm, organic background variations
   ============================================ */
.rh-section {
    padding: var(--rh-space-4xl) 0;
}

.rh-section--cloud {
    background-color: var(--rh-cloud);
}

.rh-section--barley {
    background-color: var(--rh-barley);
}

.rh-section--green-light {
    background-color: var(--rh-green-light);
}

.rh-section--peach {
    background-color: rgba(212, 150, 122, 0.08);
}

.rh-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--rh-space-lg);
}

.rh-section__header {
    text-align: center;
    margin-bottom: var(--rh-space-3xl);
}

.rh-section__subtitle {
    font-family: var(--rh-font-body);
    color: var(--rh-terracotta);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-bottom: var(--rh-space-sm);
}

/* ============================================
   CARDS (Studios, Services, Instructors)
   Warm-toned with soft shadows
   ============================================ */
.rh-card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--rh-space-xl);
}

.rh-card {
    background: var(--rh-cloud-pure);
    border-radius: var(--rh-radius-lg);
    overflow: hidden;
    border: 1px solid var(--rh-gray-200);
    transition: all var(--rh-transition);
}

.rh-card:hover {
    box-shadow: var(--rh-shadow-lg);
    transform: translateY(-2px);
}

.rh-card__image {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.rh-card__body {
    padding: var(--rh-space-xl);
}

.rh-card__title {
    font-family: var(--rh-font-heading);
    font-size: 1.375rem;
    margin-bottom: var(--rh-space-sm);
}

.rh-card__text {
    font-size: 0.9375rem;
    color: var(--rh-gray-500);
}

/* Studio selector cards (homepage) */
.rh-studio-card {
    text-align: center;
    padding: var(--rh-space-3xl) var(--rh-space-xl);
    background: var(--rh-cloud-pure);
    border-radius: var(--rh-radius-xl);
    border: 1px solid var(--rh-gray-200);
    transition: all var(--rh-transition);
    text-decoration: none;
    display: block;
}

.rh-studio-card:hover {
    border-color: var(--rh-pale-peach);
    box-shadow: var(--rh-shadow-lg);
    transform: translateY(-4px);
}

.rh-studio-card__name {
    font-family: var(--rh-font-heading);
    font-size: 1.75rem;
    font-weight: 400;
    color: var(--rh-gray-800);
    margin-bottom: var(--rh-space-sm);
}

.rh-studio-card__location {
    color: var(--rh-gray-400);
    font-size: 0.9375rem;
    letter-spacing: 0.02em;
}

.rh-studio-card__badge {
    display: inline-block;
    background-color: var(--rh-green-light);
    color: var(--rh-green-dark);
    font-size: 0.6875rem;
    font-weight: 600;
    padding: 0.25rem 0.75rem;
    border-radius: var(--rh-radius-full);
    margin-bottom: var(--rh-space-lg);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

/* ============================================
   HERO
   Warm cloud background, elegant serif heading
   ============================================ */
.rh-hero {
    padding: var(--rh-space-4xl) 0;
    text-align: center;
    background-color: var(--rh-cloud);
    min-height: 60vh;
    display: flex;
    align-items: center;
}

.rh-hero h1 {
    margin-bottom: var(--rh-space-md);
    color: var(--rh-gray-800);
}

.rh-hero p {
    font-size: 1.125rem;
    color: var(--rh-gray-500);
    max-width: 560px;
    margin: 0 auto var(--rh-space-xl);
    line-height: 1.7;
}

.rh-hero__actions {
    display: flex;
    gap: var(--rh-space-md);
    justify-content: center;
    flex-wrap: wrap;
}

/* ============================================
   PRICING
   Clean cards with warm accent on featured tier
   ============================================ */
.rh-pricing-card {
    background: var(--rh-cloud-pure);
    border: 1px solid var(--rh-gray-200);
    border-radius: var(--rh-radius-lg);
    padding: var(--rh-space-2xl);
    text-align: center;
    transition: all var(--rh-transition);
}

.rh-pricing-card:hover {
    box-shadow: var(--rh-shadow-md);
}

.rh-pricing-card--featured {
    border-color: var(--rh-terracotta);
    background: linear-gradient(180deg, var(--rh-terracotta-bg) 0%, var(--rh-cloud-pure) 100%);
    position: relative;
}

.rh-pricing-card__price {
    font-family: var(--rh-font-heading);
    font-size: 2.75rem;
    font-weight: 400;
    color: var(--rh-gray-800);
}

.rh-pricing-card__period {
    font-size: 0.875rem;
    color: var(--rh-gray-400);
    letter-spacing: 0.02em;
}

/* Pricing tab buttons */
.rh-price-tab {
    font-family: var(--rh-font-body);
    font-size: 0.8125rem;
    font-weight: 500;
    padding: 0.5rem 1.25rem;
    border: 1px solid var(--rh-gray-300);
    border-radius: var(--rh-radius-full);
    background: transparent;
    color: var(--rh-gray-500);
    cursor: pointer;
    transition: all var(--rh-transition);
}

.rh-price-tab:hover {
    border-color: var(--rh-terracotta);
    color: var(--rh-terracotta);
}

.rh-price-tab.active {
    background: var(--rh-terracotta);
    border-color: var(--rh-terracotta);
    color: var(--rh-white);
}

/* Pricing tab panels — hidden by default */
.rh-price-panel {
    display: none;
}

.rh-price-panel.active {
    display: block;
}

/* ============================================
   TESTIMONIALS
   Warm background, elegant italic quote
   ============================================ */
.rh-testimonial {
    background: var(--rh-cloud-pure);
    border-radius: var(--rh-radius-lg);
    padding: var(--rh-space-2xl);
    border: 1px solid var(--rh-gray-200);
}

.rh-testimonial__quote {
    font-family: var(--rh-font-heading);
    font-size: 1.0625rem;
    line-height: 1.7;
    color: var(--rh-gray-600);
    font-style: italic;
    margin-bottom: var(--rh-space-lg);
}

.rh-testimonial__author {
    font-family: var(--rh-font-body);
    font-weight: 600;
    color: var(--rh-gray-700);
    font-size: 0.9375rem;
}

.rh-testimonial__role {
    color: var(--rh-toasted-almond);
    font-size: 0.8125rem;
    letter-spacing: 0.02em;
}

/* ============================================
   INSTRUCTOR CARDS
   Warm, personal — circular photos
   ============================================ */
.rh-instructor {
    text-align: center;
}

.rh-instructor__photo {
    width: 160px;
    height: 160px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto var(--rh-space-lg);
    border: 3px solid var(--rh-terracotta-bg);
}

.rh-instructor__name {
    font-family: var(--rh-font-heading);
    font-size: 1.25rem;
    font-weight: 400;
    margin-bottom: var(--rh-space-xs);
}

.rh-instructor__title {
    color: var(--rh-toasted-almond);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

/* ============================================
   FOOTER
   Dark warm tone, clean layout
   ============================================ */
.rh-footer {
    background-color: var(--rh-gray-800);
    color: var(--rh-gray-300);
    padding: var(--rh-space-3xl) 0 var(--rh-space-xl);
}

.rh-footer__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--rh-space-2xl);
    margin-bottom: var(--rh-space-2xl);
}

.rh-footer__heading {
    color: var(--rh-barley);
    font-family: var(--rh-font-body);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: var(--rh-space-md);
}

.rh-footer a {
    color: var(--rh-gray-400);
    font-size: 0.9375rem;
}

.rh-footer a:hover {
    color: var(--rh-pale-peach-light);
}

.rh-footer__bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: var(--rh-space-xl);
    text-align: center;
    font-size: 0.8125rem;
    color: var(--rh-gray-500);
}

/* ============================================
   CONTACT FORM
   Warm-toned inputs with peach focus ring
   ============================================ */
.rh-form input[type="text"],
.rh-form input[type="email"],
.rh-form textarea,
.rh-form select {
    width: 100%;
    padding: 0.75rem 1rem;
    font-family: var(--rh-font-body);
    font-size: 0.9375rem;
    border: 1px solid var(--rh-gray-300);
    border-radius: var(--rh-radius-md);
    background: var(--rh-cloud-pure);
    transition: border-color var(--rh-transition);
    margin-bottom: var(--rh-space-md);
}

.rh-form input:focus,
.rh-form textarea:focus {
    outline: none;
    border-color: var(--rh-pale-peach);
    box-shadow: 0 0 0 3px rgba(212, 150, 122, 0.12);
}

/* ============================================
   SCROLLING TICKER BANNER
   Continuous scroll of offers/promotions
   Each item links to relevant page
   ============================================ */
.rh-ticker {
    background-color: var(--rh-green-light);
    overflow: hidden;
    white-space: nowrap;
    position: relative;
}

.rh-ticker__track {
    display: inline-flex;
    animation: ticker-scroll 30s linear infinite;
}

.rh-ticker__item {
    display: inline-flex;
    align-items: center;
    padding: 0.5rem 2.5rem;
    font-family: var(--rh-font-body);
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--rh-green-dark);
    text-decoration: none;
    white-space: nowrap;
    transition: color 0.2s;
}

.rh-ticker__item:hover {
    color: var(--rh-terracotta);
}

/* Separator dot between items */
.rh-ticker__item::after {
    content: '·';
    margin-left: 2.5rem;
    color: var(--rh-green);
    font-weight: 700;
}

@keyframes ticker-scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* Pause on hover so users can read/click */
.rh-ticker:hover .rh-ticker__track {
    animation-play-state: paused;
}

/* ============================================
   UTILITIES
   ============================================ */
.rh-text-center { text-align: center; }
.rh-text-green { color: var(--rh-green); }
.rh-text-peach { color: var(--rh-pale-peach); }
.rh-text-almond { color: var(--rh-toasted-almond); }
.rh-bg-cloud { background-color: var(--rh-cloud); }
.rh-bg-barley { background-color: var(--rh-barley); }
.rh-bg-green-light { background-color: var(--rh-green-light); }
.rh-mt-sm { margin-top: var(--rh-space-sm); }
.rh-mt-md { margin-top: var(--rh-space-md); }
.rh-mt-lg { margin-top: var(--rh-space-lg); }
.rh-mb-lg { margin-bottom: var(--rh-space-lg); }
.rh-sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

/* ============================================
   SCROLL ANIMATIONS
   Elements start invisible and fade up when
   they enter the viewport
   ============================================ */
.rh-animate {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.rh-animate.rh-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger children for grid items */
.rh-animate:nth-child(2) { transition-delay: 0.1s; }
.rh-animate:nth-child(3) { transition-delay: 0.2s; }
.rh-animate:nth-child(4) { transition-delay: 0.3s; }
.rh-animate:nth-child(5) { transition-delay: 0.4s; }
.rh-animate:nth-child(6) { transition-delay: 0.5s; }

/* ============================================
   HOMEPAGE HERO
   Light, warm cloud background — matches poster's
   airy, organic aesthetic. Overlay only needed if
   using a photo background.
   ============================================ */
.rh-home-hero {
    position: relative;
    min-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    /* Light cloud gradient — replace with real studio photo:
       background-image: url('../images/hero.jpg'); */
    background: linear-gradient(160deg, var(--rh-cloud) 0%, var(--rh-barley) 50%, var(--rh-cloud) 100%);
    background-size: cover;
    background-position: center;
    overflow: hidden;
}

/* Subtle organic shape decorations via pseudo-elements */
.rh-home-hero::before {
    content: '';
    position: absolute;
    top: -10%;
    right: -8%;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(160, 102, 74, 0.1), transparent 70%);
    pointer-events: none;
}

.rh-home-hero::after {
    content: '';
    position: absolute;
    bottom: -12%;
    left: -5%;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(143, 168, 126, 0.08), transparent 70%);
    pointer-events: none;
}

.rh-home-hero__overlay {
    position: absolute;
    inset: 0;
    /* Light overlay — only visible when using a photo background */
    background: rgba(253, 251, 248, 0.3);
    z-index: 1;
}

.rh-home-hero__content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 2rem;
    max-width: 750px;
}

.rh-home-hero__heading {
    color: var(--rh-gray-800);
    font-size: clamp(2.5rem, 5.5vw, 4rem);
    font-weight: 400;
    line-height: 1.1;
    margin-bottom: 1.25rem;
    letter-spacing: -0.02em;
}

.rh-home-hero__sub {
    color: var(--rh-gray-500);
    font-size: 1.125rem;
    line-height: 1.7;
    max-width: 520px;
    margin: 0 auto 2rem;
}

.rh-home-hero__actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* ============================================
   STUDIO SELECTOR CARDS (rich version)
   Image + text card with hover lift
   ============================================ */
.rh-studio-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 2.5rem;
}

.rh-studio-card-rich {
    display: block;
    text-decoration: none;
    border-radius: var(--rh-radius-xl);
    overflow: hidden;
    background: var(--rh-cloud-pure);
    border: 1px solid var(--rh-gray-200);
    transition: all 0.3s ease;
}

.rh-studio-card-rich:hover {
    transform: translateY(-6px);
    box-shadow: var(--rh-shadow-lg);
    border-color: var(--rh-terracotta);
}

.rh-studio-card-rich__image {
    height: 240px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.rh-studio-card-rich__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.rh-studio-card-rich:hover .rh-studio-card-rich__image img {
    transform: scale(1.05);
}

.rh-studio-card-rich__body {
    padding: 1.75rem;
}

.rh-studio-card-rich__name {
    font-family: var(--rh-font-heading);
    font-size: 1.5rem;
    font-weight: 400;
    color: var(--rh-gray-800);
    margin-bottom: 0.375rem;
}

.rh-studio-card-rich__addr {
    font-size: 0.875rem;
    color: var(--rh-gray-400);
    margin-bottom: 1rem;
    line-height: 1.5;
}

.rh-studio-card-rich__link {
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--rh-terracotta);
    letter-spacing: 0.02em;
    transition: color var(--rh-transition);
}

.rh-studio-card-rich:hover .rh-studio-card-rich__link {
    color: var(--rh-terracotta-light);
}

@media (max-width: 768px) {
    .rh-studio-grid {
        grid-template-columns: 1fr;
    }
}

/* ============================================
   SPLIT LAYOUT (Image + Text side by side)
   ============================================ */
.rh-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.rh-split--reverse {
    direction: rtl;
}

.rh-split--reverse > * {
    direction: ltr;
}

.rh-split__image {
    border-radius: var(--rh-radius-lg);
    overflow: hidden;
}

.rh-split__image img {
    width: 100%;
    height: auto;
    border-radius: var(--rh-radius-lg);
}

@media (max-width: 768px) {
    .rh-split,
    .rh-split--reverse {
        grid-template-columns: 1fr;
        gap: 2rem;
        direction: ltr;
    }
}

/* ============================================
   CLASS TYPES GRID
   ============================================ */
.rh-class-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 2.5rem;
}

.rh-class-card {
    border-radius: var(--rh-radius-lg);
    overflow: hidden;
    background: var(--rh-cloud-pure);
    border: 1px solid var(--rh-gray-200);
    transition: all 0.3s ease;
}

.rh-class-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--rh-shadow-md);
}

.rh-class-card__image {
    height: 180px;
    overflow: hidden;
}

.rh-class-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.rh-class-card:hover .rh-class-card__image img {
    transform: scale(1.05);
}

.rh-class-card__placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--rh-barley);
}

.rh-class-card__placeholder span {
    font-family: var(--rh-font-heading);
    font-size: 2.5rem;
    color: rgba(255, 255, 255, 0.5);
}

.rh-class-card__body {
    padding: 1.25rem 1.5rem;
}

.rh-class-card__body h3 {
    font-family: var(--rh-font-heading);
    font-size: 1.125rem;
    font-weight: 400;
    margin-bottom: 0.375rem;
}

.rh-class-card__body p {
    font-size: 0.875rem;
    color: var(--rh-gray-500);
    line-height: 1.5;
    margin: 0;
}

@media (max-width: 768px) {
    .rh-class-grid {
        grid-template-columns: 1fr;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .rh-class-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ============================================
   TESTIMONIAL HORIZONTAL SCROLL
   ============================================ */
.rh-testimonial-scroll {
    display: flex;
    gap: 1.5rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 1rem;
    -webkit-overflow-scrolling: touch;
}

/* Hide scrollbar but keep functionality */
.rh-testimonial-scroll::-webkit-scrollbar {
    height: 4px;
}

.rh-testimonial-scroll::-webkit-scrollbar-track {
    background: var(--rh-gray-100);
    border-radius: 2px;
}

.rh-testimonial-scroll::-webkit-scrollbar-thumb {
    background: var(--rh-barley-dark);
    border-radius: 2px;
}

.rh-testimonial-scroll__item {
    flex: 0 0 340px;
    scroll-snap-align: start;
    background: var(--rh-cloud);
    border-radius: var(--rh-radius-lg);
    padding: 2rem;
    border: 1px solid var(--rh-gray-200);
}

/* ============================================
   HOMEPAGE BOTTOM CTA
   Warm terracotta gradient — matches poster's
   green CTA bar but warmer
   ============================================ */
.rh-home-cta {
    position: relative;
    padding: 5rem 0;
    /* Replace with real photo:
       background-image: url('../images/cta-bg.jpg'); */
    background: linear-gradient(135deg, var(--rh-terracotta) 0%, #8B5535 100%);
    background-size: cover;
    background-position: center;
    overflow: hidden;
}

.rh-home-cta::before {
    content: '';
    position: absolute;
    top: -30%;
    right: -15%;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    pointer-events: none;
}

.rh-home-cta__overlay {
    position: absolute;
    inset: 0;
    background: rgba(160, 102, 74, 0.15);
    z-index: 1;
}

/* ============================================
   FAQ ACCORDION
   ============================================ */
.rh-faq-list {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.rh-faq-item {
    border-bottom: 1px solid var(--rh-gray-200);
}

.rh-faq-toggle {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.25rem 0;
    background: none;
    border: none;
    cursor: pointer;
    font-family: var(--rh-font-body);
    font-size: 1rem;
    font-weight: 500;
    color: var(--rh-gray-700);
    text-align: left;
    gap: 1rem;
    transition: color var(--rh-transition);
}

.rh-faq-toggle:hover {
    color: var(--rh-white);
    background-color: var(--rh-green);
    border-radius: var(--rh-radius-md);
    padding-left: 1rem;
    padding-right: 1rem;
}

.rh-faq-toggle:hover .rh-faq-icon {
    color: var(--rh-white);
}

.rh-faq-icon {
    flex-shrink: 0;
    transition: transform 0.3s ease;
    color: var(--rh-gray-400);
}

.rh-faq-item.open .rh-faq-icon {
    transform: rotate(180deg);
}

.rh-faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.rh-faq-item.open .rh-faq-answer {
    max-height: 300px;
    padding-bottom: 1.25rem;
}

.rh-faq-answer p {
    font-size: 0.9375rem;
    color: var(--rh-gray-500);
    line-height: 1.7;
    margin: 0;
}

/* ============================================
   LEGAL CONTENT (Terms, Privacy, etc.)
   ============================================ */
.rh-legal-content {
    color: var(--rh-gray-600);
    line-height: 1.8;
    font-size: 0.9375rem;
}

.rh-legal-content h2,
.rh-legal-content h3 {
    margin-top: 2rem;
    margin-bottom: 0.75rem;
    color: var(--rh-gray-700);
}

.rh-legal-content h2 {
    font-size: 1.375rem;
}

.rh-legal-content h3 {
    font-size: 1.125rem;
}

.rh-legal-content p {
    margin-bottom: 1rem;
}

.rh-legal-content ul,
.rh-legal-content ol {
    padding-left: 1.5rem;
    margin-bottom: 1rem;
}

.rh-legal-content li {
    margin-bottom: 0.5rem;
}

/* ============================================
   RESPONSIVE / MOBILE PASS
   Comprehensive mobile fixes for all templates
   ============================================ */

/* --- Global mobile adjustments --- */
@media (max-width: 768px) {
    /* Reduce section padding on mobile */
    .rh-section {
        padding: 3rem 0;
    }

    .rh-container {
        padding: 0 1.25rem;
    }

    /* Tighten heading sizes */
    h1 { font-size: 1.875rem; }
    h2 { font-size: 1.5rem; }
    h3 { font-size: 1.25rem; }

    /* Stack buttons vertically on mobile */
    .rh-home-hero__actions,
    .rh-hero__actions {
        flex-direction: column;
        align-items: center;
    }

    .rh-home-hero__actions .rh-btn,
    .rh-hero__actions .rh-btn {
        width: 100%;
        max-width: 280px;
    }
}

/* --- Location bar mobile --- */
@media (max-width: 768px) {
    .rh-location-bar__inner {
        flex-wrap: wrap;
        gap: 0.375rem;
        font-size: 0.75rem;
    }

    .rh-location-bar__label {
        width: 100%;
        text-align: center;
        font-size: 0.6875rem;
    }

    .rh-location-bar__link {
        padding: 0.2rem 0.5rem;
        font-size: 0.75rem;
    }

    /* Login link on mobile */
    .rh-location-bar__inner > span[style*="margin-left: auto"] {
        width: 100%;
        text-align: center;
        margin-left: 0 !important;
    }
}

/* --- Header mobile --- */
@media (max-width: 768px) {
    .rh-header__inner {
        height: 64px;
    }

    .rh-logo span {
        font-size: 1.125rem;
    }

    .rh-logo img {
        height: 36px;
    }
}

/* --- Hero mobile --- */
@media (max-width: 768px) {
    .rh-home-hero {
        min-height: 70vh;
        padding: 2rem 0;
    }

    .rh-home-hero__heading {
        font-size: 2.25rem;
        line-height: 1.15;
    }

    .rh-home-hero__sub {
        font-size: 1rem;
    }

    .rh-home-hero__content {
        padding: 1.5rem;
    }
}

/* --- Card grids mobile --- */
@media (max-width: 768px) {
    .rh-card-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .rh-card__image {
        height: 180px;
    }
}

/* --- Pricing cards mobile --- */
@media (max-width: 768px) {
    .rh-pricing-card {
        padding: 1.5rem;
    }

    .rh-pricing-card__price {
        font-size: 2rem;
    }

    /* Price tabs scroll horizontally on mobile */
    div[style*="display: flex"][style*="justify-content: center"][style*="flex-wrap: wrap"] {
        flex-wrap: nowrap !important;
        overflow-x: auto;
        justify-content: flex-start !important;
        padding-bottom: 0.5rem;
        -webkit-overflow-scrolling: touch;
    }
}

/* --- Instructor grid mobile --- */
@media (max-width: 768px) {
    .rh-instructor__photo {
        width: 120px;
        height: 120px;
    }
}

/* --- Testimonial scroll mobile --- */
@media (max-width: 768px) {
    .rh-testimonial-scroll__item {
        flex: 0 0 280px;
        padding: 1.5rem;
    }

    .rh-testimonial__quote {
        font-size: 0.9375rem;
    }
}

/* --- Contact page mobile --- */
@media (max-width: 768px) {
    /* Map iframe */
    iframe[title*="Map"] {
        height: 220px !important;
    }
}

/* --- Booking page mobile --- */
@media (max-width: 768px) {
    /* MindBody iframe */
    iframe[title*="Timetable"] {
        height: 450px !important;
    }
}

/* --- FAQ mobile --- */
@media (max-width: 768px) {
    .rh-faq-toggle {
        padding: 1rem 0;
        font-size: 0.9375rem;
    }

    .rh-faq-toggle:hover {
        padding-left: 0.75rem;
        padding-right: 0.75rem;
    }
}

/* --- Footer mobile --- */
@media (max-width: 768px) {
    .rh-footer {
        padding: 2.5rem 0 1.5rem;
    }

    .rh-footer__grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .rh-footer__bottom {
        font-size: 0.75rem;
    }
}

/* --- New to Reformer cards mobile --- */
@media (max-width: 768px) {
    .rh-pricing-card h3 {
        font-size: 1.125rem;
    }
}

/* --- Bottom CTA mobile --- */
@media (max-width: 768px) {
    .rh-home-cta {
        padding: 3.5rem 0;
    }
}

/* --- Small screen tweaks (375px and below) --- */
@media (max-width: 375px) {
    h1 { font-size: 1.625rem; }
    h2 { font-size: 1.375rem; }

    .rh-home-hero__heading {
        font-size: 1.875rem;
    }

    .rh-btn {
        padding: 0.7rem 1.5rem;
        font-size: 0.8125rem;
    }

    .rh-container {
        padding: 0 1rem;
    }
}

/* --- Tablet tweaks (769px - 1024px) --- */
@media (min-width: 769px) and (max-width: 1024px) {
    .rh-split {
        gap: 2.5rem;
    }

    .rh-studio-grid {
        gap: 1.25rem;
    }

    .rh-card-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .rh-home-hero__heading {
        font-size: 3rem;
    }
}

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

/* Skip to content link — visible on focus */
a[href="#main-content"]:focus {
    top: 0 !important;
    position: fixed !important;
}

/* Ensure minimum touch target size (44x44px) */
@media (max-width: 768px) {
    .rh-nav > li > a,
    .rh-faq-toggle,
    .rh-location-bar__link {
        min-height: 44px;
        display: flex;
        align-items: center;
    }
}

/* Reduced motion preference */
@media (prefers-reduced-motion: reduce) {
    .rh-animate,
    .fade-up {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }

    .rh-studio-card-rich:hover,
    .rh-class-card:hover,
    .rh-card:hover,
    .rh-pricing-card:hover {
        transform: none !important;
    }

    .rh-studio-card-rich:hover .rh-studio-card-rich__image img,
    .rh-class-card:hover .rh-class-card__image img {
        transform: none !important;
    }
}

/* High contrast mode support */
@media (forced-colors: active) {
    .rh-btn {
        border: 1px solid ButtonText;
    }

    .rh-nav > li > a.current::after {
        background: LinkText;
    }
}

/* ============================================
   STUDIO GALLERY
   Masonry-style grid with lightbox hover effect
   ============================================ */
.rh-gallery {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.75rem;
}

.rh-gallery__item {
    display: block;
    border-radius: var(--rh-radius-md);
    overflow: hidden;
    aspect-ratio: 1;
    position: relative;
}

/* Make first and last items span 2 columns for visual interest */
.rh-gallery__item:first-child {
    grid-column: span 2;
    grid-row: span 2;
    aspect-ratio: auto;
}

.rh-gallery__item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.rh-gallery__item:hover img {
    transform: scale(1.05);
}

.rh-gallery__item::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0);
    transition: background 0.3s ease;
}

.rh-gallery__item:hover::after {
    background: rgba(0, 0, 0, 0.1);
}

@media (max-width: 768px) {
    .rh-gallery {
        grid-template-columns: repeat(2, 1fr);
    }

    .rh-gallery__item:first-child {
        grid-column: span 2;
        grid-row: span 1;
        aspect-ratio: 16/9;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .rh-gallery {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* ============================================
   OFFER BANNER
   Slim peach bar below header for active offers
   ============================================ */
/* ============================================
   OFFER BANNER
   Slim animated bar below header for active offers
   - Breathing terracotta → peach gradient
   - Left accent stripe for visual anchor
   - Pulsing CTA to draw the eye
   ============================================ */
.rh-offer-banner {
    position: relative;
    color: var(--rh-white);
    padding: 0.7rem var(--rh-space-lg);
    z-index: 99;
    overflow: hidden;
    /* Animated gradient — slowly breathes across the bar */
    background: linear-gradient(
        90deg,
        var(--rh-terracotta) 0%,
        var(--rh-peach) 35%,
        var(--rh-terracotta-light) 50%,
        var(--rh-peach) 65%,
        var(--rh-terracotta) 100%
    );
    background-size: 200% 100%;
    animation: rh-banner-breathe 12s ease-in-out infinite;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

/* Left accent stripe — anchors the eye, gives the bar structure */
.rh-offer-banner::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: 4px;
    background: var(--rh-peach-light);
    opacity: 0.85;
}

/* Subtle diagonal texture overlay — adds depth without noise */
.rh-offer-banner::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: repeating-linear-gradient(
        45deg,
        rgba(255, 255, 255, 0.04) 0,
        rgba(255, 255, 255, 0.04) 1px,
        transparent 1px,
        transparent 12px
    );
    pointer-events: none;
}

@keyframes rh-banner-breathe {
    0%, 100% { background-position: 0% 50%; }
    50%      { background-position: 100% 50%; }
}

.rh-offer-banner__inner {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.25rem;
    flex-wrap: wrap;
}

.rh-offer-banner__text {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.875rem;
    flex-wrap: wrap;
    justify-content: center;
}

/* Headline — bolder, slightly bigger, tracked for impact */
.rh-offer-banner__text strong {
    font-family: var(--rh-font-body);
    font-weight: 600;
    font-size: 0.9375rem;
    letter-spacing: 0.01em;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.08);
}

/* Vertical separator between headline and subtext */
.rh-offer-banner__text strong + span::before {
    content: '';
    display: inline-block;
    width: 1px;
    height: 14px;
    background: rgba(255, 255, 255, 0.45);
    margin-right: 0.75rem;
    vertical-align: middle;
}

/* Subtext — lighter weight, clear hierarchy */
.rh-offer-banner__text span {
    opacity: 0.92;
    font-size: 0.8125rem;
    font-weight: 400;
}

/* CTA button — gently pulsing to draw the eye */
.rh-offer-banner__cta {
    position: relative;
    background: rgba(255, 255, 255, 0.22);
    color: var(--rh-white);
    border: 1px solid rgba(255, 255, 255, 0.55);
    border-radius: var(--rh-radius-full);
    padding: 0.4rem 1.15rem;
    font-size: 0.75rem;
    font-weight: 600;
    font-family: var(--rh-font-body);
    letter-spacing: 0.06em;
    text-transform: uppercase;
    text-decoration: none;
    white-space: nowrap;
    transition: all var(--rh-transition);
    animation: rh-cta-pulse 2.4s ease-in-out infinite;
    backdrop-filter: blur(2px);
}

.rh-offer-banner__cta:hover {
    background: var(--rh-white);
    color: var(--rh-terracotta);
    border-color: var(--rh-white);
    transform: translateY(-1px);
    animation-play-state: paused;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

@keyframes rh-cta-pulse {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.45);
    }
    50% {
        box-shadow: 0 0 0 6px rgba(255, 255, 255, 0);
    }
}

/* Respect reduced-motion preference */
@media (prefers-reduced-motion: reduce) {
    .rh-offer-banner {
        animation: none;
    }
    .rh-offer-banner__cta {
        animation: none;
    }
}

@media (max-width: 768px) {
    .rh-offer-banner {
        padding: 0.65rem 1rem;
    }

    .rh-offer-banner__inner {
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
    }

    /* Hide vertical separator on mobile (stacks vertically) */
    .rh-offer-banner__text strong + span::before {
        display: none;
    }
}

/* ============================================
   PROMO MODAL
   Popup for events, retreats, big announcements
   ============================================ */
.rh-promo-modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 1000;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.rh-promo-modal.active {
    display: flex;
}

.rh-promo-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(26, 25, 23, 0.6);
    backdrop-filter: blur(2px);
}

.rh-promo-modal__card {
    position: relative;
    z-index: 1;
    background: var(--rh-cloud-pure);
    border-radius: var(--rh-radius-xl);
    max-width: 480px;
    width: 100%;
    overflow: hidden;
    box-shadow: 0 24px 64px rgba(26, 25, 23, 0.25);
    animation: rh-modal-in 0.35s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

@keyframes rh-modal-in {
    from { opacity: 0; transform: scale(0.92) translateY(16px); }
    to   { opacity: 1; transform: scale(1) translateY(0); }
}

.rh-promo-modal__close {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    z-index: 2;
    background: rgba(255, 255, 255, 0.85);
    border: none;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    cursor: pointer;
    color: var(--rh-gray-600);
    transition: all var(--rh-transition);
    box-shadow: var(--rh-shadow-sm);
}

.rh-promo-modal__close:hover {
    background: var(--rh-white);
    color: var(--rh-gray-800);
}

.rh-promo-modal__image {
    width: 100%;
    max-height: 280px;
    overflow: hidden;
}

.rh-promo-modal__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.rh-promo-modal__body {
    padding: 1.75rem 2rem 2rem;
    text-align: center;
}

.rh-promo-modal__body h3 {
    font-family: var(--rh-font-heading);
    font-size: 1.375rem;
    font-weight: 600;
    color: var(--rh-gray-800);
    margin-bottom: 0.5rem;
}

.rh-promo-modal__body p {
    font-size: 0.9375rem;
    color: var(--rh-gray-500);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.rh-promo-modal__body .rh-btn {
    width: 100%;
}

.rh-promo-modal__later {
    display: block;
    width: 100%;
    background: none;
    border: none;
    color: var(--rh-gray-400);
    font-family: var(--rh-font-body);
    font-size: 0.8125rem;
    cursor: pointer;
    margin-top: 0.875rem;
    padding: 0;
    transition: color var(--rh-transition);
}

.rh-promo-modal__later:hover {
    color: var(--rh-gray-600);
}

@media (max-width: 480px) {
    .rh-promo-modal__card {
        max-width: 100%;
        border-radius: var(--rh-radius-lg);
    }

    .rh-promo-modal__body {
        padding: 1.25rem 1.5rem 1.5rem;
    }
}

/* ============================================
   CLICKABLE CLASS CARDS
   Terracotta border + cursor pointer when <a>
   ============================================ */
a.rh-class-card {
    display: block;
    text-decoration: none;
    cursor: pointer;
}

a.rh-class-card:hover {
    border-color: var(--rh-terracotta);
    box-shadow: 0 0 0 2px var(--rh-terracotta), var(--rh-shadow-md);
    transform: translateY(-3px);
}

a.rh-class-card .rh-class-card__body h3 {
    transition: color var(--rh-transition);
}

a.rh-class-card:hover .rh-class-card__body h3 {
    color: var(--rh-terracotta);
}