.homepage {
    --home-teal: #d9c196;
    --home-ink: #594d4c;
    background: #fff;
}

.care-overview,
.horse-care {
    padding-top: 58px;
    padding-bottom: 58px;
}

.care-overview h2,
.farm-care h2,
.horse-care h2,
.fecal-promo h2 {
    margin: 0 0 20px;
    color: #594d4c;
    font: 500 clamp(24px, 2.4vw, 32px)/1.3 Poppins, Arial, sans-serif;
}

.care-overview-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
    margin-top: 28px;
}

.care-overview-grid article {
    padding: 22px;
    border: 1px solid #f2eddf;
    background: #fff;
}

.care-overview-grid h3 {
    margin: 0 0 10px;
    color: #594d4c;
    font-size: 17px;
}

.care-overview-grid p,
.care-overview-note,
.farm-care p,
.horse-care p,
.horse-care li,
.fecal-promo p {
    color: #594d4c;
    font-size: 14px;
    line-height: 1.75;
}

.care-overview-grid p {
    margin: 0;
}

.care-overview-note {
    margin: 22px 0 0;
    font-size: 13px;
}

.farm-care {
    padding: 58px 0;
    background: #eef7f4;
}

.farm-care .seo-wrap {
    max-width: 930px;
}

.farm-care p {
    max-width: 850px;
}

.farm-care-location {
    margin: 22px 0;
}

.horse-care {
    display: grid;
    grid-template-columns: .85fr 1.15fr;
    gap: 46px;
}

.horse-care ul {
    margin: 0;
    padding-left: 20px;
}

.horse-care li + li {
    margin-top: 10px;
}

.fecal-promo {
    padding: 48px 0;
    background: #594d4c;
}

.fecal-promo .seo-wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 36px;
}

.fecal-promo .seo-section-label,
.fecal-promo h2,
.fecal-promo p {
    color: #fff;
}

.fecal-promo .seo-section-label {
    margin-bottom: 12px;
}

.fecal-promo h2 {
    margin-bottom: 14px;
}

.fecal-promo p {
    max-width: 760px;
}

.fecal-promo .seo-button {
    flex: 0 0 auto;
}

@media (max-width: 700px) {
    .care-overview,
    .horse-care {
        padding-top: 38px;
        padding-bottom: 38px;
    }

    .care-overview-grid,
    .horse-care {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .farm-care {
        padding: 38px 0;
    }

    .fecal-promo .seo-wrap {
        display: block;
    }

    .fecal-promo .seo-button {
        margin-top: 10px;
    }
}

.homepage .seo-diagnostic {
    background-color: rgb(242, 230, 194);
}

.has-home-header {
    --home-teal: #d9c196;
    --home-ink: #594d4c;
}

.offer-intro-band {
    padding: 1px 0;
    background: var(--home-teal);
}

.has-home-header .language-switch {
    display: none;
}

.has-home-header:not(.homepage) > header.home-header {
    position: relative;
    padding: 0;
    background: var(--home-teal);
}

.homepage > header.home-header {
    position: absolute;
    z-index: 5;
    top: 0;
    right: 0;
    left: 0;
    padding: 0;
    background: transparent;
}

.has-home-header .home-header-inner {
    display: grid;
    grid-template-columns: minmax(185px, auto) minmax(0, 1fr);
    grid-template-rows: 58px 29px;
    column-gap: 24px;
    row-gap: 0;
    align-items: center;
    flex-wrap: nowrap;
    padding: 0;
    border-bottom: 0;
}

.has-home-header .home-brand-group {
    grid-column: 1;
    grid-row: 1 / span 2;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 5px;
}

.has-home-header .home-brand {
    flex-direction: row;
    align-items: center;
    gap: 9px;
}

.has-home-header .home-brand-mark {
    width: 48px;
}

.has-home-header .home-brand-copy {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.has-home-header .home-brand-name {
    font-size: 20px;
    font-weight: 600;
}

.has-home-header .home-brand-tagline {
    display: block;
    font-size: 8px;
}

.has-home-header .home-menu {
    grid-column: 2;
    grid-row: 1 / span 2;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    justify-content: stretch;
    column-gap: 20px;
    row-gap: 0;
}

.has-home-header .home-menu .home-phone {
    grid-column: 1;
    grid-row: 1;
}

.has-home-header .home-menu .navbar-green {
    grid-column: 2;
    grid-row: 1;
}

.has-home-header .home-brand-group .home-address {
    margin-left: 57px;
    font-size: 10px;
}

html[lang="uk"] .homepage.has-home-header .home-brand-group .home-address {
    max-width: 160px;
    white-space: normal;
}

.has-home-header .home-address strong {
    font-size: 11px;
}

@media (max-width: 640px) {
    .has-home-header .home-brand-group .home-address {
        margin-left: 47px;
    }
}

.has-home-header .home-menu .home-lang {
    grid-column: 2;
    grid-row: 2;
    justify-self: end;
}

.has-home-header .home-notice {
    box-sizing: border-box;
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0 18px;
    text-align: center;
    padding-top: 0;
    color: var(--palette-red);
    font-size: 14px;
    font-weight: 700;
}

.home-header-inner {
    width: calc(100% - 120px);
    max-width: 1232px;
    min-height: 87px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 36px;
    border-bottom: 1px solid rgba(89, 77, 76, .36);
}

.home-notice {
    width: calc(100% - 120px);
    max-width: 1232px;
    margin: 0 auto;
    padding: 8px 0 0;
    text-align: center;
    color: var(--palette-red);
    font-size: 14px;
    font-weight: 700;
    line-height: 1.35;
}

.home-notice a {
    color: inherit;
    white-space: nowrap;
}

.home-brand {
    display: flex;
    flex: 0 0 auto;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    color: var(--home-ink);
    text-decoration: none;
}

.homepage .home-brand-name {
    font-size: 20px;
    font-weight: 600;
}

.home-brand-tagline {
    color: var(--home-ink);
    font-size: 8px;
    line-height: 1;
}

.home-brand-mark {
    display: block;
    width: 60px;
    height: auto;
}

.home-brand-name {
    font-family: Poppins, Arial, sans-serif;
    font-size: 17px;
    font-weight: 400;
    line-height: 1;
}

.home-contact {
    display: flex;
    flex: 1 1 auto;
    align-items: center;
    justify-content: center;
    gap: 26px;
    min-width: 0;
}

.home-address {
    display: flex;
    flex-direction: column;
    gap: 2px;
    color: var(--home-ink);
    font-size: 12px;
    line-height: 1.3;
    text-decoration: none;
    white-space: nowrap;
}

.home-address strong {
    font-size: 14px;
    font-weight: 600;
}

.home-phone {
    display: block;
}

.has-home-header .home-phone .home-emergency {
    display: grid;
    grid-template-columns: 44px auto;
    grid-template-rows: auto auto;
    column-gap: 3px;
    row-gap: 0;
    align-items: center;
    border-radius: 0;
}

.home-english {
    grid-column: 2;
    grid-row: 2;
    width: auto;
    min-width: 0;
    justify-self: center;
    color: var(--palette-red);
    font-size: 9px;
    line-height: 1.2;
    text-align: center;
}

.home-emergency {
    color: var(--palette-red);
    font-size: 14px;
    font-weight: 700;
    line-height: 1;
    text-decoration: none;
    white-space: nowrap;
}

.home-emergency-label {
    grid-column: 1;
    grid-row: 1 / span 2;
    display: flex;
    min-height: 28px;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    padding: 3px 4px;
    border: 3px solid currentColor;
    border-radius: 0;
    font-size: 14px;
    letter-spacing: .04em;
}

.home-emergency strong {
    grid-column: 2;
    grid-row: 1;
}

.home-emergency:focus-visible {
    outline: 3px solid var(--home-ink);
    outline-offset: 4px;
}

.home-emergency:hover .home-emergency-label,
.home-emergency:hover strong {
    color: var(--palette-red);
}

.home-emergency-label,
.home-emergency strong {
    animation: none;
}

@media (prefers-reduced-motion: reduce) {
    .home-emergency-label,
    .home-emergency strong {
        animation: none;
    }
}

.home-menu {
    display: grid;
    flex: 0 1 auto;
    grid-template-columns: auto auto;
    align-items: center;
    justify-content: end;
    column-gap: 28px;
    row-gap: 6px;
}

.home-menu .home-phone {
    grid-column: 1;
    grid-row: 1;
}

@media (min-width: 641px) {
    .has-home-header .home-menu .home-phone {
        transform: translateY(2px);
    }
}

.home-menu .navbar-green {
    grid-column: 2;
    grid-row: 1;
}

.home-menu .home-lang {
    grid-column: 2;
    grid-row: 2;
    justify-self: end;
}

.home-lang {
    display: flex;
    flex: 0 0 auto;
    gap: 4px;
}

.home-lang a {
    display: inline-flex;
    min-width: 38px;
    min-height: 32px;
    align-items: center;
    justify-content: center;
    padding: 5px 8px;
    border: 1px solid rgba(89, 77, 76, .45);
    border-radius: 4px;
    color: var(--home-ink);
    font-family: OpenSans, Arial, sans-serif;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .04em;
    line-height: 1.2;
    text-align: center;
    text-decoration: none;
}

.home-lang a:hover,
.home-lang a[aria-current="page"] {
    background: var(--home-ink);
    border-color: var(--home-ink);
    color: #fff;
}

.home-header .navbar-green {
    display: block;
    flex: 0 1 auto;
    background: transparent;
}

.home-header .navbar-green ul {
    width: auto;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: flex-end;
    gap: clamp(14px, 3vw, 40px);
}

.home-header .navbar-green li {
    flex: 0 0 auto;
}

.home-header .navbar-green a {
    display: flex;
    align-items: center;
    min-height: 0;
    padding: 12px 0;
    color: var(--home-ink);
    font-size: 12px;
    font-weight: 700;
    line-height: 1;
    white-space: nowrap;
}

.home-header .navbar-green a span {
    white-space: nowrap;
}

.home-header .navbar-green a[href="badanie-kalu.html"],
.home-header .navbar-green a[href="badanie-kalu.html"]:hover {
    color: var(--palette-red);
}

.home-header .navbar-green a[href="kontakt.html"],
.home-header .navbar-green a[href="kontakt.html"]:hover {
    color: #fff;
}

.home-header .navbar-green a:hover,
.home-header .navbar-green a.active {
    background: transparent;
    color: #594d4c;
}

.has-home-header .home-header .navbar-green a:not([href="badanie-kalu.html"]),
.has-home-header .home-header .navbar-green a:hover:not([href="badanie-kalu.html"]),
.has-home-header .home-header .navbar-green a.active:not([href="badanie-kalu.html"]) {
    color: #fff;
}

.has-home-header .home-header .navbar-green a.fecal-nav-highlight,
.has-home-header .home-header .navbar-green a.fecal-nav-highlight:hover,
.has-home-header .home-header .navbar-green a.fecal-nav-highlight:focus-visible,
.has-home-header .home-header .navbar-green a.fecal-nav-highlight.active {
    color: var(--palette-red);
}

.home-header .navbar-green a.active:after {
    display: none;
}

.home-header .navbar-green svg {
    display: none;
}

.homepage .seo-species .species-tile-grid {
    grid-column: 1 / -1;
    width: 100%;
    grid-template-columns: repeat(auto-fit, minmax(125px, 136px));
    max-width: 876px;
    margin: 0 auto;
    justify-content: center;
    gap: 12px;
}

.homepage .seo-species .species-tile-grid li a {
    display: flex;
    min-height: 128px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 12px 8px;
    border: 1px solid #e4e6df;
    border-radius: 8px;
    background: #f2eddf;
    color: #594d4c;
    font-family: OpenSans, Arial, sans-serif;
    line-height: 1.3;
    text-align: center;
    text-decoration: none;
    transition: border-color .2s ease, background-color .2s ease, color .2s ease;
}

.homepage .seo-species .offer-tab-title {
    font-family: Poppins, Arial, sans-serif;
    font-size: 13px;
    font-weight: 500;
}

.homepage .seo-species .species-tile-grid li a:hover {
    border-color: #594d4c;
    background: #f2e6c2;
    color: #594d4c;
}

.homepage .home-lang a:focus-visible,
.homepage .seo-species .species-tile-grid li a:focus-visible,
.homepage .seo-button:focus-visible {
    outline: 3px solid #594d4c;
    outline-offset: 3px;
}

.homepage .seo-species .species-tile-grid li img {
    width: min(100%, 112px);
    height: 100%;
    aspect-ratio: auto;
    border: 0;
    border-radius: 0;
    object-fit: contain;
}

.combined-species-icons {
    display: flex;
    width: 100%;
    height: 100%;
    align-items: center;
    justify-content: center;
    gap: 4px;
}

.homepage .seo-species .combined-species-icons img {
    width: 50%;
}

.hospital-species .combined-species-icons img {
    width: calc(50% - 2px);
}

.animal-photo-gallery {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    margin: 0 0 2rem;
    scroll-margin-top: 16px;
}

.animal-photo-gallery img {
    display: block;
    width: 100%;
    aspect-ratio: 3 / 4;
    border-radius: 8px;
    object-fit: cover;
}

.alpaca-section-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0 0 1.5rem;
}

.alpaca-section-nav a {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
    padding: 8px 12px;
    border: 1px solid #f2eddf;
    border-radius: 6px;
    background: #f2eddf;
    color: #594d4c;
    text-decoration: none;
}

.alpaca-section-nav a:hover,
.alpaca-section-nav a:focus-visible {
    border-color: #594d4c;
    background: #f2e6c2;
    outline-offset: 2px;
}

#offer-tabs-content [id] {
    scroll-margin-top: 20px;
}

@media (max-width: 575px) {
    .homepage .seo-species .species-tile-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 9px;
    }

    .homepage .seo-species .species-tile-grid li a {
        min-height: 116px;
    }

    .homepage .seo-species .offer-tab-image {
        height: 68px;
    }

    .animal-photo-gallery {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }

    .animal-photo-gallery img {
        max-height: 520px;
    }
}

.homepage .seo-hero {
    overflow: hidden;
    background: var(--home-teal);
}

.homepage .seo-layout {
    position: relative;
    display: block;
    min-height: 100vh;
    min-height: 100svh;
    max-width: none;
    margin: 0;
}

.homepage .seo-layout:before {
    position: absolute;
    z-index: 1;
    inset: 0 auto 0 4%;
    width: 88%;
    background: linear-gradient(90deg, var(--home-teal) 0%, var(--home-teal) 50%, rgba(242, 230, 194, .96) 58%, rgba(242, 230, 194, .86) 66%, rgba(242, 230, 194, .7) 74%, rgba(242, 230, 194, .48) 82%, rgba(242, 230, 194, .26) 90%, rgba(242, 230, 194, .1) 96%, rgba(242, 230, 194, 0) 100%);
    content: "";
    pointer-events: none;
}

.homepage .seo-hero-photo {
    position: absolute;
    z-index: 0;
    inset: 0 0 0 33%;
    height: auto;
}

.homepage .seo-hero-photo img {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 100%;
    object-fit: contain;
    object-position: right center;
}

.homepage .seo-hero-copy {
    position: relative;
    z-index: 2;
    box-sizing: border-box;
    width: calc(100% - 120px);
    max-width: 1232px;
    min-height: 100vh;
    min-height: 100svh;
    margin: 0 auto;
    padding: 125px 0 15px;
    align-self: auto;
}

.homepage .seo-eyebrow {
    margin: 0 0 38px;
    color: var(--home-ink);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .08em;
}

.homepage .seo-hero h1 {
    max-width: 100%;
    margin: 0 0 40px;
    color: var(--home-ink);
    font-family: Poppins, Arial, sans-serif;
    font-size: 32px;
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: 0;
}

.homepage .seo-lead {
    max-width: 420px;
    margin: 0;
    color: #594d4c;
    font-size: 16px;
    line-height: 1.3;
}

.homepage .desktop-break {
    display: initial;
}

.homepage .seo-actions {
    display: grid;
    width: min(100%, 440px);
    max-width: 440px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: stretch;
    gap: 12px;
    margin-top: 28px;
}

.homepage .seo-fecal-highlight {
    max-width: 680px;
    margin-top: 32px;
    color: #343a40;
}

.homepage .seo-fecal-highlight h2 {
    max-width: 640px;
    margin: 0 0 16px;
    color: inherit;
    font-family: Poppins, Arial, sans-serif;
    font-size: clamp(24px, 2.7vw, 32px);
    font-weight: 700;
    line-height: 1.25;
}

.homepage .seo-fecal-highlight p {
    max-width: 560px;
    margin: 0 0 20px;
    color: inherit;
    font-size: 16px;
    line-height: 1.3;
}

.homepage .seo-fecal-highlight a {
    color: inherit;
    font-size: 14px;
    font-weight: 700;
    text-underline-offset: 3px;
}

.homepage .seo-fecal-highlight .seo-fecal-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 5px;
    font-size: 14px;
    border-color: var(--palette-red);
    background: var(--palette-red);
    color: #fff !important;
    text-decoration: none;
}

.homepage .seo-fecal-highlight .seo-fecal-button:hover {
    border-color: #c92f12;
    background: #c92f12;
}

.homepage .seo-button {
    gap: 8px;
    min-height: 48px;
    justify-content: center;
    padding: 11px 14px;
    border: 1px solid var(--home-ink);
    border-radius: 6px;
    background: var(--home-ink);
    font-family: OpenSans, Arial, sans-serif;
    font-size: 13px;
    text-align: center;
}

.homepage .seo-button:not(.seo-button-secondary) {
    color: #fff !important;
}

.homepage .seo-actions .seo-button[href="badanie-kalu.html"] {
    border-color: var(--palette-red);
    background: var(--palette-red);
}

.homepage .seo-actions .seo-button[href="badanie-kalu.html"]:hover {
    border-color: var(--palette-red);
    background: var(--palette-red);
}

.homepage .seo-button:hover {
    background: #594d4c;
}

.homepage .seo-button-secondary {
    background: transparent;
    color: var(--home-ink) !important;
}

.homepage .seo-actions .seo-button-secondary {
    min-height: 48px;
    padding: 11px 14px;
    border: 1px solid var(--home-ink);
    background: var(--palette-cream, #f2eddf);
    color: var(--home-ink) !important;
    font-size: 13px;
    text-decoration: none !important;
}

.homepage .seo-button-secondary:hover {
    border-color: var(--palette-ink, #594d4c);
    background: var(--palette-sand, #f2e6c2);
}

.homepage .seo-contact {
    grid-column: 1 / -1;
    display: inline-flex;
    width: 100%;
    min-height: 42px;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    padding: 8px 14px;
    border-radius: 6px;
    background: var(--palette-cream, #f2eddf);
    color: var(--home-ink);
    font-size: 14px;
    font-weight: 700;
    line-height: 1.4;
    text-decoration: none;
    text-align: center;
    white-space: normal;
}

.homepage .seo-mini {
    max-width: 485px;
    margin-top: 31px;
    padding-top: 18px;
    border-top: 1px solid rgba(89, 77, 76, .42);
    color: #594d4c;
    font-size: 11px;
}

.homepage .seo-mini span:not(:last-child):after {
    background: var(--home-ink);
}

@media (max-width: 900px) {
    .home-header-inner {
        width: calc(100% - 48px);
        gap: 18px;
    }

    .home-header .navbar-green ul {
        flex-direction: row;
        gap: 16px;
    }

    .homepage .seo-hero-copy {
        width: calc(100% - 48px);
    }

    .home-header .navbar-green a {
        font-size: 11px;
    }
}

@media (max-width: 640px) {
    .has-home-header .home-header-inner {
        display: flex;
        min-height: 0;
        flex-wrap: wrap;
        align-items: flex-start;
        padding: 10px 0 8px;
        row-gap: 8px;
    }

    .has-home-header .home-brand {
        flex-direction: row;
        align-items: center;
    }

    .has-home-header .home-brand-mark {
        width: 38px;
    }

    .has-home-header .home-brand-name {
        font-size: 18px;
    }

    .has-home-header .home-brand-tagline {
        display: block;
        font-size: 8px;
    }

    .homepage .home-contact {
        order: 0;
        flex-basis: auto;
        padding: 0;
        border: 0;
    }

    .has-home-header .home-menu {
        display: grid;
        width: 100%;
        grid-template-columns: minmax(0, 1fr);
        row-gap: 6px;
    }

    .has-home-header .home-menu .home-phone,
    .has-home-header .home-menu .navbar-green,
    .has-home-header .home-menu .home-lang {
        grid-column: 1;
        justify-self: start;
    }

    .has-home-header .home-menu .home-phone {
        grid-row: 1;
    }

    .has-home-header .home-menu .navbar-green {
        grid-row: 2;
    }

    .has-home-header .home-menu .home-lang {
        grid-row: 3;
    }

    .has-home-header .home-header .navbar-green ul {
        flex-wrap: wrap;
    }

    .has-home-header .home-header .navbar-green a {
        font-size: 13px;
    }

    .home-header-inner {
        width: calc(100% - 36px);
        min-height: 112px;
        padding: 12px 0 8px;
        align-items: flex-start;
        flex-direction: column;
        justify-content: center;
        gap: 5px;
    }

    .home-brand-name {
        font-size: 16px;
    }

    .homepage .home-brand-name {
        font-size: 18px;
    }

    .home-header .navbar-green ul {
        justify-content: flex-start;
        gap: 7px 18px;
        flex-wrap: wrap;
    }

    .home-header .navbar-green a {
        padding: 5px 0;
        font-size: 14px;
    }

    .homepage .seo-layout {
        min-height: 760px;
        min-height: max(760px, 100svh);
    }

    .homepage .seo-layout:before {
        inset: 0 auto 0 0;
        width: 92%;
        background: linear-gradient(90deg, rgba(242, 230, 194, .98) 0%, rgba(242, 230, 194, .95) 25%, rgba(242, 230, 194, .84) 42%, rgba(242, 230, 194, .68) 58%, rgba(242, 230, 194, .47) 74%, rgba(242, 230, 194, .25) 88%, rgba(242, 230, 194, .14) 100%);
    }

    .homepage .seo-hero-photo {
        inset: 0 0 0 12%;
        height: auto;
    }

    .homepage .seo-hero-photo img {
        object-position: right center;
    }

    .homepage .seo-hero-copy {
        width: calc(100% - 36px);
        min-height: 760px;
        min-height: max(760px, 100svh);
        padding-top: 174px;
        padding-bottom: 40px;
    }

    .homepage .desktop-break {
        display: none;
    }

    .homepage .seo-eyebrow {
        margin-bottom: 24px;
    }

    .homepage .seo-hero h1 {
        max-width: 100%;
        margin-bottom: 40px;
        font-size: 32px;
    }

    .homepage .seo-lead {
        max-width: 420px;
        font-size: 14px;
    }

    .homepage .seo-actions {
        align-items: stretch;
    }

    .homepage .seo-mini {
        gap: 8px;
        font-size: 10px;
    }

    .homepage .seo-mini span:not(:last-child):after {
        margin-left: 8px;
    }
}

@media (max-width: 1150px) {
    .home-header-inner {
        flex-wrap: wrap;
        padding-bottom: 10px;
        row-gap: 6px;
    }

    .has-home-header .home-header-inner {
        flex-wrap: nowrap;
        padding-bottom: 0;
        row-gap: 0;
    }

    .home-contact {
        order: 3;
        flex-basis: 100%;
        justify-content: flex-start;
        padding-top: 8px;
        border-top: 1px solid rgba(89, 77, 76, .2);
    }

    .homepage .seo-hero-copy {
        padding-top: 125px;
    }
}

@media (max-width: 640px) {
    .has-home-header .home-header-inner {
        flex-wrap: wrap;
        padding-bottom: 8px;
        row-gap: 5px;
    }

    .home-contact {
        align-items: flex-start;
        flex-direction: column;
        gap: 8px;
    }

    .homepage .seo-hero-copy {
        padding-top: 270px;
    }
}

@media (max-width: 900px) {
    .home-notice {
        width: calc(100% - 48px);
    }
}

@media (max-width: 640px) {
    .home-notice {
        width: calc(100% - 36px);
        font-size: 12px;
    }
}

:root {
    --green: #594d4c;
    --orange: #f23e16;
    --palette-sand: #f2e6c2;
    --palette-cream: #f2eddf;
    --palette-tan: #d9c196;
    --palette-red: #f23e16;
    --palette-ink: #594d4c;
}

body {
    color: var(--palette-ink);
    background: var(--palette-cream);
}

body.homepage,
body:not(.homepage) {
    background-color: var(--palette-cream);
}

.omni-footer {
    background-color: var(--palette-ink);
    color: var(--palette-cream);
}

.omni-footer :is(h2, h3, p, a, span, small, strong, li) {
    color: var(--palette-cream);
}

.omni-footer .cookie-reopen,
.mobile-toggle {
    color: var(--palette-cream);
}

h1,
h2,
h3,
h4,
h5,
.h1,
.h2,
.h3,
.h4 {
    color: var(--palette-ink);
}

a {
    color: var(--palette-red);
}

a:hover {
    color: #c92f12;
}

.topbar,
.seo-hero,
.offer-intro-band,
.hospital-hero,
.species-detail-wrap,
.seo-team,
.home-hospital {
    background-color: var(--palette-cream);
}

.global-alert,
.navbar-green,
.mobile-toggle,
.footer,
.omni-footer {
    background-color: var(--palette-ink);
}

.navbar-green a:hover,
.navbar-green a.active {
    background-color: #746260;
}

.seo-button,
.btn-primary,
.btn-cta,
.homepage .seo-button {
    border-color: var(--palette-red);
    background-color: var(--palette-red);
    color: #fff;
}

.seo-button:hover,
.btn-primary:hover,
.btn-cta:hover,
.homepage .seo-button:hover {
    border-color: #c92f12;
    background-color: #c92f12;
}

.seo-contact,
.seo-section-label,
.seo-text-link,
.seo-section-intro h2,
.seo-diagnostic h2,
.seo-contact-strip h2,
.care-overview h2,
.farm-care h2,
.horse-care h2,
.fecal-promo h2 {
    color: var(--palette-ink);
}

.seo-services,
.seo-values,
.care-overview,
.horse-care,
.species-detail-content,
.hospital-spa {
    background-color: var(--palette-cream);
}

.hospital-diagnostic-highlight {
    color: var(--orange, #f23e16);
}

.care-overview-grid article,
.species-detail-content,
.species-detail-error {
    border-color: var(--palette-tan);
    background-color: #fffdf8;
}

.care-overview-grid h3,
.care-overview-grid p,
.care-overview-note,
.farm-care p,
.horse-care p,
.horse-care li,
.fecal-promo p,
.seo-lead,
.seo-service,
.seo-service p,
.seo-values-grid p {
    color: var(--palette-ink);
}

.farm-care,
.seo-contact-strip,
.seo-species .species-tile-grid li a,
.hospital-species li,
.offer-tab-image,
.container-sm #offer-tabs .nav-link {
    background-color: var(--palette-sand);
}

.seo-species .species-tile-grid li a,
.hospital-species li,
.container-sm #offer-tabs .nav-link,
.care-overview-grid article {
    border-color: var(--palette-tan);
}

.fecal-promo,
.seo-diagnostic {
    background-color: var(--palette-tan);
    color: var(--palette-ink);
}

.fecal-promo .seo-section-label,
.fecal-promo h2,
.fecal-promo p,
.seo-diagnostic .seo-section-label,
.seo-diagnostic h2,
.seo-diagnostic p {
    color: var(--palette-ink);
}

.seo-button-light,
.seo-diagnostic .seo-button-light {
    background-color: var(--palette-ink);
    color: #fff !important;
}

.hospital-hero h1,
.hospital-section h2,
.hospital-callout h2,
.hospital-contact h2,
.fecal-intro h1 {
    color: var(--palette-ink);
}

.hospital-callout,
.hospital-contact {
    background-color: var(--palette-tan);
    color: var(--palette-ink);
}

.hospital-callout p,
.hospital-callout h2,
.hospital-contact h2 {
    color: var(--palette-ink);
}

.hospital-callout a[href^="tel:"],
.hospital-contact a[href^="tel:"] {
    color: var(--palette-red) !important;
}

.hospital-callout .seo-button-light[href^="tel:"] {
    color: #fff !important;
}

.homepage .seo-fecal-highlight .seo-fecal-button {
    border-color: var(--palette-red);
    background-color: var(--palette-red);
}

.homepage .seo-fecal-highlight .seo-fecal-button:hover {
    border-color: #c92f12;
    background-color: #c92f12;
}

.seo-diagnostic-note,
.seo-service-grid,
.seo-service,
.shop-product,
.card,
.advice-article {
    border-color: var(--palette-tan);
}

.home-header,
.homepage .seo-hero {
    --home-teal: var(--palette-sand);
    --home-ink: var(--palette-ink);
    background-color: var(--palette-sand);
}

.homepage .seo-layout:before {
    background: linear-gradient(90deg, rgba(242, 230, 194, 1) 0%, rgba(242, 230, 194, 1) 50%, rgba(242, 230, 194, .96) 58%, rgba(242, 230, 194, .86) 66%, rgba(242, 230, 194, .7) 74%, rgba(242, 230, 194, .48) 82%, rgba(242, 230, 194, .26) 90%, rgba(242, 230, 194, .1) 96%, rgba(242, 230, 194, 0) 100%);
}

.homepage .seo-fecal-highlight,
.homepage .seo-fecal-highlight h2,
.homepage .seo-fecal-highlight p {
    color: var(--palette-ink);
}

.home-notice {
    color: var(--palette-red);
}

.home-lang a {
    border-color: rgba(89, 77, 76, .45);
    color: var(--palette-ink);
}

.home-lang a:hover,
.home-lang a[aria-current="page"] {
    border-color: var(--palette-ink);
    background-color: var(--palette-ink);
    color: #fff;
}

.homepage .seo-species .species-tile-grid li a {
    border-color: var(--palette-tan);
    background-color: var(--palette-cream);
    color: var(--palette-ink);
}

.homepage .seo-species .species-tile-grid li a:hover {
    border-color: var(--palette-ink);
    background-color: var(--palette-sand);
    color: var(--palette-ink);
}

@media (max-width: 1150px) {
    .homepage .seo-layout:before {
        background: linear-gradient(90deg, rgba(242, 230, 194, .98) 0%, rgba(242, 230, 194, .95) 25%, rgba(242, 230, 194, .84) 42%, rgba(242, 230, 194, .68) 58%, rgba(242, 230, 194, .47) 74%, rgba(242, 230, 194, .25) 88%, rgba(242, 230, 194, .14) 100%);
    }
}

.home-emergency,
.home-emergency-label,
.home-emergency strong,
.home-english,
.home-notice,
.home-header .navbar-green a.fecal-nav-highlight,
.has-home-header .home-header .navbar-green a.fecal-nav-highlight:hover,
.has-home-header .home-header .navbar-green a.fecal-nav-highlight:focus-visible,
.has-home-header .home-header .navbar-green a.fecal-nav-highlight.active {
    color: var(--palette-red);
}

.has-home-header .home-header .navbar-green a,
.has-home-header .home-header .navbar-green a:hover,
.has-home-header .home-header .navbar-green a:focus-visible,
.has-home-header .home-header .navbar-green a.active {
    color: #fff !important;
}

.has-home-header .home-header .navbar-green a.fecal-nav-highlight,
.has-home-header .home-header .navbar-green a.fecal-nav-highlight:hover,
.has-home-header .home-header .navbar-green a.fecal-nav-highlight:focus-visible,
.has-home-header .home-header .navbar-green a.fecal-nav-highlight.active {
    color: var(--palette-red) !important;
}

.home-emergency-label {
    border-color: var(--palette-red);
}

.home-emergency:hover .home-emergency-label,
.home-emergency:hover strong {
    color: var(--palette-red);
}

.hospital-callout a[href^="tel:"],
.hospital-contact a[href^="tel:"] {
    color: var(--palette-red) !important;
}

.fecal-intro .fecal-mail-warning {
    color: var(--palette-red);
}

.global-alert.p-3 {
    color: #fff;
    animation: none;
}

.mobile-location-link {
    display: none;
}

@media (max-width: 900px) {
    .homepage > header.home-header,
    .has-home-header > header.home-header {
        position: relative;
        z-index: 10;
        background: var(--palette-cream);
    }

    .has-home-header .home-header-inner {
        display: grid;
        width: 100%;
        min-height: 0;
        grid-template-columns: minmax(0, 1fr) auto;
        grid-template-rows: auto;
        gap: 0 12px;
        padding: 8px 14px;
        border-bottom: 1px solid var(--palette-tan);
    }

    .has-home-header .home-brand-group {
        grid-column: 1;
        grid-row: 1;
        min-width: 0;
        display: block;
    }

    .has-home-header .home-brand {
        gap: 8px;
    }

    .has-home-header .home-brand-mark {
        width: 42px;
    }

    .has-home-header .home-brand-name,
    .homepage .has-home-header .home-brand-name {
        font-size: 17px;
    }

    .has-home-header .home-brand-tagline {
        font-size: 8px;
    }

    .has-home-header .home-brand-group .home-address {
        display: none;
    }

    .has-home-header .home-menu {
        grid-column: 2;
        grid-row: 1;
        display: grid;
        width: auto;
        grid-template-columns: auto auto;
        grid-template-rows: auto;
        align-items: center;
        justify-content: end;
        gap: 8px;
    }

    .has-home-header .home-menu .home-phone {
        grid-column: 1;
        grid-row: 1;
        justify-self: end;
    }

    .has-home-header .home-phone .home-emergency {
        min-height: 44px;
        grid-template-columns: 38px auto;
        column-gap: 6px;
        align-content: center;
        font-size: 13px;
    }

    .has-home-header .home-emergency-label {
        min-height: 32px;
        border-width: 2px;
        font-size: 12px;
    }

    .has-home-header .home-emergency strong {
        font-size: 13px;
    }

    .has-home-header .home-english {
        display: none;
    }

    .has-home-header .home-menu .mobile-toggle {
        grid-column: 2;
        grid-row: 1;
        display: inline-flex;
        min-width: 48px;
        min-height: 48px;
        align-items: center;
        justify-content: center;
        gap: 6px;
        padding: 8px 10px;
        border: 1px solid var(--palette-ink);
        border-radius: 5px;
        background: var(--palette-ink);
        color: #fff;
        font: 600 13px/1 OpenSans, Arial, sans-serif;
        cursor: pointer;
    }

    .has-home-header .home-menu .mobile-toggle span:first-child {
        font-size: 20px;
        line-height: 1;
    }

    .has-home-header .home-menu .mobile-toggle:focus-visible {
        outline: 3px solid var(--palette-red);
        outline-offset: 3px;
    }

    .has-home-header .home-header .navbar-green,
    .has-home-header .home-header .navbar-green:not(.is-open) {
        position: absolute;
        z-index: 20;
        top: 100%;
        right: 0;
        left: 0;
        display: none;
        width: 100%;
        padding: 8px 14px 14px;
        border-bottom: 1px solid var(--palette-tan);
        background: var(--palette-cream);
        box-shadow: 0 8px 16px rgba(89, 77, 76, .16);
    }

    .has-home-header .home-header .navbar-green.is-open {
        display: block;
    }

    .has-home-header .home-header .navbar-green ul {
        display: flex;
        width: 100%;
        flex-direction: column;
        align-items: stretch;
        gap: 4px;
    }

    .has-home-header .home-header .navbar-green li {
        width: 100%;
        max-width: none;
    }

    .has-home-header .home-header .navbar-green a {
        display: flex;
        min-height: 48px;
        justify-content: flex-start;
        padding: 11px 12px;
        border: 1px solid var(--palette-tan);
        border-radius: 4px;
        background: var(--palette-sand);
        color: var(--palette-ink) !important;
        font-size: 15px;
    }

    .has-home-header .home-header .navbar-green .mobile-location-link a {
        height: auto;
        white-space: normal;
        overflow-wrap: anywhere;
        line-height: 1.4;
    }

    .has-home-header .home-header .navbar-green a:hover,
    .has-home-header .home-header .navbar-green a.active {
        background: var(--palette-tan);
        color: var(--palette-ink) !important;
    }

    .has-home-header .home-header .navbar-green a.fecal-nav-highlight {
        color: var(--palette-red) !important;
    }

    .has-home-header .home-menu .home-lang,
    .has-home-header .home-notice {
        display: none;
    }

    .home-header .mobile-location-link {
        display: list-item;
    }

    .homepage .seo-species .species-tile-grid {
        grid-template-columns: repeat(4, minmax(0, 136px));
    }

    .homepage .seo-hero-copy {
        padding-top: 40px;
    }

    .homepage .seo-layout,
    .homepage .seo-hero-copy {
        min-height: max(660px, calc(100svh - 66px));
    }
}

@media (max-width: 360px) {
    .has-home-header .home-brand-mark {
        width: 34px;
    }

    .has-home-header .home-brand-name,
    .homepage .has-home-header .home-brand-name {
        font-size: 14px;
    }

    .has-home-header .home-brand-tagline {
        display: none;
    }

    .has-home-header .home-menu {
        gap: 6px;
    }

    .has-home-header .home-phone .home-emergency {
        grid-template-columns: 31px auto;
        column-gap: 4px;
        font-size: 11px;
    }

    .has-home-header .home-emergency-label {
        min-height: 28px;
        padding: 2px;
        font-size: 10px;
    }

    .has-home-header .home-emergency strong {
        font-size: 11px;
    }

    .has-home-header .home-menu .mobile-toggle {
        min-width: 48px;
        width: 48px;
        padding: 7px;
    }

    .has-home-header .home-menu .mobile-toggle span:last-child {
        display: none;
    }
}

.has-home-header:not(.homepage) .home-header .navbar-green a,
.has-home-header:not(.homepage) .home-header .navbar-green a:hover,
.has-home-header:not(.homepage) .home-header .navbar-green a:focus-visible,
.has-home-header:not(.homepage) .home-header .navbar-green a.active {
    color: var(--palette-ink) !important;
}

.has-home-header:not(.homepage) .home-header .navbar-green a.fecal-nav-highlight,
.has-home-header:not(.homepage) .home-header .navbar-green a.fecal-nav-highlight:hover,
.has-home-header:not(.homepage) .home-header .navbar-green a.fecal-nav-highlight:focus-visible,
.has-home-header:not(.homepage) .home-header .navbar-green a.fecal-nav-highlight.active {
    color: var(--palette-red) !important;
}

body h1,
body h2,
body h3,
body h4,
body h5,
body h6,
body .h1,
body .h2,
body .h3,
body .h4,
body .h5,
body .h6 {
    font-family: OpenSans, Arial, sans-serif !important;
    font-weight: 400 !important;
}
