/* ============================================================================
   BLUE RIDGE LAWN & LANDSCAPE — Organic, Nature-Inspired Demo Site
   Asheville, NC — Craftsman Landscaping
   ============================================================================ */

/* ---- Custom Properties ---- */
:root {
    --br-font-heading: 'Zilla Slab', serif;
    --br-font-body: 'Outfit', sans-serif;
    --br-radius: 14px;
    --br-radius-lg: 20px;
    --br-green: #15803d;
    --br-green-light: #22c55e;
    --br-green-dark: #166534;
    --br-green-pale: #dcfce7;
    --br-brown: #92400e;
    --br-brown-light: #b45309;
    --br-brown-dark: #78350f;
    --br-cream: #fefdf8;
    --br-cream-alt: #f0fdf4;
    --br-shadow: 0 2px 8px rgba(21, 128, 61, 0.08);
    --br-shadow-lg: 0 8px 24px rgba(21, 128, 61, 0.12);
    --br-shadow-xl: 0 16px 48px rgba(21, 128, 61, 0.14);
    --br-transition: 0.35s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* ---- Typography Override ---- */
body {
    font-family: var(--br-font-body);
    background: var(--br-cream);
}

h1, h2, h3, h4, h5, h6,
.demo-logo__name,
.demo-hero h1,
.demo-page-hero h1,
.demo-section h2,
.demo-cta-bar__content h2,
.demo-stats-bar__number,
.demo-footer__logo,
.br-section h2 {
    font-family: var(--br-font-heading);
    font-weight: 600;
    letter-spacing: -0.01em;
}

.demo-logo__name {
    font-family: var(--br-font-heading);
    color: var(--br-green);
    font-weight: 700;
}

/* ---- Button Overrides ---- */
.demo-btn {
    border-radius: var(--br-radius);
    font-family: var(--br-font-body);
    font-weight: 600;
    transition: all var(--br-transition);
}

.demo-btn--primary {
    background: var(--br-green);
    color: #fff;
}

.demo-btn--primary:hover {
    background: var(--br-green-dark);
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(21, 128, 61, 0.3);
}

.demo-btn--secondary {
    border-color: var(--br-brown);
    color: var(--br-brown);
    background: transparent;
}

.demo-btn--secondary:hover {
    background: rgba(146, 64, 14, 0.06);
    color: var(--br-brown-dark);
    border-color: var(--br-brown-dark);
}

/* ---- Link Overrides ---- */
a {
    color: var(--br-green);
}

a:hover {
    color: var(--br-green-dark);
}

.demo-link {
    color: var(--br-brown);
    font-weight: 600;
    font-family: var(--br-font-body);
}

.demo-link:hover {
    color: var(--br-brown-dark);
}

/* ---- Nav Overrides ---- */
.demo-header {
    background: rgba(254, 253, 248, 0.95);
    border-bottom: 1px solid rgba(21, 128, 61, 0.1);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.demo-header--scrolled {
    box-shadow: 0 2px 16px rgba(21, 128, 61, 0.08);
    background: rgba(254, 253, 248, 0.97);
}

.demo-nav a:hover,
.demo-nav__trigger:hover {
    color: var(--br-green);
    background: var(--br-cream-alt);
}

.demo-nav__menu {
    border-radius: var(--br-radius);
    border-color: rgba(21, 128, 61, 0.1);
}

/* ============================================================================
   PARALLAX HERO
   ============================================================================ */
.br-hero {
    position: relative;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    color: #fff;
    text-align: center;
    padding: 120px 0 100px;
}

.br-hero__bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    background-attachment: fixed;
    background-size: cover;
    background-position: center;
}

.br-hero__bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.br-hero__overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(
        160deg,
        rgba(22, 101, 52, 0.82) 0%,
        rgba(21, 128, 61, 0.68) 50%,
        rgba(146, 64, 14, 0.45) 100%
    );
}

.br-hero__content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 24px;
}

.br-hero h1 {
    font-family: var(--br-font-heading);
    font-size: clamp(2.25rem, 5.5vw, 3.5rem);
    font-weight: 700;
    line-height: 1.15;
    margin-bottom: 16px;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.br-hero__description {
    font-size: 1.15rem;
    line-height: 1.6;
    opacity: 0.92;
    max-width: 620px;
    margin: 0 auto 32px;
}

.br-hero__actions {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 36px;
}

.br-hero__actions .demo-btn--primary {
    background: #fff;
    color: var(--br-green);
    font-weight: 700;
}

.br-hero__actions .demo-btn--primary:hover {
    background: var(--br-cream);
    color: var(--br-green-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.br-hero__actions .demo-btn--secondary {
    border-color: rgba(255, 255, 255, 0.6);
    color: #fff;
}

.br-hero__actions .demo-btn--secondary:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: #fff;
}

.br-hero__trust {
    display: flex;
    gap: 24px;
    justify-content: center;
    flex-wrap: wrap;
    font-size: 0.875rem;
    opacity: 0.85;
}

.br-hero__trust span {
    display: flex;
    align-items: center;
    gap: 6px;
}

/* ============================================================================
   SVG WAVE DIVIDERS
   ============================================================================ */
.br-wave {
    position: relative;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    margin: 0;
    padding: 0;
}

.br-wave svg {
    display: block;
    width: 100%;
    height: auto;
}

.br-wave--flip svg {
    transform: scaleY(-1);
}

/* ============================================================================
   SECTIONS — Organic Overrides
   ============================================================================ */
.br-section {
    padding: 72px 0;
    position: relative;
}

.br-section--cream {
    background: var(--br-cream);
}

.br-section--green-pale {
    background: var(--br-cream-alt);
}

.br-section--white {
    background: #fff;
}

.br-section h2 {
    font-family: var(--br-font-heading);
    font-size: clamp(1.75rem, 3.5vw, 2.25rem);
    color: var(--br-green-dark);
    margin-bottom: 8px;
}

.br-section__subtitle {
    color: var(--demo-text-muted);
    font-size: 1.0625rem;
    margin-bottom: 36px;
    font-family: var(--br-font-body);
}

.demo-section h2 {
    color: var(--br-green-dark);
}

/* ============================================================================
   TRUST ROW — "Why Blue Ridge" Cards
   ============================================================================ */
.br-trust-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
}

.br-trust-card {
    background: #fff;
    border-radius: var(--br-radius-lg);
    padding: 32px 28px;
    text-align: center;
    border: 1px solid rgba(21, 128, 61, 0.1);
    box-shadow: var(--br-shadow);
    transition: transform var(--br-transition), box-shadow var(--br-transition);
    position: relative;
    overflow: hidden;
}

.br-trust-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--br-green), var(--br-green-light));
    border-radius: var(--br-radius-lg) var(--br-radius-lg) 0 0;
}

.br-trust-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--br-shadow-lg);
}

.br-trust-card__icon {
    font-size: 2.5rem;
    margin-bottom: 16px;
    display: block;
}

.br-trust-card h3 {
    font-family: var(--br-font-heading);
    font-size: 1.2rem;
    color: var(--br-green-dark);
    margin-bottom: 8px;
}

.br-trust-card p {
    font-size: 0.9375rem;
    color: var(--demo-text-muted);
    line-height: 1.6;
}

/* ============================================================================
   BEFORE / AFTER SLIDER
   ============================================================================ */
.br-slider-section {
    padding: 72px 0;
}

.br-slider-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 32px;
}

.br-slider-item h3 {
    font-family: var(--br-font-heading);
    font-size: 1.25rem;
    color: var(--br-green-dark);
    margin-bottom: 16px;
    text-align: center;
}

.br-slider {
    position: relative;
    overflow: hidden;
    border-radius: var(--br-radius-lg);
    aspect-ratio: 16 / 10;
    cursor: ew-resize;
    box-shadow: var(--br-shadow-lg);
    user-select: none;
    -webkit-user-select: none;
}

.br-slider__before,
.br-slider__after {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.br-slider__before img,
.br-slider__after img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.br-slider__after {
    clip-path: inset(0 50% 0 0);
    z-index: 2;
}

.br-slider__handle {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 4px;
    background: var(--br-green);
    z-index: 10;
    transform: translateX(-50%);
    cursor: ew-resize;
    box-shadow: 0 0 8px rgba(21, 128, 61, 0.4);
}

.br-slider__handle::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--br-green);
    border: 3px solid #fff;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.25);
}

.br-slider__handle::after {
    content: '\2039\00a0\203a';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #fff;
    font-size: 1.25rem;
    font-weight: 700;
    z-index: 11;
    pointer-events: none;
    letter-spacing: 4px;
}

.br-slider__label {
    position: absolute;
    bottom: 12px;
    padding: 4px 12px;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    z-index: 5;
    font-family: var(--br-font-body);
}

.br-slider__label--before {
    right: 12px;
    background: rgba(146, 64, 14, 0.85);
    color: #fff;
}

.br-slider__label--after {
    left: 12px;
    background: rgba(21, 128, 61, 0.85);
    color: #fff;
}

/* ============================================================================
   SERVICE CARDS — Organic Style
   ============================================================================ */
.br-service-card {
    background: #fff;
    border-radius: var(--br-radius);
    border: 1px solid rgba(21, 128, 61, 0.08);
    border-left: 4px solid var(--br-green);
    overflow: hidden;
    transition: transform var(--br-transition), box-shadow var(--br-transition);
    box-shadow: var(--br-shadow);
}

.br-service-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--br-shadow-xl);
}

.br-service-card__image {
    aspect-ratio: 4 / 3;
    overflow: hidden;
}

.br-service-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--br-transition);
}

.br-service-card:hover .br-service-card__image img {
    transform: scale(1.06);
}

.br-service-card__body {
    padding: 24px;
}

.br-service-card h3 {
    font-family: var(--br-font-heading);
    font-size: 1.125rem;
    margin-bottom: 8px;
}

.br-service-card h3 a {
    color: var(--br-green-dark);
    text-decoration: none;
}

.br-service-card h3 a:hover {
    color: var(--br-green);
}

.br-service-card p {
    color: var(--demo-text-muted);
    font-size: 0.9375rem;
    line-height: 1.6;
    margin-bottom: 12px;
}

.br-service-card .demo-link {
    color: var(--br-brown);
    font-weight: 600;
    font-size: 0.9375rem;
}

.br-service-card .demo-link:hover {
    color: var(--br-brown-dark);
}

/* ============================================================================
   MASONRY PORTFOLIO GALLERY
   ============================================================================ */
.br-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 250px;
    gap: 16px;
}

.br-gallery__item {
    position: relative;
    overflow: hidden;
    border-radius: var(--br-radius);
    cursor: pointer;
}

.br-gallery__item:nth-child(1) {
    grid-row: span 2;
}

.br-gallery__item:nth-child(4) {
    grid-column: span 2;
}

.br-gallery__item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--br-transition);
}

.br-gallery__item:hover img {
    transform: scale(1.08);
}

.br-gallery__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(22, 101, 52, 0.85) 0%,
        rgba(22, 101, 52, 0.2) 40%,
        transparent 70%
    );
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 20px;
    opacity: 0;
    transition: opacity var(--br-transition);
}

.br-gallery__item:hover .br-gallery__overlay {
    opacity: 1;
}

.br-gallery__overlay h3 {
    font-family: var(--br-font-heading);
    color: #fff;
    font-size: 1.125rem;
    margin-bottom: 4px;
}

.br-gallery__overlay p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.875rem;
    line-height: 1.4;
}

/* ============================================================================
   TESTIMONIALS — Earthy Style
   ============================================================================ */
.demo-testimonial {
    background: #fff;
    border: 1px solid rgba(21, 128, 61, 0.1);
    border-radius: var(--br-radius-lg);
    box-shadow: var(--br-shadow);
}

.demo-testimonial:hover {
    box-shadow: var(--br-shadow-lg);
}

.demo-testimonial__icon {
    color: var(--br-green);
    opacity: 0.25;
    font-family: var(--br-font-heading);
}

.demo-star {
    color: var(--br-brown-light);
}

.demo-testimonial__author strong {
    color: var(--br-brown);
}

.demo-testimonial__avatar {
    background: var(--br-green);
}

/* ============================================================================
   STATS BAR — Forest Green Gradient
   ============================================================================ */
.demo-stats-bar,
.br-stats-bar {
    background: linear-gradient(135deg, var(--br-green-dark) 0%, var(--br-green) 60%, var(--br-green-light) 100%);
    padding: 56px 0;
    color: #fff;
    position: relative;
    overflow: hidden;
}

.br-stats-bar .demo-container {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 32px;
}

.br-stats-bar__item {
    text-align: center;
    min-width: 120px;
}

.br-stats-bar__number {
    display: block;
    font-family: var(--br-font-heading);
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 4px;
    color: #fff;
}

.br-stats-bar__label {
    display: block;
    font-size: 0.875rem;
    opacity: 0.8;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-family: var(--br-font-body);
}

.demo-stats-bar__number {
    font-family: var(--br-font-heading);
}

/* Leaf pattern overlay for stats bar */
.br-stats-bar::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle at 20% 50%, rgba(255,255,255,0.04) 0%, transparent 50%),
                       radial-gradient(circle at 80% 20%, rgba(255,255,255,0.03) 0%, transparent 50%),
                       radial-gradient(circle at 60% 80%, rgba(255,255,255,0.04) 0%, transparent 50%);
    pointer-events: none;
}

/* ============================================================================
   CTA BAR — Green with Brown Accent
   ============================================================================ */
.br-cta-bar {
    background: linear-gradient(135deg, var(--br-green-dark), var(--br-green));
    color: #fff;
    padding: 56px 0;
    position: relative;
    overflow: hidden;
}

.br-cta-bar::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--br-brown), var(--br-brown-light), var(--br-brown));
}

.br-cta-bar--image {
    background: var(--br-green-dark);
}

.br-cta-bar__bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.br-cta-bar__overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(135deg, rgba(22, 101, 52, 0.88), rgba(21, 128, 61, 0.75));
}

.br-cta-bar .demo-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 24px;
    position: relative;
    z-index: 2;
}

.br-cta-bar__content h2 {
    font-family: var(--br-font-heading);
    font-size: 1.5rem;
    margin-bottom: 4px;
}

.br-cta-bar__content p {
    opacity: 0.9;
    font-size: 0.9375rem;
}

.br-cta-bar__actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.br-cta-bar__actions .demo-btn--primary {
    background: #fff;
    color: var(--br-green);
}

.br-cta-bar__actions .demo-btn--primary:hover {
    background: var(--br-cream);
    color: var(--br-green-dark);
}

.br-cta-bar__actions .demo-btn--secondary {
    border-color: rgba(255, 255, 255, 0.5);
    color: #fff;
}

.br-cta-bar__actions .demo-btn--secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: #fff;
}

/* Also override the shared cta-bar partial when used */
.demo-cta-bar {
    background: linear-gradient(135deg, var(--br-green-dark), var(--br-green));
}

.demo-cta-bar::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--br-brown), var(--br-brown-light), var(--br-brown));
}

.demo-cta-bar__overlay {
    background: linear-gradient(135deg, rgba(22, 101, 52, 0.88), rgba(21, 128, 61, 0.75));
}

.demo-cta-bar__content h2 {
    font-family: var(--br-font-heading);
}

/* ============================================================================
   AREA TAGS — Organic Style
   ============================================================================ */
.demo-area-tag {
    border-radius: var(--br-radius);
    border-color: rgba(21, 128, 61, 0.15);
    background: #fff;
    transition: all var(--br-transition);
}

.demo-area-tag:hover,
a.demo-area-tag:hover {
    background: var(--br-green);
    color: #fff;
    border-color: var(--br-green);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(21, 128, 61, 0.2);
}

/* ============================================================================
   WHY CHOOSE US — Override Default Cards
   ============================================================================ */
.demo-why-card {
    border-radius: var(--br-radius-lg);
    border-color: rgba(21, 128, 61, 0.08);
    box-shadow: var(--br-shadow);
}

.demo-why-card:hover {
    box-shadow: var(--br-shadow-xl);
}

.demo-why-card__body h3 {
    font-family: var(--br-font-heading);
    color: var(--br-green-dark);
}

/* ============================================================================
   FOOTER — Earthy Override
   ============================================================================ */
.demo-footer {
    background: #1a2e1a;
}

.demo-footer::before {
    background: linear-gradient(90deg, var(--br-green), var(--br-brown), var(--br-green-light));
}

.demo-footer__logo {
    font-family: var(--br-font-heading);
}

.demo-footer h4 {
    font-family: var(--br-font-heading);
}

.demo-footer__bottom {
    border-top-color: rgba(255, 255, 255, 0.1);
}

/* ============================================================================
   PAGE HERO — Organic Overlay
   ============================================================================ */
.demo-hero__overlay {
    background: linear-gradient(
        160deg,
        rgba(22, 101, 52, 0.82) 0%,
        rgba(21, 128, 61, 0.68) 50%,
        rgba(146, 64, 14, 0.45) 100%
    );
}

.demo-page-hero--image .demo-page-hero__overlay,
.demo-page-hero__overlay {
    background: linear-gradient(
        160deg,
        rgba(22, 101, 52, 0.82) 0%,
        rgba(21, 128, 61, 0.68) 50%,
        rgba(146, 64, 14, 0.45) 100%
    );
}

/* ============================================================================
   SECTION DIVIDER OVERRIDES — Remove hard borders
   ============================================================================ */
.demo-section + .demo-section:not(.demo-section--alt) {
    border-top: none;
}

.demo-section--alt {
    background: var(--br-cream-alt);
}

/* ============================================================================
   SERVICE CARD OVERRIDE — Make default cards use organic style
   ============================================================================ */
.demo-service-card {
    border-radius: var(--br-radius);
    border-left: 4px solid var(--br-green);
    border-color: rgba(21, 128, 61, 0.08);
    border-left-color: var(--br-green);
    box-shadow: var(--br-shadow);
}

.demo-service-card:hover {
    border-color: var(--br-green-light);
    border-left-color: var(--br-green);
    box-shadow: var(--br-shadow-xl);
}

.demo-service-card__image {
    border-radius: var(--br-radius) var(--br-radius) 0 0;
}

.demo-service-card h3 a {
    color: var(--br-green-dark);
}

.demo-service-card h3 a:hover {
    color: var(--br-green);
}

/* ============================================================================
   SCROLL ANIMATIONS — Organic Fade
   ============================================================================ */
.animate-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.7s ease-out, transform 0.7s ease-out;
}

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

.animate-in.visible .br-service-card,
.animate-in.visible .br-trust-card,
.animate-in.visible .br-gallery__item {
    animation: brFadeInUp 0.5s ease-out both;
}

.animate-in.visible .br-service-card:nth-child(2),
.animate-in.visible .br-trust-card:nth-child(2),
.animate-in.visible .br-gallery__item:nth-child(2) {
    animation-delay: 0.1s;
}

.animate-in.visible .br-service-card:nth-child(3),
.animate-in.visible .br-trust-card:nth-child(3),
.animate-in.visible .br-gallery__item:nth-child(3) {
    animation-delay: 0.2s;
}

.animate-in.visible .br-gallery__item:nth-child(4) { animation-delay: 0.25s; }
.animate-in.visible .br-gallery__item:nth-child(5) { animation-delay: 0.3s; }
.animate-in.visible .br-gallery__item:nth-child(6) { animation-delay: 0.35s; }

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

/* ============================================================================
   REDUCED MOTION
   ============================================================================ */
@media (prefers-reduced-motion: reduce) {
    .animate-in {
        opacity: 1;
        transform: none;
        transition: none;
    }
    .animate-in.visible .br-service-card,
    .animate-in.visible .br-trust-card,
    .animate-in.visible .br-gallery__item,
    .animate-in.visible .demo-service-card,
    .animate-in.visible .demo-testimonial {
        animation: none;
    }
    .br-slider__handle,
    .br-gallery__item img,
    .br-service-card,
    .br-trust-card,
    .demo-area-tag {
        transition: none;
    }
    .br-hero__bg {
        background-attachment: scroll;
    }
}

/* ============================================================================
   RESPONSIVE
   ============================================================================ */
@media (max-width: 1024px) {
    .br-gallery {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: 220px;
    }

    .br-gallery__item:nth-child(1) {
        grid-row: span 2;
    }

    .br-gallery__item:nth-child(4) {
        grid-column: span 1;
    }
}

@media (max-width: 768px) {
    .br-hero {
        min-height: 480px;
        padding: 80px 0 60px;
    }

    .br-hero h1 {
        font-size: 1.85rem;
    }

    .br-hero__bg {
        background-attachment: scroll;
    }

    .br-slider-grid {
        grid-template-columns: 1fr;
    }

    .br-gallery {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: 180px;
    }

    .br-gallery__item:nth-child(1) {
        grid-row: span 1;
    }

    .br-gallery__overlay {
        opacity: 1;
    }

    .br-cta-bar .demo-container {
        flex-direction: column;
        text-align: center;
    }

    .br-trust-row {
        grid-template-columns: 1fr;
    }

    .br-section {
        padding: 48px 0;
    }

    .br-stats-bar .demo-container {
        gap: 24px;
    }
}

@media (max-width: 480px) {
    .br-hero {
        min-height: 400px;
        padding: 60px 0 48px;
    }

    .br-hero h1 {
        font-size: 1.6rem;
    }

    .br-hero__trust {
        flex-direction: column;
        align-items: center;
        gap: 8px;
    }

    .br-gallery {
        grid-template-columns: 1fr;
        grid-auto-rows: 200px;
    }

    .br-gallery__item:nth-child(4) {
        grid-column: span 1;
    }

    .br-slider {
        aspect-ratio: 4 / 3;
    }

    .br-stats-bar__item {
        min-width: 100px;
        flex: 1 1 40%;
    }
}
