/* ==========================================================================
   Fort Recovery Veterinary Center – custom.css (Static / Zero-JS)
   Load LAST (after theme-plugins.min.css, style.css, responsive.css).
   ========================================================================== */

:root {
    --navy: #27304b;
    --navy-deep: #1c2339;
    --coral: #f15e42;
    --coral-deep: #c4361c;      /* 5.4:1 on white – safe for text & links */
    --amber: #f7931d;
    --ink: #4a5163;             /* body copy, 7.9:1 on white */
    --mist: #eef1f6;
    --line: #d9dee8;
    --radius: 14px;
    --shadow: 0 1px 2px rgba(28, 35, 57, .08), 0 12px 28px -12px rgba(28, 35, 57, .28);
    --focus: #1a6fe0;
}

/* ---------- Global Fixes & Typography ------------------------------------ */

html { scroll-padding-top: 130px; }

body {
    color: var(--ink);
    line-height: 1.7;
}

p { max-width: 68ch; }
.text-center p,
.section-head p { margin-left: auto; margin-right: auto; }

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible,
.navbar-toggler:focus-visible {
    outline: 3px solid var(--focus) !important;
    outline-offset: 3px;
    border-radius: 4px;
}

.skip-link {
    position: absolute;
    left: 1rem;
    top: -4rem;
    z-index: 2000;
    padding: .75rem 1.25rem;
    background: var(--navy-deep);
    color: #fff;
    font-weight: 700;
    border-radius: 0 0 8px 8px;
    transition: top .2s;
}
.skip-link:focus { top: 0; color: #fff; }

.visually-hidden {
    position: absolute !important;
    width: 1px; height: 1px;
    margin: -1px; padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

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

/* ---------- Shared Sticky Floating Header (Zero JS) ---------------------- */

header.header-top,
.home-fr header.header-top {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    z-index: 1050 !important;
    background: rgba(28, 35, 57, .94) !important;
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    box-shadow: 0 6px 24px rgba(15, 20, 36, .32);
}

header.header-top .top-bar-right,
.home-fr header.header-top .top-bar-right {
    background: rgba(15, 20, 36, .75) !important;
    min-height: 46px;
    padding: .35rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, .1);
}
header.header-top .top-bar-right .contact-info div {
    margin-right: 0;
    padding: 0 .9rem;
    border-right: 1px solid rgba(255, 255, 255, .25);
}
header.header-top .top-bar-right .contact-info div:first-child { padding-left: 0; }
header.header-top .top-bar-right .contact-info div:last-child { border-right: 0; }
header.header-top .top-bar-right .contact-info i { color: var(--amber); margin-right: .35rem; }

header.header-top .top-bar-right .social-icons { gap: .65rem; }
header.header-top .top-bar-right .social-icons a { top: 0; margin: 0 !important; }
header.header-top .top-bar-right .social-icons a.btn-theme {
    font-size: .8125rem;
    padding: .35rem .95rem;
    border-radius: 999px;
}
header.header-top .top-bar-right .social-icons a.top-phone {
    font-weight: 700;
    font-size: .9375rem;
    white-space: nowrap;
}
header.header-top .top-bar-right .social-icons a:not(.btn-theme) { font-size: 1.05rem; }

header.header-top .header-fullpage,
header.header-top .header-fullpage.fixed,
.home-fr header.header-top .header-fullpage,
.home-fr header.header-top .header-fullpage.fixed {
    position: relative !important;
    background: transparent !important;
    box-shadow: none !important;
    padding: .45rem 0 !important;
}
.navbar-brand { width: 250px; }
.navbar-brand img { color: #fff; font-weight: 700; }

.navbar-nav .nav-item { padding: 0 2px; }
.navbar-nav .nav-link {
    font-size: 1rem;
    padding: .65rem .75rem;
    white-space: nowrap;
    color: #fff !important;
}
.navbar-nav .nav-link:hover,
.navbar-nav .nav-item.active > .nav-link {
    color: var(--amber) !important;
}
.navbar-nav .nav-link.nav-emergency,
.navbar-nav .nav-link[href*="emergenc"] {
    color: #fff !important;
    background: rgba(241, 94, 66, .24);
    border: 1px solid var(--coral);
    border-radius: 999px;
    padding: .45rem 1rem !important;
    margin: .2rem .35rem;
}
.navbar-nav .nav-link.nav-emergency:hover,
.navbar-nav .nav-link.nav-emergency:focus-visible,
.navbar-nav .nav-link[href*="emergenc"]:hover {
    background: var(--coral);
    color: #fff !important;
}

@media (max-width: 991px) {
    header.header-top,
    .home-fr header.header-top { position: sticky !important; }
    .navbar-brand { width: 210px; }
}
@media (max-width: 575px) {
    header.header-top .top-bar-right .contact-info,
    header.header-top .top-bar-right .social-icons a:not(.btn-theme):not(.top-phone) {
        display: none !important;
    }
    header.header-top .top-bar-right .col-md-auto { width: 100%; }
    header.header-top .top-bar-right .social-icons {
        justify-content: space-between;
        width: 100%;
    }
    header.header-top .top-bar-right .social-icons a.btn-theme {
        font-size: .75rem;
        padding: .35rem .7rem;
    }
}

/* ---------- Global Headings, Sections & Buttons -------------------------- */

.heading-main {
    font-size: clamp(2rem, 1.3rem + 2.4vw, 3rem);
    line-height: 1.1;
    margin-bottom: .75rem;
    color: var(--navy);
}
.heading-main.light-mode { color: #fff; }
.heading-main::after {
    content: "";
    display: block;
    width: 56px;
    height: 4px;
    margin-top: 1rem;
    border-radius: 2px;
    background: var(--coral);
}
.heading-main.center::after { margin-left: auto; margin-right: auto; }

.eyebrow {
    display: block;
    font-family: 'Karla', sans-serif;
    font-size: .875rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--coral-deep);
    margin-bottom: .4rem;
}

.section { padding: clamp(3rem, 6vw, 5rem) 0; }
.section-alt { background: var(--mist); }
.section-head { max-width: 42rem; margin: 0 auto 2.5rem; text-align: center; }
.section-sub { font-size: 1.125rem; margin: .75rem auto 0; color: var(--ink); }
.light-mode + .section-sub,
.on-dark .section-sub { color: #e4e8f2; }

.btn-theme {
    text-transform: none;
    font-size: 1rem;
    letter-spacing: 0;
    padding: .7rem 1.5rem;
    top: 0;
    border-radius: 8px;
}
.btn-theme.bg-navy-blue { background: var(--navy); }
.btn-theme.bg-navy-blue:hover,
.btn-theme.bg-navy-blue:focus { background: var(--coral-deep); color: #fff; }

.btn-amber { background: var(--amber); color: var(--navy-deep); }
.btn-amber:hover,
.btn-amber:focus { background: #ffa83f; color: var(--navy-deep); }

.btn-outline {
    background: transparent;
    color: var(--navy);
    box-shadow: inset 0 0 0 2px var(--navy);
}
.btn-outline:hover,
.btn-outline:focus { background: var(--navy); color: #fff; }

.btn-light-outline {
    background: transparent;
    color: #fff;
    box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .8);
}
.btn-light-outline:hover,
.btn-light-outline:focus { background: #fff; color: var(--navy); }

.btn-row { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.75rem; }

.cen {
    text-align: center !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

/* ---------- Subpage Hero Banner (Clear of Fixed Header) ------------------ */

.breadcrumbs-page-wrap { background: var(--navy-deep); }
.breadcrumbs-page-wrap::after { display: none !important; }

.breadcrumbs-page {
    padding: clamp(9.5rem, 15vw, 12.5rem) 1.5rem clamp(3.5rem, 6vw, 5rem);
    background-size: cover;
    background-position: center;
    text-align: center;
    position: relative;
}
.breadcrumbs-page::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(28, 35, 57, .78) 0%, rgba(28, 35, 57, .9) 100%);
    z-index: 0;
}
.breadcrumbs-page .container { position: relative; z-index: 1; }

.breadcrumbs-page h1 {
    color: #fff;
    font-family: 'Changa', sans-serif;
    font-weight: 700;
    font-size: clamp(2.4rem, 1.6rem + 2.6vw, 3.85rem);
    line-height: 1.1;
    margin: 0 auto .75rem;
    text-shadow: 0 2px 14px rgba(0, 0, 0, .35);
}
.hero-lead {
    color: #e4e8f2;
    font-size: 1.125rem;
    max-width: 38rem;
    margin: 0 auto 1.35rem;
}
.breadcrumb-pill {
    display: inline-flex;
    align-items: center;
    gap: .55rem;
    padding: .45rem 1.15rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, .12);
    border: 1px solid rgba(255, 255, 255, .22);
    color: #fff;
    font-size: .9375rem;
    font-weight: 600;
}
.breadcrumb-pill a { color: var(--amber); font-weight: 700; }
.breadcrumb-pill a:hover { color: #fff; text-decoration: underline; }
.breadcrumb-pill span[aria-hidden] { opacity: .55; }

/* ---------- Our Team Cards (Static / Zero-JS) ---------------------------- */

.team-card {
    height: 100%;
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: 0 6px 20px -10px rgba(28, 35, 57, .18);
    transition: transform .25s ease, box-shadow .25s ease;
}
.team-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow);
}
.team-card-img {
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background: var(--mist);
}
.team-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    display: block;
}
.team-card-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 1.35rem 1.35rem 1.5rem;
    text-align: center;
}
.team-card-body h3 {
    font-size: 1.375rem;
    font-weight: 700;
    margin-bottom: .25rem;
    line-height: 1.2;
}
.team-card-body h3 a { color: var(--navy); }
.team-card-body h3 a:hover { color: var(--coral-deep); }
.team-role {
    color: var(--coral-deep);
    font-weight: 700;
    font-size: .9375rem;
    margin-bottom: 1.15rem;
}
.team-card-cta {
    margin-top: auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .4rem;
    padding: .55rem 1.15rem;
    border-radius: 999px;
    background: var(--mist);
    color: var(--navy);
    font-weight: 700;
    font-size: .9375rem;
}
.team-card-cta:hover,
.team-card-cta:focus-visible {
    background: var(--navy);
    color: #fff;
}

/* ---------- Clinic Tour Intro, Jump Bar & Room Cards --------------------- */

.tour-intro-img {
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    width: 100%;
    height: auto;
    display: block;
}
.tour-jump {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
    margin-top: 1.5rem;
}
.tour-jump a {
    display: inline-block;
    padding: .4rem .9rem;
    border-radius: 999px;
    background: var(--mist);
    border: 1px solid var(--line);
    color: var(--navy);
    font-weight: 700;
    font-size: .875rem;
}
.tour-jump a:hover,
.tour-jump a:focus-visible {
    background: var(--navy);
    border-color: var(--navy);
    color: #fff;
}

.tour-card {
    height: 100%;
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: 0 6px 20px -10px rgba(28, 35, 57, .18);
    scroll-margin-top: 140px;
}
.tour-card-img {
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: var(--mist);
}
.tour-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.tour-card-body {
    flex: 1;
    padding: 1.35rem 1.5rem 1.6rem;
}
.tour-step {
    display: inline-block;
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: var(--coral-deep);
    background: rgba(241, 94, 66, .1);
    padding: .2rem .65rem;
    border-radius: 999px;
    margin-bottom: .5rem;
}
.tour-card-body h3 {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: .5rem;
}
.tour-card-body p {
    margin-bottom: 0;
    font-size: .975rem;
    line-height: 1.65;
}

/* ---------- Static History Timeline -------------------------------------- */

.history-intro {
    background: var(--mist);
    border-left: 4px solid var(--coral);
    border-radius: 0 var(--radius) var(--radius) 0;
    padding: 1.5rem 1.75rem;
    margin-bottom: 2.5rem;
    font-size: 1.125rem;
    color: var(--navy);
}
.timeline {
    list-style: none;
    margin: 0;
    padding: 0 0 0 2rem;
    position: relative;
}
.timeline::before {
    content: "";
    position: absolute;
    left: .55rem;
    top: .5rem;
    bottom: .5rem;
    width: 3px;
    background: var(--line);
    border-radius: 2px;
}
.timeline-item {
    position: relative;
    padding: 1.35rem 1.5rem;
    margin-bottom: 1.5rem;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: 0 4px 16px -8px rgba(28, 35, 57, .14);
}
.timeline-item::before {
    content: "";
    position: absolute;
    left: -1.85rem;
    top: 1.65rem;
    width: 15px;
    height: 15px;
    border-radius: 50%;
    background: var(--coral);
    border: 3px solid #fff;
    box-shadow: 0 0 0 2px var(--coral);
}
.timeline-year {
    display: inline-block;
    background: var(--navy);
    color: #fff;
    font-family: 'Changa', sans-serif;
    font-weight: 700;
    font-size: 1rem;
    line-height: 1;
    padding: .35rem .8rem;
    border-radius: 999px;
    margin-bottom: .5rem;
}
.timeline-item h3 { font-size: 1.35rem; color: var(--navy); margin-bottom: .4rem; font-weight: 700; }
.timeline-item p { margin-bottom: 0; }
.timeline-item a { color: var(--coral-deep); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.timeline-item a:hover { color: var(--navy); }

/* ---------- Callout & Shared Footer -------------------------------------- */

.callout-band {
    position: relative;
    z-index: 6;
    padding-top: 1rem;
    background: linear-gradient(to bottom, transparent 3.5rem, #e0e2e9 3.5rem);
}
.callout-band .footer-top-callout { margin-top: 0; }
.callout-style-side-img {
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}
.callout-style-side-img .text-callout .heading h3 {
    line-height: 1.15;
    margin-bottom: .5rem;
    font-size: clamp(1.5rem, 1.1rem + 1.2vw, 1.875rem);
}
.callout-phone {
    color: var(--coral-deep) !important;
    white-space: nowrap;
    text-decoration: underline;
    text-underline-offset: 4px;
}
.callout-phone:hover { color: var(--navy) !important; }

footer { padding-top: 4rem !important; }
footer .footer-heading { font-size: 1.25rem; }
.logo-footer { margin-left: auto; margin-right: auto; max-width: 100%; }
.logo-footer h2 { font-size: 1.25rem; color: var(--navy); margin-bottom: 1rem; }

.btn-apply {
    display: inline-block;
    padding: .65rem 1.75rem;
    border-radius: 999px;
    font-weight: 700;
    color: var(--navy);
    box-shadow: inset 0 0 0 2px var(--navy);
}
.btn-apply:hover,
.btn-apply:focus-visible { background: var(--navy); color: #fff; }

.map-embed { width: 100%; height: 180px; border: 0; border-radius: 10px; display: block; }

.working-hours { font-size: 1rem; font-weight: 400; }
.working-hours ul li { font-size: 1rem; color: #444; padding-bottom: .5rem; }
.working-hours .day { font-weight: 700; color: var(--navy); }
.working-hours ul li.hours-note { display: block; font-size: .9375rem; margin-top: -.25rem; }
.working-hours .hours-note a { color: var(--coral-deep); font-weight: 700; text-decoration: underline; }
.copyright-wrap a { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Homepage-Only Rules (body.home-fr) ---------------------------- */

.home-fr .hero {
    background: var(--navy);
    min-height: clamp(11rem, 28vw, 26rem);
    margin-top: 120px;
    padding-top: 0;
}
.home-fr .hero img { display: block; width: 100%; height: auto; }

.home-fr .quick-actions { position: relative; z-index: 5; margin-top: -2.25rem; }
.home-fr .qa-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    background: rgba(255, 255, 255, .16);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}
.home-fr .qa-list li { background: var(--navy); margin: 0; }
.home-fr .qa-item {
    display: flex;
    align-items: center;
    gap: .9rem;
    height: 100%;
    padding: 1.15rem 1.35rem;
    color: #fff;
}
.home-fr a.qa-item:hover,
.home-fr a.qa-item:focus-visible { background: rgba(255, 255, 255, .08); color: #fff; }
.home-fr .qa-item > i {
    flex: 0 0 2.5rem;
    width: 2.5rem; height: 2.5rem;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--coral);
    color: #fff;
    font-size: 1rem;
}
.home-fr .qa-label { display: block; font-size: .8125rem; color: #c9cfe0; line-height: 1.3; }
.home-fr .qa-value { display: block; font-weight: 700; font-size: 1.0625rem; line-height: 1.3; }

@media (max-width: 991px) {
    .home-fr .qa-list { grid-template-columns: repeat(2, 1fr); }
    .home-fr .quick-actions { margin-top: -1.5rem; }
    .home-fr .hero { margin-top: 0; }
}
@media (max-width: 480px) {
    .home-fr .qa-list { grid-template-columns: 1fr; }
}

.home-fr .tagline { font-size: 1.25rem; font-weight: 700; color: var(--coral-deep); margin-bottom: 1rem; }
.home-fr .welcome img { border-radius: var(--radius); }

/* Homepage Services Section (Restored Dark Navy Background & Card Layout) */
.home-fr .services {
    background-color: var(--navy) !important;
    background-image: linear-gradient(rgba(28, 35, 57, .74), rgba(28, 35, 57, .74)), url('../images/p10.jpg') !important;
    background-size: cover !important;
    background-position: center !important;
    color: #fff;
}
.home-fr .services .row > [class*="col-"] { display: flex; }
.home-fr .icon-box-with-img {
    width: 100%;
    display: flex;
    flex-direction: column;
    background: #fff;
    color: var(--ink);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}
.home-fr .icon-box-with-img .text { display: flex; flex-direction: column; flex: 1; }
.home-fr .icon-box-with-img h3 { color: var(--navy); font-size: 1.625rem; }
.home-fr .icon-box-with-img .card-link { margin-top: auto; }
.home-fr .card-link {
    display: inline-block;
    font-weight: 700;
    color: var(--coral-deep);
    text-decoration: underline;
    text-decoration-thickness: 2px;
    text-underline-offset: 4px;
}
.home-fr .card-link:hover,
.home-fr .card-link:focus-visible { color: var(--navy); }

/* Homepage Pharmacy & Reviews Sections */
.home-fr .pharm-tile {
    display: block;
    height: 100%;
    margin: 0;
    background: #fff;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    color: var(--navy);
}
.home-fr .pharm-tile .frame { overflow: hidden; }
.home-fr .pharm-tile img { width: 100%; display: block; transition: transform .5s ease; }
.home-fr .pharm-tile:hover img { transform: scale(1.03); }
.home-fr .pharm-tile figcaption {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem 1.35rem;
    font-family: 'Changa', sans-serif;
    font-size: 1.375rem;
    font-weight: 700;
    line-height: 1.2;
}
.home-fr .pharm-tile:hover figcaption,
.home-fr .pharm-tile:focus-visible figcaption { color: var(--coral-deep); }
.home-fr .pharm-tile figcaption i { font-size: .95rem; }

.home-fr .reviews {
    background-color: var(--navy-deep);
    color: #fff;
}
.home-fr .reviews .client-testimonial p { font-size: 1.125rem; line-height: 1.65; color: #fff; }
.home-fr .rating { color: #ffb347; font-size: 1.25rem; font-weight: 700; margin-bottom: .25rem; }
.home-fr .rating .stars { margin-left: .35rem; letter-spacing: 2px; }
.home-fr .reviews .rating-meta { color: #e4e8f2; margin-bottom: .25rem; }
.home-fr .reviews .btn-theme { margin-top: 1rem; }
.home-fr .client-testimonial-icon h3 span { color: #c9cfe0 !important; }

/* ==========================================================================
   custom.css ADDITIONS  (Nov 2026)
   Paste this whole block at the very BOTTOM of assets/css/custom.css.
   Nothing above it needs to change. custom.css loads last, so these rules
   win over earlier ones of equal specificity.
   ========================================================================== */

/* ---------- Phones & tablets: hero no longer needs to clear a fixed header -
   Below 992px the header is position: sticky (in the flow), so the 9.5rem+
   top padding from the desktop rule only adds dead space above the title.   */
@media (max-width: 991px) {
    .breadcrumbs-page { padding: 2.75rem 1.25rem 2.5rem; }
    .breadcrumbs-page h1 { margin-bottom: .5rem; }
    .hero-lead { font-size: 1.0625rem; margin-bottom: 1.1rem; }
}

/* ---------- Touch targets (44px guideline) -------------------------------- */
@media (pointer: coarse) {
    .tour-jump a {
        display: inline-flex;
        align-items: center;
        min-height: 44px;
    }
    footer .footer-widget-menu a {
        display: inline-block;
        padding: .4rem 0;
    }
}
@media (max-width: 991px) {
    .navbar-collapse .dropdown-item {
        padding-top: .6rem;
        padding-bottom: .6rem;
    }
}

/* Long email addresses must wrap instead of pushing the layout sideways on
   320px-wide phones. */
.footer-widget-menu a,
.loc-list a { overflow-wrap: anywhere; }

/* ---------- Our Locations: clinic cards ----------------------------------- */

.loc-card {
    height: 100%;
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: 0 6px 20px -10px rgba(28, 35, 57, .18);
}
.loc-card-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 1.5rem 1.5rem 1.35rem;
}
.loc-card h3 {
    font-size: 1.45rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 1rem;
    line-height: 1.2;
}
.loc-list {
    list-style: none;
    margin: 0 0 1.25rem;
    padding: 0;
}
.loc-list li {
    display: flex;
    align-items: flex-start;
    gap: .75rem;
    padding: .3rem 0;
}
.loc-list li > i {
    flex: 0 0 1.25rem;
    margin-top: .4rem;
    text-align: center;
    color: var(--coral-deep);
}
.loc-list a {
    color: var(--navy);
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 3px;
}
.loc-list a:hover,
.loc-list a:focus-visible { color: var(--coral-deep); }

.loc-hours-title {
    font-size: .875rem !important;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--coral-deep) !important;
    margin-bottom: .35rem !important;
}
.loc-hours { margin: 0 0 .75rem; }
.loc-hours > div {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding: .4rem 0;
    border-bottom: 1px solid var(--line);
}
.loc-hours dt { font-weight: 700; color: var(--navy); }
.loc-hours dd { margin: 0; text-align: right; }
.loc-note { font-size: .9375rem; margin: 0 0 1.25rem; }
.loc-note a { color: var(--coral-deep); font-weight: 700; text-decoration: underline; }
.loc-card .btn-theme { align-self: flex-start; margin-top: auto; }
.loc-map {
    display: block;
    width: 100%;
    height: 220px;
    border: 0;
}

/* ---------- Reviews page: review cards ------------------------------------ */

.review-card {
    height: 100%;
    display: flex;
    flex-direction: column;
    margin: 0;
    padding: 1.5rem;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: 0 6px 20px -10px rgba(28, 35, 57, .18);
}
.review-source {
    display: flex;
    align-items: center;
    gap: .5rem;
    margin-bottom: .85rem;
    font-size: .875rem;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
    color: var(--coral-deep);
}
.review-card blockquote { margin: 0 0 1.1rem; flex: 1; }
.review-card blockquote p { margin: 0; font-size: 1.0625rem; line-height: 1.65; }
.review-card figcaption { font-weight: 700; color: var(--navy); }

/* ---------- Phone/tablet menu: let the slide-out panel use the full screen --
   backdrop-filter on the header makes it the containing block for its
   position:fixed children, so the off-canvas menu was sized to the header
   (~100px tall) and clipped by the page hero. Below 992px we use a solid
   header colour instead of the blur so the menu is viewport-sized again.     */
@media (max-width: 991px) {
    header.header-top,
    .home-fr header.header-top {
        -webkit-backdrop-filter: none !important;
        backdrop-filter: none !important;
        background: #1c2339 !important;
    }
}

/* ---------- Payment Options page cards ------------------------------------ */
.pay-card {
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 1.75rem;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: 0 6px 20px -10px rgba(28, 35, 57, .18);
}
.pay-card img { max-width: 260px; width: 100%; height: auto; margin-bottom: 1.25rem; }
.pay-card h3 { font-size: 1.45rem; font-weight: 700; color: var(--navy); margin-bottom: .75rem; }
.pay-card .btn-theme { margin-top: auto; }
.pay-more { margin: 1rem 0 0; font-size: .9375rem; }
.pay-more a { color: var(--coral-deep); font-weight: 700; text-decoration: underline; }

/* ==========================================================================
   custom.css ADDITIONS for: small-animals, large-animals, online-pharmacy
   Paste at the very BOTTOM of assets/css/custom.css (after the earlier blocks).
   ========================================================================== */

/* ---------- Service checklists ------------------------------------------- */
.svc-list { list-style: none; margin: 1rem 0 0; padding: 0; }
.svc-list li {
    position: relative;
    padding: .4rem 0 .4rem 1.6rem;
    font-weight: 600;
    color: var(--navy);
    break-inside: avoid;
}
.svc-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: .95em;
    width: .6rem;
    height: .6rem;
    border-radius: 50%;
    background: var(--coral);
}
.svc-list-sm li { font-weight: 400; color: inherit; padding: .2rem 0 .2rem 1.35rem; }
.svc-list-sm li::before { width: .45rem; height: .45rem; top: .8em; background: var(--coral-deep); }
@media (min-width: 576px) { .svc-cols { columns: 2; column-gap: 2rem; } }

/* ---------- Large animals: grouped service cards ------------------------- */
.svc-groups {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.1rem;
    margin-top: 1.5rem;
}
.svc-group {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 1.15rem 1.25rem;
    box-shadow: 0 6px 20px -12px rgba(28, 35, 57, .18);
}
.svc-group h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--navy);
    margin: 0 0 .35rem;
    line-height: 1.25;
}
.svc-side-img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}
@media (min-width: 992px) { .svc-side-img { position: sticky; top: 8.5rem; } }
.svc-note {
    display: flex;
    gap: .75rem;
    align-items: flex-start;
    margin: 0 0 2rem;
    padding: .9rem 1.15rem;
    background: var(--mist);
    border-left: 4px solid var(--coral);
    border-radius: 0 var(--radius) var(--radius) 0;
}
.svc-note i { margin-top: .3rem; color: var(--coral-deep); }

/* ---------- Small animals: image pair + captioned photos ------------------ */
.svc-media-pair { display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; }
.svc-media-pair img {
    width: 100%;
    height: 100%;
    aspect-ratio: 3 / 4;
    object-fit: cover;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}
.photo-card {
    margin: 0;
    height: 100%;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: 0 6px 20px -12px rgba(28, 35, 57, .18);
}
.photo-card img { display: block; width: 100%; height: auto; }
.photo-card figcaption { padding: .9rem 1.1rem; font-weight: 700; color: var(--navy); }

/* ---------- Online pharmacy ---------------------------------------------- */
.svc-prose p { font-size: 1.0625rem; line-height: 1.7; }
.pharm-card {
    display: block;
    height: 100%;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: 0 6px 20px -12px rgba(28, 35, 57, .18);
    transition: transform .2s ease, box-shadow .2s ease;
}
.pharm-card:hover,
.pharm-card:focus-visible { transform: translateY(-3px); box-shadow: var(--shadow); }
.pharm-card img { display: block; width: 100%; height: auto; }
.pharm-card-name {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.25rem;
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--navy);
}
.pharm-card-name i { color: var(--coral-deep); }

@media (prefers-reduced-motion: reduce) {
    .pharm-card { transition: none; }
    .pharm-card:hover, .pharm-card:focus-visible { transform: none; }
}

/* ==========================================================================
   custom.css ADDITIONS for: emergencies, career, and the new Online Pharmacy
   intro block. Paste at the very BOTTOM of assets/css/custom.css.
   (Emergency cards reuse .loc-list and .loc-map from the earlier block.)
   ========================================================================== */

.btn-coral { background: var(--coral-deep); color: #fff; }
.btn-coral:hover,
.btn-coral:focus { background: var(--navy); color: #fff; }

/* ---------- Emergencies --------------------------------------------------- */
.er-alert {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    padding: 1.5rem 1.75rem;
    margin-bottom: 3rem;
    background: var(--mist);
    border: 1px solid var(--line);
    border-left: 6px solid var(--coral);
    border-radius: var(--radius);
}
.er-alert-icon {
    flex: 0 0 3.5rem;
    height: 3.5rem;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--coral-deep);
    color: #fff;
    font-size: 1.35rem;
}
.er-alert-text { flex: 1; }
.er-alert-text h2 { font-size: 1.35rem; font-weight: 700; color: var(--navy); margin: 0 0 .35rem; }
.er-alert-text p { margin: 0; }
.er-alert .btn-theme { flex: 0 0 auto; white-space: nowrap; }
@media (max-width: 767px) {
    .er-alert { flex-direction: column; align-items: flex-start; padding: 1.25rem; }
    .er-alert .btn-theme { width: 100%; text-align: center; }
}
.er-head { margin-bottom: 1.75rem; }

.er-card {
    height: 100%;
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: 0 6px 20px -10px rgba(28, 35, 57, .18);
}
.er-card-logo {
    display: grid;
    place-items: center;
    height: 120px;
    padding: 1rem 1.5rem;
    background: var(--mist);
    border-bottom: 1px solid var(--line);
}
.er-card-logo img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; }
.er-card-body { flex: 1; display: flex; flex-direction: column; padding: 1.25rem 1.5rem 1.35rem; }
.er-card h3 { font-size: 1.2rem; font-weight: 700; color: var(--navy); margin: 0 0 .9rem; line-height: 1.3; }
.er-card .loc-list { margin-bottom: 1.1rem; }
.er-card .btn-theme { align-self: flex-start; margin-top: auto; }
.er-fax { color: #555; }
.er-note { margin: 1.75rem 0 0; text-align: center; font-weight: 600; color: var(--navy); }

/* ---------- Career: collapsible job posting (no JavaScript) --------------- */
.job {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: 0 6px 20px -12px rgba(28, 35, 57, .18);
    margin-bottom: 1rem;
    overflow: hidden;
}
.job summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.15rem 1.5rem;
    cursor: pointer;
    list-style: none;
    background: var(--navy);
    color: #fff;
}
.job summary::-webkit-details-marker { display: none; }
.job summary::after {
    content: "";
    flex: 0 0 .7rem;
    height: .7rem;
    margin-left: auto;
    border-right: 2px solid #fff;
    border-bottom: 2px solid #fff;
    transform: rotate(45deg);
    transition: transform .2s ease;
}
.job[open] summary::after { transform: rotate(-135deg); }
.job summary:focus-visible { outline: 3px solid var(--amber); outline-offset: -3px; }
.job-title { font-size: 1.25rem; font-weight: 700; }
.job-tag {
    padding: .2rem .7rem;
    border-radius: 999px;
    background: var(--amber);
    color: var(--navy-deep);
    font-size: .8125rem;
    font-weight: 700;
}
.job-body { padding: 1.5rem 1.5rem 1.75rem; }
.job-lead { font-size: 1.1rem; font-weight: 600; color: var(--navy); }
.job-body h3 {
    margin: 1.5rem 0 .6rem;
    font-size: .9375rem;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--coral-deep);
}
.job-apply { display: inline-block; margin-top: 1.5rem; }
@media (prefers-reduced-motion: reduce) { .job summary::after { transition: none; } }

/* ---------- Online Pharmacy intro: three feature cards -------------------- */
.pharm-lead {
    max-width: 44rem;
    margin: 0 auto 2.25rem;
    text-align: center;
    font-size: 1.2rem;
    line-height: 1.6;
    color: var(--navy);
}
.pharm-point {
    height: 100%;
    padding: 1.6rem 1.5rem;
    background: #fff;
    border: 1px solid var(--line);
    border-top: 4px solid var(--coral);
    border-radius: var(--radius);
    box-shadow: 0 6px 20px -12px rgba(28, 35, 57, .18);
}
.pharm-point-icon {
    display: grid;
    place-items: center;
    width: 3rem;
    height: 3rem;
    margin-bottom: 1rem;
    border-radius: 50%;
    background: var(--mist);
    color: var(--coral-deep);
    font-size: 1.15rem;
}
.pharm-point h3 { margin: 0 0 .6rem; font-size: 1.25rem; font-weight: 700; color: var(--navy); }
.pharm-point p { margin: 0; line-height: 1.65; }
.pharm-shops { margin-top: 2.5rem; }

/* ===== Contact, FAQs, Forms, Promotions, Resources (new only) ===== */
.contact-icon{display:inline-flex;align-items:center;justify-content:center;width:56px;height:56px;border-radius:50%;background:var(--mist);color:var(--coral-deep);font-size:1.35rem;margin-bottom:1rem}

/* Contact */
.contact-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:1.25rem;align-items:start}
.contact-card{background:#fff;border:1px solid var(--line);border-radius:var(--radius);box-shadow:var(--shadow);padding:1.75rem 1.25rem;text-align:center;display:flex;flex-direction:column;align-items:center}
.contact-card h3{font-size:1.15rem;color:var(--navy);margin:0 0 .6rem}
.contact-card p{margin:0;overflow-wrap:anywhere}
.contact-card a{color:var(--navy);font-weight:600;text-decoration:none;display:inline-block;min-height:44px;line-height:1.5;padding:.2rem 0}
.contact-card a:hover{color:var(--coral-deep);text-decoration:underline}
.contact-hours{width:100%;margin:0}
.contact-hours div{display:flex;justify-content:space-between;gap:.75rem;padding:.4rem 0;border-bottom:1px dashed var(--line)}
.contact-hours div:last-child{border-bottom:0}
.contact-hours dt{font-weight:600;color:var(--navy);white-space:nowrap}
.contact-hours dd{margin:0;text-align:right;white-space:nowrap}
.contact-note{font-size:.9rem;margin-top:.75rem!important}
.contact-note a{min-height:0;font-weight:600}
.contact-map{display:block;width:100%;height:420px;border:0;border-radius:var(--radius);box-shadow:var(--shadow)}
@media (max-width:1199px){.contact-grid{grid-template-columns:repeat(2,1fr)}}
@media (max-width:575px){.contact-grid{grid-template-columns:1fr}.contact-map{height:320px}}

/* FAQs */
.faq-item{background:#fff;border:1px solid var(--line);border-radius:var(--radius);box-shadow:var(--shadow);margin-bottom:1rem;overflow:hidden}
.faq-item summary{list-style:none;cursor:pointer;display:flex;align-items:center;justify-content:space-between;gap:1rem;padding:1.1rem 1.25rem;min-height:56px;font-weight:700;color:var(--navy)}
.faq-item summary::-webkit-details-marker{display:none}
.faq-item summary::after{content:"+";flex:0 0 auto;width:32px;height:32px;border-radius:50%;background:var(--mist);color:var(--coral-deep);font-size:1.3rem;line-height:32px;text-align:center;transition:transform .2s}
.faq-item[open] summary{border-bottom:1px solid var(--line)}
.faq-item[open] summary::after{content:"\2212"}
.faq-item summary:focus-visible{outline:3px solid var(--focus);outline-offset:-3px}
.faq-body{padding:1.1rem 1.25rem 1.25rem}
.faq-body p:last-child,.faq-body ul:last-child{margin-bottom:0}

/* Forms */
.form-card,.promo-empty{background:#fff;border:1px solid var(--line);border-radius:var(--radius);box-shadow:var(--shadow);padding:2rem 1.5rem;text-align:center;display:flex;flex-direction:column;align-items:center}
.form-card h3,.promo-empty h3{font-size:1.25rem;color:var(--navy);margin:0 0 .5rem}
.form-card p,.promo-empty p{margin:0 0 1.25rem}

/* Promotions */
.promo-empty{background:var(--mist);border-style:dashed;box-shadow:none}
.promo-img{display:block;width:100%;height:auto;border-radius:var(--radius);box-shadow:var(--shadow)}

/* Resources */
.res-group{font-size:1.2rem;color:var(--navy);margin:0 0 1rem;padding-bottom:.5rem;border-bottom:2px solid var(--coral)}
.link-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:1rem}
.link-card{display:flex;align-items:center;gap:1rem;background:#fff;border:1px solid var(--line);border-radius:var(--radius);box-shadow:var(--shadow);padding:1rem 1.1rem;min-height:72px;text-decoration:none;color:var(--navy);transition:transform .2s,border-color .2s}
.link-card:hover{border-color:var(--coral);transform:translateY(-2px)}
.link-card:focus-visible{outline:3px solid var(--focus);outline-offset:2px}
.link-card-icon{flex:0 0 44px;width:44px;height:44px;border-radius:50%;background:var(--mist);color:var(--coral-deep);display:inline-flex;align-items:center;justify-content:center}
.link-card-text{flex:1 1 auto;min-width:0;display:flex;flex-direction:column}
.link-card-title{font-weight:700;line-height:1.3}
.link-card-url{font-size:.85rem;color:#5b6475;overflow-wrap:anywhere}
.link-card-arrow{flex:0 0 auto;color:var(--coral-deep);font-size:.9rem}
@media (max-width:767px){.link-grid{grid-template-columns:1fr}}
@media (prefers-reduced-motion:reduce){.link-card,.faq-item summary::after{transition:none}.link-card:hover{transform:none}}

/* ===== Phone header: clinics row on top + larger logo (new only) =====
   Paste at the very bottom of assets/css/custom.css */
@media (max-width: 991px) {
    .navbar-brand { width: 235px; }
}
@media (max-width: 575px) {
    .navbar-brand { width: 250px; }

    /* Bring the clinic links back as their own full-width row above the buttons */
    header.header-top .top-bar-right .row { row-gap: 0; }
    header.header-top .top-bar-right .contact-info {
        display: flex !important;
        flex: 0 0 100%;
        width: 100%;
        max-width: 100%;
        justify-content: space-between;
        margin-bottom: .25rem;
        padding-bottom: .1rem;
        border-bottom: 1px solid rgba(255, 255, 255, .12);
    }
    header.header-top .top-bar-right .contact-info div {
        flex: 1 1 0;
        padding: 0 .25rem;
        text-align: center;
        white-space: nowrap;
    }
    header.header-top .top-bar-right .contact-info a {
        display: inline-block;
        padding: .6rem 0;           /* ~44px tap target */
        font-size: .9375rem;
        font-weight: 600;
        color: #fff;
    }
    header.header-top .top-bar-right .contact-info i { margin-right: .3rem; }

    /* Facebook icon back in the buttons row */
    header.header-top .top-bar-right .social-icons a[href*="facebook.com"]:not(.btn-theme):not(.top-phone) {
        display: inline-flex !important;
        align-items: center;
        justify-content: center;
        flex: 0 0 36px;
        width: 36px;
        height: 36px;
        font-size: 1.35rem;
        color: #fff;
    }
    header.header-top .top-bar-right .social-icons { gap: .4rem; }
    header.header-top .top-bar-right .social-icons a.top-phone { font-size: .875rem; }
    header.header-top .top-bar-right .social-icons a.btn-theme { padding: .35rem .6rem; }

    /* Paragraphs use the full phone width */
    .container { padding-left: 1rem; padding-right: 1rem; }
    p { max-width: none; text-wrap: pretty; overflow-wrap: break-word; }

}
@media (max-width: 575px) {
    header.header-top .top-bar-right .social-icons a.btn-theme { white-space: nowrap; }
}
@media (max-width: 400px) {
    header.header-top .top-bar-right .social-icons { gap: .3rem; }
    header.header-top .top-bar-right .social-icons a.top-phone { font-size: .8125rem; }
    header.header-top .top-bar-right .social-icons a.btn-theme { font-size: .6875rem; padding: .35rem .5rem; }
    header.header-top .top-bar-right .social-icons a[href*="facebook.com"]:not(.btn-theme):not(.top-phone) { flex-basis: 30px; width: 30px; }
}

/* ===== Desktop header: larger clinic logo ===== */
@media (min-width: 992px) {
    .navbar-brand { width: 290px; }
    .home-fr .hero { margin-top: 135px; }   /* keeps the homepage hero clear of the taller header */
}

/* ===== Team bio pages & Grooming (new only) ===== */
.bio-photo { margin: 0; }
.bio-photo img {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    object-position: top center;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    background: var(--mist);
}
@media (min-width: 768px) { .bio-photo { position: sticky; top: 8.5rem; } }
.bio-body .heading-main { margin-bottom: 1.25rem; }
.bio-body .heading-main::after { margin-left: 0; }
.bio-body p { font-size: 1.0625rem; line-height: 1.75; max-width: 62ch; }
.bio-edu {
    display: inline-flex;
    align-items: center;
    gap: .55rem;
    padding: .45rem 1rem;
    margin-bottom: 1.25rem !important;
    border-radius: 999px;
    background: var(--mist);
    border: 1px solid var(--line);
    color: var(--navy);
    font-weight: 700;
    font-size: 1rem !important;
    line-height: 1.4 !important;
}
.bio-edu i { color: var(--coral-deep); }
.bio-body .btn-row { margin-top: 2rem; }

/* Grooming */
.groom-sub { font-size: 1.35rem; color: var(--navy); margin: 2rem 0 1rem; }
.photo-card figcaption .groom-cap {
    display: block;
    margin-top: .3rem;
    font-weight: 400;
    color: var(--ink);
    line-height: 1.6;
}

/* ===== Reviews page redesign (new only) ===== */
.review-summary {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1.25rem 2rem;
    max-width: 52rem;
    margin: 0 auto 2.5rem;
    padding: 1.5rem 2rem;
    background: var(--navy);
    color: #fff;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}
.review-score { display: flex; flex-wrap: wrap; align-items: center; gap: .35rem 1rem; }
.review-score-num { font-family: 'Changa', sans-serif; font-size: 3.25rem; font-weight: 700; line-height: 1; }
.review-score-stars { color: #ffb347; font-size: 1.25rem; letter-spacing: 2px; white-space: nowrap; }
.review-score-meta { flex-basis: 100%; color: #c9cfe0; font-size: .9375rem; }
@media (min-width: 576px) { .review-score-meta { flex-basis: auto; } }
@media (max-width: 575px) {
    .review-summary { padding: 1.25rem; text-align: center; justify-content: center; }
    .review-score { justify-content: center; }
}

.review-head { display: flex; align-items: center; gap: .85rem; margin-bottom: .85rem; }
.review-avatar {
    flex: 0 0 44px;
    width: 44px; height: 44px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--navy);
    color: #fff;
    font-family: 'Changa', sans-serif;
    font-size: 1.25rem;
    font-weight: 700;
}
.col-lg-4:nth-child(even) .review-avatar { background: var(--coral-deep); }
.review-who { display: flex; flex-direction: column; min-width: 0; }
.review-name { font-weight: 700; color: var(--navy); line-height: 1.25; }
.review-head .review-source { margin: 0; font-size: .8125rem; }
.review-stars { color: #f5a623; font-size: 1rem; letter-spacing: 2px; margin-bottom: .75rem; }
.review-card { position: relative; transition: transform .2s ease, box-shadow .2s ease; }
.review-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
@media (prefers-reduced-motion: reduce) { .review-card { transition: none; } .review-card:hover { transform: none; } }
