:root {
    --rr-blue: #536B7A;
    --rr-blue-dark: #415664;

    --rr-burgundy: #7A3948;
    --rr-burgundy-dark: #612D39;

    --rr-champagne: #D6BF91;
    --rr-white: #FAF8F3;
    --rr-slate: #343A40;

    --rr-card: #FFFFFF;
    --rr-border: rgba(83, 107, 122, 0.18);

    --rr-radius: 14px;
    --rr-radius-lg: 22px;

    --rr-shadow:
        0 10px 30px rgba(52, 58, 64, 0.08);

    --rr-serif:
        Georgia,
        "Times New Roman",
        serif;

    --rr-sans:
        Arial,
        Helvetica,
        sans-serif;
}


/* =========================================================
   Base
   ========================================================= */

html,
body {
    min-height: 100%;
}

body {
    margin: 0;

    background: var(--rr-white);
    color: var(--rr-slate);

    font-family: var(--rr-sans);
    line-height: 1.6;
}

a {
    color: var(--rr-burgundy);
    text-decoration: none;
}

a:hover {
    color: var(--rr-burgundy-dark);
}

h1,
h2,
h3,
h4,
h5,
h6 {
    color: var(--rr-blue);
    font-family: var(--rr-serif);
}


/* =========================================================
   Bootstrap overrides
   ========================================================= */

.btn {
    border-radius: 8px;
    font-weight: 700;
}

.btn-rr-primary {
    --bs-btn-color: #fff;

    --bs-btn-bg: var(--rr-burgundy);
    --bs-btn-border-color: var(--rr-burgundy);

    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: var(--rr-burgundy-dark);
    --bs-btn-hover-border-color: var(--rr-burgundy-dark);

    --bs-btn-active-color: #fff;
    --bs-btn-active-bg: var(--rr-burgundy-dark);
    --bs-btn-active-border-color: var(--rr-burgundy-dark);
}

.btn-outline-primary {
    --bs-btn-color: var(--rr-blue);
    --bs-btn-border-color: var(--rr-blue);

    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: var(--rr-blue);
    --bs-btn-hover-border-color: var(--rr-blue);
}

.form-control,
.form-select {
    border-color: var(--rr-border);
    border-radius: 8px;
}

.form-control:focus,
.form-select:focus {
    border-color: var(--rr-blue);

    box-shadow:
        0 0 0 0.2rem
        rgba(83, 107, 122, 0.15);
}

.card {
    border-color: var(--rr-border);
    border-radius: var(--rr-radius);

    box-shadow:
        0 4px 14px rgba(52, 58, 64, 0.05);
}


/* =========================================================
   Header / navbar
   ========================================================= */

.site-header {
    width: 100%;

    background: var(--rr-blue);
    border-bottom: 3px solid var(--rr-champagne);

    box-shadow:
        0 4px 16px rgba(52, 58, 64, 0.08);
}

.site-header .navbar {
    min-height: 88px;

    --bs-navbar-padding-y: 0;
}

.rr-brand {
    display: flex;
    align-items: center;
    gap: 1rem;

    margin-right: 1rem;
}

.rr-brand-mark {
    width: 50px;
    height: 50px;

    display: grid;
    place-items: center;

    flex: 0 0 auto;

    border: 1px solid var(--rr-champagne);
    border-radius: 50%;

    color: var(--rr-champagne);

    font-family: var(--rr-serif);
    font-size: 1rem;
    font-weight: 700;
}

.rr-brand-copy {
    display: flex;
    flex-direction: column;
}

.rr-brand-name {
    color: #fff;

    font-family: var(--rr-serif);
    font-size: 1.55rem;
    line-height: 1.05;

    letter-spacing: 0.02em;
}

.rr-brand-tagline {
    margin-top: 0.2rem;

    color: rgba(255,255,255,0.68);

    font-size: 0.7rem;
    font-weight: 600;

    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.site-header .navbar-nav {
    gap: 0.25rem;
}

.site-header .nav-link {
    position: relative;

    padding-left: 0.65rem;
    padding-right: 0.65rem;

    color: rgba(255,255,255,0.82);

    font-size: 0.94rem;
    font-weight: 600;
}

.site-header .nav-link:hover,
.site-header .nav-link.active {
    color: #fff;
}

.site-header .nav-link.active::after {
    content: "";

    position: absolute;

    left: 0.65rem;
    right: 0.65rem;
    bottom: 0.3rem;

    height: 2px;

    background: var(--rr-champagne);
}

.site-header .navbar-toggler {
    border-color: rgba(255,255,255,0.35);
}

.site-header .navbar-toggler:focus {
    box-shadow: none;
}

.site-header .navbar-toggler-icon {
    filter: brightness(0) invert(1);
}

.rr-account-nav {
    display: flex;
    align-items: center;
    gap: 0.65rem;
}

.rr-account-name {
    color: rgba(255,255,255,0.75);
    font-size: 0.9rem;
}


/* =========================================================
   Main
   ========================================================= */

.site-main {
    min-height: calc(100vh - 88px);
}

.rr-content {
    padding-top: 2rem;
    padding-bottom: 4rem;
}

.page-eyebrow {
    margin-bottom: 0.35rem;

    color: var(--rr-burgundy);

    font-size: 0.75rem;
    font-weight: 700;

    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.page-title {
    margin: 0;

    color: var(--rr-blue);

    font-family: var(--rr-serif);
    font-size: clamp(2rem, 4vw, 3rem);

    line-height: 1.05;
}

.page-intro {
    max-width: 700px;
    margin-top: 0.75rem;

    color: #667077;
}


/* =========================================================
   Homepage hero
   ========================================================= */

.home-hero {
    width: 100%;

    background: #fff;
    border-bottom: 1px solid var(--rr-border);
}

.home-hero-copy {
    padding-top: clamp(3rem, 7vw, 6.5rem);
    padding-bottom: clamp(3rem, 7vw, 6.5rem);
}

.home-hero h1 {
    max-width: 720px;
    margin: 0;

    color: var(--rr-blue);

    font-family: var(--rr-serif);
    font-size: clamp(3rem, 6vw, 5rem);
    font-weight: 500;

    line-height: 0.98;
    letter-spacing: -0.035em;
}

.home-hero-copy > p {
    max-width: 660px;
    margin-top: 1.5rem;

    color: #667077;
    font-size: 1.08rem;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;

    margin-top: 2rem;
}

.home-hero-art {
    position: relative;

    min-height: 540px;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    overflow: hidden;

    background:
        radial-gradient(
            circle at top right,
            rgba(214, 191, 145, 0.13),
            transparent 35%
        ),
        linear-gradient(
            145deg,
            var(--rr-blue) 0%,
            #657E8D 100%
        );

    color: #fff;
}

.home-hero-art::before,
.home-hero-art::after {
    content: "";

    position: absolute;

    width: 260px;
    height: 260px;

    border: 1px solid rgba(214, 191, 145, 0.28);
    border-radius: 50%;
}

.home-hero-art::before {
    top: -110px;
    right: -80px;
}

.home-hero-art::after {
    bottom: -120px;
    left: -100px;
}

.hero-monogram {
    position: relative;
    z-index: 1;

    display: flex;
    align-items: center;
    gap: 0.35rem;

    font-family: var(--rr-serif);
    font-size: clamp(4rem, 8vw, 7rem);

    line-height: 1;
}

.hero-ampersand {
    color: var(--rr-champagne);

    font-size: 0.65em;
    font-style: italic;
}

.hero-rule {
    position: relative;
    z-index: 1;

    width: 90px;
    height: 1px;

    margin: 1.75rem 0;

    background: var(--rr-champagne);
}

.hero-caption {
    position: relative;
    z-index: 1;

    color: rgba(255,255,255,0.82);

    font-size: 0.75rem;
    font-weight: 700;

    letter-spacing: 0.18em;
    text-transform: uppercase;
}


/* =========================================================
   Intro strip
   ========================================================= */

.intro-strip {
    overflow: hidden;

    background: var(--rr-blue);
    border-radius: var(--rr-radius);
}

.intro-strip-item {
    height: 100%;

    padding: 1.5rem 2rem;

    border-right: 1px solid rgba(255,255,255,0.15);
}

.intro-strip-item:last-child {
    border-right: 0;
}

.intro-strip strong {
    display: block;

    color: #fff;

    font-family: var(--rr-serif);
    font-size: 1.1rem;
}

.intro-strip span {
    display: block;

    margin-top: 0.2rem;

    color: rgba(255,255,255,0.66);

    font-size: 0.85rem;
}


/* =========================================================
   Homepage sections
   ========================================================= */

.home-section {
    padding-top: 5rem;
    padding-bottom: 5rem;
}

.section-heading {
    max-width: 720px;

    margin-bottom: 2rem;
}

.section-heading h2,
.home-community h2 {
    margin: 0;

    color: var(--rr-blue);

    font-family: var(--rr-serif);
    font-size: clamp(2.2rem, 4vw, 3.5rem);
    font-weight: 500;

    line-height: 1.05;
}

.section-heading p,
.home-community p {
    color: #667077;
}


/* =========================================================
   Features
   ========================================================= */

.feature-card {
    height: 100%;
    min-height: 250px;

    padding: 1.75rem;

    background: #fff;

    border: 1px solid var(--rr-border);
    border-radius: var(--rr-radius);
}

.feature-number {
    color: var(--rr-burgundy);

    font-size: 0.72rem;
    font-weight: 700;

    letter-spacing: 0.1em;
}

.feature-card h3 {
    margin-top: 2.5rem;
    margin-bottom: 0.7rem;

    color: var(--rr-blue);

    font-family: var(--rr-serif);
    font-size: 1.6rem;
}

.feature-card p {
    margin: 0;

    color: #667077;
    font-size: 0.94rem;
}


/* =========================================================
   Species cards
   ========================================================= */

.species-card {
    position: relative;

    min-height: 360px;
    height: 100%;

    display: flex;
    flex-direction: column;
    justify-content: flex-end;

    padding: clamp(2rem, 5vw, 4rem);

    overflow: hidden;

    border-radius: var(--rr-radius-lg);

    color: #fff;
}

.species-horse {
    background:
        linear-gradient(
            150deg,
            var(--rr-blue),
            #657E8D
        );
}

.species-dog {
    background:
        linear-gradient(
            150deg,
            var(--rr-burgundy),
            #925665
        );
}

.species-card::after {
    content: "";

    position: absolute;

    top: -120px;
    right: -80px;

    width: 280px;
    height: 280px;

    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 50%;
}

.species-label {
    margin-bottom: auto;

    color: var(--rr-champagne);

    font-size: 0.72rem;
    font-weight: 700;

    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.species-card h2 {
    margin: 0;

    color: #fff;

    font-family: var(--rr-serif);
    font-size: clamp(2.3rem, 5vw, 4rem);
    font-weight: 500;
}

.species-card p {
    max-width: 520px;

    margin: 0.75rem 0 1.25rem;

    color: rgba(255,255,255,0.78);
}

.species-coming {
    font-size: 0.78rem;
    font-weight: 700;

    letter-spacing: 0.08em;
    text-transform: uppercase;
}


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

.home-community {
    padding: clamp(2rem, 5vw, 4rem);

    background: #fff;

    border: 1px solid var(--rr-border);
    border-radius: var(--rr-radius-lg);
}


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

.site-footer {
    background: var(--rr-slate);
    color: rgba(255,255,255,0.75);
}

.site-footer strong {
    color: #fff;

    font-family: var(--rr-serif);
    font-size: 1.1rem;
}

.site-footer a {
    color: rgba(255,255,255,0.7);
}

.site-footer a:hover {
    color: #fff;
}


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

@media (max-width: 991.98px) {

    .site-header .navbar {
        min-height: auto;

        padding-top: 0.8rem;
        padding-bottom: 0.8rem;
    }

    .site-header .nav-link.active::after {
        display: none;
    }

    .site-header .navbar-collapse {
        padding-top: 1rem;
        padding-bottom: 0.5rem;
    }

    .rr-account-nav {
        align-items: flex-start;
        flex-wrap: wrap;
    }

    .home-hero-art {
        min-height: 320px;
    }

    .rr-brand-tagline {
        display: none;
    }
}

@media (max-width: 767.98px) {

    .rr-brand-name {
        font-size: 1.3rem;
    }

    .rr-brand-mark {
        width: 44px;
        height: 44px;
    }

    .home-hero-copy {
        padding-top: 2.5rem;
        padding-bottom: 2.5rem;
    }

    .home-hero h1 {
        font-size: clamp(2.7rem, 14vw, 4rem);
    }

    .intro-strip-item {
        border-right: 0;
        border-bottom: 1px solid rgba(255,255,255,0.15);
    }

    .intro-strip-item:last-child {
        border-bottom: 0;
    }

    .home-section {
        padding-top: 3.5rem;
        padding-bottom: 3.5rem;
    }
}

/* =========================================================
   Dashboard
   ========================================================= */

.dashboard-stat {
    height: 100%;

    padding: 1.25rem 1.4rem;

    background: #fff;

    border: 1px solid var(--rr-border);
    border-radius: var(--rr-radius);
}

.dashboard-stat-label {
    display: block;

    color: var(--rr-burgundy);

    font-size: 0.72rem;
    font-weight: 700;

    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.dashboard-stat-value {
    display: block;

    margin-top: 0.3rem;

    color: var(--rr-blue);

    font-family: var(--rr-serif);
    font-size: 2rem;
    font-weight: 500;

    line-height: 1;
}

.dashboard-stat-note {
    display: block;

    margin-top: 0.45rem;

    color: #7a8287;

    font-size: 0.8rem;
}

.dashboard-panel {
    min-height: 300px;
    height: 100%;

    display: flex;
    flex-direction: column;

    padding: 2rem;

    overflow: hidden;

    border-radius: var(--rr-radius-lg);

    color: #fff;
}

.dashboard-panel-horse {
    background:
        linear-gradient(
            145deg,
            var(--rr-blue),
            #657E8D
        );
}

.dashboard-panel-dog {
    background:
        linear-gradient(
            145deg,
            var(--rr-burgundy),
            #925665
        );
}

.dashboard-panel-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;

    margin-bottom: auto;
}

.dashboard-kicker {
    color: var(--rr-champagne);

    font-size: 0.72rem;
    font-weight: 700;

    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.dashboard-count {
    color: rgba(255,255,255,0.72);

    font-size: 0.78rem;
}

.dashboard-panel h2 {
    margin-top: 3rem;
    margin-bottom: 0.75rem;

    color: #fff;

    font-size: 2rem;
}

.dashboard-panel p {
    max-width: 460px;

    margin-bottom: 1.5rem;

    color: rgba(255,255,255,0.78);
}

.dashboard-card {
    padding: 1.5rem;

    background: #fff;

    border: 1px solid var(--rr-border);
    border-radius: var(--rr-radius);

    box-shadow:
        0 4px 14px rgba(52, 58, 64, 0.04);
}

.dashboard-card-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;

    margin-bottom: 1.25rem;
}

.dashboard-card-header h2 {
    margin: 0;

    font-size: 1.6rem;
}

.dashboard-card-header > a {
    font-size: 0.85rem;
    font-weight: 700;
}

.dashboard-empty {
    padding: 2.5rem 1rem;

    text-align: center;

    background: rgba(83, 107, 122, 0.04);

    border: 1px dashed var(--rr-border);
    border-radius: 10px;
}

.dashboard-empty strong {
    color: var(--rr-blue);

    font-family: var(--rr-serif);
    font-size: 1.15rem;
}

.dashboard-empty p {
    max-width: 500px;

    margin: 0.5rem auto 1rem;

    color: #747c82;

    font-size: 0.9rem;
}

.dashboard-empty-small {
    padding: 1.5rem;
}

.dashboard-action {
    display: block;

    padding: 0.9rem 1rem;

    background: rgba(83, 107, 122, 0.045);

    border: 1px solid transparent;
    border-radius: 9px;

    transition:
        background 0.15s ease,
        border-color 0.15s ease;
}

.dashboard-action:hover {
    background: rgba(83, 107, 122, 0.08);
    border-color: var(--rr-border);
}

.dashboard-action span {
    display: block;

    color: var(--rr-blue);

    font-weight: 700;
}

.dashboard-action small {
    display: block;

    margin-top: 0.15rem;

    color: #7a8287;
}

/* =========================================================
   Facilities
   ========================================================= */

.facility-card {
    height: 100%;

    padding: 1.35rem;

    background: rgba(83, 107, 122, 0.04);

    border: 1px solid var(--rr-border);
    border-radius: 10px;
}

.facility-type {
    color: var(--rr-burgundy);

    font-size: 0.7rem;
    font-weight: 700;

    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.facility-card h3 {
    margin: 0.4rem 0 0;

    color: var(--rr-blue);

    font-family: var(--rr-serif);
    font-size: 1.35rem;
}

.facility-config {
    margin-top: 0.15rem;

    color: #747c82;
    font-size: 0.88rem;
}

.facility-details {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 1rem;

    margin-top: 1rem;

    color: #737b80;
    font-size: 0.78rem;
}

/* =========================================================
   Facility groups
   ========================================================= */

.facility-group + .facility-group {
    margin-top: 2rem;
    padding-top: 2rem;

    border-top: 1px solid var(--rr-border);
}

.facility-group-header {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 1rem;

    margin-bottom: 1rem;
}

.facility-group-header h3 {
    margin: 0;

    color: var(--rr-blue);

    font-size: 1.4rem;
}

.facility-group-count {
    min-width: 34px;
    height: 34px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    background: rgba(83, 107, 122, 0.08);

    border: 1px solid var(--rr-border);
    border-radius: 50%;

    color: var(--rr-blue);

    font-size: 0.8rem;
    font-weight: 700;
}

.facility-group-empty {
    padding: 1rem;

    background: rgba(83, 107, 122, 0.035);

    border: 1px dashed var(--rr-border);
    border-radius: 9px;

    color: #7a8287;
    font-size: 0.88rem;
}

.facility-card h4 {
    margin: 0.4rem 0 0;

    color: var(--rr-blue);

    font-family: var(--rr-serif);
    font-size: 1.3rem;
}