:root {
    --navy: #153e56;
    --navy-dark: #0d2d40;
    --teal: #378f96;
    --mint: #dff1ed;
    --coral: #e98068;
    --cream: #f7f4ed;
    --ink: #20313a;
    --muted: #65747b;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
}

body {
    margin: 0;
    color: var(--ink);
    background: #fff;
    font-family: "DM Sans", sans-serif;
    line-height: 1.7;
}

a {
    text-decoration: none;
}

h1,
h2 {
    font-family: "Newsreader", serif;
    color: var(--navy-dark);
    line-height: 1.04;
    letter-spacing: -.025em;
}

h2 {
    font-size: clamp(2.4rem, 4vw, 4rem);
    margin-bottom: 1.25rem;
}

p {
    color: var(--muted);
}

.topbar {
    background: var(--navy-dark);
    color: #fff;
    padding: .5rem 0;
    font-size: .79rem;
    letter-spacing: .02em;
}

.topbar a {
    color: #fff;
}

.site-header {
    background: rgba(255, 255, 255, .96);
    box-shadow: 0 4px 24px rgba(13, 45, 64, .08);
    backdrop-filter: blur(12px);
}

.navbar-brand img {
    width: min(350px, 48vw);
    height: auto;
}

.nav-link {
    color: var(--ink) !important;
    font-weight: 600;
    font-size: .91rem;
    padding: .7rem .72rem !important;
}

.nav-link:hover {
    color: var(--teal) !important;
}

.btn {
    border-radius: 8px;
    padding: .8rem 1.2rem;
    font-weight: 700;
    border-width: 1.5px;
}

.btn.btn-brand {
    color: #fff;
    background: var(--coral);
    border-color: var(--coral);
}

.btn.btn-brand:hover {
    color: #fff;
    background: #d66f59;
    border-color: #d66f59;
    transform: translateY(-1px);
}

.btn.btn-outline-brand {
    color: var(--navy);
    border-color: #bdd0d5;
    background: #fff;
}

.btn.btn-outline-brand:hover {
    color: #fff;
    background: var(--navy);
    border-color: var(--navy);
}

.hero {
    position: relative;
    overflow: hidden;
    background: #dcebed;
}

.hero-image {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(13, 45, 64, .96) 0%, rgba(13, 45, 64, .84) 42%, rgba(13, 45, 64, .12) 78%), url('../images/home-hero-update.webp') center/cover no-repeat;
}

/* Reusable photographic hero system for internal pages.
   Each page class only needs to define its image and optional focal position. */
.page-image-hero,
.about-hero,
.services-hero,
.team-hero,
.new-clients-hero,
.resources-hero,
.contact-hero,
.dog-care-hero,
.cat-care-hero,
.grooming-hero,
.blog-hero,
.careers-hero,
.faq-hero {
    --hero-image: none;
    --hero-position: center center;
    position: relative;
    isolation: isolate;
    overflow: hidden;
    display: flex;
    align-items: center;
    min-height: 625px;
    padding: clamp(120px, 13vw, 210px) 0;
    background-image: var(--hero-image);
    background-position: var(--hero-position);
    background-size: cover;
    background-repeat: no-repeat;
    background-color: var(--navy-dark);
}

/* The overlay is a separate layer, so it darkens only the photograph—not the text. */
.page-image-hero::before,
.about-hero::before,
.services-hero::before,
.team-hero::before,
.new-clients-hero::before,
.resources-hero::before,
.contact-hero::before,
.dog-care-hero::before,
.cat-care-hero::before,
.grooming-hero::before,
.blog-hero::before,
.careers-hero::before,
.faq-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    background:
        linear-gradient(90deg,
            rgba(13, 45, 64, .97) 0%,
            rgba(13, 45, 64, .90) 32%,
            rgba(13, 45, 64, .68) 52%,
            rgba(13, 45, 64, .18) 76%,
            rgba(13, 45, 64, .08) 100%),
        linear-gradient(0deg, rgba(13, 45, 64, .22), transparent 45%);
}

.page-image-hero>.container,
.about-hero>.container,
.services-hero>.container,
.team-hero>.container,
.new-clients-hero>.container,
.resources-hero>.container,
.contact-hero>.container,
.dog-care-hero>.container,
.cat-care-hero>.container,
.grooming-hero>.container,
.blog-hero>.container,
.careers-hero>.container,
.faq-hero>.container {
    position: relative;
    z-index: 1;
}

.page-image-hero h1,
.about-hero h1,
.services-hero h1,
.team-hero h1,
.new-clients-hero h1,
.resources-hero h1,
.contact-hero h1,
.dog-care-hero h1,
.cat-care-hero h1,
.grooming-hero h1,
.blog-hero h1,
.careers-hero h1,
.faq-hero h1 {
    max-width: 760px;
    margin: 0;
    color: #fff;
    font-size: clamp(3.4rem, 5.5vw, 5.6rem);
    text-shadow: 0 2px 22px rgba(0, 0, 0, .16);
}

.page-image-hero p,
.about-hero p,
.services-hero p,
.team-hero p,
.new-clients-hero p,
.resources-hero p,
.contact-hero p,
.dog-care-hero p,
.cat-care-hero p,
.grooming-hero p,
.blog-hero p,
.careers-hero p,
.faq-hero p {
    max-width: 700px;
    margin: 1.35rem 0 0;
    color: rgba(255, 255, 255, .84);
    font-size: 1.14rem;
}

/* Page-specific images and focal points. Adjust only --hero-position when needed. */
.about-hero { --hero-image: url('../images/office-hero.webp'); --hero-position: center 42%; }
.services-hero { --hero-image: url('../images/pets-hero.webp'); --hero-position: center center; }
.team-hero { --hero-image: url('../images/office-hero.webp'); --hero-position: center 38%; }
.new-clients-hero { --hero-image: url('../images/new-client-hero.webp'); --hero-position: center center; }
.resources-hero { --hero-image: url('../images/resources-hero.webp'); --hero-position: center center; }
.contact-hero { --hero-image: url('../images/contact-hero.webp'); --hero-position: center center; }
.dog-care-hero { --hero-image: url('../images/dog-care-update.webp'); --hero-position: center center; }
.cat-care-hero { --hero-image: url('../images/cat-hero.webp'); --hero-position: center center; }
.grooming-hero { --hero-image: url('../images/grooming-hero.webp'); --hero-position: center center; }
.blog-hero { --hero-image: url('../images/blog-update.webp'); --hero-position: center center; }
.careers-hero { --hero-image: url('../images/pets-hero.webp'); --hero-position: center center; }
.faq-hero { --hero-image: url('../images/faq-hero.webp'); --hero-position: center center; }

.min-vh-hero {
    min-height: 690px;
}

.hero-card {
    position: relative;
    color: #fff;
    max-width: 700px;
}

.hero h1 {
    color: #fff;
    font-size: clamp(3.5rem, 6vw, 6.2rem);
}

.hero h1 em {
    color: #a9ded3;
    font-weight: 600;
}

.hero .lead {
    max-width: 650px;
    color: rgba(255, 255, 255, .85);
    font-size: 1.16rem;
}

.eyebrow {
    display: flex;
    align-items: center;
    gap: .7rem;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: .16em;
    font-weight: 700;
    font-size: .72rem;
    margin-bottom: 1.2rem;
}

.eyebrow span {
    width: 32px;
    height: 2px;
    background: var(--coral);
}

.eyebrow.dark {
    color: var(--teal);
}

.hero-note {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: .65rem;
    margin-top: 1.5rem;
    font-size: .8rem;
    color: rgba(255, 255, 255, .8);
}

.hero-note i {
    color: #a9ded3;
}

.hero-note span {
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: #fff;
    opacity: .5;
}

.quick-actions {
    position: relative;
    z-index: 2;
    margin-top: -42px;
}

.quick-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 15px 45px rgba(13, 45, 64, .14);
    overflow: hidden;
}

.quick-grid > a {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.45rem;
    border-right: 1px solid #e5ecee;
    color: var(--ink);
    transition: .25s;
}

.quick-grid > a:last-child {
    border: none;
}

.quick-grid > a:hover {
    background: var(--mint);
}

.quick-grid > a > i:first-child {
    font-size: 1.55rem;
    color: var(--teal);
}

.quick-grid span {
    display: flex;
    flex-direction: column;
    line-height: 1.35;
}

.quick-grid small {
    color: var(--muted);
    font-size: .74rem;
    margin-top: .18rem;
}

.quick-grid .arrow {
    margin-left: auto;
    color: #a8b7bb;
}

.section-pad {
    padding: 110px 0;
}

.image-stack {
    position: relative;
    padding: 0 35px 35px 0;
}

.main-photo {
    width: 100%;
    height: 600px;
    object-fit: cover;
    object-position: center top;
    border-radius: 16px;
    position: relative;
    z-index: 2;
}

.photo-accent {
    position: absolute;
    right: 0;
    bottom: 0;
    width: 70%;
    height: 70%;
    border-radius: 16px;
    background: var(--mint);
}

.experience-badge {
    position: absolute;
    z-index: 3;
    right: -15px;
    top: 55px;
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background: var(--coral);
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    box-shadow: 0 12px 32px rgba(13, 45, 64, .18);
}

.experience-badge strong {
    font: 600 3.2rem/1 "Newsreader", serif;
}

.experience-badge span {
    font-size: .72rem;
    line-height: 1.3;
}

.intro {
    font-size: 1.15rem;
    color: #3b5059;
}

.values-list {
    margin: 2rem 0;
    display: grid;
    gap: 1.15rem;
}

.values-list > div {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.values-list i {
    display: grid;
    place-items: center;
    flex: 0 0 45px;
    height: 45px;
    background: var(--mint);
    color: var(--teal);
    border-radius: 50%;
    font-size: 1.2rem;
}

.values-list span {
    display: flex;
    flex-direction: column;
}

.values-list small {
    color: var(--muted);
}

.text-link {
    color: var(--teal);
    font-weight: 700;
    border-bottom: 1px solid #b7d8d4;
    padding-bottom: .3rem;
}

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

.section-heading {
    max-width: 740px;
}

.section-heading > p {
    font-size: 1.05rem;
}

.service-card {
    background: #fff;
    border: 1px solid #e8e5dc;
    padding: 2.2rem;
    border-radius: 12px;
    transition: .3s;
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 45px rgba(13, 45, 64, .1);
    border-color: #c9ddda;
}

.service-icon {
    width: 58px;
    height: 58px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    color: var(--teal);
    background: var(--mint);
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.service-card h3 {
    font: 600 1.55rem "Newsreader", serif;
    color: var(--navy-dark);
}

.service-card p {
    font-size: .91rem;
}

.service-card a {
    color: var(--teal);
    font-weight: 700;
    font-size: .88rem;
}

.care-banner {
    padding: 65px 0;
    background: var(--navy);
    color: #fff;
}

.care-banner h2 {
    color: #fff;
    font-size: clamp(2.1rem, 4vw, 3.2rem);
    margin: .5rem 0;
}

.care-banner p {
    color: rgba(255, 255, 255, .75);
    max-width: 750px;
    margin: 0;
}

.mini-label {
    color: #9ed8cf;
    text-transform: uppercase;
    letter-spacing: .16em;
    font-size: .72rem;
    font-weight: 700;
}

.doctor-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.doctor-grid article {
    position: relative;
    min-height: 465px;
    border-radius: 14px;
    overflow: hidden;
    background: var(--mint);
}

.doctor-grid img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
}

.doctor-grid article > div {
    position: absolute;
    inset: auto 0 0;
    padding: 4rem 1.2rem 1.2rem;
    background: linear-gradient(transparent, rgba(13, 45, 64, .95));
    color: #fff;
}

.doctor-grid h3 {
    font: 600 1.15rem "Newsreader", serif;
    margin: 0;
}

.doctor-grid p {
    color: rgba(255, 255, 255, .75);
    margin: 0;
    font-size: .75rem;
}

.new-clients {
    padding: 90px 0;
    background: linear-gradient(135deg, var(--navy-dark), #225d70);
}

.new-client-card {
    color: #fff;
}

.new-client-card h2 {
    color: #fff;
}

.new-client-card p {
    color: rgba(255, 255, 255, .8);
    max-width: 700px;
    font-size: 1.05rem;
}

.first-visit-list {
    background: rgba(255, 255, 255, .1);
    border: 1px solid rgba(255, 255, 255, .16);
    border-radius: 14px;
    padding: 2rem;
}

.first-visit-list h3 {
    font: 600 1.65rem "Newsreader", serif;
    margin-bottom: 1rem;
}

.first-visit-list div {
    padding: .7rem 0;
    border-top: 1px solid rgba(255, 255, 255, .12);
}

.first-visit-list i {
    color: #9ed8cf;
    margin-right: .7rem;
}

.reviews-section {
    background: #fff;
}

.rating {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin: 1.8rem 0;
}

.rating > span {
    font: 600 4rem/1 "Newsreader", serif;
    color: var(--navy);
}

.stars {
    color: #f1a641;
    letter-spacing: .1rem;
}

.review-card {
    background: var(--cream);
    border-radius: 16px;
    padding: 3.5rem;
    min-height: 330px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.quote-mark {
    font: 600 5rem/1 "Newsreader", serif;
    color: var(--coral);
    height: 48px;
}

.review-card > p {
    font: 600 clamp(1.45rem, 2.3vw, 2rem)/1.4 "Newsreader", serif;
    color: var(--navy-dark);
}

.review-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 1rem;
}

.review-dots {
    display: flex;
    gap: .45rem;
}

.review-dots button {
    width: 9px;
    height: 9px;
    border: 0;
    border-radius: 50%;
    background: #cbd6d8;
    padding: 0;
}

.review-dots button.active {
    background: var(--coral);
    width: 25px;
    border-radius: 10px;
}

.contact-section {
    background: var(--cream);
    padding: 90px 0;
}

.contact-card {
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 18px 50px rgba(13, 45, 64, .11);
}

.map-panel {
    min-height: 600px;
    background: url('../images/interior-office.jpg') center/cover;
    position: relative;
}

.map-panel:after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(55, 143, 150, .22);
}

.map-pattern {
    position: absolute;
    z-index: 2;
    inset: 0;
    display: grid;
    place-items: center;
}

.map-pattern i {
    width: 84px;
    height: 84px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: #fff;
    color: var(--coral);
    font-size: 2.4rem;
    box-shadow: 0 10px 35px rgba(13, 45, 64, .2);
}

.contact-info {
    background: var(--navy-dark);
    padding: 3.2rem;
    color: #fff;
}

.contact-info h2 {
    color: #fff;
}

.contact-row {
    display: flex;
    gap: 1rem;
    padding: 1rem 0;
    border-top: 1px solid rgba(255, 255, 255, .12);
}

.contact-row > i {
    color: #9ed8cf;
    font-size: 1.2rem;
}

.contact-row p,
.contact-row a {
    color: rgba(255, 255, 255, .75);
    margin: 0;
}

footer {
    padding: 75px 0 25px;
    background: #082333;
    color: #fff;
}

.footer-logo {
    width: 300px;
    max-width: 100%;
    filter: brightness(0) invert(1);
    margin-bottom: 1.2rem;
}

footer p {
    color: rgba(255, 255, 255, .62);
    max-width: 370px;
    font-size: .9rem;
}

footer h3 {
    font-size: .8rem;
    text-transform: uppercase;
    letter-spacing: .14em;
    color: #8dcfc5;
    margin-bottom: 1rem;
}

footer a {
    display: block;
    color: rgba(255, 255, 255, .7);
    margin: .5rem 0;
    font-size: .9rem;
}

footer a:hover {
    color: #fff;
}

.socials {
    display: flex;
    gap: .7rem;
}

.socials a {
    width: 38px;
    height: 38px;
    border: 1px solid rgba(255, 255, 255, .2);
    border-radius: 50%;
    display: grid;
    place-items: center;
}

.footer-phone {
    font: 600 1.65rem "Newsreader", serif;
    color: #fff;
}

.language-note {
    margin-top: 1rem;
    color: #9ed8cf;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, .1);
    margin-top: 3.5rem;
    padding-top: 1.5rem;
    display: flex;
    justify-content: space-between;
    color: rgba(255, 255, 255, .42);
    font-size: .75rem;
}

.mobile-cta {
    display: none;
}

@media (max-width:1199px) {
    .navbar-collapse {
        padding: 1rem 0;
    }

    .navbar-nav {
        align-items: stretch !important;
    }
}

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

    .quick-grid > a:nth-child(2) {
        border-right: 0;
    }

    .quick-grid > a {
        border-bottom: 1px solid #e5ecee;
    }

    .main-photo {
        height: 520px;
    }

    .doctor-grid article {
        min-height: 420px;
    }

    .map-panel {
        min-height: 360px;
    }
}

@media (max-width:767px) {
    body {
        padding-bottom: 65px;
    }

    .topbar .container > span {
        display: none;
    }

    .topbar .container {
        justify-content: center !important;
    }

    .site-header {
        position: sticky;
    }

    .navbar-brand img {
        width: 245px;
        max-width: 72vw;
    }

    .min-vh-hero {
        min-height: 650px;
    }

    .hero-image {
        background: linear-gradient(90deg, rgba(13, 45, 64, .95), rgba(13, 45, 64, .72)), url('../images/home-hero-update.webp') center/cover;
    }

    .hero h1 {
        font-size: 3.45rem;
    }

    .quick-actions {
        margin-top: 0;
    }

    .quick-grid {
        grid-template-columns: 1fr;
        border-radius: 0;
        box-shadow: none;
    }

    .quick-grid > a {
        border-right: 0;
        padding: 1rem 1.25rem;
    }

    .section-pad {
        padding: 75px 0;
    }

    .image-stack {
        padding-right: 15px;
    }

    .main-photo {
        height: 450px;
    }

    .experience-badge {
        width: 120px;
        height: 120px;
        right: -3px;
        top: 35px;
    }

    .experience-badge strong {
        font-size: 2.5rem;
    }

    .doctor-grid {
        grid-template-columns: 1fr;
    }

    .doctor-grid article {
        min-height: 490px;
    }

    .review-card {
        padding: 2rem;
    }

    .contact-info {
        padding: 2rem;
    }

    .footer-bottom {
        flex-direction: column;
        gap: .5rem;
    }

    .mobile-cta {
        display: grid;
        position: fixed;
        z-index: 1100;
        bottom: 0;
        left: 0;
        right: 0;
        grid-template-columns: 1fr 1.25fr;
        box-shadow: 0 -5px 20px rgba(13, 45, 64, .15);
    }

    .mobile-cta a {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: .5rem;
        min-height: 65px;
        background: #fff;
        color: var(--navy);
        font-weight: 700;
    }

    .mobile-cta a:last-child {
        color: #fff;
        background: var(--coral);
    }
}

@media (max-width:420px) {
    .hero h1 {
        font-size: 2.9rem;
    }

    .hero .lead {
        font-size: 1rem;
    }

    .hero .btn {
        width: 100%;
    }

    h2 {
        font-size: 2.35rem;
    }
}

/* Internal pages */
.nav-link.active {
    color: var(--teal) !important;
}

.dropdown-menu {
    border: 0;
    border-radius: 10px;
    padding: .65rem;
    box-shadow: 0 15px 40px rgba(13, 45, 64, .14);
}

.dropdown-item {
    color: var(--ink);
    border-radius: 6px;
    padding: .65rem .85rem;
    font-weight: 600;
    font-size: .88rem;
}

.dropdown-item:hover {
    color: var(--teal);
    background: var(--mint);
}

.inner-hero {
    position: relative;
    overflow: hidden;
    padding: 105px 0;
    background: linear-gradient(120deg, var(--navy-dark), #225d70);
}

.inner-hero:after {
    content: "";
    position: absolute;
    width: 420px;
    height: 420px;
    right: -90px;
    top: -180px;
    border-radius: 50%;
    border: 80px solid rgba(255, 255, 255, .035);
}

.inner-hero h1 {
    color: #fff;
    font-size: clamp(3.4rem, 6vw, 5.8rem);
    max-width: 850px;
}

.inner-hero p {
    color: rgba(255, 255, 255, .76);
    font-size: 1.14rem;
    max-width: 720px;
    margin: 1.4rem 0 0;
}

.content-photo {
    width: 100%;
    min-height: 500px;
    object-fit: cover;
    border-radius: 16px;
}

.feature-band {
    padding: 95px 0;
    background: var(--cream);
}

.info-card {
    height: 100%;
    background: #fff;
    border: 1px solid #e4e9e8;
    border-radius: 12px;
    padding: 2rem;
}

.info-card h3 {
    font: 600 1.5rem "Newsreader", serif;
    color: var(--navy-dark);
}

.info-card a {
    color: var(--teal);
    font-weight: 700;
    font-size: .88rem;
}

.tour-placeholder {
    min-height: 390px;
    border-radius: 16px;
    background: linear-gradient(135deg, var(--mint), #c9e5e2);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--navy);
    text-align: center;
}

.tour-placeholder i {
    font-size: 4rem;
    color: var(--coral);
}

.tour-placeholder strong {
    font: 600 1.8rem "Newsreader", serif;
    margin-top: .8rem;
}

.tour-placeholder span {
    color: var(--muted);
    font-size: .85rem;
}

.small-note {
    padding: 1rem 1.2rem;
    border-left: 3px solid var(--coral);
    background: var(--cream);
    font-size: .87rem;
}

.bio-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.bio-card {
    background: #fff;
    border: 1px solid #e2e9e8;
    border-radius: 14px;
    overflow: hidden;
}

.bio-card img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    object-position: top;
}

.bio-card > div {
    padding: 1.6rem;
}

.bio-card span {
    color: var(--teal);
    text-transform: uppercase;
    letter-spacing: .12em;
    font-size: .68rem;
    font-weight: 700;
}

.bio-card h3 {
    color: var(--navy-dark);
    font: 600 1.65rem "Newsreader", serif;
    margin: .35rem 0 .7rem;
}

.bio-card p {
    font-size: .88rem;
    margin: 0;
}

.language-card {
    border-radius: 16px;
    background: var(--navy);
    padding: 3rem;
    color: #fff;
}

.language-card i {
    font-size: 2.5rem;
    color: #9ed8cf;
}

.language-card h3 {
    font: 600 2.2rem "Newsreader", serif;
    margin: 1rem 0 .5rem;
}

.language-card p {
    color: rgba(255, 255, 255, .7);
    margin: 0;
}

.limited {
    max-width: 700px;
}

.services-detail-grid > div {
    display: flex;
}

.split-links {
    padding: 90px 0;
}

.species-link {
    min-height: 350px;
    padding: 3rem;
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    color: #fff;
    position: relative;
    overflow: hidden;
}

.species-link:before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(160deg, rgba(13, 45, 64, .22), rgba(13, 45, 64, .95));
}

.species-link.dog {
    background: linear-gradient(135deg, #5ca5a2, #16445b);
}

.species-link.cat {
    background: linear-gradient(135deg, #d59a86, #733f4a);
}

.species-link > * {
    position: relative;
}

.species-link span {
    text-transform: uppercase;
    letter-spacing: .16em;
    font-size: .7rem;
    font-weight: 700;
}

.species-link h2 {
    color: #fff;
    margin: .4rem 0;
}

.species-link p {
    color: rgba(255, 255, 255, .73);
    max-width: 430px;
}

.species-link > i {
    font-size: 1.5rem;
}

.emergency-note {
    padding: 38px 0;
    background: var(--navy-dark);
}

.emergency-note .container > div {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    color: #fff;
}

.emergency-note i {
    color: var(--coral);
    font-size: 2rem;
}

.emergency-note span {
    display: flex;
    flex-direction: column;
    flex: 1;
    color: rgba(255, 255, 255, .68);
}

.emergency-note strong {
    color: #fff;
}

.content-columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.4rem;
    margin-top: 2rem;
}

.content-columns > div {
    padding: 1.5rem;
    border-radius: 10px;
    background: var(--cream);
}

.content-columns h3 {
    font: 600 1.35rem "Newsreader", serif;
    color: var(--navy-dark);
}

.content-columns p {
    font-size: .88rem;
    margin: 0;
}

.side-card,
.form-placeholder {
    position: sticky;
    top: 150px;
    border-radius: 14px;
    background: var(--cream);
    padding: 2rem;
}

.side-card h3,
.form-placeholder h3 {
    font: 600 1.65rem "Newsreader", serif;
    color: var(--navy-dark);
}

.check-list {
    list-style: none;
    padding: 0;
    margin: 1.4rem 0;
}

.check-list li {
    padding: .55rem 0 .55rem 1.7rem;
    border-bottom: 1px solid #dddcd5;
    position: relative;
    color: var(--muted);
}

.check-list li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--teal);
    font-weight: 700;
}

.coming-soon {
    display: inline-flex;
    gap: .6rem;
    align-items: center;
    color: var(--teal);
    font-weight: 700;
    padding: .75rem 1rem;
    background: #fff;
    border-radius: 8px;
}

.groom-list {
    display: grid;
    gap: 1rem;
}

.groom-list > div {
    display: flex;
    gap: 1rem;
    padding: 1.4rem;
    border: 1px solid #e0e7e5;
    border-radius: 12px;
}

.groom-list i {
    width: 46px;
    height: 46px;
    flex: 0 0 46px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--mint);
    color: var(--teal);
}

.groom-list span {
    display: flex;
    flex-direction: column;
    color: var(--muted);
    font-size: .88rem;
}

.groom-list strong {
    color: var(--ink);
    font-size: 1rem;
}

.step-list {
    margin-top: 2rem;
}

.step-list > div {
    display: flex;
    gap: 1.2rem;
    padding: 1.2rem 0;
    border-top: 1px solid #e0e7e5;
}

.step-list > div > span {
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    border-radius: 50%;
    background: var(--mint);
    color: var(--teal);
    display: grid;
    place-items: center;
    font-weight: 700;
}

.step-list h3 {
    font: 600 1.35rem "Newsreader", serif;
    color: var(--navy-dark);
    margin: 0;
}

.step-list p {
    margin: .25rem 0 0;
}

.form-placeholder {
    text-align: center;
    background: var(--cream);
    border: 1px dashed #b8caca;
}

.form-placeholder > i {
    font-size: 3rem;
    color: var(--teal);
}

.form-placeholder small {
    display: block;
    color: var(--muted);
    margin-top: 1rem;
}

.resource-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
}

.resource-grid > a {
    padding: 2rem;
    border: 1px solid #dfe8e6;
    border-radius: 12px;
    color: var(--ink);
    transition: .25s;
}

.resource-grid > a:hover {
    transform: translateY(-5px);
    border-color: #9bc9c3;
    box-shadow: 0 15px 35px rgba(13, 45, 64, .09);
}

.resource-grid i {
    font-size: 2rem;
    color: var(--teal);
}

.resource-grid h3 {
    font: 600 1.45rem "Newsreader", serif;
    color: var(--navy-dark);
    margin: 1rem 0 .5rem;
}

.resource-grid p {
    font-size: .87rem;
    margin: 0;
}

.faq-accordion {
    max-width: 900px;
    margin: auto;
}

.accordion-item {
    border: 0;
    border-bottom: 1px solid #dfe7e5;
}

.accordion-button {
    padding: 1.5rem .5rem;
    color: var(--navy-dark);
    font: 600 1.22rem "Newsreader", serif;
    background: #fff;
    box-shadow: none !important;
}

.accordion-button:not(.collapsed) {
    color: var(--teal);
    background: #fff;
}

.accordion-body {
    padding: .2rem .5rem 1.6rem;
    color: var(--muted);
}

.featured-article {
    display: grid;
    grid-template-columns: 2fr 1fr;
    border-radius: 16px;
    overflow: hidden;
    background: var(--navy-dark);
    color: #fff;
}

.featured-article > div:first-child {
    padding: 3.5rem;
}

.featured-article span {
    color: #9ed8cf;
    text-transform: uppercase;
    letter-spacing: .14em;
    font-size: .7rem;
    font-weight: 700;
}

.featured-article h2 {
    color: #fff;
}

.featured-article p {
    color: rgba(255, 255, 255, .7);
}

.article-art {
    min-height: 380px;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, var(--teal), #7bc2b8);
}

.article-art i {
    color: #fff;
    font-size: 6rem;
}

.contact-map-large {
    min-height: 560px;
    border-radius: 16px;
    background: linear-gradient(rgba(55, 143, 150, .2), rgba(55, 143, 150, .2)), url('../images/interior-office.jpg') center/cover;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.contact-map-large > i {
    width: 90px;
    height: 90px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: #fff;
    color: var(--coral);
    font-size: 2.6rem;
    box-shadow: 0 12px 35px rgba(13, 45, 64, .2);
}

.contact-details > div {
    display: flex;
    gap: 1.2rem;
    padding: 1.3rem 0;
    border-bottom: 1px solid #dfe7e5;
}

.contact-details > div > i {
    font-size: 1.35rem;
    color: var(--teal);
}

.contact-details h3 {
    font: 600 1.35rem "Newsreader", serif;
    color: var(--navy-dark);
    margin: 0;
}

.contact-details p {
    margin: .25rem 0 0;
}

.contact-details a {
    color: var(--teal);
    font-weight: 700;
}

.alert-note {
    display: flex;
    gap: 1rem;
    padding: 1.2rem;
    border-radius: 10px;
    background: #fff;
    margin-top: 1.5rem;
}

.alert-note i {
    color: var(--coral);
    font-size: 1.4rem;
}

.alert-note span {
    display: flex;
    flex-direction: column;
    color: var(--muted);
}

.internal-cta {
    padding: 65px 0;
    background: var(--teal);
    color: #fff;
}

.internal-cta > div span {
    text-transform: uppercase;
    letter-spacing: .15em;
    font-size: .68rem;
    font-weight: 700;
}

.internal-cta h2 {
    color: #fff;
    font-size: clamp(2.1rem, 4vw, 3.3rem);
    margin: .4rem 0;
}

.internal-cta p {
    color: rgba(255, 255, 255, .75);
    margin: 0;
}

@media (min-width:1200px) {
    .site-header .navbar-brand img {
        width: 310px;
    }

    .site-header .navbar-nav {
        flex-wrap: nowrap;
        gap: 0 !important;
    }

    .site-header .nav-link {
        white-space: nowrap;
        padding: .7rem .55rem !important;
        font-size: .84rem;
    }

    .site-header .navbar .btn {
        white-space: nowrap;
        padding: .75rem .95rem;
        font-size: .82rem;
    }
}

@media (max-width:991px) {

    .bio-grid,
    .resource-grid {
        grid-template-columns: 1fr 1fr;
    }

    .side-card,
    .form-placeholder {
        position: static;
    }

    .featured-article {
        grid-template-columns: 1fr;
    }

    .article-art {
        min-height: 220px;
    }
}

@media (max-width:767px) {
    .page-image-hero,
    .about-hero,
    .services-hero,
    .team-hero,
    .new-clients-hero,
    .resources-hero,
    .contact-hero,
    .dog-care-hero,
    .cat-care-hero,
    .grooming-hero,
    .blog-hero,
    .careers-hero,
    .faq-hero {
        min-height: 520px;
        padding: 100px 0;
        background-position: center center;
    }

    .page-image-hero::before,
    .about-hero::before,
    .services-hero::before,
    .team-hero::before,
    .new-clients-hero::before,
    .resources-hero::before,
    .contact-hero::before,
    .dog-care-hero::before,
    .cat-care-hero::before,
    .grooming-hero::before,
    .blog-hero::before,
    .careers-hero::before,
    .faq-hero::before {
        background: linear-gradient(90deg,
            rgba(13, 45, 64, .95) 0%,
            rgba(13, 45, 64, .84) 58%,
            rgba(13, 45, 64, .58) 100%);
    }

    .page-image-hero h1,
    .about-hero h1,
    .services-hero h1,
    .team-hero h1,
    .new-clients-hero h1,
    .resources-hero h1,
    .contact-hero h1,
    .dog-care-hero h1,
    .cat-care-hero h1,
    .grooming-hero h1,
    .blog-hero h1,
    .careers-hero h1,
    .faq-hero h1 {
        font-size: clamp(2.8rem, 12vw, 3.7rem);
    }

    .page-image-hero p,
    .about-hero p,
    .services-hero p,
    .team-hero p,
    .new-clients-hero p,
    .resources-hero p,
    .contact-hero p,
    .dog-care-hero p,
    .cat-care-hero p,
    .grooming-hero p,
    .blog-hero p,
    .careers-hero p,
    .faq-hero p {
        font-size: 1rem;
    }

    .inner-hero {
        padding: 75px 0;
    }

    .inner-hero h1 {
        font-size: 3rem;
    }

    .bio-grid,
    .resource-grid,
    .content-columns {
        grid-template-columns: 1fr;
    }

    .bio-card img {
        height: 480px;
    }

    .emergency-note .container > div {
        align-items: flex-start;
        flex-wrap: wrap;
    }

    .emergency-note .btn {
        width: 100%;
    }

    .featured-article > div:first-child {
        padding: 2rem;
    }
}

/* Emergency access remains visible when mobile navigation is collapsed. */
.topbar-emergency { display: inline-flex; align-items: center; gap: .35rem; padding: .22rem .55rem; border: 1px solid rgba(255,255,255,.72); border-radius: 4px; font-weight: 800; white-space: nowrap; }
.topbar .topbar-emergency:hover, .topbar .topbar-emergency:focus-visible { background: #fff; color: #802c30; }
.btn.btn-emergency { color: #fff; background: #a13c42; border-color: #a13c42; }
.btn.btn-emergency:hover, .btn.btn-emergency:focus-visible { color: #fff; background: #832f35; border-color: #832f35; }
.quick-grid > a.is-emergency { background: #fff2f0; }
.quick-grid > a.is-emergency > i:first-child { color: #a13c42; }
.quick-grid > a.is-emergency:hover { background: #fce2df; }
.emergency-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.4rem; }
.emergency-actions .btn { display: inline-flex; align-items: center; justify-content: center; gap: .45rem; }
.guide-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; }
.guide-card { padding: clamp(1.5rem, 3vw, 2rem); border: 1px solid #dfe8e6; border-radius: 12px; background: #fff; }
.guide-card i { color: var(--teal); font-size: 1.8rem; }
.guide-card h3 { font: 600 1.55rem "Newsreader", serif; color: var(--navy-dark); margin: .8rem 0 .4rem; }
.guide-card p { font-size: .92rem; }
.guide-card a:not(.btn) { color: var(--navy); font-weight: 800; text-decoration: underline; text-underline-offset: 3px; }
.guide-note { padding: 1rem 1.25rem; border-left: 4px solid var(--teal); background: #f1f8f6; border-radius: 0 8px 8px 0; }
.guide-note p { margin: 0; }

@media (min-width: 1200px) and (max-width: 1399px) {
    .site-header .navbar-brand img { width: 250px; }
    .site-header .nav-link { padding: .7rem .34rem !important; font-size: .79rem; }
    .site-header .navbar .btn { padding: .65rem .6rem; font-size: .75rem; }
}
@media (max-width: 991px) {
    .mobile-cta { grid-template-columns: 1fr 1.25fr 1.25fr; }
    .mobile-cta a { font-size: .81rem; gap: .25rem; }
    .mobile-cta a.is-emergency { color: #fff; background: #a13c42; }
    .mobile-cta a:last-child { color: #fff; background: var(--coral); }
    .emergency-actions .btn { width: 100%; }
}
@media (max-width: 767px) {
    .guide-grid { grid-template-columns: 1fr; }
    .topbar .container > span { display: none; }
    .topbar .container { justify-content: center !important; }
    .topbar .container .gap-3 { gap: .55rem !important; }
    .topbar { font-size: .7rem; }
}
