/* ==========================================================================
   Rainbow Babies & Kids - Design System
   ========================================================================== */

:root {
    --rb-purple:        #8A6DB0;
    --rb-purple-dark:   #5C4A7E;
    --rb-purple-light:  #A68CC8;
    --rb-purple-muted:  #7A6E90;

    --rb-pink:          #EB138E;
    --rb-pink-dark:     #C80F78;
    --rb-blue:          #1282C5;
    --rb-blue-light:    #2AACE2;
    --rb-yellow:        #FEDA00;
    --rb-green:         #48B84D;

    --rb-white:         #FFFFFF;
    --rb-off-white:     #F7F5FA;
    --rb-light-grey:    #F0EDF4;
    --rb-grey:          #D9D9D9;
    --rb-dark:          #2A2540;

    --font-heading:     'Comic Sans MS', 'Comic Sans', cursive;
    --font-display:     'Comic Sans MS', 'Comic Sans', cursive;
    --font-handwritten: 'Comic Sans MS', 'Comic Sans', cursive;
    --font-body:        'Poppins', -apple-system, BlinkMacSystemFont, sans-serif;

    --section-padding:  80px 0;
    --container-width:  1200px;

    --radius-sm:        8px;
    --radius-md:        16px;
    --radius-lg:        24px;
    --radius-full:      9999px;

    --shadow-card:      0 4px 20px rgba(58, 53, 80, 0.1);
    --shadow-elevated:  0 8px 32px rgba(58, 53, 80, 0.15);
}


/* ==========================================================================
   Reset & Base
   ========================================================================== */

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

html {
    overflow-x: hidden;
}

body {
    margin: 0;
    font-family: var(--font-body);
    color: var(--rb-purple-muted);
    line-height: 1.7;
    background-color: var(--rb-white);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--rb-purple-dark);
    font-weight: 700;
    margin-top: 0;
}

p {
    color: var(--rb-purple-muted);
    font-size: 16px;
    line-height: 1.7;
}

a {
    color: var(--rb-pink);
    transition: color 0.3s ease;
    text-decoration: none;
}

a:hover {
    color: var(--rb-purple);
}

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

ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.rb-container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}


/* ==========================================================================
   Top Info Bar
   ========================================================================== */

.rb-top-bar {
    background-color: var(--rb-purple);
    padding: 0;
    font-size: 13px;
    font-weight: 400;
    color: var(--rb-white);
    letter-spacing: 0.2px;
}

.rb-top-bar a {
    color: var(--rb-white);
    text-decoration: none;
    transition: color 0.25s ease;
}

.rb-top-bar a:hover {
    color: var(--rb-yellow);
}

.rb-top-bar-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 40px;
}

.rb-contact-info {
    display: flex;
    align-items: center;
    gap: 6px;
}

.rb-contact-info a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 0 14px;
    height: 40px;
    font-size: 13px;
    border-right: 1px solid rgba(255, 255, 255, 0.15);
}

.rb-contact-info a:first-child {
    padding-left: 0;
}

.rb-contact-info a:last-child {
    border-right: none;
}

.rb-contact-info i {
    font-size: 11px;
    opacity: 0.8;
}

.rb-social-links {
    display: flex;
    align-items: center;
    gap: 4px;
}

.rb-social-links span {
    font-size: 12px;
    opacity: 0.85;
    margin-right: 8px;
}

.rb-social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    font-size: 13px;
    transition: background 0.25s ease;
}

.rb-social-links a:hover {
    background: rgba(255, 255, 255, 0.25);
    color: var(--rb-white);
}


/* ==========================================================================
   Header & Navigation
   ========================================================================== */

.rb-header {
    background-color: var(--rb-white);
    box-shadow: 0 2px 16px rgba(58, 53, 80, 0.06);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(0, 0, 0, 0.04);
}

.rb-header-inner {
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

/* Logo */
.rb-logo {
    flex-shrink: 0;
}

.rb-site-title {
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 700;
    color: var(--rb-purple-dark);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    white-space: nowrap;
}

.rb-site-title:hover {
    color: var(--rb-purple);
}

.rb-logo img,
.rb-logo .custom-logo {
    max-height: 250px;
    width: auto;
}

/* Nav menu */
.rb-nav ul,
.rb-nav ul li {
    list-style: none !important;
    margin: 0;
    padding: 0;
}

.rb-nav .rb-menu {
    display: flex !important;
    align-items: center;
    gap: 2px;
}

.rb-nav .rb-menu li {
    position: relative;
}

.rb-nav .rb-menu li a {
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 500;
    color: var(--rb-purple-muted);
    padding: 8px 14px;
    display: inline-flex;
    align-items: center;
    border-radius: var(--radius-sm);
    transition: color 0.25s ease, background-color 0.25s ease;
    text-decoration: none;
    white-space: nowrap;
}

.rb-nav .rb-menu li a:hover {
    color: var(--rb-pink);
    background-color: rgba(235, 19, 142, 0.04);
}

.rb-nav .rb-menu li.current-menu-item > a,
.rb-nav .rb-menu li.current_page_item > a {
    color: var(--rb-pink);
    font-weight: 600;
}

/* Last item = CTA button */
.rb-nav .rb-menu li:last-child a {
    background-color: var(--rb-pink);
    color: var(--rb-white);
    border-radius: var(--radius-full);
    padding: 10px 26px;
    font-weight: 600;
    font-size: 14px;
    margin-left: 8px;
    box-shadow: 0 2px 8px rgba(235, 19, 142, 0.2);
    transition: all 0.25s ease;
}

.rb-nav .rb-menu li:last-child a:hover {
    background-color: var(--rb-pink-dark);
    color: var(--rb-white);
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(235, 19, 142, 0.3);
}

/* Submenu dropdown */
.rb-nav .rb-menu .sub-menu {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    background: var(--rb-white);
    box-shadow: 0 8px 30px rgba(58, 53, 80, 0.12);
    border-radius: var(--radius-md);
    min-width: 210px;
    z-index: 100;
    padding: 10px 0;
    border: 1px solid rgba(0, 0, 0, 0.04);
    opacity: 0;
    transform: translateY(4px);
    transition: opacity 0.2s ease, transform 0.2s ease;
    pointer-events: none;
}

.rb-nav .rb-menu li:hover > .sub-menu {
    display: block;
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.rb-nav .rb-menu .sub-menu li a {
    padding: 9px 22px;
    font-size: 14px;
    font-weight: 400;
    color: var(--rb-purple-muted);
    border-radius: 0;
    margin-left: 0;
    background: none;
    box-shadow: none;
}

.rb-nav .rb-menu .sub-menu li a:hover {
    color: var(--rb-pink);
    background-color: var(--rb-off-white);
}

/* Mobile hamburger */
.rb-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    flex-direction: column;
    gap: 5px;
    border-radius: var(--radius-sm);
    transition: background 0.2s ease;
}

.rb-menu-toggle:hover {
    background: var(--rb-off-white);
}

.rb-menu-toggle span {
    display: block;
    width: 24px;
    height: 2.5px;
    background-color: var(--rb-purple-dark);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.rb-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.rb-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.rb-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}


/* ==========================================================================
   Buttons
   ========================================================================== */

.rb-btn-pink {
    background-color: var(--rb-pink);
    color: var(--rb-white);
    border: none;
    border-radius: var(--radius-full);
    padding: 14px 32px;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.rb-btn-pink:hover {
    background-color: var(--rb-pink-dark);
    color: var(--rb-white);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(235, 19, 142, 0.3);
}

.rb-btn-outline {
    background-color: transparent;
    color: var(--rb-white);
    border: 2px solid var(--rb-white);
    border-radius: var(--radius-full);
    padding: 12px 30px;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.rb-btn-outline:hover {
    background-color: var(--rb-white);
    color: var(--rb-purple-dark);
}


/* ==========================================================================
   Hero Section
   ========================================================================== */

.rb-hero {
    padding: 60px 0 40px;
    background-color: var(--rb-white);
}

.rb-hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.rb-hero-content {
    padding-right: 20px;
}

.rb-hero h1 {
    font-size: 42px;
    line-height: 1.2;
    color: var(--rb-purple-dark);
    margin-bottom: 20px;
}

.rb-hero .rb-highlight {
    font-family: var(--font-handwritten);
    color: var(--rb-pink);
    font-size: 48px;
}

.rb-hero p {
    font-size: 16px;
    max-width: 480px;
    margin-bottom: 30px;
}

.rb-hero-actions {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-top: 10px;
    flex-wrap: wrap;
}

.rb-hero-image {
    position: relative;
}

.rb-hero-image img {
    width: 100%;
    border-radius: var(--radius-lg);
    object-fit: cover;
}

.rb-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: var(--rb-purple-muted);
}

.rb-hero-badge strong {
    font-size: 28px;
    color: var(--rb-purple);
    font-family: var(--font-heading);
}


/* ==========================================================================
   Stats Bar
   ========================================================================== */

.rb-stats-bar {
    background-color: var(--rb-purple);
    padding: 30px 0;
}

.rb-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    text-align: center;
}

.rb-stat-number {
    color: var(--rb-white);
    font-family: var(--font-heading);
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 2px;
}

.rb-stat-label {
    color: rgba(255, 255, 255, 0.8);
    font-size: 13px;
}


/* ==========================================================================
   Welcome Section
   ========================================================================== */

.rb-welcome {
    padding: var(--section-padding);
    background-color: var(--rb-white);
}

.rb-welcome h2 {
    font-size: 32px;
    color: var(--rb-purple-dark);
}

.rb-feature-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-top: 24px;
}

.rb-feature-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: var(--rb-purple-muted);
}

.rb-feature-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    flex-shrink: 0;
}

.rb-feature-dot.pink    { background-color: var(--rb-pink); }
.rb-feature-dot.blue    { background-color: var(--rb-blue); }
.rb-feature-dot.yellow  { background-color: var(--rb-yellow); }
.rb-feature-dot.green   { background-color: var(--rb-green); }

.rb-quote-box {
    background-color: var(--rb-yellow);
    border-radius: var(--radius-md);
    padding: 30px;
}

.rb-quote-box h4 {
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--rb-purple-dark);
    margin-bottom: 16px;
}

.rb-quote-box p {
    font-style: italic;
    color: var(--rb-purple-dark);
    font-size: 15px;
    line-height: 1.6;
}


/* ==========================================================================
   Section Headings & Labels
   ========================================================================== */

.rb-section-label {
    font-family: var(--font-body);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--rb-pink);
    margin-bottom: 8px;
}

.rb-section-heading-pink {
    font-family: var(--font-display);
    color: var(--rb-pink);
    font-size: 32px;
    text-transform: uppercase;
    letter-spacing: 3px;
    text-align: center;
    margin-bottom: 4px;
}

.rb-section-subheading {
    font-family: var(--font-heading);
    color: var(--rb-purple-dark);
    font-size: 28px;
    text-align: center;
    margin-bottom: 8px;
}

.rb-section-description {
    text-align: center;
    color: var(--rb-purple-muted);
    font-size: 15px;
    max-width: 600px;
    margin: 0 auto 40px;
}


/* ==========================================================================
   Branches Section
   ========================================================================== */

.rb-branches {
    padding: var(--section-padding);
    background-color: var(--rb-off-white);
}

.rb-branch-card {
    background: var(--rb-white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-card);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.rb-branch-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-elevated);
}

.rb-branch-image img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
}

.rb-branch-content {
    padding: 24px;
    text-align: center;
}

.rb-branch-label {
    display: inline-block;
    padding: 6px 22px;
    border-radius: var(--radius-full);
    color: var(--rb-white);
    font-weight: 600;
    font-size: 14px;
    margin: -36px auto 16px;
    position: relative;
    z-index: 2;
}

.rb-branch-label.pink  { background-color: var(--rb-pink); }
.rb-branch-label.green { background-color: var(--rb-green); }

.rb-branch-card h3 {
    font-size: 18px;
    margin-bottom: 10px;
}

.rb-branch-card p {
    font-size: 14px;
    line-height: 1.6;
}

.rb-branch-hours {
    font-size: 13px;
    color: var(--rb-purple-muted);
    margin-top: 12px;
}


/* ==========================================================================
   Extra Murals
   ========================================================================== */

.rb-extra-murals {
    padding: var(--section-padding);
    background-color: var(--rb-white);
}

.rb-activity-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    max-width: 700px;
    margin: 0 auto;
}

.rb-activity-pill {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px 20px;
    border: 2px solid var(--rb-purple-light);
    border-radius: var(--radius-full);
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 500;
    color: var(--rb-purple-dark);
    text-align: center;
    transition: all 0.3s ease;
    cursor: default;
}

.rb-activity-pill:hover {
    background-color: var(--rb-purple);
    border-color: var(--rb-purple);
    color: var(--rb-white);
    transform: translateY(-2px);
}


/* ==========================================================================
   Gallery
   ========================================================================== */

.rb-gallery {
    padding: var(--section-padding);
    background-color: var(--rb-light-grey);
}

.rb-gallery h2 {
    font-family: var(--font-heading);
    text-align: center;
    font-size: 32px;
    margin-bottom: 40px;
}

.rb-gallery-slider {
    position: relative;
    overflow: hidden;
}

.rb-gallery-track {
    display: flex;
    gap: 20px;
    transition: transform 0.5s ease;
}

.rb-gallery-slide {
    flex: 0 0 calc(33.333% - 14px);
}

.rb-gallery-slide img {
    width: 100%;
    height: 260px;
    object-fit: cover;
    border-radius: var(--radius-lg);
}

.rb-gallery-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 24px;
}

.rb-gallery-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: var(--rb-grey);
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease;
    padding: 0;
}

.rb-gallery-dot.active {
    background-color: var(--rb-purple);
}


/* ==========================================================================
   Team
   ========================================================================== */

.rb-team {
    padding: var(--section-padding);
    background-color: var(--rb-white);
    text-align: center;
}

.rb-team-label {
    font-family: var(--font-body);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--rb-pink);
    margin-bottom: 8px;
}

.rb-team h2 {
    font-size: 30px;
    margin-bottom: 8px;
}

.rb-team-subtitle {
    font-size: 15px;
    color: var(--rb-purple-muted);
    margin-bottom: 40px;
}

.rb-team-member img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid var(--rb-purple-light);
    margin-bottom: 16px;
}

.rb-team-member h4 {
    font-size: 18px;
    color: var(--rb-purple-dark);
    margin-bottom: 4px;
}

.rb-team-member p {
    color: var(--rb-purple-muted);
    font-size: 13px;
}


/* ==========================================================================
   Testimonials
   ========================================================================== */

.rb-testimonials {
    padding: var(--section-padding);
    background: linear-gradient(135deg, var(--rb-purple) 0%, var(--rb-purple-dark) 100%);
    text-align: center;
}

.rb-testimonials h2 {
    color: var(--rb-white) !important;
    font-size: 32px;
    margin-bottom: 30px;
}

.rb-testimonial-slider {
    position: relative;
}

.rb-testimonial-slide {
    display: none;
    animation: fadeIn 0.5s ease;
}

.rb-testimonial-slide.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to   { opacity: 1; transform: translateY(0); }
}

.rb-testimonial-text {
    color: rgba(255, 255, 255, 0.9);
    font-size: 17px;
    font-style: italic;
    line-height: 1.8;
    max-width: 700px;
    margin: 0 auto 24px;
}

.rb-testimonial-author {
    color: var(--rb-yellow) !important;
    font-weight: 600;
    font-size: 14px;
}

.rb-testimonial-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 24px;
}

.rb-testimonial-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.3);
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease;
    padding: 0;
}

.rb-testimonial-dot.active {
    background-color: var(--rb-white);
}


/* ==========================================================================
   CTA
   ========================================================================== */

.rb-cta {
    padding: 60px 0;
    background-color: var(--rb-purple-dark);
    text-align: center;
}

.rb-cta-label {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--rb-yellow);
    margin-bottom: 8px;
}

.rb-cta h2 {
    color: var(--rb-white);
    font-size: 32px;
    margin-bottom: 12px;
}

.rb-cta > .rb-container > p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 28px;
}

.rb-cta-buttons {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}


/* ==========================================================================
   Footer
   ========================================================================== */

.rb-footer {
    background-color: var(--rb-dark);
    padding: 60px 0 0;
    color: rgba(255, 255, 255, 0.7);
}

.rb-footer h4 {
    font-family: var(--font-heading);
    color: var(--rb-white);
    font-size: 18px;
    margin-bottom: 20px;
}

.rb-footer a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

.rb-footer a:hover {
    color: var(--rb-pink);
}

.rb-footer p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    line-height: 1.8;
}

.rb-footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 40px;
}

.rb-footer-links li {
    margin-bottom: 10px;
}

.rb-footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 40px;
    padding: 20px 0;
    text-align: center;
}

.rb-footer-bottom p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 13px;
    margin: 0;
}


/* ==========================================================================
   Default Page Content
   ========================================================================== */

.rb-page-content {
    padding: 60px 20px;
    min-height: 50vh;
}

.rb-page-title {
    font-size: 36px;
    margin-bottom: 24px;
}

.rb-entry-content p {
    margin-bottom: 20px;
}


/* ==========================================================================
   WP Admin Bar Offset
   ========================================================================== */

.admin-bar .rb-header {
    top: 32px;
}

@media screen and (max-width: 782px) {
    .admin-bar .rb-header {
        top: 46px;
    }
}


/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 980px) {
    .rb-menu-toggle {
        display: flex;
    }

    .rb-header-inner {
        height: 60px;
    }

    .rb-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--rb-white);
        box-shadow: 0 12px 30px rgba(58, 53, 80, 0.12);
        z-index: 999;
        border-top: 1px solid var(--rb-light-grey);
    }

    .rb-nav.open {
        display: block;
    }

    .rb-nav .rb-menu {
        flex-direction: column;
        padding: 12px 20px 20px;
        gap: 0;
    }

    .rb-nav .rb-menu li a {
        padding: 13px 12px;
        border-bottom: 1px solid var(--rb-light-grey);
        border-radius: 0;
        font-size: 15px;
        width: 100%;
    }

    .rb-nav .rb-menu li:last-child a {
        margin-top: 16px;
        text-align: center;
        border-bottom: none;
        display: block;
        border-radius: var(--radius-full);
    }

    .rb-nav .rb-menu .sub-menu {
        position: static;
        box-shadow: none;
        border: none;
        opacity: 1;
        transform: none;
        pointer-events: auto;
        padding: 0 0 0 20px;
        min-width: auto;
    }

    .rb-nav .rb-menu .sub-menu li a {
        font-size: 14px;
        padding: 10px 12px;
    }

    .rb-hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .rb-hero-content {
        padding-right: 0;
        order: 2;
    }

    .rb-hero-image {
        order: 1;
    }

    .rb-hero-actions {
        justify-content: center;
    }

    .rb-hero h1 {
        font-size: 32px;
    }

    .rb-hero .rb-highlight {
        font-size: 36px;
    }

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

    .rb-gallery-slide {
        flex: 0 0 calc(50% - 10px);
    }

    .rb-section-heading-pink {
        font-size: 26px;
    }

    .rb-section-subheading {
        font-size: 24px;
    }

    .rb-activity-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 767px) {
    :root {
        --section-padding: 50px 0;
    }

    .rb-top-bar-inner {
        flex-direction: column;
        gap: 0;
        text-align: center;
        height: auto;
        padding: 8px 0;
    }

    .rb-top-bar .rb-contact-info {
        flex-wrap: wrap;
        justify-content: center;
        gap: 0;
    }

    .rb-top-bar .rb-contact-info a {
        border-right: none;
        height: auto;
        padding: 4px 10px;
        font-size: 12px;
    }

    .rb-social-links {
        margin-top: 6px;
    }

    .rb-hero-grid {
        gap: 24px;
    }

    .rb-hero h1 {
        font-size: 28px;
        text-align: center;
    }

    .rb-hero .rb-highlight {
        font-size: 32px;
    }

    .rb-hero p {
        text-align: center;
        max-width: 100%;
    }

    .rb-hero-actions {
        flex-direction: column;
        align-items: center;
    }

    .rb-stats-grid {
        grid-template-columns: 1fr 1fr;
    }

    .rb-gallery-slide {
        flex: 0 0 100%;
    }

    .rb-feature-list {
        grid-template-columns: 1fr;
    }

    .rb-activity-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .rb-activity-pill {
        font-size: 13px;
        padding: 10px 14px;
    }

    .rb-cta h2 {
        font-size: 26px;
    }

    .rb-cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .rb-footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }
}
