/* ==========================================================================
   Arusha Pet Care - main stylesheet
   Mobile-first. Breakpoints: 640px (large phone), 900px (tablet), 1100px (desktop).
   ========================================================================== */

/* ---------- Design tokens (colours from the logo) ---------- */

:root {
    --teal-950: #062c2e;
    --teal-900: #0a3d40;
    --teal-800: #0c4b4e;
    --teal-700: #0e5b5e;
    --teal-600: #137073;
    --teal-100: #dcecea;
    --teal-50: #eef6f5;
    --gold-600: #b87a2b;
    --gold-500: #c98a35;
    --gold-400: #dea354;
    --gold-100: #f6e8d2;
    --leaf-600: #4d7a33;
    --leaf-100: #e3eedb;
    --cream-50: #fcfaf6;
    --cream-100: #f7f1e7;
    --cream-200: #efe5d5;
    --ink-900: #17292a;
    --ink-700: #34494a;
    --ink-500: #5d6f70;
    --white: #ffffff;

    --font-display: "Fraunces", Georgia, "Times New Roman", serif;
    --font-body: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

    --radius-sm: 10px;
    --radius: 16px;
    --radius-lg: 24px;
    --radius-pill: 999px;

    --shadow-sm: 0 1px 2px rgba(10, 61, 64, 0.06), 0 2px 8px rgba(10, 61, 64, 0.05);
    --shadow: 0 4px 12px rgba(10, 61, 64, 0.06), 0 16px 40px rgba(10, 61, 64, 0.08);
    --shadow-lg: 0 10px 30px rgba(10, 61, 64, 0.12), 0 30px 60px rgba(10, 61, 64, 0.12);

    --ease-out: cubic-bezier(0.22, 0.61, 0.36, 1);
    --ease-soft: cubic-bezier(0.25, 0.8, 0.25, 1);

    --container: 1200px;
    --gutter: clamp(16px, 4vw, 32px);
    --section-y: clamp(64px, 9vw, 112px);
    --header-h: 72px;
}

/* ---------- Base ---------- */

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
    margin: 0;
    background: var(--cream-50);
    color: var(--ink-700);
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

body.menu-open {
    overflow: hidden;
}

img,
svg,
iframe {
    display: block;
    max-width: 100%;
}

img {
    height: auto;
}

h1,
h2,
h3,
h4 {
    margin: 0 0 0.5em;
    color: var(--ink-900);
    font-family: var(--font-display);
    font-weight: 600;
    line-height: 1.15;
    letter-spacing: -0.01em;
}

p {
    margin: 0 0 1em;
}

a {
    color: var(--teal-700);
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
    transition: color 0.2s ease;
}

a:hover {
    color: var(--gold-600);
}

:focus-visible {
    outline: 3px solid var(--gold-400);
    outline-offset: 3px;
    border-radius: 4px;
}

ul[role="list"] {
    margin: 0;
    padding: 0;
    list-style: none;
}

.screen-reader-text {
    position: absolute !important;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(1px, 1px, 1px, 1px);
    white-space: nowrap;
}

.skip-link {
    position: absolute;
    top: -100px;
    left: 16px;
    z-index: 1000;
    padding: 12px 18px;
    border-radius: var(--radius-sm);
    background: var(--teal-900);
    color: var(--white);
    font-weight: 600;
}

.skip-link:focus {
    top: 16px;
    color: var(--white);
}

.icon {
    flex-shrink: 0;
    width: 1.25em;
    height: 1.25em;
}

/* ---------- Layout ---------- */

.container {
    width: 100%;
    max-width: calc(var(--container) + var(--gutter) * 2);
    margin-inline: auto;
    padding-inline: var(--gutter);
}

.container--narrow {
    max-width: calc(760px + var(--gutter) * 2);
}

.container--wide {
    max-width: calc(1000px + var(--gutter) * 2);
}

.section {
    padding-block: var(--section-y);
}

.section-heading {
    max-width: 680px;
    margin-bottom: clamp(36px, 5vw, 56px);
}

.section-heading--center {
    margin-inline: auto;
    text-align: center;
}

.section-heading--start {
    margin-bottom: 28px;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 14px;
    color: var(--gold-600);
    font-size: 0.8125rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.eyebrow .icon {
    width: 16px;
    height: 16px;
}

.eyebrow--light {
    color: var(--gold-400);
}

.section-title {
    font-size: clamp(1.875rem, 1.3rem + 2.4vw, 2.875rem);
}

.section-intro {
    color: var(--ink-500);
    font-size: clamp(1rem, 0.95rem + 0.3vw, 1.125rem);
}

.section-actions {
    margin: clamp(32px, 4vw, 48px) 0 0;
    text-align: center;
}

.btn-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    margin-top: 28px;
}

.card {
    padding: clamp(24px, 4vw, 40px);
    border-radius: var(--radius-lg);
    background: var(--white);
    box-shadow: var(--shadow);
}

/* ---------- Buttons ---------- */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 48px;
    padding: 12px 24px;
    border: 2px solid transparent;
    border-radius: var(--radius-pill);
    font-family: var(--font-body);
    font-size: 0.9375rem;
    font-weight: 700;
    line-height: 1.2;
    text-decoration: none;
    cursor: pointer;
    transition:
        transform 0.25s var(--ease-soft),
        box-shadow 0.25s var(--ease-soft),
        background-color 0.25s ease,
        border-color 0.25s ease,
        color 0.25s ease;
}

.btn .icon {
    width: 18px;
    height: 18px;
    transition: transform 0.25s var(--ease-soft);
}

.btn:hover {
    transform: translateY(-2px);
}

.btn:hover .icon:last-child:not(:first-child) {
    transform: translateX(3px);
}

.btn:active {
    transform: none;
}

.btn--primary {
    background: var(--teal-700);
    color: var(--white);
    box-shadow: 0 6px 16px rgba(14, 91, 94, 0.25);
}

.btn--primary:hover {
    background: var(--teal-800);
    color: var(--white);
    box-shadow: 0 10px 24px rgba(14, 91, 94, 0.3);
}

.btn--accent {
    background: var(--gold-400);
    color: var(--teal-950);
    box-shadow: 0 6px 16px rgba(201, 138, 53, 0.3);
}

.btn--accent:hover {
    background: var(--gold-500);
    color: var(--teal-950);
}

.btn--outline {
    border-color: var(--teal-100);
    background: var(--white);
    color: var(--teal-800);
}

.btn--outline:hover {
    border-color: var(--teal-700);
    color: var(--teal-800);
}

.btn--ghost-light {
    border-color: rgba(255, 255, 255, 0.35);
    color: var(--white);
}

.btn--ghost-light:hover {
    border-color: var(--white);
    background: rgba(255, 255, 255, 0.08);
    color: var(--white);
}

.btn--link {
    min-height: auto;
    padding: 12px 8px;
    color: var(--teal-700);
    text-decoration: underline;
}

.btn--link:hover {
    transform: none;
}

.btn--sm {
    min-height: 42px;
    padding: 9px 20px;
    font-size: 0.875rem;
}

.btn--lg {
    min-height: 54px;
    padding: 14px 28px;
    font-size: 1rem;
}

.btn--block {
    width: 100%;
}

/* ---------- Top bar ---------- */

.topbar {
    background: var(--teal-900);
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.8125rem;
}

.topbar__inner {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    gap: 24px;
}

.topbar__item {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
}

.topbar__item .icon {
    width: 15px;
    height: 15px;
    color: var(--gold-400);
}

.topbar a {
    color: var(--white);
    text-decoration: none;
}

.topbar a:hover {
    color: var(--gold-400);
}

.topbar__contact {
    display: flex;
    align-items: center;
    gap: 24px;
}

.topbar__location,
.topbar__email {
    display: none;
}

/* ---------- Header ---------- */

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.92);
    border-bottom: 1px solid transparent;
    -webkit-backdrop-filter: saturate(1.4) blur(12px);
    backdrop-filter: saturate(1.4) blur(12px);
    transition: box-shadow 0.3s ease, border-color 0.3s ease;
}

.site-header.is-scrolled {
    border-bottom-color: rgba(10, 61, 64, 0.06);
    box-shadow: 0 6px 24px rgba(10, 61, 64, 0.08);
}

.site-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: var(--header-h);
    gap: 16px;
}

.brand {
    display: block;
    flex-shrink: 0;
}

.brand img {
    width: 64px;
    height: auto;
    transition: width 0.3s var(--ease-soft);
}

.primary-nav {
    display: none;
}

.site-header__actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.site-header__cta {
    display: none;
}

.menu-toggle,
.menu-close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    padding: 0;
    border: 1px solid var(--teal-100);
    border-radius: 12px;
    background: var(--white);
    color: var(--teal-800);
    cursor: pointer;
    transition: background-color 0.2s ease, border-color 0.2s ease;
}

.menu-toggle:hover,
.menu-close:hover {
    border-color: var(--teal-700);
    background: var(--teal-50);
}

.menu-toggle .icon,
.menu-close .icon {
    width: 22px;
    height: 22px;
}

.nav-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

/* ---------- Mobile menu ---------- */

.mobile-menu {
    position: fixed;
    inset: 0;
    z-index: 200;
}

.mobile-menu[hidden] {
    display: none;
}

.mobile-menu__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(6, 44, 46, 0.5);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.mobile-menu__panel {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    display: flex;
    flex-direction: column;
    gap: 24px;
    width: min(88vw, 380px);
    padding: 20px 24px 32px;
    overflow-y: auto;
    background: var(--cream-50);
    box-shadow: var(--shadow-lg);
    transform: translateX(100%);
    transition: transform 0.4s var(--ease-out);
}

.mobile-menu.is-open .mobile-menu__backdrop {
    opacity: 1;
}

.mobile-menu.is-open .mobile-menu__panel {
    transform: none;
}

.mobile-menu__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.mobile-menu__logo {
    width: 64px;
}

.mobile-menu .nav-list a {
    display: block;
    padding: 14px 4px;
    border-bottom: 1px solid var(--cream-200);
    color: var(--ink-900);
    font-family: var(--font-display);
    font-size: 1.375rem;
    font-weight: 600;
    text-decoration: none;
}

.mobile-menu .nav-list a[aria-current="page"],
.mobile-menu .nav-list .current-menu-item > a {
    color: var(--teal-700);
}

.mobile-menu__cta {
    display: grid;
    gap: 10px;
}

.mobile-menu__contact {
    display: grid;
    gap: 12px;
    margin: 0;
    padding: 0;
    color: var(--ink-500);
    font-size: 0.9375rem;
    list-style: none;
}

.mobile-menu__contact li {
    display: flex;
    gap: 10px;
}

.mobile-menu__contact .icon {
    margin-top: 3px;
    color: var(--teal-700);
}

/* ---------- Hero ---------- */

.hero {
    position: relative;
    overflow: hidden;
    padding-block: clamp(40px, 7vw, 96px) clamp(56px, 8vw, 112px);
    background:
        radial-gradient(1200px 500px at 85% -10%, var(--gold-100) 0%, transparent 60%),
        radial-gradient(900px 500px at -10% 110%, var(--teal-50) 0%, transparent 60%),
        var(--cream-50);
}

.hero__inner {
    display: grid;
    gap: 48px;
    align-items: center;
}

.hero__eyebrow {
    padding: 8px 14px;
    border-radius: var(--radius-pill);
    background: var(--white);
    box-shadow: var(--shadow-sm);
    color: var(--teal-700);
    letter-spacing: 0.06em;
}

.hero__title {
    margin-bottom: 20px;
    font-size: clamp(2.5rem, 1.7rem + 3.4vw, 3.75rem);
    line-height: 1.05;
}

.hero__title span {
    display: block;
    color: var(--teal-700);
    font-style: italic;
}

.hero__lead {
    max-width: 540px;
    color: var(--ink-500);
    font-size: clamp(1.0625rem, 1rem + 0.35vw, 1.25rem);
}

.hero__trust {
    display: grid;
    gap: 14px;
    margin-top: 36px !important;
}

.hero__trust li {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--ink-500);
    font-size: 0.9375rem;
}

.hero__trust .icon {
    width: 40px;
    height: 40px;
    padding: 9px;
    border-radius: 12px;
    background: var(--white);
    box-shadow: var(--shadow-sm);
    color: var(--gold-600);
}

.hero__trust strong {
    color: var(--ink-900);
}

.hero__media {
    position: relative;
    max-width: 560px;
    margin-inline: auto;
}

.hero__image {
    overflow: hidden;
    border-radius: 32px 32px 140px 32px;
    box-shadow: var(--shadow-lg);
    aspect-ratio: 1 / 1;
}

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

.hero__card {
    position: absolute;
    left: -8px;
    bottom: 28px;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 18px;
    border-radius: var(--radius);
    background: var(--white);
    box-shadow: var(--shadow);
    color: var(--ink-500);
    font-size: 0.9375rem;
}

.hero__card strong {
    display: block;
    color: var(--ink-900);
    font-size: 1.0625rem;
}

.hero__card-icon {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: var(--teal-700);
    color: var(--white);
}

/* ---------- Services ---------- */

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

.services-grid {
    display: grid;
    gap: 16px;
}

.service-card {
    position: relative;
    padding: 28px;
    border: 1px solid var(--cream-200);
    border-radius: var(--radius);
    background: var(--cream-50);
    transition:
        transform 0.35s var(--ease-soft),
        box-shadow 0.35s var(--ease-soft),
        border-color 0.35s ease,
        background-color 0.35s ease;
}

.service-card:hover {
    border-color: transparent;
    background: var(--white);
    box-shadow: var(--shadow);
    transform: translateY(-4px);
}

.service-card__icon {
    display: grid;
    place-items: center;
    width: 56px;
    height: 56px;
    margin-bottom: 20px;
    border-radius: 16px;
    background: var(--teal-50);
    color: var(--teal-700);
    transition: background-color 0.35s ease, color 0.35s ease, transform 0.35s var(--ease-soft);
}

.service-card__icon .icon {
    width: 26px;
    height: 26px;
}

.service-card:hover .service-card__icon {
    background: var(--teal-700);
    color: var(--white);
    transform: rotate(-6deg);
}

.service-card__title {
    margin-bottom: 8px;
    font-size: 1.25rem;
}

.service-card__text {
    margin: 0;
    color: var(--ink-500);
    font-size: 0.9375rem;
}

.service-card__price {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 4px 8px;
    margin: 16px 0 0;
    padding-top: 14px;
    border-top: 1px dashed var(--cream-200);
}

.service-card__price strong {
    color: var(--teal-800);
    font-family: var(--font-display);
    font-size: 1.125rem;
    font-weight: 600;
}

.service-card__price span {
    color: var(--ink-500);
    font-size: 0.8125rem;
}

/* Phones: icon beside the text keeps nine services to a comfortable scroll. */
@media (max-width: 639px) {
    .services-grid {
        gap: 12px;
    }

    .service-card {
        display: grid;
        grid-template-columns: 48px 1fr;
        column-gap: 16px;
        padding: 20px;
    }

    .service-card__icon {
        grid-row: span 3;
        width: 48px;
        height: 48px;
        margin-bottom: 0;
        border-radius: 14px;
    }

    .service-card__icon .icon {
        width: 22px;
        height: 22px;
    }

    .service-card__title {
        margin-bottom: 4px;
        font-size: 1.125rem;
    }
}

/* ---------- About ---------- */

.section--about {
    background: var(--white);
}

.split {
    display: grid;
    gap: 48px;
    align-items: center;
}

.about-media {
    position: relative;
    max-width: 520px;
    margin-inline: auto;
}

.about-badge {
    position: absolute;
    right: 0;
    bottom: 12%;
    padding: 16px 20px;
    border-radius: var(--radius);
    background: var(--teal-700);
    color: rgba(255, 255, 255, 0.85);
    box-shadow: var(--shadow);
    font-size: 0.875rem;
    line-height: 1.3;
}

.about-badge strong {
    display: block;
    color: var(--white);
    font-family: var(--font-display);
    font-size: 2rem;
}

.checklist {
    display: grid;
    gap: 12px;
    margin: 24px 0 0 !important;
}

.checklist li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    color: var(--ink-900);
    font-weight: 500;
}

.checklist .icon {
    width: 24px;
    height: 24px;
    padding: 4px;
    border-radius: 50%;
    background: var(--leaf-100);
    color: var(--leaf-600);
}

/* ---------- Why us ---------- */

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

.why {
    display: grid;
    gap: 40px;
    align-items: center;
}

.feature-list {
    display: grid;
    gap: 16px;
}

.feature {
    display: flex;
    gap: 18px;
    padding: 22px;
    border-radius: var(--radius);
    background: var(--white);
    box-shadow: var(--shadow-sm);
}

.feature p {
    margin: 0;
    color: var(--ink-500);
    font-size: 0.9375rem;
}

.feature__icon {
    display: grid;
    flex-shrink: 0;
    place-items: center;
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: var(--gold-100);
    color: var(--gold-600);
}

.feature__title {
    margin-bottom: 4px;
    font-size: 1.1875rem;
}

.why__media {
    display: none;
}

.stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1px;
    margin: 48px 0 0;
    overflow: hidden;
    border-radius: var(--radius-lg);
    background: var(--teal-800);
    box-shadow: var(--shadow);
}

.stat {
    display: flex;
    flex-direction: column-reverse;
    justify-content: flex-end;
    padding: 28px 20px;
    background: var(--teal-700);
    text-align: center;
}

.stat__value {
    margin: 0 0 4px;
    color: var(--white);
    font-family: var(--font-display);
    font-size: clamp(2rem, 1.5rem + 2vw, 2.75rem);
    font-weight: 600;
    line-height: 1;
}

.stat__label {
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.875rem;
}

/* ---------- Price list ---------- */

.price-list {
    display: grid;
    gap: 14px;
}

.price-item {
    display: grid;
    grid-template-columns: 44px 1fr auto;
    align-items: center;
    gap: 14px;
    padding: 18px 20px;
    border: 1px solid var(--cream-200);
    border-radius: var(--radius);
    background: var(--white);
    transition: transform 0.35s var(--ease-soft), box-shadow 0.35s var(--ease-soft), border-color 0.35s ease;
}

.price-item:hover {
    border-color: transparent;
    box-shadow: var(--shadow);
    transform: translateY(-3px);
}

.price-item__icon {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: var(--teal-50);
    color: var(--teal-700);
}

.price-item__icon .icon {
    width: 22px;
    height: 22px;
}

.price-item__title {
    margin: 0 0 2px;
    font-size: 1.0625rem;
}

.price-item__detail {
    margin: 0;
    color: var(--ink-500);
    font-size: 0.8125rem;
    line-height: 1.4;
}

.price-item__price {
    margin: 0;
    text-align: right;
    line-height: 1.2;
}

.price-item__price strong {
    display: block;
    color: var(--teal-800);
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 600;
    white-space: nowrap;
}

.price-item__price span {
    color: var(--ink-500);
    font-size: 0.8125rem;
    white-space: nowrap;
}

.price-note {
    max-width: 640px;
    margin: 20px auto 0;
    color: var(--ink-500);
    font-size: 0.8125rem;
    text-align: center;
}

/* ---------- Founders ---------- */

.section--founders {
    background: var(--white);
}

.founders {
    display: grid;
    gap: 24px;
    max-width: 840px;
    margin-inline: auto !important;
}

.founder {
    overflow: hidden;
    border: 1px solid var(--cream-200);
    border-radius: var(--radius-lg);
    background: var(--cream-50);
    transition: transform 0.35s var(--ease-soft), box-shadow 0.35s var(--ease-soft);
}

.founder:hover {
    box-shadow: var(--shadow);
    transform: translateY(-4px);
}

.founder__photo {
    overflow: hidden;
    aspect-ratio: 4 / 4.2;
    background: var(--cream-100);
}

.founder__photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 20%;
    transition: transform 0.7s var(--ease-out);
}

.founder:hover .founder__photo img {
    transform: scale(1.04);
}

.founder__body {
    padding: 24px;
    text-align: center;
}

.founder__name {
    margin-bottom: 2px;
    font-size: 1.375rem;
}

.founder__role {
    margin-bottom: 12px;
    color: var(--gold-600);
    font-size: 0.8125rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.founder__bio {
    margin: 0;
    color: var(--ink-500);
    font-size: 0.9375rem;
}

/* ---------- Testimonials ---------- */

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

.testimonials {
    display: grid;
    gap: 20px;
}

.testimonial figure {
    display: flex;
    flex-direction: column;
    height: 100%;
    margin: 0;
    padding: 32px 28px;
    border-radius: var(--radius-lg);
    background: var(--white);
    box-shadow: var(--shadow-sm);
}

.testimonial__mark .icon {
    width: 36px;
    height: 36px;
    margin-bottom: 16px;
    color: var(--gold-400);
}

.testimonial blockquote {
    flex-grow: 1;
    margin: 0 0 24px;
    color: var(--ink-700);
    font-size: 1rem;
}

.testimonial blockquote p {
    margin: 0;
}

.testimonial figcaption {
    display: flex;
    align-items: center;
    gap: 12px;
}

.testimonial__avatar {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--teal-700);
    color: var(--white);
    font-family: var(--font-display);
    font-size: 1.125rem;
    font-weight: 600;
}

.testimonial__name {
    color: var(--ink-900);
    font-weight: 700;
}

/* ---------- Gallery ---------- */

.section--gallery {
    background: var(--white);
}

.gallery {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.gallery__item {
    overflow: hidden;
    border-radius: var(--radius);
    background: var(--cream-100);
    aspect-ratio: 1 / 1;
}

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

.gallery__item:hover img {
    transform: scale(1.05);
}

/* ---------- Supplies ---------- */

.section--supplies {
    padding-block: clamp(48px, 6vw, 72px);
    background: var(--white);
}

.supplies {
    display: grid;
    gap: 28px;
    padding: clamp(28px, 4vw, 48px);
    border-radius: var(--radius-lg);
    background: var(--teal-50);
}

.supplies__title {
    font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2rem);
}

.supplies__text p:last-child {
    margin: 0;
    color: var(--ink-500);
}

.supplies__list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.supply {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    border-radius: var(--radius);
    background: var(--white);
    box-shadow: var(--shadow-sm);
    color: var(--ink-900);
    font-size: 0.9375rem;
    font-weight: 600;
}

.supply__icon {
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: var(--gold-100);
    color: var(--gold-600);
}

/* ---------- Posts ---------- */

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

.post-grid {
    display: grid;
    gap: 24px;
}

.post-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: hidden;
    border-radius: var(--radius-lg);
    background: var(--white);
    box-shadow: var(--shadow-sm);
    transition: transform 0.35s var(--ease-soft), box-shadow 0.35s var(--ease-soft);
}

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

.post-card__media {
    display: block;
    overflow: hidden;
    background: var(--cream-100);
    aspect-ratio: 3 / 2;
}

.post-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s var(--ease-out);
}

.post-card:hover .post-card__media img {
    transform: scale(1.05);
}

.post-card__body {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    padding: 24px;
}

.post-card__meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
    color: var(--ink-500);
    font-size: 0.8125rem;
}

.post-card__cat {
    padding: 4px 10px;
    border-radius: var(--radius-pill);
    background: var(--teal-50);
    color: var(--teal-700);
    font-weight: 700;
    text-decoration: none;
}

.post-card__title {
    margin-bottom: 10px;
    font-size: 1.25rem;
}

.post-card__title a {
    color: inherit;
    text-decoration: none;
}

.post-card__title a::after {
    content: "";
    position: absolute;
    inset: 0;
}

.post-card {
    position: relative;
}

.post-card__title a:hover {
    color: var(--teal-700);
}

.post-card__excerpt {
    flex-grow: 1;
    color: var(--ink-500);
    font-size: 0.9375rem;
}

.post-card__more {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--teal-700);
    font-size: 0.875rem;
    font-weight: 700;
}

.post-card__more .icon {
    width: 16px;
    height: 16px;
    transition: transform 0.25s var(--ease-soft);
}

.post-card:hover .post-card__more .icon {
    transform: translateX(4px);
}

.nav-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    margin-top: 48px;
}

.page-numbers {
    display: grid;
    place-items: center;
    min-width: 44px;
    height: 44px;
    padding: 0 14px;
    border-radius: var(--radius-pill);
    background: var(--white);
    box-shadow: var(--shadow-sm);
    color: var(--ink-900);
    font-weight: 600;
    text-decoration: none;
}

.page-numbers.current {
    background: var(--teal-700);
    color: var(--white);
}

.empty-state {
    text-align: center;
}

/* ---------- Inner page header ---------- */

.page-hero {
    padding-block: clamp(48px, 7vw, 88px);
    background:
        radial-gradient(900px 400px at 90% -20%, var(--gold-100) 0%, transparent 60%),
        var(--cream-100);
    text-align: center;
}

.page-hero__title {
    margin: 0 auto 12px;
    font-size: clamp(2.25rem, 1.6rem + 3vw, 3.5rem);
}

.page-hero__subtitle {
    max-width: 640px;
    margin: 0 auto;
    color: var(--ink-500);
    font-size: clamp(1rem, 0.95rem + 0.3vw, 1.125rem);
}

.breadcrumbs {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    margin-bottom: 16px;
    color: var(--ink-500);
    font-size: 0.875rem;
}

.breadcrumbs a {
    color: var(--ink-500);
    text-decoration: none;
}

.breadcrumbs a:hover {
    color: var(--teal-700);
}

/* ---------- Single post and prose ---------- */

.single__header {
    padding-block: clamp(40px, 6vw, 72px) 32px;
    text-align: center;
}

.single__header .post-card__meta {
    justify-content: center;
}

.single__title {
    font-size: clamp(2rem, 1.4rem + 2.8vw, 3.25rem);
}

.single__lead {
    color: var(--ink-500);
    font-size: 1.125rem;
}

.single__media {
    margin-bottom: clamp(32px, 5vw, 56px);
}

.single__media img {
    width: 100%;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
}

.prose {
    color: var(--ink-700);
    font-size: 1.0625rem;
    line-height: 1.8;
}

.prose > * {
    margin-top: 0;
    margin-bottom: 0;
}

.prose > * + * {
    margin-top: 1.1em;
}

.prose h2 {
    margin-top: 1.8em;
    font-size: clamp(1.5rem, 1.3rem + 1vw, 1.875rem);
}

.prose h3 {
    margin-top: 1.5em;
    font-size: 1.3125rem;
}

.prose ul,
.prose ol {
    padding-left: 1.3em;
}

.prose li + li {
    margin-top: 0.4em;
}

.prose blockquote {
    margin: 2em 0;
    padding: 20px 28px;
    border-left: 4px solid var(--gold-400);
    border-radius: 0 var(--radius) var(--radius) 0;
    background: var(--cream-100);
    color: var(--teal-900);
    font-family: var(--font-display);
    font-size: 1.3125rem;
    font-style: italic;
    line-height: 1.5;
}

.prose blockquote p {
    margin: 0;
}

.prose img {
    border-radius: var(--radius);
}

.prose em {
    color: var(--ink-500);
}

.single__nav {
    display: grid;
    gap: 16px;
    margin: 56px 0 var(--section-y);
    padding-top: 32px;
    border-top: 1px solid var(--cream-200);
}

.single__nav a {
    display: block;
    padding: 20px 24px;
    border-radius: var(--radius);
    background: var(--white);
    box-shadow: var(--shadow-sm);
    color: var(--ink-900);
    font-family: var(--font-display);
    font-size: 1.0625rem;
    font-weight: 600;
    text-decoration: none;
    transition: box-shadow 0.3s ease, transform 0.3s var(--ease-soft);
}

.single__nav a:hover {
    box-shadow: var(--shadow);
    transform: translateY(-2px);
}

.single__nav a span {
    display: block;
    margin-bottom: 4px;
    color: var(--gold-600);
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.single__nav-next {
    text-align: right;
}

/* ---------- Contact ---------- */

.contact {
    display: grid;
    gap: 32px;
    align-items: start;
}

.contact-cards {
    display: grid;
    gap: 14px;
}

.contact-card {
    display: flex;
    gap: 16px;
    padding: 22px;
    border-radius: var(--radius);
    background: var(--white);
    box-shadow: var(--shadow-sm);
}

.contact-card p {
    margin: 0;
}

.contact-card a {
    color: var(--ink-900);
    font-weight: 600;
    text-decoration: none;
}

.contact-card a:hover {
    color: var(--teal-700);
}

.contact-card__icon {
    display: grid;
    flex-shrink: 0;
    place-items: center;
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: var(--teal-50);
    color: var(--teal-700);
}

.contact-card__title {
    margin-bottom: 4px;
    color: var(--ink-500);
    font-family: var(--font-body);
    font-size: 0.8125rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.contact__map {
    margin-top: 14px;
    overflow: hidden;
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
}

.contact__map iframe {
    width: 100%;
    height: 280px;
    border: 0;
}

.contact__form-title {
    font-size: 1.75rem;
}

.contact__form-intro {
    color: var(--ink-500);
}

/* ---------- Forms (Contact Form 7) ---------- */

.wpcf7-form p {
    margin: 0 0 16px;
}

.wpcf7-form br {
    display: none;
}

.wpcf7-form-control-wrap {
    display: block;
}

.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="tel"],
.wpcf7 textarea {
    width: 100%;
    min-height: 52px;
    padding: 14px 16px;
    border: 1.5px solid var(--cream-200);
    border-radius: 12px;
    background: var(--cream-50);
    color: var(--ink-900);
    font-family: var(--font-body);
    font-size: 1rem;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
    -webkit-appearance: none;
    appearance: none;
}

.wpcf7 textarea {
    min-height: 140px;
    resize: vertical;
}

.wpcf7 input::placeholder,
.wpcf7 textarea::placeholder {
    color: #8a9899;
}

.wpcf7 input:focus,
.wpcf7 textarea:focus {
    border-color: var(--teal-600);
    outline: none;
    background: var(--white);
    box-shadow: 0 0 0 4px rgba(19, 112, 115, 0.12);
}

.wpcf7 .wpcf7-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 52px;
    padding: 14px 28px;
    border: 0;
    border-radius: var(--radius-pill);
    background: var(--teal-700);
    color: var(--white);
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: background-color 0.25s ease, transform 0.25s var(--ease-soft), box-shadow 0.25s var(--ease-soft);
}

.wpcf7 .wpcf7-submit:hover {
    background: var(--teal-800);
    box-shadow: 0 10px 24px rgba(14, 91, 94, 0.3);
    transform: translateY(-2px);
}

.wpcf7-spinner {
    display: block;
    margin: 12px auto 0;
}

.wpcf7-not-valid-tip {
    margin-top: 6px;
    color: #b3261e;
    font-size: 0.875rem;
}

.wpcf7 form .wpcf7-response-output {
    margin: 16px 0 0;
    padding: 12px 16px;
    border-radius: 12px;
    font-size: 0.9375rem;
}

/* ---------- CTA band ---------- */

.cta-band {
    padding-block: var(--section-y) 0;
    background: var(--cream-50);
}

.cta-band__inner {
    position: relative;
    display: grid;
    gap: 24px;
    overflow: hidden;
    padding: clamp(32px, 6vw, 64px);
    border-radius: 32px;
    background:
        radial-gradient(600px 300px at 100% 0%, rgba(222, 163, 84, 0.25) 0%, transparent 60%),
        var(--teal-800);
    color: rgba(255, 255, 255, 0.85);
}

.cta-band__title {
    color: var(--white);
    font-size: clamp(1.875rem, 1.3rem + 2.4vw, 2.75rem);
}

.cta-band__text p:not(.eyebrow) {
    max-width: 480px;
    font-size: 1.0625rem;
}

.cta-band__media {
    display: none;
}

/* ---------- Footer ---------- */

.site-footer {
    margin-top: calc(var(--section-y) * -0.5);
    padding-top: calc(var(--section-y) * 0.5 + clamp(48px, 7vw, 80px));
    background: var(--teal-950);
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.9375rem;
}

.site-footer a {
    color: rgba(255, 255, 255, 0.88);
    text-decoration: none;
}

.site-footer a:hover {
    color: var(--gold-400);
}

.site-footer__grid {
    display: grid;
    gap: 40px;
    padding-bottom: 48px;
}

.site-footer__logo {
    display: inline-block;
    margin-bottom: 20px;
    padding: 10px;
    border-radius: 18px;
    background: var(--white);
}

.site-footer__logo img {
    width: 88px;
}

.site-footer__brand p {
    max-width: 340px;
}

.site-footer__title {
    margin-bottom: 18px;
    color: var(--white);
    font-family: var(--font-body);
    font-size: 0.875rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.site-footer__links,
.site-footer__contact {
    display: grid;
    gap: 12px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.site-footer__contact li {
    display: flex;
    gap: 12px;
}

.site-footer__contact .icon {
    margin-top: 3px;
    color: var(--gold-400);
}

.site-footer__newsletter .wpcf7 input[type="email"] {
    border-color: rgba(255, 255, 255, 0.14);
    background: rgba(255, 255, 255, 0.06);
    color: var(--white);
}

.site-footer__newsletter .wpcf7 input[type="email"]::placeholder {
    color: rgba(255, 255, 255, 0.55);
}

.site-footer__newsletter .wpcf7 input[type="email"]:focus {
    border-color: var(--gold-400);
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 0 0 0 4px rgba(222, 163, 84, 0.18);
}

.site-footer__newsletter .wpcf7 .wpcf7-submit {
    margin-top: 10px;
    background: var(--gold-400);
    color: var(--teal-950);
}

.site-footer__newsletter .wpcf7 .wpcf7-submit:hover {
    background: var(--gold-500);
    box-shadow: none;
}

.site-footer__newsletter .wpcf7 form .wpcf7-response-output {
    color: var(--white);
}

.site-footer__bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 0.875rem;
}

.site-footer__bottom-inner {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding-block: 22px;
    text-align: center;
}

.site-footer__bottom p {
    margin: 0;
}

.site-footer__slogan {
    color: var(--gold-400);
    font-family: var(--font-display);
    font-style: italic;
}

/* ---------- Back to top ---------- */

.back-to-top {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 90;
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--teal-700);
    box-shadow: var(--shadow);
    color: var(--white);
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px);
    transition: opacity 0.3s ease, transform 0.3s var(--ease-soft), visibility 0.3s, background-color 0.25s ease;
}

.back-to-top.is-visible {
    opacity: 1;
    visibility: visible;
    transform: none;
}

.back-to-top:hover {
    background: var(--teal-800);
    color: var(--white);
}

/* ---------- 404 ---------- */

.not-found__inner {
    display: grid;
    gap: 32px;
    align-items: center;
    justify-items: center;
    text-align: center;
}

.not-found__image {
    width: min(260px, 70vw);
}

.not-found .btn-row {
    justify-content: center;
}

/* ---------- Scroll reveal ---------- */

.js [data-reveal] {
    opacity: 0;
    transform: translateY(24px);
    transition:
        opacity 0.7s var(--ease-out) calc(var(--i, 0) * 90ms),
        transform 0.7s var(--ease-out) calc(var(--i, 0) * 90ms);
}

.js [data-reveal].is-revealed {
    opacity: 1;
    transform: none;
}

/* ==========================================================================
   640px and up
   ========================================================================== */

@media (min-width: 640px) {
    .topbar__inner {
        justify-content: space-between;
    }

    .topbar__location {
        display: flex;
    }

    .site-header__cta {
        display: inline-flex;
    }

    .hero__trust {
        grid-template-columns: repeat(3, auto);
        justify-content: start;
        gap: 20px;
    }

    .services-grid,
    .testimonials,
    .post-grid,
    .founders {
        grid-template-columns: repeat(2, 1fr);
    }

    .gallery {
        grid-template-columns: repeat(3, 1fr);
    }

    .supplies__list {
        grid-template-columns: repeat(3, 1fr);
    }

    .site-footer__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .site-footer__bottom-inner {
        flex-direction: row;
        justify-content: space-between;
        text-align: left;
    }

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

    .price-list {
        grid-template-columns: repeat(2, 1fr);
    }

    .single__nav-next {
        grid-column: 2;
    }
}

/* ==========================================================================
   900px and up
   ========================================================================== */

@media (min-width: 900px) {
    :root {
        --header-h: 84px;
    }

    .topbar__email {
        display: flex;
    }

    .brand img {
        width: 76px;
    }

    .site-header.is-scrolled .brand img {
        width: 64px;
    }

    .hero__inner {
        grid-template-columns: 1.05fr 1fr;
        gap: 56px;
    }

    .hero__media {
        margin-right: 0;
    }

    .hero__card {
        left: -32px;
    }

    .split {
        grid-template-columns: 1fr 1fr;
        gap: 72px;
    }

    .why {
        grid-template-columns: 1.2fr 1fr;
        gap: 64px;
    }

    .why__media {
        display: block;
    }

    .why__media img {
        max-height: 520px;
        margin-inline: auto;
        border-radius: var(--radius-lg);
        background: var(--white);
        box-shadow: var(--shadow);
    }

    .stats {
        grid-template-columns: repeat(4, 1fr);
        margin-top: 64px;
    }

    .testimonials,
    .post-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .gallery {
        grid-template-columns: repeat(4, 1fr);
        grid-auto-rows: 220px;
    }

    .gallery__item {
        aspect-ratio: auto;
    }

    /* Two tall photos at the edges, four square ones between: a clean 4 x 2 block. */
    .gallery__item--1,
    .gallery__item--4 {
        grid-row: span 2;
    }

    .supplies {
        grid-template-columns: 0.9fr 1.1fr;
        align-items: center;
    }

    .contact {
        grid-template-columns: 1fr 1.1fr;
        gap: 48px;
    }

    .cta-band__inner {
        grid-template-columns: 1.3fr 1fr;
        align-items: center;
        padding-bottom: 0;
    }

    .cta-band__text {
        padding-bottom: clamp(32px, 6vw, 64px);
    }

    .cta-band__media {
        display: block;
        align-self: end;
    }

    .cta-band__media img {
        width: 100%;
        max-width: 420px;
        margin-left: auto;
        border-radius: 24px 24px 0 0;
    }

    .site-footer__grid {
        grid-template-columns: 1.4fr 0.8fr 1fr 1.2fr;
        gap: 48px;
    }

    .not-found__inner {
        grid-template-columns: auto 1fr;
        justify-items: start;
        text-align: left;
    }

    .not-found .btn-row {
        justify-content: flex-start;
    }
}

/* ==========================================================================
   1100px and up: full desktop navigation
   ========================================================================== */

@media (min-width: 1100px) {
    .primary-nav {
        display: block;
    }

    .primary-nav .nav-list {
        display: flex;
        gap: 4px;
    }

    .primary-nav .nav-list a {
        position: relative;
        display: block;
        padding: 10px 14px;
        border-radius: var(--radius-pill);
        color: var(--ink-700);
        font-size: 0.9375rem;
        font-weight: 600;
        text-decoration: none;
        transition: color 0.2s ease, background-color 0.2s ease;
    }

    .primary-nav .nav-list a:hover {
        background: var(--teal-50);
        color: var(--teal-800);
    }

    .primary-nav .nav-list a[aria-current="page"],
    .primary-nav .nav-list .current-menu-item > a {
        color: var(--teal-700);
    }

    .primary-nav .nav-list a[aria-current="page"]::after,
    .primary-nav .nav-list .current-menu-item > a::after {
        content: "";
        position: absolute;
        left: 50%;
        bottom: 3px;
        width: 5px;
        height: 5px;
        border-radius: 50%;
        background: var(--gold-500);
        transform: translateX(-50%);
    }

    .menu-toggle {
        display: none;
    }

    .services-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }

    .service-card {
        padding: 32px;
    }

    .supplies__list {
        grid-template-columns: repeat(5, 1fr);
    }

    .price-list {
        grid-template-columns: repeat(3, 1fr);
    }

    .supply {
        flex-direction: column;
        text-align: center;
    }
}

/* ---------- Reduced motion ---------- */

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        transition-delay: 0ms !important;
    }

    .js [data-reveal] {
        opacity: 1;
        transform: none;
    }
}
